Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * generic/tclCompExpr.c: Added a field for operator precedence | dgp | 2007-07-10 | 2 | -40/+174 |
| | | | | | | | | to be stored directly in the parse tree. There's no memory cost to this addition, since that memory would have been lost to alignment issues anyway. Also, converted precedence definitions and lookup tables to use symbolic constants instead of raw number for improved readability, and continued extending/improving/correcting comments. | ||||
* | More extended commentary about the data structures of the expr parser. | dgp | 2007-07-09 | 1 | -43/+85 |
| | |||||
* | * generic/tclCompExpr.c: Revision so that the END lexeme never | dgp | 2007-07-09 | 2 | -4/+38 |
| | | | | | | | gets inserted into the parse tree. Later tree traversal never reaches it since its location in the tree is not variable. Starting and stopping with the START lexeme (node 0) is sufficient. Also finished lexeme code commentary. | ||||
* | * generic/tclCompExpr.c: Added missing creation and return | dgp | 2007-07-09 | 2 | -2/+16 |
| | | | | of the Tcl_Parse fields that indicate error conditions. [Bug 1749987] | ||||
* | More work in progress commenting the expr parser | dgp | 2007-07-05 | 1 | -10/+55 |
| | |||||
* | Start of work adding more useful comments to the expr parser. | dgp | 2007-07-05 | 1 | -20/+63 |
| | |||||
* | * library/init.tcl (unknown): Corrected inconsistent error message | dgp | 2007-07-05 | 2 | -13/+16 |
| | | | | in interactive [unknown] when empty command is invoked. [Bug 1743676] | ||||
* | clarify comments for last commit | Miguel Sofer | 2007-07-05 | 2 | -4/+4 |
| | |||||
* | * generic/tclNamesp.c (SetNsNameFromAny): | Miguel Sofer | 2007-07-05 | 3 | -42/+66 |
| | | | | | * generic/tclObj.c (SetCmdNameFromAny): Avoid unnecessary ckfree/ckalloc when the old structs can be reused. | ||||
* | * generic/tclNamesp.c: Fix case where a FQ cmd or ns was being | Miguel Sofer | 2007-07-04 | 3 | -2/+10 |
| | | | | | * generic/tclObj.c: cached in a different interp, tkcon [Bug 1747512] | ||||
* | Remove over-wide lines from nroff output. | dkf | 2007-07-04 | 3 | -26/+43 |
| | |||||
* | Remove over-wide lines from nroff output. | dkf | 2007-07-04 | 7 | -56/+117 |
| | |||||
* | Fixing some minor nroff misuses | dkf | 2007-07-04 | 4 | -71/+59 |
| | |||||
* | Minor formatting fixes and additional notes on portability of [file] | dkf | 2007-07-04 | 2 | -13/+10 |
| | |||||
* | Minor fixes (type of heading, format of SEE ALSO) and added KEYWORDS | dkf | 2007-07-04 | 1 | -3/+5 |
| | |||||
* | * generic/tclCompExpr.c: Revised #define values so that there | dgp | 2007-07-03 | 2 | -4/+17 |
| | | | | is now more expansion room to define more BINARY operators. | ||||
* | Minor *roff usage fixes | dkf | 2007-07-03 | 1 | -1/+4 |
| | |||||
* | * generic/tcl.h: Removed TCL_PRESERVE_BINARY_COMPATIBILITY and | dgp | 2007-07-02 | 4 | -128/+21 |
| | | | | | | | | * generic/tclHash.c: any code enabled when it is set to 0. We will * generic/tclStubInit.c: always want to preserve binary compat of the structs that appear in the interface through the 8.* series of releases, so it's pointless to drag around this never-enabled alternative. | ||||
* | Simplify string hashing a little. [FRQ 951168] | dkf | 2007-07-02 | 2 | -16/+11 |
| | |||||
* | * generic/tclIO.c: Removed dead code. | dgp | 2007-07-02 | 3 | -84/+5 |
| | | | | * unix/tclUnixChan.c: | ||||
* | * generic/tclCompExpr.c: Removed dead code, old implementations | dgp | 2007-07-02 | 1 | -30/+1 |
| | | | | | * generic/tclEvent.c: of expr parsing and compiling, including the * generic/tclInt.h: routine TclFinalizeCompilation(). | ||||
* | * generic/tclCompExpr.c: Removed dead code, old implementations | dgp | 2007-07-02 | 4 | -1490/+56 |
| | | | | | * generic/tclEvent.c: of expr parsing and compiling, including the * generic/tclInt.h: routine TclFinalizeCompilation(). | ||||
* | fix typo ... donal broke the build | Miguel Sofer | 2007-07-01 | 1 | -2/+2 |
| | |||||
* | Plug a memory leak caused by a missing Tcl_DecrRefCount on an error path. ↵ | dkf | 2007-06-30 | 2 | -32/+39 |
| | | | | [Bug 1717186] | ||||
* | Prevent RemeberSyncObj() from growing the sync | vasiljevic | 2007-06-30 | 2 | -4/+22 |
| | | | | | object lists by reusing already free'd slots, if possible. See discussion on Bug 1726873 for more information. | ||||
* | Improved documentation of Tcl_DictObjDone to make it clearer how to use it. ↵ | dkf | 2007-06-29 | 2 | -14/+23 |
| | | | | [Bug 1710795] | ||||
* | * generic/tclAlloc.c: on Darwin, ensure memory allocated by | das | 2007-06-29 | 3 | -69/+100 |
| | | | | | * generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to 16 byte boundaries (as is the case with the Darwin system malloc). | ||||
* | * generic/tclGetDate.y: use ckalloc/ckfree instead of malloc/free. | das | 2007-06-29 | 2 | -108/+174 |
| | | | | * generic/tclDate.c: bison 1.875e | ||||
* | * generic/tclBasic.c (TclEvalEx): fix warnings. | das | 2007-06-29 | 1 | -6/+5 |
| | |||||
* | * macosx/Tcl.xcodeproj/project.pbxproj: improve support for renamed tcl | das | 2007-06-29 | 4 | -22/+70 |
| | | | | | | | * macosx/Tcl.xcodeproj/default.pbxuser: source dir; add 10.5 SDK build * macosx/Tcl-Common.xcconfig: config; remove tclMathOp.c. * macosx/README: document Tcl.xcodeproj changes. | ||||
* | unsigned int type matching | dgp | 2007-06-28 | 1 | -4/+4 |
| | |||||
* | * generic/tclBasic.c: Removed dead code, including the | dgp | 2007-06-28 | 11 | -3479/+32 |
| | | | | | | | | | | | | | * generic/tclExecute.c: entire file tclMathOp.c. * generic/tclInt.h: * generic/tclMathOp.c (removed): * generic/tclTestObj.c: * win/tclWinFile.c: * unix/Makefile.in: Updated to reflect deletion of tclMathOp.c. * win/Makefile.in: * win/makefile.bc: * win/makefile.vc: | ||||
* | Silence constness warnings for TclStackFree when building with msvc. | patthoyts | 2007-06-28 | 6 | -12/+20 |
| | |||||
* | * generic/tclVar.c (UnsetVarStruct): fix possible segfault with | Miguel Sofer | 2007-06-28 | 2 | -5/+10 |
| | | | | recent streamlining. | ||||
* | * generic/tclTrace.c: Corrected broken trace reversal logic in | dgp | 2007-06-27 | 4 | -7/+34 |
| | | | | | | * generic/tclTest.c: TclCheckInterpTraces that led to infinite loop * tests/trace.test: when multiple Tcl_CreateTrace traces were set and one of them did not fire due to level restrictions. [Bug 1743931]. | ||||
* | * generic/tclBasic.c (TclEvalEx): Moved some arrays from the | dgp | 2007-06-26 | 2 | -24/+40 |
| | | | | C stack to the Tcl stack. | ||||
* | * generic/tclVar.c (UnsetVarStruct): more streamlining. | Miguel Sofer | 2007-06-26 | 2 | -10/+12 |
| | |||||
* | * generic/tclExecute.c: Safety checks to avoid crashes in the | dgp | 2007-06-26 | 2 | -8/+13 |
| | | | | | TclStack* routines when called with an incompletely initialized interp. [Bug 1743302] | ||||
* | * generic/tclVar.c (UnsetVarStruct): fixing incomplete change, | Miguel Sofer | 2007-06-25 | 2 | -25/+27 |
| | | | | more streamlining. | ||||
* | * generic/tclVar.c (UnsetVarStruct): fixing incomplete change | Miguel Sofer | 2007-06-25 | 2 | -2/+6 |
| | |||||
* | * generic/tclVar.c (TclDeleteCompiledLocalVars): removed inlining | Miguel Sofer | 2007-06-24 | 2 | -57/+67 |
| | | | | | | that ended up not really optimising (limited benchmarks). Now calling UnsetVarStruct (streamlined old code is #ifdef'ed out, in case better benchmarks do show a difference). | ||||
* | * generic/tclVar.c (UnsetVarStruct): fixed a leak introduced in | Miguel Sofer | 2007-06-24 | 2 | -1/+13 |
| | | | | last commit. | ||||
* | fix warnings | das | 2007-06-23 | 1 | -3/+4 |
| | |||||
* | * generic/tclVar.c (UnsetVarStruct, TclDeleteVars): made the logic | Miguel Sofer | 2007-06-23 | 2 | -177/+100 |
| | | | | | | | | | slightly clearer, eliminated some duplicated code. *** POTENTIAL INCOMPATIBILITY *** (tclInt.h and Var struct users) The core never builds VAR_LINK variable to have traces. Such a "monster", should one exist, will now have its unset traces called *before* it is unlinked. | ||||
* | * macosx/tclMacOSXNotify.c (AtForkChild): don't call CoreFoundation | das | 2007-06-23 | 2 | -8/+31 |
| | | | | APIs after fork() on systems where that would lead to an abort(). | ||||
* | * generic/tclCmdIL.c: More conversions to use TclStackAlloc. | dgp | 2007-06-22 | 4 | -37/+18 |
| | | | | * generic/tclScan.c: | ||||
* | * generic/tclExecute.c: Revised TclStackRealloc() signature to better | dgp | 2007-06-22 | 4 | -36/+40 |
| | | | | | | | * generic/tclInt.h: parallel (and fall back on) Tcl_Realloc. * generic/tclNamesp.c (TclResetShadowesCmdRefs): Replaced ckrealloc based allocations with TclStackRealloc allocations. | ||||
* | * generic/tclBasic.c: Move most instances of the Tcl_Parse struct | dgp | 2007-06-21 | 5 | -212/+243 |
| | | | | | | * generic/tclCompExpr.c: off the C stack and onto the Tcl stack. * generic/tclCompile.c: This is a rather large struct (> 3kB). * generic/tclParse.c: | ||||
* | * generic/tclBasic.c (TEOvI): Made sure that leave | Miguel Sofer | 2007-06-21 | 4 | -99/+127 |
| | | | | | | | * generic/tclExecute.c (INST_INVOKE): traces that were created * tests/trace.test (trace-36.2): during execution of an originally untraced command do not fire [Bug 1740962], partial fix. | ||||
* | Fix comments referring to {expand}. [Bug 1600859] | dkf | 2007-06-21 | 4 | -12/+17 |
| |