Commit Graph

4758 Commits

Author SHA1 Message Date
genotrance
031de094f0 Fix gorge caching (#10407)
(cherry picked from commit 4b1e227531)
2019-01-22 06:31:50 +01:00
Oscar Nihlgård
ba68025ce5 Support system.reset in vm (#10400)
(cherry picked from commit a4cdd25b19)
2019-01-22 06:31:28 +01:00
LemonBoy
56b26966c8 Make the registered passes local to the ModuleGraph (#9259)
Closes #9068

(cherry picked from commit b97a7dbf3d)
2019-01-21 08:39:18 +01:00
Araq
e21b578740 fixes #10075 [backport]
(cherry picked from commit aa7ad88978)
2019-01-14 09:18:27 +01:00
Araq
81c9bee285 fixes #10188
(cherry picked from commit 5101b6befd)
2019-01-09 11:01:51 +01:00
Araq
5fc78d86b7 runnableExamples: compile and test them as a single file; fixes #9300 2019-01-09 11:00:40 +01:00
Araq
e4767ef8d5 fixes #9889, fixes #9886
(cherry picked from commit 7a66616d74)
2019-01-02 11:39:49 +01:00
Araq
8d3cadbc94 tar.xz building: also ship with the moved testament tool
(cherry picked from commit 00f84d3d22)
2019-01-02 10:39:49 +01:00
narimiran
a23b5c9265 Revert "Undefine some symbols and globalOptions when processing nimscript (#9945) [backport]"
This reverts commit 90b4648a99.
2018-12-31 11:17:27 +01:00
Araq
0b9d158d11 fixes #10033 [backport]
(cherry picked from commit bdb67201b2)
2018-12-29 10:52:09 +01:00
Araq
98bf23fe08 fixes #10058 [backport]
(cherry picked from commit 23448a96cc)
2018-12-29 10:47:49 +01:00
Neelesh Chandola
90b4648a99 Undefine some symbols and globalOptions when processing nimscript (#9945) [backport]
* Undefine some symbols when processing nimscript
* Undefine taintMode when processing nimscript
* Reload .cfg configuration

(cherry picked from commit bb85869237)
2018-12-29 10:45:33 +01:00
Jacek Sieka
a29ab5e65f allow uints to appear in deep constant expressions
(cherry picked from commit db51eb3e32)
2018-12-15 10:43:23 +01:00
Timothee Cour
c16fa63f5e fix #9872: setLen now works properly at CT [backport]
(cherry picked from commit f838b1e6c1)
2018-12-15 10:24:54 +01:00
Araq
28946ed9f6 fixes #9864 [backport]
(cherry picked from commit af815c3c18)
2018-12-15 10:07:15 +01:00
Timothee Cour
c0e741778f fix #9832 (fixup) (#9859)
(cherry picked from commit d502ddea9e)
2018-12-15 10:06:45 +01:00
Timothee Cour
c3319fcad5 fixes #9832 (#9841) [backport]
(cherry picked from commit 05769020d3)
2018-12-15 10:06:25 +01:00
Andreas Rumpf
7572d40b23 enables .raises: [] via a .push (#9834) [backport]
(cherry picked from commit c74226f4c1)
2018-12-15 09:41:22 +01:00
Andreas Rumpf
e091c99514 don't crash where there is an unknown statement pragma [backport]
(cherry picked from commit 93cf0ef52e)
2018-11-28 17:49:45 +01:00
Yuriy Glukhov
219942658b Fixes 9716 [backport] 2018-11-24 17:35:24 +01:00
cooldome
ad554a2013 Fixes discard bug in cpp codegen (#9747) [backport]
Fixes discard bug in cpp codegen

(cherry picked from commit 9b9f5dee0b)
2018-11-24 12:17:32 +01:00
Yuriy Glukhov
43b3582952 Fixed yield in nkObjConstr. Fixes #9694 [backport] (#9744)
* Fixed yield in nkObjConstr. Fixes #9694
* Separate expr lowering from state splitting, introduce a clear lowering internal error

(cherry picked from commit 5a2290f788)
2018-11-24 12:17:21 +01:00
cooldome
64a4c72392 Of operator in vm fixes [backport] (#9717)
* fixes #9701
*  fixes #9702
* optimize of statement to bool

(cherry picked from commit 8c1083d3b7)
2018-11-24 12:15:43 +01:00
Andreas Rumpf
fa3017f6bb nimpretty: fixes #9673 [backport]
(cherry picked from commit 532647171e)
2018-11-24 12:15:12 +01:00
Andreas Rumpf
172e95be50 nimpretty: explicit --indent option; fixes #9502; refs #9510 [backport]
(cherry picked from commit d1fe195dcc)
2018-11-24 12:15:05 +01:00
Andreas Rumpf
7d88738068 parser/grammar sync; fixes #9608 [backport]
(cherry picked from commit 4e94f49065)
2018-11-24 12:14:18 +01:00
Andreas Rumpf
5f7679cb50 nim check fix; fixes #9609 [backport]
(cherry picked from commit 1c73db08b8)
2018-11-24 12:14:09 +01:00
Andreas Rumpf
4cece52524 Nimscript: fixes #9246 [backport]
(cherry picked from commit 73c306258b)
2018-11-24 12:13:36 +01:00
Araq
c514fd5b27 manually backported the fix to #9322 2018-11-04 13:27:45 +01:00
LemonBoy
1355dd1884 Fix transformation of yield in inline context (#9135)
When the loop variables are part of the envP block it is not safe to use
a nkFastAsgn.

Fixes #2656

(cherry picked from commit f98a3056c6)
2018-11-04 13:16:28 +01:00
LemonBoy
d37ec666d7 cherry pick 2018-11-04 09:02:03 +01:00
Araq
da1569afb6 fixes #9507
(cherry picked from commit eb2e494a52)
2018-11-04 08:47:34 +01:00
Neelesh Chandola
abf02b5f28 Fixes #9556 (#9604) [backport]
(cherry picked from commit 7a15d2d04b)
2018-11-03 07:28:51 +01:00
Araq
98103b5433 docgen: fixes #9432 [backport]
(cherry picked from commit 48f73aaa1c)
2018-11-03 07:27:53 +01:00
Araq
20c6ec0a22 docgen: make tests green again [backport]
(cherry picked from commit 8f28be0dd8)
2018-11-03 07:27:20 +01:00
Araq
be6f0108f3 docgen: fixes #9169 [backport]
(cherry picked from commit eb03684c57)
2018-11-03 07:26:41 +01:00
Miran
e214241bd3 Change documentation details (closes #5525) (#9542)
(cherry picked from commit 313bbf5b9b)
2018-11-01 18:08:00 +01:00
Araq
257d62efc9 docgen: fixes #9235 [backport]
(cherry picked from commit c9e8b899ed)
2018-11-01 18:07:49 +01:00
Andreas Rumpf
961d8bdf2f nimpretty: fixes #9506
(cherry picked from commit 03005fde99)
2018-11-01 18:00:03 +01:00
Araq
c53046223f nimpretty: fixes #9500
(cherry picked from commit 87d60b2a4b)
2018-11-01 17:58:44 +01:00
Araq
6977a743f3 nimpretty: fixes #9504
(cherry picked from commit 0afca3dd6b)
2018-11-01 17:58:33 +01:00
Andreas Rumpf
6844d679fc nimpretty: fixes #9499
(cherry picked from commit 5fd2827ab6)
2018-11-01 17:58:17 +01:00
Araq
427aa63a66 nimpretty: test for idempotence; fixes #9483
(cherry picked from commit 06a6433db7)
2018-11-01 17:56:53 +01:00
Araq
db68353848 nimpretty: fixes #8078
(cherry picked from commit 3ee53a7c8e)
2018-11-01 17:56:34 +01:00
Araq
8196fd6f73 nimpretty: fixes #9398
(cherry picked from commit e3a0415650)
2018-11-01 17:56:04 +01:00
Araq
1b2c8317e0 nimpretty: minor bug fix
(cherry picked from commit 695074214b)
2018-11-01 17:55:43 +01:00
Araq
64f5c96685 nimpretty: fixes #9384
(cherry picked from commit bd9d5787f0)
2018-11-01 17:48:17 +01:00
PMunch
b70b633e8e Fixes #9364 and add moduleDescription to jsondoc (#9396)
This fixes `jsondoc0` so that it has comments in the output as described
by the documentation. It also fixes `jsondoc`/`jsondoc2` as it stored
it's output in a file with an html extension. Along with this it also
adds a new field `moduleDescription` to `jsondoc`/`jsondoc2` which
contains the module description.

(cherry picked from commit db95fad6fa)
2018-11-01 17:47:27 +01:00
Miran
3ed61da6c1 improve error message, closes #2361 (#9387)
* improve error message

* use single % operation

(cherry picked from commit e8cf289bee)
2018-11-01 17:47:20 +01:00
Andreas Rumpf
e0eda28a99 nimpretty: fixes #9144
(cherry picked from commit 778e4d1775)
2018-11-01 17:44:54 +01:00