- 20 Mar, 2019 1 commit
-
-
Hao Nguyen authored
-
- 06 Mar, 2019 1 commit
-
-
Hao Nguyen authored
* Down integrate to github
-
- 28 Feb, 2019 3 commits
-
-
Paul Yang authored
* Update version number to 3.7.0 * Add php/releash.sh to Makefile.am * Make cpp_distcheck exit on fail
-
Peter Ebden authored
* Fix construction of messages using the C++ Python implementation when a map field is passed from one message to another. * Add a test on message map field construction * python 3 support * review comments * add test * Collapse code into one
-
Oliver Bristow authored
-
- 26 Feb, 2019 1 commit
-
-
grindhold authored
We need to cast to a constant charpointer here.
-
- 22 Feb, 2019 2 commits
-
-
Bo Yang authored
-
Yilun Chong authored
-
- 21 Feb, 2019 1 commit
-
-
Xiang Dai authored
Signed-off-by:
Xiang Dai <764524258@qq.com>
-
- 19 Feb, 2019 1 commit
-
-
Paul Yang authored
* Update version to 3.7.0 * Update version number for java bom
-
- 31 Jan, 2019 2 commits
-
-
Peter Sobot authored
-
Adam Cozzette authored
-
- 24 Jan, 2019 1 commit
-
-
Hao Nguyen authored
-
- 08 Jan, 2019 1 commit
-
-
Yilun Chong authored
* Down-integrate internal changes to github. * fix python conformance test * fix csharp conformance test * add back java map_lite_test.proto's optimize for option * fix php conformance test
-
- 20 Dec, 2018 1 commit
-
-
Bo Yang authored
-
- 06 Dec, 2018 1 commit
-
-
Adam Cozzette authored
- Avoid using typeid() so that we don't depend on RTTI - Change internal AP MapData() to MutableMapData() and added GetMapData()
-
- 26 Nov, 2018 1 commit
-
-
giokara-oqton authored
* fix json_format.ParseDict modifies input * added unit test * fix naming
-
- 09 Nov, 2018 1 commit
-
-
Adam Cozzette authored
-
- 05 Oct, 2018 2 commits
-
-
Leon Barrett authored
* Fix parsing empty Struct Values from Json This fixes a bug. When parsing a struct from JSON like struct = json_format.Parse('{"k": {}}', Struct()) then the struct's "k" value would end up not initialized, and accessing the value would raise an error. In[1]: struct['k'] ValueError: Value not set That seems to be because the Struct field of the Value was not set. In[2]: struct Out[2]: fields { key: "k" value { } } This commit makes sure that the Value's Struct field is initialized even if the Struct has no values itself. This commit also extends a test to cover this case. * Additionally test for empty list
-
Josh Kelley authored
* ParseFromString returns bytes parsed ParseFromString is documented as returning the number of bytes parsed, and the C++ implementation does this, so the Python implementation should too. See #5165. * Fix docstring * Add a test for ParseFromString length behavior
-
- 04 Oct, 2018 1 commit
-
-
Kevin James authored
Many classes within collections were moved to collections.abc in Python 3.3 -- their usage as imported directly from collections is now deprecated as of Python 3.7 and will be removed soon. The fallback import added in this PR can be removed entirely when support for versions of Python prior to 3.3 is dropped.
-
- 07 Sep, 2018 2 commits
-
-
Josh Haberman authored
-
Josh Haberman authored
-
- 04 Sep, 2018 1 commit
-
-
Josh Haberman authored
-
- 14 Aug, 2018 1 commit
-
-
Jie Luo authored
* _SURROGATE_PATTERN check for ucs4 Skip some test for ucs2 by sys.maxunicode
-
- 13 Aug, 2018 1 commit
-
-
Feng Xiao authored
-
- 10 Aug, 2018 1 commit
-
-
Feng Xiao authored
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.
-
- 09 Aug, 2018 1 commit
-
-
Feng Xiao authored
-
- 27 Jul, 2018 1 commit
-
-
Adam Cozzette authored
-
- 12 Jul, 2018 1 commit
-
-
Ben Webb authored
Compilation of Python wrappers fails with Python 3.7 because the Python folks changed their C API such that PyUnicode_AsUTF8AndSize() now returns a const char* rather than a char*. Add a patch to work around. Relates #4086.
-
- 03 Jul, 2018 1 commit
-
-
Thomas Colthurst authored
* Update message_module.cc Add missing piece from pull request #4698: actually initialize the new API object. * Update message_module.cc
-
- 29 Jun, 2018 1 commit
-
-
Thomas Colthurst authored
Internal convert file was broken. Change the capsule to the correct name
-
- 25 Jun, 2018 1 commit
-
-
Yuchen Xie authored
-
- 30 May, 2018 1 commit
-
-
Thomas Colthurst authored
-
- 14 May, 2018 1 commit
-
-
Jisi Liu authored
-
- 09 Apr, 2018 1 commit
-
-
Thomas Hisch authored
The compiler and util subpackages are created by the build_py class in setup.py. This has caused an issue in the protobuf package in conda-forge (https://github.com/conda-forge/protobuf-feedstock/issues/40), which is fixed by this commit.
-
- 02 Apr, 2018 1 commit
-
-
Paul Yang authored
* Fix setup.py for windows build. * Bump version number to 3.5.2 * Cat the test-suite.log on errors for presubits
-
- 20 Mar, 2018 3 commits
-
-
Adam Cozzette authored
-
Adam Cozzette authored
-
Adam Cozzette authored
-