Protobuf Team Bot
caf1ce3b35
ROLLBACK_OF: Stop serializing the Class<MessageType> within Google (for now)
...
PiperOrigin-RevId: 493011985
2 years ago
Jorg Brown
ca561b0ef5
Merge pull request #11138 from protocolbuffers/main-202212021626
...
Merge release branch 21.x in to main (21.10 release)
2 years ago
Jorg Brown
bab8ec343b
Merge release branch 21.x in to main
2 years ago
nickreid
47aecb734b
Emit a newline after `@file:Suppress("DEPRECATION")`
...
PiperOrigin-RevId: 492585270
2 years ago
Protobuf Team Bot
e535f95976
[ObjC] Go back from Printer::Emit() to Printer::Print()
...
PiperOrigin-RevId: 492559629
2 years ago
Protobuf Team Bot
605c24e649
[ObjC] Add GenerateFile helper to factor out common code.
...
Few minor cleanups along the way.
PiperOrigin-RevId: 492546618
2 years ago
Mike Kruskal
aba04743d2
Fix java_linkage_monitor test.
...
This was silently breaking because we didn't fail on errors in the test script. The upb version is also bumped to pull in improvements for system_python that fix the underlying issue (python 3.5 doesn't work with our pip dependencies).
PiperOrigin-RevId: 492526855
2 years ago
Protobuf Team Bot
c04f842613
Open source google/protobuf/bridge/message_set.proto
...
PiperOrigin-RevId: 492515720
2 years ago
Martijn Vels
599c1a46ab
Override ReadCord() to be implemented explicitly
...
PiperOrigin-RevId: 492461499
2 years ago
Protobuf Team Bot
1b1e399e2e
FileOutputStream: Properly pass block_size to CopyingOutputStreamAdaptor
...
PiperOrigin-RevId: 492403550
2 years ago
Mike Kruskal
9a85ed241d
Internal Changes
...
PiperOrigin-RevId: 492317667
2 years ago
Sandy Zhang
36e4d2f55a
Fix mergeable.yml multi-line string syntax to fix invalid yaml parse error.
...
PiperOrigin-RevId: 492313296
2 years ago
Mike Kruskal
3bc50497eb
Bump upb version and refactor python compatibility.
...
This pulls in updates to system_python, which allows for better handling of our non-hermetic setup. Specifically, our python tests are marked incompatible on systems without a python installation. This will cause them to get skipped by wildcard expansions (which is why we add 1 explicit target to the kokoro builds).
PiperOrigin-RevId: 492286518
2 years ago
deannagarcia
d024e3bca1
Merge pull request #11118 from protocolbuffers/deannagarcia-patch-12
...
Add "public" modifier to Kotlin generated code
2 years ago
Sandy Zhang
c5c9c2fdf2
Prevent merging PRs directly in main with a failing Mergeable check, except when an `mergeable:force-allow` label is present.
...
This serves to prevent accidental PR merges outside of Copybara, but is not actually enforced by branch protection.
PiperOrigin-RevId: 492255443
2 years ago
Protobuf Team Bot
d301a9de3e
Internal Changez
...
PiperOrigin-RevId: 492253438
2 years ago
deannagarcia
9b37daf1ce
Add "public" modifier to Kotlin generated code
...
My previous attempt to do this https://github.com/protocolbuffers/protobuf/pull/11068#issuecomment-1333645637 missed this instance.
2 years ago
Protobuf Team Bot
370028c75d
[ObjC] Check the Printer failure status.
...
This was added a little while ago to Printer, so update to inspect it, as more
things use Emit, it likely matters more.
PiperOrigin-RevId: 492229456
2 years ago
Protobuf Team Bot
c928bf3f25
[ObjC] Convert GenerateSource over to Printer::Emit.
...
PiperOrigin-RevId: 492228634
2 years ago
Matt Kulukundis
10b8034be6
Add a code of conduct based on https://www.contributor-covenant.org/ and https://github.com/carbon-language/carbon-lang/blob/trunk/CODE_OF_CONDUCT.md
...
PiperOrigin-RevId: 492217200
2 years ago
Joshua Humphries
9a84a0128a
Add custom option numbers for use by Buf ( #11110 )
...
We are requesting a range of numbers instead of just one since we have some plans for a variety of orthogonal kinds of custom options. For example:
1. Injecting extra metadata into FileDescriptorProtos via custom options. (These options are inserted by the Buf tool when building proto sources, to encode additional metadata about the unit of files compiled.)
2. Configuration options for protoc plugins, that generate extra metadata into sources. (These options may be used by users when writing proto sources.)
The suggested approach of reserving just one number and making it a message that contains *all* options is unattractive since users of one category of options is unlikely to want to import types related to another category.
FWIW, there are several other rows above that have also chosen to reserve ranges of 5 or 10 numbers.
Closes #11110
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11110 from jhump:jh/custom-options-for-buf-and-connect 68ef5ff1da
PiperOrigin-RevId: 492211135
2 years ago
Protobuf Team Bot
4df096f1e9
[ObjC] Move GenerateHeader over to Printer::Emit.
...
Update ImportWriter to have a second Emit api for the runtime files to
streamline things a bit better.
PiperOrigin-RevId: 492210147
2 years ago
Martijn Vels
75d31befc6
Implement ZeroCopyInputStream::ReadCord() in terms of absl::CordBuffer
...
PiperOrigin-RevId: 492078322
2 years ago
Protobuf Team Bot
9b0a8d3096
Fix lint warnings for protobuf GeneratedMessage.java
...
PiperOrigin-RevId: 492075312
2 years ago
Jorg Brown
782c7722e1
Merge pull request #11105 from protocolbuffers/21.x-202211301621
...
Update version.json to: 21.11-dev
2 years ago
Jorg Brown
06776db4e8
Update version.json to: 21.11-dev
2 years ago
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