Protobuf Team Bot
4f1c9674dd
Auto-generate files after cl/694172218
1 month ago
Mike Kruskal
c1d55b4ea4
Internal changes
...
PiperOrigin-RevId: 694172218
1 month ago
Protobuf Team Bot
29ae2672fb
Auto-generate files after cl/694166667
1 month ago
Protobuf Team Bot
7077607449
Internal change
...
PiperOrigin-RevId: 694166667
1 month ago
Protobuf Team Bot
ae159270bb
Auto-generate files after cl/694155074
1 month ago
Hong Shin
18ad79cdfd
hpb: Have ExtensionNumber take in const ref ExtensionIdentifier
...
PiperOrigin-RevId: 694155074
1 month ago
Protobuf Team Bot
d4e848611a
Auto-generate files after cl/694145361
1 month ago
Protobuf Team Bot
83f4fd65e8
Internal change
...
PiperOrigin-RevId: 694145361
1 month ago
Protobuf Team Bot
57229f93aa
Auto-generate files after cl/694131739
1 month ago
Protobuf Team Bot
ef2c2819c0
Internal change
...
PiperOrigin-RevId: 694131739
1 month ago
Protobuf Team Bot
2f76ddf239
Auto-generate files after cl/694107230
1 month ago
Protobuf Team Bot
5a09cfd577
Rename private `getFooFieldBuilder` method to avoid name conflicts.
...
The proto
message A {
SomeMessage text_field = 1;
SomeMessage text = 2;
}
will fail java compilation with a name clash: `method getTextFieldBuilder() is already defined in class...` This is because the `text` field creates a private method (`get{Text}{FieldBuilder}`) which conflicts with the public getter (`get{TextField}{Builder}`) for field 1.
Unlike some name clashes, this one is with a private method and we can just rename the method in this file. Other name clash issues:
- https://github.com/protocolbuffers/protobuf/issues/15411
- https://github.com/protocolbuffers/protobuf/issues/17367
There's some precedent for the `internal` prefix with the protected `internalGetFieldAccessorTable` method on GeneratedMessage.
PiperOrigin-RevId: 694108040
1 month ago
Hong Shin
76382571d9
upb: Add upb_Message_GetExtensionString
...
PiperOrigin-RevId: 694107230
1 month ago
Protobuf Team Bot
d777bd9036
Auto-generate files after cl/694103101
1 month ago
Hong Shin
7ae9d8c39b
hpb: remove unused edition dep in test_model.proto
...
PiperOrigin-RevId: 694103101
1 month ago
Protobuf Team Bot
57287bd2f4
Auto-generate files after cl/694082383
1 month ago
Protobuf Team Bot
a0d13b9003
Make util function for whether a string field with unsupported ctype results in the fields being 'privatized'.
...
Use that function to disable generation of accessors in Rust OSS if the underlying C++ accessors are not available.
PiperOrigin-RevId: 694094592
1 month ago
Protobuf Team Bot
9b156f12c8
Internal version update.
...
PiperOrigin-RevId: 694082383
1 month ago
Protobuf Team Bot
7b6f3685a4
Auto-generate files after cl/694081386
1 month ago
Protobuf Team Bot
2a04f8bd43
Fix java proto generation: conflict between with enum field and another field with "_value" suffix.
...
PiperOrigin-RevId: 694081386
1 month ago
Protobuf Team Bot
429c9bc5c9
Auto-generate files after cl/694033035
1 month ago
Protobuf Team Bot
541432d83e
Add missing line to docstring after Args
...
Without it stardoc breaks.
PiperOrigin-RevId: 694033035
1 month ago
Protobuf Team Bot
cdc8df224d
Auto-generate files after cl/694015588
1 month ago
Protobuf Team Bot
fd477301f8
Use ABSL_PREDICT_TRUE|FALSE instead of PROTOBUF_PREDICT_TRUE|FALSE.
...
Considering that protobuf depends on absl already, we don't need protobuf's
version of PREDICT_TRUE|FALSE. This CL shrinks port_def.inc.
PiperOrigin-RevId: 694015588
1 month ago
Protobuf Team Bot
b66792e054
Auto-generate files after cl/694010705
1 month ago
Protobuf Team Bot
7c3eb4155f
Don't copy SpecificField data in MessageDifferencer unnecessarily.
...
PiperOrigin-RevId: 694010705
1 month ago
Protobuf Team Bot
707c747650
Auto-generate files after cl/693984458
1 month ago
Protobuf Team Bot
2e7ed9b3c4
Internal change
...
PiperOrigin-RevId: 693984458
1 month ago
Protobuf Team Bot
893f2fc740
Auto-generate files after cl/693911641
1 month ago
Protobuf Team Bot
7a18269072
Internal change
...
PiperOrigin-RevId: 693911641
1 month ago
Protobuf Team Bot
ce309e8eb7
Auto-generate files after cl/693898394
1 month ago
Mike Kruskal
9cc685edf8
Breaking change: Flip default behavior for handling cmake dependencies.
...
Instead of fetching dependencies by default, we will first look for a local installation and only fetch as a fallback. Two new options are added for forcing either of these behaviors. protobuf_FORCE_FETCH_DEPENDENCIES will always fetch dependencies, and protobuf_PREVENT_FETCH_DEPENDENCIES will never do so.
#test-continuous
PiperOrigin-RevId: 693898394
1 month ago
Protobuf Team Bot
a59cfa407f
Auto-generate files after cl/693888974
1 month ago
Protobuf Team Bot
064b50e8e9
Internal change
...
PiperOrigin-RevId: 693891307
1 month ago
Protobuf Team Bot
074e475472
Internal change
...
PiperOrigin-RevId: 693888974
1 month ago
Protobuf Team Bot
8922b554ab
Auto-generate files after cl/693881256
1 month ago
Protobuf Team Bot
9632425c34
Use ::int32_t to avoid confusion with bad field names.
...
Packed repeated fields without cached_size use static_cast<int32_t> that may be confused
with bad field names. This change fixes it by using ::int32_t.
PiperOrigin-RevId: 693884622
1 month ago
Protobuf Team Bot
294d353a66
Use portable posix sigsetjmp to avoid saving signals on linux, in addition to apple platforms.
...
PiperOrigin-RevId: 693881256
1 month ago
Protobuf Team Bot
b55b2dd84d
Auto-generate files after cl/693867781
1 month ago
Protobuf Team Bot
f15bf0de0c
Internal change
...
PiperOrigin-RevId: 693867781
1 month ago
Protobuf Team Bot
6d4fdc49e5
Auto-generate files after cl/693862958
1 month ago
Protobuf Team Bot
a7dd1559ee
Use [[maybe_unused]] instead of PROTOBUF_UNUSED.
...
With C++17 being the baseline, we should use [[maybe_unused]]
to shrink port_def.inc.
PiperOrigin-RevId: 693862958
1 month ago
Protobuf Team Bot
e3a0777b2c
Auto-generate files after cl/693808783
1 month ago
Protobuf Team Bot
00b9937d6a
Auto-generate files after cl/693808404
1 month ago
Protobuf Team Bot
1ceedf88ca
Use [[nodiscard]] instead of PROTOBUF_NODISCARD
...
With C++17 being baseline, PROTOBUF_NODISCARD is no longer necessary. Directly
using [[nodiscard]] makes port_def.inc smaller.
PiperOrigin-RevId: 693808783
1 month ago
Protobuf Team Bot
54b4180302
Internal change
...
PiperOrigin-RevId: 693808404
1 month ago
Protobuf Team Bot
62f9320b47
Auto-generate files after cl/693801612
1 month ago
Protobuf Team Bot
b96f2881aa
Auto-generate files after cl/693799584
1 month ago
Hong Shin
a862499b19
upb: Add upb_Message_GetExtensionMessage
...
PiperOrigin-RevId: 693801612
1 month ago
Chris Kennelly
d9a8e7a8fc
Internal change
...
PiperOrigin-RevId: 693800434
1 month ago