| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* fix rope index
* add testcase
|
|
|
|
|
|
|
| |
* fix asyncmacro
* Apply suggestions from code review
* Update lib/pure/asyncmacro.nim
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Xuecong Liao <xliao@flexport.com>
|
|
|
|
|
|
| |
* alternative way to fix #16022
* add testcase for #16022
[backport:1.4]
|
|
|
|
|
| |
* packedsets fix regression introduced in #15564
* add tests
|
|
|
|
|
|
|
| |
* Improve enumerate
* updates
* add tests
|
| |
|
| |
|
|
|
|
| |
https://github.com/nim-lang/Nim/commit/c16ee37a7106c645a0d17cc6bd8d399e20f61d96#r44209990 [backport:1.4] (#16035)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ORC: prepare for another patent-pending optimization
* bugfix
* '=copy' for refs can take a cyclic parameter for more ORC optimizations
* ORC: exploit the common 'it = it.next' pattern
* can't hurt to check for nil
* use an algorithm that is not obviously broken
* restore the test case
* final cleanups for --gc:orc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Do not read the whole file to compute SHA1 hash (fixes 15997)
* Update lib/std/sha1.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Update lib/std/sha1.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Directly break from loop
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
[backport:1.2] [backport:1.4]
|
| |
|
|
|
|
| |
This reverts commit 0f7f159a35bc10a43ff15bcb6c20eefdc574138e.
|
|
|
|
|
|
|
|
|
| |
* fix #15623
* add testcase for #15623
* fix
* add testcase
|
| |
|
|\
| |
| |
| | |
* make workaround for #15934 and #15620
* add testcase for #9754
|
| | |
|
| | |
|
| |
| |
| |
| | |
* asynchttpserver cleanups [backport:1.0]
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* attempt to make asynchttpserver better; fixes #15925; [backport:1.0]
* better documentation
* fixes 'nim doc'
* makes test green again
* ported to FreeRTOS
* fixes the doc rendering
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Make IntSet an ordinal set OrdSet[A: Ordinal]
Backward compatibility with IntSet is maintained.
IntSet is an alias for OrdSet[int]
* move ordsets to new file, intsets exports it
* ordset, move to lib/std folder
* Fix `$` for ordsets and test cleanup
* Fix ordsets compilation in doc example
* Rename ordsets to packedsets
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Alternate PR to https://github.com/nim-lang/Nim/pull/15915 to
resolve the problem mentioned there (`hash() == 0`) as well as
to close https://github.com/nim-lang/Nim/issues/15624
* Address https://github.com/nim-lang/Nim/pull/15937#discussion_r522759669
{ though this was only a move from 2 copies to 3 copies. ;-) }
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* fix #15941
* add testcase
* update
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`existsEnv` (v2) (#15826)
* js -d:nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, `existsEnv`
* refactor to osenv
* fix for js (without -d:nodejs) + VM
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* make var string return var char w/ BackwardsIndex
fixes #14497
* work around VM bug
* properly workaround again
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#15900)
* original docs are wrong
* fix pathnorm
* Update lib/pure/pathnorm.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
|
| |
| |
| | |
* https://github.com/conda-forge/nim-feedstock/commit/d8c80ea69dca30d99073d33845ddd79f9892755b#diff-e1d8e552330911f9f779f85b6f2c00a15e790dcc3fbb3b28f5da1d660a30c5b8
|
| |
| |
| |
| |
| |
| |
| | |
* doAssertRaises now correctly handles foreign exceptions; now shows which exception is raised on mismatch
* nimscript now handles `Exception as e`
* remove catch-all doAssertRaises overload from this PR
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
| |
| |
| |
| | |
* fix #12726 Cannot take the compile-time sizeof Atomic types
* fix for arch 32
|
| |
| |
| |
| | |
The `dedent` and `unindent` links were introduced by commit d67c5cb75171
(#15264).
|
| |
| |
| |
| | |
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* fix #12471
* add testcase
* fix
* test nimdoc is tricky
* Delete t12471.nim
|
| |
| |
| |
| |
| |
| |
| | |
* rst: add support for markdown tables
* change template into proc
* don't create unnecessary `seq[string]`
|
| |
| |
| |
| |
| |
| |
| | |
Add a macro `enumLen` which is used to determine the number of items in
an enumeration type to the `typetraits.nim` module. Also, add unit tests
for it in the `ttypetraits.nim` module.
Related to nimlang/Nim#15824
|
| |
| |
| |
| |
| |
| |
| |
| | |
Console apps in Windows implementation can raise OSError so I've fixed it, see below some examples for reference:
- https://github.com/nim-lang/Nim/blob/c07807bedf1749fa9d3e826d3d736907fefbe568/lib/pure/terminal.nim#L170
- https://github.com/nim-lang/Nim/blob/c07807bedf1749fa9d3e826d3d736907fefbe568/lib/pure/terminal.nim#L178
- https://github.com/nim-lang/Nim/blob/c07807bedf1749fa9d3e826d3d736907fefbe568/lib/pure/terminal.nim#L191-L192
- https://github.com/nim-lang/Nim/blob/c07807bedf1749fa9d3e826d3d736907fefbe568/lib/pure/terminal.nim#L196-L197
- ...
|
| | |
|