Andreas Rumpf
07cf7d3340
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-09-25 14:27:36 +02:00
Andreas Rumpf
77453f33df
fixes #6435
2017-09-25 14:27:19 +02:00
Andreas Rumpf
f7f3a25be8
first steps of making 'opt' a first class type for Nim
2017-09-25 13:19:36 +02:00
Dominik Picheta
f8b8286959
Added changelog.md.
2017-09-24 16:02:25 +01: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
be2e7290fb
write tracking for funcs implemented
2017-09-23 23:29:23 +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
7aad0d6544
added 'nim jsonscript' feature
2017-09-23 16:29:05 +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
dcfafb3289
Merge branch 'araq-better-pure-enums' into araq-better-codegen
2017-09-22 10:15:49 +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
3936587c06
fixes #6403
2017-09-21 21:07:18 +02:00
Andreas Rumpf
1c0c9d8959
make tests green again
2017-09-21 21:07:00 +02:00
Andreas Rumpf
7db5bad016
revert accidentical asyncmacro change
2017-09-21 21:05:58 +02:00
Andreas Rumpf
405b9c8a85
refactoring: TLoc knows the node it originated from; it is planned to use this to produce better C code (move optimizations)
2017-09-21 14:38:45 +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
jlp765
dabe4aed86
documentation improvement; make mixin easier to search ( #6409 )
2017-09-21 09:48:49 +02:00
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