Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #12798 [backport] | Araq | 2019-12-04 | 1 | -0/+1 |
| | |||||
* | Discussion both in (#12678) | c-blake | 2019-11-20 | 1 | -31/+41 |
| | | | | | | | | | | | https://github.com/nim-lang/Nim/pull/12600 and in https://forum.nim-lang.org/t/5499 indicates that everyone is happy/happier with ``pop``. This just renames the brand new ``take``s to ``pop`` and installs inline aliases/wrappers to preserve ``Table.take`` and ``TableRef.take``. Update apis.rst to try to maintain consistency of remove-and-return procs. | ||||
* | fix #12519: introduce OrderedTable.take, CountTable.del, CountTable.take ↵ | Miran | 2019-11-08 | 1 | -4/+148 |
| | | | | | | | | | | | | (#12600) * add OrderedTable.take * add CountTable.del and CountTable.take * add .since pragma to the introduced public procs * add changelog entry [ci skip] | ||||
* | Fix word wrapping | Jjp137 | 2019-10-22 | 1 | -1/+2 |
| | |||||
* | Fix many broken links | Jjp137 | 2019-10-22 | 1 | -2/+2 |
| | | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. | ||||
* | use system.move instead of system.shallowCopy if the GC mode requires it | Andreas Rumpf | 2019-10-04 | 1 | -1/+1 |
| | |||||
* | fix #12200, cannot 'inc' CountTable by a negative value (#12208) | Miran | 2019-09-17 | 1 | -2/+5 |
| | | | | | | * fix #12200, cannot 'inc' CountTable by a negative value * use Positive | ||||
* | fixes a subtle tables.nim regression | Araq | 2019-09-05 | 1 | -32/+32 |
| | |||||
* | minor style changes | Araq | 2019-07-10 | 1 | -2/+2 |
| | |||||
* | make more parts of the stdlib compile with --styleCheck:error | Araq | 2019-07-10 | 1 | -1/+1 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -3/+3 |
| | | | | --styleCheck:error | ||||
* | [other] prettify collections (#11695) | Miran | 2019-07-09 | 1 | -27/+35 |
| | |||||
* | [bugfix] fix OrderedTable iterators (#11562) | Miran | 2019-06-22 | 1 | -5/+7 |
| | |||||
* | [bugfix] fix OrderedTable default initialization (#11549) | Miran | 2019-06-20 | 1 | -2/+0 |
| | |||||
* | make fullpaths the default in error messages and stack traces for mor… ↵ | Andreas Rumpf | 2019-06-05 | 1 | -1/+1 |
| | | | | | | | | | | | | (#11385) * make fullpaths the default in error messages and stack traces for more convenient development * split up -d:release into -d:release and -d:danger flags * workaround a Nim config parser bug * fixes an old nim config parser bug * make megatest green again * make nimpretty tests work again * make nimsuggest green | ||||
* | Workaround "move not found" exception in JS when using tables. (#11256) | Dominik Picheta | 2019-05-15 | 1 | -1/+4 |
| | |||||
* | CountTable: check for usages after sorting (#11189) | Miran | 2019-05-08 | 1 | -1/+10 |
| | |||||
* | tables: check for mutation when iterating (#11160) | Miran | 2019-05-04 | 1 | -42/+127 |
| | |||||
* | introduce temporary <//> for 'owned' to get this compile with 0.19 (#11145) | Andreas Rumpf | 2019-05-02 | 1 | -8/+8 |
| | | | | | | | | * introduce temporary <//> for 'owned' to get this compile with 0.19 * make newTable[string, owned Node]() compile (but it crashes) * make sink/owned parameters consistent * make actiontable test compile again * VM: support sytem.move; makes tests green | ||||
* | Initialized collections (#11094) | Miran | 2019-04-29 | 1 | -55/+204 |
| | | | | | | | | | | | | * tables: initialized by default * sets: initialized by default * DRY: extract shared functionality * add a changelog entry * fix errors * don't test include files * make it work for sharedtables * fix discovered bugs * add exhaustive tests | ||||
* | tables: fix link (#11090) [ci skip] | Jjp137 | 2019-04-23 | 1 | -1/+1 |
| | |||||
* | Improve tables docs for del/take (#11030) | Christopher Dunn | 2019-04-17 | 1 | -1/+5 |
| | | | | * Continuation of b40a637f * https://forum.nim-lang.org/t/4789 | ||||
* | faster CountTable sort(), optional SortOrder (#11010) | Andy Davidoff | 2019-04-16 | 1 | -27/+30 |
| | | | | | | | | | * use existing sort for CountTable, and add SortOrder options to CountTable, OrderedTable sort(s) * add some tests, runnables, etc. * fix runnable imports | ||||
* | documentation: remove author field [ci skip] | narimiran | 2019-01-17 | 1 | -2/+0 |
| | |||||
* | better docs: tables | narimiran | 2019-01-16 | 1 | -622/+2030 |
| | |||||
* | Fixes #10065 (#10260) | Arne Döring | 2019-01-14 | 1 | -54/+43 |
| | | | | CountTable now returns 0 instead of 'key not found' for get requests. | ||||
* | removes deprecated T/P types | Araq | 2018-11-16 | 1 | -7/+1 |
| | |||||
* | better docs for `tables` module (#9221) | Miran | 2018-10-09 | 1 | -176/+190 |
| | | | | | | * better docs for `tables` module * lower case for the first sentence in docs | ||||
* | make more tests green | Andreas Rumpf | 2018-08-14 | 1 | -1/+1 |
| | |||||
* | Clarify the docs for tables.del (#8134) | Yuriy Glukhov | 2018-06-27 | 1 | -4/+6 |
| | |||||
* | Merge pull request #7075 from lcrees/get_default | Dominik Picheta | 2018-03-29 | 1 | -13/+80 |
|\ | | | | | Add default argument to tables.getOrDefault | ||||
| * | Add default argument to 'tables.getOrDefault' | lcrees | 2018-01-13 | 1 | -13/+80 |
| | | |||||
* | | Fix toCountTable and newCountTable | konqoro | 2018-02-21 | 1 | -21/+20 |
|/ | |||||
* | Tables: toCountTable: Update docs. | Konstantin Molchanov | 2017-12-27 | 1 | -1/+2 |
| | |||||
* | Tables: make `toCountTable` actually count the elements of the input openArray. | Konstantin Molchanov | 2017-12-27 | 1 | -1/+1 |
| | |||||
* | Fix counttable smallest loop start (#6917) | GULPF | 2017-12-15 | 1 | -3/+3 |
| | | | | | | * Fix counttable smallest * Fix counttable smallest loop start | ||||
* | Improved collection-to-string behavior (#6825) | Fabian Keller | 2017-12-14 | 1 | -2/+2 |
| | |||||
* | Fix counttable smallest (#6912) | GULPF | 2017-12-13 | 1 | -2/+7 |
| | |||||
* | improve the docs for tables.add | Araq | 2017-12-12 | 1 | -0/+4 |
| | |||||
* | Fix #4366 (#6290) | Daniil Yarancev | 2017-09-02 | 1 | -1/+1 |
| | |||||
* | tables.nim: use proper spacing | Andreas Rumpf | 2017-08-31 | 1 | -5/+5 |
| | |||||
* | fixes #6250 (#6251) | David Krause | 2017-08-17 | 1 | -1/+15 |
| | |||||
* | fix orderedtable enlarge proc. (#5937) | Parashurama | 2017-06-05 | 1 | -2/+5 |
| | | | This fixes issue #5917 | ||||
* | Implement 'take' for Table and TableRef (#5773) | Ruslan Mustakov | 2017-05-04 | 1 | -11/+30 |
| | |||||
* | Minor: spelling correction in tables.nim (#5727) | Zach Smith | 2017-04-19 | 1 | -2/+2 |
| | |||||
* | fixes #5487 (#5494) | David Krause | 2017-03-07 | 1 | -15/+49 |
| | |||||
* | Fix for #5482, let OrderedTable accept multiple keys (#5485) | David Krause | 2017-03-05 | 1 | -1/+15 |
| | |||||
* | reenabled clear test, made clear working (#5323) | Arne Döring | 2017-02-02 | 1 | -2/+5 |
| | |||||
* | Fix description of CountTable's smallest proc | Paweł Świątkowski | 2016-12-11 | 1 | -2/+2 |
| | |||||
* | Corrected test case for #5057. | Yuriy Glukhov | 2016-11-27 | 1 | -3/+3 |
| |