Commit History

Author SHA1 Message Date
  Tim Burks 0b8566a6e6 Merge pull request #142 from MrMage/drop-package-requirement 7 years ago
  Daniel Alm 308287ea94 Rename the "generate_mock_code" codegen option to "TestStubs" and rename the stub classes to `...TestStub` as well. 7 years ago
  Daniel Alm 518031b2b3 Merge branch 'master' of github.com:grpc/grpc-swift into protocols-for-testability 7 years ago
  Daniel Alm 77c29ddd46 Add the option to generate code for services that do not provide a package name. 7 years ago
  Daniel Alm 8079b70084 Also remove trailing whitespace in empty lines. 7 years ago
  Daniel Alm bd313d8cd9 Code formatting: Run 7 years ago
  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 years ago
  Tim Burks 9ca08f873a Make the extension for generated files be ".grpc.swift" 8 years ago
  Tim Burks 9ce9d6914e Rename generated files to "<FILE>.rpc.swift". 8 years ago
  Tim Burks 7199340512 Plugin: restructure file name generation, remove logfile. 8 years ago
  Tim Burks f8bc228840 Import file naming code from swift-protobuf to allow consistent file naming between the grpc and protobuf plugins. 8 years ago
  Tim Burks 6e53474c85 Rework plugin to use the DescriptorSet model from SwiftProtobufPluginLibrary. 8 years ago
  Tim Burks 0e0e8fdeaf Remove the "0" from the first generated client file. 8 years ago
  Tim Burks 8e7f7ecca4 Merge branch 'fix_package' of github.com:bootstraponline/grpc-swift into bootstraponline-fix_package 8 years ago
  Tim Burks ea7ad2b51b Update Swift Protobuf dependency to 1.0.2. 8 years ago
  bootstraponline dd258daa1c Fix gRPC Swift generation when files have same package 8 years ago
  Bret Cheng 0dc116d8da Check package only if proto file contains service(s) 8 years ago
  Davis Deaton b798520a3c Allows passing \'--swiftgrpc_opt=Visibility=Public\' to protoc to change the visibility of the generated code for use in projects using multiple modules. 8 years ago
  Tim Burks 0aa90a79ee Relicense to Apache 2, change owners to "the gRPC Authors". 8 years ago
  Tim Burks f3926c5c6a Change access level for generated classes and methods from "public" to "internal". 8 years ago
  Tim Burks bcf716c361 Update plugin for Swift 3.1 code generation 8 years ago
  Tim Burks bdcf5d180e Initial conversion to Swift 3.1: generated code manually-converted to Swift 3.1 APIs. 8 years ago
  Tim Burks 8abff74e15 Improve plugin to handle hierarchical package names (containing dots) and spurious mentions by protoc. 8 years ago
  Tim Burks 6954ff7d39 Corrected a few incorrect license headers. All code should be under the common gRPC license. 9 years ago
  Tim Burks 38b73fa52e Templates are now compiled directly into the protoc-gen-swiftgrpc plugin. 9 years ago