Commit Graph

14005 Commits

Author SHA1 Message Date
Andreas Rumpf
574cdfc156 IC: produce a good error message for when the compiler was built without the incremental recompilation feature 2018-11-20 23:55:06 +01:00
Araq
8285e24805 IR: also serialize the new transformedBody field 2018-11-20 23:48:15 +01:00
Timothee Cour
fe2eb25650 nimsuggest: fixes #96 2018-11-20 22:57:27 +01:00
Oscar Nihlgård
b4a42386d9 Times module cosmetic changes (#9770) 2018-11-20 22:56:25 +01:00
Araq
eeb7cc6780 IC: further progress 2018-11-20 19:30:00 +01:00
Arne Döring
39ad3a0da6 fix #9726 (#9765) 2018-11-20 13:12:47 +01:00
Yuriy Glukhov
d146516008 Fixed wording (#9761) 2018-11-20 12:50:08 +01:00
Araq
e8bec61413 incremental compilation: bugfixes 2018-11-19 18:51:47 +01:00
Araq
6acffcd28f incremental compilation: simple recompilation works 2018-11-19 17:16:52 +01:00
Arne Döring
1e08fff2d5 bitsize respected in size calculation. (#9756) 2018-11-19 13:48:40 +01:00
Araq
2418d0cac5 fixes #9743 2018-11-19 11:28:06 +01:00
Randy Smith
6c7abe6e5b Fixes #9671 (#9750) 2018-11-19 09:22:21 +01:00
cooldome
9b9f5dee0b Fixes discard bug in cpp codegen (#9747) [backport]
Fixes discard bug in cpp codegen
2018-11-19 08:44:49 +01:00
Flaviu Tamas
ebcf9406be Improve nre documentation (fixes #9470) 2018-11-18 20:12:24 -05:00
Yuriy Glukhov
5a2290f788 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
2018-11-18 23:09:33 +01:00
Arne Döring
5dfcc4e91c make tsizeof run on C++ backend (#9734) 2018-11-18 14:36:20 +01:00
narimiran
696dc1609f fix manual entry for .this pragma [ci skip] 2018-11-18 12:53:21 +01:00
Andreas Rumpf
e2f32deba3 make niminst compile again 2018-11-16 22:41:01 +01:00
Araq
6279b0587a make tests green again 2018-11-16 19:54:49 +01:00
Araq
3f6168b337 removes deprecated T/P types 2018-11-16 13:27:56 +01:00
Timothee Cour
4233046e3f make hex digit error msg more helpful (#9727) 2018-11-16 13:09:19 +01:00
Araq
4929f74023 fixes #9728 2018-11-16 11:30:34 +01:00
pgkos
4efbde84ee Make getEnv case insensitive on Windows (#9722) 2018-11-16 08:45:50 +01:00
Araq
4bd9f32f33 --gc:destructors: hello world example compiles and runs 2018-11-16 00:13:49 +01:00
Timothee Cour
2eb14bdd41 add nimCompile to simplify koch; add nimfind to koch tools (#9723) 2018-11-15 20:32:31 +01:00
Araq
3fe8b4f69d fixes #9692 2018-11-15 16:18:28 +01:00
Araq
dd3e1cbc9b make testament compile again with -d:nimCoroutines 2018-11-15 15:15:20 +01:00
Araq
9a05fd9dcf disable some tests for the C++ target; refs #7870 2018-11-15 15:10:50 +01:00
cooldome
c5c4da4f3c Converter bug fixes (#9700)
* Fixes #9698
* Fixes #9699
2018-11-15 13:14:48 +01:00
cooldome
8c1083d3b7 Of operator in vm fixes [backport] (#9717)
* fixes #9701
*  fixes #9702
* optimize of statement to bool
2018-11-15 13:03:42 +01:00
Andreas Rumpf
2104863910 nimfind: improvements 2018-11-15 12:17:12 +01:00
Andreas Rumpf
632ec94b5d gc_common: fixes a typo 2018-11-15 11:36:35 +01:00
Andreas Rumpf
9eb9a57ffd nimfind: improvements 2018-11-15 11:36:35 +01:00
Timothee Cour
6e003eeecb refs #9637 ; cleanup installation of nimsuggest (#9703) 2018-11-15 10:02:34 +01:00
Solitude
ae36dfb747 Add .46 as supported libssl version (#9704) 2018-11-15 09:04:30 +01:00
Andreas Rumpf
6e8ed8c6fa added first version of a nimfind tool for the poor souls that don't have a good nimsuggest integretation 2018-11-14 16:04:54 +01:00
Mamy Ratsimbazafy
b65c0c336c Inline generic min and max - https://github.com/nim-lang/Nim/issues/9514 (#9688) 2018-11-14 12:37:46 +01:00
Timothee Cour
b5448bf25c fix #9647 tmpl=>nimf (#9658) 2018-11-14 08:27:48 +01:00
Dominik Picheta
d89c815c41 Disable tasyncssl on Windows to fix CI
Workarounds #9689
2018-11-13 21:14:57 +00:00
Dominik Picheta
679a52f53c Merge pull request #9687 from narimiran/fix-7192
export `asyncdispatch.callSoon` (fixes #7192)
2018-11-13 21:12:19 +00:00
narimiran
c2b16b46ec export asyncdispatch.callSoon (fixes #7192) 2018-11-12 15:40:33 +01:00
Dominik Picheta
d2f7ecb80e Merge pull request #9682 from cyberlis/reprocsplitfix
Fix split proc in re module ignored maxsplit argument.
2018-11-11 16:39:49 +00:00
Araq
030fe373e4 fixes the travis build for NIM_COMPILE_TO_CPP 2018-11-11 17:02:00 +01:00
Denis Lisovik
8b4a910c91 fix split proc ignored maxsplit argument. Proc split didn't pass maxsplit argument to split iterator 2018-11-11 18:40:43 +03:00
Andreas Rumpf
d1fe195dcc nimpretty: explicit --indent option; fixes #9502; refs #9510 [backport] 2018-11-11 10:39:20 +01:00
Andreas Rumpf
532647171e nimpretty: fixes #9673 [backport] 2018-11-11 10:39:20 +01:00
narimiran
c0b5479e6b coro: minor documentation fix [backport] [ci skip] 2018-11-11 10:16:32 +01:00
Lolo Iccl
37d88e5168 Add proc [](n: NimNode, s: HSlice[T, U]): seq[NimNode] to macros (#7735)
fixes #7670.
2018-11-10 14:10:50 +01:00
ratiotile
95d79ac760 add vs2017 support when run from developer command prompt. (#9672) 2018-11-10 07:49:00 +01:00
Miran
964b5dac7c complete future only once in or (fixes #8982) (#9632)
* complete future only once in `or`

Analogous to `and`.
Credits to @k0zmo for proposing the solution.

* add test
2018-11-09 22:45:17 +00:00