summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* document NVRO and exception handlingAraq2020-05-301-0/+65
|
* make it easier to figure out how to debug issues (#14477)Timothee Cour2020-05-281-1/+30
|
* Add thiscall calling convention, mostly for hooking purpose (#14466)Huy Doan2020-05-271-0/+4
| | | | * Add thiscall calling convention, mostly for hooking purpose * add changelog and documentation
* fix #6583, fix #14376, index+search now generated for all projects, many bug ↵Timothee Cour2020-05-251-2/+10
| | | | | | | | | fixes with nim doc (#14324) * refs #6583 fix nim doc output * changelog * change default for outDir when unspecified * cleanups * --project implies --index
* manual.rst: updates [backport] (#14445)Andreas Rumpf2020-05-251-23/+24
|
* Fix some typos in the manual [backport] (#14399)Danil Yarantsev2020-05-201-10/+10
|
* refs #14369 improve docs for importcpp exceptions (#14391)Timothee Cour2020-05-181-8/+30
| | | | | * refs #14369 improve docs for importcpp exceptions * address comments
* docs:getCurrentException() and getCurrentExceptionMsg() are not available ↵cooldome2020-05-181-1/+3
| | | | for imported exceptions (#14392)
* docs: fix syntax error in hotCodeReloading example (fixes #14380) (#14381)Frank Schmitt2020-05-171-1/+1
| | | Co-authored-by: Frank Schmitt <frankschmitt@gmx.de>
* docfix: fix wrong link in doc/manual.rst (#14367)Bung2020-05-161-1/+1
|
* Allow let to not have value when using importc (#14258)PMunch2020-05-121-0/+15
| | | | | | | | | | | | | | * Allow let to not have value when using importc This allows a let statement with the `{.importc.}` pragma to not be initialised with a value. This allows us to declare C constants as Nim lets without putting the value in the Nim code (which can lead to errors, and requires us to go looking for the value). Fixes #14253 * Proper fix and documentation + changelog entry * Improve testcase with one from timotheecour * Add test to verify it working with macros
* fixes #13881Andreas Rumpf2020-05-121-3/+44
| | | | | | * fixes #13881 * documented changed requirements for system.onThreadDestruction * destructors.rst: update the documentation
* Added a reference to ternary operators. (#14309)Avahe Kellenberger2020-05-121-0/+1
| | | | | `if expressions` are similar to ternary operators in other languages. In order to make this easier to find in the manual, I've added a sentence about it.
* do not track 'raise Defect' in the .raises: [] clause anymore (#14298)Andreas Rumpf2020-05-111-0/+22
| | | | | | | | | * do not track 'raise Defect' in the .raises: [] clause anymore * --panics:on maps 'raise Defect' to an unrecoverable fatal error * make tests green again * update the documentation too
* `nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, ↵Timothee Cour2020-05-112-4/+13
| | | | | | | | | | `--doccmd:skip` + other improvements (#14278) * `nim doc --backend:js|cpp...` `nim doc --doccmd:'-d:foo --threads:on'` `nim r --backend:cpp...` (implies --run --usenimcache) * --usenimcache works with all targets * --docCmd:skip now skips compiling snippets; 50X speedup for doc/manual.rst
* Fix typoClyybber2020-05-081-1/+1
|
* make `from` an operator (#14241)hlaaftana2020-05-082-17/+17
|
* added a new feature: --cc:env so that you can use any C compiler as long as ↵Andreas Rumpf2020-05-061-0/+4
| | | | it works like GCC
* Clarify JS cstring len (#14184)hlaaftana2020-05-051-1/+1
|
* exp. features now in correct manual, closes #11932 (#14195)hlaaftana2020-05-022-171/+184
|
* discardable async procs are now an error (#14176)hlaaftana2020-05-011-1/+2
| | | | * add discard warning in manual
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-284-21/+21
| | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here.