Commit Graph

2377 Commits

Author SHA1 Message Date
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
yglukhov
f14ca63417 Singing and dancing with skipTypes. 2015-06-12 00:06:01 +03:00
yglukhov
6436d1920c Fixed copying of aggregates in JS. 2015-06-11 23:32:08 +03:00
yglukhov
f47081b300 Fixed addr of bracket expression. Fixes #2148. 2015-06-11 18:32:22 +03:00
Oscar Campbell
b3eb8ab81c Merge branch 'devel' into bugfix-2858-testament-sources-system-wide 2015-06-10 19:08:45 +02:00
Adam Strzelecki
6ecce2941e macros: exprStructuralEquivalent for EqNimrodNode
Previously NimNode comparison in macros way returning false for anything else
than nil literal.
2015-06-10 18:07:21 +02:00
Andreas Rumpf
258bfa886a Merge pull request #2852 from kirbyfan64/devel
Colors!
2015-06-10 11:08:22 +02:00
Andreas Rumpf
cb439d70bc Merge pull request #2892 from apense/patch-6
Fixes #2886 (moves compiler function into the compiler)
2015-06-10 10:55:31 +02:00
rku
87b6220897 Removed magics: mAbsI64 2015-06-10 10:25:36 +03:00
rku
3984fecae6 Removed magics: mBitnotI64 2015-06-10 10:25:36 +03:00
rku
47114342c4 Removed magics: mEqI64 mLtI64 mLeI64 2015-06-10 10:25:36 +03:00
rku
658dcd2a58 Removed magics: mShrI64, mShlI64, mBitandI64, mBitorI64, mBitxorI64
Author:    rku <rokups@zoho.com>
2015-06-10 10:25:36 +03:00
rku
372a5d3cbb Removed magics: mAddI64, mSubI64, mMulI64, mDivI64, mModI64
Author:    rku <rokups@zoho.com>
2015-06-10 10:25:35 +03:00
Adam Strzelecki
4e14c0ad9f securehash: SHA1 -> Sha1 according to style guide 2015-06-09 22:57:44 +02:00
apense
867b38496b Moved negative indexing operator here
Only used here (not in standard library)
2015-06-09 16:24:13 -04:00