summaryrefslogtreecommitdiffstats
path: root/tests/stringObj.test
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6. TIP #651 implementation (since there are already 2 YES votes, no ↵jan.nijtmans2022-11-201-1/+1
|\ | | | | | | NO votes expected)
* | Testcase stringObj-16.6 cannot run with -DTCL_NO_DEPRECATED=1. Merge 8.6jan.nijtmans2022-09-231-1/+1
| |
* | Merge 8.6jan.nijtmans2022-09-221-0/+5
|\ \ | |/
| * Another test related to TIP 623.dgp2022-09-211-0/+5
| |
* | Disable tests (conditionally) which cannot run without the UTF16 ↵jan.nijtmans2022-06-151-6/+6
| | | | | | | | compatibility layer (TIP #622)
* | Merge 8.6jan.nijtmans2022-06-141-0/+25
|\ \ | |/
| * Add more testcases for Tcl_GetRange()jan.nijtmans2022-06-141-0/+25
| |
* | When compiled with TCL_NO_DEPRECATED, remove the UTF16 compatibility layer. ↵jan.nijtmans2022-03-241-13/+13
| | | | | | | | So, we make sure that it is never used internally for the Core. This means that extensions using the compatibility layer won't work any more in this mode; extensions should be compiled using TCL_UTF_MAX=4 then they work again.
* | ucs4 -> utf32jan.nijtmans2022-03-221-8/+9
| |
* | Merge 8.7. First working version, feature completejan.nijtmans2022-03-161-14/+14
|\ \
* | | More progressjan.nijtmans2022-03-141-22/+22
| | |
* | | Merge 8.7. More progressjan.nijtmans2022-03-131-22/+22
|/ /
* | Rename "testConstraint nodep" to "testConstraint deprecated", making it the ↵jan.nijtmans2022-01-091-4/+4
| | | | | | | | same as in Tk
* | separate "testConstraint nodep" in tcltests.tcljan.nijtmans2021-10-181-1/+1
| |
* | Thanks to TIP #587, convert many escapes in the testcases into the actual ↵jan.nijtmans2021-03-301-49/+38
| | | | | | | | (UTF-8) character.
* | TIP 590: Recommend lowercase Package Namesjan.nijtmans2020-12-041-1/+1
|\ \
| * | Case-sensitive package namesjan.nijtmans2020-11-031-1/+1
| | |
* | | More ©-sign consolidationjan.nijtmans2020-11-231-1/+1
| | |
* | | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-2/+2
|/ / | | | | | | whenever reasonable.
* | Merge 8.6jan.nijtmans2020-09-141-2/+2
|\ \ | |/
| * Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. ↵jan.nijtmans2020-09-141-2/+2
| | | | | | | | | | Thanks! More usage of $index<0 in stead of $index==-1 consistantly
* | Merge 8.6jan.nijtmans2020-09-041-1/+1
|\ \ | |/
| * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+2
| | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
| * Merge 8.5jan.nijtmans2020-05-041-2/+2
| |\
| | * Test-case cleanup. Increase timeout a little bit in main.test, making Travis ↵jan.nijtmans2020-05-041-2/+2
| | | | | | | | | | | | build errors because of this less likely.
| | * Stop direct use of the identity encoding in tests.dgp2020-04-121-2/+2
| | |
| | * [2006888] Backport conversion of test file to strict ASCII. ISO-8859-1dgp2020-04-121-38/+37
| | | | | | | | | | | | assumption is nonportable and increasingly invalid. Fossil does not like working with files that contain invalid UTF-8 byte sequences.
| | * Backport more robust stringObj tests.dgp2012-01-261-26/+39
| | |
* | | More of the same (see previous commit)jan.nijtmans2020-07-161-1/+1
| | |
* | | Merge 8.7. Exclude 4 test-cases in TCL_NO_DEPRECATED mode, because they are ↵jan.nijtmans2019-12-191-4/+5
|\ \ \ | | | | | | | | | | | | not supposed to work then
| * | | Minor simplification in test-suite: Because "teststringobj maxchars" has the ↵jan.nijtmans2019-08-141-2/+2
| | | | | | | | | | | | | | | | effect that the value is converted to Unicode for, we don't need a separate function "teststringobj getunicode" for that. So, merge the two functions to one.
* | | | Put back 4 test-cases as they were in core-8-branch, but only for TCL_UTF_MAX=3jan.nijtmans2019-12-171-0/+17
| | | |
* | | | Eliminate dependency in test-suite on Unicode functions. Merge tip-548. Fix ↵jan.nijtmans2019-08-131-2/+2
|\ \ \ \ | |/ / / | | | | | | | | build with -DTCL_NO_DEPRECATED
* | | | More WIP: eliminate all usage of (platform-specific) ↵jan.nijtmans2019-05-221-16/+0
|/ / / | | | | | | | | | | | | Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to its proposed portable replacements: Tcl_Utf16ToUtfDString()/Tcl_UtfToUtf16DString() This allows for Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to be declared deprecated.
* | | Detected bug in [string first] with unicode. Pat Thoyts found it.dkf2017-11-041-1/+4
| | |
* | | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-2/+2
|/ /
* | Convert some non-ASCII characters in testcase comments - which were mangled ↵jan.nijtmans2014-07-171-6/+6
| | | | | | | | by my editor in [79ace7b793] - to valid UTF-8: This way my editor will not mangle them again, and fossil will show in the UI which characters are supposed to be there.
* | Modify the "gettimes" test-command to use the Tcl_Obj API. jan.nijtmans2014-07-161-8/+9
| | | | | | | | New "testbytestring" command which can be used to replace the (to-be-deprecated) "bytestring" command from tcltest and/or the "indentity" encoding. Adapt many testcases to use the "testbytestring" command.
* | 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)
* | missing constraintsdgp2011-11-081-8/+8
|\ \ | |/
| * Missing constraintsdgp2011-11-081-9/+9
| |
* | 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.
| | * * generic/tclStringObj.c: Added protections from invalid memorydgp2009-03-301-1/+34
| | | | | | | | | | | | | | | | | | | | | * generic/tclTestObj.c: accesses when we append (some part of) * tests/stringObj.test: a Tcl_Obj to itself. Added the appendself and appendself2 subcommands to the [teststringobj] testing command and added tests to the test suite. [Bug 2603158]
| | * * generic/tclStringObj.c: Test stringObj-6.9 checks thatdgp2009-03-211-1/+7
| | | | | | | | | | | | | | | * tests/stringObj.test: Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
| * | * generic/tclStringObj.c: Added protections from invalid memorydgp2009-03-301-1/+34
| | | | | | | | | | | | | | | | | | | | | * generic/tclTestObj.c: accesses when we append (some part of) * tests/stringObj.test: a Tcl_Obj to itself. Added the appendself and appendself2 subcommands to the [teststringobj] testing command and added tests to the test suite. [Bug 2603158]
| * | * generic/tclStringObj.c: Test stringObj-6.9 checks thatdgp2009-03-211-1/+7
| | | | | | | | | | | | | | | * tests/stringObj.test: Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
* | | * tests/stringObj.test: Test stringObj-6.9 checks thatdgp2009-03-211-1/+7
| | | | | | | | | | | | | | | Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
* | | * generic/tclStringObj.c: Factor out common GrowStringBuffer().dgp2009-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclStringObj.c: Convert Tcl_AppendStringsToObj into * tests/stringObj.test: a radically simpler implementation where we just loop over calls to Tcl_AppendToObj. This fixes [Bug 2597185]. It also creates a *** POTENTIAL INCOMPATIBILITY *** in that T_ASTO can now allocate more space than is strictly required, like all the other Tcl_Append* routines. The incompatibility was detected by test stringObj-6.5, which I've updated to reflect the new behavior.