Xcode 8 beta 1 and swift-corelibs-foundation


(Tony Parker) #1

Hello everyone,

If you’ve downloaded Xcode 8 beta 1, you’ve seen some of the great changes we’ve got coming up for Swift 3 on Darwin. We have been working in parallel on those improvements and the changes that we need to bring swift-corelibs-foundation up-to-date, including:

* new value types (SE-0069)
* new names for API and NS-dropping changes (SE-0086)
* new tests (mostly part of the overlay, not all merged to corelibs yet)

We plan to post later today a branch (name forthcoming) to the swift-corelibs-foundation repository that contains the first version of all of these changes. We’ve also been merging all of the other changes from master branch.

It’s not quite ready to merge back to master yet, so we would appreciate your help! Check out the branch, look for errors or omissions, and submit some PRs or send mail to this list.

Our hope is to merge this branch very quickly, in the span of a week or two at most. We will likely need to get some parallel PRs up for XCTest and swiftpm to help them adapt to the new name and type changes.

Thanks!
- Tony


(Brian Gesiak) #2

Excellent work! I've been enjoying watching all the WWDC livestreams. :slight_smile:

About the changes to swift-corelibs-xctest: you mean simply using the new
Foundation APIs, correct? I don't imagine we'll be changing the XCTest API
very much -- that is, we won't be renaming `XCTestCase` to `TestCase`,
right?

