[Oorexx-devel] A few questions ad libraries

2009-05-09 Thread Rony G. Flatscher
Given the following scenario: 1. an interpreter instance is created with RexxCreateInterpreter(), loading a native library ABC via the options argument, all loaded routines will be visible from thereon to every program that gets called 2. using CallProgram() for some

Re: [Oorexx-devel] A few questions ad libraries

2009-05-09 Thread Rick McGuire
On Sat, May 9, 2009 at 5:44 AM, Rony G. Flatscher rony.flatsc...@wu-wien.ac.at wrote: Given the following scenario: an interpreter instance is created with RexxCreateInterpreter(), loading a native library ABC via the options argument, all loaded routines will be visible from thereon to every

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Rick McGuire
On Sat, May 9, 2009 at 7:36 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote: Having almost completed my presntation on the new stuff in 4.0.0, I just have four more questions. 1) The ReadMe says The MutableBuffer class has been enhanced so that it has most, if not all, of the methods of the

Re: [Oorexx-devel] A few questions ad ...

2009-05-09 Thread Rony G. Flatscher
Rick McGuire wrote: ... cut ... Libraries are NOT the same as ooRexx files loaded via ::requires. They don't have the concept of public_routines and public_classes Libraries don't even define classes, only the code backing methods that can be used in class definitions. A ::requires LIBRARY

Re: [Oorexx-devel] A few questions ad ...

2009-05-09 Thread Rick McGuire
On Sat, May 9, 2009 at 8:47 AM, Rony G. Flatscher rony.flatsc...@wu-wien.ac.at wrote: Rick McGuire wrote: ... cut ... Libraries are NOT the same as ooRexx files loaded via ::requires. They don't have the concept of public_routines and public_classes Libraries don't even define classes,

[Oorexx-devel] Question ad callback (Re: A few questions ad ...

2009-05-09 Thread Rony G. Flatscher
Thanks for clarifiying. In my current state of the code for BSF4Rexx for the new APIs it becomes possible to refer to ooRexx objects from Java. To do that a RexxProxy is defined at the Java side referring to a ooRexx object, which is registered (and locked) at the native layer. There are two

Re: [Oorexx-devel] Question ad callback (Re: A few questions ad ...

2009-05-09 Thread Rick McGuire
There is no such concept of packages avaiable to a rexx object. Package visibility refers to code instances, not the objecs to which code happens to be attached in the form of methos. An individual object may have methods that are defined with many different levels of visibility. Again, this is

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Gil Barmwater
OK, thanks. Still not clear about these examples for replaceAt: abcdef~replaceAt( ,3, 3) - ab ef abc~replaceAt(123,5,6,+) - abc+123 I would think that the first would give ab f, i.e. 'cde' replaced with 3 blanks. And the second I don't get at all :-( Rick McGuire wrote: On Sat, May 9, 2009

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Mark Miesfeld
On Sat, May 9, 2009 at 7:47 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote: Should I open a doc. bug tracker item for the ReadMe or is the intent to actually include them somewhere? Gil, as far as I can see the two classes, MIME and SMTP, are just mentioned in one sentence. Along with the

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Gil Barmwater
Where is the sockets.cls, in the samples? Mark Miesfeld wrote: On Sat, May 9, 2009 at 7:47 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote: Should I open a doc. bug tracker item for the ReadMe or is the intent to actually include them somewhere? Gil, as far as I can see the two classes,

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Mark Miesfeld
On Sat, May 9, 2009 at 9:09 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote: Where is the sockets.cls, in the samples? In the distribution, it is in the root of the install directory. Alongside ooDialog.cls, rxftp.cls, etc.. In the source tree itself it is in extensions/rxsock. -- Mark

Re: [Oorexx-devel] New Feature Questions

2009-05-09 Thread Mark Miesfeld
On Sat, May 9, 2009 at 9:09 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote: Where is the sockets.cls, in the samples? Oh, and for your original question, how do you make use of them. You would use a ::requires 'socket.cls' I think, but didn't check, that the scclient.rex, scserver.rex, etc.,

[Oorexx-devel] Anyone using a shared source tree between Linux and Windows ?

2009-05-09 Thread Jean-Louis Faucher
Hello, My main environment is WinXP, and I run occasionally PuppyLinux in VirtualBox when I want to compile under Linux. For now, I have two separate source trees. I can mount the WinXP source tree under Linux, but can't build because the CR-LF brings troubles (starting with bootstrap :-). Maybe

Re: [Oorexx-devel] Anyone using a shared source tree between Linux and Windows ?

2009-05-09 Thread Rick McGuire
I tried doing that once, but the attempt lasted for maybe 15 minutesI ran into the same linend issues you have and abandoned the attempt. Rick On Sat, May 9, 2009 at 12:52 PM, Jean-Louis Faucher jfaucher...@gmail.com wrote: Hello, My main environment is WinXP, and I run occasionally