summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* merge changes from trunknovem_no_startcmddkf2013-01-301-107/+96
|\
| * Remove one trampoline bounce in EvalObjv.mig_retestmig2013-01-291-23/+6
| |
| * 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
* | | | Initialize legacyFreeProc with invalid value: This will result injan.nijtmans2012-12-031-6/+4
| | | | | | | | | | | | | | | | | | | | a crash immediately, when an extention tries to call it, in stead of crashing some time later.... Remove some more legacy regarding accessing interp->result
| | | |
| \ \ \
| \ \ \
| \ \ \
| \ \ \
| \ \ \
*-----. \ \ \ Merge (selected bits of) novemdgp2012-11-261-93/+1
|\ \ \ \ \ \ \
| | | | * | | | Removed functions marked deprecated or obsolete for a long time: ↵jan.nijtmans2012-11-261-93/+1
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_Backslash, Tcl_EvalFile, Tcl_GlobalEvalObj, Tcl_GlobalEval, Tcl_EvalTokens. Remove Tcl_FindExecutable from stub table: It is needed by embedders, not extenders. Remove TclpGetDate, TclpGmtime, TclpLocaltime: it isn't use anywhere since the new clock implementation. Remove TclWinConvertWSAError, it's the same as TclWinConvertError.
| | | * | | | ... make it more portablejan.nijtmans2012-11-201-2/+2
| | |/ / / /
| | * | | | Add checks for the assumtions made in tclStubLib.c, making sure that thosejan.nijtmans2012-11-201-0/+23
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assumtions are maintained for Tcl 9! If not, extensions compiled for Tcl9 but loaded in Tcl8 (with an incompatible stub table) cannot produce a nice error-message any more. <p>This is probably not the best place to do the check, maybe it's better to do this in tclTest.c, as part of the test suite. <p>Feedback welcome!
* | | | | Stop segfaults in test suite.dgp2012-11-261-0/+1
| | | | |
* | | | | WIP removing the maintenance of a string result in the Interp.dgp2012-11-171-82/+7
|\ \ \ \ \ | |/ / / / |/| | | | Still some head-scratching on what to do with tclStubLib.c.
| * | | | merge trunkdgp2012-11-161-113/+104
| |\ \ \ \ | | |/ / /
| * | | | merge trunkdgp2012-07-191-14/+18
| |\ \ \ \
| * | | | | Clean version of changes; ifdef-freedkf2012-04-191-104/+1
| | | | | |
| * | | | | Experimental branch where the interp->result field and related are removeddgp2012-04-181-7/+35
| | | | | | | | | | | | | | | | | | | | | | | | and all simplifications that makes possible are done. Seems this can at best be a Tcl 9 reform.
* | | | | | Remove pre-8.5 interface for custom expr functions.dgp2012-11-161-368/+0
| | | | | |
* | | | | | merge trunkdgp2012-11-161-31/+18
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | 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
| | | | | |
* | | | | | Goodbye to [case].dgp2012-11-151-3/+0
|/ / / / /
* | | | | 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
| | |