Commit Graph

13521 Commits

Author SHA1 Message Date
Vindaar
4c6382a334 fix posix.onSignal example, inject current signal as s 2018-09-24 11:21:45 +02:00
Andreas Rumpf
fedd695d76 Merge pull request #9046 from LemonBoy/fix-9043
Fix for VM codegen with static[T] types
2018-09-23 23:08:35 +02:00
LemonBoy
fb54f394e8 Fix for VM codegen with static[T] types
Fixes #9043
2018-09-23 18:17:00 +02:00
Andreas Rumpf
179791aa9a Merge pull request #8746 from LemonBoy/nil-opts
nil strings are movable
2018-09-23 07:51:22 +02:00
Andreas Rumpf
08e0acfafa Merge pull request #9033 from Clyybber/patch-2
[Docs] Attribute citation to Richard Gabriel
2018-09-23 07:49:15 +02:00
LemonBoy
7a087ffb29 nil strings are movable 2018-09-22 20:47:49 +02:00
Andreas Rumpf
a2587aad0d Merge pull request #9035 from LemonBoy/fix-3075
Skip nested procedures in .async. macro
2018-09-22 20:18:13 +02:00
LemonBoy
75a981cf80 Skip nested procedures in .async. macro
Fixes #3075
2018-09-22 17:30:17 +02:00
Araq
b2b9af6a50 koch: add a --stable flag to build Nimble; refs #9017 2018-09-22 17:19:30 +02:00
Clyybber
e5aff4b31b [Docs] Attribute citation to Richard Gabriel 2018-09-22 13:57:28 +02:00
Andreas Rumpf
b2727d03a6 Merge pull request #9020 from LemonBoy/fix-9019
Revert #7964
2018-09-22 13:53:58 +02:00
Araq
af0c497f5d fixes #8081 2018-09-22 13:52:40 +02:00
Araq
6892ce336c enhance iterator test case, ensure consistency between inline and closure iterators regarding parameter passing semantics 2018-09-22 13:29:00 +02:00
Dominik Picheta
3717e0e314 Merge pull request #9031 from alaviss/poll-fix
ioselectors_poll: don't pollRemove() if not needed
2018-09-22 10:58:54 +01:00
Andreas Rumpf
0930ec72d9 Merge pull request #9028 from LemonBoy/fix-8985
Fix locals() interaction with generic types
2018-09-22 09:11:33 +02:00
Leorize
08c6484298 ioselectors_poll: don't pollRemove() if not needed
pollAdd() is called only if events set isn't empty.
2018-09-22 14:01:05 +07:00
Andreas Rumpf
0b3862df10 Merge pull request #9027 from fragcolor-xyz/more-custom-pragmas
Allow custom pragmas on more symbols again
2018-09-22 08:57:42 +02:00
LemonBoy
e07ab06f0a Fix locals() interaction with generic types
Follow the same logic as semTupleFieldsConstr and only skip skVar since
we're gonna add a nkDefer anyway.

Fixes #8985
2018-09-21 22:35:54 +02:00
Jörg Wollenschläger
c29d9f0382 Allow custom pragmas on more symbols again 2018-09-22 03:32:04 +09:00
LemonBoy
4d9aec1858 Revert #7964
Somehow the test case doesn't crash anymore and the regression in the
doc generation is fixed.

Fixes #9019
2018-09-21 18:59:46 +02:00
Andreas Rumpf
6b5e2adfd0 niminst: don't depend on NIMINSTDEPS environment variable anymore 2018-09-21 09:09:52 +02:00
Araq
69de5ad53c niminst: fix gtar invokation 2018-09-21 01:26:07 +02:00
Araq
113b530a52 cleanup import paths 2018-09-21 00:34:45 +02:00
Araq
4711b81b86 compiler/nim.cfg: cleanup --path 2018-09-21 00:31:16 +02:00
Araq
723d838559 koch: adapt winrelease to appveyor 2018-09-20 16:58:17 +02:00
Andreas Rumpf
a19d2f76f6 Merge pull request #9015 from LemonBoy/fix-9013
Fix linking issue in cpp codegen
2018-09-19 22:53:52 +02:00
Andreas Rumpf
0951b5b736 Merge pull request #9011 from LemonBoy/fix-9008
Convert *_family fields to cushort
2018-09-19 18:03:30 +02:00
Andreas Rumpf
541debe6e1 stdlib: minor changes to avoid compiler warnings 2018-09-19 15:39:10 +02:00
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