summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement Tcl_SaveResult/Tcl_DiscardResult/Tcl_RestoreResult as macronovem_saveresult_as_macrojan.nijtmans2012-12-295-139/+45
|
* fix tm.tcl to include tcl8 locations, and fix corresponding test-casesjan.nijtmans2012-12-292-1/+5
|
* merge trunkjan.nijtmans2012-12-291-0/+4
|\
| * 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
| | |/
* | | merge trunkjan.nijtmans2012-12-277-19/+25
|\ \ \ | |/ /
| * | [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.
* | | | remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-12-2152-105/+105
|\ \ \ \ | | | | | | | | | | | | | | | for the compiler.
| * \ \ \ unnecessary hook struct definitionsjn_no_struct_namesjan.nijtmans2012-08-2113-38/+37
| |\ \ \ \
| * | | | | remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-08-2055-110/+110
| | | | | | | | | | | | | | | | | | | | | | | | for te compiler.
* | | | | | merge trunkjan.nijtmans2012-12-2114-90/+158
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | 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
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 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
| | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | merge trunkdkf2012-11-19116-3718/+1977
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge trunk: INST_TAILCALL has bugdkf2012-11-052-2/+8
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge trunkdkf2012-11-0512-29/+104
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
* | | | | | | | | | | | | | | | | | | | | | | | remove deprecated functions Tcl_VarEval and Tcl_VarEvalVAjan.nijtmans2012-12-178-127/+30
| | | | | | | | | | | | | | | | | | | | | | | |