Guillaume Lessard
ccc22ecd01
[stdlib] add SE-0485 Array and ContiguousArray inits
2025-12-27 19:05:15 -08:00
Guillaume Lessard
798b321b28
[stdlib] internal array initializer with OutputSpan
2025-12-27 19:05:15 -08:00
AZero13
144aacce92
Remove extraneous ) in backtrace
2025-12-26 19:44:38 -05:00
AZero13
6d43a13ab2
Ansi has cyan and magenta swapped
...
magenta is 35, cyan is 36!
2025-12-26 19:40:12 -05:00
AZero13
7e1bab7329
posix_spawn returns error in result, not errno
...
Throw errno as in result. It does not set errno.
2025-12-26 19:38:38 -05:00
AZero13
1ef6e4b111
target.pid should be pid
...
Otherwise this does not compile
2025-12-26 19:34:34 -05:00
susmonteiro
4a14d77a8f
[cxx-interop] Add API Notes for std::unique_ptr
2025-12-23 17:41:14 +00:00
Guillaume Lessard
5d40870bf9
Merge pull request #82215 from valeriyvan/typos-EmbeddedRuntime
...
Fix typos in EmbeddedRuntime.swift
2025-12-20 20:43:51 -08:00
Tim Kientzle
5c2f51e0f6
Merge pull request #86018 from tbkka/tbkka-float-parsing-substring
...
New FP Parsing: Use relevant part of a substring
2025-12-20 04:38:13 -08:00
Alejandro Alonso
cecebdd863
Merge pull request #84415 from valeriyvan/RawSpan
...
Fix doc comments of RawSpan
2025-12-18 15:24:05 -08:00
Dario Rexin
4e6b9f2430
Merge pull request #85568 from swiftlang/revert-85403-wip-ret-rel-perf
...
Revert "[Runtime] Don't use write back in EIC retain/release"
2025-12-18 14:08:57 -08:00
Carl Peto
512ef2eeca
Merge pull request #85698 from carlpeto/eng/PR-136978398
...
Move JSON formatting code to Runtime Module
2025-12-18 17:13:41 +00:00
Tim Kientzle
5d3e17ae5f
Test short and long bridged strings
...
Simplify the top-level initializer by using `Substring.withUTF8`
to get a correct span over contiguous UTF8.
2025-12-17 16:50:02 -08:00
Tim Kientzle
46311986f7
Use the correct portion of a substring
2025-12-17 16:50:02 -08:00
Karoy Lorentey
747ec1282b
Merge pull request #82439 from vanvoorden/dictionary-identical
...
[SE-0494][StdLib] Add `isTriviallyIdentical(to:)` Methods to Dictionary and Set
2025-12-17 13:56:05 -08:00
Karoy Lorentey
05d4565146
Merge pull request #82438 from vanvoorden/array-identical
...
[SE-0494][StdLib] Add `isTriviallyIdentical(to:)` Methods to Array, ArraySlice, and ContiguousArray
2025-12-17 13:54:30 -08:00
Karoy Lorentey
aacf5d4a6f
[stdlib] Restore word breaking logic
2025-12-17 10:52:57 -08:00
Carl Peto
cc5b498c29
Merge pull request #86050 from carlpeto/eng/PR-166532079
...
[Backtracing] Fix threads=all in SWIFT_BACKTRACE parameters
2025-12-17 17:23:57 +00:00
Carl Peto
1c3684f217
make sure crashed is explicitly set if absent, and that symbolication options can be passed in
2025-12-17 12:59:44 +00:00
Ben Cohen
5ac2d2497a
Allow Comparable: ~Escapable ( #85891 )
...
Builds on #85854
2025-12-16 10:17:58 -08:00
Jonathan Grynspan
6fb0460ee3
Cover _NSGetExecutablePath in tests
2025-12-16 11:50:00 -05:00
Alejandro Alonso
916bfc16a6
Update copyrights
2025-12-15 21:52:02 -08:00
Alejandro Alonso
fba131945e
Regenerate grapheme data
2025-12-15 21:46:38 -08:00
Alejandro Alonso
bc160533a0
Update stdlib Unicode data and processing for Unicode 17
2025-12-15 12:21:07 -08:00
Alejandro Alonso
39906adfe2
Update Unicode data to 17 for generators
...
more updates
more
2025-12-15 12:21:03 -08:00
Guillaume Lessard
a859ebefc6
Merge pull request #85969 from glessard/rdar163874201-libSwiftCompatibilitySpan-buildfix
...
[cmake] fix libswiftCompatibilitySpan for maccatalyst builds
2025-12-15 09:48:25 -08:00
Carl Peto
590f3d702b
[Backtracing] Fix threads=all in SWIFT_BACKTRACE parameters.
...
If you added threads=all to the SWIFT_BACKTRACE settings, it actually prevented all threads from being shown. This fixes that.
Also, the multiple thread test should test for presence of multiple threads.
rdar://166532079
2025-12-15 15:27:35 +00:00
Alastair Houghton
c8b69781af
Merge pull request #84705 from al45tair/eng/PR-160455139
...
[Build] Disable library evolution in the Static SDK for Linux.
2025-12-15 15:17:23 +00:00
Jonathan Grynspan
153f73697f
Shouldn't need this availability annotation because AEIC
2025-12-13 11:13:46 -05:00
Jonathan Grynspan
e7cf5ebac4
Merge branch 'main' into jgrynspan/executablePath
2025-12-13 11:03:47 -05:00
Carl Peto
740f2d4c81
pr feedback and unit test fixes
2025-12-12 16:32:02 +00:00
Tim Kientzle
e75a8c03e7
Fix parsing issues on 32-bit hosts
...
These were mostly bugs with code of the following form:
```
if uint64Value < (... literal expression ...)
```
Swift's comparison operators allow their left- and right-hand sides to be of
different widths. This in turn means that the literal expression above
typically gets typechecked by default as a plain `Int` or `UInt` expression.
In a number of cases, this led to truncation on platforms where `Int` is
not 64 bits.
In particular, this seems to fix tests on wasm32.
2025-12-12 07:16:59 -08:00
Egor Zhdan
ab275373fe
Merge pull request #85979 from egorzhdan/egorzhdan/android-ptrauth
...
[cxx-interop] Handle missing `<ptrauth.h>`
2025-12-12 10:04:02 +00:00
Michael Gottesman
e186e5e5d0
Merge pull request #85972 from gottesmm/pr-9663abc1697da1382a8514e6877a6c3ce3f439b9
...
[concurrency] Hide Concurrency StackNesting builtins behind a feature flag
2025-12-11 21:16:37 -08:00
Karoy Lorentey
a233485029
Merge pull request #82055 from vanvoorden/string-identical
...
[SE-0494][StdLib] Add `isTriviallyIdentical(to:)` Methods to String and Substring
2025-12-11 15:55:11 -08:00
Ben Cohen
9dd9e96e1d
Allow Hashable: ~Copyable ( #85748 )
...
Builds on #85746 which covers Equatable.
2025-12-11 14:47:36 -08:00
Guillaume Lessard
4fa4ec86f2
Apply suggestion from @edymtt
2025-12-11 11:40:34 -08:00
Guillaume Lessard
19b0b87a37
Update stdlib/toolchain/CompatibilitySpan/CMakeLists.txt
...
Co-authored-by: Eric Miotto <1094986+edymtt@users.noreply.github.com >
2025-12-11 10:29:29 -08:00
Egor Zhdan
063b906966
[cxx-interop] Handle missing <ptrauth.h>
...
Android NDK, as of version 28, does not include the `ptrauth.h` header. This causes CI failures when building the Swift SDK for Android on Windows.
rdar://166242941
2025-12-11 11:39:20 +00:00
Hiroshi Yamauchi
5634d99c4f
Add several headers to WinSDK ( #85915 )
...
This was needed for explicit module builds to work for internal apps.
2025-12-10 19:31:27 -08:00
Michael Gottesman
7b9281fcb8
[concurrency] Hide Concurrency StackNesting builtins behind a feature flag.
...
rdar://166244033
2025-12-10 16:02:18 -08:00
Guillaume Lessard
87bcd87b10
[cmake] fix for maccatalyst builds
...
In some build configurations, libswiftCompatibilitySpan was being linked for a newer deployment target than expected.
2025-12-10 15:40:08 -08:00
Tim Kientzle
efdd00892c
Merge pull request #85797 from tbkka/tbkka-float-parsing
...
Reimplement Floating-Point Parsing in pure Swift
2025-12-10 18:42:41 +00:00
AZero13
57f01c6f47
Fix assignment in header.count setter
...
Set should not have a return
2025-12-10 11:23:03 -05:00
Egor Zhdan
ad56e061af
Merge pull request #85066 from egorzhdan/egorzhdan/std-function-context
...
[cxx-interop] Allow initializing `std::function` from Swift capturing closures
2025-12-10 13:35:34 +00:00
Kyle Robson
f8f107f857
<rdar://165142180> fix immediate Task docs ( #85626 )
...
Co-authored-by: Kyle Robson <kyledr@apple.com >
2025-12-10 09:51:19 +09:00
Augusto Noronha
47eda910c1
Merge pull request #85916 from augusto2112/speedup-protocols-main
...
[NFC][RemoteInspection] Use existing cache to build conformance table
2025-12-09 13:06:41 -08:00
Eric Miotto
3bbd7da6e7
Merge pull request #85872 from edymtt/edymtt/android-build-builtin-float-before-math
...
CMake Android: ensure _Builtin_float is built before _math
2025-12-09 09:17:22 -08:00
Tim Kientzle
2e56ce0b98
Minor perf tweak
2025-12-09 09:30:38 +00:00
Ben Rimmington
b27c90b8b8
[SE-0494] isTriviallyIdentical(to:) [memory regions] ( #84998 )
...
Add `isTriviallyIdentical(to:)` methods to:
* `Span`
* `RawSpan`
* `UTF8Span`
* `UnsafeBufferPointer`
* `UnsafeMutableBufferPointer`
* `UnsafeRawBufferPointer`
* `UnsafeMutableRawBufferPointer`
Part of issue swiftlang/swift#84991 .
2025-12-08 19:32:26 -08:00