summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | | 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
| | | |
* | | | Another memory leak, and one Tcl_Free -> ckfreejan.nijtmans2013-01-251-0/+1
| | | |
* | | | 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
* | | | 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
| | | |
* | | | 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.
* | | | fix Bug 3598300 on MacOSX toojan.nijtmans2013-01-192-5/+2
|\ \ \ \ | |/ / /
| * | | fix Bug 3598300 on MacOSX toojan.nijtmans2013-01-192-5/+2
| |\ \ \
| | * | | Proposed solution for Bug 3598300 on MacOSXbug_3598300jan.nijtmans2013-01-182-6/+2
| |/ / /
* | | | [Bug 3598300]: unix: tcl.h does not include sys/stat.h.jan.nijtmans2013-01-181-1/+3
|\ \ \ \ | |/ / / | | | | (with an exception for OSX, for now)
| * | | [Bug 3598300]: unix: tcl.h does not include sys/stat.h.jan.nijtmans2013-01-181-1/+3
| | |/ | |/| | | | (with an exception for OSX, for now)
* | | COMPILE_DEBUG big: fix bug in stack verification for {*}mig2013-01-171-2/+6
| | |
* | | merge trunkbug_3600328dkf2013-01-177-5/+9
|\ \ \
| * \ \ revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-177-5/+9
| |\ \ \ | | |/ / | | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| | * | revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-177-5/+9
| | | | | | | | | | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
* | | | merge trunkdkf2013-01-1610-210/+240
|\ \ \ \ | |/ / /
| * | | [Bug 3601086]: Register zlib config as iso8859-1 (a superset of ascii) as thatdkf2013-01-161-1/+1
| | | | | | | | | | | | is an encoding we guarantee to support without loading encoding files.
| * | | Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-163-9/+12
| |\ \ \ | | |/ / | | | | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too.
| | * | Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-163-13/+12
| | |\ \ | | | |/ | | | | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
| | | * Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-163-13/+12
| | | | | | | | | | | | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
| * | | [Bug 3598300]: unix: tcl.h does not include sys/stat.hjan.nijtmans2013-01-151-3/+2
| |\ \ \
| | * \ \ REMOVED FROM TRUNK: buggy, breaks the build on linux. [Bug 3598300]: unix: ↵jan.nijtmans2013-01-151-3/+2
| | |\ \ \ | | | |/ / | | | | | | | | | | tcl.h does not include sys/stat.h
| | | * | merge trunk jan.nijtmans2013-01-1411-85/+356
| | | |\ \ | | | | | | | | | | | | remove some EXTERN and CONST usages in tclUnixPort.h
| | | * | | proposed fix for Bug 3598300jan.nijtmans2012-12-261-3/+2
| | | | | |
| * | | | | merge trunkISC_peepholemig2013-01-154-95/+139
| |\ \ \ \ \ | | |/ / / /
| | * | | | forgot two #undef'sjan.nijtmans2013-01-141-0/+2
| | | | | |
| | * | | | Put back Tcl_[GS]etStartupScript in internal stub table, so extensions using ↵jan.nijtmans2013-01-143-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | this, compiled against 8.5 headers still run in Tcl 8.6.
| | | | | |
| | | \ \ \
| | *-. \ \ \ Various bits of cleanup, efficiencies, and comment documentation in tclVar.c ↵mig2013-01-131-66/+54
| | |\ \ \ \ \ | | | | | |/ / | | | | |/| | | | | | | | | (from mig-review)
| | | | * | | Various bits of cleanup, efficiencies, and comment documentation in tclVar.c ↵mig2013-01-131-57/+54
| | | | |\ \ \ | | | | |/ / / | | | |/| | | | | | | | | | (from mig-review)
| | | * | | | Various bits of cleanup, efficiencies, and comment documentation in tclVar.cdgp2012-12-141-57/+54
| | | | | | |
| | * | | | | If TCL_NO_DEPRECATED is defined, make sure that TIP #139 functions all are ↵jan.nijtmans2013-01-131-7/+45
| | |\ \ \ \ \ | | | | |/ / / | | | |/| | | | | | | | | | taken from the public stub table, even if the inclusion is through tclInt.h.
| | | * | | | If TCL_NO_DEPRECATED is defined, make sure that TIP #139 functions all are ↵jan.nijtmans2013-01-131-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | taken from the public stub table, even if the inclusion is through tclInt.h.
| | | * | | | Extend the public stub table with dummy NULL entries, up to the size of the ↵jan.nijtmans2013-01-073-0/+217
| | | |\ \ \ \ | | | | | |_|/ | | | | |/| | | | | | | | | | | | | | | | Tcl 8.6 stub tables. This makes it easier to debug extensions which use Tcl 8.6 features but (erroneously) are attempted to be loaded in Tcl 8.5.
| | | | * | | Extend the public and private stub tables with dummy NULL entries, up to the ↵jan.nijtmans2013-01-075-22/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | size of the Tcl 8.6 stub tables. This makes it easier to debug extensions which use Tcl 8.5/8.6 features but (erroneously) are attempted to be loaded in Tcl 8.4.
| | * | | | | Put back TclBackgroundException in internal stub table, so extensions using ↵jan.nijtmans2013-01-123-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this, compiled against 8.5 headers still run in Tcl 8.6.
| * | | | | | discouraging the compiler from re-reading *pc in the peephole loop, part2 ↵mig2013-01-121-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (any diff?)