summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* implemented alignas pragma (#12643)Arne Döring2019-11-131-0/+32
| | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof.
* add --clearNimblePath; fixes #12601 (#12609)Andy Davidoff2019-11-061-0/+1
|
* [backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip]Tor Arvid Lund2019-11-061-1/+1
| | | Derivative of `b*pow(x, 2)` is `2*b*x`, while old version had `2*a*x`
* [backport] Add links to packaging and distro pages (#12603) [ci skip]Federico Ceratto2019-11-062-0/+4
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-301-1/+1
|
* destructors.rst: added a missing 'var' to the motivating exampleAraq2019-10-281-1/+1
|
* [backport] fix broken link to non-existing c2nim manual html, fixes #12537 ↵Anthon van der Neut2019-10-281-1/+1
| | | | [ci skip] (#12544)
* integer literal documentation [ci skip] (#12513)Arne Döring2019-10-281-0/+88
| | | | | | * integer literal documentation [ci skip] * apply feedback [ci skip]
* Remove sentences referring to the graphics module (#12522)Jjp1372019-10-261-2/+1
|
* '#' value parcing is explained (disambiguated) (#12476)Artem V L2019-10-251-1/+2
|
* [backport] Add link to posix_utils.html - related to #10723 (#12509)Federico Ceratto2019-10-241-1/+2
|
* [backport] Clarifies experimental / parallel example on manual.rst (#12472)UNIcodeX2019-10-241-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Clarifies experimental / parallel on manual.rst Details: Calling `useParallel()` in example fails with compiler error Error: 'parallel' section without 'spawn' Adding `spawn` causes error: Error: internal error: (filename: "ccgexprs.nim", line: 1032, column: 17) No stack traceback available To create a stacktrace, rerun compilation with ./koch temp c <file> Therefore a separate proc, `threadedEcho`, is added for the echo'ing of the string, which allows the example to build, however, `sync()` must be added so that the "echo in parallel" strings will actually be shown on the terminal. Otherwise, the program will spawn of the threads and exit before they can return to the main thread. * Fixes and clarifies example for threading in manual.rst Issue: Calling useParallel() in example failed with compiler error `Error: 'parallel' section without 'spawn'` Adding spawn yielded compiler error: ```bash Error: internal error: (filename: "ccgexprs.nim", line: 1032, column: 17) No stack traceback available To create a stacktrace, rerun compilation with ./koch temp c ``` Proposed Solution: - Separate proc, threadedEcho, is added for the echo'ing of the string, which allows the example to build - Added the thread number so that it can demonstrate that sometimes threads which were started sooner, come back after threads which were started later.
* Fix many broken links and prefer relative links within docs (#12463)Miran2019-10-2415-125/+138
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix many broken links Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. * Prefer relative links for Nim documentation This is more friendly to those browsing the documentation without a network connection. The nim-doc package in Debian allows this, for example. Also, the domain name being used was not consistent. It could have been either nim-lang.org or nim-lang.github.io, and those reading the stable docs could have found themselves suddenly reading the devel docs instead. * koch.rst: remove link to nonexistent section * manual.rst: remove unintended link cast[T](0) is interpreted as a link to id 0 with text T, so escape the opening parentheses to display the intended output. * asyncstreams: replace unintended link with emphasis * Fix word wrapping
| * Fix word wrappingJjp1372019-10-2211-87/+98
| |
| * manual.rst: remove unintended linkJjp1372019-10-221-1/+1
| | | | | | | | | | cast[T](0) is interpreted as a link to id 0 with text T, so escape the opening parentheses to display the intended output.
| * koch.rst: remove link to nonexistent sectionJjp1372019-10-221-1/+1
| |
| * Prefer relative links for Nim documentationJjp1372019-10-224-8/+8
| | | | | | | | | | | | | | | | | | | | | | This is more friendly to those browsing the documentation without a network connection. The nim-doc package in Debian allows this, for example. Also, the domain name being used was not consistent. It could have been either nim-lang.org or nim-lang.github.io, and those reading the stable docs could have found themselves suddenly reading the devel docs instead.
| * Fix many broken linksJjp1372019-10-2213-69/+71
| | | | | | | | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol.
* | fixes #12453 (#12475)Arne Döring2019-10-231-0/+19
|/
* tweaked for clarity after editing to fix a typo (#12473)Andy Davidoff2019-10-221-2/+2
|
* first implementation of the new --seqsv2 switchAraq2019-10-201-0/+2
|
* Fixes #8802 (#12439)Juan Carlos2019-10-181-3/+27
| | | | | | * Fix #8802 * Peer review feedbacks https://github.com/nim-lang/Nim/pull/12439#discussion_r335905397
* Fixes #10824 (#12437)Juan Carlos2019-10-171-0/+19
|
* Fix #10804 (#12438)Juan Carlos2019-10-171-4/+4
|
* [backport] Mention "lambdas" and `=>` in the manual (#12397) [ci skip]awr12019-10-101-3/+5
| | | (so that "lambda" can be CTRL+F'd)
* [doc/tut1] removed discard discussion in comments (#12352)pietroppeter2019-10-081-9/+0
|
* added cpuTime to VM (#12346)Ico Doornekamp2019-10-041-0/+1
| | | | | | * added cpuTime to VM * Hide VM-time cpuTime() behind --benchmarkVM flag
* Fixes #12010; Add the description for "cc" option into --fullhelp (#12350)Hideki Okamoto2019-10-041-0/+1
|
* Fixed sizeOf to sizeof (#12347)Ridho Pratama2019-10-031-1/+1
|
* Refactor injectdestructors (#12295)Clyybber2019-10-011-9/+0
| | | One improvement over #devel is visible in the transformation of getEnv. With this approach we move to result whenever possible.
* different fix for #12279 [backport]Araq2019-09-301-3/+0
|
* Explicitly state that trailing underscores are banned (#12257)Mathias Stearn2019-09-251-2/+5
| | | It was explicit in the BNF, but the English text implied it was allowed.
* updated the contributing.rst guidelinesAndreas Rumpf2019-09-251-12/+4
|
* documentation updatesAndreas Rumpf2019-09-212-76/+30
|
* updated lib.rst and added some useful missing modulesAraq2019-09-211-2/+14
|
* lib.rst cleanups and reorderingsAraq2019-09-211-203/+212
|
* importjs symbol (#12218)Arne Döring2019-09-201-6/+15
| | | | | * importjs symbol * importjs warning message, minor warning fixes
* Update Android and iOS cross compile docs. (#12215)treeform2019-09-191-10/+51
| | | | | | * Update Cross compilation, add noMain section. * Small world update, note about XCode clean.
* Add --os:ios switch and docs. (#12204)treeform2019-09-181-0/+7
|
* Add -d:androidNDK to fix echo on Android NDK builds. (#12203)treeform2019-09-171-0/+14
| | | | | | | | * Add -d:echoToAndroidLog to fix echo. * Change to androidNDK and add docs. * Some word changes to docs.
* make --useVersion's documentation reflect realityAndreas Rumpf2019-09-161-1/+1
|
* allows access to .compileTime vars at runtime (#12128)Andreas Rumpf2019-09-051-0/+25
|
* Fix int literals and range interaction (#11197)Oscar Nihlgård2019-08-311-5/+6
| | | | | | | | * Fix int literals and range interaction * Fix test * remove float range fix; update changelog
* Remove ENDB (#12095)Clyybber2019-08-311-203/+0
|
* fixes #12029; finish the 'unused import' feature (#12064)Andreas Rumpf2019-08-271-0/+11
|
* manual: more precise rules about evaluation orderAraq2019-08-271-0/+38
|
* manual: better documentation for implicit genericsAndreas Rumpf2019-08-261-18/+82
|
* new gensym handling (#11985)Andreas Rumpf2019-08-232-1/+40
| | | | | | | | | | | * new .gensym implementation * make astspec test green again * introduce a --useVersion switch to group compatibility switches * fixes #10180 * fixes #11494 * fixes #11483 * object constructor fields and named parameters are also not gensym'ed * disabled broken package
* Fix typos. Apply title case. (#11987)Arne Döring2019-08-211-11/+11
|
* Consider range type of runtime discrim [feature] (#11432)Oscar Nihlgård2019-08-201-1/+7
|