- Aug 02, 2021
-
-
Steve Bennett authored
In addition to "on codes ..." it is now possible to trap on errorcode with "trap sublist ..." e.g. try { ... } trap CHILDSTATUS {msg opts} { ... } Fixes #204 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 21, 2021
-
-
Steve Bennett authored
When extracting the results of a query, an integer result should be retrieved with sqlite3_column_int64(), not sqlite3_column_int() Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 15, 2021
-
-
Steve Bennett authored
The name of the subcommand was inadvertently "lock ?-wait?" rather than "lock" Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Both for -commands and -help, and when an error is generated, sort the subcommands. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 10, 2021
-
-
Veronika Kremneva authored
(This brings autosetup to v0.7.0-7-gc154c58) Signed-off-by:Veronika Kremneva <kremneva@synopsys.com>
-
- Jul 09, 2021
-
-
Steve Bennett authored
bootstrap jimsh doesn't have garbage collection, so move such tests into ref.test Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 08, 2021
-
-
Steve Bennett authored
When a reference is used as a command name (e.g. in oo.tcl) it is created in the global namespace as ::<reference... The current check for references that are commands with a reference count of 1 doesn't take this into account so these references were not being garbage collected. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 02, 2021
-
-
Steve Bennett authored
Don't try to dup2() a file descriptor that is already correct. This can happen if, for example, stdin is closed and exec redirects stdin from a file, thus opening the input as file descriptor 0. Fixes #201 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Apr 09, 2021
-
-
Steve Bennett authored
Quote the build dir or and the path to jimsh/tclsh in the Makefile in case they contain spaces. Also fix a few problems in tests/ that arise when the build and/or source dir contain spaces. Fixes #199 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
In case the path to configure contains spaces. v0.7.0-6-g8e7e397 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Apr 03, 2021
-
-
Steve Bennett authored
Some users may not be ready to immediately move to the single-argument expr, so provide a --compat option to configure to support the previous behaviour as a transition strategy. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Mar 22, 2021
-
-
Steve Bennett authored
Use a single subencoder proc for all types. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Mar 19, 2021
-
-
Steve Bennett authored
Fixes #198 Reported-by:
Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by:
Steve Bennett <steveb@workware.net.au>
-
- Mar 10, 2021
-
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Mar 09, 2021
-
-
Steve Bennett authored
Avoid unexpected issues by concatenating multiple arguments. This does create an incompatibility with early versions, but it is generally trivial to convert existing code to one of two forms: 1. expr {$a + $b} -- usually correct 2. expr "$a + $b" -- usually incorrect Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Mar 07, 2021
-
-
prpr19xx authored
Some old systems are not happy with a numeric service and no socktype. Fixes #196 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Feb 27, 2021
-
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
In the case where interp is not supported Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Feb 20, 2021
-
-
Steve Bennett authored
In preparation for support of posix mode flags to open Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
In case the class is created with a namespace name Fixes #193 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
When namespace is disabled, Jim_memrchr is not needed Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Extensions like nshelper and jsonencode should only be selected if explicitly enabled or if they are the target of a dependency. So enabling namespace enables nshelper, but --full --without-ext=namespace doesn't. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Should not make any difference in practice, but the allocations should be size * (argc - 1) not size * argc - 1 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Feb 05, 2021
-
-
Steve Bennett authored
Irrelevant warnings from some compilers Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jan 30, 2021
-
-
Steve Bennett authored
Add -stride support to both lsearch and lsort Add -index support to lsearch Improve -index for lsort to support multiple indices Also harmonise some error messages with Tcl 8.7 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jan 23, 2021
-
-
Steve Bennett authored
Fixes #191 Signed-off-by:
Steve Bennett <steveb@workware.net.au> Reported-by:
D. Bohdan <dbohdan@dbohdan.com>
-
- Jan 10, 2021
-
-
Steve Bennett authored
jim.h now includes JIM_ABI_VERSION that should be incremented whenever the ABI changes. Then all loadable modules should call Jim_CheckAbiVersion() to make sure they are loaded against the correct version. Add Jim_PackageProvideCheck() that does both Jim_CheckAbiVersion() and Jim_PackageProvide() to simplify the implementation of loadable extensions. Also rename the "big" sqlite3 extension to just sqlite to avoid a naming conflict with the smaller jim-sqlite3 extension. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
D. Bohdan authored
-
- Jan 09, 2021
-
-
Steve Bennett authored
Also add some additional tools that use xtrace. examples/jcov - code coverage examples/jtime - code coverage that measures execution time examples/jtrace - trace script execution Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Allows a debugger or tracing facility to be implemented Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jan 06, 2021
-
-
Steve Bennett authored
If no 'check' is provided, we assume that the checks passed. If pkg-config is specified, but no other check, use 'check false' to ensure the module is disable if the pkg-config checks don't pass. Also travis now does 'make all' so that any module extensions are also built, and add a dependency on libhiredis-dev to test building the redis extension. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
To build all non-default extensions as modules if prerequisites are met. Also move the extension help out of the main help since it is quite long and show it with --extinfo. Now extension help is generated from $extdb to avoid the help and the module configuration becoming out of sync. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jan 03, 2021
-
-
Steve Bennett authored
Make sure we don't break the bootstrap jimsh Also build with --maintainer to check for assertion failures and reference count issues. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
In order to test bootstrap jimsh, it is very helpful if it can pass all the unit tests. - Set tcl_platform(bootstrap) to 1 for bootstrap jimsh or 0 otherwise - Use getref to determine in we have references, not ref since we implement a poor-man's ref for bootstrap jimsh - bootstrap jimsh package doesn't return a "Can't load package" message if loading the package fails - exec tests using [open |command] need pipe - bootstrap jimsh can't set file times with [file mtime] Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jan 02, 2021
-
-
Steve Bennett authored
When boolean parsing was combined in commit 982ec4f5 it broken parsing of boolean values in expressions that weren't standalone. e.g. expr {true} was fine, but expr {true ? 4 : 5} was not. Signed-off-by:
Steve Bennett <steveb@workware.net.au>
-