Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
referneces => references
|
|
Minor doc updates
|
|
|
|
"does not exists" => "does not exist"
|
|
|
|
Reported-by: Svyatoslav Mishyn <juef@openmailbox.org>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
typos
|
|
|
|
Reported-by: Svyatoslav Mishyn <juef@openmailbox.org>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
docs: fix of a few typos
|
|
|
|
There is no need to protect against merging tailcalls across
uplevel since any tailcalls should already be fully resolved.
This fixes a problem with the following only running one loop:
foreach a {b c d} {
command-with-tailcall $a
}
In particular:
dict for {a b} {1 2 3 4} { puts $a,$b }
Reported-by: Jon Povey <jon.povey@emsolutions.com.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 happen if running interactively or via -e
Reported-by: Stuart Cassoff <stwo@bell.net>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Reported-By: Stuart Cassoff <stwo@bell.net>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
If the underlying platform supports fsync(), $handle sync
invokes fsync() on the stream file descriptor.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Consider the command pipeline:
exec a | b | c
Previously, if any of the subcommands terminated abnormally (with a signal),
the stdout of the pipeline would be lost.
Now the output consists of:
1. standard output from the last command in the pipeline
2. standard error from all commands in the pipeline
3. all abnormal error terminations, if any - but suppressed if any standard error output
In addition, $::errorCode previously always contained the termination status of the last
subcommand, even if it succeeded. Now it contains the termination status of the last
subcommand that failed, or "NONE" if all succeeded.
Additionally, the order of $::errorCode was previously wrong, with pid after the signal id
rather than vice versa.
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>
Reported-by: Andy <jimdevel@hummypkg.org.uk>
|
|
Commit 7edde0797 inadvertently reduced performance of the
script evaluation fast path.
Rename Jim_GetScript() to JimGetScript() - always returns a script, even on parse failure.
Now JimValidScript() checks the script for parse error and generates the error message if necessary.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
If a script has a missing bracket (for example), currently
it is silently ignored, except by [source]
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>
|
|
If NSIG is defined, limit the number of supported signals to that number
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Rather than "Runtime Error: <file>:<line>: ...", use
use "<file>:<line>: Error: ..."
This latter format is both shorter and more consistent with other tools (e.g. gcc).
This also allows errors to be reported with the default errorfmt of vim's quickfix feature.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Allows a script to be created with explicit source info
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Use catch {uplevel 1 $script} instead of catch [list uplevel 1 $script]
to ensure that source info is not lost.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|