Commit Graph

5256 Commits

Author SHA1 Message Date
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
Andreas Rumpf
8d714d2b02 low/high/of are now overloadable operations 2017-08-30 23:14:33 +02:00
Andreas Rumpf
28da04c1f7 Android support: put Termux specific dependencies behind a -d:termux switch 2017-08-30 13:33:09 +02:00
Andreas Rumpf
80fab1d861 make ospaths compile for Android again, simplify its implementation, added a disclaimer 2017-08-30 11:08:49 +02:00
Daniil Yarancev
eb8371012c Fix #6288 (#6289 was created for wrong branch) (#6291) 2017-08-29 15:46:22 +02:00
Charlie Barto
0d07117a65 allow non-admins to create symlinks on windows (#6287) 2017-08-29 08:30:57 +02:00
Andreas Rumpf
57f0936f2a macros module: 'name' proc skips the export marker 2017-08-29 00:33:46 +02:00
Dominik Picheta
b47e448e06 Fixes #6284. 2017-08-28 23:12:36 +01:00
Daniil Yarancev
a3f82a574f Fix typo (#6285) 2017-08-28 18:14:11 +02:00
Jacek Sieka
22684370b0 remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00
Zahary Karadjov
7ad115f530 Restore the old behavior of parsing "quote do:"
close #5845
2017-08-19 08:57:43 +02:00
Lynn C. Rees
43cac7f174 Use of deprecated object name (#6256) 2017-08-19 08:48:03 +02:00
David Krause
0e276be301 fixes #6250 (#6251) 2017-08-17 13:38:10 +02:00
Araq
b6360c5d5f memory regions seem to work now 2017-08-13 02:51:00 +02:00
Araq
6b3af6a5d7 WIP: --gc:regions instead of --gc:stack 2017-08-13 02:51:00 +02:00