Re: [Oorexx-users] Windows System Launcher

2014-06-12 Thread Mark Miesfeld
On Thu, Jun 12, 2014 at 5:24 AM, Staffan Tylen staffan.ty...@gmail.com
wrote:

 I've looked in the ooRexx doc for an implementation of the
 Windows.System.Launcher API but I haven't been successful.


That is an API for building Windows Runtime apps, which as far as I know is
only available in Windows 8.



 Is this API supported in ooRexx and if so how?


There is no ooRexx support from the project.


 If not, what alternatives do I have to launch for example the default
 browser using an argument such as www.xyz.com, or the default email
 client?


You could try to find a third party package that supports the API.  (Like
for example rexx/SQL supports mysql.)

--
Mark Miesfeld
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Edit and staticText controls

2014-06-03 Thread Mark Miesfeld
Well good, you found your solution.  I was going to say that the statement
that an edit control doesn't have word wrap isn't correct.

--
Mark Miesfeld


On Tue, Jun 3, 2014 at 5:22 AM, Staffan Tylen staffan.ty...@gmail.com
wrote:

 I found the solution - an edit control with READONLY MULTILINE VSCROLL,
 which gives word-wrap and a vertical scrollbar. Exactly what I was after.




 On Tue, Jun 3, 2014 at 12:46 PM, Staffan Tylen staffan.ty...@gmail.com
 wrote:

 Hmm, I might have found a solution, a ScrollBar control. Seems
 complicated for such a trivial problem though ...



 On Tue, Jun 3, 2014 at 12:34 PM, Staffan Tylen staffan.ty...@gmail.com
 wrote:

 Hi, I'm looking for an advice to a very simple problem. I need to
 display a text file containing just that, text. First I tried using an Edit
 control in READONLY mode but quickly realised that this control doesn't
 have a word wrap capability, so the user will be required to manually
 scroll left-right in order to read the text. So then I tried to use a
 staticText control which can do word wrap, but this control doesn't have
 the capability to scroll the text up and down. So what's the solution to
 this trivial task?

 Thanks,
 Staffan






 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] connectMove, leaving methods

2014-05-21 Thread Mark Miesfeld
On Tue, May 20, 2014 at 9:08 AM, Staffan Tylen staffan.ty...@gmail.comwrote:


 Now the problem is the reverse in a way. I have dialog A that does a
 popupAsChild of a PropertSheet dialog.


Hi Staffan,

What I want is that this dialog should position itself where it was when it
 was closed last time. So in the initDialog of class B, which is a subclass
 of PropertySheetDialog I do:

 self~getLastPosition
 forward class(super) continue
 self~moveWindow(top, x, y, showwindow)

 But I've found that 'forward' doesn't cause the window to show up, this
 doesn't happen until initDialog returns to the system. But moveWindow still
 gives return code .true. When the window shows up it is in it's 'normal',
 semi-random position.

 So my question is, where should moveWindow be called from if initDialog is
 not the place?


I think your basic problem in working with PropertySheetDialog dialogs is
not realizing that Unlike most other ooDialog dialogs, the operating
system manages much of the property sheet dialog itself.

So, when I first read your message I thought, well when the dialog is
shown, it has displayed the first page.  That would be where to position
the dialog.  If you look at the page notifications, you see that before a
page is shown, it is sent a setActive notification.

That seems like a good place to position the dialog, when the very first
setActive notification is sent.  And it does work well:

::method setActive unguarded
expose wasPositioned
use arg propSheet

if \ wasPositioned then do
p = .Point~new(0, 0)
propSheet~moveTo(p, SHOWWINDOW)
wasPositioned = .true
end
return 0

The thing is, the notification is sent every time the page is switched to.
 You only want to position the dialog the very first time the page is
shown.  Note that I am saying *page*, not *propertysheet*.

The above code is from the PropertySheetDemo.rex example.  In that example,
the ListView *page* is shown first, and the setActive() method is a method
of the ListView page dialog, not the PropertySheetDemoDlg class.

As another point of reference, in this code:

self~getLastPosition
forward class(super) continue
self~moveWindow(top, x, y, showwindow)

The initDialog() method of all the ooDialog dialog classes, does absolutely
nothing.  Forwarding the initDialog method to its super class is not needed
in any way, and does absolutely nothing.

The sole purpose of the method is to be over-ridden by your subclasses.  It
allows the ooDialog framework to invoke the method, of your subclass, at
the proper point in time for you to do any initialization that needs to be
done before the dialog is shown.

Now, as the last point of reference, I misread your message the first time
I read it and thought you had already tried positioning the
PropertySheetDialog in the initDialog() method of the property *sheet*
dialog.  And said it didn't work.

But, that was not correct, you were doing it in the initDialog() method of
the PropertySheetDialog.  Which is not likely to work, because the
operating system is managing that dialog.

The best place to do this is in the initDialog() method of the page dialog
that is first shown.  So, don't use the setActive notification, put the
code in the initDialog() method of the first *page* dialog that is shown.
 From the PropertySheetDemo example, the very end of the initDialog()
method:

-- Connect 2 list-view events to Rexx methods in this dialog.  The
double-
-- click on a list-view item, and the click on a column header events.
self~connectListViewEvent(IDC_LV_MAIN, ACTIVATE, onActivate)
self~connectListViewEvent(IDC_LV_MAIN, COLUMNCLICK)

p = .Point~new(0, 0)
self~propSheet~moveTo(p, SHOWWINDOW)

That works excellent, and you don't need to worry about doing it more than
once.

The only thing is, you don't have to open the first physical page as the
first page displayed,  That is just the default.  If you change that, you
will need to place the code in the initDialog() method of each page in the
dialog.  And then you still need to ensure that it is only done the very
first time.

Hope that gives you some better understanding of the PropertySheetDialog.

--
Mark Miesfeld
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Cannot get setTabStops to work

2014-05-13 Thread Mark Miesfeld

  staticText~setText(When 'Reset Tabs' is pushed, set tabstops to the
positions specified in the adjacent edit control.)
  upDown~disable
  editTabs~enable
  isEven = .false; isDefault = .false; isNumbers = .true

::method onUpDownMove unguarded
  expose staticText
  use arg pos, delta, id, hwnd, rxUpd

  newPos = pos + delta
  staticText~setText(When 'Reset Tabs' is pushed, set tabstops to every
'newPos' dialog units)
  return .UpDown~deltaPosReply


::method setupUpDown private
  expose upDown staticText isEven isDefault isNumbers

  upDown = self~newUpDown(IDC_UPDOWN)
  upDown~setRange(1, 256)
  upDown~setPosition(32)
  self~connectUpDownEvent(IDC_UPDOWN, 'DELTAPOS', onUpDownMove)

  isEven = .true; isDefault = .false; isNumbers = .false
  staticText~setText(When 'Reset Tabs' is pushed, set tabstops to every
'32' dialog units)

::method getTabStops private
  expose editTabs

  result = .nil
  tabs = editTabs~getText~space~makeArray(' ')

  if tabs~items == 0 then do
msg = 'External error. No tabstops specified by the user.'
title = 'User Error'
ret = MessageDialog(msg, self~hwnd, title, 'OK', 'ERROR', 'TOPMOST')
return result
  end

  do i = 1 to tabs~items
if \ tabs[i]~datatype('W') | tabs[i] \ 0 then do
  msg = 'External error. Tabstop index' i 'is not a postive whole
number'
  title = 'User Error'
  ret = MessageDialog(msg, self~hwnd, title, 'OK', 'ERROR', 'TOPMOST')
  return result
end
  end

 return tabs



On Sun, May 4, 2014 at 3:05 PM, Staffan Tylen staffan.ty...@gmail.comwrote:

 Hi Mark, and thanks for your feedback. I would hate to interrupt your
 vacation with this so I'll keep off for the time being. This is a very
 minor issue at the moment so it can certainly wait. I'll see if I can put
 together a failing sample for when you get back. As for themed controls,
 the only such controls I have are treeviews with the EXPLORER theme, but I
 guess that fact wouldn't apply in the case of an edit control.

 Enjoy your vacation!

 Staffan



 On Sun, May 4, 2014 at 11:36 PM, Mark Miesfeld miesf...@gmail.com wrote:

 Hi Staffan

 I'm on vacation with little to no Internet.  So, if you send me a simple
 example that you would like to work, I'll see if I can get it working and
 send it back to you next time I stop at a coffee shop with WIFi.

 That said, the trouble I usually have when trying these tab stop things
 is remembering that the the tab stop is the actually character location,
 not the difference between the tab stops.   I.e., if you want tab stops to
 be 8, you need to specify them as: 0 8 16 24 32 ...

 Also, be aware that tab stops in the controls, edit and list box, are
 apparently a hold over from 16-bit windows and don't always work well with
 any Themed controls.  That might be the problem here.

 --
 Mark Miesfeld



 On Wed, Apr 30, 2014 at 2:34 PM, Staffan Tylen 
 staffan.ty...@gmail.comwrote:

 I have an edit control defined as READONLY MULTILINE VSCROLL and I'm
 trying to use setTabStops(.array~new(20)) to control how the text, which
 contains tab characters '09'x, should be placed in the control. The program
 sets the text in the control using setText, but the text is not adjusted
 using the tabs as expected. So then I've tried the sequence:

 edit~setText()
 w = .WindowsClipBoard~new
 w~copy(textWithTabs)
 edit~setReadOnly(.FALSE)
 edit~pasteText
 w~empty
 edit~setReadOnly(.TRUE)

 I tried this because it's not fully clear if setTabStops takes effect
 with setText or if it only works during a paste operation. But this doesn't
 seem to work either. I then found the EditControlEx.cls sample that comes
 with ooDialogs but unfortunately I haven't been able to understand what the
 tab function in there is trying to demonstrate, I can't get anything
 tab-friendly working running the example.

 I'm obviously missing something here but I can't see what it is. Any
 suggestions?

 Staffan



 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.  Get
 unparalleled scalability from the best Selenium testing platform
 available.
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users




 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.  Get
 unparalleled scalability from the best Selenium testing platform
 available.
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https

Re: [Oorexx-users] Cannot get setTabStops to work

2014-05-04 Thread Mark Miesfeld
Hi Staffan

I'm on vacation with little to no Internet.  So, if you send me a simple
example that you would like to work, I'll see if I can get it working and
send it back to you next time I stop at a coffee shop with WIFi.

That said, the trouble I usually have when trying these tab stop things is
remembering that the the tab stop is the actually character location, not
the difference between the tab stops.   I.e., if you want tab stops to be
8, you need to specify them as: 0 8 16 24 32 ...

Also, be aware that tab stops in the controls, edit and list box, are
apparently a hold over from 16-bit windows and don't always work well with
any Themed controls.  That might be the problem here.

--
Mark Miesfeld



On Wed, Apr 30, 2014 at 2:34 PM, Staffan Tylen staffan.ty...@gmail.comwrote:

 I have an edit control defined as READONLY MULTILINE VSCROLL and I'm
 trying to use setTabStops(.array~new(20)) to control how the text, which
 contains tab characters '09'x, should be placed in the control. The program
 sets the text in the control using setText, but the text is not adjusted
 using the tabs as expected. So then I've tried the sequence:

 edit~setText()
 w = .WindowsClipBoard~new
 w~copy(textWithTabs)
 edit~setReadOnly(.FALSE)
 edit~pasteText
 w~empty
 edit~setReadOnly(.TRUE)

 I tried this because it's not fully clear if setTabStops takes effect with
 setText or if it only works during a paste operation. But this doesn't seem
 to work either. I then found the EditControlEx.cls sample that comes with
 ooDialogs but unfortunately I haven't been able to understand what the tab
 function in there is trying to demonstrate, I can't get anything
 tab-friendly working running the example.

 I'm obviously missing something here but I can't see what it is. Any
 suggestions?

 Staffan



 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.  Get
 unparalleled scalability from the best Selenium testing platform available.
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Accces to Operating Credentials

2014-04-05 Thread Mark Miesfeld
On Sat, Apr 5, 2014 at 7:05 PM, Art Heimsoth artst...@artheimsoth.comwrote:

  On Sat, Apr 5, 2014 at 2:15 PM, Art Heimsoth
  artst...@artheimsoth.com wrote: Is there something that will
  allow the current process level to be tested, and elevated if
  required from ooRexx or ooDialog?
 
  This is not as easy as it would seem.
 
  Typically what you have to do is start a new process with the
  elevated status.  I've done that in the oodialog.exe that is
  available in ooDialog 4.2.3.  The testing of the current process
  for the required access is done and I can make that part available
  through ooDialog.

 Would you consider making at least this portion available as a
 callable routine?  That way I could at least check for the proper
 status, and if not administrator where needed, I could put up
 an information dialog telling them to restart the ooRexx with
 run as administrator.  As it is, an error is given that is not real
 clear as to why it fails.


Sure.  Why don't you open a RFE for it.

--
Mark Miesfeld
--
___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooSQLite threading mode

2014-03-10 Thread Mark Miesfeld
On Mon, Mar 10, 2014 at 7:36 AM, Staffan Tylen staffan.ty...@gmail.comwrote:

 Mike, I've experienced some sporadic problems with database corruptions,
 which I believe has to do with two or more threads sharing the same
 database connection. The PRAGMA compile_options; command shows
 THREADSAFE=1. AFAIK this can mean one of two things: MULTITHREAD or
 SERIALIZED.


Hi Staffan,

No, it can only mean 1 thing.  It means that SQLite was compiled with the
threading model of SERIALIZED.  It would be 2 if the threading model was
MULITITHREADED.



 If no compile option is specified, SERIALIZED should be the default. As I
 have no compile option specified when I compile ooSQLite, I guess it runs
 in serialized mode. But this can be changed using the sqlite_config
 function. So my question is if this is used in ooSQLite somewhere to set a
 different threading mode than serialized?


ooSQLite does not change the threading model anywhere.  The official
binaries, that is the ones placed on SourceForge, are compiled with
SERIALIZED as the threading model.  Nothing is done internally to change
that.



 My thinking is that if serialized is in effect then I should not be able
 to get the problem that I'm facing and I need to look for another
 explanation.


Unless you found a bug in SQLite, I think you need to look for another
explanation.

--
Mark Miesfeld
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] SysFileMove - access denied

2014-03-06 Thread Mark Miesfeld
On Wed, Mar 5, 2014 at 11:09 PM, Roger Bilau s...@bilau.de wrote:


 when attempting to move files with SysFileMove, I get a RC=5 and with
 SysGetErrorText the message 'Access denied'.



 If I instead use 'MOVE /Y source target' in the same rexx script, it run
 successfully.

 Drag and drop in the windows explorer also run successfully.



 The owner of the files, I like to move, is the same user, with which I
 opened the command prompt.

 If I opened a command prompt as an administrator, the script with
 SysFileMove is also not running.



 Is this a bug?


When I get a chance, I'll take a look at what API SysFileMove uses.  It
does seem odd that it would work with MOVE and not with SysFileMove.  Have
you tried using it when you are not going to overwrite an existing file.

When you move a file, it doesn't make any difference if you are the owner
of the file, if the destination is not allowed.  That is the most likely
reason for the error.  The Windows API being used probably does not allow
the move if it is going to overwrite and existing file.

--
Mark Miesfeld.
--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Od behaviour when passing the ? symbol as an argument

2014-02-28 Thread Mark Miesfeld
On Fri, Feb 28, 2014 at 9:29 AM, Staffan Tylen staffan.ty...@gmail.comwrote:

 Sorry to jump in here but please help me understand: which statement in
 the rexx program is it that invokes the shell so that it starts looking for
 matching file names? In the code that I saw there was only a say statement
 so I don't understand what's going on.



No statement in the Rexx program invokes the shell.  It is this line:

$rexx ~/rx/odd ?

typed on the command line that invokes the shell.  Although invokes is
not really a good word.  The shell has already been invoked and is sitting
in a loop parsing stuff that is typed on the command line.

The shell determines that odd is a file name and an executable file at
that, uses the shebang line to determine the rexx executes the file.  It
then passes the file name and the command line arguments to rexx.

As Chip said, the command line parsing does a lot, and I'm sure different
shells do it in different order.  But most, if not all, shells expand file
name patterns and pass each individual, expanded, file name as arguments to
the executable.

In the program:

#!  /usr/bin/rexx
  parse arg given .
  say /given/

Maurice drops everything after the first word in the argument list.  But
there could theoretically be many file names passed into the program.  At
least for ???.  We see bin, but that could be followed with cat, dog, fog,
hhh, and so on.

--
Mark Miesfeld
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Od behaviour when passing the ? symbol as an argument

2014-02-28 Thread Mark Miesfeld
Well, I was going to write that Linux / Unix shells do file globbing by
default.

Whereas on Windows, it is not done by default.  But you can link in an
object file to an application that will change that so it is done by
default.

--
Mark Miesfeld



On Fri, Feb 28, 2014 at 10:41 AM, Staffan Tylen staffan.ty...@gmail.comwrote:

 Aaah, the clouds start to drift away. Many thanks.

 Staffan



 On Fri, Feb 28, 2014 at 7:37 PM, Rick McGuire object.r...@gmail.comwrote:

 Here's a decent explanation of what's going on:

 http://en.wikipedia.org/wiki/Glob_(programming)

 And yes, this is a unix thing.  The command shell will automatically
 perform file name expansion on commands before the target program is even
 invoked.  For example, using an argument like *.log will expand the
 argument into a list of file names that match that pattern, passed as
 separate arguments.  All of this takes place in the command shell before
 the target program is invoked.

 Rick


 On Fri, Feb 28, 2014 at 1:31 PM, Staffan Tylen 
 staffan.ty...@gmail.comwrote:

 Having very limited linux background I'm trying to understand this but I
 don't believe I do (nothing wrong with your explanation Mark, I'm just
 thick!). Well, you say that shell behaves differently but I guess this
 discussion only applies to linux or unix. Running this from a Windows
 prompt I see no such behaviour. But in linux, do the question mark(s) get
 passed to the rexx program (I didn't see any signs of that) or do they get
 eaten by the shell parser? Sorry for being a nut-case, I blame my parents :)



 On Fri, Feb 28, 2014 at 6:59 PM, Mark Miesfeld miesf...@gmail.comwrote:


 On Fri, Feb 28, 2014 at 9:53 AM, Mark Miesfeld miesf...@gmail.comwrote:


 No statement in the Rexx program invokes the shell.  It is this line:

 $rexx ~/rx/odd ?

 typed on the command line that invokes the shell.  Although invokes
 is not really a good word.  The shell has already been invoked and is
 sitting in a loop parsing stuff that is typed on the command line.

 The shell determines that odd is a file name and an executable file at
 that, uses the shebang line to determine the rexx executes the file.  It
 then passes the file name and the command line arguments to rexx.


 Well, that's not really correct, I didn't read that closely enough.
  The shell determines the first token on the command line is an executable
 file, rexx, and expands the rest of the command line into arguments it
 passes to rexx.

 --
 Mark Miesfeld


 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.

 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users




 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.

 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users




 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.

 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users




 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.

 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users

Re: [Oorexx-users] Od behaviour when passing the ? symbol as an argument

2014-02-27 Thread Mark Miesfeld
On Thu, Feb 27, 2014 at 8:34 AM, Maurice maur...@bcs.org.uk wrote:

 Just come across weirdly inconsistent results when passing ? as an
 argument. What have I overlooked, I wonder...


In most shells, including Windows, the ? is a file wildcard character.  You
shouldn't try to pass it as an argument to a program.



 Given the test program called 'odd':

   #!  /usr/bin/rexx
   parse arg given .
   say /given/

 then using  ooRexx-4.1.1.opensuse1140.i586.rpm on Linux Mageia-3, I
 get the following inconsistencies between laptop and desktop machines
 using the same version of ooRexx and Mageia-3:

 Laptop:

   $rexx ~/rx/odd ?
   /?/
   $ rexx ~/rx/odd ??
   /rx/
   ]$ rexx ~/rx/odd ???
   /bin/

 Desktop:

   $ rexx ~/rx/odd ?
   /A/-Note!
   $ rexx ~/rx/odd ??
   /rx/
   $ rexx ~/rx/odd ???
   /bin/

 Questions:
   (1) With one ?, why do laptop and desktop yield different results?


You have different files in the rx directory on the different machines I
would think.  On one you have a file A and on the other you have no single
letter files.


   (2) Why the unexpected results with strings of multiple ?s?


I'm not sure that they are unexpected. rx matches ?? It is a 2 character
file / directory name.

??? matches bin, it is a 3 character file / directory name.

--
Mark Miesfeld
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Act on ALT key

2014-02-26 Thread Mark Miesfeld
On Tue, Feb 25, 2014 at 10:23 PM, amphitr...@ok.de wrote:


You can't connect the Alt key and then set up any way to say I only
 want
  the Alt key when no other key is pressed after it.

 Well, on Windows XP and 7 (others I do not know) you may activate
 a 'key snap-in function' (Einrastfunktion in German) for easy
 typing. As such you may press Ctrl+Alt+Del one after the other
 (not simultanously) to restart.

...


  Also, I'm not sure how the handicapped support fits in here.

 Normaly it fits quite well, at least for me.


What I meant is how the handicapped support fits in with what ooDialog
does, how it may effect what ooDialog does.

The connectKeyPress() method is relatively simple.  Each time a key is
pressed down, the operating system sends a message to the window with the
current keyboard focus.  That message essentially says key[x] was pressed
down.  ooDialog intercepts that message and, if the key was one that is
connected, checks the physical state of the Alt, Ctrl, and Shift keys,
noting if there are currently down or not. Then ooDialog checks to see if
the current state matches what you connected.

If you have other programs running that change things around in the
keystroke buffer, or otherwise change the basic way keys are processed,
then connectKeyPress() may no longer work as you want.

It is quite possible that either the handicapped support or
the Einrastfunktion work by changing the basic way keys are processed.  If
that is so, then connectKeyPress() might not work well on your system.

conectKeyPress() is intended to be a simple way of connecting something
like F8 to clear a multi-line edit control.  Or to connect Alt-X to close
the dialog, or connect F5 to scroll 3 pages in a multi-line edit control.
 It is not intended or designed to work with any, or every, other keyboard
utility that might be out there.

--
Mark Miesfeld
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooDialog 4.2.3 questions: max dialog windows, dialogproxy, compiled method msg

2014-02-25 Thread Mark Miesfeld
On Mon, Feb 24, 2014 at 8:09 AM, Staffan Tylen staffan.ty...@gmail.comwrote:


 2. What is a DialogProxy? I get the following when pressing OK after
 reaching the limit above:



Hi Staffan,

To follow up with this a little.  Each open dialog uses up a relatively
large block of  memory.  The original ooDialog developers set this limit of
20 maximum dialogs open at any one time.

If you attempt to create the 21st dialog, the interpreter returns an
object, but it does not have that backing block of memory.  If you then
invoked a method on the object that needed to access the backing block, it
would crash the interpreter.  The initCode of the returned object would
always be non-zero.

If it could be counted on that every user would check the initCode every
time, then things would be okay.  In your program, if you checked the
initCode attribute before you popped up the dialog and didn't try to use
the dialog if the initCode was not zero, you never would have had a syntax
condition raised.

For example:

  dialogs = .array~new(40)
  do i = 1 to 35
dlg = .SimpleRcDlg~new(simple.rc, IDD_SIMPLE_DLG, , simple.h )
if dlg~initCode  0 then do
  say 'Failed to create dialog number' i'.  Going to stop dialog
