Commit Graph

17132 Commits

Author SHA1 Message Date
LemonBoy
62e3579655 Fix regression due to type change
The change is technically correct but requires too much type juggling
and the effort outweighs the gains.
2018-09-16 20:29:45 +02:00
Ganesh Viswanathan
9b4305c359 Remove duplicate 2018-09-16 05:44:37 -05:00
Andreas Rumpf
0330fb2e13 fixes #8911 2018-09-16 12:28:43 +02:00
Andreas Rumpf
866d6d1891 Merge pull request #8897 from timotheecour/pr_startProcessAuxSpawn_raiseOSError_context
add data.sysCommand when startProcessAuxSpawn raises
2018-09-16 11:45:10 +02:00
Andreas Rumpf
501f6c8020 Merge pull request #8970 from genotrance/test-7010
Test case for #7010
2018-09-16 11:39:27 +02:00
Andreas Rumpf
83419c8cfb Merge pull request #8969 from genotrance/test-6483
Test case for #6483
2018-09-16 11:37:56 +02:00
Andreas Rumpf
566edd54b6 Merge pull request #8977 from LemonBoy/fix-unix-sockets
Fix connectUnix/bindUnix with abstract socket paths
2018-09-16 11:34:11 +02:00
Andreas Rumpf
058a42c3a2 Merge pull request #8975 from fragcolor-xyz/devel
Improve the compiler option cppCompileToNamespace
2018-09-16 09:48:23 +02:00
Giovanni
e21c3028cb Removed optUseNimNamespace, removed useless nil check 2018-09-16 08:43:03 +09:00
Ganesh Viswanathan
9fc0a9ad42 Merge remote-tracking branch 'upstream/devel' into test-7010 2018-09-15 14:33:47 -05:00
Ganesh Viswanathan
ae8e907edb Merge remote-tracking branch 'upstream/devel' into test-6483 2018-09-15 14:33:33 -05:00
Ganesh Viswanathan
e4fa1c81cb Merge remote-tracking branch 'upstream/devel' into test-6434 2018-09-15 14:33:15 -05:00
LemonBoy
a2a06d43f2 Fix connectUnix/bindUnix with abstract socket paths
The only way to make this work for both abstract and non-abstract
sockets is to send the kernel an incomplete structure.

Reported by Epictek on the forum.
2018-09-15 20:43:08 +02:00
Araq
0e33a8676e Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-09-15 20:32:20 +02:00
Araq
7df722844b typetraits: Dots for sentence endings. 2018-09-15 20:32:11 +02:00
Andreas Rumpf
b9b611a2b9 Merge pull request #8976 from fragcolor-xyz/length-one-dirnames
Allow subpaths with single character names
2018-09-15 17:31:40 +02:00
Andreas Rumpf
2745111fc3 Merge pull request #8972 from skilchen/more_efficient_fix_for_8961
more efficient fix for #8961
2018-09-15 17:31:03 +02:00
skilchen
e317745098 don't reuse code from 0.18.0 2018-09-15 14:05:42 +02:00
Araq
0841eaa273 typetraits.arity: improve the documentation; fixes #8965 2018-09-15 13:46:00 +02:00
Jörg Wollenschläger
e4af0fcb6d Allow subpaths of names of length 1 2018-09-15 20:22:04 +09:00
Giovanni
f1b64e4b96 improve the compiler option "cppCompileToNamespace", a custom namespace can now be set 2018-09-15 20:10:54 +09:00
Andreas Rumpf
4342b79a3c Merge pull request #8971 from LemonBoy/fix-8967
Fix codegen for set[T] parameters
2018-09-15 12:55:23 +02:00
Araq
4c34787107 make async test more reliable 2018-09-15 12:21:01 +02:00
LemonBoy
6af6ca6351 Fix codegen for set[T] parameters
Sometimes sets are materialized as arrays and we must treat them as
such: the CPP backend is pickier than the C one and would sometimes
produce invalid code.

Fixes #8967
2018-09-15 11:55:11 +02:00
Araq
e4902a4a35 make tfailedassert_stacktrace.nim more robust 2018-09-15 10:06:02 +02:00
Ganesh Viswanathan
b966945ab2 Move 2018-09-14 18:51:05 -05:00
Ganesh Viswanathan
31860f560e Merge remote-tracking branch 'upstream/devel' into test-6434 2018-09-14 18:44:54 -05:00
Ganesh Viswanathan
80520eef3c Merge remote-tracking branch 'upstream/devel' into test-6483 2018-09-14 18:34:56 -05:00
Ganesh Viswanathan
9340885251 Merge remote-tracking branch 'upstream/devel' into test-7010 2018-09-14 18:34:12 -05:00
skilchen
9fa477de75 more efficient fix for #8961 2018-09-15 01:04:23 +02:00
Araq
b9dc486db1 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-09-15 00:41:32 +02:00
Andreas Rumpf
49d5fb60a7 Merge pull request #8806 from awr1/add-reorder-to-docs
[Docs] Added {.experimental: "codeReordering".} to manual
2018-09-15 00:38:06 +02:00
Andreas Rumpf
5fa4fa185b Merge pull request #8875 from awr1/experimentalize-reorder
Experimentalize reorder (Changes {.reorder: on.} to {.experimental: "codeReordering".})
2018-09-15 00:36:57 +02:00
Araq
ea1c28294a fixes #8925 2018-09-15 00:32:40 +02:00
Araq
a34184bf88 documents system.cmp's platform specific behaviour; fixes #8930 2018-09-15 00:23:27 +02:00
Andreas Rumpf
0c04b80651 Merge pull request #8966 from LemonBoy/fix-8964
Fix hashing for codegenProc (sic) types
2018-09-14 22:28:12 +02:00
Araq
9995f50050 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-09-14 22:17:27 +02:00
Ganesh Viswanathan
4e305c3040 Test case for #7010 2018-09-14 14:07:31 -05:00
Ganesh Viswanathan
e07a256f74 Test case for #6483 2018-09-14 14:04:32 -05:00
Ganesh Viswanathan
71ce2ddf83 Test case for #6434 2018-09-14 13:12:04 -05:00
Araq
fba9c2aef6 make tests green again 2018-09-14 20:10:46 +02:00
Araq
ed5d2b5505 make tcompilerapi green, don't assue projectPath exists 2018-09-14 19:30:02 +02:00
genotrance
7af659cf59 Test case for #6163 (#8960)
* Test case for #6163
2018-09-14 17:09:16 +02:00
Araq
0cb72185ae adjust travis build, don't test Nimble in Nim 2018-09-14 17:06:26 +02:00
Araq
313282d805 better file handling for .line directives 2018-09-14 15:55:29 +02:00
Araq
5709736e82 Merge branch 'devel' into araq-better-docgen 2018-09-14 15:48:07 +02:00
Araq
5ee904643a fixes #8883 2018-09-14 15:47:37 +02:00
LemonBoy
839953c3e1 Fix hashing for codegenProc (sic) types
Since the name mangling is inhibited we should take the user-supplied
name during the sighash computation.

Fixes #8964
2018-09-14 15:37:51 +02:00
Araq
4ab9953787 fixes #8961 2018-09-14 11:40:43 +02:00
Araq
d2208091fa disable Nimble dependencies for appveyor 2018-09-14 09:45:03 +02:00