| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Tcl_AppendStringsToObj() no longer crashes when operating on a
pure unicode value. [Bug 2597185]
FossilOrigin-Name: 289c2e97cd9ca3db852d24c50b27155de60bf502
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: 820ba0e29a10df3d23fcd8e05771b3da80b0957c
|
| |
|
|
|
|
|
| |
* tests/stringObj.test: command with [teststringobj maxchars] and
update the tests.
FossilOrigin-Name: e0e22cfc3b6716f53066c78cb638ab57e10c08a7
|
| |
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: 1c3c3be74a9d22925b976716432b1bd32cac48d7
|
| |
|
| |
FossilOrigin-Name: 259603c6a050262d909b47454fd6fd0b2544bc39
|
| |
|
|
|
|
|
|
| |
in certain values to construct those values with [testdstring] so
there's no lack of robustness depending on the shimmer history of
shared literals.
FossilOrigin-Name: 79358a4faf11b82fd4f785c0247866c8a81b12f0
|
| |
|
|
|
| |
necessary.
FossilOrigin-Name: ae1ac5736f8152bee6dd84f96e191a4a097cebb3
|
| |
|
| |
FossilOrigin-Name: 03be579296f9a67cb7ea3704923e791a9d094c5d
|
| |
|
|
|
|
|
| |
* generic/tclStringObj.c (Tcl_GetCharLength): correct ascii char
opt of 2002-11-11 to not stop early on \x00. [Bug #684699]
FossilOrigin-Name: 78c313648a51143f0ac2e1dc15eb1c74709f0d8e
|
| |
|
| |
FossilOrigin-Name: bf6b0dfaf92bb241b87c9882d5d31505e5490d93
|
| |
|
| |
FossilOrigin-Name: 602e2df05fd8888c0d53807ea066d4675ee13271
|
| |
|
|
|
|
|
| |
high-ASCII characters (which will fail in multibyte locales);
instead used \uXXXX syntax. [Bug: 3842].
FossilOrigin-Name: e273f9d105056aaac8e59357293e899bb5e382f5
|
| |
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclParseExpr.c: changed '"' to '\"' to make FreeBSD
happy [Bug: 2625]
* generic/tclProc.c: moved static buf to better location and
changed static msg that would overflow in ProcessProcResultCode
[Bug: 2483] and added Tcl_DStringFree to Tcl_ProcObjCmd.
Also reworked size of static buffers.
* tests/stringObj.test: added test 9.11
* generic/tclStringObj.c: changed Tcl_AppendObjToObj to
properly handle the 1-byte dest and mixed src case where
both had had Unicode string len checks made on them. [Bug: 2678]
FossilOrigin-Name: dc02bb24c964af4716603ae9d14a3325d3ff77ea
|
| |
|
|
|
|
| |
Fixed bug in pkg.test where defs.tcl was still being used.
FossilOrigin-Name: dbfd75f43f496269e869e2fbd58f86e25bdcef4c
|
| |
|
| |
FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
|
| |
|
| |
FossilOrigin-Name: 3f45ef233eaa4dbf4fcc0b9e55d62345627fc02f
|
| |
|
|
|
|
|
|
|
|
|
| |
present in the Unicode obj).
Updated the teststringobj command to look in the correct location for the
amount of space allocated for the UTF string rep.
Note: one stringObj test is still failing; it reflects a change in
that may not be undesirable...
FossilOrigin-Name: 6a28946962ebf4d385111ed66d14619c71689ae4
|
| |
|
|
|
|
|
|
|
|
|
| |
the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj,
Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange,
Tcl_AppendUnicodeToObj.
Note: some stringObj tests are still failing--the teststringobj command
still needs to be updated.
FossilOrigin-Name: 23b23af342a570dab211294eff79a331869224c5
|
| |
|
| |
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
|
| |
|
| |
FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
|
|
|
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a
|