| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
* close #14581
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes #15210 [backport:1.2]
* make tests green
* make ordinal work
* makes Swapable test compile
* make Indexable example work
* concepts: 'self' is now 'Self'
* concepts: make Dictionary example compile
* document the new concept implementation
* concepts: make typeDesc work properly
* concepts: allow documentation comments (d'oh)
|
| |
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* document type bound rountines
* address comments
* Update doc/manual.rst
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
| |
* remove tests/deps/
* fix tests
* fix tests/manyloc/keineschweine/lib/zlib_helpers.nim
* fixup
|
| |
|
|
|
|
|
|
| |
Checked field expressions, such as an object variant field access results in
occasionally broken address analysis crashing the VM. This guard added here
mimics guarded access in ldObjAddr as well. This is to prevent a crash, while a
fix is devised.
|
|
|
|
|
| |
* Fix a couple of rst formatting issues
* no need for the extra space
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
When statement branches exit early outside of nimvm. In nimvm it seems that all
sides of the branches must be evaluated as the code gen happens at a later
stage, this remains intact.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
| |
* make rst.nim use object variant
* add workaround
* fix mistake
|
|
|
|
|
| |
* remove unnecessary when statement
* remove outdated codes
|
|
|
|
|
| |
* 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
|
|
|
|
| |
release tags (#17134)
|
| |
|
|
|
|
| |
blocks intended to be used as `runnableExamples` (#17122)
|
|
|
|
|
|
|
|
| |
* Split last read and first write analysis
This improves performance by 10% for some
cases.
* Remove outdated comments
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* 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
* ref #12700 add testcase
|
| |
|
|
|
|
|
|
|
| |
* fix js unsigned integer
* better
* close #13859; add testcase
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|