aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler
Commit message (Collapse)AuthorAge
* PHP: Fixed bug in protoc plugin escaping commentsGravatar Stanley Cheung2017-05-22
|
* Fix clang-format issueGravatar Per Grön2017-05-14
|
* Emit additional headers in generated .h file instead of .ccGravatar Per Grön2017-05-11
| | | | | | | | | | | | | | | | | For Flatbuffers compatibility. From what I can tell, File::additional_headers is not used by gRPC itself or its default protobuf implementation; it was added for Flatbuffers support (it just returns "" for protobuf). In the Flatbuffer case, the generated header contains references to Flatbuffer gRPC glue code which is in a header in additional_headers. Prior to this patch, this meant that the generated .h file could not be included unless this glue file was included first. Because the protobuf implementation of additional_headers returns an empty string, I think this change should be safe to do and not have unintentional consequences.
* Don't hard code protobuf specific file extensions in cpp_generator.ccGravatar Per Grön2017-05-11
| | | | | This file is shared with the Flatbuffers project as well, which does not use "pb" file extensions.
* Merge pull request #10950 from jeady/service_name_metadataGravatar Yang Gao2017-05-04
|\ | | | | Add static method to generated code to return fully qualified protobuf service name
| * Proper clang formatting.Gravatar James Eady2017-05-04
| |
| * Add static method to generated code to return fully qualified protobuf ↵Gravatar James Eady2017-05-02
| | | | | | | | service name.
* | Fix python imports in gRPC generated python codeGravatar Manuel Kroiss2017-04-27
|/ | | | | | | | | | | | | | | This changes the import style for proto dependencies from a) to b). a) "import a.b.c as x" b) "from a.b import c as x" Using statement a) causes problems when using __init__ files. If module "a.b" has an __init__.py file which is importing the python generated grpc code "a.b.d", then we cannot import a module named "a.b.c" because the module "a.b" does not exist yet. In this case python will throw: AttributeError: 'module' object has no attribute 'b' This PR adapts the code to use the same logic as in: /google/protobuf/compiler/python/python_generator.cc
* Merge pull request #10644 from MakMukhi/masterGravatar MakMukhi2017-04-24
|\ | | | | Added unit testing support.
* \ Merge pull request #10505 from muxi/move-parsing-queueGravatar Muxi Yan2017-04-21
|\ \ | | | | | | Move response message processing to a user-specified queue
| * | Revert API to change default queue for a stubGravatar Muxi Yan2017-04-19
| | |
| | * Post-review updateGravatar Mahak Mukhi2017-04-18
| | |
* | | Merge github.com:grpc/grpc into cpparenaGravatar Craig Tiller2017-04-18
|\ \ \
| * | | Always generate body for python code elementsGravatar Mehrdad Afshari2017-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since #... class Service: class NextService: #... without a body or `pass` under `Service` is invalid Python, we ensure a `pass` statement is always emitted to make the generated code valid.
| | | * formattingGravatar Mahak Mukhi2017-04-13
| | | |
| | | * update according to new changes in cpp codeGravatar Mahak Mukhi2017-04-13
| | | |
| | | * fix conflictsGravatar Mahak Mukhi2017-04-12
| | | |\
| | | * | Initial commit: Auto-generate GMOCK code for client stub.Gravatar Mahak Mukhi2017-04-12
| | |/ / | |/| |
| | * | clang-formatGravatar Muxi Yan2017-04-09
| | | |
| | | * Initial commit: Auto-generate GMOCK code for client stub.Gravatar Mahak Mukhi2017-04-08
| | | |
| | * | Support in ProtoRPCGravatar Muxi Yan2017-04-06
| |/ /
* | | Convert all async client stream types to not allocateGravatar Craig Tiller2017-04-05
| | |
* | | Merge github.com:grpc/grpc into cpparenaGravatar Craig Tiller2017-04-04
|\| |
| * | Merge pull request #8063 from royalharsh/buffersGravatar kpayson642017-04-04
| |\ \ | | | | | | | | Refactor python code generator to support other serializers
* | | | Merge github.com:grpc/grpc into cpparenaGravatar Craig Tiller2017-03-31
|\| | |
| | * | UpdateGravatar Harsh Vardhan2017-03-28
| | | |
| | * | Fix merge conflictsGravatar Harsh Vardhan2017-03-28
| | | |
| | * | remove lang specific streaming methodsGravatar Harsh Vardhan2017-03-28
| | | |
| | * | revert to python specific codeGravatar Harsh Vardhan2017-03-28
| | | |
| | * | remove python specific codeGravatar Harsh Vardhan2017-03-28
| | | |
| | * | Update sources & headersGravatar Harsh Vardhan2017-03-28
| | | |
| | * | clang-formatGravatar Harsh Vardhan2017-03-28
| | | |
| | * | Update python_generator.ccGravatar Harsh Vardhan2017-03-28
| | | |
| | * | Fix errorsGravatar Harsh Vardhan2017-03-28
| | | |
| | * | Fix build issuesGravatar Harsh Vardhan2017-03-28
| | | |
| | * | Update Python generator filesGravatar Harsh Vardhan2017-03-28
| | | |
| | * | Refactor python code generator to support other serializersGravatar Harsh Vardhan2017-03-28
| | |/
| * / fix markdown render errorGravatar thinkerou2017-03-26
| |/
| * Merge pull request #10239 from rltvty/fix_php_service_commentsGravatar Stanley Cheung2017-03-24
| |\ | | | | | | fix the namespacing for php docs on client classes
| * \ Merge branch 'v1.2.x' of https://github.com/grpc/grpc into upmerge-1.2.0Gravatar Nicolas "Pixel" Noble2017-03-24
| |\ \
| * \ \ Merge pull request #10255 from ↵Gravatar Nathaniel Manista2017-03-23
| |\ \ \ | | | | | | | | | | | | | | | | | | | | nathanielmanistaatgoogle/_pb2_grpc-unnecessary-imports Drop unnecessary framework imports from generated _pb2_grpc.py files.
| | * | | Drop unnecessary imports from _pb2_grpc.py filesGravatar Nathaniel Manista2017-03-22
| | | | |
| | | | * fix the namespacing for php docs on clientsGravatar Eric Pinzur2017-03-21
| | |_|/ | |/| |
* / | | [EXPERIMENTAL] allocate unary response writer against call arenaGravatar Craig Tiller2017-03-16
|/ / /
| | * prevent name clashes in C# generated codeGravatar Jan Tattermusch2017-03-14
| |/
* / Add import prefix to Python generatorGravatar Nathaniel Manista2017-03-14
|/ | | | This is needed by a customer with a nontraditional codebase.
* Merge pull request #8407 from jronak/fixtagGravatar Yang Gao2017-03-04
|\ | | | | replaced protobuf tag
* | PHP: make tests runnable on both protobuf 3.1 and 3.2Gravatar Stanley Cheung2017-01-30
| |
* | Stop generating method name array when there is no method.Gravatar yang-g2017-01-19
| |
* | Add `auto-gen`d comment to `_pb2_grpc.py` filesGravatar Masood Malekghassemi2016-12-28
| |