Commit Verlauf

Autor SHA1 Nachricht Datum
  Daniel Alm 308287ea94 Rename the "generate_mock_code" codegen option to "TestStubs" and rename the stub classes to `...TestStub` as well. vor 7 Jahren
  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). vor 7 Jahren
  takasek 1ac7954952 add final attributes to classes vor 7 Jahren
  Tim Burks 6e53474c85 Rework plugin to use the DescriptorSet model from SwiftProtobufPluginLibrary. vor 8 Jahren
  ito_kyohei 49f9967bbe Be cancelable vor 8 Jahren
  Tim Burks f3926c5c6a Change access level for generated classes and methods from "public" to "internal". vor 8 Jahren
  Tim Burks 2423458b61 Fix invalid paths in Plugin/Templates vor 8 Jahren
  Tim Burks bcf716c361 Update plugin for Swift 3.1 code generation vor 8 Jahren
  Tim Burks 1785d231c5 Add error handler argument to send methods to better handle errors that occur when sending. vor 8 Jahren
  Tim Burks 38dd33ea1c Update code generator to implement blocking API calls by calling nonblocking calls. vor 8 Jahren
  Tim Burks b450ad32d9 Add generators for asynchronous methods, demonstrate in Echo Mac app. vor 8 Jahren
  Tim Burks b5aa1d9a20 Update comments in client templates. vor 8 Jahren
  Tim Burks 8170253611 Replace CountDownLatch with DispatchSemaphore in generated code. vor 8 Jahren
  Tim Burks 965fa0c02f Lower-case the names of functions in code generated by the plugin. vor 9 Jahren
  Tim Burks b1845c5add Convert generated code to use CountDownLatch instead of NSCondition. vor 9 Jahren
  Tim Burks 38b73fa52e Templates are now compiled directly into the protoc-gen-swiftgrpc plugin. vor 9 Jahren