summaryrefslogtreecommitdiffstats
path: root/generic/tclInterp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Limits documentation and style improvementsdkf2004-05-301-41/+491
| | | | Added C docs, cleaned up C code, added note on behaviour of limited master interps
* Prototype fix for [Bug 960410] that tries to move hash table cleanup somewheredkf2004-05-251-9/+12
| | | | more reliable.
* Fixed [Bug 959193] which is apparently a word-size issue.dkf2004-05-241-2/+2
|
* Delete limit callbacks properly when the interpreters involved are deleted.dkf2004-05-201-1/+75
|
* Enable a test of limiting tight loops.dkf2004-05-191-3/+3
|
* Stop a compiler warning.dkf2004-05-181-1/+2
|
* Tests of limit-exceeded callbacks and make sure that those callbacks can removedkf2004-05-181-3/+6
| | | | the limits if they see fit (as well as extending them).
* Very minor updates to comments/whitespacedkf2004-05-131-1/+2
|
* TIP#143 implementation; still needs docs and more tests...dkf2004-05-131-9/+1018
|
* 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):
* All uses of 'panic' (the macro) changeddavygrvy2003-12-241-4/+4
| | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* Undo mistaken commit of work-in-progressdkf2003-09-291-495/+7
|
* TIP#121 (app exit proc API) implementation from Joe Mistachkindkf2003-09-291-7/+495
|
* * generic/tclInterp.c: (AliasObjCmd): Added refCounting of the wordsdgp2003-05-121-2/+8
| | | | | * tests/interp.test (interp-33.1): of the target of an interp alias during its execution. Also added test. [Bug 730244].
* * generic/tclInterp.c (Tcl_InterpObjCmd): Corrected optiondgp2003-03-121-2/+4
| | | | | parsing beyond objc for [interp create --]. Thanks to Marco Maggi. [Bug 702383]
* * generic/tclInterp.c (AliasCreate): preserve/release interps tohobbs2002-11-271-14/+23
| | | | prevent possible FMR error in bad alias cases.
* * tests/interp.test: interp-14.4hobbs2002-11-231-5/+16
| | | | | * generic/tclInterp.c (TclPreventAliasLoop): prevent seg fault when creating an alias command over the interp name. [Bug #641195]
* * generic/tclInterp.c (AliasCreate): a Tcl_Obj was leaked on errorMiguel Sofer2002-09-031-1/+2
| | | | return from TclPreventAliasLoop.
* * generic/tclInterp.c (SlaveCreate): make sure that the memory andhobbs2002-09-021-1/+6
| | | | | checkmem commands are initialized in non-safe slave interpreters when TCL_MEM_DEBUG is used. [Bug #583445]
* * doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ifydgp2002-08-051-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Concat.3: all remaining public interfaces of Tcl. * doc/CrtCommand.3: Notably, the parser no longer writes on * doc/CrtSlave.3: the string it is parsing, so it is no * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be * doc/Eval.3: given a writable string. Also, the * doc/ExprLong.3: refactoring of the Tcl_*Var* routines * doc/LinkVar.3: by Miguel Sofer is included, so that the * doc/ParseCmd.3: "part1" argument for them no longer needs * doc/SetVar.3: to be writable either. * doc/TraceVar.3: * doc/UpVar.3: Compatibility support has been enhanced so * generic/tcl.decls that a #define of USE_NON_CONST will remove * generic/tcl.h all possible source incompatibilities with * generic/tclBasic.c the 8.3 version of the header file(s). * generic/tclCmdMZ.c The new #define of USE_COMPAT_CONST now does * generic/tclCompCmds.c what USE_NON_CONST used to do -- disable * generic/tclCompExpr.c only those new CONST's that introduce * generic/tclCompile.c irreconcilable incompatibilities. * generic/tclCompile.h * generic/tclDecls.h Several bugs are also fixed by this patch. * generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429] * generic/tclEvent.c * generic/tclInt.decls * generic/tclInt.h * generic/tclIntDecls.h * generic/tclInterp.c * generic/tclLink.c * generic/tclObj.c * generic/tclParse.c * generic/tclParseExpr.c * generic/tclProc.c * generic/tclTest.c * generic/tclUtf.c * generic/tclUtil.c * generic/tclVar.c * mac/tclMacTest.c * tests/expr-old.test * tests/parseExpr.test * unix/tclUnixTest.c * unix/tclXtTest.c * win/tclWinTest.c
* * generic/tclInterp.c: signed/unsigned comparison warning fixedMiguel Sofer2002-07-311-3/+3
|
* bugfix, new tests for new [interp alias] codeMiguel Sofer2002-07-291-3/+3
|
* Fix for [Bug 582522] - aliases now fire execution traces on the targetMiguel Sofer2002-07-291-83/+74
| | | | command. Optimisation of alias invocation.
* * Added the [interp recursionlimit] command todgp2002-03-071-5/+90
| | | | | set/query the recursion limit of an interpreter. Proposal and implementation from Stephen Trier. [TIP 87, Patch 522849]
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-2/+2
| | | | | 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-6/+6
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* * Updated APIs in generic/tclHistory.c according to the guidelinesdgp2002-01-161-13/+13
| | | | | | | | | | of TIP 27. * Updated APIs in generic/tclInterp.c according to the guidelines of TIP 27. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the targetCmdPtr arguments of the Tcl_GetAlias* routines.
* * tests/interp.test:hobbs2001-11-161-10/+20
| | | | | * generic/tclInterp.c (SlaveObjCmd): Corrected argument checking for '$interp alias|aliases|issafe'. [Patch #479560] (thoyts, hobbs)
* * tests/stack.test:hobbs2001-09-111-4/+17
| | | | | * generic/tclInterp.c (AliasObjCmd): Check the numLevels to ensure that we aren't hitting some alias loop condition. [Bug #443184]
* Typo in commentdgp2001-04-041-2/+2
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-2983/+1525
|
* * tests/interp.test:stanton1999-02-031-24/+2
| | | | | | * generic/tclInterp.c (DeleteAlias): Changed to use Tcl_DeleteCommandFromToken so we handle renames properly. This avoids senseless panic. [Bug: 736]
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* unset tclDefaultLibrary in safe modestanton1998-07-241-0/+1
|
* Initial revisionrjohnson1998-03-261-0/+3834