summaryrefslogtreecommitdiffstats
path: root/generic/tclIndexObj.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seemsdgp2006-04-061-2/+2
| | | | | | | * 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]
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow emptydgp2006-04-051-7/+3
| | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039]
* Fix [Bug 1646039]dkf2006-04-051-13/+9
|
* * generic/tclIndexObj.c: Disallow the "ambiguous" error messagedgp2006-02-161-3/+3
| | | | * generic/indexObj.test: when TCL_EXACT matching is requested.
* Fix shared object panics. [Bug 875395]dkf2004-01-131-3/+6
|
* * doc/GetIndex.3:dgp2002-02-281-3/+3
| | | | | | | | | | | * 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
* * generic/tclIndexObj.c (STRING_AT): removed ptrdiff_t cast andhobbs2002-02-161-14/+2
| | | | use of VOID* in default case (GNU-ism).
* * tclExecute.c:andreas_kupries2002-02-151-2/+6
| | | | | | | * 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
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-42/+185
| | | | | 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.
* * More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that weredgp2002-01-171-8/+10
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* * Updated APIs in the file generic/tclIndexObj.cdgp2002-01-141-7/+8
| | | | according to the guidelines of TIP 27.
* * generic/tclIndexObj.c: fixed some casting problems that upsethobbs2001-08-301-5/+5
| | | | Crays. [Bug #419528] (andreasen)
* [Patch #424851]: Faster array searching & obj cleanupMiguel Sofer2001-05-261-18/+1
|
* Now correctly test for (and fix) Bug #119082.dkf2000-11-241-7/+18
|
* minor cast changeshobbs2000-11-021-5/+5
|
* * tests/indexObj.test: Added tests using the [testwrongnumargs]ericm2000-08-071-3/+9
| | | | | | | | | | | 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].
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Correctedhobbs2000-06-061-2/+6
| | | | | caching of the index ptr to account for offsets != sizeof(char *). [Bug: 5153]
* Applied patch from Peter Hardie (with modifications) to fixredman1999-06-281-1/+10
| | | | | Tcl_GetIndexFromObj when the key is "". Added test cases and doc note.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-68/+92
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+308