https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
cfd6119 🤖 Bump the Pkg stdlib from e31a3dc7 to 3aa15055 (#44297) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 22 February 2022, 05:36:30 UTC
01855a7 Mark stack as non-executable (#43481) The linker is unable to detect that executable stack is not required and so marks libjulia.so as requiring it Pass `-Wl,-z,noexecstack` to ensure that the stack is marked as not executable. This improves security and allows Julia to run on systems where SELinux has been configured to disallow executable stacks. AFAIK no change is needed on OSes other than Linux as they do not allow executable stacks by default. 22 February 2022, 03:35:19 UTC
76cf176 Doc build steps needed for analyzegc (#43901) 21 February 2022, 21:29:06 UTC
c5bc69c Fix bad precompile statements via an output lock (#44252) 21 February 2022, 15:37:54 UTC
ac922b0 Regenerate all the checksums (#44275) 21 February 2022, 15:04:07 UTC
d75eea1 Add tests for issue #28869. (#44291) for the issue (and a trivial typo fix). 21 February 2022, 15:03:01 UTC
0b48b91 Fix aliasing bug in copy!(x, x) for x::AbstractSet and x::AbstractDict, fixes #41268 (#44265) 21 February 2022, 09:47:52 UTC
0a294f9 doc: minor tweak on `startswith`/`endswith` docs (#44288) This change makes it more clear whether `startswith(prefix)` is equivalent to: - `s -> startswith(s, prefix)` or - `s -> startswith(prefix, s)` 21 February 2022, 09:44:26 UTC
1777553 inference: override return type inference by const-prop more carefully (#44282) A return type derived by const-prop' inference can be wider than that of non const-prop' inference in rare cases e.g. when there are cycles but cached result is still accurate. This commit checks if the const-prop'ed result is really more accurate than non-const result. fix https://github.com/Ferrite-FEM/Tensors.jl/issues/178 21 February 2022, 06:15:52 UTC
f879d20 Merge pull request #44276 from JuliaLang/vc/newpm3 Make another wave of passes NewPM compatible 20 February 2022, 17:01:56 UTC
f45b6ad [CPUID] Add ISA entries for A64FX and M1 (#44194) * [CPUID] Rework how current ISA is determined * [CPUID] Add ISA entry for A64FX * [CPUID] Add ISA entry for Apple Silicon M1 * [CPUID] Simplify collection of full set of features for architecture * [CPUID] Remove AES from A64FX ISA, not all chips appear to have it 20 February 2022, 16:17:43 UTC
6936433 Merge pull request #44270 from dnadlinger/debuginfo-fix-arm32 debuginfo: Fix build on 32-bit ARM 20 February 2022, 15:13:30 UTC
b0a3130 [LLVM][PM] Make LowerPTLS NewPM compatible 20 February 2022, 14:55:30 UTC
7ad142b [LLVM][PM] Make MultiVersioning NewPM compatible 20 February 2022, 14:55:30 UTC
a292df3 [LLVM][PM] Make GCInvariantVerifier NewPM compatible 20 February 2022, 14:55:30 UTC
e69fe9b [LLVM][PM] Make LowerExcHandlers NewPM compatible 20 February 2022, 14:55:30 UTC
e723d37 Profile: Use grace period to avoid trailing signals from timer (#44268) 20 February 2022, 14:40:11 UTC
6409a8a Add more negative stride support to BLAS Level 1/2 functions (#42957) 20 February 2022, 10:20:01 UTC
94838dc CI: enable assertions (both Julia assertions and LLVM assertions) for the `llvmpasses` job (#44278) 20 February 2022, 09:31:41 UTC
e454858 In the `sysimage.mk` Makefile, set the `JULIA_NUM_THREADS=1` environment variable when running the `generate_precompile.jl` script (#44281) 20 February 2022, 09:20:18 UTC
7615063 Make more passes NewPM compatible (#44277) * Make PropagateAddrspaces and RemoveAddrspaces NewPM compatible * Fix LateGCLower analysis invalidation * Fix missing return 20 February 2022, 07:25:23 UTC
2714b92 Profile.Allocs: jl_raw_alloc_t.task is untyped pointer (#44269) 20 February 2022, 04:52:38 UTC
2816a6f effects: make `:terminates_globally` functional on recursive functions (#44210) As with loop, it's hard to prove termination of recursive call automatically. But with this commit we can manually specify termination at least. ```julia Base.@assume_effects :terminates_globally function recur_termination1(x) x == 1 && return 1 1 < x < 20 || throw("bad") return x * recur_termination1(x-1) end @test fully_eliminated() do recur_termination1(12) end Base.@assume_effects :terminates_globally function recur_termination2(x) x == 1 && return 1 1 < x < 20 || throw("bad") return _recur_termination2(x) end _recur_termination2(x) = x * recur_termination2(x-1) @test fully_eliminated() do recur_termination2(12) end ``` 20 February 2022, 04:16:59 UTC
ad52223 Make AllocOpt NewPM compatible (#44273) 20 February 2022, 02:23:28 UTC
d849ed7 fix EscapeAnalysis.jl documentation (#44257) 20 February 2022, 02:05:33 UTC
c9ac2ea debuginfo: Fix build on 32-bit ARM This slipped through in 955d4271, as we aren't building for 32 bit ARM during CI right now. GitHub: Fixes #44254. 20 February 2022, 00:15:44 UTC
f3e3554 Merge pull request #44245 from JuliaLang/vc/llvm_14 Fix build against LLVM 14 19 February 2022, 23:33:10 UTC
627016a Update LBT to 5.0.1 for source build (#44258) 19 February 2022, 22:13:58 UTC
623ceb7 Ensure that `open(::Function, ::Cmd)` waits for termination (#44078) On Windows, we observed occasional issues where an error within the function callback to the `open(::Function, ::Cmd)` method would cause problems due to assuming that the opened process had finished by the time the `open()` call was finished. In most cases this was true, however on Windows, it was found that we need to explicitly `wait()` upon the process object to ensure that all file handles held by the subprocess were properly closed by the time `open()` is finished. Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 19 February 2022, 17:47:41 UTC
928f63c Fix dot(::Adjoint, ::Adjoint) for numbers that don't commute under multiplication (#44219) Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com> 19 February 2022, 17:46:55 UTC
4061e8f fix #44239, regression in keyword args in getindex (#44246) 19 February 2022, 17:45:05 UTC
749a658 Add docstring to `String` (#43943) The type `String` itself did not have a docstring, instead the type is documented through two of its constructors. Add docstring to `String`, and remove redundant information from the constructor docstrings. In particular, mention that `String`s, while they are interpreted as being UTF8 encoded, do not assume strings are valid UTF8, and may be arbitrary byte sequences. 19 February 2022, 15:43:33 UTC
5bd0545 Fix get/set_fpcr_aarch64 (#44256) On Aarch64, the `fpcr` register is 64bit wide, although the top 32bit are currently unused and reserved for future usage. Nevertheless, we should safe and restore the full 64 bit, not just 32 bit. This also silences a compiler warning about this. Reference: <https://developer.arm.com/documentation/ddi0595/2021-06/AArch64-Registers/FPCR--Floating-point-Control-Register> 19 February 2022, 15:41:17 UTC
f852c88 Fix missing `jl_effective_threads` declaration (#44251) 19 February 2022, 15:31:44 UTC
700c69b fix deprecated AlignedLoad 19 February 2022, 15:29:13 UTC
074d761 fix some missing includes 19 February 2022, 15:29:13 UTC
ed9851b AttrBuilder now takes LLVMContext 19 February 2022, 15:29:12 UTC
f544321 Extend doc-string for `@deprecate` (#42892) 19 February 2022, 08:49:10 UTC
3453775 Use uv_thread_getaffinity when --threads=auto (#42340) Co-authored-by: Jameson Nash <vtjnash@gmail.com> 19 February 2022, 03:24:22 UTC
482b04c Elaborate what egal means (#44248) Several people were confused by what `egal` means here. Put `===` in parentheses so people know what is meant. 19 February 2022, 02:53:17 UTC
f5d9b86 fix bug in `addenv` for environment entries with embedded `=` (#44212) Co-authored-by: Jameson Nash <vtjnash@gmail.com> Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com> 18 February 2022, 21:32:57 UTC
15dcd5b Fix build warning in gc-alloc-profiler.cpp: cast to (size_t) (#44180) `std::vector::size()` returns a `size_t`, so we need to cast the int `jl_n_threads` to a `size_t` for the comparison. 18 February 2022, 21:25:34 UTC
923fe92 Fix CITATION.cff (#44236) 18 February 2022, 20:45:07 UTC
2fe57fd Merge pull request #42463 from JuliaLang/vc/newpm2 [LLVM] Convert more passes to NewPM 18 February 2022, 19:58:13 UTC
6c51d9e fix nothrow check for `get_binding_type` (#44229) This got missed in #43671. 18 February 2022, 18:04:07 UTC
39e849a set type of statement when processing `GlobalRef`s (#44200) Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> Co-authored-by: Jameson Nash <vtjnash@gmail.com> 18 February 2022, 18:03:35 UTC
daa0849 `AbstractInterpreter`: make it easier to overload pure/concrete-eval (#44224) fix #44174. 18 February 2022, 14:05:27 UTC
b8e5d7e Reduce number of `getindex(::Type, ...)` methods (#44127) Previously, there were special cases for `T[]`, `T[a]`, `T[a,b]` and `T[a,b,c]`. Together with the general case for more elements, that meant five methods to consider in cases like `T[x...]` where the length of `x` was not known at compile time. That was beyond the inference limit and such a call would be inferred as `Any`. So this change gets rid of all the special cases. The loop-based general case worked well if all arguments were of the same type, but otherwise suffered from type-instability inside the loop. Without the special cases for low element count this would be hit more often, so for the non-homogeneous case, the loop is replaced with a call to `afoldl` that basically unrolls the loop for up to 32 elements. 18 February 2022, 08:47:33 UTC
ea3d788 [LLVM][PM] Make FinalLowerGC NewPM compatible 18 February 2022, 04:09:10 UTC
7600bfd [LLVM][PM] Make JuliaLICM NewPM compatible 18 February 2022, 03:22:21 UTC
8db9654 [LLVM][PM] Make LateLowerGC NewPM compatible 18 February 2022, 03:22:21 UTC
1ad2396 make `cat(As..., dims=Val((1,2,...))` work (#44211) 17 February 2022, 21:31:22 UTC
4abb47f Add AbstractString to strings documentation (#43935) 17 February 2022, 21:13:45 UTC
17379e0 Fixes to compile=all (#44213) - adds a null check to `jl_get_unspecialized` - prevents an infinite loop in `jl_compile_all_defs` 17 February 2022, 20:00:18 UTC
68bae54 Merge pull request #44214 from JuliaLang/vc/new_pm_plugin [NewPM] add pass plugin 17 February 2022, 17:57:28 UTC
072c041 Profile: Minor fixes. Signal handling fix. (#44199) 17 February 2022, 17:52:29 UTC
105c77a Allow more time for profile print when Sockets and Threads watchdogs request info (#44218) 17 February 2022, 17:46:29 UTC
7b39515 Set VERSION to 1.9.0-DEV, move 1.8 NEWS to HISTORY, update SPDX (#44203) 17 February 2022, 07:33:22 UTC
7a1c20e Eagerly do boundscheck when indexing CartesianIndices with CartesianIndices (#42235) 17 February 2022, 03:58:34 UTC
2aaa25a 🤖 Bump the Pkg stdlib from b4da4946 to e31a3dc7 (#44208) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 17 February 2022, 03:51:39 UTC
4930fc9 add reverse iteration for Cmd (#43498) 17 February 2022, 01:06:53 UTC
3887e01 [NewPM] add pass plugin 16 February 2022, 21:21:57 UTC
7889b2a edit NEWS for 1.8 (#44209) 16 February 2022, 21:17:44 UTC
95f7ce2 Add `Base.` to make it more explicit (#44205) These names are NOT exported. Add `Base.` to make reader learn easier. 16 February 2022, 20:22:22 UTC
8207f5d optimizer: Julia-level escape analysis (#43800) This commit ports [EscapeAnalysis.jl](https://github.com/aviatesk/EscapeAnalysis.jl) into Julia base. You can find the documentation of this escape analysis at [this GitHub page](https://aviatesk.github.io/EscapeAnalysis.jl/dev/)[^1]. [^1]: The same documentation will be included into Julia's developer documentation by this commit. This escape analysis will hopefully be an enabling technology for various memory-related optimizations at Julia's high level compilation pipeline. Possible target optimization includes alias aware SROA (#43888), array SROA (#43909), `mutating_arrayfreeze` optimization (#42465), stack allocation of mutables, finalizer elision and so on[^2]. [^2]: It would be also interesting if LLVM-level optimizations can consume IPO information derived by this escape analysis to broaden optimization possibilities. The primary motivation for porting EA by this PR is to check its impact on latency as well as to get feedbacks from a broader range of developers. The plan is that we first introduce EA to Julia Base by this commit, and then merge the depending PRs built on top of this commit later. This commit simply defines EA inside Julia base compiler and enables the existing test suite with it. In this commit we don't run EA at all, and so this commit shouldn't affect Julia-level compilation latency. In the depending PRs, EA will run in two stages: - `IPO EA`: run EA on pre-inlining state to generate IPO-valid cache - `Local EA`: run EA on post-inlining state to generate local escape information used for various optimizations In order to integrate `IPO EA` with our compilation cache system, this commit also implements a new `CodeInstance.argescapes` field that keeps the IPO-valid cache generated by `IPO EA`. 16 February 2022, 16:04:29 UTC
2d1ea3c Fix `stride(A, i)` for 0-dim inputs (#44090) Fixes #44087 16 February 2022, 16:02:23 UTC
3e5cd3c Upgrade libgit2 to 1.3.0, libssh2 to 1.10.2, mbedtls to 2.28 and libcurl to 7.81.0 (#43250) 16 February 2022, 15:09:20 UTC
d85108a Add missing optimization for `iterate(::LogicalIndex{<:CartesianIndex,<:BitArray})` (#43448) * make `collect(::LogicalIndex)` faster by call `findall` * borrow code from findall borrow code from findall * Update base/multidimensional.jl Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com> Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com> 16 February 2022, 14:33:16 UTC
1a3da30 Addition to release checklist in makefile (#43709) 16 February 2022, 11:57:28 UTC
76dc379 Tighten validation of `hvncat` implementation (#43940) 16 February 2022, 11:41:54 UTC
c839221 fix next prompt detector in `generate_precompile_statements` (#44196) 16 February 2022, 11:24:13 UTC
983598a remove `isva` field from OpaqueClosure (#44008) Instead allow specifying an argument tuple type separately. 15 February 2022, 22:45:39 UTC
2db86f2 completely initialize SystemError (#44192) 15 February 2022, 20:49:20 UTC
540a807 Redo: Add profiling of already running tasks via SIGINFO/SIGUSR1 (#44185) * Redo: Add profiling of already running tasks via SIGINFO/SIGUSR1 * fix precompile script 15 February 2022, 20:27:52 UTC
7cd11a6 Enable suppression of warnings from ambiguity & unbound tests (#43817) * Revert "filesystem & binaryplatforms: remove undefined vars from exports (#43631)" This reverts commit a3c27989cd03f32c428503d0a8b8f4f8e1057fe1. * Enable suppression of warnings in ambiguity & undefined tests 15 February 2022, 18:58:53 UTC
4842007 fix UndefRefError for documentation system (#44060) * fix UndefRefError for documentation system * add a test Co-authored-by: Jameson Nash <jameson@juliacomputing.com> 15 February 2022, 17:46:53 UTC
9542577 Add feature detection for ARM/MacOS (#41924) 15 February 2022, 13:17:15 UTC
cc345f6 fix error for assignment to global of wrong type (#44183) Accidentally missed this in #43671 15 February 2022, 07:41:30 UTC
8e8676d Add a compat entry for three argument div (#44181) 15 February 2022, 06:51:18 UTC
c656433 Revert "Add profiling of already running tasks via SIGINFO/SIGUSR1 (#43179)" (#44184) This reverts commit a9aad9784b5f94a518263172702379b390e8856d. 15 February 2022, 05:53:44 UTC
738066c macro deprecate: docs tweak (#44178) 15 February 2022, 05:52:05 UTC
88edb11 use specialized code when compiling opaque closure expressions (#44176) invoke specialization when an OC is created at run time 15 February 2022, 04:15:46 UTC
8d8d58f fix escaping of `gen_call_with_extracted_types_and_kwargs` docstring(#44177) 15 February 2022, 03:40:57 UTC
a9aad97 Add profiling of already running tasks via SIGINFO/SIGUSR1 (#43179) 15 February 2022, 03:11:18 UTC
07f0fdb simplify reinterpret array code (#43955) Avoid one of the memcpy calls, when possible. 15 February 2022, 02:00:52 UTC
3897667 Change PATH_MAX to JL_PATH_MAX (#43986) 15 February 2022, 01:27:37 UTC
99aab66 Re-export `jl_add_optimization_passes` (#44169) 14 February 2022, 21:09:44 UTC
b5f1a19 add type annotations for non-constant Base globals (#44166) * add type annotations for non-constant Base globals * remove no-longer needed callsite annotations 14 February 2022, 20:43:43 UTC
ed19129 fix #44086, missing field reordering in `NamedTuple{n,T}(::NamedTuple)` (#44132) 14 February 2022, 20:36:26 UTC
17a4024 [REPLCompletions] set working directory to \ (#44157) Using C: would try to go to ENV["=C:"], which we might have rmdir earlier. We just need the root here for the test, so specify that exactly so we go to C:\ and not the last working directory on C. 14 February 2022, 20:11:02 UTC
d0b8590 Bump version number in README (#44167) Update the version tag in the `git checkout` instruction from `v1.7.0` to `v1.7.2` 14 February 2022, 16:39:05 UTC
f7b2c3d [Distributed] exec remote process from shell (#44156) Keeps the job management a bit cleaner, since we will reuse the pid from sh, rather than appearing as a separate subprocess. 14 February 2022, 09:29:48 UTC
5e7b6dd inference: look for `:terminate_globally` override in backedge termination check (#44106) Now we can "fix" #41694: ```julia Base.@assume_effects :terminates_globally function issue41694(x) res = 1 1 < x < 20 || throw("bad") while x > 1 res *= x x -= 1 end return res end @test fully_eliminated() do issue41694(2) end ``` 14 February 2022, 01:06:55 UTC
2842fe1 put default schedule first in `@threads` docstring (#44163) 14 February 2022, 00:23:32 UTC
3cfe5ca Merge pull request #44162 from jpsamaroo/jps/alloc-ns-ct Profile.Allocs: Add task and timestamp (take 2) 14 February 2022, 00:21:08 UTC
1e86463 faster inv and div for Complex{Union{Float16, Float32}} (#44111) * faster inv and div for Complex{Union{Float16, Float32}} * fix float64 division bug 13 February 2022, 23:52:41 UTC
befe38f add errorshow for DimensionMismatch (#44121) Close #44117 13 February 2022, 21:59:51 UTC
1813978 Polish comments prose in processor.h (#44161) 13 February 2022, 21:58:11 UTC
2d6a84e Add internal docs for staticdata.c (#44129) 13 February 2022, 20:53:53 UTC
c5fa1f7 build: remove duplicate julia args in generate_precompile (#44154) 13 February 2022, 20:50:50 UTC
back to top