Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Decorate Tcl_Exit() and Tcl_SetExitProc()'s argument with TCL_NORETURN as ↵ | jan.nijtmans | 2015-10-08 | 1 | -4/+4 |
| | | | | | appropriate, as already done with Tcl_Panic() earlier. Fix minor msvc compiler warning in tclWinFile.c | ||||
* | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -7/+7 |
|\ | |||||
| * | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -1/+1 |
| | | |||||
* | | Correct handling of dictionaries in the background error processing code. | dkf | 2015-06-30 | 1 | -10/+10 |
|\ \ | |/ | |||||
| * | Correct handling of dictionaries in the background error processing code. | dkf | 2015-06-30 | 1 | -10/+10 |
| | | |||||
* | | Rework the *FinalizeThread*() routines so that the quick exit preference | dgp | 2014-12-17 | 1 | -3/+11 |
| | | | | | | | | is respected without need to run afoul of encoding finalizations. tests pass now. All changes are fully internal. | ||||
* | | Refine TclFinalizeThreadData so that the quick-exit optimization really only ↵ | ferrieux | 2014-09-08 | 1 | -13/+10 |
| | | | | | | | | affects exit. | ||||
* | | Refrain from calling TclFinalizeThreadData() in quick-exit case as it is ↵ | ferrieux | 2014-09-02 | 1 | -11/+13 |
| | | | | | | | | useless (just memory freeing). Superficially fixes [Bug 132fad6f]; that bug is still exerciseable thanks to recent additions to the test suite that exercise full finalization. | ||||
* | | Make sure that panic's during finalization are handled by the custom ↵ | jan.nijtmans | 2013-09-20 | 1 | -2/+0 |
| | | | | | | | | | | panicproc not by the default panicproc, because stderr might not be available. When the default panicproc is in use, this doesn't make any difference. | ||||
* | | Fix [3611974]: InitSubsystems multiple thread issue | jan.nijtmans | 2013-06-18 | 1 | -7/+2 |
|\ \ | |/ | |||||
| * | Fix [3611974]: InitSubsystems multiple thread issue | jan.nijtmans | 2013-06-18 | 1 | -9/+4 |
| | | |||||
* | | Some VOID -> void, Tcl_TraceVar -> Tcl_TraceVar2 and Tcl_VarTraceInfo -> ↵ | jan.nijtmans | 2013-02-27 | 1 | -2/+2 |
| | | | | | | | | Tcl_VarTraceInfo2 conversions. | ||||
* | | Bug 3576509: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵ | jan.nijtmans | 2012-10-14 | 1 | -1/+1 |
|\ \ | |/ | | | | | source code. | ||||
| * | Bug 357650: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵ | jan.nijtmans | 2012-10-14 | 1 | -1/+1 |
| | | | | | | | | source code. | ||||
* | | Bug 3576509: tcl::Bgerror crashes with invalid arguments | jan.nijtmans | 2012-10-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Bug 3576509: tcl::Bgerror crashes with invalid arguments | jan.nijtmans | 2012-10-13 | 1 | -1/+1 |
| | | |||||
* | | more result generation conversion | dkf | 2012-08-03 | 1 | -4/+5 |
| | | |||||
* | | [Bug 2919042] Restore "valgrindability" of Tcl that was lost by the ↵ | ferrieux | 2011-08-09 | 1 | -19/+30 |
| | | | | | | | | streamlining of [exit], by conditionally forcing a full Finalize: use -DPURIFY or ::env(TCL_FINALIZE_ON_EXIT) | ||||
* | | More generation of errorCode information (default [bgerror] and [glob]). | dkf | 2011-04-02 | 1 | -0/+2 |
| | | |||||
* | | Correct bizarre name of enumeration member. | dkf | 2011-03-24 | 1 | -2/+2 |
| | | |||||
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -21/+20 |
| | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. | ||||
* | | MINOR: Formatting fixes, mainly to comments, so code better fits the style in | dkf | 2011-03-10 | 1 | -1/+0 |
| | | | | | | the Engineering Manual. | ||||
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 |
|\ \ | |/ | | | cause more harm than good. Purged them (except in zlib files). | ||||
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 |
| |\ | | | | | | | more harm than good. Purged them. | ||||
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 |
| | | | | | | | | | more harm than good. Purged them. | ||||
| | * | Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces ↵ | ferrieux | 2009-04-27 | 1 | -7/+106 |
| | | | | | | | | | | | | "late exit handlers" for similar late process-wide cleanups. | ||||
| | * | * generic/tclEvent.c (Tcl_CreateThread): Replaced some calls to | dgp | 2007-03-19 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | * generic/tclPkg.c (CheckVersion): Tcl_Alloc() with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging. | ||||
| | * | Cosmetic touches and identation | vasiljevic | 2006-03-10 | 1 | -7/+7 |
| | | | |||||
| | * | backport of 2005-08-10 fix to tclEvent.c | Kevin B Kenny | 2005-08-16 | 1 | -19/+19 |
| | | | |||||
| | * | * generic/tclCompExpr.c: Untangled some dependencies in the | dgp | 2005-08-03 | 1 | -11/+27 |
| | | | | | | | | | | | | | | | | | | * generic/tclEvent.c: order of finalization routines. * generic/tclInt.h: [Bug 1251399] * generic/tclObj.c: | ||||
| | * | finalize Tcl_Preserve after exit handlers | Kevin B Kenny | 2005-06-24 | 1 | -1/+4 |
| | | | |||||
| | * | bug 1225727 | Kevin B Kenny | 2005-06-22 | 1 | -1/+16 |
| | | | |||||
| | * | * generic/tclEvent.c (Tcl_Finalize): Re-organized Tcl_Finalize | dgp | 2004-07-30 | 1 | -24/+24 |
| | | | | | | | | | | | | | | | so that Tcl_ExitProc's that call Tcl_Finalize recursively do not cause deadlock. [Patch 999084 fixes Tk Bug 714956] | ||||
| | * | * generic/tclEvent.c: Correct threaded obj allocator to | hobbs | 2004-07-21 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c: | ||||
| | * | Remoevd initialization of TSD for the new thread in NewThreadProc() | vasiljevic | 2004-07-15 | 1 | -10/+1 |
| | | | | | | | | | | | | since this will result in TclInitNotifier never being called. | ||||
| | * | Backout of changes to fix the Tcl Bug #770053. | vasiljevic | 2004-07-15 | 1 | -2/+7 |
| | | | | | | | | | | | | See SF bugreport for more info. | ||||
| | * | Fixed broken build on Windows caused by missing TCL_THREAD_CREATE_RETURN | vasiljevic | 2004-07-13 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | in NewThreadProc(). This is backported from head. Thnx to Kevin Kenny for spotting this. | ||||
| | * | Corrected Tcl Bug #770053 | vasiljevic | 2004-06-22 | 1 | -3/+93 |
| | | | |||||
| | * | (TclSetLibraryPath): Suppress a warning [from DKF] | davygrvy | 2004-05-06 | 1 | -3/+3 |
| | | | |||||
| | * | * generic/tclEvent.c: TclSetLibraryPath's use of caching the | davygrvy | 2004-05-06 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stringrep of the pathPtr object to TclGetLibraryPath called from another thread was ineffective if the original's stringrep had been invalidated as what happens when it gets muted to a list. * generic/tclInt.h: * generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize. | ||||
| | * | Removed unused variable to reduce compiler warnings. [Bug 664745] | dkf | 2003-05-13 | 1 | -3/+7 |
| | | | |||||
| * | | * generic/tclCmdAH.c: Fix cases where value returned by | dgp | 2010-09-23 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | * generic/tclEvent.c: Tcl_GetReturnOptions() was leaked. * generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the anti-pattern to seek and destroy. | ||||
| * | | * generic/tclObj.c: [Bug 2871908]: Plug memory leaks of the | andreas_kupries | 2009-10-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | objThreadMap and lineCLPtr hashtables. Also make the names of the continuation line information initialization and finalization functions more consistent. Patch supplied by Joe Mistachkin <joe@mistachkin.com>. | ||||
| * | | Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces ↵ | ferrieux | 2009-04-27 | 1 | -2/+102 |
| | | | | | | | | | | | | "late exit handlers" for similar late process-wide cleanups. | ||||
* | | | * generic/tclCmdAH.c: Fix cases where value returned by | dgp | 2010-09-23 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | * generic/tclEvent.c: Tcl_GetReturnOptions() was leaked. * generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the anti-pattern to seek and destroy. | ||||
* | | | Simplify Tcl_AppInit and *_Init definitions. | nijtmans | 2010-06-16 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | Change TclpThreadCreate and Tcl_CreateThread signature, making clear that "proc" is a function pointer, as in all other "proc" function parameters. | ||||
* | | | More tidying up (whitespace, spelling, useless parentheses, useless casts) | dkf | 2010-02-24 | 1 | -78/+94 |
| | | | |||||
* | | | Refined the 20090617 patch on [exit] streamlining, so that it now correctly ↵ | ferrieux | 2009-07-22 | 1 | -5/+14 |
| | | | | | | | | | | | | calls thread exit handlers for the calling thread, which includes <Destroy> bindings in Tk [Bug 2001201 again]. | ||||
* | | | Apply patch from [Bug 988703]. Many thanks to Joe Mistachkin for development. | dkf | 2009-06-18 | 1 | -1/+2 |
| | | | |||||
* | | | Applied a patch by George Peter Staplin drastically reducing the ambition of ↵ | ferrieux | 2009-06-17 | 1 | -33/+65 |
| | | | | | | | | | | | | [exit] wrt finalization, and thus solving many multi-thread teardown issues [Bugs 2001201, 486399, and possibly 597575, 990457, 1437595, 2750491]. |