summaryrefslogtreecommitdiffstats
path: root/tests/cmdIL.test
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 2918962]: Stop crash when -index and -stride are used together in [lsort].dkf2009-12-221-1/+7
|
* TIP #326 IMPLEMENTATIONdkf2008-09-291-3/+21
|
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-7/+7
| | | | | | * doc/lassign.n: Revise [lassign] to accept zero variable names. * generic/tclCmdIL.c: * tests/cmdIL.test:
* Use the powers of tcltest2 for good! Also add basic testing of disassmblerdkf2008-09-101-226/+144
| | | | (though not of its output format).
* more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-131-2/+2
| | | | ?options? to the form ?-option value ...?
* eliminate duplicate test namesdgp2008-02-131-2/+2
|
* * generic/tclCmdIl.c (Tcl_LreverseObjCmd):Miguel Sofer2008-01-221-1/+4
| | | | | * tests/cmdIL.test (cmdIL-7.7): fix crash on reversing an empty list [Bug 1876793].
* * generic/tclCmdIL.c: speed patch for lsort [Patch 1856994].Miguel Sofer2007-12-231-1/+4
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tclIOCmd.c: Revise [open] so that it interprets leadingdgp2007-10-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero strings passed as the "permissions" argument as octal numbers, even if Tcl itself no longer parses integers in that way. * unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so that it interprets leading zero strings as octal numbers, even if Tcl itself no longer parses integers in that way. * generic/tclCompExpr.c: Corrections to code that produces * generic/tclUtil.c: extended "bad octal" error messages. * tests/cmdAH.test: Test revisions so that tests pass whether or * tests/cmdIL.test: not Tcl parses leading zero strings as octal. * tests/compExpr-old.test: * tests/compExpr.test: * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/incr.test: * tests/io.test: * tests/lindex.test: * tests/link.test: * tests/mathop.test: * tests/parseExpr.test: * tests/set.test: * tests/string.test: * tests/stringComp.test:
* Added test for [Bug 1675044].dgp2007-03-131-1/+18
|
* Fix [Bug 1675116]dkf2007-03-091-1/+5
|
* * generic/tclCmdIL.c (Tcl_LreverseObjCmd): Added missingdgp2007-03-021-1/+4
| | | | | TclInvalidateStringRep() call when we directly manipulate the intrep of an unshared "list" Tcl_Obj. [Bug 1672585].
* Optimize for the unshared case.dkf2006-11-091-3/+7
|
* Implemented [lreverse] from TIP#272dkf2006-11-091-1/+14
|
* * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-2/+2
| | | | | | | | | | | | | | 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.
* Error message consistency improvements. [Bug 1534628]dkf2006-08-091-5/+5
|
* Implementation of TIP#241 from Joe Mistachkindkf2005-06-011-2/+8
| | | | Also compilation of [switch -glob -nocase] from Donal Fellows
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* TIP#176 IMPLEMENTATION [Patch 1165695]dgp2005-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* TIP#217 implementationdkf2004-10-141-2/+8
|
* Full bytecode compilation for [lassign]dkf2004-01-181-49/+262
|
* Fix a shimmering bugdkf2004-01-171-1/+5
|
* Minor fixes and update of UNIX documentation installerdkf2004-01-171-4/+4
|
* Basic implementation of TIP#57 - TclX's [lassign] command into Tcl coredkf2004-01-171-1/+83
| | | | | | | Not a direct copy * Better use of Tcl object API * More extensive test suite * More extensive documentation
* Make cmdIL.test more self-contained [Bug 838384]dkf2003-11-101-29/+50
|
* Test to detect a sharing problem with TIP#127 exposed in tclbenchdkf2003-10-141-1/+10
| | | | Thanks DGP for helping develop this.
* TIP#127 Implementation. Thanks to Michael Schlenker for his implementation workdkf2003-10-141-1/+32
|
* Fixed error message to be less confusing [Bug 771539]dkf2003-07-151-2/+2
|
* Fixed Bug #465674 reported by me. [lsort -index end-1] now behaves sensibly...dkf2001-09-281-1/+7
|
* * tests/cmdIL.test: Added a test for fix for [Bug: 6212].ericm2000-09-171-1/+17
| | | | | * generic/tclCmdIL.c (Tcl_LsortObjCmd): Applied patch from [Bug: 6212], which corrected an error in the handling of the -index option.
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/cmdIL.test: Added tests for lsort -dictionary withericm2000-01-131-1/+19
| | | | | | | | | | characters that occur between Z and a in ASCII. * generic/tclCmdIL.c: Modified DictionaryCompare function (used by lsort -dictionary) to do upper/lower case equivalency before doing character comparisons, instead of after. This fixes bug #1357, in which lsort -dictionary [list ` AA c CC] and lsort -dictionary [list AA c ` CC] gave different (and both wrong) results.
* * tests/cmdIL.test:hobbs1999-12-211-5/+12
| | | | * generic/tclCmdIL.c: added -unique option to lsort
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* * doc/string.n:stanton1999-05-061-14/+2
| | | | | | | | | | | | | | | | | | | | * tests/cmdIL.test: * tests/cmdMZ.test: * tests/error.test: * tests/ioCmd.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * tests/cmdIL.test: * generic/tclUtil.c: * generic/tclCmdMZ.c: Replaced "string icompare/iequal" with -nocase and -length switches to "string compare/equal". Added a -nocase option to "string map". Changed index syntax to allow integer or end?-integer? instead of a full expression. This is much simpler with safeTcl scripts since it avoids double substitution issues.
* * tests/cmdIL.test:stanton1999-05-041-2/+2
| | | | | | | | | | | | | * tests/cmdMZ.test: * tests/error.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): * generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's string patch which includes the following changes [Bug: 1845]:
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-5/+35
|
* Fixed bug in Tcl_SetListObj - it used to create invalid Tcl_Obj if you passedrjohnson1998-10-131-1/+2
| | | | | | in 0 elements. Despite what docs said. Also updated a few copyright notices.
* Fixed bug in "lsort -dictionary" that caused problems when comparingrjohnson1998-10-131-11/+14
| | | | numbers that started with 0.
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* *** empty log message ***stanton1998-06-181-0/+38
|
* Initial revisionrjohnson1998-03-261-0/+253