summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Minor compilation issue fix, make sure variable declaration (via macro) is ↵aku_mem_debug_allow_regularJoe Mistachkin2015-05-221-6/+7
| | | | first.
* Moved Tcl_Obj* objThreadMap release tracking to a location where regular ↵andreask2015-05-221-14/+32
| | | | packages will call through, enabling their full tracking by the core, and thus avoiding the "expected to create new entry for object map" panic seen otherwise.
* Make Tcl_EvalObj/Tcl_GlobalEvalObj a macro always, not only when using stubs.jan.nijtmans2013-04-042-8/+8
|
* Merge 8.5. Tag RC1.dgp2013-03-281-8/+0
|\
| * Undo [6a9ee3273c]. Last commit in Tk's core-8-5-branch makes this change no ↵jan.nijtmans2013-03-283-24/+4
| | | | | | | | longer necessary.
| * Add dummy (undocumented) TclCanceled function in stub table (not exported as ↵jan.nijtmans2013-03-273-4/+24
| | | | | | | | symbol or macro), which always returns TCL_OK. Needed for Tk 8.5.14 when running in Tcl 8.6 for properly clean-up when a (Tcl 8.6) thread is canceled.
| * remove unneccessary duplicationjan.nijtmans2013-03-271-8/+0
| |
* | Release branch for Tcl 8.5.14.dgp2013-03-211-2/+2
|/
* 3597000 Consistent [file copy] result.dgp2013-03-191-10/+7
|\
| * 3597000 Consistent [file copy] result.dgp2013-03-191-8/+7
| |
* | Greater protection against double TclFreeObj() calls in TCL_MEM_DEBUG mode.dgp2013-03-111-0/+12
| |
* | Cleaner error handling in fixempties().dgp2013-03-061-2/+5
|\ \ | |/
| * Cleaner error handling in fixempties().dgp2013-03-061-2/+4
| |
| * merge 8.4bug_3606683_84dgp2013-03-061-1/+0
| |\
| * | Rework into Tcl 8.4 coding style (closer to original Spencer).dgp2013-03-061-174/+177
| | |
| * | Indent reduction in fixempties().dgp2013-03-061-19/+19
| | |
| * | Use flag argument to combine copy(nonempty)* routines into copy* routines.dgp2013-03-062-59/+23
| | |
| * | New routine hasnonemptyout() for minor improvement to new fixempties().dgp2013-03-062-1/+18
| | |
| * | Contributed patch from Tom Lane <tgl@users.sf.net>. Merge conflicts due todgp2013-03-052-92/+264
| | | | | | | | | different coding style and lingering obsolete compiler support resolved.
* | | merge 8.5bug_3606683_85dgp2013-03-063-14/+17
|\ \ \
| * | | Remove from tclCompile.h declarations used in only one source file.dgp2013-03-053-13/+17
| | | |
| * | | Remove TclInitCompilation() declaration with no definition.dgp2013-03-051-1/+0
| |\ \ \ | | | |/ | | |/|
| | * | Remove TclInitCompilation() declaration that's never had a definitiondgp2013-03-051-1/+0
| | |/ | | | | | | (14 years!).
| | * New scheme for keeping the per-process tcl_precision value in sync withoutdgp2013-03-041-23/+296
| | | | | | | | | | | | | | | | | | | | | the need for mutex locks on every read. Uses adapted ProcessGlobalValue machinery backported from Tcl 8.5 where it's been working without reported problems. Thanks to Phil Brooks for reporting on tests which highlight the thread performance problems raised by the old scheme, and to Clif Flynt for further testing pointing the finger at tcl_precision locks as the main culprit.
* | | Rework into Tcl 8.5+ coding style.dgp2013-03-061-50/+69
| | |
* | | Indent reduction in fixempties()dgp2013-03-061-19/+19
| | |
* | | Use flag argument to combine copy(nonempty)* routines into copy* routines.dgp2013-03-062-59/+25
| | |
* | | New routine hasnonemptyout() for minor improvement to new fixempties().dgp2013-03-062-1/+18
| | |
* | | Contributed regexp engine patch from Tom Lane. Backports clean from trunk.dgp2013-03-052-81/+235
|/ /
* | [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.
* | 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.
* | 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.h.dgp2013-02-252-29/+31
| |
* | Remove unused struct InterpList.dgp2013-02-251-11/+0
| |
* | ArraySearch struct used only locally. Remove from tclInt.h.dgp2013-02-252-24/+24
| |
* | 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-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.
* | 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.