Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CONSTified 4 functions in the Notifier which all have a Tcl_Time* in it which is | nijtmans | 2008-07-24 | 5 | -26/+29 |
| | | | | | | | | | | | supposed to be a constant, but this was not reflected in the API: Tcl_SetTimer Tcl_WaitForEvent Tcl_ConditionWait Tcl_SetMaxBlockTime Introduced a CONST86, so extensions which have their own Notifier (are there any?) can be modified to compile against both Tcl 8.5 and Tcl 8.6. This change complies with TIP #24 | ||||
* | * generic/tclBasic.c: Modified TclArgumentGet to reject pure lists | andreas_kupries | 2008-07-23 | 3 | -28/+31 |
| | | | | | | | | | | * generic/tclCmdIL.c: immediately, without search. Reworked setup * generic/tclCompile.c: of eoFramePtr, doesn't need the line * tests/info.test: information, more sensible to have everything on line 1 when eval'ing a pure list. Updated the users of the line information to special case this based on the frame type (i.e. TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new behaviour. | ||||
* | * generic/tclBasic.c (GetCommandSource): added comment with | Miguel Sofer | 2008-07-23 | 1 | -1/+9 |
| | | | | explanation and warning for waintainers. | ||||
* | make genstubs | das | 2008-07-22 | 2 | -6/+11 |
| | |||||
* | fix TclNRInterpProc stub table declaration (broke 'make checkstubs') | das | 2008-07-22 | 1 | -2/+3 |
| | |||||
* | fix line-endings | das | 2008-07-22 | 9 | -12294/+12294 |
| | |||||
* | Added missing function comments. | andreas_kupries | 2008-07-22 | 1 | -1/+41 |
| | |||||
* | fix warning; formatting | das | 2008-07-22 | 1 | -46/+52 |
| | |||||
* | * generic/tclCompile.c: Made the new TclEnterCmdWordIndex | andreas_kupries | 2008-07-22 | 2 | -15/+15 |
| | | | | * generic/tclCompile.h: static, and ansified. | ||||
* | * generic/tclBasic.c: Ansified the new functions. | andreas_kupries | 2008-07-22 | 1 | -9/+11 |
| | |||||
* | * generic/tclBasic.c: Reworked the handling of bytecode literals | andreas_kupries | 2008-07-22 | 5 | -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 Sofer | 2008-07-22 | 3 | -4/+9 |
| | | | | | * generic/tclExecute.c: let GetCommandSource use it. This solves * generic/tclInt.h: [Bug 2017146]. Thx dgp for the analysis. | ||||
* | fix warning, formatting, whitespace | das | 2008-07-21 | 1 | -68/+80 |
| | |||||
* | * generic/tclBasic.c: Extended the existing TIP #280 system (info | andreas_kupries | 2008-07-21 | 8 | -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) | nijtmans | 2008-07-21 | 3 | -8/+8 |
| | |||||
* | formatting, whitespace | das | 2008-07-21 | 1 | -18/+21 |
| | |||||
* | whitespace | das | 2008-07-21 | 1 | -22/+22 |
| | |||||
* | fix [2021443] inconsistant "wrong # args" messages (follow-up) | nijtmans | 2008-07-21 | 6 | -51/+51 |
| | |||||
* | TIP #304 implementation | ferrieux | 2008-07-21 | 11 | -12283/+12351 |
| | |||||
* | use TclEvalObjv instead of Tcl_EvalObjv at selected spots | Miguel Sofer | 2008-07-21 | 2 | -7/+7 |
| | |||||
* | * generic/tcl.decls: Changed the implementation of | Miguel Sofer | 2008-07-21 | 8 | -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 ↵ | patthoyts | 2008-07-21 | 1 | -5/+7 |
| | | | | platform [Bug 2015723] | ||||
* | fix uninited and unused var warnings | Miguel Sofer | 2008-07-21 | 1 | -3/+2 |
| | |||||
* | * generic/tclBasic.c: NRE: enabled calling NR commands | Miguel Sofer | 2008-07-21 | 5 | -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. | dkf | 2008-07-20 | 2 | -12/+56 |
| | |||||
* | fix [2021443] inconsistant "wrong # args" messages | nijtmans | 2008-07-19 | 15 | -41/+41 |
| | |||||
* | new TclNRAddCallback macro for internal use instead of the public | Miguel Sofer | 2008-07-18 | 12 | -54/+70 |
| | | | | Tcl_NRAddCallback | ||||
* | NRE-enable the TclOO constructor system. | dkf | 2008-07-18 | 3 | -37/+204 |
| | |||||
* | * generic/tcl.decls: Change the public api prefix from | Miguel Sofer | 2008-07-18 | 15 | -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.eval | dkf | 2008-07-18 | 1 | -13/+28 |
| | |||||
* | Minor fixes (clearer panic messages, formatting of comments) | dkf | 2008-07-18 | 1 | -55/+50 |
| | |||||
* | * generic/tclDictObj.c (DictWithCmd, DictUpdateCmd): fix | Miguel Sofer | 2008-07-18 | 2 | -27/+20 |
| | | | | | | | refcounting bugs that caused crashes [Bug 2017857]. * generic/tclBasic.c (TclNREvalObjEx): streamline the management of the command frame (opt). | ||||
* | Tinkering | dkf | 2008-07-17 | 1 | -29/+37 |
| | |||||
* | stop crash in test suite! | dkf | 2008-07-17 | 1 | -1/+11 |
| | |||||
* | NRE-ify the non-compiled version of [dict update]. | dkf | 2008-07-17 | 1 | -9/+40 |
| | |||||
* | Add NRE support to [dict with]. | dkf | 2008-07-17 | 1 | -11/+50 |
| | |||||
* | NRE-aware TclOO. | dkf | 2008-07-16 | 5 | -56/+238 |
| | |||||
* | * generic/tclParse.c: fixing incomplete reversion of "fix" for | Miguel Sofer | 2008-07-15 | 1 | -1/+2 |
| | | | | [Bug 2017583], missing TclResetCancellation call. | ||||
* | Fix [Bug 2018603] | dkf | 2008-07-15 | 1 | -33/+24 |
| | |||||
* | Factor the ensemble code a bit more. | dkf | 2008-07-15 | 1 | -168/+236 |
| | |||||
* | * generic/tclParse.c: reverting the "fix" for [Bug 2017583], | Miguel Sofer | 2008-07-14 | 1 | -3/+10 |
| | | | | | * tests/parse.test: numLevel management and TclInterpReady check seems to be necessary after all. | ||||
* | Tidy up code for clarity. | dkf | 2008-07-14 | 2 | -436/+431 |
| | |||||
* | Store ClientDatas in NRE callback storage as an array; that's how they are | dkf | 2008-07-14 | 3 | -15/+13 |
| | | | | referred to in callback implementations anyway. | ||||
* | * generic/tclParse.c: Remove unneeded TclInterpReady call | Miguel Sofer | 2008-07-14 | 1 | -7/+4 |
| | |||||
* | * generic/tclExecute.c: Remove unneeded TclInterpReady call | Miguel Sofer | 2008-07-14 | 1 | -12/+1 |
| | |||||
* | * generic/tclBasic.c.: Embedded Tcl_Canceled() calls into | Miguel Sofer | 2008-07-14 | 3 | -18/+7 |
| | | | | | * generic/tclExecute.c: TclInterpReady(). * generic/tclParse.c: | ||||
* | * generic/tclVar.c: fix error message | Miguel Sofer | 2008-07-14 | 1 | -2/+2 |
| | |||||
* | remove unused variable | Miguel Sofer | 2008-07-14 | 1 | -3/+1 |
| | |||||
* | * generic/tclParse.c: remove unnecessary numLevel management | Miguel Sofer | 2008-07-14 | 1 | -5/+1 |
| | | | | [Bug 2017583] | ||||
* | * generic/tclBasic.c.: NRE left too many calls to | Miguel Sofer | 2008-07-14 | 3 | -10/+3 |
| | | | | | | * generic/tclExecute.c: TclResetCancellation lying around: it * generic/tclProc.c: only needs to be called prior to any iPtr->numLevels++. Thanks mistachkin. |