[Oorexx-devel] Ad motivation of testing the security manager

2017-01-04 Thread Rony G. Flatscher
Currently I am completing new features in BSF4ooRexx (Java bridge for ooRexx). One important new feature is making ooRexx available as a javax.script language (a Java scripting language). In that context it may become important to execute ooRexx programs in a sandbox for which the ooRexx securit

[Oorexx-devel] (Conceptual?) Bug introduced into ooRexx that hinders intercepting "::requires" with security manager ?

2017-01-09 Thread Rony G. Flatscher
The security manager's example in chapter 13 used to work on the "::requires" statement as well, sometimes in the past, if my memory serves me right. Analyzing what happens it becomes clear that .method~new, .method~newfile, .routine~new and .routine~newfile will initialize the supplied code (re

[Oorexx-devel] Seeking a beta of 5.0.0 for MacOSX

2017-01-18 Thread Rony G. Flatscher
Does anyone know of a MacOSX build of ooRexx 5.0.0 (beta) and where to download it? If not, where can one get the build directions for 5.0.0 on MacOSX? TIA, ---rony -- Check out the vibrant tech community on one of t

Re: [Oorexx-devel] Seeking a beta of 5.0.0 for MacOSX

2017-01-18 Thread Rony G. Flatscher
OK, found the compile instructions in "oorexx/main/trunk/CMake-build-readme.txt". ---rny On 18.01.2017 15:31, Rony G. Flatscher wrote: > Does anyone know of a MacOSX build of ooRexx 5.0.0 (beta) and where to > download it? > > If not, where can one get the build directio

Re: [Oorexx-devel] Seeking a beta of 5.0.0 for MacOSX

2017-01-18 Thread Rony G. Flatscher
local/lib. ---rony > >> On Jan 18, 2017, at 9:18 AM, Rony G. Flatscher >> wrote: >> >> OK, found the compile instructions in >> "oorexx/main/trunk/CMake-build-readme.txt". >> >> ---rny >> >>> On 18.01.2017 15:31, Rony G. Flatsche

[Oorexx-devel] New version of BSF4ooRexx (v600.20170122), including a 64-Bit Apple package

