Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
e.g. proc a {&b &c} ...
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
With this syntax: {args newname}.
This especially helps with documentation and error messages.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
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>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Store the level directly in the call frame rather
than counting it separately.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
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>
|
|
i.e. supports embedded nulls
Also now supports utf-8 trim chars
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Makes it easier to import Tcl tests
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
For better Tcl compatibility, add byteOrder, threaded, pointerSize, wordSize
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Bring this information somewhat up-to-date.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
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>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
If TIOCGWINSZ doesn't work, try to query the window width
with escape sequences.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
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>
|
|
Which doesn't support select() with no fds.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
So just disable this test
Reported-by: Paulo Ferreira <paf@keeh.net>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
The only real potential overflow is parsing a bogus
unix domain socket path.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
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>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
In preparation for the next release
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Also, don't define _XOPEN_SOURCE if already defined
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
|
|
This ensures that everything picks up the autoconf settings
|
|
Signed-off-by: Patrick WEBER <patrick.weber@live.com>
|
|
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
And document the OO extension in README.oo
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
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>
|
|
Signed-off-by: Patrick WEBER <patrick.weber@live.com>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
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>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
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>
|
|
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>
|
|
This is an unusual case, but useful for testing
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Allow tests to run with almost all features disabled
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|