Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add compute proc for SharedTable (#5385) | Ruslan Mustakov | 2017-03-02 | 2 | -3/+52 |
| | |||||
* | Various fixes to FutureStreams based on PR feedback. | Dominik Picheta | 2017-02-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into feature/async-streams | Araq | 2017-02-25 | 1 | -10/+31 |
|\ | |||||
| * | Fixed heapqueue.del for last elem (#5363) | Yuriy Glukhov | 2017-02-10 | 1 | -10/+31 |
| | | |||||
* | | Work around issue with queues. Refs #4773. | Dominik Picheta | 2017-02-10 | 1 | -1/+1 |
|/ | |||||
* | reenabled clear test, made clear working (#5323) | Arne Döring | 2017-02-02 | 1 | -2/+5 |
| | |||||
* | Added heapqueue.del (#5289) | Yuriy Glukhov | 2017-01-27 | 1 | -11/+35 |
| | |||||
* | re additions for buffer (cstring) RE matching (#5117) | jlp765 | 2017-01-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix description of CountTable's smallest proc | Paweł Świątkowski | 2016-12-11 | 1 | -2/+2 |
| | |||||
* | More workarounds for #5098 | Yuriy Glukhov | 2016-12-07 | 3 | -3/+11 |
| | |||||
* | Workaround for #5098 | Yuriy Glukhov | 2016-12-05 | 1 | -4/+3 |
| | |||||
* | Merge pull request #5044 from endragor/deques | Andreas Rumpf | 2016-11-28 | 2 | -1/+269 |
|\ | | | | | Added deques module, deprecating queues | ||||
| * | Added deques module, deprecating queues | Ruslan Mustakov | 2016-11-24 | 2 | -1/+269 |
| | | |||||
* | | Corrected test case for #5057. | Yuriy Glukhov | 2016-11-27 | 1 | -3/+3 |
| | | |||||
* | | Fixes #5057 | Yuriy Glukhov | 2016-11-26 | 1 | -12/+28 |
|/ | |||||
* | Fixes #5035 | Felix Krause | 2016-11-18 | 2 | -14/+13 |
| | |||||
* | Fixes #4974 | Felix Krause | 2016-10-31 | 1 | -9/+15 |
| | |||||
* | fixes #4940 | andri lim | 2016-10-27 | 1 | -1/+1 |
| | |||||
* | Fixes #4946 | Felix Krause | 2016-10-24 | 1 | -0/+1 |
| | |||||
* | Merge pull request #4935 from flyx/tablefix | Andreas Rumpf | 2016-10-24 | 1 | -4/+37 |
|\ | | | | | Table fixes. fixes #4901 | ||||
| * | Table fixes. fixes #4901 | Felix Krause | 2016-10-23 | 1 | -4/+37 |
| | | | | | | | | | | | | | | | | * 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 | ||||
* | | fixes #4386 | Andreas Rumpf | 2016-10-23 | 1 | -2/+2 |
|/ | |||||
* | fixes #4844 | Araq | 2016-10-08 | 1 | -1/+5 |
| | |||||
* | Allow compilation of sharedtables.nim | coffeepots | 2016-09-09 | 1 | -0/+2 |
| | | | tableimpl uses {.oldimmediate.}, which is defined in system/inclrtl. | ||||
* | fixes a critical tables bug that caused 'enlarge' to crash after 'add' | Andreas Rumpf | 2016-09-05 | 2 | -11/+17 |
| | |||||
* | Merge pull request #4367 from kierdavis/4365-tables-clear | Andreas Rumpf | 2016-08-25 | 2 | -4/+5 |
|\ | | | | | Improvements to tables.clear() | ||||
| * | Add a fix for clear() on non-ref types by adding a missing 'var' annotation ↵ | Kier Davis | 2016-07-09 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | to the type signature However, this fix won't take effect until a compiler bug (#4448) is fixed. Until then, the codebase functions identically to how it did before this commit (calls to clear() fail to compile for Table/OrderedTable/CountTable as the argument is immutable). | ||||
| * | Fix clear() on CountTable | Kier Davis | 2016-07-09 | 1 | -1/+2 |
| | | | | | | | | | | | | The record tuples used in CountData.data don't contain an 'hcode' member, unlike Table and OrderedTable, causing the existing clearImpl() implementation to break when attempting to assign to t.data[i].hcode. | ||||
* | | Removed the use of .gensym pragma inside stdlib templates | Ruslan Mustakov | 2016-08-23 | 1 | -8/+8 |
| | | |||||
* | | expr and stmt are now deprecated | Andreas Rumpf | 2016-07-30 | 1 | -2/+2 |
| | | |||||
* | | make nim bootstrap again for older versions | Andreas Rumpf | 2016-07-30 | 3 | -5/+7 |
| | | |||||
* | | stdlib and compiler don't use .immediate anymore | Andreas Rumpf | 2016-07-29 | 4 | -29/+29 |
| | | |||||
* | | Merge pull request #4463 from flyx/tables-equals-no-KeyError | Andreas Rumpf | 2016-07-19 | 1 | -5/+4 |
|\ \ | | | | | | | `==` in tables should not raise KeyError | ||||
| * | | Use getOrDefault for tables.`==` | Felix Krause | 2016-07-08 | 1 | -7/+5 |
| | | | |||||
| * | | `==` in tables should not raise KeyError | Felix Krause | 2016-07-07 | 1 | -2/+3 |
| |/ | | | | | | | | | | | * With previous code, the compiler deduced that equalsImpl may raise a KeyError. While this could only actually happen in a nasty multi-threaded environment, I fixed the code so that it will never happen. | ||||
* | | prepare Nim codebase for upcoming parser changes | Andreas Rumpf | 2016-07-15 | 1 | -1/+1 |
| | | |||||
* | | use table literal syntax | Axel Pahl | 2016-07-12 | 1 | -2/+2 |
| | | |||||
* | | explain difference between Table and TableRef in tables.nim | Axel Pahl | 2016-07-12 | 1 | -0/+33 |
| | | |||||
* | | Fix #4422: Reset queue element on pop. Prevent NimVM confusion. Help GC. | Matthew Baulch | 2016-07-11 | 1 | -0/+2 |
|/ | |||||
* | Update sets examples so they work again. | Matthew Baulch | 2016-07-06 | 1 | -3/+3 |
| | |||||
* | Merge pull request #4344 from ReneSac/queues | Andreas Rumpf | 2016-06-19 | 1 | -33/+184 |
|\ | | | | | Enchanced random access support for queues among other changes | ||||
| * | Remove high() and low() procs from queues module | ReneSac | 2016-06-16 | 1 | -13/+2 |
| | | | | | | | | | | Just in case as they are said not overloadable. No deprecation because this is during a PR: those procs didn't exist before. Also update comment due to failed optimization attempt using copyMem() for POD datatypes. | ||||
| * | Fixes for things pointed by Araq on the PR | ReneSac | 2016-06-16 | 1 | -27/+18 |
| | | |||||
| * | Improved the documentation and miscelaneous | ReneSac | 2016-06-15 | 1 | -33/+102 |
| | | | | | | | | | | | | | | | | | | Better bounds checking. Tried to make it and documentation comply with the conflicting style guides. Added example of usage at the top of the module as well as warnings on usage. Also fix the back() and internal englishOrdinal() proc from previous commit. Added {.discardable.} pragma for .pop(), when calling only for it's side effects. Sprinkled some unlikely() for optimization. Some new tests reflecting those changes. | ||||
| * | Enchanced random access support for queues | ReneSac | 2016-06-12 | 1 | -24/+126 |
| | | | | | | | | | | | | Now queues support indexing, front() and back() operations and pairs iteration. Also modernized some of the code to use newer Nim features. Added the "add()" alias to "enqueue()", per nim's conventions (also fits better with pop()) | ||||
* | | attempt to fix a critical memory leak in Nim's collections | Andreas Rumpf | 2016-06-15 | 2 | -0/+12 |
| | | |||||
* | | Implement clear() for CountTableRef. Fixes #4325. | Kier Davis | 2016-06-13 | 1 | -1/+1 |
|/ | |||||
* | Implements tables.clear. | Dominik Picheta | 2016-06-02 | 2 | -5/+34 |
| | |||||
* | moved random procs from math to its own module (breaking change) | Andreas Rumpf | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | Introduce template withValue() for tables.nim too. | cheatfate | 2016-05-27 | 1 | -0/+45 |
| |