https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
0ccb7fe Make `Base.prompt`, `Base.getpass`, and `Base.winprompt` part of the public API (by adding their docstrings to a manual page) 08 January 2022, 00:27:41 UTC
ad129a9 πŸ€– Bump the Pkg stdlib from fff928aa to 32880c47 (#43693) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 07 January 2022, 22:29:58 UTC
02f7332 [Test] make TestLogger respect `maxlog` (#43641) 07 January 2022, 21:50:57 UTC
7f27dea Fix Base.StackTraces.lookup(C_NULL - 1) on macOS 12 (#43612) See comment in diff for explanation. This fixes test/stacktraces.jl on aarch64 macOS 12, and according to an OpenJDK issue where they ran into the same problem, https://git.openjdk.java.net/jdk/pull/6193, probably also x86_64 macOS 12. 07 January 2022, 21:10:37 UTC
b0fbc5c [Test] avoid scanning Base twice for ambiguities (#43694) 07 January 2022, 17:24:41 UTC
e9ad4f6 Merge pull request #43689 from JuliaLang/vc/llvmpasses Fix llvmpasses test 07 January 2022, 16:14:58 UTC
4f1ff0b Docstring of `|>`: add parentheses around `->` func (#43699) 07 January 2022, 15:01:53 UTC
dc61f29 Fix sparse array `setindex(::Int, ::Vector)` (#43678) 07 January 2022, 15:00:58 UTC
cbf6c1c doc: add Xoshiro example (#43697) 07 January 2022, 11:15:15 UTC
a05cb7e doc: add reference to `rethrow()` in `throw` docstring, closes #43669 (#43674) 07 January 2022, 09:33:41 UTC
45faa5c tests: fix type-error in computing duration (#43691) Regression introduced by ca11c2fc24a (when tests fail or are interrupted) 07 January 2022, 04:26:10 UTC
a733e8a Don't set HAVE_SSP unconditionally on aarch64 (#43555) There is no plausible reason for this. And indeed, this patch fixes compilation for the libjulia_jll builder on Yggdrasil which currently fails due to the absence of libssp. The removed line was introduced in PR #41936 but without any justification that I could discern, so it might have just slipped in there accidentally. 07 January 2022, 01:12:13 UTC
697a40b Remove STORE_ARRAY_LEN option and associated dead code (#43476) Co-authored-by: Prem Chintalapudi <premc@csail.mit.edu> 06 January 2022, 22:36:34 UTC
4b83a64 Resolve instability from `reducedim_init` (#43467) 06 January 2022, 22:33:00 UTC
f357c47 Accelerate `isless(::T,::T) where {T<:CartesianIndex}` (#43395) 06 January 2022, 22:26:35 UTC
bcb8a00 only Text and HTML *exports* should be deprecated (#43532) 06 January 2022, 21:56:20 UTC
9555548 Merge pull request #42602 from JuliaLang/vc/llvm_13 [LLVM] Upgrade to LLVM 13.0.0 06 January 2022, 21:31:45 UTC
12cf20c Revert "CI (Buildkite): temporarily allow the `llvmpasses` job to fail (#43663)" This reverts commit 85a6990a9c1d49dd5aeaffeb4b38f881dc120823. 06 January 2022, 20:58:23 UTC
9a38042 Make notunroll test robust against loop-rotation 06 January 2022, 20:57:57 UTC
66bf907 Fix cpu-features.ll opt invocation 06 January 2022, 20:51:39 UTC
0402dfa Do not fail if fastpath for TLS can't be found Prevents loading of `libjulia-codegen` into `opt`. Co-authored-by: Jameson Nash <vtjnash@gmail.com> 06 January 2022, 20:47:30 UTC
ba0b7e9 Add missing include of llvm-version.h in codegen_shared.h (#43683) Without this, `JL_LLVM_VERSION` is undefined and defaults to 0, so the branch for older LLVM is always taken. 06 January 2022, 20:29:28 UTC
68e120f Fix reverse of ranges of unsigned integers (#29842) Fixes #29576 Co-authored-by: Jameson Nash <vtjnash@gmail.com> Co-authored-by: Lilith Orion Hafner <60898866+LilithHafner@users.noreply.github.com> 06 January 2022, 20:19:31 UTC
f54f41a Add `missing` support to `hypot` and `log(b,x)` (#43601) 06 January 2022, 19:45:05 UTC
f5a5149 Merge pull request #43647 from JuliaLang/sv-faster-dateformat Lift expensive Regex construction from DateFormat method body. 06 January 2022, 19:10:33 UTC
4ebca2f [LLVM] Upgrade to LLVM 13.0.0+3 https://github.com/llvm/llvm-project/compare/llvmorg-13.0.0...JuliaLang:julia-13.0.0-3 06 January 2022, 18:20:41 UTC
4c45f29 Enable allocation hoisting out of loops (#43057) 06 January 2022, 17:09:48 UTC
77d3d30 fix compat doc #41085 was not released in Julia 1.7, and only appears in Julia 1.8. 06 January 2022, 14:48:16 UTC
2d472c6 some compiler housekeeping (#43676) 06 January 2022, 07:43:04 UTC
8337570 Pin `cryptic` plugin to `v1` (#43675) This allows us to make breaking changes on the `main` branch of cryptic without breaking anything here 06 January 2022, 06:05:32 UTC
98b485e Make BitSet field const (#43553) 05 January 2022, 22:00:26 UTC
b9432a8 FAQ entry on shell metacharacters in run (#43633) 05 January 2022, 21:16:09 UTC
f958438 Fix constructing TCPSocket from RawFD (#43617) Without this, an attempt to call this function ends with: ERROR: LoadError: UndefVarError: pipe not defined Stacktrace: [1] TCPSocket(fd::RawFD) @ Sockets /nix/store/w0xq12x4gb3ng0pdh1r9ir4z14pmr3pp-julia-bin-1.7.0/share/julia/stdlib/v1.7/Sockets/src/Sockets.jl:100 [2] top-level scope Also add a test for this function. It designed only for Linux, because I don't know whether it would work on other platforms. 05 January 2022, 21:12:47 UTC
368a8f3 fix atomic `getfield` with boundcheck on interpreter (#43602) 05 January 2022, 19:31:52 UTC
0d2160b Honor `$TEMP` and friends when generating anonymous handles (#43515) On Darwin, when generating anonymous handles, we hardcoded `/tmp` as the beginning path, but that's bad behavior if the user has explicitly requested (via setting `$TEMP` or `$TEMPDIR`, etc...) that we not do so. Let's use `uv_os_tmpdir()` to put things in the correct place as much as we can, defaulting to `/tmp` if anything goes wrong inside of libuv. 05 January 2022, 18:44:05 UTC
1b600f0 optimizer: fully support inlining of union-split, partially constant-prop' callsite (#43347) Makes full use of constant-propagation, by addressing this [TODO](https://github.com/JuliaLang/julia/blob/00734c5fd045316a00d287ca2c0ec1a2eef6e4d1/base/compiler/ssair/inlining.jl#L1212). Here is a performance improvement from #43287: ```julia ulia> using BenchmarkTools julia> X = rand(ComplexF32, 64, 64); julia> dst = reinterpret(reshape, Float32, X); julia> src = copy(dst); julia> @btime copyto!($dst, $src); 50.819 ΞΌs (1 allocation: 32 bytes) # v1.6.4 41.081 ΞΌs (0 allocations: 0 bytes) # this commit ``` fixes #43287 05 January 2022, 14:11:26 UTC
85a6990 CI (Buildkite): temporarily allow the `llvmpasses` job to fail (#43663) 05 January 2022, 05:28:13 UTC
144ebba Support LLVM 14 (upstream Git main) (#43628) Compiles against llvm/llvm-project#2ec3ca747732, with some of our unmerged local patches from 13.x still required. Unfortunately, there is quite a bit of fallout from the various attribute API renames. I chose to introduce some function shims to separate out all the preprocessor #if clutter. 05 January 2022, 02:25:54 UTC
40d3596 Manual: anonymous function in pipeline needs parentheses (#43661) Consider: ```julia d = (1:10 .|> x -> x^2 |> sum ) ``` This seems to compute a sum of squares. But it does not. It outputs a vector of squares. (Because `|> sum` is parsed as being part of the anonymous function's body). Parentheses are needed for the desired (expected?) behaviour: ```julia d = (1:10 .|> (x -> x^2) |> sum ) ``` This PR adds a small note and example to the "Function composition and piping" section of the manual to flag this. As an aside, this confusion is even present in the [docstring](https://docs.julialang.org/en/v1/base/base/#Base.:|%3E) for `|>`: > Applies a function to the preceding argument. This allows for easy function chaining. > ```julia [1:5;] |> x->x.^2 |> sum |> inv ``` This is parsed as ```julia [1:5;] |> x-> (x.^2 |> sum |> inv) ``` but it feels like the author meant ```julia [1:5;] |> (x-> x.^2) |> sum |> inv) ```. 05 January 2022, 01:36:42 UTC
c61cd12 GC: enable logging to stderr when GC runs (#43511) Co-authored-by: Nathan Daly <NHDaly@gmail.com> 04 January 2022, 23:22:07 UTC
7fb5bb8 Lift expensive Regex construction from DateFormat method body. Constructing the Regex touched in this commit can represent a significant fraction (e.g. half or better) of the runtime of the DateFormat method touched in this commit. To make this DateFormat method more efficient, let's lift that Regex construction out of that method body. 04 January 2022, 23:19:34 UTC
62e6d4d Make TAB-completion behave as SHIFT-TAB in REPL except for ?(x,y) syntax (#43577) 04 January 2022, 22:24:17 UTC
26b5736 Use a valid atomic ordering in docstring (#43643) 04 January 2022, 21:10:19 UTC
f397b8b move enabling fast TLS from `jl_load_repl` to `jl_load_libjulia_internal` (#43655) 04 January 2022, 19:18:39 UTC
754ce5d πŸ€– Bump the Pkg stdlib from e6104fca to fff928aa (#43648) 04 January 2022, 00:16:49 UTC
9bf289e Fix grammar issues in devdocs/sanitizers.md (#43600) 04 January 2022, 00:13:20 UTC
b4b75f0 [docs] Add an example of doing `str = readline()` to read a single line in from `stdin` (#43635) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 03 January 2022, 21:27:47 UTC
ae55fb2 ignore module_infer flag when generating a system image (#43423) 03 January 2022, 21:02:34 UTC
a3c2798 filesystem & binaryplatforms: remove undefined vars from exports (#43631) 03 January 2022, 17:23:16 UTC
fbe37e1 [docs] Add an example to the `Base.prompt` docstring (#43638) 03 January 2022, 11:17:36 UTC
fa63a00 Document Pkg and NetworkOptions environment variables (#43215) I added these to the Julia docs instead of Pkg.jl so that they would all be in one place. Fixes https://github.com/JuliaLang/Pkg.jl/issues/2453 Co-authored-by: Elliot Saba <staticfloat@gmail.com> 02 January 2022, 21:47:18 UTC
543971f Fix SnoopCompile's `snoopl` macro and add test. (#43634) * Fix SnoopCompile's `snoopl` macro and add test. Previously the `@snoopl` functionality from SnoopCompile wasn't unit tested at all, and so it was broken in https://github.com/JuliaLang/julia/pull/38160, which changed the requirements for exporting C functions from the julia-internal shared lib. This commit restores the functionality by exporting it correctly, and also adds a unit test for snoopl, to make sure it isn't broken in the future. Sorry that we didn't test it in the first place! :) 02 January 2022, 21:05:03 UTC
f8f42ec Fix `ldiv!` with non-strided Cholesky (#43626) 02 January 2022, 10:05:46 UTC
8f192bd Missing package add prompt: Restrict which exprs to search in (#43457) 01 January 2022, 23:02:57 UTC
c04a3fd πŸ€– Bump the SuiteSparse stdlib from e4df734 to 5d7d1d6 (#43622) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 01 January 2022, 07:03:03 UTC
be20ec2 πŸ€– Bump the Pkg stdlib from 43626542 to e6104fca (#43620) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 31 December 2021, 21:17:09 UTC
2714cb9 πŸ€– Bump the Downloads stdlib from c445f45 to 43899e7 (#43619) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 31 December 2021, 19:13:33 UTC
c2d26e2 πŸ€– Bump the Statistics stdlib from 5256d57 to 2048f5b (#43621) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 31 December 2021, 18:30:17 UTC
3d11f7d test/errorshow: Disable infinite recursion tests on aarch64-darwin (#43613) We just don't get more than a couple frames back from libunwind on stack overflow when running on aarch64-darwin, so restrict the test to x64_64 also on macOS. This test also fails using the official 1.7.0 release binary. 31 December 2021, 13:35:17 UTC
ffed6b8 Change `shm_open()` calling ABI on aarch64 Darwin (#43516) Beacuse `shm_open()` is a variadic function, if we don't declare it as such, the kernel receives trash as the `permissions` value, which occasionally results in errors when creating shared memory segments. This did not happen on `x86_64` because the calling convention doesn't change so much between variadic and non-vadiadic functions. 31 December 2021, 00:42:26 UTC
5819775 Seed Libc rng from system entropy (#43606) We're seeing lots of CI failures that look like collisions in the names of temporary variables. Currently we're seeding the libc rng from a low entropy clock, which is somewhat likely to have collisions particular if (as we are), you launch all your processes at exactly the right time. Try to fix that by seeding the libc using system entropy. Of course that still leaves the potential for birthday problems, but hopfully this will tide us over until #43597 gets fixed. 30 December 2021, 21:26:17 UTC
28b47b8 Try to fix temp path collision on CI (#43596) See comments at the end of https://github.com/JuliaLang/julia/pull/38879 30 December 2021, 16:23:31 UTC
ded68b8 dropped an extra println statement, maintained readability. (#43540) 30 December 2021, 09:50:31 UTC
d052fc6 One and oneunit for triangular matrices (#43576) 30 December 2021, 09:49:34 UTC
27eb721 Update LinearAlgebra QR tests so that MKL.jl tests pass on the LinearAlgebra test suite. (#43585) 30 December 2021, 08:52:42 UTC
ab4e036 optimizer: compute side-effect-freeness for array allocations (#43565) This would be useful for Julia-level optimizations on arrays. Initially I want to have this in order to add array primitives support in EscapeAnalysis.jl, which should help us implement a variety of array optimizations including dead array allocation elimination, copy-elision from `Array` to `ImmutableArray` conversion (#42465), etc., but I found this might be already useful for us since this enables some DCE in very simple cases like: ```julia julia> function simple!(x::T) where T d = IdDict{T,T}() # dead alloc # ... computations that don't use `d` at all return nothing end simple! (generic function with 1 method) julia> @code_typed simple!("foo") CodeInfo( 1 ─ return Main.nothing ) => Nothing ``` This enhancement is super limited though, e.g. DCE won't happen when array allocation involves other primitive operations like `arrayset`: ```julia julia> code_typed() do a = Int[0,1,2] nothing end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = $(Expr(:foreigncall, :(:jl_alloc_array_1d), Vector{Int64}, svec(Any, Int64), 0, :(:ccall), Vector{Int64}, 3, 3))::Vector{Int64} β”‚ Base.arrayset(false, %1, 0, 1)::Vector{Int64} β”‚ Base.arrayset(false, %1, 1, 2)::Vector{Int64} β”‚ Base.arrayset(false, %1, 2, 3)::Vector{Int64} └── return Main.nothing ) => Nothing ``` Further enhancement o optimize cases like above will be based on top of incoming EA.jl (Julia-level escape analysis) or LLVM-level escape analysis. 30 December 2021, 07:30:52 UTC
e8d1167 Spell out ~0L literal (#43579) To avoid the compiler potentially picking the wrong size depending on standards versions. 29 December 2021, 22:04:33 UTC
f61eb87 `Base.runtests`: unset `JULIA_PROJECT` and `JULIA_LOAD_PATH` (#43575) 28 December 2021, 20:48:38 UTC
722f9d4 win32: Fix SEH frame sentinel (#43570) The last entry sentinel for Win64 SEH is `~0L` not NULL. Apparently this doesn't cause issues on windows proper, but does crash wine. Arguably if Windows doesn't have issues then we should just fix this in wine, but since we control the source and nobody else ever seems to have run into this, let's just fix it and save the good Wine folks some headache. Fixes #43569. 28 December 2021, 14:28:26 UTC
693b447 Manually implement tempname on non-windows (#38879) Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu> Co-authored-by: Elliot Saba <staticfloat@gmail.com> Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu> 28 December 2021, 10:36:38 UTC
c790938 Add atan support for missings (#43523) Allowing atan to deal with two missing arguments 27 December 2021, 10:25:51 UTC
49e6ae5 patch:Fedora julia package link (#43545) 27 December 2021, 10:23:23 UTC
83d5fdc Fix a few typos in debuggingtips.md (#43546) 26 December 2021, 23:01:55 UTC
ee16fe6 Fix a few cases of REPL completion crash (#43541) 26 December 2021, 14:12:43 UTC
a068e90 Add tests for Dense/Strided * (Sym)Tridiagonal (#43549) 26 December 2021, 11:12:52 UTC
57bd56e Fix a markdown link syntax error (#43543) 25 December 2021, 08:56:07 UTC
0064663 Add precompiles & disable constprop (#43367) * Expand precompiles These are targeted at reducing Revise latency if callbacks run synchronously. * Disable constprop on functions that don't benefit from it This shaves about 100ms off the time to load Images.jl under Revise. 24 December 2021, 08:23:10 UTC
3617299 add some NEWS entries for compiler-related changes (#43462) 23 December 2021, 18:23:51 UTC
6ee8638 Improve inference for fallback TerminalMenu config access (#43533) 23 December 2021, 18:03:40 UTC
5bd3a6d some compiler-related improvements and fixes (#43502) * improve comipler type stabilities * fix `code_typed_opaque_closure` 23 December 2021, 04:04:50 UTC
6c78ef0 optimizer: improve SROA performance (#43488) Essentially this commit reduces the runtime count # of domtree construction. The key observation is that SROA of mutable allocations isn't often successful. More specifically, during the sysimg build, `sroa_mutables!` is called `5776` times, and actual SROA happened only for `126` cases out of those cases. (, which means we should be able to avoid domtree construction in `5650`/`5776` cases). 23 December 2021, 02:09:24 UTC
5200211 RFC: Low-level API for `schedule` and `wait` (#41270) 22 December 2021, 22:05:29 UTC
0f4c8b0 Use correct delimiter for inline code. (#43524) Originally ' had been used to close an inline code section, but it should be `. 22 December 2021, 18:18:05 UTC
f2f3133 Make WINE overrideable for easier debugging (#43489) * Make WINE overrideable for easier debugging * Also use overriden wine for winepath Otherwise things will ping-pong back and forth with the system wine and never actually amke any progress. 22 December 2021, 11:27:02 UTC
bceef47 doc: we now have task migration (#43496) 22 December 2021, 02:37:19 UTC
602b46c [LLVM] Drop support for LLVM 11 (#43371) 21 December 2021, 20:40:06 UTC
4b0d6c9 Merge pull request #43127 from JuliaLang/dk/freelinalg Make LinearAlgebra.jl independent of SparseArrays.jl 21 December 2021, 17:23:50 UTC
068c55d add `sparse_*cat` 21 December 2021, 16:45:07 UTC
c308a8c Make LinearAlgebra.jl independent of SparseArrays.jl 21 December 2021, 16:45:07 UTC
7cd1da3 Add an SPDX file to the repository to streamline license and security reviews by user organizations (#42102) * Add an SPDX file to the repository. * New script contrib/updateSPDX.jl . Ran the script to update the SPDX file. 21 December 2021, 09:30:19 UTC
43efe2c πŸ€– Bump the Pkg stdlib from 247a4062 to 43626542 (#43493) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 20 December 2021, 20:56:31 UTC
fda5769 reverse iteration for eachline (#42225) 20 December 2021, 17:52:20 UTC
f835c24 fix overflow bug in prevpow (#43410) 20 December 2021, 16:26:30 UTC
fb3ee73 inlining: add missing late special handling for `UnionAll` method call (#43479) Looking at the result of <https://github.com/JuliaLang/julia/issues/43452#issuecomment-996971256>, I found that currently the inlinear sometimes fails to handle `UnionAll` call (e.g. runtime dispatch detected: Core.UnionAll(%28::TypeVar, %29::Any)). This commit adds a missing late special handling for `UnionAll` calls: > before ```julia julia> code_typed((TypeVar,)) do tv UnionAll(tv, Type{tv}) end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = Core.apply_type(Main.Type, tv)::Type{Type{_A}} where _A β”‚ %2 = Main.UnionAll(tv, %1)::Any └── return %2 ) => Any ``` > after ```julia julia> code_typed((TypeVar,)) do tv UnionAll(tv, Type{tv}) end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = Core.apply_type(Main.Type, tv)::Type{Type{_A}} where _A β”‚ %2 = $(Expr(:foreigncall, :(:jl_type_unionall), Any, svec(Any, Any), 0, :(:ccall), Core.Argument(2), :(%1)))::Any └── return %2 ) => Any ``` 20 December 2021, 08:44:38 UTC
4409c82 add const keyword to broadcasted AndAnd (#43483) Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> 20 December 2021, 07:20:45 UTC
f0c46b3 Tweak bounds check elimination (#42692) * Add GVN and move IRCE to allow more functions to vectorize * Canonicalize arraysize(Vector, 1) to arraylen(Vector) Co-authored-by: Prem Chintalapudi <premc@csail.mit.edu> Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com> 18 December 2021, 21:20:41 UTC
e68c047 Fix a case of `-Wmisleading-indentation` when building with Clang (#43472) ``` In file included from /usr/home/alex/julia/src/codegen.cpp:2005: In file included from ./intrinsics.cpp:7: In file included from ./ccall.cpp:322: ./abi_x86.cpp:78:9: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] ab.addByValAttr(Ty); ^ ./abi_x86.cpp:73:5: note: previous statement is here if (is_complex64(dt) || is_complex128(dt) || (jl_is_primitivetype(dt) && size <= 8)) ^ 1 warning generated. ``` 18 December 2021, 21:19:51 UTC
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
back to top