Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix signed<->unsigned compare gcc compiler warning. | jan.nijtmans | 2015-10-01 | 1 | -3/+4 |
|\ | |||||
| * | Eliminate a few gcc compiler warnings, when using -Wwrite-strings (tested ↵ | jan.nijtmans | 2015-10-01 | 1 | -5/+6 |
| | | | | | | | | with the brand-new gcc 5.2.0) | ||||
* | | [3e7eca8c8c] Prevent overflow in size values passed to allocators. | dgp | 2015-07-29 | 1 | -3/+19 |
|\ \ | |/ | |||||
| * | [3e7eca8c8c] Prevent overflow in size values passed to allocators. | dgp | 2015-07-29 | 1 | -3/+19 |
| | | |||||
* | | Add TclRegisterLiteral() to internal stub table (from "mig-optimize" branch, ↵ | jan.nijtmans | 2013-12-19 | 1 | -1/+2 |
| | | | | | | | | looks like a good idea anyway) | ||||
* | | 3607246,3607372 Unbalanced refcounts of literals in the global literal table. | dgp | 2013-03-11 | 1 | -2/+7 |
|\ \ | |||||
| * | | Correct unbalanced effect of TclInvalidateCmdLiteral() on the refcountsbug_3607246 | dgp | 2013-03-07 | 1 | -2/+7 |
| | | | | | | | | | of literals in the global table. | ||||
* | | | msvc compiler warning: signed-unsigned mismatch. | jan.nijtmans | 2013-03-08 | 1 | -1/+1 |
|/ / | |||||
* | | New internal routine TclFetchLiteral() for better CompileEnv encapsulation. | dgp | 2013-03-05 | 1 | -0/+27 |
| | | |||||
* | | Remove from tclCompile.h declarations used in only one source file. | dgp | 2013-03-05 | 1 | -5/+11 |
|\ \ | |/ | |||||
| * | Remove from tclCompile.h declarations used in only one source file. | dgp | 2013-03-05 | 1 | -5/+11 |
| | | |||||
* | | Revise TclReleaseLiteral() to tolerate a NULL interp argument. | dgp | 2013-02-28 | 1 | -1/+7 |
| | | | | | | Update callers and revise mistaken comments. | ||||
* | | Commit of patch relating to interp resolvers | dkf | 2011-10-15 | 1 | -0/+40 |
| | | |||||
* | | Remove TclCleanupLiteralTable (see 994838). | dgp | 2011-06-02 | 1 | -71/+0 |
|\ \ | |/ | |||||
| * | Remove TclCleanupLiteralTable (see 994838). | dgp | 2011-06-02 | 1 | -71/+0 |
| | | |||||
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -14/+12 |
| | | | | | | 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 | -2/+1 |
| | | | | | | 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. | ||||
| * | | * generic/tclLiteral.c: Backport fix for [Bug 2888044]. | dgp | 2009-10-28 | 1 | -1/+2 |
| | | | |||||
* | | | * generic/tclCompExpr.c: Slight change in the literal sharing | Miguel Sofer | 2010-04-29 | 1 | -10/+14 |
| | | | | | | | | | | | | | | | | | | * generic/tclCompile.c: mechanism to avoid shimmering of * generic/tclCompile.h: command names. * generic/tclLiteral.c: | ||||
* | | | [ tcl-Feature Requests-2958832 ] Further | nijtmans | 2010-02-25 | 1 | -6/+10 |
| | | | | | | | | | | | | | | | | | | speed-up of ouster-hash function. Eliminate various unnecessary (ClientData) type casts. | ||||
* | | | Pure whitespace changes, changing to follow Engineering Manual style. | dkf | 2010-02-24 | 1 | -2/+2 |
| | | | |||||
* | | | Return to using the classic hash function. Now with *extensive* notes in the | dkf | 2010-02-17 | 1 | -13/+29 |
| | | | | | | | | | | | | comments about why this function is preferred. | ||||
* | | | missing comma | dgp | 2010-02-17 | 1 | -2/+2 |
| | | | |||||
* | | | Update literal table to use FNV hash function. | dkf | 2010-02-16 | 1 | -63/+69 |
| | | | |||||
* | | | * generic/tclLiteral.c: Fixed 2 bugs reported in [Bug 2888044]. | dgp | 2009-10-28 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/info.test: First, as noted in the comments of the TclCleanupLiteralTable routine, since the teardown of the intrep of one Tcl_Obj can cause the teardown of others in the same table, the full table cleanup must be done with care, but the code did not contain the same care demanded in the comment. Second, recent additions to the info.test file had poor hygiene, leaving an array variable ::a lying around, which breaks later interp.test tests during a -singleproc 1 run of the test suite. | ||||
* | | | * macosx/tclMacOSXFCmd.c: CONST -> const | nijtmans | 2009-07-22 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | * generic/tclGetDate.y: * generic/tclDate.c: * generic/tclLiteral.c: (char *) cast in ckfree call | ||||
* | | | - eliminate some unnessary type casts | nijtmans | 2009-02-10 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | - some internal const decorations - spacing | ||||
* | | | Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵ | dkf | 2009-01-09 | 1 | -15/+16 |
|/ / | | | | | | | etc.) | ||||
* | | merge stable branch onto HEAD | dgp | 2007-12-13 | 1 | -1/+1 |
| | | |||||
* | | [Patch 1830038]: Increased usage of macros to detect and take advantage of ↵ | Miguel Sofer | 2007-11-11 | 1 | -5/+5 |
| | | | | | | | | objTypes. | ||||
* | | VarReform [Patch 1750051] | Miguel Sofer | 2007-07-31 | 1 | -104/+166 |
| | | | | | | | | *** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h) | ||||
* | | * generic/tclExecute.c: More ckalloc -> ckrealloc conversions. | dgp | 2007-03-21 | 1 | -27/+28 |
| | | | | | | | | * generic/tclLiteral.c: | ||||
* | | various "const" additions, in line with TIP #27 | nijtmans | 2007-02-20 | 1 | -4/+4 |
| | | |||||
* | | Various minor object file size efficiency fixes. [Bug 1530474] | dkf | 2006-08-10 | 1 | -2/+2 |
| | | |||||
* | | ANSIfy. Also converted some deeply nested code to a less nested form for ↵ | dkf | 2005-11-01 | 1 | -98/+92 |
| | | | | | | | | easier reading. | ||||
* | | * generic/tclClock.c: Removed some dead code. | dgp | 2005-10-19 | 1 | -20/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdIL.c: * generic/tclCompCmds.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclLiteral.c: * generic/tclParseExpr.c: * generic/tclScan.c: * generic/tclUtil.c: * generic/tclVar.c: | ||||
* | | Getting more systematic about style | dkf | 2005-07-19 | 1 | -251/+249 |
| | | |||||
* | | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232 | Kevin B Kenny | 2005-05-10 | 1 | -1/+1 |
| | | |||||
* | | silence compiler warnings | dgp | 2005-04-25 | 1 | -3/+3 |
| | | |||||
* | | * generic/tclLiteral.c: Disabled the code that forces some literals | dgp | 2005-04-21 | 1 | -1/+3 |
| | | | | | | | | | | | | into the "int" Tcl_ObjType during registration. We can re-enable it if this change causes trouble, but it seems more sensible to let Tcl's "on-demand" shimmering rule, and not try to pre-guess things. | ||||
* | | Avoid sharing cmdName literals accross namespaces, and generalise usage of | Miguel Sofer | 2004-12-24 | 1 | -16/+33 |
| | | | | | | | | the TclRegisterNewLiteral macro [Patch 1090905] | ||||
* | | * generic/tclLiteral.c (TclCleanupLiteralTable): Corrected | dgp | 2004-08-02 | 1 | -21/+42 |
| | | | | | | | | | | | | * tests/compile.test (compile-12.4): flawed deletion of literal internal reps that could lead to accessing of freed memory. Thanks to Kevin Kenny for test case and fix [Bug 1001997]. | ||||
* | | 2004-07-21 Kevin Kenny <kennykb@acm.org> | Kevin B Kenny | 2004-07-21 | 1 | -1/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c (DeleteInterpProc): * generic/tclLiteral.c (TclCleanupLiteralTable): * generic/tclInt.h: added a TclCleanupLiteralTable function, called from DeleteInterpProc, that frees internal representations of shared literals early when an interpreter is being deleted. This change corrects a number of memory mismanagement issues in the cases where the internal representation of one literal contains a reference to another, and avoids conditions such as resolved variable names referring to procedure and namespace contexts that no longer exist. [Bug 994838] | ||||
* | | * generic/tclLiteral.c (TclReleaseLiteral): Removed unused | Kevin B Kenny | 2004-07-15 | 1 | -2/+1 |
| | | | | | | | | variable 'codePtr' to silence a message from VC++. | ||||
* | | * generic/tclCompile.c (TclCompileScript): | Miguel Sofer | 2004-07-15 | 1 | -17/+1 |
| | | | | | | | | | | | | | | | | | | * generic/tclLiteral.c (TclReleaseLiteral): fix for [Bug 467523], which resurfaced with the latest changes. The previous strategy was to have special code in TclReleaseLiteral to handle the self-references generated by empty scripts. The new approach avoids the self-reference altogether, by having empty scripts return an unshared literal. | ||||
* | | Modified the logic of literal table cleanup at interp deletion time, | Miguel Sofer | 2004-07-08 | 1 | -15/+25 |
| | | | | | | | | | | insuring that the fix of [Bug 983660] does not have a negative perf impact. | ||||
* | | * generic/tclBasic.c (DeleteInterpProc): fix for [Bug 983660], | Miguel Sofer | 2004-07-05 | 1 | -17/+17 |
| | | | | | | | | | | | | | | | | | | found by pspjuth. Tear down the global namespace before freeing the interp handle, to allow the bytecodes to free their non-shared literals. * generic/tclLiteral.c (TclReleaseLiteral): moved special code for self-ref so that it is also used for non-shared literals. Possible bug found by inspection. |