Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backports for 1.2-RC1 #31727

Closed
wants to merge 71 commits into from
Closed

Backports for 1.2-RC1 #31727

wants to merge 71 commits into from

Commits on Apr 15, 2019

  1. add a missing free in subtyping (#31668)

    (cherry picked from commit b08f120)
    JeffBezanson authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    10a843f View commit details
    Browse the repository at this point in the history
  2. fix #31496, type intersection bug in restoring environment (#31669)

    (cherry picked from commit 1001087)
    JeffBezanson authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    f3e5612 View commit details
    Browse the repository at this point in the history
  3. dispatch: fix incorrect signature narrowing for U{Type, S} (#31671)

    it should only widen a signature, not narrow it, but was using intersect instead of subtype
    
    fix #31406
    
    (cherry picked from commit b4e95cb)
    vtjnash authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    5c61d3a View commit details
    Browse the repository at this point in the history
  4. channels: remove WeakRef from Condition (#31673)

    Using a WeakRef meant we might not actually `bind` the result.
    If nobody was still holding a reference to put contents into the Condition,
    we would simply garbage collect it, and then never need to close it.
    Since that does not seem to be the intent,
    instead move to just keeping a strong reference
    (alternatively, we would have to switch to using `stream_wait`
    with ref-counting, but that seems suboptimal for several reasons.).
    
    fix #31507
    
    (cherry picked from commit 29f61cd)
    vtjnash authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    95e2a54 View commit details
    Browse the repository at this point in the history
  5. edit 1.2 release notes (#31692)

    * edit 1.2 release notes
    
    * Run NEWS-update.jl
    
    (cherry picked from commit ccd9574)
    JeffBezanson authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    414b46d View commit details
    Browse the repository at this point in the history
  6. fix #31686, segfault on invalid cmdline option (#31689)

    (cherry picked from commit 5ce94d8)
    JeffBezanson authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    4a6b3c5 View commit details
    Browse the repository at this point in the history
  7. Fix doctest from utf8proc update. (#31688)

    (cherry picked from commit bbb8eae)
    fredrikekre authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    e3150fc View commit details
    Browse the repository at this point in the history
  8. Upgrade Pkg to 1.2.0-rc1. (#31679)

    (cherry picked from commit 20834c3)
    fredrikekre authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    05993a4 View commit details
    Browse the repository at this point in the history
  9. fix a missing GC root in type intersection (#31708)

    (cherry picked from commit 3e6a893)
    JeffBezanson authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    0e5e1ea View commit details
    Browse the repository at this point in the history
  10. fix #31702, thread sitting in event loop outside thread region (#31709)

    (cherry picked from commit c4841ca)
    JeffBezanson authored and KristofferC committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    a28450d View commit details
    Browse the repository at this point in the history
  11. make aliasscope more resilient to missing push

    (cherry picked from commit 50ec39c)
    vchuravy committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    21fc367 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2019

  1. Fix regressed compilation of uncached code.

    (cherry picked from commits 8469856 and d02b01e)
    maleadt committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    eb5059b View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2019

  1. fix #31663, long inference time printing large tree structure (#31680)

    - avoid exponential search in `is_derived_type` when parameters are
      used as field types
    - avoid inferring `show_default`
    - improve a fast path in subtyping
    
    (cherry picked from commit b2b35e9)
    JeffBezanson authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    568e920 View commit details
    Browse the repository at this point in the history
  2. Bump Pkg to 1.2.0-alpha.2. (#31749)

    (cherry picked from commit c83e312)
    fredrikekre authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    9d41ffc View commit details
    Browse the repository at this point in the history
  3. inference: fix fieldtype tfunc design (#31670)

    fix #31666
    
    (cherry picked from commit 3a60e87)
    vtjnash authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    dd32213 View commit details
    Browse the repository at this point in the history
  4. fix #31703, type intersection bug with chains of vars in invariant po…

    …sition (#31747)
    
    (cherry picked from commit 74305bf)
    JeffBezanson authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    e1d23bc View commit details
    Browse the repository at this point in the history
  5. fix #31760, regression in Dict iterate (#31762)

    (cherry picked from commit fd0848e)
    JeffBezanson authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    9115c82 View commit details
    Browse the repository at this point in the history
  6. inference: accelerate type-limits under wide-recursion (#31734)

    when we hit union-splitting, we need to ensure type limits are very aggressive
    and preferably also independent of the height of the recursion chain
    
    fix #31572
    
    (cherry picked from commit 32b091b)
    vtjnash authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    2534ac5 View commit details
    Browse the repository at this point in the history
  7. fix #31758: out of bounds write in sparse broadcast (#31763)

    (cherry picked from commit c0c6f96)
    fredrikekre authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    b0187e8 View commit details
    Browse the repository at this point in the history
  8. Upgrade libssh2 version to 1.8.2

    (cherry picked from commit d5e365c)
    staticfloat authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    3d42798 View commit details
    Browse the repository at this point in the history
  9. Update refresh_bb_tarballs.sh now that compile-* doesn't checksum

    (cherry picked from commit aeaaaf2)
    staticfloat authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    28f483c View commit details
    Browse the repository at this point in the history
  10. inf or nan parsing should ignore leading spaces

    (cherry picked from commit 65f94b3)
    stevengj authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    c33075c View commit details
    Browse the repository at this point in the history
  11. fix parse(ComplexF64, "inf")

    (cherry picked from commit c36e70b)
    stevengj authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    9289be5 View commit details
    Browse the repository at this point in the history
  12. Simplify llvm.dbg.declare for pointer arguments.

    (cherry picked from commit bec6ebd)
    maleadt authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    580d2f8 View commit details
    Browse the repository at this point in the history
  13. Always check for illegal stores now that arguments are handled.

    (cherry picked from commit 51a8411)
    maleadt authored and KristofferC committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    9501bd2 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2019

  1. Fix issue 31252 - remote globals not being updated in some cases

    (cherry picked from commit fb17eeb)
    amitmurthy authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    300e739 View commit details
    Browse the repository at this point in the history
  2. precompile: permit saving code (regression) (#31773)

    fix #31665
    
    (cherry picked from commit d16efb4)
    vtjnash authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    eae30d6 View commit details
    Browse the repository at this point in the history
  3. more fixes to I/O and threading (#31733)

    hopefully helps #31713 and #31702
    
    make more stream code thread safe
    
    (cherry picked from commit 773140e)
    JeffBezanson authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    6d01613 View commit details
    Browse the repository at this point in the history
  4. fix droptol! docstrings (#31799)

    (cherry picked from commit 73366ae)
    dkarrasch authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    68fc64a View commit details
    Browse the repository at this point in the history
  5. Improve IO read performance. (#31814)

    Manually extract out a separate noinline _throw_not_readable function.
    Addresses #28481 (comment).
    
    (cherry picked from commit 98b34fd)
    tkoolen authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    7d0baab View commit details
    Browse the repository at this point in the history
  6. fix incorrect error path in schedule (#31812)

    (cherry picked from commit 4c30076)
    JeffBezanson authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    c3dc4ce View commit details
    Browse the repository at this point in the history
  7. fix #31803, covariance handling in fieldtype_tfunc (#31848)

    (cherry picked from commit a78f895)
    JeffBezanson authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    b6494e3 View commit details
    Browse the repository at this point in the history
  8. Recover meta nodes in replace_code_newstyle (#31871)

    Copy meta nodes from IRCode to CodeInfo
    
    (cherry picked from commit 5168e35)
    nlw0 authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    a4d5aa1 View commit details
    Browse the repository at this point in the history
  9. Ensure syntax error locations appear in backtraces (#31881)

    Errors which are thrown directly inside jl_toplevel_eval_flex do not get
    an entry in the backtrace. The most prominent of these are syntax
    errors, but there's other cases too.
    
    Fix this by constructing a julia expression throwing the appropriate
    error, and evaling it to generate a julia-level frame.
    
    (cherry picked from commit 5b637df)
    c42f authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    3ba3cb8 View commit details
    Browse the repository at this point in the history
  10. improve compilation of check_top_bit (#31883)

    addresses #31819
    
    (cherry picked from commit 4111609)
    vtjnash authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    a1266e0 View commit details
    Browse the repository at this point in the history
  11. Revert "Don't use jl_rethrow_other for LoadError/InitError" (#31963)

    This reverts commit d3dbe86.
    
    + fixup new tests in backtrace.jl
    
    (cherry picked from commit a526662)
    c42f authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    695c3ac View commit details
    Browse the repository at this point in the history
  12. always run on original process stack in ALWAYS_COPY_STACKS mode (#31697)

    this makes it possible to work around #31104
    
    (cherry picked from commit 48634f9)
    JeffBezanson authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    7c09900 View commit details
    Browse the repository at this point in the history
  13. fix #31965, bug in interpreter stacktraces and `jl_code_requires_comp…

    …iler` (#31967)
    
    (cherry picked from commit e3afef0)
    JeffBezanson authored and KristofferC committed May 9, 2019
    Configuration menu
    Copy the full SHA
    339911f View commit details
    Browse the repository at this point in the history

Commits on May 10, 2019

  1. Revert "Fix repr on Period Types, and DateTime, Date (#30817)"

    This reverts commit a7fabc9.
    KristofferC committed May 10, 2019
    Configuration menu
    Copy the full SHA
    1d7c1fa View commit details
    Browse the repository at this point in the history
  2. Revert "Fix repr on DateTime (#30200)"

    This reverts commit 8d8b3d9.
    KristofferC committed May 10, 2019
    Configuration menu
    Copy the full SHA
    37dbfc1 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2019

  1. Fix world age issues in Serialization test if run in Main (#31973)

    Fixes #31966
    
    (cherry picked from commit 14b74bc)
    Keno authored and KristofferC committed May 11, 2019
    Configuration menu
    Copy the full SHA
    cce06d6 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2019

  1. Fix pop_exception lowering for try-break-finally (#31766) (#31931)

    In the case where a finally handler was active, pop_exception was
    incorrectly omitted when lowering `break` inside a catch block. This
    leads to stale exceptions on the stack.
    
    (cherry picked from commit 829a4a6)
    c42f authored and KristofferC committed May 13, 2019
    Configuration menu
    Copy the full SHA
    2c2b344 View commit details
    Browse the repository at this point in the history
  2. Accept both Cvoid and Ptr{Void} return type in ccall(:memcpy) (#31464)

    POSIX specifies that memcpy returns its first argument, which is
    a bit of a useless feature (e.g. the llvm intrinsic just returns
    `void`. Nevertheless, since we're intercepting the ccall here, we
    should allow it. For convenience, still allow the Cvoid return though.
    
    Fixes #31073
    
    (cherry picked from commit 8d2727b)
    Keno authored and KristofferC committed May 13, 2019
    Configuration menu
    Copy the full SHA
    508ce89 View commit details
    Browse the repository at this point in the history
  3. synchronize FileWatching (#31981)

    (cherry picked from commit f0ffb29)
    JeffBezanson authored and KristofferC committed May 13, 2019
    Configuration menu
    Copy the full SHA
    3a0e1d0 View commit details
    Browse the repository at this point in the history
  4. Don't attempt to const prop call cycles (#31996)

    Even if the result is unused. Fixes #31974.
    
    (cherry picked from commit 40296fb)
    Keno authored and KristofferC committed May 13, 2019
    Configuration menu
    Copy the full SHA
    413901f View commit details
    Browse the repository at this point in the history
  5. fix #31899, type intersection involving Int in upper bound (#31960)

    (cherry picked from commit 4c28b36)
    JeffBezanson authored and KristofferC committed May 13, 2019
    Configuration menu
    Copy the full SHA
    8653aed View commit details
    Browse the repository at this point in the history
  6. fix #31993, intersection of Type{Vec} and Type{<:Vec{T}} (#31997)

    (cherry picked from commit bfcf172)
    JeffBezanson authored and KristofferC committed May 13, 2019
    Configuration menu
    Copy the full SHA
    e3de220 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. Change BB tarball naming scheme to include release number (#32025)

    This will avoid hash collisions when we need to bump a tarball due to a
    build issue.  This also bumps the OpenBLAS BB tarball release to include
    a SkylakeX patch
    
    (cherry picked from commit a75921a)
    staticfloat authored and KristofferC committed May 15, 2019
    Configuration menu
    Copy the full SHA
    dac41b4 View commit details
    Browse the repository at this point in the history
  2. fix potential stack overflow in Profile.jl (#31693)

    (cherry picked from commit 6308ebd)
    JeffBezanson authored and KristofferC committed May 15, 2019
    Configuration menu
    Copy the full SHA
    4574af8 View commit details
    Browse the repository at this point in the history
  3. Prevent stack overflow in Profile (#31893)

    As a follow up to #31693, this fixes the other place in Profile
    that recurses over Profile data, causing stack overflows. This
    should fix a bunch of the recent intermittent CI faults on linux32.
    
    (cherry picked from commit 1707e13)
    Keno authored and KristofferC committed May 15, 2019
    Configuration menu
    Copy the full SHA
    9fa5ea8 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. bugfix in Hermitian + complex*I (#32001)

    (cherry picked from commit b05c0c7)
    stevengj authored and KristofferC committed May 20, 2019
    Configuration menu
    Copy the full SHA
    3715384 View commit details
    Browse the repository at this point in the history
  2. Update Mozilla CA certificate store to latest (05-15-2019) for libgit…

    …2 SSL.
    
    (cherry picked from commit b317206)
    mikhail-j authored and KristofferC committed May 20, 2019
    Configuration menu
    Copy the full SHA
    84ca0c0 View commit details
    Browse the repository at this point in the history
  3. restore previous exports from Base.Threads (#32036)

    (cherry picked from commit 507312d)
    JeffBezanson authored and KristofferC committed May 20, 2019
    Configuration menu
    Copy the full SHA
    fcc28a7 View commit details
    Browse the repository at this point in the history
  4. fix serializer for compat with 1.0 for saved functions (#32028)

    (cherry picked from commit 8f9ace0)
    JeffBezanson authored and KristofferC committed May 20, 2019
    Configuration menu
    Copy the full SHA
    a89634b View commit details
    Browse the repository at this point in the history
  5. fix isa fast path for typevars with lower bounds (#32040)

    (cherry picked from commit 7a75753)
    JeffBezanson authored and KristofferC committed May 20, 2019
    Configuration menu
    Copy the full SHA
    291109b View commit details
    Browse the repository at this point in the history
  6. move export of Event from Base back to Threads (#32043)

    (cherry picked from commit 62c0677)
    JeffBezanson authored and KristofferC committed May 20, 2019
    Configuration menu
    Copy the full SHA
    efcc509 View commit details
    Browse the repository at this point in the history
  7. fix #32046, Error test result from test_logs (#32052)

    (cherry picked from commit b2833ea)
    JeffBezanson authored and KristofferC committed May 20, 2019
    Configuration menu
    Copy the full SHA
    13bcc06 View commit details
    Browse the repository at this point in the history
  8. Add Base64 to Serialization test deps (#32053)

    This dependency was added in 8f9ace0, but not reflected in the
    Project.toml file.
    
    Fixes `test Serialization` invocation.
    
    (cherry picked from commit ffb26e7)
    Keno authored and KristofferC committed May 20, 2019
    Configuration menu
    Copy the full SHA
    f254c2e View commit details
    Browse the repository at this point in the history
  9. fix #31674, error when storing nonzeros into structural zeros with .= (

    …#31678)
    
    Previously, broadcasted assignment (`.=`) would happily ignore all nonstructured portions of the destination, regardless of whether the broadcasted expression would actually evaluate to zero or not. This changes these in-place methods to use the same infrastructure that out-of-place broadcast uses to determine the result type. If we are unsure of the structural properties of the output, we fall back to the generic implementation, which will attempt to store into every single location of the destination -- including those structural zeros. Thus we now error in cases where we generate nonzeros in those locations.
    
    (cherry picked from commit 6bd3967)
    mbauman authored and KristofferC committed May 20, 2019
    Configuration menu
    Copy the full SHA
    861f7a2 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Configuration menu
    Copy the full SHA
    b19fcbc View commit details
    Browse the repository at this point in the history
  2. Prevent the GC task callback from segfaulting. (#32088)

    It is possible when marking task objects in the GC for the associated
    jl_ptls_t reference to be NULL. To determine whether a task is a root
    task, we therefore also have to check if that reference is valid.
    
    (cherry picked from commit 25c33e4)
    rbehrends authored and KristofferC committed May 22, 2019
    Configuration menu
    Copy the full SHA
    1b72e97 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2019

  1. BunchKauffman: correct permutation for rook pivoting (fixes #32080) (#…

    …32108)
    
    (cherry picked from commit 7b70d49)
    timholy authored and KristofferC committed May 23, 2019
    Configuration menu
    Copy the full SHA
    ae8fc04 View commit details
    Browse the repository at this point in the history
  2. put back broadcast behavior with repeated indices, changed by #31300 (#…

    …31391)
    
    (cherry picked from commit fb181c3)
    JeffBezanson authored and KristofferC committed May 23, 2019
    Configuration menu
    Copy the full SHA
    b4ff156 View commit details
    Browse the repository at this point in the history
  3. work around #32087 by polling for I/O on windows inside thread loops (#…

    …32109)
    
    (cherry picked from commit 4247a48)
    JeffBezanson authored and KristofferC committed May 23, 2019
    Configuration menu
    Copy the full SHA
    ad5e60a View commit details
    Browse the repository at this point in the history
  4. Amend matrix * vector specialization for strided arrays (#32097)

    This restricts the element type of the input vector to be `<:Real` and
    only converts in case the promoted type is concrete.
    
    Fixes #32092.
    
    (cherry picked from commit 587cb82)
    ararslan authored and KristofferC committed May 23, 2019
    Configuration menu
    Copy the full SHA
    e5dfde8 View commit details
    Browse the repository at this point in the history
  5. Automatically disable USE_BINARYBUILDER_xxx when USE_SYSTEM_xxx i…

    …s set (#31725)
    
    Also renames `USE_BINARYBUILDER_UNWIND` to `USE_BINARYBUILDER_LIBUNWIND`
    for consistency, as well as providing a little bit of dependency logic
    to auto-disable `USE_BINARYBUILDER_SUITESPARSE` if `USE_SYSTEM_BLAS` is
    set, for example.
    
    (cherry picked from commit 5f808c6)
    staticfloat authored and KristofferC committed May 23, 2019
    Configuration menu
    Copy the full SHA
    5180ffe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    52e9e4c View commit details
    Browse the repository at this point in the history

Commits on May 29, 2019

  1. Configuration menu
    Copy the full SHA
    d85d093 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6280f5 View commit details
    Browse the repository at this point in the history
  3. Set VERSION to 1.2.0-rc1

    JeffBezanson committed May 29, 2019
    Configuration menu
    Copy the full SHA
    754605d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84854b1 View commit details
    Browse the repository at this point in the history