creation.'
  leave
end

dlg~popup(SHOWTOP, IDI_DLG_OOREXX)
dialogs[i] = dlg
  end

works fine because it does not try to pop up the dialog if the initCode is
not 0.  You never would have seen this error:


 Error 97.1:  Object a DialogProxy does not understand message
 POPUPASCHILD


On the other hand, as you demonstrated, we can not really count on every
one checking the initCode attribute.  The DialogProxy, provides an object
to return when the maximum number of dialogs is reached.  It has an
initCode attribute that is never 0, and no other methods.  If you check the
initCode, then all is fine.  If you don't check the initCode, then no
method is invoked that will crash the interpreter, and all is still fine.

--
Mark Miesfeld
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] How to? i) show selected in ComboBox ii) set focus on ComboBox

2014-02-24 Thread Mark Miesfeld
On Sun, Feb 23, 2014 at 1:51 PM, amphitr...@ok.de wrote:


  The select() method will select the first item in the combo box that
  exactly matches s.

 Select and show seems to be something different. It appears that
 the item I'd like to see _is_ selected but not shown. I send you
 an running excerpt from my application to you offlist.


Hi Mike,

The problem you are having with the combo box is due to automatic data
detection.  You should read the section titled Data Attribute Methods under
The Dialog Object chapter. Particularly the first couple of sections.
 Problems with Data Attributes has this paragraph:

With auto detection on, the states of the dialog controls are set to the
data (values) of the corresponding data attributes. This is done after
initDialog is invoked. The consequence of this is that, if the programmer
explicitly sets the state of the dialog controls in the initDialog()
method, the ooDialog framework will then reset the state of all the dialog
controls afterwards. This can be disconcerting to the programmer if
automatic data field detection is not understood.

It is no secret that I'm not overly fond of the whole concept of data
attributes.  Automatic data detection is on by default.  What you want to
do is turn it off.  You can do that globaly for your whole application by
putting this statement towards the beginning of your program:

.application~autoDetection(.false)

Or you can turn it off on a per dialog basis by adding this method to a
dialog:

::method initAutoDetection
self~noAutoDetection

Basically, what is happening is that, in initDialog() you set the combo box
to select item 4, and then after that the framework sets the combo box back
to unselected.

--
Mark Miesfeld
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] 4.1.3 Install and RXAPI with 4.20

2014-02-16 Thread Mark Miesfeld
On Sun, Feb 16, 2014 at 12:33 AM, Bertram Moshier
bertrammosh...@gmail.comwrote:



 I agree 100% on the need to be able to reproduce it.  If I can't reproduce
 then there isn't any need to worry about it.  If I do find I can reproduce
 it, what should I collect in order to help you out?


When the un-installer runs  and when the installer runs, they both print
out information to what is called the Details pane.  For both, before you
click Next, get a copy of the output in a file, open a bug and attach the
two files to the bug.

To get a copy of the output, right-click on the details and use the Copy
Details to Clipboard.  Then paste the clipboard into a file to attach to
the bug.

--
Mark Miesfeld
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] 4.1.3 Install and RXAPI with 4.20

2014-02-15 Thread Mark Miesfeld
Hi Bert,

That you did a clean install of Windows 7 since you last reported your
problem with installation is relevant information.  If you think there is a
bug here, then certainly open a bug report.  I don't think I or anyone on
the development team has ever complained about people opening bugs.

If you can't reproduce the bug, it will be difficult to fix.

--
Mark Miesfeld
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] 4.2.0 test suite -- space in the path

2014-02-15 Thread Mark Miesfeld
On Sat, Feb 15, 2014 at 1:11 PM, Chip Davis c...@aviatrexx.com wrote:


 (But I _was_ surprised that you were surprised. :-)


Chip,

I'll gladly admit to being slow on the uptake, naive, and imperceptive. ;-)
  And, you'd think after 10 years I wouldn't be surprised anymore.  But, I
still am.

I am adding a note to the read me to not install into Program Files.  The
framework needs to be able to write temporary files in its sub-directory
structure and on Vista and later, typically that is not possible.

While that is not impossible to fix, in this case it truly is not worth the
work involved.  At least for me.  Any one is welcome to fix it if they want.

--
Mark Miesfeld
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Announce: An updated ooTest-4.2.0-snapshot06 on SourceForge

2014-02-15 Thread Mark Miesfeld
A quick announcement that the ooTest-4.2.0-snapshot06 package has been
updated and is now available for download from SourceForge:

https://sourceforge.net/projects/oorexx/files/oorexxunit/4.2.0.Snapshot.06/?

This snapshot represents the current state of the test suite used to test
ooRexx 4.2.0.

Due to user interest, some changes were made to the test suite and the
snapshot was redone.  The name of the package was not changed, the older
snapshot was replaced by the one produced today.

There is no real need to replace the older snapshot on your system unless
you are interested in the changes listed below.

*  An -l option has been added to testOOrexx.rex to write the test results
to a log file.  An -L option was also added that will append the results to
the named log file.  By default the log file is overwritten.

*  An -x option has been added to testOORexx.rex.  This option will exclude
the test group files listed after the option, from execution.  For example,
the following command line invocation will exclude the
RexxContext.testGroup from being executed:

C:\rexx\ooTest-4.2.0-snapshot06testOORexx.rex -x RexxContext

*  Some test case failures that were avoidable when run in an unexpected
environment were fixed.

*  The ReadMe.first file has been slightly updated to include some
information on some tests that are known to fail when the test suite is run
in an unexpected environment.

It has always been the hope of the ooRexx development team that users would
help test ooRexx by running the test suite and participate in improving the
test suite by writing test cases.

Any and all questions regarding the test suite, or requests for help in
writing test case, are welcome and will be addressed by one of the
developers.

Thank you,
The ooRexx Project Team
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] 4.2.0 test suite -- space in the path (Mark Miesfeld)

2014-02-15 Thread Mark Miesfeld
On Sat, Feb 15, 2014 at 5:14 PM, Bertram Moshier
bertrammosh...@gmail.comwrote:


  Nevertheless, if you want to avoid the errors using the snapshot,
  just move it to a directory with no spaces in the name.

 Ah, but didn't you say you have it fixed?  Oh, but not released?!  When
 will the fix see the light of day?


I should have said if you want to avoid the errors using the*
current*snapshot ...

Later, I posted an announcement saying I'd put the replacement snapshot on
SourceForge.  The name has not been changed, the previous snapshot file is
replaced by the current one.

https://sourceforge.net/projects/oorexx/files/oorexxunit/4.2.0.Snapshot.06/

--
Mark Miesfeld
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Test run after upgrading to 4.2.0.9892 candidate (Good news, possible RXAPI upgrade problem, and maybe a problem with a RXQueue test)

2014-02-14 Thread Mark Miesfeld
On Thu, Feb 13, 2014 at 4:58 PM, Bertram Moshier
bertrammosh...@gmail.comwrote:


 ... when I checked the RXAPI service I got mixed information.

 -- Service:  The comments say the version running is 4.1.3.
 -- When I run the command:  rxapi /v it say I'm running the most recent
 4.2.0 version.

 ...


 Thus I'd like to report something looks to be up with moving from 4.1.3 to
 4.2.0.9860 to 4.2.0.9892.  In both the 4.2.0.9860 and 4.2.0.9892 cases it
 left the 4.1.3 rxapi version installed (maybe even running, I'm not sure).
 Yet, I know I did see the request during the automatic uninstall to stop
 rxapi.


Bert,

For whatever reason, you had a very difficult time installing ooRexx 4.1.3.
 Because of that, I don't think the uninstall information for 4.1.3 was
written out correctly.  Because of this, the uninstall may not have worked
correctly when it was run through the installer for 4.2.0.

Since you now seem to have things smoothed out somewhat, what I would do is
uninstall your current installation using either the uninstall item from
the ooRexx menu, or by uninstalling from the Control Panel - Programs and
Features.

Check in services that rxapi is no longer a service.

Then install ooRexx using the installer.  I believe this will ensure that
you have a clean installation.  Although, you probably already do have a
clean install.

As Rick said, the errors you saw in the RexxQueue test are due to
installing the test suite in a directory with spaces in the name, not due
to rxapi.

It never occurs to me that someone would voluntarily install any thing is a
directory with spaces in the path name.  I'll add a note to the test suite
doc that you can't do that and expect valid results.


  I reran the tests.   I got SEVERAL dialog boxes that popped upon the
 desktop and disappeared.  I wasn't able to read or respond to them in the
 time frame provided.  I mean they were there for seconds.  ARE THESE POP-UP
 / DIALOG BOXES NORMAL?


Yes they are normal.  You are not supposed to read them or respond to them.
 They are a couple of simple ooDialog tests.  You can exclude running them
by using:  -X Gui -X Gui_sample.  Or better, just let them run and leave
them alone.

--
Mark Miesfeld
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Follow-up: Ran the ooTest-4.2.0-snapshot06 and had a problem . . .

2014-02-13 Thread Mark Miesfeld
On Thu, Feb 13, 2014 at 12:19 PM, Bertram Moshier
bertrammosh...@gmail.comwrote:


   Add the -s flag to your command line and run
  the test suite until it crashes.

 Thank you for the information.   While writing this reply, I ran the test
 with the -s option and it crashed / terminated / abended at:

 Executing tests from C:\Program Files\...\base\class\RexxContext.testGroup

...


 Executing tests from C:\Program Files\...\base\class\RexxContext.testGroup

 Thu 02/13/2014 12:47:26.56 C:\Program Files\ooRexx\ooTest-4.2.0-snapshot06

 -- End of the latest run (with -s this time) output --

 OK, so from your instructions I determined the failing test to be:
 base\class\RexxContext.testGroup

 But, given everything else has ooRexx at the start, I decided to add
 ooRexx\ to the line.  (FYI:  Later on I tried a run as it appears and, of
 course, it failed not being able to find the test container.  *QUESTION /
 THOUGH:*  *I wonder why the -s run failed to include the ooRexx\ in the
 output line?*


It did.  It is right here: \...\  The output is intended to be displayed in
a reasonable width for a console window.



   Is there a limit on the output line and thus lines become reduced in
 size?

 In any case, to the above question, I ran the specific test individually
 and it crashed / abended, just as it did in the full run.


Okay, that's good to know.



 OK, running it again with the -s flag (option) this time around.

 -- Start of running just the test that failed above and using the
 -s option --

 Thu 02/13/2014 13:28:12.62 C:\Program
 Files\ooRexx\ooTest-4.2.0-snapshot06testOORexx.rex -X native_api -s -f
 ooRexx\base\class\Rexx
 Context.testGroup
 Searching for test containers..
 Executing automated test suite
 Executing tests from C:\Program Files\...\base\class\RexxContext.testGroup

 Thu 02/13/2014 13:29:05.98 C:\Program Files\ooRexx\ooTest-4.2.0-snapshot06


Well, it seems to crash before any test case is actually run.


 BTW, Something I noticed between our two test runs that is different.  It
 may or may not point to the problem (or it might be a red herring).


It's not important, I'm using my own build.  The output was only intended
to show you the correct syntax.

I'll take a closer look at it this evening.



  Thanks for running the test suite to being with.

 Ah, you're welcome, but I'm not sure what you're trying to say here.


It's a typo, it should be Thanks for running the test suite to begin
with.  And it means I appreciate your taking the time to run the test
suite and report back.

--
Mark Miesfeld
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Release candidate version number

2014-02-13 Thread Mark Miesfeld
Hi Bert,

I'm going to try and answer a number of your questions here.  If I miss
some then just re-ask them.

You can uniquely identify the version of ooRexx you are running by using:

rexx -v

C:\work.ooRexxrexx -v
Open Object Rexx Version* 4.2.0*
Build date: *Jan 30 2014*
Addressing Mode: 64

Provided you stick to using the official versions, which are the versions
downloadable from SourceForge, the version number, build date, and to a
degree the addressing mode uniquely identify which version you are using.

If you are sophisticated enough to build your own interpreter, then we
figure you are sophisticated enough to keep track of what version you are
running.

For 4.2.0 we are in a beta phase and as we progressed through the phase,
the official builds have been placed in differently named directories on
SourceForge.  When we placed a new version of the beta on SourceForge, we
removed the obsoleted one.  In addition we posted an announcement each time
we did so.

You many want to subscribe to ooRexx Announcements at:

https://sourceforge.net/p/oorexx/mailman/?source=navbar

Although the announcements are always posted on this User list also.

We know you were not using release candidate 2, the latest, from an earlier
e-mail of yours:

Line from my run:  Interpreter:  REXX-ooRexx_4.2.0(MT)_64-bit 6.04* 19 Jan*2014

As far as ooTest, which is my name for the test suite, goes, you can get a
print out by doing:

C:\work.ooRexx\wc\ooTest\4.xtestOORexx.rex -n

ooTest Framework - Automated Test of the ooRexx Interpreter

Interpreter: REXX-ooRexx_4.2.0(MT)_64-bit 6.04 30 Jan 2014
Addressing Mode: 64
ooRexxUnit:  2.0.0_3.2.0ooTest: 1.0.0_4.0.0

Tests ran:   0
Assertions:  0
Failures:0
Errors:  0
Skipped files:   0

Total time: 00:00:00.001000

So, I don't think there is any need to change anything there.

As far as your other suggestions relating to the test suite, options etc.,
they are appreciated.

But the fact of the matter is that only Rick and I really use the test
suite and its current state is sufficient for our use.  If one of us sees a
need for something we add it.

When we first came up with the test suite we tried, hard, to get the
general ooRexx user to help with it by running it and more importantly by
contributing test cases.  That effort was particularly useless waste of
time, in my view, and I no longer spend time on it.

However, the only reason there is a ooTest-4.2.0-snapshot06.zip today is
that 1 user showed interest in running the test suite last weekend, so I
produced a current snapshot.

If more users showed interest in using the test suite, the developers would
be more open to adding enhancements.

If course, all ooRexx users are encouraged to implement any enhancement
they would like and submit a patch for it.  Or to request an enhancement at:

https://sourceforge.net/p/oorexx/feature-requests/

Some other miscellaneous answers.  The fourth number in  4.2.0.9860 is the
svn revision number and can be somewhat misleading to people that do not
understand Subversion.  In particular, a different svn number quite often
 does not mean a difference in the code base used to build the software.
 Adding it to the name, in my opinion, is likely to only cause more
confusion.

I still would like to see the -x flag and a method to determine the
parameters for -X in the testing program.

The small -x is a valid suggestion.  I believe the basic framework for it
already exists in the test suite, but the implementation is not finished.

Use help testTypes to get the parameters for -X:

C:\work.ooRexx\wc\ooTest\4.xtestOORexx.rex help testTypes
testOORexx version 1.1.0 ooTest Framework version 1.0.0_4.0.0

All test types:
   Doc_example_noise Unit_long Framework_example Doc_example Unit Gui Ole
Sample Gui_sample Native_api Tcpip

Default test type set:
   Doc_example Native_api Unit_long Sample Gui Gui_sample Ole Unit

Default exclued test type set:
 Doc_example_noise Framework_example Tcpip

C:\work.ooRexx\wc\ooTest\4.x

Use help topic to see what topics are available for extended help:

C:\work.ooRexx\wc\ooTest\4.xtestOORexx.rex help topic
testOORexx version 1.1.0 ooTest Framework version 1.0.0_4.0.0

Detailed help subjects (case insignificant) are:
  testTypes

--
Mark Miesfeld
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] RexxQueue problem under XP?

2014-02-12 Thread Mark Miesfeld
Staffan,

I don't have any ideas except this:

1.)  Determine if you can reproduce the problem using the official releases
rather than your own builds.  The ooRexx 4.2.0 release candidate 2 would be
the ideal build to use.

2.) If you can, since you seem to have tracked down where it happens, open
a bug with a simple test program that shows the crash.

--
Mark Miesfeld


On Wed, Feb 12, 2014 at 8:51 AM, Staffan Tylen staffan.ty...@gmail.comwrote:

 I've been away from ooRexx a while but have now started to look into an
 old problem trying to run my app under XP. I earlier reported an error that
 appeared to be generated by ooDialog.exe calling rexxapi.dll, but I have
 since managed to locate the specific rexx code that causes all this:

 queue1 = .Outtrap~exec(assoc)

 ::CLASS Outtrap PUBLIC SUBCLASS RexxQueue
 ::METHOD exec CLASS
   use arg command = 

   queue = self~new(self~create)=== This statement causes the error
   if command   then command '| rxqueue 'queue~get''
   return queue

 ::METHOD uninit
   self~delete

 The code works perfectly under Windows 7 but fails under XP with the
 following:

 AppName: ooDialog.exe AppVer: 4.2.4.9506
 ModName: rexxapi.dll ModVer: 4.1.4.9506
 Offset: 20f1

 Any ideas?

 Staffan





 --
 Android apps run on BlackBerry 10
 Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
 Now with support for Jelly Bean, Bluetooth, Mapview and more.
 Get your Android app in front of a whole new audience.  Start now.

 http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Ran the ooTest-4.2.0-snapshot06 and had a problem . . .

2014-02-12 Thread Mark Miesfeld
Bertram,

I can't give you a lot of help right now, I will also send a post this
evening.

The basic idea is to determine which test group caused the crash, and maybe
which test in the test group.

To do this you use the optional flags to enable more verbose output.  I
don't have access to a system with the test suite on it right now to give
you the exact flags, you'll need to figure them out yourself.

do testOORexx --help

and look for the option that prints out the test group names.  Rerun the
test suite using that option and the last test group printed out at the
crash is probably the one that caused the crash.

Then run just that single test group using the -f option and see if it
still crashes when run by itself.  If so, run just that test group using
the additional flag that prints out the test cases as they are executed.

If you narrow it done to an exact test case that causes the crash, then let
us know.

I have to say, I ran the snapshot test suite about 20 times over the
weekend and never saw a problem.

--
Mark Miesfeld



On Wed, Feb 12, 2014 at 1:50 PM, Bertram Moshier
bertrammosh...@gmail.comwrote:

 Hello,

 I just upgraded from 4.1.3 to 4.2.0 64-bit version.

 I'm on Windows 7 Ultimate x64 and this is my first time running the test
 suit, so please bear with me if I don't include what is necessary.  My hope
 is to open a line of communications to the person(s) who need to know.

 I ran this test twice with the same result.

 While running the test I got the follow pop-up from Windows saying:

 -- Start of Dialog --
 Open Object Rexx Interface has stopped
 working

 A problem cause the program to stop working correctly.
 Windows will close the program and notify you if a solution is
 available.

 Close program button
 -- End of Dialog --

 The following is what I'm seeing when running the 4.2.0 test suit.  Please
 note I'm including the date, time, path, and command line, in the first
 line.

 -- Start Command Output --

 Wed 02/12/2014 15:18:11.75 C:\Program
 Files\ooRexx\ooTest-4.2.0-snapshot06testOORexx -X native_api
 Searching for test containers.
 Executing automated test suite. .0C 0C
 0C 0C
 
 ..


 -- End Command Output --

 OK, that's what I have to this point in time.  I'm sure the Abend Dialog
 Box, well that is what I call it, as when I was learning programming
 (VM/370, VS1, VS2, and DOS/VSE) we called abnormal termination of a program
 an abend.

 Questions:

 1) BTW, can anyone tell me what does the Windows world call an abnormal
 termination of a program?
 2) How should I proceed?

 Thank you,

 Bertram Moshier


 --
 Android apps run on BlackBerry 10
 Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
 Now with support for Jelly Bean, Bluetooth, Mapview and more.
 Get your Android app in front of a whole new audience.  Start now.

 http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Announce: ooTest-4.2.0-snapshot06 now available on SourceForge

2014-02-08 Thread Mark Miesfeld
A quick announcement that an ooTest-4.2.0-snapshot06 package is now
available for download from SourcForge:

https://sourceforge.net/projects/oorexx/files/oorexxunit/4.2.0.Snapshot.06/

This snapshot represents the current state of the test suite used to test
ooRexx 4.2.0.

There has been a lot of information written on how to use the test suite
and that information is available in the ooTest-4.2.0-snapshot06 package.
 If, after reading that information, there are any questions regarding the
test suite, please post a question on any of the lists where discussions
concerning ooRexx take place.

It has always been the hope of the ooRexx development team that users would
help test ooRexx by running the test suite and participate in improving the
test suite by writing test cases.

Any and all questions regarding the test suite, or requests for help in
writing test case, are welcome and will be addressed by one of the
developers.

Thank you,
The ooRexx Project Team
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] RPM post scriptlet fails during installation on OpenSuSE

2014-02-02 Thread Mark Miesfeld
On Sun, Feb 2, 2014 at 1:47 PM, David Ashley w.david.ash...@gmail.comwrote:


 I suspect this happens when the older rpm installed rxapid using the
 classic SystemV interface and the new rpm is installed using the new
 systemctl interface. It appears the old rpm is not being entirely
 removed and then when you install and remove the new rpm that causes
 everything to be cleaned up properly. But this is just a a guess on my
 part.


That's what I think it probably is also.  The when I re-installed it
worked fine seems to indicate that.

--
Mark Miesfeld
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Announce: ooRexx 4.2.0 Release Candidate 2 non available on SourceForge

2014-01-31 Thread Mark Miesfeld
The Open Object Rexx Project is happy to announce a release candidate for
 oRexx 4.2.0. The installation packages are available on SourceForge at:

https://sourceforge.net/projects/oorexx/files/oorexx/4.2.0%20%28release%20candidate%202%29/

A small number of bugs were discovered in the first release candidate.
 These have been fixed.  All the installation packages have been rebuilt to
produce a send release candidate.

ooRexx 4.2.0 is an enhancement and bug fix release.  The first new feature
release in some time.  There are a large number of new feature requests
that have been implemented in this release.  In addition, many reported
bugs have been fixed. Please read the CHANGES document for a list of the
bug tracker items fixed and the feature request tracker items that have
been implemented.

Testing by the users of ooRexx has definitely contributed to producing a
better 4.2.0 release.  Continued testing of the release candidate will help
ensure that 4.2.0 is a great release.  The second release candidate may be
your last chance to test that your ooRexx programs work well with the new
version of ooRexx.

Please test the second release candidate and report any issues uncovered on
the SourceForge bug tracker at:

https://sourceforge.net/p/oorexx/bugs/

All users of ooRexx are strongly urged to, at a minimum, run the Rexx
programs they use under the release candidate code.  All testing done by
users of ooRexx is highly appreciated and of great help.  This testing is
one way for ooRexx users to contribute back to the project.

Thank you,
The ooRexx Project Team
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] RC2 Test Suite Results

2014-01-31 Thread Mark Miesfeld
Just as a note, for Windows we have 3 builds.  A 32 bit, a 64 bit, and a
special Win2K build (which has to be 32 bit.)

I ran the test suite twice on each of the builds.  The 64 bit build
produced 2 failures.  One for the Windows event log and one for a RegExp
test.

The event log failure only happened on one of the test runs and didn't
happen on the second run.  This test shows that the winsystm class does not
have any major problems.  The test fails because the OS updates the event
log during the test.  I don't consider this failure a problem and I like
having the test there because it at least ensures that the WindowsEventLog
class is working

The RegExp failure is marked in the test code as being a known problem.  We
have a bug opened for it I think.  Just noting that this is not a bug
introduced in the new 4.2.0 code.

