Commit Graph

18 Commits

Author SHA1 Message Date
yang-g 9efec8eaad Add comments to the generated header file 2016-04-14 14:34:55 -07:00
Wouter van Oortmerssen af09a73571 Refactored C++ code generator to not directly depend on protobuf.
This opens the door for other serializers (such as e.g. FlatBuffers)
to share this code generator when using GRPC.
2016-04-13 09:22:52 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Nicolas "Pixel" Noble f7b1d74bf8 Fixing (c)s. 2016-03-17 20:50:25 +01:00
Nicolas "Pixel" Noble 931bdceb49 Letting the user override the code generation a bit.
Example of use:

protoc --grpc_out=use_system_headers=false,grpc_search_path=a/b/c/d:path/to/output/...
2016-01-12 03:16:00 +01:00
Nicolas "Pixel" Noble 0caebbfcfe Splitting gRPC service class codegen into its own set of files. 2015-04-09 23:08:51 +02:00
Nicolas "Pixel" Noble d48a969d3b Small compiler optimization. 2015-03-27 02:06:44 +01:00
Nicolas "Pixel" Noble 1e47514792 Removing range-based for loop. 2015-03-25 23:35:09 +01:00
Nicolas "Pixel" Noble 375a82b35c Adding the ability to specify a service namespace on protoc's command line.
Usage example: protoc ... --grpc_out=services_namespace=xyz:./path/to/output/dir ...

This is difficult to add a test for this without significantly changing all of the examples, or the build system. However this has been successfully tested locally.
2015-03-24 02:35:05 +01:00
Nicolas Noble d446eb86fa Adding initial support for alternative protobuf libraries. 2015-03-13 02:03:01 +01:00
Nicolas "Pixel" Noble 93fa098124 Removing private protobuf header inclusion. 2015-02-27 21:50:58 +01:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller ecd49345b5 Use clang-format-3.5 2015-01-18 14:36:47 -08:00
Nicolas "Pixel" Noble 36f5323846 Fixing includes inconsistency. 2015-01-16 06:39:58 +01:00
Nicolas Noble f5c5d80968 Removing "using namespace std" everywhere. 2015-01-15 17:33:09 -08:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
nnoble ebebb7e21c First pass at making the compilers open-sourcable.
Change on 2014/12/10 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81829127
2014-12-11 15:11:44 -08:00