Jim Tcl
Timeline
Not logged in

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

50 most recent timeline items

2017-03-16
11:35
[cee9670322] Leaf: linenoise.c: Use <poll.h> instead of <sys/poll.h>    Update to match linenoise.git    Signed-off-by: Steve Bennett <steveb@workware.net.au>    diff --git a/linenoise.c b/linenoise.c index 091d197..171dcef 100644 --- a/linenoise.c +++ b/linenoise.c @@ -116,7 +116,7 @@ #else #include <termios.h> #include <sys/ioctl.h> -#include <sys/poll.h> +#include <poll.h> #define USE_TERMIOS #define HAVE_UNISTD_H #endif    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-03-11
02:43
[71c2659dbb] Fix buffer overrun in utf8_index() (user: steveb@workware.net.au, tags: trunk)
2017-03-02
21:17
[65db0823b7] Fix some declarations after code    For the benefit of C89 compilers.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2017-02-12
23:31
[4cd20d8978] aio: Fix stdio error detection    The test for ECONNABORTED was reversed such that errors such as ENXIO did not correctly return an error.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-11-19
06:51
[972f154552] build: remove jimtcl.pc on distclean    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-11-14
02:22
[946ffff26a] dict: Fix [dict values] with duplicate values    The script implementation of dict values was not correctly handling the case where a dictionary had duplicate values.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-10-26
09:52
[baeab93590] build: update autosetup for LIBS/LDFLAGS fix    343be844 cc tests should use LIBS and LDFLAGS    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
09:50
[89d8626fbd] build: On NetBSD backtrace is in -lexecinfo    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
09:44
[7a2fd47ecc] examples/tip.tcl: Gracefully handle serial port being removed    e.g. a usb-serial port    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-10-18
21:51
[1fee3f3a61] examples/tip.tcl: Lock the device    Prevent multiple access to a serial port by using locking. This is probably compatible with most serial port locking on Linux. Perhaps on macosx.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
01:22
[e6a18904e1] aio tty: clear ICRNL for raw input mode    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-10-16
23:02
[dd9dcbe2ac] Add pkg-config support: jimtcl.pc    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-10-14
12:21
[c0ca968896] build: update autosetup for Tcl 8.5 compatibility    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-10-13
00:36
[097e242119] Fix distclean of jimsh0 when building not in source dir (user: steveb@workware.net.au, tags: trunk)
2016-10-12
00:12
[4f50ebe3e9] signal: restore default signal handling    If the interpreter or signal command is deleted, restore default signal handling and free allocated memory.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-10-11
23:26
[137d8e6d57] Array fixes and tests    Changed 'array exists' to actually check if the variable is an array (matches tclsh) Fix Jim_DictInfo to avoid using printf() and make output match tclsh Added some more tests for array command - checked these work with tclsh (user: steveb@workware.net.au, tags: trunk)
01:14
[a12f608705] Fix warnings when building win32 module and add module to appveyor build (user: steveb@workware.net.au, tags: trunk)
2016-10-10
22:48
[2a42dd0867] build: remove -Werror when running ./configure    Building with CFLAGS="-Werror -Wall" caused configure to fail due to the following warnings being converted to errors:    * conflicting types for built-in function * unused variable    When these warnings get converted to errors, they prevent the detection of fork, isascii, isinf, isnan, math libs, long long & struct flock.    Add -Wno-error in this case to prevent these warnings being treated as errors.    Reported-by: Evan Hunter <evan@ozhiker.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
22:37
[2cb8e91dd7] improve example autocompletion function to complete partially typed arguments (user: steveb@workware.net.au, tags: trunk)
22:33
[18c351c799] Separate out Jim specific tests (user: steveb@workware.net.au, tags: trunk)
2016-10-09
10:00
[0b6efd9dfe] docs: Only try to build Tcl.html if asciidoc is found    Otherwise install the shipped docs with a warning.    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-10-08
23:42
[3eb06618dc] Add more tests for zlib (user: steveb@workware.net.au, tags: trunk)
23:39
[c79560066d] Fix C++ compatibility    Compiling for C++ (as is needed for Metakit extension) generates an error due to the use of the reserved word 'template' as an argument name. Renaming this argument (user: steveb@workware.net.au, tags: trunk)
23:30
[421bcaf774] exec: Fix windows exec with empty or unset env    Reported-by: Evan Hunter <evan@ozhiker.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
22:56
[8d4f0807ca] jim.c: Fix Object leak in zlib support    Change Jim_SetResultFormatted() to increment/decrement the ref count of any %#s parameters. This allows zero refcount objects to be passed in and be freed automatically.    Reported-by: Evan Hunter <evan@ozhiker.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
22:19
[0729c88bb2] Avoid re-defining _GNU_SOURCE    pkgconfig for SDL causes _GNU_SOURCE to be defined on the commandline, hence causing an error when these source files re-define it. (user: steveb@workware.net.au, tags: trunk)
2016-10-06
08:24
[a2955f8a7e] Fix makefile dependencies    Not all objects were dependent on the Makefile/headers, so the following build sequence resulted in failure:    ./configure CFLAGS="--coverage" LDFLAGS="--coverage" && make ./configure && make (user: evan@ozhiker.com, tags: trunk)
2016-10-05
22:29
[b7140d3c4d] eventloop: Don't assume unistd.h and sys/time.h    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
22:28
[adee88b203] Fix for systems without umask    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
22:24
[e0d28e6ed1] jim-exec: use exec false on failed exec in --maintainer mode    Keeps valgrind happy    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
22:23
[0aed53a88d] jim.c: Use UCHAR() with isxxx() functions    For systems with signed char    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
21:36
[71e8173821] Fix test target for out-of-tree builds (user: steveb@workware.net.au, tags: trunk)
20:30
[684daa31b2] autocomplete: add global $tcl::autocomplete_commands    Contains commands that suport -commands, to make it easy to add custom commands without replacing the default tcl::autcomplete (although that is still the recommended approach)    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
20:22
[6bc1786355] add filename completion for source command (user: steveb@workware.net.au, tags: trunk)
09:33
[bc70c8f0f2] dict: dict replace with one arg is not stable    Fix dict2.test/dict-4.1    Even with no key/values given, the order of the returned dictionary is not guaranteed.    Reported-by: Evan Hunter <evan@ozhiker.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-10-01
23:27
[74264db4db] Add some tests for paths identified as untested by gcov.    Also prune a 'break' which was unreachable. (user: steveb@workware.net.au, tags: trunk)
23:27
[411f0c4191] jim-win32compat.h: Use snprintf rather than _snprintf    Apparently snprintf exists now and _snprintf is not C99 compliant    Reported-by: Evan Hunter <evan@ozhiker.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
23:27
[9875bbacf5] exec: ensure closed fd is -1    Reported-by: Evan Hunter <evan@ozhiker.com> Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-09-29
05:13
[b0ddd02490] Leaf: jimsh: Scriptable command-line completion support    via tcl::autocomplete    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
2016-09-28
22:16
[515ddef1dc] Add support for "-commands" to many commands    This option returns a list of support subcommands and is useful for command line completion.    Support added to: socket, namespace, tcl::prefix, string, dict, info    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
22:13
[86f09de028] jimsh: add support for "jimsh -"    A convenience for evaluating a script on stdin without interactive mode    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
22:13
[4dca496f2b] configure: allow "--full" options to be explicitly disabled    Now it is possible to do: configure --full --disable-ssl    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
22:09
[f16512ea96] Update autosetup to v0.6.6    Among other things, includes improved option parsing    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
00:59
[d5ae8c82f9] tcltest: print test description on SKIP if verbose    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
00:54
[24d222a4f7] jim.c: Replace 'dict with' with a C version    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
00:54
[6968f08d6a] file: update file stat to use Jim_DictMerge()    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
00:54
[2563d3fa1e] jim.c: replace 'dict merge' with a C version    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
00:54
[fc62fa2523] tests/runall: don't abort if signal.test exits    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
00:54
[d790648047] tcltest: do a better job of cleanup up after tests    In particular, glob2.test was leaving a lot of litter    Signed-off-by: Steve Bennett <steveb@workware.net.au> (user: steveb@workware.net.au, tags: trunk)
00:34
[ab1f1c7285] sqlite3: Ensure all allocation goes through Jim_Alloc, Jim_Realloc & Jim_Free (user: steveb@workware.net.au, tags: trunk)