| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Add better error messages
* Add fmt on tuple msg
|
|
|
|
|
|
|
|
|
| |
* fix fwrite prototype
* Update lib/std/syncio.nim
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
|
|
|
|
|
| |
* fixes #19278; make `privateAccess` work with generic ref object
* fixes
|
|
|
|
|
| |
* fixes the typical (not a == b) bug; uses runnableExamples
* cannot add runnableExamples
|
|
|
|
|
|
|
|
|
|
|
| |
* Add test for tuple being invalid size
* Test tuple size before accessing fields
* Fix formatting for import
* Fix not being able to build from csources_v1
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
| |
* borrowed procs can have a body now
* fixes examples
|
|
|
|
|
|
|
| |
Fix double defer with break in closureiterators
Signed-off-by: Tanguy <tanguy@status.im>
Signed-off-by: Tanguy <tanguy@status.im>
|
|
|
|
|
|
|
|
|
|
|
| |
* Added tests
* Fix expected string
* Allow hooks to take an optional parameter that is the current options
* Add options to hooks for other generic types
* Fix doc links
|
| |
|
| |
|
| |
|
|
|
|
| |
(#20622)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* split std/os; add typesafe std/paths
* add more files, dirs, paths
* add documentation
* add testcase
* remove tryRemoveFile
* clean up
* Delete test.nim
* apply changes
* add `add` and fixes
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve `encodeMime` signature
* `string` to `openArray[char or byte]`
* `safe` parameter
* Fix
* Revert "Fix"
This reverts commit a394c505c2ab751621c24fd29b17e97c01251c1f.
* Remove encodeMime's openArray overload
* Document the `safe` parameter
* Add changelog entry
|
|
|
| |
closes #19969; add testcase
|
|
|
|
|
| |
* implemented strictCaseObjects
* changelog update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
time. (#20586)
* Implemented opcSlice to make 'toOpenArray' work on the VM
* Added nkOpenArray for VM to reduce bodgeness
* Fixed range issues and erraneous comments
* Range check correctly for openArrays in opcLdArr
* Inverted logic for ldArr checking
* vm now supports slicing strings
* Added string tests
* Removed usage of 'nkOpenArray' and redundant operations
* Refactored vmSlice implementation, removing redundant and incorrect code
* Made tuples go throw opcWrObj for field assignment
* All strkinds should be considered for openarrays
|
|
|
|
|
| |
* move procs in os to `appdirs`
* Update lib/std/private/osappdirs.nim
|
| |
|
|
|
|
| |
ref https://github.com/Vindaar/ggplotnim/pull/151
ref https://github.com/Vindaar/ggplotnim/commit/b1a653b19881edfde5c87db91173c097a6a36dce
|
|
|
|
|
|
|
| |
* [std/os] split and export
* move to private modules
* fixes docs and tests
Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* add measuremancer to important packages
wait for https://github.com/nim-lang/packages/pull/2392
* Update testament/important_packages.nim
* Update testament/important_packages.nim
* Update testament/important_packages.nim
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#20578)
* Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent
* Add test
* Update compiler/lookups.nim
Co-authored-by: SirOlaf <a>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
| |
* refactor envvars, oserrors; register vmops
* remove type definitions
|
|
|
|
| |
ref https://github.com/ba0f3/telebot.nim/pull/79
ref https://github.com/ba0f3/telebot.nim/releases/tag/2022.10.18
|
|
|
| |
fixes niminst with stricteffects; add testcase
|
|
|
|
|
| |
* fixes #20572
* added a test case
|
|
|
| |
import and export osseps
|
|
|
| |
Add docs to dom
|
|
|
| |
Allow single branch when statements
|
| |
|
|
|
|
|
|
|
| |
(#20574)
* fixes #20515; base requires explicit `{.gcsafe.}` to be GC-safe
* add tests
|
|
|
| |
ref https://github.com/haltcase/glob/commit/5cc331043791578e88c9c5d6d0cce0ac419dfcf5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* enable stricteffects
* add gcsafe
* fix tests
* use func
* fixes pegs tests
* explicitly mark repr related procs with noSideEffect
* add nimLegacyEffects
* change URL
* fixes docopt
* add `raises: []` to repr
* fixes weave
* fixes nimyaml
* fixes glob
* fixes parsetoml
* Apply suggestions from code review
* Update testament/important_packages.nim
* add legacy:laxEffects
|
|
|
| |
fix nim-lang#19700 Crash when passing a template to a generic function expecting a procedure
|
| |
|
|
|
|
|
|
|
| |
(#20548)
* fix #8821 JS codegen can produce extreme switch statements with case a of range
* remove totalRange
|
|
|
|
|
|
|
|
|
| |
* fixes #3748
* fix the regression
* don't use the new allocator for the SSL wrapper
* fixes regression
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BSDs (#20556)
* fixes tests
* add memmem optimization for find
* fixes
* ty[o
* fixes `"abc".find("") == 0 doesn't work on macOS
Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* fixes #20553; don't format code for stropping identifier
* add tests
* Update nimpretty/tests/expected/simple.nim
|
| |
|