Dominik Picheta
8ff18c0fb9
Merge pull request #9813 from yyyc514/fix_outdated_invoke_example
...
fix outdated example to invoke Nim from C
2018-11-27 22:44:31 +00:00
Josh Goebel
dace2a0999
fix outdated example to invoke Nim from C
...
- resolves #8139
2018-11-27 15:44:03 -05:00
Andreas Rumpf
413580bc04
new minor language feature: .noSideEffect blocks like .gcsafe blocks
2018-11-27 00:36:29 +01:00
Araq
1cc8b7814d
tut3: improved the wording
2018-11-21 20:45:31 +01:00
Arne Döring
30480605c1
added a new macro tutorial ( #9588 )
2018-11-21 15:46:58 +01:00
Araq
b78699917e
document the --incremental build switch; make CIs green again
2018-11-21 11:39:38 +01:00
Randy Smith
6c7abe6e5b
Fixes #9671 ( #9750 )
2018-11-19 09:22:21 +01:00
narimiran
696dc1609f
fix manual entry for .this pragma [ci skip]
2018-11-18 12:53:21 +01:00
Timothee Cour
b5448bf25c
fix #9647 tmpl=>nimf ( #9658 )
2018-11-14 08:27:48 +01:00
Araq
84ca9d2903
add new stdlib modules to the changelog
2018-11-08 20:52:22 +01:00
Andreas Rumpf
8a357c270b
parser change: 'not' is always a unary operator; fixes #9574
2018-11-07 21:17:52 +01:00
Andreas Rumpf
4e94f49065
parser/grammar sync; fixes #9608 [backport]
2018-11-07 20:07:43 +01:00
Araq
25cb2e0c70
document system.UncheckedArray
2018-11-06 13:55:03 +01:00
Andreas Rumpf
c739b9192f
produce more helpful error messages when overloading resolution fails
2018-11-03 15:56:13 +01:00
Timothee Cour
d294cec805
Revert "nimsuggest somehow transforms \n into \\x0A, not \x0A"
...
This reverts commit f96e2764c4 .
2018-11-01 14:29:18 -07:00
Timothee Cour
f96e2764c4
nimsuggest somehow transforms \n into \\x0A, not \x0A
...
/cc @Araq
2018-11-01 14:22:09 -07:00
Araq
b138e89772
contributing guide: document the new [backport] convention
2018-10-30 22:45:38 +01:00
Araq
e844e536bf
Nim style checker: document the switch; fixes #9564
2018-10-30 15:03:28 +01:00
genotrance
8500076651
Make Windows cross-compilation simpler ( #9485 )
2018-10-24 13:12:08 +02:00
Timothee Cour
d0dd5ea887
[doc] add tips to doc/contributing.rst: git, code review, CI ( #9429 )
2018-10-19 21:03:25 +02:00
Timothee Cour
15dbd973de
[doc] start of best practices section in contributing.rst ( #9415 )
2018-10-18 20:20:26 +02:00
Araq
03a05ca456
intern.rst: minor formating improvements
2018-10-18 12:12:15 +02:00
Bo Lingen
458aab0b10
docs(lib): update Nimble notes since package list is not inline anymore ( #9397 )
2018-10-18 11:07:10 +02:00
technicallyagd
88adf77569
Elaborate on source code filter usage in the documentation. ( #9407 )
...
* Elaborate on source code filter usage.
Also gives it an abbreviation, SCF.
* Fix the code block formatting
* Trim off the unintended usage with import.
2018-10-17 12:51:51 +02:00
PMunch
db95fad6fa
Fixes #9364 and add moduleDescription to jsondoc ( #9396 )
...
This fixes `jsondoc0` so that it has comments in the output as described
by the documentation. It also fixes `jsondoc`/`jsondoc2` as it stored
it's output in a file with an html extension. Along with this it also
adds a new field `moduleDescription` to `jsondoc`/`jsondoc2` which
contains the module description.
2018-10-17 00:34:47 +02:00
Kaushal Modi
3e9f506923
Update config.nims search path in docs ( #9388 )
...
Related: https://github.com/nim-lang/Nim/pull/8682
Also mention the "nim help" command to list all available tasks.
2018-10-17 00:17:10 +02:00
Oscar Nihlgård
163e9de3c2
Unicode escape in string literals ( #9390 )
2018-10-17 00:14:22 +02:00
Andreas Rumpf
b340f677eb
fixes #9244
2018-10-16 20:09:12 +02:00
Andreas Rumpf
7656925140
added new editdistance stdlib module, deprecated strutils.editDistance, refs #6301
2018-10-14 10:26:45 +02:00
Tomohiro
eb4272ba1c
manual: Fix links to Parallel & Spawn ( #9342 )
2018-10-13 08:55:34 +02:00
Timothee Cour
d5fe8e1e0c
doc: tests/testament/specs.nim => testament/specs.nim ( #9338 )
2018-10-13 08:41:47 +02:00
Jacek Sieka
97738a4f28
Testament pre parallel ( #9137 )
...
* testament: move to root dir (it's not a test)
* osproc: fix process index passed to afterRunEvent for parallel runs
it was passing the index of the process, not index of all commands
* testament: complete file move
2018-10-12 17:27:47 +02:00
Tomohiro
d2b04a8bc7
manual: Remove stmt or expr template related text from manual ( #9321 )
2018-10-12 09:00:27 +02:00
cooldome
9b002e0d4f
Align to the actual experience ( #9324 )
...
* Align to the actual experience
* add exception handling
2018-10-12 08:49:33 +02:00
Andrea Ferretti
160f8599c6
Clarify that term rewriting macros are applied recursively ( #9305 )
...
Fixes https://github.com/nim-lang/Nim/issues/9288 fixes https://github.com/nim-lang/Nim/issues/8376 and fixes https://github.com/nim-lang/Nim/issues/2901
2018-10-11 15:59:14 +02:00
Araq
26a9ba71c8
codeowners: try to make github's RST parser happy
2018-10-11 13:52:44 +02:00
Araq
78f9c9a2cd
update contributing.rst and added codeowners.rst
2018-10-11 13:45:37 +02:00
Timothee Cour
da4215af6a
make contributing.rst more up to date; reference it in readme.md to make it more discoverable ( #9302 )
2018-10-11 08:55:15 +02:00
Miran
27e4825c62
[cleanup] remove xmldom and xmldomparser ( #9234 )
2018-10-09 20:58:56 +02:00
technicallyagd
85187d4ba3
Fixes some minor typos in nimsuggest.rst ( #9223 )
...
* Fix Minor typo in nimsuggest.rst
* Fixes two more typo in nimsuggest.rst
2018-10-09 17:45:00 +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
532e2ee0b2
more documentation improvements; fixes #9119
2018-09-29 20:10:44 +02:00
Araq
4f8cf945fb
docs: remove most stale links; refs #9109
2018-09-29 11:23:29 +02:00
demotomohiro
119d76d80e
Nim Compiler User Guide: Fix how user config file is searched
2018-09-29 02:37:14 +09: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
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
demotomohiro
c0d378c0aa
manual: fix typo in 'Pre-defined integer types'
2018-09-28 00:13:58 +09:00
Kaushal Modi
9709ac2bca
Fix RST formatting; reword a notice about -d:release in .nims
2018-09-25 08:42:19 -04: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