https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
e09c19f improve return type inference of `typed_hvcat(::Type{T}, rows, as::Any...)` By adding type annotation on the returned value. 29 October 2023, 04:54:01 UTC
d5c30d8 Fix -1 for BigInt factorial - Update gmp.jl (#51497) Fixes #51488 --------- Co-authored-by: Rafael Fourquet <fourquet.rafael@gmail.com> 29 October 2023, 02:25:00 UTC
b5b05c8 remove jl_gc_wb_buf (#51919) Stale now that the Memory PR got merged. 29 October 2023, 00:59:04 UTC
81abb6d Adapt to LLVM 16 (#51591) Co-authored-by: Gabriel Baraldi <baraldigabriel@gmail.com> Co-authored-by: Prem Chintalapudi <prem.chintalapudi@gmail.com> Co-authored-by: Jameson Nash <vtjnash@gmail.com> 28 October 2023, 21:25:17 UTC
18f8070 add 1-arg methods for set comparisons (#50862) 28 October 2023, 21:14:32 UTC
ab1eec5 libjulia: add jl_unwrap_unionall to exported_funcs (#51916) This was recently refactored in #51319 and while trying to adapt `libcxxwrap-julia` to the new changes I got: ``` ld: CMakeFiles/test_module.dir/test_module.cpp.o: in function `jl_datatype_layout': test_module.cpp:(.text+0x2c2): undefined reference to `jl_unwrap_unionall' ``` The function `jl_datatype_layout` is `STATIC_INLINE` in `julia.h`: https://github.com/JuliaLang/julia/blob/98542d748540e2390d6222282749c7dd534544da/src/julia.h#L1304-L1312 `jl_unwrap_unionall` is marked `JL_DLLEXPORT` here but it doesn't appear in the exports of `libjulia`. 28 October 2023, 19:43:27 UTC
ba98467 [BLAS] Add the gemmt routine (#51701) We can finally add this routine, supported by the last version of OpenBLAS (3.24) and Intel MKL. 28 October 2023, 17:26:49 UTC
57c7c00 Redo #32205 - PosDef exception is too specific. (#51864) Co-authored-by: Ian Butterworth <i.r.butterworth@gmail.com> 28 October 2023, 17:25:05 UTC
f7b8e6b Move the banner function from versions.jl to REPL (#51867) 28 October 2023, 17:24:54 UTC
98542d7 Base.Cartesian: add `@ncallkw` and allow `else` branch inside `if` (#51501) 28 October 2023, 11:55:51 UTC
4975c02 Improve codegen, accuracy of inlining cost for unknown intrinsics (#44349) 28 October 2023, 11:54:39 UTC
f573c4a More detail on locks (#51844) 28 October 2023, 11:53:19 UTC
9c581cd mkpidlock: close update loop in error path (#51902) 28 October 2023, 11:49:59 UTC
0a0bd00 Fix pointer calculation for `SubArray` with none-dense parent. (#51900) And code clean for `first_index` and `compute_linindex`: 1. call `compute_linindex` directly in `first_index(::SlowSubArray)`. (There's no need to calculate stride/offset.) 2. remove the uneeded `compute_linindex` dispatch (`first(x::ScalarIndex) == x`) 28 October 2023, 01:13:06 UTC
f106bd9 Respect JULIA_CPU_TARGET set in Make.inc when building pkgimgs (#51886) Co-authored-by: Elliot Saba <staticfloat@gmail.com> 28 October 2023, 00:00:53 UTC
93dbe36 Comment out DebugObjectManagerPlugin (#51859) Prem said this might fix #51794. 27 October 2023, 20:58:28 UTC
f235291 REPL: Try to fix intermittent hang during precompile (#51891) I was intermittently observing the REPL precompile process not finishing. What I believe was happening is the following: 1. The last line of the precompile script is `cd("complete_path\t\t$CTRL_C` 2. As soon as child julia sees the `CTRL_C`, the prompt is terminated, and a new prompt is echod. 3. The parent julia tries to complete the line by sending `\n`, and immediately returns, because the child has already written a new prompt. 4. The child reads the `\n` and enters raw mode (ignoring things like ^D). 5. The parent tries to write `^D` to complete the process, but because the child is still processing the `\n`, this `^D` is ignored and the process hangs. Try to fix this by not writing the superfluous `\n` if the precompile line ends in `^C`. 27 October 2023, 20:57:43 UTC
8a9476f [REPL] Fix shell completion error on unreadable symlink (#51851) In macOS there is a file, `/usr/sbin/weakpass_edit` that is a symlink to a directory that is only readable by `root`. Our REPL shell completion attempts to call `isfile()` when entering the shell mode and pressing `w`, throwing an ugly error into the REPL. This PR fixes the root cause (skipping files that fail the `isfile()` condition) and adds a test that synthesizes an analogous condition. 27 October 2023, 20:53:19 UTC
199cac7 Strip trailing slashes in `JULIA_DEPOT_PATH` when embedding `@depot` (#51892) The new relocatable cache file work uses simple text substitution when stripping out the depot from a cache file's paths, and when substituting it in again over the `@depot` marker. However, if a user starts julia with `JULIA_DEPOT_PATH=/opt/foo/`, the embedded path for `Foo.jl`'s includes list will look like `@depotpackages/Foo/XYZ/src/Foo.jl`, and if the user then uses `JULIA_DEPOT_PATH=/opt/foo` (which should be equivalent) the cache file will fail to load with the message: ``` Failed to determine depot from srctext files ``` This commit standardizes the serialization format to always contain a trailing `pathsep()`, so that textual substitution is more likely to work regardless of slightly-inconsistent `JULIA_DEPOT_PATH` settings. 27 October 2023, 17:38:05 UTC
8382d51 Insert the GC preserve into the expanded docs (#51884) The expanded form is not fully correct since it misses the preservation of the return value from `cconvert`. The text below talks about the fact that `cconvert` should do the allocations necessary, but the expanded code is incorrect for any `cconvert` that actually does this. 27 October 2023, 15:55:46 UTC
909bcea implement Memory{T} as a new backend for Array{T} (#51319) See <https://hackmd.io/@vtjnash/rkzazi7an> for the Julep describing this change. Also makes memory allocation ccalls safer, for catching Serialization and deepcopy bugs in packages. Fixes https://github.com/JuliaLang/julia/issues/24909 Co-authored-by: Jameson Nash <vtjnash@gmail.com> 27 October 2023, 14:41:18 UTC
58030da Add aliasing warnings to docstrings for mutating functions in Base (#50824) 27 October 2023, 14:34:09 UTC
841d54a strings: improve performance of nextind (#51671) The recursion (for invalid bytes) was preventing inlining, as was the length of the function. For ASCII data, the cost of the call far exceeds the cost of decoding the data. Closes #51624 27 October 2023, 14:11:42 UTC
a41e2b1 🤖 [master] Bump the Pkg stdlib from af5392db5 to 75960e509 (#51893) 27 October 2023, 01:27:10 UTC
342d718 `reverse(zip(its...))` now checks lengths of constituent iterators for equality (#50435) fixes https://github.com/JuliaLang/julia/issues/45085, fixes https://github.com/JuliaLang/julia/issues/25583, as per suggested by @Moelf Despite the fact that this might cause code to fail that previously worked, I think this is a bugfix not a breaking change. In particular, `Iterators.reverse` says: > Given an iterator itr, then reverse(itr) is an iterator over the same collection but in the reverse order And in many cases, the previous behavior of `reverse(::Zip)` would _not_ return "the same collection" 26 October 2023, 21:54:43 UTC
75881a9 Bump LLVM to 15.0.7-9 (#51863) Contains a fix for AMDGPU.jl 26 October 2023, 20:39:57 UTC
837522a Added tests for load_overrides() in Artifacts.jl (#51833) Fixes #48551 Continued from #51815 The `load_overrides()` method in `Artifacts.jl` has a large untested branch. This PR increases the test coverage for this method. ![image](https://github.com/JuliaLang/julia/assets/141328479/a9744e25-e79f-4664-8522-320dd29c4c50) https://app.codecov.io/gh/JuliaLang/julia/blob/master/stdlib%2FArtifacts%2Fsrc%2FArtifacts.jl#L121 26 October 2023, 15:11:50 UTC
342d05d Use correct module when printing code_llvm for opaque closures (#51865) Co-authored-by: Jameson Nash <vtjnash@gmail.com> 26 October 2023, 14:07:05 UTC
3c4bccd docs: delete misleading `::Function` annotation in the `ntuple` doc (#51836) The first argument is not actually restricted to `Function` types. 26 October 2023, 08:56:07 UTC
6900ee1 Better `sinc` docstring (#51858) There are two types for the `sinc` function, unnormalized $\frac{\sin(x)}{x}$ and normalized $\frac{\sin(\pi x)}{\pi x}$. (https://en.wikipedia.org/wiki/Sinc_function) This PR updates the docstring and clarify which of these definition is used. Related: https://github.com/JuliaLang/julia/issues/36954#issuecomment-1296954308, https://github.com/JuliaLang/julia/pull/51551 26 October 2023, 08:55:15 UTC
4423845 Fix comments numbering in arrayshow.jl (#51862) 26 October 2023, 08:54:26 UTC
702730b Fix field access overlooked by rename (#51866) In e5cd9b6b3888c, the properties field was renamed to annotations, but the code here was not updated. This was missed because there was no test for the `AnnotatedString(::AbstractVector{AbstractChar})` method, which is also corrected here. 26 October 2023, 08:52:31 UTC
b5a531a Make the static analyzer happier in aarch64-darwin (#51861) 25 October 2023, 21:38:34 UTC
6e5dd59 replace jl_gc_wb_binding with jl_gc_wb (#51854) `jl_gc_wb_binding` has become a thin wrapper around `jl_gc_wb` now that `jl_binding_t` is first class. Replace it with `jl_gc_wb` to clean-up the write-barrier uses a bit. 25 October 2023, 21:28:16 UTC
946ab71 Assert that `exit` never returns (#51857) Closes #51856 25 October 2023, 21:27:47 UTC
193ead2 improve error message for invoke (#51831) This is effectively a type-assert, but the error message sounded confusing and internal without the context of what it got and what it expected to get. Refs: #51826 after: `ERROR: TypeError: in invoke: argument type error, expected Tuple{Int64, Vararg{Int64}}, got a value of type Tuple{DataType, Int64}` 25 October 2023, 21:22:20 UTC
bde62ad fix for invalid caching of CodeInfo from typeinf_ext (#51872) When inference decided it was not necessary to cache the object, it also skipped all of the work required to make the code valid, which typeinf_ext depends upon. This resulted in caching invalid data, causing effects tests to break unpredictably. This change ensures that we always update the InferenceState with the final result (when `must_be_codeinf` is true), so that typeinf_ext can get the correct results out of it for internal codegen use. Previously we were disregarding that flag in some cases. Fixes one of the issues uncovered in #51860 25 October 2023, 21:20:16 UTC
d0c4284 add missing wait during Timer and AsyncCondition close (#51847) Can cause spurious warnings about not closing these properly and unexpected events to appear after `close` returns. 25 October 2023, 17:34:51 UTC
c54a3f2 allow finalizers to take any locks and yield during exit (#51848) This aligns their behavior with manual calls to `finalize(o)`, and prepares for a future time in which these functions are always run on a separate thread. This means that they can wait to acquire locks in this context, which otherwise would have been denied to them. 25 October 2023, 15:16:47 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
back to top