summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* tests and docs for call operator (#16980)hlaaftana2021-02-091-1/+33
| | | | | | | * tests and docs for call operator * fix leftover * add extra dot test
* Deprecate any (#16920)Juan Carlos2021-02-081-1/+0
|
* rename case statement macro from match to `case` (#16923)hlaaftana2021-02-081-13/+11
| | | | | * rename case statement macro from match to `case` * fix test
* nep1: prefer `self` to `this` (#16927)Timothee Cour2021-02-041-4/+7
|
* fix #16885: nimdoc css warning (#16893)zetashift2021-02-011-0/+2
| | | | | | | | | | | | | | | | | | | * fix #16885 * Fixup nimdoc for the CSS filter change * Use the same Nim devel versions * Revert "Use the same Nim devel versions" This reverts commit 8559308f9be54a674f3ac3893efe16e03ecf4d38. * Revert "Fixup nimdoc for the CSS filter change" This reverts commit 99ec00a4bd7c448763b2073a7c6f1332bbab924b. * Fixup nimdoc.out.css Co-authored-by: zetashift <rishi2@laptop.localdomain>
* Updated nimsuggest doc to explain connection to nim compiler and use of ↵Don-Duong Quach2021-02-011-0/+5
| | | | config files (#16869)
* small fix in grammar.txt [ci skip]narimiran2021-01-281-1/+1
|
* fix #16752: threadvar now works with importcpp types; osx now uses native ↵Timothee Cour2021-01-271-0/+13
| | | | | | | | | | | TLS (`--tlsEmulation:off`), which can be orders of magnitude faster (#16750) * osx now uses native TLS, which can be orders of magnitude faster * add {.cppNonPod.} * improve test * changelog, docs, disable part of windows test
* Make small text changes in the docs (#16634)Elliot Waite2021-01-253-117/+120
| | | | | | | | | * Fix broken links in docs * Fix rand HSlice links * Make small text changes in the docs * Fix typo in contributing docs
* Small changes to std/sums (#16797)konsumlamm2021-01-251-1/+1
|
* fix code-block (#16799)Timothee Cour2021-01-231-1/+1
|
* fix manual to reflect reality for .nosideeffect (#16781)Timothee Cour2021-01-221-6/+25
|
* Add std/setutils to lib.rst (#16791)konsumlamm2021-01-221-9/+9
| | | | | | | | | * Add std/setutils to lib.rst Improve doc comments for setutils * Adhere to the RST spec Use no UFCS in toSet
* fix noDecl => nodecl (#16760)Timothee Cour2021-01-201-4/+4
| | | | | | | * fix noDecl => nodecl * address comment * disable flaky tests/stdlib/thttpclient.nim on freebsd
* Reboot of #16195 (#16746)Clyybber2021-01-201-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * fix #16185 * fix test * fix comment * fix comment * better approach * Add more tests and move sameLocation to injectdestructors * Better and more strict sameLocation * Small cleanup and preliminary spec clarification * Fix * Fix doc * Expand test Co-authored-by: Andrey R (cooldome) <ariabushenko@gmail.com>
* `--hintAsError` (#16763)Timothee Cour2021-01-201-2/+2
| | | | | | | * --hintAsError * add test, changelog * condsyms
* add link to Nim Basics in tut1.rst [ci skip]narimiran2021-01-201-2/+7
|
* intsets are not deprecatedAndreas Rumpf2021-01-191-1/+0
|
* Improve documentation for packedsets (#16715)konsumlamm2021-01-161-11/+15
| | | | | | | | | * Improve documentation for packedsets Add more runnableExamples Add deprecated pragma to intsets Replace intsets with packedsets in lib.rst * Apply suggested changes
* Deprecate TaintedString (#15423)Juan Carlos2021-01-153-24/+1
| | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* conservative approach to fix #15184 (#16723)Andrey Makarov2021-01-152-1/+19
|
* fix docs typo (#16637)flywind2021-01-122-2/+2
| | | | | | | * fix typo * fix typo * Update doc/astspec.txt
* fix syntax in macros documentation (#16604)n5m2021-01-061-1/+1
|
* Add short description on GC (#16535)Federico Ceratto2021-01-011-2/+7
|
* update contributing.rst (#16530)flywind2021-01-011-4/+4
| | | | | | | * update docs * Apply suggestions from code review * Update doc/contributing.rst
* improve examples in manual (#16497)flywind2020-12-291-1/+3
| | | | | | | | | | | | | * improve examples in manual * Update doc/manual.rst Co-authored-by: Clyybber <darkmine956@gmail.com> * Update tests/cpp/ttemplatetype.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* Nil type check implementation (#15287)Alexander Ivanov2020-12-292-0/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Nil checking * Enable current older not nil checking again, run new checking only under flag, skip our test * Enable tests, work on try/except and bugs, fix notnil tests * Enable strictNotNil tests (currently with lowercase category) and add some expected output * Work on try/except/finally: still some things unclear and a lot of code can raise out of try * Fix the notnil build by going back to the old version of a test which I shouldn't have changed * Fix test : use action compile * Work on mutation and aliasing: not finished * Render var parititions graph, try to understand it, fix a nilcheck if bug * Rebase, progress on working with partitions * Improve time logic * Fix some bugs, use graph indices instead of symbol in nil map * Fix bugs, test simpler ident aliasing for now, support two mutation levels * Support ContentMutation and ReAssignment: for now just detect possible re assignment for var parameters of calls * Enable several simple passing tests * Cleanup a bit, fix condition/branch infix-related bug * Remove some files, address some comments by Araq * Use internalError and no quit for now * Separate tests with expected warnings and with expected ok, fix a bug with if with a single branch related to copyMap * Fix new data structures, bugs: make tests pass, disable some for now * Work on fixing errors with non-sym nodes, aliasing: tests fail * Work on alias support: simple set-based logic, todo more tests and ref sets? * Use ref sets: TODO can we think of handle seq-s similar to varpartitions' Araq ones * Handle defers in one place, stop raising in reverse to make an async test compile with strictNotNil, add a commented out test * Dot expressions: call/reassignment. Other refactorings and distinct, SeqOfDistinct support. Checkout an older varpartitions * Work on field tracking * Backup : trying to fix bugs when running some stdlib stuff for running an async test * Start a section about strict not nil checking in experimental manual * Fix experimental strict not nil manual section and move it to another file based on Araq feedback * Fix unstructured flow and double warning problems, fix manual, cleanup * Fix if/elif/else : take in account structure according to Araq feedback * Refactor a bit * Work on bracket expr support, re-enable tests, clarify in manual/tests/implementation static index support for now * Work on compiling stdlib and compiler with strictNotNil * Small fixes to the manual for strictNotNil * Fix idgen for strict check nil rebase * Enable some simple tests, remove old stuff, comment out code/print * Copy the original varpartitions source instead of my changes * Remove some files
* RST: implement admonitions (#16438)Andrey Makarov2020-12-271-0/+34
|
* Add docs for nnkHiddenStdConv (#16408)treeform2020-12-271-0/+11
| | | Add it to devel branch this time. I hope this works.
* Don't use `unittest.suite` and `unittest.test` (#16464)flywind2020-12-271-1/+1
|
* removing `out T` from docs since it no longer working (#16378) [backport]Code Hz2020-12-181-21/+10
| | | | | | | | | * remove `out T` from docs see https://github.com/nim-lang/Nim/issues/16131 * remove `out T` in title * remove entire paragraph
* Add note about minimum Node.js version (#16370)Maurizio Tomasi2020-12-161-0/+3
| | | Fix the error message
* Syntax (RST) fix Internals of the Compiler (#16341)Saem Ghani2020-12-151-6/+6
| | | | | 'Rebuilding the Compiler' and a few other sections required syntax fixes: * new lines before and after lists to fix rendering * use internal reference instead of Markdown style link
* Fix broken links in docs (#16336)Elliot Waite2020-12-143-5/+5
| | | | | * Fix broken links in docs * Fix rand HSlice links
* testament: error instead of silently ignore invalid targets; remove ↵Timothee Cour2020-12-141-3/+6
| | | | | | | | | | | pointless alias target vs targets; document matrix; DRY (#16343) * testament: error instead of silently ignore invalid targets * s/target/targets/ * fix test; refs #16344 * address comments * Update testament/specs.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* RST tables: fix latex col number; allow less than three of `=` (#16040)Andrey Makarov2020-12-041-2/+2
|
* styleCheck: Fix error for `sugar` and `std/with` (#16176)ee72020-12-021-1/+1
| | | | | | | | | | | | | | | | With this commit, we no longer see an error if we pass `--styleCheck:error` when compiling a file that contains `import sugar` or `import std/with`. The problem was that those modules (and only those modules) import `std/private/underscored_calls`, which contained a styleCheck issue: its spelling of `nnkArgList` didn't match the `nnkArglist` spelling in `macros.nim`. This commit fixes the issue by renaming `nnkArgList` to `nnkArglist` repo-wide. The other way around would be a breaking change for code that used `nnkArglist` and `--styleCheck:error`. Fixes: #16174
* fixed article duplication typos (#16216)ihlec2020-12-022-2/+2
|
* remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) (#15683)Timothee Cour2020-11-265-9/+9
|
* fix #16047 (#16066)Miran2020-11-201-1/+3
|
* fix numbering in contributing.rst (#16042)Timothee Cour2020-11-181-6/+4
|
* contributing docs: always mentioned referenced issues in PR body (#16038)Timothee Cour2020-11-181-3/+10
|
* defer: improve manual, clarify difference wrt try/finally (#16010)Timothee Cour2020-11-171-2/+31
|
* https://github.com/nim-lang/Nim/pull/15968/files#r523468677Juan Carlos2020-11-141-7/+1
|
* Fix #15806Juan Carlos2020-11-141-1/+2
|
* Fix #15806Juan Carlos2020-11-141-2/+3
|
* Fix #15806Juan Carlos2020-11-141-1/+2
|
* Fix #15806Juan Carlos2020-11-141-1/+30
|
* [docs minor]add some tips to intern.rst (#15967)Andreas Rumpf2020-11-141-2/+10
|\ | | | | | | | | * [docs minor]add some tips yo intern.rst * minor
| * minorflywind2020-11-141-1/+1
| |