summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fix #13621, the nim-livereload is mentioned as proposal in #8927 (#14998)Bung2020-07-161-2/+1
|
* An optimizer for ARC (#14962)Andreas Rumpf2020-07-152-1/+29
| | | | | | | | | | | | | | | | | | | | * WIP: an optimizer for ARC * do not optimize away destructors in 'finally' if unstructured control flow is involved * optimized the optimizer * minor code cleanup * first steps to .cursor inference * cursor inference: big steps to a working solution * baby steps * better .cursor inference * new feature: expandArc for easy inspection of the AST after ARC transformations * added topt_cursor test * adapt tests * cleanups, make tests green * optimize common traversal patterns * moved test case * fixes .cursor inference so that npeg compiles once again * cursor inference: more bugfixes Co-authored-by: Clyybber <darkmine956@gmail.com>
* https://github.com/nim-lang/Nim/pull/14948#issuecomment-656498426 (#14958)Juan Carlos2020-07-111-1/+1
|
* Update docs and changelogClyybber2020-07-101-3/+4
|
* VM profiler (#14833)Ico Doornekamp2020-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * Crude VM profiler * Added --profileVM flag, refactoring * fixed FileLine hash * Use TLineInfo instead of own FileLine, updated formatting * Refactoring, moved PStackFrame to vmdefs for cleaner data structure * Moved vmprofiler to separate file * Simplified TLineInfo hash, use toFileLineCol for output * Hash * Moved profile data into Config, dump only once at end of run * Changed profile output header to show '#instr' instead of 'count' * Do not accumulate instrcount for non-top frames Co-authored-by: Ico Doornekamp <git@zevv.nl>
* Minor improvements to typecast section of manual (#14896)awr12020-07-071-7/+18
| | | | | | | * Minor improvements to typecast section of manual * Clarification to casting w/ concrete types * Added less ambiguous language
* scoped memory management (#14790)Andreas Rumpf2020-07-041-2/+2
| | | | | | | * fixes the regressions * closes #13936 * scope based memory management implemented * enabled tcontrolflow.nim test case * final cleanups
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-021-2/+2
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* Clean out oldast (#14837)Juan Carlos2020-06-301-1/+0
| | | | * Clean out old Deprecated CLI switch * Update to remove --oldast CLI option
* Fix some typos (#14843)Danil Yarantsev2020-06-2812-42/+42
|
* Fix typoClyybber2020-06-281-1/+1
|
* Fix nimdoc invalid css on theme switch class (#14834)Manuel Bojato2020-06-271-4/+5
|
* Warn about calling wrappers at compile time until #14049 is fixed. (#14828)Sizhe Zhao2020-06-271-1/+4
|
* Fix missing comma (#14829)Sizhe Zhao2020-06-271-1/+1
|
* update contributing.rst and docstyle.rst: refer to a bug via `bug #1234` + ↵Timothee Cour2020-06-262-24/+51
| | | | | | | other guidelines (#14796) * add a testing convention in nep1 * misc updates to contributing.rst and docstyle.rst * address comments
* Deprecated laxStrings for mutating the internal zero terminator on strings ↵Juan Carlos2020-06-231-2/+0
| | | | | and its Deprecated code cleaned out (#14766) Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Deprecate oldNewlines, clean out deprecated code from oldNewlines (#14763)Juan Carlos2020-06-231-1/+0
|
* Documentation GC (#14739)Juan Carlos2020-06-231-11/+11
|
* init checks and 'out' parameters (#14521)Andreas Rumpf2020-06-232-14/+24
| | | | | | | | | | | * I don't care about observable stores * enforce explicit initializations * cleaner code for the stdlib * stdlib: use explicit initializations * make tests green * algorithm.nim: set result explicitly * remove out parameters and bring the PR into a mergable state * updated the changelog
* nep1: use subjectVerb, not verbSuject (#14732)Timothee Cour2020-06-191-2/+6
|
* Clarify the use of the backwards index operator (^N) in tut1 (#14681)Kaushal Modi2020-06-191-12/+26
| | | | | | | | | | | * Clarify the use of the backwards index operator (^N) in tut1 For consistency: - Do `[a .. ^b]` (notice spaces on both sides of `..`) - Do `[c ..< d]` (notice spaces on both sides of `..<`) Fixes https://github.com/nim-lang/Nim/issues/14671. * tut1: Add a note that ^ template calls can be saved to consts