Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵ | jan.nijtmans | 2013-02-27 | 1 | -0/+2 | |
| | | | | | | | | Lane for providing the test-case and the patch. | |||||
* | | structs *ChannelHandler* GetsState CopyState used only locally. | dgp | 2013-02-26 | 2 | -108/+106 | |
|\ \ | |/ | | | Remove from tclIO.h. | |||||
| * | structs ChannelHandler ChannelHandlerEvent GetsState CopyState used locally. | dgp | 2013-02-26 | 2 | -83/+82 | |
| | | | | | | Remove from tclIO.h. | |||||
| * | struct NextChannelHandler used only locally. Remove from tclIO.h. | dgp | 2013-02-26 | 2 | -25/+24 | |
| | | ||||||
* | | Don't panic if Tcl_ConvertToType is called for a type that doesn't have a ↵ | jan.nijtmans | 2013-02-26 | 1 | -1/+6 | |
| | | | | | | | | setFromAnyProc, create a proper error message. | |||||
* | | Repair linked list management in Tcl_DeleteCloseHandler(). | dgp | 2013-02-25 | 2 | -13/+18 | |
|\ \ | |/ | | | CloseCallback struct used only locally. Remove from tclIO.h. | |||||
| * | Repair linked list management in Tcl_DeleteCloseHandler(). | dgp | 2013-02-25 | 2 | -12/+18 | |
| | | | | | | CloseCallback struct is used only locally. Remove from tclIO.h. | |||||
* | | LimitHandler struct used only locally. Remove from tclInt.h. | dgp | 2013-02-25 | 2 | -29/+31 | |
| | | ||||||
* | | Remove unused struct InterpList. | dgp | 2013-02-25 | 1 | -11/+0 | |
| | | ||||||
* | | ArraySearch struct used only locally. Remove from tclInt.h. | dgp | 2013-02-25 | 2 | -24/+24 | |
| | | ||||||
* | | Restore the ReleaseCmdWordData cleanup routine from 8.4, to plug very | dgp | 2013-02-22 | 1 | -18/+26 | |
| | | | | | | rare memory leak. | |||||
| | | ||||||
| \ | ||||||
*-. \ | Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine. | dgp | 2013-02-22 | 1 | -30/+43 | |
|\ \ \ | | |/ | | | | Stop crashes when the hookProc raises an error. | |||||
| | * | Use iPtr field instead of source field to mark a CompileEnv as uninitialized. | dgp | 2013-02-22 | 1 | -4/+4 | |
| |/ | | | | | envPtr->source == NULL can actually be valid (at least when merging forward). | |||||
| * | Protect against multiple uses of a CompileEnv with only one initialization. | dgp | 2013-02-21 | 2 | -49/+44 | |
| | | | | | | | | | | Make TclFreeCompileEnv smarter about cleanup so all callers do not have to be. Revise TclSetByteCodeFromAny() so that when hookProc raises an error, bytecode is not generated. This was rumored to cause crashes. | |||||
* | | 3605447 Make sure the -clear option to [namespace export] always clears, | dgp | 2013-02-21 | 1 | -43/+20 | |
|\ \ | |/ | | | whether or not new export patterns are specified. | |||||
| * | The flag TCL_LEAVE_ERR_MSG has no effect on the routine | dgp | 2013-02-21 | 1 | -8/+4 | |
| | | | | | | | | TclGetNamespaceForQualName() so for goodness sake stop making any special efforts to add it in when making calls. | |||||
| * | refinement | dgp | 2013-02-20 | 1 | -2/+1 | |
| | | ||||||
| * | 36054447 Convert [namespace export -clear] interface to something less stupid. | dgp | 2013-02-20 | 1 | -32/+18 | |
| | | | | | | Test suite does not demand the stupidity continue, thank goodness. | |||||
* | | revert mangling with "code" variable. This caused unrelated var.test failures. | jan.nijtmans | 2013-02-19 | 1 | -3/+3 | |
| | | ||||||
* | | Fix bug #2438181: Incorrect error reporting in traces. | jan.nijtmans | 2013-02-19 | 1 | -3/+7 | |
|\ \ | |/ | | | Test-case and fix provided by Poor Yorick. | |||||
* | | 3604074 Fix regexp optimization to stop hanging on the expression | dgp | 2013-02-15 | 1 | -39/+57 | |
|\ \ | |/ | | | ((((((((a)*)*)*)*)*)*)*)* . Thanks to Bjørn Grathwohl for discovery. | |||||
| * | New branch bug-3604074 with improved patch to correct fixempties() failurebug_3604074 | dgp | 2013-02-14 | 1 | -30/+50 | |
| | | | | | | to converge. | |||||
* | | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>. | jan.nijtmans | 2013-02-10 | 6 | -16/+0 | |
| | | ||||||
* | | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 5 | -23/+23 | |
| | | ||||||
* | | [Bug 3433012]: Added dummy version of TclpLoadMemory to use in the event that a | dkf | 2013-02-05 | 1 | -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_3602706 | dgp | 2013-02-04 | 1 | -6/+0 | |
| | | ||||||
* | | Cherrypick the refcount fixes and comments from mig-review. | dgp | 2013-02-04 | 1 | -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.nijtmans | 2013-01-31 | 18 | -106/+98 | |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | |||||
* | | Silence come compiler warnings. | dgp | 2013-01-24 | 2 | -7/+11 | |
|\ \ | |/ | ||||||
| * | Silence some compiler warnings. | dgp | 2013-01-24 | 3 | -0/+11 | |
| | | ||||||
* | | Simplify STRING_AT macro. | jan.nijtmans | 2013-01-24 | 1 | -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.nijtmans | 2013-01-23 | 1 | -1/+5 | |
| | | | | | | | | -1. Undocumented, because I don't want to promote people start using that. | |||||
* | | fix Bug 3598300 on MacOSX too | jan.nijtmans | 2013-01-19 | 2 | -5/+2 | |
|\ \ | ||||||
| * | | Proposed solution for Bug 3598300 on MacOSXbug_3598300 | jan.nijtmans | 2013-01-18 | 2 | -6/+2 | |
|/ / | ||||||
* | | [Bug 3598300]: unix: tcl.h does not include sys/stat.h. | jan.nijtmans | 2013-01-18 | 1 | -1/+3 | |
| | | | | | | (with an exception for OSX, for now) | |||||
* | | revert [8abba84224], and make sure that every source file that uses ↵ | jan.nijtmans | 2013-01-17 | 7 | -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.nijtmans | 2013-01-16 | 3 | -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.nijtmans | 2013-01-16 | 3 | -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.nijtmans | 2013-01-14 | 11 | -85/+356 | |
|\ \ | | | | | | | remove some EXTERN and CONST usages in tclUnixPort.h | |||||
| * \ | Various bits of cleanup, efficiencies, and comment documentation in tclVar.c ↵ | mig | 2013-01-13 | 1 | -57/+54 | |
| |\ \ | | | | | | | | | | | | | (from mig-review) | |||||
| | * | | Various bits of cleanup, efficiencies, and comment documentation in tclVar.c | dgp | 2012-12-14 | 1 | -57/+54 | |
| | | | | ||||||
| * | | | If TCL_NO_DEPRECATED is defined, make sure that TIP #139 functions all are ↵ | jan.nijtmans | 2013-01-13 | 1 | -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.nijtmans | 2013-01-07 | 3 | -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.nijtmans | 2013-01-07 | 5 | -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 ficks | dgp | 2013-01-03 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵ | jan.nijtmans | 2013-01-03 | 1 | -0/+11 | |
| |\ \ \ | | |/ / | | | | | | | | | too early | |||||
| | * | | test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵ | jan.nijtmans | 2013-01-03 | 1 | -0/+11 | |
| | | | | | | | | | | | | | | | | too early | |||||
| * | | | remove stray calls to Tcl_Alloc and friends: the core should only use ↵ | mig | 2013-01-02 | 2 | -6/+6 | |
| | | | | | | | | | | | | | | | | ckalloc to allow MEM_DEBUG to work properly | |||||
| * | | | test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. | jan.nijtmans | 2013-01-02 | 1 | -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.nijtmans | 2013-01-02 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | "testthread wait" normally. |