Commit Graph

14740 Commits

Author SHA1 Message Date
LemonBoy
f23b0a7dc8 Fix handling of reraise in effect tracking (#10582)
This is the MVP in order not to get a completely useless error message
from the compiler.

Fixes #10579
2019-02-07 17:07:03 +01:00
Araq
c95616f6ee fixes #10586 2019-02-07 16:13:03 +01:00
narimiran
27364ece14 mention correct usage of export in the manual, fixes #6227 [ci skip] 2019-02-07 16:10:48 +01:00
Araq
84d10f7d8a fixes #10585 2019-02-07 15:04:05 +01:00
Araq
3dc270eee5 DOM module: add more missing stuff 2019-02-07 15:04:05 +01:00
Timothee Cour
b8f4ff8b9f followup on #10573: prevent common user config to interfere with testament (excessiveStackTrace) (#10590) 2019-02-07 12:29:31 +01:00
Araq
d5da450100 helpers2 now has a real name 2019-02-07 12:12:20 +01:00
Timothee Cour
6f412fc6cb fix #10591 regression (#10592) 2019-02-06 22:31:36 -06:00
Andreas Rumpf
37f9ace517 further system.nim cleanups 2019-02-06 22:35:51 +01:00
Andreas Rumpf
2851f316f6 ignore nkCommentStmt in lambda lifting 2019-02-06 22:00:16 +01:00
Andreas Rumpf
4338f86acb fixes some bug 2019-02-06 22:00:16 +01:00
LemonBoy
294b2e03b2 Reject assignments with nkEmpty RHS (#9000)
Fixes #8997
2019-02-06 21:26:55 +01:00
Andreas Rumpf
0036014727 system refactorings (#10559)
* move IO subsystem into its own module; refs #10385
* make standalone test compile again
* make C++ examples compile again
* make more tests green
* make sysAssert and gcAssert work again
2019-02-06 21:00:00 +01:00
Andreas Rumpf
65f3e390e8 fixes #10584 [backport] 2019-02-06 20:58:28 +01:00
Oscar Nihlgård
bfb2ad5078 New implementation of times.between (#10523)
* Refactor ttimes

* New implementation of times.between

* Deprecate times.toTimeInterval
2019-02-06 20:13:29 +01:00
Araq
e457ccc7e1 make travis green 2019-02-06 17:42:38 +01:00
Araq
035134de42 make streams.close more forgiving in order to break less code out there 2019-02-06 15:51:21 +01:00
Araq
b5991f52b9 DOM.nim: fix regression, missing procs 2019-02-06 15:37:32 +01:00
Araq
e33544ad13 koch winrelease: also bundle c2nim for Windows [backport] 2019-02-06 14:39:32 +01:00
LemonBoy
864c3e874c Merge pull request #10577 from zielmicha/fix-10568
Fixes #10568: Fix null pointer dereference in address computation for incrSeqV3.
2019-02-06 14:23:24 +01:00
LemonBoy
6c8dee4180 Avoid evaluating macros twice in type sections (#10550)
Fixes #10548
2019-02-06 11:35:44 +01:00
LemonBoy
26255c72fd Fix getCustomPragmaVal on var fields 2019-02-06 11:34:55 +01:00
Michał Zieliński
580f62220c Fixes #10568: Fix null pointer dereference in address computation.
According to https://hownot2code.com/2016/08/18/null-pointer-dereferencing-causes-undefined-behavior/ this was an undefined behaviour.
2019-02-06 10:13:44 +01:00
Andreas Rumpf
c174d09245 [doc] lots of fixes in doc/{contributing,docstyle}.rst (#10571)
* [doc] lots of fixes in doc/contributing.rst and doc/docstyle.rst

* fixup
2019-02-06 09:49:05 +01:00
Timothee Cour
cf8366a569 prevent common user config to interfere with testament (#10573) 2019-02-06 09:41:05 +01:00
LemonBoy
4c3f841212 Do not raise ProveInit/WanrUninit for .noinit. var (#10566) 2019-02-06 09:14:09 +01:00
Timothee Cour
f7a0a42b05 fixup 2019-02-05 17:45:30 -08:00
Timothee Cour
86f4dae748 [doc] lots of fixes in doc/contributing.rst and doc/docstyle.rst 2019-02-05 17:19:29 -08:00
Araq
2e880c726b fixes a lexer regression for 'nimble check' 2019-02-05 15:40:03 +01:00
Vindaar
7424ea4315 fix typo in stats module (#10562) [ci skip] 2019-02-05 15:37:55 +01:00
narimiran
21b256dbc9 fix documentation CSS
- make documentation usable on small (narrow) screens
- slightly smaller font size in tables
- fix search input width
2019-02-05 14:01:47 +01:00
Timothee Cour
2b30998159 document that multiple yield in inline iterator cause code bloat (#10553)
* document that multiple `yield` in inline iterator cause code duplication
* doc: rule `Start types with a capital T` was deprecated
2019-02-05 13:05:26 +01:00
Arne Döring
824f39b32e Vm bitops fixes (#10520) 2019-02-05 09:31:37 +01:00
LemonBoy
bcb5995ddf Fix regression w/ keep-alive connections to AsyncHttpServer
We should keep listening if the connection is marked as keep-alive.

Fixes #10536
2019-02-04 22:16:55 +00:00
LemonBoy
59574b89a6 Clean up some code using a tuple unpack expression 2019-02-04 22:16:55 +00:00
LemonBoy
d7ca7fd03e Small change in how tuples are handled in async macro
A small change that brings no functional change beside a flatter tree.
2019-02-04 22:16:55 +00:00
Andreas Rumpf
56d2b08c5a times.nim: make it compile on older OSX versions 2019-02-04 21:06:43 +01:00
Andreas Rumpf
57b49cc509 allocators: add a name field for easier debugging 2019-02-04 21:06:23 +01:00
Araq
6e1d2df74e testament: test nimble packages is beginning to work 2019-02-04 15:59:18 +01:00
Araq
9fa116b6e1 compiler: don't use 2 spaces in an error message 2019-02-04 15:59:18 +01:00
Araq
23c11987b4 make the lexer more forgiving so that nim-regex compiles again 2019-02-04 15:59:18 +01:00
narimiran
10219584ee tut3.rst formatting fix 2019-02-04 14:31:52 +01:00
Miran
8cb80238c4 update documentation CSS (#10543)
* update documentation CSS
* update the expected htmls
2019-02-04 12:27:02 +01:00
LemonBoy
1adc749ed6 Merge pull request #10539 from GULPF/strtabs-nexttry
Change strtabs.nextTry to match the assumption in strtabs.del
2019-02-03 11:49:41 +01:00
Oscar Nihlgård
315abd7163 Change strtabs.nextTry to match the assumption in strtabs.del 2019-02-03 09:37:11 +01:00
Oscar Nihlgård
0091f2ad3b Implement {.booldefine.} (#10533) 2019-02-03 09:06:00 +01:00
genotrance
07553034de Enable Travis folding in winrelease (#10528) 2019-02-02 13:26:32 +01:00
Miran
ad4e3fd28c devel docs should point to devel src (#10529)
Currently, devel docs (https://nim-lang.github.io/Nim/lib.html)
source links point to master branch,
leading to outdated source code and showing the wrong line.
2019-02-02 13:23:10 +01:00
Andreas Rumpf
17d0ce9c1c DOM API: make compatible with Karax's requirements (#10517)
* DOM API: make compatible with Karax's requirements
* make tools\dochack.nim compile again
2019-02-02 00:21:13 +01:00
Araq
f4c76bc8e5 testament: revive ability to test specific important Nimble packages 2019-02-02 00:19:02 +01:00