Commit Graph

1207 Commits

Author SHA1 Message Date
Araq
6261309d1b document the fact that --define symbols are completely case insensitive; closes #7506 2018-09-03 12:09:14 +02:00
Araq
4e05bca96f manual: add a note about the terminating zero for strings; refs #5596 2018-09-03 12:06:34 +02:00
Araq
d1e3a7c827 document Nim's signal handling briefly; closes #8224 2018-09-03 12:02:56 +02:00
Araq
4b823b2825 manual: more documentation for the 'using' statement; closes #8565 2018-09-03 11:51:15 +02:00
Araq
602aeef4d4 manual: document the 'unsafeAddr' operator; closes #5038 2018-09-03 11:40:14 +02:00
Araq
4993274f2f document 'var T' and 'typedesc' restriction in generics; closes #1156 2018-09-03 11:38:15 +02:00
Araq
077f24ab2d fixes #8797 2018-09-03 09:14:12 +02:00
Vindaar
47c7fd037e Improve enumerate macro (#8819)
* fix case macro manual entry to produce code block

Previously line breaks were so weird that the code blocks were not created.

* improve `enumerate` for loop macro by wrapping in block
2018-08-31 01:16:44 +02:00
Araq
2f7b979e38 fixes #8066 2018-08-31 00:30:19 +02:00
Araq
6fd0a33265 Tutorial 1: Simplifiy the discription of enums; it is a tutorial, not a manual 2018-08-31 00:30:19 +02:00
Araq
c1df195b15 manual: document the order of evaluation 2018-08-27 17:07:12 +02:00
Araq
c0c8828d9f allow .experimental in a .push/pop environment; refs #8676 2018-08-27 11:20:30 +02:00
awr1
50aa376e80 Added to docs: warning string for {.deprecated.} pragma (#8783) 2018-08-26 17:42:57 +02:00
hlaaf
9707b23258 Fixes #8766 (#8769) 2018-08-24 21:19:24 +02:00
Araq
30597e643f fixes merge conflict 2018-08-23 11:30:55 +02:00
Στέφανος
f87a91a3ec Fixed a minor typo (#8685) 2018-08-20 09:40:56 +02:00
Andreas Rumpf
696c0c48c7 fixes merge conflict 2018-08-19 15:14:03 +02:00
Andreas Rumpf
3ca8ebe778 fixes #8653 2018-08-16 18:49:22 +02:00
Andreas Rumpf
e4c759fbff Merge branch 'devel' into araq-misc 2018-08-16 01:22:21 +02:00
Andreas Rumpf
1061e26bc9 implements 'case statement macros' in order to encourage the development of pattern matching mechanisms that are not terrible to look at 2018-08-16 00:16:49 +02:00
Andreas Rumpf
da41fc1801 put the new for loop macros under an experimental switch named 'forLoopMacros' 2018-08-15 17:45:57 +02:00
Araq
83c89197f3 renames threadpool.await to blockUntil; refs #7853 2018-08-14 01:28:04 +02:00
Araq
f960523b46 document the new --nilseqs:on switch 2018-08-13 20:12:13 +02:00
DrSlump
6a0751e81a Fixes #7586: Adds documentation for hints 2018-08-13 11:24:58 +02:00
Andreas Rumpf
60c7a0a08f Merge branch 'araq-misc' of github.com:nim-lang/Nim into araq-misc 2018-08-10 16:51:45 +02:00
Araq
4cf1e3eb4b rename SystemError to CatchableError in order to avoid breaking Nimble and probably lots of other code 2018-08-10 15:31:53 +02:00
Andreas Rumpf
ba6601b149 fixes #8599 2018-08-10 12:09:51 +02:00
Andreas Rumpf
404de2f23e Merge branch 'devel' into araq-misc 2018-08-10 12:06:16 +02:00
Andreas Rumpf
1d78ba64b4 rework the exception hierarchy; refs #8363 2018-08-10 11:40:01 +02:00
Andreas Rumpf
1d63a8fe4a update the 'float' spec; refs #8589 2018-08-10 09:21:46 +02:00
Timothee Cour
43f634db8d fixes #8519; implements T.distinctBase to reverse T = distinct A (#8531) 2018-08-10 09:20:14 +02:00
Araq
265003df1a deprecated regionized pointers 2018-08-10 01:20:14 +02:00
Araq
b4e5c9d075 deprecate the .this pragma 2018-08-09 20:31:40 +02:00
alaviss
a2c5ffba0c Uses XDG_CACHE_HOME if available (#8585)
* compiler/options: use XDG_CACHE_HOME if set

* doc/nimc: update documentation
2018-08-09 10:50:36 +02:00
Andreas Rumpf
ef9dd46466 'nimcache' defaults to ~/.cache on Posix; cleaned up documentation 2018-08-08 09:35:38 +02:00
Andreas Rumpf
e067a7681f 'nimcache' defaults to ~/.cache on Posix; cleaned up documentation 2018-08-06 23:38:29 +02:00
Araq
7ac6462cbd make at least bootstrapping work 2018-08-05 14:17:24 +02:00
Timothee Cour
baa77387d7 fixes #8215; remove reference to old doc command which was deprecated (#8418) 2018-08-05 12:15:40 +02:00
Oscar Nihlgård
5491f1f53b Deprecate the dot style for import paths (#8474) 2018-07-30 09:24:16 -04:00
Timothee Cour
2569c74909 docs: document that --flag is same as flag in cfg config files (#8430) 2018-07-30 10:17:41 +02:00
Andreas Rumpf
4389409e26 fix merge conflict 2018-07-18 09:46:30 +02:00
Chris de Graaf
6eedac3207 Fix link to first class iterator docs (#8356) 2018-07-18 09:17:34 +02:00
Andreas Rumpf
1aa3435317 manual.rst: fixes a typo 2018-07-17 15:49:42 +02:00
Joey Yakimowich-Payne
d3c2fb22db Remove env vars from docs 2018-07-15 11:23:22 +09:00
Timothee Cour
32441d01e5 better doc for hard to find --define:SYMBOL:VAL (#8257) 2018-07-11 10:33:33 +02:00
Quelklef
6fe79fd158 Fixed a wrong AST example (#8269) 2018-07-11 08:52:09 +02:00
Araq
f8e219b877 add the apis.txt table to nep1.rst 2018-07-09 12:35:25 +02:00
Andreas Rumpf
32230ffe31 make tests green again 2018-07-06 17:26:45 +02:00
Vindaar
681d8e0749 Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178)
* deprecate `0c`, `0C` prefix for octal literals

Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for
octal literals to bring the literals in line with the behavior of
`parseOct` from parseutils.

* add `msgKind` arg to `lexMessageLitNum` for deprecation messages

* change literal tests to check all valid integer literals

Also adds the `tinvaligintegerlit3` test to test for the (still)
invalid `0O` prefix.
2018-07-03 01:56:36 +02:00
Kaushal Modi
5ac74da926 Clarify use of special : for passing a block of stmts to template (#8133)
Fixes https://github.com/nim-lang/Nim/issues/8131.
2018-06-27 21:37:31 +02:00