summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Refactor TclScanElement() part of list parsing to take advantage of tablesdgp2012-03-073-27/+37
| | | | | constructed for the task of script parsing. Ought to speed generation of string representation of lists, though the effect is likely only noticeable on long lists made up primarily of simple elements (not needing quoting).
* Patch from the cygwin folksjan.nijtmans2012-03-041-0/+6
|\
| * Patch from the cygwin folksjan.nijtmans2012-03-041-0/+6
| |\
| | * Patch from the cygwin folksjan.nijtmans2012-03-041-0/+6
| | |
* | | (Tcl_SetByteArrayObj): Only zero out the memory block if it is not beingdkf2012-03-021-3/+6
| | | | | | | | | immediately overwritten. Thanks to Stuart Cassoff for spotting.
* | | oops, that's no utf-8 BOM ;-(jan.nijtmans2012-02-291-2/+2
|\ \ \ | |/ /
| * | oops, that's no utf-8 BOM ;-(jan.nijtmans2012-02-291-1/+1
| |\ \ | | |/
| | * oops, that's no utf-8 BOM ;-(jan.nijtmans2012-02-291-1/+1
| | |
* | | [Bug 3466099] BOM in Unicodejan.nijtmans2012-02-292-4/+36
|\ \ \ | |/ /
| * | [Bug 3466099] BOM in Unicodejan.nijtmans2012-02-292-3/+18
| |\ \ | | |/
| | * [Bug 3466099] BOM in Unicodejan.nijtmans2012-02-292-6/+20
| | |\
| | | * [Bug 3466099] BOM in Unicodejan.nijtmans2012-02-192-6/+14
| | |/
* | | [Bug 2233954] AIX: compile error, but don't do that for _WIN32 (doesn't work ↵jan.nijtmans2012-02-171-1/+1
|\ \ \ | |/ / | | | | | | in VS10)
| * | [Bug 2233954] AIX: compile error, but don't do that for _WIN32 (doesn't work ↵jan.nijtmans2012-02-171-1/+1
| | | | | | | | | | | | in VS10)
* | | Merged core-8-5-branch segfault fix (commits [39f6ebe301] and [a6aa5be5b7]).andreask2012-02-171-1/+2
|\ \ \ | |/ /
| * | Fix: Removed C99ism (in-block variable declaration) from commit [39f6ebe301] ↵andreask2012-02-171-1/+3
| | | | | | | | | | | | which prevents building with non-gcc compilers, notably AIX, HPUX, Solaris, MSVC6, possibly others.
| * | bug fix: avoid segfaulting by deleted interp in RecordByteCodeStatssebres2012-02-171-2/+1
| | |
* | | [Bug 2233954] AIX: compile errorjan.nijtmans2012-02-161-0/+3
|\ \ \ | |/ /
| * | [Bug 2233954] AIX: compile errorjan.nijtmans2012-02-161-0/+3
| | |
* | | * 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
| | | |