https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
6817551 Merge pull request #43465 from krynju/kr/remove-future-copy-on-serialize [Distributed] Remove (now) unnecessary copy of the Future in its serializer 18 December 2021, 19:41:34 UTC
69a879e Add percentage sign notation (#43460) The rem function should have the percentage sign notation beside it in the division functions table. 18 December 2021, 18:09:55 UTC
9a7a078 remove the copy of the future in serialize 18 December 2021, 11:57:24 UTC
eea8b14 [Serialization] support AbstractLock and GenericCondition (#43325) Locks should be unlocked when serialized, and GenericCondition should drop their waiters. Otherwise, we may try to serialize a running Task (the user should normally be holding the lock around the data they are intending to serialize), which will fail and error. 17 December 2021, 23:50:46 UTC
073900d Merge pull request #43415 from JuliaLang/jb/precompile2 some precompilation improvements 17 December 2021, 23:32:54 UTC
63f6294 Allow const declarations on mutable fields (#43305) Mark some builtin types also, although Serialization relies upon being able to mutilate the Method objects, so we do not yet mark those. Replaces #11430 Co-authored-by: Matt Bauman <mbauman@gmail.com> 17 December 2021, 21:59:21 UTC
08aa0ac support Unicode 14.0.0 (via utf8proc 2.7.0) (#43443) 17 December 2021, 20:41:16 UTC
3f6abcf make sure precompile statements are printed even for const_return functions 17 December 2021, 20:00:38 UTC
2c0e1bc make sure compilation signature is inferred when it differs from call site sig 17 December 2021, 20:00:38 UTC
7855e85 inference: some optimization improvements (#43447) - cut off allocation in `tmerge` - improve type instabilities 17 December 2021, 16:33:20 UTC
a957953 Add support for per-module max_methods. (#43370) Co-authored-by: Tim Holy <tim.holy@gmail.com> Co-authored-by: Shuhei Kadowaki <aviatesk@gmail.com> 17 December 2021, 06:39:10 UTC
55ad2f0 use IEEEFloat to clean up floats.jl (#43433) 16 December 2021, 17:35:31 UTC
3a3cf02 optimizer: use a more functional data flow for using constant calling convention (#43377) Stop mutating `opt.const_api` field to indicate the eligibility of constant calling convention. Also this commit setups a specific data type `ConstAPI` for representing constant values, which is just separated from the inference lattice type `Const`, for more clarity of data flow. 16 December 2021, 05:10:57 UTC
2e8feb2 Add test for IdSet pop with default (#43424) 15 December 2021, 22:05:34 UTC
bf8b91d 🤖 Bump the Downloads stdlib from a55825b to c445f45 (#43430) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 15 December 2021, 17:04:32 UTC
b3e4341 Manual: Move introduction about command line arguments from "Getting Started" to "Command-line options" (#42878) 14 December 2021, 16:43:21 UTC
490d78c Replace Val-types in cholesky[!] (#41640) 14 December 2021, 14:54:59 UTC
afdd6bd Fix typo: \nor is \barvee instead of \veebar (#43421) 14 December 2021, 13:32:30 UTC
9bb0aeb Mention `norm` in docstring of `hypot` (#42972) * mention norm in doc of hypot Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com> Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com> Co-authored-by: Jameson Nash <vtjnash@gmail.com> 14 December 2021, 02:44:23 UTC
6330398 Merge pull request #43417 from JuliaLang/vc/backport_llvm_13 [LLVM] Support LLVM 13.0.0 14 December 2021, 02:43:53 UTC
1c68695 [EE] CompilerUsed instead of Used 14 December 2021, 00:05:57 UTC
02cd72e [JuliaJITEventListener] Use llvm::StringMap 14 December 2021, 00:05:57 UTC
af07387 fix tbaa_make_child use errors in our llvm passes now caught by the verifier 14 December 2021, 00:05:57 UTC
349870e [LateLowerGCFrame] handle undef values from a shuffle vector mask The same as how we handle them if they were undef in the shuffle vector operand. 14 December 2021, 00:05:57 UTC
33284e5 Disable NewPM for llvmpasses test 14 December 2021, 00:05:57 UTC
45dee34 Cleanup MachineObjectFileInfo handling in disassembly 14 December 2021, 00:05:57 UTC
689e52c StackProtector is now a module flag 14 December 2021, 00:05:57 UTC
e7620d0 [LLVM/Win32] Force stack alignment on module 14 December 2021, 00:05:57 UTC
111d0c8 Add Type to ByVal attribute 13 December 2021, 20:11:30 UTC
cba3abf SROA: Ensure that unused structs are preserved in ccall (#43408) Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> 13 December 2021, 16:46:37 UTC
fa8be6f Merge pull request #43405 from DilumAluthgeBot/BumpStdlibs/Pkg-247a4062 🤖 Bump the Pkg stdlib from aec716f4 to 247a4062 12 December 2021, 19:26:11 UTC
431f34e 🤖 Bump the Pkg stdlib from aec716f4 to 247a4062 12 December 2021, 13:49:11 UTC
4d1bf0b Merge pull request #43398 from krynju/kr/distributed-remote-fetch-fix [Distributed] Return value obtained from `call_on_owner` directly 11 December 2021, 18:09:54 UTC
4b97df7 add direct return of v_local 11 December 2021, 09:34:04 UTC
524bca4 optimizer: remove dead `OptimizationState` handling in `inlining_policy` (#43378) `NativeInterpreter` never hits this case, and external interpreters can always define their own `inlining_policy` in order to use whichever information they are caching. 10 December 2021, 22:01:24 UTC
07e5bd3 Merge pull request #43391 from JuliaLang/vc/export_cpufeat [CAPI] Add alias for LLVMExtraAddCPUFeaturesPass 10 December 2021, 21:01:13 UTC
5d41a76 Merge pull request #43360 from JuliaLang/jn/ranges-last refine and cleanup handling of range arithmetic 10 December 2021, 18:11:28 UTC
8a6cc9f [CAPI] Add alias for LLVMExtraAddCPUFeaturesPass 10 December 2021, 17:04:35 UTC
b6bca19 Manual: Documentation: Add information for Pluto and VS Code; move section to the top (#42879) 09 December 2021, 21:05:48 UTC
d73f2a7 Merge pull request #43383 from pchintalapudi/pc/loop-idiom Make loop-idiom useful 09 December 2021, 20:36:49 UTC
b2d09c4 Make loop-idiom useful 09 December 2021, 15:46:43 UTC
63f5b8a optimizer: clean up query interfaces (#43324) - unify `compact_exprtype` and `argextype` - remove redundant arguments - unify `is_known_call` definitions and improve the precision of `is_known_call(..., ::IRCode)` (by using `singleton_type`) 09 December 2021, 01:19:11 UTC
f60bfd1 🤖 Bump the Pkg stdlib from 0d6a726e to aec716f4 (#43373) 08 December 2021, 23:32:00 UTC
e31aec4 optimizer: factor out and improve `:foreigncall` preservations (#43356) 08 December 2021, 17:56:59 UTC
8197c41 Look for package name in `[extras]` for Preferences (#43361) * Look for package name in `[extras]` When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes https://github.com/JuliaPackaging/Preferences.jl/issues/24 Co-authored-by: Elliot Saba <staticfloat@gmail.com> 07 December 2021, 22:06:45 UTC
ff185b7 refine and cleanup handling of range arithmetic Try to be more careful about which types we use for arguments and return values and comparisons in intermediate computations. Not expected to change nominal behaviors, but may improve some unusual ranges that require some conversions or are near over/underflow. And use convert(T,1) rather than oneunit(T) to support fewer types, as we want the default step to be a unitless 1 (e.g., not Nanosecond(1)). Replaces #43058 07 December 2021, 19:07:49 UTC
bdf9ead [Dates] define arithmetic promotion for more operators 07 December 2021, 16:21:57 UTC
2e9bbda doc: manually URL encode single quote in URL to fix pdf build, fixes #43317. (#43359) 07 December 2021, 12:58:23 UTC
b6d31a1 avoid un-necessary reconfigure step on deps/gmp (#43298) 07 December 2021, 12:42:53 UTC
aa472bd doc: add at-ref for piping operator in punctuation.md (#43349) 07 December 2021, 07:38:48 UTC
30fe8cc datatype: finish layout corrections (#43306) We still had some discrepancies between what the code thought could be computed for a layout, and what we actually could compute layout for. This hopefully makes those two computations now always give the same answers (with the assistance of the layout cache). Fixes #43303 06 December 2021, 18:28:44 UTC
2cfd57d optimizer: minor improvements on SROA pass (#43348) - avoid closures - factor out duplicated code 06 December 2021, 17:59:30 UTC
db1d2f5 Allow underscores in big"[float]" (#43346) 06 December 2021, 13:55:03 UTC
00734c5 Docs: re-resolve Manifest to include julia version (& project hash) (#43345) 06 December 2021, 03:47:40 UTC
95707f2 Merge pull request #43319 from garrison/valgrind-suppressions Restore valgrind suppressions file 05 December 2021, 17:26:50 UTC
ca11c2f Test: add durations to testset reports (#43252) 05 December 2021, 06:37:26 UTC
83d7eba Allow watchers for the active project (#42731) This allows packages (with Revise as the intended target) to register themselves to be notified when the active project changes. This will allow Revise to keep track of the appropriate source for non-default environments. For practical effect, Pkg (and perhaps packages like Pluto) will have to switch from setting `Base.ACTIVE_PROJECT[]` directly to calling `Base.set_active_project`. Co-authored by: Jameson Nash <jameson@juliacomputing.com> 04 December 2021, 08:51:10 UTC
ca3fbf1 fix type instability in binomial (#43283) 03 December 2021, 20:30:02 UTC
728cba3 [Distributed] Worker local race condition between put! and fetch for Futures (#42339) * add local_lock to Future, use it in fetch and put! * add corrections to the remote/clientref logic * add memory ordering guarantees * serialize a (unlocked) copy of the future to avoid problems with the lock Co-authored-by: Jameson Nash <vtjnash@gmail.com> Co-authored-by: Takafumi Arakaki <aka.tkf@gmail.com> 03 December 2021, 19:33:52 UTC
03b16ab Use `:` for time and showtime msg formatting (#43255) Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com> 03 December 2021, 17:36:54 UTC
0130f65 Restore valgrind suppressions file contrib/valgrind-julia.supp was removed in #38970, but it is still referenced [in the Valgrind devdocs](https://docs.julialang.org/en/v1/devdocs/valgrind/). Either the file should be restored, or the reference should be removed from the documentation. Here, I have chosen the option of restoring the file, as I think it provides some value. I have also updated it such that it does indeed suppress the warning (#4533) on the latest master. 03 December 2021, 04:22:13 UTC
ed9ad60 change intersect order to reduce time (#36339) 02 December 2021, 19:28:12 UTC
26d2e19 Revert "improve constraint propagation with `&&` in `||` (#43142)" (#43293) This reverts commit 2c057f875ae304ce1ef6a99943c643bd662b454e. 02 December 2021, 07:17:06 UTC
45d43f3 optimizer: fix #43254, avoid infinite CFG traversal in SROA's domination analysis (#43265) Since CFG can be cyclic, the previous implementation of `has_safe_def` that simply walks predecessors recursively was just wrong. This commit fixes it by making `has_safe_def` maintain a single set that keeps the identities of basic blocks that have been examined already. 02 December 2021, 05:37:39 UTC
ec9bb1c doc: add path length note to `connect`/`listen` (#43281) Ref: http://docs.libuv.org/en/v1.x/pipe.html 01 December 2021, 22:25:55 UTC
d16f480 Update README.md (#43278) 01 December 2021, 10:54:23 UTC
f53de73 Fix (add|set)env to keep currently set dir for the command, fixes #42131. (#43276) 01 December 2021, 02:52:46 UTC
e2940cb Delete keys with value nothing in addenv. (#43271) 30 November 2021, 20:44:17 UTC
cbc2ce8 use has_fma intrinsic for math (#43259) This removes all bad `fma` checks in `Base` and replaces them with fma multiversioned ones. It also adds `Base.Math.two_mul` which gives the fastest compensated multiplication available regardless of whether the user has `fma` hardware. This is what should be used when possible for compensated multiplication in the future. 30 November 2021, 20:32:06 UTC
4486567 Update Documenter to 0.27.10. (#43264) 30 November 2021, 15:01:27 UTC
6bea8e3 Test: Fix indenting on verbose no-failure report (#43251) 29 November 2021, 23:44:22 UTC
ddca0a8 [devdoc] update example AST (#43150) 29 November 2021, 20:06:06 UTC
c7b5f7d better errors for trailing_zeros and friends on BigInt (#43240) E.g. `trailing_zeros(big(0))` is not meaningful; the underlying `MPZ.scan1` returns `typemax(Culong)` to convey this. But we were converting to `Int`, which gave either `InexactError` (not user-friendly) or `typemax(UInt32)` on Windows, which was really meaningless. We now throw `DomainError` on all architectures. 29 November 2021, 19:36:24 UTC
5b4fd5f FMA multiversioning. (#43085) * Add FMA multiversioning. 29 November 2021, 16:15:23 UTC
43bc48b simplify norm computations. (#43190) * simplify norm computations. 29 November 2021, 13:12:10 UTC
1a1f3d7 optimizer: SROA `mutable(immutable(...))` case correctly (#43239) Our SROA should be able to handle `mutable(immutable(...))` case even without "proper" alias analysis, since we eliminate `immutable` first and then process `mutable` within our iterative approach. It turns out it didn't work because after the immutable handling we keep the reference count _before_ DCE, but didn't update dead reference count. This commit fixes it and now we should be able to eliminate more allocations, e.g.: ```julia julia> simple_sroa(s) = broadcast(identity, Ref(s)) simple_sroa (generic function with 1 method) julia> simple_sroa("compile"); @allocated(simple_sroa("julia")) 0 ``` 29 November 2021, 02:21:14 UTC
c624d4f optimizer: enhance SROA, form `PhiNode` for uninitialized field (#43208) This commit addresses this [TODO comment](https://github.com/JuliaLang/julia/blob/3a5146f6b94e32bef5a812619068f82218b5482c/base/compiler/ssair/passes.jl#L831-L832), and allows SROA pass to form `PhiNode`s for uninitialized fields when we can prove there are safe `setfield!` calls in all dominated control flows. Now SROA can eliminate this sort of allocation: ```julia let src = code_typed((Bool,)) do cond r = Ref{Any}() if cond r[] = 42 else r[] = 32 end return r[] end |> only |> first @test !any(isnew, src.code) end ``` 29 November 2021, 02:18:51 UTC
d515f05 optimizer: refactor SROA pass (#43232) - avoid domtree construction when there are no mutables to eliminate - reduce # of dynamic allocations - separate some computations into individual functions 29 November 2021, 02:09:39 UTC
5c357e9 Keep ABI breaking checks for assert builds. (#43238) 28 November 2021, 08:17:38 UTC
fc08ec3 Update instructions to build using LLVM from Git. (#43233) 28 November 2021, 06:52:00 UTC
1c885a0 Update to account for better @static (#43213) Co-authored-by: Jameson Nash <vtjnash@gmail.com> 28 November 2021, 06:46:01 UTC
72ed578 fix nan^-x (#43231) 28 November 2021, 05:36:27 UTC
9e69a89 `Base.runtests`: add environment variables for overriding the automatic networking detection (#43217) 28 November 2021, 00:11:07 UTC
30602be Skip timeout check of "spawn many" test on Windows (#43247) 27 November 2021, 23:37:38 UTC
b4dafb8 minor `show` code refactors (#43097) 27 November 2021, 08:32:18 UTC
2b1ece9 libuv: bump version (#43219) Includes several fixes: https://github.com/JuliaLang/libuv/compare/c6869fba163a1e04af64ede438a8fd0191e75e9e...3a63bf71de62c64097989254e4f03212e3bf5fc8 26 November 2021, 17:31:02 UTC
0efd382 improve error message when module of package is not the same as the package (#43158) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> Co-authored-by: Alex Arslan <ararslan@comcast.net> 26 November 2021, 17:27:37 UTC
df0080c IRShow: use `IOContext` for `PhiNodes`/`:invoke` printing (#43226) In order to allow `Argument`s to be printed nicely. > before ```julia julia> code_typed((Float64,)) do x sin(x) end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = invoke Main.sin(_2::Float64)::Float64 └── return %1 ) => Float64 julia> code_typed((Bool,Any,Any)) do c, x, y z = c ? x : y z end 1-element Vector{Any}: CodeInfo( 1 ─ goto #3 if not c 2 ─ goto #4 3 ─ nothing::Nothing 4 ┄ %4 = φ (#2 => _3, #3 => _4)::Any └── return %4 ) => Any ``` > after ```julia julia> code_typed((Float64,)) do x sin(x) end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = invoke Main.sin(x::Float64)::Float64 └── return %1 ) => Float64 julia> code_typed((Bool,Any,Any)) do c, x, y z = c ? x : y z end 1-element Vector{Any}: CodeInfo( 1 ─ goto #3 if not c 2 ─ goto #4 3 ─ nothing::Nothing 4 ┄ %4 = φ (#2 => x, #3 => y)::Any └── return %4 ) => Any ``` 26 November 2021, 04:01:38 UTC
4170090 Multiversioning: support for aliases (from at-ccallable). (#37530) 25 November 2021, 16:29:08 UTC
d31ba7c some SSAIR pass improvements: (#43221) - improve type stability around `perform_lifting!` - avoid using mutable `RefValue`s - add docstrings for `lift_comparison!` / `canonicalize_typeassert!` - fix `@nospecialize` annotation for `simple_walk_constraint` 25 November 2021, 13:09:41 UTC
3103102 Fix links to external stdlib repos in docs, fixes #43199. (#43225) 25 November 2021, 13:05:07 UTC
7107ced Bump version in README (#43220) 25 November 2021, 06:02:20 UTC
aeab8a2 doc: more improvements to WSL-based build instructions (#43214) Added `cd` step, slightly better specification/formatting 24 November 2021, 18:46:32 UTC
a40d8c4 Add `@inline` for `Diagonal`'s 2-arg `l/rdiv!` to enable auto vectorization (#43171) 24 November 2021, 16:02:41 UTC
01f0965 doc: dpkg may need i386 support explicitly enabled to cross-build for Win32 (#43207) 24 November 2021, 16:02:05 UTC
3a5146f Clean-up of blas.jl w/o functional changes (#43193) Add some chkuplo and chkstride1 23 November 2021, 22:44:12 UTC
b9378fd Revert "Relocate `llvm-version.h` in codegen to avoid a warning" (#43195) * Revert "Relocate `llvm-version.h` in codegen to avoid a warning (#43181)" This reverts commit a0c920c1d977c177d13d9a328fde8f90f506778a. * remove old define from llvm-version Co-authored-by: Valentin Churavy <v.churavy@gmail.com> 23 November 2021, 20:53:05 UTC
99f6558 Fix shell syntax in version_git.sh and remove warning. (#43196) 23 November 2021, 18:04:13 UTC
08ea2d8 `@testset`: with Xoshiro, restore Random.GLOBAL_SEED (#43188) A `@testset` is supposed to restore the "global RNG state" as it was before execution (so that they can be re-ordered easily, etc.) Also, before a testset starts, the default RNG is re-seeded with the "global seed" (to help reproduce test failures). Before `Xoshiro` as the default RNG, the "global seed" was stored within a `MersenneTwister` object. It was enough for a testset to copy the default RNG at the start, and copy it back at the end. But now the global seed is stored outside of the RNG, so it should also be restored separately. 23 November 2021, 15:41:12 UTC
8c97995 fix gc collection interval logic (#43136) We had previously prevented full collections for the first collection, forgotten to reset counters for gc_sweep_always_full, and caused resets of other counter heuristics even when not heuristically driven. 23 November 2021, 10:15:10 UTC
back to top