Commit Graph

5380 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
Erwan Ameil
6a6a2b7d76 Fix missing stacktraces when using -d:useNimRtl (#6716) 2017-11-10 05:39:11 +01:00
Andreas Rumpf
46275f6b8f fixes #6710 2017-11-08 15:45:26 +01:00
Silvio
d837ef177c Add possibility to get language class to listings (#6705)
Add the possibility to add class `lang<Name>` to code listings.
Needed for restricting `run` to nim code (see https://github.com/nim-lang/nimforum/pull/111 )
2017-11-08 11:12:05 +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
Andreas Rumpf
157d48bc32 make 'nim doc2 system.nim' work again 2017-11-07 15:52:28 +01: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
bb5bab1b74 make tests green again 2017-11-07 12:57:32 +01:00
Andreas Rumpf
136dbd3c6a breaking change: countup/'..' only take a simple generic T 2017-11-07 11:49:36 +01: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
treeform
4c7dda37a2 Remove libuv from standard library wrappers. (#6624) 2017-11-06 20:31:33 +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
Araq
cd6d734f8b fixes #6692 2017-11-05 02:51:32 +01:00
Araq
742f43e572 fixes #6609; 'if' expressions support multiple statements; minor breaking change 2017-11-05 01:26:04 +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
0f5261e971 fixes #6675 2017-11-02 22:09:58 +01:00
Andreas Rumpf
0a38cd6543 make tests green again 2017-11-02 19:07:00 +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
17ccb7f6b6 Merge branch 'devel' into araq 2017-11-02 18:24:33 +01:00
Andreas Rumpf
762ade1177 'ord' does not produce a range type anymore 2017-11-02 18:23:21 +01:00
Andreas Rumpf
30b098fcaf wip 2017-11-02 15:39:44 +01:00
Andreas Rumpf
1eaeccc15d Merge branch 'devel' into araq 2017-11-02 10:46:30 +01:00
Dominik Picheta
31619c2a83 Merge pull request #6669 from trustable-code/patch-3
Extend description of fmWrite
2017-11-01 19:46:36 +00:00
Simon Schürrle
db67ee940d Fixed small typo in parseopt2.nim comment 2017-11-01 17:14:01 +01:00
Simon Krauter
95ec32d124 Extend description of fmWrite
Add "Existing files will be cleared!" like in fmReadWriteExisting. 
Behavior tested under Linux.
2017-11-01 17:06:17 +01:00
Andreas Rumpf
e58eca8c05 system.'..<' should not be dirty; fixes yet another regression 2017-11-01 14:11:16 +01:00
Andreas Rumpf
f90df170e3 system.nim improvement: make 'len' work with heterogenous slices 2017-11-01 11:53:09 +01:00
Andreas Rumpf
c4b9e683d2 system.nim improvements: make contains for HSlice more flexible; added .inline to the new BackwardsIndex accessors 2017-11-01 11:17:58 +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
Lynn C. Rees
b4580ad002 remove pdcurses wrapper (#6617) 2017-10-30 23:21:08 +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
Fabian Keller
badba83d38 Implementation of high/low for SomeReal (#6570) 2017-10-30 17:21:44 +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
8b54db06cb system.nim: typo 2017-10-29 21:32:42 +01:00
Andreas Rumpf
957105520f make tests green again 2017-10-29 21:27:22 +01:00