Araq
9a8de7f3a3
fixes #3054
2015-07-05 15:00:48 +02:00
Araq
0e23ac3680
fixes #3053
2015-07-05 15:00:48 +02:00
Araq
36ca2f1102
fixes #3051
2015-07-05 15:00:47 +02:00
Araq
7011275f13
fixes #3062
2015-07-05 15:00:46 +02:00
Andreas Rumpf
1ad729ee3b
Merge pull request #3020 from flaviut/rename-crc-to-hash
...
CRC -> Hash
2015-07-05 00:41:13 +02:00
Andreas Rumpf
e38a989a6f
Merge pull request #3036 from nanoant/patch/macros-sametype
...
macros: Introduce sameType(a, b) for node types
2015-07-04 16:12:09 +02:00
Flaviu Tamas
62b55592e8
CRC -> Hash
2015-07-03 10:13:45 -04:00
Adam Strzelecki
3c20747394
Turn GC_getStatistics into hintGCStats
2015-07-03 14:05:00 +02:00
Adam Strzelecki
c009aadc74
Turn stack trace printing into hintStackTrace
...
So stack trace printing can be explicitly enabled by --hint[StackTrace]:on.
2015-07-03 14:05:00 +02:00
Adam Strzelecki
d568ac3357
Turn optPrintSurroundingSrc into hintSource
...
So surrounding source printing can be enabled for lower verbosity levels
explicitly.
2015-07-03 14:05:00 +02:00
Adam Strzelecki
00366cb8d4
Turn loadDynamicLib msg into hintDependency
2015-07-03 14:05:00 +02:00
Adam Strzelecki
18b3d04291
Turn execExternalProgram msgs into hintExecuting
...
Or hintLinking that is used on verbosity:1. This lets you treat this message as
regular hint, and control it via command line.
2015-07-03 14:05:00 +02: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
1a0417fbe0
macros: Introduce sameType(a, b) for node types
...
Previously introduced node comparison `==` was working somehow wrong on nodes
returned from getType(a), comparing just ids of the symbols.
Recently introduced `==` change 47dce26886
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.
2015-07-03 11:11:10 +02:00
Araq
2d196442fa
fixes #3048 , fixes #3047
2015-07-03 10:31:49 +02:00
Araq
841a179d28
fixes #2633
2015-07-03 01:57:00 +02:00
Araq
cdc6529ccf
fixes #3038
2015-07-03 00:20:34 +02:00
Araq
3df9d2bd0c
fixes #2540
2015-07-03 00:20:33 +02:00
Araq
c314f8e65e
fixes #3040
2015-07-02 23:04:46 +02:00
Araq
65c1b0c128
fixes #3041
2015-07-02 22:45:33 +02:00
Araq
0df8fa1ddd
fixes #3044
2015-07-02 21:42:10 +02:00
Araq
bbf7e18e5b
varargs[untyped] actually works
2015-07-02 21:22:56 +02:00
Araq
560cfd48fc
fixes broken merge
2015-07-02 16:29:22 +02:00
Araq
cabbcd411d
implements varargs[untyped]; refs #2545 ; to be documented
2015-07-02 16:18:11 +02:00
Araq
b159fc3b34
fixes #2993
2015-07-01 17:42:12 +02:00
Araq
959d418d1d
fixes 'instantiation from here' highlighting
2015-07-01 15:02:13 +02:00
Araq
1555f41796
fixes #3032
2015-07-01 13:35:58 +02:00
Araq
039da42401
fixes #1463
2015-07-01 03:23:23 +02:00
Araq
54a374a828
.header pragma now supports preprocessor directives
2015-07-01 02:15:21 +02:00
Araq
4afb8b8043
fixes #2935
2015-07-01 02:15:21 +02:00
Araq
cc57a0430b
fixes #3028
2015-07-01 02:15:20 +02:00
Andreas Rumpf
2f9ad55fbd
Merge pull request #3025 from r-ku/3022_fix
...
Fixes #3022
2015-06-30 17:54:39 +02:00
r-ku
1a14e9d366
Fixes #3022
2015-06-30 17:52:18 +03:00
Araq
28de800d61
Merge branch 'more_concurrency' into devel
...
Conflicts:
doc/tut1.txt
lib/core/locks.nim
lib/pure/collections/tables.nim
lib/pure/selectors.nim
2015-06-30 12:50:24 +02:00
Araq
4cfe216a77
fixes #2880
2015-06-30 12:20:03 +02:00
Flaviu Tamas
6aae246ef1
Fix #3018
...
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.
2015-06-29 16:52:47 -04:00
Araq
ace9299a32
added /*INCLUDESECTION*/ section for .emit pragma
2015-06-29 02:48:30 +02:00
Araq
afad61c220
fixes #2731
2015-06-26 00:05:29 +02:00
Araq
47658cd426
fixes #2974
2015-06-25 11:42:29 +02:00
Araq
2236a5be61
VM: use stricter notion of equality for NimNode
2015-06-25 11:42:27 +02:00
Araq
47dce26886
fixes #2985
2015-06-25 11:42:27 +02:00
Araq
ce9fa80b92
fixes #2979
2015-06-25 02:08:58 +02:00
Araq
2a1620490c
protect against new stupid setlen that doesn't accept -1 anymore
2015-06-25 02:08:57 +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
yglukhov
0069308b22
JS object initializer fix.
2015-06-23 14:46:38 +03:00
Araq
3444b87079
fixed indentation
2015-06-21 10:57:26 +02:00
Araq
aa8b470cf6
use linenoise instead of GNU readline
2015-06-21 10:04:26 +02:00
patrick dw
2a0f7b5de7
renamed writeln to writeLine in compiler
2015-06-19 01:45:12 -05:00
Andreas Rumpf
29b09a3c7d
Merge pull request #2953 from yglukhov/fix-2617
...
Fixes #2617 , fixes addr of obj downcast.
2015-06-18 17:51:06 +02:00