The RegExp test only fails on the 64 bit build, which may not be
significant because of only 4 test runs.

Like Rick, I did not see any mutable buffer errors at all.

--
Mark Miesfeld



On Fri, Jan 31, 2014 at 8:27 AM, David Ashley w.david.ash...@gmail.comwrote:

 All -

 Below are the latest test suite results. The MutableBuffer errors are
 still showing but everything else looks good.

 One of the things I have begun to notice is that about half way through
 the suite it grabs hold of the CPU hard and does not let go for almost a
 minute. Even the GUI freezes and the cursor disappears during this
 period. Not sure if this is worth looking into or not.

 Operating System: Fedora 20 x86_64
 ooRexx: 4.2.0 RC2
 Test Suite: 4.2.0 branch

 [dashley@dhcp-9-41-91-113 trunk]$ ./testOORexx.rex -X native_api
 Searching for test containers
 Executing automated test suite0C 0C
 0C 0C
 ..
 ...
 
 ...
 ..foo
 .
 .

 ooTest Framework - Automated Test of the ooRexx Interpreter


 Interpreter: REXX-ooRexx_4.2.0(MT)_64-bit 6.04 28 Dec 2013
 Addressing Mode: 64
 ooRexxUnit:  2.0.0_3.2.0ooTest: 1.0.0_4.0.0

 Tests ran:   19384
 Assertions:  576711
 Failures:22
 Errors:  0
 Skipped files:   32

 [failure] [20140131 10:18:27.852449]
   svn:r8237   Change date: 2012-08-21 22:02:00 +0200
   Test:   TEST0039
   Class:  MutableBuffer_spaceMethod.testGroup

 File:
 /home/dashley/ad/.../ooRexx/base/class/MutableBuffer/space.testGroup
   Line:   181
   Failed: assertSame
 Expected: [[§äè °üé], identityHash=17525707155492]
 Actual:   [[§��è °��é], identityHash=17525569391618]

 [failure] [20140131 10:18:27.853246]
   svn:r8237   Change date: 2012-08-21 22:02:00 +0200
   Test:   TEST0044
   Class:  MutableBuffer_spaceMethod.testGroup

 File:
 /home/dashley/ad/.../ooRexx/base/class/MutableBuffer/space.testGroup
   Line:   196
   Failed: assertSame
 Expected: [[§äè °üé], identityHash=17525707155492]
 Actual:   [[§��è °üé], identityHash=17525569410680]

 [failure] [20140131 10:18:27.854953]
   svn:r8237   Change date: 2012-08-21 22:02:00 +0200
   Test:   TEST0059
   Class:  MutableBuffer_spaceMethod.testGroup

 File:
 /home/dashley/ad/.../ooRexx/base/class/MutableBuffer/space.testGroup
   Line:   241
   Failed: assertSame
 Expected: [[§äè °üé], identityHash=17525707155492]
 Actual:   [[§��è °��é], identityHash=17525569459946]

 [failure] [20140131 10:18:27.855670]
   svn:r8237   Change date: 2012-08-21 22:02:00 +0200
   Test:   TEST0064
   Class:  MutableBuffer_spaceMethod.testGroup

 File:
 /home/dashley/ad/.../ooRexx/base/class/MutableBuffer/space.testGroup
   Line:   256
   Failed: assertSame
 Expected: [[§äè °üé ߢ¬], identityHash=17525707168378]
 Actual:   [[§��è °üé ߢ¬], identityHash=17525569479022]

 [failure] [20140131 10:18:27.858670]
   svn:r8237   Change date: 2012-08-21 22:02:00 +0200
   Test:   TEST0094
   Class:  MutableBuffer_spaceMethod.testGroup

 File:
 /home/dashley/ad/.../ooRexx/base/class/MutableBuffer/space.testGroup
   Line:   346
   Failed: assertSame
 Expected: [[§äè°üé], identityHash=17525707184658]
 Actual:   [[§��è°üé], identityHash=17525569573508]

 [failure] [20140131 10:18:27.859465]
   svn:r8237   Change date: 2012-08-21 22:02:00 +0200
   Test:   TEST0099
   Class:  MutableBuffer_spaceMethod.testGroup

 File:
 /home/dashley/ad/.../ooRexx/base/class/MutableBuffer/space.testGroup
   Line:   361
   Failed: assertSame
 Expected: [[§äè°üé], identityHash=17525707184658]
 Actual:   [[§��è°üé], identityHash=17525569592570]

 [failure] [20140131 10:18:27.861101]
   svn:r8237   Change date: 2012-08-21 22:02:00 +0200
   Test:   TEST0114
   Class:  MutableBuffer_spaceMethod.testGroup

 File:
 /home/dashley/ad/.../ooRexx/base/class/MutableBuffer

Re: [Oorexx-users] MutableBuffer Failing Tests

2014-01-31 Thread Mark Miesfeld
On Fri, Jan 31, 2014 at 8:44 AM, David Ashley w.david.ash...@gmail.comwrote:

David  I wonder if you meant to send this to the devel list rather than the
users list?



 I think I found the problem with the failing MutableBuffer tests.

 Each of the failing test has a clause at the end that is not correct.
 The bad clause is ~space(2). I think what is supposed to be there
 instead is ~~space(2). Note the double twiddles.


I don't think so.  I think a single twiddle is correct.

.MutableBuffer~new('')~space(2)

MutableBuffer~new returns a mutable buffer object.  Using a single twiddle
invokes the space method on that object.  This is no different than;

b = MutableBuffer~new('')
b~space(2)

Plus, not all the failing tests have ~space(2).  In you log this test
failed:

[failure] [20140131 10:18:27.852449]
  svn:r8237   Change date: 2012-08-21 22:02:00 +0200
  Test:   TEST0039
  Class:  MutableBuffer_spaceMethod.testGroup

File:   /home/dashley/ad/.../ooRexx/base/class/MutableBuffer/space.testGroup
  Line:   181
  Failed: assertSame
Expected: [[§äè °üé], identityHash=17525707155492]
Actual:   [[§��è °��é], identityHash=17525569391618]


::method 'test0039'
self~assertSame('§äè °üé', .MutableBuffer~new(' §äè
°üé')~space)

--
Mark Miesfeld
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] MutableBuffer Failing Tests

2014-01-31 Thread Mark Miesfeld
I wonder if the problem comes from the editor used to originally create the
file and then successive updates to the file by other editors.

Do we know who first created the file?

Plus, someone must have used some creative way to enter the extended ASCII
characters to begin with.  In most editors, you can not just type them.
 Maybe however the characters were placed in the file screwed things up?

--
Mark Miesfeld



On Fri, Jan 31, 2014 at 10:58 AM, Rick McGuire object.r...@gmail.comwrote:

 I just took at look at the source file in hex mode, and the problem is
 definitely inherent in the source file.  For the one remaining test
 failure, there is a character that looks like the degree symbol in both the
 expected literal string and the test data.  Viewed in hex mode, the first
 occurrence is encoded as 'b0'x, but in the test data, it is encoded as
 'a7'x.  Looking at the same file on Windows shows both occurrences as
 'b0'x.  Is it possible that this file is somehow getting munged as part of
 the SVN checkout?

 Add to the mystery is the fact the string test group uses the same data
 but somehow manages to avoid getting munged.  The problem character is
 encoded as '0b'x in both cases.

 These particular tests don't really add much to the testing, other than
 the fact it uses characters.  These tests should probably be done using
 data specified as hex literals rather than relying on the file encodings,
 which seem to have problems.  I think we should just ignore these failures
 for now and look at fixing the base test to avoid these problems in the
 future.

 Rick





 On Fri, Jan 31, 2014 at 1:43 PM, Rick McGuire object.r...@gmail.comwrote:

 The lexical parser does not parse extended strings, it treats all data as
 just 8-bit ASCII.  And if that was the case, then the problems would also
 show up on Windows, which is not happening.  There's definitely something
 strange going on with the file encoding, but I have no idea on where the
 problem is.  I've been able to recreate this on my Fedora virtual machine
 (sort of).  However, I only got 3 errors, not the entire set you got.  In
 addition, I tried modifying one of the failures to this:

 ::method 'test0174'

 data = ' §äè  °üéߢ¬' '0909'x
 say data
 say data~length
 test = .MutableBuffer~new(data)
 say test
 say test~length
 self~assertSame('§äè+°üé+ߢ¬', test~space(1,'+'))

 And the failure went away...along with one of the other failures that I
 did not change, leaving me with just a single failure.  All of this is
 telling me that the problems are in the actual encoding of the source
 files, but I have no clue as to what might be causing this to behave so
 inconsistently.

 Rick


 On Fri, Jan 31, 2014 at 1:17 PM, David Ashley 
 w.david.ash...@gmail.comwrote:

 When you create the string using  .MutableBuffer~new('20c2a720'x)
 everything is ok, all results are as expected.

 This makes me think that there is something wrong at a lower level,
 perhaps in the character string parsing (the lex part of the
 interpreter). Perhaps it is not parsing extended strings correctly? That
 is my only guess at the moment.

 David Ashley



 --
 WatchGuard Dimension instantly turns raw network data into actionable
 security intelligence. It gives you real-time visual feedback on key
 security issues and trends.  Skip the complicated setup - simply import
 a virtual appliance and go from zero to informed in seconds.

 http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users





 --
 WatchGuard Dimension instantly turns raw network data into actionable
 security intelligence. It gives you real-time visual feedback on key
 security issues and trends.  Skip the complicated setup - simply import
 a virtual appliance and go from zero to informed in seconds.

 http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx

Re: [Oorexx-users] No Generic Linux packages for V4.1.3?

2014-01-30 Thread Mark Miesfeld
Leslie,

The note is a little obsolete, originally we didn't have the capabilities
to build 30 different packages.  But, David has added a lot of flavors.

Still, you can take the meaning of the note to be:  If you do not find a
package that exactly matches your flavor of Linux, try picking a rpm or deb
package that is close to your flavor of Linux.

--
Mark Miesfeld


On Thu, Jan 30, 2014 at 2:05 PM, J. Leslie Turriff 
jlturr...@centurylink.net wrote:

 The notes at the bottom of the download page for ooRexx 4.1.3
 contain this
 text:
 =
 A Note on Linux packages:
 -

 The generically named rpm packages should install on any modern
 distribution
 that uses RPM as a package manager.  Likewise, the generically named deb
 packages will install on any modern debian-based systems.

 When it is known that the generic package has problems on a distribution,
 the ooRexx team may build an additional package for that specific
 distribution.  In which case, the installation package will have the
 targeted distribution in its file name.

 Please use the generically named rpm and deb packages.  If there is a
 problem on your distribution, report it by opening up a Tracker bug.
 Depending on resources, the ooRexx team may be able to build a specific
 package for that distribution.
 =

 But there don't appear to be any such packages available; all of
 the links
 are to platform-specific packages.  Is this an oversight, or is the note
 obsolete?

 Leslie


 --
 WatchGuard Dimension instantly turns raw network data into actionable
 security intelligence. It gives you real-time visual feedback on key
 security issues and trends.  Skip the complicated setup - simply import
 a virtual appliance and go from zero to informed in seconds.

 http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users

--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] RPM post scriptlet fails during installation on OpenSuSE

2014-01-30 Thread Mark Miesfeld
On Thu, Jan 30, 2014 at 2:37 PM, J. Leslie Turriff 
jlturr...@centurylink.net wrote:





 When I install ooRexx on my x86_64 OpenSuSE the install hangs until I press
 ^C; at which time I get a warning about a failed scriptlet:
 ==
 #rpm -ivf


Did you remove the previous install first?  You must do that.

rpm -e ooRexx

If you did, then open a bug.

Since you are installing, why don't you install the ooRexx 4.2.0 release
candidate instead.  That way if you find a bug, and open a bug report, you
stand a good chance of having it fixed in the upcoming release.

--
Mark Miesfeld
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Install 4.2.0 on Win2K

2014-01-21 Thread Mark Miesfeld
On Tue, Jan 21, 2014 at 12:04 PM, Art Heimsoth artst...@artheimsoth.comwrote:

 I tried to install the ooRexx-4.2.0.windows2K.x86_32.exe on my
 Win2k system - that appears to have gone ok, but then when I
 try to run an ooDialog program I get an error.


ooDialog is not supported on Win2K.  It is supported on XP and later only.
 And I had to do a trick to keep it supported on XP.

The windows2K package is built special because current Microsoft compilers
no longer build code that will run on Win2K.  I still have a system with an
old compiler on it, so I built that package as a favor for one user.

For ooDialog, I'm more interested in moving forward with Windows 7 support
than trying to maintain support for Win2K.  I'm not sure which is the last
version of ooDialog that will run on Win2K.  You can experiment with the
independent installation packages if you want.  I would expect 4.1.0 will
work.  I'm not sure about 4.2.0.

--
Mark Miesfeld
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Announce: ooRexx 4.2.0 Release Candidate now available on SourceForge

2014-01-20 Thread Mark Miesfeld
The Open Object Rexx Project is happy to announce a release candidate for
ooRexx 4.2.0. The installation packages are available on SourceForge at:

https://sourceforge.net/projects/oorexx/files/oorexx/4.2.0%20%28release%20candidate%29/

ooRexx 4.2.0 is an enhancement and bug fix release.  The first new feature
release in some time.  There are a large number of new feature requests
that have been implemented in this release.  In addition, many reported
bugs have been fixed. Please read the CHANGES document for a list of the
bug tracker items fixed and the feature request tracker items that have
been implemented.

Unless more bug reports are posted, It is anticipated that the official
release of ooRexx 4.2.0 will be done in several weeks.  This is your last
chance to test that your ooRexx programs work well with the new version.

Please test the beta and report any issues uncovered on the SourceForge bug
tracker at:

https://sourceforge.net/p/oorexx/bugs/

The users of ooRexx are strongly urged to, at a minimum, run the Rexx
programs they use under the beta code.  All testing done by users of ooRexx
is highly appreciated and of great help.  This testing is one way for
ooRexx users to contribute back to the project.

Thank you,
The ooRexx Project Team
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Announce: ooDialog version 4.2.3, official release, is now available on SourceForge

2014-01-18 Thread Mark Miesfeld
Installation packages for ooDialog version 4.2.3 are now available on
SourceForge
at:

https://sourceforge.net/projects/oorexx/files/ooDialog/4.2.3/

This is the official release of ooDialog 4.2.3.

ooDialog 4.2.3 is a routine update with bug fixes and a few enhancements.
 The ReadMe file that displays on the SourceForge download page contains a
list of the bug fixes and enhancements in 4.2.3.  In addition the ooDialog
reference manual, in chapter 1, Brief Overview, section 1.5 Current Release
contains a complete discussion of the changes in ooDialog 4.2.3 from
ooDialog 4.2.2.

4.2.3 has a few new features.  It contains the implementations of Request
For Enhancements that were submitted to the project on SourceForge.  Users
of ooDialog are encouraged to submit requests for features or enhancements
they would like to see in ooDialog using the Request for Enhancement
tracker at:

https://sourceforge.net/p/oorexx/feature-requests/?source=navbar

The new features in 4.2.3 include implementations of Vista Open File and
Save File dialogs, along with a stand alone ooDialog executable.  The
executable can be used to display information about ooDialog, to run
ooDialog programs with not visible console (similar to rexxhide but with a
few enhancements,) as a drag-and-drop target for ooDialog programs, and to
configure file associations for ooDialog programs.

There are no known bugs in ooDialog at the time of this release.  Anyone
suspecting they have discovered a bug or other problem in ooDialog is
encourage to report this using the ooRexx SourceForge tracker for bugs:

https://sourceforge.net/p/oorexx/bugs/?source=navbar

Beginning with the release of ooDialog 4.2.0, the installation of ooDialog
has been decoupled from the interpreter.  ooDialog 4.2.3 installs over the
top of any ooRexx installation.  It replaces the version of ooDialog in the
ooRexx installation with ooDialog 4.2.3.

This type of ooDialog installation is called an independent
ooDialog installation to indicate the ooDialog installation is independent
of an ooRexx installation and, to a degree, the version of ooRexx installed.

ooDialog 4.2.3 requires a minimum ooRexx version of 4.1.0 to be installed
on the target computer.

Installation is simple, done through a typical Windows installer.  Pick the
installation package that matches the bitness of the ooRexx installation.
 I.e., a 32-bit package for a 32-bit ooRexx and a 64-bit package for a
64-bit ooRexx.  Note that the bitness of the operating system is not
relevant here.  If you have installed a 32-bit ooRexx on a Windows 64-bit
system, you must install a 32-bit ooDialog.

The installer will detect the installed ooRexx, location, and version.  If
the ooRexx version is less than 4.1.0, or if there is no installed ooRexx,
the installer will abort with a message explaining the problem.  Otherwise
the installer will replace the current ooDialog with ooDialog 4.2.3.

--
Mark Miesfeld for the ooRexx Development Team
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Announce: ooDialog 4.2.4 preview is available on SourceForge

2014-01-18 Thread Mark Miesfeld
Hi All,

I've done a current build of the next version of ooDialog, tentatively
4.2.4 at this time, and put it up on SourceForge for any one interested.
 You can download from:

https://sourceforge.net/projects/oorexx/files/ooDialog/4.2.4%20%28preview%29/

There are 3 new dialog controls being added in 4.2.4:  ReBar, ToolBar, and
StatusBar.  They are pretty cool.

The other new feature(s) is an update of the EventNotification class.

See my next post for details on 4.2.4.

--
Mark Miesfeld
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Announce: ooDialog 4.2.4 preview is available on SourceForge

2014-01-18 Thread Mark Miesfeld
 event handling method must return true or false.

.false  -  The ooDialog framework immediately returns 0 to the operating
system and then invokes the Rexx event handling method to run concurrently
as a separate activity. There are no requirements for the event handler to
return a value and any value returned has no effect.

SYNC -  The ooDialog framework directly invokes the Rexx event handler,
and waits for the Rexx method to return.  The event handler does not need
to return a value and if it does, its value is ignored.  This in effect
keeps the operating system and the dialog in sync.

The documentation for this is complete.  In fact the entire
EventNotification class documentation has been reviewed and checked for
accuracy and completeness.

Please open bugs at:

https://sourceforge.net/p/oorexx/bugs/?source=navbar

for any that you find.  Or at the very least post on this list to bring
them to my attention.  One of the main reasons that I go to the trouble of
building and uploading preview versions is the hope that users of ooDialog
will help test and shake out any kinks in the newer stuff.

Of course if you have any questions about ooDialog just ask them here.

--
Mark Miesfeld



On Sat, Jan 18, 2014 at 2:52 PM, Mark Miesfeld miesf...@gmail.com wrote:

 Hi All,

 I've done a current build of the next version of ooDialog, tentatively
 4.2.4 at this time, and put it up on SourceForge for any one interested.
  You can download from:


 https://sourceforge.net/projects/oorexx/files/ooDialog/4.2.4%20%28preview%29/

 There are 3 new dialog controls being added in 4.2.4:  ReBar, ToolBar, and
 StatusBar.  They are pretty cool.

 The other new feature(s) is an update of the EventNotification class.

 See my next post for details on 4.2.4.

 --
 Mark Miesfeld

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] RadioButtonGroup with Multiple selection

2013-12-29 Thread Mark Miesfeld
On Sun, Dec 29, 2013 at 2:55 PM, Art Heimsoth artst...@artheimsoth.comwrote:


 How would I go about creating a Radio Button Group that has
 multiple selection capability?  The CreateRadioButtonGroup only
 allows one button to be selected, when another button is selected,
 the prior button is deselected.  Is a CheckBox control the way to
 do this?


Yes, check boxes are the way to handle this. By definition, only 1 radio
button at a time can be enabled.

Theoretically, you can create the radio buttons individually, without the
auto select style.  You are then responsible for setting the checked state
yourself and you can set more than one as checked.

This is more work than auto select and is not what users will expect.  So,
I'd advise against it.

--
Mark Miesfeld
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Install problem of ooSQLite 1.0.0 of 8/28

2013-12-23 Thread Mark Miesfeld
Hi Art,

I have the same problem that ooSQLite says there is a problem with the pdf
file and won't continue.  Unfortunately, I don't even see what the problem
is.  The logic looks correct to me.

I'll have to spend a it of time to figure it out.  I'll let you know when I
do.

--
Mark Miesfeld
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Install problem of ooSQLite 1.0.0 of 8/28

2013-12-23 Thread Mark Miesfeld
On Mon, Dec 23, 2013 at 3:38 PM, Art Heimsoth artst...@artheimsoth.comwrote:


  It looks like there is some registry redirection involved here that
  I'm not aware of.

 I don't have that key on my system (a 32 bit Win7 system), so I think
 it may be something more/different.


I think it is essentially the same.



 If I uninstalloosqlite, then install ooRexx including to remove the oorexx
 folder content on the uninstall, then run oosqlite install, all works okay.


The ooSQLite installer writes some uninstall information to a registry key.
 The uninstaller deletes it.


 If I do not first run the uninstalloosqlite, then the subsequent oosqlite
 install
 (after ooRexx uninstall/install) fails immediately after the Welcome panel
 and before the normal License panel.  It appears there is something being
 tested before that Nsi section that is failing.


Yes, the installer reads the the uninstall information from the registry
key.  If it exists, it assumes ooSQLite is installed.  Then, if ooSQLite is
installed, it tries to test that there is no ooSQLite program running and
that the PDF doc is not open.  It does that by copying the two files and
then trying to delete the originals.  If the files do not exist this fails

So, when you uninstall ooRexx by deleting the whole tree, the registry key
is not removed.  The files are deleted and when you go to install ooSQLite
it fails as described above.



 BTW, where is the ooSQLite nsi script in svn?


Here:

svn+ssh://
miesf...@svn.code.sf.net/p/oorexx/code-0/incubator/ooSQLite/install/platform/windows/

--
Mark Miesfeld
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Announce: ooDialog 4.2.3 release candidate now available

2013-12-22 Thread Mark Miesfeld
Installation packages for ooDialog 4.2.3, final release candidate, are now
available on SourceForge at:

https://sourceforge.net/projects/oorexx/files/ooDialog/4.2.3%20%28release%20canidate%29/

The ooDialog 4.2.3 release is a routine update, providing some incremental
improvements and a few bug fixes.

ooDialog 4.2.3 can be installed to any ooRexx installation, 4.1.0 or later.

4.2.3 has been in beta now for over 3 weeks with only 1 minor bug reported
and fixed.  Unless some other bugs are reported in the next few days, it is
anticipated that the official release version of ooDialog 4.2.3 will be
done on Christmas day 2013.

This may be your last chance to ensure your ooDialog applications run
correctly before the official release.  If problems are discovered please
report them immediately using the SourceForge bug tracker at:

https://sourceforge.net/p/oorexx/bugs/

--
The ooRexx Development Team
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem installing ooRexx 4.1.2 and 4.1.3 Windows x76_64 on Windows 7 Ultimate x64

2013-12-12 Thread Mark Miesfeld
On Thu, Dec 12, 2013 at 9:07 AM, Bertram Moshier
bertrammosh...@gmail.comwrote:



 At first I thought you found my mistake:


