| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* fix #17264
* fix vm
* fix js and add tests
|
| |
|
|
|
|
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
* reuse jsffi
* move js json coverage
|
|
|
|
|
|
|
| |
* Added math.clamp for slice clamping
* Added inline to math.clamp
* Cleaned up math.clamp + test
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* wrapnils: add option-like API with ??., isSome, get
* fix test after rebase
* cleanups
* fix changelog
* address comments regarding get vs unsafeGet
|
|
|
|
|
|
|
|
|
| |
* fix #17159 items(cstring) works in VM
* improve test coverage tests/stdlib/tcstring.nim; add helpers: whenRuntimeJs, whenVMorJs
* document items(cstring)
* address comments
|
|
|
|
|
|
|
| |
* cleanup tests/stdlib/tstring.nim
* cleanup tests/stdlib/tstring.nim
* cleanup rest of test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
* close #15563
* Update tests/typerel/t15563.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* address comments
* tiny
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
| |
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
* add simpler to use readChars overload
* use new readChars overload
* Update lib/wrappers/openssl.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Co-authored-by: flywind <xzsflywind@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
| |
* make rst.nim use object variant
* add workaround
* fix mistake
|
|
|
|
|
| |
* fix js unsigned integer
* Use `std` prefix for standard library modules
* fix #17118
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* fix js unsigned integer
* better
* close #13859; add testcase
|
| |
|
| |
|
| |
|
|
|
|
| |
* make system random work in VM
|
|
|
|
|
| |
* Fix bug in removeDotSegments when path ends with dot
* Add test for trailing period bug in uri
|
|
|
|
|
|
|
|
|
|
| |
* Improve documentation for bitops
Use func
Use let in runnableExamples
* Remove unnecessary tests
Fix #7587
|
|
|
|
|
|
|
|
|
| |
* RST: implement footnotes and citations
* manual fixup of nimdoc.out.css
* remove unused code
* shorter printing code
* Update lib/packages/docutils/rst.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
| |
Improve documentation
Optimize toHeapQueue
Rename siftup and siftdown
Add tests for the heap property
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve documentation for math
Support empty input for cumsummed
Use runnableExamples
Move some examples to tests
Add more tests
* Update tests/stdlib/tmath.nim
Move some tests to trandom.nim
Move tests into main template where possible
Add test for #17017
* Add more tests for gamma & lgamma
Remove gamma(-1.0) example
Small fixes/changes
* Move more tests into template main()
* Fix typos
* Add edge case examples for copySign
|
| |
|
| |
|
|
|
|
|
| |
* fix #16967 [backport:1.2]
* move test to tsugar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Various changes to `lists` (RFC #303)
* Removing a non-element is no-op; better tests
* Remove preserves cycles; add appendMove alias; tests.
* Return value for (singly linked) `lists.remove`
* More test for lists.remove
* Moved `lists.append` to the end of the file to see all `add` definitions
* Disable testing js for now
* Use workaround for swap js bug
* Smaller diff
* Undo "silent" deprecation of append
* Correct typo in changelog
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Remove `appendMoved`
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Don't remove appendMoved
Co-authored-by: Clyybber <darkmine956@gmail.com>
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
|
|
|
|
|
|
| |
* basic cleanups regarding SSL handling
* enabled certificate checking on Windows
* updated the SSL test
* quoting helps
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* stdlib/os: handle symlinks in copy/move functions
- Added optional `options` argument to `copyFile`, `copyFileToDir`, and
`copyFileWithPermissions`. By default, symlinks are followed (copy files
symlinks point to).
- `copyDir` and `copyDirWithPermissions` copy symlinks as symlinks (instead of
skipping them as it was before).
- `moveFile` and `moveDir` move symlinks as symlinks (instead of skipping them
sometimes as it was before).
- Added optional `followSymlinks` argument to `setFilePermissions`.
See also: https://github.com/nim-lang/RFCs/issues/319
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Address comments in #16709
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Address comments in #16709 (second iteration)
Skip symlinks on Windows.
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
| |
|