Hong Shin
7fe5d1d217
hpb: Parse - remove unread options arg
...
PiperOrigin-RevId: 698524915
3 months ago
Protobuf Team Bot
36111c2e6b
Auto-generate files after cl/698497070
3 months ago
Hong Shin
6ce48c2d02
Automated rollback of commit 6b9d5c425e
.
...
PiperOrigin-RevId: 698499250
3 months ago
Protobuf Team Bot
db71344633
Move iteration APIs to headers, so they're inlined in loop calls
...
PiperOrigin-RevId: 698497070
3 months ago
Deanna Garcia
20b6e24cce
Internal change
...
PiperOrigin-RevId: 698486283
3 months ago
Hong Shin
6b9d5c425e
hpb: when parsing T*'s, delegate to the canonical Ptr<T>
...
PiperOrigin-RevId: 698458386
3 months ago
Protobuf Team Bot
c8c9cf32c4
Auto-generate files after cl/698437576
3 months ago
Protobuf Team Bot
35dbd5cfd6
Use an explicit union with commented explanation rather than casting
...
PiperOrigin-RevId: 698437576
3 months ago
Protobuf Team Bot
95c2cb8597
Auto-generate files after cl/698430014
3 months ago
Protobuf Team Bot
03d24e3805
Auto insert the version number into the Cargo.toml files.
...
PiperOrigin-RevId: 698432644
3 months ago
Jie Luo
3781f45f39
Fix a python bug that UPB and Python C++ extension assume MessageSet extensions are ordered first
...
PiperOrigin-RevId: 698430014
3 months ago
Protobuf Team Bot
f5a293768f
Drop Python 3.8 support
...
This was previously announced in https://engdoc.corp.google.com/eng/doc/devguide/proto/news/2024-10-02.md#dropping-python-38-support per our support policies.
#test-continuous
PiperOrigin-RevId: 698398370
3 months ago
Kaikai
3ba0709048
fix(example): c++14 limitation ( #19292 )
...
fix the bug:
```shell
‘std::string_view’ is only available from C++17 onwards
```
The error occurs because the code is being compiled using the C++14 standard, which does not include the std::string_view type introduced in C++17. The Abseil library (absl), used by Protocol Buffers, includes absl/strings/string_view.h, which uses std::string_view. This causes the compilation to fail in environments configured with C++14 or earlier.
In the provided build system, the file add_person.cc is being compiled using the -std=c++14 flag, which is incompatible with code depending on features from C++17 (e.g., std::string_view).
Closes #19292
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/19292 from Kaikaikaifang:patch-1 ee276ffd0b
PiperOrigin-RevId: 698223950
3 months ago
Jie Luo
d3e9897b03
Fix a python bug for text_format pretty print when Struct in Any
...
Struct has a default bool function, and empty Struct returns False for bool().
Should compare with None instead of bool() when check if Struct is able to be
created.
PiperOrigin-RevId: 698205106
3 months ago
Kurt Alfred Kluever
0e6a310156
Add a unit test demonstrating broken `Timestamps.parse()` behavior.
...
PiperOrigin-RevId: 698179372
3 months ago
Protobuf Team Bot
45ccf25099
Auto-generate files after cl/698144846
3 months ago
Protobuf Team Bot
a4ab874476
Auto-generate files after cl/698144412
3 months ago
Protobuf Team Bot
b428e53016
Propagate aliasing option to parse of unknown fields
...
No implementation hooked up yet.
PiperOrigin-RevId: 698144846
3 months ago
Protobuf Team Bot
8a17c53a5c
Internal change
...
PiperOrigin-RevId: 698144412
3 months ago
Protobuf Team Bot
7e9e8db4f6
Auto-generate files after cl/698134895
3 months ago
Protobuf Team Bot
fdc83b9fe7
Internal change
...
PiperOrigin-RevId: 698134895
3 months ago
Protobuf Team Bot
c172b3d238
Auto-generate files after cl/698125313
3 months ago
Protobuf Team Bot
7d195da677
Internal change
...
PiperOrigin-RevId: 698125313
3 months ago
Protobuf Team Bot
2d14a70eb7
Auto-generate files after cl/698095451
3 months ago
Hong Shin
cf46e11af8
Simplification: remove unused hpb::Parse invocations
...
Too many parseses... like bagginses.. we can expand once the need arises, yess
PiperOrigin-RevId: 698105703
3 months ago
Protobuf Team Bot
fe61c44681
Internal change
...
PiperOrigin-RevId: 698095451
3 months ago
Protobuf Team Bot
a1d73ff664
Auto-generate files after cl/698094874
3 months ago
Vitaly Goldshteyn
a8c4159734
Add a comment that `is_cleared` is always false for repeated fields.
...
Also added a test to verify that no uninitialized access happens in NumExtensions.
Creation `Extension()` does zero initialization. Illustration: https://gcc.godbolt.org/z/37j8hrb9T
PiperOrigin-RevId: 698094874
3 months ago
Protobuf Team Bot
ea0ab2d9a5
Auto-generate files after cl/698068189
3 months ago
Protobuf Team Bot
13157d471c
Internal change
...
PiperOrigin-RevId: 698068189
3 months ago
Protobuf Team Bot
ec5acb686c
Auto-generate files after cl/698062640
3 months ago
Protobuf Team Bot
320cd47cec
Introduce BUILD files by the rust /cargo, /protobuf_codegen and protobuf_codegen/example directories.
...
PiperOrigin-RevId: 698062640
3 months ago
Protobuf Team Bot
c5cd6a2203
Auto-generate files after cl/698037030
3 months ago
Evan Brown
685f2dd9ea
Internal change
...
PiperOrigin-RevId: 698037030
3 months ago
Protobuf Team Bot
ce4c572a60
Auto-generate files after cl/698031256
3 months ago
Protobuf Team Bot
44b188fdff
Internal change
...
PiperOrigin-RevId: 698031256
3 months ago
Protobuf Team Bot
416de3a279
Auto-generate files after cl/698015352
3 months ago
Hong Shin
74cbd3126f
hpb: refactor repeated tests to repeated_test.cc
...
PiperOrigin-RevId: 698015352
3 months ago
Protobuf Team Bot
347e0bb525
Auto-generate files after cl/698010022
3 months ago
Hong Shin
cd837fd6bf
upb: Add upb_Message_GetExtensionMutableArray
...
PiperOrigin-RevId: 698010022
3 months ago
Protobuf Team Bot
8aa3d35a37
Auto-generate files after cl/697978654
3 months ago
Protobuf Team Bot
c014e96a59
Internal
...
PiperOrigin-RevId: 697986670
3 months ago
Protobuf Team Bot
453f39d397
Internal change
...
PiperOrigin-RevId: 697978654
3 months ago
Protobuf Team Bot
8586e0f8be
Auto-generate files after cl/697978002
3 months ago
Protobuf Team Bot
4845eec227
Internal version update.
...
PiperOrigin-RevId: 697978002
3 months ago
Protobuf Team Bot
3c9d98cad9
Auto-generate files after cl/697911107
3 months ago
Protobuf Team Bot
a002812006
Internal change
...
PiperOrigin-RevId: 697911107
3 months ago
Protobuf Team Bot
403defd7d6
Auto-generate files after cl/697864682
3 months ago
Protobuf Team Bot
4df1164ecf
Internal change
...
PiperOrigin-RevId: 697864682
3 months ago
Protobuf Team Bot
8b2efee24c
Auto-generate files after cl/697804639
3 months ago