Commit Graph

5238 Commits

Author SHA1 Message Date
Eduardo Bart
edefe4db21 Futher improve seq assingment speed by 2x factor (#6437) 2017-10-09 22:55:12 +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
Andreas Rumpf
f7f3a25be8 first steps of making 'opt' a first class type for Nim 2017-09-25 13:19:36 +02:00
Andreas Rumpf
e879da5791 some work to make 'opt' a first class type 2017-09-24 11:21:52 +02:00
Andreas Rumpf
e5cb1a2dd5 newSeqOfCap: skip initialization step for non-GC-ed data 2017-09-24 01:22:48 +02:00
Andreas Rumpf
1a61c4d46d first implementation of the 'func' keyword 2017-09-23 23:22:53 +02:00
Andreas Rumpf
2e93bac227 Merge branch 'devel' into araq-better-codegen 2017-09-23 20:07:30 +02:00
Andreas Rumpf
240953411e Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-22 13:29:53 +02:00
Andreas Rumpf
5298a72f34 NimScript: added buildOS and buildCPU constants 2017-09-22 13:29:45 +02:00
Andreas Rumpf
07531b41b9 make gc:v2 compile again 2017-09-22 11:12:14 +02:00
Andreas Rumpf
fe99495a9b new string behaviour now available under nimShallowStrings 2017-09-22 10:15:30 +02:00
Andreas Rumpf
c383e4d35e preparations for string optimizations 2017-09-22 09:57:18 +02:00
Andreas Rumpf
7db5bad016 revert accidentical asyncmacro change 2017-09-21 21:05:58 +02:00
Andreas Rumpf
a04c7d8b38 introduce OnHeapNew and rename TLoc.s to TLoc.storage 2017-09-21 11:38:04 +02:00
wt
92d67262fb Fix getPeerAddr() getPeerAddr(): +sin6_addr (#6410) 2017-09-21 10:22:34 +02:00
GULPF
cc24b6d4cb Sets enhancements, fixes #2467 (#6158) 2017-09-20 13:44:44 +02:00
ephja
ea47234b35 Array typedesc len (#6032) 2017-09-17 15:48:02 +02:00
Mamy Ratsimbazafy
5b8f33a905 Reorder json add and %, fixes #6385 (#6388)
* Reorder json `add` and `%`, fixes https://github.com/nim-lang/Nim/issues/6385

* rename json test files
2017-09-16 19:09:44 +01:00
Andreas Rumpf
12af4a3f8a prepared stdlb for new integer arithmetic rules 2017-09-16 10:57:21 +02:00
Andreas Rumpf
e7bcadaf32 hotfix: fixes seq.add and str.add for edge cases 2017-09-16 10:56:28 +02:00
Andreas Rumpf
2b592a6425 in prepration for the upcoming different integer inference rules 2017-09-16 10:29:29 +02:00
Andreas Rumpf
28bdf0ac80 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-16 10:11:42 +02:00
Emery Hemingway
9258672cee balance Genode CPU pinning, deadlock at Genode exit (#6317)
* Genode: balance thread CPU affinities
Genode threads are pinned by defaut to the same CPU as the initial
component entrypoint thread. Thread affinities are also permanent. This
patch pins new threads to CPUs in a round-robin manner. Arbitrary CPU
pinning is not exposed and the 'nimPinToCpu' has no effect.

* Genode: guarantee that 'quit' will not return
On Genode exits are handled by whatever component is acting as parent.
The caller has no guarentee that the parent implementation will halt the
caller's threads, so explicitly deadlock the 'quit' procedure.
2017-09-16 08:02:59 +02:00
Andreas Rumpf
662f043b59 development version is odd 2017-09-15 22:18:39 +02:00
Lyndsy Simon
8ea78b1bc9 db_postgres: Refactor open() behavior to be consistent with other DBs (#6381) 2017-09-15 16:56:08 +02:00
Denis Rumyantsev
71b1377be9 Update memfiles.nim (#6328)
FIX error in MemFile fileSize
2017-09-15 12:50:10 +02:00
Yuriy Glukhov
7d49fc796d Changed JSON stringification to preserve UTF (#6330) 2017-09-15 10:53:58 +02:00
superfunc
d1f6ddfd64 Add counterpart to containsOrIncl for excl (#6360) 2017-09-15 10:49:32 +02:00