Jonathan Flat
90a005db2f
Merge pull request #361 from jrflat/statfs-implementation
...
[Implementation] StatFS and supporting types
2026-11-04 12:54:26 -07:00
Jonathan Flat
98517ef93b
Merge pull request #362 from jrflat/statfs-proposal
...
[Proposal] StatFS and supporting types
2026-11-04 12:53:58 -07:00
Jonathan Flat
f28e22fbc1
Clarify we'll use the modern @export(implementation) spelling once possible
2026-11-04 12:41:08 -07:00
Jonathan Flat
a3e9687c91
Merge pull request #402 from rksharma-owg/codex/system-400-immutable-writes
...
[IO_URING] Accept immutable buffers for unregistered writes
2026-10-21 17:58:55 -06:00
Jonathan Flat
b1f3496e31
Move table to doc comment, other comment updates
2026-10-21 13:49:53 -06:00
Jonathan Flat
15479b53b9
Merge branch 'main' into statfs-implementation
2026-10-21 13:07:09 -06:00
RKS
688716f8a2
Merge remote-tracking branch 'upstream/main' into codex/system402-refresh-20261020
2026-10-20 21:42:47 -04:00
Guillaume Lessard
6374a4ab3a
Merge pull request #407 from apple/automerge/merge-main-2026-10-17_09-08
2026-10-18 17:22:18 -07:00
Jonathan Flat
feb66db229
Merge remote-tracking branch 'origin/main' into automerge/merge-main-2026-10-17_09-08
2026-10-17 13:38:14 -06:00
RKS
a51425f6d8
Disfavor deprecated mutable write overloads
2026-10-16 22:42:35 -04:00
RKS
da235b4503
Test inferred rebased write buffers on current main
2026-10-16 22:36:43 -04:00
Jonathan Flat
86fdc1dd1d
Merge pull request #406 from jrflat/automerger
...
Add automerger workflow from release/1.8.x to main
2026-10-16 17:26:22 -06:00
Jonathan Flat
d0f7d75929
Add automerger workflow from release/1.8.x to main
2026-10-16 17:12:07 -06:00
Jonathan Flat
f325ebf78f
Merge pull request #391 from jrflat/improve-csystem-import-handling-v2
...
Improve CSystem import handling
2026-10-16 15:24:40 -06:00
Jonathan Flat
4179b2cce5
Remove CSystemFreeBSD.h, too
2026-10-12 19:39:54 -06:00
Jonathan Flat
f5fe750a57
Improve CSystem import handling
2026-10-12 19:39:51 -06:00
Jonathan Flat
9bf5df3d10
v4: Add FileSystemTypeName wrapper
2026-10-12 16:59:19 -06:00
Jonathan Flat
d27cb52754
v3: Rename MountFlags constants for consistency, remove type on Darwin and FreeBSD, and remove the statfs() methods on FilePath and FileDescriptor, eliminating the need for CInterop back-deployment
2026-10-12 16:58:24 -06:00
Jonathan Flat
faae10c4ec
v4: Add FileSystemTypeName wrapper
2026-10-12 16:53:39 -06:00
Jonathan Flat
a85b97fc62
v3: Rename MountFlags constants for consistency, remove type on Darwin and FreeBSD, and remove the statfs() methods on FilePath and FileDescriptor, eliminating the need for CInterop back-deployment
2026-10-12 16:52:50 -06:00
RKS
92481cc056
[IO_URING] Document immutable write requests
2026-10-06 12:39:41 -04:00
RKS
f0d63f4282
Merge remote-tracking branch 'origin/main' into codex/system-400-immutable-writes
2026-10-06 12:38:53 -04:00
Franz Busch
486d48c80f
Merge pull request #401 from apple/fb-iouring-completion-error
...
[IO_URING] Keep the completion of failed IORing operations
2026-10-06 10:53:11 +02:00
Franz Busch
95ed6aa2a4
Address review comments
2026-10-06 10:21:52 +02:00
RKS
b832f4134a
[IO_URING] Keep test ring cleanup within buffer lifetime
2026-10-05 22:48:56 -04:00
RKS
0eab740450
[IO_URING] Accept immutable buffers for unregistered writes
2026-10-05 22:39:32 -04:00
Franz Busch
cbf57d4575
[IO_URING] Keep the completion of failed IORing operations
...
When an operation failed, the blocking consume methods dropped its completion and only reported the `Errno`. The caller could not tell which request failed, since the `context` was lost. This breaks any user that matches completions to requests.
This PR makes `blockingConsumeCompletions` pass the completion of a failed operation together with its error. Errors of the ring itself, such as `.timeout`, are still passed without a completion. Additionally, `blockingConsumeCompletion(timeout:)` now returns the completion of a failed operation instead of throwing. It only throws errors of the ring itself.
I also added `Completion.error`, which is `nil` on success and the decoded `Errno` otherwise to make it easy to get to the error of a completion.
Fixes #364
Fixes #395
2026-10-05 20:59:39 +02:00
Jonathan Flat
c3b7f2a48e
Merge pull request #393 from jrflat/ioring-consume-completions-undone
...
Fix missing `done` in `IORing.blockingConsumeCompletions`
2026-10-02 10:36:45 -06:00
Jonathan Flat
cf36a2fe7b
v2: Use statfs on Linux and Android, make StatFS unavailable on WASI, omit Linux flags the kernel never reports, add descriptions for MountFlags and FileSystemID, and back-deploy CInterop.StatFS with CInterop.statfs(_:_:) for migration
2026-10-01 10:30:50 -06:00
Jonathan Flat
74a7b6f618
Fix missing done in IORing.blockingConsumeCompletions
2026-09-30 15:59:05 -06:00
Jonathan Flat
9a9b78e4e9
Include statvfs.h in CSystemWASI
2026-09-30 15:30:38 -06:00
Jonathan Flat
292eb44442
Add missing CSystem import on Android
2026-09-30 15:30:38 -06:00
Jonathan Flat
b2237390d8
Define ST_NOSYMFOLLOW for older Linux versions
2026-09-30 15:30:37 -06:00
Jonathan Flat
671a219316
StatFS implementation
2026-09-30 15:30:36 -06:00
Jonathan Flat
5cf1e06016
v2: Use statfs on Linux and Android, make StatFS unavailable on WASI, omit Linux flags the kernel never reports, add descriptions for MountFlags and FileSystemID, and back-deploy CInterop.StatFS with CInterop.statfs(_:_:) for migration
2026-09-30 13:25:22 -06:00
Jonathan Flat
411318ca34
StatFS proposal
2026-09-29 20:48:35 -06:00
Guillaume Lessard
e6796eb47d
Merge branch 'release/1.8.x' into main
2026-09-25 15:03:14 -07:00
Guillaume Lessard
b0d4217c8c
[ci] update github actions ( #389 )
...
* [ci] update version of workflows dependencies
2026-09-25 14:58:42 -07:00
Paris
85e911cd30
Merge pull request #388 from apple/ospobot/code-of-conduct
...
Housekeeping: replace repo-level CODE_OF_CONDUCT
2026-09-25 12:22:16 -07:00
apple-ospo[bot]
65f43f5d57
Replace repo-level CODE_OF_CONDUCT file with the inherited org-wide Code of Conduct in .github repo.
2026-09-25 17:42:48 +00:00
Franz Busch
b62bce1bc4
Merge pull request #273 from apple/fb-io-uring-poll-add
...
[IO_URING] Add support for `pollAdd` operation
2026-09-25 10:52:31 +02:00
Jonathan Flat
6843adad5a
Add missing @inlinable
2026-09-24 19:38:24 -06:00
Jonathan Flat
4699556133
Add unavailable/renamed hints for C names
2026-09-24 19:37:41 -06:00
Jonathan Flat
1c80f27aef
Remove PollEvents.allEvents and use internal Event enum for testing
2026-09-24 19:37:41 -06:00
Jonathan Flat
59b5659a1e
Make internal isMultiShot default match public API
2026-09-24 19:37:38 -06:00
Jonathan Flat
dc65a924d9
Doc comment updates
2026-09-24 19:36:21 -06:00
Franz Busch
3b8124e350
Smaller touch ups
2026-09-22 10:18:47 +02:00
Franz Busch
241fedcbbd
Address review feedback
2026-09-22 10:07:05 +02:00
Guillaume Lessard
1b452c2996
Merge pull request #375 from apple/dev/enable-member-import-visibility
2026-08-17 11:27:16 -07:00
Aryan Singh K. and Guillaume Lessard
869129b7bf
fix(MachPort): silence concurrency check for mach_task_self_ ( #379 )
...
Darwin.Mach's mach_task_self_ is a shared global; Swift 6.3
reports it as not concurrency-safe when imported. Use a
preconcurrency import for older Darwin SDKs.
Fixes #373
Co-authored-by: Guillaume Lessard <guillaume.lessard@apple.com >
1.8.1
2026-08-13 12:54:10 -07:00