aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-16Fix a parsing bug with quoted strings inside [...]Steve Bennett2-21/+56
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-05-09Remove extraneous trailing backslashSteve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-05-09If [file normalize] isn't implemented, give a messageSteve Bennett1-3/+4
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-05-09Automatic proc upref with & syntaxSteve Bennett2-2/+94
e.g. proc a {&b &c} ... Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-05-09Allow proc 'args' to be renamedSteve Bennett2-14/+56
With this syntax: {args newname}. This especially helps with documentation and error messages. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-25Remove out-of-date copyrightSteve Bennett1-2/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-23Clean out the tcltests directorySteve Bennett18-419/+124
Some tests are already in tests/, move some others. Move some examples to the examples directory Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-22[package require] should load at the global levelSteve Bennett3-1/+14
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-22Simplify the accounting of call frame levelsSteve Bennett2-102/+82
Store the level directly in the call frame rather than counting it separately. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-22Fix tcltest v2 for the -setup optionSteve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-21More efficient [string trimright] and [string last]Steve Bennett3-33/+71
By searching backwards in [string trimright], even in utf-8 strings. And using binary comparison in [string list] Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-21string trim is now 8 bit cleanSteve Bennett2-34/+126
i.e. supports embedded nulls Also now supports utf-8 trim chars Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-21Add some tcltest v2 supportSteve Bennett1-6/+44
Makes it easier to import Tcl tests Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-21Add additional tcl_platform() settingsSteve Bennett1-0/+14
For better Tcl compatibility, add byteOrder, threaded, pointerSize, wordSize Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-14Support 'jimsh --version'Steve Bennett1-0/+5
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-13Update configureSteve Bennett1-9/+9
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-13Update README, LICENCE and version in configure.acSteve Bennett3-95/+78
Bring this information somewhat up-to-date. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-12Fix [for] crash if loop var is unsetSteve Bennett2-1/+12
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-08Fix some minor warnings on mingw32Steve Bennett1-3/+3
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-08Fix a compile error when the debug command is enabledSteve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-08Update linenoise to the latest versionSteve Bennett3-134/+301
From https://github.com/msteveb/linenoise with minor changes. - Optimise common insert/remove char cases - Add completion framework (unused in Jim Tcl) Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-08Add linenoise support for ^LSteve Bennett1-0/+18
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-05Better line editing on serial terminalsSteve Bennett1-10/+56
If TIOCGWINSZ doesn't work, try to query the window width with escape sequences. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-05Fix line editing when columns unavailableSteve Bennett1-1/+1
Sometimes TIOCGWINSZ succeeds but returns columns=0 This makes line editing work rather badly. If this occurs, just behave as though TIOCGWINSZ had failed and assume 80 columns. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-05Better support for eventloop on mingw32Steve Bennett2-48/+69
Which doesn't support select() with no fds. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-04-05Bump version to 0.71Steve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-01-26scan fails with strings containing nulls0.70Steve Bennett2-14/+33
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-01-24Jim 'string is' doesn't work with unicodeSteve Bennett1-1/+1
So just disable this test Reported-by: Paulo Ferreira <paf@keeh.net> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-01-24Use snprintf() to avoid buffer overflowSteve Bennett1-3/+3
The only real potential overflow is parsing a bogus unix domain socket path. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-01-21Still need to check for fork() for os.forkSteve Bennett3-2/+5
Even though fork is no longer needed by exec, it is still needed by os.fork Reported-by: Paulo Ferreira <paf@keeh.net> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-21Update documentation for new 0.70 featuresSteve Bennett3-324/+324
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-21Bump version to 0.70Steve Bennett1-1/+1
In preparation for the next release Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-21Minor compiler warning fixesSteve Bennett3-7/+12
Also, don't define _XOPEN_SOURCE if already defined Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-21More constraint improvementsSteve Bennett4-10/+14
2010-12-21All Jim source should include jimautoconf.hSteve Bennett17-4/+19
This ensures that everything picks up the autoconf settings
2010-12-21Convert infinity to InfSteve Bennett1-0/+6
Signed-off-by: Patrick WEBER <patrick.weber@live.com>
2010-12-16autoconf already provides srcdir, so use itSteve Bennett3-13/+9
2010-12-16Use the new Jim_EvalObjPrefix() for 'file copy'Steve Bennett1-10/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-16Implement 'tree' in terms of 'oo'Steve Bennett4-208/+103
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-16Add a pure-TCl OO implementation to JimSteve Bennett6-6/+493
And document the OO extension in README.oo Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-15Fix an object sharing bug for arraysSteve Bennett3-11/+62
Commands which modify variables in place such as append, lappend, incr and lset did not correctly account for modifying a shared array through an array element (dict sugar). Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-15Fix for right-to-left associativity of ternary operatorSteve Bennett3-10/+175
Signed-off-by: Patrick WEBER <patrick.weber@live.com> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-15Use vfork() instead of fork() in [exec]Steve Bennett5-261/+91
This allows systems with vfork() but not fork() to have a full exec implementation, including constructs such as 2>@1 and background exec with & Also remove the --disable-fork option. It doesn't really make sense now since exec uses vfork Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-14Platform differences for regexp messagesSteve Bennett1-4/+4
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-14Fix constraint checkingSteve Bennett3-6/+10
This was completely wrong. The arg order was wrong such that when test constraints were specifed the test was always skipped! Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-14Include all double colons as part of the var nameSteve Bennett2-5/+13
e.g. $::a::b is considered as ${::a::b} This helps be more Tcl compatible by allowing fake namespace variables Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-06Make tclcompat work without aioSteve Bennett1-22/+23
This is an unusual case, but useful for testing Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-06Add more dependencies for testsSteve Bennett13-9/+32
Allow tests to run with almost all features disabled
2010-12-06Fix error message from [cd]Steve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-06Don't require tclsh for building without utf-8Steve Bennett3-12/+18
Signed-off-by: Steve Bennett <steveb@workware.net.au>