summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* TyposClyybber2020-10-311-1/+1
|
* improve public Testament docs (#15710)n5m2020-10-311-27/+80
| | | | | | | | | | | | | | | * improve glob docs * punctuation * move spec descriptions above example notably, change the description of timeout to reference seconds, not microseconds * document nimout * document sortoutput * explain the action options
* Massive documentation fixes + copy editing (#15747)Yanis Zafirópulos2020-10-2916-411/+401
|
* Spelling and Grammer fixes (#15719)Tim Smith2020-10-281-2/+6
| | | | Co-authored-by: Tim Smith <tim.smith.hdg@gmail.com> Co-authored-by: Miran <narimiran@disroot.org>
* Document implicit return values from procedures (#15738)Xavier Noria2020-10-271-0/+10
|
* Copy editing (#15733)Yanis Zafirópulos2020-10-262-34/+34
| | | | | | | | | * Minor fixes * Minor fixes * Minor fixes * Minor fixes
* [backport: 1.4] Better linebreaks (#15658)Miran2020-10-221-1/+0
|
* Fix #13609 (#15567)Gampol T2020-10-211-0/+11
| | | | | | | | | | | | | * add documentation that discardable pragma cannot use on template * Update doc/manual.rst Co-authored-by: Euan <euantorano@users.noreply.github.com> * Update doc/manual.rst Co-authored-by: Euan <euantorano@users.noreply.github.com> Co-authored-by: Euan <euantorano@users.noreply.github.com>
* --declaredlocs => --declaredLocs (#15672)Timothee Cour2020-10-211-1/+1
|
* add --declaredlocs (#15666)Timothee Cour2020-10-211-0/+1
|
* make patchFile more discoverable (#15659)Timothee Cour2020-10-201-0/+1
|
* gc.rst: updated the docs to reflect realityAraq2020-10-201-2/+1
|
* Remove bit about opening files not raising (#15654)Tomáš Hübelbauer2020-10-201-4/+2
| | | | | Resolved #473 I am removing this bit because this advice to not throw on recoverable-from cases like a file failing to open is actually not respected by Nim standard library. `readFile` and `readLines` both throw and exceptions must be used as a method of control flow for the recovery from that. There are alternatives, like opening a file handle instead of using these helpers, but that's less convenient than these helper methods for cases where you really want to just slurp up a file to memory and use a fallback value if it doesn't exist or is for whatever reason not readable.
* more "eg" fixesnarimiran2020-10-208-8/+8
|
* it is not "eg", it is "e.g."narimiran2020-10-201-5/+5
|
* fix #15631 (#15632)n5m2020-10-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trigger valgrind failure on memory leak * remove non-malloc tests * remove ORC test is redundant because we already have an ARC test * only run valgrind tests on 64-bit Linux * disable freebsd and openbsd * Remove tleak_refc As to not test implementation details (or bug) * Fix test failures by removing redundant test Since this tests/shoulfail/tvalgrind.nim was specified here to fail this test itself fails since it will be skipped on non-linux CI * Remove test, reason detailed in the previous commit * Remove redundant disables * Revert removing disables * Add and use valgrind: leaks * Fix Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: n5m
* contributing docs: add instructions for economically restarting failed CI ↵Timothee Cour2020-10-191-1/+20
| | | | | | | jobs, debugging failed CI (#15576) * contributing docs: add instructions for economically restarting failed CI jobs, debugging failed CI * fixup
* add a section on naming new stdlib module names (#15590)Timothee Cour2020-10-191-0/+14
|
* document that Nim executable must be included (#15611)n5m2020-10-171-1/+1
|
* fix option formatting (#15591)n5m2020-10-151-1/+1
|
* renamed '=' to '=copy' [backport:1.2] (#15585)Andreas Rumpf2020-10-151-11/+11
| | | | | | | | | * Assign hook name changed to `=copy` * Adapt destructors.rst * [nobackport] Duplicate tests for =copy hook * Fix tests * added a changelog entry Co-authored-by: Clyybber <darkmine956@gmail.com>
* implements https://github.com/nim-lang/RFCs/issues/260 (#15505)Andreas Rumpf2020-10-071-0/+8
| | | | | * implements https://github.com/nim-lang/RFCs/issues/260 * added a test case
* implements https://github.com/nim-lang/RFCs/issues/258 (#15503)Andreas Rumpf2020-10-062-15/+15
| | | | | | | | | * implements https://github.com/nim-lang/RFCs/issues/258 * don't be too strict with custom pragma blocks * cast pragmas: documentation * added most missing inference query procs to effecttraits.nim
* added testament documentation link to tools.rst (#15481)David Krause2020-10-051-1/+1
|
* group procs of the same name in TOC (#15487)Miran2020-10-051-4/+16
| | | | | | | | | | | * group procs of the same name in TOC * correctly show `sink` parameters in TOC * no need to reinvent the wheel - `mgetorPut` exists * better setting of text color [ci skip] * fix CSS for better alignment
* Fix typoClyybber2020-10-011-1/+1
|
* Fix "arraq" typo :)Clyybber2020-10-011-1/+1
|
* fix #15405. deepcopy arc (#15410)cooldome2020-10-011-0/+1
| | | | | | | * fix #15405 * fix tests * deepcopy for ARC has to be enabled via --deepcopy:on Co-authored-by: Araq <rumpf_a@web.de>
* views: yet another bugfix (#15447)Andreas Rumpf2020-10-011-0/+16
| | | | | | | * views: yet another bugfix * views: extended the spec * views: take into account potential hidden mutations via proc calls
* spec for view types (#15424)Andreas Rumpf2020-09-292-9/+189
| | | | | | | | | | | * spec for view types * spec additions * refactoring; there are two different kinds of views * refactorings and spec additions * enforce that view types are initialized * enforce borrowing from the first formal parameter * enforce lifetimes for borrowing of locals * typo in the manual * clarify in the implementation what a borrow operation really is
* .noalias annotation; frontend support (#15419)Andreas Rumpf2020-09-281-0/+15
| | | | | * .noalias annotation; frontend support * added .noalias support to Nim; implements https://github.com/nim-lang/RFCs/issues/204
* Fix proc generic params ident defs, missing empty (#15412)hlaaftana2020-09-271-1/+3
|
* fix #11537, correct parse inline code without surrounding spaces (#15399)Miran2020-09-251-1/+1
|
* fix the indentation in `--help` and `--fullhelp` (#15387)Miran2020-09-232-7/+7
| | | | | * fix the indentation in `--help` and `--fullhelp` * a better way to fix it
* add `enumerate` macro (#15297)Miran2020-09-221-5/+6
| | | | | | | * add `enumerate` macro * address the comments * put `enumerate` in its own module
* Documentation prelude (#15377)Juan Carlos2020-09-211-0/+29
|
* close #6071, remove the mentions of deprecated `docSeeSrcUrl` (#15350)Miran2020-09-171-5/+2
|
* Add documentation for Testament (#15344)Juan Carlos2020-09-161-0/+187
|
* Methods docs improvement (#15338)flywind2020-09-161-5/+31
| | | | | * docs improvement * minor
* Remove Deprecated {.this:self.} from Documentation so people dont use it ↵Juan Carlos2020-09-151-36/+0
| | | | anymore (#15328)
* [ci skip] fix typo in the manualnarimiran2020-09-091-2/+2
|
* borrow checking (#15282)Andreas Rumpf2020-09-091-0/+52
| | | | | | | | | | | * refactoring: move procs to typeallowed.nim * frontend preparations for first class openArray support * prepare the code generator for first class openArray * code generation for first class openArray; WIP * code generation for open arrays, progress * added isViewType proc * preparations for borrow checking * added borrow checking to the front end
* "for-loop macros" are no longer an experimental feature (#15288)Miran2020-09-082-46/+42
|
* Fix #5691 (#15158)Clyybber2020-08-271-18/+7
| | | | | | | | * Fix #5691 * Cleanup and thoughts * Use scope approach * Seperate defined/declared/declaredInScope magics * Fix declaredInScope * Update spec accordingly
* doc/nimdoc.css: align field names to the right (#15217)alaviss2020-08-231-0/+1
|
* Added array type definition to manual (#15173)Ico Doornekamp2020-08-101-0/+3
| | | Co-authored-by: Ico Doornekamp <git@zevv.nl>
* disable sink inference, only enable it for the stdlib. Reason: better source ↵Andreas Rumpf2020-07-281-4/+8
| | | | code compatibility (#15105)
* cleanup ARC documentation (#15100)Andreas Rumpf2020-07-282-44/+0
|
* strict func: much better error messages (#15068)Andreas Rumpf2020-07-251-0/+38
| | | | | * strict func: much better error messages * documented the 'strict funcs' mode
* Fix #2408 - add -d:globalSymbols (#14904)genotrance2020-07-211-0/+3
|