-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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.3-RC2 #32973
WIP: Backports for 1.3-RC2 #32973
Commits on Aug 20, 2019
-
Add missing
seed!(::_GLOBAL_RNG)
method (#32961)(cherry picked from commit 8ebe564)
Configuration menu - View commit details
-
Copy full SHA for 91ffdca - Browse repository at this point
Copy the full SHA 91ffdcaView commit details
Commits on Aug 25, 2019
-
(cherry picked from commit 64be75f)
Configuration menu - View commit details
-
Copy full SHA for 1a19ae8 - Browse repository at this point
Copy the full SHA 1a19ae8View commit details -
Fix AbstractQ conversion to different-typed matrix (#32979)
(cherry picked from commit fcf9063)
Configuration menu - View commit details
-
Copy full SHA for b0d635e - Browse repository at this point
Copy the full SHA b0d635eView commit details -
docs: prepend v to tag string (#32993)
(cherry picked from commit 6723492)
Configuration menu - View commit details
-
Copy full SHA for 2a1ab32 - Browse repository at this point
Copy the full SHA 2a1ab32View commit details -
fix and test that a certain broadcast pattern doesn't allocate (#33007)
(cherry picked from commit 191f2ae)
Configuration menu - View commit details
-
Copy full SHA for f482cb4 - Browse repository at this point
Copy the full SHA f482cb4View commit details -
Clarify the behavior of rand/randn for complex types (#33002)
(cherry picked from commit fa641c6)
Configuration menu - View commit details
-
Copy full SHA for 222fa90 - Browse repository at this point
Copy the full SHA 222fa90View commit details -
Bump libgit2 to 0.28.2 (#32806)
This allows dropping MbedTLS patches which have been upstreamed. The order in which configuration options are returned has changed, making a test fail: make the code more robust by giving priority to more specific options over global ones. (cherry picked from commit d0b5d98)
Configuration menu - View commit details
-
Copy full SHA for e38bc7e - Browse repository at this point
Copy the full SHA e38bc7eView commit details -
Disallow var syntax in string interpolation (#32948)
The var"##" syntax should be disabled in string interpolation. Disallow `var` syntax in command interpolations This is special cased for compatibility. A more general fix would be to make cmd interpolation syntax exactly the same as string interpolation. (cherry picked from commit 050160c)
Configuration menu - View commit details
-
Copy full SHA for f6e60ea - Browse repository at this point
Copy the full SHA f6e60eaView commit details -
Add missing checksums for libgit2 0.28 (#33022)
(cherry picked from commit cd16f6e)
Configuration menu - View commit details
-
Copy full SHA for 438632e - Browse repository at this point
Copy the full SHA 438632eView commit details -
Fix incorrect use of
isimmutable
(#33042)This function operates on values not on types (though it is a bit of a trap). Also add a test to catch this bug. (cherry picked from commit aee3fc2)
Configuration menu - View commit details
-
Copy full SHA for add5c78 - Browse repository at this point
Copy the full SHA add5c78View commit details -
Use pivoting as the default in LU regardless of the element type. (#3…
…2989) For types that weren't subtypes of AbstractFloat, we used to try to LU factorize without pivoting and only use pivoting when it failed. This caused large numerical errors when computing the LU for element types which promoted to float like numbers such as most integers. The behavior was never documented and is error prone. Hence, this PR removes the behavior. (cherry picked from commit 5af3c2a)
Configuration menu - View commit details
-
Copy full SHA for 0d5848c - Browse repository at this point
Copy the full SHA 0d5848cView commit details -
improve performance of setindex! on IdDict (#33009)
(cherry picked from commit d1979e3)
Configuration menu - View commit details
-
Copy full SHA for 0905f7c - Browse repository at this point
Copy the full SHA 0905f7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for aac65c2 - Browse repository at this point
Copy the full SHA aac65c2View commit details
Commits on Aug 26, 2019
-
Disable BB
GMP
andMPFR
, to fix performance regressions(cherry picked from commit 4c12b7a)
Configuration menu - View commit details
-
Copy full SHA for d7187e4 - Browse repository at this point
Copy the full SHA d7187e4View commit details -
improve precompilation coverage (#33006)
- move the place where --trace-compile outputs precompile statement to a location that catches more cases - tweak the REPL code to be more amenable to precompilation in light of - instead of trying to encode all the rules where the precompile emitter fails (#28808) just try to precompile and do nothing if it fails. (cherry picked from commit c0478d8)
Configuration menu - View commit details
-
Copy full SHA for 41bd234 - Browse repository at this point
Copy the full SHA 41bd234View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e66361 - Browse repository at this point
Copy the full SHA 8e66361View commit details -
fix performance regression in broadcasting in some cases (#33079)
(cherry picked from commit 56fdb19)
Configuration menu - View commit details
-
Copy full SHA for 27a12c8 - Browse repository at this point
Copy the full SHA 27a12c8View commit details -
Upgrade
doc/make.jl
to introspect branch/tag names from git… (#32823)Upgrade `doc/make.jl` to introspect branch/tag names from git info (cherry picked from commit ad8cf8d)
Configuration menu - View commit details
-
Copy full SHA for c0c8038 - Browse repository at this point
Copy the full SHA c0c8038View commit details
Commits on Aug 27, 2019
-
Update unwind BB binaries for musl libc. (#33032)
(cherry picked from commit e6dd72f)
Configuration menu - View commit details
-
Copy full SHA for dbcc3dd - Browse repository at this point
Copy the full SHA dbcc3ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f39733 - Browse repository at this point
Copy the full SHA 9f39733View commit details -
error instead of widening index types in sparse (#33083)
Followup to https://github.com/JuliaLang/julia/pull/31724/files#r317686891; instead of widening the index type dynamically based upon the index vector length, just throw an error in the case where the index type cannot hold all the indices in a CSC format. This previously was an OOB access (and likely segfault) in 1.2, so throwing an error here is not a breaking change -- and throwing an error restores type stability, addressing the performance regression flagged in #32985. (cherry picked from commit 9725fb4)
Configuration menu - View commit details
-
Copy full SHA for f69b057 - Browse repository at this point
Copy the full SHA f69b057View commit details
Commits on Aug 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8e092f7 - Browse repository at this point
Copy the full SHA 8e092f7View commit details -
fix #33020, check axes for broadcasted assignment from tuples (#33080)
We avoid computing axes for tuples -- which is a valuable optimization -- but when we explicitly construct a tuple broadcast with axes pre-set (for, e.g., broadcasted assignment), we need to check that those axes are compatible with the ones inside the broadcasted expression before accepting them. (cherry picked from commit b5c4e63)
Configuration menu - View commit details
-
Copy full SHA for eac42ce - Browse repository at this point
Copy the full SHA eac42ceView commit details
Commits on Sep 3, 2019
-
Workaround for performance penalty of splatting a number (#33108)
(cherry picked from commit 4bf946a)
Configuration menu - View commit details
-
Copy full SHA for 5f214ab - Browse repository at this point
Copy the full SHA 5f214abView commit details -
Bump libssh2 to
v1.9.0
, use MbedTLS on all platforms (#33089)* Bump libssh2 to `v1.9.0`, use MbedTLS on all platforms * Remove patches from source builds (cherry picked from commit d3250fe)
Configuration menu - View commit details
-
Copy full SHA for 8c51a52 - Browse repository at this point
Copy the full SHA 8c51a52View commit details
Commits on Sep 5, 2019
-
ccall: fix vararg count computation (#33123)
(cherry picked from commit a9d4eac)
Configuration menu - View commit details
-
Copy full SHA for 46d0822 - Browse repository at this point
Copy the full SHA 46d0822View commit details -
Fix which behavior when passed an empty string (#33150)
* Fix behavior of Sys.which when passed an empty String argument * Added test to check for fixed Sys.which behavior with empty string input * Added test to check that Sys.which returns nothing when passed a blank string * Ensure that Sys.which returns a regular file and never a directory * Moved new Sys.which tests into test/spawn.jl alongside the existing ones * Remove new which tests from test/sysinfo.jl (they've moved to test/spawn.jl) (cherry picked from commit fa235cc)
Configuration menu - View commit details
-
Copy full SHA for 1d43fb6 - Browse repository at this point
Copy the full SHA 1d43fb6View commit details -
fix #33135, wrong scope resolution with conflicting sparams and let v…
Configuration menu - View commit details
-
Copy full SHA for 2410981 - Browse repository at this point
Copy the full SHA 2410981View commit details -
Replace realpath implementation with libuv (#33116)
(cherry picked from commit 921b4f8)
Configuration menu - View commit details
-
Copy full SHA for 1eacbee - Browse repository at this point
Copy the full SHA 1eacbeeView commit details
Commits on Sep 6, 2019
-
RNG: fix Sampler selection for GLOBAL_RNG (#33172)
(cherry picked from commit 4c8cd3b)
Configuration menu - View commit details
-
Copy full SHA for 3e543a2 - Browse repository at this point
Copy the full SHA 3e543a2View commit details -
Fix
assert_havelock(::ReentrantLock)
to assert that the _current-ta……sk_ has the lock. (#33159) * Fix `assert_havelock(::ReentrantLock)` to assert that the _current-task_ has the lock. Before this commit, new threads would incorrectly believe that they held a lock on a Condition when they actually didn't, and would allow illegal operations, e.g. notify: ```julia julia> c = Threads.Condition() Base.GenericCondition{ReentrantLock}(Base.InvasiveLinkedList{Task}(nothing, nothing), ReentrantLock(nothing, Base.GenericCondition{Base.Threads.SpinLock}(Base.InvasiveLinkedList{Task}(nothing, nothing), Base.Threads.SpinLock(Base.Threads.Atomic{Int64}(0))), 0)) julia> lock(c) julia> fetch(Threads.@Spawn Base.assert_havelock(c)) # This should be an ERROR (the new thread doesn't have the lock) julia> fetch(Threads.@Spawn notify(c)) # This should be an ERROR (the new thread doesn't have the lock) 0 julia> fetch(Threads.@Spawn wait(c)) # This error should be caught earlier (in assert_havelock). ERROR: TaskFailedException: unlock from wrong thread Stacktrace: [1] error(::String) at ./error.jl:33 [2] unlockall(::ReentrantLock) at ./lock.jl:121 [3] wait(::Base.GenericCondition{ReentrantLock}) at ./condition.jl:105 [4] (::var"##19#20")() at ./threadingconstructs.jl:113 ``` (The same holds for `@async` as `@spawn`.) After this change, the assertion works correctly: ``` julia> c = Threads.Condition(); julia> lock(c) julia> fetch(Threads.@Spawn Base.assert_havelock(c)) # This correctly ERRORs ERROR: TaskFailedException: concurrency violation detected Stacktrace: [1] error(::String) at ./error.jl:33 [2] concurrency_violation() at ./condition.jl:8 [3] assert_havelock at ./condition.jl:28 [inlined] [4] assert_havelock at ./REPL[22]:1 [inlined] [5] assert_havelock(::Base.GenericCondition{ReentrantLock}) at ./condition.jl:73 [6] (::var"##21#22")() at ./threadingconstructs.jl:113 ``` Also adds unit test that failed before this commit but now succeeds * Remove default impl of `assert_havelock`; add `::SpinLock` impl (cherry picked from commit 784eb57)
Configuration menu - View commit details
-
Copy full SHA for 13bb8cc - Browse repository at this point
Copy the full SHA 13bb8ccView commit details -
Factor-out logic to determine the path of the precompilation cache file.
(cherry picked from commit 2de79f7)
Configuration menu - View commit details
-
Copy full SHA for 8f662b5 - Browse repository at this point
Copy the full SHA 8f662b5View commit details -
Revert "Fix
repr
onPeriod
Types, andDateTime
,Date
(#30817)"This reverts commit a7fabc9.
Kristoffer Carlsson committedSep 6, 2019 Configuration menu - View commit details
-
Copy full SHA for a5539a0 - Browse repository at this point
Copy the full SHA a5539a0View commit details -
Revert "Fix
repr
onDateTime
(#30200)"This reverts commit 8d8b3d9.
Kristoffer Carlsson committedSep 6, 2019 Configuration menu - View commit details
-
Copy full SHA for c63f70f - Browse repository at this point
Copy the full SHA c63f70fView commit details
Commits on Sep 8, 2019
-
Bump Pkg for 1.3.0-rc2. (#33180)
(cherry picked from commit f71f58e)
Configuration menu - View commit details
-
Copy full SHA for 965fc11 - Browse repository at this point
Copy the full SHA 965fc11View commit details -
Normalize index to CartesianIndex in _modify! (#33187)
(cherry picked from commit 6a20ad7)
Configuration menu - View commit details
-
Copy full SHA for e69ce0f - Browse repository at this point
Copy the full SHA e69ce0fView commit details