The installer should elevate automatically, so not starting it with 'run as
Administrator' should not make any difference.  It was just a suggestion,
for just in case.


 When I do sc query rxapi the response I get is:

 SERVICE_NAME: rxapi
 TYPE   : 10  WIN32_OWN_PROCESS
 STATE  : 4  RUNNING
 (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
 WIN32_EXIT_CODE: 0  (0x0)

 SERVICE_EXIT_CODE  : 0  (0x0)
 CHECKPOINT : 0x0
 WAIT_HINT  : 0x0

 QUESTION:  Did I manually install RXAPI in an acceptable manner?


Looks okay.


 I'm now running ooRexx 4.1.3 fine


Okay, great.


 OH!  One last question:  Is it possible to have a Rexx program run before
 an user logs into Windows?


it should be possible.


 If yes, how?


One way would be to set it up as a service, they may be other ways.  It has
been many years since I fooled with it and I don't remember the details off
the top of my head.  An Internet search should turn up some help.

There is an ooRexx user, Jeremy Nicoll, who runs Rexx programs on start up.
 Maybe he'll answer here.

Otherwise, you could post the question on comp.lang.rexx and maybe he'll
answer there.

--
Mark Miesfeld
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem installing ooRexx 4.1.2 and 4.1.3 Windows x76_64 on Windows 7 Ultimate x64

2013-12-11 Thread Mark Miesfeld
On Wed, Dec 11, 2013 at 3:27 AM, Rob Thomas rob_thomas_r...@yahoo.comwrote:


 I only downloaded ooRexx on my machine yesterday.  I don't know why these
 packages don't create desktop icons so you know what to create a short cut
 pointing to ???


No one has every requested that.  Rexx is essentially a command line
program. The installer creates a Start Menu group that has an item for both
the console version of rexxtry and the GUI version of rexxtry.




 I already had ObjREXX  Workbench on my win 7 machine, but it did work
 perfect when I did excel demos at Well Fargo in 2010.
 After installing OORexx, ObjRexx started getting upset about conflicts
 with rxapi.exe.


ooRexx and IBM's Object Rexx can not be installed on the same system.  We
state this explicitly in several of the read me files.  It is not supported.



 I scoured the internet looking for fixes, but they give you a simple
 work around by running regedit and possibly corrupting you entire system.
 Or there is this simple download from someone you never heard of.


There is no fix, there is no work around.  You need to either remove
IBM's Object Rexx or remove ooRexx.


 When I open up ooRexx it brings up a crude version of what appears to be
 a very weak version of Workbench.
 I had it such that it would bring up a DOS (?) window and I could type in
 rexx code separate by ; .. and it worked well.  The crude IDE is better
 though.



When IBM donated the source code for Object Rexx to RexxLA, they did not
donate the source code for the WorkBench.  So, there currently is no IDE
for ooRexx.



  I have no idea how I got this working, but the icon properties are
 C:\Program Files\ooRexx\ooRexxTry.rex.


ooRexxTry.rex is a GUI version of the rexxtry.rex program.  It is not an
IDE.  It allows you enter Rexx statements and execute them.

--
Mark Miesfeld
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem installing ooRexx 4.1.2 and 4.1.3 Windows x76_64 on Windows 7 Ultimate x64

2013-12-11 Thread Mark Miesfeld
On Wed, Dec 11, 2013 at 9:17 AM, Ruurd Idenburg ru...@idenburg.net wrote:

 I've seen some of these decribed problems but always when I was fooling
 around with the 64- and 32- bit versions on my 64 bit Ultimate System. I
 think that the installer wasn't able to kill/start rxapi  when switching
 from one mode to the other.



Thanks Ruurd.

That's interesting.  If you had the 32-bit version installed and then
started the 64-bit installer, the installer would detect the installed
ooRexx.  It would then attempt to execute the the 32-bit uninstaller from
the 64-bit process space.  This wouldn't work.

I guess it would be the same going the other way.

In this case, you would need to run the current uninstaller first, before
starting the installer.  The uninstaller program would be the same bitness
as the running rxapi and should have no problem stopping it.  Actually, it
first tries to stop the service using the service manager calls.  I think
those calls should work even if rxapi was 32-bit and the process was 64 bit.

The installer used to have some loop holes where if rxapi was not stopped,
the installer just continued on.  I think I have those fixed so that if
rxapi is not stopped, the installer will not continue.

We need to point out in the installation notes or read me files that on
Windows if you have ooRexx installed and are going to install a new version
that is not the same bitness as the installed version, you need to do it in
two steps.  You need to first run the stand alone uninstaller and then run
the installer.

--
Mark Miesfeld




 I could always recover by doing what Mark wrote down, making sure no
 rxapi was running (either as a service or in it's process).

 -- Ruurd Idenburg


 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Testing ooRexx on Windows 8 or 8.1

2013-12-08 Thread Mark Miesfeld
Thanks a lot hex.

There are 2 datatype tests in there that were actually bugs.  Rick fixed
them this morning.

The event log tests are probably no longer valid unless you are elevated to
Administrator when you run them.

The special folders tests use the old XP way of identifing the special
folders.  In Windows 7, MSDN said this old method would work, but hinted
that it should not be used anymore.  I'll take a look and see about that.

That would be most of the failures, I'll sort through the list and see what
the others are.

Thanks a lot for the report.

--
Mark Miesfeld



On Sun, Dec 8, 2013 at 6:45 AM, hakan hexi...@users.sourceforge.net wrote:

  Mark
 I have executed the test suite, on 64 bit Windows 8.1 Pro and ooRexx
 4.2.0_9641, built with SDK 7.1 and VS 2010 and the NSIS LongString format.

 I used testOORexx.rex -X native_api

 /hex

 C:\MyPrograms\MyRexx\MyooRexxrexx -v
 Open Object Rexx Version 4.2.0
 Build date: Dec 8 2013
 Addressing Mode: 64

 ooTest Framework - Automated Test of the ooRexx Interpreter


 Interpreter: REXX-ooRexx_4.2.0(MT)_64-bit 6.04 8 Dec 2013
 Addressing Mode: 64
 ooRexxUnit: 2.0.0_3.2.0 ooTest: 1.0.0_4.0.0
 Tests ran: 19627
 Assertions: 576878
 Failures: 34
 Errors: 0
 Skipped files: 12
 [failure] [20131208 13:40:34.487000]
 svn: r4249 Change date: 2009-03-03 01:23:48 +0100
 Test: TEST02
 Class: DATATYPE.testGroup
 File: C:\Users\hex\Documents\...\test\ooRexx\base\bif\DATATYPE.testGroup
 Line: 64
 Failed: assertSame
 Expected: [[1C], identityHash=17587142499480]
 Actual: [[0C], identityHash=1758714254]
 [failure] [20131208 13:41:36.94]
 svn: r6434 Change date: 2010-12-01 09:02:15 +0100
 Test: TEST_5
 Class: TIME.long.testGroup
 File: C:\Users\hex\Documents\...\test\ooRexx\base\bif\TIME.testGroup
 Line: 1909
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 Message: cb4a should be greater than or equal to 13, cb4a is: 12.986000
 [failure] [20131208 13:42:01.942000]
 svn: r6434 Change date: 2010-12-01 09:02:15 +0100
 Test: TEST_9
 Class: TIME.long.testGroup
 File: C:\Users\hex\Documents\...\test\ooRexx\base\bif\TIME.testGroup
 Line: 1982
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 Message: cb6a should be greater than or equal to 5, cb6a is: 4.987000
 [failure] [20131208 13:42:16.335000]
 svn: r4249 Change date: 2009-03-03 01:23:48 +0100
 Test: TEST02
 Class: String_datatypeMethod.testGroup
 File:
 C:\Users\hex\Documents\...\ooRexx\base\class\String\datatype.testGroup
 Line: 63
 Failed: assertSame
 Expected: [[1C], identityHash=17587058135876]
 Actual: [[0C], identityHash=17587058136072]
 [failure] [20131208 13:42:25.915000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTADMINISTRATIVETOOLS
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 764
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.978000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSDESKTOP
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 450
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.978000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSFAVORITES
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 532
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.993000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSPROGRAMS
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 416
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.993000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSSTARTMENU
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 399
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.993000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSSTARTUP
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 433
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:26.118000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTCONTROLPANEL
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 110
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:26.29]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTDESKTOP
 Class: SpecialFolders.testgroup
 File

Re: [Oorexx-users] Testing ooRexx on Windows 8 or 8.1

2013-12-08 Thread Mark Miesfeld
On Sun, Dec 8, 2013 at 7:05 AM, hakan hexi...@users.sourceforge.net wrote:


 My output from testOORexx.rex -b, on 64 bit Windows 8.1 Pro and ooRexx
 4.2.0_9641, built with SDK 7.1 and VS 2010 and the NSIS LongString format.
 I may have missunderstood how to set this up ( I ran the testOORexx -b in
 a command window setup for the compile of ooRexx)

 Hex, yes that would be the right way to do it.  You would want to run it
in a command window that would compile ooRexx correctly.  That way the
native API tests will compile correctly.  The b flag is for build.

The B flag is to force the build.  The first time you download the test
suite, the build will happen because the tests have not been compiled.
 After that, the tests won't be recompiled because the make file will see
that the executables are newer than the source code.  That is fine
normally, the tests aren't changing, no need to recompile.

However, if you rebuild the interpreter, the make file can't detect the
interpreter is changed.  So in general it is a good idea to force a new
build.

Much of the output from the native API tests, is not an error because the
tests are testing that an error is produced.

--
Mark Miesfeld


 I also had to cut out some of the output below, due to size limit on
 sourceforge mail (40k)
 /hex

 C:\Users\hex\Documents\oorexxtestSuite\testtestoorexx -b
 Searching for test containers..
 Executing automated test suite.. 54 *-* raise propagate
 .. 54 *-* raise propagate
 . 54 *-* raise propagate
 . 54 *-* raise propagate
 ... 54 *-* raise propagate
 .. 54 *-* raise propagate
  48 *-* command
 Error 48 running
 C:\Users\hex\Documents\oorexxtestSuite\test\ooRexx\API\oo\tests\commandExit.rex
 line 48: Failure in system service
 Error 48.1: Failure in system service: RXCMD
 43 *-* RETURN TESTERROR()
 43 *-* interpret return target
 Error 40 running
 C:\Users\hex\Documents\oorexxtestSuite\test\ooRexx\API\oo\tests\functionExit.rex
 line 43: Incorrect call to routine
 Error 40.1: External routine TESTERROR failed
 43 *-* RETURN TESTNOTFOUND()
 43 *-* interpret return target
 Error 43 running
 C:\Users\hex\Documents\oorexxtestSuite\test\ooRexx\API\oo\tests\functionExit.rex
 line 43: Routine not found
 Error 43.1: Could not find routine TESTNOTFOUND
 43 *-* RETURN TESTSUBCALL()
 43 *-* interpret return target
 Error 48 running
 C:\Users\hex\Documents\oorexxtestSuite\test\ooRexx\API\oo\tests\functionExit.rex
 line 43: Failure in system service
 Error 48.1: Failure in system service: RXFNC
 43 *-* signal on halt
 Error 48 running
 C:\Users\hex\Documents\oorexxtestSuite\test\ooRexx\API\oo\tests\haltExit.rex
 line 43: Failure in system service
 Error 48.1: Failure in system service: RXHLT
 42 *-* return test1
 Error 48 running
 C:\Users\hex\Documents\oorexxtestSuite\test\ooRexx\API\oo\tests\initExit.rex
 line 42: Failure in system service
 Error 48.1: Failure in system service: RXINI
 . 45 *-* parse pull line
 Error 48 running
 C:\Users\hex\Documents\oorexxtestSuite\test\ooRexx\API\oo\tests\ioExitPull.rex
 line 45: Failure in system service
 Error 48.1: Failure in system service: RXSIO
 46 *-* say HELLO
 Error 48: Failure in system service
 Error 48.1: Failure in system service: RXSIO
 54 *-* raise propagate
 47 *-* call trace OFF
 Error 48: Failure in system service
 Error 48.1: Failure in system service: RXSIO
 44 *-* parse pull res
 Error 48 running
 C:\Users\hex\Documents\oorexxtestSuite\test\ooRexx\API\oo\tests\queueExitPull.rex
 line 44: Failure in system service
 Error 48.1: Failure in system service: RXMSQ
 .. left out lines ...
 
 ... .

 .class2~init
 class3~init
 class1~init
 class2~activate
 class3~activate
 class1~activate
 foo
 ..
 ...


 ooTest Framework - Automated Test of the ooRexx Interpreter

 Interpreter: REXX-ooRexx_4.2.0(MT)_64-bit 6.04 8 Dec 2013
 Addressing Mode: 64
 ooRexxUnit: 2.0.0_3.2.0 ooTest: 1.0.0_4.0.0
 Tests ran: 20327
 Assertions: 579289
 Failures: 33
 Errors: 1
 Skipped files: 4
 [failure] [20131208 14:28:38.331000]

 svn: r4249 Change date: 2009-03-03 01:23:48 +0100
 Test: TEST02
 Class: DATATYPE.testGroup
 File: C:\Users\hex\Documents\...\test\ooRexx\base\bif\DATATYPE.testGroup
 Line: 64
 Failed: assertSame
 Expected: [[1C], identityHash=17587141191704]
 Actual: [[0C], identityHash=17587141191900]
 [failure] [20131208 14:30:27.005000]

 svn: r4249 Change date: 2009-03-03 01:23:48 +0100
 Test: TEST02
 Class: String_datatypeMethod.testGroup
 File:
 C:\Users\hex\Documents\...\ooRexx\base\class\String\datatype.testGroup
 Line: 63
 Failed: assertSame
 Expected: [[1C], identityHash=17587067880244]
 Actual: [[0C], identityHash=17587067880440]
 [failure] [20131208 14:30:38.413000]

 svn: r3371 Change date: 2008-09-21 06:33:29 +0200

Re: [Oorexx-users] Testing ooRexx on Windows 8 or 8.1

2013-12-08 Thread Mark Miesfeld
On Sun, Dec 8, 2013 at 7:05 AM, hakan hexi...@users.sourceforge.net wrote:

Hex, you may have already seen this reply.  One of my replies was withheld
for being to long.  I think it was this one.


 My output from testOORexx.rex -b, on 64 bit Windows 8.1 Pro and ooRexx
 4.2.0_9641, built with SDK 7.1 and VS 2010 and the NSIS LongString format.
 I may have missunderstood how to set this up ( I ran the testOORexx -b in
 a command window setup for the compile of ooRexx)


 Hex, yes that would be the right way to do it.  You would want to run it
in a command window that would compile ooRexx correctly.  That way the
native API tests will compile correctly.  The b flag is for build.

The B flag is to force the build.  The first time you download the test
suite, the build will happen because the tests have not been compiled.
 After that, the tests won't be recompiled because the make file will see
that the executables are newer than the source code.  That is fine
normally, the tests aren't changing, no need to recompile.

However, if you rebuild the interpreter, the make file can't detect the
interpreter is changed.  So in general it is a good idea to force a new
build.

Much of the output from the native API tests, is not an error because the
tests are testing that an error is produced.

--
Mark Miesfeld
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Testing ooRexx on Windows 8 or 8.1

2013-12-08 Thread Mark Miesfeld
On Sun, Dec 8, 2013 at 10:22 AM, Rick McGuire object.r...@gmail.com wrote:


 The remaining one was a time test that has a maddening tendency to give a
 false negative.  I'm thinking we might just remove that one as being
 unreliable.


I agree with that.  Especially the maddening part.  I've never seen it
fail if I run just the one test group by itself.  But that might have been
just luck.

--
Mark Miesfeld




 Rick


 On Sun, Dec 8, 2013 at 1:17 PM, Mark Miesfeld miesf...@gmail.com wrote:

 Thanks a lot hex.

 There are 2 datatype tests in there that were actually bugs.  Rick fixed
 them this morning.

 The event log tests are probably no longer valid unless you are elevated
 to Administrator when you run them.

 The special folders tests use the old XP way of identifing the special
 folders.  In Windows 7, MSDN said this old method would work, but hinted
 that it should not be used anymore.  I'll take a look and see about that.

 That would be most of the failures, I'll sort through the list and see
 what the others are.

 Thanks a lot for the report.

 --
 Mark Miesfeld



 On Sun, Dec 8, 2013 at 6:45 AM, hakan hexi...@users.sourceforge.netwrote:

  Mark
 I have executed the test suite, on 64 bit Windows 8.1 Pro and ooRexx
 4.2.0_9641, built with SDK 7.1 and VS 2010 and the NSIS LongString format.

 I used testOORexx.rex -X native_api

 /hex

 C:\MyPrograms\MyRexx\MyooRexxrexx -v
 Open Object Rexx Version 4.2.0
 Build date: Dec 8 2013
 Addressing Mode: 64

 ooTest Framework - Automated Test of the ooRexx Interpreter


 Interpreter: REXX-ooRexx_4.2.0(MT)_64-bit 6.04 8 Dec 2013
 Addressing Mode: 64
 ooRexxUnit: 2.0.0_3.2.0 ooTest: 1.0.0_4.0.0
 Tests ran: 19627
 Assertions: 576878
 Failures: 34
 Errors: 0
 Skipped files: 12
 [failure] [20131208 13:40:34.487000]
 svn: r4249 Change date: 2009-03-03 01:23:48 +0100
 Test: TEST02
 Class: DATATYPE.testGroup
 File: C:\Users\hex\Documents\...\test\ooRexx\base\bif\DATATYPE.testGroup
 Line: 64
 Failed: assertSame
 Expected: [[1C], identityHash=17587142499480]
 Actual: [[0C], identityHash=1758714254]
 [failure] [20131208 13:41:36.94]
 svn: r6434 Change date: 2010-12-01 09:02:15 +0100
 Test: TEST_5
 Class: TIME.long.testGroup
 File: C:\Users\hex\Documents\...\test\ooRexx\base\bif\TIME.testGroup
 Line: 1909
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 Message: cb4a should be greater than or equal to 13, cb4a is: 12.986000
 [failure] [20131208 13:42:01.942000]
 svn: r6434 Change date: 2010-12-01 09:02:15 +0100
 Test: TEST_9
 Class: TIME.long.testGroup
 File: C:\Users\hex\Documents\...\test\ooRexx\base\bif\TIME.testGroup
 Line: 1982
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 Message: cb6a should be greater than or equal to 5, cb6a is: 4.987000
 [failure] [20131208 13:42:16.335000]
 svn: r4249 Change date: 2009-03-03 01:23:48 +0100
 Test: TEST02
 Class: String_datatypeMethod.testGroup
 File:
 C:\Users\hex\Documents\...\ooRexx\base\class\String\datatype.testGroup
 Line: 63
 Failed: assertSame
 Expected: [[1C], identityHash=17587058135876]
 Actual: [[0C], identityHash=17587058136072]
 [failure] [20131208 13:42:25.915000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTADMINISTRATIVETOOLS
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 764
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.978000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSDESKTOP
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 450
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.978000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSFAVORITES
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 532
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.993000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSPROGRAMS
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 416
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.993000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSSTARTMENU
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 399
 Failed: assertTrue
 Expected: [1]
 Actual: [[0], identityHash=17587176087780]
 [failure] [20131208 13:42:25.993000]
 svn: r3371 Change date: 2008-09-21 06:33:29 +0200
 Test: TESTALLUSERSSTARTUP
 Class: SpecialFolders.testgroup
 File: C:\Users\hex\Documents\...\windows\ole\SpecialFolders.testGroup
 Line: 433
 Failed: assertTrue

Re: [Oorexx-users] [Oorexx-devel] Testing ooRexx on Windows 8 or 8.1

2013-12-08 Thread Mark Miesfeld
Hi hex,

Yes, I think you understood the message correctly.

I run the test suite as administrator and don't see any event log tests
fail.  I would think that would be the same under Windows 8

I also don't see any special folder test cases fail.  It would be
interesting to see if they fail if you run the test suit as administrator.
 Some of the special folders may not be accessible to a normal user under
Windows 8.  Or it may be that they are not accessible in the same way as
they were in XP.  In either of those cases, it is a problem with the test
case, not with ooRexx.

And, with the time test case, you also understand correctly.  Rick and I
are thinking it is not a good test case because its results are not
consistent.

--
Mark Miesfeld
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Testing ooRexx on Windows 8 or 8.1

2013-12-07 Thread Mark Miesfeld
On Sat, Dec 7, 2013 at 2:26 PM, Mark Miesfeld miesf...@gmail.com wrote:

 Hi All,

 This is mostly directed to hex, but anyone who has access to Windows 8 or
 8.1, your generous help would be appreciated.

 ...



 To run the test suite, if you have a working Windows compiler use:

 C:\work.ooRexx\wc\ooTest\ooTest.4.x.rotestOORexx

 i.e., just type testOORexx


I believe you need to use the -B option to force the native API helper
functions to compile.  Use this instead:

C:\work.ooRexx\wc\ooTest\ooTest.4.x.ro http://ootest.4.x.ro/testOORexx -B

--
Mark Miesfeld
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Testing ooRexx on Windows 8 or 8.1

2013-12-07 Thread Mark Miesfeld
.  It is designed for
anyone to use to automate testing of their own Rexx programs.  After you
check out the code you can explore the files in the directory tree.  There
is some documentation and examples on how to write automated tests.

We would just love for ooRexx users to write more automated tests for
ooRexx.  Anyone that can write a simple ooRexx program could write tests
for our test suite.  To get a test started only takes filling out a little
boiler plate code.  If you are at all interested in doing that, just open
up a discussion on this list, I'll gladly give you all the help you need.

However, just running the test suite on Windows 8 is a big help for me.
 Take it a step at a time and as you get familiar with the test suite you
can move on to more advanced use through a series of Q and A on the list
here.

Now, as I was writing the test suite was running and finished.  The end of
the output looks like this:

...
[Framework exception] [20131207 20:15:06.289000]
  Type: Trap Severity: Fatal
  File: C:\work\ooTest\ooRexx\API\oo\RexxStart.testGroup
  Line: 56
  Failed to load the external API package needed for this test group.
  Condition: SYNTAX
Unable to load library orxinvocation
File: C:\work\ooTest\ooRexx\API\oo\INVOCATIONTester.cls
Line: 50
  50 *-* ::method !init PRIVATE EXTERNAL 'LIBRARY orxinvocation init'
 *-* Compiled method LOADPACKAGE with scope Package
  56 *-* .context~package~loadPackage('INVOCATIONTester.cls')
2076 *-* call (file) self~testTypes
2024 *-*   container = self~getContainer(fileName)
  85 *-* containers = finder~seek(testResult)
  79 *-* retCode = 'worker.rex'(arguments)


Interpreter: REXX-ooRexx_4.2.0(MT)_64-bit 6.04 7 Dec 2013
Addressing Mode: 64
ooRexxUnit:  2.0.0_3.2.0ooTest: 1.0.0_4.0.0

*Tests ran:   19627*
*Assertions:  576899*
*Failures:3*
*Errors:  8*
*Skipped files:   4*

File search:00:00:03.054000
Suite construction: 00:00:02.003000
Test execution: 00:05:16.931000
Total time: 00:05:22.227000


C:\work\ooTest

 The stats at the bottom are what I'm interested in seeing for Windows 8.
 You can see above about 20 thousand tests were run with about a half a
million assertions.  3 test failures and 8 errors.  Errors are not problems
found in the interpreter, they mean something in the test framework did not
work as expected.

Above the stats is a bunch of goobly-gook about each error or failure.  In
our example this:

[Framework exception] [20131207 20:15:06.289000]
  Type: Trap Severity: Fatal
  File: C:\work\ooTest\ooRexx\API\oo\RexxStart.testGroup
  Line: 56
  Failed to load the external API package needed for this test group.
  Condition: SYNTAX
Unable to load library orxinvocation
File: C:\work\ooTest\ooRexx\API\oo\INVOCATIONTester.cls
Line: 50
  50 *-* ::method !init PRIVATE EXTERNAL 'LIBRARY orxinvocation init'
 *-* Compiled method LOADPACKAGE with scope Package
  56 *-* .context~package~loadPackage('INVOCATIONTester.cls')
2076 *-* call (file) self~testTypes
2024 *-*   container = self~getContainer(fileName)
  85 *-* containers = finder~seek(testResult)
  79 *-* retCode = 'worker.rex'(arguments)

comes because I didn't tell the test suite to skip the native API, and I
also didn't compile the native API tests.

For yourself to first get started, skip the native API tests by using the
-X exclude flag:

C:\work\ooTesttestOORexx.rex* -X native_api*
Searching for test containers

Just getting to where you can execute the whole test suite is a great first
step.  If the test suite itself seems interesting to you, there is a lot to
explore, as I said, I'll gladly give advice on the list here.

--
Mark Miesfeld
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Associate ooRexx CLI programs with powerShell?

2013-12-03 Thread Mark Miesfeld
On Mon, Dec 2, 2013 at 10:44 PM, J. Leslie Turriff 
jlturr...@centurylink.net wrote:

 Hello Mark,
 Yes, I was hoping that there is a way to tell the interpreter to use
 the
 powerShell instead of the DOS shell; or is that something that's hard-coded
 in the interpreter binary?


Hi Leslie,

I'm not really following what you are getting at.  I never bothered with
PowerShell, maybe that's why I'm not following you.

I gave it a quick try, Rexx programs work pretty much as I would expect.

Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\work.ooRexx cd
PS C:\work.ooRexx
PS C:\work.ooRexx cd .\wc\ooDialog\trunk\examples
PS C:\work.ooRexx\wc\ooDialog\trunk\examples dir


Directory: C:\work.ooRexx\wc\ooDialog\trunk\examples


ModeLastWriteTime Length Name
- -- 
d  6/5/2013   4:52 PMbmp
d 9/13/2013  10:47 AMcontrols
d11/15/2013   8:17 AMexamples
d  6/5/2013   4:53 PMmenus
d  6/5/2013   4:53 PMmouse
d  6/5/2013   4:53 PMoleinfo
d11/22/2013  10:34 AMooRexxTry
d11/20/2013   6:56 AMpropertySheet.tabControls
d 9/11/2013   9:23 PMrc
d 12/1/2013   1:50 PMres
d  6/5/2013   4:53 PMresizableDialogs
d  6/5/2013   4:53 PMsimple
d  6/5/2013   4:53 PMsysinfo
d11/22/2013  10:35 AMtutorial
d  6/5/2013   4:53 PMuserGuide
d  6/5/2013   4:53 PMwav
d  6/5/2013   4:53 PMwinsystem
-a--- 12/2/2013   7:19 PM  10877 AnimalGame.rex
-a---11/18/2013   9:07 AM  12290 calculator.rex
-a---  1/3/2013   9:14 AM   8862 editrex.rex
-a---  1/3/2013   9:15 AM   8633 ftyperex.rex
-a---  1/3/2013   9:15 AM  24779 GUI_Template.rex
-a--- 12/2/2013   7:20 PM  17617 oobandit.rex
-a---11/22/2013  10:53 AM   5927 oobmpvu.rex
-a---11/18/2013   9:38 AM   7734 oodpbar.rex
-a---  1/3/2013   9:15 AM   3368 ooDraw.h
-a---11/18/2013   9:33 AM  27899 oodraw.rex
-a---11/18/2013   9:41 AM  11319 oodStandardDialogs.rex
-a---11/18/2013   9:40 AM  14102 oodStandardRoutines.rex
-a--- 12/2/2013   7:20 PM  10882 oograph.rex
-a--- 7/10/2012   5:38 PM766 oophil.ico
-a---11/18/2013   8:33 AM  17349 oophil.rex
-a--- 12/2/2013   7:21 PM   7144 oovideo.rex
-a---11/18/2013   8:48 AM  11228 oowalk2.rex
-a---11/18/2013   8:59 AM  10287 oowalker.rex
-a---11/18/2013   8:20 AM   6577 sample.rex
-a---11/18/2013   9:16 AM   3802 samplesSetup.rex


PS C:\work.ooRexx\wc\ooDialog\trunk\examples .\AnimalGame.rex

And the AnimalGame.rex example executed as normal.

PS C:\work.ooRexx\wc\ooDialog\trunk\examples vs quick.rex
PS C:\work.ooRexx\wc\ooDialog\trunk\examples quick
quick : The term 'quick' is not recognized as the name of a cmdlet,
function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try

So, the PowerShell takes the rather Unix-like approach of not executing
programs in the current directory.  Try again:

PS C:\work.ooRexx\wc\ooDialog\trunk\examples rexx quick.rex
Hello World!
What is your name?
Mark
Hello Mark!

So, my quick Rexx program runs as expected.

Try again:

PS C:\work.ooRexx\wc\ooDialog\trunk\examples
PS C:\work.ooRexx\wc\ooDialog\trunk\examples
PS C:\work.ooRexx\wc\ooDialog\trunk\examples .\quick
Hello World!
What is your name?
Mark
Hello Mark!
PS C:\work.ooRexx\wc\ooDialog\trunk\examples

So - ooRexx works fine in PowerShell.

--
Mark Miesfeld
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Associate ooRexx CLI programs with powerShell?

2013-12-03 Thread Mark Miesfeld
On Tue, Dec 3, 2013 at 10:34 AM, Chip Davis c...@aviatrexx.com wrote:

 I may be out in left field here, but I think Leslie is asking about
 creating a Windows shortcut that invokes the Powershell instead of the
 Command Prompt shell.

 I'm interested in the answer as well.


Chip,

Maybe ...

To create a short cut is relatively easy.  You want the short cut to be to
the PowerShell executable.

On my Vista system, this is:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

One of the simpler ways to create a short cut is to go to that folder in
Windows Explorer, right click on powershell.exe and choose Send To Desktop.

That puts the short cut on the desktop, where you can edit it to your
preferences.  For instance, as is, it will open the PowerShell window with
the current directory C:\Windows\System32\WindowsPowerShell\v1.0.  I'd
change that to C:\work.ooRexx of course.

You could pin the short cut to the Start Menu, etc..

I see one  thing that doesn't work as I expected.  Take this quick test:

say Hello World!
'Get-Process | Out-File test.txt'

The second line is a valid PowerShell command that writes the output from
the Get-Process cmdlet to the file test.txt.

PS C:\work.ooRexx\wc\ooDialog\trunk\examples .\quick.rex
Hello World!
'Get-Process' is not recognized as an internal or external command,
operable program or batch file.
PS C:\work.ooRexx\wc\ooDialog\trunk\examples

The error message is straight from cmd.exe, so I tried this:

say Hello World!
address 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
'Get-Process | Out-File test.txt'

PS C:\work.ooRexx\wc\ooDialog\trunk\examples .\quick.rex
Hello World!
 4 *-* 'Get-Process | Out-File test.txt'
  Get-Process | Out-File test.txt
   +++   RC(30)
PS C:\work.ooRexx\wc\ooDialog\trunk\examples

PS C:\work.ooRexx\wc\ooDialog\trunk\examples net helpmsg 30

The system cannot read from the specified device.

PS C:\work.ooRexx\wc\ooDialog\trunk\examples

So, I'm not sure if the address command worked and the 30 was returned from
PowerShell, or ...

It might be that we would need to write a specific command handler for
PowerShell.  I'm a little hazy on the details concerning command handlers.

I was hoping that the string: 'Get-Process | Out-File test.txt' would just
get passed the PowerShell environment and it would magically work.  ;-)

The PowerShell command itself is good:

PS C:\work.ooRexx\wc\ooDialog\trunk\examples Get-Process | Out-File
test.txt
PS C:\work.ooRexx\wc\ooDialog\trunk\examples cat .\test.txt

Handles  NPM(K)PM(K)  WS(K) VM(M)   CPU(s) Id ProcessName
---  ---  - -   -- -- ---
 71   8 1160   333642 0.02   1508 armsvc
175  2464092  50020   237 3.14992 chrome
...

--
Mark Miesfeld
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Associate ooRexx CLI programs with powerShell?

2013-12-03 Thread Mark Miesfeld
On Tue, Dec 3, 2013 at 12:08 PM, Rick McGuire object.r...@gmail.com wrote:

 Mark, I'm pretty sure your attempt to change the address environment did
 not work.  I'm not sure if this will work, but the default command handler
 uses the COMSPEC environment variable to obtain the command shell target.
  Whether this works with the powershell depends on whether it supports the
 same option switches that cmd.exe uses (/c is the critical one).


Rick, I never looked at the PowerShell before, so I'll need to research it
a bit more.


  Otherwise, a new handler would need to be implemented.


I'm thinking that is likely.


 Is powershell a standard feature of Windows now?


I think it is standard now in that it gets installed automatically in
Windows 7, maybe Vista.  When it first appeared, you actually had to
install it if you wanted it.


  We might want to consider adding a powershell address environment for a
 future release.


Yeah, that's also what I think.

--
Mark Miesfeld
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Announce: ooDialog 4.2.3 beta now available

2013-12-01 Thread Mark Miesfeld
Installation packages for ooDialog 4.2.3 beta are now available on SourceForge
at:

https://sourceforge.net/projects/oorexx/files/ooDialog/4.2.3%20%28beta%29/

ooDialog 4.2.3 is an enhancement release, with a large number of new
features.  The Release Notes and the ReadMe file that displays on the
SourceForge download page contain a list of the bug fixes, enhancements,
and other changes in 4.2.3.

Users of ooDialog should test the beta and report bugs or other problems
through the ooRexx  SourceForge tracker for bugs:

https://sourceforge.net/p/oorexx/bugs/

Beginning with the release of ooDialog 4.2.0, the installation of ooDialog
has been decoupled from the interpreter.  ooDialog 4.2.3 installs over the
top of any ooRexx installation.  It replaces the version of ooDialog in the
ooRexx installation with ooDialog 4.2.3.

This type of ooDialog installation is called an independent
ooDialog installation to indicate the ooDialog installation is independent
of an ooRexx installation and, to a degree, the version of
 ooRexx installed.

ooDialog 4.2.3 requires a minimum ooRexx version of 4.1.0 to be installed
on the target computer.

Installation is simple, done through a typical Windows installer.  Pick the
installation package that matches the bitness of the ooRexx installation.
 I.e., a 32-bit package for a 32-bit ooRexx and a 64-bit package for a
64-bit ooRexx.  Note that the bitness of the operating system is not
relevant here.  If you have installed a 32-bit ooRexx on a Windows 64-bit
system, you must install a 32-bit ooDialog.

The installer will detect the installed ooRexx, location, and version.  If
the ooRexx version is less than 4.1.0, or if there is no installed ooRexx,
the installer will abort with a message explaining the
problem.  Otherwise the installer will replace the current ooDialog with
ooDialog 4.2.3.

--
Mark Miesfeld for the ooRexx Development Team
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Associate ooRexx CLI programs with powerShell?

2013-12-01 Thread Mark Miesfeld
On Sun, Dec 1, 2013 at 7:50 PM, J. Leslie Turriff jlturr...@centurylink.net
 wrote:

 Is there a way to associate ooRexx with the powerShell as opposed with
 the
 DOS command shell?



That's an interesting question.  I don't know the answer.

And, I'm not 100% sure I understand what you mean.  I'm assuming you mean
something to do with ftype and assoc, which is what allow the interpreter
execute a Rexx program by typing the program file name at the command
prompt?

--
Mark Miesfeld
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Julian date to normal date

2013-11-29 Thread Mark Miesfeld
On Fri, Nov 29, 2013 at 11:17 AM, Staffan Tylen staffan.ty...@gmail.comwrote:


 I'm playing around with the date() function and am trying to convert a
 date in the format yyddd to yymmdd but I can't find a way to handle the yy
 portion of the date. The D option supports the ddd portion but the result
 shows the current year. How can I make yy be part of the calculation?


Hi Staffan,

I'm not much help here, dates are too complex for me.  If I can figure out
today's date, I'm about at my limit.

My first thought though is that the DateTime class may be of more help than
the date() function.

--
Mark Miesfeld
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooRexx Time Offset and Daylight Savings

2013-11-03 Thread Mark Miesfeld
Hi Norbert,

I personally haven't seen this problem.  But we do have this bug open:

https://sourceforge.net/p/oorexx/bugs/582/

Maybe it is similar.

--
Mark Miesfeld



On Sun, Nov 3, 2013 at 9:51 AM, nhoel...@sinet.ca wrote:

 I compiled and installed ooRexx 4.1.1 on a 'plug' computer with an ARM
 processor to run an application that records data values based on a GMT
 timestamp.  The function Time(ticks) returns a value relative to local;
 time (Eastern Time).  As of this morning after the switch to standard,
 everything works as expected:

 say time(offset)-180
 say date()3 Nov 2013
 say time()07:12:26

 However, yesterday on Daylight Savings time, I was getting the same offset:

 say time(offset)-180
 say date()2 Nov 2013
 say time()23:00:11

 At 02:00 this morning, Time(ticks) was adjusted back by the equivalent
 of one hour but Time(offset) was still -5 hours from GMT.

 I was able to recreate the problem on both Debian 6.0 and Ubuntu 9.04.  I
 do not see this problem with ooRexx 4.1.1 running no Windows7.
  Unfortunately, my Intel Linux system failed recently so I cannot verify if
 the problem is Linux or ARM-architecture specific.

 Has anyone else seen this problem?

 Thanks, Norbert

 --
 Android is increasing in popularity, but the open development platform that
 developers love is also attractive to malware creators. Download this white
 paper to learn more about secure code signing practices that can help keep
 Android apps secure.
 http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ListBox Question

2013-10-31 Thread Mark Miesfeld
I have one other comment on this subject.

Why not just use a list view?

Even if ooDialog did have support for the Header control, there is really a
lot of work to manage the Header.  The list view does all that work for you.

Another drawback is that if you did use a Header control with a list box,
the list box doesn't know about the header so the header would obscure some
rows in the list box.  The solution to that is to make the list box owner
drawn.

Owner draw is something you can do in C / C++ code, but it is also a lot of
work.  Being able to do it from ooDialog is problematic in my mind.  And,
again, all the work is done for you in a list view.

--
Mark Miesfeld



On Thu, Oct 31, 2013 at 2:45 AM, Staffan Tylen staffan.ty...@gmail.comwrote:

 Art, I had a similar wish but only to find out (via Mark's usual help)
 that it is not possible (at least not for the moment). So what I did was to
 defined a frame, where I used the upper part of the frame as header area
 and the lower part for the list view. The result looks similar to a list
 view with headers but the limitation is that you can't scroll sideways,
 change the column order, or resize the columns. But with some fiddling I
 managed to get the header area to resize correctly in a resizeable window,
 and this fulfilled my requirement.

 Staffan



 On Thu, Oct 31, 2013 at 1:45 AM, Art Heimsoth artst...@artheimsoth.comwrote:

  On Wed, Oct 30, 2013 at 2:21 PM, Art Heimsoth
  artst...@artheimsoth.com wrote:
 
  How would I go about having something like a Listbox with a header
 
  area?  I am wanting the header portion to stay visible when the
  box is vertically scrolled, and to move right/left when the box is
  scrolled horizontally.
 
 
  Art, I don't really think this is possible with a list box, in
  ooDialog.  There is a Header control that ooDialog doesn't support
  yet.  (I plan to in the future.)
 
 
  The Header control is what a list view uses for the header.  It
  creates the control with itself as the owner, which is what keeps
  the header within the client area of the list view.  The header
  control then sends its notification messages to the list view and
  the list view handles them.
 
 
  When the Header control is added, I still think this would be
  difficult.  We would have to work out the details, but it might be
  doable.
 
 
  --
  Mark Miesfeld

 Gee Mark, I think this is the first time you couldn't come through for
 me !!  Thanks anyway - what I have works (for now...).

 --
  Art Heimsoth - artst...@artheimsoth.com


 --
 Android is increasing in popularity, but the open development platform
 that
 developers love is also attractive to malware creators. Download this
 white
 paper to learn more about secure code signing practices that can help keep
 Android apps secure.

 http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users




 --
 Android is increasing in popularity, but the open development platform that
 developers love is also attractive to malware creators. Download this white
 paper to learn more about secure code signing practices that can help keep
 Android apps secure.
 http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooDialog VS 2012 with SP3, compiled on Win7, running on XP SP3

2013-10-30 Thread Mark Miesfeld
Hi Staffan,


On Wed, Oct 30, 2013 at 8:25 AM, Staffan Tylen staffan.ty...@gmail.comwrote:


 Thanks for the tips, Mark. After a lot of fiddling I've managed to get as
 far as compiling the rexxapi and the interpreter, but then it fails with
 the follow in OREXXOLE:

 ...


 C:\MinGW64\msys\home\Staffan\ooRexx\ooRexx.4.1\extensions\platform\windows\ole\events.cpp(51)
 : fatal error C1083: Cannot open include file: 'agtctl_i.c': No such file
 or directory
  NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual
 Studio 11.0\VC\BIN\cl.EXE' : return code '0x2'
 Stop.

 I've found the missing agtctl_i.c in a MinGW folder so have tried to add
 the following to compile.bat but it doesn't help:


The directory containing agtctl_i.c has to be in the include path, not the
lib path.

But, you are doing this all wrong if you are trying to compile using any
MinGW files.  This finally explains to me all the weird errors you are
always getting when you try to compile.

You need to compile using a Microsoft Visual C++ compiler and a Microsoft
Windows SDK.  Both of which are free if you use the express version of the
compiler.  We don't support MinGW.

You need to set up a build environment that is using only the VC++ and MS
Windows SDK files.  If anything points to MinGW files you are likely to
have problems.

On my system agtctl_i.c is in the include directory of the 7.1 SDK:

 Directory of C:\Tools\Microsoft.SDKs\v7.1\Include

04/19/2010  08:43 PM 3,835 AgtCtl_i.c

If your compile doesn't find it, then your build environment is not set up
correctly.

--
Mark Miesfeld
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooDialog VS 2012 with SP3, compiled on Win7, running on XP SP3

2013-10-30 Thread Mark Miesfeld
Take ooDialog.exe and ooDialog.com and put them in  a temp directory not in
the path.

Doubt that will change anything, but ooDialog.exe should not be in the
listing if it is not loaded and there is no reason for it to be loaded.

--
Mark Miesfeled



On Wed, Oct 30, 2013 at 10:44 AM, Staffan Tylen staffan.ty...@gmail.comwrote:


 No error messages so I guess it should be OK. I now need to determine if
 this has solved my XP issues. Watch this space!


 Bad news, I still get the error but with a different offset:

 AppName: oodialog.exe
 AppVer: 4.2.4.9490
 ModName: rexxapi.dll
 ModVer: 4.1.4.9491
 Offset: 20f1

 I attach an xml file that was generated by the system at the time of the
 error if anybody wants to have a look. This is beyond me ...

 Staffan



 --
 Android is increasing in popularity, but the open development platform that
 developers love is also attractive to malware creators. Download this white
 paper to learn more about secure code signing practices that can help keep
 Android apps secure.
 http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Question on ooSQLite

2013-10-29 Thread Mark Miesfeld
Hi Art,

Staffan knows ooSQLite better than I do, at least as far as what SQLite can
and can not do.  There is no way to know how many rows will be returned
from a SELECT statement without 'stepping' through all the rows and
counting them.

In case Staffan's solution was a little obscure to you, when he says: you
can do a SELECT COUNT(*) ...

I think what he means, and he can correct me if I'm wrong, is to add the
count to your SELECT statement.  Not use 'SELECT COUNT(*);' exactly.  So if
you were going to do for instance:

SELECT * FROM foods where name like 'J%' ORDER BY name COLLATE REVERSE;

Then you would add the COUNT(*) to the select and execute that SQL.  This
would give you the count of rows that would be returned.  Then you would
turn around and execute the SELECT statement without the count to get your
rows.  You just need to realize that you will be executing the SELECT
statement twice.

In my mind this doesn't give you much.  Why not just execute the SELECT
once and see how many items you end up with.  But, it may be a good
solution for what you want.

--
Mark Miesfeld




On Tue, Oct 29, 2013 at 6:11 AM, Art Heimsoth artst...@artheimsoth.comwrote:

 Is there a way to find out the number of rows returned from
 a select statement before checking the stmt~STEP value?  I
 use a common routing to perform all of the Selects where I
 have the stmt~.ooSQLiteStmt~new(database, sql_stmt) and
 check the ~initCode on return.  I would also like to be able
 to check to see how many rows will be returned from the
 subsequent ~STEP statements.

 --
  Art Heimsoth - artst...@artheimsoth.com


 --
 Android is increasing in popularity, but the open development platform that
 developers love is also attractive to malware creators. Download this white
 paper to learn more about secure code signing practices that can help keep
 Android apps secure.
 http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooDialog VS 2012 with SP3, compiled on Win7, running on XP SP3

2013-10-29 Thread Mark Miesfeld
It's hard to say Staffan.

What happens if you leave ooDialog.exe out of the picture?  Just run an
ooDialog program through rexx.exe.  For example, go to the the examples
directory and:

rexx.exe animalGame.rex

--
Mark Miesfed


On Tue, Oct 29, 2013 at 10:48 AM, Staffan Tylen staffan.ty...@gmail.comwrote:

 After a lot of research (and swearing) I've managed to compile ooDialog
 and ooSQLite using VS 2012 with SP3 installed to support XP as target
 system. The compiles run with no apparent problems. And the resulting load
 modules run as expected on my Win7 system. But when I try it all on my
 older XP system it fails with the following:

 AppName ooDialog.exe
 AppVer: 4.2.4.9490
 ModName: rexxapi.dll
 ModVer: 4.1.3.9341
 Offset: 1efa

 ooRexx is not preinstalled on my XP system so I carry over all of the
 following from the Win7 system to the XP system together with my app:

 orexxole.dll
 rexx.dll
 rexx.exe
 rexx.img
 rexxapi.dll
 rexxutil.dll
 rxapi.exe
 rxwinsys.dll
 ooDialog.cls
 ooDialog.com
 oodialog.dll
 ooDialog.exe
 oodPlain.cls
 oodWin32.cls
 ooSQLite.cls
 oosqlite.dll
 ooSQLite3.exe

 Doing the same to another Win7 system without a preinstalled ooRexx works
 fine. So there seems to be some sort of incompatibility introduced between
 ooDialog and ooRexx that has been caused by the new compile.

 To activate the XP support in VS 2012 with SP3 I had to add the following
 before running the vcvarsall.bat:

 @set INCLUDE=%ProgramFiles(x86)%\Microsoft
 SDKs\Windows\7.1A\Include;%INCLUDE%
 @set PATH=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Bin;%PATH%
 @set LIB=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Lib;%LIB%
 @set CL=/D_USING_V110_SDK71_;%CL%
 @set LINK=/SUBSYSTEM:CONSOLE,5.01 %LINK%
 @C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat

 I suspect CL= and/or LINK= is causing this but I'm unable to say why. And
 btw, all of the above is 32-bit.

 A helpful hand is appreciated.

 Staffan





 --
 Android is increasing in popularity, but the open development platform that
 developers love is also attractive to malware creators. Download this white
 paper to learn more about secure code signing practices that can help keep
 Android apps secure.
 http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooDialog VS 2012 with SP3, compiled on Win7, running on XP SP3

2013-10-29 Thread Mark Miesfeld
Staffan,

You most likely need to build ooRexx with the same procedure as you built
ooDialog and ooSQLite to have a chance for it to work.

Who knows what:  @set CL=/D_USING_V110_SDK71_;%CL%

causes the compiler and linker to do.  Using the ooRexx binaries built by
an older compiler version, on the face of it, seems likely to fail.

--
Mark Miesfeld




On Tue, Oct 29, 2013 at 11:10 AM, Mark Miesfeld miesf...@gmail.com wrote:

 It's hard to say Staffan.

 What happens if you leave ooDialog.exe out of the picture?  Just run an
 ooDialog program through rexx.exe.  For example, go to the the examples
 directory and:

 rexx.exe animalGame.rex

 --
 Mark Miesfed


 On Tue, Oct 29, 2013 at 10:48 AM, Staffan Tylen 
 staffan.ty...@gmail.comwrote:

 After a lot of research (and swearing) I've managed to compile ooDialog
 and ooSQLite using VS 2012 with SP3 installed to support XP as target
 system. The compiles run with no apparent problems. And the resulting load
 modules run as expected on my Win7 system. But when I try it all on my
 older XP system it fails with the following:

 AppName ooDialog.exe
 AppVer: 4.2.4.9490
 ModName: rexxapi.dll
 ModVer: 4.1.3.9341
 Offset: 1efa

 ooRexx is not preinstalled on my XP system so I carry over all of the
 following from the Win7 system to the XP system together with my app:

 orexxole.dll
 rexx.dll
 rexx.exe
 rexx.img
 rexxapi.dll
 rexxutil.dll
 rxapi.exe
 rxwinsys.dll
 ooDialog.cls
 ooDialog.com
 oodialog.dll
 ooDialog.exe
 oodPlain.cls
 oodWin32.cls
 ooSQLite.cls
 oosqlite.dll
 ooSQLite3.exe

 Doing the same to another Win7 system without a preinstalled ooRexx works
 fine. So there seems to be some sort of incompatibility introduced between
 ooDialog and ooRexx that has been caused by the new compile.

 To activate the XP support in VS 2012 with SP3 I had to add the following
 before running the vcvarsall.bat:

 @set INCLUDE=%ProgramFiles(x86)%\Microsoft
 SDKs\Windows\7.1A\Include;%INCLUDE%
 @set PATH=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Bin;%PATH%
 @set LIB=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Lib;%LIB%
 @set CL=/D_USING_V110_SDK71_;%CL%
 @set LINK=/SUBSYSTEM:CONSOLE,5.01 %LINK%
 @C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat

 I suspect CL= and/or LINK= is causing this but I'm unable to say why. And
 btw, all of the above is 32-bit.

 A helpful hand is appreciated.

 Staffan





 --
 Android is increasing in popularity, but the open development platform
 that
 developers love is also attractive to malware creators. Download this
 white
 paper to learn more about secure code signing practices that can help keep
 Android apps secure.

 http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users



--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooDialog VS 2012 with SP3, compiled on Win7, running on XP SP3

2013-10-29 Thread Mark Miesfeld
On Tue, Oct 29, 2013 at 12:56 PM, Staffan Tylen staffan.ty...@gmail.comwrote:


 Mark, I tried running rexx.exe directly against a rexx program but it
 failed in the same way. Actually ooDialog.exe is not used by the app so it
 shouldn't have been on the list in the first place.

 Long time ago I tried to compile ooRexx on my own but got so many problems
 that I gave up. And I haven't tried since. But maybe it's time for a new
 attempt. I will have a go but may need guidelines on the way as I've
 understood it's a different beast than the rest.


It's not really different than what you have been doing.  It just uses a
.bat to drive the make, rather than a traditional make file.

If I were you, I would use the 4.1 fixes branch:

https://svn.code.sf.net/p/oorexx/code-0/main/branches/4.1/trunk

* Set up your compile environment just like you do to compile ooDialog.

* Set 2 environment variables

set SRC_DRV=C:
set SRC_DIR=\work.ooRexx\wc\main.4.1.fixes

SRC_DRV is the drive letter.  SRC_DIR is the top-level directory of the
source code tree.

* Populate the doc directory with the docs or fake files.  You only need to
do this if you want to try and create the installer package.  You could
just skip it and take the built binaries and use them

Then cd to the top level directory of your ooRexx source code tree and run:

makeorx NODEBUG

The windows-build.txt file is reasonably up to date.  I'd read that for
details and then ask questions if you need to.

--
Mark Miesfeld
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem with ListView and ComboBox

2013-10-25 Thread Mark Miesfeld
On Fri, Oct 25, 2013 at 7:18 AM, Art Heimsoth artst...@artheimsoth.comwrote:


  Let me know if it works for you unchanged.  The we can go from
  there.

 I get an Error popup with the text:
 Error reading resource file: D:\Dropbox\RexxFescue\importList.rc (
 CONTROL,IDC_EDIT, WC_EDIT, NOT WS_VISIBLE | NOT
 WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL, 55, 296, 40, 12)


Sorry.



 Could it be that I am running a different version of the C++ support
 libraries?



No, there are some CONTROL statements that the rc parser doesn't / didn't
handle.  I fix them as I run across them.  But, some of the fixes are in
4.2.4.

Use the attached .rc file instead of the one I sent.

--
Mark Miesfeld
// Generated by ResEdit 1.5.11
// Copyright (C) 2006-2012
// http://www.resedit.net

#include windows.h
#include commctrl.h
#include importList.h




//
// Menu resources
//
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDM_MENUBAR MENUEX
{
POPUP File, 0, 0, 0
{
MENUITEM Reset Directory, IDM_RESET_DIRECORY, 0, 0
MENUITEM Import Current, IDM_IMPORT_CURRENT, 0, 0
MENUITEM Exit, IDOK, 0, 0
}
}



//
// Dialog resources
//
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_IMPORTER DIALOG 40, 60, 412, 320
STYLE DS_MODALFRAME | DS_SETFONT | WS_CAPTION | WS_GROUP | WS_MAXIMIZEBOX | 
WS_POPUP | WS_SYSMENU
CAPTION Import File Manager - Preview Verison 1.00.04
FONT 9, Tahoma
{
CONTROL Review Import File Options, change if necessary, then 
click Import to import and continue working, Ok to import and quit, Cancel to 
abort., IDC_HEADER, WC_STATIC, NOT WS_GROUP | SS_LEFT, 10, 10, 392, 19
CONTROL , IDC_LV, WC_LISTVIEW, WS_TABSTOP | WS_BORDER | 
LVS_SHOWSELALWAYS | LVS_REPORT, 10, 34, 392, 250
COMBOBOXIDC_CB, 10, 296, 40, 12, NOT WS_VISIBLE | WS_TABSTOP | 
CBS_DROPDOWNLIST
EDITTEXTIDC_EDIT, 55, 296, 40, 12, NOT WS_VISIBLE | NOT WS_BORDER | 
NOT WS_TABSTOP |ES_AUTOHSCROLL
CONTROL Import, IDC_PB_IMPORT, WC_BUTTON, WS_TABSTOP | 
BS_DEFPUSHBUTTON | BS_CENTER | BS_VCENTER, 245, 296, 50, 14
CONTROL OK, IDOK, WC_BUTTON, WS_TABSTOP | BS_DEFPUSHBUTTON | 
BS_CENTER | BS_VCENTER, 300, 296, 50, 14
CONTROL Cancel, IDCANCEL, WC_BUTTON, WS_TABSTOP | BS_PUSHBUTTON | 
BS_CENTER | BS_VCENTER, 352, 296, 50, 14
}
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem with ListView and ComboBox

2013-10-25 Thread Mark Miesfeld
On Fri, Oct 25, 2013 at 11:49 AM, Art Heimsoth artst...@artheimsoth.comwrote:
  On Fri, Oct 25, 2013 at 7:18 AM, Art Heimsoth

  artst...@artheimsoth.com wrote:

 That sample works just as I had wanted.  I will look at the code
 later and migrate it to my application and let you know if I have
 any questions or problems.  Thanks again for your persistence
 in helping me - I really appreciate it.


That's good to know Art, thanks.  I would have been both disappointed and
confused if it hadn't.  ;-)

I have one other question that I need an explicit answer to.

As I said, I'm not completely finished with the example. But I would like
to include it with the ooDialog distribution.  Since it is based off of
your original work, do you agree to my including it, under the terms of the
CPL?

You can review the final version before I actually commit it to the
repository.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem with ListView and ComboBox

2013-10-24 Thread Mark Miesfeld
On Wed, Oct 23, 2013 at 7:21 PM, Mark Miesfeld miesf...@gmail.com wrote:

 On Wed, Oct 23, 2013 at 6:24 PM, Art Heimsoth artst...@artheimsoth.comwrote:


 It appears to work much, much better - thanks.  A problem that it
 has for me is if I TAB out of the ComboBox, the program seems to
 lock up in that Ok, Cancel, x abort, mouse clicks - nothing seems
 to respond.



 Hmm, I don't see that at all.  I click on an item in column 0, select say
 Skip, use tab, Skip is set in the list-view and I'm on the Ok button.

 Well maybe not, I guess the keyboard doesn't work, but the mouse works
 fine.  I didn't notice because I was using clicking on something with the
 mouse next.  Then the keyboard works.


Hi Art,

I tested this using ooRexx 4.1.3 and ooDialog 4.2.3 this morning:

C:\Rexxrexx -v
Open Object Rexx Version 4.1.3
Build date: Jul  4 2013
Addressing Mode: 64

Copyright (c) IBM Corporation 1995, 2004.
Copyright (c) RexxLA 2005-2012.
All Rights Reserved.
This program and the accompanying materials are made available under
the terms of the Common Public License v1.0 which accompanies this
distribution or at
http://www.oorexx.org/license.html

C:\Rexxoodialog --version

ooDialog: ooDialog Version 4.2.3.9254 (64 bit)
  Built May 27 2013 13:39:31
  Copyright (c) RexxLA 2005-2013.
  All Rights Reserved.

Rexx: Open Object Rexx Version 4.1.3


C:\Rexx

Everything seems to work fine.  I am on Windows 7, not XP.

I did change the isGrandChild() invocation to this:

  IMP.CBox~isGrandchild(onEditGrandChildEvent)

That change cleared up the keyboard problem for me.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem with ListView and ComboBox

2013-10-24 Thread Mark Miesfeld
On Thu, Oct 24, 2013 at 12:44 PM, Art Heimsoth artst...@artheimsoth.comwrote:



 Ok, I haven't been able to work on this at all today, maybe later
 tonight will have some time to upgrade to 4.2.3 of ooDialog to
 see if that makes a difference.  I will keep the list posted.


What ooDialog are you using?  I was under the impression that you were
using the 4.2.3 preview to get the new OpenFileDialog.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem with ListView and ComboBox

2013-10-23 Thread Mark Miesfeld
On Wed, Oct 23, 2013 at 6:45 PM, Art Heimsoth artst...@artheimsoth.comwrote:


 Sorry to be such a bother here, but I just found another problem for
 me.  The selected values from the ComboBox are not returned to the
 ListView.  If I select an entry, and then mouse click another column
 or click Ok, the value in the ListView still has the original value that
 was initially loaded.


I don't see that at all.  The value I select in the combo box is always put
into the list vies.



 If I escape out of the ComboBox, it appears the
 Cancel button is activated as the program ends.


Not for me.  I select Replace in the combo box, hit escape, the combo box
disappears, Import appears as the item label, and I'm still in the dialog.
 If I hit escape again, the dialog closes as expected.

 Maybe I need to
 think of another approach to what I was trying to do here and not
 use the ComboBox ?


I hate to have you give up.  It is a pretty good user interface I think.
 In fact, I was thinking of updating the example program to use your
interface.

It definitely does work correctly.  Did you change your .rc file?

The other thing I just realized is I am using ooDialog. 4.2.4.  I did a lot
of code refactoring in the event subsystem.  I'll have to test with 4.2.3
tomorrow.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem with ListView and ComboBox

2013-10-23 Thread Mark Miesfeld
On Wed, Oct 23, 2013 at 6:24 PM, Art Heimsoth artst...@artheimsoth.comwrote:


 It appears to work much, much better - thanks.  A problem that it
 has for me is if I TAB out of the ComboBox, the program seems to
 lock up in that Ok, Cancel, x abort, mouse clicks - nothing seems
 to respond.



Hmm, I don't see that at all.  I click on an item in column 0, select say
Skip, use tab, Skip is set in the list-view and I'm on the Ok button.

Well maybe not, I guess the keyboard doesn't work, but the mouse works
fine.  I didn't notice because I was using clicking on something with the
mouse next.  Then the keyboard works.

I'll think about it.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Problem with ListView and ComboBox

2013-10-23 Thread Mark Miesfeld
On Wed, Oct 23, 2013 at 7:21 PM, Mark Miesfeld miesf...@gmail.com wrote:

 On Wed, Oct 23, 2013 at 6:24 PM, Art Heimsoth artst...@artheimsoth.comwrote:


 It appears to work much, much better - thanks.  A problem that it
 has for me is if I TAB out of the ComboBox, the program seems to
 lock up in that Ok, Cancel, x abort, mouse clicks - nothing seems
 to respond.


I would suggest doing this:

  IMP.CBox~isGrandchild(onEditGrandChildEvent)
  --IMP.CBox~isGrandchild(onEditGrandChildEvent, .true) -- capture all
events

When I made that change, tab works perfectly for me.  I tab out of the
combo box and the Ok button has the focus.  My combo box selection is the
text for the item.

Capturing the Tab key is only useful if you actually process it.  Since you
are not processing it, I wouldn't capture it.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Passing initial parm to ooRexx Dialog

2013-10-13 Thread Mark Miesfeld
On Sun, Oct 13, 2013 at 7:45 PM, Mark Miesfeld miesf...@gmail.com wrote:

I didn't proof read this well enough.  My second approach should have the
init() method totally removed.


 I usually take the second approach and would do something like this:


 /* Simple RcDialog template */
 use arg cmdLine

   if cmdLine~words  2 then do
 say 'Syntax: somePrg param1 param2'
 return 99
   end

   param1 = cmdLine~word(1)
   param2 = cmdLine~word(2)

   dlg = .SimpleRcDlg~new(simple.rc, IDD_SIMPLE_DLG, , simple.h)
   dlg~setArgs(param1, param2)

   dlg~execute(SHOWTOP, IDI_DLG_OOREXX)

 return 0
 -- End of entry point.

 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - -*\
   Directives, Classes, or Routines.
 \* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - -*/
 ::requires ooDialog.cls

 ::class 'SimpleRcDlg' subclass RcDialog

 ::attribute param1
 ::attribute param2

 *::method init*
 *  use arg rcFile, id, dlgData., hFile, param1, param2*
 *
 *
 *  self~init:super(rcFile, id, , hFile)*
 *
 *
 ::method setArgs
   use strict arg p1, p2
   self~param1 = p1
   self~parma2 = p2

 ::method initDialog

   if self~param1 == 'cat' then do
 -- do something
   end

   -- use param2 for something ...



Remove the part in red altogether.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Using ListView with Edit Controls

2013-10-08 Thread Mark Miesfeld
On Tue, Oct 8, 2013 at 9:13 AM, Art Heimsoth artst...@artheimsoth.comwrote:

 I am trying to start to use the Edit Controls on a ListView but cannot
 even get the base columns and headings to work.


Hi Art,

When you create your own .rc file you have to use the proper format.  In
your list-view definition in the .rc file you have:

, REPORT SHOWSELALWAYS

That is the format if you used an UserDialog.  In a .rc file it has to be:

, LVS_REPORT | LVS_SHOWSELALWAYS

With that change in your test, when I click on the Ok button, the column
headers appear.

Once you have that corrected you should be able to go on using the example,
I think.  If you get stuck again then just ask the next question.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Using ListView with Edit Controls

2013-10-08 Thread Mark Miesfeld
On Tue, Oct 8, 2013 at 11:40 AM, Art Heimsoth artst...@artheimsoth.comwrote:

  That is the format if you used an UserDialog.  In a .rc file it has
  to be:
 
 
  , LVS_REPORT | LVS_SHOWSELALWAYS

 Thanks Mark, that works..  Is there somewhere where I should have
 been able to find those options?


Well, normally a resource editor knows the proper symbols and puts them in
for you.  If you want to hand edit a .rc file then everything is documented
in the MSDN library.

The trick of course is finding it.  :-)

For this, I would use this term in Google:  ListView  control msdn

When I tried that, the second item was:

About *List-View Controls* (Windows) - *MSDN* -
Microsofthttp://msdn.microsoft.com/en-us/library/windows/desktop/bb774735(v=vs.85).aspx

Clicking on that link leads to a page which about 1/2 way done has a link

Specified by the
*LVS_ICON*http://msdn.microsoft.com/en-us/library/windows/desktop/bb774739(v=vs.85).aspx#LVS_ICON
window
style

The LVS_ICON link leads you to the page that lists all list-view style
constants.

Once you get to the MSDN library, there is sort of like a table of contents
on the left and you can use that to navigate to other parts of the library.

After you use the library for a while, you learn that every dialog control
has its own section.  Each section has an over-view and a reference.  The
reference section always lists the controls styles under 'constants'.

So you can look up a month calendar windows styles and see that one of them
is: *MCS_DAYSTATE*
*
*
--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Connecting events in a UserDialog

2013-10-06 Thread Mark Miesfeld
Okay, good.

--
Mark Miesfeld


On Sun, Oct 6, 2013 at 9:09 AM, Oliver Sims 
oliver.s...@simsassociates.co.uk wrote:

 **
 I downloaded the latest ooDialog 4.2.3.3939 and re-ran the test. It worked
 fine with the connects in either defineDialog or initDialog.
 I was using build 9254 when it seemed not to work.
 That'll larn me...

 --
 Oliver Sims


  --
 *From:* Mark Miesfeld [mailto:miesf...@gmail.com]
 *Sent:* 05 October 2013 17:38
 *To:* Open Object Rexx Users
 *Subject:* Re: [Oorexx-users] Connecting events in a UserDialog


  On Sat, Oct 5, 2013 at 5:47 AM, Oliver Sims 
 oliver.s...@simsassociates.co.uk wrote:


  I have a dialog sublcassed from UserDialog, and it seems that a
 connectListViewEvent(...) must be issued in the defineDialog method, and
 not in initDialog. If I issue the connect in initDialog, it doesn't work.
 Is this a general rule - that for a UserDialog all connectevents (as well
 as creates) should be done in the defineDialog method?


 Hi Oliver,

 No, it's not a general rule.  There are a few cases where the window
 handle of the control is needed for the connection.  In those cases, the
 connection needs to be done in initDialog() and doesn't work if you do it
 in defineDialog().  But there are only a few of those cases.

 The IBM docs mostly forgot to mention that.  But, in recent docs, all of
 the cases should be documented.

 Your case, the reverse of that, should work.  Can your post your code for
 the connection so I can take a look at it?

 --
 Mark Miesfedl


 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
 from
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooSQlite compile errors

2013-09-29 Thread Mark Miesfeld
On Sun, Sep 29, 2013 at 3:32 PM, Staffan Tylen staffan.ty...@gmail.comwrote:



 BUT, now something else happens:
 ...
 sqlite3.obj : error LNK2019: unresolved external symbol 
 *_sqlite3_key_v2*referenced in function _sqlite3Pragma


I don't remember exactly how that encrypted stuff works, but I think that
function implementation needs to be in the 'extra' code you bring in.

It should be in codecext.c.  But it is not in the version I have from some
time ago.  So, I'm assuming because of the _v2 it is new.  You would need
to find the implementation of it.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooSQlite compile errors

2013-09-29 Thread Mark Miesfeld
It looks to me like, when we fooled around with this before, SQLite
used sqlite3_key() and rekey.  Now in the latest SQLite code they have
changed to use sqlite3_key_v2()

You would need to find an updated codecext.c that has an implementation for
the _v2 functions.

--
Mark Miesfeld



On Sun, Sep 29, 2013 at 4:35 PM, Mark Miesfeld miesf...@gmail.com wrote:

 On Sun, Sep 29, 2013 at 3:32 PM, Staffan Tylen staffan.ty...@gmail.comwrote:



 BUT, now something else happens:
 ...
 sqlite3.obj : error LNK2019: unresolved external symbol 
 *_sqlite3_key_v2*referenced in function _sqlite3Pragma


 I don't remember exactly how that encrypted stuff works, but I think that
 function implementation needs to be in the 'extra' code you bring in.

 It should be in codecext.c.  But it is not in the version I have from some
 time ago.  So, I'm assuming because of the _v2 it is new.  You would need
 to find the implementation of it.

 --
 Mark Miesfeld

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooSQlite compile errors

2013-09-25 Thread Mark Miesfeld
On Wed, Sep 25, 2013 at 2:56 AM, Staffan Tylen staffan.ty...@gmail.comwrote:

 Mark, here is the output.

 ooSQLite.cpp
 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\memory(7) :
 fatal error C1083: Cannot open include file: 'stdint.h': No such file or di
 rectory
 NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual
 Studio 11.0\VC\BIN\cl.EXE' : return code '0x2'
 Stop.

 There exists a file called memory (in addition to memory.h) that contains
 the following lines at top:

 // memory standard header
 #pragma once
 #ifndef _MEMORY_
 #define _MEMORY_
 #ifndef RC_INVOKED
 #include xmemory
 #include stdint.h /* for uintptr_t */


Well, that explains why I don't see any problems.  The Visual Studio 10
headers don't include stdint.h there.

I don't have time to work on a real solution until, maybe, this weekend.

If you just want to compile you can try this

In the ooSQLite make file add this define: _STDINT  I would just add it to
this line:

BASEFLAGS = $(WARNINGFLAGS) $(VERDEFS) $(EXTRAINCLUDE) $(SQLITEFLAGS)

make it:

BASEFLAGS = $(WARNINGFLAGS) $(VERDEFS) $(EXTRAINCLUDE) $(SQLITEFLAGS)
/D_STDINT

I think that will work.

If it doesn't and you don't mind making a temporary change to one of the
ooRexx header files you could try this:

In rexxapitypes.h on line 67 change this:

typedef char int8_t;

to this:

typedef signed char int8_t;

You will still see the warnings, but it should eliminate the error that
stops the build.

You can find rexxapitypes.h in the api subdirectory of your ooRexx install

 Directory of C:\rexx\ooRexx\api

09/17/2013  07:51 AMDIR  .
09/17/2013  07:51 AMDIR  ..
05/18/2013  08:44 PM   153,716 oorexxapi.h
07/10/2012  12:36 PM42,572 oorexxerrors.h
02/25/2010  02:19 PM40,334 rexx.h
09/17/2013  07:48 AM 5,104 rexx.lib
09/17/2013  07:45 AM 9,544 rexxapi.lib
02/25/2010  02:19 PM15,581 rexxapidefs.h
02/25/2010  02:19 PM 4,726 rexxapitypes.h
02/25/2010  02:19 PM 3,741 rexxplatformapis.h
02/25/2010  02:19 PM 3,271 rexxplatformdefs.h


If neither works, then you'll probably have to wait until I have time to
address the issue.  Which I'll have to do sooner or later because I'll want
to move on from Visual Studio 2010.

--
Mark Miesfeld
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooSQlite compile errors

2013-09-25 Thread Mark Miesfeld
Okay.

--
Mark Miesfeld


On Wed, Sep 25, 2013 at 8:29 AM, Staffan Tylen staffan.ty...@gmail.comwrote:

 Thanks Mark. As I'm in no rush at all with this I prefer to wait for an
 official solution to this.

 Staffan



 On Wed, Sep 25, 2013 at 5:12 PM, Mark Miesfeld miesf...@gmail.com wrote:

 On Wed, Sep 25, 2013 at 2:56 AM, Staffan Tylen 
 staffan.ty...@gmail.comwrote:

 Mark, here is the output.

 ooSQLite.cpp
 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\memory(7)
 : fatal error C1083: Cannot open include file: 'stdint.h': No such file or
 di
 rectory
 NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual
 Studio 11.0\VC\BIN\cl.EXE' : return code '0x2'
 Stop.

 There exists a file called memory (in addition to memory.h) that
 contains the following lines at top:

 // memory standard header
 #pragma once
 #ifndef _MEMORY_
 #define _MEMORY_
 #ifndef RC_INVOKED
 #include xmemory
 #include stdint.h /* for uintptr_t */


 Well, that explains why I don't see any problems.  The Visual Studio 10
 headers don't include stdint.h there.

 I don't have time to work on a real solution until, maybe, this weekend.

 If you just want to compile you can try this

 In the ooSQLite make file add this define: _STDINT  I would just add it
 to this line:

 BASEFLAGS = $(WARNINGFLAGS) $(VERDEFS) $(EXTRAINCLUDE) $(SQLITEFLAGS)

 make it:

 BASEFLAGS = $(WARNINGFLAGS) $(VERDEFS) $(EXTRAINCLUDE) $(SQLITEFLAGS)
 /D_STDINT

 I think that will work.

  If it doesn't and you don't mind making a temporary change to one of the
 ooRexx header files you could try this:

 In rexxapitypes.h on line 67 change this:

 typedef char int8_t;

 to this:

 typedef signed char int8_t;

 You will still see the warnings, but it should eliminate the error that
 stops the build.

 You can find rexxapitypes.h in the api subdirectory of your ooRexx install

  Directory of C:\rexx\ooRexx\api

 09/17/2013  07:51 AMDIR  .
 09/17/2013  07:51 AMDIR  ..
 05/18/2013  08:44 PM   153,716 oorexxapi.h
 07/10/2012  12:36 PM42,572 oorexxerrors.h
 02/25/2010  02:19 PM40,334 rexx.h
 09/17/2013  07:48 AM 5,104 rexx.lib
 09/17/2013  07:45 AM 9,544 rexxapi.lib
 02/25/2010  02:19 PM15,581 rexxapidefs.h
 02/25/2010  02:19 PM 4,726 rexxapitypes.h
 02/25/2010  02:19 PM 3,741 rexxplatformapis.h
 02/25/2010  02:19 PM 3,271 rexxplatformdefs.h


 If neither works, then you'll probably have to wait until I have time to
 address the issue.  Which I'll have to do sooner or later because I'll want
 to move on from Visual Studio 2010.

 --
 Mark Miesfeld


 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
 from
 the latest Intel processors and coprocessors. See abstracts and register 

 http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users




 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
 from
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] ooSQLite level detection

2013-09-10 Thread Mark Miesfeld
On Tue, Sep 10, 2013 at 9:32 AM, Art Heimsoth artst...@artheimsoth.comwrote:


 I use the nsis installer to build and support my package.  I also
 use ooSQLite in the package and prior to the last release of ooSQLite,
 I simply copied the needed files to the appropriate folder.  That will
 still work, but I would like to add detection to my installer such
 that I would only install the ooSQLite modules if there is a later
 version or if it was not originally installed on the target system.
 For ooRexx and ooDialog, I use the system environment area in
 combination with a simple rexx command to collect the level of
 each component and then only install them if the ones in the release
 are a later level.  Is this, or a similar method available with the
 ooSQLite release?  All I would need would be a capability to
 detect if it is installed via Rexx and if so, return the level of
 the installed package.  Thanks for any suggestions.


Hi Art,

I'm not sure if I completely understand your requirements for ooSQLite or
not, but it is similar to ooDialog in that it has a version command that
will tell you the level of the installed ooSQLite.  In the examples under
examples\version there is version.rex that shows the different version
formats.

Here is one line from that file:

  say 'ooSQLite version (compact):' .ooSQLite~version('C')

The output is:

ooSQLite version (compact): 1.0.0.9416

on my system today.  The compact version is always going to be
incrementally bigger for each build.

The one difference between ooSQLite and ooDialog, currently, is that if
ooRexx is installed, there is always some version of ooDialog installed.
 That's not true for ooSQLite

The latest version of ooSQLite, on Windows, has a Windows installer that
installs ooSQLite to the ooRexx installation directory.

I'm not sure how you detect that ooRexx is installed.  But, if ooSQlite is
installed using the Windows installer, you could detect it this way in
pseudo code:

if ooRexx installed then do
if file ooSQLite.dll exists in ooRexx installation directory then do
  run ooSQLite version command
  parse output for version
end
end

If ooSQlite is installed using the .zip file then the user could have
installed it anywhere.  You could use a similar process as above. NSIS
might have a way to see if a file exists in the path.  If so you could see
if ooSQLite.dll exists.  If not you could do something like:

if ooRexx installed then do
  run Rexx command to test for ooSQLite
  parse output for version
end

In this last case you need a Rexx program that uses loadPackage() to load
ooSQLite.cls and traps an error.  If you do get an error, then ooSQLite is
not installed.  If you don't get any error, it is installed and then you
can go ahead and run you ooSQLite version command to get the installed
version.

Here is some code from the test suite (ooTest) that should give you an idea
on how to do that

  signal on any name loadErr
  .context~package~loadPackage('WinUtils.cls')
  return

loadErr:
  err = .ExceptionData~new(timeStamp(), s, .ExceptionData~TRAP)
  err~setLine(sigl)
  err~conditionObject = condition('O')
  err~msg = Could not load 'WinUtils.cls' the package needed for this test
group.
  err~severity = Unrecoverable

  testResult~addException(err)
  testResult~stop
  return

So, for ooSQLite, in pseudo code again, you would do something

  signal on any name loadErr
  .context~package~loadPackage('ooSQLite.cls')
  -- Okay we have ooSQLite
  ver = .ooSQLite~version('C')
  compare ver to what you need
  -- do whatever

  return

loadErr:
  -- Okay no ooSQLite on this machine,
  -- or it is not installed correctly
  do whatever
  return

In this scenario, you could not be sure that ooSQLite is not installed, you
could just know that ooSQLite.cls is not in the default path.  A user
could, for instance, have it installed somewhere and use a batch file to
add it to the path when they go to work with it.  Not likely for a typical
user, but I often do that.

Let me know if you need more help on this topic.

By the way, the ooSQLite Windows installer writes some stuff to the
registry.  In your NSIS installer, you could read those registry values to
see if they exist to test if ooSQLite is installed.  This would only work
if it is a recent install of ooSQLite though.

--
Mark Miesfeld
--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] ooDialog 4.2.3 (preview) now on SourceForge

