aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-02-01aio: add OpenSSL/LibreSSL bindings.Dima Krasner6-65/+491
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]
2016-01-29exec: Fix race condition in collecting err outputSteve Bennett1-20/+38
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>
2016-01-18Add the tcl_platform(engine) array element.mistachkin4-0/+6
2016-01-18Update autosetup to latest versionSteve Bennett5-1954/+2325
autosetup 0.6.1-87-g7a28043 Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-12-13regsub: fix substitution with a trailing backslashSteve Bennett2-1/+9
Should just replace with the bare backslash, not backslash '\0' Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-11-30jimsh: Allow option "--help" and enable place for parsing other options in ↵Evan Hunter2-1/+27
future
2015-11-30jim: fix typos in commentsAntonio Borneo1-3/+3
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2015-11-30jim: highlight switch's case fall-throughAntonio Borneo1-0/+6
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>
2015-10-06Fix some spelling mistakesSteve Bennett2-5/+5
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-10-06Merge pull request #42 from dimkr/fixesSteve Bennett1-1/+2
Bug fix - channel names are not formatted
2015-09-28Bug fix - channel names are not formattedDima Krasner1-1/+2
2015-08-26Merge pull request #38 from evanhunter/fix_bad_variable_nameSteve Bennett1-1/+1
tcltest: Fix reference to wrong variable name
2015-08-26tcltest: Fix reference to wrong variable nameEvan Hunter1-1/+1
2015-08-10Merge pull request #31 from frgm/masterSteve Bennett1-1/+1
jim.h: fix a typo
2015-08-09jim.h: fix a typoSvyatoslav Mishyn1-1/+1
referneces => references
2015-07-09Merge pull request #29 from frgm/masterSteve Bennett3-5/+40
Minor doc updates
2015-07-09docs: add desc for "clock {clicks, microseconds, milliseconds}"Svyatoslav Mishyn2-1/+34
2015-07-08jim.c: fix typoSvyatoslav Mishyn1-2/+2
"does not exists" => "does not exist"
2015-07-08docs: add link to Oxford Dictionaries for "tickle"Svyatoslav Mishyn2-3/+5
2015-06-30build: Fix exit code on test failureSteve Bennett1-1/+1
Reported-by: Svyatoslav Mishyn <juef@openmailbox.org> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-06-29docs: minor typos and fix lambda command linkSteve Bennett2-24/+24
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-06-28Merge pull request #27 from frgm/masterSteve Bennett2-7/+7
typos
2015-06-28typosSvyatoslav Mishyn2-7/+7
2015-06-26jim.c: fix comment for Jim_String()Steve Bennett1-1/+1
Reported-by: Svyatoslav Mishyn <juef@openmailbox.org> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-06-21Merge pull request #24 from frgm/masterSteve Bennett2-25/+25
docs: fix of a few typos
2015-06-21docs: fix of a few typosSvyatoslav Mishyn2-25/+25
2015-06-03chained tailcalls were not always being runSteve Bennett2-31/+20
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>
2015-05-18docs: minor typo with lassignSteve Bennett2-33/+50
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-04-29docs: minor typo with rand() functionSteve Bennett1-1/+0
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-04-29add support for configure --docdirSteve Bennett2-3/+10
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-04-06Avoid error in tcltest.tcl if $::argv0 is unsetSteve Bennett3-6/+9
Can happen if running interactively or via -e Reported-by: Stuart Cassoff <stwo@bell.net> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-04-06ensure that tests can find tcltest.tclSteve Bennett2-1/+5
Reported-By: Stuart Cassoff <stwo@bell.net> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-03-19aio: add 'sync' subcommandSteve Bennett3-15/+43
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 Bennett2-59/+89
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 Bennett3-22/+30
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2015-01-21docs: Note regex treatment of nullsSteve Bennett2-1835/+1843
Signed-off-by: Steve Bennett <steveb@workware.net.au> Reported-by: Andy <jimdevel@hummypkg.org.uk>
2015-01-16Improve performance of script validation commitSteve Bennett1-43/+38
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>
2014-12-31Throw an error when parsing a bad scriptSteve Bennett3-68/+83
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>
2014-12-09glob: remove some leftover unused code in glob.tclSteve Bennett1-2/+0
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-12-09aio: fix a compiler warning on some platformsSteve Bennett1-0/+5
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-12-09signal: don't define more than NSIG signalsSteve Bennett1-1/+6
If NSIG is defined, limit the number of supported signals to that number Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-12-09jim: change the output of errorInfoSteve Bennett1-1/+1
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>
2014-12-09add support for [info source ?filename line?]Steve Bennett3-29/+48
Allows a script to be created with explicit source info Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-12-04try: fix use of catch/uplevelSteve Bennett1-3/+3
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>
2014-12-04bootstrap: Unix platforms have link()Steve Bennett1-0/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-12-04file copy: Use binary mode when reading and writing filesSteve Bennett1-2/+2
Matters on Windows Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-12-04glob: fix some glob2.test tests on windowsSteve Bennett1-68/+4
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-12-04file: updates for WindowsSteve Bennett1-12/+15
Mainly, [file join] should leave the trailing slash on c:/ Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-11-28docs: update documentation for recent changesSteve Bennett2-1800/+1835
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-11-28glob: add additional testsSteve Bennett2-9/+373
Import some additional tests from the Tcl test suite. Add more Tcl compatibility to tcltest.tcl Signed-off-by: Steve Bennett <steveb@workware.net.au>