Guillaume Lessard
d2ba781702
Merge pull request #190 from glessard/enforce-file-path-invariants-in-decode-1.3.x
...
Cherry-pick: ensure invariants are enforced when decoding
1.3.2
2024-07-23 12:42:13 -07:00
Stephen Canon
a1f77d0e1a
Cherry-pick: ensure invariants are enforced when decoding
...
Ensure that FilePath and SystemString's invariants are enforced when decoding.
Cherry-pick of merge-commit 9c42c54644
from PR #189
# Conflicts:
# Sources/System/FilePath/FilePath.swift
2024-07-23 11:26:26 -07:00
Guillaume Lessard
6a9e38e7bd
Merge pull request #185 from glessard/disfavoredOverload-1.3.0
...
[1.3.x] Disfavor String.init(platformString: UnsafePointer<CChar>)
1.3.1
2024-06-07 17:43:21 -07:00
Guillaume Lessard
2b30f8820c
Merge pull request #183 from kateinoigakukun/katei/suppress-cmakelists-warning-1.3
...
[1.3] Suppress unhandled CMakeLists.txt warning by SwiftPM
2024-06-06 13:44:13 -07:00
Yuta Saito
f9d6b48027
Suppress unhandled CMakeLists.txt warning by SwiftPM
2024-06-05 18:05:57 +00:00
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
Jeremy Schonfeld
dd45c80062
Disfavor String.init(platformString: UnsafePointer<CChar>)
2024-05-02 13:25:04 -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