| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclUtil.c: Extended TclGetIntForIndex to recognize
index formats including end+integer and integer+/-integer.
* generic/tclCmdMZ.c: Extended the -start switch of [regexp]
and [regsub] to accept all index formats known by TclGetIntForIndex.
* doc/lindex.n: Updated docs to note new index formats.
* doc/linsert.n:
* doc/lrange.n:
* doc/lreplace.n:
* doc/lsearch.n:
* doc/lset.n:
* doc/lsort.n:
* doc/regexp.n:
* doc/regsub.n:
* doc/string.n:
* tests/cmdIL.test: Updated tests.
* tests/compile.test:
* tests/lindex.test:
* tests/linsert.test:
* tests/lrange.test:
* tests/lreplace.test:
* tests/lsearch.test:
* tests/lset.test:
* tests/regexp.test:
* tests/regexpComp.test:
* tests/string.test:
* tests/stringComp.test:
* tests/util.test:
FossilOrigin-Name: d9e4591786991fc6676581c61c73cb49f06f13a7
|
|
|
|
|
|
| |
that triggered this discussion
FossilOrigin-Name: 55666c7a15bd118ef3776ea79eafa9a9360de455
|
|
|
| |
FossilOrigin-Name: 98af17ac27371315607afbac86f9091e850964fc
|
|
|
|
|
| |
the top.
FossilOrigin-Name: 067ebb158377e41bbc32ad6bb3f4b0fd9708492c
|
|
|
|
|
|
|
|
|
| |
* tests/compile.test:
* tests/fileSystem.test:
* tests/init.test (init-2.8): Updated to not rely on http package.
FossilOrigin-Name: b09796fafb1fc3009ab288db04b6bfeb3ba8786c
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.c (TclCompileScript): option to [return].
* tests/compile.test (16.23.*): Use that capability to defer reporting
* tests/misc.test (1.2): of parse errors until runtime.
Updated tests to reflect change. [Bug 1032805]
FossilOrigin-Name: b9d1ceb3536dac526d337e29e95659086e0f9ac2
|
|
|
|
|
|
|
|
| |
* tests/compile.test (compile-12.4): flawed deletion of literal
internal reps that could lead to accessing of freed memory.
Thanks to Kevin Kenny for test case and fix [Bug 1001997].
FossilOrigin-Name: 4a8caea634315cb290933e83ca2275e6c2611b73
|
|
|
|
|
|
| |
recent fix for Bug 845412.
FossilOrigin-Name: 39903cd5c5628da123dc037f15635d3fc3bf83a4
|
|
|
|
|
|
| |
expansion machinery now...
FossilOrigin-Name: 791e41a30772b6d6f48855266e24e9b575d3eba1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Tcl.n: of the new leading {expand} syntax on words.
* generic/tcl.h: Parses such words as the new Tcl_Token type
* generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx
* generic/tclCompile.c: and the bytecode compiler/execution engine
* generic/tclCompile.h: to recognize the new token type. New opcodes
* generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new
* generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs
* generic/tclTest.c: and tests are included.
* tests/basic.test:
* tests/compile.test:
* tests/parse.test:
* library/auto.tcl: Replaced several [eval]s used to perform
* library/package.tcl: argument expansion with the new syntax.
* library/safe.tcl: In the test files lindex.test and lset.test,
* tests/cmdInfo.test: replaced use of [eval] to force direct
* tests/encoding.test: string evaluation with use of [testevalex]
* tests/execute.test: which more directly and robustly serves the
* tests/fCmd.test: same purpose.
* tests/http.test:
* tests/init.test:
* tests/interp.test:
* tests/io.test:
* tests/ioUtil.test:
* tests/iogt.test:
* tests/lindex.test:
* tests/lset.test:
* tests/namespace-old.test:
* tests/namespace.test:
* tests/pkg.test:
* tests/pkgMkIndex.test:
* tests/proc.test:
* tests/reg.test:
* tests/trace.test:
* tests/upvar.test:
* tests/winConsole.test:
* tests/winFCmd.test:
FossilOrigin-Name: cbfb8313bae848d0c0a2070542fbc2e4fa371ba2
|
|
|
| |
FossilOrigin-Name: c421db8aa6c5694818495f8723bc2714550eae7e
|
|
|
|
|
|
|
| |
* tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE
[Bug 705406] (Don Porter).
FossilOrigin-Name: 6847eb40b57cc8782ff33310f7b4f161490931b1
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.c (INST_RETURN): [Bug 633204] that uses a new
* generic/tclCompile.h (INST_RETURN): bytecode INST_RETURN to
* generic/tclExecute.c (INST_RETURN): properly bytecode the
[return] command to something that returns TCL_RETURN.
FossilOrigin-Name: 8153ce2774235acfe6f80cae7af59a4923e21d0b
|
|
|
|
|
|
|
|
|
| |
* tests/compile.test: Corrects failure of bytecompiled
[catch {return}] to have result TCL_RETURN (not TCL_OK) [Bug 633204].
This patch is a workaround for 8.4.X. A new opcode INST_RETURN is a
better long term solution for 8.5 and later.
FossilOrigin-Name: 8f6092205c4b99e36c0cee728ff1f0187cb0ff12
|
|
|
|
|
|
|
|
| |
* generic/tclCompCmds.c: fix for [Bug 599788] (error in element
name causing segfault), reported by Tom Wilkason. Fixed by copying
the tokens instead of the source string.
FossilOrigin-Name: 22ac3d3f36cf511c9af47fe8e9b492f1a28bf802
|
|
|
|
|
|
| |
in the test suite.
FossilOrigin-Name: b0f3dfed629f8e4c506365bc62ba4dd7900a03c6
|
|
|
|
|
|
|
|
|
| |
with options -constraints knownBug -limitConstraints 1 only tests
the knownBug tests. Mostly involves replacing direct access to the
testConstraints array with calls to the testConstraint command
(which requires tcltest version 2).
FossilOrigin-Name: 9ba9324aefb481870bbdcf7c812e149be23ddd02
|
|
|
| |
FossilOrigin-Name: 6f670a6acb2ff99f9465bba5b0a587f2c259f372
|
|
|
|
|
| |
otherwise non-catchable. [Bug 542588]
FossilOrigin-Name: 44018b1a8b88f43a283fb483589ed3e98552124f
|
|
|
|
|
|
|
| |
be exploitable in any meaningful way, but crashing Tcl instead of
triggering an error still isn't good.
FossilOrigin-Name: 33ea727db7dcbafafd9ae39fe1a1c223a5236815
|
|
|
| |
FossilOrigin-Name: cd9316932b4481e9d683a9cbd34f3739d82bfbe7
|
|
|
| |
FossilOrigin-Name: 7496369e64da3d9b0b5a574f2fc8ed8c607e81d7
|
|
|
|
|
|
|
|
| |
** changes for 8.4, some already backported to 8.3.4 (patch #435658)
see ChangeLog for details
FossilOrigin-Name: f961ecdd17042f83d4cf5b21380c117066ed9b88
|
|
|
| |
FossilOrigin-Name: 34e03422d051c9d80c594cc78a20dbbc51236c98
|
|
|
|
|
|
| |
tests committed earlier today.
FossilOrigin-Name: 27b3dab99f599b024eb9492164fcfea0dbdca658
|
|
|
| |
FossilOrigin-Name: b0131f311b4b8cfaa62cb198fb1757914c3f61e5
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclUtil.c (TclGetIntForIndex): added Tcl_ResetResult
before Tcl_AppendStringsToObj to prevent shared object crash when
called from bcc instruction. The Tcl_Append* calls that append to
the result object that are invoked by bcc insts must remember to
call Tcl_ResetResult because the bcc doesn't do this for us.
[Bug #456892]
FossilOrigin-Name: 6a841ea6f8d77bfba423cf5ed956975cc63ea673
|
|
|
| |
FossilOrigin-Name: 1cf946c837f8c4e3ec465ce4a3912dfecf4c685b
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/init.test:
* tests/proc.test:
* tests/proc-old.test:
* tests/rename.test:
* generic/tclProc.c: reworked error return for procedures with
incorrect args to be like the C Tcl_WrongNumArgs, where a "wrong #
args: ..." message is printed out with the args list.
FossilOrigin-Name: e9b0d62a314c7178b66e1ff13d409decb92ff035
|
|
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
|
|
|
| |
FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
|
|
|
| |
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
|
|
|
|
|
|
| |
overflow bug caused by missing statement. [Bug: 928]
FossilOrigin-Name: 281970295046b775e0aea8beb8f881b043a2db22
|
|
|
| |
FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
|
|
|
| |
FossilOrigin-Name: 0cabb12481d7379d55a09d213f33e790a014c0ae
|
|
|
| |
FossilOrigin-Name: 1d4fda1f1e8e794d8a3a11dca93ddc21259bf04f
|
|
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a
|