Commit Graph

7456 Commits

Author SHA1 Message Date
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
Araq
3312d49a48 proper waiting for the pinned thread 2015-06-02 16:21:55 +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
fowlmouth
80a13a408e added a test 2015-06-01 11:01:50 -05:00
Billingsly Wetherfordshire
87c8d586b5 string only matches for openarray not varargs 2015-06-01 07:37:36 -05:00
Billingsly Wetherfordshire
f3b8a3cbbc made string compatible with openarray[char] 2015-06-01 06:04:22 -05:00
x2f
3f78f75483 Expose bufSize parameter for file-based loggers
newFileLogger and newRollingFileLogger have a new bufSize parameter that
is used in open(). The default value -1 has the same behavior as before.
Use 0 for unbuffered output to log file.
2015-05-31 21:06:23 -04:00
Stefan Talpalaru
50e96ad939 the Go GC - initial implementation 2015-05-31 19:07:44 +02:00
Oscar Campbell
9fcd5252c7 Fix doc for #2523, regarding numeric literals. 2015-05-31 03:59:31 +02:00
Oscar Campbell
4a1e45e3f8 Remove forgotten debug echo statement. 2015-05-31 03:11:44 +02:00
Oscar Campbell
6a43b0e817 Clean up to compiler style. Refine error-msg for illegal octal 'O' 2015-05-31 02:55:06 +02:00
Oscar Campbell
d35887e492 Util funcs used by lib/hashes.nim and compiler/lexer.nim 2015-05-31 01:32:50 +02:00
Oscar Campbell
1b4db5a34c Implement #2811 - Unicode en-dash (U+2013) as hump/snake alt. 2015-05-31 01:31:06 +02:00
Oscar Campbell
49b953533a Fix #2523 - first commit. Needs some cleanup. 2015-05-31 00:56:27 +02:00
boopcat
af07db2829 Export newSocket(fd) from net.nim and standardize args in net/asyncnet
Exporting newSocket(fd) mimics what asyncnet does and lets you pass in your
 own socket FD.
newSocket*(fd) and newAsyncSocket*(fd) now both take "buffered" instead of
 "isBuff" and defaults to true to match the other constructors on both.
2015-05-30 11:01:15 +00:00
yglukhov
c5f7d553e9 Perform lambda lifting for compile-time stuff when targeting JS. Enable unittest test. 2015-05-29 10:48:14 +03:00
Dominik Picheta
6820b2fea9 Merge pull request #2831 from stedi67/devel
fix for https://github.com/nim-lang/Aporia/issues/69
2015-05-28 14:40:43 +01:00
Stephan Diehl
4fcf5adfe2 fix for https://github.com/nim-lang/Aporia/issues/69 2015-05-28 15:25:09 +02:00
Andreas Rumpf
852987c880 Merge pull request #2829 from yglukhov/js-asm-renderer
Fixed renderer for asm node in JS
2015-05-28 14:26:55 +02:00
yglukhov
e65ccfb8f5 Removed formatting from logging. 2015-05-28 14:48:53 +03:00
Araq
2d2eca18b8 bootstrap.sh: cannot keep exec bit on windows 2015-05-28 12:59:40 +02:00