https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
3bf9d0e wip 24 August 2021, 23:31:55 UTC
77a3b43 WIP 24 August 2021, 19:22:16 UTC
49ae2b0 WIP 23 August 2021, 18:06:00 UTC
b6d788f WIP make codegen optional via a plugin interface follow-up to #39129 Co-authored-by: Julian Samaroo <jpsamaroo@jpsamaroo.me> 19 August 2021, 20:30:49 UTC
ad8ec92 WIP separate libjulia-internal and libjulia-codegen 19 August 2021, 20:30:44 UTC
d612c47 file.jl: add a note differentiating `cp` function from `cp` command (#41761) The `cp` function behaves more deterministically than the command and can have serious consequences if `force=true` when `dst` is a directory. Add a note to the docstring mentioning this. 16 August 2021, 20:19:32 UTC
5ff9e3a Add `range(; stop)` and `range(; length)` (#39241) As a single keyword arg only (single positional arg not allowed still) 16 August 2021, 19:07:27 UTC
3306a8b [Distributed] Fix finalizer_ref usage of lock/wait resulting in failed task switches (#41846) 16 August 2021, 18:04:47 UTC
cd43dda searchsorted: add tests for issue #10966 (#41874) 16 August 2021, 17:36:17 UTC
9ae49bc docs: add v1.7 compat for `@atomic` and fix links (#41873) 16 August 2021, 17:33:49 UTC
ab600f8 [REPL] 0nly do NFD normalization for latex tab-completion help if no match without it (#41870) 16 August 2021, 17:32:52 UTC
398d1a0 fix `current_exceptions` docstring and annotate arguments (#41897) 16 August 2021, 17:20:54 UTC
b40ae6b [LinearAlgebra] flesh out LBT API a bit more (#41452) This adds `lbt_find_backing_library()`, which is a useful debugging routine to allow advanced users/package authors to query LBT to determine which backing BLAS library will service a particular BLAS call. It also exposes the "footgun API", which allows users to directly set/get forwarding on a per-function basis. Because this has the ability to generate truly bizarre setups, we do not advertise this capability broadly (simply using `lbt_forward()` should be enough for most usecases) however it's nice to have wrapped. 15 August 2021, 15:20:19 UTC
5453b6a fix: typo spelling grammar (#41883) 15 August 2021, 13:20:15 UTC
8cad32b Add hint for :help to REPL.REPLCompletions.UndefVarError_hint (#41754) 14 August 2021, 13:41:53 UTC
19629d7 don't look for packages in code that isn't going to be run this eval (#41887) 14 August 2021, 13:25:51 UTC
6f8bb64 `AbstractInterpreter`: remove dead logic within `transform_result_for_cache` (#41884) 14 August 2021, 12:56:41 UTC
6bb978e optimizer: minor code refactor (#41886) 14 August 2021, 06:03:13 UTC
73e5522 nothing comparison improvement (#41881) 13 August 2021, 18:33:03 UTC
6ea0b78 Merge pull request #41192 from chriselrod/propinboundssharedarray @propagate_inbounds on (get/set)index(!) for SharedArray 13 August 2021, 09:00:33 UTC
f19b9a2 MINSIGSTKSZ is no longer constant in glibc (#41860) MINSIGSTKSZ is redefined to sysconf(_SC_MINSIGSTKSZ) starting from glibc 2.34 Co-authored-by: t-bltg <t-bltg@users.noreply.github.com> 12 August 2021, 19:36:18 UTC
01d439e CI (Buildkite): `llvmpasses`: use the latest rootfs image (#41864) 12 August 2021, 17:29:12 UTC
79e2f2b clarify that test macro throws outside a testset if it fails (#41756) 12 August 2021, 15:50:53 UTC
48ed43f improve `@something` hygine (#41797) * improve intermediate inferrability of `@something` ```julia let x::Union{T,Nothing} if (val = x) !== nothing # can't narrow down to `val::T` here because the type constraint # is imposed on `x` return val end end ``` * Update base/some.jl Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com> * improve escape and add test * Update test/some.jl Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com> * Update base/some.jl Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com> Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com> 12 August 2021, 13:54:09 UTC
2ebbb2b Fix firstindex in replace_ref_begin_end (fixes #41630) (#41695) 11 August 2021, 20:01:06 UTC
b458894 Merge pull request #41835 from JuliaLang/teh/revert_37940 Revert "Add vim bindings to TerminalMenus (#37940)" 11 August 2021, 17:29:20 UTC
6469ca5 THIRDPARTY.md cleanup (#41674) * Add LLVM project license text to src/disasm.cpp * Remove mention of third party code from header in src/jitlayers.cpp, since there are no markings of third party code in the actual source code. Update THIRDPARTY.md as well * More precise reference to source files using MUSL code in THIRDPARTY.md * Remove reference to joinpath in Python section of THIRDPARTY.md. The function does not appear to exist * Removed reference to cyclecount from THIRDPARTY.md since it does not apear to exist in the codebase * Remove reference to grisu from THIRDPARTY.md. This code was deleted a while ago * base/special/exp.jl was previously rewritten so that it no longer uses third party code. Remove reference from THIRDPARTY.md and add standard Julia header to exp.jl. See comments in #41095 * Add BSD-3 license to src/flisp * In THIRDPARTY.md, move FEMTOLISP reference to the third party code in src section. This is the proper location for the reference since the code is part of the Julia repository and not an external dependency * In THIRDPARTY.md, change the LIBUNWIND license link to the repository Julia actually pulls the dependency from * In THIRDPARTY.md, change the LIBUV license link to the repository Julia actually pulls the dependency from * Clearly mark references to LLVM open source license as UIUC not BSD-3. They are very similar but are recognized as different licenses. * In THIRDPARTY.md, change the DSFMT license link to the respository Julia actually pulls the code from. * In THIRDPARTY.md, change the MBEDTLS license link to the repository Julia actually pulls from. The license in that repo is Apache 2.0 only, which is the default for the project anyhow, so I removed mention of the alternate GPL licensing option * In THIRDPARTY.md, change the SUITESPARSE license link to the repository Julia pulls the dependency from. * Add missing reference to LIBBLASTRAMPOLINE in THIRDPARTY.md * Add missing reference to LIBWHICH in THIRDPARTY.md * Add missing reference to NGHTTP2 in THIRDPARTY.md * Add hyperlinks between LICENSE.md and THIRDPARTY.md * In THIRDPARTY.md, move LIBWHICH from stdlib dependencies to build tools 11 August 2021, 14:37:24 UTC
59fe04f make clean external stdlib clones (#41861) 11 August 2021, 12:22:54 UTC
c12e63f Profile: allocate buffer for n instruction pointers per thread (#41821) 11 August 2021, 02:09:39 UTC
cc3fc0b atomics: switch to using exact types for return pairs (#41659) This makes many more functions type-stable, by directly preserving the element type when making the copy, and prints as `old => new`, like the argument to atomic replace. For replace, we use Pair{FT, FT} (like the argument). For modify, we use NamedTuple{(:old, :success), Tuple{FT, Bool}}. 10 August 2021, 21:31:58 UTC
2d81742 win: fix lock function call for backtrace collection (#41849) Avoids an assert when this is triggered 10 August 2021, 21:31:22 UTC
41ce35d codegen: fix emission criteria for some special functions (#41813) We depend on taking the address of these functions to support unwinding properly, particularly on Win64. Fixes #41750 10 August 2021, 21:30:43 UTC
34dc044 CI (Buildbot, GHA): Simplify the `permissions` key in the workflow file for the "Statuses" workflow (#41851) 10 August 2021, 17:33:04 UTC
c2b4b38 [IRShow] expose index information to postprinter (#41828) I am experimenting with showing some other information besides just the types here as well and I think this would be generally useful. This passes that information as an `IOContext` as to not break any downstream uses of this code. 10 August 2021, 11:09:54 UTC
cd6e67f Include an additional patch for OpenBLAS. (#41842) Fixes dynamic arch detection on certain ARMv8 cores. See https://github.com/xianyi/OpenBLAS/pull/3060 10 August 2021, 06:02:17 UTC
68c4585 πŸ€– Bump the Downloads stdlib from cd002c3 to 848d374 (#41803) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 09 August 2021, 21:49:44 UTC
a1e9fd3 nit type-stability in `StackTraces.lookup` `line` variable (#41847) 09 August 2021, 20:41:08 UTC
727fe6a InteractiveUtils: print assembly code for code_native (#41789) The less reliable (and less verbose) disassembly version is selectable with dump_module=false. Fixes #38035 Fixes #29588 Fixes #39661 09 August 2021, 19:18:28 UTC
afc7e72 typo fix in documentation (#41838) 09 August 2021, 17:06:20 UTC
702cf55 Revert "Add vim bindings to TerminalMenus (#37940)" This reverts commit 4a19b753804ed0b06fab9681309941862eaa7227. Closes #41799. 09 August 2021, 11:16:34 UTC
e87e30c ?(x, y)TAB completes methods accepting x, y (#38791) * ?(x, y)TAB completes methods accepting x, y Closes #30052 xref #38704 xref #37993 Co-authored-by: Jameson Nash <vtjnash@gmail.com> 09 August 2021, 11:15:58 UTC
7005b7d CI (Buildbot, GHA): add a note about token permissions (#41825) 09 August 2021, 07:57:21 UTC
9665d2a CI (Buildbot, GHA): In the "Statuses" workflow, remove the `tester_linuxarmv7l` status (#41832) 09 August 2021, 05:20:13 UTC
0d1e548 CI (Buildbot, GHA): in the "Statuses" workflow, remove the `tester_linuxppc64le` status (#41831) 09 August 2021, 04:35:47 UTC
ff4fe28 πŸ€– Bump the NetworkOptions stdlib from 6cea813 to 42a0b5f (#41804) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 08 August 2021, 19:55:46 UTC
bdd7457 CI (Buildbot, GHA): in the "Statuses" workflow, remove the `macosaarch64` and `musl64` statuses (#41824) 08 August 2021, 03:02:29 UTC
08fae51 CI (Buildbot, GHA): in the "Statuses" workflow, we only need to create pending (yellow) statuses for the `tester_` jobs (#41822) 08 August 2021, 00:55:55 UTC
0e8bb95 CI (Buildbot): a simpler way of getting the SHA for the "Statuses" action (#41817) 07 August 2021, 04:39:27 UTC
ed866b5 CI (Buildbot): Fix a bug in the "Create Pending Statuses" GitHub Actions workflow (#41815) 07 August 2021, 03:41:42 UTC
d62e206 CI (Buildbot): for the "Create Pending Statuses" GitHub Actions workflow, use the `pull_request_target` event instead of the `pull_request` event (#41814) 07 August 2021, 03:10:19 UTC
6fce8d5 CI (Buildbot): As soon as a PR is created or updated, create pending (yellow) commit statuses for all Buildbot jobs (#41811) 07 August 2021, 02:46:50 UTC
131b75b CI: Disable Codecov commit statuses (#41812) 07 August 2021, 02:11:27 UTC
cb30aa7 CI (Buildkite): on the `platform_linux` jobs, after building Julia, make sure that the working directory is clean (#41796) 06 August 2021, 03:11:54 UTC
a86fe0f fix `break` outside of loop in gc-debug (#41776) 06 August 2021, 01:05:54 UTC
d18d8a4 compiler: speed up bootstrapping time by 25% (#41794) The optimizer code is full of loop constructions and I found they're really better to not run in interpreter. With this PR, we create the caches of the optimizer code first and it speeds up the succeeding bootstrapping to create the caches for the overall inference code. On my machine, the bootstrapping took about 80 seconds previously, but on this PR the time is reduced to about 60 seconds. 05 August 2021, 17:12:17 UTC
5118a1b Add missing makefile header link (#41773) Without this the file won't get rebuilt if the header changes, potentially causing ABI mismatches and crashes. 04 August 2021, 15:37:00 UTC
e57dc3d string: improve error message for in -> occursin (#41783) 04 August 2021, 13:42:40 UTC
32b1141 Merge pull request #41775 from jebej/patch-1 Add `canonicalize` to Dates docs 04 August 2021, 02:34:04 UTC
68db4b7 [Sockets] Embed note warning about broken DNS configuration (#41734) Default Ubuntu installations contain a faulty DNS configuration that returns `EAI_AGAIN` instead of `EAI_NONAME`. To fix this, it appears that installing `libnss-resolve` works to fix the tests, so suggest that if we're on Linux and this test is noticed to be failing. Co-authored-by: Elliot Saba <staticfloat@gmail.com> 04 August 2021, 01:10:02 UTC
a27b844 Update networking-and-streams.md (#41486) Added a section at the end showing examples of IPv4/IPv6 UDP multicast. See https://github.com/JuliaLang/julia/issues/39208. Co-authored-by: Jameson Nash <vtjnash@gmail.com> 03 August 2021, 22:08:00 UTC
81c29b2 Add `canonicalize` to Dates docs Also add a simple paragraph for `CompoundPeriod` and show an example of `canonicalize` in the text. 03 August 2021, 21:23:45 UTC
ca0331f fix #40048, stack overflows in type intersection (#41687) 03 August 2021, 17:14:26 UTC
cd200d1 Merge pull request #40803 from sostock/convert-compoundperiod-to-period Enable conversion of `CompoundPeriod` to `Period` 03 August 2021, 15:48:09 UTC
b686e71 [Timing Imports] Use atomic_add! and atomic_sub! (#41737) 03 August 2021, 15:24:37 UTC
4f28e6f Merge pull request #41650 from Seelengrab/printf-format-fix Printf %g/%G format fix for Inf/NaN 03 August 2021, 12:54:51 UTC
705f489 πŸ€– Bump the Pkg stdlib from 39cc95a6 to 5434d05f (#41766) 03 August 2021, 12:12:45 UTC
f711f0a [CONTRIBUTING.md] Add note that we prefer `squash+merge` when merging PRs. 02 August 2021, 16:51:50 UTC
ed13d09 Shuffle profile round robin thread order before taking every sample (#41732) Uses O(n) "modern Fisher–Yates shuffle" - https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#The_modern_algorithm Add C buffer to store order for sampling threads in Profile, which is shuffled on every sample. 02 August 2021, 16:49:39 UTC
4bcdf9d Small documentation enhancement and typo fix (#41758) 02 August 2021, 15:23:28 UTC
6f29690 make sure to use `io` passed to `UndefVarError_hint` (#41757) 02 August 2021, 13:43:23 UTC
4c3829d guard `isempty (close #41656) (#41752) 02 August 2021, 08:30:24 UTC
bdacfa2 Fix my name in the CITATION.cff [ci skip] [skip ci] 31 July 2021, 20:41:20 UTC
8556e93 Add the `CITATION.cff` file to take advantage of GitHub's new support for the Citation File Format (#41729) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com> 31 July 2021, 13:36:31 UTC
f0bc415 update mailmap 31 July 2021, 12:57:06 UTC
d9fe331 Revert fix @fastmath exp it actually broke it. 31 July 2021, 03:33:43 UTC
6218ce3 make `@fastmath exp` not overflow to small negatives This should be basically the same speed (since the integer and floating point happen in parallel), but much more usable since now `@fastmath exp(1000f0) actually turns to `Inf32` correctly). 31 July 2021, 01:52:00 UTC
d245c68 Changed isone type to AbstractMatrix + added test (#41634) 30 July 2021, 13:38:17 UTC
795935f more type-stable type-inference (#41697) (this PR is the final output of my demo at [our workshop](https://github.com/aviatesk/juliacon2021-workshop-pkgdev)) This PR eliminated much of runtime dispatches within our type inference routine, that are reported by the following JET analysis: ```julia using JETTest const CC = Core.Compiler function function_filter(@nospecialize(ft)) ft === typeof(CC.isprimitivetype) && return false ft === typeof(CC.ismutabletype) && return false ft === typeof(CC.isbitstype) && return false ft === typeof(CC.widenconst) && return false ft === typeof(CC.widenconditional) && return false ft === typeof(CC.widenwrappedconditional) && return false ft === typeof(CC.maybe_extract_const_bool) && return false ft === typeof(CC.ignorelimited) && return false return true end function frame_filter((; linfo) = sv) meth = linfo.def isa(meth, Method) || return true return occursin("compiler/", string(meth.file)) end report_dispatch(CC.typeinf, (CC.NativeInterpreter, CC.InferenceState); function_filter, frame_filter) ``` > on master ``` ═════ 137 possible errors found ═════ ... ``` > on this PR ``` ═════ 51 possible errors found ═════ ... ``` And it seems like this PR makes JIT slightly faster: > on master ```julia ~/julia/julia master ❯ ./usr/bin/julia -e '@time using Plots; @time plot(rand(10,3));' 3.659865 seconds (7.19 M allocations: 497.982 MiB, 3.94% gc time, 0.39% compilation time) 2.696410 seconds (3.62 M allocations: 202.905 MiB, 7.49% gc time, 56.39% compilation time) ``` > on this PR ```julia ~/julia/julia avi/jetdemo* 7s ❯ ./usr/bin/julia -e '@time using Plots; @time plot(rand(10,3));' 3.396974 seconds (7.16 M allocations: 491.442 MiB, 4.80% gc time, 0.28% compilation time) 2.591130 seconds (3.48 M allocations: 196.026 MiB, 7.29% gc time, 56.72% compilation time) ``` 29 July 2021, 19:04:33 UTC
66f9b55 Revert "Merge pull request #38405 from JuliaLang/vc/distributed_ts" (#41722) Also reverts "fixup to pull request #38405 (#41641)" Seems to be causing hanging in CI testing. This reverts commit 5af1cf0faf10308857f319b17432b007e318516b and this reverts commit 5a1680533b461471f537f5f5d4ee3c2866b21e1f, reversing changes made to 02807b279a5e6d5acaeb7095e4c0527e2a5c190e. 29 July 2021, 16:07:17 UTC
6c4f216 add stream shutdown and support half-duplex operation (#40783) Fixes one of the issues mentioned in #24526 29 July 2021, 16:05:08 UTC
fa30e64 Merge pull request #41685 from JuliaLang/vc/gc_probes Add support for USDT probes 29 July 2021, 11:37:53 UTC
66b40ad add probes for GC phases 29 July 2021, 10:20:12 UTC
d066a8e doc: explain how to enable debug for multiple modules (#41719) 28 July 2021, 18:16:58 UTC
b50bf04 upgrade libuv to v2-1.42.0 (#41710) 28 July 2021, 17:48:24 UTC
1c951f7 Fix `length(::AbstractUnitRange)` and speed up `length(::AbstractUnitRange{<:Rational})` (#41479) * Fix length(::AbstractUnitRange), faster length(::AbstractUnitRange{<:Rational}) 28 July 2021, 09:53:28 UTC
57ce0e6 add compat annotations for `replace` on tuples (#41701) The methods were added in #38216. 28 July 2021, 09:17:10 UTC
2fbeef8 Init codegen during sysimg restore (#41676) 27 July 2021, 14:44:31 UTC
86ad7c4 Add support for uprobes in the buildsystem 27 July 2021, 13:29:51 UTC
8ece865 ASAN improvements (#41675) * Move sanitizer compiler definitions to platform.h. * Define ASAN defaults in the loader executable. * Default to no RTLD_DEEPBIND for LBT when using ASAN. * Simplify contrib/asan/ Co-authored-by: Takafumi Arakaki <aka.tkf@gmail.com> 27 July 2021, 06:05:14 UTC
5f4c719 Merge pull request #41644 from JuliaLang/vc/emit_signal_fence [ARM/AArch64] Use CreateFence instead of inline assembly 26 July 2021, 22:27:12 UTC
86efda7 Export functions related to atomic fields in julia.h (#41704) 26 July 2021, 21:42:53 UTC
4d7f886 optimizer: Refactor out redundant `nargs` parameter (#41699) These functions have taken `nargs` parameters for a long time and through many refactors. However, at this point, having this parameter makes little sense. In fact, we were passing it in three different places here: 1. As an explicit argument 2. As a field of the OptimizationState 3. Implicitly via the Method def of the MethodInstance in the OptimizationState. Worse, we were inconsistent about whether the first argument counted as an argument, so there was +/- 1 between these values. Clean that all up by deleting cases 1 and 2 and retriving it directly from the MethodInstance in the two places that need it. 26 July 2021, 21:41:42 UTC
f7f46af CI (Buildkite): for the signed pipeline test, use `signature_file` instead of `signature` (#41706) * CI (Buildkite): for the signed pipeline test, use `signature_file` instead of `signature` * Base64-decode the signature before writing it to the signature file 26 July 2021, 02:20:55 UTC
343c2b1 CI (Buildkite): include the short commit hash in the artifact filename (#41700) 26 July 2021, 01:42:39 UTC
e6e79f7 CI (Buildkite): Update all rootfs images to version v3.1, add some documentation, and reorganize/rename/move a bunch of configuration files (#41698) 25 July 2021, 09:16:24 UTC
c7097c5 CI (Buildkite): Add the `package_linux64` and `doctest` builders (#41541) Co-authored-by: Elliot Saba <staticfloat@gmail.com> 25 July 2021, 02:58:54 UTC
0cbb685 improve constant prop in gcd (#41258) With this PR: ```julia julia> f(x) = x * (2//3) f (generic function with 1 method) julia> @code_typed f(2.3) CodeInfo( 1 ─ %1 = Base.mul_float(x, 0.6666666666666666)::Float64 └── return %1 ) => Float64 ``` It is a bit unfortunate to have to resort to `@pure` here, but I could not get it to constant fold any other way. I don't think this usage should be problematic since the method only accepts `BitInteger`s and only ever calls methods that really shouldn't be redefined. fixes #32024 24 July 2021, 13:45:38 UTC
073af4a Discuss the difference in precedence for the `:` operator between R and Julia. (#41681) 23 July 2021, 23:10:20 UTC
4f77aba add length type parameter to StepRangeLen and LinRange (#41619) Allows creating these ranges for any type of integer lengths. Also need to be careful about using additive identity instead of multiplicative, and be even more consistent now about types in a few places. Fixes #41517 23 July 2021, 20:55:37 UTC
4931faa allows `Core.Compiler` to use `@invoke` and `@invokelatest` (#41635) A simple code organization refactor to allow `Core.Compiler` to use `@invoke` and `@invokelatest`, which might be necessary for incoming compiler plugin prototyping. 23 July 2021, 04:29:44 UTC
back to top