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
Federico Ceratto
1f3e1fe758
Add link to streams module
2017-10-21 20:55:15 +01:00
narimiran
a897693395
add count to sequtils
2017-10-21 20:32:10 +02:00
Dominik Picheta
bfae7bfe83
Add $ for HttpHeaders.
2017-10-20 18:24:17 +01:00
Andreas Rumpf
e7f37d7223
added typetraits.supportsCopyMem
2017-10-17 21:59:17 +02:00
Dominik Picheta
098bf809b9
Merge pull request #6491 from indianpojken/patch-1
...
Implement uintX variants for read/peek.
2017-10-16 15:43:15 +01:00
Dominik Picheta
955b48cf15
Merge pull request #6495 from GULPF/Fix-countLeapYears
...
Fix countLeapYears
2017-10-16 15:40:29 +01:00
GULPF
54c805921a
Refac of lists module ( #6400 )
2017-10-16 15:03:06 +02:00
Federico Ceratto
590512873c
Add hint about computing powers between integers ( #6419 )
2017-10-16 14:59:37 +02:00
indianpojken
12d7503f76
Update streams.nim
2017-10-16 00:52:07 +02:00
Daniil Yarancev
5cd6316ac6
Update json.nim ( #6513 )
2017-10-15 20:08:36 +02:00
Dominik Picheta
4789aa979d
Little spelling fix in unicode module
2017-10-15 13:12:20 +01:00
Araq
5768eaa2fd
fixes #6487
2017-10-14 22:35:20 +02:00
Dominik Picheta
f9dc204a0f
Merge pull request #6504 from Yardanico/patch-8
...
[JSON] getBVal -> getBool; getFNum -> getFloat; getNum -> getBiggestInt; add getInt
2017-10-14 14:05:11 +01:00
Daniil Yarancev
e29e6ec76e
[JSON] getBVal -> getBool; getFNum -> getFloat
2017-10-14 15:49:53 +03:00
Dominik Picheta
ac67f5eda5
Fixes req w/ both Content-Length & Connection: close headers.
...
Also closes the socket when connection is closed to ensure
that a new connection is made on any further requests.
2017-10-13 21:14:06 +01:00
Dominik Picheta
1dc6caea6b
Fixes issues with URI concatenation when URI has no path.
2017-10-13 20:10:54 +01:00
Andreas Rumpf
8a2f481f99
make threadpool care about minPoolSize
2017-10-12 12:45:18 +02:00
Oscar Nihlgård
f2ba3d174c
Fix countLeapYears
2017-10-10 15:47:12 +02:00
Andreas Rumpf
3308d26581
breaking change: arrays of char do not convert to cstring; ptr to array of char does
2017-10-10 00:17:20 +02:00
Andreas Rumpf
db0d353281
Merge branch 'stringify-array' of https://github.com/krux02/Nim into krux02-stringify-array
2017-10-09 23:46:24 +02:00
indianpojken
a16062bf91
Adds uintX variants to read/peek procs
2017-10-09 17:44:45 +02:00
Charlie Barto
d55e02ddf1
fixes to allow the usage of clang on windows with the msvc abi and ms headers ( #6442 )
2017-10-09 17:26:53 +02:00
Andreas Rumpf
9b1a23c554
minor breacking change: in string formats '' the '1' is now interpreted as a number, not as an identifier. This is more consistent with the rest of the mini language and allows '12'.
2017-10-06 08:28:16 +02:00
Andreas Rumpf
eddf9abd13
beginnings of the new nimpretty tool; still unusable
2017-10-05 08:43:22 +02:00
GULPF
0b7b116f04
Call tzset to initialize timezone ( #6466 )
2017-10-03 07:31:06 +02:00
Euan T
4617114453
Fix documentation for the $ proc on an option ( #6449 )
2017-10-02 16:11:53 +02:00
Dominik Picheta
a585748f27
Remove basic2d/basic3d.
2017-10-01 16:09:05 +01:00
GULPF
5cf789ac3f
Improved unittest check macro, fixes #5784 ( #6446 )
2017-09-30 15:39:00 +02:00
Araq
4b350d2632
osproc: fixes a memory leak affecting Windows
2017-09-30 15:36:13 +02:00
konqoro
5ae82708aa
Add default value for filename in parseJson proc ( #6441 )
2017-09-28 10:35:19 +02:00
Andreas Rumpf
05c6cb5f9f
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-09-28 10:35:59 +02:00
Andreas Rumpf
d453bc1d4d
fixes #6438
2017-09-28 10:35:45 +02:00
Zach Smith
7abad507c9
Add flatMap operator to Options ( #6404 )
...
* Add >>= operator to Options
* options.bind callback signature: A -> Option[B]
* Use `flatMap` as the name of the Option bind operation.
* Rename Options test "bind" to "flatMap"
* CR from @dom96: Remove spaces inside of check() call
2017-09-27 21:55:55 +01:00
wt
92d67262fb
Fix getPeerAddr() getPeerAddr(): +sin6_addr ( #6410 )
2017-09-21 10:22:34 +02:00