summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Fix comparison of tyGenericBody in typerel (#8045)LemonBoy2018-07-072-1/+20
| | | | | | As shown in #7734 and #7733 the logic in typerel fails to determine that `type Foo` and `type Foo` are indeed equal. Fixes #7734
* Merge pull request #8239 from mratsim/patch-1Dominik Picheta2018-07-071-0/+2
|\ | | | | Put back deprecation path for SomeReal
| * Put back deprecation path for SomeRealMamy Ratsimbazafy2018-07-071-0/+2
|/ | | was wrongly deleted in https://github.com/nim-lang/Nim/commit/c7298561c199255facc562402700322360408179
* Merge pull request #6587 from FedericoCeratto/normalizePathDominik Picheta2018-07-072-2/+105
|\ | | | | Add normalizePath and tests
| * Add normalizePath and testsFederico Ceratto2018-07-062-2/+105
| |
* | Merge pull request #8229 from timotheecour/patch-6Dominik Picheta2018-07-072-2/+2
|\ \ | | | | | | workaround for issue #8227
| * | Update appveyor.ymlTimothee Cour2018-07-061-1/+1
| | |
| * | fix issue #8227Timothee Cour2018-07-061-1/+1
|/ /
* / hotfix: fixes possible out of bounds access in ospaths.joinPathAraq2018-07-071-1/+1
|/
* Merge branch 'araq-devel' of github.com:nim-lang/Nim into araq-develAraq2018-07-062-2/+2
|\
| * Merge branch 'araq-devel' of github.com:nim-lang/Nim into araq-develAndreas Rumpf2018-07-063-3/+6
| |\
| * | make tests green againAndreas Rumpf2018-07-062-2/+2
| | |
* | | system.nim: minor code style changeAraq2018-07-061-1/+1
| | |
* | | Merge branch 'devel' of github.com:nim-lang/Nim into araq-develAraq2018-07-063-35/+124
|\ \ \ | |_|/ |/| |
| * | Use '\L' instead of '\n' in system for backwards compatibility.Dominik Picheta2018-07-061-1/+1
| | | | | | | | | | | | See https://github.com/nim-lang/packages/pull/785.
| * | Rewrite the memory management code for Nintendo Switch (#8169)Joey2018-07-052-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)genotrance2018-07-051-27/+0
| | | | | | | | | This reverts commit c7cc93463233cba085db1f36746355848a27ae4d.
| * | Test case for #5626 (#8204)genotrance2018-07-031-0/+27
| | |
* | | make tmemfile2 work againAraq2018-07-063-3/+6
| |/ |/|
* | make test green for OSXAndreas Rumpf2018-07-061-2/+5
| |
* | make concepts tests green againAndreas Rumpf2018-07-062-12/+12
| |
* | make tests green againAndreas Rumpf2018-07-0513-17/+18
| |
* | make tests green againAndreas Rumpf2018-07-0531-55/+61
| |
* | turn destructors into finalizersAndreas Rumpf2018-07-053-6/+40
| |
* | restore deprecated PNimrodNode in order to make the CIs happyAndreas Rumpf2018-07-051-0/+2
| |
* | enable destructors without the --newruntime switchAndreas Rumpf2018-07-043-16/+4
| |
* | code cleanup: remove newScopeForIf switchAndreas Rumpf2018-07-045-78/+4
| |
* | Merge branch 'devel' into araq-develAndreas Rumpf2018-07-0416-43/+151
|\|
| * Error out if vararg match isn't an exact one (#8186)LemonBoy2018-07-032-1/+22
| | | | | | Fixes #8172
| * simplify typetraits.nim test (#8193)Timothee Cour2018-07-031-6/+1
| |
| * Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178)Vindaar2018-07-037-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)genotrance2018-07-021-0/+9
| |
| * Merge pull request #8187 from zargot/bugfix/asyncftpclientDominik Picheta2018-07-021-0/+1
| |\ | | | | | | asyncftpclient: add missing file.close to retrFile
| | * asyncftpclient: add missing file.close to retrFilezargot2018-07-021-0/+1
| |/
| * Fix os.unixToNativePath proc returns wrong result(#8179) (#8181)Tomohiro2018-07-022-1/+42
| | | | | | | | | | | | * Fix os.unixToNativePath proc returns wrong result(#8179) * Add tests for unixToNativePath
| * Fix crash with static and anonymous procs (#8171)LemonBoy2018-07-022-1/+10
| | | | | | Fixes #6077
| * Fixed #8173 (#8175)Tomohiro2018-07-021-1/+4
| |
* | Merge branch 'devel' into araq-develAndreas Rumpf2018-07-0118-64/+175
|\|
| * Minor changes to discardable handling (#8155)LemonBoy2018-07-013-21/+17
| |
| * Unexport times.stringifyUnit (#8168)Oscar Nihlgård2018-07-011-8/+6
| |
| * execCmdEx stderr redirection (#8162)Timothee Cour2018-07-011-3/+1
| |
| * Fix use of custom pragmas in generic procs (#8165)LemonBoy2018-07-012-2/+11
| | | | | | Fixes #7626
| * Fix constant folding of len() with concept type (#8143)LemonBoy2018-06-302-6/+18
| | | | | | Fixes #7952
| * Fix vm regression (#8163)Oscar Nihlgård2018-06-302-0/+20
| |
| * Fixes #6689 (#8135)Oscar Nihlgård2018-06-302-3/+24
| |
| * Check the RHS when building a set (#8159)LemonBoy2018-06-302-1/+7
| | | | | | Fixes #2669
| * fix #8129 by calling `semExpr` in `semIs` if node is `strLit` (#8130)Vindaar2018-06-291-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ård2018-06-292-2/+34
| |
| * Fix codegen for mInSet magic and empty sets (#8140)LemonBoy2018-06-292-13/+24
| | | | | | Fixes #8041
| * Fixes #8100 (#8101)Oscar Nihlgård2018-06-291-1/+6
| |