Jordan Rose
1589ca1b8d
[SDK] Use an extra shims header to remove _silgen_name from the XPC overlay.
2016-10-15 14:59:29 -07:00
Jordan Rose
26e24f7bee
[SDK] Use an extra shim header to remove _silgen_name from SafariServices.
2016-10-15 14:59:28 -07:00
Jordan Rose
cb59b94135
[SDK] Use an extra shim header to eliminate _silgen_name from ObjectiveC.
2016-10-15 14:59:28 -07:00
Jordan Rose
c97451f851
[SDK] Use existing NS_REFINED_FOR_SWIFT to remove _silgen_name from SceneKit.
2016-10-15 14:59:28 -07:00
Jordan Rose
7b0b2d6de2
[SDK] Use perform(_:with:) to remove _silgen_name from GameplayKit.
...
This does require a dummy protocol for now; hopefully we can take it out
later.
2016-10-15 14:59:28 -07:00
Jordan Rose
244cf50c0c
[SDK] Use an extra shims header to remove _silgen_name from the os overlay.
2016-10-15 14:59:27 -07:00
Jordan Rose
2e560b0319
[SDK] Use an extra shim header to remove _silgen_name from XCTest.
2016-10-15 14:59:27 -07:00
Jordan Rose
3778c79dc4
[SDK] Use SwiftPrivate to remove _silgen_name from the AppKit overlay.
2016-10-15 09:35:09 -07:00
swift-ci
4532e20021
Merge pull request #5125 from parkera/parkera/url_quarantine_fix
2016-10-13 12:29:14 -07:00
Kevin Ballard
301510e9d4
Fix dispatch time comparisons ( #5078 )
...
* [Dispatch] Don't crash when comparing DispatchWallTimes with <
* [Dispatch] Make comparisons with distantFuture work as expected
2016-10-13 11:32:24 -07:00
Max Moiseev
2190819e99
Breaking up complex expression to improve compilation time
2016-10-12 15:04:54 -07:00
Max Moiseev
9a0f3ba1e1
Revert "Adding specific versions of arithmetics operators for CGFloat to speed up compilation"
...
This reverts commit c91dce7394 .
2016-10-12 11:54:19 -07:00
Max Moiseev
c91dce7394
Adding specific versions of arithmetics operators for CGFloat to speed up compilation
2016-10-11 16:21:41 -07:00
Xiaodi Wu
7041b4b2bf
[SR-2503] Implement subtraction for CharacterSet ( #5201 )
...
* Implement CharacterSet.subtracting(_:)
* Add test for CharacterSet.subtract(_:)
* Expand on test for CharacterSet.subtract(_:)
* Address reviewer comment (CharacterSet tests)
* Improve documentation for CharacterSet set algebra
2016-10-11 15:26:56 -07:00
Max Moiseev
5cc2c8cb5a
Operators as static funcs for Arithmetic (see SE-0091)
2016-10-10 14:04:11 -07:00
Max Moiseev
99837a47a5
Merge branch 'master' into new-integer-protocols
2016-10-05 15:26:37 -07:00
Tony Parker
15d5875bf3
Fix quarantineProperty in URLResourceValues
...
NSURL has an odd behavior around the quarantine dictionary URL resource
value - if you want to clear it, you should pass NSNull instead of the
NSDictionary. We need to accomodate that in the overlay code with a
special case.
<rdar://problem/28575806> Cannot remove Quarantine attribute in Swift 3
2016-10-04 15:58:57 -07:00
Tony Parker
1a08dc87a3
Fix a few documentation errors in struct Locale
2016-10-03 15:51:44 -07:00
Philippe Hausler
2ffc3d52f2
[Foundation] Extract NSURL extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
b9da412ddd
[Foundation] Extract NSDate extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
da84c29707
[Foundation] Extract NSCoder/NSKeyed(Un)Archiver extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
d1ebf836c9
[Foundation] Extract NSUndoManager extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
1050bc4f1d
[Foundation] Extract NSExpression extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
16dce5a76f
[Foundation] Extract NSPredicate extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
ae45b2daac
[Foundation] Extract NSError extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
c3f87ce097
[Foundation] Extract geometry extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
8017c7abc0
[Foundation] Extract NSRange extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
91f3bb4f55
[Foundation] Extract NSIndexSet extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
cb5b894ac0
[Foundation] Extract NSEnumerator/NSFastEnumeration extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
3522fa8f6e
[Foundation] Extract NSSet extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
574f1d068c
[Foundation] Extract NSTextCheckingResult extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
c3bcd0dc18
[Foundation] Extract NSDictionary extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
5d28920d8e
[Foundation] Extract NSArray extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
4ce31cc7c0
[Foundation] Extract NSNumber extensions into a seperate file
...
Non functional change; purely organization/gardening (this also extracts the gyb requirement from Foundation.swift)
2016-10-03 12:37:25 -07:00
Philippe Hausler
a1fd6ee38b
[Foundation] Extract String extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
7dc60d535a
[Foundation] Extract NSString extensions into a seperate file
...
Non functional change; purely organization/gardening
2016-10-03 12:37:25 -07:00
Philippe Hausler
4e843ff20c
[Foundation] Sort the cmake build list for the Foundation overlay
2016-10-03 12:37:25 -07:00
Max Moiseev
17b3e38497
Merge branch 'master' into new-integer-protocols
2016-09-30 15:14:55 -07:00
Doug Coleman
0903ecf6ac
os overlay: Fix XPC dependencies. Hopefully the last change with this
...
issue for awhile.
2016-09-29 14:00:53 -07:00
Jordan Rose
b3a9ce60ef
Add manual dependencies not found by find-overlay-dependencies.sh.
...
rdar://problem/28543423
2016-09-29 11:34:51 -07:00
Maxim Moiseev
783b1de217
[Foundation] Extracting the ReferenceConvertible conformance for CharacterSet ( #5054 )
2016-09-29 11:15:08 -07:00
Jordan Rose
896fc4f648
[SDK] Rename several small overlay source files. ( #4520 )
...
...to remove the temptation to put everything in one file with the same
name as the module. This doesn't do anything for overlays that /already/
have everything in one file with the same name as the module, except for
a few easy cases; we can unpack the rest later.
2016-09-28 11:39:07 -07:00
Doug Coleman
2747d1eed8
Overlays: Fix tool not to find os as a dependency unless it depends on
...
os/activity.h or os/log.h. Update cmake files again, hardcoding a Darwin
dependency. The script does not notice that Foundation depends on
CoreGraphics, so add that manually.
Also found that MapKit is supported on WATCHOS but we didn't have dependencies
for that.
Favor one line per supported SDK instead of catch-all dependency lines.
Distinguish from SDKs which have no dependencies vs SDKs which are
unsupported on a particular platform by printing `unsupported` to the
console and remove the line in the cmake file because it should
not exist anyway.
This full cleanup was not done before because of circularity detected by the
util, which has since been fixed.
Support directories with spaces.
2016-09-28 10:28:02 -07:00
Doug Coleman
6c6f30b6af
Overlays: The dependencies right now are approximate, and when new overlays are
...
added the build breaks. There's already a tool to get proper
dependencies, `utils/find-overlay-dependencies.sh`, so this patch
allows that tool to update the `CMakeLists.txt` files in-place.
Also it adds a line to the `CMakeLists.txt` files for each SDK so that the tool works.
2016-09-26 12:23:47 -07:00
Max Moiseev
6803cda05c
Merge branch 'master' into new-integer-protocols
2016-09-26 11:39:46 -07:00
Jordan Rose
cb15745b9c
[CMake] Yet another missing dependency. ( #4983 )
...
More convinced than ever of the need to automate.
2016-09-26 09:40:02 -07:00
swift-ci
69925cd54c
Merge pull request #5010 from practicalswift/redundant-nil-init
2016-09-25 10:42:55 -07:00
practicalswift
a75ce9b45f
[gardening] Remove redundant nil-initialization of optional variables
2016-09-25 18:53:13 +02:00
practicalswift
69b0f622f3
[gardening] Fix inconsistent headers
2016-09-25 18:00:39 +02:00
Joe Groff
a506af06c7
Merge pull request #4933 from jckarter/nsnumber-bridging
...
SE-0139: Bridge all standard number types to NSNumber.
2016-09-23 13:06:43 -07:00