2013-08-28 Thread Mark Miesfeld
Hi All,

I've created installation packages for the current state of ooDialog 4.2.3
and put them on SourceForge.

The 4.2.3 code is essentially feature complete, making the packages on
SourceForge essentially what will be the beta for 4.2.3.  All that is
missing is the complete documentation for the new features.

Please go ahead and open up bug reports for any problems you find as though
it were a beta.  The official beta period will probably start at the end of
September.

--
Mark Miesfeld
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] ooSQLite updated to use the SQLite 3.8.0 engine

2013-08-28 Thread Mark Miesfeld
Hi All,

Those of you interested in ooSQLite may know that SQLite 3.8.0 was released
several days ago.

ooSQLite has been updated to use SQLite 3.8.0 and access to any new
features in 3.8.0 has been completed.

Installation packages for the current code base of ooSQLite have been
uploaded to SourceForge.

For Windows, I have created a standard Windows installer program.  The
installer will integrate ooSQLite with your ooRexx installation.  It also
provides an un-installer for ooSQLite.

Bug reports are welcome.

--
Mark Miesfeld
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] How to read/write variables in the ooRexx variable pool from a Python program?

2013-08-27 Thread Mark Miesfeld
On Tue, Aug 27, 2013 at 7:39 AM, bob gailer bgai...@gmail.com wrote:

 I plan to run a Python program from an ooRexx exec.

 I want the Python program to read/write variables in the ooRexx variable
 pool.

 How do I do that? Keep in mind that Python is interpreted rather than
 compiled.


