aboutsummaryrefslogtreecommitdiff
path: root/jim_tcl.txt
AgeCommit message (Collapse)AuthorFilesLines
2015-03-19aio: add 'sync' subcommandSteve Bennett1-14/+22
If the underlying platform supports fsync(), $handle sync invokes fsync() on the stream file descriptor. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-03-12exec: better handling of pipeline abnormal terminationSteve Bennett1-9/+14
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>
2015-01-31Update version to 0.760.76Steve Bennett1-5/+8
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-01-21docs: Note regex treatment of nullsSteve Bennett1-2/+4
Signed-off-by: Steve Bennett <steveb@workware.net.au> Reported-by: Andy <jimdevel@hummypkg.org.uk>
2014-12-09add support for [info source ?filename line?]Steve Bennett1-3/+6
Allows a script to be created with explicit source info Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-11-28docs: update documentation for recent changesSteve Bennett1-4/+10
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-11-28file: add support for file linkSteve Bennett1-3/+12
Currently only on systems that support both hard and symbolic links. Update docs for 'file link' and some other [file] commands Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-11-17Implement string cat (TIP #429)Steve Bennett1-0/+3
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-10-28Fix [info nameofexecutable] after [cd]Steve Bennett1-1/+1
If argv0 is a relative path, [info nameofexecutable] returned the wrong result after changing directory. So calculate and stash the result during init. Also move internal $jim_argv0 into namespace jim as $jim::argv0 Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-09-01aio: optional argument addrvar for accept.Danyil Bohdan1-3/+5
2014-07-26jim.c: make lindex work as identity function.Danyil Bohdan1-2/+8
2014-05-12Remove remaining references to berlios.deSteve Bennett1-1/+1
Reported-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-01-15file: simplify [file stat], var now optionalSteve Bennett1-7/+6
The varname is now optional. The return value is a dictionary. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-01-15doc: improve documentation for bgerrorSteve Bennett1-3/+5
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-21Implement more dict sub commandsSteve Bennett1-0/+3
dict for, values, incr, append, lappend, update, replace and info Also implement array stat (the same as dict info) Note that [dict info] and [array stat] are for useful for checking the behaviour of the hash randomiser Add Jim_EvalEnsemble() Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-21allow hash tables to be randomiseSteve Bennett1-0/+1
To avoid hash table collision attacks (n.runs-SA-2011.004) Note that this options is *off* by default, but it is reasonable to consider reversing this. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-21Add support for 'socket pair'Steve Bennett1-0/+5
Creates a pair of bidirectional sockets with socketpair(2) Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-21aio: add support for half-closeSteve Bennett1-3/+5
Currently only for sockets since Jim Tcl does not support bidirectional pipes. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-11Add support for lsort -uniqueSteve Bennett1-1/+6
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-12-11Add support for lsort -realSteve Bennett1-1/+3
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-11-28Add basic support for [format %b]Steve Bennett1-1/+4
Binary conversion Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-11-07file copy -force handles identical source/targetSteve Bennett1-0/+1
No longer truncates the file Reported-by: sg0x40 <https://github.com/sg0x40> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-11-05Update lsort option documentationSteve Bennett1-6/+4
Document -nocase and remove duplicate -index Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-08-28Fix aio recvfrom for non-inet socketSteve Bennett1-3/+3
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-08-19Add floating point support for [binary]Steve Bennett1-2/+1
From work by Vadim Zborovskii Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-08-19Add pack/unpack support for floating pointVadim Zborovskii1-9/+12
2013-08-12Bump version to 0.75Steve Bennett1-1/+4
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-07-22Update documentation and version to 0.74Steve Bennett1-31/+33
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2012-09-20Add support for glob -directoryAlexander Shpilkin1-1/+6
Implement support for the -directory option to the [glob] command. The -tails option is accepted for Tcl compatibility, but ignored; the command always behaves as if -tails were given.
2012-09-11Add support for string {equal,compare} -lengthSteve Bennett1-4/+8
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2012-08-07Remove octal literals with a leading 0 (TIP #114)Steve Bennett1-18/+22
Now an octal literal needs to be explicitly indicated with a leading 0o or 0O, otherwise the number is treated as decimal. This patch also adds support for binary literals. e.g. 0b101 0B1101 Signed-off-by: Steve Bennett <steveb@workware.net.au>
2012-02-14Documentation fixesSteve Bennett1-13/+8
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Update documentation for recent featuresSteve Bennett1-38/+168
In preparation for the 0.73 release Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-02Correct the documentation for 'local'Steve Bennett1-16/+16
Also some general documentation cleanups and trailing white space removal. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-30Add [info alias]Steve Bennett1-2/+7
To access the command that an alias refers to Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-29Update documentation for recent changesSteve Bennett1-6/+33
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-10regex: add support for non-capturing parenthesesSteve Bennett1-2/+7
Tcl-compatible syntax: (?:...) Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-10-06Document [string map]0.72Steve Bennett1-8/+32
Reported-by: Lorance Stinson <lorancestinson@gmail.com> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-09-26Document the oo, tree, binary and pack extensionsSteve Bennett1-3/+111
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-09-26Update documentation for recent featuresSteve Bennett1-24/+60
pow(), dict with, dict merge, dict size, fconfigure Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-09-02Updates to the manual for hyperlinked commandsSteve Bennett1-950/+960
Also various formatting improvements. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-08-18Implement 'file mtime <file> newtime'Steve Bennett1-2/+4
Allows a file to be "touched" Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-18Update documentation for recent featuresSteve Bennett1-26/+34
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-07-08Better proc optional arg handlingSteve Bennett1-18/+30
Allows args and optional parameters in any location, in addition to being smaller and faster. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-10Update manual for recent changesSteve Bennett1-7/+16
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-10Add TclX-compatible loop commandSteve Bennett1-0/+14
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-01Document changes to [local proc] and [upcall]Steve Bennett1-13/+28
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-05-31Document recent featuresSteve Bennett1-17/+104
jimsh --version tcl_platform() proc &var proc rename args expr sugar $(...) Also add documentation for jimsh, including interactive mode Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-05-28Fix spelling and grammar in the manualSteve Bennett1-18/+18
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-21Update documentation for new 0.70 featuresSteve Bennett1-80/+81
Signed-off-by: Steve Bennett <steveb@workware.net.au>