Jim Tcl
Timeline
Not logged in

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

50 check-ins occurring around e4f3b0e5d4a9a718.

2018-09-03
22:00
Tidy some signed/unsigned comparisons    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: a25ba46aa3 user: steveb@workware.net.au tags: trunk
2018-07-28
08:16
distclean: Remove generated tests/Makefile check-in: d8b98f3ecd user: steveb@workware.net.au tags: trunk
2018-07-26
23:49
linenoise: Update for optimised delete char    Update to version: https://github.com/msteveb/linenoise/commit/174a404dfa323a17852414dfc70b36976eddf6f3    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: dc3451b724 user: steveb@workware.net.au tags: trunk
20:59
jim-interp.c: fix compile warning with GCC 8.1.1    GCC complains about possible truncation from snprintf() jim-interp.c: In function ‘JimInterpCommand’: jim-interp.c:164:46: warning: ‘%ld’ directive output may be truncated writing between 1 and 20 bytes into a region of size 19 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "interp.handle%ld", Jim_GetId(interp)); ^~~ jim-interp.c:164:32: note: directive argument in the range [-9223372036854775807, 9223372036854775807] snprintf(buf, sizeof(buf), "interp.handle%ld", Jim_GetId(interp)); ^~~~~~~~~~~~~~~~~~ jim-interp.c:164:5: note: ‘snprintf’ output between 15 and 34 bytes into a destination of size 32 snprintf(buf, sizeof(buf), "interp.handle%ld", Jim_GetId(interp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> check-in: 3bb8ebd082 user: borneo.antonio@gmail.com tags: trunk
2018-07-25
07:04
linenoise: Update for optimised insert    Update to version: https://github.com/msteveb/linenoise/commit/d7bcf93d4de7581e043283ab461eca2310dd8fdc    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: e8aebbb399 user: steveb@workware.net.au tags: trunk
05:30
Update autosetup to v0.6.8    autosetup changes: - The syntax for templates has changed slightly - Update config.guess and config.sub to 2018-03-08 - Add rpath support - Add --runstatedir    Also: - enable rpath when building libjim as shared - ensure that 'make test' works on MacOS when libjim is shared    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: ddb44ce9e6 user: steveb@workware.net.au tags: trunk
2018-07-08
21:33
exec: Finally get the environ right    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 5e5468aebd user: steveb@workware.net.au tags: trunk
12:36
exec: Fix environment for windows    The incorrect environment was used in 8f7471a0f    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 5d6623b385 user: steveb@workware.net.au tags: trunk
11:48
foreach: Avoid memory leak in case of error    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 569b3d59ce user: steveb@workware.net.au tags: trunk
11:48
exec: Better adhere to possible vfork restrictions    Avoid modification of any variables on the parents stack. Avoid use of stdio in the event that execve fails.    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: fc4c80e31e user: steveb@workware.net.au tags: trunk
11:47
remove some unused variable assignments    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 6220fc5fc0 user: steveb@workware.net.au tags: trunk
01:49
build-jim-ext: Improvements when cross compiling, Tcl    Detect when cross compiling (build != host) Tcl exec loses stderr if redirected and an error code is returned, so redo the approach to exec so that it works on both Tcl and Jim    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 7c5bcde648 user: steveb@workware.net.au tags: trunk
01:17
linenoise.c: Minor update to fix compiler warning    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 81c9a5ae01 user: steveb@workware.net.au tags: trunk
00:42
aio: Fall back to stdio error if no ssl error    Conditions such as ECONNRESET may result in a failed ssl connection with no ssl error, so return the stdio error in this case rather than just "unknown SSL error"    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 5985f8c4d5 user: steveb@workware.net.au tags: trunk
00:42
aio: Always set error message on I/O error    Some operations that failed (such as read) would leave an empty error result.    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 35cbeebf78 user: steveb@workware.net.au tags: trunk
2018-07-05
03:02
expr: Fix compiler warning on older gcc    jim/jim.c: In function ‘SetExprFromAny’: jim/jim.c:9109:16: error: ‘top’ may be used uninitialized in this function [-Werror=maybe-uninitialized] expr->expr = top; ^ jim/jim.c:9075:25: note: ‘top’ was declared here struct JimExprNode *top;    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: c9b57c7b2b user: steveb@workware.net.au tags: trunk
2018-07-01
00:55
Add release notes for v0.78 Leaf check-in: 1d37d7b8ed user: steveb tags: www
2018-06-30
23:57
Bump version to 0.78 Leaf check-in: 775c8a2b4d user: steveb@workware.net.au tags: trunk
07:24
oo: Fix 'methods' for superclasses    Methods inherited from a base class are created with alias, so they are not returned by 'info procs'. Need to use 'info commands' instead. check-in: 644e0639b5 user: steveb@workware.net.au tags: trunk
2018-06-07
21:13
jim.c: Allow Jim_WrongNumArgs() to accept NULL for msg    For consistency with Tcl    Reported-by: Stuart Cassoff <stwo@bell.net> Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: f971c9f700 user: steveb@workware.net.au tags: trunk
2018-06-03
06:18
jim.c: Jim_Length/Jim_String internal checks    Perform the same internal checks as Jim_GetString() when the string rep needs to be generated by calling Jim_GetString()    Reported-by: Stuart Cassoff <stwo@bell.net> Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 876c29d3a8 user: steveb@workware.net.au tags: trunk
2018-03-25
00:47
linenoise: Update to support multiline mode.    Updated to: https://github.com/msteveb/linenoise/commit/ad5172e99520e2fe2a35b4bbd7fbc74d9df36df1    Now supports multiline mode (by setting $history::multiline to 1) Improved windows support    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 4f1592c24e user: steveb@workware.net.au tags: trunk
2018-01-18
01:01
expr: prevent stack overflow    Limit the depth of the expressions to a reasonable level to prevent stack overflow    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: b878884ca8 user: steveb@workware.net.au tags: trunk
2018-01-01
03:42
linenoise: Add ^Z (SUSP) support    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: ad3fb99587 user: steveb@workware.net.au tags: trunk
2017-12-31
01:47
utf8: Update UnicodeData.txt and EastAsianWidth.txt to 10.0.0    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 5386172c24 user: steveb@workware.net.au tags: trunk
01:47
utf8: Fix merging of adjacent wide character ranges    Adjacent wide character ranges were not being merged correctly, and the final range was not being output.    Fix this, and also merge adjacent combining character ranges.    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: e4f3b0e5d4 user: steveb@workware.net.au tags: trunk
01:47
linenoise: Update to fix potential buffer overflow    From https://github.com/msteveb/linenoise/commit/a4545af5e3766c58100be6bf406b9a0d2049090f    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 29cb9ccf5a user: steveb@workware.net.au tags: trunk
01:47
utf8: Be more strict at rejecting invalid UTF-8 sequences.    RFC 3629 says:    Implementations of the decoding algorithm above MUST protect against decoding invalid sequences    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: fd0eb63ebd user: steveb@workware.net.au tags: trunk
01:45
regexp: Implement class shorthand escapes in brackets    The following class shorthand escapes now match Tcl when used within bracket expressions:    \d [[:digit:]] \s [[:space:]] \w [[:alnum:]_] (note underscore)    e.g. [a-f\d] => [a-f0-9]    Previously these shorthand escapes were only implemented outside bracket expressions.    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: aa2e5832cf user: steveb@workware.net.au tags: trunk
2017-12-02
09:51
jim.c: Various minor cleanups    Small improvements to code for clarity and code reduction. Improve comments.    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: b8e69cbcb0 user: steveb@workware.net.au tags: trunk
2017-11-29
05:46
tests: clock.test needs cmd clock    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 4d96df65f9 user: steveb@workware.net.au tags: trunk
2017-11-26
22:14
build: Fix out-of-tree builds    Was broken by the support for --silent-rules    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 513bab2af8 user: steveb@workware.net.au tags: trunk
11:19
tests: Make the failing SIGPIPE tests go away on AppVeyor    Work around the problem by skipping the test    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: a1fd64bbcc user: steveb@workware.net.au tags: trunk
07:43
build: Support --silent-rules    And enable silent rules by default if using GNU make.    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 87eb66b790 user: steveb@workware.net.au tags: trunk
07:43
Update autosetup to v0.6.7-17-gb5a0e85    Mostly for --{enable,disable}-silent-rules    Use new opt-str where appropriate    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: cf03b3c80d user: steveb@workware.net.au tags: trunk
2017-11-25
06:52
tests: remove debugging from event.test    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: f259d28a19 user: steveb@workware.net.au tags: trunk
00:33
tests: If ipv6 sockets can't be bound, don't test    This is a workaround for IPv6 tests failing on Travis    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 3d4d76de61 user: steveb@workware.net.au tags: trunk
2017-11-24
22:59
build: During install, make sure pkgconfig dir exists    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: b87dad7d92 user: steveb@workware.net.au tags: trunk
2017-11-07
21:48
docs: Bring README.utf-8 up-to-date    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 18ba56fba7 user: steveb@workware.net.au tags: trunk
21:47
tclcompat.tcl: minor comment updates    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 92e4698aad user: steveb@workware.net.au tags: trunk
2017-11-04
09:16
interp: command should be created in the global namespace    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: c6eab746a7 user: steveb@workware.net.au tags: trunk
09:16
tests: exec2-3.2 now passes on OpenBSD    Reported-by: Stuart Cassoff <stwo@bell.net> Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 713502fb49 user: steveb@workware.net.au tags: trunk
2017-10-21
03:25
tests: Use a more explicit approach to test SIGPIPE    Write to a closed pipe in exec2-3.2 to force SIGPIPE    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: b1f8a31bdc user: steveb@workware.net.au tags: trunk
02:49
aio: No need to create a new channel for ssl    Just "promote" the current channel to ssl    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 256d17bf10 user: steveb@workware.net.au tags: trunk
02:49
doc: Update remaining references to os.wait    Now simply 'wait'    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 6f79baf755 user: steveb@workware.net.au tags: trunk
02:37
file: __MSYS__ signifies windows too    Needed to make file join work with msys2    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 04d829652a user: steveb@workware.net.au tags: trunk
2017-10-16
21:51
tests: Try to fix exec2-3.2 on Windows    On some mingw platforms exec2-3.2 isn't producing SIGPIPE Try to make it do so.    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 010735d763 user: steveb@workware.net.au tags: trunk
21:39
signal, exec, wait, pid: improvements, especially to exec    - fix popen [open "|pipeline ..."] to return meaningful status in close (but note that stderr is not captured) - popen pipelines can now be used as the target of exec redirection - overally improvements to exec on windows. Now crt file descriptors are used throughout - add support for [pid], [wait] and popen on windows - os.wait is now wait, and integrates with [exec ... &] to be able to wait for running background tasks - [socket pipe] is now also [pipe] and is supported on windows - [file tempfile] is supported on windows - move duplicated code between jim-aio.c and jim-exec.c to jimiocompat.c - Fix [exec] on windows to match unix semantics wrt sharing the parent stream unless redirected rather than using /dev/null - On windows redirect to or from /dev/null is automatically converted to NUL: - If signal support is disabled, implement a minimal Jim_SignalId() for exec and wait - aio now supports getfd, to return the underlying file descriptor. This is used by exec to support redirection, and allows popen channels to support exec redirection.    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: da86539f12 user: steveb@workware.net.au tags: trunk
2017-10-15
23:53
jim: cmdPrivData needs to be saved and restored    If a C command invokes another C command (including indirectly), cmdPrivData was being changed but not restored check-in: 04fe854dc1 user: steveb@workware.net.au tags: trunk
23:00
after: Need to initialise 'ms'    Also fix a warning on Windows    Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 459cf36faa user: steveb@workware.net.au tags: trunk