head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.12 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.10 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.8 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.6 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.4 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2026.08.02.06.39.27; author ryoon; state Exp; branches; next 1.1; commitid 2BssigWT7VfKT1QG; 1.1 date 2025.01.17.17.44.22; author rhialto; state Exp; branches; next ; commitid iHCA78dbjRjoDRFF; desc @@ 1.2 log @lang/oorexx: Update to 5.2.0 Changelog: 5.2.0: Bugs ---- https://sourceforge.net/p/oorexx/bugs/nnnn 1: # 2056 Bug in docprep.rex (entered by Josep Maria Blasco on 2026-04-05 -> 2026-04-05 ) 2: # 2052 ooTest framework typo replace "rn" by "n" in ooTest.frm (entered by jfaucher on 2026-03-18 -> 2026-03-19 ) 3: # 2050 ooTest framework: unassigned variable "LFILE"' when asking for a log file (entered by jfaucher on 2026-03-06 -> 2026-03-06 ) 4: # 2049 Missing p = p->next; in Activity::liveGeneral (entered by jfaucher on 2026-03-01 -> 2026-03-01 ) 5: # 2046 VariableReference::flatten is marking instead of flattening (entered by jfaucher on 2026-01-23 -> 2026-01-27 ) 6: # 2044 json.cls: string consisting of numbers not handled as a string (entered by Rony G. Flatscher on 2025-12-31 -> 2026-01-02 ) 7: # 2042 Syntax 47.2 in samples\ole\apps\MSInternetExplorer_search.rex (entered by Josep Maria Blasco on 2025-12-15 -> 2026-01-20 ) 8: # 2041 Crash when specifying only -O or -OG on the command line for Rexx.exe (entered by Dom Wise on 2025-12-14 -> 2026-03-12 ) 9: # 2038 say .buffer~method("INIT") crashes the interpreter (entered by jfaucher on 2025-12-01 -> 2026-04-09 ) 10: # 2033 Evaluation order of boolean expressions is wrong (entered by Josep Maria Blasco on 2025-09-24 -> 2026-01-27 ) ***TODO: [tests] 11: # 2030 Hang running the BSF4ooRexx850 sample fxml_99/MainApp.rex (entered by Rony G. Flatscher on 2025-08-17 -> 2025-10-27 ) 12: # 2025 a[1] = 1,2,3 fails (entered by Josep Maria Blasco on 2025-06-24 -> 2025-06-26 ) 13: # 2021 fix RexxStart translate-only option (entered by Erich on 2025-05-30 -> 2025-05-30 ) 14: # 2019 man files on Linux/Unix report the wrong version (entered by Per Olov Jonsson on 2025-05-16 -> 2025-05-21 ) 15: # 2017 cmake warnings (entered by Erich on 2025-05-02 -> 2025-05-21 ) 16: # 2012 Call Insert a,b,-1 complains about a length but -1 is a pos (entered by Josep Maria Blasco on 2025-04-17 -> 2026-01-28 ) 17: # 2008 Arg(-n) returns "" (entered by Josep Maria Blasco on 2025-04-17 -> 2025-06-26 ) 18: # 2003 GUARD ON WHEN issue (entered by Erich on 2025-03-26 -> 2026-03-18 ) 19: # 1991 MapCollection~of() should return an empty collection (entered by Josep Maria Blasco on 2024-12-08 -> 2026-01-25 ) 20: # 1923 "Insufficient control stack space; cannot continue execution." building rexx.img on AIX 7.2 (entered by Jeffrey H. Johnson on 2023-10-29 -> 2024-01-13 ) ***TODO: [tests] 21: # 1904 Problem with Do ... Over (entered by Gil Barmwater on 2023-06-03 -> 2023-06-06 ) ***TODO: [tests] 22: # 1880 Stem objects not properly converting into a string value (entered by Rick McGuire on 2023-04-02 -> 2023-04-02 ) ***TODO: [tests] 23: # 1878 SEEK does not affect WRITE position (entered by AvdP on 2023-03-15 -> 2023-08-11 ) ***TODO: [tests] 24: # 1872 Crash on terminating Rexx instances on different threads (entered by Rony G. Flatscher on 2023-02-23 -> 2025-08-11 ) 25: # 1850 TRACE issues (entered by Erich on 2022-11-21 -> 2023-08-17 ) ***TODO: [code+doc+test] 26: # 1837 circular requires: some public classes are not visible (entered by jfaucher on 2022-08-09 -> 2022-12-20 ) ***TODO: [doc+test] 27: # 1786 RexxPullFromQueue() returning invalid data for a null queue entry (entered by Daniel Erdos on 2021-11-05 -> 2021-11-27 ) ***TODO: [tests] 28: # 1763 StreamSocket issues (entered by Ruurd Idenburg on 2021-05-11 -> 2022-06-27 ) ***TODO: [code+doc+test] 29: # 1762 pushing very large data hangs RexxQueue (entered by Erich on 2021-05-04 -> 2021-07-07 ) ***TODO: [code+test] 30: # 1742 Stream RECLENGTH 1 issues (entered by Erich on 2021-02-05 -> 2021-02-05 ) ***TODO: [tests] 31: # 1447 Clean builds without compiler warnings (entered by Erich on 2017-05-09 -> 2025-05-31 ) ***TODO: [code] Requests For Enhancement ------------------------ https://sourceforge.net/p/oorexx/feature-requests/nnn 1: # 873 Upate json.cls (entered by Rony G. Flatscher on 2026-03-31 -> 2026-04-05 ) 2: # 872 Add class methods arrayIn and arrayOut to .Stream (entered by Rony G. Flatscher on 2026-03-28 -> 2026-04-03 ) 3: # 871 Add support for YAML (entered by Rony G. Flatscher on 2026-03-22 -> 2026-04-05 ) 4: # 870 ooSQLite: enable R*Tree (entered by Erich on 2026-03-13 -> 2026-03-13 ) ***TODO: [doc+test] 5: # 869 Packages should be able to block GlobalOptions requests (entered by Dom Wise on 2025-12-14 -> 2026-01-02 ) 6: # 864 Add Unicode (UTF-8) support to syntax error 13.1 (entered by Josep Maria Blasco on 2025-11-28 -> 2026-03-23 ) ***TODO: [doc] 7: # 863 Make CMake use IPO if available (entered by Rony G. Flatscher on 2025-11-20 -> 2025-11-20 ) 8: # 861 Make search for Xalan with CMake platform independent (entered by Rony G. Flatscher on 2025-10-27 -> 2025-10-27 ) 9: # 860 Add ability to propagate numeric settings to called routines and methods using ::options (entered by Rony G. Flatscher on 2025-10-23 -> 2025-10-25 ) 10: # 858 Add ability to override package options at runtime (entered by Rony G. Flatscher on 2025-10-16 -> 2025-10-22 ) 11: # 857 Add ability to dynamically change options package wide ("dynamic ::OPTIONS") (entered by Rony G. Flatscher on 2025-10-09 -> 2025-10-11 ) 12: # 855 Add NOTIFY class attribute to TraceObject class (entered by Rony G. Flatscher on 2025-05-19 -> 2025-08-25 ) 13: # 806 Allow RexxInstance->Terminate() to be called from any thread. (entered by Rick McGuire on 2022-07-20 -> 2025-08-11 ) 14: # 803 extensions to complex.cls (entered by Walter on 2022-06-02 -> 2022-06-03 ) ***TODO: [tests] 15: # 581 Add item data capability to combo box (entered by Mark Miesfeld on 2014-01-30 -> 2014-01-30 ) ***TODO: [doc+test] 16: # 578 Accept string keywords instead of requiring numeric value in image related methods (entered by Mark Miesfeld on 2013-12-28 -> 2013-12-28 ) ***TODO: [doc] 17: # 576 Add support for the 'split button' (entered by Mark Miesfeld on 2013-12-25 -> 2013-12-25 ) ***TODO: [code+doc+test] 18: # 569 Allow direct creation of dialog control windows. (entered by Mark Miesfeld on 2013-12-21 -> 2013-12-21 ) ***TODO: [code+doc+test] 19: # 552 Add the ToolBar control to ooDialog (entered by Mark Miesfeld on 2013-09-12 -> 2013-09-21 ) ***TODO: [code+doc+test] 20: # 550 Add the ReBar dialog control to ooDialog (entered by Mark Miesfeld on 2013-08-30 -> 2013-09-21 ) ***TODO: [doc+test] 21: # 544 Allow the registration of user defined SQL functions and aggregates (entered by Mark Miesfeld on 2013-05-08 -> 2013-05-19 ) ***TODO: [doc] 22: # 353 Embedded Database (entered by Anonymous on 2009-05-01 -> 2012-12-21 ) ***TODO: [doc] 23: # 22 RFE4IBM: allow triggering garbage collector explicitly (entered by Rony G. Flatscher on 2005-01-20 -> 2025-08-30 ) Documentation Bugs ------------------ https://sourceforge.net/p/oorexx/documentation/nnn 1: # 361 RexxRef example 5.249 wrong (entered by Gil Barmwater on 2026-04-09 -> 2026-04-10 ) 2: # 356 rexxref chapter 2 wrong (entered by Josep Maria Blasco on 2026-02-03 -> 2026-02-07 ) 3: # 355 Stem hasindex, put and remove use "tail" instead of several indexes (entered by Josep Maria Blasco on 2026-01-29 -> 2026-02-07 ) 4: # 352 Collection classes erratically documented as MapCollections (entered by Josep Maria Blasco on 2025-11-01 -> 2025-11-02 ) 5: # 351 Namespaces in directives (entered by Josep Maria Blasco on 2025-10-31 -> 2026-01-20 ) 6: # 350 rexxref 3.4 ::CONSTANT Note 2 incomplete (entered by Josep Maria Blasco on 2025-10-10 -> 2025-10-24 ) 7: # 349 Unreadable paragraph in rexxref 1.13.4 Stems (entered by Josep Maria Blasco on 2025-09-28 -> 2025-10-24 ) 8: # 348 Chapter 9 and positional patterns (entered by Josep Maria Blasco on 2025-08-09 -> 2026-01-26 ) 9: # 347 Missing words in last paragraph of rexxref 9.3 (entered by Josep Maria Blasco on 2025-08-09 -> 2026-01-25 ) 10: # 346 Rexxref 5.3.16.6. Stem AT wrong. (entered by Josep Maria Blasco on 2025-07-26 -> 2026-01-23 ) 11: # 345 rexxref Example 18.3. Misplaced closing tag (entered by jfaucher on 2025-05-19 -> 2025-05-19 ) 12: # 343 rexxref 5.4.16 RexxContext Class imprecise (entered by Josep Maria Blasco on 2025-05-19 -> 2026-01-23 ) 13: # 342 Missing information about the arithmetic operators. (entered by Rick McGuire on 2025-04-17 -> 2025-08-09 ) 14: # 341 Typo in Example 7.70. Builtin function SETLOCAL, and information imprecise (entered by Josep Maria Blasco on 2025-04-14 -> 2025-10-24 ) 15: # 337 rexxref 1.13.2 incorrect (entered by Josep Maria Blasco on 2024-11-18 -> 2026-01-25 ) 16: # 336 rexxref chapter 16 erroneous (entered by Josep Maria Blasco on 2024-09-11 -> 2026-01-23 ) 17: # 326 rexxref 2.16 NUMERIC wrong (entered by Josep Maria Blasco on 2024-08-18 -> 2025-10-24 ) 18: # 325 rexxref 2.3 CALL and chapter 11 should document namespaces (entered by Josep Maria Blasco on 2024-08-17 -> 2026-01-31 ) 19: # 307 3.8. *NEW* ::RESOURCE incomplete (entered by Josep Maria Blasco on 2023-08-30 -> 2026-01-26 ) 20: # 298 Description of delete method in Array class is confusing (entered by Josep Maria Blasco on 2023-04-09 -> 2026-01-23 ) 5.1.0: Bugs ---- 1: # 2005 SysFileTree Segmentation Fault on OpenBSD (entered by Erich on 2025-04-02 -> 2025-04-02 ) 2: # 1999 Problem installing oorexx-5.1.0-12940 (entered by Larry_S on 2025-03-16 -> 2025-03-21 ) 3: # 1998 Recursive CALL slow (entered by Erich on 2025-03-15 -> 2025-03-15 ) 4: # 1997 ooDialog - Windows taskbar icons not being properly set on dialogs (entered by Dom Wise on 2025-03-12 -> 2025-03-18 ) 5: # 1994 Duplicate trace line if using "forward" without "continue" (entered by Rony G. Flatscher on 2025-01-22 -> 2025-03-15 ) 6: # 1989 SysTextScreenRead fails when reading non-ANSI characters (entered by Erich on 2024-11-19 -> 2024-11-20 ) 7: # 1984 SysTo/FromUnicode issues (entered by Erich on 2024-09-19 -> 2024-11-21 ) 8: # 1975 Uninitialized substitution list variables in DROP and EXPOSE should raise NOVALUE (entered by Erich on 2024-09-07 -> 2024-09-07 ) 9: # 1973 GUARD ON exposed variables wrongly determined when USE LOCAL (entered by Josep Maria Blasco on 2024-08-29 -> 2024-08-31 ) 10: # 1970 Allow DO WITH be parsed as repetitive DO (entered by Josep Maria Blasco on 2024-08-24 -> 2024-08-24 ) 11: # 1965 Text of syntax error 19.922 wrong (entered by Josep Maria Blasco on 2024-08-20 -> 2024-08-24 ) 12: # 1963 Extraneous data wrongly accepted after FOREVER keyword (entered by Josep Maria Blasco on 2024-08-19 -> 2024-08-23 ) 13: # 1961 Syntax error 21.903 is wrong (entered by Josep Maria Blasco on 2024-08-17 -> 2024-08-17 ) 14: # 1958 Text of syntax error 19.925 is wrong (entered by Josep Maria Blasco on 2024-07-30 -> 2024-08-24 ) 15: # 1955 testsuite error for ooRrexx at rev 12852, testsuite at rev 12853 (entered by Enrico Sorichetti on 2024-07-16 -> 2024-07-16 ) 16: # 1953 Tracing in 5.1 can hang or crash method callbacks in BSF400Rexx850 (entered by Dom Wise on 2024-07-13 -> 2025-03-26 ) 17: # 1951 Error message insert masking issues (entered by Josep Maria Blasco on 2024-06-16 -> 2024-08-25 ) 18: # 1947 FORMAT issues (entered by Erich on 2024-04-20 -> 2024-04-20 ) 19: # 1945 No labels should be allowed within DO/LOOP, IF, SELECT (entered by Josep Maria Blasco on 2024-04-05 -> 2024-09-21 ) 20: # 1942 QUEUE "[]=" not the same as PUT (entered by Josep Maria Blasco on 2024-03-24 -> 2024-09-04 ) 21: # 1933 annoying warnings on Apple Sonoma (entered by Enrico Sorichetti on 2024-01-23 -> 2024-09-08 ) 22: # 1931 r12778 and r12779 are not really needed (entered by Enrico Sorichetti on 2024-01-17 -> 2024-01-29 ) 23: # 1929 RexxVariablePool issues (entered by Erich on 2024-01-09 -> 2025-04-04 ) 24: # 1928 Android porting issues (entered by Erich on 2023-12-02 -> 2024-01-13 ) 25: # 1927 Problem with SysCls on Windows (entered by Gil Barmwater on 2023-11-29 -> 6 days ago ) 26: # 1925 building Portable installer failing on Solaris (entered by Per Olov Jonsson on 2023-11-13 -> 2025-03-10 ) 27: # 1924 Building fails on Solaris 11 (entered by Per Olov Jonsson on 2023-11-11 -> 2024-01-13 ) 28: # 1923 "Insufficient control stack space; cannot continue execution." building rexx.img on AIX 7.2 (entered by Jeffrey H. Johnson on 2023-10-29 -> 2024-01-13 ) ***TODO: [tests] 29: # 1922 ooDialog Edit Control addExtendedStyle not case insensitive (entered by Jon Wolfers on 2023-10-25 -> 2023-10-27 ) 30: # 1919 Error message 25.12 is incomplete (i.e., wrong) (entered by Josep Maria Blasco on 2023-09-02 -> 2024-01-13 ) 31: # 1917 LINEIN fails after SEEK CHAR, LINEIN, SEEK LINE (entered by Josep Maria Blasco on 2023-08-11 -> 2023-08-16 ) 32: # 1916 SYSCARGS wrong in REXXHIDE (entered by Gil Barmwater on 2023-07-21 -> 2023-07-21 ) 33: # 1914 Stack unwind issue on Windows (entered by Erich on 2023-07-15 -> 2023-10-26 ) 34: # 1912 Parameters missing if the first one is the empty string (entered by Gil Barmwater on 2023-07-12 -> 2023-07-21 ) 35: # 1911 The interpreter is using too small of a stacksize. (entered by Rick McGuire on 2023-06-27 -> 2023-07-15 ) 36: # 1910 oorexx source package has incorrect directory structure (entered by Mark Hessling on 2023-06-17 -> 2023-07-23 ) 37: # 1909 Error building oorexx 5.1.0 build 12694 from source (entered by Mark Hessling on 2023-06-17 -> 2023-07-23 ) 38: # 1908 Rexxtry Call Show error for source variable (entered by Josep Maria Blasco on 2023-06-17 -> 2023-08-16 ) 39: # 1907 Bad Precision of rxCalsArcsin: incorrectly diagnosed (entered by Walter on 2023-06-14 -> 2023-06-16 ) 40: # 1906 Handling of hex/binary string format errors incoherent, and line reported is wrong (entered by Josep Maria Blasco on 2023-06-04 -> 2023-08-17 ) 41: # 1905 Interpreter incorrectly reports line number as 0 and says "no source available" in some cases when syntax error 6.1 (entered by Josep Maria Blasco on 2023-06-04 -> 2023-06-04 ) 42: # 1904 Problem with Do ... Over (entered by Gil Barmwater on 2023-06-03 -> 2023-06-06 ) ***TODO: [tests] 43: # 1902 Failure to Create Named Queue (entered by Jim Hannigan on 2023-05-31 -> 2023-10-26 ) 44: # 1898 rpm reports wrong version of package (entered by Per Olov Jonsson on 2023-05-15 -> 2023-05-15 ) 45: # 1897 Entry missing in Windows installer (entered by Per Olov Jonsson on 2023-05-07 -> 2023-05-10 ) 46: # 1894 sources aligned to the binaries (entered by on 2023-04-20 -> 2023-07-23 ) 47: # 1893 portable file names are clobbered (entered by on 2023-04-18 -> 2023-05-13 ) 48: # 1887 Ticker fails when cancelled twice (entered by Erich on 2023-04-07 -> 2023-10-26 ) 49: # 1884 Error message for error 25.905 is incorrect (entered by Josep Maria Blasco on 2023-04-05 -> 2023-04-06 ) 50: # 1881 A number of Testcases failures/errors after recent commit (entered by Per Olov Jonsson on 2023-04-04 -> 2023-05-13 ) 51: # 1880 Stem objects not properly converting into a string value (entered by Rick McGuire on 2023-04-02 -> 2023-04-02 ) ***TODO: [tests] 52: # 1879 DO LABEL X fails (entered by m-stgt on 2023-04-01 -> 2023-10-27 ) 53: # 1878 SEEK does not affect WRITE position (entered by AvdP on 2023-03-15 -> 2023-08-11 ) ***TODO: [tests] 54: # 1877 SYNTAX error raised on next clause only (entered by Rupert Reynolds on 2023-03-10 -> 2023-10-27 ) 55: # 1876 pthread_t issues (entered by Erich on 2023-03-09 -> 2023-10-27 ) 56: # 1870 Typo in Windows version of SysFileSystem::hasExtension (entered by Josep Maria Blasco on 2023-02-19 -> 2023-05-13 ) 57: # 1869 json.cls does not properly support JSON boolean values (entered by Rony G. Flatscher on 2023-02-07 -> 2023-02-07 ) 58: # 1868 ooDialog openFIleDialog has inactive HELP button (entered by Jon Wolfers on 2023-01-26 -> 2023-10-28 ) 59: # 1867 confusing revision reported (entered by on 2023-01-24 -> 2023-05-13 ) 60: # 1854 ooRexx 5.0.0 distribution files (entered by on 2022-12-24 -> 2023-07-23 ) 61: # 1850 TRACE issues (entered by Erich on 2022-11-21 -> 2023-08-17 ) ***TODO: [code+doc+test] 62: # 1842 linein performance issue (entered by Erich on 2022-09-11 -> 2023-10-28 ) ***TODO: [code] 63: # 1841 charin and record I/O linein/arrayin performance (entered by Erich on 2022-09-11 -> 2023-10-28 ) 64: # 1840 lineout for very long lines is broken (entered by Erich on 2022-09-07 -> 2023-10-28 ) 65: # 1837 circular requires: some public classes are not visible (entered by jfaucher on 2022-08-09 -> 2022-12-20 ) ***TODO: [doc+test] 66: # 1825 CALL with literal name should bypass internal labels (entered by Matthé van der Lee on 2021-10-02 -> 2023-10-28 ) 67: # 1786 RexxPullFromQueue() returning invalid data for a null queue entry (entered by Daniel Erdos on 2021-11-05 -> 2021-11-27 ) ***TODO: [tests] 68: # 1774 Building and Testing on Windows 8 (entered by Per Olov Jonsson on 2021-07-13 -> 2023-10-28 ) 69: # 1773 Android build issues (entered by Erich on 2021-07-07 -> 2023-10-28 ) 70: # 1763 StreamSocket issues (entered by Ruurd Idenburg on 2021-05-11 -> 2022-06-27 ) ***TODO: [code+doc+test] 71: # 1762 pushing very large data hangs RexxQueue (entered by Erich on 2021-05-04 -> 2021-07-07 ) ***TODO: [code+test] 72: # 1742 Stream RECLENGTH 1 issues (entered by Erich on 2021-02-05 -> 2021-02-05 ) ***TODO: [tests] Requests For Enhancement ------------------------ 1: # 851 Update rexxcps sample (entered by Rick McGuire on 2025-03-17 -> 2025-03-19 ) 2: # 849 Add context entry to stackframes (cf also RFE #847) (entered by Rony G. Flatscher on 2025-02-20 -> 2025-03-12 ) 3: # 847 Add invocation ID to stackframe and allow .context to serve the current instance ID, thread ID and invocation ID (entered by Rony G. Flatscher on 2025-02-17 -> 2025-02-17 ) 4: # 844 Allow reserved keywords in DO/LOOP expression message terms (entered by Erich on 2024-09-04 -> 2024-09-04 ) 5: # 843 .File method extension issue with files starting with dot (entered by Till Winkler on 2024-05-19 -> 2024-09-02 ) 6: # 842 Supply a caller stackframe for the spawners of an activity for TraceObject (entered by Rony G. Flatscher on 2024-08-18 -> 2024-08-28 ) 7: # 841 Add entries to TraceObject, store stackframe values in StringTable (entered by Rony G. Flatscher on 2024-07-17 -> 2024-07-18 ) 8: # 840 Refactor Activity.cpp and RexxActivation.cpp such, that TraceObject logic goes to RexxActivation (entered by Rony G. Flatscher on 2024-07-12 -> 2024-07-12 ) 9: # 839 Add information about object and variables to TraceObject (entered by Rony G. Flatscher on 2024-06-25 -> 2024-06-25 ) 10: # 838 Enhance the portable "setupoorexx.rex" (entered by Rony G. Flatscher on 2024-06-01 -> 2024-06-09 ) 11: # 837 When creating a portable version, only create a full version (entered by Rony G. Flatscher on 2024-06-01 -> 2024-06-09 ) 12: # 835 Trace entry in routine/method when trace is the first instruction (entered by jfaucher on 2024-05-23 -> 2024-06-01 ) 13: # 833 Add a new trace invocation exit traceline to TRACE (entered by Rony G. Flatscher on 2024-04-11 -> 2024-04-22 ) 14: # 832 Windows: Create a bitness-independent "samples\ole\apps\MSAccessDemo.rex" (entered by Rony G. Flatscher on 2024-01-03 -> 2024-01-03 ) 15: # 831 Windows: Rename samples\ole\apps\MSAccessDemo.rex to MSAccessDemo_32bit_only.rex (entered by Rony G. Flatscher on 2024-01-03 -> 2024-01-04 ) 16: # 830 Add oleinfo scripts from sandbox/rony/oleinfo (entered by Rony G. Flatscher on 2023-12-08 -> 2023-12-14 ) 17: # 825 Improve trace output for Rexx programs running on multiple threads (entered by Rony G. Flatscher on 2023-03-11 -> 2024-03-27 ) 18: # 824 CSVStream class should cope with BOM (entered by Jon Wolfers on 2023-02-08 -> 2023-02-08 ) 19: # 823 json.cls: if an unhandled object use its string value instead of null (entered by Rony G. Flatscher on 2023-02-07 -> 2023-02-07 ) 20: # 822 json.cls: allow using the JSON methods via the class object to ease coding (entered by Rony G. Flatscher on 2023-02-07 -> 2023-02-07 ) 21: # 821 json.cls: add support for makejson and makestring methods (entered by Rony G. Flatscher on 2023-02-07 -> 2023-02-07 ) 22: # 820 json.cls: add convenience methods fromJSONFile and toJSONFile (entered by Rony G. Flatscher on 2023-02-07 -> 2023-02-07 ) 23: # 819 json.cls: sort by names/keys (entered by Rony G. Flatscher on 2023-02-07 -> 2023-02-07 ) 24: # 818 json.cls: allow processing any MapCollection and OrderedCollection (entered by Rony G. Flatscher on 2023-02-07 -> 2023-02-07 ) 25: # 817 json.cls: allow to identify JSON booleans after fromJSON (entered by Rony G. Flatscher on 2023-02-07 -> 2023-02-07 ) 26: # 814 Add sample for "address...with" to download the ooRexx documentation from SourceForge with curl (entered by Rony G. Flatscher on 2023-01-04 -> 2023-01-04 ) 27: # 812 Please recompile ooSQLite for the Linuxes (entered by Josep Maria Blasco on 2023-01-02 -> 2024-01-13 ) 28: # 803 extensions to complex.cls (entered by Walter on 2022-06-02 -> 2022-06-03 ) ***TODO: [tests] 29: # 581 Add item data capability to combo box (entered by Mark Miesfeld on 2014-01-30 -> 2014-01-30 ) ***TODO: [doc+test] 30: # 578 Accept string keywords instead of requiring numeric value in image related methods (entered by Mark Miesfeld on 2013-12-28 -> 2013-12-28 ) ***TODO: [doc] 31: # 576 Add support for the 'split button' (entered by Mark Miesfeld on 2013-12-25 -> 2013-12-25 ) ***TODO: [code+doc+test] 32: # 569 Allow direct creation of dialog control windows. (entered by Mark Miesfeld on 2013-12-21 -> 2013-12-21 ) ***TODO: [code+doc+test] 33: # 552 Add the ToolBar control to ooDialog (entered by Mark Miesfeld on 2013-09-12 -> 2013-09-21 ) ***TODO: [code+doc+test] 34: # 550 Add the ReBar dialog control to ooDialog (entered by Mark Miesfeld on 2013-08-30 -> 2013-09-21 ) ***TODO: [doc+test] 35: # 544 Allow the registration of user defined SQL functions and aggregates (entered by Mark Miesfeld on 2013-05-08 -> 2013-05-19 ) ***TODO: [doc] 36: # 353 Embedded Database (entered by Anonymous on 2009-05-01 -> 2012-12-21 ) ***TODO: [doc] Documentation Bugs ------------------ 1: # 340 1.13.6. Environment Symbols - Missing method and typo (entered by Josep Maria Blasco on 2025-03-30 -> 2025-04-04 ) 2: # 338 Wrong Remark About MessageDialog (entered by m-stgt on 2025-02-18 -> 2025-02-19 ) 3: # 334 rexxref 2.4 DO note 9 inexact (entered by Josep Maria Blasco on 2024-09-05 -> 2024-09-05 ) 4: # 333 clarify DO/LOOP reserved keywords in expressions (entered by Josep Maria Blasco on 2024-09-02 -> 2024-09-04 ) 5: # 332 rexxref CALL description incomplete (entered by Josep Maria Blasco on 2024-08-28 -> 2024-09-05 ) 6: # 330 Rexxref 2.9. GUARD incomplete (entered by Josep Maria Blasco on 2024-08-27 -> 2024-08-31 ) 7: # 329 rexxref c.1.8 description of error 10.2 inaccurate (entered by Josep Maria Blasco on 2024-08-22 -> 2024-08-23 ) 8: # 328 rexxref 2.4 DO note 9 wrong (entered by Josep Maria Blasco on 2024-08-19 -> 2024-08-23 ) 9: # 324 rexxref 2.30.2 USE LOCAL and compound variables (entered by Josep Maria Blasco on 2024-08-16 -> 2024-08-16 ) 10: # 323 Typo in rexxref 2.30.1 "USE ARG, USE STRICT ARG" (entered by Josep Maria Blasco on 2024-08-16 -> 2024-08-16 ) 11: # 322 PARSE pattern expression (entered by Josep Maria Blasco on 2024-08-15 -> 2024-09-07 ) 12: # 321 3.5. ::METHOD incomplete (entered by Josep Maria Blasco on 2024-07-31 -> 2024-08-16 ) 13: # 320 lastItem in OrderedCollection wrongly states it returns the *first* item (entered by Rony G. Flatscher on 2024-07-03 -> 2024-07-03 ) 14: # 319 "rexxref 1.13.6. Environment Symbols" and "rexxpg 5.4.4" contain contradictory information (entered by Josep Maria Blasco on 2024-04-03 -> 2024-08-22 ) 15: # 318 Chapter 16: Reserved Keywords incoherent (entered by Josep Maria Blasco on 2024-04-02 -> 2024-08-17 ) 16: # 317 RexxRef "1.11.4. Message Terms" is wrong (entered by Josep Maria Blasco on 2024-03-30 -> 2024-08-18 ) 17: # 316 5.1.4.12. instanceMethods outdated (entered by Josep Maria Blasco on 2024-03-27 -> 2024-08-16 ) 18: # 315 15.3. RXTRACE Variable inaccurate (entered by Josep Maria Blasco on 2024-03-21 -> 2024-03-21 ) 19: # 314 1.10.5. Implied Semicolons, note inaccurate (entered by Josep Maria Blasco on 2024-03-20 -> 2024-03-21 ) 20: # 313 rexxref's "5.1.3.19. setUnguarded" contains error, methods are guarded by default (not unguarded) (entered by Rony G. Flatscher on 2024-01-19 -> 2024-01-19 ) 21: # 312 ooRexx Reference incorrectly references rexxutil.dll (entered by Mark Gaubatz on 2022-12-27 -> 2023-10-27 ) 22: # 311 ressref should refer to Unix in a consistent way (entered by Mark Gaubatz on 2022-12-27 -> 2023-10-28 ) 23: # 309 RxMessageBox described wrong in several aspects (entered by m-stgt on 2023-09-14 -> 2023-09-23 ) 24: # 308 Rexxref 2.18: Description of PARSE VALUE inaccurate (entered by Josep Maria Blasco on 2023-08-31 -> 2024-08-18 ) 25: # 306 rexxref 2.10, "IF", note 2 inaccurate (entered by Josep Maria Blasco on 2023-08-23 -> 2023-08-26 ) 26: # 305 Missing comma in RexxRef 1.31.3 "Extended Assignments" (entered by Josep Maria Blasco on 2023-08-20 -> 2023-08-20 ) 27: # 304 RexxRef 7.4.40 Description of LINEOUT BIF ambiguous (entered by Josep Maria Blasco on 2023-08-10 -> 2023-08-26 ) 28: # 303 Rexxref 1.13.2. "Constant Symbols": Incorrect description of environment symbols (entered by Josep Maria Blasco on 2023-06-15 -> 2023-08-26 ) 29: # 302 Rexxref 7.4.71.2. "Global environment variables" example inaccurate (entered by Josep Maria Blasco on 2023-06-13 -> 2023-08-26 ) 30: # 301 Rexxref "1.10.4.6. Operator Characters" should mention that adjacent comments are allowed and ignored, like whitespace (entered by Josep Maria Blasco on 2023-05-27 -> 2023-08-26 ) 31: # 300 In rexxref, "8.2. List of Rexx Utility Functions", SysSetPriority is not marked as (Windows only) (entered by Josep Maria Blasco on 2023-04-14 -> 2023-08-26 ) 32: # 299 Description of PARSE SOURCE is inaccurate (entered by Josep Maria Blasco on 2023-04-13 -> 2023-08-26 ) 33: # 297 Section "13.1. Calls to the Security Manager" of rexxref gives wrong return values (entered by Josep Maria Blasco on 2023-04-05 -> 2023-04-06 ) 34: # 296 ooDialog reference 4.2.4 ComboBox class missing set/get/remove itemdata methods (entered by Jon Wolfers on 2023-02-05 -> 2023-08-26 ) 35: # 290 RexxRef Set class 5.3.15.19 removeItem (entered by Jon Wolfers on 2022-05-05 -> 2024-08-18 ) Patches ------- 1: # 221 Windows Clipboard Unicode contents (entered by jfaucher on 2023-07-30 -> 2023-08-15 ) @ text @$NetBSD: patch-rexxapi_server_platform_unix_APIService.cpp,v 1.1 2025/01/17 17:44:22 rhialto Exp $ A combination of changes to make it possible to terminate the rxapi process which is auto-started: - use the lock file as a pid-file, - add a command line argument "stop" that sends SIGTERM to the pid from the pidfile, - let the signal handler continue running so that cleanup code can run. https://sourceforge.net/p/oorexx/bugs/1993/ --- rexxapi/server/platform/unix/APIService.cpp.orig 2025-05-03 09:08:48.000000000 +0000 +++ rexxapi/server/platform/unix/APIService.cpp @@@@ -65,7 +65,8 @@@@ void Stop(int signo) { apiServer.terminateServer(); // shut everything down - exit(1); + /* Do not exit here, but let the main loop finish and the epilog code clean + * up the lock file. */ } @@@@ -123,11 +124,17 @@@@ int main(int argc, char *argv[]) */ int main(int argc, char *argv[]) { + int stopflag = 0; + bool dryrun = false; // handy (undocumented) test option if (argc > 1) { - dryrun = strcmp(argv[1], "--dryrun") == 0; - printf(dryrun ? "rxapi: dryrun\n" : "rxapi: no args allowed\n"); + if (strcmp(argv[1], "stop") == 0) { + stopflag = 1; + } else { + dryrun = strcmp(argv[1], "--dryrun") == 0; + printf(dryrun ? "rxapi: dryrun\n" : "rxapi: no args allowed\n"); + } } // neither our lock file nor our socket should give access to group or world @@@@ -159,10 +166,30 @@@@ int main(int argc, char *argv[]) int fd; if ((fd = acquireLock(lockFileName)) == -1) { + if (stopflag) { + FILE *f = fopen(lockFileName, "r"); + long pid = 0; + + if (f && fscanf(f, "%ld", &pid) == 1 && (pid_t)pid > 1 && + kill((pid_t)pid, SIGTERM) == 0) { + exit(0); + } + exit(1); + } printf("rxapi: lockfile is locked by another rxapi instance; exiting\n"); return EACCES; } + if (stopflag) { + printf("rxapi: no server is running.\n"); + releaseLock(lockFileName, fd); // release the exclusive lock + exit(1); + } printf("rxapi: lockfile lock acquired\n"); + { + char pidstring[32]; + sprintf(pidstring, "%ld\n", (long)getpid()); + write(fd, pidstring, strlen(pidstring)); + } try { @ 1.1 log @lang/oorexx: stop rxapi server which is started during the build. This adds some patches so that the rxapi command gets an argument to tell it to stop a currently running rxapi server. Reported upstream as https://mastodon.social/@@dec_hl/113843692204297339 @ text @d1 1 a1 1 $NetBSD$ d11 1 a11 1 --- rexxapi/server/platform/unix/APIService.cpp.orig 2023-04-19 14:25:29.000000000 +0000 d13 1 a13 1 @@@@ -64,7 +64,8 @@@@ void Stop(int signo) d23 1 a23 1 @@@@ -118,9 +119,15 @@@@ void releaseLock (const char *lockFileNa d29 1 d32 8 a39 6 - printf("rxapi: no args allowed\n"); + if (strcmp(argv[1], "stop") == 0) { + stopflag = 1; + } else { + printf("rxapi: no args allowed\n"); + } d42 2 a43 2 // a buffer for generating the name @@@@ -138,10 +145,30 @@@@ int main(int argc, char *argv[]) d72 2 a73 2 struct sigaction sa; @