Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bugfix: aliases to generic types were not considered implicit generic parameters | Zahary Karadjov | 2018-06-16 | 2 | -0/+20 |
| | |||||
* | A minimal patch enabling the new typedesc and static types syntax | Zahary Karadjov | 2018-06-16 | 10 | -110/+228 |
| | |||||
* | Starting test recording the current state of the parser | Zahary Karadjov | 2018-06-16 | 1 | -0/+481 |
| | | | | | | | | | In the next commit, I'll introduce changes to the parser bringing consistent handling of all type modifiers (ref, ptr, var, static and type). The goal of this commit is to record precisely what is going to be changed (i.e. by allowing you to look at the diff). To preserve the diff, please don't squash upon merging. | ||||
* | stdlib work | Zahary Karadjov | 2018-06-16 | 3 | -9/+66 |
| | |||||
* | Merge pull request #8039 from yglukhov/proc-pragmas | Andreas Rumpf | 2018-06-16 | 3 | -66/+144 |
|\ | | | | | Fixed stacktrace/linetrace proc pragmas when appended by macro pragma | ||||
| * | Added more tests to toverflw | Yuriy Glukhov | 2018-06-15 | 1 | -6/+69 |
| | | |||||
| * | Fixed proto options | Yuriy Glukhov | 2018-06-15 | 1 | -0/+1 |
| | | |||||
| * | Fixed stacktrace/linetrace proc pragmas when appended by macro pragma | Yuriy Glukhov | 2018-06-14 | 2 | -60/+74 |
| | | |||||
* | | nimpretty: render and/or/notin/in properly | Andreas Rumpf | 2018-06-16 | 1 | -2/+9 |
| | | |||||
* | | nimpretty: first version that seems useful for others to test it | Andreas Rumpf | 2018-06-16 | 6 | -6/+239 |
| | | |||||
* | | Add MemMapFileStream. Fixes in memFiles. (#7944) | Dmitry Atamanov | 2018-06-14 | 5 | -23/+195 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add MemMapFileStream * Added tests * Fixed bug in memfiles (zero index for string) * Added flush to changelog * Attempt to fix Win's nuances * Fix attempt to fix * Continue... * And again... * Reworked tests (all for win on Win) * Fixes in flush (Win) * Replace fn vars to consts * Added the attempts parameter to the flush * Replace while to for * Move to memfiles * Use Natural instead of uint * Better error messages for append mode. Handle specific cases. | ||||
* | | Merge pull request #8021 from yglukhov/seq-lit | Andreas Rumpf | 2018-06-14 | 1 | -1/+1 |
|\ \ | | | | | | | Added NIM_STRLIT_FLAG to seq literals | ||||
| * | | Added NIM_STRLIT_FLAG to seq literals | Yuriy Glukhov | 2018-06-12 | 1 | -1/+1 |
| | | | |||||
* | | | document the 'pkg' and 'std' pseudo directories; closes #7250 | Araq | 2018-06-14 | 1 | -10/+29 |
| | | | |||||
* | | | implements pkg/ prefix to enforce searching for the module ignore the stdlib ↵ | Araq | 2018-06-14 | 1 | -18/+14 |
| | | | | | | | | | | | | paths; refs #7250 | ||||
* | | | RST hotfix: don't crash in rstnodeToRefname | Araq | 2018-06-14 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Merge pull request #7950 from Paalon/math-log | Andreas Rumpf | 2018-06-14 | 1 | -5/+15 |
|\ \ | | | | | | | Add log for base b of x | ||||
| * | | Fix a test | Koki Fushimi | 2018-06-14 | 1 | -1/+1 |
| | | | |||||
| * | | Use one same type for two parameters | Koki Fushimi | 2018-06-14 | 1 | -5/+1 |
| | | | |||||
| * | | Use concrete expression | Koki Fushimi | 2018-06-05 | 1 | -7/+6 |
| | | | |||||
| * | | Bug fix | Koki Fushimi | 2018-06-05 | 1 | -2/+3 |
| | | | |||||
| * | | Change to use log(x, base) | Koki Fushimi | 2018-06-05 | 1 | -3/+3 |
| | | | |||||
| * | | Broaden the argument types | Koki Fushimi | 2018-06-04 | 1 | -1/+6 |
| | | | |||||
| * | | Generalize and add test | Koki Fushimi | 2018-06-04 | 1 | -7/+14 |
| | | | |||||
| * | | Add log proc for base b of x | Koki Fushimi | 2018-06-04 | 1 | -1/+3 |
| | | | |||||
* | | | Merge pull request #8033 from FedericoCeratto/patch-9 | Andreas Rumpf | 2018-06-14 | 1 | -0/+2 |
|\ \ \ | | | | | | | | | Add hint on JSON serialization | ||||
| * | | | Update marshal.nim | Federico Ceratto | 2018-06-13 | 1 | -0/+1 |
| | | | | |||||
| * | | | Add hint on JSON serialization | Federico Ceratto | 2018-06-13 | 1 | -0/+1 |
|/ / / | |||||
* | | | Merge pull request #8030 from c-blake/devel | Andreas Rumpf | 2018-06-13 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | hotfix 3221ac094398492e09ea618638204793b0990eca broke gc:regions/aka … | ||||
| * | | | hotfix 3221ac094398492e09ea618638204793b0990eca broke gc:regions/aka gc:stack by | Charles Blake | 2018-06-13 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | underallocating for sequences of any type larger than 1 byte. This does the necessary multiply to restore basic functionality. | ||||
* | | | | Add parse bin int, fixes #8018 (#8020) | Vindaar | 2018-06-13 | 4 | -53/+111 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clarify `parseHexInt`, `parseOctInt` docstring and exception msgs * add `parseBinInt` based on `parseutil.parseBin` implementation Adds a `parseBinInt`, which parses a binary integer string and returns it as an integer. This is based on the implementation of `parseutil.parseBin`, removing the unnecessary parts. * add tests for all `parse(Hex|Oct|Bin)Int` procs * replace `parse*Int` proc impls by call to parseutil procs Replaces the `parse(Hex|Oct|Bin)Int` procedure implementation by calls to the `parseutil` procs, which receive a mutable argument. Has the main advantage that the empty string as well as a "prefix only" string, e.g. "0x" counts as an invalid integer. Also moves the `parseOctInt` proc further up in the file so that all `parse` procs are below one another. * replace `var L` by `let L` in `parse` procs There's no reason for the usage of `var` here. * add `maxLen` optional arg for `parseutil.parse(Oct|Bin)` Plus small change to test cases. * update changelog about `parse*Int` procs * fix `rejectParse` template in `tstrutils` * make sure only `s.len` chars are parsed, if `maxLen+start` > s.len Fixes a previous bug in `parseHex` (and now affected `parseOct` and `parseBin`), which allowed to set `start + maxLen` to be larger than the strings length. This resulted in an out of bounds access. * move `parse*Int` proc change to breaking changes, add double ` | ||||
* | | | Merge pull request #8027 from yglukhov/vm-fix | Andreas Rumpf | 2018-06-13 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Fixed uncaught exception in vm gen | ||||
| * | | | Fixed uncaught exception in vm gen | Yuriy Glukhov | 2018-06-13 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #8025 from krux02/remove-immediate | Dominik Picheta | 2018-06-13 | 1 | -2/+2 |
|\ \ \ \ | |/ / / |/| | | | fix #5930 | ||||
| * | | | fix #5930 | Arne Döring | 2018-06-13 | 1 | -2/+2 |
|/ / / | |||||
* | | | implements a --nep1:on switch to make the compiler enforce the naming ↵ | Andreas Rumpf | 2018-06-13 | 13 | -46/+58 |
| | | | | | | | | | | | | conventions outlined in NEP-1 | ||||
* | | | bugfix: allow 'export' in the VM | Andreas Rumpf | 2018-06-12 | 2 | -1/+2 |
| | | | |||||
* | | | Merge pull request #8019 from yglukhov/proc-stacktrace | Andreas Rumpf | 2018-06-12 | 3 | -2/+23 |
|\ \ \ | | | | | | | | | Allow stacktrace and linetrace pragmas on procs | ||||
| * | | | Allow stacktrace and linetrace pragmas on procs | Yuriy Glukhov | 2018-06-12 | 3 | -2/+23 |
| | |/ | |/| | |||||
* | | | Merge pull request #7981 from cooldome/Fix_-7980 | Andreas Rumpf | 2018-06-12 | 3 | -3/+34 |
|\ \ \ | |/ / |/| | | Fixes 7980 | ||||
| * | | style improvements | cooldome | 2018-06-12 | 2 | -3/+3 |
| | | | |||||
| * | | add comment | cooldome | 2018-06-12 | 1 | -0/+1 |
| | | | |||||
| * | | New approach | cooldome | 2018-06-12 | 3 | -32/+27 |
| | | | |||||
| * | | fixes 7980 | cooldome | 2018-06-06 | 2 | -21/+56 |
| | | | |||||
* | | | Merge pull request #8014 from yglukhov/fix-6803 | Andreas Rumpf | 2018-06-11 | 3 | -19/+129 |
|\ \ \ | | | | | | | | | Fixes #6803 | ||||
| * | | | Fixes #6803 | Yuriy Glukhov | 2018-06-11 | 3 | -19/+129 |
| | | | | |||||
* | | | | Correct field lookup in concept types | LemonBoy | 2018-06-12 | 2 | -1/+28 |
|/ / / | | | | | | | | | | Fixes #6770 | ||||
* | | | fixes yet another merge conflict | Araq | 2018-06-11 | 5 | -109/+4 |
|\ \ \ | |||||
| * \ \ | Merge pull request #8009 from yglukhov/remove-oldIterTransf | Andreas Rumpf | 2018-06-11 | 5 | -109/+4 |
| |\ \ \ | | | | | | | | | | | Removed oldIterTranf feature | ||||
| | * | | | Removed oldIterTranf feature | Yuriy Glukhov | 2018-06-10 | 5 | -109/+4 |
| | | | | |