aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-10-11improve example autocompletion function to complete partially typed argumentsHummyPkg1-2/+4
2016-10-11Separate out Jim specific testsEvan Hunter3-10/+36
2016-10-09docs: Only try to build Tcl.html if asciidoc is foundSteve Bennett2-11/+35
Otherwise install the shipped docs with a warning. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-09Add more tests for zlibEvan Hunter1-0/+21
2016-10-09Fix C++ compatibilityEvan Hunter2-4/+4
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
2016-10-09exec: Fix windows exec with empty or unset envSteve Bennett1-5/+32
Reported-by: Evan Hunter <evan@ozhiker.com> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-09jim.c: Fix Object leak in zlib supportSteve Bennett2-5/+11
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>
2016-10-09Avoid re-defining _GNU_SOURCEEvan Hunter3-0/+6
pkgconfig for SDL causes _GNU_SOURCE to be defined on the commandline, hence causing an error when these source files re-define it.
2016-10-06Fix makefile dependenciesEvan Hunter1-1/+1
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
2016-10-06eventloop: Don't assume unistd.h and sys/time.hSteve Bennett1-4/+8
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-06Fix for systems without umaskSteve Bennett4-10/+25
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-06jim-exec: use exec false on failed exec in --maintainer modeSteve Bennett1-0/+7
Keeps valgrind happy Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-06jim.c: Use UCHAR() with isxxx() functionsSteve Bennett1-1/+1
For systems with signed char Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-06Fix test target for out-of-tree buildsEvan Hunter1-1/+1
2016-10-06autocomplete: add global $tcl::autocomplete_commandsSteve Bennett1-1/+4
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>
2016-10-06add filename completion for source commandHummyPkg1-0/+7
2016-10-05dict: dict replace with one arg is not stableSteve Bennett1-1/+1
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>
2016-10-02Add some tests for paths identified as untested by gcov.Evan Hunter4-2/+19
Also prune a 'break' which was unreachable.
2016-10-02jim-win32compat.h: Use snprintf rather than _snprintfSteve Bennett1-1/+0
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>
2016-10-02exec: ensure closed fd is -1Steve Bennett1-0/+1
Reported-by: Evan Hunter <evan@ozhiker.com> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-29jimsh: Scriptable command-line completion supportSteve Bennett5-13/+90
via tcl::autocomplete Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-29Add support for "-commands" to many commandsSteve Bennett5-18/+57
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>
2016-09-29jimsh: add support for "jimsh -"Steve Bennett1-7/+11
A convenience for evaluating a script on stdin without interactive mode Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-29configure: allow "--full" options to be explicitly disabledSteve Bennett1-5/+19
Now it is possible to do: configure --full --disable-ssl Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-29Update autosetup to v0.6.6Steve Bennett6-67/+162
Among other things, includes improved option parsing Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-28tcltest: print test description on SKIP if verboseSteve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-28jim.c: Replace 'dict with' with a C versionSteve Bennett2-21/+66
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-28file: update file stat to use Jim_DictMerge()Steve Bennett2-8/+11
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-28jim.c: replace 'dict merge' with a C versionSteve Bennett2-18/+35
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-28tests/runall: don't abort if signal.test exitsSteve Bennett1-1/+3
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-28tcltest: do a better job of cleanup up after testsSteve Bennett2-36/+23
In particular, glob2.test was leaving a lot of litter Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-28sqlite3: Ensure all allocation goes through Jim_Alloc, Jim_Realloc & Jim_FreeEvan Hunter1-2/+2
2016-09-09utf8: Extract wide char data from EastAsianWidth.txtSteve Bennett3-27/+2377
Rather than using a hard-coded table Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-09utf8: Update UnicodeData.txt to 9.0.0Steve Bennett1-166/+8929
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-09Add examples/tip.tclSteve Bennett1-0/+148
Example of using the aio termios support Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-09aio: Document aio ttySteve Bennett1-1/+40
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-09aio: add tty settings support (via termios)Steve Bennett4-1/+418
Enough to make serial ports work and support raw and cooked input/output Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-09signal: Remove the signal command from child interpretersSteve Bennett3-25/+40
Currently signals can only be delivered to a single interpreter. To avoid confusion where currently this is the most recently created interpreter, don't create the signal command and handle signals in child interpreters. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-07build: fix warnings on mingwSteve Bennett1-0/+4
Apparently some versions of mingw do have S_IRWXU and S_IRWXO Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-07parse-unidata: build fixSteve Bennett1-1/+1
Fix Jim-only syntax in parse-unidata.tcl to ensure the build works on systems using tclsh Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-07jim-intereactive: reduce permissions on saved history fileSteve Bennett3-7/+10
When creating ~/.jim_history, set permissions to 0600 for security Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-05linenoise: Add support for utf-8 wide charsSteve Bennett1-9/+18
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-05Add utf-8 display width infoSteve Bennett5-12/+145
Needed when using linenoise line editing with utf-8 support Note that variable width support is not yet added to linenoise Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-05Update linenoise to the latest versionSteve Bennett5-66/+244
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-05Fix a crash due to cached local command resolutionSteve Bennett2-1/+16
When a 'local' command is deleted, the proc epoch needs to increase to ensure that subsequent lookups are re-resolved. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-04appveyor.yml: Package stripped & debug .exe, DLLsDanyil Bohdan1-1/+4
2016-09-04appveyor.yml: Bump version to 0.77Danyil Bohdan1-1/+1
2016-09-04Trim bootstrap jimsh0.77Steve Bennett2-9/+7
No need for references support Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-02tests: Fix return code when running tests without [interp]Steve Bennett1-2/+5
The return code was the wrong sense. Also, load 'interp' if possible. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-09-02remove errant UpgradeLog.htmSteve Bennett1-0/+0
Signed-off-by: Steve Bennett <steveb@workware.net.au>