| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add `minmax` to sequtils
This adds a `minmax` proc to complement `min` and `max`; it computes
both results in a single pass for efficiency.
* Update lib/pure/collections/sequtils.nim
* Add minmax note to changelog.
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
| |
* cursor fields cannot form a reference cycle
* fixes typo
* fixes position
|
|
|
|
|
|
|
|
|
|
|
| |
* adds documentation for `=wasMoved` and `=dup` hooks and small fixes
* Update doc/destructors.md
* Update doc/destructors.md
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bring #21802 back; fixes #21753 [backport]
* adds tests and multiple fixes
* add test cases
* refactor and remove startId
* fixes custom hooks and adds tests
* handle tyUncheckedArray better
|
|
|
|
|
| |
* clean up SOME pending/xxx/issue link comments
* great
|
|
|
|
|
| |
* ORC: make rootsThreshold thread local [backport]
* fixes the regression
|
|
|
|
|
|
|
|
|
| |
* fix #9423 distinct generics now work in vm
* fixes cpp tests
---------
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
|
|
| |
test reenable badssl
|
|
|
|
|
| |
* fixes #21801; object field initialization with overloaded functions
* use the correct type
|
|
|
|
|
|
|
|
|
| |
* Revert "ORC: make rootsThreshold thread local [backport] (#21799)"
This reverts commit b74d49c037734079765770426d0f5c79dee6cf87.
* Revert "fixes #21752 [backport] (#21802)"
This reverts commit d0c62fa169f3970653ce0d5bbd16e123efb24251.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes #21280; Enum with int64.high() value crashes compiler
* Update tests/enum/tenum.nim
* Update tests/enum/tenum.nim
* fixes tests
* Update tests/enum/tenum.nim
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* import `=dup` hook eliminating `wasMoved` and `=copy` pairs
* add dup
* add a test for dup
* fixes documentation
* fixes signature
* resolve comments
* fixes tests
* fixes tests
* clean up
|
|
|
|
|
|
|
|
|
|
|
| |
refs #19822
Fixes these bugs:
* Style check violations in generics defined in foreign packages are raised.
* Builtin pragma usage style check violations in foreign packages are raised.
* User pragma definition style check violations are not raised.
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes #21704; remove `nfIsRef` for genLit
* remove nfIsRef from the output of macros
* make the logic better
* try again
* act together
* excl nfIsRef
|
| |
|
|
|
|
|
|
|
| |
* enable checks for sum, prod, cumsummed and cumsum
* fixes #21792
* add test cases
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* always force open generic dot field symbols?
fixes #21724 but might break code
* alternative, should fix CI
* other alternative, add test for previous CI failure
* not needed
* make sure call doesn't compile too
* ok actual second test
* ok final actual correct test
* apply performance idea
* don't make fromDotExpr static
|
|
|
| |
closes #20978
|
| |
|
|
|
|
|
| |
* line info in strformat
* also fix #20381
|
|
|
|
|
|
|
| |
* cheap fix for #10853
* also better tuple subscript error message
* weird
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* move sha1, md5 to nimble packages
* boot the compiler
* fixes tests
* build the documentation
* fixes docs
* lol, I forgot koch.nim
* add `nimHasChecksums` define
* clone checksums but maybe copying is better
* bump nimble hash
* use ChecksumsStableCommit
* fixes tests
* deprecate them
* fixes paths
* fixes koch
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(#21667)
* refactoring in preparation for better, simpler name mangling that works with IC flawlessly
* use new disamb field
* see if this makes tests green
* make tests green again
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix iterator equality + add test also for procs
fixes #21706
* all targets
* and isNil and repr
* separate overloads, fix sameType
* more restricted sameType?
* merge overloads again??
* remove sametype change for now
* fix sameType anyway (CI failure was not related)
---------
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* temporarily disable badssl tests
refs #21709
* fix
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* alias syntax fixes, improvements and tests
* even better, cannot use alias syntax with generics
* more type tests, improve comment
* fix again
* consistent error message + make t5167_5 work
* more comments, remove {.noalias.}
|
|
|
|
| |
(#21628)
|
|
|
|
|
|
|
|
|
|
|
| |
* stdlib tests now check refc too
* typo
* fixes line numbers
* disable cpp
* do not touch
|
|
|
|
|
|
|
| |
(#21700)
* tweak spellsuggest; three counts for equal distances candidates
* only suggest typos when length > 3
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
properly (#21688)
* fixes #21540; deref block at transf phase to make injectdestructors function properly
* add a test case
* add one more test
* fixes the type of block
* transform block
|
| |
|
|
|
|
|
|
|
| |
* import brackets support `as` and prefixes
fixes #21635
* copyTree -> copyNode
|
|
|
|
|
|
|
| |
* actually fix #19015
* more tests
* round out
|
|
|
|
|
|
|
|
|
| |
* revert #21227 but keep test
* add test for #21677
* don't export
* delete test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#21659)
* test implicitly huge set types
refs https://github.com/nim-lang/RFCs/issues/298
* oh my god
* boot at least
* don't error, fix remaining issues, no 2 len arrays
* fix runnable example
* test assuming 0..255 for int literal
* test refactor, add changelog, test
|
|
|
|
|
|
|
|
|
| |
parameter (#21684)
* fixes #21674; `lent` can be used in the fields or the cast type as a parameter
* add a test case
* fix the test
|
|
|
| |
fixes #20155; repr range with distinct types is broken with ORC
|
|
|
|
|
|
|
| |
pthreads with mingw (#21668)
* fixes #18146; disable tlsEmulation on windows; static link libwinthreads DLL
* whatever
|
|
|
| |
closes https://github.com/nim-lang/RFCs/issues/499
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#21653)
* test not restricting custom pragma applied symbols
fixes #21652
* fix other test
* different patch
* fix tests
* actually test #18212 and other routines
|
|
|
|
|
|
|
| |
fails to build (#21649)
* fixes #20900; Calling template through from generic function across module fails to build
* sanother way
|
|
|
|
|
|
|
| |
* set module symbol type to None instead of nil
fixes #19225
* alright
|
|
|
| |
fixes #21632; enforce deref for `wasMoved`
|
|
|
|
|
|
|
|
|
|
|
| |
* int64/uint64 as bigint in JS
* fix CI
* convert to compile option
* fix lie
* smaller diff, changelog entry
|
|
|
| |
`semProcAux` has a check for `checkMinSonsLen(n, bodyPos + 1)`
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
document typeclass AST (#21629)
* test fix #16546 #16548 + another issue
* please don't tell me other packages do this
* fix CI + test typeclass callconv pragma
* better logic in parser
* docs and changelog
|