Adam Cozzette
f81d44fafa
Fixed quadratic behavior in JSPB deserialization of repeated fields ( #2117 ) ( #2146 )
...
Currently deserialization of a non-packed binary repeated field is quadratic in
the number of elements, because each time we parse a new element we copy over
all elements we have parsed so far. This CL fixes the performance problem by
having the generated deserialization code just call addX() instead of using
getX() and setX().
8 years ago
Khing
741aa87942
Remove obsoleted project of j2me
8 years ago
Bo Yang
b9bc9904c2
Fix bugs for csharp and ruby for internal integration.
8 years ago
Bo Yang
c8b9d41f99
Fix python bugs for internal integration.
8 years ago
Sergio Campama
1af7c4cb08
Fixes static analyzer issues from xcode.
8 years ago
Bo Yang
08e9f7011b
Bump library veriosn to 3.1
8 years ago
Bo Yang
22d7248c97
Fix bugs for internal integration.
8 years ago
Joshua Haberman
4f379f81ce
Merge pull request #2144 from abscondment/fix-jruby-hash
...
Fix hash computation for JRuby's RubyMessage
8 years ago
Bo Yang
6cb6bd9f21
Fix gson dependency.
...
gson 2.3 has internal bug that it doesn't work with some versions of maven.
8 years ago
Bo Yang
ebcda12102
Bump version number to 3.1.0-alpha-1.
8 years ago
Joshua Haberman
679381fba8
Fix for maps_test.js in JavaScript. ( #2145 )
...
Had to strip out some JSPB-format test code,
but also added some .proto test messages that
had been improperly stripped out.
8 years ago
Brendan Ribera
05aa0df532
Fix hash computation for JRuby's RubyMessage
...
`System.identityHashCode` returns a hash that does not consider a
Message's values. This means two Messages with identical values will not
have identical hashCodes.
This patch uses the pattern from RubyMap to combine the hashCodes from
all values in a given message and produce a unique, consistent,
value-based hash.
8 years ago
Bo Yang
a2c65011c3
Fix bugs for internal integration.
8 years ago
Thomas Van Lenten
0dca5a5bf9
Use a custom dictionary to avoid NSNumber operations.
...
For the secondary dictionary, use a custom CFDictionary with integer keys to
avoid the NSNumber conversions.
8 years ago
Thomas Van Lenten
96c469de68
Remove the custom key functions and just use the system provided defaults.
8 years ago
Bo Yang
98835fb8f8
Integrate internal changes
8 years ago
Thomas Van Lenten
7b00595ddf
Merge pull request #2137 from thomasvl/objc_extensions_tweak
...
Objc extensions tweaks
8 years ago
Thomas Van Lenten
6ab51a0ebd
Use a custom dictionary to avoid NSNumber operations.
...
For the secondary dictionary, use a custom CFDictionary with integer keys to
avoid the NSNumber conversions.
8 years ago
Thomas Van Lenten
5904279ebd
Remove the custom key functions and just use the system provided defaults.
8 years ago
Joshua Haberman
b5bbdb0967
Merge pull request #2037 from abscondment/fix-2036-ruby-hash
...
Fix #2036 (Ruby `hash` broken for Messages with repeated fields.)
8 years ago
Feng Xiao
c44ca26fe8
Merge pull request #2130 from kilink/substring-comment-fix
...
Fix erroneous comment regarding String.substring
8 years ago
Patrick Strawderman
9ac84f8f3f
Fix erroneous comment regarding String.substring
...
Since Java 7, Strings produced with String.substring do not share byte arrays.
8 years ago
Bo Yang
3b001ca6ba
Some php engine implementation doesn't have return_value_ptr properly set. Explicitly use &return_value.
8 years ago
Bo Yang
c6fa9c71a5
Auto-generate proto files for tests.
8 years ago
Bo Yang
f174d36380
Add back missing test proto files.
8 years ago
Jisi Liu
37e0e1ff86
Merge pull request #2111 from pherl/3.0.x
...
Fix the version number for 3.0.2
8 years ago
Jisi Liu
9c4be5f654
Merge pull request #2112 from pherl/merge
...
Merge 3.0.x into master
8 years ago
Thomas Van Lenten
b4235ac79c
Merge pull request #2123 from thomasvl/objc_better_versioning_take2
...
Update the ObjC version checks to support a min and current version.
8 years ago
Thomas Van Lenten
1aa6500056
Update the ObjC version checks to support a min and current version.
...
- Capture the version used to generated.
- Check at compile time and runtime that generated code isn't from a newer
version, also check that the min version required is also supported.
- Keep the old constants/macros/functions to special case the last version
that was working so those generated sources still work until we decide
otherwise.
8 years ago
Paul Yang
e0e54661f7
Check in php implementation. ( #2052 )
...
This pull request includes two implementation: C extension and PHP
package. Both implementations support encode/decode of singular,
repeated and map fields.
8 years ago
Jisi Liu
683412b23f
Update generated files.
8 years ago
Jisi Liu
58860c021f
Merge remote-tracking branch 'origin/3.0.x' into merge
8 years ago
Jisi Liu
13d6d17262
Fix the version number for 3.0.2
8 years ago
Feng Xiao
86fcd879b3
Merge pull request #1765 from mbarbon/master
...
Add https://metacpan.org/pod/Google::ProtocolBuffers::Dynamic
8 years ago
Feng Xiao
1affbd8717
Merge pull request #2021 from zlim/bench-fix
...
benchmarks: update readme.txt
8 years ago
Feng Xiao
4f032cd9af
Merge pull request #2100 from vladmos/patch-1
...
Compatibility with the new version of Bazel.
8 years ago
Feng Xiao
22e7fa6aef
Merge pull request #2092 from dprotaso/master
...
Allow the JsonFormat.Parser to ignore unknown fields
8 years ago
Vladimir Moskva
5caf516976
Resolved a conflict
8 years ago
Feng Xiao
78aee1b15f
Merge pull request #2044 from wychen/Win32ANSI
...
Fix Win32 error messages on Unicode build
8 years ago
Jisi Liu
643a02bc9c
Merge pull request #1636 from yugui/feature/generic-plugin
...
Generalize plugin support in Bazel Skylark rule
8 years ago
Feng Xiao
53387e5f55
Merge pull request #2090 from guoxiao/find
...
include std::find()
8 years ago
Feng Xiao
e90292b2a6
Merge pull request #2103 from adrianludwin/fix-gtest
...
Update repo in Bazel build files to use googletest instead of the deprecated gMock
8 years ago
Adrian Ludwin
1327e6f470
Update repo to use google test
8 years ago
Thomas Van Lenten
7377eb2b03
Merge pull request #1970 from thomasvl/objc_any_helpers
...
Objc any helpers
8 years ago
Vladimir Moskva
a86e6d8db2
Compatibility with the new version of Bazel.
...
Global variable HOST_CFG is deprecated and will not be supported soon.
8 years ago
Thomas Van Lenten
5d35e60900
Merge pull request #2094 from thomasvl/update_wkt_comments
...
Fix error and add note about lossy issues
8 years ago
Jisi Liu
57170b9343
Merge pull request #2096 from pherl/3.0.x
...
Cherry pick objc test changes into 3.0.x branch
8 years ago
Thomas Van Lenten
5699b920bf
More complete nil/reset tests within a oneof
8 years ago
Thomas Van Lenten
708296e583
Fix some constants to be correct for the message class in use.
8 years ago
Thomas Van Lenten
161b937740
Fix error and add note about lossy issues
8 years ago