11 Commits

Author SHA1 Message Date
Jonathan Flat
914b9f7bbd
Support NS/CFURL re-core in Swift (#1238)
* (146349351) Support NS/CFURL re-core in Swift

* Fix .fileSystemPath() calls in Windows test

* Use encoded strings for .absoluteURL, fix NSURL bridging and CFURL lastPathComponent edge cases

* Add workaround for crash on Linux

* Fix typo
2025-04-11 22:37:51 -06:00
Jonathan Flat
0e6c8272bc
(143159003) Don't encode colon if URLComponents path starts with colon (#1139) 2025-01-24 14:53:29 -07:00
Jonathan Flat
b9852c2b4a
(142667792) URL.absoluteString crashes if baseURL starts with colon (#1119) 2025-01-21 12:36:28 -08:00
Jonathan Flat
2bc9094c21
(142589056) URLComponents.string should percent-encode colons in first path segment if needed (#1117) 2025-01-13 12:33:35 -07:00
Jonathan Flat
b1b2add3de
(142446243) Compatibility behaviors for Swift URL (#1113) 2025-01-08 11:34:13 -07:00
Jonathan Flat
61811e3b87
(142076445) Allow URL.standardized to return an empty string URL (#1110)
* (142076445) Allow URL.standardized to return an empty string URL

* Add ?? self to prevent force-unwrap
2025-01-03 11:45:35 -07:00
Jonathan Flat
002921d5e3
Add back Swift URL code for compatibility debugging (#970)
This reverts "Remove unused Swift URL code (#949)" commit b2d323e1a805ec4f2db19d4cc49ed4430a201b2a.
2024-10-08 16:41:35 -07:00
Jonathan Flat
b2d323e1a8
(135904218) Remove unused Swift URL code (#949) 2024-09-27 15:03:11 -07:00
Jonathan Flat
843bf80969
(133301930) Bridging NSURLComponents to URLComponents loses percent-encoding (#831) 2024-08-21 15:48:17 -07:00
Tina Liu
2d517e846d
Missing visionOS availability for API_TO_BE_DEPRECATED (#737)
* Missing visionOS availability for API_TO_BE_DEPRECATED

Fixed 131763349

* Fix deprecation message
2024-07-16 13:58:55 -07:00
Jonathan Flat
361efcf5fe
Port URL and URLComponents to swift-foundation (#586) 2024-05-06 09:51:18 -07:00