Commit Graph

33 Commits

Author SHA1 Message Date
Moiz Haidry 3d5d2a122d Extracted the code of Cpp Generator into a header 2019-05-08 18:51:11 +02:00
yang-g de25f189fe Add options to support alternative extension for include files 2019-03-27 17:12:50 -07:00
yang-g 48cb025ec7 Add hooks so that code generator can inject headers to grpc.pb.h file 2018-02-07 16:12:23 -08:00
yang-g eb64fadfce Provide a way to use custom search path for gmock.h 2017-12-22 13:46:25 -08:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Mahak Mukhi 2814b5148e formatting 2017-04-13 14:45:26 -07:00
Mahak Mukhi 31d92d42ff Initial commit: Auto-generate GMOCK code for client stub. 2017-04-12 17:16:23 -07:00
Harsh Vardhan 5b8fa87282
Refactor python code generator to support other serializers 2017-03-28 20:21:14 +05:30
Masood Malekghassemi ac59245624 Clang-format all the things 2016-07-12 13:20:39 -07:00
murgatroid99 210f3c4b8e Added comments to node generation, also refactored some plugin code 2016-05-20 13:24:59 -07:00
yang-g 6b16aaae96 merge and resolve conflict 2016-04-26 16:23:53 -07:00
Wouter van Oortmerssen b695b9b035 Some additional fixes to make the C++ codegen not depend on protobuf. 2016-04-25 17:46:20 -07:00
yang-g 57d1e08268 resolve comments 2016-04-25 15:31:39 -07:00
yang-g 25df28ef75 resolve comments 2016-04-20 16:36:12 -07:00
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