summaryrefslogtreecommitdiffstats
path: root/tests/cmdIL.test
Commit message (Collapse)AuthorAgeFilesLines
* Update test-cases, so they are selected or not for -DTCL_UTF_MAX=6. Now all ↵jan.nijtmans2018-04-261-3/+2
| | | | relevant test-cases pass for TCL_UTF_MAX=6 builds on UNIX (but not yet on Windows)!
* [db36fa5122] Upgrade the index value parsing and encoding machinery. ↵dgp2018-03-101-0/+33
|\ | | | | | | Refactor many systems to make consistent use of it. Repairs many indexing errors in corner cases.
| * rename tests to make room for new tests in 8.7dgp2018-03-101-2/+2
| |
| * More demonstration tests of index value encoding flaws.dgp2018-03-091-2/+23
| |
| * test cases for "lsort": coverage for "missing from sublist" error case with ↵sebres2018-03-061-0/+12
| | | | | | | | negative index (-1-1, -2)
* | Fix [8e1e31eac0fd6b6c4452bc108a98ab08c6b64588|8e1e31eac0]: lsort treats NUL ↵jan.nijtmans2017-11-301-0/+13
| | | | | | | | | | chars strangely. Also fix various initializations, which only make a difference when TCL_UTF_MAX == 4. Add new test-cases which demonstrate the fix. For TCL_UTF_MAX == 4, surrogates will now be handled as expected as well when sorting.
* | Implement proposed 0d decimal radix prefix to compliment 0x,0b,0o.griffin2017-05-271-2/+2
|/
* [3613609]: Replace strcasecmp() with UTF-8-aware version.dkf2013-05-221-0/+9
|\
| * Fixed the weird edge case.dkf2013-05-221-0/+3
| |
| * Improved tests.dkf2013-05-221-2/+5
| |
| * Proposed solution for 3613609: lsort -nocase does not sort non-ASCII correctlyjan.nijtmans2013-05-211-0/+3
| |
* | 3587651 Fix [info functions] and Tcl_ListMathFuncs().dgp2012-11-161-0/+10
|\ \ | |/
| * 3587651 fix [info functions] (Re-implementation in Tcl)dgp2012-11-161-0/+10
| |
* | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | | | | | combination with tcltest86.dll to do that (Windows only)
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ | |/ | | cause more harm than good. Purged them (except in zlib files).
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ | | | | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * Fix [Bug 1675116] in a way suitable for 8.4.dkf2007-03-101-1/+6
| | |
| | * Fixed confusing error message. [Bug 771539]dkf2003-07-151-2/+2
| | |
* | | * generic/tclCmdIL.c (Tcl_LsortObjCmd): Fix crash when multiple -indexdkf2010-12-271-1/+4
| | | | | | | | | | | | options are used. Simplified memory handling logic.
* | | [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
|