2017-01-22 Thread Rony G. Flatscher
Hi there, a new version of the ooRexx-Java-bridge "BSF4ooRexx" has been uploaded to including a zipped Apple installation package (so you can get your hands on the ooRexx 5.0.0beta on MacOSX as well with b4r_600_500_65Bit_macosx

Re: [Oorexx-devel] New version of BSF4ooRexx (v600.20170122), including a 64-Bit Apple package

2017-01-23 Thread Rony G. Flatscher
Hi Jack, On 23.01.2017 01:51, Jack Woehr wrote: > Just downloaded but when I unzip the packages says it is OORexx 4.2.0, not > 5.0.0 > > Rony G. Flatscher wrote: >> >> Hi there, >> >> a new version of the ooRexx-Java-bridge "BSF4ooRexx" has been upl

[Oorexx-devel] Question ad allowing to link to librexx[api].{so|dylib} for ooRexx 4.2 and 5.0 at the same time

2017-01-23 Thread Rony G. Flatscher
While working on a new version of BSF4ooRexx library there is a need to link against ooRexx 4.2 and ooRexx 5.0 beta. On Linux and MacOSX I have been linking *without* any version numbers, i.e. with the flags Linux (g++): -lrexx -lrexxapi -lrexxutil MacOSX (gcc-alias for Clang): $(ORX_L

Re: [Oorexx-devel] [Bsf4oorexx-devel] New version of BSF4ooRexx (v600.20170122), including a 64-Bit Apple package

2017-01-23 Thread Rony G. Flatscher
Hi Jack, On 23.01.2017 15:45, Jack Woehr wrote: > Rony G. Flatscher wrote: >> >> One thing everyone can do to test the installation and the information: >> choose the menu on MacOSX >> "BSF4ooRexx -> Open Object Rexx -> ooRexxTry" on the other systems

[Oorexx-devel] Ad Mac installation ...(Re: [Bsf4oorexx-devel] New version of BSF4ooRexx (v600.20170122), including a 64-Bit Apple package

2017-01-23 Thread Rony G. Flatscher
Hi Jack, On 23.01.2017 15:55, Jack Woehr wrote: > Jack Woehr wrote: >> Rony G. Flatscher wrote: >>> One thing everyone can do to test the installation and the information > Oops, I found the jar ... forgot that Sierra moves everything to /Library > instead of /System/Li

[Oorexx-devel] ooRexx 4.2.0 having a problem ooRexx 5.0.0 does not have ...

2017-01-23 Thread Rony G. Flatscher
While working on the new version of BSF4ooRexx I created a rather complex GUI application with JavaFX (samples/JavaFX/fxml_03/MainApp.rex) that causes a runtime error with 4.2.0. It seems that looking up directories causes at one point to return a wrong object. (The application heavily uses mult

Re: [Oorexx-devel] [Bsf4oorexx-devel] New version of BSF4ooRexx (v600.20170122), including a 64-Bit Apple package

2017-01-24 Thread Rony G. Flatscher
On 23.01.2017 16:18, Jack Woehr wrote: > Rony G. Flatscher wrote: >> It should be in the Application folder: "ooRexx" >> ("/Applications/ooRexx.app"). Opening it should bring up the >> mentioned BSF4ooRexx menu and you should be able to run the ooRexxTry

Re: [Oorexx-devel] [Bsf4oorexx-devel] Ad Mac installation ...(Re: New version of BSF4ooRexx (v600.20170122), including a 64-Bit Apple package

2017-01-24 Thread Rony G. Flatscher
On 23.01.2017 17:16, Jack Woehr wrote: > Rony G. Flatscher wrote: >> important to see, whether it works for everyone else as well and what kind >> of problems (including >> "usability") problems that might be still there. So I appreciate your >> e

[Oorexx-devel] Ad /usr/lib[64]/librexx*.so.* (Re: Question ad allowing to link to librexx[api].{so|dylib} for ooRexx 4.2 and 5.0 at the same time

2017-01-25 Thread Rony G. Flatscher
ibrexx.so.2 and /usr/lib/librexx.so3). Helpful information on so-version numbers can be found e.g. at <http://stackoverflow.com/questions/12637841/what-is-the-soname-option-for-building-shared-libraries-for>. ---rony On 23.01.2017 15:48, Rony G. Flatscher wrote: > > While working

Re: [Oorexx-devel] Ad /usr/lib[64]/librexx*.so.* (Re: Question ad allowing to link to librexx[api].{so|dylib} for ooRexx 4.2 and 5.0 at the same time

2017-01-26 Thread Rony G. Flatscher
xrwx 1 root root 23 Feb 24 2014 librexxutil.so.3 -> > /usr/lib/librexxutil.so > lrwxrwxrwx 1 root root 23 Feb 24 2014 librexxutil.so.4 -> > /usr/lib/librexxutil.so > -rw-r--r-- 1 root root66576 Dec 29 2013 librexxutil.so.4.0.6 > > > S

Re: [Oorexx-devel] Ad /usr/lib[64]/librexx*.so.* (Re: Question ad allowing to link to librexx[api].{so|dylib} for ooRexx 4.2 and 5.0 at the same time

2017-01-26 Thread Rony G. Flatscher
Hi Michael, On 26.01.2017 14:31, Michael Lueck wrote: > Rony G. Flatscher wrote: >> Maybe I should file a bug/RFE > Yes please. Either pass along the number when you file it, or feel free to > copy in what I added. ah, o.k.: *[bugs:#1421] <https://sourceforge.net/p/oorexx/bugs

Re: [Oorexx-devel] Getting Started Questions - Update #3

2017-02-04 Thread Rony G. Flatscher
Gil: thank you very much for your update! Will be interested in your final solution, also in your findings and examples using CMake, as I have not had time to look into that corner. Would it be possible that you write an ooRexx-Sourceforge blog about your work, findings and solutions? ---rony

Re: [Oorexx-devel] Ad /usr/lib[64]/librexx*.so.* (Re: Question ad allowing to link to librexx[api].{so|dylib} for ooRexx 4.2 and 5.0 at the same time

2017-02-04 Thread Rony G. Flatscher
ibDir || lib[1]"."i -- fully qualified name of needed symbolic link if sysFileExists(newLink) then iterate -- link exists already say cmd baseName newLink -- show command to create the needed symbolic link for copy and paste end end say end ::routine pp return "[&quo

[Oorexx-devel] Obsevervation ad Linux 5.0beta version as of f 2017-01-31

2017-02-04 Thread Rony G. Flatscher
Just noticed that a new beta drop for Linux is available at sourceforge (cf. ) as "ooRexx-5.0.0-0.ubuntu1604.x86_64.deb". However, when installing on Ubuntu 16.04 LTS the package manager states "The package is of bad quality" and re

[Oorexx-devel] Update (New BSF4ooRexx beta, supporting JavaFX for easying cross-platform GUI programming ...

2017-02-04 Thread Rony G. Flatscher
ion as well as samples (load the "index.html" files there to get brief descriptions) and utilities. ---rony On 24.11.2016 19:42, Rony G. Flatscher wrote: > A short while ago I uploaded a new beta of BSF4ooRexx to Sourceforge: > <https://sourceforge.net/projects/bsf4oorexx/files/bet

[Oorexx-devel] "Debugging ooRexx for Dummies" ?

2017-02-13 Thread Rony G. Flatscher
Hi there, after researching a little bit, I was not really able to locate a brief list of steps to undertake to debug ooRexx. What would be the minimal steps one has to take to become able to debug ooRexx itself? E.g. 1. create a debug-version of ooRexx (how?) 2. if an exception occurs, how

Re: [Oorexx-devel] "Debugging ooRexx for Dummies" ?

2017-02-13 Thread Rony G. Flatscher
Rick, thank you *very* much for this quick, valuable and helpful information! ---rony On 13.02.2017 13:35, Rick McGuire wrote: > > > On Mon, Feb 13, 2017 at 7:23 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > Hi there, > > after resea

Re: [Oorexx-devel] "Debugging ooRexx for Dummies" ?

2017-02-13 Thread Rony G. Flatscher
Erich, thank you *very* much as well, highly appreciated! On 13.02.2017 14:00, Erich Steinböck wrote: > for ooRexx 5.0 you create a Debug-Version by adding -DCMAKE_BUILD_TYPE=DEBUG > (or > -DCMAKE_BUILD_TYPE=RELWITHDEBINFO) to the build step (I've added a brief > description of how to > build o

[Oorexx-devel] Little update (Re: "Debugging ooRexx for Dummies" ?

2017-02-14 Thread Rony G. Flatscher
On 13.02.2017 21:28, Erich Steinböck wrote: > Rony, I've built a 5.0 32-bit Debug installer and uploaded it to our files > section as > oorexx/5.0.0beta/ooRexx.5.0.0.0-x86_32-debug.exe Thank you *very* much for the debug build! Still trying to set up the environment to have both functional, Rexx

Re: [Oorexx-devel] Little update (Re: "Debugging ooRexx for Dummies" ?

2017-02-14 Thread Rony G. Flatscher
Not sure whether that was the function that caused the exception. ---rony On 14.02.2017 16:51, Rony G. Flatscher wrote: > On 13.02.2017 21:28, Erich Steinböck wrote: >> Rony, I've built a 5.0 32-bit Debug installer and uploaded it to our files >> section as >> o

Re: [Oorexx-devel] Little update (Re: "Debugging ooRexx for Dummies" ?

2017-02-14 Thread Rony G. Flatscher
On 14.02.2017 20:56, Erich Steinböck wrote: > | If you have ideas what to look for in Visual Studio once I am able to get > the debugging working, > I would appreciate it > As Rick wrote: examine the thread/call stack > > If this is another case of an object getting garbage-collected before being

[Oorexx-devel] What to return after a context->RaiseException from an external Rexx function ?

2017-02-15 Thread Rony G. Flatscher
Just wondering: what should one return from an external Rexx function in which a context->RaiseException() was called? E.g. ... cut ... context->RaiseException(Rexx_Error_Incorrect_call_user_defined, ra); context->ReleaseLocalReference(ra); return NULL; ... cut ... Returning NULL/NULLOB

Re: [Oorexx-devel] What to return after a context->RaiseException from an external Rexx function ?

2017-02-15 Thread Rony G. Flatscher
On 15.02.2017 16:01, Rick McGuire wrote: > Because you've raised an exception, any return value is ignored, so it > doesn't make any difference. Great, thank you very much! ---rony > > > On Wed, Feb 15, 2017 at 9:58 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu

[Oorexx-devel] Are there any problems with ssh and Sourceforge at the moment?

2017-02-19 Thread Rony G. Flatscher
Hi there, have tried to update the oorexx source code using "svn update", but unfortunately, this does not work all of a sudden for me. Here is the Windows copy & paste of the "svn update" with the error messages. F:\work\svn\oorexx>svn update Updating '.': svn: E170013: Unable to connect

Re: [Oorexx-devel] Are there any problems with ssh and Sourceforge at the moment?

2017-02-19 Thread Rony G. Flatscher
e now > needs to use https to access the svn. > > I'm a bit of a naive SVN user. Rick helped me set up tortoise and it has > more or less worked ever > since. > > Guidance would be appreciated. > > Jon > > > > On 19 February 2017 at 15:33, Rony G. Fla

Re: [Oorexx-devel] Are there any problems with ssh and Sourceforge at the moment?

2017-02-19 Thread Rony G. Flatscher
check your computer’s network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web." Maybe just the svn.code.sf.net server is down. ---rony On 19.02.2017 17:24, Rony G. Flatscher wrote: > > Jon: &g

[Oorexx-devel] "__pfnDliFailureHook2": redefnition; different modifiers

2017-02-19 Thread Rony G. Flatscher
After copying manually the oorexx sourcecode from Mac (version as of December 16th, 2016), I have started to create a debug version of 32-bit oorexx on Windows. However, when compiling "oodPackageEntry.cpp" the following error occurs and the building stops: [ 85%] Building CXX object C

[Oorexx-devel] Ad exception problem, a first stack trace

2017-02-19 Thread Rony G. Flatscher
Running with the debug version (not yet with the Visual Studio debugger, still have to get acquainted with it) of ooRexx the exception still occurs, however the Java exception information takes advantage of the symbols, such that one can see the function names in the stack trace (below). It woul

Re: [Oorexx-devel] Ad exception problem, a first stack trace

2017-02-19 Thread Rony G. Flatscher
it was not properly > protected. That's probably > where you should start looking. > > Rick > > On Sun, Feb 19, 2017 at 1:08 PM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > Running with the debug version (not yet with the Visual Studio de

Re: [Oorexx-devel] Ad exception problem, a first stack trace

2017-02-20 Thread Rony G. Flatscher
sageArray() > does not make a copy > of that array, but rather just uses the array directly. If you make a call > out to your code and it > reuses the array for another callback into Rexx, then you will have clobbered > the original > arguments. If the problem

Re: [Oorexx-devel] Now thread about debugging this

2017-02-21 Thread Rony G. Flatscher
This is what I did: double-clicked on the top stack frame, came to RexxMemory.cpp, line 256, code: "markObject->live(liveMark);". Placing the cursor on "markObject", the following information could be fetched: markObject = 0x7e7cf780 {settings={traps=0x7e7cf8b8 {...} conditionObj=0x pa

Re: [Oorexx-devel] Now thread about debugging this

2017-02-21 Thread Rony G. Flatscher
On 21.02.2017 16:37, Rick McGuire wrote: > > > On Tue, Feb 21, 2017 at 10:20 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > This is what I did: double-clicked on the top stack frame, came to > RexxMemory.cpp, line 256, > code: "ma

Re: [Oorexx-devel] sourceforge down

2017-02-22 Thread Rony G. Flatscher
On 21.02.2017 19:04, Chip Davis wrote: > It appears that Rony works so hard, he's vaulted himself more than a > week ahead of the rest of us. :-)) 8) [Well, the last weeks were a little bit ... exhaustive, 7 days, 12-14 hours...] > > On 2/21/2017 3:35 AM, René Jansen wrote: >> Thanks Rony. I sh

[Oorexx-devel] Tuesday (Re: Now thread about debugging this

2017-02-22 Thread Rony G. Flatscher
Went again thru the BSF4ooRexx code. Have not found anything, however a few observations: * When doing a RequestGlobalReference() on the argument array *and* its sole entry, then the program ran to the end without a problem. * Adding additional output statements (that also caused more c

[Oorexx-devel] Question ad GetAllContextVariables()

2017-02-22 Thread Rony G. Flatscher
While going thru the code I "stumbled" over the "excessive" use of GetAllContextVariables(). There is an external Rexx function in BSF4ooRexx that uses that API and immediately returns the directory it gets from GetAllContextVariables(). So I was wondering, whether it makes sense to look into t

Re: [Oorexx-devel] Question ad GetAllContextVariables()

2017-02-22 Thread Rony G. Flatscher
bles with ScriptContext attributes, if one would automatically incorporate those attributes automaticalls.) ---rony > > > On Wed, Feb 22, 2017 at 6:33 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > While going thru the code I "

Re: [Oorexx-devel] Tuesday (Re: Now thread about debugging this

2017-02-22 Thread Rony G. Flatscher
Thread [stack: 0x1595,0x159d] [id=11916] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Would that help in any way? ---rony On 22.02.2017 12:18, Rony G. Flatscher wrote: > > Went again thru the BSF4ooRexx code. Have not found any

[Oorexx-devel] Another, maybe interesting observation

2017-02-22 Thread Rony G. Flatscher
O.K., this may be a little bit weird: I can manage to have the test code run without an exception, repeatedly! Background: in the native code I have many, many output statements to stderr for debugging (tons over the years, controlled by defines) in the form of, e.g: fprintf(stderr, "...\t\

Re: [Oorexx-devel] Another, maybe interesting observation

2017-02-22 Thread Rony G. Flatscher
On 22.02.2017 15:40, Rick McGuire wrote: > > > On Wed, Feb 22, 2017 at 9:33 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > O.K., this may be a little bit weird: I can manage to have the test code > run without an > exception, repeated

Re: [Oorexx-devel] Another, maybe interesting observation

2017-02-22 Thread Rony G. Flatscher
On 22.02.2017 15:44, Rick McGuire wrote: > > > On Wed, Feb 22, 2017 at 9:33 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > O.K., this may be a little bit weird: I can manage to have the test code > run without an > exception, repeated

Re: [Oorexx-devel] Another, maybe interesting observation

2017-02-22 Thread Rony G. Flatscher
Is there anything I could do to provide information that could help solve this problem, or is enough already known? ---rony On 22.02.2017 15:48, Rony G. Flatscher wrote: > > On 22.02.2017 15:44, Rick McGuire wrote: >> >> >> On Wed, Feb 22, 2017 at 9:

[Oorexx-devel] Announcement Fwd: ooRexx IDE Plugin

2017-03-06 Thread Rony G. Flatscher
Dear all: forwarding this interesting announcement to mailing-lists that may have an active interest in this. Please forward this to your "Rexx-neighbourhoods" and friends for feedback, if you can. The author of this plugin, Alexander Seik, will be monitoring the (to subscribe point your brow

Re: [Oorexx-devel] Another, maybe interesting observation

2017-03-12 Thread Rony G. Flatscher
Has there been any success in tracking this down so far? Is there anything I could/should do in the meantime to help solve this problem? ---rony On 22.02.2017 21:28, Rony G. Flatscher wrote: > > Is there anything I could do to provide information that could help solve > this probl

[Oorexx-devel] Maybe another observation (Re: Another, maybe interesting observation

2017-03-14 Thread Rony G. Flatscher
from Java HTH, ---rony On 12.03.2017 13:41, Rony G. Flatscher wrote: > Has there been any success in tracking this down so far? Is there anything I > could/should do in > the meantime to help solve this problem? > > ---rony > > On 22.02.2017 21:28, Rony G. Flatscher wrote:

[Oorexx-devel] CMake for MacOSX does not copy rexx.cat to bin

2017-04-03 Thread Rony G. Flatscher
When creating ooRexx on the MacOSX platform "rexx.cat" does not get copied to the target dir "bin" like all the other binaries (and libs). How would one have to adjust CMakeLists.txt to cause "rexx.cat" to be copied to the "bin" directory once generated? ---rony -

Re: [Oorexx-devel] Unix shells

2017-04-20 Thread Rony G. Flatscher
Just another remark/question in this context. On Unix operating systems there is an environment variable SHELL defined that gives the fully qualified path to the shell program. AFAIUI this is meant to be the default shell to be used for executing shell scripts, if there is no hashbang line in a

[Oorexx-devel] Ad "Error 5: System resources exhausted."

2017-04-26 Thread Rony G. Flatscher
A student is using BSF4ooRexx to parse a huge XML file using Java's SAX parser. The SAX (simple API for XML) works with a callback concept. In order to be eligible for these SAX callbacks the ContentHandler interface mus

Re: [Oorexx-devel] Ad "Error 5: System resources exhausted."

2017-04-26 Thread Rony G Flatscher
. ---rony Rony G. Flatscher (mobil/e) > Am 26.04.2017 um 22:11 schrieb Rick McGuire : > > > >> On Wed, Apr 26, 2017 at 4:07 PM, Rony wrote: >> Erich, >> >> could it be that there is not enough stack space llocated? > > This error only is issued for a

Re: [Oorexx-devel] Ad "Error 5: System resources exhausted."

2017-04-26 Thread Rony G Flatscher
Thank you. Will use that (and the ProcessExplorer) on Windows. ---rony Rony G. Flatscher (mobil/e) > Am 26.04.2017 um 23:19 schrieb Erich Steinböck : > > | There is enough physical memory available on the machine. > Not sure what you mean with "enough". > > | Is t

[Oorexx-devel] Some numbers (Re: Ad "Error 5: System resources exhausted."

2017-04-27 Thread Rony G. Flatscher
quot;Kernel Time" of 0:01:10.184 + "User Time" of 2.32.57.960 + "Total Time" of 2:34:08.144 + "Cycles": 23.898.290.997.693 Will check the BSF4ooRexx call and code paths. ---rony On 26.04.2017 20:28, Rony G. Flatscher wrote: > > A

Re: [Oorexx-devel] Some numbers (Re: Ad "Error 5: System resources exhausted."

2017-04-27 Thread Rony G. Flatscher
ere is a larger live set to mark. > > Rick > > On Thu, Apr 27, 2017 at 10:34 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > Further information, using the initial e-mail to keep all relevant > information in one e-mail. > > Today I

[Oorexx-devel] First analyzing results (Re: Some numbers (Re: Ad "Error 5: System resources exhausted."

2017-04-29 Thread Rony G. Flatscher
a objects in the Java registry drop to 0! Is there a way in ooRexx to have the garbage collector be run (like in Java's System.gc() or Runtime.getRuntime.gc())? Such a possibility might help to debug/tame this "run-away" scenario. ---rony On 27.04.2017 16:56, Rony G. Flatscher w

Re: [Oorexx-devel] First analyzing results (Re: Some numbers (Re: Ad "Error 5: System resources exhausted."

2017-04-29 Thread Rony G. Flatscher
elayed even further > since the class object > will not become "dead" until all of its instances are first "dead". It then > gets moved to the > uninit queue for processing. > > Rick > > On Sat, Apr 29, 2017 at 3:11 PM, Rony G. Flatscher <mailto:ron

Re: [Oorexx-devel] First analyzing results (Re: Some numbers (Re: Ad "Error 5: System resources exhausted."

2017-04-30 Thread Rony G. Flatscher
7 at 3:43 PM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > The class object (for the BSF class and also its subclasses) is (get) > created in the BSF.CLS > package, which gets required. So it (and its subclasses) should get > created only once in

Re: [Oorexx-devel] First analyzing results (Re: Some numbers (Re: Ad "Error 5: System resources exhausted."

2017-04-30 Thread Rony G. Flatscher
le to figure out the details of a fix, but I at > least know where to > start. You might want to open a bug indicating there appears to be an > AttachThread()/DetachThread() memory leak. Opened a bug: <https://sourceforge.net/p/oorexx/bugs/1445/>. ---rony > &

[Oorexx-devel] Question ad creating 32-bit ooRexx for Windows

2017-04-30 Thread Rony G. Flatscher
While following the build instructions for Windows, the following error occurs while building the 32-bit Windows version: [ 61%] Building CXX object CMakeFiles/orexxole.dir/extensions/platform/windows/ole/events.cpp.obj events.cpp F:\work\svn\oorexx\main\trunk\extensions\platform\wi

Re: [Oorexx-devel] Question ad creating 32-bit ooRexx for Windows

2017-04-30 Thread Rony G. Flatscher
After the failure, it is possible to skip over the failures by reissuing: nmake /i /k ---rony P.S.: Of course it should be possible to build "out-of-the-box" without an error, so please advise about the necessary setup of the MS tools. On 30.04.2017 21:43, Rony G. Flats

Re: [Oorexx-devel] First analyzing results (Re: Some numbers (Re: Ad "Error 5: System resources exhausted."

2017-04-30 Thread Rony G. Flatscher
Applying your patch and re-running the problematic test-cases, it seems to be indeed the case that the problem is solved! Many thanks! ---rony On 30.04.2017 13:00, Rony G. Flatscher wrote: > On 30.04.2017 12:53, Rick McGuire wrote: >> I want to verify something first. In this scena

Re: [Oorexx-devel] First analyzing results (Re: Some numbers (Re: Ad "Error 5: System resources exhausted."

2017-05-01 Thread Rony G. Flatscher
exhausted" on the 32-bit ooRexx interpreter still causes the error (around parsing the 84900th XML element). ---rony On 30.04.2017 22:18, Rony G. Flatscher wrote: > > Applying your patch and re-running the problematic test-cases, it seems to be > indeed the case that > the pro

Re: [Oorexx-devel] First analyzing results (Re: Some numbers (Re: Ad "Error 5: System resources exhausted."

2017-05-01 Thread Rony G. Flatscher
gram) the ABC uninits start to run. ---rony > > On Mon, May 1, 2017 at 10:14 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > Retested today quite exhaustively (see below), and indeed I cannot create > any Rexx crashes > anymore, which is *r

Re: [Oorexx-devel] Question ad creating 32-bit ooRexx for Windows

2017-05-01 Thread Rony G. Flatscher
es, not at least 141 lines as your message suggests. > > This delayimp.h defines pfnDliFailureHook2 as follows: > > typedef FARPROC (WINAPI *PfnDliHook)( > unsigneddliNotify, > PDelayLoadInfo pdli > ); > > ExternC PfnDliHook __pfnDliFailureHook2; >

Re: [Oorexx-devel] Question ad creating 32-bit ooRexx for Windows

2017-05-01 Thread Rony G. Flatscher
On 01.05.2017 23:10, Rick McGuire wrote: > This has been encountered before. You need to have the correct level of the > SDK installed. Mark > Miesfeld always recommended this one: > > http://www.microsoft.com/en-us/download/details.aspx?id=8442 Thank you! That is the version I have installed. W

Re: [Oorexx-devel] Question ad creating 32-bit ooRexx for Windows

2017-05-01 Thread Rony G. Flatscher
141* ---rony On 01.05.2017 23:32, Rony G. Flatscher wrote: > > On 01.05.2017 23:10, Rick McGuire wrote: >> This has been encountered before. You need to have the correct level of the >> SDK installed. Mark >> Miesfeld always recommended this one: >> >>

Re: [Oorexx-devel] Question ad creating 32-bit ooRexx for Windows

2017-05-01 Thread Rony G. Flatscher
On 01.05.2017 23:40, Rick McGuire wrote: > Try removing the int and see if it makes a difference. Just tried it, no it does not make a difference, same error: redefinition, different modifiers. ---rony > > > On Mon, May 1, 2017 at 5:32 PM, Rony G. Flatscher <mailto:rony.fla

Re: [Oorexx-devel] Question ad creating 32-bit ooRexx for Windows

2017-05-01 Thread Rony G. Flatscher
different declaration for this variable. Try adding the ExternC > modifier. That change is > building fine for me. > > Rick > > On Mon, May 1, 2017 at 5:44 PM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > > On 01.05.2017 23:40, Rick McGuir

Re: [Oorexx-devel] Question ad creating 32-bit ooRexx for Windows

2017-05-01 Thread Rony G. Flatscher
expected. If not, I can report them in order to get rid of them. On 01.05.2017 23:59, Rony G. Flatscher wrote: > Adding the ExternC modifier was not enough (same error), however "ExternC > *const*" did the trick! > > So probably the following

[Oorexx-devel] Exception in isObjectMarked()

2017-05-02 Thread Rony G. Flatscher
Hi there, after becoming able to create the 32-bit ooRexx interpreter from trunk, I started to test it with BSF4ooRexx programs. One rather complex JavaFX-application implemented in ooRexx causes an exception in isObjectMarked(). Here is top of the Java hs_error_pid.log file which gives a s

[Oorexx-devel] Feedback at ooRexx Wiki "How to build", listing of a complete compiler run with warnings (Re: Question ad creating 32-bit ooRexx for Windows

2017-05-03 Thread Rony G. Flatscher
Erich, your "How to build" on the ooRexx Wiki at https://sourceforge.net/p/oorexx/wiki/how-to-build-oorexx/ is really *great*! Now, that I have become able to build 32- and 64-bit ooRexx interpreters from trunk, including NSIS-installation packages, I just wanted to give some feedback (wrong or

Re: [Oorexx-devel] Feedback at ooRexx Wiki "How to build", listing of a complete compiler run with warnings (Re: Question ad creating 32-bit ooRexx for Windows

2017-05-04 Thread Rony G. Flatscher
Hi Erich, On 03.05.2017 22:34, Erich Steinböck wrote: > Rony, thanks, I've fixed the "NMake" typo, and the list of required docs. > > CMake defaults to -DCMAKE_BUILD_TYPE=DEBUG. If no CMAKE_BUILD_TYPE is > specified, compiler flag > /Od (no optimization) is used. Hmm, retried it again, and you a

Re: [Oorexx-devel] Exception in isObjectMarked()

2017-05-04 Thread Rony G. Flatscher
nition for later use in Rexx (will get stored in a .Directory in .environment) * another Rexx interpreter instance gets created that is used to execute a Rexx program from the TextArea control o it is in this step, that the exception occurs ---rony On 02.05.2017 21:17, Rony G.

Re: [Oorexx-devel] Exception in isObjectMarked()

2017-05-04 Thread Rony G. Flatscher
> etc.). That might be > useful, but I'm starting to think there's something else going on. Try > applying this patch and see > if it makes a difference. > > Rick > > > > On Thu, May 4, 2017 at 5:14 AM, Rony G. Flatscher <mailto:rony.fla

Re: [Oorexx-devel] Exception in isObjectMarked()

2017-05-04 Thread Rony G. Flatscher
dll] ntdll.dll!77309902() Unknown ntdll.dll!773098d5() Unknown ---rony On 04.05.2017 14:42, Rick McGuire wrote: > New version of the previous patch. This makes the termination an little more > consistent. > > Rick > > On Thu, May 4, 2017 at 6:53 AM, Rony G. Flatscher <mailto

Re: [Oorexx-devel] Exception in isObjectMarked()

2017-05-04 Thread Rony G. Flatscher
Hold it, please! Did install the wrong (the old) version! :( Will re-try it immediately. ---rony On 04.05.2017 17:07, Rony G. Flatscher wrote: > > Just got back from a lecture, applied new patch, still the exception (not > always, sometimes it > terminates without a cra

Re: [Oorexx-devel] Exception in isObjectMarked()

2017-05-04 Thread Rony G. Flatscher
dll!773098d5() Unknown Will peek around. ---rony On 04.05.2017 17:09, Rony G. Flatscher wrote: > > Hold it, please! > > Did install the wrong (the old) version! :( > > Will re-try it immediately. > > ---rony > > > > On 04.05.2017 17:07, Rony G. Flatscher wrote: >

Re: [Oorexx-devel] Exception in isObjectMarked()

2017-05-04 Thread Rony G. Flatscher
rnalObject objectVariables argCount1 unsigned int HTH, ---rony On 04.05.2017 17:13, Rony G. Flatscher wrote: > > OK, now with the latest patch, still the exception when closing the > application window: > > rexx.dll!ObjectHeader::isObjectMarked(unsig

Re: [Oorexx-devel] Exception in isObjectMarked()

2017-05-04 Thread Rony G. Flatscher
bool blockNest 0 unsigned int i 0 unsigned int liveMark 66 unsigned int If you can tell me where to peek/look I can do so, also, if you need a screen shot of the open debugger. Will be here for another hour or hour and a half, before leaving today. ---rony On 04.05.2017 17:34, Rony G. Flats

[Oorexx-devel] Ad ooDialog (Re: Feedback at ooRexx Wiki "How to build", listing of a complete compiler run with warnings (Re: Question ad creating 32-bit ooRexx for Windows

2017-05-04 Thread Rony G. Flatscher
Hi Erich, changed the subject a little bit to reflect the content. On 04.05.2017 15:13, Erich Steinböck wrote: > > the following Windows-related documentation files are currently missing > from the 5.0.0beta > directory: > oodguide.pdf oodialog.pdf ooDialog_ReleaseNotes.txt ooRexxTry

[Oorexx-devel] Another round (Re: Exception in isObjectMarked()

2017-05-08 Thread Rony G. Flatscher
First, the patch solved the reported memory leak problem when having Rexx objects handle Java-SAX-callbacks, which is just great! Secondly, it seems that the crash occurs when the primodal Rexx interpreter is about to terminate. Just ran another time the application which will crash and have it

[Oorexx-devel] 64-bit, rxwinsys runtime-check failure

2017-05-10 Thread Rony G. Flatscher
Currently experimenting with a 64-bit debug version build from the latest trunk using the professional Visual Studio C++ compiler from MS (latest patches applied). While running a Rexx program an alert-window popped up with the following message: --- Microsoft Visual

[Oorexx-devel] Another exception on 64bit than on 32bit

2017-05-10 Thread Rony G. Flatscher
While experimenting I built a 64-bit debug version with the last patch that fixes the memory leak, but on one specific application causes a crash. On the 32-bit debug version the crash occurs, it seems, when the primodal Rexx instance gets terminated (a Rexx program got successfully executed wit

[Oorexx-devel] How to have CMake not use optimization ?

2017-05-10 Thread Rony G. Flatscher
How can one have CMake to generate a Makefile that does not use optimization when compiling the code? ---rony -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http:/

Re: [Oorexx-devel] How to have CMake not use optimization ?

2017-05-10 Thread Rony G. Flatscher
and 64 bit debug versions are not linked to optimizing problems. On 10.05.2017 16:36, René Jansen wrote: > by not specifying a release build so no -DCMAKE_BUILD_TYPE=Release > > >> On 10 May 2017, at 15:07, Rony G. Flatscher wrote: >> >> How can one have CMake to

[Oorexx-devel] Question ad application causing the crash

2017-05-10 Thread Rony G. Flatscher
Rick, would it help, if I created a zip-archive to download with directions how to start the Rexx application (using JavaFX)? If so, please let me know which bitness you would need for the bsf4oorexx.dll (pre-requisite is that you have Java 1.8 installed). Also, I can make the 32- and 64-debug v

Re: [Oorexx-devel] Question ad application causing the crash

2017-05-11 Thread Rony G. Flatscher
ly is that I have no conception of the overall > architecture (what would it > be from a bird eye's view?), nor from the dynamics (what happens exactly > at startup, when a > Rexx instance gets created and when terminated, how do the garbage > collector and uninit >

Re: [Oorexx-devel] What will killing off the Win32 API mean for being able to run ooRexx on Windows?

2017-05-12 Thread Rony G. Flatscher
On 10.05.2017 16:36, Michael Lueck wrote: > Last time I did not include the article reference in my OP. This time, doing > so: > > "Why Windows must die. For the third time - Microsoft knows Windows is > obsolete. Here's a sneak peek at its replacement." > http://www.zdnet.com/article/why-windows

[Oorexx-devel] Questions on global references

2017-05-18 Thread Rony G. Flatscher
rexxpg.pdf states in "8.5 Garbage Collection Considerations": ... "The global reference can be used with any API context valid for /the same/ interpreter instance." ... * Question 1: does that mean that a "global" reference obtained with RequestGlobalReference() can only be used within a s

[Oorexx-devel] Questions ad Rexx Interpreter Instance Terminate()

2017-05-18 Thread Rony G. Flatscher
rexxpg.pdf states in "8.16.170. Terminate": "Terminates the current Rexx interpreter instance. Terminate() may only be called from the thread context that originally created the interpreter instance. This call will wait for all threads to complete processing before returning." * Question 1: W

Re: [Oorexx-devel] Questions ad Rexx Interpreter Instance Terminate()

2017-05-18 Thread Rony G. Flatscher
On 18.05.2017 11:46, Rick McGuire wrote: > > > On Thu, May 18, 2017 at 5:00 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > rexxpg.pdf states in "8.16.170. Terminate": "Terminates the current Rexx > interpreter instance. >

Re: [Oorexx-devel] Questions on global references

2017-05-18 Thread Rony G. Flatscher
On 18.05.2017 11:55, Rick McGuire wrote: > > > On Thu, May 18, 2017 at 5:00 AM, Rony G. Flatscher <mailto:rony.flatsc...@wu.ac.at>> wrote: > > rexxpg.pdf states in "8.5 Garbage Collection Considerations": ... "The > global reference can be >

Re: [Oorexx-devel] Questions on global references

2017-05-18 Thread Rony G. Flatscher
other things also explain the "javax.script.ScriptContext", which plays an important role in the ooRexx JavaFX support: <http://rexxla.org/events/2017/presentations/AutoJava-BSF4ooRexx-06-RexxScript.pdf>. ---rony On 18.05.2017 12:30, Rony G. Flatscher wrote: > On 18.05.

[Oorexx-devel] Runtime Debug Error on 32-bit Windows-Debug version of ooRexx 5.0beta (HashCollection.cpp)

2017-05-22 Thread Rony G. Flatscher
In order to trace down possible ooRexx 5.0.0 problems I created debug versions of ooRexx 5.0.0 from trunk in 32- and 64-bit and have my students use that version. They are supposted to inform me, if anything unusual happens. Today I received the enclosed screenshot of a runtime DebugError using

[Oorexx-devel] Runtime Debug Error on 64-bit Windows-Debug version of ooRexx 5.0beta (rxwinsys.dll)

2017-05-22 Thread Rony G. Flatscher
In order to trace down possible ooRexx 5.0.0 problems I created debug versions of ooRexx 5.0.0 from trunk in 32- and 64-bit and have my students use that version. They are supposted to inform me, if anything unusual happens. Today I received another runtime DebugError, this time using the 64-bit

[Oorexx-devel] MacOSX plist-file to have rxapi run as a service using launchctl

2017-05-23 Thread Rony G. Flatscher
Enclosed you will find a MacOSX plist-file named "org.rexxla.oorexx.rxapid.plist" which I use for the BSF4ooRexx MacOSX installation. It turns out (by mistake) that ooRexx will run quite slowly, if rxapi is not running as a daemon, hence mentioning this here and enclosing a working plist file wh

Re: [Oorexx-devel] MacOSX plist-file to have rxapi run as a service using launchctl

2017-05-30 Thread Rony G. Flatscher
de with MacOS > conditionals, and these changes were rejected, because the whole process was > scheduled to be > re-written. > > As a work around, one user suggested that since the rxapi process rarely ever > fails, that the > KeepAlive attribute is unnecessary, and can be

Re: [Oorexx-devel] High memory usage in ooRexx

2017-06-02 Thread Rony G. Flatscher
Dear P.O., as this is a problem of ooRexx and not of BSF4ooRexx, I redirect further postings to the appropriate oorexx-devel@lists.sourceforge.net (the ooRexx developer list). Your problem might have to do with ("Performance drops suddenly (once eve

<    1   2   3   4   5   6   7   8   9   10   >