summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclExecute.c (INST_LIST_RANGE_IMM): Enhance implementationdkf2012-02-161-2/+23
| | | | so that shortening a (not multiply-referenced) list by lopping the end off with [lrange] or [lreplace] is efficient.
* * generic/tclCompCmds.c (TclCompileLreplaceCmd): Added a compilationdkf2012-02-153-1/+128
| | | | strategy for [lreplace] that tackles the cases which are equivalent to a static [lrange].
* * generic/tclCompCmds.c (TclCompileLrangeCmd): Add compiler fordkf2012-02-153-4/+114
| | | | | | [lrange] with constant indices so we can take advantage of existing TCL_LIST_RANGE_IMM opcode. (TclCompileLindexCmd): Improve coverage of constant-index-style compliation using technique developed for [lrange] above.
* * generic/tclCompCmds.c (TclCompileDictForCmd): [Bug 3487626]: Fixdkf2012-02-151-1/+2
|\ | | | | | | crash in compilation of [dict for] when its implementation command is used directly rather than through the ensemble.
| * * generic/tclCompCmds.c (TclCompileDictForCmd): [Bug 3487626]: Fixdkf2012-02-151-1/+2
| | | | | | | | crash in compilation of [dict for] when its implementation command is used directly rather than through the ensemble.
* | Converted the memcpy() calls in append operations to memmove() calls.dgp2012-02-091-2/+2
|\ \ | |/ | | | | This adds safety in the case of overlapping copies, and improves performance on some benchmarks.
| * 3484402 Correct Off-By-One error appending unicode. Thanks to Poor Yorick.dgp2012-02-091-2/+2
| |\ | | | | | | Also corrected test for when growth is needed.
| | * 3484402 Correct Off-By-One error appending unicode. Thanks to Poor Yorick.dgp2012-02-091-2/+2
| | |\ | | | | | | | | Also corrected test for when growth is needed.
| | | * 3484402 Correct Off-By-One error appending unicode. Thanks to Poor Yorick.bug_3484402dgp2012-02-071-4/+4
| | |/ | | | | | | | | | Also converted some memcpy() to memmove() to reliably handle overlapping copies, and corrected test for when growth is needed.
* | | Honor per-namespace compile suppression in ensemble subcommands.dgp2012-02-061-0/+1
| | |
* | | 3485022 Disable ensemble subcommand compile inside a Tcl_Create*Trace().dgp2012-02-061-1/+2
|\ \ \ | |/ /
| * | 3485022 Disable ensemble subcommand compile inside a Tcl_Create*Trace().dgp2012-02-061-1/+2
| | |
* | | 3485022 TclCompileEnsemble() avoid compile when exec traces set.dgp2012-02-061-1/+2
|\ \ \ | |/ /
| * | 3485022 TclCompileEnsemble() avoid compile when exec traces set.dgp2012-02-061-1/+2
| |\ \ | | |/
| | * 3484621 Invalidate bytecode when exec traces are added/removed from compiled ↵dgp2012-02-061-1/+20
| | | | | | | | | | | | cmd.
* | | fix for [Bug 3484621], take 3mig2012-02-061-3/+2
|\ \ \ | |/ /
| * | fix for [Bug 3484621], take 3mig2012-02-061-3/+2
| | |
* | | fix for [Bug 3484621], take 2mig2012-02-061-8/+9
|\ \ \ | |/ /
| * | fix for [Bug 3484621], take 2mig2012-02-061-8/+9
| | |
* | | Fix for [Bug 3484621]: insure that execution traces on bytecoded commands ↵mig2012-02-061-0/+19
|\ \ \ | |/ / | | | | | | bump the interp's compile epoch.
| * | Fix for [Bug 3484621]: insure that execution traces on bytecoded commandsmig2012-02-061-0/+19
| | | | | | | | | bump the interp's compile epoch.
* | | [Frq 3464401] Support Unicode 6.1jan.nijtmans2012-02-022-1116/+1174
|\ \ \ | |/ /
| * | [Frq 3464401] Support Unicode 6.1jan.nijtmans2012-02-022-1116/+1174
| |\ \ | | |/
| | * merge to feature branchrfe_3464401jan.nijtmans2012-01-269-601/+1214
| | |\
| | * | [Frq 3464401] Support Unicode 6.1jan.nijtmans2011-12-262-847/+854
| | | | | | | | | | | | (not to be merged until Unicode 6.1 is final!!!)
* | | | Minor: make comments accurate in [catch] compiler.dkf2012-01-301-22/+22
| | | |
* | | | * generic/tclCompCmds.c (TclCompileCatchCmd): Added a more efficientdkf2012-01-301-1/+29
| | | | | | | | | | | | | | | | bytecode generator for the case where 'catch' is used without any variable arguments; don't capture the result just to discard it.
* | | | 3479689 New internal routine TclJoinPath().dgp2012-01-275-62/+47
| | | | | | | | | | | | | | | | Refactor all the *Join*Path* routines to give them more useful interfaces that are easier to manage getting the refcounts right.
* | | | 3475569 Add checks for unshared values before calls demanding them.dgp2012-01-261-6/+23
|\ \ \ \ | |/ / / | | | | 3479689 Stop memory corruption when shimmering 0-refCount value to "path" type.
| * | | 3479689 Stop memory corruption when shimmering 0-refCount value to "path" type.dgp2012-01-261-0/+3
| | | |
| * | | yank back debugging codebug_3475569dgp2012-01-261-6/+0
| | | |
| * | | merge to bugfixdgp2012-01-262-2/+11
| |\ \ \
| * | | | 3475569 Add value-sharing checks before calls that demand unshared arguments.dgp2012-01-241-6/+20
| | | | |
* | | | | * generic/tclOO.c (Tcl_CopyObjectInstance): [Bug 3474460]: Whendkf2012-01-251-1/+19
| | | | | | | | | | | | | | | | | | | | copying an object, make sure that the configuration of the variable resolver is also duplicated.
* | | | | Simplify the logic of setting the TCL_REG_NOTBOL flag.dgp2012-01-231-2/+5
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Simplify the logic of setting the TCL_REG_NOTBOL flag.dgp2012-01-231-2/+5
| |/ / /
* | | | [Frq 3473670]: Various Unicode-relatedjan.nijtmans2012-01-223-327/+989
|\ \ \ \ | |/ / /
| * | | [Frq 3473670]: Various Unicode-related speedups/robustnessjan.nijtmans2012-01-223-327/+989
| |\ \ \ | | | |/ | | |/|
| | * | [Frq 3473670]: Various Unicode-related speedups/robustnessjan.nijtmans2012-01-223-327/+989
| | |\ \
| | | * \ merge trunkrfe_3473670jan.nijtmans2012-01-226-161/+797
| | | |\ \ | | | |/ / | | |/| | | | | | | expand all unicode tables and tools to eventually handle the unicode chars > 0xffff (if UTF_MAX_CHAR > 3)
| | | * | rfe-3473670: Various Unicode-related speedups/robustnessjan.nijtmans2012-01-142-169/+199
| | | | |
* | | | | * generic/tclDictObj.c (DictExistsCmd): [Bug 3475264]: Ensure thatdkf2012-01-221-11/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | errors only ever happen when insufficient arguments are supplied, and not when a path doesn't exist or a dictionary is poorly formatted (the two cases can't be easily distinguished).
| * | | | * generic/tclDictObj.c (DictExistsCmd): [Bug 3475264]: Ensure thatdkf2012-01-221-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | errors only ever happen when insufficient arguments are supplied, and not when a path doesn't exist or a dictionary is poorly formatted (the two cases can't be easily distinguished).
* | | | | Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-213-1/+11
|\ \ \ \ \ | |/ / / /
| * | | | Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-213-1/+11
| |\ \ \ \ | | |/ / /
| | * | | [Bug-3474726] minGW Tcl_StatBuf not defined correctly in tcl.hjan.nijtmans2012-01-193-1/+11
| | | | |
* | | | | Prevent buffer read overflow. Thanks to "sebres" for the report and fixjan.nijtmans2012-01-211-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Prevent buffer read overflow. Thanks to "sebres" for the report and fix.jan.nijtmans2012-01-211-1/+1
| |\ \ \ \ | | |/ / /
| | * | | 3475667 Prevent buffer read overflow. Thanks to "sebres" for the report and fix.dgp2012-01-191-1/+1
| | |/ /
* | | | [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2012-01-092-68/+94
|\ \ \ \ | |/ / /