nxproc

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2024-02-19
23:54
Using valgrind found error -> segfaults (in procnm.c, mkprocname()). In addition to that fix, removed unnecessary variables, etc., in procnm.c. Leaf check-in: 284e18218a user: jra tags: 0.7.4.1, trunk
11:07
Should have done this before last commit: rm'd binary files from unix/tcl9. Leaf check-in: 517dd3a4f3 user: jra tags: 0.7.4.2, mem-debug
11:02
It was worthwhile to branch since it's likely the mystery bug has been solved. Valgrind pointed to ln 40 in procnm.c where buffer overflow was occurring--may well account for the segfaults and alloc errors. check-in: a601151ca3 user: jra tags: 0.7.4.1, mem-debug
07:32
Create new branch named "mem-debug" check-in: ee9a2e8716 user: jra tags: mem-debug
2024-02-17
03:26
Compiled all files, unix/win. check-in: 3a95fb3567 user: jra tags: 0.7.4.0, trunk
03:17
Added back missing pkgIndex.tcl/tcl9nxproc10.so check-in: 8d3904085c user: jra tags: 0.7.3.4, trunk
03:04
Merged use-tclobj, cleared merge conflicts. Had to rm files in unix/tcl9 since wouldn't be merged per fossil. check-in: f550ee98d3 user: jra tags: 0.7.3.3, trunk
02:41
Will rm *.so from unix/tcl9 as can't merge binary file. Leaf check-in: 5bab8c250c user: jra tags: 0.7.2.3.4, use-tclobj
02:37
To head off merge conflicts will rm unneeded comments from cmdline.c check-in: 6bc37c037f user: jra tags: 0.7.2.3.3, use-tclobj
01:37
Wasn't able to get the Tcl_Obj version working, restored string version essentially similar like prior to this branch. Leaving debugging statements commented out--will remove before merging. check-in: d9b27d418b user: jra tags: 0.7.2.3, use-tclobj
2024-02-12
02:18
Removed unused variables from cmdline.c. Recompiled for unix/win. check-in: d45393e0d7 user: jra tags: 0.7.3.2, trunk
2024-02-11
09:48
Minor changes. check-in: 6dedce58f2 user: jra tags: 0.7.3.1, trunk
09:29
Trying to revert changes in cmdline.c, will have to redo attempt to use tcl_obj. check-in: ce9d330d19 user: jra tags: 0.7.3, trunk
08:55
Saving changes... check-in: b26f478159 user: jra tags: 0.7.2.3.2, trunk
08:41
Fixing merge conflict check-in: d3fd35c85a user: jra tags: 0.7.2.3.1, trunk
08:26
Well this time will save as new branch... check-in: 426c20c2b1 user: jra tags: 0.7.2.2.1, use-tclobj
08:05
Well this time will save as new branch... check-in: de58262eb0 user: jra tags: 0.7.2.2, use-tclobj
07:42
Attempting to use tcl_obj in cmdline.c. Will save as new branch. check-in: 01c817d364 user: jra tags: 0.7.2.2, trunk
2024-02-10
05:06
Attempting to find/fix intermittent segfaults. Made changes in proncnm.c. Now segfaults not occurring but it's uncertain if problem is really resolved. Will continue to monitor and make further changes if needed. check-in: 964fc00d1c user: jra tags: 0.7.2.1, trunk
2024-01-30
03:51
Fixed sigsegv fault when replacing nxproc and error occurs--leaves pname0 NULL. Recompiled in Linux and Windows without difficulty. check-in: e53d5e9a9d user: jra tags: 0.7.2, trunk
2024-01-15
06:38
Updated documentation. check-in: eeb483bfc1 user: jra tags: 0.7.1, trunk
02:52
Major change in procnm.c re: eliminating need to supply class name with nxconstructor and nxmethod. Affects everything using nxproc in TclOO applications including our own oowebtools. check-in: 03257db098 user: jra tags: 0.7.0, trunk
2024-01-08
05:14
Edited documentation. Modified a few tests in oonxtest.tcl re: comparing nxproc and proc versions. check-in: f8810d94fe user: jra tags: 0.6.4.1, trunk
2024-01-07
23:26
Merged branch embed-procx1. check-in: a03f966d68 user: jra tags: 0.6.4.0, trunk
10:13
Finished updating Windows tcl8/9. Leaf check-in: a7a3833ac2 user: jra tags: 0.6.2.1, embed-procx1
08:33
Updated documentation in prep for release. For users with older versions of Tcl (i.e, 8.6.11+), extension compiles and runs satisfactorily. Testing via oonxtest.tcl requires modifications for 8.6, provided in files with *8-6* in name. Substantial changes to nxproc itself appear to be unneeded--not finding problems on testing. Will plan on merging to trunk after updating all versions. check-in: 0ffe95c003 user: jra tags: 0.6.2, embed-procx1
2024-01-05
07:57
Streamlined fixed arg handling in procnm.c. Cleaned up nxunknown handling in cmdline.c. Testing functionality didn't reveal any errors, though problems could well show up later. Assuming things remain stable should be approaching release. check-in: abe942c248 user: jra tags: 0.6.0, embed-procx1
2024-01-04
10:38
Further feature additions. Significantly enhanced nxunknown variable utility. Now, when activated nxunknown collects *all* unknown entries on nxproc command line. This accommodates fixed args with/without defaults, and is independent of nxargs which uses the 'arrow' syntax and operates separately. The nxunknown facility works like a 'super-args' collecting 'loose' input regardless of placement among named arguments. Preliminmary tests suggest it has little if any effect on execution speed. Needs further testing to confirm absense of bugs. check-in: d11fc8ecc8 user: jra tags: 0.5.9, embed-procx1
2024-01-02
22:56
Added feature: fixed (positional) arguments can now have default values. This works very much like the native proc command, though error messages differ. So far it hasn't introduced bugs, but time will tell how well that holds. Available in both Windows and unix variants. check-in: 55eb60fc68 user: jra tags: 0.5.5, embed-procx1
2023-12-27
12:05
Works in Windows with modification of config.def/Makefiles. check-in: e50d73f071 user: jra tags: 0.5.2, embed-procx1
08:17
Successfully compiled for tcl9 (unix), works as expected. Getting 'sqlite3' working with tcl9 had been a problem. While not directly affecting nxproc, it was anticipated nxproc would be used in projects requiring sqlite3 so it was important to resolve the issue. Finally sqlite loads in tcl9 after applying a workaround (re: appending 'Sqlite3' to 'package if needed ...' line in pkgIndex.tcl), though why it's necessary remains a mystery at this point. Building these components in Windows is next task. check-in: 1b12f23a25 user: jra tags: 0.5.0, embed-procx1
2023-12-21
08:58
Added small features. Can now use '-->' as separator ('--', '->' still valid). Using '-allvar <varname>' in option list enables collecting all nxproc contributed varnames into <varname> local variable. (Not often needed but arises here and there.) check-in: d2c8b19360 user: jra tags: 0.4.7, embed-procx1
2023-12-19
09:35
Fixed problem with enum arguments not respecting -CI input. (Due to premature return from DDENUM section in saveVar.) Working on updating nxproc-doc, many changes in last couple of months. check-in: 4f846afd32 user: jra tags: 0.4.6.9, embed-procx1
2023-12-18
04:28
Modified several files, added convenience functions to kvp, minor tweaks to procnm, cmdline. Beefed up 'runtests' in oonxtest.tcl. While issues with exec time (moreso with nxmethod/constructor) remain (e.g., recursive nxproc, etc.), overall results are satisfactory or better. Currently memory leaks aren't evident. check-in: d982060dde user: jra tags: 0.4.6.5, embed-procx1
2023-12-17
07:14
Running tests in oonxtest.tcl that should reflect actual usage. Not encountering errors/crashes but likely enough some are hiding. Not detecting memory leaks now. Exec speed could be problematic in some instances, but generally improved at this point. check-in: bd57e244e2 user: jra tags: 0.4.6, embed-procx1
2023-12-16
09:43
Using files in test to measure exec time, chk memory usage. Eliminating some unused or unnecessary files. check-in: 329efa37b9 user: jra tags: 4.5.5, embed-procx1
06:57
Idea for new variation where cmd_procx1 is embedded in proc/method/constructor body in manner of cmdargs::chkArgs. To this point this approach works quite well, markedly reducing mallocs and exec time. Will need further testing, will put in new branch. check-in: 733d1799cb user: jra tags: 4.5.1, embed-procx1
2023-12-13
13:41
Added a few convenience macros in cmdline.h check-in: a466836790 user: jra tags: 0.3.6.5, trunk
2023-12-09
00:39
While memory usage is decreased, too many allocations produce slowdown. Leaf check-in: 0733a6fe44 user: jra tags: 3.8.1, memfix-2
2023-12-08
09:23
Made progress, revised parseProcArgs and to lesser extent cmd_procx1, to remove unused code, modified variable setting via collecting keys/values and prepending to prx->body. As of these changes, memory usage is close to native 'methods' vs. 'nxmethods' even when complex, recursive. Posibly this can be extended to default options as implemented in saveVars. check-in: edbf67e139 user: jra tags: 3.8.0, memfix-2
2023-12-07
06:28
Still having issue with memory leaks. Prior effort to fix wasn't successful. Will try again in new branch. check-in: 177f5b2ad6 user: jra tags: 0.3.7.5, memfix-2
2023-12-05
00:35
Attempting to fix memory leaks, proving difficult to find where occuring. Will commit to branch to work on further. Leaf check-in: 4653b577ca user: jra tags: 0.3.7, mem-fix
2023-11-30
04:44
Modified several files, much cleanup, changed how keys handled with *-CI procedures, now simpler, fixing serious memory leak originating there. Striving to further reduce code redundancies. check-in: 23454111c1 user: jra tags: 0.3.6, trunk
2023-11-29
11:25
Prior optimism proved premature. However fixed errors, nxconstructor(-ci) now appears to work correctly. Expecting issues will surface as the extension is more thoroughly tested. check-in: 4b738cf754 user: jra tags: 0.3.5, trunk
2023-11-24
20:43
Added new commands to nxproc including nxmethod, nxconstructor and *-ci variants. Unless major issues emerge, about ready for release. The oo procedures work as expected under Linux and Windows. Only issue is need to specify assoc class when invoking oo commands. Will continue to look into modifying implementation. However remains quite usable. check-in: 925681705d user: jra tags: 0.3.0, trunk
10:46
Attempting to add nxmethod and nxmethod-ci. So far it works, however one small issue, necessary to supply class name when using nxmethod. Not sure of solution but will continue to investigate. Will consider currentimplementation to be preliminary on that account. Haven't yet tested exec time, probably greater than 'ordinary' nxproc/ci. Overall, as it stands, the new functionality appears to be usable--and useful. check-in: d3e7672b26 user: jra tags: 0.2.7.0, trunk
2023-11-12
05:38
Changed cmdline.c re: nx_args. Previously args after '--' were collected into a string, now they're collected to a list. This matches the args variable in std Tcl *proc*. check-in: d4f97eee87 user: jra tags: 0.2.6.3, trunk
2023-11-10
07:38
Revised error message for enum type. Updated nxproc-doc.{md,html,pdf}. check-in: 50384fd562 user: jra tags: 0.2.6.2, trunk
2023-06-20
00:26
Added documentation in html format check-in: 69622d72ab user: jra tags: 0.2.6.1, trunk
2023-06-19
23:38
Further work on documentation and added PDF. Revised 'dtype_cmd' function in procnm.c to simplify/clarify implementation and use. Minor edits to cmdline.c. Some changes in procx-test.tcl for purpose of examples. check-in: bad554ae2a user: jra tags: 0.2.6.0, trunk