Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
apolcyn
2ea6aefd4b
Fix C# protoc plugin argument parsing ( #26896 )
4 years ago
Nicolas Noble
a325d7f77a
Pointing the protobuf submodule to the new URL ( #26811 )
...
* Pointing the protobuf submodule to the new URL
* Also changing WORKSPACE dependencies
* More references to the old URL...
4 years ago
vperus
53701640c6
codegen: Correct indentation ( #26702 )
4 years ago
Thomas Van Lenten
434f90b5e5
Switch to using protobuf's helper for the file's prefix. ( #26605 )
...
This adds support for protobuf ObjC support for using the proto package to
define the prefix for the file
(https://github.com/protocolbuffers/protobuf/pull/8760 ).
Once protobuf cuts a release, it likely makes sense to support the same
generator options that the objc generator does, but for now the environment
variable support can used to enable this when building from recent sources.
4 years ago
Vijay Pai
4aa9591662
Devirtualize experimental_async() as a stub function ( #26532 )
4 years ago
Vijay Pai
cf1ebf7387
Remove experimental tag from uses of the C++ callback API ( #26495 )
4 years ago
Jan Tattermusch
98ccb7fd94
Add C# plugin "file_suffix" option defaulting to "Grpc.cs" ( #26162 )
...
* add C# plugin "file_extension" option defaulting to "Grpc.cs"
* rename to "file_suffix" to avoid confusion
* address review feedback
4 years ago
Jan Tattermusch
c6fbf43390
Add "GeneratedCode" attribute to generated service stubs ( #26164 )
...
* mark generated members in *Grpc.cs as [GeneratedCode]
* regenerate protos
4 years ago
Hannah Shi
6769ce39f4
PHP: php server commit 4/n, add RpcServer, generator and server examples ( #25640 )
...
* add RpcServer and generator
add server examples: greeter and route guide
* php server generator xds client
* add generated stub
* fix clang format fail
4 years ago
mkruskal-google
2bf75aa68a
Add optional suffix to client-side stub objects ( #25996 )
...
* Adding suffix for stats handling to gRPC
* Fixing typo
* Fixing codegen, adding tests
* Fixing test failures
* Adding nullptr default in StubOptions
* Updating golden test file
* Replacing std::make_unique with absl::make_unique for pre-C++14 compatibility
* Fixing clang format errors
* Reuse stub options for generic stubs
* Cleaning up compiler warnings in GenericStub
4 years ago
Vijay Pai
33d7aaffe8
Fix const-ness of callback client read RPC requests ( #25763 )
...
* Fix const-ness of callback client read RPC requests
* Fix golden file
4 years ago
Olivier Bellone
689b62e8cf
Include `GRPC::GenericService` from root namespace ( #25153 )
4 years ago
crewmatt
fe37853055
Update csharp_generator.cc to be compatible with internal and public version of protobuf ( #25514 )
...
* Update csharp_generator.cc to be compatible with internal and public proto
* Add mappings to config_protobuf.h:
* Refactor uses of MethodType
* Refactor Functions using GetMethodType
* Update for comments
* Update config_protobuf.h
* improve readability
* clang format code
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
4 years ago
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
4 years ago
Vijay Pai
afe4d1d086
Reduce templating for async client unary call codegen
4 years ago
Vijay Pai
6f7a98916b
Reduce template use in server
4 years ago
Vijay Pai
476743786b
Also reduce templating for ClientUnaryReactor
4 years ago
Vijay Pai
ef212a908e
Reduce sync client templating for protobuf
4 years ago
Vijay Pai
7e72bba162
Reduce templating for unary callback client RPC
4 years ago
Alex Merry
6c53881b7d
Fix undefined behavior when Python plugin is given no args
...
Split() was incrementing the iterator past the end iterator when given
an empty string, which is undefined behaviour, and triggered an assert
when compiled with debug iterators in MSVC.
4 years ago
Vijay Pai
37a09aaae3
Remove unused experimental stub format
4 years ago
Vijay Pai
e1798799e2
Stop generating 1-phase deprecated async code
4 years ago
Alisha Nanda
25c35b6db7
Revert "Revert "Merge pull request #24047 from grpc/revert-23916-server-context""
...
This reverts commit 84c4994dc7
.
4 years ago
Karthik Ravi Shankar
67667eb7b6
Revert ...
5 years ago
Alisha Nanda
84c4994dc7
Revert "Merge pull request #24047 from grpc/revert-23916-server-context"
...
This reverts commit 7c098321bd
, reversing
changes made to d109f4b406
.
5 years ago
Karthik Ravi Shankar
b657c8d79c
Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc""
5 years ago
pbatg
eca5e18802
Import <Foundation/Foundation.h> so that NSObject is defined when GPB_GRPC_PROTOCOL_ONLY=1
5 years ago
Karthik Ravi Shankar
f1abdd1725
Revert "Move ServerContext from ::grpc_impl to ::grpc"
5 years ago
Jan Tattermusch
3013a636d2
C# generator: use buffer serialization
5 years ago
Karthik Ravi Shankar
c0998bc97f
Fix codegen and gen file
5 years ago
root
e3340f1ccb
change return type annotation of generated PHP methods
5 years ago
Yash Tibrewal
bef69db1a6
A bit of cleanup
5 years ago
Hannah Shi
5591154743
use absolute package name, add test cases
5 years ago
Hannah Shi
c8986bc73e
use absolute package name, add test cases
5 years ago
yulin-liang
77fb3689af
Initialize the grpc_local_import variable to false.
5 years ago
yulin-liang
775517a3f1
Provide an objc-generator option to import system files in a local way
5 years ago
Stanley Cheung
18ef450a7c
Fix ruby protoc plugin when message is in another package
5 years ago
Stanley Cheung
cdf1070c9b
Ruby protoc plugin fix: fix test breakage
5 years ago
Stanley Cheung
0f34ccbfa8
Fix ruby protoc plugin when message is in another package
5 years ago
yulin-liang
317fd2e13f
Objc support PB runtime import override
5 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
5 years ago
yulin-liang
83e679fad1
Objc update WKT generated import paths.
5 years ago
Richard Belleville
946686840a
Actually plumb through the insecure option
5 years ago
Richard Belleville
e3ae621f64
Add insecure option
5 years ago
staticdev
ab41ecbaaf
clang_format_code
5 years ago
Stanley Cheung
eccbac3443
Update grpc protoc plugins to support proto3 optional
5 years ago
Karthik Ravi Shankar
063704ebad
Revert "Update grpc protoc plugin to be compliant of proto3 field presence"
5 years ago
staticdev
942a2b4201
Review of wording
5 years ago
Stanley Cheung
dc9b100865
Update grpc protoc plugins to support proto3 optional
5 years ago