summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* add enumutils.items for sparse enums, typetraits.SomeSparseEnum (#17080)Timothee Cour2021-02-231-0/+3
| | | | | | | * add enumutils.items for enum with holes * changelog * ref in lib.rst * use `type SomeSparseEnum* = (not Ordinal) and enum` instead of concept * address comment: rename back to enum with holes
* document type bound operators (#17063)Timothee Cour2021-02-232-2/+45
| | | | | | | * document type bound rountines * address comments * Update doc/manual.rst Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* remove tests/deps/ (#17132)Timothee Cour2021-02-231-1/+1
| | | | | | | | | * remove tests/deps/ * fix tests * fix tests/manyloc/keineschweine/lib/zlib_helpers.nim * fixup
* fix prelude regression refs #16238: `include prelude` doesn't interfere with ↵Timothee Cour2021-02-221-29/+0
| | | | | | | | | `nim doc` (#17111) * fix bug1 from #16238 nim doc now works with include prelude * fix for windows * fixup
* followup #17077: also use assert instead of doAssert for `code-block` rst ↵Timothee Cour2021-02-211-1/+2
| | | | blocks intended to be used as `runnableExamples` (#17122)
* promote std prefix in docs (#17128)flywind2021-02-209-41/+41
|
* move prelude so that `include std/prelude` also works (#17110)Timothee Cour2021-02-201-3/+3
| | | | | * move prelude so that `include std/prelude` also works * add test
* stricter checks for RST headlines (#17089)Andrey Makarov2021-02-203-3/+3
|
* [nep1] Use `std` prefix for standard library modules (#17105)flywind2021-02-191-1/+4
|
* workaround #17091: manual.rst now renders as RST in github (#17092)Timothee Cour2021-02-191-7/+8
|
* contributing: prefer assert to doAssert in runnableExamples (#17077)Timothee Cour2021-02-181-7/+24
|
* followup #17065 (#17090)Timothee Cour2021-02-181-1/+1
|
* nep1: triple quote literals should start with newline (#17065)Timothee Cour2021-02-181-0/+21
|
* Fixing unexistant word in PT (#17070)KioriSun2021-02-171-1/+1
| | | | In line 289 it said PT =minino for cat. Cat in Portugues is Gato, like in spanish. minino sounds like a foreigner trying to pronounce menino, which means boy, not cat. For variation's sake, my suggestion is to use the italian(IT) version Gatto, since it keeps in line with being close to ES, alternatively the german(DE) version Katze could be used instead.
* document `since` (#17048)Timothee Cour2021-02-161-1/+1
| | | | * document `since` * address comment
* RST: implement footnotes and citations (#16960)Andrey Makarov2021-02-151-0/+13
| | | | | | | | | * RST: implement footnotes and citations * manual fixup of nimdoc.out.css * remove unused code * shorter printing code * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* rst: single backticks now render correctly in both rst2html and github (#17028)Timothee Cour2021-02-132-60/+64
| | | | | | * rst: `` => ` * support default-role in rst2html * update docstyle regarding single vs double backticks
* add system random to stdlib: std/sysrand (#16459)flywind2021-02-111-0/+3
|
* nep1: prefer `a..b` to `a .. b` except if `b` has an operator (eg: `a .. ↵Timothee Cour2021-02-101-0/+3
| | | | | | | | | -1`) (#16992) * nep1: prefer `a..b` to `a .. b` except if b has an operator * address comments * address comment
* fix ./koch pdf command (#16989)Andrey Makarov2021-02-091-0/+7
|
* 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
|