summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* add test to close #7209 (#22110)metagn2023-06-161-0/+13
| | | | | | | * add test to close #7209 was fixed by #22029 * fix echo => doAssert
* added new experimental API isUniqueRef (#21812)Andreas Rumpf2023-06-161-0/+12
| | | | | * added new experimental API isUniqueRef * typo
* bump NimVersion to 1.9.5 (#22112)Miran2023-06-161-1/+1
|
* add tests to close #7223, close #11733 (#22111)metagn2023-06-163-8/+53
| | | | | add test to close #7223, close #11733 closes #7223, closes #11733, were fixed by #22076
* fixes #22049; fixes #22054; implicit conversion keeps varness (#22097)ringabout2023-06-163-1/+42
| | | | | | | | | | | | | | | | | | | | | * fixes #22054; codegen for var tuples conv * rethink fixes * add test cases * templates only * fixes var tuples * keep varness no matter what * fixes typ.isNil * make it work for generics * restore isSubrange * add a test case as requested
* fixes #19607 (#21576)Andreas Rumpf2023-06-161-11/+17
|
* consider object types as declarative in templates (#22106)metagn2023-06-162-13/+48
| | | | | | | | | * consider object types as declarative in templates fixes #16005 * correct logic for nkRecList children, inject fields * don't actually inject fields
* fixes ilegal recursion (#22105)Juan M Gómez2023-06-163-1/+15
|
* Revert the .inline semantics change (#22104)Juan Carlos2023-06-152-22/+11
|
* adds another pass for sets fixes #6259 (#22099)Juan M Gómez2023-06-153-2/+8
| | | | | | | * adds another pass for sets fixes #6259 * Update tsets.nim removes extra `#`
* fixes explicit deref block (#22093)ringabout2023-06-152-3/+3
| | | fixes explicit deref
* Allows for arbitrary ordering of inheritance in type section #6259 (#22070)Juan M Gómez2023-06-155-8/+13
| | | | | | | | | | | | | * Allows for arbitrary ordering of inheritance in type section #6259 * prevents ilegal recursion * fixes ilegal recursion. Test passes with a better message * Apply suggestions from code review --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* use TimeInterval instead of Duration for calculating ISO week date (#22091)metagn2023-06-141-17/+30
| | | | | | | | | * use TimeInterval instead of Duration for calculating ISO week date hopefully actually fixes (space) #22059 * forward declare * explicit effects
* imrpove changelog (#22096)ringabout2023-06-141-1/+1
| | | Update changelog_2_0_0.md
* fix timezone in initDateTime for ISO week date (#22090)metagn2023-06-131-1/+1
| | | fixes #22059
* fix calls in generic bodies, delay typecheck when no overloads match (#22029)metagn2023-06-1311-68/+239
| | | | | | | | | | | | | | | | | | | | | | | * sacrifice "tgenericshardcases" for working statics * legacy switch for CI, maybe experimental later * convert to experimental * apparently untyped needs the experimental switch * try special case call semcheck * try fix * fix compilation * final cleanup, not experimental, make `when` work * remove last needed use of untyped * fix unused warning in test * remove untyped feature
* better docs; undocument sinkInference as it doesn't work (#22089)Andreas Rumpf2023-06-132-10/+8
|
* fixes #22065; do not search path for relative imports (#22073)ringabout2023-06-133-1/+13
| | | | | | | | | | | | | | | | | | | * fixes #22065; do not search path for "./" * simplify * fixes * fixes * allow ".." * cleanup * add a test case * slightly modify the import * adds a changelog
* strictly typecheck expressions in bracketed `emit` (#22074)metagn2023-06-134-1/+15
| | | | | * strictly typecheck expressions in bracketed `emit` * use nim check in test
* fixes #22058; invalid free with {.noSideEffect.} in template (#22088)ringabout2023-06-132-20/+35
|
* clean up nimfix leftover (#22087)ringabout2023-06-131-3/+0
|
* change it to the latest branch instead of head (#22086)ringabout2023-06-131-1/+1
| | | Who knows what's wrong with git
* fix atlas nightlies regresion; fixes the hash value (#22080)ringabout2023-06-121-3/+5
|
* fix dot calls with resolved symbols in templates (#22076)metagn2023-06-126-25/+57
| | | | | | | | | | | | | * fix dot calls with resolved symbols in templates * make old code work * fix custom number literals test * remove leftover debug marker * enable "bug 9" test too * fix renderer, add test for #7085
* make binary `not` not parse complex expressions on right side (#22078)metagn2023-06-123-7/+25
| | | | | | | * binary `not` only parses simple expressions fixes #16324 * switch to primary
* more test cases for generic object impl AST (#22077)metagn2023-06-112-21/+49
| | | closes #9899, closes #14708, refs #21017
* make borrow `.` work with aliases if not overriden (#22072)metagn2023-06-112-4/+18
|
* build atlas documentation (#22071)ringabout2023-06-111-1/+7
|
* Atlas: now in its own repository (#22066)Andreas Rumpf2023-06-1033-3010/+15
| | | | | * Atlas: now in its own repository * progress
* avoid `AnyEnumConv` warning in `genEnumCaseStmt` (#22061)Etan Kissling2023-06-101-10/+11
| | | | | | | When parsing enums from strings using `genEnumCaseStmt`, `AnyEnumConv` warnings are generated due to conversion from integer value. It seems possible meanwhile to refer to the actual `enum` value by symbol instead of being required to do the conversion from `ord`, even when the `enum` is defined in a `block`.
* `BackwardsIndex` overload for `CacheSeq.[]` (#22043)Jake Leahy2023-06-102-0/+14
| | | | | | | | | * Add `BackwardsIndex` support for `CacheSeq` * Add changelog entry --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Remove Deprecated Nimfix (#22062)Juan Carlos2023-06-1017-288/+25
| | | | * Remove Deprecated Nimfix * Trailing whitespace cleanups
* atlas: SAT based package solver, WIP (#22027)Andreas Rumpf2023-06-096-101/+857
| | | | | | | | | | | | | * atlas: SAT based package solver, WIP * progress * make tests green * progress * SAT: now works; enabled unit tests in versions.nim * Atlas: SAT: completed
* add const RLIMIT_STACK (#21772)Qinsi (James) ZHU2023-06-094-0/+27
| | | | | | | * add const RLIMIT_STACK * generate by detect.nim * add generated const for linux-amd64
* Update browsers.nim, fix openDefaultBrowser()'s bug (#22052)litlighilit2023-06-091-5/+10
| | | | | | modified to fix blank page fault. see openDefaultBrowser() The previous implement use "http:about:blank" which will be processed by "prepare" and be considered as a file path, turning to "file://...", which is no doubt beyond expectation. To fix it,firstly the "about:blank" is used instead. Next, a new "openDefaultBrowserImplPrep" proc is added, take place of the previous version of "openDefaultBrowserImpl"
* make `move` use `=wasMoved` internally (#22032)ringabout2023-06-095-11/+50
| | | | | | | | | | | | | * make `move` use `=wasMoved` internally * fixes tests * fixes spawn finally * fixes views * rename to internalMove * add a test case
* clean up isNilConversion for seqs, strings (#22057)ringabout2023-06-091-7/+1
|
* Add nested `with` to changelog (#22053)awr12023-06-091-0/+1
| | | Add nested with to changelog
* fixes stale bot (#22056)ringabout2023-06-091-0/+1
|
* fixes typos in the constructor docs (#22035)Juan M Gómez2023-06-091-3/+3
| | | | | | | | | | | * fixes typos in the constructor docs * updates constructor docs * Update doc/manual_experimental.md --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Remove debug echo from with (#22047)Antonis Geralis2023-06-081-1/+0
|
* Fix: don't track Defect in proc effect compatibility (#22037)Tanguy2023-06-082-1/+19
|
* allow addressing elements of openArray[char] in VM (#22045)ringabout2023-06-082-0/+16
| | | allow addressing elements of openArray[char]
* Fix indentation in destructors.md (#22048)Antonis Geralis2023-06-081-1/+1
|
* fixes {.global.} ref typedesc regressions (#22046)ringabout2023-06-082-5/+8
|
* Nested `with` blocks (#22042)awr12023-06-083-6/+40
| | | | | * Implemented with-nesting in underscoredCalls() * Add tests for nested with
* fixes overriden typo (#22044)ringabout2023-06-0810-34/+34
|
* fixes #19086: Document exception and defect hierarchy (#22030)Raynei2023-06-081-0/+32
| | | | | * Documented exception and defect hierarchy (#19086) * Fixed style
* Improve compiler messages (#22040)Juan Carlos2023-06-081-1/+1
| | | * Improve compiler messages
* adds `rkInt` to the `opcCastPtrToInt` op (#22039)Juan M Gómez2023-06-081-0/+2
| | | adds rkInt to the opcCastPtrToInt op