Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): [Bug 3106532]: Corrected | dkf | 2012-05-17 | 1 | -6/+16 |
| | | | | | | | | | resulting indexes from -indexvar option to be usable with [string range]; this was always the intention (and is consistent with [regexp -indices] too). ***POTENTIAL INCOMPATIBILITY*** Uses of [switch -regexp -indexvar] that previously compensated for the wrong offsets (by subtracting 1 from the end indices) now do not need to do so as the value is correct. | ||||
* | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 |
|\ | | | | | more harm than good. Purged them. | ||||
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 |
| | | | | | | more harm than good. Purged them. | ||||
* | | Added more tests of regexp-mode compilation of the [switch] command. [Bug ↵ | dkf | 2008-03-21 | 1 | -1/+107 |
| | | | | | | | | 1854435] | ||||
* | | Fix [Bug 1891827] | dkf | 2008-02-12 | 1 | -1/+7 |
| | | |||||
* | | * generic/tclCompCmds.c (TclCompileSwitchCmd): update switch -regexp | hobbs | 2007-12-19 | 1 | -1/+36 |
| | | | | | | | | | | | | * tests/switch.test-14.*: compilation to pass the cflags to INST_REGEXP (changed on 12-07). Added tests for switch -regexp compilation (need more). [Bug 1854399] | ||||
* | | merge stable branch onto HEAD | dgp | 2007-12-13 | 1 | -1/+1 |
| | | |||||
* | | Make two-arg switch work reliably (and actually as documented!) [Bug 1836519] | dkf | 2007-12-03 | 1 | -187/+180 |
| | | |||||
* | | * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009 | Miguel Sofer | 2006-10-09 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | global variables ::errorInfo, ::errorCode, ::env and ::tcl_platform: many were relying on the alternative lookup in the global namespace, that feature is tested specifically in namespace and variable tests. The modified testfiles are: apply.test, basic.test, case.test, cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test, event.test, expr.test, fileSystem.test, for.test, http.test, if.test, incr-old.test, incr.test, interp.test, io.test, ioCmd.test, load.test, misc.test, namespace.test, parse.test, parseOld.test, pkg.test, proc-old.test, set.test, switch.test, tcltest.test, thread.test, var.test, while-old.test, while.test. | ||||
* | | eliminate test name duplication | dgp | 2005-12-02 | 1 | -8/+8 |
| | | |||||
* | | * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Generate | mdejong | 2005-06-20 | 1 | -1/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an error if a mode argument like -exact is passed more than once to the switch command. The previous implementation silently accepted invalid switch invocations like [switch -exact -glob $str ...]. * tests/for.test: Check some error cases when invoking continue and break inside a for loop next script. * tests/switch.test: Add checks for shortened version of a mode argument like -exact. Add test for more than one mode argument. Add test for odd case of passing a variable as a body script. | ||||
* | | Implementation of TIP#241 from Joe Mistachkin | dkf | 2005-06-01 | 1 | -2/+50 |
| | | | | | | | | Also compilation of [switch -glob -nocase] from Donal Fellows | ||||
* | | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 | Kevin B Kenny | 2005-05-10 | 1 | -1/+1 |
| | | |||||
* | | Test updates for new [switch] compiler | dkf | 2005-04-08 | 1 | -17/+63 |
| | | |||||
* | | TIP#75 Implementation | dkf | 2003-12-14 | 1 | -2/+95 |
| | | |||||
* | | Default mode of operation of [switch] is exact matching. [Bug 727563] | dkf | 2003-04-28 | 1 | -2/+21 |
| | | |||||
* | | The [switch] command is now bytecode compiled, at least in the most common | dkf | 2003-03-05 | 1 | -1/+129 |
|/ | | | | | case. There's room for improvement in the future, of course. [Patch #644819] Also adds another macro to help with jump offset fixups. | ||||
* | Tightened up the argument passing for [switch] to promote robuster scripts. | dkf | 2001-11-27 | 1 | -15/+34 |
| | |||||
* | * tests/*.test: Changed all occurances of "namespace import | ericm | 2000-04-10 | 1 | -2/+2 |
| | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. | ||||
* | Fixed style problems in many of the test files. | rjohnson | 1999-06-26 | 1 | -2/+2 |
| | | | | Fixed bug in pkg.test where defs.tcl was still being used. | ||||
* | Modified the tests to use the package tcltest | jenn | 1999-06-26 | 1 | -2/+3 |
| | |||||
* | merged tcl 8.1 branch back into the main trunk | stanton | 1999-04-16 | 1 | -4/+23 |
| | |||||
* | Replaced SCCS strings, fixed binary filescore_8_0_3 | stanton | 1998-09-14 | 1 | -1/+1 |
| | |||||
* | Initial revision | rjohnson | 1998-03-26 | 1 | -0/+179 |