Karoy Lorentey
f9266c8518
Merge pull request #177 from lorentey/fix-cmake
...
[1.3][CMake] Restore to working order on Apple platforms
1.3.0
2024-05-15 14:48:03 -07:00
Karoy Lorentey
b7dc8e8e41
[CMake] Restore to working order on Apple platforms
2024-05-15 14:30:14 -07:00
Guillaume Lessard
7d45e0dd46
Update README.md to refer to 1.3.0
2024-05-12 11:40:14 -07:00
Guillaume Lessard
ab09f04cfe
Merge pull request #173 from lorentey/codeowners-1.3.0
...
Add CODEOWNERS
2024-05-10 17:07:55 -07:00
Karoy Lorentey
0cf079efea
Add CODEOWNERS
2024-05-10 17:05:37 -07:00
Mishal Shah
52f603c6b3
[CI] Remove support for Swift 5.7
2024-05-10 16:31:46 -07:00
Guillaume Lessard
de1f8bce5e
Merge pull request #172 from glessard/visionOS-support-for-1.3.0
...
[1.3.0] visionOS support for 1.3.0
2024-05-10 16:23:53 -07:00
Mishal Shah
0368ce547b
Add support for Swift CI on release/1.3.0
2024-05-10 16:18:08 -07:00
Guillaume Lessard
7b14e48d0d
Remove the repeated list of Darwin-based platforms
...
Replaced with a constant defined in the package manifest.
2024-05-10 16:09:22 -07:00
Guillaume Lessard
c456f4186e
Change the package manifest to support visionOS
2024-05-10 16:02:32 -07:00
Karoy Lorentey
ec395a7aa2
Merge pull request #171 from lorentey/require-5.8
...
[1.3.0] Require Swift 5.8
2024-05-10 15:59:40 -07:00
Karoy Lorentey
f1f59e148f
Update gitignore
2024-05-10 15:55:04 -07:00
Karoy Lorentey
37a5bbb965
Require Swift 5.8 or better
2024-05-10 15:54:56 -07:00
Karoy Lorentey
f07d14ddb1
Merge pull request #168 from glessard/cherry-pick-pr148
...
Cherry-pick changes from PR148
2024-05-10 15:41:26 -07:00
Guillaume Lessard and Finagolfin
9620c1d30e
Cherry-pick changes from PR148
...
Co-authored-by: Finagolfin <finagolfin@tuta.io >
2024-05-09 22:24:04 -07:00
Guillaume Lessard and Hiroshi Yamauchi
c7259554b5
Cherry-pick changes from PR151
...
Co-authored-by: Hiroshi Yamauchi <hjyamauchi@gmail.com >
2024-05-09 22:10:26 -07:00
Guillaume Lessard and Max Desiatov
c3a7235bf7
Cherry-pick changes from PR133
...
Co-authored-by: Max Desiatov <m_desiatov@apple.com >
2024-05-09 19:10:58 -07:00
Guillaume Lessard
e5a56da50e
Cherry-pick changes from PR154
2024-05-09 16:03:48 -07:00
Karoy Lorentey
025bcb1165
Merge pull request #93 from apple/revert-89-sb/resize-windows
...
Revert "FileOperations: Add Windows implementation for FileDescriptor.resize(to:)"
1.2.1
2022-06-11 12:57:28 -07:00
Karoy Lorentey
f5e4aac51b
Revert "FileOperations: Add Windows implementation for FileDescriptor.resize(to:) ( #89 )"
...
This reverts commit 94fa6bd2ff .
2022-06-11 12:54:19 -07:00
Si Beaumont
94fa6bd2ff
FileOperations: Add Windows implementation for FileDescriptor.resize(to:) ( #89 )
...
* FileOperations: Add Windows implementation for FileDescriptor.resize(to:)
Replace _chsize with _chsize_s on Windows
1.2.0
2022-06-09 09:51:28 -06:00
Alsey Coleman Miller
a552fda216
Import C module as @_implementationOnly ( #83 )
2022-06-08 19:54:55 -06:00
Guillaume Lessard
bdb13a5a80
Merge pull request #80 from apple/glessard/rdar91436410
...
Mitigate misuse of Swift's pointer conversion feature
2022-06-03 16:52:30 -06:00
Guillaume Lessard
3920df78d9
Correct deprecation messages
2022-06-03 16:43:25 -06:00
Guillaume Lessard
469ede0fa2
Add tests for every new overload added
2022-06-03 16:43:25 -06:00
Guillaume Lessard
afe2d35d0b
Mitigate misuse of pointer conversion in FilePath inits
2022-06-03 16:43:25 -06:00
Guillaume Lessard
25380a1bea
Mitigate misuse of pointer conversion in String inits
2022-06-03 16:43:25 -06:00
Karoy Lorentey
74eb6f4ef8
Merge pull request #77 from amartini51/docs/develop
...
Fix broken links.
2022-06-03 15:37:23 -07:00
Alex Martini
6db5a4a43b
Fix broken links.
...
Fixes rdar://79096457
2022-06-03 15:23:53 -07:00
Karoy Lorentey
5ba9e8fa77
Merge pull request #79 from apple/glessard/binding-fixes
...
Rebind byte types safely
2022-06-03 15:16:40 -07:00
Guillaume Lessard
914c782b96
Replace assumingMemoryBound with temporary rebinding
...
- this doesn’t use the new memory binding API.
2022-05-27 18:09:45 -06:00
Karoy Lorentey
82a6704912
Merge pull request #88 from apple/lorentey/unbroke-windows
...
Unbreak the Windows port
2022-05-21 12:46:19 -07:00
Karoy Lorentey
bd5a7bb703
Remove test of minimal value
2022-05-21 12:44:00 -07:00
Karoy Lorentey
147ebc053a
Unbreak the Windows port
2022-05-21 12:43:59 -07:00
Karoy Lorentey
5c18991f29
Merge pull request #82 from simonjbeaumont/sb/resize
...
FileDescriptor: Add resize(to newSize:) and fileSize() APIs
2022-05-20 11:30:26 -07:00
Si Beaumont
7bb5279b57
fixup: Tests run in parallel; use unique temp file name
...
Signed-off-by: Si Beaumont <beaumont@apple.com >
2022-05-20 19:25:41 +01:00
Si Beaumont
865fd70605
Merge branch 'main' into sb/resize
2022-05-20 18:26:33 +01:00
Si Beaumont
ca6e888455
Utilities: Add version 1.2.0 to expand-availability.py tool
...
Signed-off-by: Si Beaumont <beaumont@apple.com >
2022-05-20 18:24:28 +01:00
Si Beaumont
fea7d5030d
docs: Removed duplicate paragraph from FileDescriptor.writeAll(_:) docs ( #85 )
2022-05-16 07:28:47 -07:00
Si Beaumont
d90bf8529a
fixup: Move FileDescriptor.fileSize() to an internal extension in SystemTests
2022-05-06 11:55:00 +01:00
Si Beaumont
02daf4b6a7
fixup: Move FileDescriptor.resize to extension with #if !os(Windows)
2022-05-06 11:55:00 +01:00
Si Beaumont
7fab65f340
fixup: Remove Windows syscall adaptor for ftruncate
2022-05-06 11:09:20 +01:00
Si Beaumont
5d3519dcef
FileOperations: Add FileDescriptor.resize, using ftruncate(2)
...
Signed-off-by: Si Beaumont <beaumont@apple.com >
2022-05-05 08:24:48 +01:00
Si Beaumont
23ac190631
FileHelpers: Add FileDescriptor.fileSize
...
Signed-off-by: Si Beaumont <beaumont@apple.com >
2022-05-04 12:33:03 +01:00
Daniel Duan
a77a331dc7
Update Linux test manifests ( #81 )
...
Run `swift package --generate-linuxmain` results in this patch.
2022-04-20 14:22:03 -06:00
Karoy Lorentey
1d5e35a460
Merge pull request #75 from lorentey/introduce-availability-macros
...
Unify availability annotations & introduce a script to manage them
2021-12-21 13:07:07 -08:00
Karoy Lorentey
fd82b5a0ce
Fix docs
2021-12-20 17:52:59 -08:00
Karoy Lorentey
0c24d31e08
Add script to manage availability annotations
...
By running this script, we can expand comments of the form
```
/*System 0.0.1*/
```
Into either a longer comment that includes the associated OS versions numbers,
```
/*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
```
or, when the `--attribute` option is used, into an actual `@available` attribute:
```
/*System 0.0.1*/@available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
```
The script can be run repeatedly to switch between these two forms, as needed.
2021-12-20 17:14:42 -08:00
Karoy Lorentey
1daa0c9677
Unify availability annotations and synchronize them with macOS 12 / iOS 15
...
Availability annotations now follow a rigid syntax that mentions the swift-system version that introduced the entry point:
```
/*System 0.0.2, @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)*/
public func greeting() -> String {
"Hello"
}
```
This is designed to be processed by automated source generation tools.
2021-12-20 17:10:59 -08:00
Saleem Abdulrasool
836bc4557b
Merge pull request #74 from compnerd/leaky-cauldron
...
build: install CSystem into the system
1.1.1
2021-12-02 11:22:32 -08:00