Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift 3 Support #62

Merged
merged 27 commits into from
Sep 12, 2016
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
20790c6
Gets ReactiveCocoa to compile with Swift 3 in Xcode 8.
mattprowse Jun 26, 2016
79ae0d4
Renamed TaskError.POSIXError to TaskError.posixError.
mattprowse Jun 27, 2016
95fd23a
Fix typo in NSPOSIXErrorDomain.
mattprowse Jun 27, 2016
0f70cce
Add `let _ =` to get rid of unused result warnings.
mattprowse Jun 28, 2016
6efac00
Minor refactoring.
mattprowse Jun 28, 2016
0a7cf6d
Updated test spec for Swift 3.
mattprowse Jun 28, 2016
004a0db
Update ReactiveCocoa.
mattprowse Jun 28, 2016
a654733
Clean up extraneous spaces at the beginning of functions caused by th…
mattprowse Jun 30, 2016
b474051
Merge upstream changes.
mattprowse Jul 4, 2016
2d51316
Track new ReactiveCocoa Swift 3 development branch.
mattprowse Jul 4, 2016
9357c96
The "should launch a task with standard input" test now passes.
mattprowse Jul 5, 2016
e81cd5c
Make Travis CI use Xcode 8.
mattprowse Jul 5, 2016
c341ba9
Updated ReactiveCocoa.
mattprowse Jul 12, 2016
403ba55
Merge upstream changes.
mattprowse Jul 12, 2016
54672bc
Xcode 8 beta 3 changes.
mattprowse Jul 19, 2016
dedbeaf
Merge upstream changes.
mattprowse Aug 2, 2016
24d89a3
Xcode 8 beta 4 changes.
mattprowse Aug 4, 2016
585cbdd
Tracking ReactiveCocoa changes.
mattprowse Aug 5, 2016
e15a1c4
Update dependencies.
mattprowse Aug 8, 2016
e373dae
Set deployment target back to 10.9.
mattprowse Aug 8, 2016
d31b40b
Update ReactiveCocoa.
mattprowse Aug 12, 2016
6c103aa
Changes for Xcode 8 beta 6 compatibility.
mattprowse Aug 18, 2016
1938e96
Update dependencies.
mattprowse Aug 23, 2016
1d27a95
Replace use of DispatchData(bytesNoCopy:deallocator:) with DispatchDa…
mattprowse Aug 23, 2016
5643f8c
Update dependencies for Xcode 8 GM compatibility.
mattprowse Sep 8, 2016
a044039
Update documentation for Swift 3.
mattprowse Sep 8, 2016
e597cb6
Remove commented out code.
mattprowse Sep 12, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Track new ReactiveCocoa Swift 3 development branch.
mattprowse committed Jul 4, 2016
commit 2d5131614fc33ea157c9d9bf3bd93d09b667bce8
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "ReactiveCocoa/ReactiveCocoa" "RAC5-swift3"
github "ReactiveCocoa/ReactiveCocoa" "swift3.0"
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@ github "norio-nomura/Nimble" "fd248426eb8692b4616c2b842fcb9a2579b964e8"
github "norio-nomura/Quick" "d3980a8bbafb13a973cb3018490e6577ee8307fd"
github "liscio/Result" "e96316e6afabd5e1f1389571babc3cfee5edb5b9"
github "jspahrsummers/xcconfigs" "0.9"
github "ReactiveCocoa/ReactiveCocoa" "538cec3cf7b2f2efeff2e559ee5bc2eb4d033989"
github "ReactiveCocoa/ReactiveCocoa" "ae09d9592fa55ad860806857499b44bd631c583e"
10 changes: 5 additions & 5 deletions ReactiveTask/Task.swift
Original file line number Diff line number Diff line change
@@ -178,7 +178,7 @@ private final class Pipe {
}
}

let _ = disposable.addDisposable {
let _ = disposable.add {
channel.close(flags: .stop)
}
}
@@ -209,7 +209,7 @@ private final class Pipe {
}

producer.startWithSignal { signal, producerDisposable in
disposable.addDisposable(producerDisposable)
disposable.add(producerDisposable)

signal.observe(Observer(next: { data in
let bytes = UnsafeMutablePointer<UInt8>(allocatingCapacity: data.count)
@@ -230,7 +230,7 @@ private final class Pipe {
}))
}

let _ = disposable.addDisposable {
let _ = disposable.add {
channel.close(flags: .stop)
}
}
@@ -511,13 +511,13 @@ public func launchTask(_ task: Task, standardInput: SignalProducer<Data, NoError
disposable += signalDisposable
}

let _ = disposable.addDisposable {
let _ = disposable.add {
rawTask.terminate()
}
}
}
.startWithSignal { signal, taskDisposable in
disposable.addDisposable(taskDisposable)
disposable.add(taskDisposable)
signal.observe(observer)
}
}