I can't think of any easy way to do that.  Maybe Rick knows of something
clever.

It seems to me it is basically an inter-process communication (IPC)
problem.  You have the ooRexx interpreter running in one process and the
Python interpreter running in a second process.

You could use sockets to communicate between the two process.  Devise your
own protocol to pass the name - value pairs for variables back and forth.
 You should be able to use the socket support in both ooRexx and Python to
do that.

You could also use shared memory.  I think you would need to write a native
extension in ooRexx and maybe in Python to set up and use the shared
memory.  I know the native extension in ooRexx is doable and I'm sure it is
doable in Python.

Or use any other means of IPC available on the OS you ae running under.

Typically, when you start another executable in ooRexx the interpreter will
be waiting for that executable to end.  You would need to have a second
thread in ooRexx to service the IPC.

--
Mark Miesfeld
--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] unGuarded vs Guarded

2013-08-18 Thread Mark Miesfeld
.  Try to close the dialog by pushing ok or cancel,
you won't be able to.  The more times you push the buttons or try to close
the dialog, the longer it will be before the program finally ends.

What happens is:  you push the 'Push Me Now' button, the guarded
buttonClick1() method starts executing.  You push the 'Push Me Now Also'
button, the guarded buttonClick2() is invoked, but can not run until all
other guarded methods are not running.

