summaryrefslogtreecommitdiffstats
path: root/tests/string.test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* TIP#269 implementationdkf2006-11-221-3/+48
|
* Optimize for the unshared case.dkf2006-11-091-3/+9
|
* Implemented [string reverse].dkf2006-11-091-6/+14
| | | | Finalizes basic TIP#272 implementation.
* added ref to [Bug 1410553] in new test string-12.21Miguel Sofer2006-01-231-2/+2
|
* Added test for [Bug 1410553]dkf2006-01-231-1/+17
|
* 2005-12-19 Don Porter <dgp@users.sourceforge.net>dgp2005-12-191-1/+9
| | | | | | | | | | | | | | | * generic/tclCmdMZ.c: Modified [string is double] to use * tests/string.test: TclParseNumber() to parse trailing whitespace. Ensures consistency, and makes it easier to cleanup after invalid internal reps left behind by parsing [Bugs 1360432 1382287]. * generic/tclParseExpr.c: Added TCL_PARSE_NO_WHITESPACE to * generic/tclScan.c: TclParseNumber() calls since [scan] and * tests/scan.test: [expr] parsing don't want spaces in parsed numbers. * generic/tclInt.h: Added TCL_PARSE_NO_WHITESPACE flag to the * generic/tclStrToD.c: TclParseNumber() interface.
* * tests/compile.test: Updated tests with changed behaviordgp2005-11-091-3/+6
| | | | | | | | | * tests/execute.test: due to addition of bignums. * tests/expr-old.test: * tests/expr.test: * tests/parseExpr.test: * tests/platform.test: * tests/string.test:
* Marked several failing tests as "knownBug" until they can be updated.dgp2005-10-211-2/+2
|
* TIP#237 IMPLEMENTATIONdgp2005-10-081-2/+2
| | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* * tests/compExpr-old.test: Still more conversion of "nonPortable"dgp2005-07-281-2/+4
| | | | | | | | | | | | | * tests/error.test: tests into tests with constraints that * tests/expr-old.test: describe the limits of their * tests/expr.test: portability. Also more consolidation * tests/fileName.test: of constraint synonyms. * tests/format.test: wideis64bit, 64bitInts => wideIs64bit * tests/get.test: wideIntegerUnparsed => wideIs32bit * tests/load.test: wideIntExpressions => wideBiggerThanInt * tests/obj.test: * tests/parseExpr.test: Dropped "roundOffBug" constraint that * tests/string.test: protected from buggy sprintf.
* * tests/string.test: Add string is tests formdejong2005-07-231-1/+49
| | | | | | functionality that was not tested. * win/README: Update msys + mingw URL. Remove old Cygwin + mingw info.
* Corrected duplication of test namesdgp2005-05-121-5/+5
|
* * 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.
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-5/+2
|
* TIP#176 IMPLEMENTATION [Patch 1165695]dgp2005-04-291-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* typodgp2005-04-221-2/+2
|
* * tests/string.test: Test string-23.0 for Bug 1187123.dgp2005-04-221-1/+8
|
* * tests/clock.test: Correct duplicate test names.dgp2004-10-281-3/+3
| | | | | | * tests/namespace.test: * tests/string.test: * tests/io.test (io-50.4): Use namespace variables.
* Fix a crash caused by sharing in [string map]. [Bug 1018562]dkf2004-08-301-1/+5
|
* TIP#188 implementation. Thanks to KBK! [Patch 940915]dkf2004-06-301-3/+52
|
* Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-3/+2
| | | | necessary.
* [string map] now can take dictionaries for maps but the condition for doing sodkf2003-07-041-1/+5
| | | | is deeply tricky. [Bug 759936]
* * 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.
* * generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):hobbs2003-02-181-2/+35
| | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd STR_MATCH): * generic/tclUtf.c (TclUniCharMatch): * generic/tclInt.decls: add private TclUniCharMatch function that * generic/tclIntDecls.h: does string match on counted unicode * generic/tclStubInit.c: strings. Tcl_UniCharCaseMatch has the * tests/string.test: failing that it can't handle strings or * tests/stringComp.test: patterns with embedded NULLs. Added tests that actually try strings/pats with NULLs. TclUniCharMatch should be TIPed and made public in the next minor version rev.
* * generic/tclUtil.c (SetEndOffsetFromAny): handle integer offsethobbs2002-11-191-1/+19
| | | | | | | | | | after the "end-" prefix. * generic/get.test: * generic/string.test: * generic/tclObj.c (SetIntFromAny, SetWideIntFromAny): * generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling before calling strtoul(l). [Bug #634856]
* added more string comparison checkshobbs2002-05-291-1/+13
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-2/+2
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* added 10.18 and 10.19 extra testshobbs2002-02-071-1/+7
|
* Fixed fault with case-insensitive string matching (Bug#233257) and rewrotedkf2002-01-021-1/+5
| | | | some tests to test what they claimed to be testing.
* added lset tests and updated lindex tests for TIPs#22,33,45 by Kennyhobbs2001-11-141-2/+3
|
* Negative start index to [string first] caused offset return value (Bug 423581)dkf2001-05-141-1/+4
|
* Fixed problem with [string compare \x00 \x01] and hopefully sped thedkf2001-04-061-3/+8
| | | | | command up in a few cases too (notably byte arrays and UNICODE objects.) [Bug #219201]
* Fixed some string test numberings and added a test.dkf2001-03-121-3/+7
|
* * tests/string.test: extended string repeat testshobbs2000-09-061-1/+23
|
* * tests/string.test: added string map tests for the one-pair case,hobbs2000-05-261-16/+22
| | | | | corrected tests to reflect improved error messages in first/last. Added tests against mem overrun in string index bytearray case.
* * tests/string.test: extended string match testshobbs2000-05-081-1/+34
|
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/env.test: removed knownBug limitation from working testhobbs1999-12-041-1/+8
| | | | | | | | | | | | | | | | | | * tests/all.tcl: ensured that ::tcltest::testsDirectory would be set to an absolute path * tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling.
* new test caseshobbs1999-10-211-1/+6
|
* 1999-08-09 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-101-3/+15
| | | | | | * tests/string.test: added largest_int proc to adapt for >32 bit machines and int overflow testing. * tests/tcltest.test: fixed minor error in 8.2 result (from dgp)
* * tests/string.test:stanton1999-07-091-1/+4
| | | | | * generic/tclCmdMZ.c: Fixed bug in string range bounds checking code.
* Changed the tests to use the testConstraints array that thejenn1999-07-011-2/+2
| | | | test harness uses instead of the old name (testConfig).
* Marked on of the string tests non-portable. IRIX thinks thatrjohnson1999-06-261-2/+6
| | | | | .e1 is a valid double - the spec and most other UNIX systems do not think it's valid.
* Fixed style problems in many of the test files.rjohnson1999-06-261-2/+2
| | | | Fixed bug in pkg.test where defs.tcl was still being used.
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* * unix/Makefile.in: Changed install-doc to install-man.stanton1999-06-241-3/+3
| | | | | | | | | | | | | * tools/uniParse.tcl: * tools/uniClass.tcl: * tools/README: * tests/string.test: * generic/regc_locale.c: * generic/tclUniData.c: * generic/tclUtf.c: * doc/string.n: Updated Unicode character tables to reflect latest Unicode 2.1 data. Also rationalized "regexp" and "string is" definitions of character classes.