| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* tests/indexObj.test: there are extensions that rely on the prior
* doc/GetIndex.3: behavior that the empty string cannot succeed
as a unique prefix matcher, so I'm restoring Donal Fellow's solution.
Added mention of this detail to the documentation. [Bug 1464039]
|
|
|
|
|
| |
strings to be matched by the Tcl_GetIndexFromObj machinery, in
the same manner as any other key. [Bug 1464039]
|
| |
|
|
|
|
| |
* generic/indexObj.test: when TCL_EXACT matching is requested.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls (Tcl_GetIndexFromObjStruct):
* generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Revised the
prototype of the Tcl_GetIndexFromObjStruct to take its struct
table as a (CONST VOID *) argument, better describing what it is,
maintaining source compatibility, and adding CONST correctness
according to TIP 27. Thanks to Joe English for an elegant
solution. [Bug 520304]
* generic/tclDecls.h: make genstubs
|
|
|
|
| |
use of VOID* in default case (GNU-ism).
|
|
|
|
|
|
|
| |
* tclIOGT.c:
* tclIndexObj.c: Touchups to the TIP 72 patch to make it
compileable under Windows again. The changes are not complete,
there is one nasty regarding _stati64
|
|
|
|
|
| |
This version builds clean on Solaris/SPARC, with GCC and CC, both with and
without threads and both in 32-bit and 64-bit mode.
|
|
|
|
|
|
|
| |
overlooked before. Updated callers.
***POTENTIAL INCOMPATIBILITY***
Includes a source incompatibility in the tablePtr arguments of
the Tcl_GetIndexFromObj* routines.
|
|
|
|
| |
according to the guidelines of TIP 27.
|
|
|
|
| |
Crays. [Bug #419528] (andreasen)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
command to test Tcl_WrongNumArgs.
* generic/tclTest.c (TestWrongNumArgsObjCmd): Added test function
for the Tcl_WrongNumArgs function.
* generic/tclIndexObj.c (Tcl_WrongNumArgs): Corrected algorithm to
not insert a space before the message component when objc == 0
[Bug: 6078].
|
|
|
|
|
| |
caching of the index ptr to account for offsets != sizeof(char *).
[Bug: 5153]
|
|
|
|
|
| |
Tcl_GetIndexFromObj when the key is "". Added test cases and
doc note.
|
| |
|
| |
|
|
|