Max Moiseev
a49dab6bf8
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-29 12:08:52 -08:00
Daniel Duan
2bc78b8c09
[stdlib] update for 'inout' adjustment (SE-0031)
2016-02-26 12:02:29 -08:00
Jordan Rose
979e4a8e34
stdlib: Rename {Float,Double.CGFloat}.NaN to 'nan'
...
This follows the API guidelines and is consistent with the printed form.
'quietNaN' does not change, though.
2016-02-24 17:46:12 -08:00
Dmitri Gribenko
63481be8bd
stdlib: lowercase cases of the PlaygroundQuickLook enum
2016-02-20 00:55:35 -08:00
Dmitri Gribenko
b1ef18fb75
stdlib: lowercase cases of AncestorRepresentation and DisplayStyle enums
2016-02-19 16:06:26 -08:00
Dmitri Gribenko
0f36bec31f
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-18 16:41:35 -08:00
Dmitri Gribenko
708d90aa80
Adjust IOKit dependencies to be only in effect on OS X
2016-02-18 02:38:16 -08:00
Dmitri Gribenko
f775457699
Add missing dependencies for the IOKit overlay
2016-02-18 02:22:22 -08:00
Dmitri Gribenko
efaa39ea79
stdlib: add first argument labels and some other changes to conform to API guidelines
2016-02-15 23:47:54 -08:00
Max Moiseev
3a3984877a
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-15 15:43:34 -08:00
Jordan Rose
a4a4a80ac4
[CMake] Don't pass -sil-serialize-all under SWIFT_STDLIB_ENABLE_RESILIENCE.
...
Thanks, Slava!
2016-02-10 10:29:01 -08:00
Max Moiseev
39fdbca8d0
making Swift build succesfully after the merge
2016-02-04 16:48:14 -08:00
Max Moiseev
61c837209b
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-04 16:13:39 -08:00
Austin Zheng
77918a86ac
[SR-88] Reinstate Mirror migration changes, fix test issues
...
This reverts commit 182bb7f812 .
2016-01-27 20:40:52 -08:00
Andrew Trick
182bb7f812
Revert "Merge pull request #1058 from austinzheng/az-port-mirror"
...
This pull request broke the following tests on several build configurations
(eg --preset=buildbot,tools=RA,stdlib=DA)
1_stdlib/Reflection.swift
1_stdlib/ReflectionHashing.swift
1_stdlib/UnsafePointer.swift.gyb
This reverts commit c223a3bf06 , reversing
changes made to 5c2bb09b09 .
2016-01-27 10:43:08 -08:00
Austin Zheng
10d5b23c30
[SR-88] Reinstate mirror migration commit
...
Changes:
- Reverted commit reverting original SR-88 commit
- Removed mirror children helper collections and related code
- Rewrote some tests to keep them working properly
- Wrote two more tests for the three pointer APIs to ensure no crashes if created using a value > Int64.max
This reverts commit 8917eb0e5a .
2016-01-26 19:28:32 -08:00
Dmitri Gribenko
9bcd5a1056
Collection.length => .count
2016-01-22 18:41:19 -08:00
Mark Lacey
8917eb0e5a
Revert "[Runtime][StdLib] Migrate mirrors to use CustomReflectable API, rewrite dump()"
...
This reverts commit 9798dfd4aa because it
broke the stdlib build.
2016-01-22 08:41:07 -08:00
Austin Zheng
9798dfd4aa
[Runtime][StdLib] Migrate mirrors to use CustomReflectable API, rewrite dump()
...
Jira: SR-88
Changes:
- Removed stdlib type conformances to _Reflectable
- Conformed stdlib types to CustomReflectable, CustomPlaygroundQuickLookable
- Rewrote dump() function to not use _reflect()
- CGRect, CGPoint, CGSize now conform to CustomDebugStringConvertible
- Rewrote unit tests for compatibility with new API
2016-01-21 09:44:15 -08:00
Doug Gregor
7d70b704e4
Merge commit '5e11e3f7287427d386636a169c4065c0373931a8' into swift-3-api-guidelines
2016-01-19 23:18:20 -08:00
practicalswift
57d4f2d4da
Remove redundant backslashes.
2016-01-09 01:39:22 +01:00
practicalswift
21c3d93bea
Remove unused imports.
2016-01-09 01:39:22 +01:00
Max Moiseev
f51e708a8f
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-01-04 12:25:25 -08:00
Zach Panzarino
e3a4147ac9
Update copyright date
2015-12-31 23:28:40 +00:00
Dmitri Gribenko
73ce9ae7e9
Collection.count => .length
...
And other API changes that naturally fall out from this, like
Array(repeating:count:) => Array(repeating:length:).
2015-12-17 15:55:29 -08:00
Maxim Moiseev
e6468a0eca
_precondition => _require
2015-12-16 17:19:01 -08:00
Maxim Moiseev
0e54467bfa
Final bulk removal of Type suffix
2015-12-16 17:06:19 -08:00
Maxim Moiseev
50fba4b770
floating point types renamed
2015-12-10 17:05:11 -08:00
Dmitri Gribenko
174d475833
stdlib: Remove unavavailable APIs that were left as migration aids
...
These APIs are from the Swift 1.2 => Swift 2.0 transition, and are not
relevant anymore.
Removing them reduces the surface area of the library that needs to be
reviewed.
2015-12-02 01:19:50 -08:00
Jordan Rose
cf8baedee2
Re-apply "Rename @transparent to @_transparent for now."
...
This re-applies 90fcbfe9a6 . I'll be committing
the corresponding change to Foundation momentarily.
2015-11-16 10:53:56 -08:00
Xin Tong
16843684b2
Revert "Rename @transparent to @_transparent for now."
...
This reverts commit 90fcbfe9a6 .
Seems there are still some tests that are left not modified.
2015-11-14 07:04:31 -08:00
Jordan Rose
90fcbfe9a6
Rename @transparent to @_transparent for now.
...
This feature has not been fully designed, let alone properly implemented.
For more information, see docs/TransparentAttr.rst.
2015-11-13 16:25:34 -08: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
Dave Abrahams
b3ca7eed40
gyb parsing fixes
...
Fixes <rdar://problem/18900352> gyb miscompiles nested loops
Swift SVN r32863
2015-10-24 04:47:57 +00:00
Dmitri Hrybenko
6402fda0c5
stdlib: remove a bunch of dynamic initializers from the library and overlays
...
Swift SVN r31403
2015-08-22 04:51:39 +00:00
David Farler
d5e9bde7e7
Don't use private functions in the CG overlay
...
Use an internal underscore function instead.
Swift SVN r31094
2015-08-08 01:45:10 +00:00
David Farler
8b10d158d7
Fixit Typo: CGRect.integralRect -> integerRect
...
Swift SVN r31084
2015-08-07 20:52:37 +00:00
Dmitri Hrybenko
e587ef0086
SDK overlay: adopt @warn_unused_result
...
Swift SVN r31051
2015-08-06 15:54:52 +00:00
David Farler
f8e418df74
Add renamed fixits for CG overlay API change rdar://problem/19788137
...
Swift SVN r30972
2015-08-04 01:16:11 +00:00
David Farler
cd947e397b
Make CoreGraphics overlay naming consistent with the Standard Library
...
- Don't repeat type names in methods and properties
- Use 'InPlace' suffix for mutating variants of methods that return
a CG type.
rdar://problem/19788137
Swift SVN r30960
2015-08-03 20:09:32 +00:00
Dmitri Hrybenko
f5de8757e4
stdlib: remove Word and UWord
...
These types are leftovers from the early pre-1.0 times when Int and UInt
were always 64-bit on all platforms. They serve no useful purpose
today. Int and UInt are defined to be word-sized and should be used
instead.
rdar://18693488
Swift SVN r30564
2015-07-24 05:01:32 +00:00
Dmitri Hrybenko
4eb24da01b
stdlib: underscore MirrorType
...
Part of removing the old mirrors.
rdar://21428474
Swift SVN r29833
2015-07-01 04:05:48 +00:00
Dmitri Hrybenko
9da16e592e
stdlib: underscore reflect() and unsafeReflect()
...
Part of removing the old mirrors.
rdar://21428474
Swift SVN r29826
2015-07-01 00:31:39 +00:00
Dmitri Hrybenko
6bc93d4d79
stdlib: finish renaming QuickLookObject to PlaygroundQuickLook
...
Part of removing the old mirrors.
rdar://21428474
Swift SVN r29824
2015-07-01 00:31:35 +00:00
Dmitri Hrybenko
7ee84ed6b3
stdlib: rename Reflectable.{getMirror() -> _getMirror()}
...
Start removing the old mirrors.
rdar://21428474
Swift SVN r29823
2015-07-01 00:31:32 +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
Greg Parker
fe303f13e1
[stdlib] Fix vararg processing on armv7k.
...
rdar://21142268
Swift SVN r29243
2015-06-02 18:21:04 +00:00
Dave Abrahams
1175d3602c
[stdlib] Underscore the legacy Reflectable protocol
...
We don't want anyone using this and hope to remove it before GM, so
let's at least make its imminent death more obvious.
Swift SVN r29075
2015-05-27 20:59:24 +00:00
Joe Groff
9153e2261d
CoreGraphics overlay: Comment that the @transparent definitions really want to be @fragile.
...
Swift SVN r28566
2015-05-14 15:59:28 +00:00