summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
Commit message (Collapse)AuthorAgeFilesLines
* Patch from [Bug: 231259]Miguel Sofer2001-05-151-1/+12
|
* Added a bunch of missing CONST declarations to stop warnings aboutdkf2001-04-251-9/+13
| | | | using TclGetNamespaceForQualName from the (Solaris8) SUNWspro cc.
* (TIP #27) Another round of CONST changes, thisKevin B Kenny2001-04-241-7/+7
| | | | | | | | | time adding CONST to the API's exported from tclBasic.c. [Patch #415179] ***POTENTIAL INCOMPATIBILITY*** from 8.4a2, in which Vince Darley's changes to command tracing were added. A const has been added to the type signature of one of the parameters to Tcl_CommandTraceProc.
* Corrected behaviour of [namespace code] (bug #219385, patch #403530)Miguel Sofer2001-04-071-4/+8
|
* * generic/tclNamesp.c (Tcl_Import): Correctly freed a DString.hobbs2001-03-241-1/+3
| | | | (lavana) [Patch #403755]
* * doc/namespace.n:hobbs2000-05-111-9/+64
| | | | | | * tests/namespace.test: * generic/tclNamesp.c (Tcl_NamespaceObjCmd): added 'namespace exists' command. [Bug: 4665]
* * tests/namespace.test:hobbs2000-03-271-1/+15
| | | | | | | | | * generic/tclNamesp.c (Tcl_Export): added a uniq'ing test to the export list so only one instance of each export pattern would exist in the list. * generic/tclExecute.c (TclExecuteByteCode): optimized case for the empty string in ==/!= comparisons
* * generic/tclNamesp.c: Undid fix for #956, which broke backwardsericm2000-01-261-3/+2
| | | | | | | | | | | | | compatibility. * doc/variable.n: * doc/trace.n: * doc/namespace.n: * doc/info.n: Added further information about differences between "namespace which" and "info exists". * doc/SetErrno.3: Added descriptions of ErrnoId() and ErrnoMsg() functions.
* * namespace.test: Added test for undefined variables withericm2000-01-211-2/+3
| | | | | | | namespace which (bug #956). * tclNamesp.c: Added check for undefined variables in NamespaceWhichCmd (bug #956).
* * generic/tclClock.c: fixed support for 64bit handling of clockhobbs2000-01-121-1/+2
| | | | | | | | | | | | values [Bug: 1806] * generic/tclThreadTest.c: upped a buffer size to hold double * tests/info.test: * generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong) * generic/tclNamesp.c: made imported commands also import their compile proc [Bug: 2100]
* * tests/var.test:hobbs1999-12-121-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCompile.c: fixed problem where setting to {} array would intermittently not work. (Fontaine) [Bug: 3339] * generic/tclCmdMZ.c: * generic/tclExecute.c: optimized INST_TRY_CVT_TO_NUMERIC to recognize boolean objects. (Spjuth) [Bug: 2815] * tests/info.test: * tests/parseOld.test: * generic/tclCmdAH.c: * generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg case as well, to take advantage of potential pure list input optimization. This means that it won't get byte compiled though, which should be acceptable. * generic/tclBasic.c: made Tcl_EvalObjEx pure list object aware in the TCL_EVAL_DIRECT case for efficiency. * generic/tclUtil.c: made Tcl_ConcatObj pure list object aware, and return a list object in that case [Bug: 2098 2257] * generic/tclMain.c: changed Tcl_Main to not constantly reuse the commandPtr object (interactive case) as it could be shared. (Fellows)
* * generic/tclNamesp.c:hobbs1999-10-051-13/+12
| | | | | | | * generic/tclVar.c: * generic/tclCmdIL.c: fixed comment typos * generic/tcl.h: * library/init.tcl: updated to 8.3a1 from 8.2.0.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-82/+102
|
* * generic/tclInt.h:stanton1999-02-031-6/+9
| | | | | | | | * generic/tclNamesp.c (TclGetNamespaceForQualName): Restored signature so that TclGetNamespaceForQualName returns an int, even though it is always TCL_OK. This is needed for forwards compatibility of tbcload. This should be removed at some point, when we are willing to break forward compatibility.
* * generic/tclProc.c:stanton1999-02-031-90/+47
| | | | | | | | | | | | | | | | | | | | | | * generic/tclNamesp.c: * generic/tclInt.h: * generic/tclCmdIL.c: * generic/tclBasic.c: * generic/tclVar.c: Applied patch from Viktor Dukhovni to rationalize TCL_LEAVE_ERR_MSG behavior when creating variables. * generic/tclVar.c: Fixed bug in namespace tail computation. Fixed bug where upvar could resurrect a namespace variable whose namespace had been deleted. * generic/tclCompile.c (TclCompileExprCmd): Eliminated yet another bogus optimization in expression compilation. * generic/tclCompile.c (CompileExprWord): Fixed exception stack overflow bug caused by missing statement. [Bug: 928] * generic/tclIOCmd.c: * generic/tclBasic.c: Objectified the "open" command. [Bug: 1113]
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Restored attributionwelch1998-08-131-1/+6
|
* updated copyright info & sccs idsrjohnson1998-08-101-6/+2
|
* fixed a few code style issuesrjohnson1998-08-101-2/+7
|
* Moved data struct to tclInt.hwelch1998-08-101-15/+0
|
* Updated core w/ Micheals latest changes.surles1998-07-241-1/+37
|
* incr tcl updtaeswelch1998-06-281-8/+105
|
* Initial revisionrjohnson1998-03-261-0/+3765