aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update version number in podspec to 3.2.1v3.2.13.2.xBo Yang2017-04-041-1/+1
|
* Raise the recursion limit to 100 to match other languages.Thomas Van Lenten2017-04-042-10/+23
|
* Remove the use of dispatch_once that is heap backed.Thomas Van Lenten2017-04-042-17/+20
| | | | | | | | | Apple recently updated the docs on dispatch_once to point out that the storage for the dispatch_once_t must be static or global, but not something that was ever used before as the implementation doesn't use a memory barrier. So we drop the use and create the semaphore when needed and use an atomic swap deal with any threading races.
* Merge pull request #2856 from acozzette/3.2.xAdam Cozzette2017-03-161-1/+1
|\ | | | | Incremented gem version to 3.2.0.2
| * Incremented gem version to 3.2.0.2Adam Cozzette2017-03-151-1/+1
|/ | | | | This version is to push a fix for gems containing files that were not world-readable as they should be (issue #2853).
* Merge pull request #2831 from acozzette/ruby-cherry-pickAdam Cozzette2017-03-144-2/+61
|\ | | | | Cherry-picked Ruby fix and incremented version number
| * Incremented Ruby version number to 3.2.0.1Adam Cozzette2017-03-101-1/+1
| |
| * Ruby: wrap calls to memcpy so that gem is compatible with pre-2.14 glibcAdam Cozzette2017-03-093-1/+60
|/ | | | | | | | | | | | | | | | | | | | | | | 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.
* Disable static analyzer for message semaphore creation (#2748)Sergio Campamá2017-03-031-0/+8
| | | | Disable static analyzer for message semaphore creation
* Handing threading race resolving methods.Thomas Van Lenten2017-03-034-9/+46
| | | | | | | - 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.
* Improve support for plugin parameters.Thomas Van Lenten2017-02-142-3/+47
| | | | | | | | | --[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
* Merge pull request #2706 from podsvirov/cm-js-embedAdam Cozzette2017-02-141-1/+1
|\ | | | | Fix libprotoc.cmake to generate well_known_types_embed.cc
| * Fix libprotoc.cmake to generate well_known_types_embed.ccKonstantin Podsvirov2017-02-111-1/+1
| | | | | | | | | | | | Unfortunate typo. Just one extra ',' symbol, has led to the hidden implicit behavior. Now everything will be fine.
* | Merge pull request #2675 from haberman/ruby24Joshua Haberman2017-02-132-5/+5
|\ \ | |/ |/| Ruby: build packages for Ruby 2.4.
| * Merge branch '3.2.x' into ruby24Joshua Haberman2017-02-1329-357/+473
| |\ | |/ |/|
* | Add fixed version to phpunit used in travis (#2673)Paul Yang2017-02-081-1/+1
| |
* | Bug fix: When encoding, negative int32 values should be padded to int64 (#2660)Paul Yang2017-02-078-24/+51
| | | | | | in order to be wire compatible.
* | Merge pull request #2654 from TeBoring/3.2.xThomas Van Lenten2017-02-025-313/+402
|\ \ | | | | | | Cherry-pick Objc changes
| * | Adds nullability modifiers to resolve Xcode 8.3 warningsSergio Campama2017-01-312-242/+242
| | |
| * | Timestamp helper fix, Duration helper cleanup.Thomas Van Lenten2017-01-313-71/+160
|/ / | | | | | | | | | | | | | | | | - 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.
* | Bump version number to 3.2.0v3.2.0-alpha-1v3.2.0Bo Yang2017-01-2714-17/+17
| |
* | Fix typo that breaks builds on big-endian (#2632)Orion Poplawski2017-01-261-2/+2
| |
| * Ruby: update Gemspec.Josh Haberman2017-02-131-3/+3
| |
| * Ruby: build packages for Ruby 2.4.Josh Haberman2017-02-061-2/+2
|/
* Reverting deployment target to 7.0 (#2618)davidair2017-01-241-1/+1
| | | | The Protobuf library doesn’t require the 7.1 deployment target so reverting it back to 7.0
* Update upb, fixes some bugs (including a hash table problem). (#2611)Joshua Haberman2017-01-235-1365/+2794
| | | | | | | | | | | | | * 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.
* Update php READMEBo Yang2017-01-201-2/+0
|
* Update change logs for 3.2.0 release.Bo Yang2017-01-201-5/+77
|
* Update version number to 3.2.0rc2v3.2.0rc2Bo Yang2017-01-1814-17/+17
|
* Change protoc-artifacts version to 3.2.0-rc.1Bo Yang2017-01-121-1/+1
|
* Update version number to 3.2.0-rc.1 (#2578)v3.2.0-rc.1Paul Yang2017-01-1113-16/+16
|
* Remove redundent embed.cc from src/Makefile.amBo Yang2017-01-101-1/+0
|
* Fixed "make distcheck" for the Autotools buildAdam Cozzette2017-01-101-2/+4
| | | | | To make the test pass I needed to fix out-of-tree builds and update EXTRA_DIST and CLEANFILES.
* Add embed.cc in src/Makefile.am to fix dist check.Bo Yang2017-01-101-0/+1
|
* Decoding unknown field should succeed.Bo Yang2017-01-104-1/+17
|
* Fix generated code when there is no namespace but there is enum definition.Bo Yang2017-01-103-6/+19
|
* Fix generation of extending nested messages in JavaScript (#2439)Marcus Longmuir2017-01-094-7/+74
| | | | | | * Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build
* Minor fix for autocreated object repeated fields and maps.Thomas Van Lenten2017-01-0911-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.
* Fixed cross compilations with the Autotools buildAdam Cozzette2017-01-094-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.
* Fix include in auto-generated well_known_types_embed.ccJulien Brianceau2017-01-091-1/+1
| | | | | Restore include style fix (e3da722) that has been trampled by auto-generation of well_known_types_embed.cc
* Fix warning in compiler/js/embed.ccJulien Brianceau2017-01-091-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) { ^
* Fix int64 decoding on 32-bit machines.Bo Yang2017-01-096-63/+142
|
* PHP fix int64 decoding (#2516)Sufir2017-01-082-28/+77
| | | | | | * fix int64 decoding * fix int64 decoding + tests
* Merge pull request #2550 from TeBoring/3.2.xFeng Xiao2016-12-2930-51/+76
|\ | | | | Bump version number to 3.2.0
| * Bump version number to 3.2.0Bo Yang2016-12-2830-51/+76
| |
* | Fixed issue with autoloading - Invalid paths (#2538)NicklasWallgren2016-12-281-3/+3
|/
* Add new js file in extra dist.Bo Yang2016-12-282-2/+3
|
* Update _GNUC_VER to use the correct implementation of atomic operation on Mac.Bo Yang2016-12-222-1/+7
|
* Added Bazel genrule for generating well_known_types_embed.ccAdam Cozzette2016-12-211-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.
* Updated Makefile.am to fix out-of-tree buildsAdam Cozzette2016-12-211-1/+4
|