summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-02-13 03:22:51 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-02-13 03:22:51 (GMT)
commitf819f7990a8794c9429eb83b8f912950b85d0a91 (patch)
tree9f47ca210d9c3fa3b8d6fe297252cc4cded4ecc6 /ChangeLog
parentebd799b7e4d40a843ff6c49f8fc77670acf6b67a (diff)
downloadtcl-f819f7990a8794c9429eb83b8f912950b85d0a91.zip
tcl-f819f7990a8794c9429eb83b8f912950b85d0a91.tar.gz
tcl-f819f7990a8794c9429eb83b8f912950b85d0a91.tar.bz2
* generic/tclStringObj.c: Rewrites of the routines
Tcl_GetCharLength, Tcl_GetUniChar, Tcl_GetUnicodeFromObj, Tcl_GetRange, and TclStringObjReverse to use the new macro, and to more simply and clearly split the cases depending on whether a valid unicode rep is present or needs to be created. * generic/tclInt.h: New macro TclNumUtfChars meant to be a faster replacement for a full Tcl_NumUtfChars() call when the string has all single-byte characters.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3bae1b1..803ee95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2009-02-12 Don Porter <dgp@users.sourceforge.net>
+ * generic/tclStringObj.c: Rewrites of the routines
+ Tcl_GetCharLength, Tcl_GetUniChar, Tcl_GetUnicodeFromObj,
+ Tcl_GetRange, and TclStringObjReverse to use the new macro, and
+ to more simply and clearly split the cases depending on whether
+ a valid unicode rep is present or needs to be created.
+
+ * generic/tclInt.h: New macro TclNumUtfChars meant to be a faster
+ replacement for a full Tcl_NumUtfChars() call when the string has all
+ single-byte characters.
+
* generic/tclStringObj.c: Simplified Tcl_GetCharLength by
* generic/tclTestObj.c: removing code that did nothing.
Added early returns from Tcl_*SetObjLength when the desired length