Commit Graph

2355 Commits

Author SHA1 Message Date
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
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
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
Ryan Gonzalez
d4d5f95808 Remove unnecessary import 2015-06-09 15:21:33 -05:00
Adam Strzelecki
54c863d6ae securehash: sha_digest_size is not following style
https://github.com/Araq/Nim/wiki/Style-Guide-for-Nim-Code
2015-06-09 22:20:06 +02:00
Adam Strzelecki
eccc2f87e9 securehash: remove unused emptySecureHash 2015-06-09 22:20:05 +02:00
Adam Strzelecki
3d266433a7 securehash: Keep module name consistent
1. All other modules don't use underscore, why this should be different?

2. Wrap some imports to 80 column
2015-06-09 22:20:05 +02:00
Andreas Rumpf
25a1987517 Merge pull request #2780 from flaviut/cleanup-crc
Use SHA1 instead of CRC
2015-06-09 15:10:21 +02:00
Oscar Campbell
f0b6c03b26 Merge branch 'devel' into bugfix-2858-testament-sources-system-wide 2015-06-07 13:17:06 +02:00
Andreas Rumpf
380d617f86 Merge pull request #2867 from Araq/fix-2584
Fixes #2584
2015-06-07 10:51:35 +02:00
Araq
54750f608d fixes #2774 2015-06-06 13:25:20 +02:00
Araq
d94fcb38f0 fixes #2687 2015-06-06 11:59:36 +02:00
Araq
a730a974ed fixes #2854 2015-06-06 11:59:35 +02:00
Araq
706080dcbd fixes 'noreturn' regression for Visual C++ 2015-06-06 11:59:34 +02:00
Dominik Picheta
1cf1610bdf Rename errUndeclaredProcedure to errUndeclaredRoutine. 2015-06-05 14:50:14 +01:00
Andreas Rumpf
62376c0657 Merge pull request #2824 from yglukhov/js-ct-lambda-lifting
Perform lambda lifting for compile-time stuff when targeting JS.
2015-06-05 13:04:02 +02:00
Andreas Rumpf
f8326ad4c0 Merge pull request #2859 from nanoant/patch/norewrite-pragma
{.noRewrite.} pragma for term rewriting
2015-06-05 12:53:15 +02:00
Dominik Picheta
16da925a0a Removed nimsuggest from this repo. 2015-06-04 23:25:29 +01:00
Dominik Picheta
2d9a24f3f6 Hopefully fixes nimsuggest building against the compiler package. 2015-06-04 23:07:57 +01:00
Oscar Campbell
cdf631c508 Merge branch 'devel' into bugfix-2858-testament-sources-system-wide 2015-06-04 22:43:18 +02:00
Dominik Picheta
5d6f16cc1a Got rid of errUndeclaredProcedureField. 2015-06-04 16:39:38 +01:00
Dominik Picheta
22f6017ab8 Fixes #2584
Better compiler errors for accessing undeclared fields, calling undeclared
procedures and procedure fields.
2015-06-04 13:55:48 +01:00
pdw
9764ba933b Dropped 'T' from types 2015-06-04 13:15:07 +02:00
Andreas Rumpf
51488ebd12 Merge pull request #2848 from ozra/bugfix-2523-number-literal-lexing
Bugfix #2523 number literal lexing
2015-06-04 11:40:00 +02:00