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

WIP: Backports for 1.4-RC1 #34238

Merged
merged 31 commits into from
Jan 20, 2020
Merged

WIP: Backports for 1.4-RC1 #34238

merged 31 commits into from
Jan 20, 2020

Commits on Jan 2, 2020

  1. outline rng length assert

    (cherry picked from commit d723cee)
    KristofferC committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    9bd498d View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2020

  1. fix #33954, recursion through field types in is_derived_type (#34223)

    (cherry picked from commit 8b57f64)
    JeffBezanson authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    03fc530 View commit details
    Browse the repository at this point in the history
  2. fix codegen for getfield of homogeneous tuples (#34243)

    fix #34206, fix #34207
    
    (cherry picked from commit 007cb29)
    JeffBezanson authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    e6b2a8e View commit details
    Browse the repository at this point in the history
  3. fix #32442, broadcasting over non-offset arrays with mismatched axis …

    …eltypes (#34230)
    
    In cases where we have multiple arrays with `OneTo` axes that do not share the same axis eltype, we should simply default to constructing a new array with `OneTo{Int}` axes.
    
    (cherry picked from commit 11e7c33)
    mbauman authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    fb402c2 View commit details
    Browse the repository at this point in the history
  4. Update svd.jl (#30239)

    * Update svd.jl
    
    * Update svd.jl
    
    Make doc more useful to the reader.
    
    * Fix grammar and one trailing whitespace
    
    * Update svd.jl
    
    * Fix doctests
    
    * Avoid duplicating documentation between mutating and non-mutating
    versions of svd functions.
    
    * Reorganize generalized svd docstring and doctests
    
    * Break some long lines
    
    Co-authored-by: Viral B. Shah <[email protected]>
    Co-authored-by: Andreas Noack <[email protected]>
    (cherry picked from commit cec4c32)
    alanedelman authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    1c1a70d View commit details
    Browse the repository at this point in the history
  5. add local to testset vars that should be local (#34282)

    (cherry picked from commit 194a38b)
    JeffBezanson authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    0835ee0 View commit details
    Browse the repository at this point in the history
  6. fix #34286, regression in methods with empty tuple of types (#34291)

    (cherry picked from commit 8dc0d93)
    JeffBezanson authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    f03279d View commit details
    Browse the repository at this point in the history
  7. make fallback signed and unsigned functions unchecked (as documen…

    …ted) (#34287)
    
    (cherry picked from commit 37275c3)
    JeffBezanson authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    bd2ac09 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3797ea9 View commit details
    Browse the repository at this point in the history
  9. restrict div fallback to Real (#34284)

    add more-compatible fallback for `divrem`
    
    (cherry picked from commit 8f53987)
    JeffBezanson authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    8eee8d5 View commit details
    Browse the repository at this point in the history
  10. Simplify the GC.gc interface. (#34303)

    (cherry picked from commit b0ed147)
    maleadt authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    c9dba72 View commit details
    Browse the repository at this point in the history
  11. Fix trailing whitespace in svd docs introduced in cec4c32.

    (cherry picked from commit a3eb274)
    fredrikekre authored and KristofferC committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    ca6895f View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2020

  1. Update Mozilla CA certificate store to latest (01-01-2020) for libgit…

    …2 SSL. (#34319)
    
    (cherry picked from commit 375347e)
    mikhail-j authored and KristofferC committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    f23680b View commit details
    Browse the repository at this point in the history
  2. restore pathsep() and old sig of print_matrix_vdots for backwards…

    … compat (#34314)
    
    (cherry picked from commit e3b9d5d)
    JeffBezanson authored and KristofferC committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    3597a11 View commit details
    Browse the repository at this point in the history
  3. handle GlobalRef in getfield elim pass (#34322)

    (cherry picked from commit 22817ea)
    JeffBezanson authored and KristofferC committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    c1c544e View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2020

  1. bump Pkg to release-1.4

    KristofferC committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    df7473f View commit details
    Browse the repository at this point in the history
  2. add hypot fallback for 2 Numbers of the same type (#34316)

    (cherry picked from commit ade4713)
    JeffBezanson authored and KristofferC committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    a0d8713 View commit details
    Browse the repository at this point in the history
  3. Update sprandn in docs. Fix #31283 (#34257)

    (cherry picked from commit 717d548)
    ViralBShah authored and KristofferC committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    671f7aa View commit details
    Browse the repository at this point in the history
  4. Use approximate comparison in LinearAlgebra diagonal tests.

    (cherry picked from commit 78d1352)
    maleadt authored and KristofferC committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    9fbf6b3 View commit details
    Browse the repository at this point in the history
  5. Generate an error for closure cfunctions on unsupported platforms.

    (cherry picked from commit f53e144)
    maleadt authored and KristofferC committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    8860214 View commit details
    Browse the repository at this point in the history
  6. Fix initial value handling with flatten transducer (#34369)

    There was a bug in initial value handling of `FlatteningRF` and the
    following example failed:
    
        @test mapfoldl(
            x -> (x, x),
            ((a, b), (c, d)) -> (min(a, c), max(b, d)),
            Iterators.flatten((1:2, 3:4)),
        ) == (1, 4)
    
    This is because `BottomRF(op.rf)` was called inside `FlatteningRF`
    where `op.rf` is already a "non-bottom" reducing function; here it's a
    `MappingRF`.  As `BottomRF(rf)` forwards anything on the second
    argument on the first invocation as the first argument (accumulator)
    of the next calls, we need to make sure that this value is processed
    through `MappingRF` in the above example.  However, if we do
    `BottomRF(op.rf)` where `op.rf` is a `MappingRF`, this `BottomRF`
    bypasses any processing that has to happen in `op.rf`.
    
    (cherry picked from commit 0ee3264)
    tkf authored and KristofferC committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    e3f9911 View commit details
    Browse the repository at this point in the history
  7. Change lowering of gc preserve (#34379)

    This fixes #34247 by changing the way gc preserve is lowered.
    Instead of lowering it in a macro, lower it in the frontend.
    This allows us to use an SSA value directly for the return token
    of the gc begin expression. This bypasses the slot-renaming pass
    of the compiler, thus preventing the compiler from trying to save
    and restore the token. Of course, this kind of code would generally
    not be legal (because it uses an SSA value outside of the regular
    domination relation), but since this is a julia restriction, not
    an LLVM restriction, we can simply exempt gc_begin tokens from this
    particular validation. This works fine at the LLVM level also, because
    it doesn't have this particular restriction. It also doesn't have
    the same correctness problems as doing the same for non-token values,
    as the tokens get lowered away by the try/catch lowering before reaching
    the LLVM backend.
    
    (cherry picked from commit 07a16d6)
    Keno authored and KristofferC committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    381785b View commit details
    Browse the repository at this point in the history
  8. Force full collection in SharedArrays tests (#34349)

    Fixes the same CI failure as #34336,
    but hopefully should be immediately mergeable without objection about what
    the interface is.
    
    (cherry picked from commit 3ed4e94)
    Keno authored and KristofferC committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    2e9ceb8 View commit details
    Browse the repository at this point in the history
  9. Fix CI hangs on win32

    After much debugging, it turns out that OpenBlas is sometimes hanging
    on exit due to bad assumptions in its thread management. The upstream
    discussion is at OpenMathLib/OpenBLAS#2350, but this
    should fix our frequent win32 CI failures in the meantime.
    Keno authored and KristofferC committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    0665762 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0360daa View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2020

  1. Fix array-argument gcd for non-integers

    (cherry picked from commit 3549cd1)
    sostock authored and KristofferC committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    d3ba27d View commit details
    Browse the repository at this point in the history
  2. Make it easier to extend lcm/gcd/gcdx to custom types

    (cherry picked from commit 85eb20f)
    sostock authored and KristofferC committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    4bd73b2 View commit details
    Browse the repository at this point in the history
  3. Use UUID's to generate random tempname on Windows (#33785)

    * Use UIUD to create random tempname on Windows
    
    * Use underscores and remove extension
    
    * Truncate to 10 chars the UUID
    
    * Generate the random name from a random byte array
    
    * Update file.jl
    
    (cherry picked from commit d759b5b)
    musm authored and KristofferC committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    eaec4a7 View commit details
    Browse the repository at this point in the history
  4. Check return value of SystemFunction036 (#34429)

    In both places we call it. Also tabs-to-spaces for the new code
    to match the formatting of the rest of the code.
    
    (cherry picked from commit f120989)
    Keno authored and KristofferC committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    4865045 View commit details
    Browse the repository at this point in the history
  5. remove code forcing testsets to be compiled (#34405)

    (cherry picked from commit ed87ece)
    JeffBezanson authored and KristofferC committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    ea6f264 View commit details
    Browse the repository at this point in the history
  6. fix #34415, remove affinity setting code (#34433)

    This was removed before and added back apparently by mistake.
    
    (cherry picked from commit 5928786)
    JeffBezanson authored and KristofferC committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    139696b View commit details
    Browse the repository at this point in the history