Commit Graph

3125 Commits

Author SHA1 Message Date
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
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
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
Andreas Rumpf
a62051e304 updated algorithm.rotateLeft implementation 2017-10-30 08:42:44 +01:00
Andreas Rumpf
ff9478fbf2 Merge branch 'std-rotate' of https://github.com/krux02/Nim into krux02-std-rotate 2017-10-30 08:40:19 +01:00
Andreas Rumpf
aa526da706 make tests green again 2017-10-29 23:09:46 +01:00
Andreas Rumpf
957105520f make tests green again 2017-10-29 21:27:22 +01:00
Andreas Rumpf
74640862cb Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-10-29 20:36:21 +01:00
Andreas Rumpf
f1dab39086 remove old implementation of the roof operator; make tests green again; close #6292 2017-10-29 20:36:07 +01:00
Fabian Keller
293a873051 fixes #6589 (#6590) 2017-10-29 20:09:46 +01:00
Andreas Rumpf
d52a1061b3 work in progress: new implementation for 'a[^1]' 2017-10-29 19:46:17 +01:00
Andreas Rumpf
6a3288a60e more replacements for the deprecated '<' 2017-10-29 08:55:30 +01:00
Andreas Rumpf
70ea45cdba deprecated unary '<' 2017-10-29 08:37:13 +01:00
Bo Lingen
e135135469 add strutils.removePrefix proc (#6473) 2017-10-28 10:47:23 +02:00
Dmitry Atamanov
93fd0b0cb5 strutils.find enhancements (#6582) 2017-10-28 09:30:19 +02:00
Andreas Rumpf
d50260de20 fixes #6148 2017-10-26 12:45:00 +02:00
Andreas Rumpf
c4dcbb45f4 osproc.execProcesses: enable poParentStreams for posix; should make travis green again 2017-10-26 09:19:18 +02:00
Araq
928bdb45f0 fixes cpuinfo regression 2017-10-26 00:55:23 +02:00
Araq
ea535ed1ff osproc on Windows: fix peekExitCode for closed processes 2017-10-25 17:37:03 +02:00
Dmitry Atamanov
aa1b575133 [Windows] Use GetSystemInfo for obtaining processor count (#6082) 2017-10-25 16:19:40 +02:00
Emery Hemingway
2ca7b703fb No implicit quit for Genode (#6515) 2017-10-25 13:50:55 +02:00
narimiran
71c5c0a47f Sequtils improvements (#6574) 2017-10-25 13:41:41 +02:00
Viktor Marosvary
ce04288d64 isAlphaNumberic and isDigit improvement + tests (#6579)
if we encounter a character that does not satisfy the proc, we return immediately, without continuing to loop over the rest of the chars in the string.
2017-10-24 10:22:18 +02:00
Silvio
424b998f72 Fix removeSuffix rst code blocks
Add newline before `code-block` for `removeSuffix`
2017-10-23 11:11:08 +02:00
Dominik Picheta
ecfbe4940b Merge pull request #6051 from couven92/alignLeft
Add left-aligning string proc to strutils
2017-10-22 23:11:13 +01:00
narimiran
e73adde803 update links 2017-10-22 14:46:58 +02:00
narimiran
585ac9cc34 change seq name to list 2017-10-22 14:35:17 +02:00
Dominik Picheta
427fe47e5e Merge pull request #6558 from narimiran/seqCount
add `count` to sequtils
2017-10-22 13:03:16 +01:00
narimiran
ea752f29a0 more descriptive names 2017-10-22 13:43:45 +02:00