Protobuf Team Bot
971f88aa63
Improve C++, Python, Java runtime version representations to avoid merge conflicts during release.
...
PiperOrigin-RevId: 626480269
10 months ago
Protobuf Team Bot
c413b1231c
Change upb::Arena to be Send (but still not Sync)
...
PiperOrigin-RevId: 626409752
10 months ago
Protobuf Team Bot
e98423c403
Auto-generate files after cl/626402666
10 months ago
Protobuf Team Bot
eeeb985a1b
Use absl::bit_cast to implicitly check presence of float and double.
...
PiperOrigin-RevId: 626402666
10 months ago
Mike Kruskal
b28d9d4144
Migrate bazel tests to protobuf-ci.
...
This will allow them to reuse our bazelrc and remote caching setup. This also silences the non-bzlmod windows test that's hitting the windows path length.
PiperOrigin-RevId: 626390416
10 months ago
Mike Kruskal
0cda26d48d
Move the windows path length workarounds out of protobuf-ci
...
PiperOrigin-RevId: 626148009
10 months ago
Mike Kruskal
97022a9c83
Move xcode setup out of protobuf-ci
...
PiperOrigin-RevId: 626140997
10 months ago
Protobuf Team Bot
8bace99998
Publishes "Editions: Group Migration Issues" to GitHub.
...
PiperOrigin-RevId: 626131189
10 months ago
Protobuf Team Bot
2be4364e4c
C#: Remove TODO, replacing it with an explanation.
...
PiperOrigin-RevId: 626125905
10 months ago
Arnim Balzer
ffd5c1b92b
Fix CMake shared library build using utf8_range and utf8_valid ( #14867 )
...
Instead of hardcoding static libraries, allow using the BUILD_SHARED_LIBS behaviour to allow the build of shared utf8 libraries.
Closes #14867
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/14867 from Chekov2k:main 971562ba47
PiperOrigin-RevId: 626125210
10 months ago
Derek Benson
b4bd664b07
Rust: fix proto! msgtype matcher to look for :: separated idents instead of a ty to avoid syntax errors during parse
...
PiperOrigin-RevId: 626093074
10 months ago
Derek Benson
a2d4a4af2c
proto! doc comment and copyright
...
PiperOrigin-RevId: 626092060
10 months ago
Mike Kruskal
95877d8569
Updating version.json and repo version numbers to: 28-dev ( #16555 )
...
Closes #16555
PiperOrigin-RevId: 626081638
10 months ago
Protobuf Team Bot
ca9877c599
Auto-generate files after cl/626057584
10 months ago
Joshua Haberman
8e3e09937e
Refactored the Java generator into separate packages and targets.
...
PiperOrigin-RevId: 626057584
10 months ago
Mike Kruskal
1d6fdc1342
Infer string type feature from ctype pre-editions.
...
This will allow internal code to simply check the feature value instead of checking both ctype and string_type.
PiperOrigin-RevId: 625897380
11 months ago
Mike Kruskal
89118ba9d4
Fix bazel cache issues in 7.0.0
...
We're seeing a high flake rate due to remote cache-misses only on Bazel 7 builds. The key change here seems to be adding the remote_download_output flag, but this also upgrades us to 7.1.1 and adds some retry behavior to caching issues.
PiperOrigin-RevId: 625892332
11 months ago
Mike Kruskal
57a6e8df1c
Add dedicated tests to lock down that overridable defaults never change.
...
Once an edition is released these should be fixed forever. On the other hand, the fixed defaults may see new features included as we change legacy behaviors in future editions.
PiperOrigin-RevId: 625842071
11 months ago
Protobuf Team Bot
f76b28e535
Minor cleanup: IWYU, clang-tidy, etc.
...
PiperOrigin-RevId: 625836385
11 months ago
Keith Smiley
1bc6d6d532
[bzlmod] Set repo_name to com_google_protobuf ( #16495 )
...
This is currently required by 8d025c08ff/upb_generator/bootstrap_compiler.bzl (L30)
We could try to change it but this is fine to do for now
Closes #16495
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16495 from keith:ks/bzlmod-set-repo_name-to-com_google_protobuf 357776de4a
PiperOrigin-RevId: 625820218
11 months ago
Protobuf Team Bot
6afdd5a135
Auto-generate files after cl/625815212
11 months ago
Mike Kruskal
e5502c746e
Removed merged features from the edition defaults IR.
...
All of this information is still available by merging fixed_features and overridable_features. This new split will make validation easier for runtimes that need to do dynamic builds.
PiperOrigin-RevId: 625815212
11 months ago
Mike Kruskal
d1f2eae5c3
Fix delimited encoding for lazy-initialized fields.
...
Instead of rewriting the field type, just leave it alone. This will only be a potential behavior change for people calling DescriptorPool::InternalSetLazilyBuildDependencies directly. Our normal codegen path already sets field types correctly and is unaffected.
PiperOrigin-RevId: 625807209
11 months ago
Mike Kruskal
1d44d84417
Internal changes
...
PiperOrigin-RevId: 625794743
11 months ago
Keith Smiley
9c686a2c5c
[bzlmod] Set repo_name to com_google_protobuf ( #16495 )
...
This is currently required by 8d025c08ff/upb_generator/bootstrap_compiler.bzl (L30)
We could try to change it but this is fine to do for now
Closes #16495
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16495 from keith:ks/bzlmod-set-repo_name-to-com_google_protobuf 357776de4a
PiperOrigin-RevId: 625786077
11 months ago
Protobuf Team Bot
5365930ef4
Auto-generate files after cl/625771423
11 months ago
Mike Kruskal
71f990682e
Clean up feature lifetime enforcement prior to release.
...
PiperOrigin-RevId: 625771423
11 months ago
Protobuf Team Bot
7d24d5f53c
Auto-generate files after cl/625729831
11 months ago
Protobuf Team Bot
88a0d33c55
Internal change.
...
PiperOrigin-RevId: 625733401
11 months ago
Protobuf Team Bot
b62a9c4a9d
Use Emit instead of format.
...
PiperOrigin-RevId: 625729831
11 months ago
Cong Liu
bb3ff34a2b
Fix a bug in InlinedStringField where donate steal is not enabled.
...
PiperOrigin-RevId: 625715238
11 months ago
Protobuf Team Bot
58fb524b07
Internal change.
...
PiperOrigin-RevId: 625705200
11 months ago
Protobuf Team Bot
c755d9ac1a
Add `load()` statements for the Bazel builtin top-level java symbols
...
Loads are being added in preparation for moving the symbols out of Bazel and into `rules_java`.
PiperOrigin-RevId: 625688195
11 months ago
Marcel Hlopko
1a7ea70730
Add test coverage for UTF-8 behavior
...
PiperOrigin-RevId: 625650220
11 months ago
Jie Luo
f799af8bf5
Automated rollback of commit 57772cdae7
.
...
PiperOrigin-RevId: 625554434
11 months ago
Protobuf Team Bot
2a9e5ef221
Auto-generate files after cl/625527117
11 months ago
Mike Kruskal
db5814e4ff
Use newly split feature defaults in plugins and runtimes.
...
The new fields fixed_features and overridable_features can be simply merged to recover the old aggregate defaults. By splitting them though, plugins and runtimes get some extra information about lifetimes for enforcement.
PiperOrigin-RevId: 625527117
11 months ago
Joshua Haberman
b9b735cc73
Internal change
...
PiperOrigin-RevId: 625502066
11 months ago
Protobuf Team Bot
58164b6ab9
Minor cleanup: IWYU, clang-tidy, etc.
...
PiperOrigin-RevId: 625460556
11 months ago
Protobuf Team Bot
c668e2e4da
Internal changes.
...
PiperOrigin-RevId: 625437318
11 months ago
Protobuf Team Bot
5844722687
Auto-generate files after cl/625420851
11 months ago
Protobuf Team Bot
d5210bb702
Devirtualize IsInitialized and move the implementation to a function pointer in ClassData.
...
Trivial messages that do not need this can leave the pointer as null.
This reduces binary size.
PiperOrigin-RevId: 625420851
11 months ago
Protobuf Team Bot
c7b9d540bd
Minor cleanup: IWYU, etc.
...
PiperOrigin-RevId: 625401573
11 months ago
Protobuf Team Bot
f46a00f278
Auto-generate files after cl/625392504
11 months ago
Protobuf Team Bot
6f6b9fad66
Do not prefetch nullptr.
...
- On ARM, this change improved the performance BM_RepeatedPtrField_Add_Sso
by 3.x times.
PiperOrigin-RevId: 625392922
11 months ago
Mike Kruskal
ea81024ddf
Refactor editions infrastructure to a top-level directory.
...
The only public target here is the edition defaults helper macro, which can be used by external runtimes and plugins. None of this code is C++-specific though, and should be organized higher up. Appropriate aliases are also placed at the top level for public targets
PiperOrigin-RevId: 625392504
11 months ago
Kyle Montemayor
57772cdae7
Add __or__ to enum_type_wrapper so they can be used in type unions
...
PiperOrigin-RevId: 625381202
11 months ago
Protobuf Team Bot
d44ba9090c
Refactor upb/rust directory to introduce separate files for each concept instead of a single blob.
...
PiperOrigin-RevId: 625333833
11 months ago
Protobuf Team Bot
55696adb8b
Auto-generate files after cl/625324587
11 months ago
Éamonn McManus
622f291606
Add `proto2::compiler::java::CapitalizedOneofName`.
...
PiperOrigin-RevId: 625326468
11 months ago