summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|
* Update nre.nim (#8147)Timothee Cour2018-06-291-4/+4
|
* improve error message if literal ends with an underscore (#8114)Vindaar2018-06-281-1/+2
|
* Fix template codegen with static parameters (#8110)LemonBoy2018-06-272-9/+17
| | | | | | | | * Fix template codegen with static parameters Fixes #7477 * Move the test case to tstaticimportcpp
* Clarify the docs for tables.del (#8134)Yuriy Glukhov2018-06-271-4/+6
|
* Replace NotString with typeclass in jsffi (#8128)hlaaf2018-06-271-4/+2
|
* Return an error symbol as macro output if needed (#8116)LemonBoy2018-06-272-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)LemonBoy2018-06-272-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 Modi2018-06-271-5/+5
| | | Fixes https://github.com/nim-lang/Nim/issues/8131.
* Reject enums with holes when computedGoto is used (#8132)LemonBoy2018-06-272-0/+18
| | | Fixes #7699
* Don't consider concept types as non-complex during codegen (#8119)LemonBoy2018-06-272-2/+15
| | | Fixes #7125
* Lexer: do not accept some invalid integer literals (#8089)Hiroki Noda2018-06-273-7/+26
| | | | | | * Lexer: do not accept some invalid integer literals * Use Natural instead of uint, and result variable
* Nintendo switch support (#8069)Joey2018-06-2721-44/+1353
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add config section for Nintendo Switch * Add compiler configuration for Nintendo Switch and it's CPU * Add specific lib code for Nintendo Switch * Add GC support for Nintendo Switch * Update changelog for Nintendo Switch * Update changelog with more info about fixed paths * Cleaned up GC memory management a bit * Relocate docs for Switch * Rename aarch64NoneElfGcc to nintendoSwitchGCC * Remove armv8a57 * Fix installer.ini * Reuse code in linux and amd64 * Add posix defs for nintendo switch * Add more defined sections for nintendo switch * Remove old comment * Add what's not supported for Nintendo Switch docs * Make nintendoswitch == posix * Remove DEVKITPRO references from nim.cfg * Make PR extccomp changes * Remove Result type alias * Add separate switch consts file * Update docs for nintendo switch * Fix travis errors with undefined consts and add correct wait.h procs
* Add missing backtick to the changelog.mdDaniil Yarancev2018-06-271-1/+1
|
* compiler/types.nim: make low/high know about 'sink' parameters; cleans up #7736Araq2018-06-271-12/+16
|
* Merge pull request #7736 from cooldome/range_float_typeAndreas Rumpf2018-06-276-26/+118
|\ | | | | Language feature: range float types
| * manual merge 2cooldome2018-06-122-3/+3
| |
| * Manual mergecooldome2018-06-121-0/+1
| |
| * merge develcooldome2018-06-12136-5663/+4290
| |\
| * | Fix error messagecooldome2018-06-121-2/+2
| | |
| * | style fixes, typoscooldome2018-06-122-6/+6
| | |
| * | remove underscorescooldome2018-06-111-5/+5
| | |
| * | fix commentscooldome2018-06-102-23/+52
| | |
| * | manual mergecooldome2018-06-101-2/+2
| | |
| * | manual merge continuescooldome2018-06-101-16/+30
| | |
| * | manual mergecooldome2018-06-101-470/+0
| | |
| * | merge develcooldome2018-06-10309-9635/+11910
| |\ \
| * | | fix spacing in changelogcooldome2018-04-301-2/+1
| | | |
| * | | Merge branch 'devel' into range_float_typecooldome2018-04-3048-2372/+424
| |\ \ \
| * \ \ \ merge develcooldome2018-04-2925-243/+408
| |\ \ \ \
| * | | | | update testcooldome2018-04-291-1/+13
| | | | | |