aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* | | | | Merge 3.2.x branch into master (#2648)Gravatar Paul Yang2017-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Down-integrate internal changes to github. * Update conformance test failure list. * Explicitly import used class in nano test to avoid random test fail. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * maps_test.js: check whether Symbol is defined before using it (#2524) Symbol is not yet available on older versions of Node.js and so this test fails with them. This change just directly checks whether Symbol is available before we try to use it. * Added well_known_types_embed.cc to CLEANFILES so that it gets cleaned up * Updated Makefile.am to fix out-of-tree builds * Added Bazel genrule for generating well_known_types_embed.cc In pull request #2517 I made this change for the CMake and autotools builds but forgot to do it for the Bazel build. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * Add new js file in extra dist. * Bump version number to 3.2.0 * Fixed issue with autoloading - Invalid paths (#2538) * PHP fix int64 decoding (#2516) * fix int64 decoding * fix int64 decoding + tests * Fix int64 decoding on 32-bit machines. * Fix warning in compiler/js/embed.cc embed.cc: In function ‘std::string CEscape(const string&)’: embed.cc:51:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < str.size(); ++i) { ^ * Fix include in auto-generated well_known_types_embed.cc Restore include style fix (e3da722) that has been trampled by auto-generation of well_known_types_embed.cc * Fixed cross compilations with the Autotools build Pull request #2517 caused cross compilations to start failing, because the js_embed binary was being built to run on the target platform instead of on the build machine. This change updates the Autotools build to use the AX_PROG_CXX_FOR_BUILD macro to find a suitable compiler for the build machine and always use that when building js_embed. * Minor fix for autocreated object repeated fields and maps. - If setting/clearing a repeated field/map that was objects, check the class before checking the autocreator. - Just to be paranoid, don’t mutate within copy/mutableCopy for the autocreated classes to ensure there is less chance of issues if someone does something really crazy threading wise. - Some more tests for the internal AutocreatedArray/AutocreatedDictionary classes to ensure things are working as expected. - Add Xcode 8.2 to the full_mac_build.sh supported list. * Fix generation of extending nested messages in JavaScript (#2439) * Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build * Fix generated code when there is no namespace but there is enum definition. * Decoding unknown field should succeed. * Add embed.cc in src/Makefile.am to fix dist check. * Fixed "make distcheck" for the Autotools build To make the test pass I needed to fix out-of-tree builds and update EXTRA_DIST and CLEANFILES. * Remove redundent embed.cc from src/Makefile.am * Update version number to 3.2.0-rc.1 (#2578) * Change protoc-artifacts version to 3.2.0-rc.1 * Update version number to 3.2.0rc2 * Update change logs for 3.2.0 release. * Update php README * Update upb, fixes some bugs (including a hash table problem). (#2611) * Update upb, fixes some bugs (including a hash table problem). * Ruby: added a test for the previous hash table corruption. Verified that this triggers the bug in the currently released version. * Ruby: bugfix for SEGV. * Ruby: removed old code for dup'ing defs. * Reverting deployment target to 7.0 (#2618) The Protobuf library doesn’t require the 7.1 deployment target so reverting it back to 7.0 * Fix typo that breaks builds on big-endian (#2632) * Bump version number to 3.2.0
* | | | | Merge pull request #2226 from kchodorow/masterGravatar Joshua Haberman2017-01-30
|\ \ \ \ \ | | | | | | | | | | | | Create paths for external repositories in a way that is forward and backward compatible
* | | | | | C#: Implement IReadOnlyList<T> in RepeatedField<T>Gravatar Jon Skeet2017-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We explicitly don't do this when targeting .NET 3.5, where the interface doesn't exist. No implementation is required, as we're already implementing everything we need for IList<T>.
* | | | | | Merge pull request #2639 from anandolee/masterGravatar Jie Luo2017-01-28
|\ \ \ \ \ \ | | |/ / / / | |/| | | | Add Oneof custom options test
* | | | | | fix compile error on centos in metadata.h for constructors. (#2599)Gravatar michaelpengcn2017-01-27
| | | | | |
* | | | | | Oneof accessor should return the field name that is actually set. (#2631)Gravatar Paul Yang2017-01-27
| | | | | |
| * | | | | Add Oneof custom options testGravatar Jie Luo2017-01-27
|/ / / / /
* | | | | Merge pull request #2619 from anandolee/masterGravatar Jie Luo2017-01-27
|\ \ \ \ \ | | | | | | | | | | | | Add python compatibility tests against v2.5.0
* \ \ \ \ \ Merge pull request #2633 from anandolee/jieluo_branch1Gravatar Jie Luo2017-01-26
|\ \ \ \ \ \ | | | | | | | | | | | | | | Allow OneofOptions to be extended in proto3.
| | * | | | | Add python compatibility tests against v2.5.0 amd run on Travis.Gravatar Jie Luo2017-01-26
| | | | | | |
| * | | | | | Allow OneofOptions to be extended in proto3.Gravatar Jie Luo2017-01-25
| | | | | | |
* | | | | | | Merge pull request #2626 from sergiocampama/8_3Gravatar Thomas Van Lenten2017-01-25
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds nullability modifiers to resolve Xcode 8.3 warnings Fixes #2625
| | | | | | * | FreeBSD compatibilityGravatar Daniel Ylitalo2017-01-25
| |_|_|_|_|/ / |/| | | | | |
| | | | * | | Update genfiles paths to work with a different execroot arrangementGravatar Kristina Chodorow2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bazel is changing the way the execution root is organized (see https://github.com/bazelbuild/bazel/issues/1681 for details) and this updates the protobuf path logic to work with both old and new versions of Bazel.
| * | | | | | Adds nullability modifiers to resolve Xcode 8.3 warningsGravatar Sergio Campama2017-01-25
|/ / / / / /
| | * / / / Add python compatibility tests against v2.5.0: copy tests and proto files ↵Gravatar Jie Luo2017-01-23
| |/ / / / | | | | | | | | | | | | | | | from v2.5.0
* | | | | Merge pull request #2614 from acozzette/gzip-output-stream-optionsGravatar Adam Cozzette2017-01-23
|\ \ \ \ \ | | | | | | | | | | | | Set LIBPROTOBUF_EXPORT on GzipOutputStream::Options
| * | | | | Set LIBPROTOBUF_EXPORT on GzipOutputStream::OptionsGravatar Adam Cozzette2017-01-20
|/ / / / / | | | | | | | | | | | | | | | This fixes issue #2610.
| | | * / Undef TYPE_BOOL to avoid conflict with iOS.Gravatar Sean Lu2017-01-19
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TYPE_BOOL is defined as a macro in <ConditionalMacros.h>, which gets implicitly included in almost all iOS source files. This fixes complaints like http://go/soverflow/15759559 For some context, here is how TYPE_BOOL is defined in ConditionalMacros.h #ifdef __cplusplus #define TYPE_BOOL 1 #else #define TYPE_BOOL 0 #endif
* | | | Support custom options in C#Gravatar Jon Skeet2017-01-19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This consists of: - Changing the codegen for the fixed set of options protos, to parse unknown fields instead of skipping them - Add a new CustomOptions type in the C# support library - Expose CustomOptions properties from the immutable proto wrappers in the support library Only single-value options are currently supported, and fetching options values requires getting the type right and knowing the field number. Both of these can be addressed at a later time. Fixes #2143, at least as a first pass.
* | | Merge pull request #2591 from thomasvl/objc_timestamps_take2Gravatar Thomas Van Lenten2017-01-17
|\ \ \ | |/ / |/| | Timestamp helper fix, Duration helper cleanup.
| * | Timestamp helper fix, Duration helper cleanup.Gravatar Thomas Van Lenten2017-01-12
|/ / | | | | | | | | | | | | | | | | - The Timestamp proto does not allow for negative nanos fields, so the seconds must be shifted and a positive nanos then applied. - Tweak the helpers on Duration to make it clear there is no "base" time involved. - Update the unittests for duration and timestamp to cover positive and negative NSTimeIntervals and what their impact is on the protos.
* | Merge pull request #2587 from google/revert-2586-objc_timestampGravatar Thomas Van Lenten2017-01-12
|\ \ | | | | | | Revert "Fix Timestamps with dates before the Unix epoch that contain fractional seconds."
| * | Revert "Fix Timestamps with dates before the Unix epoch that contain ↵Gravatar Thomas Van Lenten2017-01-12
|/ / | | | | | | fractional seconds."
* | Merge pull request #2586 from thomasvl/objc_timestampGravatar Thomas Van Lenten2017-01-12
|\ \ | | | | | | Fix Timestamps with dates before the Unix epoch that contain fractional seconds.
| * | Fix Timestamps with dates before the Unix epoch that contain fractional seconds.Gravatar Thomas Van Lenten2017-01-12
|/ / | | | | | | | | The Timestamp proto does not allow for negative nanos fields, so the seconds must be shifted and a positive nanos then applied.
* | Merge pull request #2584 from cgrushko/patch-2Gravatar Feng Xiao2017-01-12
|\ \ | | | | | | Add a proto_lang_toolchain for Java
| * | Add a proto_lang_toolchain for JavaGravatar cgrushko2017-01-12
|/ / | | | | This allows easy use of Bazel's java_proto_library native rule.
* | Merge pull request #2529 from wackoisgod/masterGravatar Adam Cozzette2017-01-12
|\ \ | | | | | | Class deprecation support
| * | Fixing code formatting issuesGravatar Andrew Spiering2017-01-11
| | |
| * | Merge branch 'master' of https://github.com/wackoisgod/protobufGravatar Andrew Spiering2017-01-11
| | |
* | | Merge pull request #2567 from acozzette/distcheck-fixGravatar Adam Cozzette2017-01-10
|\ \ \ | | | | | | | | Fixed "make distcheck" for the Autotools build
* | | | Add ByteString.FromStream and ByteString.FromStreamAsync in C#Gravatar Jon Skeet2017-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2088. We now have separate tests for netcoreapp and net45 to test the two branches here. (netstandard10 doesn't have MemoryStream.GetBuffer) Although most of this library doesn't have any async functionality, this feels like a natural place to locally add it.
* | | | Add global.json file to pick dotnet core SDK version.Gravatar Jon Skeet2017-01-10
| | | |
| * | | Fixed "make distcheck" for the Autotools buildGravatar Adam Cozzette2017-01-09
|/ / / | | | | | | | | | | | | To make the test pass I needed to fix out-of-tree builds and update EXTRA_DIST and CLEANFILES.
* | | PHP fix int64 decoding (#2516)Gravatar Sufir2017-01-08
| | | | | | | | | | | | | | | | | | * fix int64 decoding * fix int64 decoding + tests
* | | Fix generation of extending nested messages in JavaScript (#2439)Gravatar Marcus Longmuir2017-01-06
| | | | | | | | | | | | | | | | | | * Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build
* | | A few more cases for binary conformance tests. (#2500)Gravatar Joshua Haberman2017-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * A few more cases for binary conformance tests. * over-encoded varints (encoded in more bytes than are necessary). * truncated varints (>32 bits for 32-bit types). * Fixed Python decoding bug with 32-bit varints. * Fixed 1L -> 1LL for 32-bit platforms.
* | | Merge pull request #2565 from acozzette/cross-compilationGravatar Adam Cozzette2017-01-05
|\ \ \ | | | | | | | | Fixed cross compilations with the Autotools build
* \ \ \ Merge pull request #2563 from thomasvl/autocreator_tweaksGravatar Thomas Van Lenten2017-01-05
|\ \ \ \ | | | | | | | | | | Minor fix for autocreated object repeated fields and maps.
| * | | | Minor fix for autocreated object repeated fields and maps.Gravatar Thomas Van Lenten2017-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - If setting/clearing a repeated field/map that was objects, check the class before checking the autocreator. - Just to be paranoid, don’t mutate within copy/mutableCopy for the autocreated classes to ensure there is less chance of issues if someone does something really crazy threading wise. - Some more tests for the internal AutocreatedArray/AutocreatedDictionary classes to ensure things are working as expected. - Add Xcode 8.2 to the full_mac_build.sh supported list.
* | | | | Merge pull request #2544 from tiziano88/masterGravatar Adam Cozzette2017-01-04
|\ \ \ \ \ | | | | | | | | | | | | Add link to Elm proto plugin
* \ \ \ \ \ Merge pull request #2536 from jbrianceau/fix-js-embed-include-styleGravatar Adam Cozzette2017-01-04
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix include in auto-generated well_known_types_embed.cc
* \ \ \ \ \ \ Merge pull request #2564 from acozzette/arena-ncGravatar Adam Cozzette2017-01-04
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Removed arena_nc.cc and arena_nc_test.py
| * | | | | | Removed arena_nc.cc and arena_nc_test.pyGravatar Adam Cozzette2017-01-04
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | This test is undocumented and it looks like it has probably never worked. Let's just remove it to tidy things up. This fixes issue #2515.
| | | * / / Fixed cross compilations with the Autotools buildGravatar Adam Cozzette2017-01-03
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull request #2517 caused cross compilations to start failing, because the js_embed binary was being built to run on the target platform instead of on the build machine. This change updates the Autotools build to use the AX_PROG_CXX_FOR_BUILD macro to find a suitable compiler for the build machine and always use that when building js_embed.
* | | | | Fixed issue with autoloading - Invalid paths (#2538)Gravatar NicklasWallgren2016-12-28
| | | | |
| | * | | Add link to Elm proto pluginGravatar Tiziano Santoro2016-12-28
| |/ / / |/| | |
* | | | Merge pull request #2542 from jbrianceau/fix-embed-cc-warningGravatar Feng Xiao2016-12-27
|\ \ \ \ | | | | | | | | | | Fix warning in compiler/js/embed.cc
| | * | | Fix include in auto-generated well_known_types_embed.ccGravatar Julien Brianceau2016-12-27
| |/ / / |/| | | | | | | | | | | | | | | Restore include style fix (e3da722) that has been trampled by auto-generation of well_known_types_embed.cc