Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change back to using an isDigit function. We simply don't need to make any | dkf | 2012-12-23 | 1 | -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 ↵ | ferrieux | 2012-12-22 | 1 | -8/+10 |
| | | | | 3598150] spotted by afredd. | ||||
* | Inline compat Tcl_GetDefaultEncodingDir. | jan.nijtmans | 2012-12-21 | 1 | -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.nijtmans | 2012-12-21 | 1 | -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.nijtmans | 2012-12-21 | 1 | -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 release | dgp | 2012-12-21 | 2 | -4/+4 |
|\ \ \ | |||||
| * \ \ | merge trunk, update changes and re-tagcore_8_6_0core_8_6_0_rc | dgp | 2012-12-14 | 3 | -22/+12 |
| |\ \ \ | |||||
| * \ \ \ | merge trunk | dgp | 2012-12-10 | 2 | -17/+9 |
| |\ \ \ \ | |||||
| * \ \ \ \ | merge trunk | dgp | 2012-12-07 | 5 | -27/+47 |
| |\ \ \ \ \ | |||||
| * \ \ \ \ \ | merge trunk | dgp | 2012-12-04 | 5 | -37/+39 |
| |\ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ | merge trunk | dgp | 2012-11-22 | 3 | -34/+69 |
| |\ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ | merge trunk | dgp | 2012-11-19 | 2 | -39/+49 |
| |\ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ | merge trunk | dgp | 2012-11-16 | 8 | -10/+10 |
| |\ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ | merge trunk: | dgp | 2012-11-15 | 2 | -3/+36 |
| |\ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ | merge trunk | dgp | 2012-11-14 | 3 | -8/+22 |
| |\ \ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ \ | merge trunk | dgp | 2012-11-13 | 2 | -2/+2 |
| |\ \ \ \ \ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | | | | | Declare TclOO portion of the Tcl API to be stable -> TclOO 1.0 | dgp | 2012-11-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | | Create Tcl 8.6.0 release branch | dgp | 2012-11-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | | Better version that can handle simple composite array keys as well. As long as | dkf | 2012-12-18 | 1 | -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 the | dkf | 2012-12-18 | 1 | -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]. | dkf | 2012-12-17 | 1 | -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. | dkf | 2012-12-17 | 1 | -13/+7 |
| | | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | | Simplify the [info object] and [info class] additions. | dgp | 2012-12-13 | 1 | -9/+3 |
| | | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | | TIP 400 suffered from the same segfaulting flaw as 3595576. | dgp | 2012-12-13 | 1 | -16/+3 |
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Segfaulting test and fix committed. | ||||
* | | | | | | | | | | | | | Restore clarity to macro test. | dgp | 2012-12-13 | 1 | -1/+1 |
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | |||||
| * | | | | | | | | | | | | Restore clarity to macro test. | dgp | 2012-12-13 | 1 | -1/+1 |
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | |||||
| | * | | | | | | | | | | | Restore clarity to macro test. | dgp | 2012-12-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | 3595576 Tests/fix for mem corruption: [catch] fails to store options in a var. | dgp | 2012-12-13 | 1 | -1/+0 |
| | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | Fix for [Bug 3595576], found by andrewsh | mig | 2012-12-13 | 1 | -1/+2 |
| | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | Changelog entry, and change macro variable to not conflict with possible ↵ | jan.nijtmans | 2012-12-13 | 1 | -3/+3 |
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | outside variable names | ||||
| * | | | | | | | | | | | | Changelog entry, and change macro variable to not conflict with possible ↵ | jan.nijtmans | 2012-12-13 | 1 | -3/+3 |
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | outside variable names | ||||
| | * | | | | | | | | | | | Changelog entry, and change macro variable to not conflict with possible ↵ | jan.nijtmans | 2012-12-13 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | outside variable names | ||||
* | | | | | | | | | | | | | Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice. | jan.nijtmans | 2012-12-13 | 1 | -5/+7 |
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | / | |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | |||||
| * | | | | | | | | | | | Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice. | jan.nijtmans | 2012-12-13 | 1 | -5/+7 |
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |||||
| | * | | | | | | | | | | Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice. | jan.nijtmans | 2012-12-13 | 1 | -4/+7 |
| | | | | | | | | | | | | |||||
* | | | | | | | | | | | | Restore the initialization of tclStubsPtr from the "Tcl" package clientData | dgp | 2012-12-10 | 1 | -2/+3 |
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | | so that we don't close off a potential avenue of future innovations. | ||||
| * | | | | | | | | | | | Restore the initialization of tclStubsPtr from the "Tcl" package clientData | dgp | 2012-12-10 | 1 | -2/+3 |
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | | | | | | | | | | | | | so that we don't close off a potential avenue of future innovations. | ||||
| | * | | | | | | | | | | Restore the initialization of tclStubsPtr from the "Tcl" package clientData | dgp | 2012-12-10 | 1 | -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 ↵ | ferrieux | 2012-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nonblocking channels. Thanks Miguel for spotting. | ||||
* | | | | | | | | | | | | just lost one MODULE_SCOPE in the merge | jan.nijtmans | 2012-12-07 | 1 | -1/+1 |
| | | | | | | | | | | | | |||||
* | | | | | | | | | | | | only set tclStubsPtr if all version checks pass | jan.nijtmans | 2012-12-07 | 1 | -18/+9 |
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | / | |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |||||
| * | | | | | | | | | | only set tclStubsPtr when all version checks pass | jan.nijtmans | 2012-12-07 | 1 | -32/+18 |
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |||||
| | * | | | | | | | | | only set tclStubsPtr if all version checks pass. Backported from tcl 8.5. | jan.nijtmans | 2012-12-07 | 1 | -43/+62 |
| | | | | | | | | | | | |||||
* | | | | | | | | | | | 3593703 Don't crash on bad input to Tcl_PkgRequire*(). | dgp | 2012-12-07 | 1 | -0/+4 |
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | |||||
| * | | | | | | | | | | 3593703 Don't crash on bad input to Tcl_PkgRequire*(). | dgp | 2012-12-07 | 1 | -0/+4 |
| | | | | | | | | | | | |||||
* | | | | | | | | | | | Tcl_InitStubs("8.5",1) would succeed in an "8.50" interp. Fixed. | dgp | 2012-12-06 | 1 | -1/+1 |
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | |||||
| * | | | | | | | | | | Tcl_InitStubs("8.5",1) would succeed in an "8.50" interp. Fixed. | dgp | 2012-12-06 | 1 | -1/+1 |
| | | | | | | | | | | | |||||
* | | | | | | | | | | | Fix gcc warning in cygwin build: implicitely declared function ↵ | jan.nijtmans | 2012-12-05 | 3 | -26/+42 |
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclUnixOpenTemporaryFile. Move the function to slot 30, and define it (as 0) for win32 as well. | ||||
* | | | | | | | | | | MODULE_SCOPE symbol names are suppoted to start with 'tcl' (data) or 'Tcl' ↵ | jan.nijtmans | 2012-12-04 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (code) | ||||
* | | | | | | | | | | 3588687 When detecting incompatibility during stubs initialization, the error | dgp | 2012-11-29 | 1 | -3/+1 |
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | message has always assumed a stubs-disabled 8.0 interp to be the cause. That's no longer a good assumption. More suitable error message committed. |