summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-271-0/+2
|\ | | | | | | Lane for providing the test-case and the patch.
| * [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-271-0/+2
| |\ | | | | | | | | | Lane for providing the test-case and the patch.
| | * [Bug 3606139]: missing error check allows regexp to crash Tcl. Thanks to Tom ↵jan.nijtmans2013-02-271-0/+2
| | | | | | | | | | | | Lane for providing the test-case and the patch.
* | | Remove from tclIO.h structs used only in tclIO.c.dgp2013-02-262-108/+106
|\ \ \ | |/ /
| * | structs *ChannelHandler* GetsState CopyState used only locally.dgp2013-02-262-108/+106
| |\ \ | | |/ | | | Remove from tclIO.h.
| | * structs ChannelHandler ChannelHandlerEvent GetsState CopyState used locally.dgp2013-02-262-83/+82
| | | | | | | | | Remove from tclIO.h.
| | * struct NextChannelHandler used only locally. Remove from tclIO.h.dgp2013-02-262-25/+24
| | |
* | | Don't panic if Tcl_ConvertToType is called for a type that doesn't have a ↵jan.nijtmans2013-02-261-1/+6
|\ \ \ | |/ / | | | | | | setFromAnyProc, create a proper error message.
| * | Don't panic if Tcl_ConvertToType is called for a type that doesn't have a ↵jan.nijtmans2013-02-261-1/+6
| | | | | | | | | | | | setFromAnyProc, create a proper error message.
* | | Repair linked list management in Tcl_DeleteCloseHandler().dgp2013-02-252-13/+18
|\ \ \ | |/ / | | | CloseCallback struct used only locally. Remove from tclIO.h.
| * | Repair linked list management in Tcl_DeleteCloseHandler().dgp2013-02-252-13/+18
| |\ \ | | |/ | | | CloseCallback struct used only locally. Remove from tclIO.h.
| | * Repair linked list management in Tcl_DeleteCloseHandler(). dgp2013-02-252-12/+18
| | | | | | | | | CloseCallback struct is used only locally. Remove from tclIO.h.
* | | LimitHandler struct used only locally. Remove from tclInt.hdgp2013-02-252-29/+31
|\ \ \ | |/ /
| * | LimitHandler struct used only locally. Remove from tclInt.h.dgp2013-02-252-29/+31
| | |
* | | Remove unused struct InterpList.dgp2013-02-251-11/+0
|\ \ \ | |/ /
| * | Remove unused struct InterpList.dgp2013-02-251-11/+0
| | |
* | | Array Search struct used only locally. Remove from tclInt.h.dgp2013-02-252-24/+24
|\ \ \ | |/ /
| * | ArraySearch struct used only locally. Remove from tclInt.h.dgp2013-02-252-24/+24
| | |
* | | For Unicode 6.3, mongolian vowel separator (U+180e) is nominated to change ↵jan.nijtmans2013-02-251-2/+3
| | | | | | | | | | | | | | | character class from Space to Control character. Make sure that "string is space" will continue to return 1 for this character. See TIP #413.
* | | unused variablesdgp2013-02-221-5/+0
| | |
* | | Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.dgp2013-02-222-85/+69
|\ \ \ | |/ / | | | Stop crashes when the hookProc raises an error.
| * | Restore the ReleaseCmdWordData cleanup routine from 8.4, to plug verydgp2013-02-221-18/+26
| | | | | | | | | rare memory leak.
| | |
| | \
| *-. \ Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.dgp2013-02-221-30/+43
| |\ \ \ | | | |/ | | | | Stop crashes when the hookProc raises an error.
| | | * Use iPtr field instead of source field to mark a CompileEnv as uninitialized.dgp2013-02-221-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.dgp2013-02-212-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,dgp2013-02-211-44/+20
|\ \ \ | |/ / | | | whether or not new export patterns are specified.
| * | 3605447 Make sure the -clear option to [namespace export] always clears,dgp2013-02-211-43/+20
| |\ \ | | |/ | | | whether or not new export patterns are specified.
| | * The flag TCL_LEAVE_ERR_MSG has no effect on the routinedgp2013-02-211-8/+4
| | | | | | | | | | | | TclGetNamespaceForQualName() so for goodness sake stop making any special efforts to add it in when making calls.
| | * refinementdgp2013-02-201-2/+1
| | |
| | * 36054447 Convert [namespace export -clear] interface to something less stupid.dgp2013-02-201-32/+18
| | | | | | | | | Test suite does not demand the stupidity continue, thank goodness.
* | | Fix bug #2438181: Incorrect error reporting in traces. jan.nijtmans2013-02-191-1/+5
|\ \ \ | |/ / | | | Test-case and fix provided by Poor Yorick.
| * | revert mangling with "code" variable. This caused unrelated var.test failures.jan.nijtmans2013-02-191-3/+3
| | |
| * | Fix bug #2438181: Incorrect error reporting in traces. jan.nijtmans2013-02-191-3/+7
| |\ \ | | |/ | | | Test-case and fix provided by Poor Yorick.
* | | Use (preferred) Tcl_ObjSetVar2 in stead of Tcl_SetVar in tclAppInit.c, both ↵jan.nijtmans2013-02-171-0/+3
| | | | | | | | | | | | UNIX and Win.
* | | 3604074 Fix regexp optimization to stop hanging on the expressiondgp2013-02-151-39/+57
|\ \ \ | |/ / | | | ((((((((a)*)*)*)*)*)*)*)* . Thanks to Bjørn Grathwohl for discovery.
| * | 3604074 Fix regexp optimization to stop hanging on the expressiondgp2013-02-151-39/+57
| |\ \ | | |/ | | | ((((((((a)*)*)*)*)*)*)*)* . Thanks to Bjørn Grathwohl for discovery.
| | * New branch bug-3604074 with improved patch to correct fixempties() failurebug_3604074dgp2013-02-141-30/+50
| | | | | | | | | to converge.
* | | Eliminate last use of Tcl_SetResult (except the use in the Test suite)jan.nijtmans2013-02-152-4/+4
| | | | | | | | | Fix depreciation message in tcl.h
* | | Improve some comments and quoting, no change in functionality. jan.nijtmans2013-02-141-1/+5
|\ \ \ | |/ / | | | Only check for refCount == 0x61616161 for TCL_MEM_DEBUG build.
* | | 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
| | |
* | | [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.
* | | Tcl_InvalidateStringRep -> TclInvalidateStringRepjan.nijtmans2013-02-073-17/+17
|\ \ \ | |/ /
| * | Tcl_InvalidateStringRep -> TclInvalidateStringRepjan.nijtmans2013-02-075-23/+23
| | |
* | | [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 in fix for 3602706dgp2013-02-041-27/+31
|\ \ \ | |/ /