Protobuf Team Bot
aa24ccda47
Internal change
...
PiperOrigin-RevId: 492049282
2 years ago
Mike Kruskal
129c3a4697
Fix copybara transformations for Python/C++ code.
...
PiperOrigin-RevId: 492014560
2 years ago
Protobuf Team Bot
09a08d1f75
LazyField::IsInitialized instead of LazyField::Get for oneof.
...
Oneof lazy fields can also benefit from prior verification just like
regular lazy fields.
PiperOrigin-RevId: 492014341
2 years ago
Jie Luo
24743cd6c7
Remove _SetType from python api_implementation.py
...
PiperOrigin-RevId: 492000386
2 years ago
Jie Luo
3d3bebf8ab
Internal change only
...
PiperOrigin-RevId: 491993057
2 years ago
Deanna Garcia
85debe8400
Internal change
...
PiperOrigin-RevId: 491992783
2 years ago
Protobuf Team Bot
568672c733
Fix doc typo
...
PiperOrigin-RevId: 491989064
2 years ago
Protobuf Team Bot
3b00bfff78
[ObjC] Update ImportWriter to use Printer::Emit.
...
PiperOrigin-RevId: 491967581
2 years ago
deannagarcia
51535c0a53
Merge pull request #11090 from protocolbuffers/deannagarcia-patch-11
...
Fix PHP homebrew installation failures
2 years ago
Deanna Garcia
33d1070fc4
Expose internal setExtension method for Kotlin
...
PiperOrigin-RevId: 491816141
2 years ago
deannagarcia
4465c092cf
Remove php 7.4 installation
2 years ago
Jorg Brown
9832e7815a
Merge pull request #11088 from protocolbuffers/21.x-202211291338
...
21.x 202211291338
2 years ago
deannagarcia
7e6c9844a2
Prohibit homebrew from automatically updating packages
...
When homebrew automatically updates packages we have less control over what version of packages we are running, this will make the script more deterministic. In addition, it will fix errors relating to updating irrelevant packages.
2 years ago
Jorg Brown
74dae8fe6c
Updating changelog
2 years ago
Protobuf Team Bot
11bc195441
Updating version.json and repo version numbers to: 21.10
2 years ago
Jorg Brown
f6ff28bfcb
Merge pull request #11075 from protocolbuffers/21.x-202211281808
...
21.x 202211281808
2 years ago
Theodore Rose
d03c11cce9
Merge pull request #11083 from protocolbuffers/deannagarcia-patch-10
...
Disable CocoaPods watchOS validation
2 years ago
deannagarcia
9933339c48
Disable CocoaPods watchOS validation
...
https://github.com/CocoaPods/CocoaPods/issues/11558 is causing this GHA to fail. It has been resolved in main, but this will continue to fail until a release is out and we migrate to it.
2 years ago
theodorerose
7cd953703a
kokoro trigger change
2 years ago
theodorerose
073b81a94d
kokoro trigger change
2 years ago
Matt Fowles Kulukundis
7c308c7d45
Merge pull request #11077 from jskeet/no-eol-check-csharp
...
Pre-emptively suppress target framework EOL warnings
2 years ago
Christian Blichmann
670b4f7232
Include header for Abseil's `flat_hash_set<>`
...
PiperOrigin-RevId: 491612837
2 years ago
Jon Skeet
e2ea242d64
Pre-emptively suppress target framework EOL warnings
...
We may want to remove .NET 5 support some time in 2023, but there's no rush to do so.
2 years ago
Protobuf Team Bot
726aace07c
[ObjC] Fix a clang tidy warning about const usage and make the FileGenerator const.
...
PiperOrigin-RevId: 491512974
2 years ago
Jorg Brown
0d7f85ca05
Updating changelog
2 years ago
Protobuf Team Bot
ed63a2c7e4
Updating version.json and repo version numbers to: 21.10-rc0
2 years ago
Protobuf Team Bot
afb5a268f1
Remove sometimes-ambiguous use of operator '<<'.
...
PiperOrigin-RevId: 491466927
2 years ago
Protobuf Team Bot
0a979584ee
Auto-generate files after cl/491417852
2 years ago
Protobuf Team Bot
585b41a2dd
Remove _internal_has_XXX APIs and directly check presence (e.g. has_bits, oneof case).
...
PiperOrigin-RevId: 491417852
2 years ago
deannagarcia
7268e2fe6a
Merge pull request #11068 from deannagarcia/21.x
...
Add public modifiers to kotlin code
2 years ago
Deanna Garcia
9a1ef54b47
Allow message name "List" without conflict
...
PiperOrigin-RevId: 491380902
2 years ago
Martijn Vels
d5f759f7a4
Optimize Arena Ctor/Dtor for lazy field
...
LazyField explicitly registers `ArenaDtor` for destructing the lazy Cord contents which is particularly heavily used in extension sets. This is inefficient as it requires an indirect thunk call into the lazy field instance which then itself calls the Cord destructor. We can directly register the Cord for destruction which results in half the cleanup space (Tagged cleanup), and a direct call into the Cord destructor.
PiperOrigin-RevId: 491379222
2 years ago
Theodore Rose
f3873dd6fc
Merge pull request #11039 from yksten/patch-1
...
Update third_party.md to include https://github.com/yksten/ProtobufWrapper
2 years ago
Kenji Abe
7845696b1a
Add more public modifiers
2 years ago
Deanna Garcia
6edfc80428
Cherrypick public modifier
2 years ago
Protobuf Team Bot
903639c328
[ObjC] Put out of range closed enum extension values in unknown fields.
...
For normal fields, closed enums get their out of range values put into unknown
fields, but that wasn't happening for extension fields, this fixes that by
adding the validation during parsing.
Also document on the getExtension API what happens with enums.
Add tests to confirm expected behaviors.
PiperOrigin-RevId: 491356730
2 years ago
Protobuf Team Bot
7a7bdde799
[ObjC] Final const cleanups for generator.
...
PiperOrigin-RevId: 491355456
2 years ago
Protobuf Team Bot
e8a9dcb0df
[ObjC] Move the has bits computation to the ctor.
...
This lets the source generation method become const since it doesn't have to
update any internal state.
PiperOrigin-RevId: 491354897
2 years ago
Protobuf Team Bot
2221a0111d
Add support for lazy fields to TDP.
...
PiperOrigin-RevId: 491353089
2 years ago
Protobuf Team Bot
783cab258e
[ObjC] Disable CocoaPods watchOS validation for now.
...
A fix has landed in CocoaPods, but it hasn't been included in a release yet.
PiperOrigin-RevId: 491348256
2 years ago
Protobuf Team Bot
cd6180d4c3
[ObjC] Generator const cleanups
...
Label some more methods as const.
Remove some method decls that don't exist (not sure where they came from).
PiperOrigin-RevId: 491344000
2 years ago
Protobuf Team Bot
64d3eeb1b3
[ObjC] Move all Message, Enum, & Extension Generators up to the File.
...
Create/Collect all the MessageGenerators/EnumGenerators/ExtensionGeneators up at
the FileGenerator level and remove the need for some helpers and need for
generation apis to recurse through the generators.
The only change to the .pbobjc.m files is positionally where the enum support
for nested enums appears, it now is the same order as it was in the .pbobjc.h
files instead of being closer the the type it was nested in.
PiperOrigin-RevId: 491343515
2 years ago
Eric Salo
4ac90bbb69
add unit test for recent upb bug fix
...
PiperOrigin-RevId: 490642761
2 years ago
Protobuf Team Bot
016ef2393e
Standardize link formatting in documentation.
...
PiperOrigin-RevId: 490577853
2 years ago
Protobuf Team Bot
96dd2ea63f
Refactor proto2::Map to move all the key-only operations into a key-only base
...
class. This reduces code duplication.
It also enables more generic access for the table-driven parser.
PiperOrigin-RevId: 490574869
2 years ago
Mike Kruskal
04e813577c
Bump upb version
...
PiperOrigin-RevId: 490544186
2 years ago
Protobuf Team Bot
83677a9ebb
[ObjC] pass the Descriptor initialization flags to FieldDescriptor
...
The avoids passing four arguments and instead just passes one, so there tradeoff
in code is likely slightly better and from a perf pov, likely a wash.
PiperOrigin-RevId: 490540510
2 years ago
dankm
2a73e3bdfb
Hide ruby native extension symbols on FreeBSD ( #10832 )
...
They probably should be hidden on every ELF platform, but for now only do it on Darwin, Linux, and FreeBSD.
This prevents some load-time errors that have been seen in GitLab's gitaly server, and in a few other places.
Closes #10832
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/10832 from dankm:hide-symbols 4cb59f2691
PiperOrigin-RevId: 490522474
2 years ago
Mike Kruskal
d083ec5efc
Internal change
...
PiperOrigin-RevId: 490515513
2 years ago
Jerry Berg
0466a655d8
Merge pull request #11045 from signalwerk/patch-1
...
Standardise Link-Format
2 years ago