You, the user, get exasperated and push the cancel button.  The guarded
cancel() method is invoked by the framework - but it can not run until all
other guarded methods are not running.

At this point, the dialog is not going to end for 120 seconds.  The ooRexx
interpreter is not going to end until all invoked methods have completed.
 The more you try to close the dialog, the worse your situation gets.

Now make all the event handling methods unguarded.  Each time you click a
button, you will immediately see the 'in methodName()' message.  This shows
that all the event handlers are now running concurrently.

You still won't see the program end immediately when you push the ok or
cancel program because you have started all these 40 second threads.  But,
if you push 5 buttons pretty quickly you will see the program end in about
40 seconds rather than 200 seconds.

Now, in the guarded version, after you push the first button, you will
still be able to move the dialog around with the mouse.  This seems to
contradict what I originally said.  The reason for this is that, for button
clicks, the ooDialog framework actually invokes the event handler using
start() and so the message processing loop immediately returns a value to
the OS and continues processing messages.

But try this program:

/* Simple User Dialog to produce a dialog that will appear hung */

  .application~useGlobalConstDir('O')
  .constDir[IDC_PB_ONE] = 100
  .constDir[IDC_PB_TWO] = 110
  .constDir[IDC_EDIT] = 120
  .constDir[IDC_UPD] = 130

  dlg = .SimpleDialog~new
  dlg~execute(SHOWTOP, IDI_DLG_OOREXX)

::requires ooDialog.cls

::class 'SimpleDialog' subclass UserDialog

::method init
  forward class (super) continue

  self~create(30, 30, 257, 123, Simple Dialog, CENTER)

::method defineDialog

  self~createPushButton(IDC_PB_ONE, 10, 10, 50, 14, , Push Me Now,
'buttonClick1')
  self~createPushButton(IDC_PB_TWO, 10, 30, 75, 14, , Push Me Now Also,
'buttonClick2')
  self~createEdit(IDC_EDIT, 10, 60, 50, 14)
  self~createUpDown(IDC_UPD, 60, 60, 15, 15, 'WRAP ARROWKEYS AUTOBUDDY
SETBUDDYINT')
  self~createPushButton(IDOK, 142, 99, 50, 14, DEFAULT, Ok)
  self~createPushButton(IDCANCEL, 197, 99, 50, 14, , Cancel)

  self~connectUpDownEvent(IDC_UPD, DELTAPOS, onUPD)

::method onUPD
  say 'in onUPD()'
  j = SysSleep(40)
  say 'leaving onUPD()'
  return .UpDown~deltaPosReply

::method buttonClick1
  say 'in buttonClick1()'
  j = SysSleep(40)
  say 'leaving buttonClick1()'


::method buttonClick2
  say 'in buttonClick2()'
  j = SysSleep(40)
  say 'leaving buttonClick2()'


::method ok
  say 'in ok()'
  j = SysSleep(40)
  say 'leaving ok()'
  self~ok:super

::method cancel
  say 'in cancel()'
  j = SysSleep(40)
  say 'leaving cancel()'
  self~cancel:super

For the UpDown DELTAPOS envent, the ooDialog framework waits for the reply
from the event handler.

Run this program - click the 'Push Me Now' button, immediately click an
arrow in the UpdDown control, and immediately use the mouse to try and move
the window.  You won't be able to.

In Windows 7, the OS will detect that your dialog is not processing
messages and start the special Window is not responding behavior after
about 5 seconds.  This allows the user to move the window and close it.
 Without that special behavior things would be truly hung.  But, the way
the user can close the dialog is through the Window is not responding
dialog that the OS puts up.  Not real user friendly.

Not sure how much help this has been.  But, at least you should be able to
see why you usually need make your event handlers unguarded.

--
Mark Miesfeld








 If it is described somewhere, point me
 to it as I did not find it when searching.  Thanks,
   Art

 **



 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2

Re: [Oorexx-users] Error handling suggestions

2013-08-16 Thread Mark Miesfeld
On Thu, Aug 15, 2013 at 8:13 AM, Mark Miesfeld miesf...@gmail.com wrote:


 Here is a simple example using a ProgressDialog:


Art,

Here is a second example using a ProgressDialog.  It is exactly like the
first example, except it steps the progress bar rather than using marquee
mode.  The only changes are in the longTask() method.

Typically you use marquee mode when you want to show that your application
is not hung, is making progress, but your long task is not easily broken up
into distinct increments.

In my example, we are using a set number of loops, so it is easy to break
the task into distinct increments.

/* Example using the ProgressDialog class, longTaskStep.rex */

.application~setDefaults('O', , .false)
.constDir['IDC_PB_FAKE1'] = 100
.constDir['IDC_PB_FAKE2'] = 101
.constDir['IDC_PB_FAKE3'] = 102
.constDir['IDC_PB_QUERY'] = 103

dlg = .SQLQueryDialog~new
dlg~execute(SHOWTOP, IDI_DLG_OOREXX)

::requires ooDialog.cls

::class 'SQLQueryDialog' subclass UserDialog

::method init
forward class (super) continue

self~create(30, 30, 257, 123, Execute SQL Dialog, CENTER)

::method defineDialog

self~createPushButton(IDC_PB_FAKE1, 10, 10, 50, 14, , Fake One)
self~createPushButton(IDC_PB_FAKE2, 70, 10, 50, 14, , Fake Two)
self~createPushButton(IDC_PB_FAKE3, 10, 35, 50, 14, , Fake Three)
self~createPushButton(IDC_PB_QUERY, 10, 60, 50, 14, , SQL Query,
execSQL)
self~createPushButton(IDOK, 142, 99, 50, 14, DEFAULT, Ok)
self~createPushButton(IDCANCEL, 197, 99, 50, 14, , Cancel)


::method execSQL unguarded

self~start(longTask)
return 0

::method longTask unguarded

count = 1000
step  = 10
msg   = 'Executing an imaginary long-running task. This will take some
time.'

pbDlg = .ProgressDialog~new( , msg, 0, count, step)

pbDlg~canCancel = .true

a = .Alerter~new
pbDlg~setInterruptible(a)

self~disable
pbDlg~begin
pbDlg~updateStatus('0 loops executed')

do i = 1 to count
j = SysSleep(.1)

if i // step = 0 then do
pbDlg~increase
pbDlg~updateStatus(i 'loops executed')
end

if a~isCanceled then do
pbDlg~updateStatus('canceled after' i 'loops executed')
r = SysSleep(1.5)
leave
end
end

pbDlg~endNow
self~enable

--
Mark Miesfeld
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Error handling suggestions

2013-08-15 Thread Mark Miesfeld
Hi Art,

Hmm, I wrote this some time ago and never pressed Send.  ;-(

Have you taken a look at the ProgressDialog class?  It should be usable for
your scenario, I think.

In the example programs, there is examples\addManyRows.rex that shows some
usage of the ProgressDialog.  Look at the createRows() method in the
example.

I'll try to put together a short example of using the ProgressDialog in the
scenario you explained.

--
Mark Miesfeld



On Wed, Aug 14, 2013 at 2:52 PM, Art Heimsoth artst...@artheimsoth.comwrote:

  On Tue, Aug 13, 2013 at 2:08 PM, Art Heimsoth
  artst...@artheimsoth.com wrote:
 
  For your specific problem here, I would write my own timed
  message dialog.  When using it, send a reference to the executing
  dialog to your timed message dialog.  In your timed message,
  periodically check back to see if the other dialog is still
  alive.  Quit the timed message if you discover the other dialog is
 ended.
 
  I tried to start a second dialog and then use WinTimer in that
  dialog, with the intention of setting a shared variable from the main
 dialog
  when I wanted the second dialog to end.  The second dialog would put
 up a panel
  that includes a Cancel button to allow manual cancellation if
 necessary.
 
  You need to use popup() to start the second dialog.  The popup()
  method returns immediately and your first dialog can continue
  working.
 
 I'm still having trouble with this, but I am not sure my approach will work
 anyway.  I am trying to get an operation like .timedmessage but where I
 can cancel it from the popup panel; ie, add a cancel button to that dialog
 that would do the same thing as sending ok to the .timedmessage dialog.

 In using a dialog that I build and kick off with popupAsChild() or with
 popup()
 the child panel is not displayed until after the child InitDialog returns.
  I was
 intending to put the timed logic in the InitDialog, but seems like I need
 some
 other method for it - how do I kick that off?

 To test this, I put a do loop with say statements in the child and parent
 dialogs, and found that if I canceled the parent dialog, the do loops
 continued until they timed out - they were not canceled.  I assume that
 in normal for dialogs?

 Another problem with this approach, is the underlying dialog is allowed to
 run,
 but the user dialog buttons, menu, etc are also active allowing user input
 which
 is what I need to block; ie, a modal setup.

 I am looking for something that will notify the user the application is
 busy, but
 allow them to cancel it manually if necessary without using task manager.
  While
 this notification is showing, all interfacing controls should be disabled,
 but the
 underlying dialog logic; ie, SQL lookups should be allowed to continue.

 If I could figure out how to get the timed message to run in the child
 dialog,
 I could disable all the buttons and menu items while the child dialog is
 active
 and then enable them again when the lookup operation is complete and the
 child is ended.  Are there other (simpler) ways to accomplish this?

 --
  Art Heimsoth - artst...@artheimsoth.com


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Dialog sizes are different

2013-08-10 Thread Mark Miesfeld
Hi Art,

I got your program and ran it on both my Windows 7 system and on a XP
system.  These are 2 different physical machines.

On both systems the dialog looks good, nothing is over-flowed.  To the eye
they look the same size.

For the text size print out I get on Windows 7:

*Static Text Width, height: 64 16*
On my Win7 it was 80:20
On my XP it was 64:16
*ListBox Width, height: 496 16*
On my Win7 it was 620:20
On my XP is was 496:20

and on XP:

*Static Text Width, height: 64 16*
On my Win7 it was 80:20
On my XP it was 64:16
*ListBox Width, height: 496 16*
On my Win7 it was 620:20
On my XP is was 496:20

So on my systems everything is good.

The whole dialog size / font / font size thing is rather complex under the
covers.  It is intended to ensure that the same dialog looks okay no matter
what physical system it is running on.  It is not intended to make the
dialog the exact same pixel size on two different systems.

So, what I would expect, is what I see on my system, the dialog looks okay
and everything fits.  What you described, that the text is too wide to fit
on your Windows 7 system, is something I wouldn't expect.

What can you do about it?  I'm not sure.  It is not something that ooDialog
is doing, all ooDialog does is pass the numbers on to the operating system.

About fonts, fonts are requested from the font mapper.  The font mapper
returns a logical font that is the best it can do to match the requested
font.  What this means is that you don't necessarily get the exact font you
asked for, you get the best the font mapper can come up with.  This allows,
for instance, an application to use a font that doesn't actually exist on
the current system.

The OS calculates the size and position of all the dialog controls based on
the actual font used in dialog.

When you assign a different font to a dialog control than the actual font
used by the dialog, this invalidates the OS's calculation for the size and
position of the control.

What I suspect is happening is that on your XP system, the font mapper is
returning a Courier New font that is very close in size to the System font
used by the dialog.  Everything looks the same as you see when you lay out
the dialog.

On my Windows 7 and XP systems the font mapper is returning a Courier New
font that is the same size as the System font used by the dialog.  On your
Windows 7 the font mapper is returning the best it can, but the Courier New
font returned is not a good match in size for the System font actually used
by the dialog.

And, it could actually be the returned System font that is different on
your Windows 7 and XP systems.

You might try naming Courier New in the .rc file instead of System.  For
your simple test example, this would be okay.  But, it means every control
in the dialog will use the Courier New font and if you have a lot of
controls that might not look good.

There are 2 scenarios here, and I'm not sure which applies. 1.) You just
want to fix this on your own XP system, your program is for your use only.
 You are distributing your program to a group of end users.

Scenario 1.)  Ensure that the display settings are the same on the two
systems.  In particular, check the DPI settings.  I just saw that on my
Windows 7 system under custom DPI settings, there is a check box that says
Use XP style DPI scaling.  Hmm ...

Ensure that both systems have the same Courier New font installed.

With some extra work, you could resize the controls to fit in initDialog()
using the getTextSizePx method.

Scenario 2.)  Test on some of your users systems, maybe there is no
problem, their systems behave just like mine.

Same as the last resort for scenario 1.  Calculate the size needed and
resize the controls in initDialog().  This could be a lot of work depending
on how finicky you are.  To get this right, you might have to resize and
move everything.

But, it is doable.  I know one ooDialog user who calculates the size and
position of every control and resizes / repositions them all in
initDialog().  With dialogs that contain hundreds of controls.

--
Mark Miesfeld



On Sat, Aug 10, 2013 at 5:53 AM, Art Heimsoth artst...@artheimsoth.comwrote:

  On Fri, Aug 9, 2013 at 5:54 PM, Art Heimsoth
  artst...@artheimsoth.com wrote:
 
  I have an ooDialog application that I have tested on different
  systems and
 
  have found an operational difference that I don't understand.  I
  have several LTEXT controls and some LISTBOX controls built into a
  RC file. I use the LTEXT to build column headings for the detail
  data that is placed in the LISTBOX and the LTEXT static to use
  Courier New, 10, BOLD and the LISTBOX to use Courier New, 10.
   When running on an XP system, the LTEXT and LISTBOX both fit
  into the main dialog window, but when on a Win7 system (either 32
  or 64 bit), the static text and also the text data added to the
  LISTBOX exceed the width of the containing element. I then added
  getTextSizePx calls for the text that is in each

