summaryrefslogtreecommitdiffstats
path: root/generic/tclTestObj.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate warning: unused variablenijtmans2008-11-261-3/+1
|
* Eliminate 3 calls to Tcl_SetResult, asnijtmans2008-11-251-3/+2
| | | | | examples how it should have been done. purpose: contribute in the TIP #340 discussion.
* Add "const" to many internalnijtmans2008-10-161-4/+4
| | | | | const tables. No functional or API change.
* * doc/Object.3 CONSTified 3 functions usingnijtmans2008-07-271-2/+2
| | | | | | | | | | | | | | | * doc/ObjectType.3 Tcl_ObjType which all are supposed * generic/tcl.decls to be a constant, but this was not * generic/tcl.h reflected in the API: * generic/tclDecls.h Tcl_ConvertToType * generic/tclObj.c Tcl_GetObjType * generic/tclCompCmds.c Tcl_RegisterObjType * generic/tclOOMethod.c Introduced a CONST86_RETURN, so extensions which * generic/tclTestobj.c use Tcl_ObjType directly can be modified to compile against both Tcl 8.5 and Tcl 8.6 tclDecls.h is re-generated with "make genstubs" This change complies with TIP #24 ***POTENTIAL INCOMPATIBILITY***
* fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-5/+5
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tclBasic.c: Removed dead code, including thedgp2007-06-281-66/+1
| | | | | | | | | | | | | * generic/tclExecute.c: entire file tclMathOp.c. * generic/tclInt.h: * generic/tclMathOp.c (removed): * generic/tclTestObj.c: * win/tclWinFile.c: * unix/Makefile.in: Updated to reflect deletion of tclMathOp.c. * win/Makefile.in: * win/makefile.bc: * win/makefile.vc:
* Replaced commas in varargs with string concatenation where possible [Patch ↵Kevin B Kenny2007-04-201-2/+2
| | | | 1515234]
* Complete the purge of K&R function definitions from manually-written code.dkf2007-04-161-55/+55
|
* various "const" additions in implementationnijtmans2007-03-071-22/+22
|
* ANSIfy the test code (well, strip some of the worst offences!)dkf2005-11-021-130/+121
|
* TIP#237 IMPLEMENTATIONdgp2005-10-081-1/+7
| | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* Add missing return TCL_ERRORdkf2005-06-071-111/+103
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+171
|
* filesystem cleanup fix, virtual filesystem load fixvincentdarley2002-12-041-2/+9
|
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-151-2/+3
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-8/+21
| | | | | 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-5/+5
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* Reference implementation of TIP's #22, #33 and #45. Adds thehobbs2001-11-141-1/+14
| | | | | | ability of the [lindex] command to have multiple index arguments, and adds the [lset] command. Both commands are byte-code compiled. [Patch #471874] (work by Kenny, commited by Hobbs)
* Now correctly test for (and fix) Bug #119082.dkf2000-11-241-2/+3
|
* beefed up the string object testshershey1999-06-151-2/+15
|
* Improved the appendObj functions (uncomented the optimized code that washershey1999-06-151-3/+18
| | | | | | | | | present in the Unicode obj). Updated the teststringobj command to look in the correct location for the amount of space allocated for the UTF string rep. Note: one stringObj test is still failing; it reflects a change in that may not be undesirable...
* * tests/string.test:hershey1999-06-081-3/+22
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclVar.c (Tcl_SetVar2Ex): * generic/tclStringObj.c (Tcl_AppendObjToObj): * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string index, string length, string range, and append command in cases where the object's internal rep is a bytearray. Objects with other internal reps are converted to have the new unicode internal rep. * unix/Makefile.in: * win/Makefile.in: * win/Makefile.vc: * tests/unicode.test: * generic/tclInt.h: * generic/tclObj.c: * generic/tclUnicodeObj.c: added a new object type to store the unicode representation of a string. * generic/tclTestObj.c: added the objtype option to the testobj command. This option returns the name of the type of internal rep an object has.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-90/+103
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+1097