Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Working towards better handling of stack balance with break and continue ↵ | dkf | 2013-10-08 | 1 | -3/+1 |
| | | | | exceptions. | ||||
* | more disabled code removal | dgp | 2013-07-24 | 1 | -46/+0 |
| | |||||
* | Factor out the call to a compileProc into one place used by both ensemble | dgp | 2013-07-17 | 1 | -7/+21 |
| | | | subcommand compiles and toplevel command compiles in TclCompileScript. | ||||
* | Simplify the ensemble subcommand compile. There's no need to be | dgp | 2013-07-16 | 1 | -55/+15 |
| | | | crafting synthetic Tcl_Parse and copying tokens. Some pointer shifts will do. | ||||
* | Simplify arguments to TclContinuationsEnterDerived(). | dgp | 2013-07-16 | 1 | -6/+8 |
| | |||||
* | Build CompileBasicNArgCommand on top of TclCompileInvocation. | dgp | 2013-07-15 | 1 | -0/+10 |
| | |||||
* | Have TclMakeEnsemble() set ENSEMBLE_COMPILE at creation, not as a separate | dgp | 2013-07-11 | 1 | -8/+8 |
| | | | epoch-bumping step. | ||||
* | Revert the revised macros used in developing the new tests.tip280_test_coverage | dgp | 2013-07-11 | 1 | -2/+2 |
| | |||||
* | Add tests for the SetLineInformation() calls in tclEnsemble.c, and fix | dgp | 2013-07-11 | 1 | -6/+3 |
| | | | the bugs around those calls exposed by the tests. | ||||
* | merge trunk | dgp | 2013-07-10 | 1 | -0/+16 |
|\ | |||||
| * | Fix for [86fb5ea28e]. Test will eventually merge in from tip280-test-coverage. | dgp | 2013-07-10 | 1 | -0/+16 |
| | | |||||
* | | First additional test. Remove dup macros in tclEnsemble.c. | dgp | 2013-07-10 | 1 | -10/+0 |
|/ | |||||
* | New internal routine TclFetchLiteral() for better CompileEnv encapsulation. | dgp | 2013-03-05 | 1 | -3/+3 |
| | |||||
* | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -7/+7 |
| | |||||
* | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfo | jan.nijtmans | 2013-01-25 | 1 | -1/+1 |
| | | | Fix "make test-packages" on cygwin | ||||
* | merge trunk | dkf | 2013-01-11 | 1 | -2/+2 |
|\ | |||||
| * | Name functions according to 'what' instead of 'how' in the [tailcall] | mig | 2013-01-11 | 1 | -2/+2 |
| | | | | | | machinery, in view of making public some parts of it. | ||||
* | | First attempt at fixing problems caused by [array set] inside [namespace eval], | dkf | 2013-01-11 | 1 | -0/+14 |
|/ | | | | | which caused partial bytecode generation followed by a reject which triggered the issuing of generic ensemble code with an extra push of the variable name at the start (which got the stack depth wrong). | ||||
* | tailcall now running in a simpler model, with no eval-flags and no nre-stack ↵ | mig | 2013-01-10 | 1 | -2/+2 |
| | | | | rewriting; yieldto also requires one fewer bounce. Mostly from mig-nre-mods | ||||
* | Fix bad memory access problems found by Miguel Sofer when valgrinding. | dkf | 2013-01-04 | 1 | -4/+9 |
| | |||||
* | Add super-simple compiler to many ensemble subcommands to allow better code | dkf | 2013-01-04 | 1 | -0/+336 |
| | | | | | generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job. | ||||
* | Added mechanism for pre-parsing built-in ensembles even when they are not going | dkf | 2013-01-03 | 1 | -56/+235 |
|\ | | | | | to generate specific code. This provides a good speedup in some cases. | ||||
| * | Got the test suite passing cleanly. Excellent. | dkf | 2013-01-03 | 1 | -35/+60 |
| | | |||||
| * | All tests pass except one; not sure what's wrong there. | dkf | 2013-01-02 | 1 | -55/+99 |
| | | |||||
| * | Passing more tests. | dkf | 2013-01-02 | 1 | -41/+78 |
| | | |||||
| * | Working towards more efficient treatment of non-bytecoded ensemble subcommands. | dkf | 2012-12-31 | 1 | -5/+76 |
| | | |||||
* | | remove stray calls to Tcl_Alloc and friends: the core should only use ↵ | mig | 2013-01-02 | 1 | -1/+1 |
|/ | | | | ckalloc to allow MEM_DEBUG to work properly | ||||
* | converting to using Tcl_Obj API for error message generation; part done | dkf | 2012-08-03 | 1 | -61/+106 |
| | |||||
* | Factor out a number of common patterns of use of Tcl_DStringAppend. | dkf | 2012-07-03 | 1 | -8/+8 |
| | |||||
* | Remove some low-value C stack frames. | dkf | 2012-04-15 | 1 | -1/+1 |
| | |||||
* | Reduce amount of unreachable code. Refactor Win socket and load code to be less | dkf | 2012-04-05 | 1 | -6/+0 |
| | | | baroque in its internals. | ||||
* | Honor per-namespace compile suppression in ensemble subcommands. | dgp | 2012-02-06 | 1 | -0/+1 |
| | |||||
* | 3485022 Disable ensemble subcommand compile inside a Tcl_Create*Trace(). | dgp | 2012-02-06 | 1 | -1/+2 |
| | |||||
* | 3485022 TclCompileEnsemble() avoid compile when exec traces set. | dgp | 2012-02-06 | 1 | -1/+2 |
| | |||||
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -12/+10 |
| | | | 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 ↵ | dkf | 2011-03-09 | 1 | -18/+18 |
| | | | | failures that need resolving... | ||||
* | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 |
| | | | cause more harm than good. Purged them (except in zlib files). | ||||
* | Various mismatches between Tcl_Panic format string and its arguments, | nijtmans | 2011-01-18 | 1 | -2/+2 |
| | | | | discovered thanks to [Bug 3159920] | ||||
* | * generic/tclCmdAH.c (TclInitFileCmd, TclMakeFileCommandSafe, ...): | dkf | 2010-12-09 | 1 | -6/+37 |
| | | | | | | | | | | | | | | | | | | Break up [file] into an ensemble. Note that the ensemble is safe in itself, but the majority of its subcommands are not. * generic/tclFCmd.c (FileCopyRename,TclFileDeleteCmd,TclFileAttrsCmd) (TclFileMakeDirsCmd): Adjust these subcommand implementations to work inside an ensemble. (TclFileLinkCmd, TclFileReadLinkCmd, TclFileTemporaryCmd): Move these subcommand implementations from tclCmdAH.c, where they didn't really belong. * generic/tclIOCmd.c (TclChannelNamesCmd): Move to more appropriate source file. * generic/tclEnsemble.c (TclMakeEnsemble): Start of code to make partially-safe ensembles. Currently does not function as expected due to various shortcomings in how safe interpreters are constructed. * tests/cmdAH.test, tests/fCmd.test, tests/interp.test: Test updates to take into account systematization of error messages. | ||||
* | Code Audit results: | dkf | 2010-03-05 | 1 | -14/+14 |
| | | | | | | | | * 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 | ||||
* | Pure whitespace changes, changing to follow Engineering Manual style. | dkf | 2010-02-24 | 1 | -3/+3 |
| | |||||
* | reverted earlier rename from tcl*Stubs to | nijtmans | 2010-02-15 | 1 | -2/+2 |
| | | | | | | | | 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] | ||||
* | Reduce code nesting in [namespace ensemble] implementation. | dkf | 2010-02-14 | 1 | -139/+116 |
| | |||||
* | Hive off the ensemble code into its own file. | dkf | 2010-02-13 | 1 | -0/+2965 |
Split the [switch] compiler for sanity's sake. |