Tim Burks
|
3e00aa5569
Improve test synchronization.
|
7 лет назад |
Daniel Alm
|
ec953c566f
A few more formatting improvements as suggested by `swiftformat`.
|
7 лет назад |
Daniel Alm
|
5cd64a7405
Rename many `Impl` classes to `Base` and extract a bit more common logic into a shared `ClientCall` protocol + `ClientCallBase` class (similar to `ServerSession`).
|
7 лет назад |
Daniel Alm
|
fcfc5b8f03
Add a runtime support class for bidirectional streaming client calls.
|
7 лет назад |
Daniel Alm
|
a1174b5b94
Add a runtime support class for client-streaming client calls.
|
7 лет назад |
Daniel Alm
|
46477bedc6
Fix the tests and add the output binary of the Echo PackageManager example to .gitignore.
|
7 лет назад |
Daniel Alm
|
a51d6e22e8
Merge branch 'master' of github.com:grpc/grpc-swift into optional-completion-blocks
|
7 лет назад |
Daniel Alm
|
308287ea94
Rename the "generate_mock_code" codegen option to "TestStubs" and rename the stub classes to `...TestStub` as well.
|
7 лет назад |
Daniel Alm
|
d76b9e9f7e
Make most completion blocks optional, so that clients don't need to pass them.
|
7 лет назад |
Daniel Alm
|
2e00c363cc
Extract the interface of generated code for the `...Call`, `...Session` and `...Service` classes into protocols and make the implementing classes conform to those protocols. This lets us create custom implementations of those protocols, e.g. mocks/stubs/fakes/spies for testing purposes. In particular, this commit also includes an option to have simple fake implementations generated for the above protocols in addition to the "real" implementations (see #120 for a detailed discussion).
|
7 лет назад |
takasek
|
1ac7954952
add final attributes to classes
|
7 лет назад |
Tim Burks
|
6e53474c85
Rework plugin to use the DescriptorSet model from SwiftProtobufPluginLibrary.
|
8 лет назад |
ito_kyohei
|
49f9967bbe
Be cancelable
|
8 лет назад |
Tim Burks
|
f3926c5c6a
Change access level for generated classes and methods from "public" to "internal".
|
8 лет назад |
Tim Burks
|
2423458b61
Fix invalid paths in Plugin/Templates
|
8 лет назад |
Tim Burks
|
bcf716c361
Update plugin for Swift 3.1 code generation
|
8 лет назад |
Tim Burks
|
1785d231c5
Add error handler argument to send methods to better handle errors that occur when sending.
|
8 лет назад |
Tim Burks
|
38dd33ea1c
Update code generator to implement blocking API calls by calling nonblocking calls.
|
8 лет назад |
Tim Burks
|
b450ad32d9
Add generators for asynchronous methods, demonstrate in Echo Mac app.
|
8 лет назад |
Tim Burks
|
b5aa1d9a20
Update comments in client templates.
|
8 лет назад |
Tim Burks
|
8170253611
Replace CountDownLatch with DispatchSemaphore in generated code.
|
8 лет назад |
Tim Burks
|
965fa0c02f
Lower-case the names of functions in code generated by the plugin.
|
9 лет назад |
Tim Burks
|
b1845c5add
Convert generated code to use CountDownLatch instead of NSCondition.
|
9 лет назад |
Tim Burks
|
38b73fa52e
Templates are now compiled directly into the protoc-gen-swiftgrpc plugin.
|
9 лет назад |