Commit Graph

6493 Commits

Author SHA1 Message Date
Oscar Nihlgård
b4a42386d9 Times module cosmetic changes (#9770) 2018-11-20 22:56:25 +01:00
Yuriy Glukhov
d146516008 Fixed wording (#9761) 2018-11-20 12:50:08 +01:00
Randy Smith
6c7abe6e5b Fixes #9671 (#9750) 2018-11-19 09:22:21 +01:00
Flaviu Tamas
ebcf9406be Improve nre documentation (fixes #9470) 2018-11-18 20:12:24 -05:00
Araq
3f6168b337 removes deprecated T/P types 2018-11-16 13:27:56 +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
Araq
dd3e1cbc9b make testament compile again with -d:nimCoroutines 2018-11-15 15:15:20 +01:00
Andreas Rumpf
632ec94b5d gc_common: fixes a typo 2018-11-15 11:36:35 +01:00
Solitude
ae36dfb747 Add .46 as supported libssl version (#9704) 2018-11-15 09:04:30 +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
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
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
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
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
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
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
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
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
Andreas Rumpf
24902394f7 VM: don't inject destructor calls, refs #7041 2018-11-06 19:36:39 +01:00
Araq
1c7fbad378 make tests green again 2018-11-06 13:55:03 +01:00
Arne Döring
cc5b8c6ad2 Generic Complex type (#9590)
* remove `**`
* const `im` can now be used with Complex64
* converters from float|int to Complex are replaced by procs
* converters between various Complex types must stay to allow usage
of `im` with Complex64
* limit types for `+`, `-`, `/`, and `*` between Complex and float
* add `pow` for Complex and a number
* complex type changes
* unpublish approximation function
2018-11-05 20:27:46 +01:00
Timothee Cour
e4e19f8288 stripLineEnd aka chomp (#9623) 2018-11-05 08:01:31 +01:00
Federico Ceratto
62693457df Add 'dedent' to documentation index (#9615) 2018-11-04 08:36:13 +01:00
Andreas Rumpf
b4f16fab49 Nim devel is version 0.19.9 2018-11-03 12:45:55 +01:00
Araq
bc26c08862 unicode.nim: minor alignment change 2018-11-02 11:29:30 +01:00
Arne Döring
d56312624e Merge pull request #9586 from b3liever/fix-hypot-js
Fix #9585 hypot in js
2018-10-31 21:53:40 +01:00
Arne Döring
0059f16dfb Merge pull request #9511 from krux02/krux02-devel
Krux02 devel
2018-10-31 17:12:36 +01:00
Arne Döring
80843373ba changelog entry 2018-10-31 14:29:40 +01:00
B3liever
8a1d52fa48 Fix #9585 hypot in js 2018-10-31 14:09:39 +02:00
Arne Döring
84db658eb4 fix typo 2018-10-31 10:44:44 +01:00
Araq
1dd1d66f16 system.nim: workaround for the fixed documentation generator 2018-10-30 21:58:59 +01:00
Araq
895ac5bec4 nre: don't use the deprecated import syntax 2018-10-30 21:58:59 +01:00
Arne Döring
9c6620eba1 Merge pull request #9570 from b3liever/macrosfixname
Fix name set and get procs in macros (fixes #9569)
2018-10-30 17:15:37 +01:00
Arne Döring
e653121633 fixes #9557 2018-10-30 17:13:02 +01:00
Araq
5c25b93898 change system.nim to adhere to the style guide 2018-10-30 15:03:28 +01:00