https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
3bc77e1 HACK: CustomLattice element 23 June 2021, 21:50:46 UTC
8a44e2e Export jl_get_pgcstack from libjulia The pgcstack symbol is special because embedders are supposed to define it themselves in localexec tls, and then access it that way. However, there is another case of of libraries that link against julia, but are not embedders, but rather plugins to be loaded later (e.g. CxxWrap). These do need access to the pgcstack, but do not have a priori access to the localexec of the embedder. Thus, re-export the `jl_get_pgcstack` function that provides access to our internal getter for the pgcstack. 22 June 2021, 22:07:26 UTC
39ab4f6 Add an inference remark if constprop is disabled by function heuristic Would have saved me some debugging, since the function I was trying to get to constprop happened to be a method of `*`. 22 June 2021, 19:10:13 UTC
c5a08e7 Fix #41299 - Dropped error case in :> special case inliner We have custom inference for :>, which prevents the :> method itself from being inferred. As a result, it needs to be inlined manually. However, this inlining was overeager and was dropping an error check when the result was inferred to `Const`. Fix that by verifying that the inlined <: call would have been nothrow. 22 June 2021, 18:16:05 UTC
82784fe choosetests: move testnames array at top-level (#40182) This allows scripts loading this file to know the list of tests. 15 June 2021, 10:14:26 UTC
88a0560 Fix for reverse search, fixes #39401, fixes #40244(#41203) 15 June 2021, 07:04:02 UTC
e34c77b Fix Rational{T} constructor for abstract T (#41229) 15 June 2021, 07:00:56 UTC
2f1a958 `hvncat`: enable concatenations to return an array of the same kind (#41194) 14 June 2021, 23:52:52 UTC
0ff49d0 Doc: Proper attribution (#41205) * Doc: Proper attribution [skip ci] * Update Xoshiro.jl [skip ci] * Fix whitespace [skip ci] 14 June 2021, 20:34:45 UTC
ed24cfb make task and distributed words to link. (#41212) 14 June 2021, 20:33:50 UTC
9a9e5a3 Correct _in_range for NaN/Inf (#41169) 14 June 2021, 19:54:18 UTC
cd68571 fix #34288, method errors in nothrow inference of division intrinsics (#41178) 14 June 2021, 19:41:02 UTC
4a81b08 clarify ArgumentError docstring (#41177) Co-authored-by: Lyndon White <lyndon.white@invenialabs.co.uk> Co-authored-by: Rafael Fourquet <fourquet.rafael@gmail.com> 14 June 2021, 19:39:40 UTC
27ef9e0 Fixes for overlay tables (#41174) * Add support for at-overlay with parametric function definitions. * Fix error message with at-MethodTable. * Fix function signature to avoid compiler warning. 14 June 2021, 19:38:52 UTC
bc3ce48 fix equality of eigen factorizations (#41132) At least the newly added field `rcondv` may contain `undef` values, so these can cause the same eigen factorizations not to compare equal. Not 100% sure whether the other fields should be ignored as well, but since we didn't have them before, it seems at least consistent to ignore them here. fixes JuliaDiff/ChainRules.jl#422 14 June 2021, 16:05:07 UTC
876da30 doc for property destructuring (#41189) Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com> 14 June 2021, 15:45:39 UTC
fe94fbd Added to docstring, reorganized helper methods (#41195) 14 June 2021, 15:44:58 UTC
f280766 make `show(::SparseMatrixCSC)` more consistent (#41150) This now always uses `sparse(I, J, K, m, n)` for showing sparse matrices. The three-arg `show` used for REPL printing should still behave the same but has been refactored to share more code with the existing methods in Base. closes #41135 14 June 2021, 15:41:22 UTC
3f27f88 Bump Documenter to 0.27.0 (#41184) 14 June 2021, 09:57:16 UTC
82ae530 Fix escaping of rhs for `@atomic a.x = y` (#41216) 14 June 2021, 02:39:38 UTC
973e432 Tests for flaot16 cube root (#41207) 12 June 2021, 09:13:50 UTC
b0f3286 🤖 Bump the LibCURL stdlib from 8310487 to cddeb7f (#41185) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 11 June 2021, 22:25:29 UTC
e35028a simplify seeding for Xoshiro/TaskLocalRNG/GLOBAL_RNG (#41106) 1. `seed!(rng::Xoshiro, seed::NTuple{4,UInt64})` and `seed!(rng::TaskLocalRNG, seed::NTuple{4,UInt64})` were doing almost the same thing; factor out what was identical; 2. `seed!(rng::Union{TaskLocalRNG, Xoshiro})` was calling the above methods passing a random tuple generated by `RandomDevice`: in this case, we don't really need to hash the seed, as it's presumably random enough; so use the same algorithm as in `Xoshiro()` constructor, and let `Xoshiro()` re-use this new implementation of `seed!`. 11 June 2021, 09:48:36 UTC
752ac81 [automated] Bump the Statistics stdlib from 4b3ef9a to 54f9b0d (#41165) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 10 June 2021, 18:51:07 UTC
a440245 [automated] Bump the Pkg stdlib from b8bea6c6 to b2b215e0 (#41175) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 10 June 2021, 18:46:28 UTC
8f57f88 faster `prod(::Array{BigInt})` (#41014) Use a first pass on the array to compute the size of the result. 10 June 2021, 16:52:29 UTC
ecab430 sometimes faster `rand(::Xoshiro, ::UnitRange{Int128})` (#41067) 10 June 2021, 16:49:55 UTC
7d2e640 [automated] Bump the SuiteSparse stdlib from ec4b40a to 7685615 (#41166) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 10 June 2021, 16:16:49 UTC
15c19c8 Add world age and interpreter arguments to code_warntype. (#41149) 10 June 2021, 11:26:22 UTC
0d94727 Fix pipe operator row not rendering correctly (#41167) 10 June 2021, 09:05:09 UTC
c22b718 Allow modules to optionally import nothing at all (#40110) See: https://discourse.julialang.org/t/even-more-bare-baremodule/56156/ A module that imports nothing at all can be used to build a sandbox. Sandboxes are useful for defining smaller teaching languages (see Racket and the HTDP2e book) and, if they can be made secure, for evaluating untrusted code in a capability programming paradigm. This commit changes the API of libjulia: Old: JL_DLLEXPORT jl_value_t *jl_f_new_module(jl_sym_t *name, uint8_t std_imports) New: JL_DLLEXPORT jl_value_t *jl_f_new_module(jl_sym_t *name, uint8_t std_imports, uint8_t using_core) Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com> 10 June 2021, 08:09:27 UTC
f117488 [automated] Bump the NetworkOptions stdlib from a251de1 to 6cea813 (#41164) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 10 June 2021, 00:49:56 UTC
961a045 [automated] Bump the Downloads stdlib from 5d00bdd to cd002c3 (#41163) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 10 June 2021, 00:49:48 UTC
7587956 [automated] Bump the Pkg stdlib from 9bb5a401 to b8bea6c6 (#41160) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 09 June 2021, 23:28:45 UTC
0e58762 IncrementalCompact: handle insertion by OldSSAValue before the insert pt (#41114) This is a case that doesn't currently come up in our base transformation passes. However, it's a well defined thing to want to do and I needed it in Diffractor. That said, as more packages are starting to do compiler-y things, we probably want to figure out a way to decouple general compiler utilities from Core.Compiler, but in the meantime, just make this work. 09 June 2021, 18:40:08 UTC
47f9139 codegen: replace deprecated llvm::VectorType::getNumElements with new APIs (#41144) 09 June 2021, 14:35:14 UTC
de1444c document getindex() with range of length 1. (#41140) Added an example with A[:, 3:3] which returns a Matrix instead of a Vector. Somebody made me aware of this behavior on [stackoverflow](https://stackoverflow.com/questions/67889148/let-indexing-return-a-matrix-instead-of-a-vector-in-julia). but I couldn't find an example of it in the documentation. 09 June 2021, 14:01:29 UTC
5b40680 fix version in NEWS (#41152) Seems like this was missed in #41122. [ci skip] 09 June 2021, 13:31:19 UTC
1fd46e6 Set VERSION to 1.8.0-DEV, move 1.7 NEWS to HISTORY (#41122) 09 June 2021, 12:29:49 UTC
7ca1a90 Fix show of StatStruct (#41148) - Remove trailing newline - Make sure everything is printed to the correct IO 09 June 2021, 12:27:43 UTC
9ee414d Added a method to broaden schur for adjoint and transpose. (#41120) 09 June 2021, 11:16:32 UTC
9bb992c silence output from a TOML test (#41145) 09 June 2021, 10:01:27 UTC
f442e42 Add support for external method tables (#39697) This PR implements a way to keep tables of methods that are not part of the internal method table, but still participate in the special support we have for keeping tables of methods, in particular unification through precompilation and efficient lookup. The intended design use case is to allow for method overlay tables for various non-CPU backends (e.g. GPU and TPU). These backends would like to modify basic function like `sin` to perform better on the device in question (or in the case of TPU to define them over non-LLVM intrinsics). It is worth noting that this PR only gives the ability to keep these tables of methods. It assigns no particular meaning to them and the runtime (and regular inference) do not look at them. They are designed as an implementation detail for external compilers and similar tools. # Demo ```julia julia> using Base.Experimental: @overlay, @MethodTable julia> @MethodTable(mt) # 0 methods: julia> @overlay mt function sin(x::Float64) 1 end julia> @overlay mt function cos(x::Float64) 1 end julia> mt # 2 methods: [1] cos(x::Float64) in Main at REPL[5]:1 [2] sin(x::Float64) in Main at REPL[4]:1 julia> Base._methods_by_ftype(Tuple{typeof(sin), Float64}, mt, 1, typemax(UInt)) 1-element Vector{Any}: Core.MethodMatch(Tuple{typeof(sin), Float64}, svec(), sin(x::Float64) in Main at REPL[4]:1, true) julia> Base._methods_by_ftype(Tuple{typeof(sin), Float64}, 1, typemax(UInt)) 1-element Vector{Any}: Core.MethodMatch(Tuple{typeof(sin), Float64}, svec(Float64), sin(x::T) where T<:Union{Float32, Float64} in Base.Math at special/trig.jl:29, true) ``` Co-authored-by: Tim Besard <tim.besard@gmail.com> Co-authored-by: Julian P Samaroo <jpsamaroo@jpsamaroo.me> Co-authored-by: Keno Fischer <keno@juliacomputing.com> 09 June 2021, 02:51:34 UTC
0e3276c edit NEWS for 1.7 (#41127) Co-authored-by: Ian Butterworth <i.r.butterworth@gmail.com> Co-authored-by: KristofferC <kcarlsson89@gmail.com> Co-authored-by: Stefan Karpinski <stefan@karpinski.org> 09 June 2021, 01:37:36 UTC
482d0ac add missing method for `rand(::_GLOBAL_RNG)` (#41123) 09 June 2021, 01:28:57 UTC
91598c4 [automated] Bump the Tar stdlib from 4e74e26 to ffb3dd5 (#41142) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 09 June 2021, 00:05:49 UTC
dcaf356 Correct typo s/absolutet/absolute/ (#41141) 08 June 2021, 22:48:03 UTC
9ac4fe7 Add missing decay derived (#41126) Fixes #41124, this was forgotten in #40935. 08 June 2021, 20:45:01 UTC
47c7f91 Fix typo in `eigen!` docstring (#41136) 08 June 2021, 20:23:00 UTC
6e87543 [automated] Bump the Pkg stdlib from 326f5e70 to 9bb5a401 (#41130) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 08 June 2021, 19:01:00 UTC
1910a76 trunc: clarify docstring and add examples (#40848) 08 June 2021, 11:26:28 UTC
f262de8 simpler and faster deepcopy_internal for BigInt and BigFloat (#41011) 08 June 2021, 10:10:54 UTC
523dafe repr: update docstring for possible values of the context argument (#39795) 08 June 2021, 10:05:02 UTC
70771b2 implement replace on String for multiple patterns (#40484) This has been attempted before, sometimes fairly similar to this, but the attempts seemed to be either too simple or too complicated. This aims to be simple, and even beats one of the "handwritten" benchmark cases. Past issues (e.g. #25396) have proposed that using Regex may be faster, but in my tests, this handily bests even simplified regexes. There can be slow Regexes patterns that can cause this to exhibit O(n^2) behavior, but only if the one of the earlier patterns is a partial match for a later pattern Regex and that Regex always matches O(n) of the input stream. This is a case that is hopefully usually avoidable in practice. fixes #35327 fixes #39061 fixes #35414 fixes #29849 fixes #30457 fixes #25396 07 June 2021, 23:01:59 UTC
7c79849 remove deprecated --output-jit-bc option (#41100) 07 June 2021, 22:02:47 UTC
51f5740 Add 3-arg * methods (#37898) This addresses the simplest part of #12065 (optimizing * for optimal matrix order), by adding some methods for * with 3 arguments, where this can be done more efficiently than working left-to-right. Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de> 07 June 2021, 21:38:29 UTC
708729b Define lpad/rpad in terms of textwidth (#39044) Fix #38256, per triage consensus there 07 June 2021, 21:34:22 UTC
0a34309 Merge pull request #39544 from JuliaLang/jn/22832 fix definition of open I/O to Process 07 June 2021, 21:31:58 UTC
89058d2 Merge pull request #41018 from JuliaLang/jn/pack-datatype pack even more fields in datatype 07 June 2021, 21:24:15 UTC
e376887 bump Pkg version (#41119) 07 June 2021, 20:48:58 UTC
42ee8e3 Merge pull request #40813 from BioTurboNick/dateformat_doc Shift Dates parsing docs to default to `dateformat""` 07 June 2021, 20:18:09 UTC
e3baee5 Merge pull request #41097 from melonedo/printf-position-counter Add format support for %n 07 June 2021, 20:01:11 UTC
64ed17e Revert "Code coverage: tell Codecov to ignore all external stdlibs (#41103)" (#41112) This reverts commit 97f446baf3a3368e08bbd81100fa6345f06c9079. 07 June 2021, 19:06:07 UTC
a86cb62 fix #39203, 2-arg `findmax` should return index instead of value (#41076) 07 June 2021, 17:05:27 UTC
355b66a add Xoshiro(seed) constructor, and extend some tests to Xoshiro (#41105) Usually, a seed should be equally valid for an RNG constructor or for a call to `seed!`, as `seed!`'s docstring mentions: > After the call to seed!, rng is equivalent to a newly created object > initialized with the same seed. 07 June 2021, 17:03:43 UTC
612cbe8 small cleanup of `dict.jl` (#41108) * unused local variable removed, typo in comment fixed Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com> Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de> 07 June 2021, 16:52:10 UTC
e2ad373 [automated] Bump the Downloads stdlib from c0e5cbd to 5d00bdd (#41050) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 07 June 2021, 14:00:45 UTC
0a24648 Loosen test tolerance when testing lu with BigFloats (#41110) 07 June 2021, 09:32:20 UTC
37209f9 optimize: organize code and more strongly type `OptimizationState.ir` (#41081) 07 June 2021, 07:42:01 UTC
9687260 fix some type instabilities introduced by #39607 (#41094) After #39607, `Iterators.peel` can return `nothing` and the return type can be more inaccurate than before for certain iterative inputs where inference doesn't understand its length, e.g. `Iterators.peel(::<:AbstractString)`. The following JET analysis shows an example of this type instability: ```julia ═════ 2 possible errors found ═════ ┌ @ coreio.jl:4 Base.println(Core.tuple(Core.typeassert(Base.stdout, Base.IO)), xs...) │┌ @ strings/io.jl:73 Base.print(Core.tuple(io), xs, Core.tuple("\n")...) ││┌ @ strings/io.jl:46 Base.print(io, x) │││┌ @ show.jl:1283 Base.show_unquoted(Base.IOContext(io, Base.=>(:unquote_fallback, false)), ex, 0, -1) ││││┌ @ show.jl:1634 Base.show_unquoted_quote_expr(io, Base.getproperty(ex, :value), indent, prec, 0) │││││┌ @ show.jl:1651 Base.isidentifier(sym) ││││││┌ @ show.jl:1339 Base.isidentifier(Base.string(s)) │││││││┌ @ show.jl:1335 Base.indexed_iterate(Base.Iterators.peel(s), 1) ││││││││┌ @ tuple.jl:92 Base.iterate(I) │││││││││ no matching method found for call signature (Tuple{typeof(iterate), Nothing}): Base.iterate(I::Nothing) ││││││││└─────────────── │││││││┌ @ show.jl:1335 Base.indexed_iterate(Base.Iterators.peel(s), 2, _3) ││││││││┌ @ tuple.jl:97 Base.iterate(I, state) │││││││││ no matching method found for call signature (Tuple{typeof(iterate), Nothing, Int64}): Base.iterate(I::Nothing, state::Int64) ││││││││└─────────────── Core.Const(nothing) ``` This PR adds code refactors or manual annotations and seems to fix some of regressions within Base. 07 June 2021, 07:41:33 UTC
b43f04d [automated] Bump the Pkg stdlib from 6cf6b95e to a3fc759f (#41116) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 07 June 2021, 04:33:32 UTC
325475c Fix embarrassing bug in jl_copy_ast (#41113) This function was copying the code, but not actually assigning the newly copied code into the CodeInfo. This should fix crashes and mysterious 265-like issues in Diffractor. 07 June 2021, 04:13:33 UTC
e8cbee0 AbstractInterpreter: refactor a bit `may_optimize` interface (#41080) Currently `OptimizationState` can be introduced even when `may_optimize` returns `false`, and it can lead to a problem in `ir_to_codeinf!` call, that takes `OptimizationState` and expects it to hold optimized `IRCode, which doesn't necessarily happen when the optimization passes are turned off by an external `AbstractInterpreter`. With this PR, `OptimizationState` is introduced only when the optimization is turned on, and the problem described above won't happen anymore. 07 June 2021, 04:12:48 UTC
97f446b Code coverage: tell Codecov to ignore all external stdlibs (#41103) 06 June 2021, 20:55:56 UTC
66c3375 fix some printing of special characters (#25) (#41079) * TOML: fix some printing of special characters 06 June 2021, 08:22:47 UTC
f9eb8db fix #40814, improve type stability of `_totuple` (#41074) Replaces #40987, as suggested by #40814. 06 June 2021, 07:33:47 UTC
f487e0c pack more bits in DataType 05 June 2021, 16:26:39 UTC
de6f62a remove more extraneous fields from DataType 05 June 2021, 16:26:39 UTC
16f433b faster `mergewith!` (#40893) Co-authored-by: matthias314 <matthias314@posteo.net> Co-authored-by: Jameson Nash <vtjnash@gmail.com> 05 June 2021, 16:14:16 UTC
2cf5f98 LinearAlgebra: ignore S.ev[length(S.dv)] in ishermitian(S:SymTridiagonal) (#41089) 05 June 2021, 16:05:10 UTC
8b6aff7 Add format support for %n 05 June 2021, 13:46:18 UTC
443a1b6 relax type specification in the generic __normalize! (#41045) 05 June 2021, 13:42:19 UTC
a86e1d1 support Ref in has_fast_linear_indexing (#41072) 05 June 2021, 13:41:14 UTC
d9d59a9 Return rhs in ldiv! for SVD and add a test (#41083) Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu> 05 June 2021, 11:03:43 UTC
e0165b4 Make Iterators.peel return nothing when itr empty (#39607) Co-authored-by: Jameson Nash <vtjnash@gmail.com> 05 June 2021, 02:24:44 UTC
f9aa058 Remove the type constraint on `sincosd` (#41021) Co-authored-by: Jameson Nash <vtjnash@gmail.com> Co-authored-by: Steven G. Johnson <stevenj@mit.edu> 05 June 2021, 02:24:22 UTC
3e36180 [automated] Bump the Tar stdlib from 343e923 to 4e74e26 (#41093) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 05 June 2021, 02:23:44 UTC
87e08d9 Fixed @boundscheck warning to refer to axes instead of size (#41087) 05 June 2021, 02:23:10 UTC
1fef6c3 fix char-broadcast PR to work with AbstractChar (#41073) 04 June 2021, 18:02:25 UTC
abbb220 some inlining cost model updates (#35235) - treat arrayset like arrayref - add small cost for typeof 04 June 2021, 02:48:27 UTC
8535b8c Merge pull request #41063 from JuliaLang/jb/statstructmethods more efficient `==` and `hash` for `StatStruct` 03 June 2021, 16:09:19 UTC
e2d647e cat: remove incorrect inbounds/inline annotations (#41062) There are no boundschecks so these lead to problems such as #41047. 03 June 2021, 14:59:39 UTC
d5f1dca allow escaping newlines with `\` inside strings (#40753) This allows the use of `\` in front of newlines inside non-raw/non-custom string or command literals as a line continuation character, so the following newline is ignored. This way, long strings without any newlines in them don't have to be written in a single line or be broken up. I think we might also want to use this to improve the printing of long strings in the REPL by printing them as multiline strings, making use of `\` for long lines if necessary, but that can be discussed separately. The command literal part is technically breaking, but the current behavior is probably unintuitive enough that this can be considered a minor change. For string literals, this should be entirely non-breaking since a single `\` before a newline currently throws a parsing error. closes #37728 03 June 2021, 14:55:19 UTC
9f32653 Merge pull request #37847 from JuliaLang/jn/intrinsic-atomics Add some support for atomic operations on mutable fields and Ptrs 02 June 2021, 22:25:26 UTC
f2ea26d alter array alloc threshold to remove O(n^2) behavior (#40453) grow faster at small n, and slower at large n, but always as a function of n, never constant 02 June 2021, 22:24:21 UTC
0432ea3 fix for StatStruct show test from #39463 (#41060) Need to check for the correct substring. 02 June 2021, 22:23:20 UTC
81dcc81 more efficient `==` and `hash` for `StatStruct` 02 June 2021, 21:45:45 UTC
a3243a0 optimizer: add missing bounds checks to avoid ICE (#41048) Fixes #40804 02 June 2021, 20:52:29 UTC
33fa18b codegen: fixing union isbits comparison UB (#41046) Fixes #40612 Fixes #40834 02 June 2021, 20:51:54 UTC
842b802 process IO: add test for #22832 Fixes #14747 02 June 2021, 20:47:57 UTC
back to top