aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler
Commit message (Collapse)AuthorAge
* Update clang-format to 5.0Gravatar Craig Tiller2017-11-03
|
* Adopt the static factory pattern (#10)Gravatar Vijay Pai2017-10-27
| | | | | | | | | | | | | | * Switch sync streams from "struct internal" to static factory in namespace internal * Reduce diff size * fix friends * Use static factory pattern for async unary calls * Use static factories for async streams * clang-format
* Separate public and internal C++ interfacesGravatar Vijay Pai2017-10-26
|
* Merge pull request #12637 from muxi/add-objc-gen-forward-declareGravatar Muxi Yan2017-10-05
|\ | | | | Allow ObjC proto plugin to forward declare message classes
* | Revert "Temporarily take ownership of cpp generator to prevent changes"Gravatar Vijay Pai2017-09-21
| |
* | Merge pull request #12426 from michaelbausor/php-namespacesGravatar Stanley Cheung2017-09-20
|\ \ | | | | | | PHP: Determine type name using php_namespace option
| | * Generate dependency header import in pbrpc.mGravatar Muxi Yan2017-09-19
| | |
| | * Generate forward declaration in pbrpc.hGravatar Muxi Yan2017-09-18
| | |
* | | Flip gRPC Python Protoc Plug-In default behaviorGravatar Nathaniel Manista2017-09-19
| |/ |/| | | | | | | | | | | Now the grpc_2_0 flag is no longer required for the only-generate-code- elements-in-_pb2_grpc.py-files behavior and the grpc_1_0 flag is required for the add-generated-gRPC-using-code-elements-to-_pb2.py- files behavior.
| * Apply formatting toolGravatar Michael Bausor2017-09-18
| |
* | Construction of streams shouldn't require triggering async opsGravatar Vijay Pai2017-09-14
| |
* | grpc_1_0 flag for gRPC Python Protoc Plug-InGravatar Nathaniel Manista2017-09-13
| | | | | | | | | | | | | | | | | | | | We'll soon be flipping the default behavior of gRPC Python Protoc Plug-In to the later-than-gRPC-1.0 "code elements only in a separate _pb2_grpc.py file and no Beta-API-using generated code elements" behavior; this flag will be the supported (supported for a while, though not exactly sure how long) means of using the older "also put gRPC-using code elements in the generated _pb2.py file" behavior that has been in place since gRPC 1.0.
* | Temporarily take ownership of cpp generator to prevent changesGravatar Vijay Pai2017-09-11
| |
| * Determine type name using php namespace optionGravatar Michael Bausor2017-09-07
|/
* Disable XML comment warnings in generated stubsGravatar Jan Tattermusch2017-08-11
|
* PHP: update codegen plugin to support php_namespace optionGravatar Stanley Cheung2017-08-10
|
* Merge pull request #11921 from adam-26/1745Gravatar Michael Lumish2017-07-26
|\ | | | | Fix issue from google/protobuf#1745 - javascript allow dot in filename
* | Revert "Separate internal-only and public parts of C++ API"Gravatar Vijay Pai2017-07-25
| |
| * Fix quotation marksGravatar Adam2017-07-24
| |
| * Fix issue from google/protobuf#1745 - javascript allow dot in filenameGravatar Adam2017-07-24
|/
* Support parameter to change PHP generated stub suffixGravatar Michael Bausor2017-07-12
|
* Internalize structs and methods meant for being exposed through codegenGravatar Vijay Pai2017-07-10
| | | | or that interface with core and are only for internal use
* Merge pull request #11524 from michaelbausor/php-protoc-pluginGravatar Stanley Cheung2017-06-26
|\ | | | | Update PHP protoc plugin generation
| * Run formatterGravatar Michael Bausor2017-06-22
| |
* | Merge pull request #11341 from muxi/fix-objc-plugin-outputGravatar Muxi Yan2017-06-19
|\ \ | | | | | | Fixes gRPC ObjC plugin's upper camel conversion
| | * Update PHP protoc plugin generationGravatar Michael Bausor2017-06-16
| |/ |/| | | | | | | | | | | - Use docblocks instead of single line comments - Escape '*/' - Indent 4 spaces to match protobuf - Use single line namespace to match protobuf
* | Merge pull request #11400 from kpayson64/python_generator_fixGravatar kpayson642017-06-09
|\ \ | | | | | | Fix python compiler for filenames with dashes
| | * Revert the changes to maintain backward compatibilityGravatar Muxi Yan2017-06-08
| | |
* | | fix remaining license noticesGravatar Jan Tattermusch2017-06-08
| | |
* | | auto-fix most of licensesGravatar Jan Tattermusch2017-06-08
| | |
| | * Add commentGravatar Muxi Yan2017-06-06
| | |
| | * clang-formatGravatar Muxi Yan2017-06-05
| | |
| | * PolishGravatar Muxi Yan2017-06-05
| | |
| | * Backward compatibilityGravatar Muxi Yan2017-06-05
| | |
| * | Fix python compiler for filenames with dashesGravatar Ken Payson2017-06-02
|/ /
| * clang-formatGravatar Muxi Yan2017-05-31
| |
| * Use protobuf's native upper camel conversionGravatar Muxi Yan2017-05-30
|/
* 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
|\ \ \