Commit Graph

132 Commits

Author SHA1 Message Date
Andreas Rumpf
63530be0b8 introduce --newruntime switch for the upcoming destructors and move semantics 2017-10-13 06:38:59 +02:00
Eduardo Bart
5c1a842b88 Add missing nilChecks compiling option (#6480) 2017-10-09 19:09:49 +02:00
Bo Lingen
535f21ced3 direct nim --version to stdout rather than stderr (#6460)
Closes #6298
2017-10-02 12:20:24 +02:00
cooldome
82453825e9 Make Nim gdb pretty print friendly (#6240) 2017-08-24 10:21:38 +02:00
Araq
6b3af6a5d7 WIP: --gc:regions instead of --gc:stack 2017-08-13 02:51:00 +02:00
Zahary Karadjov
a90c4c4d7e kill the reportConceptFailures options as it will be replaced by the .explain. pragma 2017-03-24 16:58:15 +02:00
Andreas Rumpf
242fb3240f fixes #5228 2017-03-18 13:59:35 +01:00
Andreas Rumpf
895e2aea15 Merge pull request #5317 from rokups/feature/coroutines
Coroutine improvements
2017-02-26 23:24:29 +01:00
Arne Döring
92c2a51bf7 removed compiler internal list implementation (#5371) 2017-02-22 17:33:12 +01:00
Rokas Kupstys
96c571dd96 Removed fasm support. 2017-02-20 17:24:19 +02:00
Andreas Rumpf
f04d21f279 refactoring: explict config state instead of globals 2017-02-01 23:39:40 +01:00
Parashurama
2aec5b6c49 fixes compiler ignoring passC/passL args when setting --cc:compiler. (#5310)
This commit change the way passC/passL cmdline arg and setting in config
files are parsed.
They are added to a separate linkOptionsCmd/compileOptionsCmd and are
inserted when compile/linking command list are requested.
2017-02-01 08:51:24 +01:00
Araq
03a1c3b077 .compile pragma supports patterns and actions 2017-01-28 08:54:53 +01:00
Araq
842f66db25 compiler API: introduce options.disableNmiblePath 2017-01-06 13:11:17 +01:00
Andreas Rumpf
5743ff8386 attempt to mitigate Nimble issue #293 2016-12-29 12:07:27 +01:00
Yuriy Glukhov
581c0c437b In case of synliboverride we support only openssl 1.0.* 2016-11-30 17:17:24 +02:00
Andreas Rumpf
02a2180a6a first version of the new memory tracking feature 2016-11-21 12:10:44 +01:00
Parashurama
bd818d4fe1 make 'excessivestacktrace' option available for testing. 2016-11-10 23:19:23 +01:00
Araq
773d17cd14 big refactoring: step 1 2016-10-31 15:34:44 +01:00
miere43
f16140fc95 fix #4417, update news 2016-07-30 18:31:01 +03:00
Andreas Rumpf
8876ed23f1 expr and stmt are now deprecated 2016-07-30 16:34:42 +02:00
Andreas Rumpf
d7e172a6bc make tests green again 2016-07-10 01:17:08 +02:00
Andreas Rumpf
e2267ef5c9 Nimscript supports hint() and warning() procs; refs #3688 2016-07-08 22:24:28 +02:00
Jeff Ciesielski
16f2808439 Fix typo. Remove unnecessary proc 2016-07-05 08:26:12 -04:00
Jeff Ciesielski
94d1aa5109 Add the ability to pass a value with the -d flag
This allows the end user to use the {.magic: "IntDefine"/"StrDefine"}
pragmas to pass values into code at compile time.  This has a nice side
effect of also allowing/requiring a default value to be assigned in the
code (see osalloc.nim/StandaloneHeapSize for an example)
2016-07-04 18:11:25 -04:00
Eduardo Bart
48d37900a9 Fix disabling hintProcessing 2016-06-20 19:22:09 -03:00
Parashurama
6c8b06b2a3 adds --excessiveStackTrace:on|off flag for nim
display absolute file path in error messages.
2016-06-11 15:09:10 +02:00
Andreas Rumpf
f3fdad0eda hotfix: --noNimblePath wasn't working when in a config file 2016-05-31 09:59:17 +02:00
Andreas Rumpf
893be3a5a4 changed the compiler's path handling; fixes #546 2016-05-31 03:04:45 +02:00
Andreas Rumpf
f2d6edd861 fixes #786 2016-05-31 03:04:45 +02:00
Andreas Rumpf
fc4038fade allow to check verbosity level via compileOption 2016-05-24 20:25:37 +02:00
Andreas Rumpf
a9c251b8e0 fixes #3763 2016-05-12 00:38:15 +02:00
Andreas Rumpf
75b03188d0 beginnings of --gc:stack 2016-03-12 13:29:27 +01:00
Ruslan Mustakov
378c904131 Added --noCppExceptions switch 2016-02-18 23:01:43 +06:00
Yuriy Glukhov
b293e2a9ec Fixes #3871 2016-02-16 14:12:51 +02:00
Andreas Rumpf
faea0f9a70 make Nim always show the current year 2016-01-19 09:42:00 +01:00
Adam Strzelecki
24731c5360 compiler/commands: Always write usage to stdout
Usage is compiler command output, not diagnostics, so we shall output it to
stdout. Also this makes: nim -h | less or nim -h | grep ... working.
2015-10-22 22:14:45 +02:00
Araq
e722770fbb doc\advopt.txt
added --reportConceptFailures switch
2015-10-22 12:14:31 +02:00
Araq
494431e3b4 gangbang support for NimScript 2015-09-08 10:22:15 +02:00
rku
24ad2cb392 Merge branch 'devel' into coroutines 2015-08-20 17:54:55 +03:00
Araq
69b32637b1 implements experimental new config system based on NimScript 2015-08-16 13:41:30 +02:00
rku
df0e1a515b Added fasm (external assembler) support. 2015-07-31 16:00:13 +03:00
Adam Strzelecki
592f867aa5 List warnings & hints via --(hints|warnings):list
Hints and warnings can be now listed using --warnings:list and --hints:list
printing names and checkboxes indicating which of these are enabled.
2015-07-03 14:05:00 +02:00
Adam Strzelecki
14e6ff6780 Introduce NotesVerbosity defining verbosity levels
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.
2015-07-03 12:37:42 +02:00
Adam Strzelecki
67fac7f1e7 Change --useColors to --colors:on|off and add help
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.
2015-06-24 19:57:56 +02:00
Araq
aa8b470cf6 use linenoise instead of GNU readline 2015-06-21 10:04:26 +02:00
Stefan Talpalaru
bdac85f2cf Merge branch 'devel' into gogc 2015-06-15 08:44:02 +02:00
Ryan Gonzalez
8beed96106 Colors! 2015-06-02 18:47:43 -05:00
Stefan Talpalaru
50e96ad939 the Go GC - initial implementation 2015-05-31 19:07:44 +02:00
transfuturist
8fc53f2952 Add path directive to allow inclusion of config file's path itself 2015-05-14 12:52:43 -07:00