| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Add docs & tests for named procs with sugar.=>
* Remove support for named procs in sugar.=>
* Resolve conflict
* Fix test
|
| |
|
|
|
| |
Co-authored-by: flywind <xzsflywind@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
* reuse jsffi
* move js json coverage
|
|
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
* use warnings
|
|
|
|
|
|
|
| |
* Added math.clamp for slice clamping
* Added inline to math.clamp
* Cleaned up math.clamp + test
|
| |
|
| |
|
|
|
| |
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
* use -r:off for runnableExamples that should compile but not run
* use -r:off in other RT disabled tests
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix unicode.split with seperators examples
https://nim-lang.org/docs/unicode.html#split.i%2Cstring%2CRune%2Cint didn't work with the set constructor `{}` so replaced it with a string that's converted to an openArray compatible type containing `Rune`s.
* Add runnableExamples to unicode.split
* Add runnableExamples to split with single separator too
* Simplify runnableExamples unicode.split
* Improve the rest of the runnableExamples with the simplified code
* Simplify runnableExamples of unicode.split even more
* Formatted unicode.split example
* Update lib/pure/unicode.nim
Co-authored-by: zetashift <rishi2@laptop.localdomain>
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
* clarify the docs a bit
|
|
|
|
|
|
|
| |
* refs #17114: workaround for arm64 which should segfault but does not
* fixup
* Update lib/std/wrapnils.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
|
| |
|
|
|
|
|
|
|
| |
* std/options: $some(3) is now "some(3)", not "Some(3)", `$none(int)` is now `"none(int)"` instead of `"None[int]"`
* fix tests
* disable optionsutils
|
|
|
|
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
* remove deprecated stuff in testament
* fix
|
| |
|
|
|
|
|
|
| |
* update cookies module
* introduce sameSite.Default
Co-authored-by: hlaaftana <10591326+hlaaftana@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
* add enumutils.items for enum with holes
* changelog
* ref in lib.rst
* use `type SomeSparseEnum* = (not Ordinal) and enum` instead of concept
* address comment: rename back to enum with holes
|
|
|
|
|
| |
* Fix a couple of rst formatting issues
* no need for the extra space
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve ropes module
Improve wording
Update runnableExamples
Add index bound check for `[]`
Minor format changes
* Update tests/stdlib/tropes.nim
Run on C & JS target
Test in VM
Add tests for `[]`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix 15215
* fix test
* end line
* Update tests/stdlib/tnetconnect.nim
Co-authored-by: flywind <xzsflywind@gmail.com>
* Update lib/pure/net.nim
Co-authored-by: flywind <xzsflywind@gmail.com>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
|
|
| |
* Add example for pattern matching on options
* Use code-block
* Apply suggestions
* Use block comments
* Fix example
|
|
|
|
|
|
|
|
|
| |
`nim doc` (#17111)
* fix bug1 from #16238 nim doc now works with include prelude
* fix for windows
* fixup
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
|
|
|
|
|
|
| |
* make copySign work more robustly in js
* improve tests
* improve tests/vm/tcastint.nim
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* move prelude so that `include std/prelude` also works
* add test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve the strformat module
Improve documentation
Use runnableExamples
* Fix overflow error for low(int64)
Add test
* Use assert in runnableExamples
* Improve tstrformat
Put tests in proc & test VM
Put tests in blocks
Add c, js targets
* Use doAssert in tests
* Disable JS & VM tests
|
|
|
|
| |
* uri: document removeDotSegments, add tests, show failure modes
* address comments
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add example of hashing an object by all of its fields with `fields`
* Update lib/pure/hashes.nim
* Update lib/pure/hashes.nim
* Update lib/pure/hashes.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* fix #17078 csources generation
* fixup
|
|
|
|
| |
ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
|
| |
|
| |
|