| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add debug format string
* remove try except
* add changelog
* add docs and more tests
* Update lib/pure/strformat.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* minor
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove a condition that table size must be passed as power of 2
* remove power-of-2 condition from sets and sharedtables
* remove power-of-2 condition from deques
* use 'correctSize' for both branches
* prettify changelog.md and fix typos
* add a changelog entry
* fix double-call of 'right-size'
* fix the same thing in sets.nim
* introduce a new internal proc `slotsNeeded`
Deprecate the public proc `rightSize`, which is not needed anymore.
Now it is an identity function, allowing the old code to work
correctly and without extra allocations.
|
|
|
|
|
| |
* fixes #14402
* added a test case
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The `smallest` and `largest` procs for `CountTable` returned a tuple
with named fields, but the same procs for `CountTableRef` returned an
anonymous tuple.
This commit makes those `CountTableRef` procs more consistent, and adds
a test.
Fixes: #14918
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix logging tiny bug
* Update changelog.md
Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
* Update changelog.md
Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
* Update changelog.md
Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
* https://github.com/nim-lang/Nim/pull/14910#discussion_r450012032
Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* {.deprecated: [existsFile: fileExists].}
* s/existsFile/fileExists/ except under deps
* workaround pending #14819
* fix test
|
| |
|
|
|
| |
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
| |
* fix #14846; add macros.extractDocCommentsAndRunnables
* fixup
* update tests
* address comment
|
|
|
| |
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
| |
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* typetraits: add support for nnkTypeOfExpr
* typetraits: don't wrap typedesc symbols in StaticParam
* typetraits: add nested generics support to genericParams
* typetraits: make genericParams understand array[I, T] whackiness
Also moved tests to ttypetraits
* typetraits: clarify comment on genericParams
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix asyncdispatch drain behavior (#14820)
* Changed test to use asyncCheck instead of discard after code review (#14820)
* Added some debug statements to help understand what is happening in Azure.
* Removed debug statements and increased timeouts by 1 order of magnitude to account for slow Azure VMs
Co-authored-by: Ray Imber <ray@crankuptheamps.com>
|
|
|
|
|
|
|
| |
* add debug format string
* remove try except
* add changelog
|
|
|
|
|
| |
* Clean out dom
* Clean out dom
|
|
|
|
|
| |
* typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[]
* changelog
|
|
|
|
| |
* Remove and/or clean out Deprecated 'add' proc for floats
* Update a test
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* add a second asyncnet.recvFrom
* fixes
* pre-allocating address
* add a new nativesockets.getAddrString()
|
| |
|
|
|
|
|
|
|
|
|
| |
* testament: run CI faster thanks to batching
* move ta_in, tstdin into existing tosproc
* move ta_out,tafalse,texitcode,tstderr into existing tosproc
* joinable osproc
* move tstdout into existing tosproc
* spec: batchable; fix tests
* fixup
|
|
|
|
|
| |
* Add all missing css properties
* remove extra space
|
|
|
| |
See: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute
|
|
|
|
|
| |
This example doesn't work on our nightlies CI.
Other procs in this module already use 'code-block'.
|
|
|
|
|
| |
* add typetraits.elementType
* add a test for 0-sized seq
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* I don't care about observable stores
* enforce explicit initializations
* cleaner code for the stdlib
* stdlib: use explicit initializations
* make tests green
* algorithm.nim: set result explicitly
* remove out parameters and bring the PR into a mergable state
* updated the changelog
|
| |
|
| |
|
|
|
|
|
|
|
| |
* added normal variate function
* change method only slightly faster
* changelog + since
Co-authored-by: b3liever <b3liever@yandex.com>
|
|
|
|
|
|
|
|
| |
This is a temporary remedy for time_t transition to 64 bit on newer
Linux libc (musl >= 1.2.0, glibc >= 2.32).
In the future we might want to move away from libc, or figure out a way
to reliably detect the real size of C types at compile time, both of
which are difficult.
|
|
|
|
|
|
|
|
| |
This commit indents the contents of a `code-block` in `httpclient.nim`
so that it displays correctly. The bug was introduced by 42a64245f8.
I did a quick search for other `code-block`s that are broken in the same
way, but the only other one I found (in `pegs.nim`) is not included in
the generated documentation.
|
|
|
| |
See: https://developer.mozilla.org/en-US/docs/Web/API/Selection
|
|
|
|
|
|
|
|
| |
Fix an issue reported on IRC: using encodings with --dynlibOverrideAll
result in duplicated iconv definitions, causing compile errors.
This commit remove the `var` wrapper of iconv and go all out on
pointers, as it should due to how the API accepts nil. Also corrected
the API to resemble iconv(3p).
|
|
|
| |
https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
|
| |
|
| |
|