Jerry Berg
8d38060c89
Add test to verify nested builder fix.
...
Verify fix for https://github.com/protocolbuffers/protobuf/issues/10624
2 years ago
Jerry Berg
f616e70a9a
Add timing belt to nested_builders_test protos
...
This will be used in verfication of https://github.com/protocolbuffers/protobuf/issues/10624
2 years ago
Jerry Berg
8e6afeff49
Mark nested builder as clean after clear is called
...
Omitting this step was leading to stale cached versions of nested messages.
See https://github.com/protocolbuffers/protobuf/issues/10624
2 years ago
Jerry Berg
4f393bd515
Merge pull request #10960 from protocolbuffers/gberg-ads-performance
...
Use bit-field int values in buildPartial to skip work on unset groups of fields.
2 years ago
Protobuf Team Bot
b0f7bff40c
Use bit-field int values in buildPartial to skip work on unset groups of fields.
...
Changes to make this improvement:
1) All non-repeated builder fields (including maps) now have a presence bit regardless of syntax.
2) The buildPartial method is split into one method per 32-field block (aligned with bit-mask ints)
3) If a presence bit-mask int is set to 0, no fields are present, so we can skip the logic for all of those fields in the buildPartial step.
For messages with a lot of fields (> 100) that are sparsely populated this can result in a significant improvement. Not only does it potentially skip a lot of field copying logic, but also breaks the buildPartial method into chunks that should be more easily digested by the JIT compiler as discussed in this issue: https://github.com/protocolbuffers/protobuf/issues/10247 .
PiperOrigin-RevId: 485952448
2 years ago
zhangskz
accd49b95a
Add bazel php:release target for PECL tgz using generated package.xml ( #10845 )
...
* Add bazel php:release target for PECL tgz using generated package.xml
* move targets from php/ext/google/protobuf to php packages since this breaks dist_files and add utf8 license file
* Remove package.xml form Makefile.am
* add files to Makefile.am
2 years ago
Adam Cozzette
ba01779860
Merge pull request #10825 from protocolbuffers/21.x-202210261725
...
Update version.json to: 21.10-dev
2 years ago
Adam Cozzette
e4a4de9890
Update version.json to: 21.10-dev
2 years ago
Adam Cozzette
d96db0e9d8
Merge pull request #10823 from protocolbuffers/21.x-202210261725
...
Update changelog and versions for 21.9 release
2 years ago
Adam Cozzette
90b73ac3f0
Updating changelog
2 years ago
Protobuf Team Bot
0135eb0e52
Updating version.json and repo version numbers to: 21.9
2 years ago
zhangskz
573a1851dc
Update zlib to 1.2.13 ( #10819 )
...
This pulls in the fix for CVE-2022-37434.
(PR'ed to main already in https://github.com/protocolbuffers/protobuf/pull/10786 )
2 years ago
Mike Kruskal
33bc6fb2a4
Replace libc strdup usage with internal impl to restore musl compat. ( #10811 ) ( #10818 )
...
Co-authored-by: Derek Perez <perezd@users.noreply.github.com>
2 years ago
Joshua Haberman
0d8ac768a1
Target macOS 10.9 ( #10802 ) ( #10807 )
...
Update toolchain to target macosx 10.9 to fix https://github.com/protocolbuffers/protobuf/issues/10799
Co-authored-by: deannagarcia <69992229+deannagarcia@users.noreply.github.com>
2 years ago
Mike Kruskal
80b583acdf
21.x 202210181433 ( #10787 )
...
* Updating version.json and repo version numbers to: 21.8
* Update version.json to: 21.9-dev
Co-authored-by: Protobuf Team Bot <protobuf-team-bot@google.com>
2 years ago
Mike Kruskal
591fe403c9
21.x 202210180838 ( #10785 )
...
* Updating version.json and repo version numbers to: 21.8
* Update changelog
Co-authored-by: Protobuf Team Bot <protobuf-team-bot@google.com>
2 years ago
Mike Kruskal
3c49bd4e84
Bump upb to latest version after fixes applied ( #10783 )
2 years ago
deannagarcia
3a0ae1d1eb
Merge pull request #10772 from deannagarcia/21.x
...
Cherrypick toolchain changes
2 years ago
Deanna Garcia
dda7ffdc4f
Edit toolchain to work with absl dep
2 years ago
Jerry Berg
4aab0bf621
Merge pull request #10771 from protocolbuffers/gberg-cp-10770
...
Merge pull request #10770 from protocolbuffers/googleberg-cl-480629524
2 years ago
tison
fa5a9e1035
Auto capitalize enums name in Ruby ( #10454 ) ( #10763 )
...
This closes #1965 .
2 years ago
Jerry Berg
1594ac1a2e
Merge pull request #10770 from protocolbuffers/googleberg-cl-480629524
...
Mark default instance as immutable first to avoid race during static initialization of default instances.
2 years ago
Matt Fowles Kulukundis
5d90ef2432
Merge pull request #10743 from brad0/21_openbsd_platform_macros
...
21.x No longer define no_threadlocal on OpenBSD
2 years ago
deannagarcia
0ee5525a75
Upgrade kokoro to Xcode 14 ( #10732 )
...
* Upgrade kokoro to Xcode 14
* Fix osx errors
2 years ago
Brad Smith
a971d06fc2
21.x No longer define no_threadlocal on OpenBSD
2 years ago
deannagarcia
887d7954d0
Merge pull request #10737 from deannagarcia/upgradeKotlin21
...
Upgrade to kotlin 1.6
2 years ago
Deanna Garcia
a39fa12f41
Upgrade to kotlin 1.6
2 years ago
deannagarcia
6229682231
Merge pull request #10721 from tonydnewell/21.x
...
Merge pull request #10200 from tonydnewell/bugfix/protobuf-7474
2 years ago
Matt Fowles Kulukundis
c44d62371f
Merge pull request #10200 from tonydnewell/bugfix/protobuf-7474
...
Fix for grpc.tools #17995 & protobuf #7474 (handle UTF-8 paths in argumentfile)
2 years ago
deannagarcia
1085f8528a
Fix spelling errors ( #10717 )
2 years ago
deannagarcia
4271ab9403
Merge pull request #10715 from protocolbuffers/deannagarcia-patch-10
...
Force uninstall protobuf in python macos builds
2 years ago
deannagarcia
65f86885aa
Force uninstall protobuf in python macos builds
...
We are seeing failures in brew uninstall protobuf due to no package. Change this to a force install to avoid the error.
2 years ago
deannagarcia
a181d020f7
Merge to release branch post release ( #10683 )
...
* Updating version.json and repo version numbers to: 21.7
* Update version.json to: 21.8-dev
Co-authored-by: Protobuf Team Bot <protobuf-team-bot@google.com>
2 years ago
zhangskz
1dc63ea581
Update versions and upb commit ( #10676 )
...
* Updating version.json and repo version numbers to: 21.7
* Updating changelog
Co-authored-by: Protobuf Team Bot <protobuf-team-bot@google.com>
2 years ago
Mike Kruskal
a3888f5331
Clean up TextFormat parser ( #10673 )
...
* Fix TextFormat parser
2 years ago
Mike Kruskal
3b5301c114
Refactoring Java parsing (21.x) ( #10665 )
...
* Porting java cleanup
* Update changelog
* Fix absl usage
* Extension patch
* Remove extra allocations
2 years ago
deannagarcia
bea6726c73
Merge pull request #10579 from protocolbuffers/21.x-202209142140
...
Update version.json to: 21.7-dev
2 years ago
Deanna Garcia
b1924e1de9
Update version.json to: 21.7-dev
2 years ago
deannagarcia
929e13d1a9
Merge pull request #10572 from deannagarcia/21.x
...
Backport python release improvement
2 years ago
zhangskz
de7597e577
Update python/release.sh to handle delay between twine upload and pip install ( #10324 )
2 years ago
deannagarcia
480bd3b970
Merge pull request #10557 from protocolbuffers/21.x-202209132118
...
Update versions for 21.6 release
2 years ago
Deanna Garcia
aa8c73d845
Updating changelog
2 years ago
Protobuf Team Bot
24487dd104
Updating version.json and repo version numbers to: 21.6
2 years ago
deannagarcia
d88266c319
Merge pull request #10545 from deannagarcia/21.x
...
Apply patch
2 years ago
Deanna Garcia
cd0ee8f45d
Apply patch
2 years ago
Mike Kruskal
ea2f20498e
Uninstall system protobuf to prevent version conflicts ( #10522 )
2 years ago
Mike Kruskal
aafacb09c7
Remove broken use_bazel.sh ( #10511 )
2 years ago
Mike Kruskal
40847c7ee5
Fix Kokoro tests to work on Monterey machines ( #10473 )
...
* Disabling broken mac php tests
* Fix ruby permissions after Monterey upgrade
* Install m4 via Homebrew
* Adding ruby/python fixes to presubmits
* Adding homebrew prefix command
* More fixes for objc, python, and benchmark build
* Properly disabling C++ benchmark warning
* Use python 2 for testing
* Splitting venv and python 2
* Setup tox-pyenv
* Silencing more warnings
* Cleanup
* Upgrade python tests to 3.7 on mac
* Switch to python 2 by default (googletest requires it)
* Remove venv for python tests, use python 3.7
* Disable all compiler warnings for benchmark builds
* Enable benchmark LTO to silence warnings
* Fix locale issues in cocoapods
* Remove benchmark build from C++ tests
* Removing deprecated use_bazel command
Removing python 3.6 mac build, since Monterey doesn't support it
2 years ago
deannagarcia
2fb33f46a6
Merge pull request #10382 from protocolbuffers/21.x-202208092202
...
Update version.json to: 21.6-dev
2 years ago
Deanna Garcia
29f03e04d3
Update version.json to: 21.6-dev
2 years ago