Commit Graph

277 Commits

Author SHA1 Message Date
GULPF
cc24b6d4cb Sets enhancements, fixes #2467 (#6158) 2017-09-20 13:44:44 +02:00
superfunc
d1f6ddfd64 Add counterpart to containsOrIncl for excl (#6360) 2017-09-15 10:49:32 +02:00
Daniil Yarancev
6ce6883fad Fix #4366 (#6290) 2017-09-02 21:23:00 +02:00
Andreas Rumpf
6467e55ae8 tables.nim: use proper spacing 2017-08-31 13:42:22 +02:00
Jacek Sieka
22684370b0 remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00
David Krause
0e276be301 fixes #6250 (#6251) 2017-08-17 13:38:10 +02:00
Daniil Yarancev
28c530e7ca Fixes #6110 2017-08-12 12:35:35 +03:00
Andreas Rumpf
1539d9d95b optimized intsets to not allocate for the common cases 2017-07-25 10:01:37 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Parashurama
cd51628f57 fix orderedtable enlarge proc. (#5937)
This fixes issue #5917
2017-06-05 13:16:30 +02:00
Ruslan Mustakov
78315792d3 Implement 'take' for Table and TableRef (#5773) 2017-05-04 22:33:52 +02:00
Zach Smith
fa592f3aad Minor: spelling correction in tables.nim (#5727) 2017-04-19 00:35:44 +02:00
Dmitriy Fomichev
268a1f7cfd Deques compilation error fix (#5591) 2017-03-24 00:09:51 +01:00
GrundleTrundle
13ba0b557e Added clear() function for OrderedSet and HashSet. (#5545) 2017-03-16 08:06:24 +01:00
Mark Summerfield
3eff1b7765 Minor doc fix as per issue #5523 (#5533) 2017-03-14 15:06:06 +01:00
Andreas Rumpf
e32f08d05b sequtils: removed outdated note 2017-03-14 08:40:02 +01:00
David Krause
7dc8dcb581 fixes #5487 (#5494) 2017-03-07 16:58:38 +01:00
David Krause
643b7f8650 Fix for #5482, let OrderedTable accept multiple keys (#5485) 2017-03-05 20:17:43 +01:00
Ruslan Mustakov
a81247dcbe Add compute proc for SharedTable (#5385) 2017-03-02 15:31:30 +01:00
Dominik Picheta
f9cce32097 Various fixes to FutureStreams based on PR feedback. 2017-02-26 12:52:19 +01:00
Araq
1961e444c3 Merge branch 'devel' into feature/async-streams 2017-02-25 11:18:48 +01:00
Yuriy Glukhov
69fb2c6152 Fixed heapqueue.del for last elem (#5363) 2017-02-10 10:15:43 +01:00
Dominik Picheta
c4d5cc652f Work around issue with queues. Refs #4773. 2017-02-10 00:05:42 +01:00
Arne Döring
2c6c865b35 reenabled clear test, made clear working (#5323) 2017-02-02 23:06:13 +01:00
Yuriy Glukhov
c8dcf8993f Added heapqueue.del (#5289) 2017-01-27 08:22:17 +01:00
jlp765
704eae8495 re additions for buffer (cstring) RE matching (#5117)
* Replace expr with untyped

* Add buffer (cstring) related procs
Replace expr with untyped
Replace testing assert() procs with doAssert()

* make the string variants call the cstring variants in order to fight code size

* Remove redundant proc

* fix casting of cstring
add init of variables (identified by verbosity:3)

* Speed up - use pattern.e for exec()
inline some procs
2017-01-16 15:55:15 +01:00
Paweł Świątkowski
11db362d86 Fix description of CountTable's smallest proc 2016-12-11 19:05:39 +01:00
Yuriy Glukhov
54cbe0b743 More workarounds for #5098 2016-12-07 20:15:31 +02:00
Yuriy Glukhov
4423da465a Workaround for #5098 2016-12-05 23:44:55 +02:00
Andreas Rumpf
1a85c5231b Merge pull request #5044 from endragor/deques
Added deques module, deprecating queues
2016-11-28 10:29:05 +01:00
Yuriy Glukhov
10292a2626 Corrected test case for #5057. 2016-11-27 13:34:24 +02:00
Yuriy Glukhov
41205493c0 Fixes #5057 2016-11-26 12:43:36 +02:00
Ruslan Mustakov
2c146445bc Added deques module, deprecating queues 2016-11-24 19:11:51 +07:00
Felix Krause
93a998204c Fixes #5035 2016-11-18 23:42:15 +01:00
Felix Krause
af4c75a893 Fixes #4974 2016-10-31 20:46:50 +01:00
andri lim
a42e9b11a7 fixes #4940 2016-10-27 11:32:14 +07:00
Felix Krause
7476e4fcb2 Fixes #4946 2016-10-24 22:36:21 +02:00
Andreas Rumpf
236c2beead Merge pull request #4935 from flyx/tablefix
Table fixes. fixes #4901
2016-10-24 17:07:03 +02:00
Andreas Rumpf
c486e6377c fixes #4386 2016-10-23 17:43:38 +02:00
Felix Krause
73b0bb52bb Table fixes. fixes #4901
* added `==` for OrderedTable, CountTable and the *Ref types
 * added missing documentation to all `==` procs
 * fixed clear() for OrderedTables, which did not work because `var`
   does not work well with `|`
 * added tests
2016-10-23 11:21:52 +02:00
Araq
80ad3d3441 fixes #4844 2016-10-08 10:47:47 +02:00
coffeepots
9af584707d Allow compilation of sharedtables.nim
tableimpl uses {.oldimmediate.}, which is defined in system/inclrtl.
2016-09-09 11:53:17 +01:00
Andreas Rumpf
4077050a42 fixes a critical tables bug that caused 'enlarge' to crash after 'add' 2016-09-05 08:51:38 +02:00
Andreas Rumpf
1e134aed49 Merge pull request #4367 from kierdavis/4365-tables-clear
Improvements to tables.clear()
2016-08-25 16:46:53 +02:00
Ruslan Mustakov
91d3661522 Removed the use of .gensym pragma inside stdlib templates 2016-08-23 14:01:16 +07:00
Andreas Rumpf
8876ed23f1 expr and stmt are now deprecated 2016-07-30 16:34:42 +02:00
Andreas Rumpf
a8edf67a28 make nim bootstrap again for older versions 2016-07-30 00:50:38 +02:00
Andreas Rumpf
60b187513e stdlib and compiler don't use .immediate anymore 2016-07-29 23:51:01 +02:00
Andreas Rumpf
358f582939 Merge pull request #4463 from flyx/tables-equals-no-KeyError
`==` in tables should not raise KeyError
2016-07-19 00:16:58 +02:00
Andreas Rumpf
0834cd63d9 prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00