marner2
c1e0853f70
Fix csharp fieldmasktree merge null checking ( #12737 )
...
Fixes #12685 for CSharp, but the Java equivalent probably has the same bug.
Closes #12737
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12737 from marner2:fix_csharp_fieldmasktree_merge_null_checking 78c7812ac3
PiperOrigin-RevId: 579314424
1 year ago
Protobuf Team Bot
70cc55aeb2
Reduce stack usage on recursion by making all error generation lazy on
...
out-of-line functions. This avoids local std::string temporaries and alike.
It also speeds up code because we delay constructing the errors via StrCat
until an error has actually occurred.
PiperOrigin-RevId: 579269516
1 year ago
Protobuf Team Bot
af75cb31f4
Small clean up Rust crate-relative naming logic
...
PiperOrigin-RevId: 579243379
1 year ago
Deanna Garcia
25f28ee6ca
Fix typo with janitor GHA, close-pr-message was accidentally defined twice.
...
PiperOrigin-RevId: 579213119
1 year ago
Protobuf Team Bot
a3e45d27ee
Dedup `RepeatedPtrField::Add` methods to all use common implementation.
...
As a result, `AddMessage` get the same perf boost as main `Add` method from 1df8ea4
.
PiperOrigin-RevId: 579201689
1 year ago
Michael Vorburger.ch
b0d4b2c1fe
Separate Build / IDE / Documentation from Other on Third Party doc
...
PiperOrigin-RevId: 579193733
1 year ago
Protobuf Team Bot
6ee7a322d3
Clarify same-crate-import vs different-crate-import message fields (latter unsupported).
...
PiperOrigin-RevId: 579175657
1 year ago
Adrian Sadłocha
4721f6a5e9
Update a comment in oneofs
...
PiperOrigin-RevId: 579168059
1 year ago
Protobuf Team Bot
e682ab6bc3
Annotate message field builder getters with Semantic::kSet
...
As an analog to the C++ mutable_foo() member functions,
uses of Java builders should appear as writes in Code Search.
They should be marked with the kSet semantic.
Note that the get*OrBuilder[List] methods should *not* be
marked with kSet as they do not return a mutable object.
PiperOrigin-RevId: 579079084
1 year ago
Mike Kruskal
0d5cb3a6a6
Fix file missing in merge from 25.x
...
PiperOrigin-RevId: 579036296
1 year ago
Protobuf Team Bot
2e5e2783cc
Auto-generate files after PR #14617
1 year ago
Protobuf Team Bot
be1665f92c
Do not pass verify_func for non message extensions
...
PiperOrigin-RevId: 579000409
1 year ago
Jie Luo
1231af10c7
merge 25.x to main ( #14617 )
...
Closes #14617
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/14617 from anandolee:25.x ac86c5ef32
PiperOrigin-RevId: 578996979
1 year ago
Protobuf Team Bot
1c549200ff
Use Emit instead of format for extension code gen.
...
PiperOrigin-RevId: 578983008
1 year ago
Protobuf Team Bot
da7245ca0b
Add an explicit self-reference `local_repository`
...
To keep the build working on Bazel 7. See https://github.com/bazelbuild/bazel/issues/19973#issuecomment-1787814450 for more info.
PiperOrigin-RevId: 578968403
1 year ago
Protobuf Team Bot
f98f38bb20
Auto-generate files after cl/578962175
1 year ago
Mike Kruskal
9b0e9d50af
Automated rollback of commit 108a4a3094
.
...
PiperOrigin-RevId: 578962175
1 year ago
Protobuf Team Bot
3ea774370a
Internal change
...
PiperOrigin-RevId: 578944754
1 year ago
Mike Kruskal
38d3b61ac4
Merge pull request #14617 from anandolee/25.x
...
merge 25.x to main
1 year ago
Jie Luo
ac86c5ef32
Update wrappers.pb.h
1 year ago
Jie Luo
08b371e89a
Update type.pb.h
1 year ago
Jie Luo
a874b1e0d8
Update timestamp.pb.h
1 year ago
Jie Luo
7a04bbd3a3
Update struct.pb.h
1 year ago
Jie Luo
cbe61a4965
Update source_context.pb.h
1 year ago
Jie Luo
e2e8f4e58c
Update field_mask.pb.h
1 year ago
Jie Luo
93bdf84ccd
Update empty.pb.h
1 year ago
Jie Luo
a85d8a28d5
Update duration.pb.h
1 year ago
Jie Luo
9dc3e44cd4
Update descriptor.pb.h
1 year ago
Jie Luo
687e14ee52
Update cpp_features.pb.h
1 year ago
Jie Luo
ef72406841
Update plugin.pb.h
1 year ago
Jie Luo
dabf64631f
Update java_features.pb.h
1 year ago
Jie Luo
c794a49e4e
Update api.pb.h
1 year ago
Jie Luo
19e5c874d2
Update any.pb.h
1 year ago
Sandy Zhang
0d331fd5ea
Simplify ImmutableMessageLiteGenerator::GenerateStaticVariableInitializers method which doesn't actually generate any code or do anything for Java Lite.
...
PiperOrigin-RevId: 578933051
1 year ago
Mike Kruskal
3718338bdc
Pin python at 3.11.
...
Github changed their mac runners to use 3.12 by default, which removed setuptools and is causing breakages in some of our tests.
PiperOrigin-RevId: 578917538
1 year ago
Jie Luo
520e5dde64
keep -main in versions_suffix.h to merge back to main
1 year ago
Jie Luo
a077f68b1c
Merge branch 'main' into 25.x
1 year ago
Deanna Garcia
76305620a1
Add a job to the janitor GHA to annotate any issues/PRs that have been inactive for the past 90 days with the `inactive` label (which has been added to github). The job will then close an issue if it has been marked inactive for 14 days.
...
Most of this is taken from https://github.com/carbon-language/carbon-lang/blob/trunk/.github/workflows/stale.yaml with a few adjustments, most importantly allowing the bot to auto-close issues.
PiperOrigin-RevId: 578906074
1 year ago
Protobuf Team Bot
f78f9c51fa
Workaround false positive warning in MSVC.
...
Fixes https://github.com/protocolbuffers/protobuf/issues/14602
PiperOrigin-RevId: 578875053
1 year ago
Eric Salo
9a610f02f8
upb: delete unused function in the C code generator
...
PiperOrigin-RevId: 578873644
1 year ago
Protobuf Team Bot
7daa16947b
Emit a reason for why a field was unsupported.
...
PiperOrigin-RevId: 578846947
1 year ago
Protobuf Team Bot
725b477032
Adds "Editions: Feature Extension Layout" to the GitHub code repository.
...
PiperOrigin-RevId: 578819110
1 year ago
Mike Kruskal
5f146f8dfe
Enable caching of pip dependencies
...
PiperOrigin-RevId: 578740011
1 year ago
Mike Kruskal
769ab10e3b
Fix windows 2019 build.
...
setup-gcloud doesn't honor the environment variables set by setup-python, so we need to manually set CLOUDSDK_PYTHON before running it.
PiperOrigin-RevId: 578674246
1 year ago
Joshua Haberman
cfd4223b1e
Merge pull request #14596 from protocolbuffers/25.x-202311012212
...
25.x 202311012212
1 year ago
Cong Liu
b4c9546467
Cluster non cold subtables in aux entries to the top.
...
PiperOrigin-RevId: 578656159
1 year ago
Protobuf Team Bot
7203caaae7
Updating version.json to: 25.1-dev
1 year ago
Protobuf Team Bot
6b5d8db01f
Updating version.json and repo version numbers to: 25.0
1 year ago
Mike Kruskal
f2ce105a48
Migrate tests to windows 2022 by default.
...
For the windows 2019 test, we need to upgrade python for the latest gcloud to work.
PiperOrigin-RevId: 578600130
1 year ago
Joshua Haberman
59a66af146
Merge pull request #14583 from haberman/cherry-pick-python-memory-leak
...
Fixed Python memory leak in map lookup.
1 year ago