aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | | Merge pull request #3357 from bklarson/masterGravatar Adam Cozzette2017-07-17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix build when using -Werror=undef
* \ \ \ \ \ \ \ Merge pull request #3134 from lundefugl/javabug1Gravatar Feng Xiao2017-07-17
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | Issue 3112: Object class with fully qualified name
* | | | | | | | remove pass by reference for php setters (#3344)Gravatar Brent Shaffer2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove pass by reference for php setters * comments out memory leak test
* | | | | | | | removes an accidental newline in printing for the php generator (#3333)Gravatar Brent Shaffer2017-07-13
| | | | | | | |
* | | | | | | | Add space between arrow and casted type (#3353)Gravatar Paul Yang2017-07-13
| | | | | | | |
* | | | | | | | Merge pull request #3327 from htuch/fix-3322Gravatar Feng Xiao2017-07-13
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Use consistent hash across NDEBUG/!NDEBUG builds.
| | | * | | | | | Fix build when using -Werror=undefGravatar Brad Larson2017-07-12
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct a couple places where macros were being checked when they might not exist in some cases. Fixes #3356.
| | | * | | | | Fix map_field_inl.h for gcc 4.1Gravatar Matt Hauck2017-07-11
| |_|/ / / / / |/| | | | | |
| | | | * | | Windows: support long pathsGravatar Laszlo Csomor2017-07-11
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add implementations of open(2), mkdir(2), stat(2), etc. that support long paths under Windows (paths longer than MAX_PATH in <windows.h>, which is 260 characters). The implementations are in a separate namespace (google::protobuf::internal::win32), so they won't collide with the standard implementations in <io.h>, but after importing them with `using` they can be drop-in replacements. Fixes https://github.com/bazelbuild/bazel/issues/2634 Fixes https://github.com/google/protobuf/issues/2891
* | | | | | Fix missing std::tr1::hash on GCC 4.1 (#2907)Gravatar Matt Hauck2017-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than crashing on use (doh!) better to just declare this platform is missing a proper hash_map/hash_set implementation and use the std::map/std::set emulation. Fixes regression introduced by #1913
* | | | | | Add std:: namespace prefix to set and map (#3332)Gravatar tanderson-google2017-07-09
| | | | | | | | | | | | | | | | | | * Remove using std::{set,map}
| * | | | | Use consistent hash across NDEBUG/!NDEBUG builds.Gravatar Harvey Tuch2017-07-07
|/ / / / / | | | | | | | | | | | | | | | Fixes #3322.
| | | * | Merge branch 'master' into ConformanceTestYilunChongGravatar Yilun Chong2017-06-30
| | | |\ \ | |_|_|/ / |/| | | |
| | | * | add some test proto2 supported, add js proto2 supported, fixed some errorGravatar Yilun Chong2017-06-30
| | | | |
| | | * | change php objc nodejs csharp rubyGravatar Yilun Chong2017-06-29
| | | | |
* | | | | Add initialized as a reserved keyword as that's the actual property nameGravatar Sergio Campama2017-06-29
| | | | |
| | | * | add message set test caseGravatar Yilun Chong2017-06-28
| | | | |
* | | | | adds PHPDoc @return and @param for getters and setters respectively (#3131)Gravatar Brent Shaffer2017-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adds PHPDoc @return and @param for getters and setters respectively * addresses changes in PR review * adds documentation tests * Update php_generator: - Prepend \ to names where required - Remove <pre> tags - Update protobuf field comments * Updates class files with the protobuf changes * Addresses review comments * removes Protobuf Type line from PHP generated classes * fixes phpdoc test * adds array types to phpdoc
| | | * | add support for proto2Gravatar Yilun Chong2017-06-26
| | | | |
* | | | | Merge pull request #3264 from TeBoring/php-bugGravatar Paul Yang2017-06-24
|\ \ \ \ \ | | | | | | | | | | | | Enusre public header and generated code have no implicit converion.
| * | | | | Fix more implicit type conversions in public headers and generated code.Gravatar Bo Yang2017-06-24
| | | | | |
* | | | | | Merge pull request #2968 from ngg/cpp-proper-fwdGravatar Feng Xiao2017-06-23
|\ \ \ \ \ \ | | | | | | | | | | | | | | C++: Do not forward-declare dependencies in generated .h files
| | * | | | | Enusre public header and generated code have no implicit converion.Gravatar Bo Yang2017-06-23
| |/ / / / / |/| | | | |
| | | | * | add test_proto2_message.proto and change conformnace/makefile.amGravatar Yilun Chong2017-06-23
| |_|_|/ / |/| | | |
| | | * | Update C++ generated code.Gravatar Bo Yang2017-06-21
| | | | |
| | | * | Update version number to 3.3.2Gravatar Bo Yang2017-06-21
| | | | |
| | | * | Add ARRAY for reserved name (#3150)Gravatar Paul Yang2017-06-20
| | | | |
* | | | | Merge pull request #3240 from thomasvl/float_funGravatar Thomas Van Lenten2017-06-19
|\ \ \ \ \ | | | | | | | | | | | | Raise the number of digits used for floats.
| * | | | | Raise the number of digits used for floats.Gravatar Thomas Van Lenten2017-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | About 1.5% of all IEEE754 single-precision numbers require nine decimal digits to represent accurately.
* | | | | | Qualify string in java_options.hGravatar Calder Coalson2017-06-16
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building the protobuf compiler with Bazel fails to resolve the unqualifed "string"s in java_options.h: ``` ERROR: .../external/com_google_protobuf/BUILD:248:1: C++ compilation of rule '@com_google_protobuf//:protoc_lib' failed: Process exited with status 1 [sandboxed]. In file included from external/com_google_protobuf/src/google/protobuf/compiler/java/java_context.h:41:0, from external/com_google_protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc:38: external/com_google_protobuf/src/google/protobuf/compiler/java/java_options.h:59:3: error: 'string' does not name a type string annotation_list_file; ^ external/com_google_protobuf/src/google/protobuf/compiler/java/java_options.h:62:3: error: 'string' does not name a type string output_list_file; ^ Use --strategy=CppCompile=standalone to disable sandboxing for the failing actions. INFO: Elapsed time: 41.487s, Critical Path: 6.20s //interpreter:eval_test NO STATUS Executed 0 out of 1 test: 1 was skipped. ```
* | | | | Export symbols used in inline functionsGravatar Silvio Traversaro2017-06-12
| | | | | | | | | | | | | | | | | | | | fixed_address_empty_string symbol is used in an inline function. We have to export it to avoid undefined reference link errors.
| * | | | C++: Do not forward-declare dependencies in generated .h filesGravatar Gergely Nagy2017-06-12
|/ / / /
* | | | Merge pull request #3176 from acozzette/fix-3114Gravatar Adam Cozzette2017-06-07
|\ \ \ \ | | | | | | | | | | Ensure that for Java, imports of .proto files with empty packages works
* | | | | Add new file option php_namespace. (#3162)Gravatar Paul Yang2017-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add new file option php_namespace. Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace. * Uncomment commented tests * Revert gdb test change * Update csharp descriptor. * Add test for empty php_namespace.
| * | | | Ensure that for Java, imports of .proto files with empty packages worksGravatar Adam Cozzette2017-06-02
|/ / / / | | | | | | | | | | | | | | | | | | | | This fixes a compiler bug that caused a Java syntax error when one .proto file would import another one with an empty package and java_package. This fixes issue #3114.
* | | | not to use std::random_device for map.Seed(). (#3133)Gravatar Wayne Zhang2017-05-30
| | | | | | | | | | | | | | | | | | | | | | | | * not to use std::random_device for map.Seed(). * remove include random
* | | | Add ARRAY for reserved name (#3150)Gravatar Paul Yang2017-05-29
| | | |
* | | | Adds fluent setters for PHP (#3130)Gravatar Brent Shaffer2017-05-29
| | | |
| * | | Issue 3112: Object class with fully qualified nameGravatar lundefugl2017-05-24
|/ / /
* | | Removing undefined behavior and compiler warnings (#1315)Gravatar brian-peloton2017-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Comment out unused arguments. These last few are all that's needed to compile with -Wunused-arguments. * Fix missing struct field initializer. With this fix, everything compiles with -Wmissing-field-initializers. * Add support for disabling unaligned memory accesses on x86 too. ubsan doesn't like these because they are technically undefined behavior, so -DGOOGLE_PROTOBUF_DONT_USE_UNALIGNED will disable them easily. * Avoid undefined integer overflow. ubsan catches all of these.
* | | show help if protoc is called without any arguments, pre-empts -h and --help ↵Gravatar Dennis Cappendijk2017-05-22
| | | | | | | | | | | | to show a useful message instead of just 'Missing input file.'
| * | regenerate plugin and profile message codeGravatar Steven Peters2017-05-11
| | |
| * | Use bool deterministic to suppress warningGravatar Steven Peters2017-05-11
| | | | | | | | | | | | Fixes #3059 by re-applying 08b1c718 from #3087.
| * | Update C++ generated code.Gravatar Feng Xiao2017-05-08
| | |
| * | Update version number to 3.3.1Gravatar Feng Xiao2017-05-08
| | |
| * | Merge pull request #3073 from xfxyjwf/3.3.xGravatar Feng Xiao2017-05-08
| |\ \ | | | | | | | | Cherry-pick a bug fix: workaround gcc < 4.5.0 bug
| | * | Workaround gcc < 4.5.0 bugGravatar Mario J. Rugiero2017-05-08
| | | | | | | | | | | | | | | | | | | | | | | | See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=189 Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
| * | | Fix compilationGravatar randomguy32017-05-06
| | | | | | | | | | | | <: is a digraph, so a space is necessary for compilation on certain compilers.
| * | | Fix offset type to match the tables it is used inGravatar Alex Merry2017-05-05
| |/ /
* | / Workaround gcc < 4.5.0 bugGravatar Mario J. Rugiero2017-05-05
| |/ |/| | | | | | | | | See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=189 Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>