Commit Graph

11210 Commits

Author SHA1 Message Date
Andreas Rumpf
bf70a137f0 Merge pull request #2873 from nanoant/devel
Fixup: Reverted TZipFileStream name change
2015-06-05 12:48:49 +02:00
Adam Strzelecki
2dcaa75e2d Fixup: Reverted TZipFileStream name change
This fixes broken b0469c11e3 that incompletely
reverted TZipFileStream name change.
2015-06-05 12:44:28 +02:00
Dominik Picheta
16da925a0a Removed nimsuggest from this repo. 2015-06-04 23:25:29 +01:00
Dominik Picheta
ed46ca6d57 Add WSAEADDRINUSE to winlean. 2015-06-04 23:23:41 +01:00
Dominik Picheta
0b124a2043 Fixes compilation with --gc:markandsweep. 2015-06-04 23:12:38 +01:00
Dominik Picheta
2d9a24f3f6 Hopefully fixes nimsuggest building against the compiler package. 2015-06-04 23:07:57 +01:00
Oscar Campbell
0a810fd10f Treat unitest's default esc.seq. output as empty. 2015-06-04 22:53:39 +02:00
Oscar Campbell
cdf631c508 Merge branch 'devel' into bugfix-2858-testament-sources-system-wide 2015-06-04 22:43:18 +02:00
Andreas Rumpf
c53f65f1e7 Merge pull request #2871 from apense/patch-7
Fixed Error hierarchy links in manual
2015-06-04 22:20:23 +02:00
apense
846489f813 Fixed links in Error hierarchy
Manual contained invalid links
2015-06-04 16:18:18 -04:00
Dominik Picheta
e59fdc6572 Merge pull request #2870 from apense/patch-6
Fixed code indentation in procs.txt
2015-06-04 19:21:30 +01:00
apense
9d3b2d1e05 Fixed code indentation in procs.txt
Now matches tut2.txt
2015-06-04 13:31:40 -04: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
Araq
ccb9ae2d52 stdlib: don't use deprecated symbols 2015-06-04 13:18:42 +02:00
Perelandric
e0ecaa86ba Reverted all changes 2015-06-04 13:18:42 +02:00
Perelandric
b0469c11e3 Reverted TZipFileStream name change 2015-06-04 13:18:41 +02:00
Perelandric
2124952db3 Added line breaks to long 'deprecated' pragmas 2015-06-04 13:18:40 +02:00
pdw
cbd8da93f4 lib/wrappers/s-z - Dropped 'T' from types 2015-06-04 13:18:40 +02:00
pdw
b2bc5440aa lib/wrappers/c-r - Dropped 'T' from types 2015-06-04 13:18:39 +02:00
pdw
9e771ca707 lib/windows - Dropped 'T' from types 2015-06-04 13:18:38 +02:00
pdw
2ca90a20a1 lib/system/g-w - Dropped 'T' from types 2015-06-04 13:18:37 +02:00
pdw
ff5b446dfc lib/system/a-e - Dropped 'T' from types 2015-06-04 13:18:37 +02:00
pdw
d18e18060e lib/pure/p-t - Dropped 'T' from types 2015-06-04 13:18:36 +02:00
pdw
6914244f30 lib/pure/e-o - Dropped 'T' from types 2015-06-04 13:18:35 +02:00
pdw
192ba3bbc0 lib/pure/a-c - Dropped 'T' from types 2015-06-04 13:17:11 +02:00
pdw
1c426c613c lib/posix - Dropped 'T' from types 2015-06-04 13:17:11 +02:00
pdw
7616790515 lib/packages/docutils - Dropped 'T' from types 2015-06-04 13:17:10 +02:00
pdw
6e8e3fdd23 lib/js - Dropped 'T' from types 2015-06-04 13:17:09 +02:00
pdw
ea03fc6886 lib/impure - Dropped 'T' from types 2015-06-04 13:17:09 +02:00
pdw
6ca3504dfb lib/core - Dropped 'T' from types 2015-06-04 13:17:08 +02:00
pdw
9764ba933b Dropped 'T' from types 2015-06-04 13:15:07 +02:00
Dominik Picheta
88e849078f Merge pull request #2830 from yglukhov/logging-no-format
Removed formatting from logging.
2015-06-04 11:43:49 +01: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
Andreas Rumpf
a1f8b1bcf9 Merge pull request #2850 from ozra/docfix-2523-number-literals
Fix doc for #2523, regarding numeric literals.
2015-06-04 11:38:43 +02:00
Andreas Rumpf
86f58a002d Merge pull request #2861 from apense/patch-5
Added slight explanation for count{down|up}
2015-06-04 11:37:45 +02:00
Andreas Rumpf
8264c3cbee Merge pull request #2849 from ozra/feature-2811-hump-snake-dash
Feature #2811 hump, snake and now dash
2015-06-04 11:37:26 +02:00
Andreas Rumpf
874637be32 Merge pull request #2863 from yglukhov/js-dotdot
Fixed codegen for DotDot  magic in JS
2015-06-04 11:35:48 +02:00
yglukhov
e9a57e9706 Fixed codegen for DotDot magic 2015-06-04 12:00:27 +03:00
Oscar Campbell
071ccf3d02 Add "safety compilation". Improved, fixed messages
- node ext searcher also looks for "iojs" if no node(js?) found.
- koch ensures the local work dir compiler is freshly compiled before executing the tests.
- the tester can only run in the repo dir - now the compiler and libs used are also explicitly the local dirs - so no confusion from system wide pathing ("sufficiently sandboxed").
- fixed expectations in tmitems.nim test to match changes in json mod.
- re-layouted the columns / row printing slightly, making test fails pop out more, and everything "normal" layed back.
2015-06-04 07:33:27 +02:00
Dominik Picheta
a385b6736c Fix incorrect 400 reply in asynchttpserver
Without the ``continue`` the user's callback will be called but the client would have already been replied to.
2015-06-03 18:48:55 +01:00
Oscar Campbell
51fc903dbf Made pathing (hopefully) Windows friendly. 2015-06-03 13:08:28 +02:00
Oscar Campbell
bf9053315c Ensure fresh compiler and local compiler + libs 2015-06-03 03:22:17 +02:00
Ryan Gonzalez
8beed96106 Colors! 2015-06-02 18:47:43 -05:00
apense
860da53db5 Added slight explanation for count{down|up}
The inclusivity of a..b (that it is from a <= n <= b) wasn't clear.
2015-06-02 17:11:03 -04:00
Oscar Campbell
44b0bf59d9 Change const def to cleaner code per suggestion. 2015-06-02 22:22:27 +02:00
Adam Strzelecki
b0db8126a5 Parser: Inline expr pragmas with parenthesis
Previously pragmas could be attached only to whole statements, this change
allows attaching pragmas to inline statements, eg.:

  template rewriteAdd{a + b}(a: expr, b: expr): expr =
    ({.noRewrite.}: a + b) + 1

Code above will cause a + b to be rewritten once, because rewriteAdd attaches
{.noRewrite.} to resulting a + b expr.
2015-06-02 21:58:14 +02:00
Adam Strzelecki
2f5ed17cfe Parser: Properly represent parsePar in grammar 2015-06-02 21:53:46 +02:00
Adam Strzelecki
13b57dbc2f Introduce {.noRewrite.} expr pragma disabling TR
Term rewriting macros/templates are currently greedy and they will rewrite as
long as there is a match. So there was no way to ensure some rewrite happens
only once, eg. when rewriting term to same term plus extra content.

With new macro we can actually prevent further rewriting on marked expr or
stmts, eg. with given example echo(...) will be rewritten just once:

  template pwnEcho{echo(x)}(x: expr) =
    {.noRewrite.}: echo("pwned!")

  echo "ab"
2015-06-02 21:38:53 +02:00
Araq
79c92603f5 FlowVar's ^ for refs is safe and convenient to use 2015-06-02 16:32:53 +02:00