| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* added switch
* alloc.nim needs page aligned memory blocks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [skip ci] thamming_orc test created/destroyed counts match
The thamming_orc.nim code now counts all created objects being tested, not just the ones following the "first 20" test, and the position of the `destroyed += 1` counter has been adjusted so it counts all the calls that are as a result of `=trace` tracing and not just the original destruction calls.
* Improve description of how `=trace` is used
The following nuances weren't previously fully explained:
1. That `=trace` is only used by `--gc:orc`.
2. That `=trace` is almost certainly used along with `=destroy` when manual resource allocation has been used, but it is only required if there is a possibility of cyclic references in the wrapped types (ie. generic types).
3. That, currently, a forward definition is required for the second of the pair to avoid an auto compiler generation conflict.
The pattern of the use of `=trace` has also been made more extensive, showing how both a custom `=destroy` and `=trace` are used for manual allocation of resources when there is any possibility of a cyclic reference in the resource-wrapped values.
* Update doc/destructors.rst
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
|
|
| |
* ORC: support custom =trace procs (WIP)
* Update tests/arc/tcustomtrace.nim
Co-authored-by: Clyybber <darkmine956@gmail.com>
* =trace is now documented and seems to work
* make test green
Co-authored-by: Clyybber <darkmine956@gmail.com>
|
|
|
|
|
|
| |
* ORC refactoring in preparation for further changes (=dispose must die)
* ORC: embrace =destroy, avoid =dispose
* ORC: no need for =dispose
* closes #18421
|
| |
|
|
|
|
|
| |
* Implements reverse capture indexing.
* Now works for modified backrefs too.
* Changed reverse indexing syntax prefix for back-references to '$^'.
|
|
|
| |
Minor cleanup
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* select all hints via `--hint:all:on|off`, etc
* simplify code with setutils
* address comment
|
|
|
|
|
| |
* move {.injectStmt.} to experimental; add a test
* undocument and deprecat `.injectStmt` but keep its implementation until we have a replacement
|
|
|
|
|
| |
* Make the existence of high(type) clearer, especially around subranges
* Use a better example and dry up the wording
|
|
|
|
|
|
|
|
|
|
|
| |
info to successx, add gc to compilesettings (#18252)
* merge BuildMode into SuccessX, add more info
* refactor duplicated with drnim
* fixup
* address comment
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* view types: spec changes
* Update doc/manual_experimental.rst
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update doc/manual_experimental.rst
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
|
|
|
|
|
| |
(#18221)
`-d:release` and `-d:danger` started working in `config.nims` after https://github.com/nim-lang/Nim/commit/df429fa28772e077faa30dd6e3a701abf48c7669 .
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* update docgen documentation
* --fullhelp
* Update doc/docgen.rst
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* [skip ci] fix typos
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* close #18092 [skip ci] document elif in case statements
* fixup
* clarify spec; mention special rule for string in case statements
* address comments
|
|
|
| |
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
|
|
|
|
| |
(#18085)
|
|
|
| |
fixes https://github.com/timotheecour/Nim/issues/739
|
|
|
|
|
| |
* follow-up #17930 - inline syntax highlighting
* make closure->nimcall
|
| |
|
|
|
|
|
| |
#17998
Co-authored-by: g.maksutenko <g.maksutenko@indevstudio.com>
|
| |
|
|
|
|
|
| |
* tiny cleanup
* I'm not British
|
|
|
|
|
| |
* follow-up #17837: add `Console` for interactive sessions
* fix Latex
|
|
|
|
|
|
|
| |
* small improvements for tut1.rst
* remove unneeded paragraph
* Update doc/tut1.rst
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implement https://forum.nim-lang.org/t/7848#50018 with just the same
`SuccessX` hint category, build mode on a separate, final line, and
no change to how the mode is spelled for -d:release/-d:danger.
* Change to add a new BuildMode hint category and keep testament in sync
as per comment.
* Add "--hint:buildmode:off" to `defaultHintsOff`.
* Remove as requested.
* As requested for tests clean up.
* Address code review.
* Address code review.
* Mirror db456423116a9b19666f551f4d38aded3964c2e2
|
|
|
|
|
|
|
| |
* move travis, appveyor, ci.yml.disabled to unmaintained
* update some mentions of travis, appevyor
* fix test
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
(replaces `--listfullpaths:on|off`) (#17746)
* use canonicalImport for filename_magicSauce
* --filenames:abs|canonical|magic
* rename: magic => legacyRelProj
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
actions pipelines (#17561)
* support skip ci in azure pipelines
* [skip ci] example of a commit that skips CI
* example of a commit that does not skip CI
* fix github actions logic for ci skip handling
* [skip ci] example of a commit that skips CI for all pipelines
* example of a commit that does not skip CI for any pipeline
|
|
|
|
|
|
|
|
|
| |
* IC: first steps towards 'nim check --def --ic:on'
* IC navigator: deduplicate output lines
* IC navigator: progress
* IC navigator: use a different nimcache entry
* IC navigator: special logic for templates/macros
* IC navigator: proper error messages
* IC navigator: prepare for testing code; document only what currently works somewhat
|
|
|
|
|
|
|
|
| |
* fix failing test toSeq in manual which now works
* changelog
* reject proc fn(a: iterable)
* add iterable to spec
* remove MCS/UFCS limitation that now works
|
|
|
|
|
|
|
|
|
| |
* turn on syntax highlighting in Manual & Tutorial
* avoid highlighting of "method"
* use relative path
* 2 more changes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* WIP: restyle RST option lists
* apply similar style to Latex
* fix tests
* minor visual tweaks
* update tests
* remove leftover comments
|
|
|
|
| |
* nep1: guidelines for getters and setters
* address a comment
|
| |
|
| |
|
|
|
| |
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
| |
* further progress on rst roles & dir-s (fix #17646)
* fix documents according to the messages
* fix bug 17 from #17340
|