Commit Graph

5214 Commits

Author SHA1 Message Date
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
superfunc
387c88d87b Document inclusiveness of Slices (#6362) 2017-09-15 10:47:21 +02:00
Simon Krauter
94e336fe85 Fix wrong result of countLines() (#6371) 2017-09-15 10:45:22 +02:00
superfunc
bca3bedc47 Handle failed uri parsing in asynchttpserver (#6374) 2017-09-15 10:41:12 +02:00
Yuriy Glukhov
c35cc97b1e Fixed closure compiler incompatibility (#6365) 2017-09-11 17:29:59 +02:00
Lynn C. Rees
5b2125dc3a Support in operator on StringTableRef 2017-09-08 11:09:58 -06:00
Federico Ceratto
ca0de9a54d Improve TimeInterval docs #6135 (#6341) 2017-09-07 08:29:20 +02:00
Araq
49cc175e4b version update: 0.17.2 2017-09-06 23:12:41 +02:00
superfunc
21fcc3507a Update doc for json.to() with limitation (#6334) 2017-09-06 22:55:39 +02:00
Yuriy Glukhov
d13535471b Fixed handling of surrogate pairs (#6332) 2017-09-05 16:42:41 +02:00
Andreas Rumpf
b67ea9e73b fixes #6327 2017-09-05 09:03:09 +02:00
Andreas Rumpf
b880359e84 parsesql: better 'len' operation; added '[]' access 2017-09-05 08:48:58 +02:00
Araq
7132b04f44 equality check on NimSym has now support in the VM; refs #6139 2017-09-03 01:15:40 +02:00
Federico Ceratto
bad52ca29a Improve docs around subtracting times (#6152)
The output can be surprising - better provide examples.
2017-09-03 01:01:06 +02:00
Daniil Yarancev
6ce6883fad Fix #4366 (#6290) 2017-09-02 21:23:00 +02:00
Andreas Rumpf
3bc7dbbd97 os.nim: revert findExe 'improvement' that breaks our builds 2017-09-01 21:35:46 +02:00
Araq
a43eae8e6c os.findExe: do not return binaries in the cwd 2017-09-01 19:31:27 +02:00
araq
85dc40c121 fixes #1734, fixes #3138, fixes #3759 2017-09-01 19:25:08 +02:00
Andreas Rumpf
b018ddca03 another attempt to make travis and appveyor green again 2017-09-01 15:55:41 +02:00
Araq
b2a5f97860 parsesql can parse more SQL 2017-09-01 14:42:36 +02:00
Andreas Rumpf
dcc72ea7a9 fix os.nim for Windows 2017-09-01 11:24:30 +02:00
Andreas Rumpf
50666a1f8b refactor os.nim and ospaths.nim 2017-09-01 10:35:50 +02:00
Andreas Rumpf
8ce4273864 os.nim: do not include and import ospaths 2017-09-01 09:42:32 +02:00
Andreas Rumpf
a08fb61da9 make tests green again 2017-08-31 13:59:25 +02:00
Andreas Rumpf
6467e55ae8 tables.nim: use proper spacing 2017-08-31 13:42:22 +02:00