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 release 1.5-RC2 #36577

Merged
merged 12 commits into from
Jul 14, 2020
Merged

Backports release 1.5-RC2 #36577

merged 12 commits into from
Jul 14, 2020

Commits on Jul 8, 2020

  1. Remove unnecessary restriction to StridedVecOrMat (#35929)

    * Remove unnecessary restriction to `StridedVecOrMat`
    
    The "Strided array interface" https://docs.julialang.org/en/v1/manual/interfaces/#man-interface-strided-arrays-1 means that this is useful beyond these types
    
    * Update adjtrans.jl
    
    * Add tests for adj/trans strides
    
    * Add tests, change strides(::Adjoint{<:Any,<:AbstractVector}) definition
    
    * stride(::AbstractrArray, k) for all k, add ConjPtr
    
    * Remove ConjPtr
    
    * Always throw an error if strides is not implemented
    
    * Update abstractarray.jl
    
    * Update blas.jl
    
    * Remove k < 1 special case
    
    * Also widen elsize to AbstractVecOrMat
    
    * Use strides for dim > ndims
    
    * Update stdlib/LinearAlgebra/test/blas.jl
    
    Co-authored-by: Matt Bauman <[email protected]>
    (cherry picked from commit 6b2c7f1)
    dlfivefifty authored and KristofferC committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    7ad6877 View commit details
    Browse the repository at this point in the history
  2. Respect memory constraints during init. (#36479)

    (cherry picked from commit 0a4f357)
    maleadt authored and KristofferC committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    b04654b View commit details
    Browse the repository at this point in the history
  3. Fix exception stack lowering in finally handlers (#36480)

    When using `return` or `break` nested inside `finally` handlers,
    exception stack lowering failed to pop exceptions from the stack
    correctly:
    
    * For `return`, the exception stack was not popped at all. If done
      inside a loop this could eventually cause the runtime to run out of
      memory.
    * For `break`, the exception stack was popped too early, causing subtle
      inconsistency in intermediate finally handlers.
    
    Fix these issues by storing the current exception token stack with the
    current finally handler information and using it to pop the stack before
    jumping into the finally block.
    
    Fixes #34579
    
    (cherry picked from commit 16ba0dd)
    c42f authored and KristofferC committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    b0b9fcf View commit details
    Browse the repository at this point in the history
  4. REPL prefix search: add ^x "pass through" key (#36173)

    (cherry picked from commit 0960c9a)
    rfourquet authored and KristofferC committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    0b851a1 View commit details
    Browse the repository at this point in the history
  5. Replace assertion in limit_type_size with fall-back (#36516)

    While the condition (the new type has to be wider) of the assertion
    should hold, #36407 shows that this may still fail sometimes. Instead of
    throwing an error, it seems better to just widen more aggressively if
    needed to ensure that the condition is fulfilled.
    
    (cherry picked from commit 604f658)
    martinholters authored and KristofferC committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    6b38b28 View commit details
    Browse the repository at this point in the history
  6. fix broadcasted assignment for scalar cartesian indexing (#35926)

    * fix broadcast for scalar cartesian indexing
    
    When broadcasting left-hand side indexing is turned into a dotview.
    For scalar indexing this should be equivalent to a `getindex`, but up
    until this patch the `CartesianIndex` would not be treated as such.
    
    This fixes e.g. broadcasting like `a[CartesianIndex(1)] .= 1` for a nested
    array `a`.
    
    * Also extend to `AbstractCartesianIndex`es
    
    Co-authored-by: Matt Bauman <[email protected]>
    (cherry picked from commit ff17412)
    stev47 authored and KristofferC committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    2e922d1 View commit details
    Browse the repository at this point in the history
  7. Fix and test LLVM IR for issue #36422 (#36435)

    (cherry picked from commit 7622bae)
    iamed2 authored and KristofferC committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    35ac0b7 View commit details
    Browse the repository at this point in the history
  8. Fix off-by-one dayofquarter() in leap years (#36543)

    (cherry picked from commit e23635c)
    lbilli authored and KristofferC committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    f8b0280 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2020

  1. Fix CPU feature specification on virtualized x64.

    (cherry picked from commit 6fd5b82)
    yuyichao authored and KristofferC committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    5d4b603 View commit details
    Browse the repository at this point in the history
  2. Fix #36531 - Error in abstract_iteration (#36532)

    The issue here is passing a `Vargarg` to `precise_container_type`, which
    doesn't really make sense. Instead, we need to have the caller unwrap
    the vararg, request the precise container type of the inner type and
    then re-wrap the answer in a vararg.
    
    (cherry picked from commit 63179af)
    Keno authored and KristofferC committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    678d57d View commit details
    Browse the repository at this point in the history
  3. fix #36527, skipped marking of some items in excstack (#36583)

    (cherry picked from commit 80a0167)
    JeffBezanson authored and KristofferC committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    b543e4f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59f8500 View commit details
    Browse the repository at this point in the history