Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Made helper code also consider package name 'proto2' when dealing with ↵ | guptasu | 2016-11-10 | 3 | -10/+27 |
| | | | | | | MessageOptions. This is done so that the same library can be used irrespective of whether MessageOptions belong to package name 'proto2' or 'google.protobuf' | ||||
* | Added explicit cast to avoid size warning on Win64. | Rodrigo Hernandez | 2016-11-04 | 1 | -1/+1 |
| | |||||
* | Fix unused parameter warnings in arena_free | Adam Cozzette | 2016-11-04 | 1 | -0/+1 |
| | | | | | | The size parameter is only used in cases where the compiler supports sized delete, so when that's not available we need to specifically cast it to void to prevent a warning. | ||||
* | Merge pull request #2301 from jbrianceau/arm-atomic-kuser-helpers-fix-v2 | Feng Xiao | 2016-11-03 | 1 | -0/+4 |
|\ | | | | | [arm/gcc] Don't rely on KUSER_HELPERS feature for atomics | ||||
| * | [arm/gcc] Don't rely on KUSER_HELPERS feature for atomics | Julien Brianceau | 2016-10-28 | 1 | -0/+4 |
| | | | | | | | | | | | | ARM specific CONFIG_KUSER_HELPERS feature can be disabled in Linux kernel, and in this case, we shouldn't crash. Use gcc built-in functions instead of arm specific code if they are available. | ||||
* | | Merge pull request #2302 from jbrianceau/generic-gcc-atomics-strong-cmpxchg | Jisi Liu | 2016-11-02 | 1 | -5/+5 |
|\ \ | | | | | | | generic atomicops: Use strong compare_exchange | ||||
| * | | generic atomicops: Use strong compare_exchange | Julien Brianceau | 2016-10-28 | 1 | -5/+5 |
| |/ | | | | | | | | | Weak compare-and-exchange are allowed to fail spuriously, so we have to use the strong variation here. | ||||
* / | Fix compiler warnings when running :protobuf_test | Michael Avrukin | 2016-11-02 | 1 | -4/+4 |
|/ | | | When running >bazel test :protobuf_test a few compiler warnings came up. They were centered around the usage of "int" as the loop counter where the value should have been a size_t. | ||||
* | define no_threadlocal on OpenBSD | ramrunner | 2016-10-26 | 1 | -2/+2 |
| | |||||
* | Add comments about converting directives into PluginName | Jisi Liu | 2016-10-26 | 1 | -1/+2 |
| | |||||
* | Support extra parameters for plugins. | Jisi Liu | 2016-10-25 | 3 | -16/+91 |
| | |||||
* | Merge 3.1.x into master. | Bo Yang | 2016-10-13 | 1 | -9/+1 |
|\ | |||||
| * | Merge pull request #2203 from mrry/msvc_fix | Feng Xiao | 2016-10-11 | 1 | -9/+1 |
| |\ | | | | | | | Fix MSVC build when HAVE_LONG_LONG is defined. | ||||
| | * | Fix MSVC build when HAVE_LONG_LONG is defined. | Derek Murray | 2016-09-29 | 1 | -9/+1 |
| | | | |||||
| * | | Merge pull request #2193 from acozzette/common-js-fix | Adam Cozzette | 2016-10-04 | 1 | -14/+16 |
| |\ \ | | | | | | | | | Fixed references to foreign nested messages with CommonJS-style imports | ||||
| | * | | Fixed references to foreign nested messages with CommonJS-style imports | Adam Cozzette | 2016-09-27 | 1 | -14/+16 |
| | |/ | | | | | | | | | | | | | | | | | | | | | | A bug was causing generated JSPB code with CommonJS-style imports to refer incorrectly to nested messages from other .proto files. The generated code would have things like "test_pb.InnerMessage" instead of "test_pb.OuterMessage.InnerMessage". This commit fixes the problem by correctly taking into account any message nesting. | ||||
| * / | Do strict enum name checking only for proto3 | Adam Cozzette | 2016-10-04 | 2 | -9/+27 |
| |/ | | | | | | | | | | | | | | | There seem to already be .proto files out there that have conflicting enum names, which will not be able to build successfully for some languages (like C#). To prevent this problem from spreading, let's make it an error for proto3 but just issue a warning for proto2. This fixes issue #2179. | ||||
| * | Fix MSVC stack overflow issue. | Feng Xiao | 2016-09-23 | 1 | -0/+5 |
| | | |||||
| * | Fix VS test failures. | Feng Xiao | 2016-09-23 | 2 | -6/+24 |
| | | |||||
| * | Reduce test length to avoid stack overflow on VS. | Feng Xiao | 2016-09-23 | 1 | -3/+3 |
| | | |||||
| * | Fix Visual Studio compile issues. | Feng Xiao | 2016-09-23 | 28 | -462/+748 |
| | | | | | | | | Change-Id: I6a5078b6bcdf4637e11c1cb9da1f74298e6fc26e | ||||
| * | Fix default instance destructor | Jisi Liu | 2016-09-23 | 14 | -13/+112 |
| | | |||||
| * | Bump library version to 11 | Bo Yang | 2016-09-22 | 1 | -2/+2 |
| | | |||||
| * | Add back removed descriptor field. | Bo Yang | 2016-09-22 | 3 | -137/+230 |
| | | |||||
| * | Fixed quadratic behavior in JSPB deserialization of repeated fields (#2117) ↵ | Adam Cozzette | 2016-09-21 | 1 | -7/+3 |
| | | | | | | | | | | | | | | | | | | (#2146) Currently deserialization of a non-packed binary repeated field is quadratic in the number of elements, because each time we parse a new element we copy over all elements we have parsed so far. This CL fixes the performance problem by having the generated deserialization code just call addX() instead of using getX() and setX(). | ||||
| * | Bump library veriosn to 3.1 | Bo Yang | 2016-09-21 | 14 | -30/+30 |
| | | |||||
| * | Fix bugs for internal integration. | Bo Yang | 2016-09-20 | 1 | -1/+1 |
| | | |||||
| * | Fix bugs for internal integration. | Bo Yang | 2016-09-19 | 1 | -0/+1 |
| | | |||||
| * | Integrate internal changes | Bo Yang | 2016-09-19 | 153 | -5232/+9444 |
| | | |||||
* | | Do strict enum name checking only for proto3 | Adam Cozzette | 2016-10-10 | 2 | -9/+27 |
| | | | | | | | | | | | | | | | | There seem to already be .proto files out there that have conflicting enum names, which will not be able to build successfully for some languages (like C#). To prevent this problem from spreading, let's make it an error for proto3 but just issue a warning for proto2. This fixes issue #2179. | ||||
* | | Fixed references to foreign nested messages with CommonJS-style imports | Adam Cozzette | 2016-10-10 | 1 | -14/+16 |
| | | | | | | | | | | | | | | | | A bug was causing generated JSPB code with CommonJS-style imports to refer incorrectly to nested messages from other .proto files. The generated code would have things like "test_pb.InnerMessage" instead of "test_pb.OuterMessage.InnerMessage". This commit fixes the problem by correctly taking into account any message nesting. | ||||
* | | Fix MSVC stack overflow issue. | Feng Xiao | 2016-10-10 | 1 | -0/+5 |
| | | |||||
* | | Fix VS test failures. | Feng Xiao | 2016-10-10 | 2 | -6/+24 |
| | | |||||
* | | Reduce test length to avoid stack overflow on VS. | Feng Xiao | 2016-10-10 | 1 | -3/+3 |
| | | |||||
* | | Fix Visual Studio compile issues. | Feng Xiao | 2016-10-10 | 28 | -462/+748 |
| | | | | | | | | Change-Id: I6a5078b6bcdf4637e11c1cb9da1f74298e6fc26e | ||||
* | | Fix default instance destructor | Jisi Liu | 2016-10-10 | 14 | -13/+112 |
| | | |||||
* | | Bump library version to 11 | Bo Yang | 2016-10-10 | 1 | -2/+2 |
| | | |||||
* | | Add back removed descriptor field. | Bo Yang | 2016-10-10 | 3 | -137/+230 |
| | | |||||
* | | Fixed quadratic behavior in JSPB deserialization of repeated fields (#2117) ↵ | Adam Cozzette | 2016-10-10 | 1 | -7/+3 |
| | | | | | | | | | | | | | | | | | | (#2146) Currently deserialization of a non-packed binary repeated field is quadratic in the number of elements, because each time we parse a new element we copy over all elements we have parsed so far. This CL fixes the performance problem by having the generated deserialization code just call addX() instead of using getX() and setX(). | ||||
* | | Bump library veriosn to 3.1 | Bo Yang | 2016-10-10 | 14 | -30/+30 |
| | | |||||
* | | Fix bugs for internal integration. | Bo Yang | 2016-10-10 | 1 | -1/+1 |
| | | |||||
* | | Fix bugs for internal integration. | Bo Yang | 2016-10-10 | 1 | -0/+1 |
| | | |||||
* | | Integrate internal changes | Bo Yang | 2016-10-10 | 153 | -5232/+9436 |
| | | |||||
* | | Silence compile warnings in bazel | Andy Hochhaus | 2016-10-09 | 2 | -9/+17 |
| | | |||||
* | | Merge pull request #2192 from google/3.0.x | Jisi Liu | 2016-09-27 | 13 | -13/+13 |
|\ \ | | | | | | | Merge 3.0.x into master. | ||||
| * | | Update generated files. | Jisi Liu | 2016-09-14 | 12 | -12/+12 |
| | | | |||||
| * | | Fix the version number for 3.0.2 | Jisi Liu | 2016-09-13 | 1 | -1/+1 |
| | | | |||||
* | | | Fixes static analyzer issues from xcode. | Sergio Campama | 2016-09-20 | 5 | -4/+7 |
| |/ |/| | |||||
* | | Merge pull request #2112 from pherl/merge | Jisi Liu | 2016-09-15 | 28 | -8/+153 |
|\ \ | | | | | | | Merge 3.0.x into master | ||||
| * | | Merge remote-tracking branch 'origin/3.0.x' into merge | Jisi Liu | 2016-09-14 | 28 | -8/+153 |
| |\| |