summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ \ | |/ /
| * | * generic/tclCompile.c (TclFixupForwardJump): Tracked down and fixedandreask2011-05-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c (TclArgumentBCEnter): the cause of a violation of my assertion that 'ePtr->nline == objc' in TclArgumentBCEnter. When a bytecode was grown during jump fixup the pc -> command line mapping was not updated. When things aligned just wrong the mapping would direct command A to the data for command B, with a different number of arguments.
* | | Define and use macros that test whether a Tcl list value is canonical.dgp2011-04-181-6/+2
|\ \ \ | |/ /
| * | Define and use macros that test whether a Tcl list value is canonical.dgp2011-04-181-49/+36
| | |
* | | * generic/tclBasic.c: fix for [Bug 2440625], kbk's patchmig2011-04-121-24/+6
| | |
* | | insure that 'coroutine eval' runs the initial command in the proper context, ↵mig2011-04-111-2/+9
| | | | | | | | | | | | [Bug 3282869]
* | | More generation of error codes ([format], [after], [trace], RE optimizer).dkf2011-04-041-64/+62
| | |
* | | * generic/tclBasic.c (TclNREvalObjEx): fix performance issue, notably ↵mig2011-03-271-0/+3
| | | | | | | | | | | | apparent in tclbench's 'LIST lset foreach'. Many thanks to twylite for patiently researching the issue and explaining it to me: a missing Tcl_ResetObjResult that causes unwanted sharing of the current result Tcl_Obj.
* | | Rewrites to eliminate some isspace() calls.dgp2011-03-161-14/+9
|\ \ \ | |/ /
| * | Rewrites to eliminate isspace() calls.dgp2011-03-161-9/+9
| | |
| * | Fix gcc warnings: variable set but not usedjan.nijtmans2011-03-081-0/+4
| |\ \ | | |/
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-79/+72
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | Turn namespace into an ensemble. Not yet on trunk because of some mysterious ↵dkf2011-03-091-9/+8
| | | | | | | | | | | | failures that need resolving...
* | | mergejan.nijtmans2011-03-081-1/+5
|\ \ \
| * \ \ Fix gcc warnings: variable set but not usedjan.nijtmans2011-03-081-0/+4
| |\ \ \ |/ / / / | | | _
| * | Fix gcc warnings: variable set but not usedjan.nijtmans2011-03-081-0/+4
| | |
* | | * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() callsdgp2011-03-061-2/+2
|\ \ \ | | |/ | |/| | | | | | | | | | * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclCompCmdsSZ.c: * generic/tclParse.c: * generic/tclUtil.c:
| * | * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() callsdgp2011-03-061-2/+2
| |\ \ | | |/ | | | | | | | | | * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclParse.c: * generic/tclUtil.c:
| | * * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() callsdgp2011-03-061-3/+3
| | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c: with TclParseBackslash() where possible. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclUtil.c:
* | | merge trunkdogeen_assembler_branchKevin B Kenny2011-03-051-21/+22
|\ \ \
| * | | Renamed struct TEOV_callback to the more descriptive NRE_callback.Miguel Sofer2011-03-051-12/+12
| | | |
| * | | * generic/tclBasic.c (TclNREvalObjv): missing a variable declaration in ↵Miguel Sofer2011-03-041-7/+10
| | | | | | | | | | | | | | | | commented out non-optimised code, left for ref in checkin [b97b771b6d]
| * | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
| |\ \ \ | | |/ / | | | | cause more harm than good. Purged them (except in zlib files).
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| | |\ \ | | | |/ | | | | more harm than good. Purged them.