Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'devel' of github.com:nim-lang/Nim into araq-devel | Araq | 2018-07-06 | 3 | -35/+124 |
|\ | |||||
| * | Use '\L' instead of '\n' in system for backwards compatibility. | Dominik Picheta | 2018-07-06 | 1 | -1/+1 |
| | | | | | | | | See https://github.com/nim-lang/packages/pull/785. | ||||
| * | Rewrite the memory management code for Nintendo Switch (#8169) | Joey | 2018-07-05 | 2 | -34/+123 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewrite the memory management code for Nintendo Switch The first implementation was naive and did not account for multiple memory allocations. However, this implementation may still be incomplete. Currently, when running applications, the code runs fine. When the application is exited via code (the end of the program is reached or quit() is called), the Switch will crash. Not sure why this happens, but I suspect it is from Nim memory allocations. I suspect the memory allocations because when I compile the helloworld application without any Nim allocations (just C function calls) and use `--gc:none` as a compile option, the application exits fine. | ||||
| * | Revert "Test case for #5626 (#8204)" (#8206) | genotrance | 2018-07-05 | 1 | -27/+0 |
| | | | | | | This reverts commit c7cc93463233cba085db1f36746355848a27ae4d. | ||||
| * | Test case for #5626 (#8204) | genotrance | 2018-07-03 | 1 | -0/+27 |
| | | |||||
* | | make tmemfile2 work again | Araq | 2018-07-06 | 3 | -3/+6 |
| | | |||||
* | | make test green for OSX | Andreas Rumpf | 2018-07-06 | 1 | -2/+5 |
| | | |||||
* | | make concepts tests green again | Andreas Rumpf | 2018-07-06 | 2 | -12/+12 |
| | | |||||
* | | make tests green again | Andreas Rumpf | 2018-07-05 | 13 | -17/+18 |
| | | |||||
* | | make tests green again | Andreas Rumpf | 2018-07-05 | 31 | -55/+61 |
| | | |||||
* | | turn destructors into finalizers | Andreas Rumpf | 2018-07-05 | 3 | -6/+40 |
| | | |||||
* | | restore deprecated PNimrodNode in order to make the CIs happy | Andreas Rumpf | 2018-07-05 | 1 | -0/+2 |
| | | |||||
* | | enable destructors without the --newruntime switch | Andreas Rumpf | 2018-07-04 | 3 | -16/+4 |
| | | |||||
* | | code cleanup: remove newScopeForIf switch | Andreas Rumpf | 2018-07-04 | 5 | -78/+4 |
| | | |||||
* | | Merge branch 'devel' into araq-devel | Andreas Rumpf | 2018-07-04 | 16 | -43/+151 |
|\| | |||||
| * | Error out if vararg match isn't an exact one (#8186) | LemonBoy | 2018-07-03 | 2 | -1/+22 |
| | | | | | | Fixes #8172 | ||||
| * | simplify typetraits.nim test (#8193) | Timothee Cour | 2018-07-03 | 1 | -6/+1 |
| | | |||||
| * | Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178) | Vindaar | 2018-07-03 | 7 | -33/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * deprecate `0c`, `0C` prefix for octal literals Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for octal literals to bring the literals in line with the behavior of `parseOct` from parseutils. * add `msgKind` arg to `lexMessageLitNum` for deprecation messages * change literal tests to check all valid integer literals Also adds the `tinvaligintegerlit3` test to test for the (still) invalid `0O` prefix. | ||||
| * | Test case for #6281 (#8190) | genotrance | 2018-07-02 | 1 | -0/+9 |
| | | |||||
| * | Merge pull request #8187 from zargot/bugfix/asyncftpclient | Dominik Picheta | 2018-07-02 | 1 | -0/+1 |
| |\ | | | | | | | asyncftpclient: add missing file.close to retrFile | ||||
| | * | asyncftpclient: add missing file.close to retrFile | zargot | 2018-07-02 | 1 | -0/+1 |
| |/ | |||||
| * | Fix os.unixToNativePath proc returns wrong result(#8179) (#8181) | Tomohiro | 2018-07-02 | 2 | -1/+42 |
| | | | | | | | | | | | | * Fix os.unixToNativePath proc returns wrong result(#8179) * Add tests for unixToNativePath | ||||
| * | Fix crash with static and anonymous procs (#8171) | LemonBoy | 2018-07-02 | 2 | -1/+10 |
| | | | | | | Fixes #6077 | ||||
| * | Fixed #8173 (#8175) | Tomohiro | 2018-07-02 | 1 | -1/+4 |
| | | |||||
* | | Merge branch 'devel' into araq-devel | Andreas Rumpf | 2018-07-01 | 18 | -64/+175 |
|\| | |||||
| * | Minor changes to discardable handling (#8155) | LemonBoy | 2018-07-01 | 3 | -21/+17 |
| | | |||||
| * | Unexport times.stringifyUnit (#8168) | Oscar Nihlgård | 2018-07-01 | 1 | -8/+6 |
| | | |||||
| * | execCmdEx stderr redirection (#8162) | Timothee Cour | 2018-07-01 | 1 | -3/+1 |
| | | |||||
| * | Fix use of custom pragmas in generic procs (#8165) | LemonBoy | 2018-07-01 | 2 | -2/+11 |
| | | | | | | Fixes #7626 | ||||
| * | Fix constant folding of len() with concept type (#8143) | LemonBoy | 2018-06-30 | 2 | -6/+18 |
| | | | | | | Fixes #7952 | ||||
| * | Fix vm regression (#8163) | Oscar Nihlgård | 2018-06-30 | 2 | -0/+20 |
| | | |||||
| * | Fixes #6689 (#8135) | Oscar Nihlgård | 2018-06-30 | 2 | -3/+24 |
| | | |||||
| * | Check the RHS when building a set (#8159) | LemonBoy | 2018-06-30 | 2 | -1/+7 |
| | | | | | | Fixes #2669 | ||||
| * | fix #8129 by calling `semExpr` in `semIs` if node is `strLit` (#8130) | Vindaar | 2018-06-29 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * call `semExpr` in `semIs` if node is `strLit`, fixes #8129 In case the second son of the node in `semIs` is of kind `strLit`, we now call `semExpr` to set the `typ` field of that node. Also removes the `t2 != tyTypeDesc` check in `isOpImpl`, since the kind of `n[2]` is already assertet with the `internalAssert`. * reintroduce check for `t2.kind != tyTypeDesc` to fix test case The `internalAssert` in the `isOpImpl` doesn't check `n.sons[2].typ.kind` as I previously read, but rather `n.sons[2].kind`. Therefore the check for `tyTypeDesc` here is useful. Otherwise the last test case in `isopr.nim` fails. Also removes the flag `efDetermineType` from the call to `semExpr`. | ||||
| * | VM regression fixes (#8146) | Oscar Nihlgård | 2018-06-29 | 2 | -2/+34 |
| | | |||||
| * | Fix codegen for mInSet magic and empty sets (#8140) | LemonBoy | 2018-06-29 | 2 | -13/+24 |
| | | | | | | Fixes #8041 | ||||
| * | Fixes #8100 (#8101) | Oscar Nihlgård | 2018-06-29 | 1 | -1/+6 |
| | | |||||
| * | Update nre.nim (#8147) | Timothee Cour | 2018-06-29 | 1 | -4/+4 |
| | | |||||
| * | improve error message if literal ends with an underscore (#8114) | Vindaar | 2018-06-28 | 1 | -1/+2 |
| | | |||||
* | | gc_common: minor reformating | Andreas Rumpf | 2018-07-01 | 1 | -2/+2 |
| | | |||||
* | | codgen refactoring: prepare for alternative string/seq implementations | Andreas Rumpf | 2018-06-29 | 5 | -21/+29 |
| | | |||||
* | | system.nim: cleanup the formatting | Andreas Rumpf | 2018-06-29 | 1 | -194/+194 |
| | | |||||
* | | system.nim: remove deprecated symbols | Andreas Rumpf | 2018-06-28 | 3 | -92/+2 |
|/ | |||||
* | Fix template codegen with static parameters (#8110) | LemonBoy | 2018-06-27 | 2 | -9/+17 |
| | | | | | | | | * Fix template codegen with static parameters Fixes #7477 * Move the test case to tstaticimportcpp | ||||
* | Clarify the docs for tables.del (#8134) | Yuriy Glukhov | 2018-06-27 | 1 | -4/+6 |
| | |||||
* | Replace NotString with typeclass in jsffi (#8128) | hlaaf | 2018-06-27 | 1 | -4/+2 |
| | |||||
* | Return an error symbol as macro output if needed (#8116) | LemonBoy | 2018-06-27 | 2 | -1/+14 |
| | | | | | | Return an error symbol if the macro output has no type and a typedesc is expected. Fixes #7454 | ||||
* | Reject ptr/ref void types (#8127) | LemonBoy | 2018-06-27 | 2 | -0/+10 |
| | | | | | Do this during the semantic pass to avoid tripping the following passes. Fixes #6454 | ||||
* | Clarify use of special `:` for passing a block of stmts to template (#8133) | Kaushal Modi | 2018-06-27 | 1 | -5/+5 |
| | | | Fixes https://github.com/nim-lang/Nim/issues/8131. | ||||
* | Reject enums with holes when computedGoto is used (#8132) | LemonBoy | 2018-06-27 | 2 | -0/+18 |
| | | | Fixes #7699 |