summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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-271-4/+5
|\ \ | |/
| * [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too earlyjan.nijtmans2012-12-271-4/+5
| |\
| | * [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early jan.nijtmans2012-12-271-2/+4
| | | | | | | | | | | | | | | Tests!? Where are the tests!?! They are in test listobj-11.1
* | | 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-221-8/+10
| | | | | | | | | | | | 3598150] spotted by afredd.
* | | Inline compat Tcl_GetDefaultEncodingDir. jan.nijtmans2012-12-211-24/+9
|\ \ \ | |/ / | | | 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-211-24/+9
| |\ \ | | |/ | | | 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-211-24/+9
| | | | | | | | | | | | | | | 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-212-4/+4
|\ \ \
| * \ \ merge trunk, update changes and re-tagcore_8_6_0core_8_6_0_rcdgp2012-12-143-22/+12
| |\ \ \
| * \ \ \ merge trunkdgp2012-12-102-17/+9
| |\ \ \ \
| * \ \ \ \ merge trunkdgp2012-12-075-27/+47
| |\ \ \ \ \
| * \ \ \ \ \ merge trunkdgp2012-12-045-37/+39
| |\ \ \ \ \ \
| * \ \ \ \ \ \ merge trunkdgp2012-11-223-34/+69
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ merge trunkdgp2012-11-192-39/+49
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ merge trunkdgp2012-11-168-10/+10
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ merge trunk:dgp2012-11-152-3/+36
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ merge trunkdgp2012-11-143-8/+22
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ merge trunkdgp2012-11-132-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Declare TclOO portion of the Tcl API to be stable -> TclOO 1.0dgp2012-11-081-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Create Tcl 8.6.0 release branchdgp2012-11-081-3/+3
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Better version that can handle simple composite array keys as well. As long asdkf2012-12-181-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | they are free of command substitutions, we can still safely omit the exception processor code.
* | | | | | | | | | | | | | Generate better code for the common case of subst-ed variables where thedkf2012-12-181-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variable is a simple scalar or an array with a simple literal element name.
* | | | | | | | | | | | | | Simpler code to do installation of [info class] and [info object].dkf2012-12-171-19/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | We know this is a safe thing to do as we know this is inside Tcl_CreateInterp() and so no confounding code could have been run.
| * | | | | | | | | | | | | Slim down the code a bit more; we can make more safe assumptions.dkf2012-12-171-13/+7
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Simplify the [info object] and [info class] additions.dgp2012-12-131-9/+3
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | TIP 400 suffered from the same segfaulting flaw as 3595576.dgp2012-12-131-16/+3
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | Segfaulting test and fix committed.
* | | | | | | | | | | | | Restore clarity to macro test.dgp2012-12-131-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Restore clarity to macro test.dgp2012-12-131-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | |
| | * | | | | | | | | | | Restore clarity to macro test.dgp2012-12-131-1/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | 3595576 Tests/fix for mem corruption: [catch] fails to store options in a var.dgp2012-12-131-1/+0
| | | | | | | | | | | | |
* | | | | | | | | | | | | Fix for [Bug 3595576], found by andrewshmig2012-12-131-1/+2
| | | | | | | | | | | | |
* | | | | | | | | | | | | Changelog entry, and change macro variable to not conflict with possible ↵jan.nijtmans2012-12-131-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | outside variable names
| * | | | | | | | | | | | Changelog entry, and change macro variable to not conflict with possible ↵jan.nijtmans2012-12-131-3/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | outside variable names
| | * | | | | | | | | | | Changelog entry, and change macro variable to not conflict with possible ↵jan.nijtmans2012-12-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | outside variable names
* | | | | | | | | | | | | Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice.jan.nijtmans2012-12-131-5/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | / | |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |
| * | | | | | | | | | | Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice.jan.nijtmans2012-12-131-5/+7
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / /
| | * | | | | | | | | | Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice.jan.nijtmans2012-12-131-4/+7
| | | | | | | | | | | |
* | | | | | | | | | | | Restore the initialization of tclStubsPtr from the "Tcl" package clientDatadgp2012-12-101-2/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | so that we don't close off a potential avenue of future innovations.
| * | | | | | | | | | | Restore the initialization of tclStubsPtr from the "Tcl" package clientDatadgp2012-12-101-2/+3
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | | | | | | | | | | | | so that we don't close off a potential avenue of future innovations.
| | * | | | | | | | | | Restore the initialization of tclStubsPtr from the "Tcl" package clientDatadgp2012-12-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that we don't close off a potential avenue of future innovations.
* | | | | | | | | | | | Fix busyloop at exit under TCL_FINALIZE_ON_EXIT when there are unflushed ↵ferrieux2012-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nonblocking channels. Thanks Miguel for spotting.
* | | | | | | | | | | | just lost one MODULE_SCOPE in the mergejan.nijtmans2012-12-071-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | only set tclStubsPtr if all version checks passjan.nijtmans2012-12-071-18/+9
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | / | |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
| * | | | | | | | | | only set tclStubsPtr when all version checks passjan.nijtmans2012-12-071-32/+18
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / /
| | * | | | | | | | | only set tclStubsPtr if all version checks pass. Backported from tcl 8.5.jan.nijtmans2012-12-071-43/+62
| | | | | | | | | | |