aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update AbstractMessage.javagoorov2017-01-131-1/+1
| | | Apply review's comments.
* Update AbstractMessage.javagoorov2017-01-121-1/+4
| | | Method Builder#clone() has been changed to bypass Java 1.6 compiler issue.
* Merge pull request #2567 from acozzette/distcheck-fixAdam Cozzette2017-01-101-2/+4
|\ | | | | Fixed "make distcheck" for the Autotools build
| * Fixed "make distcheck" for the Autotools buildAdam Cozzette2017-01-091-2/+4
| | | | | | | | | | To make the test pass I needed to fix out-of-tree builds and update EXTRA_DIST and CLEANFILES.
* | Add ByteString.FromStream and ByteString.FromStreamAsync in C#Jon Skeet2017-01-103-1/+108
| | | | | | | | | | | | | | | | | | | | 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.Jon Skeet2017-01-102-0/+6
|/
* PHP fix int64 decoding (#2516)Sufir2017-01-082-28/+77
| | | | | | * fix int64 decoding * fix int64 decoding + tests
* Fix generation of extending nested messages in JavaScript (#2439)Marcus Longmuir2017-01-064-7/+74
| | | | | | * Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build
* A few more cases for binary conformance tests. (#2500)Joshua Haberman2017-01-062-12/+35
| | | | | | | | | | | * 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-compilationAdam Cozzette2017-01-054-3/+242
|\ | | | | Fixed cross compilations with the Autotools build
| * Fixed cross compilations with the Autotools buildAdam Cozzette2017-01-034-3/+242
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #2563 from thomasvl/autocreator_tweaksThomas Van Lenten2017-01-0511-16/+435
|\ \ | | | | | | Minor fix for autocreated object repeated fields and maps.
| * | Minor fix for autocreated object repeated fields and maps.Thomas Van Lenten2017-01-0511-16/+435
| |/ | | | | | | | | | | | | | | | | | | | | - 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/masterAdam Cozzette2017-01-041-0/+1
|\ \ | | | | | | Add link to Elm proto plugin
| * | Add link to Elm proto pluginTiziano Santoro2016-12-281-0/+1
| | |
* | | Merge pull request #2536 from jbrianceau/fix-js-embed-include-styleAdam Cozzette2017-01-041-1/+1
|\ \ \ | | | | | | | | Fix include in auto-generated well_known_types_embed.cc
| * | | Fix include in auto-generated well_known_types_embed.ccJulien Brianceau2016-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | Restore include style fix (e3da722) that has been trampled by auto-generation of well_known_types_embed.cc
* | | | Merge pull request #2564 from acozzette/arena-ncAdam Cozzette2017-01-042-106/+0
|\ \ \ \ | |_|_|/ |/| | | Removed arena_nc.cc and arena_nc_test.py
| * | | Removed arena_nc.cc and arena_nc_test.pyAdam Cozzette2017-01-042-106/+0
|/ / / | | | | | | | | | | | | 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 issue with autoloading - Invalid paths (#2538)NicklasWallgren2016-12-281-3/+3
| |/ |/|
* | Merge pull request #2542 from jbrianceau/fix-embed-cc-warningFeng Xiao2016-12-271-1/+1
|\ \ | |/ |/| Fix warning in compiler/js/embed.cc
| * Fix warning in compiler/js/embed.ccJulien Brianceau2016-12-271-1/+1
|/ | | | | | | 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-metadataAdam Cozzette2016-12-221-9/+12
|\ | | | | Init index_in_metadata_ without condition
| * Init index_in_metadata_ without conditionJulien Brianceau2016-12-211-9/+12
| | | | | | | | | | | | 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.
* | Merge pull request #2525 from camillol/liteFeng Xiao2016-12-222-14/+32
|\ \ | |/ |/| Eliminate redundant methods in C++ generated code for lite protos
| * simpler, cheaper callback to LazyStringOutputStreamCamillo Lugaresi2016-12-211-14/+2
| |
| * add MethodResultCallback_0_0Camillo Lugaresi2016-12-211-0/+30
|/
* Merge pull request #2521 from acozzette/fix-bazelAdam Cozzette2016-12-212-2/+24
|\ | | | | Added Bazel genrule for generating well_known_types_embed.cc
| * Added well_known_types_embed.cc to CLEANFILES so that it gets cleaned upAdam Cozzette2016-12-201-1/+2
| |
| * Updated Makefile.am to fix out-of-tree buildsAdam Cozzette2016-12-201-1/+4
| |
| * Added Bazel genrule for generating well_known_types_embed.ccAdam Cozzette2016-12-201-0/+18
|/ | | | | 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-settersAdam Cozzette2016-12-1913-1/+942
|\ | | | | Add rvalue setters for non-arena strings on C++11.
| * Add rvalue setters for non-arena strings on C++11.Chris Kennelly2016-12-1613-1/+942
| |
* | Merge pull request #2505 from ckennelly/masterAdam Cozzette2016-12-191-11/+4
|\ \ | | | | | | Remove spurious NULL checks in ArenaStringPtr::CreateInstance.
| * | Remove spurious NULL checks in ArenaStringPtr::CreateInstance.Chris Kennelly2016-12-151-11/+4
| |/
* | Merge pull request #2517 from acozzette/js-embedAdam Cozzette2016-12-196-325/+35
|\ \ | | | | | | Auto-generate well_known_types_embed.cc
| * | Fixed "make check" for cmake buildAdam Cozzette2016-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | 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.ccAdam Cozzette2016-12-195-325/+34
|/ / | | | | | | | | | | | | 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.
* | Merge pull request #2227 from KindDragon/3.1.xFeng Xiao2016-12-164-41/+43
|\ \ | | | | | | Missed LIBPROTOC_EXPORT for GRPC added
| * | LIBPROTOC_EXPORT added to others functions in csharp_names.h and ↵Arkadiy Shapkin2016-12-012-33/+33
| | | | | | | | | | | | objectivec_helpers.h
| * | Missed LIBPROTOC_EXPORT for GRPC addedArkadiy Shapkin2016-12-014-8/+10
| | |
* | | Give C# ByteString a sensible GetHashCode implementation.Jon Skeet2016-12-162-1/+14
| |/ |/| | | | | Fixes #2511.
* | Merge pull request #2499 from ckennelly/masterAdam Cozzette2016-12-152-2/+11
|\ \ | | | | | | Define LANG_CXX11 for port.h and use this to guard C++11 features.
| * | Define LANG_CXX11 for port.h and use this to guard C++11 features.Chris Kennelly2016-12-142-2/+11
|/ /
* | Merge pull request #2495 from acozzette/android-hashAdam Cozzette2016-12-142-9/+3
|\ \ | | | | | | Removed Android-specific code from stubs/hash.h
| * | Removed Android-specific code from stubs/hash.hAdam Cozzette2016-12-132-9/+3
| | | | | | | | | | | | | | | | | | | | | This #ifdef in hash.h causes us to give up on finding a hash function on Android, when there do seem to be hash functions available in practice. I also had to tweak a macro in map.h that was disabling on Android an allocator construct() method that we need.
* | | Merge pull request #2498 from sergiocampama/enumThomas Van Lenten2016-12-141-1/+5
|\ \ \ | | | | | | | | Fixes and expands comments on how to use GPB_ENUM_FWD_DECLARE
| * | | Fixes and expands comments on how to use GPB_ENUM_FWD_DECLARESergio Campama2016-12-141-1/+5
|/ / /
* | | Added conformance testing for binary primitive types. (#2491)Joshua Haberman2016-12-132-37/+162
| | | | | | | | | This is basic and more tests will be added over time.
* | | Merge pull request #2496 from xyzzyz/fix-overflowFeng Xiao2016-12-131-1/+1
|\ \ \ | | | | | | | | Fix integer overflow in FastUInt32ToBufferLeft