Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * generic/tclIORChan.c: Fixed a problem with reflected | andreas_kupries | 2007-11-24 | 1 | -10/+146 |
| | | | | | | | | | | | | | | | | | | channels. 'chan postevent' is defined to work only from within the interpreter containing the handler command. Sensible, we want only handler commands to use it. It identifies the channel by handle. The channel moves to a different interpreter or thread. The interpreter containing the handler command doesn't know the channel any longer. 'chan postevent' fails, not finding the channel any longer. Uhm. Fixed by creating a second per-interpreter channel table, just for reflected channels, where each interpreter remembers for which reflected channels it has the handler command. This info does not move with the channel itself. The table is updated by 'chan create', and used by 'chan postevent'. * tests/ioCmd.test: Updated the testsuite. | ||||
* | Remove #ifdef out accidentally left in | dkf | 2007-11-23 | 1 | -4/+1 |
| | |||||
* | * generic/tclVar.c (Tcl_ArrayObjCmd): handle the right data for | hobbs | 2007-11-23 | 1 | -6/+11 |
| | | | | * tests/var.test (var-14.2): [array names $var -glob $ptn] | ||||
* | Turn the [string] command into a real compiled ensemble. | dkf | 2007-11-23 | 4 | -325/+439 |
| | |||||
* | Rebuild [dict] as a full compiled ensemble. | dkf | 2007-11-22 | 4 | -609/+777 |
| | |||||
* | Rewrote the [string] and [dict] implementations to be ready for conversion | dkf | 2007-11-22 | 2 | -1142/+2028 |
| | | | | to ensembles. | ||||
* | Generalize the ensemble compiler further. Still doesn't precopile rewrites, ↵ | dkf | 2007-11-21 | 1 | -50/+138 |
| | | | | | | but now handles many other things making the compiler at least useful. | ||||
* | Factor out the core compiled-ensemble builder for simplicity. | dkf | 2007-11-21 | 3 | -46/+93 |
| | |||||
* | A little more errorCode goodness | dkf | 2007-11-21 | 1 | -4/+10 |
| | |||||
* | Trim the fat from the source | dkf | 2007-11-21 | 1 | -310/+280 |
| | |||||
* | * generic/tclDictObj.c: Changed the underlying implementation of the | dkf | 2007-11-20 | 4 | -185/+344 |
| | | | | | | | | | hash table used in dictionaries to additionally keep all entries in the hash table in a linked list, which is only ever added to at the end. This makes iteration over all entries in the dictionary in key insertion order a trivial operation, and so cleans up a great deal of complexity relating to dictionary representation and stability of iteration order. | ||||
* | Correct usage of Tcl_WrongNumArgs | dkf | 2007-11-20 | 1 | -3/+3 |
| | |||||
* | * README: Bump version number to 8.5b3. | dgp | 2007-11-19 | 1 | -3/+3 |
| | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure: | ||||
* | INST_EXIST_*: simplify result setting | das | 2007-11-19 | 1 | -26/+9 |
| | |||||
* | improvements to comments | dkf | 2007-11-19 | 1 | -39/+43 |
| | |||||
* | Reduce cast count. | dkf | 2007-11-19 | 1 | -67/+51 |
| | |||||
* | Reduce cast count. | dkf | 2007-11-19 | 1 | -109/+102 |
| | |||||
* | Simplifications (fewer casts, less manual bit twiddling) | dkf | 2007-11-19 | 1 | -192/+191 |
| | |||||
* | 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. |