| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* make toJson more robust
* properly handle array
|
| |
|
|
|
|
|
|
|
|
|
| |
* Update macros.nim
* Update lib/core/macros.nim
Co-authored-by: Clyybber <darkmine956@gmail.com>
Co-authored-by: Clyybber <darkmine956@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
This is useful for building nightlies, since we will be building from a
generated source archive and git metadata is lost there.
|
| |
|
|
|
|
|
| |
* simplify sysstr.nim
* fix #14655
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* remove tyOpt, mOpt
* fixup
|
|
|
|
| |
initRstGenerator with outLatex output, see https://github.com/nim-lang/fusion/pull/11#issuecomment-641804899 (#14629)
|
|
|
|
|
| |
* httpcore: Add http code 308
* httpclient: Add 308 to redirection proc
* fix typo
|
|
|
|
|
| |
Added log folding for:
- Github Actions
- Azure Pipelines
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Unwind just the "pseudorandom probing" (whole hash-code-keyed variable
stride double hashing) part of recent sets & tables changes (which has
still been causing bugs over a month later (e.g., two days ago
https://github.com/nim-lang/Nim/issues/13794) as well as still having
several "figure this out" implementation question comments in them (see
just diffs of this PR).
This topic has been discussed in many places:
https://github.com/nim-lang/Nim/issues/13393
https://github.com/nim-lang/Nim/pull/13418
https://github.com/nim-lang/Nim/pull/13440
https://github.com/nim-lang/Nim/issues/13794
Alternative/non-mandatory stronger integer hashes (or vice-versa opt-in
identity hashes) are a better solution that is more general (no illusion
of one hard-coded sequence solving all problems) while retaining the
virtues of linear probing such as cache obliviousness and age-less tables
under delete-heavy workloads (still untested after a month of this change).
The only real solution for truly adversarial keys is a hash keyed off of
data unobservable to attackers. That all fits better with a few families
of user-pluggable/define-switchable hashes which can be provided in a
separate PR more about `hashes.nim`.
This PR carefully preserves the better (but still hard coded!) probing
of the `intsets` and other recent fixes like `move` annotations, hash
order invariant tests, `intsets.missingOrExcl` fixing, and the move of
`rightSize` into `hashcommon.nim`.
* Fix `data.len` -> `dataLen` problem.
* Add neglected API call `find` to heapqueue.
* Add a changelog.md entry, `since` annotation and rename parameter to be
`heap` like all the other procs for consistency.
* Add missing import.
|
|
|
|
|
|
| |
* fix #14545 windows paths
* add lib/std/private/strutils2.nim
* remove dependency strutils2 => strutils
* address comment: lib/std/private/strutils2.nim => compiler/strutils2.nim
|
|
|
| |
This commit fixes a mistake from 7d6cbf290a.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Documentation update a description in a page listing links
* Update doc/docs.rst
Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* add arm support to openbsd
* use clang on openbsd
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dependency on strtabs thanks to a hooking mechanism (#14563)
* json custom serialization; application for strtabs
* serialize using nesting
* make toJson more feature complete
* add since
* Revert "Improve JSON serialisation of strtabs (#14549)"
This reverts commit 7cb4ef26addb3bb5ce2405d8396df6fd41664dae.
* better approach via mixin
* toJson, jsonTo
* fix test
* address comments
* move to jsonutils
* doc
* cleanups
* also test for js
* also test for vm
|
| |
|
|
|
|
| |
(#14603)
|
|
|
|
|
|
|
| |
Sometimes the analysis might get funky and decide that the if-expression
below is not an if-expression. Details of how this can happen is largely
unknown, but it's easy to prevent so we will just go forward with that.
Fix #14591
|
|
|
|
|
|
|
| |
* Fix #14568
* Add testcase
* Fix bogus test
* Adapt other failing tests
* Declarations are always first writes
|
| |
|
| |
|
|
|
|
| |
was never implemented (#14584)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Nim will pretend that these proc are not gcsafe if they are not marked.
|
|
|
|
|
|
| |
This procedure is not no-op for older LibreSSL, and the ABI is kept for
newer versions, so there's no harm in enabling it unconditionally for
all LibreSSL versions.
|
|
|
|
|
| |
This reverts commit d53a6355f3ad4401731142d8fc66b95ecfdfb321 and
688b1f250ed058ecc49737dc75fd089206fa25b9.
|
|
|
|
|
| |
Previously we loaded the SSL library for this, but that's not where the
symbol resides.
|
|
|
|
|
|
|
| |
The default DLLs shipped are too old, switch to CiphersOld list to
ensure compatibility.
This commit should be reverted before any future release.
|
|
|
|
|
| |
And the fun thing is that currently we use a super old OpenSSL on
Windows.
|
|
|
|
| |
Follow up of 794042080b270d9da8d64bb4285ce83787bdec7e
|