Jim Tcl
Timeline
Not logged in

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

50 most recent check-ins related to "trunk"

2019-11-20
01:32
bump version to 0.79

Update documentation to indicate v0.79 and update Tcl_shipped.html

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

2019-11-14
23:04
build: Check for inline support

To ensure that linenoise.c can build, even for strict c89 Add cc-check-inline in autosetup/jim-misc.auto

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

23:02
Update ssl cert to use a 4096 bit key

Keep newer libssl happy

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

2019-11-13
23:41
build: Fix out-of-tree build with json ext

If building out-of-tree, the jsmn/ directory may not exist. So create it during configure

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

2019-11-11
21:33
aio: tty: allow setting echo

set-only e.g. to disable echo on stdin: stdin tty echo 0

This allows disabling echo while otherwise keeping cooked mode. Setting input to cooked or raw will overwrite this setting

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

21:32
configure: add SIZEOF_INT to jim-config.h

It can be useful for extensions to know the size of integers

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

05:00
json: implement -index decode option check-in: 1477093252 user: dbohdan@dbohdan.com tags: trunk,
2019-11-09
11:06
json: Fix decode schema for list obj

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

09:59
json: Add json encoder/decoder

Using the jsmn library for decoding. Based on the original implementation by Svyatoslav Mishyn <juef@openmailbox.org>

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

09:59
jsmn: Fix a parser bug where object keys could be non-strings

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

09:59
jsmn: import json decoder

This will be used to add json decode support

From: https://github.com/zserge/jsmn, v1.0.0

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

09:58
aio: make some data const

Move some remaining data to the read-only segment

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

2019-11-08
09:28
appveyor.yml: build with sqlite3 ext check-in: 3af2b70e47 user: steveb@workware.net.au tags: trunk,
09:28
appveyor.yml: fix build in forks check-in: 5d379f3999 user: steveb@workware.net.au tags: trunk,
09:28
appveyor.yml: explicitly build with ssl

Using only --full will ignore ssl if the ssl library isn't found. By enabling it explicitly, we will get an error if not found. check-in: 764b0fce06 user: steveb@workware.net.au tags: trunk,

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