Commit Graph

5270 Commits

Author SHA1 Message Date
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
Andreas Rumpf
7eeef4aae7 fixes #1137 2017-10-16 16:47:10 +02: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
Araq
b219fc74ad fixes #5143 2017-10-16 12:45:43 +02:00
Araq
4a7266e1c1 fixes #3558 2017-10-16 12:29:40 +02:00
Araq
06854d1346 fixes #6511 2017-10-16 12:19:49 +02:00
indianpojken
12d7503f76 Update streams.nim 2017-10-16 00:52:07 +02:00
Andreas Rumpf
b27e587087 fixes #6496 2017-10-15 20:27:02 +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
13f974336e Merge branch 'araq-stringify-array' into devel 2017-10-10 13:18:32 +02:00
Andreas Rumpf
503248efde another attempt to make tests green again 2017-10-10 11:26:40 +02:00
Andreas Rumpf
55cb959a68 make tests green again; closes #5861 2017-10-10 09:18:31 +02:00
Andreas Rumpf
7016a8f57d make openssl.nim compile again 2017-10-10 01:04:09 +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
Eduardo Bart
edefe4db21 Futher improve seq assingment speed by 2x factor (#6437) 2017-10-09 22:55:12 +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
2d5fdd288e system.nim: doc comment fix 2017-10-06 08:14:03 +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
Araq
3ccc9c467d 'with' and 'without' are not keywords anymore 2017-09-30 18:32:44 +02: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
Andreas Rumpf
0314075639 revert the 'wasMoved' logic until the write barrier has been adapted 2017-09-29 11:33:40 +02:00
Andreas Rumpf
70e94b8c9e GCs: use add instead of & 2017-09-29 11:20:28 +02:00
Andreas Rumpf
599c429fdd Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-28 21:52:45 +02:00
Andreas Rumpf
7349d12e96 GC v2 works sometimes 2017-09-28 21:48:43 +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
konqoro
5ae82708aa Add default value for filename in parseJson proc (#6441) 2017-09-28 10:35:19 +02:00
Alexander Ivanov
455452e107 Fix node quit (#6444) 2017-09-28 08:51:51 +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
Andreas Rumpf
7083c8df57 minor improvement for the db_sqlite module 2017-09-27 12:00:19 +02:00
Andreas Rumpf
414e7eff04 make tests green again 2017-09-26 23:07:37 +02:00
Andreas Rumpf
eeb2661a28 fixes #6433 2017-09-25 15:22:07 +02:00
Andreas Rumpf
d3dc753732 make the tester compile again 2017-09-25 14:52:52 +02:00