https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
4ba81cb Require patchelf to install llvm tools 26 October 2023, 15:04:29 UTC
30f542f Fixup the rpaths of llvm dependencies during the build and during install 25 October 2023, 19:42:28 UTC
3493473 LLVM: Activate typed pointers through the API instead of a global option. (#51840) This allows other users of LLVM to use opaque pointers with their contexts. Co-authored-by: Jameson Nash <vtjnash@gmail.com> 25 October 2023, 11:57:16 UTC
1705fe8 Make `read!(::IO,::StridedArray)` call `unsafe_read` if possible (#42593) This PR makes `read!(s::IO,a::StridedArray)` call `unsafe_read`, if `a` has continous memory layout. Since most of the checks are type-based, I think this does speed up, esspecially when `lock = true`. BTW, the above dispatch for `read!(s::IO, a::Array{UInt8})` in L762 seems unnecessary, should we drop it? --------- Co-authored-by: Jameson Nash <vtjnash@gmail.com> 25 October 2023, 09:30:20 UTC
a1ccf53 Add BFloat16 runtime intrinsics. (#51790) After switching to LLVM for BFloat16 in #51470 (i.e., relying on `Intrinsics.sub_float` etc instead of hand-rolling bit-twiddling implementations), we also need to provide fallback runtime implementations for these intrinsics. This is too bad; I had hoped to put as much BFloat16-related things as possible in BFloat16s.jl. This required modifying the unary operator preprocessor macros in order to differentiate between Float16 and BFloat16; I didn't generalize that to all intrinsics as the code is hairy enough already (and it's currently only useful for fptrunc/fpext). 25 October 2023, 08:53:24 UTC
bb138fa Improve efficiency of minimum/maximum(::Diagonal) (#30236) ``` julia> DM = Diagonal(rand(100)); julia> @btime minimum($DM); # before 27.987 μs (0 allocations: 0 bytes) julia> @btime minimum($DM); # after 246.091 ns (0 allocations: 0 bytes) ``` 25 October 2023, 07:08:58 UTC
3b1ba62 [REPLCompletions] allow symbol completions within incomplete macrocall expression (#51834) fix #51827 --------- Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com> 25 October 2023, 06:45:45 UTC
3c21e32 inference: fix infinite recursion of nested Generators (#51845) It seems this case has already been fixed by other improvements, so we no longer need this hack, which is now causing problems. Fixes #51694 25 October 2023, 05:52:01 UTC
a43fcbc post-opt: run full scan within `check_inconsistency!` (#51846) Otherwise we fail to scan all statements. fix #51837 25 October 2023, 00:10:52 UTC
f0a28e9 add unsetindex support to more copyto methods (#51760) This is not-quite-public API, but since we have this for Array-to-Array copies, this tries to ensure it also does generically the same behavior for Memory-to-Array and Array-to-Memory as well. 24 October 2023, 21:07:08 UTC
df39cee replace many unsafe_convert methods with safer cconvert ones (#51764) This seems the correct way to define most conversions, since the unsafe logic should typically be isolated to a few areas, and everywhere else just defines conversions to it. This ensures the root is preserved even if the user later makes unexpected changes to the parent object (although the length might have later become inconsistent at that point, so it is not a guaranteed fix for memory issues). 24 October 2023, 15:54:04 UTC
2d8325b Run `crate-ci/typos` in CI (#51704) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 24 October 2023, 13:25:36 UTC
a6d9df7 Only warn in helpmode on successful nonpublic access (#51346) 24 October 2023, 13:05:18 UTC
a75c709 [nfc] Move comment in docview.jl (#51737) 24 October 2023, 13:02:30 UTC
855ec0c test: add test case for uncovered line in accumulate.jl (#51835) The `accumulate` function had missing code coverage for one dimensional arrays with an `init` value. ![image](https://github.com/JuliaLang/julia/assets/49565677/a53850c3-4559-4400-8ce2-e653812ec14e) I have added two tests for this case. 24 October 2023, 12:02:32 UTC
5e43309 make Meta-M with a empty prompt return the contextual module to Main (#51616) 24 October 2023, 08:17:56 UTC
d38348b delete unused local variable in `@generated` (#51778) Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> 24 October 2023, 08:14:28 UTC
17a36ee Make local scope for `else` blocks in `try`/`catch`/`else` (#51785) [Docs](https://docs.julialang.org/en/v1/manual/control-flow/#else-Clauses) state: > The try, catch, else, and finally clauses each introduce their own > scope blocks. But it is currently not the case for `else` blocks ```julia julia> try catch else z = 1 end 1 julia> z 1 ``` This change actually makes `else` blocks have their own scope block: ```julia julia> try catch else z = 1 end 1 julia> z ERROR: UndefVarError: `z` not defined ``` 24 October 2023, 08:14:07 UTC
0907858 [Printf] mark format and Format with public keyword (#51797) followup to https://github.com/JuliaLang/julia/pull/51723 to prevent ```julia │ Warning │ │ The following bindings may be internal; they may change or be removed in future versions: │ │ • Printf.Format ``` 24 October 2023, 08:13:23 UTC
9352d9e Revert "clean up identifiers defined in `Main` (#51411)" (#51825) This reverts commit ab94a242f6e56438f86a1babab7721db45b7feed. Ref https://github.com/JuliaLang/julia/pull/51411#issuecomment-1765402688 fixes https://github.com/JuliaLang/julia/issues/51823 24 October 2023, 08:12:30 UTC
b197197 Fix typo in range display (#51832) Thanks ScottPJones for finding this. Co-authored-by: Lilith Hafner <Lilith.Hafner@gmail.com> 24 October 2023, 08:11:54 UTC
abd00d0 Add version string to sysimg triple (#51830) 24 October 2023, 02:31:32 UTC
0be0b38 support Unicode 15.1 via utf8proc 2.9.0 (#51799) Similar to #47392, support [Unicode 15.1](https://www.unicode.org/versions/Unicode15.1.0/) by bumping utf8proc to 2.9.0 (https://github.com/JuliaStrings/utf8proc/issues/253). This allows us to use [118 exciting new emoji characters](https://blog.emojipedia.org/whats-new-in-unicode-15-1-and-emoji-15-1/) as identifiers, including "edible mushroom" `"\U1f344\u200d\U1f7eb"` (but still no superscript "q"). Interestingly, they also updated the [Unicode recommendations on programming-language identifiers (UAX#31)](https://www.unicode.org/reports/tr31/tr31-39.html#Mathematical_Compatibility_Notation_Profile) to finally "bless" identifiers beginning with `∂` and `∇` and/or ending with numeric sub/superscripts. They still don't recommend nearly the range of identifiers accepted by Julia, however. 23 October 2023, 12:24:31 UTC
cf00550 fix eltype for partition iterators of substrings (#51773) Fixes https://github.com/JuliaLang/julia/issues/51771 The convert method that asserts in #51771 is arguably still faulty though. 23 October 2023, 12:19:11 UTC
37611b4 Don't make pkgimages global editable (#51781) 23 October 2023, 08:17:54 UTC
0b54306 Fix off-by-one error in annotated string concat (#51803) A new unit test is also added for the edge-case found, and a few details of the test string adjusted to make it easier to reason about at a glance. ----- This seems to have slipped into #49586 when the `annotatedstring` function had to be refactored to no longer use `eachstyle` (which was moved into the stdlib), and escaped the unit tests for index corectness. 23 October 2023, 07:51:51 UTC
0617fec Added tests for the artifact_hash() function in Artifacts.jl (#51815) The code in `Artifacts.jl` has some missing test coverage. ![image](https://github.com/JuliaLang/julia/assets/141328479/a19d3c37-104b-4c5f-abc9-11925fbccbbc) 23 October 2023, 07:50:22 UTC
fa66820 REPLCompletions: only complete kwargs in kwarg position (#51801) 22 October 2023, 23:42:56 UTC
fb01dd2 Throw OverflowError on typemin(Int)//(-1) (#51085) Fixes #32443 Currently `typemin(Int)//(-1) == typemin(Int)//(1)`, ignoring an overflow. As noted by @JeffreySarnoff in [#32443](https://github.com/JuliaLang/julia/issues/32443#issuecomment-506816722) This should throw an error instead of silently overflowing. To fix this I am using `checked_neg` instead of `-` in the Rational constructor. With this PR `(-one(T))//typemin(T)` will now also throw an `OverflowError` instead of an `ArgumentError` 21 October 2023, 20:20:35 UTC
f71228d fix unicode indexing in parse(Complex, string) (#51758) This fixes a string-indexing bug introduced in #24713 (Julia 0.7). Sometimes, this would cause `parse(Complex{T}, string)` to throw a `StringIndexError` rather than an `ArgumentError`, e.g. for `parse(ComplexF64, "3 β+ 4im")` or `parse(ComplexF64, "3 + 4αm")`. (As far as I can tell, it can never cause parsing to fail for valid strings.) The source of the error is that if `i` is the index of an ASCII character in a string `s`, then `s[i+1]` is valid (even if the next character is non-ASCII) but `s[i-1]` is invalid if the previous character is non-ASCII. 20 October 2023, 20:24:56 UTC
6d1c0a0 add simple smokescreen test for `--bug-report` (#51776) follow-up PR to #51750 since BugReporting was broken at the time 20 October 2023, 20:07:00 UTC
abe4303 AnnotatedStrings, and a string styling stdlib (#49586) 20 October 2023, 20:04:11 UTC
e5cd9b6 Rename (Tagged → Annotated)String, etc. In response to further naming discussion. Please, please, let this be the last rename. Along the way we have some docstring improvements and stricter macro construction in the StyledStrings stdlib (erroring on invalid syntax, instead of warning), with more informative messages. 20 October 2023, 18:20:24 UTC
9947193 Converge TaggedString terminology: use annotations Instead of having a split between Tags/Annotations/Text properties (regions of the string are annotated with tagged values, and this is a property of the text), just have Tags/Annotations. In line with this, the "properties" field of TaggedString/TaggedChar is renamed to "annotations", and the getter/setter functions are renamed: - textproperties -> annotations - textproperty! -> annotate! While we're at it, improve the docstrings and functions a bit. 20 October 2023, 18:19:28 UTC
0001380 Put styling in new stdlib; Styled → Tagged rename After discussion on Triage, we've decided that the base Styled{String,Char} types will be renamed to Tagged{String,Char} to better indicate their versatility and kept in base, with everything else moved out to a new StyledStrings standard library. 20 October 2023, 18:18:25 UTC
f8192fe Document StyledStrings and Faces 20 October 2023, 18:14:11 UTC
5aaff18 Add StyledStrings, Faces, and @S_str to NEWS 20 October 2023, 18:14:11 UTC
0569c57 Tests for styled strings and faces 20 October 2023, 18:14:11 UTC
4a9128d Overhaul S"" macro The previous S"" macro was essentially one giant for loop with a helper function. When adding support for inline face value interpolation, it was clear that that approach was unmaintainable. As a result, the implementation has been completely rewritten. The new S"" macro is more maintainable, featureful, and correct — now with a documented EBNF grammar and more validation during expansion. 20 October 2023, 18:14:11 UTC
96e3d6b Load terminfo during exec_options This way should any styled printing occur, regardless of whether a REPL session is started, it will be handled correctly based on the current terminal. 20 October 2023, 18:14:11 UTC
c214350 Custom show methods for faces and simplecolor This is just nicer to look at in the REPL 20 October 2023, 18:14:11 UTC
98e9af4 Add text/html show method for styled strings 20 October 2023, 18:14:11 UTC
ea24b53 Buffer styled printing When printing directly to stdout, there is a non-negligible overhead compared to simply printing to an IOBuffer. Testing indicates 3 allocations per print argument, and benchmarks reveal a ~2x increase in allocations overall and much as a 10x increase in execution time. Thus, it seems worthwhile to use a temporary buffer in all cases. 20 October 2023, 18:14:11 UTC
13f32f1 Implement styled printing of StyledStrings Printing StyledStrings is more complicated than using the printstyled function as a Face supports a much richer set of attributes, and StyledString allows for attributes to be nested and overlapping. With the aid of and the newly added terminfo, we can now print a StyledString in all it's glory, up to the capabilities of the current terminal, gracefully degrading italic to underline, and 24-bit colors to 8-bit. 20 October 2023, 18:14:11 UTC
eada39b Introduce a styled string macro (@S_str) To make specifying StyledStrings easier, the @S_str macro is added to convert a minimalistic style markup to either a constant StyledString or a StyledString-generating expression. This macro was not easy to write, but seems to work well in practice. 20 October 2023, 18:14:11 UTC
c505b04 Introduce text faces To easy text styling, a "Face" type is introduced which bundles a collection of stylistic attributes together (essentially constituting a typeface). This builds on the recently added Styled{String,Char} types, and together allow for an ergonomic way of handling styled text. 20 October 2023, 18:14:11 UTC
6113e1c Introduce Styled{String,Char} These new types allow for arbitrary properties to be attached to regions of an AbstractString or AbstractChar. The most common expected use of this is for styled content, where the styling is attached as special properties. This has the major benefit of separating styling from content, allowing both to be treated better — functions that operate on the content won't need variants that work around styling, and operations that interact with the styling will have many less edge cases (e.g. printing a substring and having to work around unterminated ANSI styling codes). Other use cases are also enabled by this, such as text links and the preserving of line information in string processing. 20 October 2023, 18:14:11 UTC
7bf226b Parametrize RegexMatch string type This allows for the construction of matches built on non-String AbstractStrings. 20 October 2023, 18:14:11 UTC
7489a31 Allow SubString construction without index shift 20 October 2023, 18:14:11 UTC
01f6c4c Fix remove-addrspaces pass in the presence of globals with addrspaces (#51782) This fixes an assertion that might trigger if we run this pass on sysimg modules. 20 October 2023, 13:08:35 UTC
ef3bf66 Use a single Float16 ABI. (#51666) Currently, Julia uses 2 different Float16 ABIs, depending on the host compiler used to compile Julia: either pass as integer, or pass as LLVM's native `half`. Since the runtime intrinsics are implemented in C using `uint16`, this necessitated conversions around the runtime functions (`gnu_h2f_ieee`, `truncdfhf2`, etc) that the compiler may emit calls to. This PR switches to always using the 'native' ABIs that platforms have for Float16, by removing the conversions around runtime calls, and defining our runtime intrinsics using the native `_Float16` type. Availability of this type depends on the platform, and the compiler version, so we also define fallbacks that mimick the platform-specific calling convention. 20 October 2023, 08:21:56 UTC
f8f573d Fix reference in manual (#51741) 20 October 2023, 05:31:14 UTC
795d8d7 fix parallel peakflop usage (#51757) This is required now once Distributed is not in the sysimage. Fixes https://github.com/JuliaLang/julia/issues/51756 20 October 2023, 05:26:06 UTC
f2df1b4 Make precompile files relocatable (#49866) String replacement with `@depot` when serializing out happens with any paths that are located inside a `DEPOT_PATH` (first match wins). If no match, then we emit the absolute file path as before. Right now we only emit one token `@depot`. String replacement of `@depot` when loading happens now on a `.ji` file basis and only if all the listed include dependencies can be resolved to files located in one and the same depot on `DEPOT_PATH` (again, first match wins). If we can't resolve, then the cache is invalided with `stale_cachefile`. 20 October 2023, 00:56:22 UTC
d432821 fix return type of `exec_options` (#51787) Should fix the failures observed in JuliaLang/BugReporting.jl#141. Test for this is in #51776 which depends on afromentioned PR which depends on this fix. 20 October 2023, 00:16:42 UTC
cd82984 fix `--bug-report=rr` (#51750) This option is currently broken on nightly due to world age errors 19 October 2023, 15:12:15 UTC
86305e3 allow more module declaration formats in module check (#51689) 19 October 2023, 14:38:01 UTC
4ef353c Put mingw32 `*.a` files in `private_libdir` (#51698) This avoid that these files are picked up during julia's build process, and are instead only used to link pkgimages, as intended. Co-authored-by: Tim Besard <tim.besard@gmail.com> 19 October 2023, 08:37:16 UTC
47d5c02 Fix inlining logic for :invoke exprs (#51766) This code path isn't currently used in Base, but is reached in external abstract interpreters and wasn't correctly handling ConstantCase returns from `resolve_todo`. 19 October 2023, 05:34:31 UTC
8a889ff limit TimeType subtraction (#51743) Disallow some type combinations that don't make sense. --------- Co-authored-by: Ben Baumgold <4933671+baumgold@users.noreply.github.com> 18 October 2023, 20:32:39 UTC
101e475 ignore mightalias for empty objects (#51761) There is no bytes that overlap, so it is safe to use these without needing to make an explicit copy of nothing. 18 October 2023, 19:57:05 UTC
3cc4fdc 🤖 [master] Bump the Pkg stdlib from ffb6edf03 to af5392db5 (#51749) Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: master Julia branch: master Old commit: ffb6edf03 New commit: af5392db5 Julia version: 1.11.0-DEV Pkg version: 1.11.0 Bump invoked by: @DilumAluthge Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: https://github.com/JuliaLang/Pkg.jl/compare/ffb6edf0306a651240b71641fb4aa5ab8cc7659b...af5392db53e1a45aa31bd93b507e163fc0205893 ``` $ git log --oneline ffb6edf03..af5392db5 af5392db5 Precompilation workload: restore the original depot and load paths (#3668) b39ba05f3 Precompilation workload: set `"JULIA_PKG_UNPACK_REGISTRY" => nothing` (#3662) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 18 October 2023, 14:05:54 UTC
e36f65f codegen: fix gc rooting bug (#51744) ccall was not creating roots for the contents of struct values which contained roots on the stack, as expected to align with `GC.@preserve`, and causing many segfaults for #51319 18 October 2023, 13:54:22 UTC
0b31e8b EA: allow tests to run for out-of-tree build (#51752) 18 October 2023, 08:56:27 UTC
86cbb60 inference: use `jl_method_get_table` for `get_nospecializeinfer_sig` (#51735) This allows `@nospecializeinfer` to be functional for `@overlay`ed methods, making it more aligned with `get_compileable_sig` too. 17 October 2023, 21:19:01 UTC
4d2d849 Dots in displaying views of sparse/structured arrays (#51679) With this, views of sparse/structured arrays are printed with dots as well: ```julia julia> D = Diagonal(1:4) 4×4 Diagonal{Int64, UnitRange{Int64}}: 1 ⋅ ⋅ ⋅ ⋅ 2 ⋅ ⋅ ⋅ ⋅ 3 ⋅ ⋅ ⋅ ⋅ 4 julia> view(D, 1:3, 1:3) 3×3 view(::Diagonal{Int64, UnitRange{Int64}}, 1:3, 1:3) with eltype Int64: 1 ⋅ ⋅ ⋅ 2 ⋅ ⋅ ⋅ 3 julia> S = sparse([1,2,2,2,3], [1,1,2,2,4], [5, -19, 73, 12, -7]) 3×4 SparseMatrixCSC{Int64, Int64} with 4 stored entries: 5 ⋅ ⋅ ⋅ -19 85 ⋅ ⋅ ⋅ ⋅ ⋅ -7 julia> view(S, 1:3, 1:3) 3×3 view(::SparseMatrixCSC{Int64, Int64}, 1:3, 1:3) with eltype Int64: 5 ⋅ ⋅ -19 85 ⋅ ⋅ ⋅ ⋅ ``` 17 October 2023, 13:33:23 UTC
09dd7d7 REPL: remove 'oops.' for non Markdown help strings (#51734) This was added in https://github.com/JuliaLang/julia/pull/50105/files#diff-625b68d89f9d5b3eaa175971271a3cce315a0d1e0597d03c9ab0bd7a0b020648R196 17 October 2023, 12:44:29 UTC
66cdf15 Add note in constructor doc about infix notation (#51610) When reading the documentation---and later, when I was doing an Exercism example implementing the complex numbers---it wasn't clear to me how certain symbols could work as infix operators. The Julia documentation uses ⊘ for rational division in its example, but it doesn't say why this works for `1 ⊘ 2`. I just added a note to clarify this. 17 October 2023, 11:41:38 UTC
214ac51 add `Printf.Format` and `Printf.format` to manual (#51723) 17 October 2023, 11:40:33 UTC
2e54092 Use currently unused LLVM statistics (#51685) These variables missed being incremented 17 October 2023, 11:31:23 UTC
a0f1629 docs: `Base.Order.Ordering`: consistency with #48363 and #48387 (#51683) "Total order" -> "strict weak order". 17 October 2023, 11:30:24 UTC
ac7eecb Fix LinearAlgebra/diagonal test (#51733) 17 October 2023, 10:46:23 UTC
d42415a 🤖 [master] Bump the Pkg stdlib from b02fb9597 to ffb6edf03 (#51732) Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: master Julia branch: master Old commit: b02fb9597 New commit: ffb6edf03 Julia version: 1.11.0-DEV Pkg version: 1.11.0 Bump invoked by: @IanButterworth Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: https://github.com/JuliaLang/Pkg.jl/compare/b02fb95979c71dc5834aad739ad61622cccf4a16...ffb6edf0306a651240b71641fb4aa5ab8cc7659b ``` $ git log --oneline b02fb9597..ffb6edf03 ffb6edf03 cache pidlock tweaks (#3654) 550eadd7e Pin registry for MetaGraph tests (#3666) ee39026b8 Remove test that depends on Random being in the sysimg (#3656) 561508db2 CI: Increase the CI timeout. Update actions. Fix double precompilation. (#3665) 7c7ed63b1 Remove change UUID script it should be uncessary on Julia v1.11-dev (#3655) a8648f7c8 Precompile: Fix algorithmic complexity of cycle detection (#3651) 0e0cf4514 Switch datastructure Vector -> Set for algorithmic complexity (#3652) 894cc3f78 respect if load-time precompile is disabled (#3648) 3ffd1cf73 Make auto GC message use printpkgstyle (#3633) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 17 October 2023, 08:40:01 UTC
bbcbac9 support `public` in fallback/legacy parser (#51575) 16 October 2023, 21:16:45 UTC
ab94a24 clean up identifiers defined in `Main` (#51411) Loaded packages do not need explicit bindings, and the name `MainInclude` does not need to be visible. I noticed that `Main` tab completes to `MainInclude`, which is not great since it's an implementation detail. It's also a bit messy that `InteractiveUtils` appears in `varinfo()`. This is not necessary to access its functionality. The only behavior change from this is that adding a method to `include` or `eval` in Main used to work since these were explicitly imported. This now gives the "must be explicitly imported to be extended" error, which I consider a big improvement. Nobody should be doing that anyway. 16 October 2023, 21:15:25 UTC
d5cde52 Bump SparseArrays to pull in SuiteSparse 7.2.1 (#51725) Upgrade SuiteSparse to 7.2.1 Upgrade SparseArrays.jl to the latest master --------- Co-authored-by: DilumAluthgeBot <43731525+DilumAluthgeBot@users.noreply.github.com> Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 16 October 2023, 20:16:08 UTC
6ec149f Lower Pidfile stale_age multiplier. Add pidfile to cache log message. (#51714) 16 October 2023, 16:53:47 UTC
4d36da7 Improve dostring for error(msg...) (#51721) This PR slightly modifies the docstring for the second method defined for `error`, as the docstring for this method a) seems quite imprecise, and b) is identical to that of `error(::AbstractString)`. 16 October 2023, 15:01:46 UTC
b0c6781 🤖 [master] Bump the SparseArrays stdlib from 4e6776a to 0f8bbda (#51678) Stdlib: SparseArrays URL: https://github.com/JuliaSparse/SparseArrays.jl.git Stdlib branch: main Julia branch: master Old commit: 4e6776a New commit: 0f8bbda Julia version: 1.11.0-DEV SparseArrays version: 1.11.0 Bump invoked by: @ViralBShah Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: https://github.com/JuliaSparse/SparseArrays.jl/compare/4e6776a825f2a26c3c580f9b77ba230a6598d7dd...0f8bbdac9c2d805f32faed90f4d8b8c8514aa478 ``` $ git log --oneline 4e6776a..0f8bbda 0f8bbda Interpolate SparseVector in display test (#455) d884072 Merge pull request #427 from JuliaSparse/jishnub/sparsevecshow 9e68b7e Merge branch 'main' into jishnub/sparsevecshow 12a1c30 remove unnecessary inequality change 4217641 don't set Documenter compat e86b148 Adapt to Documenter v1 (#444) 8c72535 Merge branch 'main' into jishnub/sparsevecshow 8c20ba1 Test for truncation 8f925f8 Interpolate Int in expected string c53e1f2 interpolate struct in display test 33d4bf5 Undef show with MIME text/plain 034d234 Hook into new factorization dispatch mechanisms (#437) 248d0e6 Merge branch 'main' into jishnub/sparsevecshow 713ab9b Fix documentation of `findall` behaviour (#452) cb9b31f rowvals instead of nonzeroinds 05ac950 Add example for UMFPACK control vector (#449) 605237e Add JL_UMFPACK_PIVOT_TOLERANCE to umfpack.jl (#447) 5dac134 Use a single header wrapper for all platforms. (#446) 47e26dd Explicit types in test RHS c123952 Interpolate vectors in show test b309da7 Explicit types d21fc79 Add test for showing a vector of sparsevec 3e918e4 Restore unfilled sparsevec display b533818 Don't add SparseArrays to docs/Project.toml 4449100 Remove commented out method 728e116 ignore docs/build 99a0db2 Merge show methods ac5c8ed Switch from internal 5-arg `searchsorted*` methods to views (#440) ada9edd sparse vector views remain sparse (#416) c93065c Improved the dot product between two vectors and a sparse matrix (#410) 2fae1a1 Correctly set zeros with `fill!(::SubArray)` and fix its return value (#433) 03ed9e3 Code quality cleanup (#438) 559a74e Merge branch 'main' into jishnub/sparsevecshow 8944160 fix empty show e72223d One-line show for SparseVector ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 16 October 2023, 12:09:42 UTC
258ac46 Add note about sysimage `__init__`s running before startup.jl (#51623) What caught me out in https://github.com/JuliaLang/julia/issues/51620 16 October 2023, 02:09:11 UTC
0c4af32 Fix typos [nfc] (#51709) 16 October 2023, 01:34:52 UTC
ff03e51 Allow using `ReturnNode()` in `@generated` code (#51715) IRTools.jl currently tries to use `ReturnNode()` to model unreachable block terminators but it fails in `find_ssavalue_uses`. This PR adds a check to enable using `ReturnNode()` in untyped code. One other alternative for frontends is to use an instruction known to terminate (`Core.throw`) instead. See https://github.com/FluxML/IRTools.jl/pull/115 for more context. 16 October 2023, 00:41:46 UTC
0acca3c Optimize away try/catch blocks that are known not to trigger (#51674) This leverages the support from #51590 to delete any try catch block that is known not to be triggered (either because the try-body is empty to because we have proven `:nothrow` for all contained statements). 15 October 2023, 19:21:33 UTC
4a1d74e Add versions to all stdlibs (#51696) For upgradeable stdlibs we need versions numbers, let's add them now instead of after excision. 15 October 2023, 14:45:26 UTC
b1e711e Avoid `Style()` during broadcast whenever possible. (#51708) On master, `combine_styles(bc::Broadcasted)` calls `BroadcastStyle(typeof(bc))`, which seems bad after #49395 as it has a `Style()` call by default. 15 October 2023, 13:56:22 UTC
730450c [LAPACK] Add a method to provide ipiv for sytrf! and hetrf! (#51705) It's similar to what we have with `getrf!` / `geqrf!` and the vectors `ipiv` / `tau`. 14 October 2023, 21:32:45 UTC
b050af1 AbstractMatrix{T}(::SpecialMat{T}) should make a copy (#50495) Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de> 14 October 2023, 11:24:29 UTC
1911c00 fix `eigvals,eigvecs,eigen` for `Diagonal{Matrix}` (#50897) 14 October 2023, 11:23:51 UTC
a3effa9 add effects for `Cmd` constructor (#51543) These can't be synthesized automatically because the implementation uses mutation in a mix of loops and recursion Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> 13 October 2023, 21:28:14 UTC
3250804 clarify docs on for loops for general iterators (#51639) This PR updates the `for` loop documentation in the manual, in two ways: 1. It moves the information that `for` can loop over arbitrary containers up, before the more technical documentation about the scoping rules. I feel like the more basic information should go first. 2. It says a few more words about what a general iterator is, and gives an example of a `StepRange`. That's in response to [this discourse thread](https://discourse.julialang.org/t/julia-documentation-about-for-loop/104725) that non-unitrange loops are important for beginners but are somewhat buried. 13 October 2023, 20:11:34 UTC
97e3c5e mention .= in assignment-vs-mutation docs (#51681) This seemed like an omission from that section, in the paragraph listing syntaxes that mutate an object. --------- Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de> 13 October 2023, 18:46:59 UTC
42fb22e loader: Provide memset, and use hidden visibility instead of symbol renaming. (#51682) This ensures that the compiler may generate calls to these functions. 13 October 2023, 17:56:00 UTC
3df63a1 irinterp: Allow Expr(:boundscheck) in statement position (#51688) We didn't used to see these because :boundscheck in statement position would always taint consistency, but with the recent consistency refinement this is reachable, so it needs to be in the list. 13 October 2023, 17:17:30 UTC
8a847d5 Revert "Reinstate load-time Pkg.precompile" (#51675) 12 October 2023, 15:02:19 UTC
e949236 Handle infix operators in REPL completion (#51366) Fix https://github.com/JuliaLang/julia/issues/51194 This PR fixes a regression introduced in https://github.com/JuliaLang/julia/pull/49294, so I believe it should be backported to v1.10. In the current code, completion of `qux(foo, bar.` is detected by parsing `foo(qux, bar` as an incomplete expression, and then looking for the sub-expression to complete (here, `bar.`). This approach fails however for infix calls, since completing `foo + bar.` starts by parsing `foo + bar`, which is a complete call expression, and so the code behaves as if completing `(foo + bar).` instead of `bar.`. This leads to the current problematic behaviour: ```julia julia> Complex(1, 3) + (4//5).#TAB im re ``` which would be correct for `(Complex(1, 3) + (4//5)).#TAB`, but here we expect ```julia julia> Complex(1, 3) + (4//5).#TAB den num ``` This PR fixes that by trying to detect infix calls. In the long term, all this ad-hoc and probably somewhat wrong string processing should be replaced by proper use of `JuliaSyntax` (as mentioned in https://github.com/JuliaLang/julia/pull/49294#issue-1659443492, https://github.com/JuliaLang/julia/issues/50817#issuecomment-1668773346 and probably other places), but for now at least this fixes the regression. 12 October 2023, 11:15:22 UTC
71872d1 Forward `copyto!` for `Adjoint` to `adjoint!` (#51650) 12 October 2023, 08:18:43 UTC
a045313 Reinstate load-time Pkg.precompile (#51672) 12 October 2023, 05:15:01 UTC
64a127d Update link for reference for day to date conversions (#51651) Previous link is dead link --------- Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com> 11 October 2023, 16:05:24 UTC
3711749 lowering: Keep track of which :enter correspond to which :leave (#51590) This should be NFC and is intended to allow the optimizer to delete :enter statements (by replacing them with `nothing`), without leaving dangling `:leave`s around. This is accomplished by having `leave` take (a variable number of) `:enter` tokens (that are already being used by `:pop_exception`). The semantics are that a literal `nothing` or an SSAValue pointing to a `nothing` statement are ignored, and one exception handler is popped for each remaining argument. The actual value of the token is ignored, except that the verifier asserts that it belongs to an `:enter`. Note that we don't need to do the same for :pop_exception, because the token generated by an `:enter` is semantically only in scope for :pop_exception during its catch block. If we determine the `:enter` is dead, then its catch block is guaranteed to not be executed and will be deleted wholesale by cfg liveness. I was considering doing something fancier where :leave is changed back to taking an integer after optimization, but the case where the IR size is bigger after this change (when we are `:leave`ing many handlers) is fairly rare and likely not worth the additional complexity or time cost to do anything special. If it does show up in size benchmarks, I'd rather give `:leave` a special, compact encoding. 11 October 2023, 14:41:22 UTC
8180240 Allow tab after key name in TOML.parse (#51622) Fixes https://github.com/JuliaLang/TOML.jl/issues/52 11 October 2023, 13:55:53 UTC
back to top