We discussed this [in Feburary](
https://lists.swift.org/pipermail/swift-corelibs-dev/Week-of-Mon-20160222/000446.html),
and I believe the conclusion was that we wouldn't be applying the same
kinds of grand renaming to XCTest -- would just like to confirm that point.

- Brian Gesiak

···

On Tue, Jun 14, 2016 at 1:24 PM, Tony Parker via swift-corelibs-dev < swift-corelibs-dev@swift.org> wrote:

Hello everyone,

If you’ve downloaded Xcode 8 beta 1, you’ve seen some of the great changes
we’ve got coming up for Swift 3 on Darwin. We have been working in parallel
on those improvements and the changes that we need to bring
swift-corelibs-foundation up-to-date, including:

* new value types (SE-0069)
* new names for API and NS-dropping changes (SE-0086)
* new tests (mostly part of the overlay, not all merged to corelibs yet)

We plan to post later today a branch (*name forthcoming) *to the
swift-corelibs-foundation repository that contains the first version of all
of these changes. We’ve also been merging all of the other changes from
master branch.

It’s not quite ready to merge back to master yet, so we would appreciate
your help! Check out the branch, look for errors or omissions, and submit
some PRs or send mail to this list.

Our hope is to merge this branch very quickly, in the span of a week or
two at most. We will likely need to get some parallel PRs up for XCTest and
swiftpm to help them adapt to the new name and type changes.

Thanks!
- Tony

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


(Tony Parker) #3

Hi everyone,

We’ve merged the swift-3 branch into master. Please let us know if you encounter any issues.

I’m going to keep going through pull requests, but some may be out of date and need rebasing now.

Thanks,
- Tony

···

On Jun 14, 2016, at 10:24 AM, Tony Parker <anthony.parker@apple.com> wrote:

Hello everyone,

If you’ve downloaded Xcode 8 beta 1, you’ve seen some of the great changes we’ve got coming up for Swift 3 on Darwin. We have been working in parallel on those improvements and the changes that we need to bring swift-corelibs-foundation up-to-date, including:

* new value types (SE-0069)
* new names for API and NS-dropping changes (SE-0086)
* new tests (mostly part of the overlay, not all merged to corelibs yet)

We plan to post later today a branch (name forthcoming) to the swift-corelibs-foundation repository that contains the first version of all of these changes. We’ve also been merging all of the other changes from master branch.

It’s not quite ready to merge back to master yet, so we would appreciate your help! Check out the branch, look for errors or omissions, and submit some PRs or send mail to this list.

Our hope is to merge this branch very quickly, in the span of a week or two at most. We will likely need to get some parallel PRs up for XCTest and swiftpm to help them adapt to the new name and type changes.

Thanks!
- Tony


(Tony Parker) #4

Hi Brian!

Excellent work! I've been enjoying watching all the WWDC livestreams. :slight_smile:

Thanks! We have a few more sessions coming up that are pretty neat too.

About the changes to swift-corelibs-xctest: you mean simply using the new Foundation APIs, correct? I don't imagine we'll be changing the XCTest API very much -- that is, we won't be renaming `XCTestCase` to `TestCase`, right?

Yup, exactly. Some of the name changes have landed in swift-corelibs-foundation already, and there have been corresponding PRs to fix our clients. This will be more of the same types of fixes.

- Tony

···

On Jun 14, 2016, at 10:43 AM, Brian Gesiak <modocache@gmail.com> wrote:

We discussed this [in Feburary](https://lists.swift.org/pipermail/swift-corelibs-dev/Week-of-Mon-20160222/000446.html), and I believe the conclusion was that we wouldn't be applying the same kinds of grand renaming to XCTest -- would just like to confirm that point.

- Brian Gesiak

On Tue, Jun 14, 2016 at 1:24 PM, Tony Parker via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:
Hello everyone,

If you’ve downloaded Xcode 8 beta 1, you’ve seen some of the great changes we’ve got coming up for Swift 3 on Darwin. We have been working in parallel on those improvements and the changes that we need to bring swift-corelibs-foundation up-to-date, including:

* new value types (SE-0069)
* new names for API and NS-dropping changes (SE-0086)
* new tests (mostly part of the overlay, not all merged to corelibs yet)

We plan to post later today a branch (name forthcoming) to the swift-corelibs-foundation repository that contains the first version of all of these changes. We’ve also been merging all of the other changes from master branch.

It’s not quite ready to merge back to master yet, so we would appreciate your help! Check out the branch, look for errors or omissions, and submit some PRs or send mail to this list.

Our hope is to merge this branch very quickly, in the span of a week or two at most. We will likely need to get some parallel PRs up for XCTest and swiftpm to help them adapt to the new name and type changes.

Thanks!
- Tony

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


(Luke Howard) #5

Hi Tony,

Just on the change to NSUUID’s decoder, it changes the existing behaviour (note comment "failure to decode the entire uuid_t results in a new uuid”). I don’t have time to test whether this comment is accurate but perhaps you can cross-check with Darwin.

Having said that, the new behaviour (returning nil on decode failure) does make a lot more sense so perhaps it’s better to keep that.

Cheers,
Luke

···

On 22 Jun 2016, at 2:46 AM, Tony Parker via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hi everyone,

We’ve merged the swift-3 branch into master. Please let us know if you encounter any issues.

I’m going to keep going through pull requests, but some may be out of date and need rebasing now.

Thanks,
- Tony

On Jun 14, 2016, at 10:24 AM, Tony Parker <anthony.parker@apple.com <mailto:anthony.parker@apple.com>> wrote:

Hello everyone,

If you’ve downloaded Xcode 8 beta 1, you’ve seen some of the great changes we’ve got coming up for Swift 3 on Darwin. We have been working in parallel on those improvements and the changes that we need to bring swift-corelibs-foundation up-to-date, including:

* new value types (SE-0069)
* new names for API and NS-dropping changes (SE-0086)
* new tests (mostly part of the overlay, not all merged to corelibs yet)

We plan to post later today a branch (name forthcoming) to the swift-corelibs-foundation repository that contains the first version of all of these changes. We’ve also been merging all of the other changes from master branch.

It’s not quite ready to merge back to master yet, so we would appreciate your help! Check out the branch, look for errors or omissions, and submit some PRs or send mail to this list.

Our hope is to merge this branch very quickly, in the span of a week or two at most. We will likely need to get some parallel PRs up for XCTest and swiftpm to help them adapt to the new name and type changes.

Thanks!
- Tony

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

--
www.lukehoward.com
soundcloud.com/lukehoward


(Tony Parker) #6

Hi Luke,

Hi Tony,

Just on the change to NSUUID’s decoder, it changes the existing behaviour (note comment "failure to decode the entire uuid_t results in a new uuid”). I don’t have time to test whether this comment is accurate but perhaps you can cross-check with Darwin.

Having said that, the new behaviour (returning nil on decode failure) does make a lot more sense so perhaps it’s better to keep that.

Cheers,
Luke

Yup, I checked on this and you’re right that it returns a random UUID if decoding fails. This is a truly strange idea, so I’ve filed a bug for us to fix that there too (26930786).

- Tony

···

On Jun 21, 2016, at 3:50 PM, Luke Howard via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

On 22 Jun 2016, at 2:46 AM, Tony Parker via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:

Hi everyone,

We’ve merged the swift-3 branch into master. Please let us know if you encounter any issues.

I’m going to keep going through pull requests, but some may be out of date and need rebasing now.

Thanks,
- Tony

On Jun 14, 2016, at 10:24 AM, Tony Parker <anthony.parker@apple.com <mailto:anthony.parker@apple.com>> wrote:

Hello everyone,

If you’ve downloaded Xcode 8 beta 1, you’ve seen some of the great changes we’ve got coming up for Swift 3 on Darwin. We have been working in parallel on those improvements and the changes that we need to bring swift-corelibs-foundation up-to-date, including:

* new value types (SE-0069)
* new names for API and NS-dropping changes (SE-0086)
* new tests (mostly part of the overlay, not all merged to corelibs yet)

We plan to post later today a branch (name forthcoming) to the swift-corelibs-foundation repository that contains the first version of all of these changes. We’ve also been merging all of the other changes from master branch.

It’s not quite ready to merge back to master yet, so we would appreciate your help! Check out the branch, look for errors or omissions, and submit some PRs or send mail to this list.

Our hope is to merge this branch very quickly, in the span of a week or two at most. We will likely need to get some parallel PRs up for XCTest and swiftpm to help them adapt to the new name and type changes.

Thanks!
- Tony

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

--
www.lukehoward.com <http://www.lukehoward.com/>
soundcloud.com/lukehoward

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev