Commit Graph

13570 Commits

Author SHA1 Message Date
Andreas Rumpf
2dfd09b1be Merge pull request #9115 from mashingan/fix-json-aliased
Fix #9111; error when parsing to aliased type field
2018-09-29 13:27:37 +02:00
Araq
4f8cf945fb docs: remove most stale links; refs #9109 2018-09-29 11:23:29 +02:00
mashingan
5624036251 Fix #9111; error when parsing to aliased type field 2018-09-29 15:48:01 +07:00
Andreas Rumpf
c404163bbf Merge pull request #9103 from kaushalmodi/encode-urls-in-docs
Encode non-alphanum chars like %, + in URLs in the docs
2018-09-29 09:53:26 +02:00
Andreas Rumpf
f6e9af28db Merge pull request #9112 from rayman22201/dockhack-fuzzy-match-bugfix
Bugfix for fuzzysearch found by Zevv
2018-09-29 09:51:11 +02:00
Ray Imber
8e258d3e8a Bugfix for fuzzysearch found by Zevv here: https://irclogs.nim-lang.org/28-09-2018.html#19:43:52 2018-09-28 15:52:51 -07:00
Kaushal Modi
903886396d Don't prevent ',' from getting escaped in theindex.html
- Enable escaping of links in theindex.html
- Fixes https://github.com/nim-lang/Nim/issues/9107.
- Second part of the fix for https://github.com/nim-lang/Nim/issues/9097.
2018-09-28 15:39:22 -04:00
Andreas Rumpf
49291f3758 Merge pull request #9106 from demotomohiro/fixcompilerman
Nim Compiler User Guide: Fix how user config file is searched
2018-09-28 21:29:42 +02:00
Kaushal Modi
de8cb0a1cf Encode non-alphanum chars like %, + in URLs in the docs
Use $itemSymOrIDEnc instead of $itemSymOrID in the id and href attr in
a tags.

Fixes https://github.com/nim-lang/Nim/issues/9097.

Thanks to @LemonBoy for helping with this commit.

---

Update the tests too -- "nim c -r nimdoc/tester" passes.
2018-09-28 13:52:54 -04:00
demotomohiro
119d76d80e Nim Compiler User Guide: Fix how user config file is searched 2018-09-29 02:37:14 +09:00
Andreas Rumpf
99a874cc8a Merge pull request #9099 from LemonBoy/fix-9098
Fix codegen for some set operations
2018-09-28 10:59:16 +02:00
LemonBoy
a1083d7c43 Fix codegen for some set operations
Taking the LHS type when a temporary result value was needed lead to bad
code being generated if we get a tyRef.

Fixes #9098
2018-09-28 09:59:45 +02:00
Andreas Rumpf
07748dba68 Merge pull request #9086 from LemonBoy/openssl-mem
Allocate OpenSSL memory outside of the thread heap
2018-09-28 09:29:54 +02:00
Andreas Rumpf
959e3a08b1 Merge pull request #9085 from LemonBoy/fix-9079
Constant folding should not drop distinct types
2018-09-28 09:29:09 +02:00
Andreas Rumpf
baccd1ad81 Merge pull request #9084 from demotomohiro/fixman
manual: fix typo in 'Pre-defined integer types'
2018-09-28 09:28:31 +02:00
Andreas Rumpf
f7797dc502 Merge pull request #9096 from kaushalmodi/add-dochack-gen-to-nightly-docs
Generate the dochack.js before deploying the devel docs
2018-09-28 09:17:10 +02:00
Araq
017d7f5065 manual: fix the layout 2018-09-27 22:42:12 +02:00
Araq
a0ec1c1212 manual: fixes the wording of case statement macros 2018-09-27 22:34:49 +02:00
Araq
4046ee818f fixes #9083 2018-09-27 22:34:06 +02:00
Kaushal Modi
15eac94ec7 Generate the dochack.js before deploying the devel docs 2018-09-27 15:47:16 -04:00
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