| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* switch from PRNG to random module
* fix the regression
* comments + tests
* runnableExamples
* make oids better
|
| |
|
|
|
|
|
| |
I dislike this example a lot (busy looping for FDs to be closed is a very
poor waste of resources) but at least with these changes it's a little bit
better.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* make cstrutils work in VM
* more
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve documentation for complex
Add missing doc comments
* Add runnableExample
Add links for principal values
Optimize `-`
Change var to let
* Use std prefix for imports
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix #9125
* Update tests/stdlib/tmath.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* back
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
|
|
|
|
|
|
| |
* remove duplication in asynchttpserver examples
* fixup
* add comment showing how to run snippet locally
|
|
|
| |
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
|
|
| |
* Add backwards index overload for `[]` for JsonNode
* Add since
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
* Add docs, example, and changelog
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* Improve sequtils documentation
Uncomment assertions in tests
* Use present tense
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve documentation for algorithm
Remove unused import in algorithm tests
Improve formatting
* Reapply fix for reverse on empty openArray
* Use 3rd person singular
Add more explanations.
|
| |
|
|
|
| |
* fix #16542
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Allow single alloc mimetypes ops
* Allow single alloc mimetypes ops
* Update lib/pure/mimetypes.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
* https://github.com/nim-lang/Nim/pull/16480#issuecomment-752630190
* https://github.com/nim-lang/Nim/pull/16480#issuecomment-752630190
* https://github.com/nim-lang/Nim/pull/16480#issuecomment-753349661
* update changelog
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
* Link Testament from unittest doc
* Update lib/pure/unittest.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
* follow up #16399 clean up docs
* more
|
|
|
| |
and from osproc.terminate docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* init
* support strutils
* more
* better
* Call len once per string/cstring
* Change var to let
* Compare ternary on first char
* More appropriate param name
* fix
* better
* one test
* impl
* more efficient
* minor
Co-authored-by: Clyybber <darkmine956@gmail.com>
|
|
|
| |
adding missing commas between the importc and header pragmas of some procs.
|
| |
|
|
|
|
|
| |
* add math.copySign
* fix + tests
|
|
|
|
|
| |
* follow #15860 clean cgi module
* follow #15860 clean cgi module
|
| |
|
|
|
|
|
|
|
|
|
| |
* follow #15357 and move decodeQuery
* solve problem one
* minor
* deprecate decodeData
* add changelog and since
* add testcase for decodeQuery
|
|
|
|
| |
* fix #16474
* more tests
|
| |
|
|
|
|
|
|
|
|
| |
* add `euclDiv` and `euclMod` to `math`
* use abs
* Update lib/pure/math.nim
Co-authored-by: Clyybber <darkmine956@gmail.com>
|
|
|
|
|
|
|
| |
* strip minor improvement
* add more tests
* Update tests/stdlib/tstrutils.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
|
|
|
|
| |
* fix #16428 vmops now works for generic procs
* remove duplication
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* O(1) concatenation of singly- and doubly linked lists.
There is also new `toSinglyLinkedList` and `toDoublyLinkedList`
functions for conversion from `openArray`s, similarly
to `toHashSet` or `toTable`.
* Add `sequtils` import to runnable examples with `toSeq`.
* Added missing call to runnable examples.
* Add .since annotation, changelog, and tests.
* Rename `lists.concat` as an overload to `lists.append`.
* Renamed `append` to `add` in lists.
* Remove faulty `add` for `DoublyLinkedList`s.
* Improved tests for lists.
* `lists.add` moves the second list; added `lists.copy` for shallow copy.
* More tests for `lists.add` and `lists.copy`.
* More compact tests for lists with templates.
* List concatenation with copying (`add`) and moving (tentatively `addMove`)
* Renamed `addMove` to `addMoved`; renamed arguments according to the style guide.
* Added extended example to `lists.copy`.
* Corrected .since annotations to 1.6
* Add .since annotation, changelog, and tests.
* Rename `lists.concat` as an overload to `lists.append`.
* Renamed `append` to `add` in lists.
* Remove faulty `add` for `DoublyLinkedList`s.
* `lists.add` moves the second list; added `lists.copy` for shallow copy.
* More tests for `lists.add` and `lists.copy`.
* List concatenation with copying (`add`) and moving (tentatively `addMove`)
* Renamed `addMove` to `addMoved`; renamed arguments according to the style guide.
* Since declarations changed to (1,5,1).
* Add .since annotation, changelog, and tests.
* Rename `lists.concat` as an overload to `lists.append`.
* Renamed `append` to `add` in lists.
* Remove faulty `add` for `DoublyLinkedList`s.
* `lists.add` moves the second list; added `lists.copy` for shallow copy.
* More tests for `lists.add` and `lists.copy`.
* List concatenation with copying (`add`) and moving (tentatively `addMove`)
* Renamed `addMove` to `addMoved`; renamed arguments according to the style guide.
* Changelog update.
* Fix rebasing errors.
* Self-adding with `lists.addMove` results in a cycle now.
Added some extra tests.
|
|
|
|
|
|
|
| |
(#16385) [backport]
* Add error check to closeHandle and fix closing handle twice in osproc
* Fix compile error on Linux
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit changes the funcs that take a `proc` parameter back to
procs.
This reverts some of commit 6f57ebae349f:
sequtils.nim: Use `func` (#16293)
See also:
- https://github.com/nim-lang/Nim/issues/16303
- https://github.com/nim-lang/Nim/pull/16304
|
|
|
|
|
| |
* Fix broken links in docs
* Fix rand HSlice links
|
| |
|
|
|
|
| |
* Added since and changelog
|
|
|
|
|
|
|
| |
* improve tests for collections
* remove remaining code blocks in deques.nim
* improve runnableExamples
|
|
|
|
|
|
|
| |
* add math.isNaN
* isNaN now works with --passc:-ffast-math; tests
* Update lib/pure/math.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
| |
* unittest: use defines instead of env vars
* use defines in testament
* fixup
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
|