- Dec 21, 2020
-
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Dec 20, 2020
-
-
Steve Bennett authored
This means that instead of just [list index 2+1], we can now do [list index end-$n*2+1] This applies to: lindex, linsert, lreplace, lset, lrange, lsort, regexp, regsub string index,first,last,range Also add tests for both direct integer expressions and indexes. Still needs doc update. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
This means that $variable references and [commands] are not expanded. This should mitigate security concerns when using the 'integer expression' feature. It means that you must do: string repeat a $i*4 Not: string repeat a {$i*4} Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Dec 19, 2020
-
-
Steve Bennett authored
For convenience, many commands now accept integer expressions rather than only simple integers. These are: loop, range, incr, string repeat, lrepeat, pack, unpack, rand This simplifies many cases where previously expr {} or $() was required. e.g. foreach i [range 4+1 2*$b] { ... } string repeat 2**$n a Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Dec 14, 2020
-
-
Steve Bennett authored
A command may return NULL, but set an error (e.g. Server closed the connection). In this case, make sure to return the error. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
These stored the currently executing proc args and body (the same as are available via info args and info body), but were never used anywhere. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Dec 11, 2020
-
-
Steve Bennett authored
It is especially convenient to add -1 for something like: lindex $list end-$BACK-1 or: string range $str $p $p+$len-1 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Antonio Borneo authored
If the build host doesn't have neither jimsh nor tclsh installed, during 'configure' the autosetup will build 'autosetup/jimsh0' inside the source tree. This happens also when out-of-tree build is used. Making dirty the source tree during out-of-tree build causes applications that use jimtcl as submodule (e.g. OpenOCD) to fail at 'make distcheck'. Modify 'autosetup-find-tclsh' to build 'jimsh0' in the current folder. For jimtcl project it would be the root of the source tree or the root of the out-of-tree build. Update 'Makefile.in' to search for 'jimsh0' in the new path during 'distclean'. Reported-by:
Paul Fertser <fercerpav@gmail.com> Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
- Nov 30, 2020
-
-
Antonio Borneo authored
The working directory is not fully cleaned-up and remains dirty after 'make distclean'. Add file examples.api/Makefile in the list of files to remove during 'make distclean'. Signed-off-by:Antonio Borneo <borneo.antonio@gmail.com>
-
Antonio Borneo authored
When building in-tree, the generated file is not ignored and the tree appears as dirty. Add the generated file to .gitignore. Signed-off-by:Antonio Borneo <borneo.antonio@gmail.com>
-
- Nov 16, 2020
-
-
Steve Bennett authored
Add support for comments in expressions Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Fixes #183 Reported-by:
Stuart Cassoff <stwo@bell.net> Signed-off-by:
Steve Bennett <steveb@workware.net.au>
-
- Nov 15, 2020
-
-
Steve Bennett authored
Using the hiredis client library. Synchronous API only. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Add Jim_CreateScriptFileHandler() to create a standard script filehandler event that evaluates the given script with Jim_EvalObjBackground() when the event occurs. Also add Jim_FindFileHandler() to find a registered event handler. Simplify aio by using these. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Nov 14, 2020
-
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Ensure that 'info complete' returns 0 for a script is missing the end quote such as "abc$def Fixes #181 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Using 'close w' with an ssl socket doesn't really work because this is done only on the underlying socket. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Fixes: #182 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Nov 09, 2020
-
-
Steve Bennett authored
It is not portable to connect to 0.0.0.0, expecting this to the same as connecting to localhost/127.0.0.1, and the same for IPv6. So explicitly connect to 127.0.0.1 or [::1] Fixes #180 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Nov 08, 2020
-
-
Steve Bennett authored
Loadable modules and tests Fixes #179 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Nov 01, 2020
-
-
Steve Bennett authored
Some systems produce 5e-05 while some produce 5e-5. Both are acceptable. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Oct 31, 2020
- Oct 29, 2020
-
-
Steve Bennett authored
make-c-ext.tcl and parse-unidata.tcl now support input files with CRNL line endings Reported-by:
<Mark@TheMarkitecht.com> Signed-off-by:
Steve Bennett <steveb@workware.net.au>
-
- Oct 06, 2020
-
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Oct 05, 2020
-
-
Steve Bennett authored
Update documentation to indicate v0.80 and update Tcl_shipped.html Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Oct 04, 2020
-
-
Steve Bennett authored
Need to find the baseclass based on the current method class, not based on the object class. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Sep 27, 2020
-
-
D. Bohdan authored
-
- Sep 23, 2020
-
-
Steve Bennett authored
When compiled with -Os and arm-linux-musleabihf-gcc (crosstool-NG 1.24.0.92-e2957c3) 9.2.0 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Docs now indicate 0.79+, in preparation for 0.80 release And correctly indicate the changes since 0.79 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
TIP 342 (https://core.tcl-lang.org/tips/doc/trunk/tip/342.md ) Signed-off-by:
Steve Bennett <steveb@workware.net.au>
-
D. Bohdan authored
-
D. Bohdan authored
TIP 461
-
D. Bohdan authored
Thanks to @gromgit on GitHub for suggesting this phrasing.
-
D. Bohdan authored
TIP 472
-
- Aug 22, 2020
-
-
Antonio Cardace authored
The generation of this field makes the resulting Tcl.html different between builds, as it records the time of generation, remove this as it causes jimtcl rpms for different arches (on RHEL/Fedora) to have a file conflict on Tcl.html.
-
- Jul 31, 2020
-
-
Steve Bennett authored
Avoid possible problems with when linking by renaming local regex to jim_regcomp, jim_regexec, etc. Fixes: #163 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-