summaryrefslogtreecommitdiffstats
path: root/tests/dict.test
Commit message (Collapse)AuthorAgeFilesLines
* [cb042d294e] Improve consistency of [dict] wrong-args error messages.dkf2014-06-151-26/+26
|
* Make [dict replace] and [dict remove] guarantee result canonicality.dkf2014-06-151-11/+19
|
* Improved the error messages. dkf2014-06-071-10/+10
| | | | 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 bitdkf2014-06-041-0/+29
|
* [1b0266d8bb] Working towards ensuring that all dict operations are ↵dkf2014-06-031-0/+42
| | | | sufficiently strict.
* Line numbers wrong in compiled [dict with].dgp2013-09-191-0/+30
|
* Line numbers wrong in compiled [dict exists].dgp2013-09-191-0/+6
|
* Line numbers wrong in compiled [dict update].dgp2013-09-191-0/+6
|\
| * Line numbers wrong in compiled [dict update].dgp2013-09-191-0/+6
| |
* | Line numbers wrong in compiled [dict for].dgp2013-09-191-0/+6
|\ \ | |/
| * Line numbers wrong in compiled [dict for].dgp2013-09-191-0/+6
| |
* | Line numbers wrong in compiled [dict get].dgp2013-09-191-0/+6
|\ \ | |/
| * Line numbers wrong in compiled [dict get].dgp2013-09-191-0/+6
| |
* | Stop segfault due to OBOE in CompileWord() calls in [dict incr] compiler.dgp2013-09-191-0/+5
|\ \ | |/
| * Stop segfault due to OBOE in CompileWord() calls in [dict incr] compiler.dgp2013-09-191-0/+5
| |
* | Line numbers wrong in compiled [dict set].dgp2013-09-191-0/+6
|\ \ | |/
| * Line numbers wrong in compiled [dict set].dgp2013-09-191-0/+6
| |
| |
| \
*-. \ Stop segfault due to OBOE in CompileWord() calls in [dict lappend] compiler.dgp2013-09-191-0/+6
|\ \ \ | | |/
| | * Stop segfault due to OBOE in CompileWord() calls in [dict lappend] compiler.dgp2013-09-191-0/+6
| |/
| * [3487626] Backport fix for knownBug test dict-23.2.dgp2013-09-191-1/+1
| |
* | [3487626] knownBug tests dict-23.2 and dist-24.21 already fixed on trunk.dgp2013-09-191-2/+2
| |
* | More efficient instruction sequence for [dict for] with correct exception ↵dkf2013-06-061-0/+18
| | | | | | | | depth handling.
* | dup test namedgp2012-11-081-1/+1
| |
* | Added compilation of [dict create] and [dict merge].dkf2012-11-011-0/+48
| |
* | Added compilation of [dict unset]; the bytecode needed already existed anyway.dkf2012-10-241-0/+49
| |
* | ...and all the compilation and tests now work/passtip_votedkf2012-10-051-19/+35
| |
* | [Patch-3163961] Implementation of TIP #405 merged from private branch. ↵twylite2012-08-031-0/+246
| | | | | | | | Includes 'mapeach', 'dict map' and 'foreacha' commands, test suite (partial for 'foreacha') and man pages (except for 'foreacha').
* | [Bug 3527618]: Stabilize tests that use [info frame 0]dkf2012-05-171-4/+4
| |
* | * generic/tclCompCmds.c (TclCompileDictForCmd): [Bug 3487626]: Fixdkf2012-02-151-0/+51
|\ \ | |/ | | | | 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-0/+51
| | | | | | | | crash in compilation of [dict for] when its implementation command is used directly rather than through the ensemble.
* | * generic/tclDictObj.c (DictExistsCmd): [Bug 3475264]: Ensure thatdkf2012-01-221-3/+1
|\ \ | |/ | | | | | | 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 thatdkf2012-01-221-3/+1
| | | | | | | | | | 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/tclCompCmds.c (TclCompileDictWithCmd): Corrected handling ofdkf2011-10-091-0/+48
| | | | | | | | qualified names, and added spacial cases for empty bodies (used when [dict with] is just used for extracting variables).
* | Added some tests.dkf2011-10-051-0/+66
| |
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-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 causedgp2011-03-021-2/+0
| | | | | | more harm than good. Purged them.
| * [Backport] Also check the reverse path of dict->list EIAS violation.ferrieux2010-05-201-1/+2
| |
| * Backport of fix for [Bug 3004007], EIAS violation in list-dict conversions.ferrieux2010-05-191-1/+2
| |
| * [Bug 2874678]: Don't leak bignums in [dict incr]...dkf2009-10-081-13/+23
| |
| * Fix [Bug 2431847]dkf2008-12-151-1/+7
| |
| * Fix off-by-one error that caused crashes. Backport from HEAD.dkf2008-05-071-1/+4
| |
* | * generic/tclExecute.c (TEBCresume): [Bug 3079830]: Added invalidationdkf2010-10-021-1/+7
| | | | | | | | of string representations of dictionaries in some cases.
* | Also check the reverse path of dict->list EIAS violation.ferrieux2010-05-201-1/+2
| |
* | Add missing test for [Bug 3004007], fixed under the radar on 2010-02-24 ↵ferrieux2010-05-191-1/+2
| | | | | | | | (dkf): EIAS violation in list-dict conversions.
* | Fix some nasties with handling duplicate keys in list->dict->list conversions.dkf2010-02-241-3/+15
| |
* | General cleanliness improvements.dkf2009-10-291-255/+408
| |
* | [Bug 2874678]: Don't leak bignums in [dict incr]...dkf2009-10-081-15/+22
| |
* | Fi [Bug 2431847]dkf2008-12-151-1/+7
| |
* | Implement TIP#341.dkf2008-12-101-13/+19
| |
* | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-4/+4
| |