Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CONSTify various useful internal functions | nijtmans | 2010-05-03 | 1 | -3/+2 |
| | | | | | (TclBignumToDouble, TclCeil, TclFloor), and related tommath functions. | ||||
* | Fix the problems I introduced inadvertently: | dkf | 2010-04-30 | 1 | -13/+23 |
| | | | | | | * generic/tclBasic.c (NRInterpCoroutine): Corrected handling of * tests/coroutine.test (coroutine-6.4): arguments to deal with trickier cases. | ||||
* | * generic/tclBasic.c (TclNRYieldObjCmd, TclNRYieldmObjCmd) | dkf | 2010-04-30 | 1 | -16/+33 |
| | | | | | | (NRInterpCoroutine): Replace magic values for formal argument counts for coroutine command implementations with #defines, for an increase in readability. | ||||
* | If tclInt.h or tclPort.h is already | nijtmans | 2010-04-27 | 1 | -4/+2 |
| | | | | | | | included, don't include <limits.h> again. Follow-up to [Bug 2991415]: tclport.h #included before limits.h See comments in [Bug 2991415] | ||||
* | * generic/tclBasic.c: add unsupported [yieldm] command. | Miguel Sofer | 2010-04-25 | 1 | -23/+43 |
| | | | | * generic/tclInt.h: | ||||
* | * generic/tclBasic.test: modify api of TclSpliceTailcall() | Miguel Sofer | 2010-04-24 | 1 | -7/+7 |
| | | | | | | * generic/tclExecute.c: to fix yieldTo, which had not survived * generic/tclInt.h: the latest mods to tailcall. Thanks kbk for detecting the problem. | ||||
* | TIP #348 IMPLEMENTATION - Substituted error stack | ferrieux | 2010-04-05 | 1 | -1/+14 |
| | |||||
* | Compile the [throw] command. | dkf | 2010-03-19 | 1 | -2/+2 |
| | |||||
* | Code Audit results: | dkf | 2010-03-05 | 1 | -70/+74 |
| | | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations | ||||
* | More tidying up (whitespace, spelling, useless parentheses, useless casts) | dkf | 2010-02-24 | 1 | -9/+9 |
| | |||||
* | Follow-up to Fix [Bug 2954959] expr abs(0.0) is -0.0 | nijtmans | 2010-02-21 | 1 | -19/+34 |
| | | | | | | Some more tests, showing that the LONG implementation was not quite correct too, and a fix for that. Some more internal "const" additions | ||||
* | Fix [Bug 2954959] expr abs(0.0) is -0.0 | nijtmans | 2010-02-21 | 1 | -3/+7 |
| | | | | and added test cases for it. | ||||
* | reverted earlier rename from tcl*Stubs to | nijtmans | 2010-02-15 | 1 | -4/+4 |
| | | | | | | | | tcl*ConstStubs, it's not necessary at all. tclEnsemble.c: Fix signed-unsigned mismatch make tclWinProcs "const" Add first part of mslu support, See [Feature Request #2819611] | ||||
* | Compilation of [try] now enabled! | dkf | 2010-02-09 | 1 | -2/+2 |
| | |||||
* | Added basic compilation of [error] (the most common case only). | dkf | 2010-02-05 | 1 | -2/+2 |
| | |||||
* | Follow-up to earlier commit today: | nijtmans | 2010-02-05 | 1 | -4/+4 |
| | | | | | | Eliminate the need for an extra Stubs Pointer for adressing a static stub table: Just change the exported table from static to MODULE_SCOPE. | ||||
* | Turned the [array] command into a true ensemble. Test changes indicate some | dkf | 2010-02-02 | 1 | -5/+5 |
| | | | | alteration to error messages, otherwise no change. | ||||
* | Make the [unset] command be bytecode compiled. | dkf | 2010-01-30 | 1 | -2/+2 |
| | |||||
* | * generic/tclBasic.c: Fix lerak of coroutines on namespace | Miguel Sofer | 2010-01-03 | 1 | -3/+2 |
| | | | | | | | * generic/tclCompile.h: deletion, [Bug 2724403]. Added a test * generic/tclNamesp.c: for this leak, and also a test for * tests/coroutine.test: leaks on namespace deletion. * tests/namespace.test: | ||||
* | Move declarations to the top of the file, add boilerplate comments to some | dkf | 2009-12-24 | 1 | -190/+203 |
| | | | | functions | ||||
* | * generic/tclBasic.c: Fix for bad cmd resolution by coroutines | Miguel Sofer | 2009-12-19 | 1 | -1/+2 |
| | | | | | * tests/coroutine.test: [Bug #2917627]. Thanks to schelte for finding it. | ||||
* | fix comment | Miguel Sofer | 2009-12-13 | 1 | -7/+5 |
| | |||||
* | remove accidentally committed c++ style temp comments | Miguel Sofer | 2009-12-13 | 1 | -3/+1 |
| | |||||
* | * generic/tclBasic.c: Release TclPopCallFrame() from its | Miguel Sofer | 2009-12-13 | 1 | -7/+13 |
| | | | | | * generic/tclExecute.c: tailcall-management duties * generic/tclNamesp.c: | ||||
* | * generic/tclBasic.c: Moving TclBCArgumentRelease call | Miguel Sofer | 2009-12-13 | 1 | -11/+1 |
| | | | | | * generic/tclExecute.c: from TclNRTailcallObjCmd to TEBC, so that the pairing of the Enter and Release calls is clearer. | ||||
* | fix comment | Miguel Sofer | 2009-12-11 | 1 | -4/+3 |
| | |||||
* | simplify the coroutine BP-chain monkey-patching; tclBasic does not need to | Miguel Sofer | 2009-12-11 | 1 | -3/+1 |
| | | | | know about bottomPtr, tebc does not need to behave differently on exit for coros | ||||
* | * generic/tclBasic.c: Full nre-enabling of coroutines | Miguel Sofer | 2009-12-10 | 1 | -11/+2 |
| | | | | * generic/tclExecute.c: [Bug 2806407] | ||||
* | * generic/tclBasic.c: small cleanup | Miguel Sofer | 2009-12-10 | 1 | -24/+23 |
| | |||||
* | reorganization and better comments in TclNRCoroutineObjCmd() | Miguel Sofer | 2009-12-10 | 1 | -49/+46 |
| | |||||
* | * generic/tclBasic.c: Reducing the # of moving parts for | Miguel Sofer | 2009-12-10 | 1 | -24/+3 |
| | | | | | * generic/tclExecute.c: coroutines by delegating more to tebc; eliminate the special coroutine CallFrame. | ||||
* | * generic/tclBasic.c: Reducing the # of moving parts for | Miguel Sofer | 2009-12-10 | 1 | -23/+1 |
| | | | | * generic/tclExecute.c: coroutines | ||||
* | remove accidentally committed C++ style comments | Miguel Sofer | 2009-12-09 | 1 | -3/+1 |
| | |||||
* | * generic/tclBasic.c: Insure correct lifetime of varFrame's | Miguel Sofer | 2009-12-09 | 1 | -7/+15 |
| | | | | | | (objc,objv)for coroutines. * generic/tclExecute.c: Code regrouping | ||||
* | Add missing Tcl_SetErrorCode calls. | dkf | 2009-12-09 | 1 | -24/+35 |
| | |||||
* | added comment confessing my puzzlement | Miguel Sofer | 2009-12-08 | 1 | -1/+8 |
| | |||||
* | minor cleanup | Miguel Sofer | 2009-12-08 | 1 | -10/+7 |
| | |||||
* | baby steps towards nre-enabling coroutine first run | Miguel Sofer | 2009-12-08 | 1 | -28/+8 |
| | |||||
* | * generic/tclBasic.c: Partial nre-enabling of coroutines. | Miguel Sofer | 2009-12-08 | 1 | -38/+49 |
| | | | | | | * generic/tclExecute.c: The initial call still requires its * generic/tclInt.h: own instance of tebc, but on resume coros can execute in the caller's tebc. | ||||
* | Small corrections (enforcing ANSI style declarations, etc.) | dkf | 2009-12-08 | 1 | -133/+145 |
| | |||||
* | * generic/tclBasic.c: arrange for [tailcall] to be created with | Miguel Sofer | 2009-12-07 | 1 | -8/+2 |
| | | | | | the other builtins: was being created in a separate call, leftover from pre-tip days. | ||||
* | * generic/tclBasic.c: add ::tcl::unsupported::yieldTo | Miguel Sofer | 2009-12-07 | 1 | -5/+66 |
| | | | | * generic/tclInt.h: [Patch 2910056] | ||||
* | missing declaration | Miguel Sofer | 2009-12-07 | 1 | -1/+2 |
| | |||||
* | factoring TclSpliceTailcall out of TclPopStackFrame | Miguel Sofer | 2009-12-06 | 1 | -1/+52 |
| | |||||
* | * generic/tclBasic.c: Small changes for clarity in tailcall | Miguel Sofer | 2009-12-06 | 1 | -10/+32 |
| | | | | * generic/tclExecute.c: and coroutine code. | ||||
* | * generic/tclBasic.c: Fixed things so that you can tailcall | Miguel Sofer | 2009-12-05 | 1 | -1/+2 |
| | | | | | | | | * generic/tclNamesp.c: properly out of a coroutine. * tests/tailcall.test: * generic/tclInterp.c: Fixed tailcalls for same-interp aliases (no test) | ||||
* | Eliminate various gcc warnings (in -Wextra mode) | nijtmans | 2009-11-18 | 1 | -12/+12 |
| | |||||
* | Revert mistaken commit | dgp | 2009-11-16 | 1 | -7/+1 |
| | |||||
* | (forward port) Fix [Bug 2891556] and improve test to detect similar ↵ | ferrieux | 2009-11-16 | 1 | -1/+7 |
| | | | | manifestations in the future. Add tcltest support for finalization. | ||||
* | * generic/tclBasic.c: Plug another leak in TCL_EVAL_DIRECT | andreas_kupries | 2009-11-10 | 1 | -9/+9 |
| | | | | | evaluation. Forward port from Tcl 8.5 branch, change by Don Porter. |