Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backports release 1.10.5 #54851

Merged
merged 52 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
7c22da6
Allow libquadmath to also fail as it is not available on all systems …
ViralBShah May 30, 2024
3f35094
Fix trampoline assembly for build on clang 18 on apple silicon (#54634)
gbaraldi May 30, 2024
e52719b
Aggressive constprop in trevc! to stabilize triangular eigvec (#54635)
jishnub May 31, 2024
236d2ce
ensure we set the right value to gc_first_tid (#54645)
d-netto May 31, 2024
936673b
Add boundscheck in bindingkey_eq to avoid OOB access due to data race…
gbaraldi Jun 5, 2024
51e2229
make: Fix `sed` command for LLVM libraries with no symbol versioning …
topolarity Jun 5, 2024
9fac394
LazyString in reinterpretarray error messages (#54704)
jishnub Jun 7, 2024
005fd2f
make: use `readelf` for LLVM symbol version detection (#54713)
topolarity Jun 10, 2024
fb977a2
[LinearAlgebra] Improve resilience to unknown libblastrampoline flags…
staticfloat Jun 13, 2024
82aa263
add sticky task warning to `@task` and `schedule` (#54815)
IanButterworth Jun 18, 2024
48e140b
Do not add type tag size to the `alloc_typed` lowering for GC allocat…
gbaraldi Jun 18, 2024
9af34c4
🤖 [backports-release-1.10] Bump the Pkg stdlib from f487626b0 to 6d73…
DilumAluthgeBot Jul 13, 2024
396ef27
LinearAlgebra: use `≈` instead of `==` for `tr` tests in symmetric.jl…
aviatesk Jul 17, 2024
ddf7090
`LazyString` in `LinearAlgebra.checksquare` error message (#53961)
jishnub Apr 5, 2024
4499295
Remove boxing in pinv (#51351)
Zentrik Sep 18, 2023
6c58b41
Profile: Improve module docstring (#52678)
IanButterworth Jan 2, 2024
bfa01f9
Fix generic triangular solves with empty matrices (#54201)
dkarrasch Apr 23, 2024
4b0f303
Update the aarch64 devdocs to reflect the current state of its suppor…
gbaraldi Jul 16, 2024
9ca08e9
Compat for `Base.@nospecializeinfer` (#55178)
mikmoore Jul 20, 2024
21d33b4
compat notice for a[begin] indexing (#55197)
stevengj Jul 21, 2024
6225d9a
correction to compat notice for a[begin] (#55209)
stevengj Jul 22, 2024
43cdc58
document mutable struct const fields (#55203)
IanButterworth Jul 23, 2024
4b063cf
more precise aliasing checks for SubArray (#54624)
mbauman Jun 5, 2024
6ee9546
Fix assertion/crash when optimizing function with dead basic block (#…
gbaraldi Jun 6, 2024
8b72c09
Use triple quotes in TOML.print when string contains newline (#55084)
palday Jul 9, 2024
9591961
LinearAlgebra: LazyString in error messages for Diagonal/Bidiagonal (…
jishnub Jul 10, 2024
c7bf7b8
add missing compat entry to edit (#54769)
palday Jun 12, 2024
dbb0640
Bump libblastrampoline to v5.10.1 (#54791)
staticfloat Jun 14, 2024
c632ee6
bump Pkg to latest v1.10
KristofferC Jul 24, 2024
884c71e
Disable typed pointer tests for alloc-opt-pass since the base file is…
gbaraldi Jul 24, 2024
b8c84fd
Remove reference to memory attribute in llvm pass
gbaraldi Jul 26, 2024
6cd6f8d
relax equality in trace test
KristofferC Jul 26, 2024
71b0b31
Fix calling LLVM_SIZE on windows (#53902)
Zentrik Apr 1, 2024
23fb255
fixup some casts in uv code, extraced from commit e5496e0
KristofferC Aug 1, 2024
6dc961c
Do not hide libssp.dll.a (Windows import library) in private library …
mkitti Jan 14, 2024
b5d12a5
Remove the WarnMissedTransformations pass from the 1.10 pipeline (#55…
vchuravy Aug 5, 2024
1de44ab
Add openlibm to sysimg link line on windows (#53672)
Keno Jun 18, 2024
b1fee19
🤖 [backports-release-1.10] Bump the Pkg stdlib from bf83c387b to ff18…
DilumAluthgeBot Aug 5, 2024
0be37db
[build] Some improvements to the LLVM build system (#55354)
giordano Aug 6, 2024
1b641c9
AllocOpt: Fix stack lowering where alloca continas boxed and unboxed …
wsmoses Aug 7, 2024
f91f502
[docs] change docstring to match code (#55013)
araujoms Jul 25, 2024
980b83d
Fix a bug in `stack`'s DimensionMismatch error message (#54033)
mcabbott Jul 25, 2024
f705611
Add `lbt_forwarded_funcs()` to debug LBT forwarding issues (#55302)
staticfloat Jul 30, 2024
2eef480
Restrict argument to `isleapyear(::Integer)` (#55317)
jariji Jul 31, 2024
82dc2d6
Profile: Fix stdlib paths (#55327)
IanButterworth Aug 1, 2024
a28e527
[libblastrampoline] Bump to v5.11.0 (#55330)
staticfloat Aug 1, 2024
67ac373
Fix tr for block SymTridiagonal (#55371)
jishnub Aug 5, 2024
fd6d9e0
bump Pkg to latest 1.10
Aug 8, 2024
3a4ccaa
`stale_cachefile`: handle if the expected cache file is missing (#55419)
IanButterworth Aug 9, 2024
b4b1646
🤖 [backports-release-1.10] Bump the Pkg stdlib from 9cb6d35f8 to 4552…
DilumAluthgeBot Aug 9, 2024
746ea6a
🤖 [backports-release-1.10] Bump the Pkg stdlib from 45521a6e8 to a4f2…
DilumAluthgeBot Aug 11, 2024
5b677f9
bump Pkg to latest 1.10
Aug 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use triple quotes in TOML.print when string contains newline (#55084)
closes #55083

Shouldu this also check for `\r`?

---------

Co-authored-by: Alex Arslan <ararslan@comcast.net>
(cherry picked from commit e732706)
  • Loading branch information
palday authored and KristofferC committed Jul 24, 2024
commit 8b72c09f2c5071d590ca0a9bcdaa73979d13a4e0
5 changes: 3 additions & 2 deletions stdlib/TOML/src/print.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ function printvalue(f::MbyFunc, io::IO, value::TOMLValue)
value isa AbstractFloat ? Base.print(io, isnan(value) ? "nan" :
isinf(value) ? string(value > 0 ? "+" : "-", "inf") :
Float64(value)) : # TOML specifies IEEE 754 binary64 for float
value isa AbstractString ? (Base.print(io, "\"");
value isa AbstractString ? (qmark = Base.contains(value, "\n") ? "\"\"\"" : "\"";
Base.print(io, qmark);
print_toml_escaped(io, value);
Base.print(io, "\"")) :
Base.print(io, qmark)) :
value isa AbstractDict ? print_inline_table(f, io, value) :
error("internal error in TOML printing, unhandled value")
end
Expand Down
10 changes: 10 additions & 0 deletions stdlib/TOML/test/print.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,13 @@ d = "hello"
a = 2
b = 9.9
"""

# multiline strings (#55083)
s = """
a = \"\"\"lorem ipsum



alpha\"\"\"
"""
@test roundtrip(s)