Commit Graph

5052 Commits

Author SHA1 Message Date
Andreas Rumpf
908a25a2ca replaced asArray with a much more powerful mapLiterals macro 2017-11-18 14:18:00 +01:00
Andreas Rumpf
6976bf20f5 Use 'typedesc' instead of 'untyped' 2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
b02ecda5a0 Move asArray macro back to sequtils
This reverts commit 72f653c2da.
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
bd2f4d1852 Revert "Move asArray and ListComprehension to new sugar module"
This reverts commit 9bdee89774.
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
e56db35610 Move asArray and ListComprehension to new sugar module 2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
e334a257fa asarray targetType parameter does not need to be a typedesc. 2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
a312693250 asArray poduces a cal expression instead of a dot expression 2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
7744c6ce31 Moving asArray to future module
As per [suggestion](https://github.com/nim-lang/Nim/pull/6640#issuecomment-341565453) made by @Araq
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
6f799e1505 Swapping asArray parameter order
In reaction to https://github.com/nim-lang/Nim/pull/6640#issuecomment-341528413
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
3d11ef8511 Changing asArray documentation
in reaction to https://github.com/nim-lang/Nim/pull/6640#discussion_r148367553
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
70f3226836 avoid asArray macros import when using nimscript 2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
5dfbeab65f Implement an asArray macro
fixes #6563
2017-11-18 14:18:00 +01:00
Dominik Picheta
a583d686b4 Update docs of cookies.parseCookies. Closes #5721. 2017-11-18 11:26:18 +00:00
Fabian Keller
001298eb22 fixes #6589 again (#6766) 2017-11-17 10:51:39 +01:00
Andreas Rumpf
d12edeeba1 make tests green again 2017-11-17 00:45:40 +01:00
Dominik Picheta
5883d727a8 Merge pull request #6659 from FedericoCeratto/Uri-string
Make Uri rendering more lenient. Closes #6652
2017-11-16 21:45:03 +00:00
lcrees
6de04da3a5 Removed deprecated numeric and poly module from the stdlib 2017-11-16 12:40:56 -07:00
Andreas Rumpf
a4d40d137e 'nim doc' is now using version 2 of the documentation generator 2017-11-16 12:53:36 +01:00
Lynn C. Rees
25e825df3a Removed deprecated gentabs module from the stdlib (#6748) 2017-11-16 02:44:49 +01:00
Fabian Keller
5e66a7ce59 Modified handling of zero precision in formatFloat (#6719) 2017-11-15 21:23:33 +01:00
Lynn C. Rees
0ab373115c Trim remaining expr/stmt from stdlib (#6742) 2017-11-15 17:34:48 +01:00
Lynn C. Rees
7f4248dc0c Move deprecated romans module from stdlib to Nimble package (#6660) 2017-11-15 17:28:00 +01:00
Dominik Picheta
e4fd52b223 Merge pull request #6712 from vegansk/6708-fix-multisync
Fix parameter types splitting in multisync macro #6708
2017-11-14 11:17:30 +00:00
Federico Ceratto
ab938fc901 Clarify paramStr / paramCount use and availability (#6727) 2017-11-14 11:05:58 +01:00
Federico Ceratto
bd71d4205b Make Uri rendering more lenient
When the hostname and path fields are set, handle missing or extra
slashes to generate valid URLs.
2017-11-14 02:28:13 +00:00
Anatoly Galiulin
d02606064c Remove unneeded comment #6708 2017-11-13 15:16:44 +07:00
Lynn C. Rees
c7dbbe2107 Add heapqueue module to doc index (#6655)
Add copyright header to heapqueue modlue
2017-11-10 18:13:01 +01:00
Anatoly Galiulin
4812b0f0c5 Fix parameter types splitting in multisync macro #6708 2017-11-09 11:49:10 +07:00
Andreas Rumpf
d4cdd92bc9 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-11-07 22:14:55 +01:00
Dominik Picheta
f221c192b3 Fix creating server example in net module 2017-11-07 17:23:53 +00:00
Ganesh Viswanathan
686a2aaefa Fixes httpclient proxies. Fixes #6685 (#6694)
* Fix for #6685

* Fixed test breakage - SSL call wasn't within when defined(ssl) check
2017-11-07 13:51:09 +00:00
Andreas Rumpf
617ba1a209 Merge branch 'devel' into araq 2017-11-07 11:17:20 +01:00
Fabian Keller
7c588f2cc4 added doc examples for formatFloat (#6704) 2017-11-07 08:07:25 +01:00
Andreas Rumpf
2d892caba8 fixes ropes.nim regression; make tests green again 2017-11-06 19:25:28 +01:00
Dmitry Atamanov
87a46765ee Stream-writer for a rope (#6603) 2017-11-06 09:50:42 +01:00
olwi
0586529ff5 Adds optional maxsplit parameter to splitWhitespace (#6503) (#6690)
* Adds optional maxsplit parameter to splitWhitespace() (#6503)
* Adds an example to splitWhitespace doc comment. Minor fixes to several doc comments
2017-11-06 09:36:06 +01:00
Fredrik Høisæther Rasch
de97f381fa Fix path for sh on Android (#6661) 2017-11-03 21:09:01 +01:00
Andreas Rumpf
eadba5a345 make countup et al take only a single type parameter in order to prevent type guesses 2017-11-02 19:02:08 +01:00
Andreas Rumpf
762ade1177 'ord' does not produce a range type anymore 2017-11-02 18:23:21 +01:00
Simon Schürrle
db67ee940d Fixed small typo in parseopt2.nim comment 2017-11-01 17:14:01 +01:00
Yuriy Glukhov
d7b96f478b Fixed crash in case of ssl error in SSLShutdown (#6662) 2017-11-01 10:16:44 +01:00
Araq
3174cfe55c make tests green again 2017-11-01 00:20:40 +01:00
Fabian Keller
7c03c882f5 Remove more usages of unary lt (fixes #6634) (#6641)
* fixes #6634

* remove more usages of unary <
2017-10-31 19:48:01 +01:00
konqoro
6315c641be Make toRational proc to loop through integers (#6633) 2017-10-30 22:59:03 +01:00
Bo Lingen
c182d37f45 Update removeSuffix implementations to match removePrefix (#6636) 2017-10-30 22:45:13 +01:00
Andreas Rumpf
0895064983 getEnv now supports a 'default' parameter; refs #6019 2017-10-30 17:21:05 +01:00
Andreas Rumpf
b14cc1e3b2 fixes #6631 2017-10-30 14:45:57 +01:00
Andreas Rumpf
280dae0ffb make tests green again 2017-10-30 09:32:23 +01:00
Andreas Rumpf
9565da11e5 added typetraits.; merged PR #5839 manually 2017-10-30 09:24:17 +01:00
Andreas Rumpf
90c1b94fbe rationals.toRational now uses an algorithm based on continued fractions; refs #4968 2017-10-30 08:54:43 +01:00