- 15 Aug, 2019 1 commit
-
-
Joshua Haberman authored
-
- 14 Aug, 2019 1 commit
-
-
Joshua Haberman authored
Optimized away the creation of empty string objects.
-
- 13 Aug, 2019 2 commits
-
-
Paul Yang authored
-
Joshua Haberman authored
Prior to this CL, creating an empty message object would create two empty string objects for every declared field. First we created a unique string object for the field's default. Then we created yet another string object when we assigned the default value into the message: we called #encode to ensure that the string would have the correct encoding and be frozen. I optimized these unnecessary objects away with two fixes: 1. Memoize the empty string so that we don't create a new empty string for every field's default. 2. If we are assigning a string to a message object, avoid creating a new string if the assigned string has the correct encoding and is already frozen.
-
- 09 Aug, 2019 5 commits
-
-
reed-lau authored
-
reed-lau authored
-
reed-lau authored
-
reed-lau authored
-
Jie Luo authored
* Add changelog for 3.9.x * Revert "Make php message class final to avoid mocking (#6277)" (#6324) This reverts commit 7f84a943. This is just temporary. Eventually, we still want to roll forward this change. Some users are complaining they need more time to clean up their code. * Update extract_includes.bat.in File io_win32.h is not in directory google\protobuf\stubs under directory google\protobuf\io * Set oneof case in array constructor (#6351) Forgot to set it previously. * Update protobuf version (#6366) * Drop building wheel for python 3.4 (#6406) https://github.com/matthew-brett/multibuild/pull/240 * Fix binary compatibility in FieldCodec factory methods (#6380) (#6424) * Fix binary compatibility in FieldCodec factory messages * Make default value parameter for current factories required * Route old methods through default value overloads * Remove ExtensionRegistry.Add(params) overload * Rename ExtensionRegistry.Add(IEnumerable<Extension>) overload to AddRange * Edit naming of parameters in Extension classes * * Fix add API warnings to docs for extension APIs * Rename internal ExtensionSet.GetValue to TryGetValue * Disable javadoc error (#6371) * Disable javadoc error Actual fixes of the javadoc will be followed up * Remove duplicated configuration * Update javadoc plugin version * Updated Bazel test script to use most recent Bazel version (#6413) (#6433) I'm not exactly sure why, but this fixes the failing Bazel presubmit test. Using the most recent version seems like a good idea anyway so that we can make sure we're compatible with any new Bazel changes. * [bazel] Add fixes for --incompatible_load_{cc,java,proto}_rules_from_bzl * No need to update version in generated code (#6471) generate_descriptor will handle that * Update protobuf version (#6472)
-
- 07 Aug, 2019 1 commit
-
-
Paul Yang authored
* No free when construct was not done This fix the segfault when some other error happens * Add more tests * Use Sub to avoid printing too much
-
- 06 Aug, 2019 2 commits
-
-
Yannic Bonenberger authored
-
Paul Beusterien authored
Fix #3218
-
- 02 Aug, 2019 2 commits
-
-
Paul Yang authored
* Add conformance tests for explicit packed/unpacked fields * Fix typo * Update failure lists * Update failure list * Use enum class to make enum scoped
- 01 Aug, 2019 1 commit
-
-
Jie Luo authored
* compatibility tests between last released and the current version
-
- 31 Jul, 2019 1 commit
-
-
Gaël Delalleau authored
-
- 30 Jul, 2019 1 commit
-
-
Wang Kirin authored
-
- 29 Jul, 2019 4 commits
-
-
Yannic Bonenberger authored
This change adds the required loads to examples and zlib. For full compatibility with --incompatible_load_{cc,java,proto}_rules_from_bzl, we will need to roll gtest to a newer version.
-
Adam Cozzette authored
Windows: expand path names on command line
-
Laszlo Csomor authored
-
Laszlo Csomor authored
-
- 28 Jul, 2019 1 commit
-
-
Andrei Shevtsov authored
-
- 26 Jul, 2019 1 commit
-
-
Paul Yang authored
* Add binary conformance test for default repeated fields 1) Both packed and unpacked encoding should be accepted for parsing. 2) Encode should follow the default way for the syntax. * Uncomment test * Remove is_primitive * Add failed tests to failure lists. * Add failed test to failure list * Use binary format to specify expected value Text format cannot distinguish whether repeated field is packed or not. * Change method name from ToHexString to ToOctString * Add failed test to failure list * Add failed test to php's failure list * Fix comments
-
- 25 Jul, 2019 2 commits
-
-
Jie Luo authored
* Add csharp compatibility tests for 3.7.0 * Add compatibility test between last major version with current for C# * Update last version number * compatibility tests between last released and the current version * fix typo
-
Joe Bolinger authored
* support hashes for struct initalizers * convert hash keys to string * update tests * add extra asserts
-
- 24 Jul, 2019 9 commits
-
-
Lian Duan authored
-
Josh Humphries authored
-
Josh Humphries authored
-
Paul Yang authored
* Add binary conformance test for message type. * Add test case for merge repeated scalar message field * Add failed tests to failure list * Add failed test to php's failure list * Remove successful tests from php c's failure list
-
Yannic Bonenberger authored
-
Yannic Bonenberger authored
-
Yannic Bonenberger authored
-
Yannic Bonenberger authored
-
Yannic Bonenberger authored
-
- 23 Jul, 2019 4 commits
-
-
Paul Yang authored
* Add binary conformance test for enum fields. * Add failed conformance test to js failure list
-
rmstar authored
-
Paul Yang authored
* Add binary conformance test case for bytes field * Add failed conformance test to php's failure list
-
Joe Bolinger authored
-
- 22 Jul, 2019 2 commits
-
-
-
Paul Yang authored
* Add conformance test for binary string * Add failing tests to php failure list
-