Chris Lattner
e4c7bca43a
Merge pull request #1861 from practicalswift/weekly-cleanup-01
...
[gardening] Weekly gardening: typos, duplicate includes, header formatting, etc.
2016-03-24 22:39:36 -07:00
practicalswift
d00a5ef814
[gardening] Weekly gardening: typos, duplicate includes, header formatting, etc.
2016-03-24 22:41:10 +01:00
David Farler
790b7de5e4
Reenable building the SwiftReflectionTest library
...
This wasn't importing the Mach-O APIs from the right module.
2016-03-24 14:15:55 -07:00
David Farler
e65f685a23
Temporarily disable SwiftReflectionTest library builds
...
Some Mach APIs don't appear to resolve on iOS.
2016-03-24 12:40:59 -07:00
David Farler
0f62e6691c
Add SwiftReflectionTest helper library
...
This is a small helper library to communicate information back to
swift-reflection-test from a test swift executable. Each swift test
file under test/Reflection should link this library to get the main
test hook to send responses back to the test tool.
2016-03-24 12:05:18 -07:00
Dave Abrahams
11259d1d14
[stdlib] indexing model: rename in-place indexing
...
This time, choose something that's at least compliant with the API
guidelines.
2016-03-23 17:16:20 -07:00
Max Moiseev
d721a03d90
[stdlib][swift-3-indexing-model] fixing Index tests
2016-03-23 16:07:20 -07:00
Dave Abrahams
8d9e62b274
[stdlib] indexing model: rename next/previous
...
I'm not too satisfied with the names for the updating: versions, but
this is a start.
2016-03-22 17:13:54 -07:00
Jordan Rose
cd9114423a
Reapply "[StdlibUnittest] Install our own handler for uncaught ObjC exceptions."
...
This reapplies e6a519f and 86dcce1 by reverting e86d3bd , which reverted
more than it needed to.
2016-03-22 16:24:40 -07:00
Dmitri Gribenko
a6cd57222a
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-03-21 14:41:15 -07:00
Dave Abrahams
c8f5047f66
[stdlib] indexing model: Workaround for compiler bug
...
"type circularly references itself"
2016-03-21 13:52:08 -07:00
Michael Ilseman
e86d3bde6c
Revert "[ReconstructType] Fix decl lookup when there are multiple constructors"
...
This reverts commit 65c86b713d .
I attempted to resolve the merge conflict, but Jordan will need to do
a second check.
2016-03-20 20:00:37 -07:00
Dmitri Gribenko
aaa486cc7b
New indexing model: fix most compilation issues in StdlibCollectionUnittest
...
We are still hitting what looks like a compiler bug:
error: type alias 'SubSequence' circularly references itself
which is emitted for every minimal collection type.
2016-03-18 23:20:57 -07:00
Dmitri Gribenko
9dd485eb89
New indexing model: WIP on updating StdlibCollectionUnittest
2016-03-18 23:03:01 -07:00
Jordan Rose
86dcce1259
[StdlibUnittest] Don't catch ObjC exceptions on non-ObjC platforms.
...
My apologies!
2016-03-18 14:25:07 -07:00
Dave Abrahams
6dee0c0cd3
[stdlib] indexing model: restore checkRangeReplaceable
...
Failures down to 19, 4 in stdlib.
2016-03-18 14:06:42 -07:00
Jordan Rose
e6a519fbda
[StdlibUnittest] Install our own handler for uncaught ObjC exceptions.
...
We don't want to be at the whims of the system on what to do with an
uncaught exception; we need to make sure its message gets printed to
stderr so that the parent process can check it.
(There's a bit of trickery here to see if the class looks like an
NSException; otherwise we lose the name of the exception and just get
the reason.)
2016-03-18 13:55:45 -07:00
Dave Abrahams
88a9f2e628
[stdlib] indexing model: Complete Interval/Range merge
...
Down to 22 failures; only 5 in stdlib tests
2016-03-18 10:04:09 -07:00
Harlan Haskins
47541c92b4
[StdlibUnittest] Made output for expected crashes less fatalistic
2016-03-17 18:23:41 -06:00
Harlan Haskins
424eec9960
[StdlibUnitTest] Disable printing child stderr for expected crashes.
2016-03-17 15:14:05 -06:00
Dave Abrahams
17f841430c
Merge Range work
2016-03-16 15:59:39 -07:00
Dave Abrahams
f493b54e44
[stdlib] indexing model: Interval/Range merge
...
This is step 1; we still need to introduce ClosedRange.
2016-03-16 15:59:10 -07:00
Dmitri Gribenko
98207e2c12
StdlibCollectionUnittest: add a FIXME
2016-03-15 20:55:20 -07:00
Dmitri Gribenko
add96a026d
New indexing model: make LoggingWrappers.swift.gyb compile
2016-03-15 11:33:54 -07:00
Dmitri Gribenko
47201398c4
StdlibUnittest: move string convertion assertions to StringConvertible.swift.gyb
2016-03-15 11:33:22 -07:00
Dmitri Gribenko
d8967d85fd
StdlibUnittest: add expectDumped()
2016-03-14 21:48:24 -07:00
Dmitri Gribenko
04ec024808
StdlibUnittest: add CustomPrintableValue type, which will be used to test converting instances to stings
2016-03-14 21:48:03 -07:00
Shawn Erickson
fe9482b6bb
New indexing model: WIP fixed compile issues in various stdlib tests
2016-03-13 21:00:01 -07:00
Dmitri Gribenko
dfedb6d418
New indexing model: make ... return RangeOfStrideable, this seems to match expectations better
2016-03-11 18:40:29 -08:00
Dmitri Gribenko
7e18b5cf11
StdlibUnittest: checkEquatable: improve error reporting
...
checkEquatable() could complain about the oracle function instead of
complaining about the '==' function.
2016-03-11 18:06:13 -08:00
Dmitri Gribenko
36c028c635
StdlibUnittest: add MinimalStrideableValue
2016-03-11 18:06:12 -08:00
Dmitri Gribenko
85fa40de89
New indexing model: uncomment SwiftPrivate.withArrayOfCStrings(), it builds now
2016-03-11 13:25:48 -08:00
Dmitri Gribenko
c69ed8ee76
StdlibUnittest: make == for MinimalEquatableValue customizable
2016-03-11 10:44:48 -08:00
Dmitri Gribenko
509213295a
StdlibUnittest: split minimal protocol models into a new file, MinimalTypes.swift.gyb
2016-03-11 10:20:37 -08:00
Dmitri Gribenko
0044e936ea
New indexing model: make StdlibUnittest compile by commenting out huge parts of it
2016-03-10 17:16:53 -08:00
Shawn Erickson
643d7980f7
New indexing model: WIP updating CheckCollectionType.swift, not compiler verified
2016-03-10 14:37:29 -08:00
Shawn Erickson
bdff4cbb34
New indexing model: updated LifetimeTracked
2016-03-10 13:47:13 -08:00
Shawn Erickson
b097b55f1a
New indexing model: fix RNG and addition of RandomAccess to UTF16View on foundation load
2016-03-10 07:29:41 -08:00
Dmitri Gribenko
886d5a707c
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-03-09 20:51:38 -08:00
Max Moiseev
7fe6916bf6
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-03-07 12:10:47 -08:00
Ted Kremenek
90ce8daf0b
Merge pull request #1552 from hughbe/stdlib-newlines
...
[gardening] Remove double new lines from stdlib files
2016-03-05 14:40:04 -08:00
Hugh Bellamy
c1b25bb32f
[gardening] Remove double new lines from stdlib files
2016-03-05 15:44:54 +00:00
Shawn Erickson
fe42606062
[stdlib] - WIP moved aspects of ForwardIndex and BidirectionalIndex into their Collection equivalents
2016-03-04 07:40:59 -08:00
Max Moiseev
234bc2830d
[stdlib] fixing compilation on Linux
2016-02-29 16:29:20 -07:00
Max Moiseev
e48f452a2e
Merge remote-tracking branch 'origin/swift-3-api-guidelines' into swift-3-api-guidelines
2016-02-29 12:15:33 -08:00
Max Moiseev
a49dab6bf8
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-29 12:08:52 -08:00
practicalswift
34188788a1
[gardening] Sort file listings in CMakeLists.txt files
2016-02-27 19:50:30 +01:00
Daniel Duan
2bc78b8c09
[stdlib] update for 'inout' adjustment (SE-0031)
2016-02-26 12:02:29 -08:00
Jordan Rose
b319e3da32
stdlib: Adjust to insert(contentsOf:at:) and append(contentsOf:)
...
instead of insertContents(of:at:) and appendContents(of:),
originally insertContentsOf(_:at:) and appendContentsOf(_:)
per internal discussion.
2016-02-25 12:50:39 -08:00
Jordan Rose
e4e9c71d8f
StdlibUnittest: Rename enum cases and static vars to match API guidelines.
2016-02-24 18:23:59 -08:00