summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | 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.
* | | | | Contribution by Patrick Fradin <patrick.fradin@planar.com>andreask2013-01-22181-5211/+5197
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting his mail: <pre> ========================================================== Hi Jeff, I spent some of my time to contribute to the TclTk community ! I'm in late for Christmas gift but like we said in French : "Mieux vaut tard que jamais". ;-) I've use TclDevKit 5.3.0 tclchecker to analyse TclTk code in Tcl and Tk library directories (library, tools and tests) to correct a lot of warnings and few errors. (encapsulate some expr, use 'chan xxx' instead of fconfigure, fileevent...) I've made some improvements too : Examples : - Use 'lassign' instead of many 'lindex' of 'foreach/break' loop. - Use 'in' or 'ni' operators instead of 'lsearch -exact' or to factorise some eq/ne && / || tests. - Use 'eq' or 'ne' to tests strings instead of '==' or '!='. - Use 'unset -nocomplain' to avoid 'catch {unset...}'. - Remove some useless catch around 'destroy' calls. - Use expand {*} instead of 'eval'. Don't touch a lot of code because I don't know all structs and lists. I think it could be a greater improvement to reduce 'eval' calls. Due to previous experience, I dot not change any indentation ! ;-) ========================================================== </pre>
* | | | 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
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge trunkdgp2012-11-0843-524/+535
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Declare TclOO portion of the Tcl API to be stable -> TclOO 1.0dgp2012-11-085-5/+5
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Create Tcl 8.6.0 release branchdgp2012-11-088-10/+10
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Improved the sequence of instructions issued for [subst] when dealing withdkf2012-12-182-6/+39
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | simple variable references.
| * | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | | | | | | | | merge trunkdkf2012-12-1834-239/+473
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | 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
| | | | | | | | | | | | | | | | | |