aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Hide unnecessary exported library symbolsGravatar Alexandros Frantzis2017-03-13
|
* Merge pull request #2822 from anandolee/masterGravatar Jie Luo2017-03-10
|\ | | | | Detect generated code of WKT, addressbook and conformance protos
* \ Merge pull request #2832 from pherl/javaepGravatar Jisi Liu2017-03-10
|\ \ | | | | | | Fix java code according to error prone.
* \ \ Merge pull request #2818 from xfxyjwf/i1470Gravatar Feng Xiao2017-03-10
|\ \ \ | | | | | | | | Don't expose gson exceptions in JsonFormat.
* \ \ \ Merge pull request #2824 from xfxyjwf/i1415Gravatar Feng Xiao2017-03-10
|\ \ \ \ | | | | | | | | | | Use per-type table to lookup JSON name.
* \ \ \ \ Merge pull request #2826 from xfxyjwf/i1374Gravatar Feng Xiao2017-03-10
|\ \ \ \ \ | | | | | | | | | | | | Add missing thread dependency in cmake.
* \ \ \ \ \ Merge pull request #2827 from xfxyjwf/i1251Gravatar Feng Xiao2017-03-10
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update comments for setSizeLimit.
| | | | | * | Fix java code according to error prone.Gravatar Jisi Liu2017-03-10
| | | | | | |
* | | | | | | Repeated/Map field setter should accept a regular PHP array (#2817)Gravatar Paul Yang2017-03-10
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accept regular PHP array for repeated/map setter. Existing map/repeated field will be swapped by a clean map/repeated field. Then, elements in the array will be added to the map/repeated field. All elements will be type checked before adding. See #2686 for detail.
| | | | | * Add auto detect for generated code of WKT protos, addressbook.proto and ↵Gravatar Jie Luo2017-03-10
| | | | | | | | | | | | | | | | | | | | | | | | conformance.proto
| * | | | | Update comments for setSizeLimit.Gravatar Feng Xiao2017-03-09
| | |_|_|/ | |/| | |
* | | | | Merge pull request #2825 from pherl/javawarningGravatar Jisi Liu2017-03-09
|\ \ \ \ \ | | | | | | | | | | | | Cherry-pick changes from javalite branch to also fix Java warnings in the master branch
| | | * | | Add missing thread dependency in cmake.Gravatar Feng Xiao2017-03-09
| | |/ / /
| * | | | Fix GeneratedMessageV3 warnings.Gravatar Jisi Liu2017-03-09
| | | | |
* | | | | Merge pull request #2809 from xfxyjwf/i2464Gravatar Feng Xiao2017-03-09
|\ \ \ \ \ | |_|/ / / |/| | | | Make JsonFormat locale independent.
| | | * | Use per-type table to lookup JSON name.Gravatar Feng Xiao2017-03-09
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Different fields from different messages can map to the same JSON name and the original global lookup table is only capable of mapping one of such fields. This change converts the global table to per-type tables so fields from different messages won't conflict.
| | * | Fix lint warnings in the javalite branch.Gravatar Jisi Liu2017-03-09
| |/ / |/| |
* | | 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
| | | |
| | | * Don't expose gson exceptions in JsonFormat.Gravatar Feng Xiao2017-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
| |_|/ / / |/| | | |
| | | | * Make JsonFormat locale independent.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