Commit Graph

58 Commits

Author SHA1 Message Date
Jordan Rose
4dfa4edbd4 [test] Hack to handle API differences between SDKs.
objc_AssociationPolicy is now a proper enum, but the official build of Swift
doesn't use those SDKs yet. Accomodate those of us who are with a hack
(and filed rdar://problem/19494514 to remove it).

Swift SVN r24470
2015-01-16 03:06:54 +00:00
Enrico Granata
729b90e087 Split the floating-point QuickLook object in two: Float and Double for respectively single and double precision values
This allows reflection clients a more detailed perspective on what precision values they are inspecting, and is largely meant to support improvements to the way Xcode represents floating point numbers in the playgrounds UI (rdar://19124310)



Swift SVN r24372
2015-01-12 19:54:58 +00:00
Joe Groff
f229161b9b Runtime: Fix memory management in swift_ClassMirror_quickLookObject.
rdar://problem/18513769. Add tests that exercise all the code paths to ensure we keep everything balanced.

Swift SVN r23773
2014-12-07 20:55:24 +00:00
Joe Groff
ee5adc1f6e Runtime: Provide reflection for metatypes.
Metatypes have no user-visible structure, but can at least summarize as their type names. This gives us reasonable ad-hoc Printable behavior (thought debugPrint is still wrong, since a type name isn't parsable without being .self'ed).

Swift SVN r23745
2014-12-05 22:58:44 +00:00
Graham Batty
83f27a8af7 Revert "Mark tests that don't pass on linux as XFAIL."
This reverts commit 2711ca86de7bf6a7885ccea24219a48a590b1e95.

Swift SVN r23577
2014-11-24 17:42:13 +00:00
Graham Batty
198402dcfe Mark tests that don't pass on linux as XFAIL.
Swift SVN r23573
2014-11-24 17:40:37 +00:00
Dave Abrahams
ebde372ef9 [stdlib] Add space to Core Graphics type printing
Core Graphics mirrors were emitting textual representations without
spaces following commas separating values.  This commit fixes that
issue.

Swift SVN r22897
2014-10-23 20:50:09 +00:00
Jordan Rose
e83c117c30 [test] Hack: run stdlib tests first to start long-running tests earlier.
This decreases total testing time by over a minute on my old Mac Pro.
It probably has much less effect on systems with fewer cores, but shouldn't
be any worse there.

Swift SVN r22745
2014-10-15 01:30:51 +00:00