aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler
Commit message (Collapse)AuthorAge
* Merge pull request #4824 from sschuberth/remove-exec-bitGravatar Feng Xiao2018-06-25
|\ | | | | Remove the executable bit from several source code files
* \ Merge pull request #4608 from khuzemap/masterGravatar Feng Xiao2018-06-25
|\ \ | | | | | | Add "override" keyword for overridden virtual functions
| | * Remove the executable bit from several source code filesGravatar Sebastian Schuberth2018-06-25
| |/ |/| | | | | This potentially avoids compiler warnings.
* | Merge pull request #4780 from mwei0210/masterGravatar Adam Cozzette2018-06-20
|\ \ | | | | | | check provided size to check whether to export
| | * Add "override" for overridden virtual functionsGravatar Khuzema Pithewan2018-06-19
| | | | | | | | | | | | | | | | | | Add "override" for overridden virtual functions. Please refer following issue for discussion on this. https://github.com/google/protobuf/issues/67
| * | not emptyGravatar ming2018-06-19
| | |
* | | Merge pull request #4626 from robhancocksed/masterGravatar Feng Xiao2018-06-18
|\ \ \ | | | | | | | | Declare some generated C++ methods as static #4602
| | * | check provided sizeGravatar ming2018-06-19
| |/ / |/| |
* | | Merge pull request #2121 from mazurkin/issue-2108Gravatar Feng Xiao2018-06-18
|\ \ \ | | | | | | | | issue-2108 [protoc/Java] Excessive copying on buildPartial()
* \ \ \ Merge pull request #3901 from wijagels/masterGravatar Feng Xiao2018-06-11
|\ \ \ \ | | | | | | | | | | Fix unused parameter warnings in generated code with arenas enabled
* | | | | Remove js_embed binary. (#4709)Gravatar Feng Xiao2018-06-01
| | | | | | | | | | | | | | | | | | | | * Remove js_embed binary.
* | | | | Move methods out of class (#4697)Gravatar Paul Yang2018-05-29
| | | | |
* | | | | Add back GeneratedClassName to public (#4686)Gravatar Paul Yang2018-05-25
| | | | | | | | | | | | | | | These methods are used by grpc
* | | | | PHP namespaces for nested messages and enums (#4536)Gravatar Brent Shaffer2018-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * uses namespaces for nested messages and enums * fixes namespaces for PHP dist * fixes namespace for Descriptors, adds Cardinality and Kind * fixes nested namespaces for reserved words and adds tests * adds tests and generator fix for php class prefixes * fixes escaping of protobuf packages, enum comments, misc others * nice refactor of generated code * adds class files for backwards compatibility * simplifies code with templates * adds compatibility files to makefile * cleanup of generator and fixes nested namespace bug * regenerates proto types * remove internal BC classes * adds deprecated warning, adds methods back * simplifies if statement * fixes dist files * addresses review comments * adds back TYPE_URL_PREFIX constant * adds @deprecated to old nested class files * skips tests which require a separate process when protobuf.so is enabled * Adds tests for legacy nested classes that do not require separate processes to test * uses legacy names for GPBUtil message check * adds block for IDE @deprecated message * Namespace for nested message/enum in c extension * Remove unused code
* | | | | PHP array constructors for protobuf messages (#4530)Gravatar Brent Shaffer2018-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP array constructors for protobuf messages * removes Descriptor from error message * allows mergeFrom to accept an array * only use initWithDescriptor if instanceof MapEntry * adds doc comments * removes ability for constructors to take arrays for submessages * Revert "allows mergeFrom to accept an array" This reverts commit b7b72182d561634af12c5c5c56a7cda3b33241f9. * makes mergeFromArray protected and fixes mergeFrom whitespace * Separates merging from JSON and merging from PHP array * removes well-known types and json keys from array construction * Addresses PR review comments * cleans up tests * fixes exception messages
* | | | | Adopt ruby_package in ruby generated code. (#4627)Gravatar Paul Yang2018-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adopt ruby_package in ruby generated code. * Add test for ruby_package
| | | * | Declare some generated C++ methods as static #4602Gravatar Robert Hancock2018-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | This avoids compile warnings when compiling generated code with the -Wmissing-declarations option.
* | | | | Adopt php_metadata_namespace in php code generator (#4622)Gravatar Paul Yang2018-05-14
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adopt php_metadata_namespace in php code generator The php_metadata_namespace is corresponded to the relative directory of the metadata file. e.g., previously, the metadata file of foo.proto was GPBMetadata/Foo.php. If the php_metadata_namespace is "Metadata\\Bar", the metadata file will be Metadata/Bar/Foo.php. * Handle empty php_metadata_namespace
* | | | fix index out of range error in C# generation using msvc (#1329)Gravatar Warren Falk2018-05-14
| |_|/ |/| |
* | | Write messages to backing field in generated C# cloning code (#4440)Gravatar Sydney Acksman2018-04-19
| | | | | | | | | | | | | | | | | | * Edited MessageFieldGenerator to clone to backing field instead of property * Generated C# proto code
* | | Merge pull request #4504 from xfxyjwf/liteGravatar Feng Xiao2018-04-18
|\ \ \ | | | | | | | | Cleanup + documentation for Java Lite runtime.
* | | | Fixed a Visual Studio 2017 build error. (#4488)Gravatar Ronny Krüger2018-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current 15.6.x versions of Visual Studio 2017 contain a bug that prevent them from compiling the following construct under certain conditions: std::unique_ptr<std::unique_ptr<Foo> []> foos; This will fail to compile if Foo is an abstract class. To work-around the problem the whole construct was change into: std::vector<std::unique_ptr<Foo>> foos; This not only fixes the compiler error but is also more readable than previous version.
| * | | Cleanup + documentation for Java Lite runtime.Gravatar Feng Xiao2018-04-12
|/ / /
* | | Don't generate imports for the WKTs unless generating the WKTs.Gravatar Thomas Van Lenten2018-04-02
| | | | | | | | | | | | | | | Since the generated header import GPBProtocolBuffers.h, there is no need to generate imports for the WKTs as they will have already been imported.
* | | Trim imports for bundled generated protos.Gravatar Thomas Van Lenten2018-04-02
| | | | | | | | | | | | | | | | | | | | | | | | To avoid a cycle between headers, have the WKTs use minimal imports instead of using the helper to get everything from the library. Fixes https://github.com/google/protobuf/issues/4301 Fixes https://github.com/google/protobuf/issues/4403
* | | source code info for interpreted options; fix source code info for extension ↵Gravatar Joshua Humphries2018-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | range options (#4342) * when interpreting options, rewrite file descriptor's source code info - so that interpreted option paths have correct location information - so that corresponding uninterpreted option paths are removed also includes a fix to source code locations for extension range options
* | | Merge pull request #4431 from xfxyjwf/rmnanoGravatar Feng Xiao2018-03-26
|\ \ \ | | | | | | | | Remove javanano.
| * | | Remove javanano.Gravatar Feng Xiao2018-03-26
| | | |
* | | | Fix missing LIBPROTOC_EXPORT.Gravatar Egor Pugin2018-03-25
|/ / / | | | | | | This makes possible to build grpc_php_plugin with protobuf in shared mode.
* | | Deleted scoped_ptr.hGravatar Adam Cozzette2018-03-14
| | | | | | | | | | | | | | | We no longer need this, now that we have finished the switch to C++11 and are using std::unique_ptr.
* | | Merge branch 'master' into down-integrateGravatar Adam Cozzette2018-03-13
|\ \ \
* | | | Integrated internal changes from GoogleGravatar Adam Cozzette2018-03-13
| | | |
| * | | Merge pull request #3186 from gkelly/remove-unused-variableGravatar Feng Xiao2018-02-20
|/| | | | | | | | | | | Remove unused output_file variable from js_embed
* | | | Remove stray indent on normal imports.Gravatar Thomas Van Lenten2018-02-08
| | | |
* | | | Fix to use "nil" instead of "NULL" for objc objects.Gravatar Thomas Van Lenten2018-01-31
| | | |
* | | | Merge pull request #4240 from davido/generate_warning_free_java_codeGravatar Feng Xiao2018-01-29
|\ \ \ \ | | | | | | | | | | Java: Generate warning free code
| * | | | Java: Generate warning free codeGravatar David Ostrovsky2018-01-27
| | | | | | | | | | | | | | | | | | | | Partially fixes #4230.
* | | | | Removed using statements from common.hGravatar Adam Cozzette2018-01-26
|/ / / / | | | | | | | | | | | | | | | | | | | | These statements pulled a bunch of symbols from the std namespace into the global namespace. This commit removes all of them except for std::string, which is a bit trickier to remove.
* | | | Add an explicit import of stdatomic.h.Gravatar Thomas Van Lenten2018-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generated code for enums needs atomics support, so generate the import instead of relying on it via transitive imports. This will make future changes to this likely likely to break generated code and runtime support are mixed. Followup to https://github.com/google/protobuf/pull/4184.
* | | | Migrate away from deprecated OSAtomic APIs. (#4184)Gravatar Jonathan Dierksen2018-01-22
| | | | | | | | | | | | | | | | * Migrate away from deprecated OSAtomic APIs.
* | | | Merge remote-tracking branch 'origin/3.5.x' into masterGravatar Jisi Liu2018-01-03
|\ \ \ \
| * \ \ \ Merge pull request #4072 from google/jieluoGravatar Jisi Liu2017-12-19
| |\ \ \ \ | | | | | | | | | | | | Cherrypick for csharp, including:
| | * | | | Cherrypick for csharp, including:Gravatar Jie Luo2017-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add preserve UnknownFields Compare floating point values bitwise Add auto-generated header to C# generated files
| * | | | | Update version number to 3.5.1Gravatar Jisi Liu2017-12-19
| |/ / / /
* | | | | Merge pull request #4046 from acozzette/deprecated-valueof-issue-2054Gravatar Adam Cozzette2017-12-14
|\ \ \ \ \ | | | | | | | | | | | | Java: generate an annotation to suppress deprecation warnings
* \ \ \ \ \ Merge pull request #4045 from pherl/deprecateGravatar Jisi Liu2017-12-14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add deprecation annotation for oneof case.
| | * | | | | Generate an annotation to suppress deprecation warningsGravatar Adam Cozzette2017-12-13
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The valueOf method on enums is deprecated, but for compatibility reasons the generated code has to keep using it. We can use an annotation to suppress the deprecation warnings.
* | | | | | Add auto-generated header to C# generated files (#4038)Gravatar Jan Tattermusch2017-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add auto-generated header to C# generated files * regenerate C# protos
* | | | | | Merge pull request #4044 from xfxyjwf/issue3268Gravatar Feng Xiao2017-12-13
|\ \ \ \ \ \ | | | | | | | | | | | | | | Avoid double underscores in macro name
| | * | | | | Add deprecation annotation for oneof case.Gravatar Jisi Liu2017-12-13
| | | | | | |