Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 check-ins occurring around e29bff2d0a6c9cfe.
2019-11-08
| ||
04:20 |
Improve comments for JimResetHashTable()
and Jim_FreeHashTable() Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: fc6a281ba4 user: steveb@workware.net.au tags: trunk, | |
2019-11-06
| ||
07:42 |
build: improve build for shared objects
Rather than listing the build rules for each shared object (loadable module) in the Makefile template, generate the build rules in configure. Also, if an extension is configured as a module, any automatic dependencies required by the extension are configured as modules by default. Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: b5c6f1bdf0 user: steveb@workware.net.au tags: trunk, | |
07:39 |
docs: Formatting cleanups, consistency
Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: da3b52d11c user: steveb@workware.net.au tags: trunk, | |
07:04 |
docs: Remove docs for the case command
This command no longer exists in Jim Tcl, so remove it from the documentation. Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: e328b9ce5b user: steveb@workware.net.au tags: trunk, | |
04:33 |
expr-sugar: $() should return non-error codes
If an expression returns (e.g.), break, continue or exit, that return code should be propagated, the same it is for [expr {}] Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 27524f281f user: steveb@workware.net.au tags: trunk, | |
2019-11-01
| ||
06:59 |
regexp,regsub: utf8: Fix incorrect count with . matches
Internally bytes were being counted rather than characters Reported-by: dbohdan <dbohdan@dbohdan.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 141a0e6501 user: steveb@workware.net.au tags: trunk, | |
2019-10-29
| ||
22:55 |
aio: need SO_REUSEADDR before bind()
Commit fe8bab1cc313d0049bbb839589c68059807518c8 accidentally moved the SO_REUSEADDR after bind() where it does no good. Move it back to before bind() Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: a0c786b717 user: steveb@workware.net.au tags: trunk, | |
2019-10-27
| ||
21:43 |
utf8_strlen: Improve performance
Use utf8_charlen() rather than utf8_tounicode() Note that utf8_charlen() now returns 1 instead of -1 for an invalid utf-8 start byte. Reported-by: dbohdan <dbohdan@dbohdan.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 30b8443d01 user: steveb@workware.net.au tags: trunk, | |
21:43 |
regexp: Fix -indices in the utf-8 case
The calculation of the end index was wrong. Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: c5172bb8fc user: steveb@workware.net.au tags: trunk, | |
11:17 |
regexp -indices should return character indices
Not byte indices Reported-by: dbohdan <dbohdan@dbohdan.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: a8688b351b user: steveb@workware.net.au tags: trunk, | |
10:46 |
regexp, regsub: -start is a character index
Not a byte index Reported-by: dbohdan <dbohdan@dbohdan.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: f11c04b1a8 user: steveb@workware.net.au tags: trunk, | |
2019-10-17
| ||
22:00 |
file: Add file split
This subcommand was missing as it wasn't part of the original Tcl 6.7 Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 5dc7c16feb user: steveb@workware.net.au tags: trunk, | |
21:59 |
file: Better support for trailing slashes in pathnames
e.g. file tail /abc/def/ => def Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 9dea3a9561 user: steveb@workware.net.au tags: trunk, | |
2019-09-06
| ||
10:08 |
signal: Add 'signal block' support
This allows a signal to be blocked by setting it's handler to SIG_IGN Can be used to block SIGPIPE for exec Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 370237ad63 user: steveb@workware.net.au tags: trunk, | |
10:08 |
exec: Don't force SIGPIPE to be enabled
Previously SIGPIPE was set to SIG_DFL before vfork so that child processes always had SIGPIPE enabled. This makes it impossible to disable SIGPIPE for child processes. So don't do this. Instead allow the disposition of SIGPIPE to be handled by the 'signal' command. Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: b282c9591c user: steveb@workware.net.au tags: trunk, | |
2019-08-14
| ||
07:11 |
aio: Significantly improve the speed of copyto
Copying 1 byte at a time can be very slow for large transfers. Use a 256 byte buffer instead. Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 1e1a801520 user: steveb@workware.net.au tags: trunk, | |
07:11 |
jim.c, jim.h: Remove unused Jim_ResizeHashTable
Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 1c52965e9b user: steveb@workware.net.au tags: trunk, | |
07:11 |
jim-history: Remove unused allocation
This allocation of space for the history is handled by the underlying code so there is no need to allocate a history buffer in jim-history. Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 79e6a61fc0 user: steveb@workware.net.au tags: trunk, | |
07:11 |
aio: minor code improvement
Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 8b1035a4cd user: steveb@workware.net.au tags: trunk, | |
2019-07-30
| ||
22:46 |
aio: Add support for lock -wait
Sometimes it is useful to wait for a lock to become available. Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: ec038cf547 user: steveb@workware.net.au tags: trunk, | |
2019-07-26
| ||
01:11 |
docs: Fix typo in unix domain datagram support
Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: b6d1b8e08f user: steveb@workware.net.au tags: trunk, | |
2019-07-01
| ||
01:14 | Update autosetup to v0.6.9 check-in: 2c48880813 user: steveb@workware.net.au tags: trunk, | |
01:14 |
docs: aio: Document unix domain datagram support
And sockname, peername Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 4a6937ccca user: steveb@workware.net.au tags: trunk, | |
01:14 |
aio: Add dgram unix socket support
Also add support for sockname and peername And remove unix domain sockets when the socket is closed And generally clean up the socket support Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: b56b7f5fe3 user: steveb@workware.net.au tags: trunk, | |
01:14 |
Jim_SubstObj: Add an assertion if ref count is zero
Signed-off-by: Steve Bennett <steveb@workware.net.au> Leaf check-in: c28b844655 user: steveb@workware.net.au tags: trunk | |
2019-06-10
| ||
04:58 |
linenoise: Update to rev d1a245f4a75747a1c4a1c08
win32 insert/delete fix to avoid assertion failure Accept linefeed as enter Signed-off-by: Steve Bennett <steveb@workware.net.au> Leaf check-in: e29bff2d0a user: steveb@workware.net.au tags: trunk | |
2019-05-20
| ||
05:38 |
docs: clock: Document the -gmt flag
Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: ac0fb3f181 user: steveb@workware.net.au tags: trunk | |
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 | |