summaryrefslogtreecommitdiffstats
path: root/generic/tclIndexObj.c
Commit message (Collapse)AuthorAgeFilesLines
* fix compile errordgp2005-07-211-2/+2
|
* Systematizing the formattingdkf2005-07-211-161/+210
|
* * generic/tclInt.h: Reduced the Tcl_ObjTypes "index",dgp2005-06-071-8/+8
| | | | | | | * generic/tclIndexObj.c: "enembleCmd", "localVarName", and * generic/tclNamesp.c: "levelReference" to file static scope. * generic/tclProc.c: * generic/tclVar.c:
* Clean up tests in chan.test and add mechanism for chaining Tcl_WrongNumArgsdkf2005-06-071-2/+7
| | | | messages (used in [read] implementation)
* Fix [Bug 1066837] without reopening other bugs... What a horrid hack! :^/dkf2004-11-251-3/+21
|
* Allow ensembles to rewrite their subcommands' error messages to be moredkf2004-10-291-5/+82
| | | | | | relevant to users. [Patch 1056864] Also patches to core to take advantage of this Also other general cleaning up of Tcl_WrongNumArgs usage
* * generic/tclBasic.c:dgp2004-10-061-3/+3
| | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: * generic/tclEncoding.c: * generic/tclExecute.c: * generic/tclFCmd.c: * generic/tclHistory.c: * generic/tclIndexObj.c: * generic/tclInterp.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated.
* Factorize out the code for freeing an object's internal rep.dkf2004-09-291-5/+2
|
* Patch 922727 committed. Implements three changes:dgp2004-04-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* 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