summaryrefslogtreecommitdiffstats
path: root/tests/set-old.test
Commit message (Collapse)AuthorAgeFilesLines
* Altered test numers to eliminate duplicates, [Bugs 710313, 710320, 710352]msofer2003-03-271-42/+42
| | | FossilOrigin-Name: ec13cadab0d76b0e4dba2efa8b373668fc042b92
* * tests/interp.test:mdejong2003-02-051-24/+24
| | | | | | | | | * tests/set-old.test: Run test cases that depend on hash order through lsort so that the tests also pass under Jacl. Does not change test results under Tcl. FossilOrigin-Name: 050a14cf7338e4ef0918ce749e0f5a2d08074dab
* * generic/tclVar.c: refactorisation to reuse already looked-up Varmsofer2002-07-151-2/+2
| | | | | | | | | | | | | | | | | | | | pointers; definition of three new Tcl_Obj types to cache variable name parsing and lookup for later reuse; modification of internal functions to profit from the caching. * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclNamesp.c: adding CONST qualifiers to variable names passed to Tcl_FindNamespaceVar and to variable resolvers; adding CONST qualifier to the 'msg' argument to TclLookupVar. Needed to avoid code duplication in the new tclVar.c code. * tests/set-old.test: * tests/var.test: slight modification of error messages due to the modifications in the tclVar.c code. FossilOrigin-Name: 6a9cd28b04d09f7b3dedf5cdd500cc772057a146
* Error behaviour of [unset] was changed to agree with documentation, sodkf2001-03-151-14/+4
| | | | | | must change associated test as well. FossilOrigin-Name: ae833bf3821708b056b2cfddf8e34807ee2e5c84
* Fixed two faults with [unset -nocomplain]; one with a possible overrundkf2001-03-061-2/+2
| | | | | | of the argument array, and another with the documentation. FossilOrigin-Name: 308102bafc14cee55bb361a5dd1f8c84203a7f94
* Added check for non-arrays for [array statistics].ericm2000-08-211-2/+5
| | | FossilOrigin-Name: b857b66be3c7ad19c1ccaf6e8c50236f3a798c42
* * tests/set-old.test:hobbs2000-06-011-2/+41
| | | | | | | | * doc/unset.n: * generic/tclVar.c (Tcl_UnsetObjCmd): added -nocomplain and -- options to unset, to allow for a silent unset operation. FossilOrigin-Name: 4f72696ca37d380a468249962ea26d44bb241288
* * generic/tclVar.c (Tcl_ArrayObjCmd): Added support for regexp andericm2000-05-311-2/+43
| | | | | | | | | | | | exact matching for [array names] command. [RFE: 3684]. * doc/array.n: Added documentation for [array names -exact/-regexp/-glob] [RFE: 3684]. * tests/set-old.test: Added tests for [array names -exact/-regexp/-glob] [RFE: 3684]. FossilOrigin-Name: 634da00427d2b146b23b68eeb691c581516b80d4
* * tests/set-old.test:ericm2000-05-081-3/+28
| | | | | | | * doc/array.n: * generic/tclVar.c: Added [array statistics] command [RFE: 4557] FossilOrigin-Name: 4254340950c85a5195b6ea29f7584889e15ca648
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* 1999-09-16 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-211-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/timer.test: changed after delay in timer test 6.29 from 1 to 10. [Bug: 2796] * tests/pkg.test: * generic/tclPkg.c: fixed package version check to disallow 1.2..3 [Bug: 2539] * unix/Makefile.in: fixed gendate target - this never worked since RCS was intro'd. * generic/tclGetDate.y: updated to reflect previous changes to tclDate.c (leap year calc) and added CEST and UCT time zone recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954, 1245, 1249] * generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719] and changed Tcl_Alloc, et al to not panic when a alloc request for zero came through and NULL was returned (valid on AIX, Tru64) [Bug: 2795, etc] * tests/clock.test: * doc/clock.n: * generic/tclClock.c: added -milliseconds switch to clock clicks to guarantee that the return value of clicks is in the millisecs granularity [Bug: 2682, 1332] 1999-09-15 Jeff Hobbs <hobbs@scriptics.com> * generic/tclIOCmd.c: fixed potential core dump in conjunction with stacked channels with result obj manipulation in Tcl_ReadChars [Bug: 2623] * tests/format.test: * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605] * doc/msgcat.n: fixed \\ bug in example [Bug: 2548] * unix/tcl.m4: * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610] * doc/array.n: * tests/var.test: * tests/set.test: * generic/tclVar.c: added an array unset operation, with docs and tests. Variation of [Bug: 1775]. Added fix in TclArraySet to check when trying to set in a non-existent namespace. [Bug: 2613] 1999-09-14 Jeff Hobbs <hobbs@scriptics.com> * tests/linsert.test: * doc/linsert.n: * generic/tclCmdIL.c: fixed end-int interpretation of linsert to correctly calculate value for end, added test and docs [Bug: 2693] * doc/regexp.n: * doc/regsub.n: * tests/regexp.test: * generic/tclCmdMZ.c: add -start switch to regexp and regsub with docs and tests * doc/switch.n: added proper use of comments to example. * generic/tclCmdMZ.c: changed switch to complain when an error occurs that seems to be due to a misplaced comment. * generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions in regsub [Bug: 2723] * generic/tclCmdMZ.c: changed [string equal] to return an Int type object (was a Boolean) FossilOrigin-Name: eb68adcdfd2b621fe83410354568df693c95a1fc
* Fixed style problems in many of the test files.rjohnson1999-06-261-2/+2
| | | | | | Fixed bug in pkg.test where defs.tcl was still being used. FossilOrigin-Name: dbfd75f43f496269e869e2fbd58f86e25bdcef4c
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-4/+21
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* *** empty log message ***stanton1998-06-181-0/+23
| | | FossilOrigin-Name: 1d4fda1f1e8e794d8a3a11dca93ddc21259bf04f
* Initial revisionrjohnson1998-03-261-0/+771
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a