summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros.jan.nijtmans2013-02-281-0/+4
|
* remove unused codemig2013-01-251-3/+0
|
* Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-161-2/+0
|\ | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too.
| * Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-161-2/+0
| |\ | | | | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
| | * Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-161-2/+0
| | | | | | | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
| | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-151-14/+0
| | | | | | | | | | | | systems.
| | * make some more internal tables CONSTjan.nijtmans2012-04-181-4/+4
| | | | | | | | | fix compilation with -DNO_CONST
* | | Name functions according to 'what' instead of 'how' in the [tailcall]mig2013-01-111-17/+24
| | | | | | | | | machinery, in view of making public some parts of it.
* | | tailcall now running in a simpler model, with no eval-flags and no nre-stack ↵mig2013-01-101-74/+68
| | | | | | | | | | | | rewriting; yieldto also requires one fewer bounce. Mostly from mig-nre-mods
* | | 3587651 Fix [info functions] and Tcl_ListMathFuncs().dgp2012-11-161-31/+18
|\ \ \ | |/ /
| * | 3587651 Fix Tcl_ListMathFuncs() by turning it into a call to [info functions]dgp2012-11-161-31/+18
| | |
* | | re-enable bcc-tailcall, after fixing an infinite loop in the ↵mig2012-11-101-1/+1
| | | | | | | | | | | | TCL_COMPILE_DEBUG mode
* | | Disable bytecompile of [tailcall] until it gets some repair. As is, itdgp2012-11-051-1/+1
| | | | | | | | | hopelessly bogs down debug-enabled testing, and make many tests fail.
* | | Added compilation of [tailcall]. Not a particularly efficient compilation ↵dkf2012-11-011-6/+5
| | | | | | | | | | | | though; it does not detect tailcall-of-self as a special case.
* | | Added compilation of [regsub] (in the simplest, most restricted case).dkf2012-10-301-1/+1
| | |
* | | Compiler for some of the simpler cases of [format].dkf2012-10-291-1/+1
| | |
* | | Working towards a BCCed [yield]; this doesn't work right now.dkf2012-10-261-8/+7
| | |
* | | * generic/tclBasic.c (TclNRCoroutineObjCmd): insure that numlevelsmig2012-10-181-3/+3
| | | | | | | | | are properly set, fix bug discovered by dkf and reported at http://code.activestate.com/lists/tcl-core/12213/
* | | merge trunkdkf2012-09-041-62/+67
|\ \ \
| * | | converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-62/+67
| | | |
* | | | Rename 'mapeach' to 'lmap' per preferred alternative in TIP #405.twylite2012-08-081-1/+1
| | | |
* | | | Back-out 'foreacha' implementation but leave code cleanup of 'mapeach' and ↵twylite2012-08-081-1/+0
| | | | | | | | | | | | | | | | 'dict map'.
* | | | [Patch-3163961] Implementation of TIP #405 merged from private branch. ↵twylite2012-08-031-1/+3
|/ / / | | | | | | | | | Includes 'mapeach', 'dict map' and 'foreacha' commands, test suite (partial for 'foreacha') and man pages (except for 'foreacha').
* | | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-3/+3
| | |
* | | NRInterpCoroutine -> TclNRInterpCoroutinejan.nijtmans2012-07-021-5/+7
| | | | | | | | | | | | make NRCommand static make TalInstructionTable static const
* | | 3532959 Make sure the lifetime management of entries in the linePBodyPtr hashdgp2012-06-111-4/+8
|\ \ \ | |/ / | | | table can tolerate either order of teardown, interp first, or Proc first.
| * | 3532959 Arrange for every lambda to place an entry in the linePBodyPtr hash ↵dgp2012-06-101-4/+6
| | | | | | | | | | | | | | | | | | | | | table. Then the two teardowns of data in that table synchronize so that the first to run signals the other not to operate. Test proc-7.4 in a mem debug build of Tcl will detect Bug 3532959 by crashing.
| * | Work in progress fixing 3532959dgp2012-06-081-1/+2
| | |
* | | Remove unused variable NULL_CONTEXT.dgp2012-06-051-2/+0
| | |
* | | Restore the tcl_platform(threaded) variable.dgp2012-04-171-0/+11
| | |
* | | minor comment formattingdkf2012-04-151-39/+70
| | |
* | | [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-11/+0
|\ \ \ | |/ /
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
| |\ \ | | |/
| | * 3390272 Leak of [info script] value.dgp2011-08-151-0/+4
| | |
* | | Implementation of TIP #396dkf2012-04-021-7/+4
| | |
* | | * generic/tclCompCmds.c (TclCompileLreplaceCmd): Added a compilationdkf2012-02-151-1/+1
| | | | | | | | | | | | strategy for [lreplace] that tackles the cases which are equivalent to a static [lrange].
* | | * generic/tclCompCmds.c (TclCompileLrangeCmd): Add compiler fordkf2012-02-151-1/+1
| | | | | | | | | | | | | | | | | | [lrange] with constant indices so we can take advantage of existing TCL_LIST_RANGE_IMM opcode. (TclCompileLindexCmd): Improve coverage of constant-index-style compliation using technique developed for [lrange] above.
* | | Fixed typo in a comment.andreask2011-11-211-1/+1
| | |
* | | Commit of patch relating to interp resolversdkf2011-10-151-0/+46
| | |
* | | Fix eval's faulty objProc, it was actually an nreProc [3399564|Bug 3399564]. ↵mig2011-08-291-1/+1
| | | | | | | | | | | | Thanks to Joe Mistachkin for detection and analysis.
* | | 3390272 Leak of [info script] value.dgp2011-08-151-0/+4
|\ \ \ | |/ /
| * | 3390272 Leak of [info script] value.dgp2011-08-151-0/+4
| | |
* | | [Bug 2919042] Restore "valgrindability" of Tcl that was lost by the ↵ferrieux2011-08-091-6/+7
| | | | | | | | | | | | streamlining of [exit], by conditionally forcing a full Finalize: use -DPURIFY or ::env(TCL_FINALIZE_ON_EXIT)
* | | Use Tcl_PrintfObj to generate more (complex) error messages.dkf2011-08-051-6/+2
| | |
* | | * generic/tclBasic.c: add missing INT2PTRmig2011-07-071-1/+1
| | |
* | | Remove TclCleanupLiteralTable (see 994838).dgp2011-06-021-1/+0
|\ \ \ | |/ /
| * | Remove TclCleanupLiteralTable (see 994838).dgp2011-06-021-1/+0
| | |
* | | missing INT2PTR in last commitmig2011-06-011-1/+1
| | |
* | | * generic/tclBasic.c: using the two free data elements inmig2011-06-011-2/+2
| | | | | | | | | NRCommand to store objc and objv - useful for debugging.
* | | Merged core-8-5-branch, fixup of TIP 280 location mapping.andreask2011-05-171-0/+4
|\ \ \ | |/ /