- Sep 11, 2023
-
-
Steve Bennett authored
glob match and regexp match operators Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Aug 27, 2023
-
-
Daniele Parisi authored
-
- Aug 13, 2023
-
-
Steve Bennett authored
- Set jim::lineedit to indicate if line editing is configured - Ensure that aio tty works even if line editing is disabled - Skip some tests if line editing is not configured Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
To show that it returns the current values, not just the original values Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Aug 12, 2023
-
-
Steve Bennett authored
hurd does not return the path for unix domain sockets via getsockname() Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
socket operation on non-socket gives a different message Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 31, 2023
-
-
Steve Bennett authored
When the multi-level break/continue support was added in 1b151f81 it reused returnLevel, but this interferred with the return level returned by try/catch. Use a separate variable for the break/continue level. Signed-off-by:
Steve Bennett <steveb@workware.net.au>
-
- Jul 13, 2023
-
-
Steve Bennett authored
And allow -DJIM_TINY to disable optimisation, and use that with bootstrap jimsh. Fixes #273 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 11, 2023
-
-
Steve Bennett authored
Need strings.h for strcasecmp (Although I don't really think it's necessary to support lower case versions of signal names. This will probably change). Fixes #270 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
If pkg-config is not available Fixes #272 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 10, 2023
-
-
Steve Bennett authored
This test can be at bit flaky on slower machines (perhaps running under a VM or qemu). Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Mostly for update bootstrap jimsh Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Without this, readdir() doesn't work properly on some 32 bit platforms Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
And allow current source file to be set Fixes: #268 Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 06, 2023
-
-
Steve Bennett authored
The checks for -ipv6, -async broke 'socket -commands' Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 05, 2023
-
-
Steve Bennett authored
In case socket pty, interp are not available Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jul 04, 2023
-
-
Steve Bennett authored
set a 5 proc b {} {&a} { incr a } b Now a is 6 because b captured a by reference instead of by value Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
To add new commands that now support -help, -commands Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
This means we get -commands and usage via -help Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
This means we get -commands and usage via -help Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
This means we get -commands and usage via -help And update dict2.test for minor difference in usage Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
This means we get -commands and usage via -help Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
This means we get -commands and usage via -help Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Add support for modulo maxarg count. If maxargs is (e.g.) -2, then a multiple of 2 args is expected. Also expose Jim_SubCmdArgError() to make it easy to add additional arg validation but still have subcmd report the usage. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
And add a default implementation of tcl::stdhint to add hinting for some built-in commands. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
To open, socket and accept Also document aio getfd Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
And also fix a minor bug that if unable to format the socket address the file descriptor would be left open. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
socket ?-noclose? ... open filename ?-noclose? ... Normally Jim will set O_CLOEXEC on all files and sockets that are opened however sometimes it is desirable to keep file descriptors open for child processes. The -noclose flags does this (on supported platforms). Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
This changes especially makes buffered I/O work with non-blocking channels. - separate read and write buffering - support for timeout on blocking read - read/write on same channel in event loop with buffering - read buffer is the same across read, gets, copyto - autoflush non-blocking writes via event loop - copyto can now copy to any filehandle-like command - add some copyto tests Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
This is simpler now that we can write to a non-blocking socket even if it is "full". Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
AIO_KEEPOPEN won't close a channel (such as stdin, stdout) when the command is deleted/replaced, but an explicit close will still close the channel. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
Now 'constraint cmd|package' is like 'needs' but sets a constraint The command to 'needs cmd' and 'constraint cmd' can now take a subcommand to check. Add 'constraint|needs eval|expr' to make some constraint checks simpler. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
This changes especially makes buffered I/O work with non-blocking channels. - separate read and write buffering - support for timeout on blocking read - read/write on same channel in event loop with buffering - read buffer is the same across read, gets, copyto - autoflush non-blocking writes via event loop - copyto can now copy to any filehandle-like command - add some copyto tests Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
- Jun 22, 2023
-
-
Steve Bennett authored
Signed-off-by:Steve Bennett <steveb@workware.net.au>
-
Steve Bennett authored
If building on a system with an installed jim.h, we want to be sure to pick up the local jim headers in preference. Signed-off-by:Steve Bennett <steveb@workware.net.au>
-