Commit Graph

13969 Commits

Author SHA1 Message Date
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
Andreas Rumpf
8d850f7a69 deprecated ospaths (#9665) 2018-11-09 16:36:49 +01:00
Arne Döring
8507e506ce change dir when koch starts (#9663) 2018-11-09 14:18:09 +01:00
Arne Döring
573d02760e newLit works on enum (#9662)
* newLit works on enum

* remove debugging echo
2018-11-09 12:15:00 +01:00
Andreas Rumpf
130c218ff9 parseopt: remove confusing dead code 2018-11-09 09:03:28 +01:00
Andreas Rumpf
c0fc2f5726 fixes #9619 2018-11-09 09:03:28 +01:00
Arne Döring
fdd09ad090 add illegal discard test 2018-11-08 22:28:29 +01:00
Arne Döring
b306e0bfe2 feedback injected 2018-11-08 22:28:29 +01:00
Arne Döring
ff950725fa changelog entry. 2018-11-08 22:28:29 +01:00
Arne Döring
77a0f3768b adopt tests 2018-11-08 22:28:29 +01:00
Arne Döring
16353c2ac8 fix #8011 2018-11-08 22:28:29 +01:00
Arne Döring
a147166710 fix #8335 2018-11-08 22:28:29 +01:00
Arne Döring
cba86a9893 fix #9319 2018-11-08 22:28:29 +01:00
Araq
9eed62f71c add the new modules to the documentation generator 2018-11-08 20:52:22 +01:00
Araq
84ca9d2903 add new stdlib modules to the changelog 2018-11-08 20:52:22 +01:00
Araq
56f76c5b08 better implementation for wrapWords 2018-11-08 20:52:22 +01:00
Arne Döring
4f787ac4f4 fill region 2018-11-08 20:52:22 +01:00
Arne Döring
13defcc9f6 add doc string 2018-11-08 20:52:22 +01:00
Arne Döring
1d7c36bd8c wordwrap stuff 2018-11-08 20:52:22 +01:00
Arne Döring
795d7e3217 WIP 2018-11-08 20:52:22 +01:00
Arne Döring
6a57ec6d2e NaN fixes for clang backend (#9652) 2018-11-08 20:17:37 +01:00
Andreas Rumpf
3cf3c2d722 er... 'a not b' is an infix call 2018-11-08 09:39:27 +01:00
Andreas Rumpf
5845716df8 fixes parsing regressions; binary 'not' for 'not nil' must stay 2018-11-08 09:15:15 +01:00
Andreas Rumpf
05683e3aab fixes #9633 2018-11-08 09:15:15 +01:00
Dominik Picheta
d0a02fe66b Merge pull request #9642 from narimiran/callback-order
keep the order of the callbacks
2018-11-07 23:46:29 +00:00
Andreas Rumpf
8a357c270b parser change: 'not' is always a unary operator; fixes #9574 2018-11-07 21:17:52 +01:00
Jacek Sieka
b1ad5fd7da Simplify cgen forward proc (#9635)
* cgen: remove module resetting (unused)

* cgen: keep single list of forwarded modules

fewer counters to keep track of

* cgen: fix module lookup
2018-11-07 21:08:10 +01:00
Andreas Rumpf
4e94f49065 parser/grammar sync; fixes #9608 [backport] 2018-11-07 20:07:43 +01:00
Andreas Rumpf
1c73db08b8 nim check fix; fixes #9609 [backport] 2018-11-07 20:07:43 +01:00
Timothee Cour
08de33a2e3 remove ---path:"../compiler" from nimsuggest/nimsuggest.nim.cfg 2018-11-07 19:52:11 +01:00
Timothee Cour
f9bf095853 remove redundant -p:compiler in koch.nim given modules use import compiler/foo 2018-11-07 19:52:11 +01:00
Andreas Rumpf
cb4d810659 make Nim take roughly 100MB less RAM for bootstrapping via a new compiler switch -d:leanCompiler; useful for the Raberry PI 2018-11-07 18:36:52 +01:00
narimiran
15c66a06f9 keep the order of the callbacks 2018-11-07 15:22:02 +01:00
Konstantin Molchanov
d5e113c3a6 Add readData proc that accepts a string. 2018-11-07 11:26:51 +01:00
Arne Döring
c2c05f5e72 fix #9639 (#9640) 2018-11-07 10:58:48 +01:00
jcosborn
fc740c54ec fixes #9600 (#9601) 2018-11-07 08:40:00 +01:00
pgkos
b9cdad7497 times - remove unneeded negative sign when parsing formats z and zz (#9631)
* fix wrong utcoffset sign for formats z and zz

* add tests for the timezone offset formats
2018-11-06 22:29:23 +01:00