| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/CrtTrace.3: by using "null" everywhere to refer to
* doc/Encoding.3: the character '\0', and using "NULL"
* doc/Eval.3: everywhere to refer to the value of a
* doc/GetIndex.3: pointer that points to nowhere.
* doc/Hash.3: Also dropped references to ASCII that
* doc/LinkVar.3: are no longer true, and standardized on
* doc/Macintosh.3: the hyphenated spelling of "null-terminated".
* doc/OpenFileChnl.3:
* doc/SetVar.3:
* doc/StringObj.3:
* doc/Utf.3:
|
|
|
|
| |
[Bug 624919]
|
| |
|
| |
|
| |
|
|
|
|
| |
with the Tcl_Append* functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/mkLinks: Updated to incorporate the changes below.
* doc/StringObj.3: Added 'Tcl_AttemptSetObjLength' to the NAME
section. [Bug #414435].
* doc/Alloc.3: Added both 'Tcl_AttemptAlloc' and
'Tcl_AttemptRealloc' to the NAME section. [Bug #414435].
* doc/Utf.3: Added both 'Tcl_UniCharCaseMatch' and
'Tcl_UniCharNcasecmp' to the NAME section. [Bug #414435].
|
|
|
|
| |
in place of simple "char*". (kennykb) [Patch #404026]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/StringObj.3: Added entry for Tcl_AttemptSetObjLength.
* generic/tclDecls.h:
* generic/tclStubInit.c: Regen'ed stubs files from new tcl.decls.
* generic/tcl.decls: Added stubs for the Tcl_Attempt* memory
allocators and for Tcl_AttemptSetObjLength.
* generic/tcl.h: Added #define's for attemptckalloc,
attemptckrealloc, which map to the Tcl_Attempt* memory allocators.
* generic/tclCkalloc.c: Added non-panic'ing versions of Tcl_Alloc,
Tcl_Realloc, etc.; these are called Tcl_AttemptAlloc,
Tcl_AttemptRealloc, etc. These are used by
Tcl_AttemptSetObjLength and the string obj append functions.
* generic/tclStringObj.c: Modified string growth algorithm to use
doubling algorithm as long as possible, and only fall back when
that fails. Added Tcl_AttemptSetObjLength, and modified
AppendUnicodeToUnicodeRep, AppendUtfToUtfRep, and
Tcl_AppendStringsToObjVA to support this.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|