| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
a zero-length block can return NULL. [Tk bug 619544]
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* doc/LinkVar.3:
* doc/ObjectType.3:
* doc/PkgRequire.3:
* doc/Preserve.3:
* doc/TCL_MEM_DEBUG.3: Updated documentation to describe the ckalloc,
ckfree, ckrealloc, attemptckalloc, and attemptckrealloc macros, and
to accurately describe when and how they are used. [Bug #497459] (dgp)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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].
|
|
|
|
| |
char *'s, not ints. [Bug #411388]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|