- 09 Mar, 2017 1 commit
-
-
Adam Cozzette authored
This commit adds a __wrap_memcpy function and a linker flag to use that in place of memcpy for our Ruby gem C extension. This allows us to always use the 2.2.5 version of memcpy, making it possible to use the gem on distributions with pre-2.14 versions of glibc. Before this change: $ objdump -T protobuf_c.so | grep memcpy 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.3.4 __memcpy_chk 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.14 memcpy After: $ objdump -T protobuf_c.so | grep memcpy 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.2.5 memcpy 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.3.4 __memcpy_chk 0000000000042450 g DF .text 0000000000000005 Base __wrap_memcpy This is based on gRPC's solution to a similar problem: https://github.com/grpc/grpc/blob/5098508d2d41a116113f7e333c516cd9ef34a943/src/core/lib/support/wrap_memcpy.c This fixes issue #2783.
-
- 03 Mar, 2017 2 commits
-
-
Sergio Campamá authored
Disable static analyzer for message semaphore creation
-
Thomas Van Lenten authored
- Don't prune the extension registry as that can lead to failures when two threads are racing. - If adding the method fails, check and see if it already is bound to decide the return result. Deals with threading races binding the methods.
-
- 14 Feb, 2017 2 commits
-
-
Thomas Van Lenten authored
--[name]_opt support depended on the plugin being register, and didn't support working with just --[name]_out directive (where the plugin is found via the users PATH. This extends the command line handing to allow --[name]_out to be all it takes for the _opt directive to also be supported. Fixes https://github.com/google/protobuf/issues/2712
-
Adam Cozzette authored
Fix libprotoc.cmake to generate well_known_types_embed.cc
-
- 13 Feb, 2017 3 commits
-
-
Joshua Haberman authored
Ruby: build packages for Ruby 2.4.
-
Joshua Haberman authored
-
Josh Haberman authored
-
- 11 Feb, 2017 1 commit
-
-
Konstantin Podsvirov authored
Unfortunate typo. Just one extra ',' symbol, has led to the hidden implicit behavior. Now everything will be fine.
-
- 08 Feb, 2017 2 commits
- 06 Feb, 2017 1 commit
-
-
Josh Haberman authored
-
- 02 Feb, 2017 1 commit
-
-
Thomas Van Lenten authored
Cherry-pick Objc changes
-
- 31 Jan, 2017 2 commits
-
-
Sergio Campama authored
-
Thomas Van Lenten authored
- 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.
-
- 27 Jan, 2017 1 commit
-
-
Bo Yang authored
-
- 26 Jan, 2017 1 commit
-
-
Orion Poplawski authored
-
- 24 Jan, 2017 1 commit
-
-
davidair authored
The Protobuf library doesn’t require the 7.1 deployment target so reverting it back to 7.0
-
- 23 Jan, 2017 1 commit
-
-
Joshua Haberman authored
* 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.
-
- 20 Jan, 2017 2 commits
- 18 Jan, 2017 1 commit
-
-
Bo Yang authored
-
- 12 Jan, 2017 1 commit
-
-
Bo Yang authored
-
- 11 Jan, 2017 1 commit
-
-
Paul Yang authored
-
- 10 Jan, 2017 5 commits
-
-
Bo Yang authored
-
Adam Cozzette authored
To make the test pass I needed to fix out-of-tree builds and update EXTRA_DIST and CLEANFILES.
-
Bo Yang authored
-
Bo Yang authored
-
Bo Yang authored
-
- 09 Jan, 2017 6 commits
-
-
Marcus Longmuir authored
* Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build
-
Thomas Van Lenten authored
- 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.
-
Adam Cozzette authored
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.
-
Julien Brianceau authored
Restore include style fix (e3da722b) that has been trampled by auto-generation of well_known_types_embed.cc
-
Julien Brianceau authored
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) { ^
-
Bo Yang authored
-
- 08 Jan, 2017 1 commit
-
-
Sufir authored
* fix int64 decoding * fix int64 decoding + tests
-
- 30 Dec, 2016 1 commit
-
-
Feng Xiao authored
Bump version number to 3.2.0
-
- 28 Dec, 2016 3 commits
-
-
NicklasWallgren authored
-
Bo Yang authored
-
Bo Yang authored
-