apense
d75bdc31b4
Added import-type statements
...
import, import .. except, export, include, etc.
2015-06-15 18:55:09 -04:00
apense
998f1fa67a
Minor updates; addition of var return in procs
2015-06-15 18:35:05 -04:00
yglukhov
ffa4f8dc99
Added noUnhandledHandler
2015-06-15 23:30:09 +03:00
apense
8c8e975bcd
Added static types
...
I put this within the type section, but I'm not sure if it should go here. It has a broader use. Should it get its own section?
2015-06-15 16:27:53 -04:00
yglukhov
fa1f3aecce
Unhandled exceptions handling brought back.
2015-06-15 23:08:38 +03:00
apense
3c9d655b88
Added raw string literal function calls docs
...
Got curious as to how re"..." worked.
2015-06-15 16:03:04 -04: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
Andreas Rumpf
77abb8f8b4
Merge pull request #2908 from apense/patch-7
...
Updated random functions. Fixes #2907
2015-06-15 20:23:40 +02:00
apense
fce697b043
Corrected capitalization
...
Sorry to be making so many changes.
2015-06-15 13:37:58 -04:00
apense
7275a035b5
Updated type section a little
...
Objects are ubiquitous. Concepts don't use ``concept`` in their name.
Really, a lot more could be added here.
2015-06-15 13:30:09 -04:00
apense
ac6ea4b76d
Clarified AST
...
Generic parameters are treated in the next paragraph. Revised text for future compatibility
2015-06-15 12:58:44 -04:00
Simon Hafner
8618530413
switched over from assert to doAssert for guide
2015-06-15 08:34:11 -05: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
Stefan Talpalaru
8624654c57
TMemRegion -> MemRegion
2015-06-15 09:18:44 +02:00
Stefan Talpalaru
fe0b6d74f5
cleanup
2015-06-15 08:56:07 +02:00
Stefan Talpalaru
bdac85f2cf
Merge branch 'devel' into gogc
2015-06-15 08:44:02 +02:00
Stefan Talpalaru
657d6f9de2
finalizer support
2015-06-15 08:36:55 +02:00
apense
38cb13cde5
Added some documentation
...
This is a start. Other updates for `macros.nim` are planned, but this at least fleshes out some of the sections.
Comments are appreciated!
2015-06-15 01:06:55 -04:00
Simon Hafner
d4dd332c8d
initial draft for contributing.md
2015-06-14 20:57:21 -05: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