Commit Graph

16274 Commits

Author SHA1 Message Date
LemonBoy
907969d69b Allocate OpenSSL memory outside of the thread heap
Prevent spurious segfaults when OpenSSL is used in multithreaded
environments since the library isn't able to handle thread-local memory.

Fixes #9016
2018-09-27 17:23:55 +02:00
demotomohiro
c0d378c0aa manual: fix typo in 'Pre-defined integer types' 2018-09-28 00:13:58 +09:00
LemonBoy
e9b5a4e25d Constant folding should not drop distinct types
Fixes #9079
2018-09-27 17:08:01 +02:00
Araq
72e15ff739 nimgrab tool: fixes for Nim v0.19 2018-09-27 09:59:07 +02:00
Andreas Rumpf
f6c5c636bb niminst: fix 'gtar' invokation v0.19.0 2018-09-26 14:43:12 +02:00
Araq
787687727a fixes #9076 2018-09-26 11:32:02 +02:00
Araq
3d768738f8 testament: quote categories too because of 'dir with space' test 2018-09-26 11:31:17 +02:00
Andreas Rumpf
4b2f003500 Merge pull request #9067 from kaushalmodi/tiny-doc-formatting-fix
Fix RST formatting; reword a notice about -d:release in .nims
2018-09-25 16:54:29 +02:00
Kaushal Modi
9709ac2bca Fix RST formatting; reword a notice about -d:release in .nims 2018-09-25 08:42:19 -04:00
Dominik Picheta
acf4e02514 Merge pull request #9057 from LemonBoy/fix-9055
Make getSockDomain work with AF_UNIX sockets
2018-09-25 05:00:09 -07:00
Andreas Rumpf
27b622665d Merge pull request #9065 from alaviss/haiku-32bit-fix
cpuinfo: fix compilation for 32bit Haiku
2018-09-25 12:13:11 +02:00
Andreas Rumpf
c240806756 update version to 0.19 2018-09-25 12:21:04 +02:00
Andreas Rumpf
b45483f862 travis: enforce OSX tests are green 2018-09-25 12:21:04 +02:00
Andreas Rumpf
b0deb55814 Merge pull request #9059 from Vindaar/onSignalMod
fix `posix.onSignal` example, inject current signal as `s`
2018-09-25 11:59:46 +02:00
Leorize
bd3463f776 cpuinfo: fix compilation for 32bit Haiku 2018-09-25 15:47:23 +07:00
Araq
548fc778c9 .error for routines now can also have a custom error message; improve error message for 'nil' strings 2018-09-25 00:28:39 +02:00
Araq
8029a649ba math.nim: document what to use instead of 'fmod' 2018-09-25 00:10:21 +02:00
Sebastian Schmidt
621ef18478 inject sig from anonymous proc instead of for loop 2018-09-24 23:49:13 +02:00
Andreas Rumpf
5a3ed8f2ba Merge pull request #9061 from kaushalmodi/nims-update
Minor edits to NimScript (nims) docs
2018-09-24 21:54:41 +02:00
Andreas Rumpf
276a05e57d Merge pull request #9060 from alaviss/haiku-getAppFilename
os: add getAppFilename() implementation for Haiku
2018-09-24 20:16:57 +02:00
Kaushal Modi
aecfacd39a Remove nim.cfg mentions from NimScript (nims) docs
Other changes:

- Add macros module to the list of modules that can be imported in
  .nims files.
- Use "<myproject>" instead of "myproject" so that it looks more like
  a project name placeholder.
- Mention that switch proc cannot be used to set -d:release in
  NimScripts.
2018-09-24 14:11:54 -04:00
LemonBoy
d87606b100 Make getSockDomain work with AF_UNIX sockets
Fixes #9055
2018-09-24 17:26:45 +02:00
Leorize
8cc1c55620 os: add getAppFilename() implementation for Haiku 2018-09-24 21:01:55 +07:00
Andreas Rumpf
9a9005622b make t7346 work again 2018-09-24 16:00:57 +02:00
Andreas Rumpf
9364369c1f make tests green again 2018-09-24 16:00:57 +02:00
Andreas Rumpf
c38a608c90 C codegen: support system.move and system.wasMoved 2018-09-24 16:00:57 +02:00
Andreas Rumpf
3c461755e2 enable destructors for top level statements; needs to be documented 2018-09-24 16:00:57 +02:00
Andreas Rumpf
c1aecb8914 os.nim: allow walkDir to work on hierarchies with dangling symbolic links; refs #9034 2018-09-24 13:15:55 +02:00
Andreas Rumpf
68bc45701a travis: don't run testinstall on OSX 2018-09-24 13:15:55 +02:00
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