summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* fix warning; formattingdas2008-07-221-46/+52
|
* * generic/tclCompile.c: Made the new TclEnterCmdWordIndexandreas_kupries2008-07-222-15/+15
| | | | * generic/tclCompile.h: static, and ansified.
* * generic/tclBasic.c: Ansified the new functions.andreas_kupries2008-07-221-9/+11
|
* * generic/tclBasic.c: Reworked the handling of bytecode literalsandreas_kupries2008-07-225-63/+160
| | | | | | | | | | * generic/tclCompile.c: for #280 to fix the abysmal performance * generic/tclCompile.h: for deep recursion, replaced the linear * generic/tclExecute.c: search through the whole stack with * generic/tclInt.h: another hashtable and simplified the data structure used by the compiler (array instead of hashtable). Incidentially this also fixes the memory leak reported via [Bug 2024937].
* * generic/tclBasic.c: Added numLevels field to CommandFrame,Miguel Sofer2008-07-223-4/+9
| | | | | * generic/tclExecute.c: let GetCommandSource use it. This solves * generic/tclInt.h: [Bug 2017146]. Thx dgp for the analysis.
* fix warning, formatting, whitespacedas2008-07-211-68/+80
|
* * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-218-62/+383
| | | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c: * tests/info.test:
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-213-8/+8
|
* formatting, whitespacedas2008-07-211-18/+21
|
* whitespacedas2008-07-211-22/+22
|
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-216-51/+51
|
* TIP #304 implementationferrieux2008-07-2111-12283/+12351
|
* use TclEvalObjv instead of Tcl_EvalObjv at selected spotsMiguel Sofer2008-07-212-7/+7
|
* * generic/tcl.decls: Changed the implementation ofMiguel Sofer2008-07-218-75/+97
| | | | | | | | | | * generic/tclBasic.c: [namespace import]; removed * generic/tclDecls.h: Tcl_NRObjProc, replaced with * generic/tclExecute.c: Tcl_NRCmdSwap (proposed public * generic/tclInt.h: NRE API). This should fix * generic/tclNRE.h: [Bug 582506]. * generic/tclNamesp.c: * generic/tclStubInit.c:
* Inode numbers on Windows are not unique so avoid the inode check on this ↵patthoyts2008-07-211-5/+7
| | | | platform [Bug 2015723]
* fix uninited and unused var warningsMiguel Sofer2008-07-211-3/+2
|
* * generic/tclBasic.c: NRE: enabled calling NR commandsMiguel Sofer2008-07-215-242/+341
| | | | | | | | * generic/tclExecute.c: from the callbacks. Completely * generic/tclInt.h: redone tailcall implementation * generic/tclNRE.h: using the new feature. * generic/tclProc.c: * tests/NRE.test:
* Fix [Bug 2008248] and make dict->list->dict round trip efficient to boot.dkf2008-07-202-12/+56
|
* fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-1915-41/+41
|
* new TclNRAddCallback macro for internal use instead of the publicMiguel Sofer2008-07-1812-54/+70
| | | | Tcl_NRAddCallback
* NRE-enable the TclOO constructor system.dkf2008-07-183-37/+204
|
* * generic/tcl.decls: Change the public api prefix fromMiguel Sofer2008-07-1815-138/+138
| | | | | | | | | | | | | | | | | * generic/tcl.h: TclNR_foo to Tcl_NRfoo * generic/tclBasic.c: * generic/tclDecls.h: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclInterp.c: * generic/tclNRE.h: * generic/tclNamesp.c: * generic/tclOO.c: * generic/tclOOBasic.c: * generic/tclOOCall.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclStubInit.c:
* NRE-enable oo::object.evaldkf2008-07-181-13/+28
|
* Minor fixes (clearer panic messages, formatting of comments)dkf2008-07-181-55/+50
|
* * generic/tclDictObj.c (DictWithCmd, DictUpdateCmd): fixMiguel Sofer2008-07-182-27/+20
| | | | | | | refcounting bugs that caused crashes [Bug 2017857]. * generic/tclBasic.c (TclNREvalObjEx): streamline the management of the command frame (opt).
* Tinkeringdkf2008-07-171-29/+37
|
* stop crash in test suite!dkf2008-07-171-1/+11
|
* NRE-ify the non-compiled version of [dict update].dkf2008-07-171-9/+40
|
* Add NRE support to [dict with].dkf2008-07-171-11/+50
|
* NRE-aware TclOO.dkf2008-07-165-56/+238
|
* * generic/tclParse.c: fixing incomplete reversion of "fix" forMiguel Sofer2008-07-151-1/+2
| | | | [Bug 2017583], missing TclResetCancellation call.
* Fix [Bug 2018603]dkf2008-07-151-33/+24
|
* Factor the ensemble code a bit more.dkf2008-07-151-168/+236
|
* * generic/tclParse.c: reverting the "fix" for [Bug 2017583],Miguel Sofer2008-07-141-3/+10
| | | | | * tests/parse.test: numLevel management and TclInterpReady check seems to be necessary after all.
* Tidy up code for clarity.dkf2008-07-142-436/+431
|
* Store ClientDatas in NRE callback storage as an array; that's how they aredkf2008-07-143-15/+13
| | | | referred to in callback implementations anyway.
* * generic/tclParse.c: Remove unneeded TclInterpReady callMiguel Sofer2008-07-141-7/+4
|
* * generic/tclExecute.c: Remove unneeded TclInterpReady callMiguel Sofer2008-07-141-12/+1
|
* * generic/tclBasic.c.: Embedded Tcl_Canceled() calls intoMiguel Sofer2008-07-143-18/+7
| | | | | * generic/tclExecute.c: TclInterpReady(). * generic/tclParse.c:
* * generic/tclVar.c: fix error messageMiguel Sofer2008-07-141-2/+2
|
* remove unused variableMiguel Sofer2008-07-141-3/+1
|
* * generic/tclParse.c: remove unnecessary numLevel managementMiguel Sofer2008-07-141-5/+1
| | | | [Bug 2017583]
* * generic/tclBasic.c.: NRE left too many calls toMiguel Sofer2008-07-143-10/+3
| | | | | | * generic/tclExecute.c: TclResetCancellation lying around: it * generic/tclProc.c: only needs to be called prior to any iPtr->numLevels++. Thanks mistachkin.
* more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-137-23/+23
| | | | ?options? to the form ?-option value ...?
* * generic/tclBasic.c: TclResetCancellation() calls were misplacedMiguel Sofer2008-07-131-6/+3
| | | | (merge mishap); stray //. Thanks patthoyts.
* * generic/tclInt.h: the new macros TclSmallAlloc and TclSmallFreeMiguel Sofer2008-07-131-1/+26
| | | | were badly defined under mem debugging [Bug 2017240] (thx das)
* whitespacedas2008-07-131-174/+174
|
* remove leftover DTRACE macro causing buid failuredas2008-07-131-5/+1
|
* silence compiler warnings about uninited variables (gcc can't follow the logic)Miguel Sofer2008-07-131-4/+6
|
* added new files generic/tclNRE.h and tests/NRE.testMiguel Sofer2008-07-131-0/+267
|