Commit Graph

3743 Commits

Author SHA1 Message Date
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
Araq
17cace280c fixes #2297, fixes #2946 2015-06-18 15:06:00 +02:00
yglukhov
85d5c86efa Changed sets of strings to IntSets 2015-06-18 15:09:43 +03:00
yglukhov
9ae4a0425a Fixes #2617, fixes addr of obj downcast. 2015-06-18 13:35:21 +03:00
Andreas Rumpf
ad1ac76567 Merge pull request #2851 from stefantalpalaru/gogc
the Go GC (using the gccgo implementation)
2015-06-16 20:46:23 +02:00
Andreas Rumpf
042c0146cd Merge pull request #2914 from yglukhov/js-exceptions
Fixed and slightly changed exception handling in JS.
2015-06-16 13:07:34 +02:00
yglukhov
fa1f3aecce Unhandled exceptions handling brought back. 2015-06-15 23:08:38 +03:00
Andreas Rumpf
116a60caeb Merge pull request #2856 from fowlmouth/patch-4
made string compatible with openarray[char]
2015-06-15 21:04:50 +02:00
yglukhov
090fc33641 Fixed and slightly changed exception handling. 2015-06-15 21:49:49 +03:00
Adam Strzelecki
b4d3a27753 msgs: Append/color warning/hint kind in msgWriteln
Rather than embedding it into the message format text itself. This also makes
possible to color warning/hint kind.
2015-06-15 11:26:54 +02:00
Adam Strzelecki
2ba3642544 msgs: styledMsgWriteln compatible with styledEcho
1. Introduce styledMsgWriteln which can be used same way as styledEcho.

2. Make file names and positions use bright white like in other compilers, so
   only message types are colored.
2015-06-15 11:26:54 +02:00
Adam Strzelecki
806dfe976d colors: Use colors by default on terminals 2015-06-15 11:26:53 +02:00
Stefan Talpalaru
bdac85f2cf Merge branch 'devel' into gogc 2015-06-15 08:44:02 +02:00
Araq
8d39669233 fixes #2909 2015-06-15 00:56:20 +02:00
Dominik Picheta
0e4e187476 Use full file path for CRC checks.
Ref nim-lang/nimsuggest#6. Ref nim-lang/nimsuggest#4.
2015-06-14 20:19:49 +01:00
Dominik Picheta
2f68b0baf0 Introduce gPrefixDir for nimsuggest. 2015-06-14 18:51:06 +01:00
Andreas Rumpf
2782cddb56 Merge pull request #2903 from yglukhov/js-bracket-addr
Fixed addr of bracket expression. Fixes #2148.
2015-06-13 20:31:47 +02:00
Andreas Rumpf
35e922d18e Merge pull request #2890 from ozra/fix-1179-unsigned-number-literals
Fix 1179 unsigned number literals
2015-06-13 19:49:32 +02:00
Sergey Avseyev
85911a1659 Add missing nre dependency to installer 2015-06-12 19:51:51 +03:00
Oscar Campbell
3998220f86 Non-base10 overflow allowed if bit-stable. Tests. 2015-06-12 13:45:14 +02:00
Oscar Campbell
a723362d85 Fix bug #1179 + some more found while testing.
- The char(-1) < char(0) is not covered in this PR - different beast.
- Additionally to #1179, I found that non base-10 literals wheren't bounds checked at all.
2015-06-12 13:45:14 +02:00
Andreas Rumpf
70e157d79e Merge pull request #2894 from nanoant/patch/macros-real-node-compare
Real node compare for macros
2015-06-12 00:33:09 +02:00
Andreas Rumpf
e36c12ee37 Merge pull request #2902 from yglukhov/js-copying-fix
Fixed copying of aggregates in JS.
2015-06-12 00:30:49 +02:00
Andreas Rumpf
e7bb37d12c Merge pull request #2896 from r-ku/I64-magics-gone
I64 magics gone
2015-06-12 00:06:39 +02:00