summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkjan.nijtmans2014-01-231-6/+10
|\
| * put the other definition of a trim set in the header file toodkf2013-12-301-6/+10
| |
* | merge trunkdgp2013-09-211-2/+1
|\ \ | |/
| * Fix 3 trivial (possible) errors, discovered by covertity.comjan.nijtmans2013-09-041-2/+1
| |
* | more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversionsjan.nijtmans2013-02-111-1/+1
| |
* | Merge trunk. jan.nijtmans2013-02-111-1/+1
|\ \ | |/ | | Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications
* | Restore panic check at and of the loop. Thanks! Don for noticing this.jan.nijtmans2013-01-091-1/+4
| |
* | Restore API compatibility with public Tcl_*Scan and Tcl_*Convert functions ↵jan.nijtmans2013-01-091-25/+7
| | | | | | | | | | (changes in private functions are OK) Increase LOCAL_SIZE to 64, and remove two Panic's which cannot occur any more as a result of the improvements.
* | The Tcl*(Scan|Convert)*Element() routines only need chars, not ints, todgp2013-01-081-16/+16
| | | | | | hold their flags. Reduce waste now that interface freedom permits it.
* | merge trunkjan.nijtmans2013-01-051-2/+2
|\ \ | |/
| * speling ficksdgp2013-01-031-2/+2
| |\
| | * speling ficksdgp2013-01-031-2/+2
| | |
| | * Remove surplus parensdgp2012-07-191-1/+1
| | |
* | | merge trunkjan.nijtmans2012-12-271-8/+10
|\ \ \ | |/ /
| * | Stop leaking allocated space when objifying a zero-length DString. [Bug ↵ferrieux2012-12-221-8/+10
| | | | | | | | | | | | 3598150] spotted by afredd.
| | |
| \ \
*-. \ \ Merge (selected bits of) novemdgp2012-11-261-34/+0
|\ \ \ \
| | * | | Removed functions marked deprecated or obsolete for a long time: ↵jan.nijtmans2012-11-261-34/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Tcl_Backslash, Tcl_EvalFile, Tcl_GlobalEvalObj, Tcl_GlobalEval, Tcl_EvalTokens. Remove Tcl_FindExecutable from stub table: It is needed by embedders, not extenders. Remove TclpGetDate, TclpGmtime, TclpLocaltime: it isn't use anywhere since the new clock implementation. Remove TclWinConvertWSAError, it's the same as TclWinConvertError.
* | | | WIP removing the maintenance of a string result in the Interp.dgp2012-11-171-71/+5
|\ \ \ \ | |/ / / |/| | | Still some head-scratching on what to do with tclStubLib.c.
| * | | merge trunkdgp2012-11-161-330/+462
| |\ \ \ | | |/ /
| * | | merge trunkdgp2012-07-191-5/+36
| |\ \ \
| * | | | Implement Tcl_DStringResult with call to TclDStringToObj.dgp2012-04-251-6/+1
| | | | |
| * | | | merge trunkdgp2012-04-251-0/+58
| |\ \ \ \
| * | | | | Clean version of changes; ifdef-freedkf2012-04-191-58/+1
| | | | | |
| * | | | | Experimental branch where the interp->result field and related are removeddgp2012-04-181-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | and all simplifications that makes possible are done. Seems this can at best be a Tcl 9 reform.
* | | | | | Burn the octal bridges. We're not goin' back.dgp2012-11-161-68/+0
| | | | | |
* | | | | | Merge trunk jan.nijtmans2012-11-161-25/+0
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | <p>Fix Windows build <p>Now usable with Thread's "novem" branch (3.0a1) <p>Remove some more deprecated stuff
* | | | | Minor changes to improve style (C89 declarations, consistent indentation,dkf2012-08-071-323/+480
| | | | | | | | | | | | | | | | | | | | clarification of #endifs, reduction of unnecessary casts, use of array syntax for reading array elements, etc.)
* | | | | converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-24/+16
| |_|/ / |/| | |
* | | | Fix mostly-harmless minor buffer overrun.dkf2012-07-161-2/+2
| | | |
* | | | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-3/+34
| |/ / |/| |
* | | * generic/tclUtil.c (TclDStringToObj): Added internal function to makedkf2012-04-251-0/+58
|/ / | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one.
* | Reduce amount of unreachable code. Refactor Win socket and load code to be lessdkf2012-04-051-11/+0
| | | | | | baroque in its internals.
* | Refactor TclScanElement() part of list parsing to take advantage of tablesdgp2012-03-071-15/+18
| | | | | | | | | | 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).
* | 3390638 Workaround broken solaris studio cc optimizer.dgp2011-09-131-1/+2
|\ \ | |/ | | Thanks to Wolfgang S. Kechel.
| * 3390638 Workaround broken solaris studio cc optimizer.dgp2011-09-131-1/+2
| |\ | | | | | | Thanks to Wolfgang S. Kechel.
| | * 3390638 Workaround broken solaris studio cc optimizer.dgp2011-09-131-1/+2
| | | | | | | | | Thanks to Wolfgang S. Kechel.
* | | 3371644 Repair failure to properly handle (length == -1) in TclConvertElement().dgp2011-07-191-3/+1
|\ \ \ | |/ /
| * | 3371644 Repair failure to properly handle (length == -1) in TclConvertElement().dgp2011-07-191-1/+1
| | |
* | | Fix [bug 3371644] -- crash on Tcl_ConvertElement with leading pound.ferrieux2011-07-191-1/+3
| | |
* | | Revised fix for bug 3309871dgp2011-06-011-2/+2
|\ \ \ | |/ /
| * | Revised fix for bug 3309871dgp2011-06-011-2/+2
| | |
* | | fix for [Bug 3309871]: Valgrind finds: invalid read in TclMaxListLength()jan.nijtmans2011-06-011-2/+2
|\ \ \ | |/ /
| * | fix for [Bug 3309871]: Valgrind finds: invalid read in TclMaxListLength()jan.nijtmans2011-06-011-2/+2
| | |
* | | Rewind from a refactoring that veered into the weeds.bug_3293874dgp2011-05-311-19/+4
|\ \ \
* | | | First draft of bug fix.dgp2011-05-111-2/+2
|/ / /
* | | New internal routines TclScanElement() and TclConvertElement().dgp2011-05-101-227/+722
|\ \ \ | |/ / | | | Rewritten guts of machinery to produce string rep of lists. [Bug 3173086]
| * | Completed patch with mucho comments. Merge 8.5.bug_3173086dgp2011-05-101-321/+744
| | |
| * | merge trunk + partial improvements to commentsdgp2011-03-071-40/+76
| | |
| * | Correct flaw in the rewrite handling &#91;list \\\\\}].dgp2011-03-031-1/+1
| | |
| * | Significant rewrite of the Tcl*(Scan|Convert)*Element() system, and revisionsdgp2011-03-031-183/+314
| | | | | | | | | | | | to the callers. Needs more work on comments, and testing to check for any performance impact in either direction. Fixes reported bug.