summaryrefslogtreecommitdiffstats
path: root/tests/dict.test
Commit message (Collapse)AuthorAgeFilesLines
* Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-1/+1
| | | | whenever reasonable.
* simplify check for ::tcltest namespace in testcasesjan.nijtmans2020-07-161-1/+1
|
* duplicate test namesdgp2019-05-011-2/+2
|
* Compilation for [dict getwithdefault].dkf2019-04-181-0/+49
|
* Add [dict getdef] aliasdkf2019-04-151-9/+37
|
* Add testsdkf2019-04-011-0/+28
|
* Request the tcltest version that provides the testing facilities used.dgp2018-10-241-1/+1
|
* Updated tests to exercise new feature.pspjuth2018-10-221-10/+2
|
* [d553228d9f] Stop crashes in [dict update] with low refcount dictionaries.dkf2016-06-231-0/+7
|
* [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/passdkf2012-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
| |