summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* | Use the new TCL_ENCODING_CHAR_LIMIT flag to have the encoding system managedgp2014-12-231-4/+11
| | | | | | the max chars to read constraint.
* | merge trunkdgp2014-12-2312-236/+232
|\ \
| * | Use more suitable variable name pushers.dgp2014-12-232-13/+9
| | |
| * | Eliminate TclIsLocalScalar(). No callers left.dgp2014-12-232-51/+0
| | |
| * | Revise CompileEachloopCmd() to use LocalScalar() in place of TclIsLocalScalar().dgp2014-12-231-79/+40
| | |
| * | Convert the LocalScalar*() macros to rest on TclPushVarName rather than ondgp2014-12-222-4/+54
| | | | | | | | | TclIsLocalScalar().
| * | Use (interp == NULL) argument to TclPushVarName() to signal that no compilingdgp2014-12-221-3/+3
| | | | | | | | | is desired. Only a lookup of an index into the compiled variable table.
| * | More complete use of the TCL_NO_ELEMENT flag to suppress useless actions.dgp2014-12-221-3/+5
| | |
| * | [7c187a3773] Fix error in managing inStatePtr->inQueueTail value in thedgp2014-12-181-0/+3
| | | | | | | | | byte-moving optimized path of [chan copy]. Thanks to Benno.
| * | Rework the *FinalizeThread*() routines so that the quick exit preferencebug_af08e89777dgp2014-12-173-6/+14
| | | | | | | | | | | | is respected without need to run afoul of encoding finalizations. tests pass now. All changes are fully internal.
| * | Revise encoding finalization so that it does a more complete job of restoringdgp2014-12-171-3/+9
| | | | | | | | | | | | the pre-initialized state. This makes finalization errors more repeatable and cross-platform.
| * | Fix some gcc compiler warnings (probably cygwin-only)jan.nijtmans2014-12-081-20/+20
| |\ \ | | |/
| | * Fix some gcc compiler warnings (probably cygwin-only)jan.nijtmans2014-12-081-3/+3
| | |
| * | Ever since (Tcl)PushVarName() stopped making a recursive call to ↵dgp2014-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.
| | * 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.
| * | [d2ffcca163] Limit parsing results that are documented to accept only ASCII ↵dgp2014-12-053-44/+71
| |\ \ | | |/ | | | | | | chars to actually follow that constraint. This requires not trusting isalnum(.) and isalpha(.) to deliver portable identical results.
| | * 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
| | |\
| | | * [0c043a175] backport fix from trunk.dgp2014-12-031-1/+1
| | | |\ | | |_|/ | |/| |
| | * | Same issue in expr parser also tested and fixed.dgp2014-11-261-20/+12
| | | |
| | * | I like this patch better. Retain the byte orientation of the parser.dgp2014-11-261-17/+4
| | | |
| | * | One way to fix the parser of $-substitution accepting non-ASCII varnames.dgp2014-11-251-0/+3
| | |/
| * | fix var($) problem, bug [0c043a175] (thx dgp)Miguel Sofer2014-12-031-1/+1
| |\ \
| | * | test and fix (thx dgp)bug_0c043a175Miguel Sofer2014-12-031-1/+1
| | | |
| * | | [0dca3bfa8f] Strengthen validity checks on fast-path string comparison.dkf2014-12-031-3/+5
| |/ /
| * | Fix missing export of the "NewForeachInfoType" AuxData structure for ↵andreask2014-12-011-1/+2
| | | | | | | | | | | | tbcload/tclcompiler packages.
* | | merge trunkdgp2014-11-242-7/+22
|\ \ \ | |/ /
| * | [e087812465] Trim back operatorStrings array to just the entries that are ↵dgp2014-11-241-4/+2
| |\ \ | | |/ | | | | | | needed. Trims away the part of the array that was out of sync with the opcodes.
| | * [e087812465] Trim back operatorStrings array to just the entries that aredgp2014-11-241-4/+2
| | | | | | | | | needed. Trims away the part of the array that was out of sync with the opcodes.
| * | Fix [743338466549f09e3956d8a86e6f9a8030f227cb|7433384665]: socket error ↵jan.nijtmans2014-11-211-3/+20
| | | | | | | | | | | | encoding bug.
* | | merge trunkdgp2014-11-171-4/+4
|\ \ \ | |/ /
| * | Improve documentation on the use of com ports (remove references to Windows ↵jan.nijtmans2014-11-131-4/+4
| |\ \ | | |/ | | | | | | | | | 95, deprecate the use of postfix ':'). Allow lpt[5-9] just as com[5-9], and make sure that path normalization works as expected for ports > 4.
| | * Improve documentation on the use of com ports (remove references to Windows ↵jan.nijtmans2014-11-131-4/+4
| | | | | | | | | | | | | | | 95, deprecate the use of postfix ':'). Allow lpt[5-9] just as com[5-9], and make sure that path normalization works as expected for ports > 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.
* | Likely fix for channel mem leaks.core_8_6_3core_8_6_3_rcdgp2014-11-111-3/+15
| |
* | Merged latest trunk work (especially changes to eof handling) into the RC.andreask2014-11-064-58/+230
|\ \
| * \ merge iogt fixes.bug_5adc350683_86dgp2014-11-061-4/+11
| |\ \ | | |/
| | * fix failing testdgp2014-11-061-4/+11
| | |
| * | Reflected Transform channel fix. Be sure each EOF on the base channel getsdgp2014-11-051-3/+15
| | | | | | | | | | | | passed up to become an eof of the transform before continuing on to additional ReadRaw() from the base channel. This way we don't miss fleeting EOFs.
| * | merge trunkdgp2014-11-051-1/+1
| |\ \
| | * | [214cc0eb22] Restore [lappend $var] return value to the 8.6.1- behavior.dgp2014-11-051-1/+1
| | | | | | | | | | | | If this is going to change, lets not do it by accident.
| * | | Make sure reflected channels do not make a double call to Tcl_ReadRaw(),dgp2014-11-031-4/+5
| | | | | | | | | | | | with the unwarranted assumption that EOF is a permanent condition.
| * | | Same patch re-enabling read after EOF, but here applied to 8.6.dgp2014-11-032-50/+196
| |\ \ \ | | |/ / | |/| / | | |/ Likely additional changes needed in the other channel transforms new in 8.6.
| | * [5adc350683] Reworked the management of the EOF states to re-enable thedgp2014-11-031-43/+139
| | | | | | | | | | | | ability to read beyond EOF. Plenty of assert()s to keep thing from going off track again.
| | * Work in progress restoring ability to [read] after [eof] and get non-emptydgp2014-10-282-29/+79
| | | | | | | | | | | | | | | strings back in those cases where the channel has them to offer. Also working through all the implications of this possibility on Tcl's more exotic channel features, like stacking.
| | * merge 8.5dgp2014-10-181-6/+8
| | |\
| | * | missed a bumpdgp2014-10-131-1/+1
| | | |