summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-106-16/+0
|
* Tcl_InvalidateStringRep -> TclInvalidateStringRepjan.nijtmans2013-02-075-23/+23
|
* [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.
* 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.
* 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.
* 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.
| * 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.
* | 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)
* | 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
* | 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).
* | merge trunk jan.nijtmans2013-01-1411-85/+356
|\ \ | | | | | | remove some EXTERN and CONST usages in tclUnixPort.h
| * \ 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.
| * | | 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.
| * | | speling ficksdgp2013-01-031-2/+2
| | | |
| * | | test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵jan.nijtmans2013-01-031-0/+11
| |\ \ \ | | |/ / | | | | | | | | too early
| | * | test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵jan.nijtmans2013-01-031-0/+11
| | | | | | | | | | | | | | | | too early
| * | | remove stray calls to Tcl_Alloc and friends: the core should only use ↵mig2013-01-022-6/+6
| | | | | | | | | | | | | | | | ckalloc to allow MEM_DEBUG to work properly
| * | | test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. jan.nijtmans2013-01-021-9/+8
| |\ \ \ | | |/ / | | | | | | | | 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.
| * | | 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-271-4/+5
| |\ \ \ | | |/ /
| | * | [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early jan.nijtmans2012-12-271-2/+4
| | | | | | | | | | | | | | | | | | | | Tests!? Where are the tests!?! They are in test listobj-11.1
* | | | proposed fix for Bug 3598300jan.nijtmans2012-12-261-3/+2
|/ / /
* | | Make pkgb.so loadable in Tcl 8.4 as well. jan.nijtmans2012-12-211-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.nijtmans2012-12-211-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.
* | Restore clarity to macro test.dgp2012-12-131-1/+1
|\ \ | |/
| * Restore clarity to macro test.dgp2012-12-131-1/+1
| |
* | 3595576 Tests/fix for mem corruption: [catch] fails to store options in a var.dgp2012-12-131-1/+0
| |
* | Changelog entry, and change macro variable to not conflict with possible ↵jan.nijtmans2012-12-131-3/+3
|\ \ | |/ | | | | outside variable names
| * Changelog entry, and change macro variable to not conflict with possible ↵jan.nijtmans2012-12-131-3/+3
| | | | | | | | outside variable names
* | Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice.jan.nijtmans2012-12-131-5/+7
|\ \ | |/
| * Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice.jan.nijtmans2012-12-131-4/+7
| |
* | Restore the initialization of tclStubsPtr from the "Tcl" package clientDatadgp2012-12-101-2/+3
|\ \ | |/ | | so that we don't close off a potential avenue of future innovations.
| * Restore the initialization of tclStubsPtr from the "Tcl" package clientDatadgp2012-12-101-2/+3
| | | | | | so that we don't close off a potential avenue of future innovations.
* | only set tclStubsPtr when all version checks passjan.nijtmans2012-12-071-32/+18
|\ \ | |/
| * only set tclStubsPtr if all version checks pass. Backported from tcl 8.5.jan.nijtmans2012-12-071-43/+62
| |
* | 3593703 Don't crash on bad input to Tcl_PkgRequire*().dgp2012-12-071-0/+4
| |
* | Tcl_InitStubs("8.5",1) would succeed in an "8.50" interp. Fixed.dgp2012-12-061-1/+1
| |
* | 3588687 When detecting incompatibility during stubs initialization, the errordgp2012-11-291-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.