Re: [Oorexx-devel] Question ad instanceMethods if fetching class methods

2024-08-14 Thread Rony G Flatscher
Thank you!—-ronyRony G. Flatscher (mobil/e)Am 14.08.2024 um 18:53 schrieb Rick McGuire :On Wed, Aug 14, 2024 at 12:45 PM Rony G. Flatscher wrote: The documentation of rexxref.pdf chapter "5.1.4.12. instanceMethods" has a documentation bug that Jo

Re: [Oorexx-devel] Question ad instanceMethods if fetching class methods

2024-08-14 Thread Rick McGuire
On Wed, Aug 14, 2024 at 12:45 PM Rony G. Flatscher wrote: > The documentation of rexxref.pdf chapter "5.1.4.12. instanceMethods" has a > documentation bug that Josep Maria referred to (# 317, > https://sourceforge.net/p/oorexx/documentation/317/) and supplied a patch > for it. > > Looking into th

[Oorexx-devel] Question ad instanceMethods if fetching class methods

2024-08-14 Thread Rony G. Flatscher
The documentation of rexxref.pdf chapter "5.1.4.12. instanceMethods" has a documentation bug that Josep Maria referred to (# 317, https://sourceforge.net/p/oorexx/documentation/317/) and supplied a patch for it. Looking into the patch and then into the example that should be working correctly (

Re: [Oorexx-devel] Question ad Activity::activationFrames and asynchronous message

2024-08-02 Thread Rony G. Flatscher
On 14.07.2024 11:31, Rick McGuire wrote: On Sun, Jul 14, 2024 at 5:28 AM Rony G. Flatscher wrote: On 13.07.2024 17:31, Rick McGuire wrote: That makes absolutely no sense. Once the new activity is started, there is no guarantee that the stackframe or even the activity from which i

Re: [Oorexx-devel] Question ad Activity::activationFrames and asynchronous message

2024-07-16 Thread Rony G. Flatscher
On 14.07.2024 11:31, Rick McGuire wrote: On Sun, Jul 14, 2024 at 5:28 AM Rony G. Flatscher wrote: On 13.07.2024 17:31, Rick McGuire wrote: That makes absolutely no sense. Once the new activity is started, there is no guarantee that the stackframe or even the activity from which

Re: [Oorexx-devel] Question ad Activity::activationFrames and asynchronous message

2024-07-14 Thread Rick McGuire
On Sun, Jul 14, 2024 at 5:28 AM Rony G. Flatscher wrote: > On 13.07.2024 17:31, Rick McGuire wrote: > > That makes absolutely no sense. Once the new activity is started, there is > no guarantee that the stackframe or even the activity from which it was > spawned even exists any more. The original

Re: [Oorexx-devel] Question ad Activity::activationFrames and asynchronous message

2024-07-14 Thread Rony G. Flatscher
On 13.07.2024 17:31, Rick McGuire wrote: That makes absolutely no sense. Once the new activity is started, there is no guarantee that the stackframe or even the activity from which it was spawned even exists any more. The original activity has continued on doing its own stuff. A question here:

Re: [Oorexx-devel] Question ad Activity::activationFrames and asynchronous message

2024-07-13 Thread Rick McGuire
That makes absolutely no sense. Once the new activity is started, there is no guarantee that the stackframe or even the activity from which it was spawned even exists any more. The original activity has continued on doing its own stuff. Rick On Sat, Jul 13, 2024 at 11:09 AM Rony G. Flatscher wr

Re: [Oorexx-devel] Question ad Activity::activationFrames and asynchronous message

2024-07-13 Thread Rony G. Flatscher
On 13.07.2024 16:27, Rick McGuire wrote: the stackframes are a representation of the activations active on an activity. When a method is started asynchronously, it is the base of the activity stack and does not have a parent stack frame. So many other things would get messed up by trying to add

Re: [Oorexx-devel] Question ad Activity::activationFrames and asynchronous message

2024-07-13 Thread Rick McGuire
the stackframes are a representation of the activations active on an activity. When a method is started asynchronously, it is the base of the activity stack and does not have a parent stack frame. So many other things would get messed up by trying to add one to that stack. And you're on your own wi

[Oorexx-devel] Question ad Activity::activationFrames and asynchronous message

2024-07-13 Thread Rony G. Flatscher
While analyzing various invocation types and the caller's stack frame (for invocation entries to allow identifying the caller from a trace log later), everything seems to work out nicely. There is one case where the caller's stack frame cannot be generated, it seems to have to do with methods t

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread Rony G. Flatscher
On 12.07.2024 15:25, Rick McGuire wrote: Looking at your CreateTraceObject code, it appears there were several conditional tests where it appears it was possible to not have an available RexxActivation. My suggestion be to make the code that creates the TraceObject into a static method and have

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread Rick McGuire
Looking at your CreateTraceObject code, it appears there were several conditional tests where it appears it was possible to not have an available RexxActivation. My suggestion be to make the code that creates the TraceObject into a static method and have add the activity and the activation as argum

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread Rony G. Flatscher
On 12.07.2024 15:05, Rick McGuire wrote: On Fri, Jul 12, 2024 at 8:49 AM Rony G. Flatscher wrote: Unfortunately, when doing a global trace (e.g. "::options trace i") there are crashes with the refactored version, hence I uncommitted the changes. The problem is in RexxActivation

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread Rick McGuire
On Fri, Jul 12, 2024 at 8:49 AM Rony G. Flatscher wrote: > Unfortunately, when doing a global trace (e.g. "::options trace i") there > are crashes with the refactored version, hence I uncommitted the changes. > > The problem is in RexxActivation.cpp where in global trace "this" is NULL. > > Even

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread P.O. Jonsson
If it helps I noticed the test suite exit on this test case .. Executing RexxStart.testGroup test case TESTCOMMANDEXIT jenkins@PO-XPC-FH97 C:\Users\jenkins\workspace\ooRexx-windows64-test>exit -1073741819 Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE Häls

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread Rony G. Flatscher
This gets invoked with "this" being NULL: void RexxActivation::processTraceInfo(RexxString *traceLine, TracePrefix tracePrefix, RexxString *tag, RexxObject *value) { // make sure this is a real string value (likely, since we constructed it in the first place) Protected pline

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread Rony G. Flatscher
Unfortunately, when doing a global trace (e.g. "::options trace i") there are crashes with the refactored version, hence I uncommitted the changes. The problem is in RexxActivation.cpp where in global trace "this" is NULL. Even if checking for NULL and supplying defaults for that situation ther

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread Rony G. Flatscher
Commit [r12849] implements the refactoring (changes got successfully tested using the ooRexx testing framework's TRACE related testgroups). ---rony On 12.07.2024 11:55, Rick McGuire wrote: On Fri, Jul 12, 2024 at 5:52 AM Rony G. Flatscher wrote: On 12.07.2024 01:16, Rick McGuire wrot

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread Rick McGuire
On Fri, Jul 12, 2024 at 5:52 AM Rony G. Flatscher wrote: > On 12.07.2024 01:16, Rick McGuire wrote: > > I still think the code refactoring I suggested is a good idea, which will > make things a bit cleaner. > > +1 > > However, I just realized that the original problem could have been fixed > by j

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-12 Thread Rony G. Flatscher
On 12.07.2024 01:16, Rick McGuire wrote: I still think the code refactoring I suggested is a good idea, which will make things a bit cleaner. +1 However, I just realized that the original problem could have been fixed by just adding enum TracePrefix; where the class definitions at the to

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-11 Thread Rick McGuire
I still think the code refactoring I suggested is a good idea, which will make things a bit cleaner. However, I just realized that the original problem could have been fixed by just adding enum TracePrefix; where the class definitions at the top of Activity.cpp are located. Rick On Thu, Jul 11,

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-11 Thread Rony G. Flatscher
On 11.07.2024 18:26, Rick McGuire wrote: On Thu, Jul 11, 2024 at 12:20 PM Rony G. Flatscher wrote: On 11.07.2024 17:52, Rick McGuire wrote: I'm going to answer this out of line because I want to answer the last question first. Thank you! The problem with the compile er

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-11 Thread Rick McGuire
On Thu, Jul 11, 2024 at 12:20 PM Rony G. Flatscher wrote: > On 11.07.2024 17:52, Rick McGuire wrote: > > I'm going to answer this out of line because I want to answer the last > question first. > > Thank you! > > > The problem with the compile error results in how RexxActivation is > defined in A

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-11 Thread Rony G. Flatscher
On 11.07.2024 17:52, Rick McGuire wrote: I'm going to answer this out of line because I want to answer the last question first. Thank you! The problem with the compile error results in how RexxActivation is defined in Activity.hpp. It's declaration is just "class RexxActivation", which tell

Re: [Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-11 Thread Rick McGuire
I'm going to answer this out of line because I want to answer the last question first. The problem with the compile error results in how RexxActivation is defined in Activity.hpp. It's declaration is just "class RexxActivation", which tells the compiler that RexxActivation is a class...and nothing

[Oorexx-devel] Question ad how to use TracePrefix in Activity.cpp

2024-07-11 Thread Rony G. Flatscher
The enum TracePrefix type gets defined RexxActivation.hpp and is public (needs to be used from RexxActivation.cpp and Activit.cpp). What is the proper way to become able to refer to the enum TracePrefix in Activity.hpp and Activity.cpp? Currently "Activity.hpp" defines the prototype for traceO

Re: [Oorexx-devel] Question ad tracing the invocation of a method containing a reply statement

2024-04-22 Thread Rony G. Flatscher
Committed with [r12834] (code) and [r12835] (unit tests) after running the entire test suite. ---rony On 21.04.2024 20:47, Rony G. Flatscher wrote: Thinking about this problem, the best understan

Re: [Oorexx-devel] Question ad tracing the invocation of a method containing a reply statement

2024-04-21 Thread Rony G. Flatscher
Thinking about this problem, the best understandable solution would probably be to insert an invocation exit traceline in the thread right before starting to spawn in RexxActivation. A test implementation would show the following output: 1 *-* .traceObject~option="T" -- from now on dis

[Oorexx-devel] Question ad tracing the invocation of a method containing a reply statement

2024-04-20 Thread Rony G. Flatscher
Given the following program: .traceObject~option="T" -- from now on display thread id in prefix t=.test~new t~test_reply ::class test ::method test_reply say "before reply ..." reply say "after reply ..." ::options trace all Running it will yield:

Re: [Oorexx-devel] Question ad solution for two trace related tests failing in trace exits

2024-03-14 Thread Rony G. Flatscher
After having gone through the code and running the RXTRC Java exit handler the traceObject works there as well. Not sure why the objectname gets displayed in the testbinaries test case rather than the makeString. Anyway, will adjust the testcase accordingly as there seems to be no need to chang

[Oorexx-devel] Question ad solution for two trace related tests failing in trace exits

2024-03-13 Thread Rony G. Flatscher
There are two trace related tests in the test suite failing (all other pass): [failure] 20240313 18:16:37.50   Test:   TESTIOEXITTRACE   Class:  RexxStart.testGroup   File: ...\oorexx\test\trunk\ooRexx\API\oo\ProcessRexxStart.testGroup   Line:   244   Failed: assertEqua

[Oorexx-devel] Question ad multithreading (blocked threads)

2024-01-21 Thread Rony G. Flatscher
Multithreading is a very powerful feature of ooRexx and very versatile! For the following two scenarios I would have a question ad how to determine in native code whether a method routine is currently executing guarded or unguarded and whether it is currently blocked (waiting on a lock and if s

Re: [Oorexx-devel] Question ad rexx.img

2024-01-07 Thread Rony G. Flatscher
On 07.01.2024 20:00, Rick McGuire wrote: On Sun, Jan 7, 2024 at 1:21 PM Rony G. Flatscher wrote: Is rexx.img dependent on the architecture and bitness? Yes, it contains LOTS of binary data that depends on the bitness of the architecture. There are some bits that might even be dependent

Re: [Oorexx-devel] Question ad rexx.img

2024-01-07 Thread Rick McGuire
On Sun, Jan 7, 2024 at 1:21 PM Rony G. Flatscher wrote: > Is rexx.img dependent on the architecture and bitness? > Yes, it contains LOTS of binary data that depends on the bitness of the architecture. There are some bits that might even be dependent on the compiler used to compile the interprete

[Oorexx-devel] Question ad rexx.img

2024-01-07 Thread Rony G. Flatscher
Is rexx.img dependent on the architecture and bitness? With other words: can a rexx.img be used at the same time for arm64 and amd64 (Intel)? ---rony ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/li

[Oorexx-devel] Question ad Rexx interpreter instances

2023-10-22 Thread Rony G. Flatscher
Is there a way to find out whether a particular Rexx instance is being used for an activity, and if so how? Background: as long as it is not possible to safely terminate a Rexx interpreter instance I might be inclined to create a pool of Rexx interpreter instances and rather than terminating an

Re: [Oorexx-devel] Question ad native tests ...

2023-02-02 Thread Rony G. Flatscher
On 02.02.2023 18:02, Rick McGuire wrote: On Thu, Feb 2, 2023 at 11:53 AM Rony G. Flatscher wrote: While looking into what is needed to formulate native tests I found ... cut ... The native test code is not located under test/trunk, but rather in main/trunk/testbinaries. Why

Re: [Oorexx-devel] Question ad native tests ...

2023-02-02 Thread Rick McGuire
On Thu, Feb 2, 2023 at 11:53 AM Rony G. Flatscher wrote: > While looking into what is needed to formulate native tests I found > > F:\work\svn\oorexx\test\trunk>grep -R LoadPackage > ooRexx/API/oo/METHODPackage.cls:::method TestLoadPackage EXTERNAL "LIBRARY > orxmethod TestLoadPackage" > ooRexx/

[Oorexx-devel] Question ad native tests ...

2023-02-02 Thread Rony G. Flatscher
While looking into what is needed to formulate native tests I found F:\work\svn\oorexx\test\trunk>grep -R LoadPackage ooRexx/API/oo/METHODPackage.cls:::method TestLoadPackage EXTERNAL "LIBRARY orxmethod TestLoadPackage" ooRexx/API/oo/METHODPackage.cls:::method TestLoadPackageFromData EX

Re: [Oorexx-devel] Question with ooRexx 5.0.0 and some error "Error:94.101 - Error connecting to 127.0.0.1 on port 5757: "No error"" while issuing a command

2023-01-10 Thread Rony G. Flatscher
On 10.01.2023 16:29, Rick McGuire wrote: Just a shot in the dark, but is it possible you are accidentally picking up the Regina version of rxqueue? Yes, I think that is the problem (found a link on the Internet with the error message, which I posted and which overlapped with your message). Tha

Re: [Oorexx-devel] Question with ooRexx 5.0.0 and some error "Error:94.101 - Error connecting to 127.0.0.1 on port 5757: "No error"" while issuing a command

2023-01-10 Thread Rick McGuire
Just a shot in the dark, but is it possible you are accidentally picking up the Regina version of rxqueue? Rick On Tue, Jan 10, 2023 at 10:20 AM Rony G. Flatscher wrote: > Received the following rexxtry.rex session on a Windows 10 machine: > > C:\Users\Walter\Downloads\tmp\bsf4oorexx\install>*r

Re: [Oorexx-devel] Question with ooRexx 5.0.0 and some error "Error:94.101 - Error connecting to 127.0.0.1 on port 5757: "No error"" while issuing a command

2023-01-10 Thread Rony G. Flatscher
Possibly solved, cf. . According to the above URL it seems that Regina's rxqueue gets picked up and not ooRexx' rxqueue. ---rony On 10.01.2023 16:19, Rony G. Flatscher wrote: Received the following rexxtry.rex session on a Windows 10 machi

[Oorexx-devel] Question with ooRexx 5.0.0 and some error "Error:94.101 - Error connecting to 127.0.0.1 on port 5757: "No error"" while issuing a command

2023-01-10 Thread Rony G. Flatscher
Received the following rexxtry.rex session on a Windows 10 machine: C:\Users\Walter\Downloads\tmp\bsf4oorexx\install>*rexx rexxtry* REXX-ooRexx_*5.0.0*(MT)_64-bit 6.05 23 Dec 2022 rexxtry.rex lets you interactively try REXX statements. Each string is executed when you hit Enter. En

[Oorexx-devel] Question ad scripts ... (Re: At the end of the 5.0.0 release cycle and beyond ...

2023-01-02 Thread Rony G. Flatscher
On 02.01.2023 00:38, ooRexx wrote: On 1. Jan 2023, at 17:43, Rony G. Flatscher wrote: Brief info on today's work: * updating the tickets from "pending" and "accepted" with no open items to "closed": did not write a utility after finding out about "bulk-edit", all four categories got up

Re: [Oorexx-devel] Question ad updating copyright statement in sources

2022-12-23 Thread Rick McGuire
In general, we only update the copyrights in the source files if they have an update. It doesn't always get done, but it's ok if the files have different copyright dates. Rick On Fri, Dec 23, 2022 at 5:34 AM Rony G. Flatscher wrote: > Just noticed that there are plenty of files in the code area

[Oorexx-devel] Question ad updating copyright statement in sources

2022-12-23 Thread Rony G. Flatscher
Just noticed that there are plenty of files in the code area that have their copyright statements not updated to 2022. Question: shall we update the copyright notice there like we did for the documentation? If so, what patterns should we use for SysFileTree to look for existing copyright text

Re: [Oorexx-devel] Question ad copyright string

2022-12-23 Thread Rony G. Flatscher
On 23.12.2022 00:08, Chip Davis wrote: While I agree with Jon about readability, I scanned the web for "how to format a copyright notice" and found not a single example that used a comma (or any break besides a space) between the date and the copyright holder. Thank you too! As you both are n

Re: [Oorexx-devel] Question ad copyright string

2022-12-22 Thread Chip Davis
While I agree with Jon about readability, I scanned the web for "how to format a copyright notice" and found not a single example that used a comma (or any break besides a space) between the date and the copyright holder. -Chip- On 12/22/2022 11:59 AM, Sahananda Sahananda wrote: It reads bet

Re: [Oorexx-devel] Question ad copyright string

2022-12-22 Thread Sahananda Sahananda
It reads better WITH the comma imho, but then, who reads it? Jon On Thu, 22 Dec 2022 at 16:53, Rony G. Flatscher wrote: > While creating a little script that does bulk updates to the copyright > statements in all files I noticed that there are two styles in use, one > with a comma immediately f

[Oorexx-devel] Question ad copyright string

2022-12-22 Thread Rony G. Flatscher
While creating a little script that does bulk updates to the copyright statements in all files I noticed that there are two styles in use, one with a comma immediately following the year portion, one without that comma, e.g.: ooconsole/en-US/ooconsole.xml:10:# Copyright (c) 2014-2014 Rex

Re: [Oorexx-devel] Question ad release documentation ...

2022-12-21 Thread Rony G. Flatscher
Dear P.O., On 21.12.2022 11:24, ooRexx wrote: I have no objection to the changes below but I would like the revision information still visible somewhere in the beginning of each book; that is useful for trunk later on as the date may reflect the build date of the book so if it is built later (w

Re: [Oorexx-devel] Question ad release documentation ...

2022-12-21 Thread ooRexx
Dear Rony, I have no objection to the changes below but I would like the revision information still visible somewhere in the beginning of each book; that is useful for trunk later on as the date may reflect the build date of the book so if it is built later (without updating SVN) the date may b

[Oorexx-devel] Question ad release documentation ...

2022-12-20 Thread Rony G. Flatscher
While updating the documentation ent files for trunk I also changed the date related information. The ent (entity files) contain the following book/version related information, here from "rexxapi/en-US/rexxapi.ent": ... cut ... I suggest to change this for all rele

Re: [Oorexx-devel] Question ad redirection handlers and input, output, error ...

2022-09-03 Thread Rony G. Flatscher
On 03.09.2022 11:26, Rick McGuire wrote: Nothing. If redirection is not active, then ooRexx is not handling the input and output. Thanks. ---rony ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/

Re: [Oorexx-devel] Question ad redirection handlers and input, output, error ...

2022-09-03 Thread Rick McGuire
Nothing. If redirection is not active, then ooRexx is not handling the input and output. Rick On Sat, Sep 3, 2022 at 5:21 AM Rony G. Flatscher wrote: > In a redirection handler it may be the case that redirection is not active > for the invocation > (isRedirectionRequested() returns false). > >

[Oorexx-devel] Question ad redirection handlers and input, output, error ...

2022-09-03 Thread Rony G. Flatscher
In a redirection handler it may be the case that redirection is not active for the invocation (isRedirectionRequested() returns false). Question: if redirection is not active, what happens if one still uses ReadInput[Buffer](), WriteOutput[Buffer](), WriteError[Buffer]()? Will ReadInput[Buffer]

Re: [Oorexx-devel] Question ad exit "1.15.2.4. RXCMD"

2022-08-30 Thread Rony G. Flatscher
On 30.08.2022 18:11, Rick McGuire wrote: On Tue, Aug 30, 2022 at 11:07 AM Rony G. Flatscher wrote: While testing a RXMCD exit, implemented in Java and preconfigured for the Rexx instance, commands trigger the exit, however the DLL information is not supplied, but empty (expecting

Re: [Oorexx-devel] Question ad exit "1.15.2.4. RXCMD"

2022-08-30 Thread Rick McGuire
On Tue, Aug 30, 2022 at 11:07 AM Rony G. Flatscher wrote: > While testing a RXMCD exit, implemented in Java and preconfigured for the > Rexx instance, commands trigger the exit, however the DLL information is > not supplied, but empty (expecting "BSF4ooRexx850.dll" as that is the > library that c

[Oorexx-devel] Question ad exit "1.15.2.4. RXCMD"

2022-08-30 Thread Rony G. Flatscher
While testing a RXMCD exit, implemented in Java and preconfigured for the Rexx instance, commands trigger the exit, however the DLL information is not supplied, but empty (expecting "BSF4ooRexx850.dll" as that is the library that contains the callback function).  Also, trying it with AddCommandE

Re: [Oorexx-devel] Question ad ADDRESS keyword statement

2022-08-25 Thread Rony G. Flatscher
On 25.08.2022 17:35, Rick McGuire wrote: No, it should not, at least not the way you are expecting. This falls into the address expression branch of the syntax diagram, which can only be used to change the current address target and not to issue a command. The new address environment is set to

Re: [Oorexx-devel] Question ad ADDRESS keyword statement

2022-08-25 Thread Rick McGuire
No, it should not, at least not the way you are expecting. This falls into the address expression branch of the syntax diagram, which can only be used to change the current address target and not to issue a command. The new address environment is set to "TEST ping", the result of evaluating the e

[Oorexx-devel] Question ad ADDRESS keyword statement

2022-08-25 Thread Rony G. Flatscher
Should the following ADDRESS statement work? environment="TEST" say 'environment:' pp(environment) say .line "command:" pp(sourceline(.line+1)) *address (environment) "ping"* say " RC:" pp(rc) ".rs="pp(.rs) "| RESULT="pp(result) Running the above ADDRESS keyword statement seem

Re: [Oorexx-devel] Question ad ReadInputBuffer

2022-08-22 Thread Rony G. Flatscher
On 22.08.2022 20:39, Rick McGuire wrote: Yes, all of the lines get terminated by an eol marker. Thank you! ---rony ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Re: [Oorexx-devel] Question ad ReadInputBuffer

2022-08-22 Thread Rick McGuire
Yes, all of the lines get terminated by an eol marker. Rick On Mon, Aug 22, 2022 at 2:10 PM Rony G. Flatscher wrote: > When reading with ReadInputBuffer() from input that has only one element, > then this function appends > .endOfLine nevertheless. Eg. a single input item like the string "one"

[Oorexx-devel] Question ad ReadInputBuffer

2022-08-22 Thread Rony G. Flatscher
When reading with ReadInputBuffer() from input that has only one element, then this function appends .endOfLine nevertheless. Eg. a single input item like the string "one" becomes "one"||.endofline Is this intentionally? ---rony ___ Oorexx-devel m

Re: [Oorexx-devel] Question ad Write{Output|Error}Buffer

2022-08-19 Thread Erich Steinböck
> > how about using WriteOutput()/WriteError() to supply binary data? WriteOutput and WriteError write the supplied data unmodified to any redirection object. ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/

Re: [Oorexx-devel] Question ad Write{Output|Error}Buffer

2022-08-18 Thread Rony G. Flatscher
Hmm, how about using WriteOutput()/WriteError() to supply binary data? It seems that these characters are not undergoing any post-processing, unless perhaps more than one line gets written and the output/error is a stream? --- Ad UTF-8 sample: there was an incomplete copy/paste, here the comp

Re: [Oorexx-devel] Question ad Write{Output|Error}Buffer

2022-08-18 Thread Rony G. Flatscher
On 18.08.2022 12:24, Rick McGuire wrote: The data written is split at linend boundaries. Thank you for the clarification! One remark ad codepage here (as Strings in Java are always codepage related): if there is UTF-16 or UTF-32 text exchanged then it may be the case that LF and CR-LF charact

Re: [Oorexx-devel] Question ad Write{Output|Error}Buffer

2022-08-18 Thread Rick McGuire
The data written is split at linend boundaries. Rick On Thu, Aug 18, 2022 at 6:01 AM Rony G. Flatscher wrote: > The Write{Output|Error}Buffer API states: > > Adds a string composed of strings separated by the platform-specfic > line-end characters as separate > items or lines to an output redir

[Oorexx-devel] Question ad Write{Output|Error}Buffer

2022-08-18 Thread Rony G. Flatscher
The Write{Output|Error}Buffer API states: Adds a string composed of strings separated by the platform-specfic line-end characters as separate items or lines to an output redirection Rexx object that was specified using the WITH subkeyword of an ADDRESS instruction. Is there any proces

Re: [Oorexx-devel] Question ad new ThrowException API...

2022-08-13 Thread Rick McGuire
On Sat, Aug 13, 2022 at 10:44 AM Rony G. Flatscher wrote: > On 13.08.2022 15:16, Rick McGuire wrote: > > On Sat, Aug 13, 2022 at 8:45 AM Rony G. Flatscher > wrote: > >> E.g. rxapi.pdf "1.17.189. *NEW* ThrowException/0/1/2" states: "Throw a >> SYNTAX condition. The API call doesn't return and the

Re: [Oorexx-devel] Question ad new ThrowException API...

2022-08-13 Thread Rony G. Flatscher
On 13.08.2022 15:16, Rick McGuire wrote: On Sat, Aug 13, 2022 at 8:45 AM Rony G. Flatscher wrote: E.g. rxapi.pdf "1.17.189. *NEW* ThrowException/0/1/2" states: "Throw a SYNTAX condition. The API call doesn't return and the current method, routine, or exit is exited immediately.".

Re: [Oorexx-devel] Question ad new ThrowException API...

2022-08-13 Thread Rick McGuire
On Sat, Aug 13, 2022 at 8:45 AM Rony G. Flatscher wrote: > E.g. rxapi.pdf "1.17.189. *NEW* ThrowException/0/1/2" states: "Throw a > SYNTAX condition. The API call doesn't return and the current method, > routine, or exit is exited immediately.". > > Testing ThrowException1() however will end the

[Oorexx-devel] Question ad new ThrowException API...

2022-08-13 Thread Rony G. Flatscher
E.g. rxapi.pdf "1.17.189. *NEW* ThrowException/0/1/2" states: "Throw a SYNTAX condition. The API call doesn't return and the current method, routine, or exit is exited immediately.". Testing ThrowException1() however will end the running Rexx program immediately not the current call, here the c

Re: [Oorexx-devel] Question ad parsing

2022-06-08 Thread Rony G. Flatscher
On 6/8/2022 4:58 PM, Rick McGuire wrote: The triggers get applied first, then things get broken in words using the variable list. The +2 trigger matches to the second position, "c ", which is then broken into words and assigned to the variables. I see, thank you! ---rony On Wed, Jun 8, 202

Re: [Oorexx-devel] Question ad parsing

2022-06-08 Thread Rick McGuire
The triggers get applied first, then things get broken in words using the variable list. The +2 trigger matches to the second position, "c ", which is then broken into words and assigned to the variables. Rick On Wed, Jun 8, 2022 at 10:51 AM Rony G. Flatscher wrote: > Consider the following: >

[Oorexx-devel] Question ad parsing

2022-06-08 Thread Rony G. Flatscher
Consider the following: parse value "c fgh" with v1 v2 ... rexxtry.rex on WindowsNT say "v1=["v1"] v2=["v2"]" v1=[c] v2=[fgh] ... rexxtry.rex on WindowsNT parse value "c fgh" with v1 v2 +2

Re: [Oorexx-devel] Question ad new .Message methods reply/replyWith

2022-05-19 Thread Rick McGuire
Those are not equivalent. The target message object is updated with the supplied arguments and the copy is made after the update. The original message object has a copy of the arguments used for the invocation. Rick On Thu, May 19, 2022 at 4:21 AM Rony G. Flatscher wrote: > While going through

[Oorexx-devel] Question ad new .Message methods reply/replyWith

2022-05-19 Thread Rony G. Flatscher
While going through the send/With and start/With methods I "stumbled" over reply/With which I was not aware of that they got added. If understanding correctly, then reply/With is the same as start/With just creating a copy of the target message object to dispatch. If so, the same effect can be

Re: [Oorexx-devel] Question ad "samples\ole\adsi\adsi{1|3|4}.rex"

2022-05-03 Thread Rony G. Flatscher
On 02.05.2022 21:06, Rick McGuire wrote: On Mon, May 2, 2022 at 1:19 PM Rony G. Flatscher wrote: Currently "samples\ole\adsi\adsi4.rex" looks like: /***/ /* ADSI Sample 4:

Re: [Oorexx-devel] Question ad "samples\ole\adsi\adsi{1|3|4}.rex"

2022-05-02 Thread Rick McGuire
On Mon, May 2, 2022 at 1:19 PM Rony G. Flatscher wrote: > Currently "samples\ole\adsi\adsi4.rex" looks like: > > /***/ > /* ADSI Sample 4: */ > /*

[Oorexx-devel] Question ad "samples\ole\adsi\adsi{1|3|4}.rex"

2022-05-02 Thread Rony G. Flatscher
Currently "samples\ole\adsi\adsi4.rex" looks like: /***/ /* ADSI Sample 4: */ /* */ /* Using filters with AD

Re: [Oorexx-devel] Question ad triggering garbage collector

2022-04-24 Thread Rony G. Flatscher
On 24.04.2022 19:57, Rick McGuire wrote: A garbage collection is triggered any time an allocation request fails. At that time, all of the unreferenced objects are swept up and repooled and the allocation request is retried. The uninits on objects that have been identified as unreferenced will ge

Re: [Oorexx-devel] Question ad triggering garbage collector

2022-04-24 Thread Rick McGuire
A garbage collection is triggered any time an allocation request fails. At that time, all of the unreferenced objects are swept up and repooled and the allocation request is retried. The uninits on objects that have been identified as unreferenced will get run at the next "safe" boundary, which is

[Oorexx-devel] Question ad triggering garbage collector

2022-04-24 Thread Rony G. Flatscher
Trying to analyze runtime behaviours using a rexxtry.rex session in which BSF objects get created, some of which do not get assigned to Rexx variables (and hence turning to garbage after the respective statement got executed). Creating over and over BSF-ooRexx objects that do not get referenced

Re: [Oorexx-devel] Question ad new native API w.r.t. command environments

2022-03-23 Thread Rony G. Flatscher
On 22.03.2022 13:22, Rony G. Flatscher wrote: > The new native API "context->AddCommandEnvironment(name, handler, type);" > allows one to add a new > command environment in 5.0 at runtime according to rexxapi.pdf. > > Is it possible to do the opposite, i.e. remove such a command environment as >

[Oorexx-devel] Question ad new native API w.r.t. command environments

2022-03-22 Thread Rony G. Flatscher
The new native API "context->AddCommandEnvironment(name, handler, type);" allows one to add a new command environment in 5.0 at runtime according to rexxapi.pdf. Is it possible to do the opposite, i.e. remove such a command environment as well? ---rony __

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-24 Thread Rony G. Flatscher
Erich, On 24.01.2022 15:03, Erich Steinböck wrote: > METAVERSION was already changed to 42 for 5.0 METAVERSION gets changed each time the compiled image changes structurally as the comment "// gets updated when internal form changes" clearly states, it is not dependent on a change in the offici

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-24 Thread P. O. Jonsson
And 42 is a very nice number ;-) Von meinem iPhone gesendet > Am 24.01.2022 um 16:55 schrieb Erich Steinböck : > >  > Hi Jon, > correct. No further change should be done as METAVERSION has already been > increased for 5.0. > > ___ > Oorexx-devel mai

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-24 Thread Erich Steinböck
Hi Jon, correct. No further change should be done as METAVERSION has already been increased for 5.0. ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-24 Thread Sahananda Sahananda
Hi Erich, Can you just be clear for my understanding please. Are you saying that Rony should not change the METAVERSION from 42 to 43, and should leave it at 42? thanks, Jon On Mon, 24 Jan 2022 at 14:04, Erich Steinböck wrote: > Rony, > METAVERSION was already changed to 42 for 5.0 > no doubl

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-24 Thread Erich Steinböck
Rony, METAVERSION was already changed to 42 for 5.0 no double patch please ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-24 Thread Rony G. Flatscher
Dear P.O., On 24.01.2022 13:17, P.O. Jonsson wrote: > I have no comments on the change itself, but could you please wait a day or > two with this change? > We are experiencing problems with the Jenkins build system at the moment. I > will let you know when > it has been fixed. Sure, good luck w

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-24 Thread P.O. Jonsson
Dera Rony, I have no comments on the change itself, but could you please wait a day or two with this change? We are experiencing problems with the Jenkins build system at the moment. I will let you know when it has been fixed. Hälsningar/Regards/Grüsse, P.O. Jonsson oor...@jonases.se > Am 24

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-24 Thread Rony G. Flatscher
This is the planned patch to bump the image version: F:\work\svn\oorexx\main\trunk\interpreter\classes\support>svn diff Index: ProgramMetaData.hpp === --- ProgramMetaData.hpp (revision 12347) +++ ProgramMetaData.hp

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-20 Thread Rony G Flatscher
> Am 20.01.2022 um 19:25 schrieb Rick McGuire : > >  > Yes they do. Thank you! Shouldn‘t we bump the imageversion (?) field then such that running previous image versions yield a runtime error? —-rony Rony G. Flatscher (mobil/e) > >> On Thu, Jan 20, 2022 at 12:52 PM Rony G. Flatscher >>

Re: [Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-20 Thread Rick McGuire
Yes they do. On Thu, Jan 20, 2022 at 12:52 PM Rony G. Flatscher wrote: > At the end of November there were the following changes to > interpreter/classes/support/ProgramMetaData.{c|h}pp (rev 12325 and rev > 12327, "svn diff -r PREV ProgramMetaData.*") : > > Index: ProgramMetaData.cpp > > ===

[Oorexx-devel] Question ad changes to ProgramMetaData.{c|h}pp

2022-01-20 Thread Rony G. Flatscher
At the end of November there were the following changes to interpreter/classes/support/ProgramMetaData.{c|h}pp (rev 12325 and rev 12327, "svn diff -r PREV ProgramMetaData.*") : Index: ProgramMetaData.cpp === --- Program

Re: [Oorexx-devel] Question ad Apple versions

2021-10-28 Thread Mark Hessling
I have updated my M1 Mac that is used by Jenkins to Monterey, so feel free to try the build again. Everything else seems to run fine. Cheers, Mark On 29/10/21 1:16 am, P. O. Jonsson wrote: > Dear Rony, > > My advise would be to wait for the first major update release, i.e. 12.1. I > have burned

  1   2   3   4   5   6   >