summaryrefslogtreecommitdiffstats
path: root/tests/string.test
Commit message (Collapse)AuthorAgeFilesLines
* Route all [string last] operations through a common implementation.dgp2016-11-081-2/+2
|
* Update [string map] tests to get illustration of need for pure dictdgp2016-10-071-0/+4
| | | restriction up to date with ordered dicts.
* Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-3/+3
|
* Don't use [pid] in tests, stick to constant literals.ferrieux2014-08-021-3/+3
|
* TIP 429 Implementation: [string cat]ferrieux2014-08-021-5/+29
|
* [f0f876c141] Improve consistency in error messages.dkf2014-06-171-2/+2
|
* [8d5f5b8034] Flush internal representations in [string tolower] of unshared objdkf2014-02-251-0/+9
|
* [Bug 3606390]: Fix isolation of test string-6.37.dkf2013-03-191-2/+4
|\
| * [Bug 3606390]: Fix isolation of test string-6.37.dkf2013-03-191-2/+4
| |
* | tip 318 updatejan.nijtmans2012-09-231-6/+6
| |
* | more result generation conversiondkf2012-08-031-2/+2
| |
* | 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)
* | Implementation of TIP #395dkf2012-03-271-5/+77
| |
* | 3396731 Revise the [string reverse] implementation to operate on thedgp2011-08-271-0/+8
|\ \ | | | | | | representation that comes in, avoid conversion to other reps.
| * | 3396731 Another rewrite of TclStringObjReverse() to make it adopt thedgp2011-08-251-0/+8
| | | | | | | | | | | | nijtmans approach for reversing the objPtr->bytes rep without losing performance.
* | | [Enh 3396731] Follow-up: special case for Pure-unicode representationjan.nijtmans2011-08-251-0/+3
|/ /
* | comment fixjan.nijtmans2011-05-061-3/+3
|\ \ | |/
| * comment fixjan.nijtmans2011-05-061-3/+3
| |\
| | * comment fixjan.nijtmans2011-05-061-3/+3
| | |
* | | Test for [Bug 3285472]. Not buggy in trunk.dgp2011-04-121-0/+5
|\ \ \ | |/ /
| * | Repair corruption in [string reverse] when string rep invalidation faileddgp2011-04-121-0/+5
| | | | | | | | | to also reset the bytes allocated for string rep to zero [Bug 3285472].
* | | 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.
| | * replaced new test string-12.21 with dkf's version from HEADMiguel Sofer2006-01-231-9/+14
| | |
| | * added test for [Bug 1410553]Miguel Sofer2006-01-231-1/+11
| | |
| | * * tests/string.test: string-10.[21-30]hobbs2005-05-111-1/+31
| | | | | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to prevent possible UMR in unichar cmp function for string map.
| | * * generic/tclCmdMZ.c: Corrected intrep-dependence ofdgp2005-04-221-1/+10
| | | | | | | | | | | | * tests/string.test: [string is boolean] [Bug 1187123]
| | * Fix crash in [string map] when objects are shared. [Bug 1018562]dkf2004-08-301-1/+5
| | |
| | * * string.test (string-4.15): Added test for [string first] bugdgp2003-06-091-1/+8
| | | | | | | | | | | | | | | reported in Tcl 8.3, where test for all-single-byte-encoded strings was not reliable.
| | * * generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Correcteddgp2003-04-111-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | inconsistent results of [string is integer] observed on systems where sizeof(long) != sizeof(int). [Bug 718878] * tests/string.test: Added tests for Bug 718878. * doc/string.n: Clarified that [string is integer] accepts 32-bit integers.
| * | Backport fix for [Bug 2006884]dkf2009-01-061-8/+8
| | |
* | | Added test case for empty table in ::prefixferrieux2010-03-011-1/+4
| | |
* | | More test suite cleanup for "-singleproc 1 -debug 1" testing.dgp2009-06-241-1/+2
| | |
* | | Fix test flaws exposed by -singleproc 1 -debug 1dgp2008-10-141-4/+4
| | |
* | | Implemented TIP#195 - tcl::prefix command. [Patch 1040206]dkf2008-10-031-1/+201
| | |
* | | Implement TIP 318.dkf2008-09-291-1/+10
| | |
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
| | |
* | | Fix [2006884]dkf2008-07-011-10/+8
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tclInt.decls: move TclByteArrayMatch and TclReToGlobhobbs2007-12-111-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIntDecls.h: to tclInt.h from stubs. * generic/tclStubInit.c: Add flags var to TclByteArrayMatch for * generic/tclInt.h: future extensibility * generic/tcl.h: define TCL_MATCH_EXACT doc for Tcl_StringCaseMatch. * doc/StrMatch.3: It is compatible with existing usage. * generic/tclExecute.c (INST_STR_MATCH): flag for TclByteArrayMatch * generic/tclUtil.c (TclByteArrayMatch, TclStringMatchObj): * generic/tclRegexp.c (Tcl_RegExpExecObj): * generic/tclCmdMZ.c (StringMatchCmd): Use TclStringMatchObj * tests/string.test (11.9.* 11.10.*): more tests
* | Turn the [string] command into a real compiled ensemble.dkf2007-11-231-5/+5
| |
* | Flag shimmering bug found in [string range].dkf2007-11-221-1/+6
| |
* | * generic/tclDictObj.c: Changed the underlying implementation of thedkf2007-11-201-3/+3
| | | | | | | | | | | | | | | | | | hash table used in dictionaries to additionally keep all entries in the hash table in a linked list, which is only ever added to at the end. This makes iteration over all entries in the dictionary in key insertion order a trivial operation, and so cleans up a great deal of complexity relating to dictionary representation and stability of iteration order.
* | \u0000 is ASCII! [Bug 1808258]dkf2007-11-011-4/+4
| |
* | * generic/tclIOCmd.c: Revise [open] so that it interprets leadingdgp2007-10-151-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* | * generic/tclCmdMZ.c: Correct [string is (wide)integer] failuredgp2007-10-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/string.test: to report correct failindex values for non-decimal integer strings. [Bug 1805887]. * compat/strtoll.c (removed): The routines strtoll() and strtoull() * compat/strtoull.c (removed): are no longer called by the Tcl source * generic/tcl.h: code. (Their functionality has been replaced * unix/Makefile.in: by TclParseNumber().) Remove outdated comments * unix/configure.in: and mountains of configury autogoo that * unix/tclUnixPort.h: allegedly support the mythical systems where * win/Makefile.in: these routines might not have been available. * win/makefile.bc: * win/makefile.vc: * win/tclWinPort.h: * unix/configure: autoconf-2.59
* | Forgot to fix the relevant testsdkf2007-06-081-5/+5
| |
* | * tests/string.test: More [string reverse] tests.dgp2007-03-301-1/+28
| |
* | [string is list] tests: fixed mixed up test name, added test of unicode handlingdkf2006-11-221-2/+6
| |