Re: [Oorexx-users] Dialog sizes are different

2013-08-09 Thread Mark Miesfeld
On Fri, Aug 9, 2013 at 5:54 PM, Art Heimsoth artst...@artheimsoth.comwrote:

 I have an ooDialog application that I have tested on different systems and
 have found an operational difference that I don't understand.  I have
 several LTEXT controls and some LISTBOX controls built into a RC file.
 I use the LTEXT to build column headings for the detail data that is placed
 in the LISTBOX and the LTEXT static to use Courier New, 10, BOLD and
 the LISTBOX to use Courier New, 10.  When running on an XP system,
 the LTEXT and LISTBOX both fit into the main dialog window, but when
 on a Win7 system (either 32 or 64 bit), the static text and also the text
 data added to the LISTBOX exceed the width of the containing element.
 I then added getTextSizePx calls for the text that is in each of a sample
 of the static text and the listbox.  On the Win7 system, the sample for
 the static text was a width of 80 while on the XP it is 64 and the listbox
 item is 620 for the width on the Win7 system while it is 496 on the XP.
 That equates to the XP being less pixels by 4/5 of the Win7, yet the
 main dialog appears to be the same size.


Hi Art,

There are a number of different things at play here.  I have several
speculations, but it is just speculation.  ;-)

If you had an example program you could send me, I'll run it on my Windows
7 system and on my XP.  I can probably give you an answer based on facts
then.

--
Mark Miesfeld
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Fun with HostEnv and rxUnixSys

2013-07-16 Thread Mark Miesfeld
Hi Leslie,

I never worked with Rexx on a main frame, so hostemu is completely foreign
to me.  So, I can't help much there.

I vaguely remember that there are some special rules about quoting.
 Combing the error code 20, Symbol Expected, and this:

 'diskw /home/leslie/html/private/'directory.d'/index.html (finis stem
html.'

I would guess the quoting is not correct.  Error code 20 has this subcode:
906
Symbol expected after ( of a variable reference. Or maybe it has to do
with directory.d.

  I notice that no matter what the error# is, sysGetErrNoMsg() seems to
return Unknown.

Seems like a bug to me.  I haven't looked at the Unix Extensions package at
all, so again I can't  be help much there.

David Ashley did both of those extensions and would be the best person to
explain what is going wrong for you.  He is out of touch right now, so he
won't respond immediately.  He'll be back in touch in August.

If I were you, I'd investigate the quoting in your use of hostemu.  I'll
try to take a look at the Unix Extensions package if I have some time.  You
should bring this up again on the list in August to try and get David's
attention.

Personally, I'd open bugs about things that don't seem to work.  And open
up documentation bugs where there seems to be lack of information to use
these packages.

--
Mark Miesfeld



On Tue, Jul 16, 2013 at 7:19 AM, J. Leslie Turriff 
jlturr...@centurylink.net wrote:

 I'm getting RC=20 from execio when writing a stem to disk.  I
 added a bit of
 diagnostic code:

   signal on error
   :

 error:
   if rc \= 0 then
 do
   errno = sysGetErrNo()
   errmsg = sysGetErrNoMsg(errno)
   say 'GenHtmlTree failed at statement' sigl':' sourceline(sigl)
   say 'with return code' rc 'and Linux error#' errno '('errmsg').'
 end
 exit 0

 and I get this back:

 $genhtmltree Documents/Prose/MyProse/Stories rexx.trace 21
 89 *-* address hostemu 'execio'
 html.0 'diskw /home/leslie/html/private/'directory.d'/index.html (finis
 stem html.'
   execio 34
 diskw
 /home/leslie/html/private/Documents/Prose/MyProse/Stories/index.html
 (finis stem html.
+++   RC(20)
 GenHtmlTree failed at statement 89: address hostemu 'execio'
 html.0 'diskw /home/leslie/html/private/'directory.d'/index.html (finis
 stem html.'
 with return code 20 and Linux error# 29 (Unknown).

 There are no descriptions of return codes in the Open Object Rexx
 Rexx Extensions Library Reference.

 Here's another strangeness:  When I redirect the output from the
 program into
 a file to paste it into this message the error# changed from 29 to 2. (!)

 $genhtmltree Documents/Prose/MyProse/Stories rexx.trace 21
 89 *-* address hostemu 'execio'
 html.0 'diskw /home/leslie/html/private/'directory.d'/index.html (finis
 stem html.'
   execio 34
 diskw
 /home/leslie/html/private/Documents/Prose/MyProse/Stories/index.html
 (finis stem html.
+++   RC(20)
 GenHtmlTree failed at statement 89: address hostemu 'execio'
 html.0 'diskw /home/leslie/html/private/'directory.d'/index.html (finis
 stem html.'
 with return code 20 and Linux error# 2 (Unknown).

 I notice that no matter what the error# is, sysGetErrNoMsg() seems
 to
 return Unknown.  (See my post, Question about Open Object Rexx Unix
 Extensions, in which a program returns error# 22.)

 Leslie


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Question about Open Object Rexx Unix Extensions

2013-07-15 Thread Mark Miesfeld
On Mon, Jul 15, 2013 at 1:51 PM, J. Leslie Turriff 
jlturr...@centurylink.net wrote:

 When I run this command in bash

 $rexx -e say sysaccess(arg(1),22) #some filename

 I get this response:

 REX0043E: Error 43 running INSTORE line 1:  Routine not found
 REX0417E: Error 43.1:  Could not find routine SYSACCESS

 The ooRexx Language Reference says, All of the RexxUtil functions
 are
 registered by the ooRexx interpreter on startup so there is no need to
 register the functions either individually or via the SysLoadFuncs
 function.
 The  ooRexx Unix Extensions Reference does not make any statement
 concerning
 accessing the routines it describes.
 Is there something that I need to do to make the SysAccess()
 function
 visible?



Yes, there is something you need to do.  The SysAccess() function is not
one of the RexxUtil functions.  You need to require the package / library
for SysAccess to work.

The Unix Extensions Reference states that in the Introduction chapter:

All the functions available in the RxUnixSys library require the program to
contain a ::requires
directive in the source code for the program using the function(s). The
statement should be coded as follows:

::requires rxunixsys LIBRARY


--
Mark Miesfeld
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] [ooRexx] Question about Open Object Rexx Unix Extensions

2013-07-15 Thread Mark Miesfeld
On Mon, Jul 15, 2013 at 6:36 PM, J. Leslie Turriff 
jlturr...@centurylink.net wrote:

 On Monday 15 July 2013 17:02:01 Mark Miesfeld wrote:
  On Mon, Jul 15, 2013 at 1:51 PM, J. Leslie Turriff 
 
  jlturr...@centurylink.net wrote:
   Is there something that I need to do to make the SysAccess()
   function
   visible?
 
  Yes, there is something you need to do.  The SysAccess() function is not
  one of the RexxUtil functions.  You need to require the package / library
  for SysAccess to work.


This is text that should be in the Unix Extensions Reference:


  All the functions available in the RxUnixSys library require the program
 to
  contain a ::requires
  directive in the source code for the program using the function(s). The
 
  statement should be coded as follows:
  ::requires rxunixsys LIBRARY




 :-) When I search my copy of  Open Object Rexx™
 Unix Extensions Reference (Version 4.1.0 Edition, December 2010)
 for Introduction I get No matches found for 'Introduction'.
 When I search for ::requires I get No matches found for
 '::requires'.


Well, it's a good thing you asked here, now you know what needs to be done.
 ;-)

--
Mark Miesfeld
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] [ooRexx] Question about Open Object Rexx Unix Extensions

2013-07-15 Thread Mark Miesfeld
On Mon, Jul 15, 2013 at 6:53 PM, J. Leslie Turriff 
jlturr...@centurylink.net wrote:

 On Monday 15 July 2013 17:02:01 Mark Miesfeld wrote:
  On Mon, Jul 15, 2013 at 1:51 PM, J. Leslie Turriff 
 
  jlturr...@centurylink.net wrote:
  ::requires rxunixsys LIBRARY
 WRT errno, never mind; I see there is a sysGetErrno() function.



Okay, you seem to be on the right track.

When you use sysGetErrno() after your sysAccess() fails, does it seem to
make sense?  I haven't used this package, it could have a bug.

--
Mark Miesfeld
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Compiling RexxGTK fails with 'no known conversion' error

2013-07-14 Thread Mark Miesfeld
On Sun, Jul 14, 2013 at 11:54 AM, J. Leslie Turriff 
jlturr...@centurylink.net wrote:

 I'm running openSuSE Linux 12.2 on x86_64, and I'm trying to build
 RexxGTK
 0.10.0.  The compile fails with the following messages:


Leslie,

You are not really doing anything wrong, except using the wrong source.

The RexxGTK-0.10.0.zip source file downloadable from the Files section in
SourceForge is way out of date.

You need to check out the source using svn directly.  The current source in
svn has been fixed.

The command is:

svn checkout svn://svn.code.sf.net/p/oorexx/code-0/rexxgtk/trunk rexxgtk

which will check out the current source code in to a directory rexxgtk.

Oh, I just looked and SourceForge has added an option to down load a
snapshot:   Download Snapshot
https://sourceforge.net/p/oorexx/code-0/9364/tarball?path=/rexxgtk/trunk

You could probably use that instead of svn.  Although, really, if you are
interested in building from source, I'd advise that you get a svn client
and check stuff out directly from the repository.

Many Linux systems already have a command line svn client installed.  If
not, the client is easy to install on Linux.

I don't think you will have a problem if you use the current code base.

You can look through the current opened bugs and see if there is already a
bug for this the the source file in the files section not building.  If
there is, I would vote for it.  If there isn't one I'd open one.

--
Mark Miesfeld
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Correction, Re: Announce ooRexx 4.1.3 Is Now Available

2013-07-08 Thread Mark Miesfeld
The original post had incorrect links in it, sorry.

This is the correct link to the ooRexx 4.1.3  download page:

http://sourceforge.net/projects/oorexx/files/oorexx/4.1.3/

and this is the correct link to the docs for ooRexx 4.1.3:

http://sourceforge.net/projects/oorexx/files/oorexx-docs/

--
Mark Miesfeld


On Sun, Jul 7, 2013 at 3:11 PM, Mark Miesfeld miesf...@gmail.com wrote:

 The Open Object Rexx Development Team is proud to announce the availability
 of ooRexx 4.1.3. This is a bug fix only release, with about 20 bug fixes.

 Installation packages for ooRexx are available immediately on SourceForge.
 You can download ooRexx 4.1.3 from:

 http://sourceforge.net/projects/oorexx/files/oorexx/4.1.3/http://sourceforge.net/projects/oorexx/files/oorexx/4.1.2/

 Complete documentation in PDF and HTML format can be downloaded from:

 http://sourceforge.net/projects/oorexx/files/oorexx-docs/4.1.3/http://sourceforge.net/projects/oorexx/files/oorexx-docs/4.1.2/

 Download the CHANGES document, in the ooRex files area, to see the list
 of fixes. The _ReadMe.pdf or _ReadMe.html files contain additional information
 concerning the release.  If you discover bugs please open a bug report at:

 http://sourceforge.net/p/oorexx/bugs/

 --
 The ooRexx Development Team

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


[Oorexx-users] Announce ooRexx 4.1.3 Is Now Available

2013-07-07 Thread Mark Miesfeld
The Open Object Rexx Development Team is proud to announce the availability
of ooRexx 4.1.3. This is a bug fix only release, with about 20 bug fixes.

Installation packages for ooRexx are available immediately on SourceForge.
You can download ooRexx 4.1.3 from:

http://sourceforge.net/projects/oorexx/files/oorexx/4.1.3/http://sourceforge.net/projects/oorexx/files/oorexx/4.1.2/

Complete documentation in PDF and HTML format can be downloaded from:

http://sourceforge.net/projects/oorexx/files/oorexx-docs/4.1.3/http://sourceforge.net/projects/oorexx/files/oorexx-docs/4.1.2/

Download the CHANGES document, in the ooRex files area, to see the list of
fixes. The _ReadMe.pdf or _ReadMe.html files contain additional information
concerning the release.  If you discover bugs please open a bug report at:

http://sourceforge.net/p/oorexx/bugs/

--
The ooRexx Development Team
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Multiple character find on listbox

2013-06-30 Thread Mark Miesfeld
Hi Art,

I've never tried something like that, but this is how I would start.

Set an exposed variable to the empty string.  Connect the onChar event to
the listbox.  When the event handler is invoked, append the character to
the exposed variable.  Then use the find() method using the exposed
variable string as the textOrPrefix, probably the current index as the
startIndex, and exact as false.

If you get a hit, move the selection to the returned index.  Each time a
new character comes in, it is appended to the current search string and
find() is invoked again.  I think that should get you close, then you run
it and see what doesn't work.

You want to set up your onChar handler so that the character is not passed
on to the listbox.  I'm hoping the docs are sufficient for you to determine
how to do that.  I'm not being secretive, if I remembered off of the top of
my head I'd just tell you.

One thing that thing I can think of that might take a little thought is
what to do if the find() does not produce a hit.

Also, you'll need to figure out when to set the search string back to the
empty string.

Let me know if you are having problems.  If I have a little time, I'll
probably play with it a bit.

The other thing is, the listbox seems to already have a search function
built in.  You do realize that don't you?  I suspect you are asking because
the built in procedure is not sufficient for what you want.  I don't have
any example programs around that have very many items in a listbox, but it
seems to work somewhat.

--
Mark Miesfeld



On Sun, Jun 30, 2013 at 10:33 AM, Art Heimsoth artst...@artheimsoth.comwrote:

 I am trying to locate a string in a listbox by typing the characters, but
 I want the number of characters to be variable.  For example, in looking
 for names in a listbox, I would like to start typing and for each character
 bring up the next matching string.  I am using Find and I understand
 I can specify a multiple character string, but I would like for the listbox
 find to select the first item matching the first character, allow me to
 enter another character and have the find select the string that now
 matches both characters, repeating until the Enter key is pressed where
 the Ok button would then cause the currently selected string to be
 retrieved, but how would I approach this?  How would I define an
 onChar event on the listbox to allow me to build the string to be
 passed to the find?  Any suggestions as to approach appreciated.

 --
  Art Heimsoth - artst...@artheimsoth.com


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 Oorexx-users mailing list
 Oorexx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/oorexx-users


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Multiple character find on listbox

2013-06-30 Thread Mark Miesfeld
Art,

This is what the MSDN docs say about the default processing by the listbox
of the WM_CHAR message:

Moves the selection to the first item that begins with the character the
user typed. If the list box has the LBS_OWNERDRAW style, no action occurs.

Multiple characters typed within a short interval are treated as a group,
and the first item that begins with that series of characters is selected.

Below is a very simple listbox that demonstrates the default incremental
search.  If I run it and type in A C T and hit enter, I get this back:

User searched for and found: ActionCenter.dll

So, it seems to work pretty good.  The only thing I don't like is the delay
time before it stops treating the letters as a group.  If you type A C and
delay a bit, when you type T it takes you to: t2embed.dll

This would be a dialog to start with and use to implement your own
incremental search:

/* Simple Dialog listBoxSearch.rex */

  symbolMap = .table~new
  symbolMap[IDC_LB_FILEs] = 200
  --symbolMap[] =
  --symbolMap[] =

  .application~setDefaults('O', symbolMap, .false, 'Courier New', 10)

  dlg = .SimpleDialog~new
  if dlg~initCode = 0 then do
if dlg~execute(SHOWTOP) == dlg~IDOK then do
  say 'User searched for and found:' dlg~searchAndFound
end
else do
  say 'User canceled'
end
  end

return 0
-- End of entry point.

::requires ooDialog.cls

::class 'SimpleDialog' subclass UserDialog

::attribute searchAndFound get
  expose selectedText
  return selectedText

::method init
  expose selectedText

  forward class (super) continue
  title = Directory Listing with Search
  self~create(30, 30, 186, 124, title, CENTER)
  selectedText = ''

::method defineDialog

style = 'VSCROLL HSCROLL PARTIAL SORT NOTIFY'
self~createListBox(IDC_LB_FILES, 10, 10, 166, 90, style)
self~createPushButton(IDOK, 126, 105, 50, 14, 'DEFAUT', Ok)
self~createPushButton(IDCANCEL, 74, 105, 50, 14, ,Push Me)

::method initDialog
  expose lb

  lb = self~newListBox(IDC_LB_FILES)
  attributes = READWRITE READONLY HIDDEN SYSTEM DIRECTORY ARCHIVE
  lb~addDirectory(C:\Windows\System32\*, attributes)

::method ok unguarded
  expose lb selectedText

  selectedText = lb~selected
  return self~ok:super

::method cancel unguarded

  msg   = 'Haa - tricked you. Push Me is actually cancel'
  title = You Have Just Been Canceled
  ret = MessageDialog(msg, self~hwnd, title)
  return self~cancel:super




On Sun, Jun 30, 2013 at 11:49 AM, Mark Miesfeld miesf...@gmail.com wrote:

 Hi Art,

 I've never tried something like that, but this is how I would start.

 Set an exposed variable to the empty string.  Connect the onChar event to
 the listbox.  When the event handler is invoked, append the character to
 the exposed variable.  Then use the find() method using the exposed
 variable string as the textOrPrefix, probably the current index as the
 startIndex, and exact as false.

 If you get a hit, move the selection to the returned index.  Each time a
 new character comes in, it is appended to the current search string and
 find() is invoked again.  I think that should get you close, then you run
 it and see what doesn't work.

 You want to set up your onChar handler so that the character is not passed
 on to the listbox.  I'm hoping the docs are sufficient for you to determine
 how to do that.  I'm not being secretive, if I remembered off of the top of
 my head I'd just tell you.

 One thing that thing I can think of that might take a little thought is
 what to do if the find() does not produce a hit.

 Also, you'll need to figure out when to set the search string back to the
 empty string.

 Let me know if you are having problems.  If I have a little time, I'll
 probably play with it a bit.

 The other thing is, the listbox seems to already have a search function
 built in.  You do realize that don't you?  I suspect you are asking because
 the built in procedure is not sufficient for what you want.  I don't have
 any example programs around that have very many items in a listbox, but it
 seems to work somewhat.

 --
 Mark Miesfeld



 On Sun, Jun 30, 2013 at 10:33 AM, Art Heimsoth 
 artst...@artheimsoth.comwrote:

 I am trying to locate a string in a listbox by typing the characters, but
 I want the number of characters to be variable.  For example, in looking
 for names in a listbox, I would like to start typing and for each
 character
 bring up the next matching string.  I am using Find and I understand
 I can specify a multiple character string, but I would like for the
 listbox
 find to select the first item matching the first character, allow me to
 enter another character and have the find select the string that now
 matches both characters, repeating until the Enter key is pressed where
 the Ok button would then cause the currently selected string to be
 retrieved, but how would I approach this?  How would I define an
 onChar event on the listbox to allow me to build the string to be
 passed to the find?  Any

Re: [Oorexx-users] Multiple character find on listbox

2013-06-30 Thread Mark Miesfeld
On Sun, Jun 30, 2013 at 2:00 PM, Mark Miesfeld miesf...@gmail.com wrote:


 On Sun, Jun 30, 2013 at 1:41 PM, Art Heimsoth artst...@artheimsoth.comwrote:

 Yes, I have the default working in my main program, and it has been
 for awhile.  I was wanting to get around the delay time by using an
 Ok button to signal when the selection was what I wanted.  I have
 built a small test case that seems to want to work, but on the second
 character input I get a 0x0005 (op code?) violation -not sure where
 as I am not familiar with how to peruse that type of error.


 Yikes that's a crash.


I don't get a crash, rather everything hangs.  The reason is this:

::method OK
expose Fescue.
Fescue.Seller = 'A'
dlg = .SelectDialog~new(Test.rc, SELLER_DIALOG, , Test.h)
dlg~parent = self
dlg~Fescue = Fescue.
dlg~sendMyData
dlg~Execute(SHOWTOP, IDI_DLG_OOREXX)
return 0

In OK() you start your second dialog.  Then in your second dialog you have
this:

::method onChar unguarded
expose Fescue. lb findchar
use arg char
...
self~parent~logError(0,Searching for findchar)
return .false

In your first dialog you have for logError()

::method logError
  expose Fescue.
  use strict arg retrn, msg
...

What happens is, in your second dialog you type the first character.
 onChar() starts executing and runs until it hits self~parent~logError()

logError() is unguarded.  At this instant ok(), also unguarded, is
executing waiting for your second dialog to finish.

logError() can not run, so your onChar() method is blocked at that line.
 The ok() method is waiting for your second dialog to end.  So you have a
classic deadlock.  Nothing can proceed.

In addition, in the window processing loop, the interpreter is waiting for
the reply from onChar().  So no more messages can be processed.  As soon as
you type a second character or click on a button that message is sent to
the window by the operating system.  At this point you are really hosed.
 Your second dialog can not process any message, so it can not be closed.
 The first dialog can not end until the second dialog is closed, and the
second dialog can not be closed.  ;-)

The OS has a timer and sees that the application is not processing its
window messages.  So, in Windows 7 at least, you get the 'Application is
not responding dialog and you have to have the OS forcibly close the
application.

To fix that, you need to make either ok() or logError() unguarded.

Things shouldn't crash though.  Is it on XP you see the crash?

--
Mark Miesfeld
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


Re: [Oorexx-users] Multiple character find on listbox

2013-06-30 Thread Mark Miesfeld
On Sun, Jun 30, 2013 at 4:02 PM, Art Heimsoth artst...@artheimsoth.comwrote:

 Thanks Mark,  yes this is on XP.  Am I creating another problem if
 I always use unguarded on my methods, whether they are events
 or others?


Art,

In general I advise to make all event handlers unguarded.  If you make all
methods unguarded, you could create another problem, sometimes.

Really, the best thing to do is to analyze everything and only make a
method unguarded if needed.  But, hey, I rarely do that.  So the blanket
statement make all event handlers unguarded is not the best advice.  It is
good enough advice for the general use of ooDialog though.  If you had a
mission critical application, you might want to make sure that having all
event handlers unguarded is the right thing to do.

 If you have variables, especially exposed variables, that need to be
accessed sequentially.  Or in a strictly deterministic order, then a
guarded method is usually the best way to do it.

What I do is make all my event handlers unguarded and all other methods I
leave guarded.  Except convenience methods that are called from event
handlers.  Those I make unguarded.  Then if something hangs, I try to
figure out why.  ;-)




 I am having other problems in my main program that I suspect are
 due to the usage of unguarded or lack of.  I have an input panel
 with several edit input fields where I am using LOSTFOCUS and also
 GOTFOCUS on some of them.  I have unguarded on all of those event
 handlers, but if I cancel out of that input panel, I sometimes get entries
 into one or more of those event handlers - like the event is pending


Well, when you move to a new input panel, which I assume is a dialog, you
will get a lost focus in the old one, in an edit control if that control
had the focus.


 somewhere when I do the cancel and start a different menu process.
 I don't know how to cancel the events when the original input menu
 is cancelled, and some of them will put up more info on the screen
 when they fire.


One thing you could try is adding a flag.  Set it to .true when you start
with the first input panel and set it to .false right before you cancel out
of it.  In the event handler, if the flag is .false return immediately
without doing any thing.

--
Mark Miesfeld
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


  1   2   3   4   >