Commits on Feb 19, 2020

  1. bump version to 1.0.7

    narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    0591cc2 View commit details
    Browse the repository at this point in the history
  2. [backport] Make all parseutils examples auto-checking (#13238)

    - Also fix one example's output (ikString -> ikStr, ikVar instead of ikExpr)
    
    (cherry picked from commit c4ff4e5)
    kaushalmodi authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    bf24379 View commit details
    Browse the repository at this point in the history
  3. fix critical bug discovered by #11591 (#13290) [backport]

    (cherry picked from commit 81a4379)
    timotheecour authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    6d3a1fc View commit details
    Browse the repository at this point in the history
  4. Quote nim executable before executing. (#13316) [backport]

    In case nim executable is located in PATH containing spaces.
    
    fixes #13311
    
    (cherry picked from commit dfecc34)
    fredrikhr authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    faa4720 View commit details
    Browse the repository at this point in the history
  5. [backport] -d:danger should imply -d:release (#13336)

    (cherry picked from commit c6d5f0d)
    narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    6d65e69 View commit details
    Browse the repository at this point in the history
  6. make monotimes have zero overhead if you don't use it (#13338) [backp…

    …ort]
    
    (cherry picked from commit e24443f)
    Araq authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    3a47e43 View commit details
    Browse the repository at this point in the history
  7. fix #13182: proc fun(a: varargs[Foo, conv]) now can be overloaded (#…

    …13345) [backport]
    
    (cherry picked from commit 79ec8c2)
    timotheecour authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    a9fa981 View commit details
    Browse the repository at this point in the history
  8. [backport] fix #13352

    (cherry picked from commit 36d1ad3)
    narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    bdb679c View commit details
    Browse the repository at this point in the history
  9. [backport] remove 'CountTable.mget' (#13355)

    It didn't work, and it was an oversight to be included in v1.0.
    
    (cherry picked from commit 78b15de)
    narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    3bf9ef5 View commit details
    Browse the repository at this point in the history
  10. fix #13255 (#13275) [backport]

    (cherry picked from commit 2fee89f)
    krux02 authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    8cdba8e View commit details
    Browse the repository at this point in the history
  11. fix #13374 nim c -r - now generates $nimcache/stdinfile (#13380) [b…

    …ackport]
    
    (cherry picked from commit 1f7c907)
    timotheecour authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    5768dd0 View commit details
    Browse the repository at this point in the history
  12. lib.rst: add a link for jsconsole [backport] (#13383)

    (cherry picked from commit 84a71da)
    Jjp137 authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    2304af2 View commit details
    Browse the repository at this point in the history
  13. fixes #13378 [backport] (#13392)

    (cherry picked from commit c446c0f)
    Araq authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    14e1f82 View commit details
    Browse the repository at this point in the history
  14. Add browsers.osOpen (#12901)

    * Add osOpen alias for the operating system specific open command
    
    * Add `--git.devel` option to the documentation
    remove unused import (#12900)
    
    fix json regression D20191212T144944 (#12902) [backport]
    
    Peer Review Feedback #12901 (comment)
    
    Merge branch 'devel' of https://github.com/nim-lang/Nim into osopen
    
    Peer Review Feedback #12901 (comment)
    
    Update lib/pure/browsers.nim
    
    Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com>
    Peer Review Feedback #12901 (comment)
    
    allow typed/untyped in magic procs (#12911)
    
    NaN floatFormat with clang_cl  (#12910)
    
    * clang_cl nan floatFormat
    
    * format
    
    add $nimeq for gdb (#12909)
    
    ARC: cycle detector (#12823)
    
    * first implementation of the =trace and =dispose hooks for the cycle collector
    * a cycle collector for ARC: progress
    * manual: the .acyclic pragma is a thing once again
    * gcbench: adaptations for --gc:arc
    * enable valgrind tests for the strutils tests
    * testament: better valgrind support
    * ARC refactoring: growable jumpstacks
    * ARC cycle detector: non-recursive algorithm
    * moved and renamed core/ files back to system/
    * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish
    
    Cleanup leftovers of #12911(#12916)
    
    Fix single match output (#12920)
    
    fixes #12899 (#12921)
    
    * fixes #12899
    
    * fixes regression: destroy global variables in reverse declaration order, closureleak test relies on it
    
    Implement NixOS distro check (#12914)
    
    Better case coverage error message for alias and range enum (#12913)
    
    fix error in assertions document (#12925) [backport]
    
    fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport]
    
    fix #12919 tasyncclosestall flaky: Address already in use (#12934)
    
    system.reset is no longer magic (#12937)
    
    It has now means setting x to default for new and old runtime alike
    Fix #12785 (#12943)
    
    * Fix #12785 and add test
    
    * better variable name
    
    update documentation for `closureScope` and `capture` (#12886)
    
    fixes #12735 on osx, call dsymutil for debug builds (#12931)
    
    * fix #12735 osx: dsymutil needs to be called for debug builds
    * also write dsymutil command to extraCmds in json build file
    
    Auto-initialize deques (#12879)
    
    case coverage error message for `char` (#12948)
    
    lenVarargs: number of varargs elements (#12907)
    
    docs: tiny style improvements
    
    added guidelines for evolving Nim's stdlib
    
    fixes a bug that kept sugar.collect from working with for loop macros [backport]
    
    fixes #12826
    
    fixes a regression
    
    a better bugfix
    
    fixes a test case
    
    fixes a silly regression
    
    fixes the distros.nim regression
    
    ported channels to ARC
    
    ported osproc.nim to ARC
    
    ported re.nim to ARC
    
    ARC: default to a shared heap with --threads:on
    
    osproc: fixes regression
    
    fixes another regression
    
    fixes #12945 (#12959)
    
    minor refactorings
    
    Fixes stackoverflow links in readme (#12963) [backport]
    
    Allow customize Host header
    [ci skip] docfix .. < => ..< (#12981) [backport]
    
    parsecfg: retain CRLF line breaks, fixes #12970 (#12971)
    
    generic stack trace overriding mechanism (#12922)
    
    * libbacktrace support
    
    * switch to a generic stack trace overriding mechanism
    
    When "nimStackTraceOverride" is defined, once of the imported modules
    can register its own procedure to replace the default stack trace
    generation by calling `registerStackTraceOverride(myOwnProc)`.
    
    Tested with `./koch boot -d:release --debugger:native -d:nimStackTraceOverride --import:libbacktrace`
    for the compiler itself and `./bin/nim c -r -f --stacktrace:off --debugger:native -d:nimStackTraceOverride --import:libbacktrace foo.nim`
    for an external program.
    
    * make the StackTraceOverrideProc {.noinline.}
    
    Added fix for handling TaintedStrings in streams and httpclient (#12969)
    
    * Added fix for taint mode in streams and httpclient
    
    * Removed taintMode export from system.nim
    
    Check pqntuples > 0 in getValue. Fixes #12973 (#12974)
    
    c_fflush() the rawWrite() buffer (#12987)
    
    Stack traces on an unbuffered stderr get out of sync with line-buffered
    stdout - usually on Windows terminals or CI logs. This fixes it by
    calling C's fflush() on the output buffer in the procedure used for
    printing stack traces.
    fixes #12989
    
    Revert "fixes #12989"
    
    This reverts commit 928c2fe.
    
    fixes #12965 (#12991)
    
    fixes #12989 (#12992)
    
    * fixes #12989
    * Revert "remove unwanted changes"
    
    This reverts commit 5018297.
    
    fixes disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport]
    
    --exception:goto switch for deterministic exception handling (#12977)
    
    This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior.
    
    Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented.
    fix #12985 {.push.} now does not apply to generic instantiations (#12986)
    
    Sink to MemMove optimization in injectdestructors (#13002)
    
    remove default argument for readLines (#12807) [backport]
    
    fixes #12978 (#13012)
    
    Fix typo (#13015) [backport]
    
    fixes #12961 (#13019)
    
    fixes #12956 (#13020)
    
    fix #12988 (#13022)
    
    fix #12988
    Fixes #13026 (#13028)
    
    fixes #12964 (#13027)
    
    fixes #13032
    
    VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877)
    
    * VM: allow certain hardcoded special var variables at CT
    * VM: allow all importc var, cast[int](ptr)
    * fix tests tests/vm/tstaticprintseq.nim, tests/cpp/t8241.nim
    * VM: == works for ptr/pointer nodes
    * bugfix: ==, cast now also works for pointer, not just ptr
    * VM supports cast PtrLikeKinds <=> PtrLikeKinds / int
    * improve cname handling
    * fixup + bug fix
    * VM: support cast from ref to int
    * address comment: opcLdGlobalDeref => opcLdGlobalDerefFFI
    * defensive check against typ == nil
    
    fix enumtostr crash for enum-range (#13035)
    
    fixes #13013, reverts previous changes to readLines() (#13036) [backport]
    
    * Revert "remove default argument for readLines (#12807) [backport]"
    
    This reverts commit c949b81.
    
    reprjs: style changes
    
    fixes #12996
    
    Rst parser respect `:start-after:` and `:end-before:` in `include` directive (#12972)
    
    * [FEATURE] rst parser respect :start-after: in include
    
    Rst parser now respects `:start-after:` and `:end-before:` attributes
    for `include` directive.
    
    * [DOC] include directive parsing proc update
    
    * [TEST] Added unit tests for include rst directive in `rst` module
    
    Allow `-o` option for `buildIndex` (#13037) [backport]
    
    Addressing #12771
    
    This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html) but its not respected as reported in the issue.
    [cleanup] remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits (#13041)
    
    * remove disabled (and obsolete) ttypetraits; rename ttypetraits2 => ttypetraits
    
    * D20200105T085828 fix super strange bug that causes CI to fail: builds.sr.ht with: `Error: Settle timed out after 120 attempts`
    
    Continue #13002 (#13021)
    
    testament/important_packages dont run hts (#13052)
    
    Modify the test command for nimly (nimble-package) (#13053)
    
    clean up deprecated stuff and unused imports in tests (#13059)
    
    --styleCheck:hint now works (#13055)
    
    [easy] --hint:link:on now shows link cmd instead of nothing (#13056)
    
    * --hint:link:on now shows link cmd instead of nothing
    
    * update doc for --listCmd
    
    add pqserverVersion,pqconnectionNeedsPassword,pqconnectionUsedPassword (#13060)
    
    basename supports pragmaexpr (#13045)
    
    * basename supports pragmaexpr
    
    * update changelog
    
    distinctBase type trait for distinct types (#13031)
    
    make SuccessX show project file + output file (#13043)
    
    * make SuccessX show project file + output file
    * address comments
    * fix test and add `result.err = reNimcCrash` otherwise hard to see where reNimcCrash used
    * address comments
    
    move entries from the wrong changelog file [ci skip]
    
    fix crash due to errant symbols in nim.cfg (#13073) [backport]
    
    Deleted misplaced separator (#13085) [backport]
    
    Misplaced separator, which was constantly breaking compilation on Haiku OS, was deleted.
    take the one good idea from --os:standalone and enable it via -d:StandaloneHeapSize (#13077)
    
    remove all remaining warnings when build nim (with -d:nimHasLibFFI) (#13084)
    
    * cleanup deprecations in evalffi + elsewhere
    
    * remove dead code getOrdValue64
    
    Use '__noinline' instead of 'noinline' for N_NOINLINE gcc attribute, this prevents clashes with systems where 'noinline' might be already defined (#13089)
    
    Fix error check code in osproc (#13090) [backport]
    
    fixes #13072; no test case because it will be added later with more exception handling related bugfixes
    
    fixes #13070
    
    typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get (#13064)
    
    [backport] system/io.nim fix wrong documentation comment [ci skip]
    
    fixes an asyncftpclient bug; refs #13096 [backport]
    
    System cleanup, part 1 (#13069)
    
    * system.nim: mark what every .pop does
    
    * system.nim: un-nest when statements
    
    [backport] fix #12813, fix #13079 (#13099)
    
    Correctly remove a key from CountTable when it is set to zero.
    more arc features (#13098)
    
    * config update
    * ARC now supports 'repr' and 'new' with finalizers is supported
    
    Remove some unused/disabled OpenSSL functions (#13106)
    
    Add link to posix_utils.html in posix.nim (#13111)
    
    VM FFI: write(stderr, msg) and fprintf(cstderr, msg) now work at CT (#13083)
    
    fix the ftp store function read the local file bug (#13108) [backport]
    
    * Update asyncftpclient.nim
    
    When use newStringOfCap function not have assign memory for the string data,so if use this address the fault is rasise.
    
    * complelete the bugfix
    
    fix rtti sizeof for varargs in global scope (#13125) [backport]
    
    fixes #13122 (#13126)
    
    * fixes #13122
    
    * moved tests to where they belong
    
    fixes #13112 (#13127)
    
    * improve line error information
    
    * fixes #13112
    
    Expose more openSSL methods. (#13131)
    
    fixes #13100 nim doc now treats `export localSymbol` correctly (#13123) [backport]
    
    * fix #13100 nim doc now treats `export localSymbol` correctly
    * use owner instead
    
    fixes #13119 (#13128)
    
    * fixes #13119
    * fixes a regression
    
    fixes #13105 (#13138)
    
    fixes #10665 (#13141) [backport]
    
    pass platform argument only if vccexe is used (#13078)
    
    * pass platform only if vccexe is used
    * fixes #12297
    
    fixes #13104 [backport] (#13142)
    
    fixes #9674 [backport] (#13143)
    
    Fix typo in doc/destructors.rst (#13148)
    
    Added 'ansic' os support for minimal (embedded) targets (#13088)
    
    * os:any implementation
    * os:asny: omit flock/funlock calls in echoBinSafe
    * Disabled default "unhandled expection" reporting for `--os:any` to reduce
    code size. Added unhandledExceptionHook instead which can be used to get
    a notification from Nim and handle it from the application.
    
    System cleanup, part 2 (#13155)
    
    * create basic_types, arithmetics, exceptions, comparisons
    * create setops.nim
    * create memalloc.nim
    * create gc_interface.nim
    * create iterators_1.nim
    
    export normalizePathEnd (#13152)
    
    successX now correctly shows html output for `nim doc`, `nim jsondoc`; fix #13121 (#13116)
    
    * successX now correctly shows html output for nim doc
    * fixes #13121
    * fixup hintSuccessX to be less weird
    
    ARC: misc bugfixes (#13156)
    
    * fixes #13102
    * closes #13149
    * ARC: fixes a move optimizer bug (there are more left regarding array and tuple indexing)
    * proper fix; fixes #12957
    * fixes yet another case object '=' code generation problem
    
    CI fix timeout error (#13134)
    
    Remove obsolete code from osalloc (#13158)
    
    style fix: change 'JS' to 'js' to make it consistent (#13168)
    
    Working towards arc codegen (#13153)
    
    fixes #13029
    fixes #12998 nim doc regression (#13117)
    
    fix tsizeof3 for aarch64 (#13169)
    
    Cleanup DFA (#13173)
    
    Fix docs (#13176)
    
    fixes #13095 (#13181)
    
    * fixes #13095
    
    * fix typo
    
    make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170)
    
    ARC works for async on Windows (#13179)
    
    make sink operator optional (#13068)
    
    * make sink operator optional
    
    * bug fix, add changelog entry
    
    * Trigger build
    
    * fix one regression
    
    * fix test
    
    * Trigger build
    
    * fix typos
    
    Fix docs for subdirs too (#13180)
    
    * Fix doc subdirs
    * Extract to helper proc, and fix on windows
    
    followup on #10435 : should be diff, not show (#13162)
    
    fixes #13157
    
    refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.}  (#13136)
    
    * refs #13054 correctly handle {.exportc,dynlib.} and {.exportcpp,dynlib.}
    * put back NIM_EXTERNC for N_LIB_EXPORT; causes issues with compilerproc
    
    fixes #13144 (#13145)
    
    * fixup: genscript now does not copy nimbase.h but uses -I$nim/lib
    
    times: toUnixFloat, fromUnixFloat (#13044)
    
    maybe: allows optional chaining of field access and indexing when LHS i snil (#13023)
    
    * maybe: allows optional chaining
    * fix tools/kochdocs.nim
    * improve semantics to distinguish valid from invalid values
    * for now, wrapnil, isValid, unwrap are not exported
    
    fix docs + API for fieldPairs, fields (#13189)
    
    more on arc codegen (#13178)
    
    * arc codegen for union type
    
    * add more tests
    
    * fix offsetof
    
    * fix tsizeof test
    
    * fix style
    
    Add link to packaging.html (#13194)
    
    Fixes #13186 (#13188)
    
    fixes #13195
    
    revert last commit
    
    Merge branch 'devel' of https://github.com/nim-lang/Nim into devel
    
    Revert "fixes #13195"
    
    This reverts commit cd7904f.
    
    fixes #13110 (#13197)
    
    fixes #13195 (#13198)
    
    * fixes #13195
    
    * extra fix
    
    * fix typo
    
    compiler/ccgtypes: hide exportc proc unless it has dynlib (#13199)
    
    This hides most of stdlib's internal functions from resulting
    binaries/libraries, where they aren't needed on *nix. Static libraries
    are not affected by this change (visibility doesn't apply to them).
    fix range[enum] type conversion (#13204) [backport]
    
    Idxmin & idxmax, continuation (#13208)
    
    * Add idxmin() which returns the index of the minimum value
    
    * Add idxmax() which returns the index of the maximum value
    
    * Add tests for idxmin()
    
    * Add tests for idxmax()
    
    * Remove initialization of result = 0
    
    * Adds overloading for arrays (no enums indexed arrays yet)
    
    * Add support for enum index arrays
    
    * Fix tests with enum
    
    * Fix tests for idxmax
    
    * Change names of the procedures to minIndex and maxIndex
    
    * address Araq's comments:
    
    - remove 'array' versions
    - add .since pragma
    - return 'int' instead of 'Natural'
    - add changelog entry
    
    Co-authored-by: Federico A. Corazza <20555025+Imperator26@users.noreply.github.com>
    
    fix #13211 relativePath("foo", ".") (#13213)
    
    fixes a critical times.nim bug reported on IRC [backport] (#13216)
    
    httpclient, maxredirects to Natural, newHttpClient/newAsyncHttpClient add headers argument instead of hardcoded empty (#13207)
    
    added note to re constructor regarding performance (#13224)
    
    Since I was new to regex I did not know that there is a compilation going on with ``re"[abc]"`` constructor and so I followed the other examples in the docs blindly, that is I just put the constructor directly in the arguments of match, find, etc., which was inside a loop and then wondered why my performance was so bad. Of course putting it outside the loop made it vastly more performant. People like me would benefit from the small note I added I would think :)
    [backport] Documentation Fix #12251 (#13226) [ci skip]
    
    [backport] times/getClockStr(): fix mistake in doc (#13229) [ci skip]
    
    new os.isRelativeTo (#13212)
    
    [backport] Fix typo and improve in code-block of 'lib/pure/parseutils.nim' (#13231) [ci skip]
    
    [backport] fix #11440, add docs to isNil for seq types needing nilseq (#13234) [ci skip]
    
    VM: allow overriding MaxLoopIterations without rebuilding nim (#13233)
    
    kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes (#13221)
    
    * kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes
    * fixup after #13212 isRelativeTo got merged
    
    fix lots of bugs with parentDir, refs #8734 (#13236)
    
    Unexport even more symbols (#13214)
    
    * system/gc: don't export markStackAndRegisters
    
    * compiler/cgen: unexport internal symbols
    
    As these functions are Nim-specific walkaround against C's optimization
    schemes, they don't serve any purpose being exported.
    
    * compiler/cgen: don't export global var unless marked
    
    * compiler/ccgthreadvars: don't export threadvar unless marked
    
    * tests/dll/visibility: also check for exports
    
    This ensure that these changes don't break manual exports.
    
    * compiler/cgen: hide all variables created for constants
    
    * compiler/ccgtypes: don't export RTTI variables
    
    * compiler/ccgexprs: make all complex const static
    
    * nimbase.h: fix export for windows
    
    * compiler/cgen, ccgthreadvars: export variables correctly
    
    For C/C++ variables, `extern` means that the variable is defined in an
    another unit. Added a new N_LIB_EXPORT_VAR to correctly export
    variables.
    
    Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses allocShared0. (#13190)
    
    * Cleanup, remove lib/system/allocators.nim. seqs_v2 and strs_v2 now use
    allocShared0 by default.
    
    * Fixed -d:useMalloc allocShared / reallocShared / deallocShared. These now use the alloc/dealloc/realloc implementation that also takes care of zeroing memory at realloc.
    
    * Removed debug printfs
    
    * Removed unpairedEnvAllocs() from tests/destructor/tnewruntime_misc
    
    * More mmdisp cleanups. The shared allocators do not need to zero memory or throw since the regular ones already do that
    
    * Introduced realloc0 and reallocShared0, these procs are now used by
    strs_v2 and seqs_v2. This also allowed the -d:useMalloc allocator to
    drop the extra header with allocation length.
    
    * Moved strs_v2/seqs_v2 'allocated' flag into 'cap' field
    
    * Added 'getAllocStats()' to get low level alloc/dealloc counters. Enable with -d:allocStats
    
    * *allocShared implementations for boehm and go allocators now depend on the proper *allocImpl procs
    
    [backport] documentation: Add channels examples (#13202) [ci skip]
    
    [backport] Make all parseutils examples auto-checking (#13238)
    
    - Also fix one example's output (ikString -> ikStr, ikVar instead of ikExpr)
    Updated 'nim for embedded systems' section to use --os:any and --gc:arc (#13237)
    
    * Updated 'nim for embedded systems' section to use --os:any and --gc:arc
    
    * Added section about size optimization to embedded systems
    
    Remove name attribute from docutils.nimble (#13239)
    
    Fixes asyncftpclient multiline reading, fixes #4684 (#13242)
    
    Previously, the 4th character of `result` was checked for `'-'` every time, instead of each new line.
    
    Also made it work for taint mode.
    Fix typo for literal `[` (#13243)
    
    The literal value for the `tkBracketLe` token was incorrectly set to `]` rather than `[`. I've had a quick glance at the code and it doesn't look like this change will affect anything at all, but I haven't tested yet - let's see if the CI explodes...
    Add "origin" to window.location (#13251)
    
    Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp
    nim dump: add libpath (#13249)
    
    contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247)
    
    testament/azure: major rewrite (#13246)
    
    This commit features a major rewrite of Azure Pipelines integration,
    turning the spaghetti it originally was into something maintainable.
    
    Key changes:
    - No longer requires a ton of hooks into testament.
    - Results are now cached then bulk-uploaded to prevent throttling from
      Azure Pipelines, avoiding costly timeouts.
    - A low timeout is also employed to avoid inflated test time.
    - The integration is now documented.
    Cleaned up mmdisp.nim, moved implementations into lib/system/mm/ (#13254)
    
    make goto based exceptions available for 'nim cpp' (#13244)
    
    * make goto based exceptions available for 'nim cpp'
    * optimize seq.add to be comparable to C++'s emplace_back
    
    ARC: remove unnecessary code
    
    ARC: optimize complete object constructors to use nimNewObjUninit
    
    make nre compile with --gc:arc
    
    Rename isNilOrWhitespace to isEmptyOrWhitespace and make it use allCharsInSet (#13258)
    
    * Rename isNilOrWhitespace to isEmptyOrWhitespace
    
    * Make isEmptyOrWhitespace use allCharsInSet(Whitespace)
    
    Clearer final objects error; fixes #13256 (#13257)
    
    scrollTop must be settable (#13263)
    
    * scrollTop must be assignable
    
    Make scrollTop settable
    
    * add missing export
    
    fixes #13219 (#13272)
    
    fixes #13281 (#13282)
    
    * fixes ##13281
    
    * add comment to test
    
    unittest add resetOutputFormatters proc (#13267)
    
    * add resetOutputFormatters
    
    * remove space
    
    * resolve comments
    
    TlSF Alloctor: use less memory for --gc:arc (#13280)
    
    Tiny since cleanup (#13286)
    
    nimv2 widestring indexing (#13279)
    
    Repr v2 progress (#13268)
    
    * progress on repr_v2
    
    * repr progress
    
    * add ref objects with distrinct
    
    * fix failing tests
    
    refactor htmldocs; gitignore it
    
    removed unused import
    
    fix stdout(etc) for emscripten
    
    csize => csize_t for sysctl
    
    Thread attributes should be destroyed using the pthread_attr_destroy() (#13293)
    
    On some OSes (such as FreeBSD or Solaris), pthread_attr_init allocate
    memory. So it is necessary to deallocate that memory by using
    pthread_attr_destroy.
    fix critical bug discovered by #11591 (#13290) [backport]
    
    miscellaneous bug fixes (#13291)
    
    * fix for emscripten etc
    
    * add testcase for #13290
    
    * replace deprecated isNilOrWhitespace
    
    CT FFI: fix for windows; fix case transition; error msg shows more useful context (#13292)
    
    * evalffi: fix case transition
    * evalffi: fix for windows
    * evallffi: `cannot import` errmsg now also shows which library it tried to import symbol from
    
    refs #8391 std/os now shows runtime context for raiseOSError exceptions (#13294)
    
    * refs #8391: fix errmsg for setCurrentDir
    
    * raiseOSError calls for copyFile
    
    * refs #8391 std/os now shows runtime context for raiseOSError exceptions
    
    build_all.sh: building csources 5X faster thanks to make -j (#13300)
    
    * build_all.sh: building csources 5X faster thanks to make -j
    * fix for freebsd
    * use OS-dependent formula to get number of logical cores
    * make is an optional dependency
    
    Fix capture for object types (#13315)
    
    * Fix capture for object|tuple|... types
    
    * Add test case
    
    Quote nim executable before executing. (#13316) [backport]
    
    In case nim executable is located in PATH containing spaces.
    
    fixes #13311
    ReSync with devel
    
    Make build_all.sh more portable and a bit simpler (#13308)
    
    koch: enable checks in the compiler when running CI (#13323)
    
    fix #13132 tnetdial (#13318)
    
    enable testing -d:nimHasLibFFI mode (#13091)
    
    Fix #10717, fix #13284 (#13307)
    
    Fixed codegen for constant cstring with --gc:arc (#13326)
    
    * Fixed codegen for constant cstring with --gc:arc, fixes  #13321
    
    * Added test for #13321
    
    Option to allow the request body to be processed outside the asynchttpserver library. (#13147)
    
    Allow the request body to be processed outside the asynchttpserver library to break big files into chunks of data. This change does not break anything.
    
    build_all.sh update (#13320)
    
    * Don't overload the system, don't crash when you can't determine the CPU count and don't rely on bash
    
    * Extract to variable
    
    * Limit number of spawned jobs for systems with weak IO
    
    * Use proper arithmetic braces
    
    contributing.rst: Add a special rule for 'outplace'-like features
    
    [backport] -d:danger should imply -d:release (#13336)
    
    nim secret: support linenoise when available (#13328)
    
    fix #13150 `nim doc --project` now works reliably (#13223)
    
    * fix #13150 `nim doc --project` works with duplicate names and with imports below main project file
    
    * add to help; fixup after #13212 isRelativeTo got merged
    * fix test tests/compilerapi/tcompilerapi.nim
    * remove nimblePkg field; compute on the fly instead
    * kochdocs: compiler docs now under compiler/
    * --docRoot now has smart default: best among @pkg, @path
    
    make monotimes have zero overhead if you don't use it (#13338) [backport]
    
    fix #13349 regression: isNamedTuple now works with generic tuples (#13350)
    
    fixes #13269 (#13344)
    
    adding sqlite3 backup functions (#13346)
    
    * adding sqlite3 backup functions
    
    * changing sleep to sqlite3_sleep to prevent clashes
    
    Added a basic example how to handle a Post request. (#13339)
    
    * Added a basic example how to handle a Post request.
    
    They were also made minor cosmetic changes.
    
    * Minor fixes suggested by Yardanico
    
    * Fixed a wrong value in chunkSize constant.
    
    * Re-added the request.body for compatibility!
    
    replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple in dollars.nim (#13347)
    
    * replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple
    
    * fix for bootstrap
    
    fix #13182: `proc fun(a: varargs[Foo, conv])` now can be overloaded (#13345) [backport]
    
    miscellaneous bug fixes (part 3) (#13304)
    
    * fix deprecation; fix indentation
    
    * git clone: use -q
    
    * fix Warning: pragma before generic parameter list is deprecated; fix typo
    
    * bugfix: sysTypeFromName("float64") was never cached
    
    testament: introduce 'matrix' for testing multiple options (#13343)
    
    printing float values will have one more digit. (#13276) [backport]
    
    * printing float values will have one more digit. Fixes #13196
    
    [backport] fix #13352
    
    [backport] remove 'CountTable.mget' (#13355)
    
    It didn't work, and it was an oversight to be included in v1.0.
    fix #6736: templates in unittest now show actual value (#13354)
    
    Revert "printing float values will have one more digit. (#13276) [backport]" (#13363)
    
    This reverts commit b2c6db9.
    Add sideEffect pragma to importC procs in posix, winlean and time module (#13370)
    
    * Add sideEffect pragma to procs in winlean
    * Add sideEffect pragma to procs in posix
    * Add test for #13306
    * Add sideEffect pragma to procs in times
    * Fixes #13306
    fixes #3339 by documenting the limitations of case-statement (#13366)
    
    fixes #13314 (#13372)
    
    testament: this now works: "testament r /abspath/to/test.nim" (#13358)
    
    fix `is` with generic types; fix `genericHead(Foo[T])` (#13303)
    
    * fix #9855, fix #9855, fix genericHead
    * render TTypeKind via toHumanStr
    
    fix #13255 (#13275) [backport]
    
    remove outplace version of 'merge' for CountTables (#13377)
    
    * remove outplace version of 'merge' for CountTables
    
    * remove 'merge' tests
    
    fix #13374 `nim c -r -` now generates $nimcache/stdinfile (#13380) [backport]
    
    fix #9634 don't crash on execCmdEx/readLine when inside gdb/lldb (#13232)
    
    * fix #9634 debugging a program using execCmdEx now works
    
    * only apply EINTR to c_gets for now
    
    This reverts commit c0f5305.
    
    lib.rst: add a link for jsconsole [backport] (#13383)
    
    Make vccexe parse response files (#13329)
    
    expectLen now shows the length that we got (#13387)
    
    fix several bugs with `repr`  (#13386)
    
    fixes #13378 [backport] (#13392)
    
    remove dead code test_nimhcr_integration.(bat,sh) (#13388)
    
    * enable test for osx: import tests/dll/nimhcr_integration
    
    * re-disable osx test
    
    fix linenoise regression (#13395)
    
    * fix nightlies linenoise regression
    
    * fix other installers
    
    Revert "remove dead code test_nimhcr_integration.(bat,sh) (#13388)" (#13396)
    
    This reverts commit 90491ea.
    fixes #13368 (#13397)
    
    fix bug in int128 (#13403)
    
    isolate the build process from external config files (#13411)
    
    add ggplotnim to important_packages (#13206)
    
    Fix to asynchttpserver form data/body broken with #13147 (#13394)
    
    * Fix to asynchttpserver form data/body broken with #13147
    * New implementation that use a interator instance of future streams
    * asynchttpserver now can handle chunks of data.
    
    Merge branch 'devel' of https://github.com/nim-lang/Nim into osopen
    
    Squash Commits; Peer review feedbacks #12901 (comment)
    
    (cherry picked from commit ba25f84)
    juancarlospaco authored and narimiran committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    04e70f1 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2020

  1. Modify the test command for nimly (nimble-package) (#13053)

    (cherry picked from commit 6a7a19e)
    loloicci authored and narimiran committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    cfd0ae4 View commit details
    Browse the repository at this point in the history
  2. Revert "fixes #13378 [backport] (#13392)"

    This reverts commit 14e1f82.
    narimiran committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    b692438 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. fix 3 minor bugs in joinPath (see #13455) (#13462) [backport]

    (cherry picked from commit 3dad130)
    a-mr authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    fbf28d1 View commit details
    Browse the repository at this point in the history
  2. [backport] tut1: Update the proc overloading examples (#13497) [skip ci]

    (cherry picked from commit e4ed19c)
    kaushalmodi authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    c160b21 View commit details
    Browse the repository at this point in the history
  3. tables/sharedtables/intsets/etc: fix #13496, #13504, #13505; add lots…

    … of tests (#13498) [backport]
    
    * fix #13496 handle tombstones
    * add test
    * more tests
    * fix #13504; add SharedTable tests
    * fix ##13505 intsets.missingOrExcl silently gave wrong results sometimes
    * add test for tintsets
    
    (cherry picked from commit 42dad3a)
    timotheecour authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    2668176 View commit details
    Browse the repository at this point in the history
  4. make it possible to pass linker options for vcc (#13535) [backport]

    (cherry picked from commit 0f1a4ac)
    cooldome authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    b64e109 View commit details
    Browse the repository at this point in the history
  5. unicode.split: Fix the splitting when a Rune separator is used [backp…

    …ort] (#13629)
    
    * unicode.split: Fix the splitting when a Rune separator is used [backport]
    
    - Fixes #13628
    - Ref https://irclogs.nim-lang.org/11-03-2020.html#20:01:34
    
    * unicode.split: Remove the sepLen based logic.. resulted in wrong jumps
    
    (cherry picked from commit 64995db)
    kaushalmodi authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    3490396 View commit details
    Browse the repository at this point in the history
  6. fixes #12747 [backport] (#13651)

    * fixes #12747
    * fix tests
    * improve code style
    
    Co-authored-by: cooldome <ariabushenko@bk.ru>
    (cherry picked from commit 613ea6e)
    2 people authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    02d7a18 View commit details
    Browse the repository at this point in the history
  7. fixes #13661 (#13664) [backport]

    (cherry picked from commit 5ba5b52)
    Araq authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    17ae301 View commit details
    Browse the repository at this point in the history
  8. fix when statements in inheritable generic objects (#13667) [backport]

    (cherry picked from commit 51bd442)
    Jasper Jenkins authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    6f79408 View commit details
    Browse the repository at this point in the history
  9. fixes #13671 [backport] (#13678)

    (cherry picked from commit 5f69977)
    Araq authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    2dcf32f View commit details
    Browse the repository at this point in the history
  10. openDefaultBrowser now works on OSX (#13892) [backport]

    (cherry picked from commit e6d8708)
    timotheecour authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    99e6d32 View commit details
    Browse the repository at this point in the history
  11. Fix #13889 with testcase (#13896) [backport]

    * Fix #13889
    
    * Add testcase
    
    * Reduce test time
    
    Co-authored-by: Elie Zedeck RANDRIAMIANDRIRAY <elie.zedeck@gmail.com>
    (cherry picked from commit 92c4aad)
    2 people authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    8a8fddc View commit details
    Browse the repository at this point in the history
  12. Fixes issues with dynamic loading OpenSSL. Fixes #13903. (#13919) [ba…

    …ckport]
    
    This fixes at least a couple of issues:
    
    * Procs loaded from the DLL being used even when the pointer is nil.
    * The actual issue (#13903) which appeared to cause stack corruption on
      Android 7.1.1 with OpenSSL 1.1.1f. The change that fixed this was the
      move to loading the procs in `sslSym`.
    
    (cherry picked from commit 350ee03)
    dom96 authored and narimiran committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    6673934 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2020

  1. Configuration menu
    Copy the full SHA
    265f565 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22d60a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    73c8390 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. Configuration menu
    Copy the full SHA
    122ac67 View commit details
    Browse the repository at this point in the history
  2. correctly backport #13667

    narimiran committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    5cae61c View commit details
    Browse the repository at this point in the history
  3. correctly backport #13896

    narimiran committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    df6fbf6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    50de773 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    490bf10 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2020

  1. fix/disable failing packages

    - "telebot" changed its directory structure
    - Status' libraries now require Nim >= 1.2.0
    narimiran committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    3dd84b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Configuration menu
    Copy the full SHA
    fec5d04 View commit details
    Browse the repository at this point in the history
  2. fix #14007 (#14012) [backport]

    Co-authored-by: cooldome <ariabushenko@bk.ru>
    (cherry picked from commit d839eb9)
    2 people authored and narimiran committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    5a1ed8f View commit details
    Browse the repository at this point in the history
  3. asyncdispatch: export Callback (#14042) [backport]

    This let us see the definition of `Callback` in docs, which is required
    to even make use of asyncdispatch.
    
    Ref #13539.
    
    (cherry picked from commit 7beed44)
    alaviss authored and narimiran committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    8cf8879 View commit details
    Browse the repository at this point in the history
  4. tools/finish: don't quote path with space (#14058) [backport]

    Path with spaces should be added as is, quoting them makes utilities
    treat the quotes as part of the path. This makes `nim` unable to be used
    from the command line even if it appears to be added to user's Path
    environment variable.
    
    Even more confusing, Windows 10's PATH editor shows the path without any
    quotes, you only see them when you use "Edit text". Took me a good 15
    minutes to figure out why couldn't I run `nim` despite it being in Path.
    
    (cherry picked from commit 22418ce)
    alaviss authored and narimiran committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    d4f961b View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2020

  1. [ci skip] changelog conflicts are a thing of the past (#14098)

    (cherry picked from commit f07f07e)
    timotheecour authored and narimiran committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    f89db49 View commit details
    Browse the repository at this point in the history
  2. disable failing packages

    narimiran committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    7102793 View commit details
    Browse the repository at this point in the history
  3. correctly backport 613ea6e

    narimiran committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    46d785a View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2020

  1. Fixes #14110 (#14111)

    Fixes jsffi usage example in doc
    
    (cherry picked from commit 362c896)
    dchem authored and narimiran committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    20e5173 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45b53ee View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. Configuration menu
    Copy the full SHA
    c90bbe3 View commit details
    Browse the repository at this point in the history
  2. Fix #14151 (#14205) [backport]

    (cherry picked from commit d5c014e)
    slangmgh authored and narimiran committed May 6, 2020
    Configuration menu
    Copy the full SHA
    d15cbb2 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. net: remove more erroneous set constructions (#14252) [backport]

    Refs #13764
    
    (cherry picked from commit 1a1e998)
    alaviss authored and narimiran committed May 13, 2020
    Configuration menu
    Copy the full SHA
    0c6c11f View commit details
    Browse the repository at this point in the history
  2. fix a critical bug in windows.osproc leading to resource leaks and bl…

    …ocking IO [backport] (#14296)
    
    (cherry picked from commit d11cb9d)
    timotheecour authored and narimiran committed May 13, 2020
    Configuration menu
    Copy the full SHA
    931a70b View commit details
    Browse the repository at this point in the history