Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIP | dgp | 2016-10-28 | 1 | -2/+2 |
| | |||||
* | revise [dict append] to make use of common [string cat] engine. | dgp | 2016-10-28 | 1 | -6/+24 |
| | |||||
* | Add optimization to [dict append]. | dgp | 2016-10-28 | 1 | -8/+17 |
| | |||||
* | Simplify all the Tcl_NRPostProc declarations. | dgp | 2016-07-06 | 1 | -12/+6 |
| | |||||
* | typo in comment. Eliminate unnecessary end-of-line spacing. | jan.nijtmans | 2015-10-19 | 1 | -2/+2 |
| | |||||
* | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -1/+1 |
|\ | |||||
| * | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -1/+1 |
| | | |||||
* | | Suppress valgrind warnings about uninitialized values. | dgp | 2014-07-11 | 1 | -0/+4 |
| | | |||||
* | | [cb042d294e] Improve consistency of [dict] wrong-args error messages. | dkf | 2014-06-15 | 1 | -10/+10 |
| | | |||||
* | | Some more cleaning upbug_1b0266d8bb | dkf | 2014-06-15 | 1 | -36/+44 |
| | | |||||
* | | Make [dict replace] and [dict remove] guarantee result canonicality. | dkf | 2014-06-15 | 1 | -84/+65 |
| | | |||||
* | | Improved the error messages. | dkf | 2014-06-07 | 1 | -9/+5 |
| | | | | | | | | We do not want parsing an invalid dictionary to give errors about lists! As compensation, we get greater precision in the errorcode. | ||||
* | | more tests, cleaning up the code a bit | dkf | 2014-06-04 | 1 | -16/+13 |
| | | |||||
* | | [1b0266d8bb] Working towards ensuring that all dict operations are ↵ | dkf | 2014-06-03 | 1 | -25/+21 |
| | | | | | | | | sufficiently strict. | ||||
* | | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -7/+7 |
| | | |||||
* | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -22/+20 |
|\ \ | |/ | |||||
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -22/+20 |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | ||||
* | | Add super-simple compiler to many ensemble subcommands to allow better code | dkf | 2013-01-04 | 1 | -6/+6 |
| | | | | | | | | | | generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job. | ||||
* | | Added compilation of [dict create] and [dict merge]. | dkf | 2012-11-01 | 1 | -19/+2 |
| | | |||||
* | | Added [dict exists] compilation; implementation is 95% shared with [dict get]. | dkf | 2012-10-30 | 1 | -1/+18 |
| | | |||||
* | | Added compilation of [dict unset]; the bytecode needed already existed anyway. | dkf | 2012-10-24 | 1 | -1/+1 |
| | | |||||
* | | merge trunktip_405_impl_td | dkf | 2012-10-16 | 1 | -0/+1 |
|\ \ | |||||
| * \ | Bug 3576509: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵ | jan.nijtmans | 2012-10-14 | 1 | -0/+1 |
| |\ \ | | |/ | | | | | | | source code. | ||||
| | * | Bug 357650: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵ | jan.nijtmans | 2012-10-14 | 1 | -0/+1 |
| | | | | | | | | | | | | source code. | ||||
| | * | some formatting (*.decls) | jan.nijtmans | 2012-04-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | move up #undef, for macro which is conflicting with later stuff. remove some unused cygwin-related code some minor gcc warnings | ||||
* | | | ...and all the compilation and tests now work/passtip_vote | dkf | 2012-10-05 | 1 | -1/+2 |
| | | | |||||
* | | | adjusted non-compiled implementation of [dict map] to match TIP | dkf | 2012-10-05 | 1 | -59/+247 |
| | | | |||||
* | | | merge trunk | dkf | 2012-09-04 | 1 | -16/+23 |
|\ \ \ | |/ / | |||||
| * | | converting to using Tcl_Obj API for error message generation; part done | dkf | 2012-08-03 | 1 | -16/+23 |
| | | | |||||
* | | | [Patch-3163961] Implementation of TIP #405 merged from private branch. ↵ | twylite | 2012-08-03 | 1 | -11/+56 |
|/ / | | | | | | | Includes 'mapeach', 'dict map' and 'foreacha' commands, test suite (partial for 'foreacha') and man pages (except for 'foreacha'). | ||||
* | | * generic/tclDictObj.c (DictExistsCmd): [Bug 3475264]: Ensure that | dkf | 2012-01-22 | 1 | -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 that | dkf | 2012-01-22 | 1 | -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). | ||||
* | | Added support for having the dict var itself referenced by LVT index. | dkf | 2011-10-03 | 1 | -9/+34 |
| | | |||||
* | | Experimental compilation of the [dict with] subcommand. No tests yet, and not | dkf | 2011-10-02 | 1 | -64/+149 |
| | | | | | | | | yet certain that the added bytecode opcodes are correct; evaluation is still needed (but the test suite does pass...) | ||||
* | | New internal routines TclScanElement() and TclConvertElement(). | dgp | 2011-05-10 | 1 | -21/+37 |
|\ \ | |/ | | | Rewritten guts of machinery to produce string rep of lists. [Bug 3173086] | ||||
| * | Completed patch with mucho comments. Merge 8.5.bug_3173086 | dgp | 2011-05-10 | 1 | -123/+69 |
| | | |||||
| * | Significant rewrite of the Tcl*(Scan|Convert)*Element() system, and revisions | dgp | 2011-03-03 | 1 | -21/+37 |
| | | | | | | | | to the callers. Needs more work on comments, and testing to check for any performance impact in either direction. Fixes reported bug. | ||||
* | | merge 8.5 | dgp | 2011-05-03 | 1 | -127/+65 |
|\ \ | |||||
| * | | Tighten SetDictFromAny(). | dgp | 2011-05-03 | 1 | -121/+64 |
| | | | |||||
* | | | Revised TclFindElement() interface. | dgp | 2011-05-02 | 1 | -5/+7 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly. Tests for expanded literals quoting detection. | ||||
| * | | Revised TclFindElement() interface. | dgp | 2011-05-02 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly. | ||||
| * | | Backport fix for [Bug 2857044]. | dgp | 2011-04-27 | 1 | -0/+1 |
| |/ | |||||
* | | Better error-message in case of errors related to setting a variable | jan.nijtmans | 2011-04-04 | 1 | -16/+4 |
| | | |||||
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -14/+14 |
| | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. | ||||
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 |
|\ \ | |/ | | | cause more harm than good. Purged them (except in zlib files). | ||||
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 |
| | | | | | | more harm than good. Purged them. | ||||
| * | Backport of fix for [Bug 3004007], EIAS violation in list-dict conversions. | ferrieux | 2010-05-19 | 1 | -1/+9 |
| | | |||||
| * | [Bug 2874678]: Don't leak bignums in [dict incr]... | dkf | 2009-10-08 | 1 | -1/+7 |
| | | |||||
| * | Corrected twiddling in internals of dictionaries so that literals can't get | dkf | 2009-01-06 | 1 | -2/+3 |
| | | | | | | | | destroyed. |