summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Deprecate unroll pragma, remove from documentation (#14705)Juan Carlos2020-06-191-19/+0
|
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-171-1/+1
| | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
* Documentation update nims.rst (#14683)Juan Carlos2020-06-171-0/+13
| | | | | * Update nims.rst to add modules that work on NimScript as mentioned in the changelog.md * https://github.com/nim-lang/Nim/pull/14683#issuecomment-644976921
* Change 'Future Directions' to link memory management documentation (#14664)Juan Carlos2020-06-151-2/+2
|
* add arc and orc to gc list (#14653)Andy Davidoff2020-06-141-1/+1
|
* Clarify imported exceptions note in manualDominik Picheta2020-06-131-1/+1
|
* Documentation update a description (#14619)Juan Carlos2020-06-091-3/+2
| | | | | | | | | * Documentation update a description in a page listing links * Update doc/docs.rst Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
* Documentation Fix Typo, Add Table (#14609)Juan Carlos2020-06-091-1/+13
|
* Fix(astspec.txt): type of repeated word (#14612)ynfle2020-06-081-1/+1
|
* walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + ↵Timothee Cour2020-06-011-0/+2
| | | | | | | | | | | various other fixes (#14501) * update doc CI filter to include the files mostly likely to require doc rebuild * remove code duplication in ./config/nimdoc.cfg; show link to compiler docs, various fixes * walkDirRecFilter, factor nativeToUnixPath workaround * glob for getRst2html * docslocal: 40s to build all docs * revert code dedup in github actions which did not work alas... * fixups
* manual: removed subjective phrase from 'macros' section (#14536)Ico Doornekamp2020-06-011-2/+1
| | | | | | Removed phrase "However, this is no real restriction because Nim's syntax is flexible enough anyway." from the manual - I find it very subjective, and I sometimes *do* find myself restricted by Nim's syntax when writing DSLs
* spec: be explicit that NRVO will evolve furtherAraq2020-05-301-0/+4
|