aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* 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
| * | Fix warning in compiler/js/embed.ccGravatar Julien Brianceau2016-12-27
|/ / | | | | | | | | | | | | 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) { ^
* | Merge pull request #2523 from jbrianceau/init-index-in-metadataGravatar Adam Cozzette2016-12-22
|\ \ | | | | | | Init index_in_metadata_ without condition
* \ \ Merge pull request #2525 from camillol/liteGravatar Feng Xiao2016-12-22
|\ \ \ | | | | | | | | Eliminate redundant methods in C++ generated code for lite protos
| * | | simpler, cheaper callback to LazyStringOutputStreamGravatar Camillo Lugaresi2016-12-21
| | | |
| * | | add MethodResultCallback_0_0Gravatar Camillo Lugaresi2016-12-21
|/ / /
| * / Init index_in_metadata_ without conditionGravatar Julien Brianceau2016-12-21
|/ / | | | | | | | | | | Chromium MemorySanitizer (MSan) reports use-of-uninitialized-value of index_in_metadata_ attribute from EnumGenerator class. Fix these warnings by initializing these attributes without condition.
| * Added the support for class level deprecation which will in turn also ↵Gravatar Andrew Spiering2016-12-21
|/ | | | deprecate any fields that are currently using that type
* Merge pull request #2521 from acozzette/fix-bazelGravatar Adam Cozzette2016-12-21
|\ | | | | Added Bazel genrule for generating well_known_types_embed.cc
| * Added well_known_types_embed.cc to CLEANFILES so that it gets cleaned upGravatar Adam Cozzette2016-12-20
| |
| * Updated Makefile.am to fix out-of-tree buildsGravatar Adam Cozzette2016-12-20
| |
| * Added Bazel genrule for generating well_known_types_embed.ccGravatar Adam Cozzette2016-12-20
|/ | | | | In pull request #2517 I made this change for the CMake and autotools builds but forgot to do it for the Bazel build.
* Merge pull request #2506 from ckennelly/rvalue-settersGravatar Adam Cozzette2016-12-19
|\ | | | | Add rvalue setters for non-arena strings on C++11.
* \ Merge pull request #2505 from ckennelly/masterGravatar Adam Cozzette2016-12-19
|\ \ | | | | | | Remove spurious NULL checks in ArenaStringPtr::CreateInstance.
* \ \ Merge pull request #2517 from acozzette/js-embedGravatar Adam Cozzette2016-12-19
|\ \ \ | | | | | | | | Auto-generate well_known_types_embed.cc
| * | | Fixed "make check" for cmake buildGravatar Adam Cozzette2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The check target did not depend on the test_plugin binary, so this would cause "make check" to fail at times because of the absence of test_plugin. This change adds a dependency on test_plugin so that it will always get built before the tests are executed.
| * | | Auto-generate well_known_types_embed.ccGravatar Adam Cozzette2016-12-19
|/ / / | | | | | | | | | | | | | | | | | | Until now this file was just checked into the repo, but actually it should be generated from any.js, struct.js, and timestamp.js. This change updates the build system to make this happen. To make it work I also had to remove some C++11 features from embed.cc.
| | * Add rvalue setters for non-arena strings on C++11.Gravatar Chris Kennelly2016-12-16
| | |
* | | Merge pull request #2227 from KindDragon/3.1.xGravatar Feng Xiao2016-12-16
|\ \ \ | | | | | | | | Missed LIBPROTOC_EXPORT for GRPC added
* | | | Give C# ByteString a sensible GetHashCode implementation.Gravatar Jon Skeet2016-12-16
| |_|/ |/| | | | | | | | Fixes #2511.