Jim Tcl
Timeline
Not logged in

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

49 check-ins occurring around c9b57c7b2ba62a2d.

2019-05-20
05:38
clock scan: Implement timegm() locally

Don't rely on system timegm(), and use a locally implemented timegm() that doesn't rely on changing TZ in the environment

Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 13abc622e2 user: steveb@workware.net.au tags: trunk

05:38
clock scan: Unspecified fields use the current date/time

When scanning a time with unspecified fields, those fields should use the current date/time, not 1 Jan 1900.

Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: c861d09c19 user: steveb@workware.net.au tags: trunk

2018-11-25
22:51
appveyor.yml: update OpenSSL DLL paths check-in: 8d046c71be user: steveb@workware.net.au tags: trunk
2018-11-24
01:24
aio: Prefer TLS_method() over TLSv1_2_method()

To avoid a deprecation warning

Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 1952b26edf user: steveb@workware.net.au tags: trunk

2018-11-23
12:20
aio: Don't use FD_CLOEXEC with JIM_ANSIC

Bootstrap jimsh sets JIM_ANSIC but FD_CLOEXEC is enabled. This causes FD_CLOEXEC to be set on fd 0 (stdin), thus closing the default fd 0 in the child process during exec.

Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 0f89f3d934 user: steveb@workware.net.au tags: trunk

2018-10-26
05:32
appveyor.yml: fix missing zlib1.dll in jimsh.zip check-in: aceabc1d7d user: steveb@workware.net.au tags: trunk
2018-09-21
02:58
lreplace: Implement TIP #505

More consistent behaviour of replacing past end of list

Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 54894f621d user: steveb@workware.net.au tags: trunk

02:57
file: Add microsecond resolution for mtime: mtimeus

Note that actual support is dependent upon the underlying operating system and filesystem.

Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: f11e879168 user: steveb@workware.net.au tags: trunk

2018-09-03
22:00
bootstrap package support

Allow minimal command "package" to take additional arguments, but ignore them.

Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: a2b3125017 user: steveb@workware.net.au tags: trunk

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 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