summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 3610026 Stop segfault when regexp overflows color limits.dgp2013-04-084-7/+17
|
* 3597000 Consistent [file copy] result.dgp2013-03-191-8/+7
|
* Cleaner error handling in fixempties().dgp2013-03-061-2/+4
|
* merge 8.4bug_3606683_84dgp2013-03-061-1/+0
|\
| * Remove TclInitCompilation() declaration that's never had a definitiondgp2013-03-051-1/+0
| | | | | | (14 years!).
* | 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.
* 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.
* [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 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
|
* Repair linked list management in Tcl_DeleteCloseHandler(). dgp2013-02-252-12/+18
| | | CloseCallback struct is used only locally. Remove from tclIO.h.
* 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.
* 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.
* New branch bug-3604074 with improved patch to correct fixempties() failurebug_3604074dgp2013-02-141-30/+50
| | | to converge.
* Silence some compiler warnings.dgp2013-01-243-0/+11
|
* 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.
* 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).
* 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.
* test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵jan.nijtmans2013-01-031-0/+11
| | | | too early
* Don't free ctrl.script if thread creation fails: it is a constant string ↵jan.nijtmans2013-01-021-1/+0
| | | | "testthread wait" normally.
* [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
* 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
|
* 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-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.
* only set tclStubsPtr if all version checks pass. Backported from tcl 8.5.jan.nijtmans2012-12-071-43/+62
|
* 3588687 When detecting incompatibility during stubs initialization, the errordgp2012-11-291-1/+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.
* Fix bug reported by Brian Griffin:jan.nijtmans2012-11-221-4/+0
| | | <p>[http://code.activestate.com/lists/tcl-core/12524/]
* More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-1520-784/+27
| | | | systems.
* Fix bug in genStubs.tcl: If the macosx section doesn't contain any ↵jan.nijtmans2012-11-151-1/+1
| | | | | macosx-specific entries, no section at all is created <p>revert previous workaround in tclInt.decls
* add missing macosx sectionsjan.nijtmans2012-11-153-1/+198
|
* Remove all the long dead mac entries in tcl*.decls filesjan.nijtmans2012-11-156-523/+67
| | | | <p>backport genStubs::forAllStubs function, to generate dummy entries for some MAC_TCL entries <p>re-generate all tcl*Decls.h files.
* 3587242 Missing Tcl_MutexUnlock() call made [testasync create] block.dgp2012-11-141-0/+1
|
* Add dummy 0 parameter (unused flags) to internal Tcl_FSLoadFileProc call, ↵jan.nijtmans2012-10-242-2/+6
| | | | for upwards compatibility with version 2 filesystems
* When checking for std channels being closed, compare the channel state,dgp2012-10-031-20/+24
| | | not the channel itself so that stacked channels do not cause trouble.
* Reference to correct Bug #numberjan.nijtmans2012-08-064-4/+4
|
* Support Unicode 6.2 (Add Turkish lira sign)jan.nijtmans2012-07-272-2/+2
|
* Preserve the chanPtr so that script evaluation cannot invalidate it whendgp2012-07-241-0/+2
| | | we plan to use it again.
* backport [e393e41a8d]: Fix several more missing mutex-locks in TestasyncCmdjan.nijtmans2012-07-201-5/+28
|
* protect Tcl_GetIndexFromObjStruct from empty strings in tablejan.nijtmans2012-07-051-6/+15
|
* fix some gcc 64-bit warningsjan.nijtmans2012-06-261-4/+4
| | | quoting improvements
* Purge more dead fs path code.dgp2012-06-201-17/+7
|