Age | Commit message (Collapse) | Author | Files | Lines |
|
Makes it easier to run the test suite if a minmal 'package require'
is supported.
Also omit SSL code from jim-aio.c
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
* named boolean values in `expr` are internally converted to int
* named constants are lower-case only
|
|
|
|
This test is unreliable since the OS may perform additonal caching.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Including documentation and tests
|
|
|
|
tcl instead
|
|
|
|
"*" for some arguments
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
|
|
null
|
|
|
|
https://msdn.microsoft.com/en-us/library/17b585f0-75e5-4fc0-935a-143ec67659f4(VS.110).aspx
|
|
It is necessary to read output from the pipe before waiting
for children to exit to avoid the output filling up and blocking.
The error results still needs to be read after the children have
exited, since it is read from a temp file, not a pipe.
Increase the length of the input to test exec-8.1 to catch
the problem.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
|
|
Due to not having support for group or owner permission flags.
|
|
value in different orders.
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
- Added support for constructor, runs on new object creation
- Added support for "unknown" method
- Rename some dispatch variables (add double underscore) to avoid collision with user variables
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Rather than taking a string and a length, it is simpler and more efficient
to take a Jim_Obj
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Some identified by frgm
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
As identified by frgm
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Many Tcl regexp tests now work correctly with Jim regexp
Also update regsub/regexp wrong # args error message to match Tcl 8.6
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
[[::blank:]], [[::xdigit::]], etc.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Still not 100% correct, for example when used with regsub -all
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
These are the negated versions of \d, \w and \s
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Fix incorrect check for target as invalid filehandle.
e.g. stdin copy blah
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
The following changes were not merged:
- commit examples/{certificate,key}.pem
- return AioFile from JimMakeChannel to allow ssl-specific settings to be set
- improve examples/ssl.{client,server} so they work out-of-the-box
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
in aio_cmd_ssl()
|
|
|
|
It is simpler if af->ssl is handled after creating the channel
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Example usage:
set s [socket stream.server 127.0.0.1:8443]
set c [[$s accept] ssl -server certificate.pem key.pem]
puts [$c gets]
|
|
Fix a race condition in [exec] where stdout and stderr are read
without waiting until all child processes have exited. This meant
that the following may capture no stderr output.
exec >@stdout command-with-stderr
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
|
|
autosetup 0.6.1-87-g7a28043
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Should just replace with the bare backslash, not backslash '\0'
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
future
|
|
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
|
|
Add comment to highlight that fall through is the
desired behaviour for cases ending without break.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Bug fix - channel names are not formatted
|
|
|
|
tcltest: Fix reference to wrong variable name
|
|
|
|
jim.h: fix a typo
|