| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* enable --tlsEmulation:on for --gc:arc
* make -d:useMalloc work with --gc:arc --threads:on
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update Documentation about GC, add ARC based on code observations and https://forum.nim-lang.org/t/5734#35562
* Rephrase 'Garbage Collector' on documentation, see #13331
* Peer Review Feedbacks
* When the body of a documentation section is all for garbage collector details then add 'for garbage collectors' to the title to identify they may not apply for ARC
* Change 'GC' for 'garbage collector'.
* Move 'Memory Management Strategies' at the top, without changes
* Move the info for RefC GC from 'Introduction' to 'RefC' section without changes, make 'Introduction' about Nims 'Multi-paradigm Memory Management Strategies'.
|
| |
|
|
|
|
|
| |
* scope based destructors
* handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim
* make this branch mergable, logic is disabled for now
|
| |
|
|
|
|
| |
(#10965)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
(#13677)
* rewritten goto based exception handling; much cleaner implementation; fixes #13668
|
|
|
|
| |
that can result from macros
|
|
|
|
|
| |
* fixes #13659
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
|
|
|
| |
* docgen: minor refactoring via docOutDir
* fix css for `nim doc subdir/foo` without --outdir nor -o
* tcompilesetting.nim: keep `git status` clean
* re-enable pkg nimgame2 that got fixed upstream
|
| |
|
| |
|
|
|
|
|
|
| |
Since we got Azure Pipelines running, this will be a fallback pipeline.
Activate by removing the `.disabled` suffix
|
|
|
|
|
|
| |
Nim-generated files used in tests all end in LF, so we tell git to not
touch them. Should allow a Windows user to clone and run tests without
having to tweak their git settings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .github/workflows: new CI pipeline
As Azure Pipelines went offline, this will be our (temporary?)
replacement. This pipeline covers everything that Azure Pipelines does.
* workflows/ci: disable pipeline
* workflows/ci: properly disable the pipeline
* gitattributes: .txt used in tests should be LF-terminated
This avoids test failures when the compiler was cloned on an OS where
git attempts to convert LF->CRLF.
We target only .txt in tests/ as the minimum required to keep tests
running correctly.
* workflows/ci: re-enable for testing
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* fix .deprecated. object typedef crash
* fixup a test that i don't understand
* disable the test rather than debug ci
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* fixes #12747
* fix tests
* improve code style
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
| |
|
|
|
|
|
|
|
|
| |
* Fix nim-gdb and rename to nim-gdb.bash
* Add symlink to nim-gdb.bash
* Fix windows debug script
* Add PR suggestions
* Make readlink check easier to maintain/understand
* Swap symlinks
|
|
|
| |
See https://status.dev.azure.com/_event/179641421
|
|
|
|
|
|
|
|
| |
other fixes (#13550)
* fix #13218: avoid some irrelevant warnings for nim doc,rst2html
* suppress warnRedefinitionOfLabel for nim doc
* lots of fixes for UnusedImport warnings
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* allow defects to be caught even for --exceptions:goto (WIP)
* implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180
* new implementation for integer overflow checking
* produce a warning if a user-defined exception type inherits from Exception directly
* applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic'
* fixes #13627
* don't inherit from Exception directly
|
|
|
|
|
|
|
|
|
|
|
| |
* rename 'lenTuple' to 'tupleLen'
Rationale:
`lenTuple` is a tuple consisting of lengths (e.g. `(1, 5, 0)`),
`tupleLen` is a length of a tuple (e.g. `tupleLen((1, 5, 0) == 3`)
* rename 'lenVarargs' to 'varargsLen'
The same rationale as a previous commit. Consistency.
|
|
|
|
| |
to overwrite the nimcache location (#13637)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(#13629)
* unicode.split: Fix the splitting when a Rune separator is used [backport]
- Fixes https://github.com/nim-lang/Nim/issues/13628
- Ref https://irclogs.nim-lang.org/11-03-2020.html#20:01:34
* unicode.split: Remove the sepLen based logic.. resulted in wrong jumps
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add more JS stuff to dom.nim
* Make all links to docs doc comments.
* Fix minor textContent * space.
* Remove Selection object.
* More work on docs.
* Fixing links.
* Made the links be "see <docs>".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make listCmd honor hint:cc:off
* Tiny cleanup
* Tiny tiny cleanup
* VERY IMPORTANT: --hint:cc:on will overwrite --verbosity:0 :p
* Tiny cleanup
* Stupid
* Move displayProgressCC to where its required
* Tiny cleanup
|
|
|
|
| |
* fix #13310, Deque misbehaves on VM
* use 'when nimVM'
|
|
|
|
| |
breaking change: do not use `now` to compute result, was undocumented and non-sensical (#13565)
|
| |
|