summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Look for user nim.cfg in "nim/" subdir in usual config dir locations (#8662)Kaushal Modi2018-08-171-1/+1
| | | Fixes https://github.com/nim-lang/Nim/issues/8661.
* Fixes 8535 (#8591)LemonBoy2018-08-173-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 #8653Andreas Rumpf2018-08-161-2/+2
|
* Genode fixes (#8501)Emery Hemingway2018-08-161-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-miscAndreas Rumpf2018-08-164-1/+15
|\
| * Allow taking address of skForVar variables (#8632)LemonBoy2018-08-141-1/+1
| | | | | | Fixes #8630
| * Fix unsound transform pass (#8633)LemonBoy2018-08-143-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 Rumpf2018-08-162-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 Rumpf2018-08-152-4/+7
| |
* | implement the --nilseqs switch properlyAndreas Rumpf2018-08-151-0/+1
| |
* | changes how the now illegal 'string == nil' comparison is detectedAndreas Rumpf2018-08-153-7/+4
| |
* | make tests green againAraq2018-08-131-1/+1
| |
* | Merge branch 'devel' into araq-miscAraq2018-08-133-6/+7
|\|
| * Converters to take into account constraints. Fixes #7520 (#8593)cooldome2018-08-131-0/+4
| |
| * Fixes 8616 (#8617)LemonBoy2018-08-121-1/+1
| | | | | | | | | | | | | | | | * Don't leave dangling forward references to types Fixes #8616 * Add a test case for #8616
| * Mysterious fix for #8550 (#8561)LemonBoy2018-08-121-5/+2
| | | | | | | | Replacing the `for` body with a nkEmpty node is not the right thing to do.
* | fixes more nil handling regressionsAraq2018-08-132-4/+8
| |
* | WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-1326-84/+103
| |
* | fixes #8599Andreas Rumpf2018-08-101-1/+1
| |
* | Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-101-1/+1
|\|
| * Uses XDG_CACHE_HOME if available (#8585)alaviss2018-08-091-1/+1
| | | | | | | | | | | | * compiler/options: use XDG_CACHE_HOME if set * doc/nimc: update documentation
| * fixes the new nimcache handlingAraq2018-08-081-1/+2
| |
| * 'nimcache' defaults to ~/.cache on Posix; cleaned up documentationAndreas Rumpf2018-08-081-2/+12
| |
| * use slashes instead of dots for pathsAndreas Rumpf2018-08-082-3/+3
| |
| * introduce the --define 'osx' as an alias for 'macosx'Andreas Rumpf2018-08-081-0/+1
| |
* | make nimsuggest go up in the directory tree in order to determine the main ↵Andreas Rumpf2018-08-101-12/+16
| | | | | | | | .nim file
* | change the VM's max instruction count to 3_000_000Andreas Rumpf2018-08-101-1/+1
| |
* | deprecated regionized pointersAraq2018-08-101-0/+2
| |
* | deprecate the .this pragmaAraq2018-08-093-51/+42
| |
* | codegen improvement: map the empty string to 'nil' since it's now allowed to ↵Araq2018-08-081-3/+3
| | | | | | | | do that
* | fixes the new nimcache handlingAraq2018-08-071-1/+2
| |
* | fixes merge conflictAraq2018-08-0712-7/+48
|\|
| * runnableExamples: keep (gitignored) generated foo_examples.nim for ↵Timothee Cour2018-08-072-4/+5
| | | | | | | | | | | | inspection even on success (#8544)
| * fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-079-3/+22
| |
| * fixes #8421, fixes #7968, Nim compiler compiles with MSVC C89 version (#8556)andri lim2018-08-071-0/+21
| |
* | 'nimcache' defaults to ~/.cache on Posix; cleaned up documentationAndreas Rumpf2018-08-061-2/+12
| |
* | use slashes instead of dots for pathsAndreas Rumpf2018-08-062-3/+3
| |
* | introduce the --define 'osx' as an alias for 'macosx'Andreas Rumpf2018-08-061-0/+1
|/
* fixes #5617, 'copyLineInfo' addition (#8523)andri lim2018-08-053-23/+22
|
* fixes 7833 (#8533)Andreas Rumpf2018-08-053-17/+38
| | | | | | | | | | | * fixes #7833; still to-do: fix setLen * make tests green again * also fixes setLen and string concats; refs #7833 * change formating to avoid a compiler warning * emit the write barrier also for addChar * fixes yet another regression * make setLengthStr compile for the old version * make growobjcrash complete earlier
* fixes #8425Araq2018-08-041-1/+1
|
* fix shell quoting error for static libraries (#8532)Charlie Barto2018-08-041-1/+1
|
* fixes #7827, bindSym enhancement (#8499)andri lim2018-08-026-12/+127
| | | | | | | | | | | | | | | | * bindSym power up, working prototype * update bindSym doc * add bindSym test * fix some typo * fix bindSym doc * get rid of specialops field from vm * add experimental: dynamicBindSym
* add hintCC to optionally disable printing 'CC: filename' (#8479)Timothee Cour2018-08-012-4/+6
|
* `lineInfoObj` (and `check`, `expect`) now return absolute paths (#8466)Timothee Cour2018-07-311-1/+1
|
* Fix ref bug in vmgen (#8424)Oscar Nihlgård2018-07-302-53/+44
|
* Deprecate the dot style for import paths (#8474)Oscar Nihlgård2018-07-301-0/+1
|
* fixes #8419 fixes #8420 ; workaround #6071 workaround nim-lang/website#98 ↵Timothee Cour2018-07-302-7/+6
| | | | | (#8423) add --git.devel option to override doc generated "edit" links; add --nimCompiler option to nimweb
* fixes #8425Araq2018-07-301-1/+1
|
* disable --app:gui for non Windows targets; fixes #2576Araq2018-07-301-2/+4
|