summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* make `fromJson/toJson` work with `array[range, typ]`, + 1 bugfix (#14669)Timothee Cour2020-06-152-8/+50
| | | | | * make toJson more robust * properly handle array
* normalizeExe (#14668)Timothee Cour2020-06-154-10/+28
|
* Update newLit set[T] to work when set is empty. (#14662)solo9892020-06-151-0/+4
| | | | | | | | | * Update macros.nim * Update lib/core/macros.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* Added --benchmarkVM to times.cpuTime() documentation (#14663)Ico Doornekamp2020-06-151-0/+2
|
* Change 'Future Directions' to link memory management documentation (#14664)Juan Carlos2020-06-151-2/+2
|
* fix codegen bug due to changing existing symbol declaration in template (#14666)jcosborn2020-06-152-1/+107
|
* compiler/commands: make gitHash settable at compile-time. (#14654)alaviss2020-06-141-1/+1
| | | | This is useful for building nightlies, since we will be building from a generated source archive and git metadata is lost there.
* add arc and orc to gc list (#14653)Andy Davidoff2020-06-141-1/+1
|
* fix #14655 setLen(seq) now zeros memory (#14656)Timothee Cour2020-06-142-15/+23
| | | | | * simplify sysstr.nim * fix #14655
* Clarify imported exceptions note in manualDominik Picheta2020-06-131-1/+1
|
* fix #13166 tioselectors flaky test on freebsd+OSX (#14634)Timothee Cour2020-06-123-5/+55
|
* reorder.nim: fixed typosAraq2020-06-121-3/+3
|
* remove tyOpt, mOpt (#14636)Timothee Cour2020-06-1210-23/+20
| | | | | * remove tyOpt, mOpt * fixup
* Add rstgen.rstToLatex convenience proc for renderRstToOut and ↵Juan Carlos2020-06-122-0/+13
| | | | initRstGenerator with outLatex output, see https://github.com/nim-lang/fusion/pull/11#issuecomment-641804899 (#14629)
* httpcore: Add http code 308 Permanent Redirect (#14639)djazz2020-06-122-1/+3
| | | | | * httpcore: Add http code 308 * httpclient: Add 308 to redirection proc * fix typo
* tools/kochdocs: add log folding supports for more CI services (#14643)alaviss2020-06-121-1/+9
| | | | | Added log folding for: - Github Actions - Azure Pipelines
* Disable tfdleak_multiple on platforms other than Windows (#14624)Timothee Cour2020-06-111-1/+4
|
* Add `proc find` to `heapqueue` (#14628)c-blake2020-06-102-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 CI docs (#14590)Timothee Cour2020-06-104-3/+105
| | | | | | * fix #14545 windows paths * add lib/std/private/strutils2.nim * remove dependency strutils2 => strutils * address comment: lib/std/private/strutils2.nim => compiler/strutils2.nim
* exceptions.nim: Fix a bad `Error` -> `Defect` renaming (#14621)ee72020-06-101-1/+1
| | | This commit fixes a mistake from 7d6cbf290a.
* parseutils: integerOutOfRangeDefect => integerOutOfRangeError (#14627)Timothee Cour2020-06-091-7/+7
|
* enable tioselectors on osx; more diagnostic for #13166 (#14625)Timothee Cour2020-06-091-5/+3
|
* Documentation update a description (#14619)Juan Carlos2020-06-091-3/+2
| | | | | | | | | * 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>
* fixes #14279 (#14618)Andreas Rumpf2020-06-092-2/+21
|
* fixes #14578 (#14615)Andreas Rumpf2020-06-091-7/+6
|
* Documentation Fix Typo, Add Table (#14609)Juan Carlos2020-06-091-1/+13
|
* Fix(astspec.txt): type of repeated word (#14612)ynfle2020-06-081-1/+1
|
* Make the example better describe the desired outcome (#14611)Max Grender-Jones2020-06-081-5/+5
|
* [OpenBSD] Add arm support (#14608)lbartoletti2020-06-082-1/+2
| | | | | * add arm support to openbsd * use clang on openbsd
* optimized wrapWords; fixes #14579 (#14606) [backport:1.2]Andreas Rumpf2020-06-081-25/+48
|
* fixes #14557 (#14607)Andreas Rumpf2020-06-081-1/+1
|
* `toJson`, `jsonTo`, json (de)serialization for custom types; remove ↵Timothee Cour2020-06-085-31/+203
| | | | | | | | | | | | | | | | | | | | | 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
* Fix sugar.dump: It doesn't work correctly with compile time expression (#14580)Tomohiro2020-06-081-1/+1
|
* hotfix disable nitter refs https://github.com/timotheecour/Nim/issues/167 ↵Timothee Cour2020-06-081-1/+2
| | | | (#14603)
* openssl: use explicit result for SSL_in_init (#14597)alaviss2020-06-081-2/+2
| | | | | | | 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 (#14583)Clyybber2020-06-073-25/+49
| | | | | | | * Fix #14568 * Add testcase * Fix bogus test * Adapt other failing tests * Declarations are always first writes
* fixes #14315 (#14594)Andreas Rumpf2020-06-071-2/+1
|
* fixes #14118 (#14595)Andreas Rumpf2020-06-071-1/+4
|
* implement the 'bind' statement for generics, it was an oversight that this ↵Andreas Rumpf2020-06-072-4/+28
| | | | was never implemented (#14584)
* Fix link to "rebuilding the compiler" (#14567)lbartoletti2020-06-061-1/+1
|
* more precise analysis about 'observable stores' [backport:1.2] (#14582)Andreas Rumpf2020-06-063-4/+15
|
* wrappers/openssl: defer loading SSL_CTX_set_ciphersuitesLeorize2020-06-061-1/+3
|
* net: also set TLSv1.3 cipher suitesLeorize2020-06-062-0/+12
|
* wrappers/openssl: mark casts as gcsafeLeorize2020-06-061-17/+13
| | | | Nim will pretend that these proc are not gcsafe if they are not marked.
* wrappers/openssl: enable SSL_CTX_set_ecdh_auto for LibreSSLLeorize2020-06-061-1/+1
| | | | | | 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.
* net: revert compatibility changes for WindowsLeorize2020-06-061-5/+2
| | | | | This reverts commit d53a6355f3ad4401731142d8fc66b95ecfdfb321 and 688b1f250ed058ecc49737dc75fd089206fa25b9.
* wrappers/openssl: the version number comes from the utility libraryLeorize2020-06-061-9/+20
| | | | | Previously we loaded the SSL library for this, but that's not where the symbol resides.
* net: use CiphersOld list for WindowsLeorize2020-06-061-1/+4
| | | | | | | The default DLLs shipped are too old, switch to CiphersOld list to ensure compatibility. This commit should be reverted before any future release.
* net: don't call set_ecdh_auto for super old OpenSSLLeorize2020-06-062-6/+4
| | | | | And the fun thing is that currently we use a super old OpenSSL on Windows.
* wrappers/openssl: fix SSL_CTX_set_modeLeorize2020-06-061-1/+1
| | | | Follow up of 794042080b270d9da8d64bb4285ce83787bdec7e