Commit Graph

96 Commits

Author SHA1 Message Date
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
Araq
c8bebe92e2 fixes #2569 2015-04-23 23:49:10 +02:00
Araq
1406f92a5f re-enable git hash compiler info 2015-04-11 10:01:08 +02:00
Araq
f8235cbe2e preparations for better gcsafety messages 2015-04-04 01:19:29 +02:00
Araq
3bfcfeb0cf don't use stdout for nimsuggest server mode 2015-02-27 16:44:55 +01:00
Araq
169974cfe6 improved --debugger switch; updated release plan 2015-02-27 16:44:54 +01:00
Araq
e8acaa449b fixes #2102 2015-02-13 10:27:23 +01:00
Araq
0b5c42f405 configuration system supports %= to access environment variables 2015-02-07 12:55:23 +01:00
Araq
8710a37384 nimsuggest: sane dirty buffer handling 2015-01-29 03:08:41 +01:00
Araq
26b853923c nimsuggest: first version 2015-01-27 01:36:19 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
4b7de4dc5e implemented 'experimental' switch 2014-12-05 10:09:29 +01:00
Araq
53a9d6f5cd Merge branch 'devel' into bigbreak
Conflicts:
	compiler/nim.ini
	doc/manual.txt
	doc/tut2.txt
	koch.nim
	lib/system/channels.nim
	readme.txt
	tools/niminst/niminst.nim
	tools/nimweb.nim
	web/download.txt
	web/news.txt
2014-10-20 08:44:00 +02:00
Araq
1ddc42f570 default to warnGcUnsafe for threads:on 2014-10-19 23:59:29 +02:00
Araq
da0fab7046 nimfix now in its own directory; single file mode now the default 2014-10-05 23:36:47 +02:00
Araq
fc47c0edc7 Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreak
Conflicts:
	lib/impure/db_postgres.nim
	lib/pure/os.nim
	lib/wrappers/postgres.nim
2014-10-04 19:40:23 +02:00
Varriount
b234d311d4 Disable git hashing in the version command 2014-09-28 15:35:35 -04:00
Araq
7f7b13a45f nimfix handles helloworld 2014-09-06 00:50:53 +02:00
Araq
201a08e9a5 fixes #903, fixes #1513 2014-09-03 19:45:04 +02:00
Araq
cd2c6128d1 renamed babelcmd to nimblecmd; config files are now nim.cfg; other renamings 2014-08-29 09:03:00 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Varriount
23f64dd63d Update commands.nim 2014-08-02 00:16:10 -04:00
Clay Sweetser
9b4b4bcbc5 Clean up more 2014-07-29 21:31:46 -04:00
Clay Sweetser
6a09fc358e Clean up a bit. 2014-07-29 21:23:18 -04:00
Clay Sweetser
1b6abccba2 Fix #813
Also add a notice that the linked list stuff in the compiler should be (one day) removed.
2014-07-29 21:13:21 -04:00
Araq
b119dc2f3b fixed build configuration detection 2014-07-01 23:17:20 +02:00
Grzegorz Adam Hankiewicz
7e2e5efe6f Adds git hash to compiler's version switch. Refs #1119. 2014-04-22 20:28:59 +02:00
Grzegorz Adam Hankiewicz
03ffc344e1 Version switch displays options used during koch boot 2014-04-20 12:23:54 +02:00
Araq
3e25d5f247 merged better html links #850 2014-04-08 01:19:15 +02:00
Araq
a59939d295 it's the year 2014 2014-01-19 01:25:48 +01:00
Araq
36afdca87f resolved conflicts with master 2014-01-18 01:16:45 +01:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00