summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* NRE implementation [Patch 2017110]Miguel Sofer2008-07-1316-972/+2609
|
* * generic/tclGet.c: Corrected out of date comments and removeddgp2008-07-084-68/+18
| | | | | | | | | | | * generic/tclInt.decls: internal routine TclGetLong() that's no longer used. If an extension is using this from the internal stubs table, it can shift to the public routine Tcl_GetLongFromObj() or can request addition of a public Tcl_GetLong(). ***POTENTIAL INCOMPATIBILITY*** * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* * generic/tclCmdIL.c (InfoFrameCmd): Fixed unsafe idiom of settingandreas_kupries2008-07-071-2/+2
| | | | the interp result found by Don Porter.
* * generic/tclIORChan.c (InvokeTclMethod): Fixed the memory leakandreas_kupries2008-07-031-1/+13
| | | | | reported in [Bug 1987821]. Thanks to Miguel for the rpeort and Don Porter for tracking the cause down.
* Add focussed stack limiting to the RE compiler. Tuning might not yet be rightdkf2008-07-012-4/+15
| | | | but it passes everything normally checked in the test suite. [Bug 1905562]
* formatting, whitespacedas2008-06-302-114/+122
|
* Lrange cleanup and in-place optimization [Patch 1890831]ferrieux2008-06-291-36/+48
|
* Avoid useless String conversion for CONCAT1 of pure byte arrays [Patch 1953758].ferrieux2008-06-291-1/+57
|
* * generic/tclPathObj.c: Plug memory leak in [Bug 1999176] fix. Thanksdgp2008-06-291-3/+7
| | | | to Rolf Ade for detecting.
* * generic/tclPathObj.c: Plug memory leak in [Bug 1972879] fix. Thanksdgp2008-06-281-3/+7
| | | | Rolf Ade for detecting and Dan Steffen for the fix [Bug 2004654].
* * changes: Updates for 8.6a1 release.dgp2008-06-251-2/+2
| | | | * generic/tclOO.h: Bump to TclOO 0.5.
* * generic/tclPathObj.c: Fixed some internals management in the "path"dgp2008-06-241-2/+25
| | | | | Tcl_ObjType for the empty string value. Problem led to a crash in the command [glob -dir {} a]. [Bug 1999176].
* * generic/tclPathObj.c: Fixed bug in Tcl_GetTranslatedPath() whendgp2008-06-231-7/+9
| | | | | | | operating on the "Special path" variant of the "path" Tcl_ObjType intrep. A full normalization was getting done, in particular, coercing relative paths to absolute, contrary to what the function of producing the "translated path" is supposed to do. [Bug 1972879].