summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | | merge trunkdgp2014-11-171-4/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | Add to Tcl_ExternalToUtf() a capability to impose a limit on the numberdgp2014-11-151-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of chars produce in the encoding result. When the flag TCL_ENCODING_CHAR_LIMIT is set and dstCharsPtr is not NULL, then the initial value of *dstCharsPtr is taken as the max number of chars to produce. The limit is imposed in a way that does not require the assistance of the encoding's driver procs, but the flag is passed on to them in case they can do better when they know they should. No callers updated yet. No drivers updated yet. One difficulty is that this necessarily imposes a pre-translation limit, and the I/O system has a history of wanting to impose only a post-translation limit.
| * | | | | | | | | | | | | | | | | | | | With no padding needed for a terminating NUL, there no need for a distinctiondgp2014-11-151-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | between the dstNeeded and dstLimit values.
| * | | | | | | | | | | | | | | | | | | | Tcl_ExternalToUtf appends a terminating NUL to its encoded results.dgp2014-11-153-28/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Perhaps this is a welcome convenience for some callers, but not for Tcl's I/O system, which has no need for that. Added a new flag value TCL_ENCODING_NO_TERMINATE that callers can use to suppress this behavior. This means buffers don't require so much padding, and a tiny bit of processing is saved. Update I/O callers to use the feature.
* | | | | | | | | | | | | | | | | | | | | [9bad630c31] Prevent read outside of buffer bounds.dgp2015-07-151-1/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | [b1534b438b] Prevent read outside buffer boundaries.dgp2015-07-151-1/+12
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Correct handling of dictionaries in the background error processing code.dkf2015-06-301-10/+10
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Make sure that an input lying precisely 1/2 ULP between two floating point ↵dgp2015-06-241-8/+30
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | values is rounded to even.
* | | | | | | | | | | | | | | | | Member field which should not have been CONST, because it is dynamically ↵jan.nijtmans2015-06-231-1/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allocated
* | | | | | | | | | | | | | | | Upgrade all internal Unicode tables from Unicode 7.0 to Unicode 8.0jan.nijtmans2015-06-182-1044/+1090
| |_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Make tweak to the mem-debug tracking official. It is now again possible to ↵andreask2015-05-271-14/+33
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | use regular packages with a mem-debug core without inciting a panic.
| * | | | | | | | | | | | | | Minor compilation issue fix, make sure variable declaration (via macro) is ↵aku_mem_debug_allow_regularJoe Mistachkin2015-05-221-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first.
| * | | | | | | | | | | | | | Moved Tcl_Obj* objThreadMap release tracking to a location where regular ↵andreask2015-05-221-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages will call through, enabling their full tracking by the core, and thus avoiding the "expected to create new entry for object map" panic seen otherwise.
* | | | | | | | | | | | | | | Remove useless code, trying to sync win32 environment variables with ↵jan.nijtmans2015-05-251-99/+1
| |_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cygwin's. cygwin1.dll is responsible for doing that. Taken over from cygwin's tcl fork.
* | | | | | | | | | | | | | [894da183c8] Test and fix for regression in flushing blocked channels.dgp2015-04-291-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | [894da183c8] Fix and test for bug at the point it was introduced.bug_894da183c8dgp2015-04-291-0/+3
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | [879a0747be] Repair handling of incomplete multi-byte chars at the endsdgp2015-04-241-7/+54
| |_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of input buffers. Also properly reset input encoding flags when cycling through a fleeting EOF condition.
* | | | | | | | | | | | | Fix UtfToUtfProc() to remove the potential to read beyond end of input buffer.dgp2015-04-241-1/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | merge 8.5dgp2015-02-051-3/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Backport of channel mem leak fix that got missed before.dgp2015-02-051-3/+15
| | |_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | |
* | | | | | | | | | | | | Bump to version 8.5.18.dgp2015-02-051-2/+2
|/ / / / / / / / / / / /
* | | | | | | | | | | | Protect against extension variable resolvers that fail to play bydgp2015-01-291-1/+2
| |_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | the post-Var Reform rules.
* | | | | | | | | | | Fix [df08482b042a16007f256bfbaaacfbe0def01074|df08482b04]: Double defined ↵jan.nijtmans2015-01-263-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INFINITY in regguts.h
* | | | | | | | | | | One more (interp==NULL) shortcut.dgp2014-12-221-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Revise name and interface of new utility routines to match work alreadydgp2014-12-191-38/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in place on the trunk.
* | | | | | | | | | | New utility routine GetLocalScalarIndex() reduces common caller boilerplatebug_e711ffb458dgp2014-12-191-54/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (and fixes a bug!)
* | | | | | | | | | | Use interp==NULL argument to PushVarName to signal that only an index intodgp2014-12-191-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the CLT is sought, and no time should be wasted compiling other cases which the caller is just going to discard.
* | | | | | | | | | | With no callers left, TclIsLocalScalar() is removed.dgp2014-12-192-51/+0
| | | | | | | | | | |
* | | | | | | | | | | Replace TclIsLocalScalar() with PushVarNameWord() in [dict for] compiler.dgp2014-12-191-26/+27
| | | | | | | | | | |
* | | | | | | | | | | Narrow scope of numVars.dgp2014-12-191-1/+2
| | | | | | | | | | |
* | | | | | | | | | | A bit more tidying...dgp2014-12-181-6/+4
| | | | | | | | | | |
* | | | | | | | | | | No need for a loopIndex.dgp2014-12-181-7/+4
| | | | | | | | | | |
* | | | | | | | | | | No need for varvList any more.dgp2014-12-181-25/+2
| | | | | | | | | | |
* | | | | | | | | | | Fix up the token array passed to PushVarNameWord. Remove string list parse.dgp2014-12-181-33/+6
| | | | | | | | | | |
* | | | | | | | | | | Replace use of TclIsLocalScalar() and late setting of varIndexes with andgp2014-12-181-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | earlier setting of varIndexes using PushVarNameWord().
* | | | | | | | | | | Simplify creation and storage of temporariesdgp2014-12-181-17/+7
| | | | | | | | | | |
* | | | | | | | | | | With that shift, varcList is no longer needed.dgp2014-12-181-7/+1
| | | | | | | | | | |
* | | | | | | | | | | Shift the allocation of AuxData earlier in the [foreach] compiler.dgp2014-12-181-16/+25
| | | | | | | | | | |
* | | | | | | | | | | Similar conversion of the [dict append] compiler.dgp2014-12-111-16/+9
| | | | | | | | | | |
* | | | | | | | | | | Similar conversion for [dict update] compiler.dgp2014-12-111-30/+15
| | | | | | | | | | |
* | | | | | | | | | | Similar revisions to [dict incr] compiler.dgp2014-12-111-38/+22
| | | | | | | | | | |
* | | | | | | | | | | Get the word number right, even though it has no effect.dgp2014-12-111-1/+1
| | | | | | | | | | |
* | | | | | | | | | | [e711ffb458] Same conversion for [catch] compiler.dgp2014-12-111-36/+7
| | | | | | | | | | |
* | | | | | | | | | | [e711ffb458] Replace TclIsLocalScalar() with PushVarNameWord() in thedgp2014-12-091-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compiler for [dict set].
* | | | | | | | | | | [e711ffb458] Replace TclIsLocalScalar() (which does the wrong thing).... withdgp2014-12-092-14/+8
| |_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | PushVarNameWord() (which doesn't) in the compiler for [dict lappend].
* | | | | | | | | | Fix some gcc compiler warnings (probably cygwin-only)jan.nijtmans2014-12-081-3/+3
| |_|_|_|_|_|_|/ / |/| | | | | | | |
* | | | | | | | | Ever since (Tcl)PushVarName() stopped making a recursive call todgp2014-12-051-10/+1
| |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_ParseCommand() (in the pre-8.4.0 timeframe), there's been no need for special protections for brace-quoted varname words. A simple word is a simple word is a simple word.
* | | | | | | | Limit isalpha(.) calls in the expr parser to only apply to known ASCIIbug_d2ffcca163dgp2014-12-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | arguments to make the results portable.
* | | | | | | | Stop using isalnum(.). Its results are not portable. Replace with ourdgp2014-12-043-9/+54
| | | | | | | | | | | | | | | | | | | | | | | | own private routine TclIsBareword() that does exactly what we want.
* | | | | | | | merge 8.5dgp2014-12-041-1/+1
|\ \ \ \ \ \ \ \