Commit Graph

6096 Commits

Author SHA1 Message Date
Simon Hafner
c4c64804e5 moved sexp.nim to nimsuggest repo 2015-06-05 11:04:15 -05:00
Dominik Picheta
b4b7bd5af3 Merge branch 'boopcat-exportnewsocket' into devel 2015-06-05 15:06:15 +01:00
Dominik Picheta
c5708ef1ee Merge branch 'exportnewsocket' of https://github.com/boopcat/Nim into boopcat-exportnewsocket
Conflicts:
	lib/pure/asyncnet.nim
2015-06-05 15:06:02 +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
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
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
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
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
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
Dominik Picheta
a88120ab50 Merge pull request #2855 from x2f/devel
In logging.nim, expose bufSize parameter for file-based loggers
2015-06-02 13:29:39 +01:00
x2f
51d284ce84 Documented bufSize param in logging.nim
Documented bufSize param in logging.nim to complete the previous change
that added a bufSize parameter to file based logger constructors.
2015-06-01 21:52:26 -04:00
Oscar Campbell
dd30bab480 Restructure branching slighty. Fix error message. 2015-06-01 23:49:04 +02:00