Commit Graph

6417 Commits

Author SHA1 Message Date
Andreas Rumpf
59a2d3b814 Merge pull request #2944 from apense/patch-5
Fixed gcc batch issue
2015-06-17 20:50:44 +02:00
Andreas Rumpf
314fe6b54a Merge pull request #2945 from yglukhov/fix-2917
Fixes #2917
2015-06-17 20:50:08 +02:00
yglukhov
5824b1c839 Fixes #2917 2015-06-17 21:16:18 +03:00
apense
80d6b0e9ca Fixed gcc batch issue
See #18 on csources. Basically, some Windows system have gcc as a gcc.bat file. This isn't an issue unless you're calling from another batch file (like here). The call chain will follow to gcc.bat and end there, meaning only one command is processed. Using "CALL" before the other batch command will keep the calls in the main batch file after completion, meaning the compilation will actually succeed this way [see technet](https://technet.microsoft.com/en-us/library/bb490873.aspx). Otherwise you have to hope there is a gcc.exe somewhere instead
2015-06-17 13:07:38 -04:00
Andreas Rumpf
e2bcf22a84 Merge pull request #2768 from gokr/fix-repr
Fixes #2749, traverse full inheritance for reprRecord
2015-06-16 20:48:51 +02:00
Andreas Rumpf
ddb62747e8 Merge pull request #2936 from alexamy/alexamy-patch-1
Tutorial Part I update
2015-06-16 20:46:55 +02: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
Stefan Talpalaru
b487d4e425 conditional TGenericSeq extension 2015-06-16 15:15:17 +02:00
Alexander
77b51df09c Update tut1.txt 2015-06-16 16:14:23 +03:00
Alexander
5e2d7e81a2 Update tut1.txt 2015-06-16 16:00:33 +03:00
Alexander
abe1051374 Update tut1.txt 2015-06-16 15:58:21 +03:00
Andreas Rumpf
3772944fdb Merge pull request #2931 from apense/patch-8
Added some documentation
2015-06-16 13:10:14 +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
apense
66ad9e3985 Fleshed out type section
Hopefully this table renders correctly. Not sure this is the best place for this stuff.
2015-06-15 19:37:16 -04:00
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
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
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