Commit Graph

11210 Commits

Author SHA1 Message Date
GULPF
cc24b6d4cb Sets enhancements, fixes #2467 (#6158) 2017-09-20 13:44:44 +02:00
Andreas Rumpf
fd4ef6ae8f .pure enums are much more convenient to use now 2017-09-17 17:36:37 +02:00
ephja
ea47234b35 Array typedesc len (#6032) 2017-09-17 15:48:02 +02:00
Daniil Yarancev
ae7fe5087f Closes #6083, closes #6086, closes #6379 (#6392) 2017-09-16 22:54:32 +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
superfunc
248caaf27e Update docs on assignment operator (#6373) 2017-09-15 21:49:00 +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
Parashurama
88a5e9d88c Fix operations on string as openarray in VM. (#6257)
* fix openarray.len for string as openArray in VM.
* fix openarray[idx] for string as openArray in VM.
* fix openarray[idx]=val for string as openArray in VM.
* add tests for passing string as openArray in VM.
* fix issue with NimNode.len
NimNode.len was also returning len for string literals.
also fix logic bug in if/elif chain.
2017-09-15 13:35:57 +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
Federico Ceratto
034e6a3468 Fix spelling error (#6349) 2017-09-15 10:49:57 +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
GULPF
9aeb78e2a8 Corrected manual (Identifier equality) (#6366)
* Corrected manual (Identifier equality)
- Clarified that identifiers are only case insensitive for ASCII characters
- Removed mention of dash-style, since it has been removed
2017-09-11 17:31:07 +02:00
Yuriy Glukhov
c35cc97b1e Fixed closure compiler incompatibility (#6365) 2017-09-11 17:29:59 +02:00
Tristan B. Kildaire
3c870d3bb9 remove stupid shell dollar signs that make copypasta hard (#6354) 2017-09-11 09:11:55 +02:00
Dominik Picheta
80b61a9946 Merge pull request #6357 from superfunc/obj_variant_ctor_order_test
Add test for objvariant construction order
2017-09-10 18:56:10 +01:00
superfunc
0ce26313a4 Add test for objvariant construction order
Fixes #4665
2017-09-09 15:45:19 -07:00
Dominik Picheta
3bf8ced69e Merge pull request #6351 from lcrees/patch-5
Support `in` operator on StringTableRef
2017-09-08 22:55:25 +01:00
Lynn C. Rees
5b2125dc3a Support in operator on StringTableRef 2017-09-08 11:09:58 -06:00
Fredrik Høisæther Rasch
811fbdafd9 Revert usage of non-standard uname -o command in build.sh (#6342) v0.17.2 2017-09-07 08:29:38 +02: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
c3117e1aba Fixes #6336 (#6337) 2017-09-06 22:55:09 +02:00
Yuriy Glukhov
d8944b93cb Fixed handling of versions with dashes in nimble pkgs (#6335) 2017-09-06 15:02:25 +02:00
Araq
cf28222d2c attempt to make travis green again 2017-09-05 23:26:17 +02:00
Yuriy Glukhov
d13535471b Fixed handling of surrogate pairs (#6332) 2017-09-05 16:42:41 +02:00
Andreas Rumpf
2ef65d5cdf C++ codgen: do not emit struct literals if not possible 2017-09-05 09:28:36 +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
c02159dde4 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-05 01:03:45 +02:00
Araq
21e22624a2 fixes #6294 2017-09-05 01:03:23 +02:00
Dominik Picheta
d539eb53b5 Merge pull request #6322 from FedericoCeratto/patch-32
Add Zsh completion script
2017-09-04 21:11:33 +01:00
Dominik Picheta
123235e89c Merge pull request #6321 from FedericoCeratto/patch-31
Add Bash completion script
2017-09-04 21:07:31 +01:00
Zahary Karadjov
c446806f75 improve the debugging experience when line directives are used 2017-09-04 18:17:22 +03:00
Araq
2db96d4f7b make install.txt part of the zips 2017-09-04 11:22:50 +02:00
Araq
c089cf458a fixes #6028 2017-09-04 11:11:15 +02:00
Federico Ceratto
8f505904fd Add Zsh completion 2017-09-03 17:03:18 +01:00
Federico Ceratto
9d5de76fb3 Add Bash completion script 2017-09-03 15:35:05 +01:00
Araq
a5b19ba86c moved winrelease to its own tool to fix #6147 2017-09-03 16:26:02 +02:00
Araq
9b2799bd64 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-03 01:15:48 +02:00