summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversionsjan.nijtmans2013-02-118-26/+26
|
* Merge trunk. jan.nijtmans2013-02-1112-104/+103
|\ | | | | Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications
| * Fix [Bug 3603553].dkf2013-02-111-1/+1
| |\
| | * [Bug 3603553]: Ensure that data gets written to the underlying stream bydkf2013-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | compressing transforms when the amount of data to be written is one buffer's-worth; problem was particularly likely to occur when compressing large quantities of not-very-compressible data. Many thanks to Piera Poggio (vampiera) for reporting.
| * | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-106-6/+0
| |\ \ | | |/ | |/|
| | * Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-106-16/+0
| | |
| * | Apply a fix for the bug. Passes the test suite now.bug_3603695dkf2013-02-091-28/+27
| | |
* | | Merge trunk. jan.nijtmans2013-02-0811-395/+89
|\ \ \ | |/ / | | | | | | Eliminate all usage of internal macros: TclNewIntObj, TclNewBooleanObj, TclSetIntObj, TclSetBooleanObj. Change various function to macros: Tcl_NewIntObj, Tcl_SetIntObj, Tcl_NewBooleanObj, Tcl_DbNewBooleanObj, Tcl_SetBooleanObj, Tcl_AddErrorInfo, Tcl_AddObjErrorInfo.
| * | [3603557]: Increase the maximum depth of recursion used when duplicating andkf2013-02-081-1/+3
| | | | | | | | | | | | | | | automaton in response to encountering a "wild" RE that hit the previous limit. Allow the limit (DUPTRAVERSE_MAX_DEPTH) to be set by defining its value in the Makefile. Problem reported by Jonathan Mills.
* | | put braces around all macro parametersjan.nijtmans2013-02-071-2/+2
| | |
* | | merge trunkjan.nijtmans2013-02-073-17/+17
|\ \ \ | |/ /
| * | Tcl_InvalidateStringRep -> TclInvalidateStringRepjan.nijtmans2013-02-073-17/+17
| |\ \ | | |/
| | * Tcl_InvalidateStringRep -> TclInvalidateStringRepjan.nijtmans2013-02-075-23/+23
| | |
* | | merge trunkjan.nijtmans2013-02-071-0/+33
|\ \ \ | |/ /
| * | [3433012]: Added dummy version of TclpLoadMemory to use in the event that adkf2013-02-051-0/+33
| |\ \ | | |/ | | | | | | platform thinks it can load from memory but cannot actually do so due to it being disabled at configuration time.
| | * [Bug 3433012]: Added dummy version of TclpLoadMemory to use in the event that adkf2013-02-051-0/+33
| | | | | | | | | | | | platform thinks it can load from memory but cannot actually do so due to it being disabled at configuration time.
* | | merge trunkjan.nijtmans2013-02-042-45/+54
|\ \ \ | |/ /
| * | Merge in fix for 3602706dgp2013-02-041-27/+31
| |\ \ | | |/
| | * Cherrypick again. Add test.bug_3602706dgp2013-02-041-6/+0
| | |
| | * Cherrypick the refcount fixes and comments from mig-review.dgp2013-02-041-2/+28
| | | | | | | | | | | | | | | | | | I also find the revised "createPart2" values in *Lookup* calls appealing, but I'm too fearful of breaking things without understanding the implications. This approach just focuses on fixing the things I broke, without trying to "fix" things long "broken" in multiple years of releases.
| * | [3603163]: Stop crash in weird case where [eval] is used to make [array set]dkf2013-02-041-18/+23
| |\ \ | | | | | | | | | | | | get confused about whether there is a local variable table or not. Thanks to Poor Yorick for identifying a reproducible crashing case.
| | * | [3603163]: Prevent odd crashes in 'eval {array set ...}'dkf2013-02-041-18/+23
| | | |
* | | | merge trunkjan.nijtmans2013-02-048-20/+19
|\ \ \ \ | |/ / /
| * | | Eliminate all Tcl_ConvertToType calls and all direct calls to ↵jan.nijtmans2013-02-048-20/+19
| | | | | | | | | | | | | | | | typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core.
* | | | merge trunkjan.nijtmans2013-02-0322-121/+118
|\ \ \ \ | |/ / /
| * | | More symmetric Tcl_(Incr|Decr)RefCount call, preventing bugs like #3601260 ↵jan.nijtmans2013-02-031-2/+9
| |\ \ \ | | |/ / | |/| | | | | | and #3602706
| | * | re-apply [8aca9a8e96], while backporting [d91c86d0da] from trunk.jan.nijtmans2013-02-031-55/+98
| | |\ \ | | | |/ | | | | This fixes bugs #3601260 and #3602706
| | * | Fix bug #3601260 and #3602706 by reverting [8aca9a8e96]. This gives time to ↵jan.nijtmans2013-01-311-54/+57
| | |\ \ | | | |/ | | |/| | | | | investigate the issue without too many people being hindered by that.
| | | * merge core-8-5-branchbug_3601260jan.nijtmans2013-01-243-9/+12
| | | |\
| | | * | Bug 3601260: Reverting [8aca9a8e96] fixes it.jan.nijtmans2013-01-171-54/+57
| | | | |
| * | | | merge core-8-5-branchjan.nijtmans2013-01-3121-120/+110
| |\ \ \ \ | | |/ / /
| | * | | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵jan.nijtmans2013-01-3118-106/+98
| | | | | | | | | | | | | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes.
* | | | | merge trunkjan.nijtmans2013-01-293-54/+67
|\ \ \ \ \ | |/ / / /
| * | | | More extensive use of the techniques to improve other edge cases in ensemble ↵dkf2013-01-282-46/+42
| | | | | | | | | | | | | | | | | | | | compilation.
| * | | | Slightly better compilation of some [array] cases.dkf2013-01-281-5/+25
| | | | |
| * | | | remove unused codemig2013-01-251-3/+0
| | | | |
* | | | | merge trunkjan.nijtmans2013-01-251-0/+1
|\ \ \ \ \ | |/ / / /
| * | | | Another memory leak, and one Tcl_Free -> ckfreejan.nijtmans2013-01-251-0/+1
| | | | |
* | | | | merge trunkjan.nijtmans2013-01-259-38/+36
|\ \ \ \ \ | |/ / / / | | | | | Add -Wwrite-strings to compiler options, so we can guarantee correct "const" usage.
| * | | | fix minor memory leakjan.nijtmans2013-01-251-1/+0
| | | | |
| * | | | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfojan.nijtmans2013-01-258-14/+13
| | | | | | | | | | | | | | | Fix "make test-packages" on cygwin
* | | | | Merge trunkjan.nijtmans2013-01-254-12/+20
|\ \ \ \ \ | |/ / / / | | | | | Rename TclInitStubs back to Tcl_InitStubs, for easier compatibility with Tcl 8.
| * | | | Silence some compiler warnings.dgp2013-01-242-1/+4
| |\ \ \ \ | | |/ / /
| | * | | Silence come compiler warnings.dgp2013-01-242-7/+11
| | |\ \ \ | | | |_|/ | | |/| |
| | | * | Silence some compiler warnings.dgp2013-01-243-0/+11
| | | | |
* | | | | Convert Tcl_GetIndexFromObj implementation to macrojan.nijtmans2013-01-2425-218/+161
|\ \ \ \ \ | |/ / / /
| * | | | Simplify STRING_AT macro.jan.nijtmans2013-01-241-5/+9
| |\ \ \ \ | | |/ / / | | | | | Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that.
| | * | | Simplify STRING_AT macro.jan.nijtmans2013-01-241-5/+9
| | |\ \ \ | | | |/ / | | | | | Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that.
| | | * | Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or ↵jan.nijtmans2013-01-231-1/+5
| | | | | | | | | | | | | | | | | | | | -1. Undocumented, because I don't want to promote people start using that.
| * | | | Put back Tcl[GS]etStartupScript(Path|FileName) in private stub table, so ↵jan.nijtmans2013-01-213-32/+69
| | | | | | | | | | | | | | | | | | | | | | | | | extensions using this (like Tk 8.4) will continue to work in all Tcl 8.x versions. Extensions using this still cannot be compiled against Tcl 8.6 headers.