Guillaume Lessard
e402d5fa38
Merge pull request #314 from apple/dev/typecast-1.7.x
...
System: remove unnecessary type casting
2026-06-11 13:50:16 -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
4fdc665a0f
Compile out testAdHocDuplicate2 on Windows
2026-06-09 16:39:56 -07:00
Guillaume Lessard
3e0b318176
Add a test for pipe2
2026-06-09 16:27:18 -07:00
Guillaume Lessard
a2bc5f0625
Add tests specific to dup2 and dup3
2026-06-09 16:27:18 -07:00
Guillaume Lessard
ebbbc31709
Merge pull request #310 from apple/release/1.6.0
2026-06-05 17:37:50 -07:00
David Smith
2cae953181
Fix a crash when work is interleaved between prepare and submit in IORing
2026-06-04 16:05:28 -07:00
Kenta Kubo
043bda4234
Remove unclear helper function
2026-02-04 02:18:24 +09:00
Kenta Kubo
4278ed8d97
Unify assertions of sizeAllocated on all POSIX platforms
2026-02-04 01:55:12 +09:00
Kenta Kubo
91bd99f29a
Fix Darwin tests
2026-01-28 21:24:57 +09:00
Kenta Kubo
7c0af0ded6
Fix FreeBSD build
2026-01-28 00:02:14 +09:00
lee
13851a3421
Fix silent buffer size truncation in Windows pread/pwrite
2026-01-13 13:37:44 -08:00
lee
766415499c
Fix silent buffer size truncation in Windows pread/pwrite
2026-01-07 11:37:16 -03: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