Jonathan Flat
50688cacbd
Update Stat.generationNumber to UInt64
1.7.5
2026-07-21 10:07:16 -07:00
Jonathan Flat
bd155c104f
Enable FreeBSD checks
2026-07-21 10:06:51 -07:00
Jonathan Flat
52930bf6be
Merge pull request #355 from jrflat/stat-equality
...
Don't compare padding/reserved fields for `Stat` equality
2026-07-20 16:55:53 -06:00
Jonathan Flat
7c072c0d97
Hash the same fields compared by ==
...
From the `hash(into:)` docs: "The components used for hashing must be the same as the components compared in your type’s == operator implementation."
2026-07-20 13:30:27 -06:00
Jonathan Flat
5d61ccdc7e
Remove @_alwaysEmitIntoClient from == and hash(into:)
...
The implementations of these functions are non-trivial, so remove the annotation to reduce client code size.
2026-07-20 11:48:41 -06:00
Jonathan Flat
2b266acf85
Don't compare padding/reserved fields for Stat equality
2026-07-17 15:15:09 -06:00
Guillaume Lessard
101cc809ba
Merge branch 'release/1.6.0' into ‘release/1.7.0’
2026-07-16 13:19:29 -07:00
Guillaume Lessard
0b30161977
Merge branch 'release/1.5.0' into ‘release/1.6.0’
1.6.6
2026-07-16 13:02:41 -07:00
Guillaume Lessard
b349ff8c05
Update pull request workflow
2026-07-16 12:41:01 -07:00
Guillaume Lessard
7cb32eb7a4
Cherry-pick: remove unnecessary type casting
...
The compiler now imports these as their canonical type, allowing us to directly use without the explicit type cast. Due to the floor of Swift 6.3, we must preserve the type cast values. Introduce an overlay to explicitly cast the values in the older compilers.
Cherry-pick of #308
2026-07-16 10:21:23 -07:00
Guillaume Lessard
a6515006f5
Adjust availability macro
2026-07-13 10:56:30 -07:00
Guillaume Lessard
7edc09a749
Remove an accidental throw annotation
2026-07-13 10:56:05 -07:00
Owen Voorhees
16cdb0d008
Set -package-name in CMake build
2026-07-10 17:03:44 -07:00
Guillaume Lessard and Jonathan Flat
f05c1d815d
[ci] improve cmake-checking script
...
Co-authored-by: Jonathan Flat <jflat@apple.com >
2026-07-09 12:54:49 -07:00
Guillaume Lessard
0601f0edec
[ci] validate cmake build on Linux
2026-07-09 12:54:49 -07:00
Guillaume Lessard
a10991ab88
Fix a test flakiness issue
...
These timestamps are frequently equal on Android, causing spurious failures.
2026-07-09 09:03:39 -07:00
Guillaume Lessard
b5544ba79a
Merge pull request #338 from apple/dev/cmake-again
...
Fix cmake configuration
1.7.4
2026-07-07 16:40:41 -07:00
Guillaume Lessard
dda389ed2b
Fix cmake configuration
2026-07-07 16:23:09 -07:00
Guillaume Lessard
38cd4aaf65
Merge pull request #336 from glessard/ioring-syscall-wrappers
...
Improve syscall wrappers for IORing
1.7.3
2026-07-07 10:11:37 -07:00
Minh Vu
41de235573
Add missing System CMake sources ( #325 )
2026-07-07 10:34:42 -06:00
Guillaume Lessard
efc401eb32
Add testing of throwing behaviour
2026-07-06 14:11:32 -07:00
Guillaume Lessard
73da907161
improve Errno handling for io_uring_register
2026-07-06 14:11:32 -07:00
Guillaume Lessard
124e17164c
improve Errno handling for io_uring_enter
2026-07-06 14:11:32 -07:00
Guillaume Lessard
d7ca4a9e4c
improve Errno handling for io_uring_enter2
2026-07-06 14:11:32 -07:00
Guillaume Lessard
4a55025558
Merge pull request #335 from apple/dev/windows-closeOnExec-1.7.x
2026-07-06 13:17:19 -07:00
Guillaume Lessard
f52438c1b8
Merge pull request #334 from apple/dev/workflows-update
...
[1.7.x] Update CI to latest version of official workflows
2026-07-06 12:37:04 -07:00
finagolfin
636e14a3d2
Update CI to latest version of official workflows
2026-07-06 12:11:05 -07:00
Guillaume Lessard
0b7fc03c76
Add test of OpenOptions.closeOnExec for Windows
2026-07-06 11:44:36 -07:00
Jake Petroules
a7e7c56fec
Enable .closeOnExec for FileDescriptor.open on Windows
...
Make OpenOptions.closeOnExec available on Windows, where it maps to
_O_CLOEXEC (O_NOINHERIT). The Windows open adapter already decodes
O_NOINHERIT into a non-inheritable handle, so this produces the
expected close-on-exec semantics. Also add the deprecated O_NOINHERIT
alias, matching the PipeOptions treatment from #312 .
2026-07-06 11:02:51 -07:00
Guillaume Lessard
a17caca7af
Merge pull request #329 from glessard/fix-ioring-blockingConsumeCompletion
...
Test ioring's blocking consume completion with timeout
2026-07-01 16:47:17 -07:00
Guillaume Lessard
1cfd5105b2
[gardening] remove a forgotten print statement
2026-06-27 11:24:37 -07:00
Guillaume Lessard
76a2dc6162
Improve _blockingConsumeCompletionGuts
2026-06-27 11:24:37 -07:00
Guillaume Lessard
e0aa78a944
Test for an implementation bug
2026-06-27 11:24:36 -07:00
Guillaume Lessard
1494bb89fc
Change the io_uring existence macros to integer values
...
`true` and `false` import differently with C23 than before, so the swift-side test `(__SWIFT_IORING_SUPPORTED != 0)` became dependent on the toolchain. Integer constants are more reliable for this.
2026-06-26 17:10:10 -07:00
Guillaume Lessard
e358151f96
Improve existence/enablement test for io_uring
2026-06-26 17:10:10 -07:00
Minh Vu
58bce128ce
Forward io_uring_enter2 size argument ( #326 )
2026-06-25 19:54:56 -07:00
Minh Vu
776989a955
Install missing CSystem headers ( #323 )
2026-06-13 09:09:41 -07:00
Guillaume Lessard
7502b711c9
Update README to indicate 1.7.x is the latest version
1.7.2
2026-06-12 15:29:47 -07:00
Guillaume Lessard
abcf8e31b3
Merge pull request #321 from apple/dev/member-visibility-build-1.7.x
...
[1.7.0] Fix package build with MemberImportVisibility enabled
2026-06-12 15:22:05 -07:00
Jonathan Flat
0a3460f369
[1.7.0] Fix Stat MemberImportVisibility regression and add test ( #320 )
...
* Fix Stat MemberImportVisibility regression and add test
* Remove Android from the MIV test
2026-06-12 18:21:14 -04:00
Sarunas
c50ad26d06
fix: build with MemberImportVisibility
2026-06-12 15:00:50 -07:00
Guillaume Lessard
666fba77fc
Merge pull request #319 from kkebo/fix-freebsd-closeOnFork
...
Fix missing `O_CLOFORK` on older FreeBSD
1.7.1
2026-06-12 09:26:30 -07:00
Kenta Kubo
360e6f70f0
Fix missing O_CLOFORK on older FreeBSD
2026-06-12 22:31:04 +09:00
Guillaume Lessard
e402d5fa38
Merge pull request #314 from apple/dev/typecast-1.7.x
...
System: remove unnecessary type casting
1.7.0
2026-06-11 13:50:16 -07:00
Guillaume Lessard
1bd796b6b9
Merge pull request #312 from glessard/pipe2-windows
...
Add `pipe(options:)` for Windows
2026-06-11 13:39:28 -07:00
Saleem Abdulrasool
7e888c0cb4
System: remove unnecessary type casting
...
The compiler now imports these as their canonical type, allowing us to
directly use without the explicit type cast. Due to the floor of Swift
6.3, we must preserve the type cast values. Introduce an overlay to
explicitly cast the values in the older compilers.
2026-06-11 13:37:29 -07:00
Guillaume Lessard
d937d15735
Add clarifications to the doc-comments of the new overloads.
2026-06-11 13:22:29 -07:00
Guillaume Lessard
e60d362ada
fix typo
2026-06-10 10:44:38 -07:00
Guillaume Lessard
b7b66845da
Update proposal with Windows change
2026-06-10 10:27:45 -07:00
Guillaume Lessard
4fdc665a0f
Compile out testAdHocDuplicate2 on Windows
2026-06-09 16:39:56 -07:00