aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* DefaultValueObjectWriter should populate oneof message fieldGravatar Jie Luo2017-03-10
|
* Add auto detect for generated code of WKT protos, addressbook.proto and ↵Gravatar Jie Luo2017-03-10
| | | | conformance.proto
* Merge pull request #2819 from haberman/pythonexceptGravatar Joshua Haberman2017-03-09
|\ | | | | update_failure_list.py: fixed Python "raise" statement.
| * update_failure_list.py: fixed Python "raise" statement.Gravatar Josh Haberman2017-03-09
| |
* | Merge pull request #2804 from acozzette/ruby-memcpyGravatar Adam Cozzette2017-03-09
|\ \ | | | | | | Ruby: wrap calls to memcpy so that gem is compatible with pre-2.14 glibc
* \ \ Merge pull request #2810 from xfxyjwf/i1994Gravatar Feng Xiao2017-03-09
|\ \ \ | | | | | | | | Avoid redundant type casts for oneof bytes fields.
* \ \ \ Merge pull request #2775 from xfxyjwf/fixmajorGravatar Feng Xiao2017-03-09
|\ \ \ \ | | | | | | | | | | Undef major/minor if they are defined as macro.
* \ \ \ \ Merge pull request #2814 from pherl/javadeprecateGravatar Jisi Liu2017-03-09
|\ \ \ \ \ | | | | | | | | | | | | Add annotations for deprecated messages in Java
| * | | | | Add annotations for deprecated messages in JavaGravatar Jisi Liu2017-03-09
| | | | | |
| | | | * | Ruby: wrap calls to memcpy so that gem is compatible with pre-2.14 glibcGravatar Adam Cozzette2017-03-09
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * / Avoid redundant type casts for oneof bytes fields.Gravatar Feng Xiao2017-03-08
| |_|/ / |/| | |
* | | | Merge pull request #2602 from GreatFruitOmsk/issue-2428Gravatar Feng Xiao2017-03-08
|\ \ \ \ | | | | | | | | | | Method Builder#clone() has been changed to bypass Java 1.6 compiler issue.
* | | | | Fix Bad Link for Common LispGravatar Jie Luo2017-03-08
| | | | |
* | | | | Rename encode/decode to serializeToString/mergeFromString (#2795)Gravatar Paul Yang2017-03-08
| |_|_|/ |/| | | | | | | | | | | | | | | This better shows the semantic of the API. For already setted fields, mergeFromString do replacement for singular fields and appending for repeated fields.
* | | | Merge pull request #2793 from keveman/masterGravatar Feng Xiao2017-03-07
|\ \ \ \ | | | | | | | | | | Removed a stray return statement, causing compilation error.
* \ \ \ \ Merge pull request #2613 from aausch/fix_memory_leakGravatar Jisi Liu2017-03-06
|\ \ \ \ \ | | | | | | | | | | | | optimization and quick workaround to memory leak
| | * | | | Removed a stray return statement, causing compilation error.Gravatar Manjunath Kudlur2017-03-06
| |/ / / / |/| | | |
* | | | | Detect if Descriptor.cs changes for csharpGravatar Jie Luo2017-03-06
|\ \ \ \ \ | | | | | | | | | | | | Merge pull request #2788 from anandolee/master
* \ \ \ \ \ Merge pull request #2751 from keveman/masterGravatar Feng Xiao2017-03-06
|\ \ \ \ \ \ | | | | | | | | | | | | | | Added a header only cc_library target for the protobuf library.
* \ \ \ \ \ \ Merge pull request #2784 from acozzette/log-2-floor-intGravatar Adam Cozzette2017-03-03
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Return uint32 from Log2FloorNonZero64
| | * | | | | | Added comment explaining the protobuf_headers target.Gravatar Manjunath Kudlur2017-03-02
| | | | | | | |
| | | * | | | | Detect if Descriptor.cs changes for csharpGravatar Jie Luo2017-03-02
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge pull request #2755 from xfxyjwf/rubycompGravatar Feng Xiao2017-03-02
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add Ruby compatibilty test against 3.0.0.
* \ \ \ \ \ \ \ Merge pull request #2785 from thomasvl/threading_raceGravatar Thomas Van Lenten2017-03-02
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Handing threading race resolving methods.
| * | | | | | | | Handing threading race resolving methods.Gravatar Thomas Van Lenten2017-03-02
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
| | * / / / / / Return uint32 from Log2FloorNonZero64Gravatar Adam Cozzette2017-03-02
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A uint32 is big enough to hold any return value from that function, and doing it this way prevents compiler warnings in coded_stream.h about narrowing a uint64 to a uint32.
* | | | | | | Merge pull request #2774 from acozzette/closure-builderGravatar Adam Cozzette2017-03-02
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Use closurebuilder.py in favor of calcdeps.py for compiling JavaScript
* | | | | | | | Disable static analyzer for message semaphore creation (#2748)Gravatar Sergio Campamá2017-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable static analyzer for message semaphore creation
* | | | | | | | Fix gcc 4.1 build (#1035) (#1913)Gravatar Matt Hauck2017-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix gcc 4.1.2 compilation of map_field_inl.h Fixes "error: object missing in reference to '...'" errors from #1035 * Disable 64-bit map keys on gcc <= 4.1 * Add missing case statements
* | | | | | | | Change hint type to `const void*` (#2568)Gravatar Matt Hauck2017-03-01
| | | | | | | | | | | | | | | | | | | | | | | | This is both more correct, and the build fails on AIX without it
* | | | | | | | Add mergeFrom method on Message (#2766)Gravatar Paul Yang2017-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method merges the contents of the specified message into the current message. Singular fields that are set in the specified message overwrite the corresponding fields in the current message. Repeated fields are appended. Map fields key-value pairs are overritten. Singular/Oneof sub-messages are recursively merged. All overritten sub-messages are deep-copied.
| * | | | | | | Use closurebuilder.py in favor of calcdeps.py for compiling JavaScriptGravatar Adam Cozzette2017-03-01
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two motivations for this: 1) calcdeps.py is deprecated and replaced by closurebuilder.py. 2) As part of this I was able to tweak things so that the Closure compiler does not attempt to examine every .js file in the tree under js/. This makes it possible to put compatibility tests and related files in a subdirectory without them getting mixed up with the main .js files we care about.
* | | | | | | Merge pull request #2674 from acozzette/js-test-cleanupGravatar Adam Cozzette2017-03-01
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Removed log statement from writer_test.js
| | | | | | | * Undef major/minor if they are defined as macro.Gravatar Feng Xiao2017-02-28
| |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Removed log statement from writer_test.jsGravatar Adam Cozzette2017-02-28
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | This tweak makes the test output a bit easier to read because it cuts out a lot of unnecessary logging.
* | | | | | Merge pull request #2770 from xfxyjwf/fixcmakeGravatar Jisi Liu2017-02-28
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove the use of C++11 features.
* \ \ \ \ \ \ Merge pull request #2772 from sschuberth/masterGravatar Feng Xiao2017-02-28
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix links to the license in meta-data
* | | | | | | | There might be duplicated enum values when allow_alias is true. Add ↵Gravatar Jie Luo2017-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PreferredAlias into OriginalNameAttribute to remove the duplication (#2727)
| * | | | | | | Prefer the term "3-Clause BSD License" over "New BSD License"Gravatar Sebastian Schuberth2017-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The first is the newer name, which is also more telling.
| * | | | | | | Fix links to the New BSD License in meta-dataGravatar Sebastian Schuberth2017-02-28
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "New BSD License" is the "3-Clause BSD License", but the links were pointing to the "2-Clause BSD License".
| * | | | | | Remove the use of C++11 features.Gravatar Feng Xiao2017-02-27
| | | | | | |
| | * | | | | Add Ruby compatibilty test against 3.0.0.Gravatar Feng Xiao2017-02-27
| | | | | | |
* | | | | | | Merge pull request #2733 from wmamrak/patch-1Gravatar Adam Cozzette2017-02-27
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Disable MSVC warning C4309
* \ \ \ \ \ \ \ Merge pull request #2729 from MarcelRaad/fix_inline_msvc12Gravatar Adam Cozzette2017-02-27
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | Fix unresolved symbols with MSVC12 and /Zc:inline
* | | | | | | | Merge pull request #2355 from xfxyjwf/fixjsonGravatar Feng Xiao2017-02-24
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Speed up JSON parsing.
* \ \ \ \ \ \ \ \ Merge pull request #2732 from AsturaPhoenix/masterGravatar Adam Cozzette2017-02-24
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | const FieldDescriptorCompare
* \ \ \ \ \ \ \ \ \ Merge pull request #2747 from liutikas/masterGravatar Adam Cozzette2017-02-24
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Fix unused variables warnings in generated_message_reflection.h
* \ \ \ \ \ \ \ \ \ \ Merge pull request #2734 from msabramo/patch-1Gravatar Adam Cozzette2017-02-24
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | README.md: Make docs URL a link
* \ \ \ \ \ \ \ \ \ \ \ Merge pull request #2630 from blodan/masterGravatar Jisi Liu2017-02-24
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | FreeBSD compatibility
* | | | | | | | | | | | Merge pull request #2753 from thomasvl/recursive_dropGravatar Thomas Van Lenten2017-02-23
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Add GPBMessageDropUnknownFieldsRecursively() and tests.