Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce cast count. | dkf | 2007-11-19 | 1 | -77/+72 |
| | |||||
* | improvements to comments | dkf | 2007-11-19 | 2 | -7/+31 |
| | |||||
* | eschew superfluous whitespace | dkf | 2007-11-19 | 1 | -3/+3 |
| | |||||
* | Reduce cast count. | dkf | 2007-11-19 | 2 | -137/+136 |
| | |||||
* | Reduce cast count. | dkf | 2007-11-19 | 1 | -40/+40 |
| | |||||
* | More minor cleanup | dkf | 2007-11-18 | 7 | -404/+414 |
| | |||||
* | Avoid using 'new' as an identifier. | dkf | 2007-11-18 | 2 | -9/+9 |
| | |||||
* | More minor cleanup | dkf | 2007-11-18 | 3 | -471/+482 |
| | |||||
* | Simplification+comments for ensemble dispatch engine | dkf | 2007-11-18 | 1 | -128/+175 |
| | |||||
* | General cleanliness improvements (reduced usage of casts, assume C89) | dkf | 2007-11-18 | 1 | -139/+123 |
| | |||||
* | Minor fixes (e.g. comment readability) | dkf | 2007-11-18 | 2 | -268/+313 |
| | |||||
* | * generic/tclExecute.c (TclExecuteByteCode:INST_EXIST_*): Fix read | das | 2007-11-17 | 1 | -20/+30 |
| | | | | traces not firing on non-existent array elements. [Bug 1833522] | ||||
* | Greatly improved ensemble compiler. This one now can handle any ensemble. | dkf | 2007-11-16 | 5 | -167/+469 |
| | | | | | It is usually not enabled though; only worth it when a subcommand is actually expected to undergo bytecode compilation. | ||||
* | move TCL_DTRACE_INST_NEXT after async handlers check | das | 2007-11-16 | 1 | -3/+3 |
| | |||||
* | better line breaks in debug output | dgp | 2007-11-15 | 1 | -1/+1 |
| | |||||
* | * generic/regc_nfa.c: Fixed infinite loop in the regexp compiler. | dgp | 2007-11-15 | 1 | -0/+41 |
| | | | | [Bug 1810038]. | ||||
* | * generic/regc_nfa.c: Corrected looping logic in fixempties() to | dgp | 2007-11-15 | 1 | -1/+2 |
| | | | | avoid wasting time walking a list of dead states. [Bug 1832612] | ||||
* | Must pass non-NULL interp to Tcl_SetEnsemble* functions. | dkf | 2007-11-15 | 1 | -17/+11 |
| | |||||
* | Add comments for clarity. | dkf | 2007-11-15 | 2 | -171/+206 |
| | |||||
* | typo | dkf | 2007-11-14 | 1 | -2/+2 |
| | |||||
* | Compile [info exists] into bytecode. Includes new instructions to support it. | dkf | 2007-11-14 | 7 | -14/+339 |
| | |||||
* | Eliminate multi-char collating element code completely. Simplifies the code | dkf | 2007-11-14 | 7 | -636/+127 |
| | | | | | quite a bit. If people still want the full code, it will remain on the 8.4 branch. [Bug 1831425] | ||||
* | Strip an _ANSI_ARGS_ usage. | dkf | 2007-11-14 | 1 | -2/+2 |
| | |||||
* | (TclCompileSwitchCmd): simplify TclReToGlob usage. | hobbs | 2007-11-14 | 1 | -9/+6 |
| | |||||
* | * generic/tclCompCmds.c (TclCompileRegexpCmd): clean up comments, | hobbs | 2007-11-14 | 1 | -9/+12 |
| | | | | only free dstring on OK from TclReToGlob. | ||||
* | Comment/#ifdef out the multi-char collating element support code. | dkf | 2007-11-14 | 4 | -39/+92 |
| | | | | We never used or supported it. [Bug 1831425] | ||||
* | Extend [switch] compiler to handle regular expressions as long as things are not | dkf | 2007-11-13 | 1 | -71/+115 |
| | | | | | too complex. Fix [regexp] compiler so that non-trivial literal regexps get fed to INST_REGEXP. | ||||
* | Minor fixes (remove double blank lines, etc.) | dkf | 2007-11-13 | 1 | -16/+18 |
| | |||||
* | Fix a bug in disassembly of INST_START_CMD instructions | dkf | 2007-11-13 | 1 | -3/+4 |
| | |||||
* | * generic/regcomp.c: Convert optst() from expensive no-op to a | dgp | 2007-11-13 | 1 | -0/+10 |
| | | | | cheap no-op. | ||||
* | (TclReToGlob): remove out-dated Tcl_RegExpCompile check as it causes recursion | hobbs | 2007-11-13 | 1 | -15/+1 |
| | |||||
* | RE: [Patch 1830184] TclResetResult | Miguel Sofer | 2007-11-12 | 7 | -81/+34 |
| | | | | | | THIS PATCH WAS REVERTED: initial (mis)measurements overstated the perfomance wins, which turn out to be tiny. Not worth the complication. | ||||
* | * generic/tclGet.c (Tcl_Get, Tcl_GetInt): revert use of TclGet* | hobbs | 2007-11-12 | 1 | -3/+3 |
| | | | | macros due to compiler warning. These cases won't save time either. | ||||
* | * generic/tclUtil.c (TclReToGlob): add more comments, set interp | hobbs | 2007-11-12 | 1 | -3/+12 |
| | | | | result if specified on error. | ||||
* | * generic/tclBasic.c: New macro TclResetResult, new iPtr flag | Miguel Sofer | 2007-11-12 | 7 | -34/+81 |
| | | | | | | | | | * generic/tclExecute.c: bit INTERP_RESULT_UNCLEAN: shortcut for * generic/tclInt.h: Tcl_ResetResult for the "normal" case: * generic/tclProc.c: TCL_OK, no return options, no errorCode * generic/tclResult.c: nor errorInfo, return at normal level. * generic/tclStubLib.c: [Patch 1830184] * generic/tclUtil.c: | ||||
* | * generic/tclCompCmds.c, generic/tclCompile.c, generic/tclCompile.h: | hobbs | 2007-11-12 | 10 | -103/+350 |
| | | | | | | | | | * generic/tclExecute.c, generic/tclInt.decls, generic/tclIntDecls.h: * generic/tclRegexp.c, generic/tclRegexp.h: Add INST_REGEXP and fully * generic/tclStubInit.c, generic/tclUtil.c: compiled [regexp] for the * tests/regexpComp.test: [Bug 1830166] simple cases. Also added TclReToGlob function to convert RE to glob patterns and use these in the possible cases. | ||||
* | * generic/tclResult.c (ResetObjResult): clarify the logic. | Miguel Sofer | 2007-11-11 | 1 | -4/+2 |
| | |||||
* | [Patch 1830038]: Increased usage of macros to detect and take advantage of ↵ | Miguel Sofer | 2007-11-11 | 31 | -395/+457 |
| | | | | objTypes. | ||||
* | * generic/tclBasic.c: fix stack check failure case if stack grows up. | das | 2007-11-11 | 1 | -2/+2 |
| | |||||
* | * generic/tclBasic.c: fix stack check failure case if stack grows up. | das | 2007-11-11 | 1 | -2/+2 |
| | |||||
* | * generic/tclExecute.c: fast path for INST_LIST_INDEX when the | Miguel Sofer | 2007-11-10 | 1 | -7/+20 |
| | | | | index is not a list. | ||||
* | * generic/tclBasic.c: | Miguel Sofer | 2007-11-10 | 1 | -8/+19 |
| | | | | | | * unix/configure.in: * unix/tclUnixInit.c: detect stack grwoth direction at compile time, only fall to runtime detection when crosscompiling. | ||||
* | * unix/tclUnixTime.c (TclpWideClicksToNanoseconds): fix issues with | das | 2007-11-10 | 1 | -2/+2 |
| | | | | * generic/tclInt.h: int64_t overflow. | ||||
* | Improved failure comments for stack checks (mistachkin). | Miguel Sofer | 2007-11-10 | 1 | -10/+15 |
| | |||||
* | * generic/tclBasic.c: | Miguel Sofer | 2007-11-10 | 2 | -21/+12 |
| | | | | | | | | | * generic/tclInt.h: * unix/tclUnixInit.c: * win/tclWin32Dll.c: restore simpler behaviour for stack checking, not adaptive to stack size changes after a thread is launched. Consensus is that "nobody does that", and so it is not worth the cost. | ||||
* | * generic/tclBasic.c: | Miguel Sofer | 2007-11-10 | 2 | -27/+25 |
| | | | | | | | | | | | * generic/tclInt.h: * unix/tclUnixInit.c: * unix/tclUnixPort.h: * win/tclWin32Dll.c: modify the stack checking algorithm to recheck in case of failure. The working assumptions are now that (a) a thread's stack is never moved, and (b) a thread's stack can grow but not shrink. Port to windows - could be more efficient, but is already cheaper than it was. | ||||
* | fix formatting | das | 2007-11-10 | 1 | -2/+3 |
| | |||||
* | fix typos, formatting and non-unix breakage (due to undefined stackGrowsDown) | das | 2007-11-10 | 1 | -6/+7 |
| | |||||
* | * generic/tclResult.c (ResetObjResult): new shortcut. | Miguel Sofer | 2007-11-10 | 1 | -3/+4 |
| | |||||
* | * generic/tclAsync.c: | Miguel Sofer | 2007-11-09 | 4 | -9/+95 |
| | | | | | | | | | | | * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclUnixInit.c: * generic/tclUnixPort.h: new fields in interp (ekeko!) to cache TSD data that is accessed at each command invocation, access macros to replace Tcl_AsyncReady and TclpCheckStackSpace by much faster variants [Patch 1829248] |