Commit Graph

13579 Commits

Author SHA1 Message Date
LemonBoy
6d4503325c Fix regression with runnableExamples in generic expr
The examples should not enter the generic analysis at all.
The regression was introduced in 4cf704bb as a fix for #8694.

Fixes #9130
Fixes #8694
2018-09-30 14:11:53 +02:00
Andreas Rumpf
5676e032bd Merge pull request #9127 from avsej/fix-iotests-category
Fix ioTests category after rename
2018-09-30 09:25:25 +02:00
Andreas Rumpf
42775e07ed Merge pull request #9128 from avsej/fix-rst2tex
fix extension passing for rst2tex command
2018-09-30 08:37:28 +02:00
Sergey Avseyev
756f50d0a3 Fix ioTests category after rename
Broken in e39f2a9283
2018-09-29 23:26:06 +03:00
Sergey Avseyev
c1f677a7c9 fix extension passing for rst2tex command 2018-09-29 23:24:57 +03:00
Andreas Rumpf
57d0ff385c Merge pull request #9121 from timotheecour/pr_fix_tasyncfilewrite
remove test_async.txt after test to keep git status clean
2018-09-29 20:17:38 +02:00
Araq
532e2ee0b2 more documentation improvements; fixes #9119 2018-09-29 20:10:44 +02:00
Timothee Cour
f59ddb7007 remove test_async.txt after test to keep git status clean 2018-09-29 16:57:56 +02:00
Araq
40e01d8549 don't require an implementation for procs marked with .error; activate the move optimizer for destructors 2018-09-29 16:54:59 +02:00
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