Commit Graph

13604 Commits

Author SHA1 Message Date
Araq
400a7ff1bb closes #6249 2018-10-02 19:41:47 +02:00
Araq
c3465e4379 nimsuggest docs: minor update; v2 of the protocol is now the default 2018-10-02 19:41:20 +02:00
Araq
7935c4aa5a C++ codegen: emit correctly typed code for closures in 'const'; refs #7870 2018-10-02 19:35:24 +02:00
Araq
7bac21ac23 ccgtypes: improve internal documentation 2018-10-02 19:33:29 +02:00
Araq
c2de135905 C++ codegen: map nil to nullptr 2018-10-02 16:18:16 +02:00
Araq
6f23b05c09 docgen: fixes typo 2018-10-02 16:18:16 +02:00
Araq
621b2db2e8 compiler IC: minor improvements 2018-10-02 16:18:16 +02:00
Araq
ae901b3272 fixes #7351 2018-10-02 16:18:16 +02:00
Araq
f98352a498 compiler: fixes path generation for .line pragma 2018-10-02 16:18:16 +02:00
Araq
76aab9baf1 compiler: make symbolfiles feature compile again 2018-10-02 16:18:15 +02:00
Dominik Picheta
c6e10a442d Merge pull request #9151 from flaviut/fix-9053
Fix option documentation in nre (fixes #9053)
2018-10-01 20:33:51 -07:00
Flaviu Tamas
a0ac0b9696 Fix option documentation in nre (fixes #9053) 2018-10-01 21:38:56 -04:00
Andreas Rumpf
41bd6ed628 Merge pull request #9145 from valtron/devel
Misc portability stuff
2018-10-01 22:55:20 +02:00
valtron
78078ea6b4 detect msys "os" 2018-10-01 10:30:52 -06:00
valtron
9db92530de fix: echo "\n" not portable 2018-10-01 10:27:13 -06:00
Andreas Rumpf
fcbb00b97a Merge pull request #9134 from komainu8/fix_issues_9126
Fix #9126: use splitPath instead of substr
2018-10-01 16:50:09 +02:00
Araq
4e120d5997 docgen: also build nre/util.nim; fixes #9109 2018-10-01 16:44:38 +02:00
Araq
34398a9d66 fixes #9140 2018-10-01 15:07:41 +02:00
Araq
47653882ef compiler: minor documentation improvement 2018-10-01 14:54:31 +02:00
Andreas Rumpf
aab6b31c8b Merge pull request #9110 from kaushalmodi/dochackjs-kochdoc-update
Make "koch docs" copy the dochack.js to the right location too
2018-10-01 14:22:36 +02:00
Andreas Rumpf
e867c8e5c3 Merge branch 'devel' into fix_issues_9126 2018-10-01 14:15:35 +02:00
Araq
5298c509a7 fixes #9126 2018-10-01 12:51:44 +02:00
Andreas Rumpf
3d60f1b0af Merge pull request #9131 from LemonBoy/fix-9130
Fix regression with runnableExamples in generic expr
2018-10-01 08:53:35 +02:00
Yasuhiro Horimoto
aa8249d177 Fix #9126: use splitPath instead of substr 2018-09-30 23:20:14 +09:00
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
Kaushal Modi
2e5c759736 Make "koch docs" copy the dochack.js to the right location too
- Fixes https://github.com/nim-lang/Nim/issues/9104.
- Fixes https://github.com/nim-lang/Nim/issues/9095.

Expect dochack.js to be fetched from the doc/html/ dir instead of from
doc/.

Also remove an unused and unexported proc pathPart.
2018-09-29 13:15:29 -04: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