summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add super-simple compiler to many ensemble subcommands to allow better codedkf2013-01-0412-156/+532
| | | | | 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.
* merge trunkdkf2013-01-038-17/+49
|\
| * Added mechanism for pre-parsing built-in ensembles even when they are not goingdkf2013-01-038-98/+333
| |\ | |/ |/| to generate specific code. This provides a good speedup in some cases.
* | Got the test suite passing cleanly. Excellent.dkf2013-01-031-35/+60
| |
* | merge trunkdkf2013-01-029-32/+56
|\ \
* | | All tests pass except one; not sure what's wrong there.dkf2013-01-024-96/+118
| | |
* | | Passing more tests.dkf2013-01-023-51/+94
| | |
* | | Working towards more efficient treatment of non-bytecoded ensemble subcommands.dkf2012-12-314-6/+141
| | |
* | | merge trunkdkf2012-12-234-54/+40
|\ \ \
* \ \ \ merge releasedkf2012-12-2218-33/+107
|\ \ \ \
| | | | * test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵jan.nijtmans2013-01-032-0/+15
| | | | |\ | | | | | | | | | | | | | | | | | | too early
| | | | | * test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵jan.nijtmans2013-01-032-0/+15
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | too early
| | | | | | * test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵jan.nijtmans2013-01-032-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | too early
| | | | * | | no changes, sync with core-8-5-branch to signal the backported fixmig2013-01-020-0/+0
| | | | |\ \ \ | | | | | |/ /
| | | | | * | remove stray calls to Tcl_Alloc and friends: the core should only use ↵mig2013-01-023-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ckalloc to allow MEM_DEBUG to work properly
| | | | * | | remove stray calls to Tcl_Alloc and friends: the core should only use ↵mig2013-01-026-11/+18
| | | |/ / / | | | | | | | | | | | | | | | | | | ckalloc to allow MEM_DEBUG to work properly
| | | * | | test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. jan.nijtmans2013-01-022-1/+7
| | | |\ \ \ | | | | |/ / | | | | | | Don't free ctrl.script if thread creation fails: it is a constant string "testthread wait" normally.
| | | | * | test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. jan.nijtmans2013-01-024-22/+39
| | | | |\ \ | | | | | |/ | | | | | | | | | | | | Marked some string subcommands as obsolete, following discussion on tcl-core. Don't free ctrl.script if thread creation fails: it is a constant string "testthread wait" normally.
| | | | | * Don't free ctrl.script if thread creation fails: it is a constant string ↵jan.nijtmans2013-01-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | "testthread wait" normally.
| | | | | * Marked some string subcommands as obsolete, following discussion on tcl-core.jan.nijtmans2013-01-022-29/+40
| | | | | |
| | | | | * test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as welljan.nijtmans2013-01-021-0/+7
| | | | | |
| | | * | | Marked some string subcommands as obsolete, following discussion on tcl-core.dkf2012-12-312-20/+31
| | | | | |
| | | * | | restore refcounts as they were before the Tcl_ListObjReplace call, in the ↵jan.nijtmans2012-12-291-0/+8
| | | |\ \ \ | | | | |/ / | | | | | | | | | | | | | | | | | | error situation. In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0
| | | | * | restore refcounts as they were before the Tcl_ListObjReplace call, in the ↵jan.nijtmans2012-12-291-0/+8
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | error situation. In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0
| | | | | * | For Tcl9, do a real Tcl_DecrRefCountbug_3598580jan.nijtmans2012-12-291-0/+4
| | | | | | |
| | | | | * | restore old refcounts in TCL_ERROR case.jan.nijtmans2012-12-271-0/+3
| | | | |/ /
| | | * | | [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too earlyjan.nijtmans2012-12-272-4/+10
| | | |\ \ \ | | | | |/ /
| | | | * | [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too earlyjan.nijtmans2012-12-272-4/+10
| | | | |\ \ | | | | | |/
| | | | | * [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early jan.nijtmans2012-12-272-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests!? Where are the tests!?! They are in test listobj-11.1
| | | * | | eliminate dependancy of compat/*.h on tcl.hjan.nijtmans2012-12-264-7/+0
| | | |\ \ \ | | |/ / / / | | | | _ / | | | | /
| | | * | eliminate dependancy of compat/*.h on tcl.hjan.nijtmans2012-12-265-151/+115
| | | | |
| | * | | Change back to using an isDigit function. We simply don't need to make any dkf2012-12-231-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (formally non-portable) assumptions about what happens when an unsigned zero is decremented, and the code isn't in a performance-critical area. Remark by jan.nijtmans: The macro is perfectly portable! Not portable is the exact result of the substraction ('\xB0' - '0' might give 0x80 on some platforms and 0xffffff80 on others), but comparing <= 9 always gives the correct result. We are only checking for digits here! The macro correctly inlines with any compiler, so it's better anyway. Remark by dkf: But it's less clear. In this code, that's more important than a teeny bit of speed from inlining in a non-critical location.
| | * | | Stop leaking allocated space when objifying a zero-length DString. [Bug ↵ferrieux2012-12-222-8/+15
| | | | | | | | | | | | | | | | | | | | 3598150] spotted by afredd.
| | * | | Inline compat Tcl_GetDefaultEncodingDir. jan.nijtmans2012-12-213-52/+28
| | |\ \ \ | |/ / / / | | | _ / | | | / Eliminate unnecessary static HasStubSupport() and isDigit() functions, just do the same inline.
| | * | Make pkgb.so loadable in Tcl 8.4 as well. jan.nijtmans2012-12-213-30/+27
| | |\ \ | | | |/ | | | | Eliminate unnessarcy static HasStubSupport() and isDigit() functions, just do the same inline.
| | | * Turn pkgb.so into a Tcl9 interoperability test library: Whatever Tcl9 looks ↵jan.nijtmans2012-12-213-59/+58
| | | | | | | | | | | | | | | | | | | | like, loading pkgb.so in Tcl 9 should either result in an error-message, either succeed, but never crash. Eliminate unnessarcy static HasStubSupport() and isDigit() functions, just do the same inline.
| * | | merge releasedgp2012-12-2118-30/+99
| |\ \ \
| | * \ \ merge trunk, update changes and re-tagcore_8_6_0core_8_6_0_rcdgp2012-12-147-23/+59
| | |\ \ \
| | * | | | Prefer to extract package data from the *contents* not the directory name.dgp2012-12-123-11/+51
| | | | | |
| | * | | | Tag 8.6.0 for releasedgp2012-12-114-18/+86
| | |\ \ \ \
| | * \ \ \ \ merge trunkdgp2012-12-105-20/+35
| | |\ \ \ \ \
| | * \ \ \ \ \ merge trunkdgp2012-12-079-36/+90
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ merge trunkdgp2012-12-0413-101/+137
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ merge trunkdgp2012-11-261-1/+1
| | |\ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ merge trunkdgp2012-11-227-38/+126
| | |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ merge trunkdgp2012-11-193-39/+59
| | |\ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ merge trunkdgp2012-11-1621-32/+33
| | |\ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ merge trunk:dgp2012-11-158-31/+125
| | |\ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ merge trunkdgp2012-11-147-49/+95
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ merge trunkdgp2012-11-139-12/+153
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \