Commit Graph

19 Commits

Author SHA1 Message Date
Jordan Rose
81905be8dd Rename _BridgedNSError._NSErrorDomain to _nsErrorDomain.
This isn't strictly necessary, since it's an implementation detail, but
it's consistent with the following changes.
2016-02-24 17:46:10 -08:00
Mishal Awadah
86d1629f1f [gardening] Remove tab characters. 2016-02-23 10:38:00 -08:00
Mishal Awadah
ad2a309ee2 Revert "Revert "[stdlib] Fix API renaming build failures""
This reverts commit 7e7da9eda5.

The original commit has been reviewed.
2016-02-23 10:37:14 -08:00
mawadah
7e7da9eda5 Revert "[stdlib] Fix API renaming build failures"
Instead, using a PR to merge.

This reverts commit 9bf2a86cf8.
2016-02-23 08:24:47 -08:00
mawadah
9bf2a86cf8 [stdlib] Fix API renaming build failures 2016-02-23 08:23:06 -08:00
Zach Panzarino
e3a4147ac9 Update copyright date 2015-12-31 23:28:40 +00:00
Jordan Rose
6e1bf0d10d Rename @exported to @_exported for now.
At some point I want to propose a revised model for exports, but for now
just mark that support for '@exported' is still experimental and subject
to change. (Thanks, Max.)
2015-11-05 11:59:00 -08:00
David Farler
da670c5a34 libswiftWatchKit depends on libswiftCoreLocation
<rdar://problem/21885844>

Swift SVN r30373
2015-07-18 06:55:13 +00:00
Devin Coughlin
cb85eac07e WatchKit Overlay: Remove temporary hack to disable availability checking
Remove a temporary hack added in r29026 that disabled availability checking
for the WatchKit overlay due to SDK update issues. It is no longer needed.

rdar://problem/21099550

Swift SVN r29652
2015-06-25 01:56:58 +00:00
Jordan Rose
99768eb346 Revert "Switch overlays from using @exported to -import-underlying-module."
This reverts r29441 because it breaks the Linux build. I'll talk to Dmitri
about this tomorrow.

See rdar://problem/21254367

Swift SVN r29444
2015-06-17 05:02:21 +00:00
Jordan Rose
c8bfc87c4e Switch overlays from using @exported to -import-underlying-module.
Some day we'll close the hole for @exported in the previous commit.

Swift SVN r29441
2015-06-17 04:48:06 +00:00
Doug Gregor
57ee3c68a1 watchOS: Disable autolinking against CoreText in PassKit/UIKit/WatchKit overlays.
Addresses a bitcode linking problem when linking with the SDK overlays,
which are built against the internal SDK, against a program built
against the public SDK, which does not have
CoreText. rdar://problem/21246363

Swift SVN r29395
2015-06-15 23:43:37 +00:00
Devin Coughlin
d6b3a2d75e WatchKit Overlay: Add availability and temporarily disable availability checking
The <Redacted>13A261 iOS SDK adds an availability attribute marking the imported
WatchKitErrorCode enum as available only on iOS 8.2 and newer. The WatchKit overlay
has a protocol extension for WatchKitErrorCode, so mark the extension as only available
on 8.2 and newer. On <Redacted>13A261 this silences a diagnostic complaining that
WatchKitErrorCode is only available on 8.2 and newer.

However, on <Redacted>13A254 this new annotation itself causes an error because on that
SDK WatchKitErrorCode claims to be available on all iOS versions and yet the conformance
would only hold on 8.2 and newer. To make this second diagnostic go away, this
commit temporarily disables availability checking for the WatchKit overlay.
rdar://problem/21099550 tracks re-enabling availability checking when we update the bots,
etc. to <Redacted>13A261.

rdar://problem/21098396

Swift SVN r29026
2015-05-26 05:47:56 +00:00
Doug Gregor
077f3d3a36 WatchKit needs to be weak-linked due to missing availability info in the headers.
Swift SVN r28830
2015-05-20 17:25:08 +00:00
Dmitri Hrybenko
891ac31b43 Remove availability information from WatchKitErrorCode because
The SDK does not have it either, and the compiler does not handle
conditionally-available conformances.

Swift SVN r28657
2015-05-16 01:20:38 +00:00
Dmitri Hrybenko
6048306d3d Add availability information to the WatchKit overlay
Swift SVN r28656
2015-05-16 01:04:10 +00:00
Dmitri Hrybenko
a2096f187c Add the WatchKit overlay
rdar://20438380

Swift SVN r28654
2015-05-16 00:32:42 +00:00
Dmitri Hrybenko
7500da41c7 WatchKit depends on UIKit and CoreGraphics
Swift SVN r28608
2015-05-15 03:59:48 +00:00
Doug Gregor
3561cfc8bd Bridge 15 NSError error domains into their corresponding enums.
Introduce a number of small overlays to bridge the NSError domains for
a number of frameworks into existing imported enums. This batch only
covers cases where there is an existing NS_ENUM describing the codes
for the domain, so we need only extend that enum to provide the
appropriate _BridgedNSError conformance.

This is the bulk of rdar://problem/20536610.

Swift SVN r28585
2015-05-14 22:34:29 +00:00