| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
(persistent issues since 0.20.2) (#22141)
fixes :idx: index
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix #20023 hash for generic tables
* use default computation
* Update lib/pure/collections/tables.nim
Co-authored-by: Dan Rose <dan@digilabs.io>
* Update lib/pure/collections/tables.nim
Co-authored-by: Dan Rose <dan@digilabs.io>
* Update lib/pure/collections/tables.nim
* Update lib/pure/collections/tables.nim
* Update t20023.nim
---------
Co-authored-by: Dan Rose <dan@digilabs.io>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a rebase of an earlier rejected PR. Following the discussion
around it, this commit provides a valid output for and edge case
of an empty separator for `split` and `rsplit` routines. The empty
separator is interpreted as "split by no separators" and the initial
string is returned. This is consistent with the behaviour of the
`set[char]` version of `split`/`rsplit` routines and unifies them all.
Compared to a commit merged earlier, this one has a benefit of
not using assertions that will be removed in release builds
and thus still not preventing possible infinite loops (which was the
earlier behaviour for this edge case for separator of type `string`).
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
|
| |
var T)` (#22130)
* make destructors accept non var parameters
* define nimAllowNonVarDestructor
* add a test case and a changelog
* update documentation and error messages
* deprecate destructors taking 'var T'
|
|
|
|
|
|
|
| |
* Add Overflow checks & test adjust
* Avoiding nimvm differences in tests
* distinguish DivByZeroDefect
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Adding divmod
* Adding support to VM
* Wrapped C structs and funcs
* Fix javascript impl
* Fixing struct compat
* Segregate tests, better compiletime defs
* Using `inline` and switch back to `func`
* Apply suggestions from code review
* Explicit structures
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
| |
* added new experimental API isUniqueRef
* typo
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* use TimeInterval instead of Duration for calculating ISO week date
hopefully actually fixes (space) #22059
* forward declare
* explicit effects
|
|
|
| |
fixes #22059
|
|
|
|
|
|
|
| |
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`.
|
|
|
|
|
|
|
|
|
| |
* Add `BackwardsIndex` support for `CacheSeq`
* Add changelog entry
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
| |
* Remove Deprecated Nimfix
* Trailing whitespace cleanups
|
|
|
|
|
|
|
| |
* add const RLIMIT_STACK
* generate by detect.nim
* add generated const for linux-amd64
|
|
|
|
|
|
| |
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
* fixes tests
* fixes spawn finally
* fixes views
* rename to internalMove
* add a test case
|
| |
|
|
|
|
|
| |
* Implemented with-nesting in underscoredCalls()
* Add tests for nested with
|
| |
|
|
|
|
|
| |
* small fixes for atomicArc
* Update lib/system/arc.nim
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* post expr blocks colon fix + correct grammar
fixes #21982
* fix dochelpers
* this is remarkably common
* use head for unchained
* fix atlas
* final grammar fix
|
|
|
|
|
|
| |
* fixes tests again
* remove helper functions
* fixes closures, owned refs
* final cleanup
|
|
|
|
| |
(#21978)
|
|
|
|
|
|
|
|
|
| |
* handle out of range value for `COLUMNS` / `LINES`
Querying terminal size may fail with a `ValueError` if size is too big.
Return highest possible value instead. Note that `ValueError` is also
reported on underflow (negative size) but that is out of POSIX specs.
* `parseSaturatedNatural`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* implements: [C++] constructor pragma improvement (fix #21921)
t
* fix test so it doesnt use echo in globals
* Update compiler/ccgtypes.nim
* Update lib/std/private/dragonbox.nim
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
| |
* test `proc` not converting to `pointer`
* ignore define for now to test
* remove cstring
* fixes, changelog
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(#21954)
fixes fieldDefect loses enum type info in ORC
|
| |
|
|
|
| |
* Add __force_inline support
|
|
|
|
|
|
|
| |
* .
* Clean out nimbase.h
* Clean out nimbase.h
|
|
|
|
|
| |
Add some to-cstring converters for DateTime
Changelog update
|
|
|
|
|
|
|
|
|
| |
* Add test case for a const being used inside an async proc
* Use `typeof` to get the type of the block instead of overloaded templates
This removes the problem with the symbol having different types
I am unsure why I didn't use this in the first place. IIRC I had problems with `typeof` when I first tried to use it in the original implementation
|
|
|
|
|
| |
* .
* Remove GC v2
|
|
|
|
|
| |
* .
* Improve times
|
|
|
|
|
|
|
|
|
|
|
| |
* js -r defines nodejs & program result undefined if unavailable
fixes #16985, fixes #16074
* fix
* add changelog too
* minor word change
|
|
|
| |
fix #21251
|
|
|
|
|
| |
* parsing capability for iso week year
* remove outdated test
|
| |
|
|
|
| |
tasks.nim: Code cleanups and support expressions that produce a value
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* isolation spec update; WIP
* wip
* docs update, WIP
* progress
* Update doc/manual.md
|
|
|
|
|
|
|
| |
(#21831)
* improve `wasMoved` hooks
* Because `wasMoved` is lifted
|
|
|
|
|
|
|
|
|
|
|
| |
* add getDataDir to std/appdirs.nim
* reuse `osappdirs.getDataDir`
* Update lib/std/appdirs.nim
---------
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|