Feng Xiao
afe98de32a
Replace repo links.
6 years ago
Feng Xiao
acd5b05e9f
Fix failing tests.
...
1. Fix C++ tests.
* Add missing files to Makefile.am and fix distcheck in tests.sh
* Remove BUILT_SOURCES from conformance/Makefile.am.
* Add some missing override keyword.
* Add a type cast to int64 because our StrCat() in stubs can't handle size_t.
2. Fix Java tests.
* Add missing test dependency on guava in pom.xml.
* Include newly referenced test data in test resources.
* Manually fix map_lite_test.proto which is overwritten because it's mapped
from map_test.proto in google3.
* Add back "optimize_for = LITE_RUNTIME" which is still needed to keep the
opensource test passing as it's still running lite tests.
* Add a type cast in newBuilder() because without it the code doesn't compile
with openjdk javac 1.8 (the compiler can't figure if it's the right type
due to complex generic typing).
3. Fix Python tests.
* Remove/replace references to <hash_map>.
* Suppress more warnings in setup.py.
* Replace incorrect header inclusion for google/protobuf/proto_api.h.
* Add strings::EndsWith to google/protobuf/stubs/strutil.h because it's
referenced in the updated python C extension code.
* Replace proto2 with google::protobuf. The proto2 name is leaked to
opensource because we removed the subsitition rule for proto2 namespace
but only fixed C++ source code and forgot to update python C extension code.
6 years ago
Feng Xiao
6bbe197e9c
Down-integrate from google3.
6 years ago
Aleksej Kazmin
5ddc6874e4
Fix typo in FieldMaskTree.java warning
6 years ago
vijay-bhatt
0f56f27ffc
Ignore unknown enum received in json when ignoreUnknownFields flag is set ( #4825 )
...
* Ignore unknown enum received in json when ignoreUnknownFields flag is set.
6 years ago
Adam Cozzette
9e1286b949
Updated version numbers to 3.6.1
6 years ago
Jonathan Haber
964201af37
Store the class object itself ( #4927 )
...
* Store the class object itself
* Add test for backwards compatibility
* Rename and add test
* Add comments
6 years ago
Jisi Liu
45eb28b588
Update version number to 3.6.0
7 years ago
Anuraag Agrawal
92ac1ed6a5
Remove unsafe no-copy String allocation since it's not useful in recent Java versions.
7 years ago
Feng Xiao
7d55040eeb
Cleanup + documentation for Java Lite runtime.
7 years ago
Paul Yang
c931743461
Merge branch ( #4466 )
...
* Fix setup.py for windows build.
* Bump version number to 3.5.2
* Cat the test-suite.log on errors for presubits
7 years ago
Adam Cozzette
ec57f511c1
Added map_lite_test.proto to fix LiteTest
7 years ago
Adam Cozzette
0400cca323
Integrated internal changes from Google
7 years ago
Bo Yang
b5fbb742af
Bump version number to 3.5.2
7 years ago
David Ostrovsky
019ceea4b3
Drop java 6 support
...
Fixes #4220 .
7 years ago
kenji yoshida
1c3b20b122
fix typo in FieldMaskTree.java comment
7 years ago
Jisi Liu
050fc9a437
Update version number to 3.5.1
7 years ago
Jisi Liu
22e1cfd84a
Add deprecation annotation for oneof case.
7 years ago
Adam Cozzette
92a7e778e7
Integrated internal changes from Google
7 years ago
Anuraag Agrawal
3e944aec9e
Add a UTF-8 decoder that uses Unsafe to directly decode a byte buffer.
7 years ago
Jisi Liu
97dd175a91
Update version number to 3.5.0
7 years ago
Jisi Liu
a08b03d4c0
Add missing files
7 years ago
Jisi Liu
1a7a7fca80
Merge from google internal
7 years ago
Jisi Liu
dba647a6b2
Bump version for minor release
7 years ago
Adam Cozzette
13fd045dbb
Integrated internal changes from Google
7 years ago
Jisi Liu
f9b81690f5
Add TODO
7 years ago
Jisi Liu
baae7ea12b
Add @Deprecated annotation support for proto file.
7 years ago
alanbur
a68a8004b5
PROTBUF-3394 Potential SIGBUS with UnsafeUtil.getLong
7 years ago
Jisi Liu
9b8f6589f2
Remove dependency on guava 20
7 years ago
Jisi Liu
759245a49a
Merge from master
7 years ago
Jisi Liu
7bb39bef1a
Update version number for 3.4.0
7 years ago
Jisi Liu
09354db143
Merge from Google internal for 3.4 release
7 years ago
Bo Yang
e7bcfc4241
Update version number to 3.3.2
8 years ago
Feng Xiao
129a6e2aca
Revert guava depedency to version 19.
8 years ago
Feng Xiao
58538ea919
Update version number to 3.3.1
8 years ago
Anuraag Agrawal
bf483dfb99
Allow unknown values for Map put*Value methods just like every other enum mutation method.
8 years ago
Anuraag Agrawal
09328db1ff
Fix test for unexpected type url when parsing Any. Currently, the test fails since TestAllTypes doesn't have field '@type', which is the same test as testUnknownFields.
8 years ago
Anuraag Agrawal
662f97841e
Fix duplicate fields test. The repeated version is passing because null values in a repeated field are rejected and not testing what it wanted to. Also adds a oneof version that verifies the case of oneof fields of different names (currently only same name check seems to be tested).
...
Also fix spelling of a test.
8 years ago
Anuraag Agrawal
58373fa160
Fix error message for int64 parse error.
8 years ago
Feng Xiao
c2b3b3e04e
Update Java version number and dependency.
8 years ago
Feng Xiao
84f6954ca9
Fix Java build.
8 years ago
Feng Xiao
d36c0c538a
Down-integrate from google3.
8 years ago
prehistoric-penguin
33cc25f36c
Remove duplicated copyright statement
8 years ago
Josh Haberman
496cd481fa
Changed scope of Java deps to "test".
...
This is per: https://github.com/google/protobuf/issues/2019
8 years ago
Jisi Liu
f4f31e73f2
Suppress the last unchecked warning.
...
Likely to be java language issue. Varargs are considered arrays, thus
using generic with varargs will cause unchecked warning about generic
array creation.
8 years ago
Jisi Liu
81fe52fbd4
Fix java code according to error prone.
8 years ago
Feng Xiao
03c8c8be6d
Update comments for setSizeLimit.
8 years ago
Jisi Liu
009e491bd7
Fix GeneratedMessageV3 warnings.
8 years ago
Jisi Liu
7c7534413a
Fix lint warnings in the javalite branch.
8 years ago
Feng Xiao
075475f834
Don't expose gson exceptions in JsonFormat.
8 years ago