Commit Graph

18917 Commits

Author SHA1 Message Date
Araq
2e477979a4 koch: code cleanups, easier testing for 'testinstall' and 'winrelease' 2018-09-19 15:03:24 +02:00
Andreas Rumpf
d6c7787e8d Merge pull request #8992 from kaushalmodi/deploy-nightly-docs
Deploy devel build of docs to https://nim-lang.github.io/Nim
2018-09-19 13:08:24 +02:00
LemonBoy
334032294f Fix linking issue in cpp codegen
Declare the root symbol only once and have the other modules depending
on it emit an `extern` declaration.

Fixes #9013
2018-09-19 12:46:50 +02:00
LemonBoy
a27429304e Convert *_family fields to cushort
Fixes #9008
2018-09-19 12:33:11 +02:00
Araq
04f899dad3 koch: fix doc generation with Google Analytics enabled 2018-09-19 12:15:37 +02:00
Andreas Rumpf
a892d519a6 Merge pull request #9002 from nim-lang/openarray-equals
Implements the equals operator for openarray
2018-09-19 08:09:30 +02:00
Andreas Rumpf
34f0b91104 attempt to make travis green for 'koch testinstall' 2018-09-18 17:25:27 +02:00
Zahary Karadjov
27734852da Implements the equals operator for openarray 2018-09-18 18:19:54 +03:00
Andreas Rumpf
3bbc8c3c4c travis: fixes silly syntax mistakes 2018-09-18 15:57:45 +02:00
Andreas Rumpf
7ee6774fb7 travis: run 'koch testinstall' on OSX 2018-09-18 15:27:54 +02:00
Andreas Rumpf
23c323ea1d docgen tests: patch 'nim' commands to use the currently running exe instead 2018-09-18 15:27:54 +02:00
Andreas Rumpf
d2fb6cc222 tavis OSX tests should be green always now 2018-09-18 15:27:54 +02:00
Kaushal Modi
308710c1e2 Deploy devel build of docs to https://nim-lang.github.io/Nim 2018-09-18 09:10:53 -04:00
Andreas Rumpf
a5d014233a Merge pull request #8996 from LemonBoy/fix-2574
The VM cannot call methods
2018-09-18 10:29:49 +02:00
Andreas Rumpf
aa2d219afe Merge pull request #8995 from LemonBoy/fix-4952
Fix error during field access in VM
2018-09-18 09:38:28 +02:00
Andreas Rumpf
597acad507 Merge pull request #8937 from Vindaar/fixes-8925
fix #8925 by using `getTypeInst` instead of `getType`
2018-09-18 09:37:39 +02:00
Andreas Rumpf
c661f8e1be Merge pull request #8983 from cooldome/codegen_crash
Fixes 8979
2018-09-18 09:36:16 +02:00
Andreas Rumpf
9c6dde1b70 Merge pull request #8990 from LemonBoy/fix-8259
Always check the deduced type validity for result
2018-09-17 22:45:12 +02:00
Zahary Karadjov
97fefa3f50 some simple sub-expression elimination not applied by the previos author 2018-09-17 22:17:39 +03:00
Zahary Karadjov
95072fbcc3 Bugfix: custom pragmas were not working on public fields 2018-09-17 22:17:39 +03:00
Araq
34388c5cc5 name mangling: also special case the backslash character 2018-09-17 20:48:55 +02:00
Araq
a0914eff5d fixes #7500 2018-09-17 20:48:55 +02:00
Vindaar
72a65c43a7 add test case 2018-09-17 19:56:42 +02:00
Andreas Rumpf
539fc5d58b improve the error message for 'attempt to redefine X'; fixes #447 2018-09-17 19:54:56 +02:00
Andreas Rumpf
3467c455c0 fixes #1616; fixes 'nim doc' regressions 2018-09-17 19:54:56 +02:00
Vindaar
e9addb3ab2 fix #8925 by using getTypeInst instead of getType 2018-09-17 19:34:40 +02:00
LemonBoy
c2e5faf959 The VM cannot call methods
Fixes #2574
2018-09-17 19:14:13 +02:00
LemonBoy
027cc5013e Fix error during field access in VM
Tuple constructors can't have nkExprColonExpr but may contain NimNodes
of that kind.

Fixes #4952
2018-09-17 18:52:40 +02:00
LemonBoy
3588240226 Always check the deduced type validity for result
Fixes #8259
2018-09-17 15:33:44 +02:00
LemonBoy
6dc6ea4146 Merge pull request #8981 from LemonBoy/fix-socket-reg
Fix regression due to type change
2018-09-17 10:51:42 +02:00
Andreas Rumpf
4ae9198493 manual updates; document magical system.procCall; fixes #4329 2018-09-17 09:34:00 +02:00
Andrii Riabushenko
acaf2b8e76 Fixes 8979 2018-09-16 21:33:21 +01:00
Andreas Rumpf
550806aba4 Merge pull request #8968 from genotrance/test-6434
Test case for #6434
2018-09-16 21:44:41 +02:00
Andreas Rumpf
c554c2a581 closes #3837 2018-09-16 21:37:11 +02:00
Andreas Rumpf
a622291be4 parser.nim: minor code style fix 2018-09-16 21:33:08 +02:00
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