Skip to content

Commit 3efe613

Browse files
committed
Added libcurl abstractions to libcurl directory
1 parent f962c37 commit 3efe613

File tree

5 files changed

+18
-9
lines changed

5 files changed

+18
-9
lines changed

Foundation.xcodeproj/project.pbxproj

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -798,12 +798,12 @@
798798
B933A79D1F3055F600FE6846 /* NSString-UTF32-LE-data.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = "NSString-UTF32-LE-data.txt"; sourceTree = "<group>"; };
799799
B951B5EB1F4E2A2000D8B332 /* TestNSLock.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestNSLock.swift; sourceTree = "<group>"; };
800800
B9974B8F1EDF4A22007F15B8 /* TransferState.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TransferState.swift; path = http/TransferState.swift; sourceTree = "<group>"; };
801-
B9974B901EDF4A22007F15B8 /* MultiHandle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MultiHandle.swift; path = http/MultiHandle.swift; sourceTree = "<group>"; };
802-
B9974B911EDF4A22007F15B8 /* libcurlHelpers.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = libcurlHelpers.swift; path = http/libcurlHelpers.swift; sourceTree = "<group>"; };
801+
B9974B901EDF4A22007F15B8 /* MultiHandle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MultiHandle.swift; sourceTree = "<group>"; };
802+
B9974B911EDF4A22007F15B8 /* libcurlHelpers.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = libcurlHelpers.swift; sourceTree = "<group>"; };
803803
B9974B921EDF4A22007F15B8 /* HTTPURLProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = HTTPURLProtocol.swift; path = http/HTTPURLProtocol.swift; sourceTree = "<group>"; };
804804
B9974B931EDF4A22007F15B8 /* HTTPMessage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = HTTPMessage.swift; path = http/HTTPMessage.swift; sourceTree = "<group>"; };
805805
B9974B941EDF4A22007F15B8 /* HTTPBodySource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = HTTPBodySource.swift; path = http/HTTPBodySource.swift; sourceTree = "<group>"; };
806-
B9974B951EDF4A22007F15B8 /* EasyHandle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = EasyHandle.swift; path = http/EasyHandle.swift; sourceTree = "<group>"; };
806+
B9974B951EDF4A22007F15B8 /* EasyHandle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EasyHandle.swift; sourceTree = "<group>"; };
807807
BD8042151E09857800487EB8 /* TestLengthFormatter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestLengthFormatter.swift; sourceTree = "<group>"; };
808808
BDBB658F1E256BFA001A7286 /* TestEnergyFormatter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestEnergyFormatter.swift; sourceTree = "<group>"; };
809809
BDFDF0A61DFF5B3E00C04CC5 /* TestPersonNameComponents.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestPersonNameComponents.swift; sourceTree = "<group>"; };
@@ -993,6 +993,7 @@
993993
5B1FD9C71D6D162D0080E83C /* Session */ = {
994994
isa = PBXGroup;
995995
children = (
996+
614732781FC2DEB7005B5E61 /* libcurl */,
996997
E4F889331E9CF04D008A70EB /* http */,
997998
5B1FD9C81D6D16580080E83C /* Configuration.swift */,
998999
5B1FD9CE1D6D16580080E83C /* URLSession.swift */,
@@ -1352,6 +1353,16 @@
13521353
path = Foundation;
13531354
sourceTree = "<group>";
13541355
};
1356+
614732781FC2DEB7005B5E61 /* libcurl */ = {
1357+
isa = PBXGroup;
1358+
children = (
1359+
B9974B901EDF4A22007F15B8 /* MultiHandle.swift */,
1360+
B9974B911EDF4A22007F15B8 /* libcurlHelpers.swift */,
1361+
B9974B951EDF4A22007F15B8 /* EasyHandle.swift */,
1362+
);
1363+
path = libcurl;
1364+
sourceTree = "<group>";
1365+
};
13551366
9F4ADBCF1ECD4F56001F0B3D /* xdgTestHelper */ = {
13561367
isa = PBXGroup;
13571368
children = (
@@ -1367,11 +1378,8 @@
13671378
children = (
13681379
B9974B921EDF4A22007F15B8 /* HTTPURLProtocol.swift */,
13691380
B9974B8F1EDF4A22007F15B8 /* TransferState.swift */,
1370-
B9974B901EDF4A22007F15B8 /* MultiHandle.swift */,
1371-
B9974B911EDF4A22007F15B8 /* libcurlHelpers.swift */,
13721381
B9974B931EDF4A22007F15B8 /* HTTPMessage.swift */,
13731382
B9974B941EDF4A22007F15B8 /* HTTPBodySource.swift */,
1374-
B9974B951EDF4A22007F15B8 /* EasyHandle.swift */,
13751383
);
13761384
name = http;
13771385
sourceTree = "<group>";
@@ -3002,3 +3010,4 @@
30023010
};
30033011
rootObject = 5B5D88541BBC938800234F36 /* Project object */;
30043012
}
3013+

build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,17 +424,17 @@
424424
'Foundation/NSURLRequest.swift',
425425
'Foundation/URLResponse.swift',
426426
'Foundation/URLSession/Configuration.swift',
427-
'Foundation/URLSession/http/EasyHandle.swift',
427+
'Foundation/URLSession/libcurl/EasyHandle.swift',
428428
'Foundation/URLSession/http/HTTPBodySource.swift',
429429
'Foundation/URLSession/http/HTTPMessage.swift',
430-
'Foundation/URLSession/http/MultiHandle.swift',
430+
'Foundation/URLSession/libcurl/MultiHandle.swift',
431431
'Foundation/URLSession/URLSession.swift',
432432
'Foundation/URLSession/URLSessionConfiguration.swift',
433433
'Foundation/URLSession/URLSessionDelegate.swift',
434434
'Foundation/URLSession/URLSessionTask.swift',
435435
'Foundation/URLSession/TaskRegistry.swift',
436436
'Foundation/URLSession/http/TransferState.swift',
437-
'Foundation/URLSession/http/libcurlHelpers.swift',
437+
'Foundation/URLSession/libcurl/libcurlHelpers.swift',
438438
'Foundation/URLSession/http/HTTPURLProtocol.swift',
439439
'Foundation/UserDefaults.swift',
440440
'Foundation/NSUUID.swift',

0 commit comments

Comments
 (0)