aboutsummaryrefslogtreecommitdiff
path: root/src/google
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.1.x into master.Bo Yang2016-10-131-9/+1
|\
| * Merge pull request #2203 from mrry/msvc_fixFeng Xiao2016-10-111-9/+1
| |\ | | | | | | Fix MSVC build when HAVE_LONG_LONG is defined.
| | * Fix MSVC build when HAVE_LONG_LONG is defined.Derek Murray2016-09-291-9/+1
| | |
| * | Merge pull request #2193 from acozzette/common-js-fixAdam Cozzette2016-10-041-14/+16
| |\ \ | | | | | | | | Fixed references to foreign nested messages with CommonJS-style imports
| | * | Fixed references to foreign nested messages with CommonJS-style importsAdam Cozzette2016-09-271-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 proto3Adam Cozzette2016-10-042-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 Xiao2016-09-231-0/+5
| |
| * Fix VS test failures.Feng Xiao2016-09-232-6/+24
| |
| * Reduce test length to avoid stack overflow on VS.Feng Xiao2016-09-231-3/+3
| |
| * Fix Visual Studio compile issues.Feng Xiao2016-09-2328-462/+748
| | | | | | | | Change-Id: I6a5078b6bcdf4637e11c1cb9da1f74298e6fc26e
| * Fix default instance destructorJisi Liu2016-09-2314-13/+112
| |
| * Add back removed descriptor field.Bo Yang2016-09-223-137/+230
| |
| * Fixed quadratic behavior in JSPB deserialization of repeated fields (#2117) ↵Adam Cozzette2016-09-211-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.1Bo Yang2016-09-2113-29/+29
| |
| * Fix bugs for internal integration.Bo Yang2016-09-201-1/+1
| |
| * Integrate internal changesBo Yang2016-09-19152-5232/+9438
| |
* | Do strict enum name checking only for proto3Adam Cozzette2016-10-102-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 importsAdam Cozzette2016-10-101-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 Xiao2016-10-101-0/+5
| |
* | Fix VS test failures.Feng Xiao2016-10-102-6/+24
| |
* | Reduce test length to avoid stack overflow on VS.Feng Xiao2016-10-101-3/+3
| |
* | Fix Visual Studio compile issues.Feng Xiao2016-10-1028-462/+748
| | | | | | | | Change-Id: I6a5078b6bcdf4637e11c1cb9da1f74298e6fc26e
* | Fix default instance destructorJisi Liu2016-10-1014-13/+112
| |
* | Add back removed descriptor field.Bo Yang2016-10-103-137/+230
| |
* | Fixed quadratic behavior in JSPB deserialization of repeated fields (#2117) ↵Adam Cozzette2016-10-101-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.1Bo Yang2016-10-1013-29/+29
| |
* | Fix bugs for internal integration.Bo Yang2016-10-101-1/+1
| |
* | Integrate internal changesBo Yang2016-10-10152-5232/+9430
| |
* | Silence compile warnings in bazelAndy Hochhaus2016-10-092-9/+17
| |
* | Merge pull request #2192 from google/3.0.xJisi Liu2016-09-2713-13/+13
|\ \ | | | | | | Merge 3.0.x into master.
| * | Update generated files.Jisi Liu2016-09-1412-12/+12
| | |
| * | Fix the version number for 3.0.2Jisi Liu2016-09-131-1/+1
| | |
* | | Fixes static analyzer issues from xcode.Sergio Campama2016-09-205-4/+7
| |/ |/|
* | Merge pull request #2112 from pherl/mergeJisi Liu2016-09-1527-8/+152
|\ \ | | | | | | Merge 3.0.x into master
| * | Merge remote-tracking branch 'origin/3.0.x' into mergeJisi Liu2016-09-1427-8/+152
| |\|
| | * Fix #2032 unused parameter 'deterministic'Khing2016-09-0813-0/+55
| | | | | | | | | | | | | | | | | | Parameter deterministic is unused in InternalSerializeWithCachedSizesToArray(), which generates unused parameter warning in every message.
| | * Merge pull request #1862 from pherl/3.0.0-GAJisi Liu2016-09-023-14/+2
| | |\ | | | | | | | | Cherry pick c# changes from master
| | | * Remove legacy_enum_values flag for GA.Jon Skeet2016-07-273-14/+2
| | | |
| | * | Fixes extra whitespace on generated comments. (#1950)Sergio Campamá2016-08-171-2/+10
| | | | | | | | | | | | | | | | Fixes extra whitespace on generated comments.
| | * | Adds support for appledoc in generated code. (#1928)Sergio Campamá2016-08-179-37/+74
| | | | | | | | | | | | | | | | | | | | | | | | Convert mapping of proto comments to appledoc format so they show up in Xcode and cocoadocs. Fixes https://github.com/google/protobuf/issues/1866
| | * | Add and fix C++ runtime docsJisi Liu2016-08-0214-8/+97
| | |/
* | | Merge pull request #2123 from thomasvl/objc_better_versioning_take2Thomas Van Lenten2016-09-151-10/+14
|\ \ \ | | | | | | | | Update the ObjC version checks to support a min and current version.
| * | | Update the ObjC version checks to support a min and current version.Thomas Van Lenten2016-09-151-10/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | - Capture the version used to generated. - Check at compile time and runtime that generated code isn't from a newer version, also check that the min version required is also supported. - Keep the old constants/macros/functions to special case the last version that was working so those generated sources still work until we decide otherwise.
* / / Check in php implementation. (#2052)Paul Yang2016-09-153-6/+842
|/ / | | | | | | | | This pull request includes two implementation: C extension and PHP package. Both implementations support encode/decode of singular, repeated and map fields.
* | Merge pull request #2044 from wychen/Win32ANSIFeng Xiao2016-09-093-14/+19
|\ \ | | | | | | Fix Win32 error messages on Unicode build
| * | Fix Win32ErrorMessage on Unicode buildWei-Yin Chen (陳威尹)2016-08-311-6/+6
| | |
| * | Add test for Win32ErrorMessageWei-Yin Chen (陳威尹)2016-08-311-0/+5
| | |
| * | Support Unicode build on WindowsWei-Yin Chen (陳威尹)2016-08-311-8/+8
| | |
* | | Merge pull request #2090 from guoxiao/findFeng Xiao2016-09-091-0/+1
|\ \ \ | | | | | | | | include std::find()
| * | | include std::find()Guo Xiao2016-09-081-0/+1
| | | |