Sho Ikeda
e0eadc26bb
[gardening][Foundation] Prefer macOS over OSX for @available
2018-03-20 21:35:58 +09:00
Sho Ikeda
f956609312
[gardening][Overlay] Prefer macOS over OSX for #available
2018-03-14 14:06:31 +09:00
Itai Ferber
bf4a12568a
Add Codable conformance for URLComponents
...
Adopt Codable on URLComponents and add associated unit tests
2017-08-03 14:28:18 -07:00
Dave Abrahams
9159239995
Un-revert "[stdlib] String index interchange, etc." ( #10812 )
...
I failed to merge the upstream changes to swift-corelibs-foundation at the same
time as I merged that #9806 , and it broke on linux. Going to get it right this
time.
2017-07-07 12:13:25 -07:00
Xi Ge
d9fb110674
Revert "[stdlib] String index interchange, etc." ( #10812 )
...
rdar://33186295
2017-07-07 12:03:16 -07:00
Dave Abrahams
2e0bb2f533
[stdlib] String index interchange, part II (UTF16)
2017-07-07 06:15:23 -07:00
Philippe Hausler
6e2b3c88f8
[Foundation] Correct URLComponents._unconditionallyBridgeFromObjectiveC to allow unexpected nil sources
2017-04-17 09:48:26 -07:00
Syo Ikeda
e2b03a98dd
[gardening] Prefer Array(seq) over seq.map { $0 }
2017-02-04 10:37:22 +09:00
Ben Cohen
3bdada1773
Merge pull request #6506 from airspeedswift/im-not-warning-you-again
...
[stdlib] Squash various warnings
2017-01-06 16:51:06 -08:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
Ben Cohen
4dc5eacef5
Merge branch 'master' into im-not-warning-you-again
2017-01-05 10:11:48 -08:00
JP Simard
bb0af66904
fix mismatched closure open/close spacing in stdlib source
2016-12-31 18:21:05 -08:00
ben-cohen
ce0d713cd6
fixed where clauses, Optional-as-Any and unused vars
2016-12-29 07:58:12 -08:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
practicalswift
fa7fbdb8b0
[gardening] Remove redundant nil-initialization of optional variable
...
From the Swift documentation:
"If you define an optional variable without providing a default value,
the variable is automatically set to nil for you."
2016-09-18 07:40:07 +02:00
practicalswift
3a4ee89034
[gardening] Use consistent formatting.
2016-09-17 12:12:49 +02:00
practicalswift
f250a2349b
[gardening] Remove duplicate words.
2016-09-16 20:09:34 +02:00
Joe Groff
4b9e49827d
Make all _toAnyHashable() implements @nonobjc.
2016-07-27 09:25:30 -07:00
Dmitri Gribenko
34f6eb1438
Foundation: add custom AnyHashable representations to new value types
2016-07-26 03:10:52 -07:00
swift-ci
3cfcb55bfc
Merge pull request #3752 from parkera/foundation_reflection
2016-07-25 22:29:48 -07:00
Jordan Rose
0712ffcb07
Convert the Dispatch and Foundation overlays to 'fileprivate'. ( #3753 )
...
Similar to the work in apple/swift-corelibs-foundation#445 .
Groundwork for SE-0025 ('private' and 'fileprivate').
No intended functionality change.
2016-07-25 20:58:06 -07:00
Tony Parker
dab81e8674
Add CustomReflectable implementation to most Foundation value types.
...
Also improves the basic debugDescription and description methods.
rdar://26580762
2016-07-25 17:05:51 -07:00
Joe Groff
32b50c624d
stdlib: Remove _isBridgedToObjectiveC from _ObjectiveCBridgeable.
...
All generic bridgeable types can bridge for all their instantiations now. Removing this ferrets out some now-unnecessary traps that check for unbridgeable parameter types.
2016-07-25 06:01:21 -07:00
Doug Gregor
ab3a15c87a
[SE-0091 / Foundation overlay] Move operators into types.
...
Foundation provides a number of specific operators defined in the
global scope. Push all of these into their corresponding types. This
cleanup helps verify that the SE-0091 implementation is generally
functional.
2016-07-18 23:18:57 -07:00
Tony Parker
05778cc9ab
Improvements to the API of struct URL.
2016-07-17 15:49:40 -07:00
practicalswift
8d03ea1347
[gardening] Fix some recently introduced typos.
2016-06-19 21:28:36 +02:00
practicalswift
b43a26f3ff
[gardening] Remove invisible ^P
2016-06-15 22:54:11 +02:00
Mishal Shah
87b7bcfd3e
Update master to build with Xcode 8 beta 1, OS X 10.12, iOS 10, tvOS 10, and watchOS 3 SDKs.
2016-06-14 14:53:55 -07:00