summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* fixes #3062Araq2015-07-051-1/+1
|
* Merge pull request #3020 from flaviut/rename-crc-to-hashAndreas Rumpf2015-07-056-68/+68
|\ | | | | CRC -> Hash
| * CRC -> HashFlaviu Tamas2015-07-036-68/+68
| |
* | Merge pull request #3036 from nanoant/patch/macros-sametypeAndreas Rumpf2015-07-044-3/+9
|\ \ | | | | | | macros: Introduce sameType(a, b) for node types
| * | macros: Introduce sameType(a, b) for node typesAdam Strzelecki2015-07-034-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously introduced node comparison `==` was working somehow wrong on nodes returned from getType(a), comparing just ids of the symbols. Recently introduced `==` change 47dce2688633fad840a2f5e4073c531f1cd640ca started comparing symbol nodes pointer-wise, thus strictly. Since getType(a) always creates new symbol pointing to the type, comparing two such nodes using `==` always returns false, even they point to the same type. That is why we need a new sameType macro to be able to tell if these nodes point to the same type.
* | | Turn GC_getStatistics into hintGCStatsAdam Strzelecki2015-07-032-6/+9
| | |
* | | Turn stack trace printing into hintStackTraceAdam Strzelecki2015-07-031-7/+8
| | | | | | | | | | | | So stack trace printing can be explicitly enabled by --hint[StackTrace]:on.
* | | Turn optPrintSurroundingSrc into hintSourceAdam Strzelecki2015-07-032-7/+9
| | | | | | | | | | | | | | | So surrounding source printing can be enabled for lower verbosity levels explicitly.
* | | Turn loadDynamicLib msg into hintDependencyAdam Strzelecki2015-07-032-5/+7
| | |
* | | Turn execExternalProgram msgs into hintExecutingAdam Strzelecki2015-07-032-14/+13
| | | | | | | | | | | | | | | Or hintLinking that is used on verbosity:1. This lets you treat this message as regular hint, and control it via command line.
* | | List warnings & hints via --(hints|warnings):listAdam Strzelecki2015-07-032-3/+35
| | | | | | | | | | | | | | | Hints and warnings can be now listed using --warnings:list and --hints:list printing names and checkboxes indicating which of these are enabled.
* | | Introduce NotesVerbosity defining verbosity levelsAdam Strzelecki2015-07-038-13/+36
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | This solves two issues: 1. Some notes were enabled explicitly for some verbosity levels, so --hintName:on has no effect if verbosity level was too low. 2. Verbosity level for notes is not longer scattered across the source code, instead if now lives in msgs.nim NotesVerbosity array 3. Individual note settings have stronger effect than verbosity setting, so --hintName:off will disable hint regardless of high verbosity setting, and vice-versa --hintName:on will enable hint even on low verbosity setting.
* | fixes #3048, fixes #3047Araq2015-07-031-8/+10
| |
* | fixes #2633Araq2015-07-031-1/+1
| |
* | fixes #3038Araq2015-07-031-2/+2
| |
* | fixes #2540Araq2015-07-031-2/+8
| |
* | fixes #3040Araq2015-07-021-0/+1
| |
* | fixes #3041Araq2015-07-021-20/+26
| |
* | fixes #3044Araq2015-07-021-1/+3
| |
* | varargs[untyped] actually worksAraq2015-07-021-1/+6
| |
* | fixes broken mergeAraq2015-07-021-1/+5
| |
* | implements varargs[untyped]; refs #2545; to be documentedAraq2015-07-025-11/+32
| |
* | fixes #2993Araq2015-07-011-6/+2
| |
* | fixes 'instantiation from here' highlightingAraq2015-07-011-1/+1
| |
* | fixes #3032Araq2015-07-011-1/+1
| |
* | fixes #1463Araq2015-07-011-1/+1
| |
* | .header pragma now supports preprocessor directivesAraq2015-07-011-4/+6
| |
* | fixes #2935Araq2015-07-011-0/+3
| |
* | fixes #3028Araq2015-07-011-1/+1
| |
* | Merge pull request #3025 from r-ku/3022_fixAndreas Rumpf2015-06-301-1/+5
|\ \ | | | | | | Fixes #3022
| * | Fixes #3022r-ku2015-06-301-1/+5
| | |
* | | Merge branch 'more_concurrency' into develAraq2015-06-303-13/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tut1.txt lib/core/locks.nim lib/pure/collections/tables.nim lib/pure/selectors.nim
| * | | first implementation of pinnedSpawnAraq2015-05-283-13/+21
| | | |
* | | | fixes #2880Araq2015-06-301-5/+5
| |_|/ |/| |
* | | Fix #3018Flaviu Tamas2015-06-291-1/+1
| | | | | | | | | | | | | | | Looks like the problem is that the compiler expected the hash to be a certain number of characters, but the file actually contained a (shorter) crc hash.
* | | added /*INCLUDESECTION*/ section for .emit pragmaAraq2015-06-291-2/+4
| |/ |/|
* | fixes #2731Araq2015-06-261-1/+1
| |
* | fixes #2974Araq2015-06-251-0/+2
| |
* | VM: use stricter notion of equality for NimNodeAraq2015-06-251-1/+2
| |
* | fixes #2985Araq2015-06-252-4/+11
| |
* | fixes #2979Araq2015-06-251-1/+2
| |
* | protect against new stupid setlen that doesn't accept -1 anymoreAraq2015-06-251-1/+2
| |
* | Change --useColors to --colors:on|off and add helpAdam Strzelecki2015-06-241-3/+1
| | | | | | | | | | | | | | | | Since we introduced automatic colors on terminals (via isatty) there is no way to turn it off, since (undocumented) --useColors just turns them on. This replaces --useColors with --colors:on|off, so anyone who prefers non-colored compiler messages may now turn it off now.
* | JS object initializer fix.yglukhov2015-06-231-6/+5
| |
* | fixed indentationAraq2015-06-211-1/+1
| |
* | use linenoise instead of GNU readlineAraq2015-06-212-48/+49
| |
* | renamed writeln to writeLine in compilerpatrick dw2015-06-198-228/+228
| |
* | Merge pull request #2953 from yglukhov/fix-2617Andreas Rumpf2015-06-181-20/+28
|\ \ | | | | | | Fixes #2617, fixes addr of obj downcast.
| * | Changed sets of strings to IntSetsyglukhov2015-06-181-18/+15
| | |
| * | Fixes #2617, fixes addr of obj downcast.yglukhov2015-06-181-21/+32
| | |