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
Andreas Rumpf
77abb8f8b4
Merge pull request #2908 from apense/patch-7
...
Updated random functions. Fixes #2907
2015-06-15 20:23:40 +02:00
Andreas Rumpf
0272da0188
Merge pull request #2906 from nanoant/patch/more-about-colors
...
More flexible msg colors
2015-06-15 14:51:20 +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
1057770ce5
colors: Introduce resetStyle enum & use templates
...
1. Introduce TerminalCmd enum and resetStyle that can be issued to issue
resetAttributes within styledEcho arguments.
2. Use templates to resolve styledEcho arguments for performance reasons.
3. Try to avoid calling trailing write "\n" and reset attributes where possible.
2015-06-15 11:26:53 +02:00
Adam Strzelecki
806dfe976d
colors: Use colors by default on terminals
2015-06-15 11:26:53 +02:00
apense
4072a39c69
Updated RNG for Visual C
...
Can't test it, but it should work just fine. Can be extended to MinGW w/ GCC and other compilers sometime in the future
2015-06-14 21:16:39 -04:00
Araq
8c671d22d6
website knows about new URLs
2015-06-15 01:30:25 +02:00
Araq
d6f94091ed
fixes #2904
2015-06-15 01:22:12 +02:00
Araq
8d39669233
fixes #2909
2015-06-15 00:56:20 +02:00
Araq
1452edfbb9
better test program
2015-06-14 22:51:29 +02:00
Andreas Rumpf
69f2b67b5e
Merge pull request #2922 from ozra/docfix-1179-etc
...
Regarding num literals, mod paths, ident equality.
2015-06-14 22:42:13 +02:00
Dominik Picheta
9ed4efc1f8
Merge pull request #2925 from HaCk3Dq/devel
...
Fixed #1985
2015-06-14 20:25:17 +01: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
Vlad
059b05a804
fixed #1985
2015-06-14 21:42:43 +03:00
Dominik Picheta
2f68b0baf0
Introduce gPrefixDir for nimsuggest.
2015-06-14 18:51:06 +01:00
Oscar Campbell
ed73a90bd3
Regarding num literals, mod paths, ident equality.
2015-06-14 18:36:35 +02: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
Andreas Rumpf
ccf8c88f29
Merge pull request #2911 from avsej/fix-logger-formatting
...
Fix logger formatting
2015-06-13 13:51:20 +02:00
Sergey Avseyev
0fe54a5e14
Fix logger formatting
...
Motivation
----------
Current implementation does not allow to specify any formatting. It
even cannot output log level, because `writeln()` accepts
`varags[string]` and silently ignores everything before last argument.
Modification
------------
Perform formatting in the single place during substitution. Make log
level optional as all other substitution variables. Also make verbose
logging more informative and parseable.
Result
------
Correct handling formatting and substitutions. Machine-friendly default
output of verbose logger.
2015-06-13 14:41:08 +03:00
Andreas Rumpf
e55420ef8a
Merge pull request #2910 from avsej/add-missing-nre-dependency
...
Add missing nre dependency to installer
2015-06-13 13:11:02 +02:00
Sergey Avseyev
85911a1659
Add missing nre dependency to installer
2015-06-12 19:51:51 +03:00
Oscar Campbell
7ca61f484b
Non-base10 overflow allowed if bit-stable. Tests.
2015-06-12 13:45:15 +02: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
apense
7fba7d934b
Discarded randomize for windows
...
It actually doesn't use it because `rand_s` doesn't.
2015-06-11 18:56:59 -04:00
apense
294989daf5
Updated random functions
...
For Windows, `rand_s` has been available since Windows XP (see https://msdn.microsoft.com/en-us/library/sxtz2fa8.aspx ). It gives a better quality random number in a larger range (the max is actually `0xffffffff`).
2015-06-11 18:47:28 -04: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
d31fe7666a
Merge pull request #2818 from flaviut/add-nre
...
Add nre to stdlib
2015-06-12 00:13:19 +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
Andreas Rumpf
f9a0a5fc66
Merge pull request #2905 from yglukhov/unittest-terminal-attributes
...
Fixed unittest output.
2015-06-12 00:03:37 +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
98ec9615f3
Fixed unittest output.
2015-06-11 23:01:44 +03:00
yglukhov
f47081b300
Fixed addr of bracket expression. Fixes #2148 .
2015-06-11 18:32:22 +03:00
Flaviu Tamas
31514550d3
Revert "Base re off of nre"
...
This reverts commit dc60a51e15 .
2015-06-10 17:14:20 -04:00
Andreas Rumpf
a041ef68a1
Merge pull request #2862 from ozra/bugfix-2858-testament-sources-system-wide
...
Bugfix 2858 Testament Sources Files System Wide
2015-06-10 21:13:25 +02:00
Andreas Rumpf
a9e791823e
Merge pull request #2891 from sstirlin/devel
...
fixed threadpool and atomics to work with Visual Studio 32 and 64 bit
2015-06-10 21:07:00 +02:00
Oscar Campbell
ee3d390b3f
Revert from columnar layout. Remove temp-fix for 2857.
2015-06-10 19:52:26 +02:00
reactormonk
291e3b90f4
Merge pull request #2899 from msiglreith/pr_fix_typo
...
Fix doc typos in basic2d and basic3d
2015-06-10 12:15:49 -05:00
Oscar Campbell
b3eb8ab81c
Merge branch 'devel' into bugfix-2858-testament-sources-system-wide
2015-06-10 19:08:45 +02:00
Oscar Campbell
d892887c93
Merge remote-tracking branch 'upstream/devel' into devel
2015-06-10 19:06:46 +02:00
Adam Strzelecki
b49c75c82a
macros: Add test for node comparsion
2015-06-10 18:07:21 +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
Spencer Stirling
891d953a4c
disabled threadpool assertion only for vcc
2015-06-10 07:23:07 -06:00
msiglreith
8905ed1dda
Fix doc typos in basic2d and basic3d
2015-06-10 14:34:53 +02:00
Araq
6c256ddcae
cause I have no life
2015-06-10 11:50:08 +02:00