Michael Ilseman
|
81fded4dd9
|
[staging] Add Span-based file I/O APIs (#290)
* Add Span-based file I/O APIs
Implement read/write methods accepting RawSpan and OutputRawSpan,
with support for absolute offset operations and fill-until-complete
semantics. Refactor buffer handling into reusable helpers.
* wip: cleanup
* wip: cleanup
|
2026-01-23 15:15:19 -07:00 |
|
Jonathan Flat
|
c2e385e849
|
Remove commented-out code pt. 2
|
2025-10-29 12:01:13 -06:00 |
|
Jonathan Flat
|
4911642226
|
Add availability, fix CInterop availability issue on old Darwin platforms
|
2025-10-29 12:01:01 -06:00 |
|
Jonathan Flat
|
98712f67f2
|
Remove _GNU_SOURCE define and AT_EMPTY_PATH for now
|
2025-10-06 13:32:29 -06:00 |
|
Jonathan Flat
|
2f5b12b854
|
Updates for proposal v3
|
2025-09-29 12:02:59 -06:00 |
|
Jonathan Flat
|
905f9f842d
|
Expose C timespec properties until UTCClock can be used
|
2025-09-29 11:34:04 -06:00 |
|
Jonathan Flat
|
57d515e1d0
|
Stat implementation
|
2025-09-29 11:34:02 -06:00 |
|
Guillaume Lessard
|
2ae0c650be
|
Make shared state constant as intended.
|
2025-09-18 17:01:26 -07:00 |
|
Guillaume Lessard
|
478da393fa
|
Use new names for Swift 6 mode
|
2025-09-18 16:59:28 -07:00 |
|
Jonathan Flat
|
0c11feadd4
|
Merge pull request #252 from jrflat/release-mode-testing
Support testing in release mode
|
2025-07-31 10:11:32 -06:00 |
|
Jonathan Flat
|
9ec41a667c
|
Support testing in release mode
|
2025-07-30 18:47:26 -06:00 |
|
Guillaume Lessard
|
9226c72b3a
|
Merge pull request #232 from apple/availability-macros
Replace bespoke availability system
|
2025-07-30 17:10:32 -07:00 |
|
Guillaume Lessard
|
13ad3fe4ac
|
Update copyright dates
|
2025-07-30 14:29:52 -07:00 |
|
Guillaume Lessard
|
2610d66a52
|
This package requires Swift 5.9
Accordingly, these conditions would always be true
|
2025-07-30 14:29:52 -07:00 |
|
Guillaume Lessard
|
c4fef8b59a
|
Disable non-escapable API by feature flag
|
2025-07-30 09:21:05 -07:00 |
|
Rauhul Varma
|
9a1530813e
|
Replace bespoke availability system
Removes the script based availability system with the experimental
availability macro feature.
|
2025-07-30 08:40:08 -07:00 |
|
Jonathan Flat
|
8de80270cb
|
Fix WASI build (dirent, umask, errno and open flag tests)
|
2025-07-25 14:03:59 -06:00 |
|
David Smith
|
7f9dba80cf
|
Merge pull request #208 from apple/david/ioring
Add io_uring support to System
|
2025-07-12 00:39:04 +00:00 |
|
David Smith
|
08ed962064
|
Don't abort the test if we can't open /proc/sys/kernel/io_uring_disabled
|
2025-07-11 23:05:26 +00:00 |
|
David Smith
|
a66176f518
|
Only run IORing tests if io_uring support is enabled
|
2025-07-11 22:42:35 +00:00 |
|
David Smith
|
9a046498d0
|
Try adding newlines to the ends of files to work around a compiler bug
|
2025-07-11 19:23:24 +00:00 |
|
David Smith
|
a56bcda3c1
|
Un-combine conditionals but flip their order. This should fix the Windows build with older compilers
|
2025-07-11 19:07:04 +00:00 |
|
David Smith
|
329c5f59a2
|
Conditionalize IORing on compiler >= 6.2
|
2025-07-09 21:17:42 +00:00 |
|
David Smith
|
55e55c1978
|
Add test and fix submission queue capacity check
|
2025-07-08 23:15:17 +00:00 |
|
David Smith
|
227a38f230
|
Remove blocking enqueue
|
2025-07-08 22:41:06 +00:00 |
|
David Smith
|
de2d6e2d39
|
Conditionalize tests too
|
2025-07-03 16:17:51 -07:00 |
|
David Smith
|
321a71c2e9
|
Expand test coverage
|
2025-07-03 00:13:29 +00:00 |
|
David Smith
|
131326c8ae
|
Fix tests
|
2025-07-01 01:02:40 +00:00 |
|
David Smith
|
f91cb6b8de
|
Improve tests. Not quite working but close
|
2025-06-27 00:39:35 +00:00 |
|
Guillaume Lessard
|
99feed67fe
|
Merge pull request #225 from marcprux/main
Add Android imports to tests
|
2025-05-22 10:07:29 -07:00 |
|
David Smith
|
f5b8e02ba7
|
Merge remote-tracking branch 'origin/main' into david/ioring
|
2025-04-28 22:33:21 +00:00 |
|
David Smith
|
c47779fac0
|
Try making requests and completions nested types
|
2025-04-22 23:07:01 +00:00 |
|
David Smith
|
9d325b29ce
|
Change IORingFileSlot and IORingBuffer to be nested types in IORing
|
2025-04-21 23:23:26 +00:00 |
|
David Smith
|
7798f0c957
|
Add cancellation support and drop gerunds
|
2025-04-21 23:18:33 +00:00 |
|
Jake Petroules
|
28ce835363
|
Enable Windows CI
FileOperationsTestWindows.testPermissions fails on Windows in a container environment with Hyper-V isolated containers; see https://learn.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/persistent-storage#permissions for some potentially-relevant information.
Skip it if we detect we're in a container.
Closes #223
|
2025-04-19 00:23:55 -07:00 |
|
David Smith
|
05eac87c08
|
It compiles again!
|
2025-04-18 23:38:43 +00:00 |
|
Marc Prud'hommeaux
|
009b07e140
|
Add Android imports to tests
|
2025-03-13 08:59:59 -04:00 |
|
David Smith
|
5e24673259
|
Switch from unsafe pointers to FilePaths, using hacks
|
2025-03-03 21:53:26 +00:00 |
|
David Smith
|
74366c3341
|
Improve submit API
|
2025-02-12 20:18:51 +00:00 |
|
David Smith
|
5bfed03c97
|
Switch to static methods for constructing requests
|
2025-02-11 23:27:03 +00:00 |
|
David Smith
|
d4ca4129a0
|
Some renaming, and implement linked requests
|
2025-02-11 23:01:33 +00:00 |
|
David Smith
|
bb03f0fba3
|
Redesign registered resources API
|
2025-02-11 22:33:10 +00:00 |
|
David Smith
|
e5fdf9ea96
|
Remove managed abstractions for now
|
2025-02-06 00:41:30 +00:00 |
|
Michael Chiu
|
4d735a6631
|
Add FreeBSD errnos and open options
|
2025-01-26 21:29:13 -08:00 |
|
Michael Chiu
|
0d824eee86
|
refactor ifdef in test
|
2025-01-17 15:06:28 -08:00 |
|
Michael Chiu
|
eb566de2d3
|
Fix tests on FreeBSD
|
2025-01-17 14:43:40 -08:00 |
|
David Smith
|
55fd6e7150
|
Add support for timeout-on-wait to IORing, don't have tests yet
|
2024-12-12 01:20:24 +00:00 |
|
David Smith
|
7ea32aefce
|
More refactoring, and working timeout support on ManagedIORing
|
2024-12-11 23:00:50 +00:00 |
|
David Smith
|
ef94a37193
|
Refactoring, and give up on resources being noncopyable structs
|
2024-12-05 03:11:11 +00:00 |
|
David Smith
|
6f793cfe60
|
Merge branch 'main' into david/ioring
|
2024-10-29 00:21:42 +00:00 |
|