Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as ↵ | jan.nijtmans | 2013-04-19 | 3 | -0/+33 |
| | | | | (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct | ||||
* | Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵ | jan.nijtmans | 2013-04-12 | 2 | -4/+17 |
| | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx(). | ||||
* | Make (deprecated) Tcl_EvalObj/Tcl_GlobalEvalObj macro's always, not only ↵ | jan.nijtmans | 2013-04-09 | 2 | -8/+8 |
| | | | | when using stubs. | ||||
* | 3610026 Stop segfault when regexp overflows color limits. | dgp | 2013-04-08 | 4 | -7/+17 |
| | |||||
* | 3597000 Consistent [file copy] result. | dgp | 2013-03-19 | 1 | -8/+7 |
| | |||||
* | Cleaner error handling in fixempties(). | dgp | 2013-03-06 | 1 | -2/+4 |
| | |||||
* | merge 8.4 | dgp | 2013-03-06 | 1 | -1/+0 |
|\ | |||||
| * | Remove TclInitCompilation() declaration that's never had a definition | dgp | 2013-03-05 | 1 | -1/+0 |
| | | | | | | (14 years!). | ||||
* | | Rework into Tcl 8.4 coding style (closer to original Spencer). | dgp | 2013-03-06 | 1 | -174/+177 |
| | | |||||
* | | Indent reduction in fixempties(). | dgp | 2013-03-06 | 1 | -19/+19 |
| | | |||||
* | | Use flag argument to combine copy(nonempty)* routines into copy* routines. | dgp | 2013-03-06 | 2 | -59/+23 |
| | | |||||
* | | New routine hasnonemptyout() for minor improvement to new fixempties(). | dgp | 2013-03-06 | 2 | -1/+18 |
| | | |||||
* | | Contributed patch from Tom Lane <tgl@users.sf.net>. Merge conflicts due to | dgp | 2013-03-05 | 2 | -92/+264 |
|/ | | | different coding style and lingering obsolete compiler support resolved. | ||||
* | New scheme for keeping the per-process tcl_precision value in sync without | dgp | 2013-03-04 | 1 | -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.nijtmans | 2013-02-27 | 1 | -0/+2 |
| | | | | Lane for providing the test-case and the patch. | ||||
* | 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 |
| | |||||
* | Repair linked list management in Tcl_DeleteCloseHandler(). | dgp | 2013-02-25 | 2 | -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. | 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. | ||||
* | 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. | ||||
* | New branch bug-3604074 with improved patch to correct fixempties() failure | dgp | 2013-02-14 | 1 | -30/+50 |
| | | | to converge. | ||||
* | Silence some compiler warnings. | dgp | 2013-01-24 | 3 | -0/+11 |
| | |||||
* | 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. | ||||
* | 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). | ||||
* | 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. | ||||
* | test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵ | jan.nijtmans | 2013-01-03 | 1 | -0/+11 |
| | | | | too early | ||||
* | 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. | ||||
* | [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early | jan.nijtmans | 2012-12-27 | 1 | -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.nijtmans | 2012-12-21 | 1 | -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. | dgp | 2012-12-13 | 1 | -1/+1 |
| | |||||
* | Changelog entry, and change macro variable to not conflict with possible ↵ | jan.nijtmans | 2012-12-13 | 1 | -3/+3 |
| | | | | outside variable names | ||||
* | Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice. | jan.nijtmans | 2012-12-13 | 1 | -4/+7 |
| | |||||
* | Restore the initialization of tclStubsPtr from the "Tcl" package clientData | dgp | 2012-12-10 | 1 | -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.nijtmans | 2012-12-07 | 1 | -43/+62 |
| | |||||
* | 3588687 When detecting incompatibility during stubs initialization, the error | dgp | 2012-11-29 | 1 | -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.nijtmans | 2012-11-22 | 1 | -4/+0 |
| | | | <p>[http://code.activestate.com/lists/tcl-core/12524/] | ||||
* | More complete purge of things only present for supporting long-dead Mac 9 ↵ | dgp | 2012-11-15 | 20 | -784/+27 |
| | | | | systems. | ||||
* | Fix bug in genStubs.tcl: If the macosx section doesn't contain any ↵ | jan.nijtmans | 2012-11-15 | 1 | -1/+1 |
| | | | | | macosx-specific entries, no section at all is created <p>revert previous workaround in tclInt.decls | ||||
* | add missing macosx sections | jan.nijtmans | 2012-11-15 | 3 | -1/+198 |
| | |||||
* | Remove all the long dead mac entries in tcl*.decls files | jan.nijtmans | 2012-11-15 | 6 | -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. | dgp | 2012-11-14 | 1 | -0/+1 |
| | |||||
* | Add dummy 0 parameter (unused flags) to internal Tcl_FSLoadFileProc call, ↵ | jan.nijtmans | 2012-10-24 | 2 | -2/+6 |
| | | | | for upwards compatibility with version 2 filesystems | ||||
* | When checking for std channels being closed, compare the channel state, | dgp | 2012-10-03 | 1 | -20/+24 |
| | | | not the channel itself so that stacked channels do not cause trouble. | ||||
* | Reference to correct Bug #number | jan.nijtmans | 2012-08-06 | 4 | -4/+4 |
| | |||||
* | Support Unicode 6.2 (Add Turkish lira sign) | jan.nijtmans | 2012-07-27 | 2 | -2/+2 |
| | |||||
* | Preserve the chanPtr so that script evaluation cannot invalidate it when | dgp | 2012-07-24 | 1 | -0/+2 |
| | | | we plan to use it again. | ||||
* | backport [e393e41a8d]: Fix several more missing mutex-locks in TestasyncCmd | jan.nijtmans | 2012-07-20 | 1 | -5/+28 |
| |