Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
|
|
The credit goes to @msteveb for finding this difference between
[exec] in Tcl 8.6 and Jim.
|
|
And update the shipped documentation
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Mostly from -Wshadow
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>
|
|
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
|
|
|
|
Can lead to different results on different compilers.
Reported-by: Danyil Bohdan <danyil.bohdan@gmail.com>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
It is wrong to call Jim_WrongNumArgs() with argc == 0.
Instead -1 should be returned from the subcmd function to display the standard error message.
Add a --maintainer check for this condition in Jim_WrongNumArgs() and fix the zlib unit tests.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Use the new pkg-config support in autosetup to search for certain
packages such as sqlite3 and sdl
|
|
Adds pkg-config support
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>
|
|
Includes support for aliases in sub-interp
These are not identical to Tcl interp, but are conceptually very similar
For example:
set i [interp]
$i alias localcmd parentcmd arg1
$i eval { localcmd x }
Invokes: parentcmd arg1 x
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
And improve the tests
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
|
|
Also, fix build if JIM_OPTIMIZATION is disabled
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
eventloop doesn't need a filehandle, so so simplify the interface
by using file descriptors instead
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
- integer version is much faster
- handle -ve numbers
- ** is right associative
- add tests from Tcl 8.6
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Previously two adjacent terms were incorrectly accepted, such as in
pow(2 3)
Correctly generate an error in this case and improve the error
message when an expression fails to parse correctly.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Previously math functions with multiple arguments were handling poorly.
For example: pow(1.0 + 3.0 - 2, .8 * 5)
was evaluated as: pow(1.0 + 3.0, 2 - .8 * 5)
Now commas correctly separate function parameters.
Also, the error messages are more consistent and informative in the case
of an invalid expression.
Update and re-enable tests in tests/expr-old.test accordingly
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
And enable some more math tests
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Because of SQLITE_OMIT_INCRBLOB
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>
|
|
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.
|