Jim Tcl
Timeline
Not logged in

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

50 most recent timeline items

2017-09-21
06:40
[d0d277697e] Leaf: examples/tip.tcl: Use 'writable' when sending output    Avoids situations where the output might block    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
06:40
[4d2900cfd6] configure: Remove reference to ensemble extension    It is not pushed to mainline yet.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
06:34
[e6deea1782] configure: --with-mod and --with-ext allow commas    Makes it a bit easier to type on the command line. e.g.    --with-mod=binary,zlib --with-ext=sqlite3    Spaces are still accepted, as are multiple instances of --with-mod, --with-ext and --without-ext    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
06:32
[ef80bdd56d] configure: Improve module selection    Modules/extensions are now explicitly marked as optional (and enabled with --full), or off (must be explicitly enabled with --with-mod/--with-ext)    This means that now binary and tclprefix are correctly not enabled by default, and zlib is enabled with --full.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
06:31
[fa321624e5] auto.def: tclprefix should not be enabled by default    It is listed as not enabled by default, but it is enabled by default    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
06:31
[2db7fb9400] prefix.test: Use the correct package name    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
06:31
[c4f990b209] tcltest: Support 'needs package xxx'    Makes it easy to skip all tests if the package isn't available    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
06:30
[a181b7fe80] tcl::prefix: respect -message when no valid options    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
06:30
[cdedd1ab2a] jim.c: minor code cleanups in [switch]    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-09-16
05:38
[c8ee350881] perf: cache the result of successful subcmd lookup    Speeds up jim-subcmd commands such as array, clock, file, aio    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
05:38
[545238c53f] remove special regexpValue internal rep    To avoid an explosion of different internal rep structures, simply use the existing ptrIntValue for jim-regexp    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
05:37
[c90457daf9] Simplify error reporting in jim-subcmd    Make use of Jim_SetResultFormatted()    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
05:37
[2ff8f28bc3] perf: cache successful Jim_GetEnum() results    When Jim_GetEnum() succeeds, cache the result in the object to speed up subsequent identical calls to Jim_GetEnum()    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
05:37
[e4c02883cb] defer: fast lookup existence of $jim::defer    This speeds up call frame destruction in the common case that $jim::defer does not exist.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-09-15
09:17
[027a885518] Implement defer, $jim::defer    Allows commands to run when a proc or interpreter exits.    If the $jim::defer variables exists at proc or interp exit, it is treated as a list of scripts to evaluate (in reverse order).    The [defer] command is a helper to add scripts to $jim::defer    See tests/defer.test    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
02:12
[954bfa31a8] docs: Update documentation for recent changes    Add aio sockopt Add history completion Remove aio tcp_nodelay    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
02:11
[bc78c3f08b] history: Add autocompletion support    With 'history completion <cmd>'    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
02:11
[05177bba18] aio: Add support for many socket options    Add aio sockopt to get and set various socket options via setsockopt()/getsockopt()    And remove 'aio tcp_nodelay' in favour of 'aio sockopt tcp_nodelay'    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
02:10
[c3499f63df] eventloop: return from callback is not an error    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-09-13
11:44
[5deea3cd44] docs: Remove Last Modified footer - take 2    More reliable way to remove the footer    Reported-by: Bernhard M. Wiedemann <bwiedemann@suse.de> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
11:25
[47c657f7b0] docs: Remove Last Modified footer    For reproducible builds    Reported-by: Bernhard M. Wiedemann <bwiedemann@suse.de> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-08-31
23:01
[00ead1b118] tests: binary tests require pack on jim    Avoid failing many tests if binary.tcl is available put pack isn't enabled.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
23:01
[013bf547ba] Support lambda even if references are disabled    It's convenient to support a non-gc lambda, even if references are disabled.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-08-27
00:14
[bc826458e7] tests/timer.test: Remove timer-6.5    This test is essentially the same as timer-6.4 except with tighter timing requirements. Remove it to prevent spurious failures.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
00:13
[9c3ba9fae8] tests/exec.test: Minor fix for exec-12.1 on hurd    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-08-18
02:40
[2676695c88] sqlite3: Fix build script    sqlite3/build-ext now needs to use autosetup-find-tclsh    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-08-11
05:09
[224195fb92] expr: remove leftover debugging printf    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-08-07
12:58
[704d38c13a] jim: Fix ref count issue with dict-subst    When a dict-subst object is duplicated, ref counts need to be adjusted.    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au (user: steveb@workware.net.au, tags: trunk)
10:36
[bd0203c273] expr: Fix refcount issue converting invalid boolean    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
10:36
[b15d214536] expr: Check for missing operand to operator    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-08-02
23:07
[5bc773bac3] tree: Allow nodes to be deleted    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
23:07
[df0a78320f] Error on extra characters after close brace    In scripts, like Tcl does.    Signed-off-by: Steve Bennett <steveb@workware.net.au> Reported-by: tcler.yin (user: steveb@workware.net.au, tags: trunk)
2017-06-01
23:53
[0f3a120f22] jim-sqlite3: Fix error msg for 'query'    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-05-30
11:33
[6cb7cc39b3] expr: Ensure that non-zero return codes are passed through    Non-zero return codes (e.g. break, continue, exit) were all being converted to the error code.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-05-26
04:28
[9057e9319b] format: validate too long precision    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
04:27
[557db6e98d] scan: validate -ve XPG3 specifier    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-05-23
04:36
[7147cf1a39] expr: Replace expression engine    Rework the expression engine to use recursive descent evaluation rather than a shunting yard algorithm. Among other things, it is easier to make lazy operators and the ternary operator work correctly.    In particular, the following expression no longer crashes: $(99?9,99?9:*9:999)?9)    And the code is now smaller.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
04:36
[bdb0c9632e] optimisation: when converting to double, may not need stringrep    Minor optimisation    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
04:36
[dfd24cb16d] optimisation: Reuse ExprBool in Jim_GetBoolFromExpr()    Removes some duplicate code    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-05-12
03:02
[0658663220] scan: Ensure format is converted to string form    Must have a stringrep before parsing.    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
03:02
[1cbabe444c] regexp: Fix bad memory access on missing close brace    For counted repetitions    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
03:02
[24e8023431] lsort -unique: Fix case with no duplicates    In this case the final element was written a second time.    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
03:02
[d9e8462879] format: Restrict formatted fields to a reasonable size    Calling the system sprintf() with overly long sizes can cause problems, so limit field size to 10000.    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
03:02
[51a1a67f58] format: Validate too many flags in format string    Avoid a stack overflow    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
03:02
[f020c0b233] exec: Fix check for | and |&    These are only allowed as separate args. One check was allowing them as a prefix which could lead to an invalid memory access    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
03:01
[9fd054339d] scan: error on missing conversion char    Don't read invalid memory    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
03:01
[cbda0f1515] exec: Validate that a command is given    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
03:01
[f893b07848] jim: Fix ref count problem with interpolated dict subst    When duplicating interpolated object type, need to increment ref count of the key to offset the decrement during free.    Also remove type-specific dup for dict-substitution which is not needed since it does nothing different from the default dup.    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
03:01
[d139acf868] lsort: Fix a refcount issue    Only duplicate a shared object    Reported-by: Ryan Whitworth <me@ryanwhitworth.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-04-22
10:31
[2494951f05] build: Update autosetup to v0.6.6-8-g062d650    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)