https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
4d07e16 eigenvalues of Hessenberg matrices 30 June 2021, 13:03:04 UTC
be08627 strip spaces after backslash-escaped newline (#41245) This was discussed on Slack with @StefanKarpinski and @BioTurboNick and the general consensus was that stripping all spaces following a backslash-escaped newline would make more sense than the current behavior. Stripping the newline and spaces after a backslash now happens before detenting for triple-quoted srings, so in cases like ```julia """ a\ b c""" ``` the `b` doesn't affect detenting and the spaces before `a` and `c` are removed. 29 June 2021, 15:31:39 UTC
d1145d4 Document that you should not overload promote_type directly (#41386) 29 June 2021, 01:41:05 UTC
33810de Update documentation.md (#41401) In my first reading of the original documentation, I interpreted "right" as the opposite of "left". Also, it was wordy. Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com> 29 June 2021, 01:23:16 UTC
af4bbfd make `Task` smaller by rearranging fields (#41351) This makes jl_task_t 8 bytes smaller, moving it into the next-smallest pool, which drops the effective size from 400 to 368 bytes. 28 June 2021, 22:30:55 UTC
5f18285 fix `threadcall` for new ccall lookup strategy (#41345) 28 June 2021, 20:09:01 UTC
96b3c5d fix #41330: backslash not escaping `\r\n` (#41333) 28 June 2021, 19:42:13 UTC
d96f4c7 Add documentation for preference system (#41354) * add preference doc * link to preference.jl * Update code-loading.md Co-authored-by: Elliot Saba <staticfloat@gmail.com> 28 June 2021, 17:57:59 UTC
74fab49 fix equality of QRCompactWY (#41363) Equality for `QRCompactWY` did not ignore the subdiagonal entries of `T` leading to nondeterministic behavior. This is pulled out from #41228, since this change should be less controversial than the other changes there and this particular bug just came up in ChainRules again. 28 June 2021, 08:28:40 UTC
1b60996 Float16 input now gives Float 16 factors for svd,eigen and cholesky. (#41352) Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de> Co-authored-by: Fredrik Bagge Carlson <baggepinnen@gmail.com> 28 June 2021, 07:12:13 UTC
1e3ae23 more links for distributed computing docs (#41378) 27 June 2021, 14:38:35 UTC
05e4138 Code coverage: fix the code coverage pipeline (#41375) * Code coverage: fix the code coverage pipeline * Run all tests 26 June 2021, 15:25:24 UTC
12e7223 README: Move the CI badges to the bottom of the README (#41374) 26 June 2021, 10:23:09 UTC
fe7e1fe README: start adding Buildkite status badges (#41373) 26 June 2021, 09:29:09 UTC
e041cd5 Update julia-manual.css (#41356) Switch off contextual alternates (aka "ligatures") for this document. 25 June 2021, 20:28:50 UTC
ed4c44f Make argument mismatch in opaque closure a MethodError (#41206) This at least shows the argument types. In the future we may want to add some logic to the errorshow code to improve this even further, but good enough for now. 24 June 2021, 17:10:50 UTC
d0bbd4c Fix #41299 - Dropped error case in :> special case inliner (#41315) 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. 24 June 2021, 16:36:54 UTC
5650c93 codegen: add optimizations for swapfield and replacefield (#41275) 24 June 2021, 15:14:23 UTC
42da3d4 [doc] add using Logging to examples in Test.@test_logs, fixes #41117. (#41343) 24 June 2021, 13:18:40 UTC
e722e4d Add documentation x-refs between argmax, argmin, findmin, findmax (#41338) 24 June 2021, 13:17:07 UTC
ba5fffc change doc for seed! thread-local -> task-local (#41341) default rng is task-local not thread-local? 24 June 2021, 02:52:01 UTC
bb52621 inference: Add some basic inference for PhiNode (#41115) PhiNode isn't really supported in lowered IR, but it is convenient to be able to emit it, particularly for code that is designed to perform transformations both on typed and on lowered IR (such as Diffractor). Moreover, we do actually supported phinodes in untyped IR both in the interpreter and in the compiler. At the moment, inference assumes that PhiNodes get treated as embedded constants, which is just not what the actual implementation does. At the very least, it should just leave PhiNodes alone in case they accidentally end up in lowered IR (rather than causing crashes), but we might as well give them some basic support. 24 June 2021, 02:47:57 UTC
78a2017 Add an inference remark if constprop is disabled by function heuristic (#41317) Would have saved me some debugging, since the function I was trying to get to constprop happened to be a method of `*`. 23 June 2021, 20:48:54 UTC
e469a1e Export jl_get_pgcstack from libjulia (#41320) 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. 23 June 2021, 18:40:31 UTC
39f9ffd raise file descriptor limit on unix to maximum 23 June 2021, 17:11:12 UTC
8c28162 make ldiv! 2-arg, remove naivesub! (#41297) 23 June 2021, 17:00:09 UTC
ab567be [OpenBLAS_jll] Bump to `v0.3.13+6` (#41322) * [OpenBLAS_jll] Bump to `v0.3.13+6` This version backports a fix for a `SIGILL` error on some CPUs. * [deps] Bundle backported OpenBLAS patches 23 June 2021, 12:01:20 UTC
37c0b06 supports `@inline`/`@noinline` annotations within a function body (#41312) * supports `@inline`/`@noinline` annotations within a function body Separated from #40754 for the sake of easier review. The primary motivation for this change is to annotate `@inline`/`@noinline` to anonymous functions created from `do` block: ```julia f() do @inline # makes this anonymous function to be inlined ... # function body end ``` We can extend the grammar so that we have special "declaration-macro" supports for `do`-block functions like: ```julia f() @inline do # makes this anonymous function to be inlined ... # function body end ``` but I'm not sure which one is better. Following [the earlier discussion](https://github.com/JuliaLang/julia/pull/40754#issuecomment-839401667), this commit implements the easiest solution. Co-authored-by: Joseph Tan <jdtan638@gmail.com> * Update base/expr.jl * Update base/expr.jl * Update NEWS.md Co-authored-by: Joseph Tan <jdtan638@gmail.com> 23 June 2021, 00:30:25 UTC
ae6c103 Merge pull request #41309 from JuliaLang/fix-def-fast-tls Drop parens from JULIA_DEFINE_FAST_TLS in embedding.{c,md} to match recent redefinition. 22 June 2021, 22:03:58 UTC
e4b2411 Merge pull request #41308 from JuliaLang/ftls-support-includes Fix inability to find support/{platform,dirpath}.h from julia_fasttls.h. 22 June 2021, 22:01:05 UTC
a4dd5e5 Fix typeassert in worker-worker connection, fixes #41155. (#41305) 22 June 2021, 07:06:38 UTC
7366c39 Drop parens from JULIA_DEFINE_FAST_TLS in embedding.{c,md} to match recent redefinition. 21 June 2021, 22:41:31 UTC
1b20d2b Fix inability to find support/{platform,dirpath}.h from julia_fasttls.h. 21 June 2021, 22:06:57 UTC
7553ca1 fix preference loading (#41294) 21 June 2021, 17:18:39 UTC
d68e570 [CompilerSupportLibraries_jll] Update to v0.5.0 (#41292) This includes libraries from GCC 11. 21 June 2021, 17:04:58 UTC
df1150c Fix typo in frameworkapp/Makefile (#41289) 20 June 2021, 18:09:54 UTC
153f908 Remove cmp argument from replacefield! docstring (#41282) 20 June 2021, 13:25:31 UTC
9d5f31e Transition the `coverage-linux64` pipeline to Buildkite (#41238) * Transition the `coverage-linux64` pipeline to Buildkite * Simplify, run inside of a sandbox * Upload coverage reports to Codecov and Coveralls * Add `COVERALLS_TOKEN` Co-authored-by: Elliot Saba <staticfloat@gmail.com> 20 June 2021, 07:09:58 UTC
ae1b469 Avoid unwrapping-wrapping combination in LinearAlgebra (#41252) 19 June 2021, 16:21:12 UTC
0e5fc4c make AbstractArray{T}(...) constructor in LinearAlgebra more consistent (#40831) 19 June 2021, 15:59:03 UTC
6d2c0a7 🤖 Bump the Pkg stdlib from b2b215e0 to 9914dabf (#41265) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 19 June 2021, 00:28:12 UTC
e3197af fix handling of MethodTable in precompile files (#41277) This was not an external method table, it is just a normal variable binding. This was causing the precompile files to be corrupted, since we use normal variables that look like this one at https://github.com/JuliaLang/julia/blob/dc2befcffc7412768097c2a2a6819724a4745aeb/base/compiler/utilities.jl#L139-L140 Fixes #41156 19 June 2021, 00:04:53 UTC
dc2befc fix #41253, parse error in `function (::T{})` (#41259) 18 June 2021, 18:18:45 UTC
fb67607 allocate small strings in 8-byte-aligned pools (#41247) 18 June 2021, 18:17:31 UTC
3279e20 Added multiplication functions for Ajoint{Q} and *diagonals (#41248) Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de> 18 June 2021, 17:46:35 UTC
8739df2 fix emit_f_is to be safepoint-free, like jl_egal (#41255) 18 June 2021, 15:31:36 UTC
9296ec5 Update Documenter to 0.27.2. (#41250) 18 June 2021, 14:27:48 UTC
dcf0f28 Export standard log levels from Logging stdlib. (#40980) 18 June 2021, 14:27:28 UTC
083272b make `statement_costs!` accept IRCode (#41257) I want to use this in Cthulhu, which uses `IRCode` for optimized code instead of `CodeInfo`. 18 June 2021, 08:10:06 UTC
b34aa1e fixed wrong formatting in docstring for `range` (#41262) 18 June 2021, 06:44:18 UTC
61ae86d [buildkite] Implement secrets encryption and sandboxing (#41256) This adds a proof-of-concept demonstration of two new buildkite plugins: * `cryptic` adds secrets management to privileged pipelines. These pipelines cannot be freely modified; their integrity is verified against a signature maintained by committers with a secret key. This allows certain portions of the CI configuration (which are privileged and can decrypt encrypted files/environment variables) to remain public, but read-only to the general populace. * `sandbox` adds a generic sandboxing mechanism that allows CI steps to be run within user-provided rootfs images. We're using these here to provide compiler toolchains for the `llvm-passes` CI steps, and the plan is to eventually provide _all_ compiler toolchains through such rootfs images. 18 June 2021, 05:33:07 UTC
6dfa690 Remove many `*`/`mul!` methods for AdjOrTrans of sym/herm/diag/triangular (#41188) 17 June 2021, 08:56:33 UTC
25efa99 Merge pull request #41085 from JuliaLang/sgj/printf-textwidth use `textwidth` in Printf for `%s` and `%c` widths 17 June 2021, 03:26:17 UTC
d98fb01 Fix some inferability issues in SparseArrays (#41187) * Fix a type-instability in sparse `findmin`/`findmax` The helper function `_findr` would usually return a `Vector` as first argument, but would use a `SparseMatrixCSC` in the empty case. Fix by always using `Vector`. * Make sparse `hvcat` inferable This also requires making sparse `vcat` and `hcat` inferable in the vararg case which in turn requires a different way to determine the resulting index type, now implemented similar to `promote_eltype`. 16 June 2021, 21:05:18 UTC
dd94ceb Stdlib JLLs: add `Test` to the list of test-only dependencies (#41239) 16 June 2021, 17:36:38 UTC
c366be5 Document `map` on multi-dimensional arrays (#40999) 16 June 2021, 07:26:34 UTC
c593eeb several small changes to arrays.md (#41198) 15 June 2021, 20:20:32 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
6c47b15 Update stdlib/Printf/src/Printf.jl Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com> 09 June 2021, 13:20:23 UTC
53c9dc2 use PR # in NEWS 09 June 2021, 13:20:23 UTC
36c0286 use textwidth in Printf for %s and %c widths 09 June 2021, 13:19:56 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
back to top