Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix abs & unary sub in semfold (#8724) | Oscar Nihlgård | 2018-08-22 | 1 | -2/+6 |
| | |||||
* | Pick skParam symbols when resolving type idents (#8720) | LemonBoy | 2018-08-22 | 1 | -1/+1 |
| | | | Fixes #8357 | ||||
* | fixes 8594 (#8721) | cooldome | 2018-08-22 | 1 | -2/+2 |
| | |||||
* | Don't consider tyAnd/tyNot/tyOr/tyAnything as generic (#8700) | LemonBoy | 2018-08-22 | 2 | -17/+34 |
| | | | | | | | | | | | | | | | * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic `containsGenericType` was too shallow and didn't check all the branches. The resulting half-processed nodes are often simplified by the constant folding pass but when that's not possible we get a nasty error during codegen. Fixes #8693 * Move the blame onto the semFold pass Slightly better evaluation of `is` forms. | ||||
* | Cosmetic: fix typo on TRIPLESTR_LIT (#8663) | Iván Montes | 2018-08-21 | 2 | -2/+2 |
| | |||||
* | Fix #8126 (#8712) | zah | 2018-08-21 | 3 | -2/+4 |
| | | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release. | ||||
* | More robust handling of deprecated pragmas (#8696) | LemonBoy | 2018-08-21 | 2 | -9/+24 |
| | | | | | | Prevent `deprecated` annotations to "slip" up to the parent module and warn about unsupported annotations. Accidentally fixes #7867 | ||||
* | sfForward is also sfReorder for skModule symbols (#8692) | LemonBoy | 2018-08-21 | 1 | -1/+1 |
| | | | | | Take this into account while searching for undefined forward references. Fixes #8665 | ||||
* | Update all the default parameters after an instantiation (#8689) | LemonBoy | 2018-08-20 | 1 | -6/+5 |
| | | | | | | The old implementation relied on the (now?) wrong assumption that default-valued parameters can only be placed after the required ones. Fixes #8683 | ||||
* | exploit nil seqs for performance (#8688) | Andreas Rumpf | 2018-08-20 | 2 | -8/+15 |
| | | | | | * changes $ for seqs to never produce 'nil' * exploit the fact that empty seqs don't have to allocate in the code generator | ||||
* | Expand tyAlias in typeToString (#8634) | LemonBoy | 2018-08-18 | 1 | -0/+2 |
| | | | Fixes #8339 | ||||
* | every .experimental feature has a corrsponding 'nimHasX' define; fixes ↵ | Araq | 2018-08-18 | 1 | -0/+6 |
| | | | | #8644; refs #8672 | ||||
* | scriptconfig: register passes once (#8590) | alaviss | 2018-08-17 | 1 | -2/+5 |
| | | | fixes #8235 | ||||
* | Look for user nim.cfg in "nim/" subdir in usual config dir locations (#8662) | Kaushal Modi | 2018-08-17 | 1 | -1/+1 |
| | | | Fixes https://github.com/nim-lang/Nim/issues/8661. | ||||
* | Fixes 8535 (#8591) | LemonBoy | 2018-08-17 | 3 | -16/+29 |
| | | | | | | | | | | | | | | | | | | | * Goodbye postInitProc * Give preInitProc its own scope Avoid any conflict between the variables introduced by preInitProc and initProc since both are codegen'd in the same function body. * Fix codegen for global var init in emulated TLS Fixes #8535 * Add test for #8535 * Keep a bogus stack frame around * Remove more dead code | ||||
* | fixes #8653 | Andreas Rumpf | 2018-08-16 | 1 | -2/+2 |
| | |||||
* | Genode fixes (#8501) | Emery Hemingway | 2018-08-16 | 1 | -2/+3 |
| | | | | | | | | | | | | | * Genode fixes - wrap strings in "Genode::Cstring" when logging - define SIGABRT for Genode - disable GCC -fstack-protector - use log RPC for fatal messages - add --os:genode build to appveyor - define paramStr and paramCount * Select fixups for Genode POSIX | ||||
* | Merge branch 'devel' into araq-misc | Andreas Rumpf | 2018-08-16 | 4 | -1/+15 |
|\ | |||||
| * | Allow taking address of skForVar variables (#8632) | LemonBoy | 2018-08-14 | 1 | -1/+1 |
| | | | | | | Fixes #8630 | ||||
| * | Fix unsound transform pass (#8633) | LemonBoy | 2018-08-14 | 3 | -0/+14 |
| | | | | | | | | | | When a `var openArray[T]` function parameter goes trough the `transformAddrDeref` pass we may lose the `var` specifier, leading to nasty crashes at runtime. | ||||
* | | implements 'case statement macros' in order to encourage the development of ↵ | Andreas Rumpf | 2018-08-16 | 2 | -75/+110 |
| | | | | | | | | pattern matching mechanisms that are not terrible to look at | ||||
* | | put the new for loop macros under an experimental switch named 'forLoopMacros' | Andreas Rumpf | 2018-08-15 | 2 | -4/+7 |
| | | |||||
* | | implement the --nilseqs switch properly | Andreas Rumpf | 2018-08-15 | 1 | -0/+1 |
| | | |||||
* | | changes how the now illegal 'string == nil' comparison is detected | Andreas Rumpf | 2018-08-15 | 3 | -7/+4 |
| | | |||||
* | | make tests green again | Araq | 2018-08-13 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'devel' into araq-misc | Araq | 2018-08-13 | 3 | -6/+7 |
|\| | |||||
| * | Converters to take into account constraints. Fixes #7520 (#8593) | cooldome | 2018-08-13 | 1 | -0/+4 |
| | | |||||
| * | Fixes 8616 (#8617) | LemonBoy | 2018-08-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | * Don't leave dangling forward references to types Fixes #8616 * Add a test case for #8616 | ||||
| * | Mysterious fix for #8550 (#8561) | LemonBoy | 2018-08-12 | 1 | -5/+2 |
| | | | | | | | | Replacing the `for` body with a nkEmpty node is not the right thing to do. | ||||
* | | fixes more nil handling regressions | Araq | 2018-08-13 | 2 | -4/+8 |
| | | |||||
* | | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 26 | -84/+103 |
| | | |||||
* | | fixes #8599 | Andreas Rumpf | 2018-08-10 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'devel' into araq-misc | Andreas Rumpf | 2018-08-10 | 1 | -1/+1 |
|\| | |||||
| * | Uses XDG_CACHE_HOME if available (#8585) | alaviss | 2018-08-09 | 1 | -1/+1 |
| | | | | | | | | | | | | * compiler/options: use XDG_CACHE_HOME if set * doc/nimc: update documentation | ||||
| * | fixes the new nimcache handling | Araq | 2018-08-08 | 1 | -1/+2 |
| | | |||||
| * | 'nimcache' defaults to ~/.cache on Posix; cleaned up documentation | Andreas Rumpf | 2018-08-08 | 1 | -2/+12 |
| | | |||||
| * | use slashes instead of dots for paths | Andreas Rumpf | 2018-08-08 | 2 | -3/+3 |
| | | |||||
| * | introduce the --define 'osx' as an alias for 'macosx' | Andreas Rumpf | 2018-08-08 | 1 | -0/+1 |
| | | |||||
* | | make nimsuggest go up in the directory tree in order to determine the main ↵ | Andreas Rumpf | 2018-08-10 | 1 | -12/+16 |
| | | | | | | | | .nim file | ||||
* | | change the VM's max instruction count to 3_000_000 | Andreas Rumpf | 2018-08-10 | 1 | -1/+1 |
| | | |||||
* | | deprecated regionized pointers | Araq | 2018-08-10 | 1 | -0/+2 |
| | | |||||
* | | deprecate the .this pragma | Araq | 2018-08-09 | 3 | -51/+42 |
| | | |||||
* | | codegen improvement: map the empty string to 'nil' since it's now allowed to ↵ | Araq | 2018-08-08 | 1 | -3/+3 |
| | | | | | | | | do that | ||||
* | | fixes the new nimcache handling | Araq | 2018-08-07 | 1 | -1/+2 |
| | | |||||
* | | fixes merge conflict | Araq | 2018-08-07 | 12 | -7/+48 |
|\| | |||||
| * | runnableExamples: keep (gitignored) generated foo_examples.nim for ↵ | Timothee Cour | 2018-08-07 | 2 | -4/+5 |
| | | | | | | | | | | | | inspection even on success (#8544) | ||||
| * | fixes #6255, add `system.ashr` arithmetic right shift (#8547) | andri lim | 2018-08-07 | 9 | -3/+22 |
| | | |||||
| * | fixes #8421, fixes #7968, Nim compiler compiles with MSVC C89 version (#8556) | andri lim | 2018-08-07 | 1 | -0/+21 |
| | | |||||
* | | 'nimcache' defaults to ~/.cache on Posix; cleaned up documentation | Andreas Rumpf | 2018-08-06 | 1 | -2/+12 |
| | | |||||
* | | use slashes instead of dots for paths | Andreas Rumpf | 2018-08-06 | 2 | -3/+3 |
| | |