Protobuf Team Bot
6864a4d0b6
Auto-generate files after cl/566699046
1 year ago
Protobuf Team Bot
bec7b66735
Auto-generate files after cl/566695697
1 year ago
Hong Shin
fab6920207
Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full.
...
PiperOrigin-RevId: 566699046
1 year ago
Thomas Van Lenten
b70e0fe3fd
[ObjC] Move the property decls over to the new api.
...
PiperOrigin-RevId: 566695697
1 year ago
Protobuf Team Bot
215154eb2c
Auto-generate files after cl/566655900
1 year ago
Protobuf Team Bot
cca1678fdb
Internal change
...
PiperOrigin-RevId: 566655900
1 year ago
Protobuf Team Bot
18e561a113
Auto-generate files after cl/566643424
1 year ago
Thomas Van Lenten
28a5b5c2ec
[ObjC] Add utility for getting the ObjC type for a file.
...
PiperOrigin-RevId: 566643424
1 year ago
Protobuf Team Bot
b58bd40e1c
Auto-generate files after cl/566638331
1 year ago
Protobuf Team Bot
d7abdcffbe
Auto-generate files after cl/566630278
1 year ago
Joshua Haberman
0f02930475
Added field-level control over UTF-8 enforcement, and started respecting `enforce_utf8` in google3.
...
Prior to this CL, upb MiniDescriptors only allowed per-message control over UTF-8. This CL adds a new field-level modifier to upb MiniDescriptors that can flip a field to the opposite of the message default, like we already have for packed, allowing per-field control over UTF-8 validation.
PiperOrigin-RevId: 566638331
1 year ago
Protobuf Team Bot
df77c90305
Internal change
...
PiperOrigin-RevId: 566630278
1 year ago
Protobuf Team Bot
986cbb647b
Auto-generate files after cl/566628155
1 year ago
Protobuf Team Bot
c98ef06291
Reserve/InternalExtend use capacity instead of size as input.
...
This allows to remove branch from `InternalExtend` which is beneficial for small fields.
PiperOrigin-RevId: 566628155
1 year ago
Mike Kruskal
5ba3f03d1f
Ban packed option in editions.
...
This has been replaced with a feature in edition 2023, and we shouldn't allow both to be specified.
PiperOrigin-RevId: 566450709
1 year ago
Hong Shin
748d465a2d
Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full.
...
PiperOrigin-RevId: 566444036
1 year ago
Sandy Zhang
81068e8e8c
Internal change
...
PiperOrigin-RevId: 566426899
1 year ago
Protobuf Team Bot
f54f8b2a20
Automated rollback of commit 6fc84676c1
.
...
PiperOrigin-RevId: 566424065
1 year ago
Hong Shin
80a4df3306
Add support accessing simple scalars (int32s, bools, and floats) in submessages
...
PiperOrigin-RevId: 566403598
1 year ago
Hong Shin
df1aad1617
Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full.
...
PiperOrigin-RevId: 566399737
1 year ago
Thomas Van Lenten
2e5b1e50c4
[ObjC] Properly scope enum names to avoid naming collisions.
...
PiperOrigin-RevId: 566314136
1 year ago
Protobuf Team Bot
f718cd8f61
Internal change
...
PiperOrigin-RevId: 566299929
1 year ago
Protobuf Team Bot
473d20d38d
Auto-generate files after cl/565789618
1 year ago
Eric Salo
7e3d5c938b
upb: refactor and relocate message_value.h (and make it public)
...
PiperOrigin-RevId: 565789618
1 year ago
Protobuf Team Bot
a2b33d0f0c
Auto-generate files after cl/565782401
1 year ago
Protobuf Team Bot
a6a922d6cd
Internal change
...
PiperOrigin-RevId: 565782401
1 year ago
Protobuf Team Bot
43a0acb9c0
Auto-generate files after cl/565775188
1 year ago
Thomas Van Lenten
a1e8ff0b16
[ObjC] ClangTidy fixes, no functional changes.
...
PiperOrigin-RevId: 565779732
1 year ago
Protobuf Team Bot
6fc84676c1
Move `GetTypeName` implementation into `ClassData`.
...
For LITE messages we append the type name to the data, avoiding an
indirection and a relocation.
For descriptor messages we mark them as such and have a secondary vtable. This
way we avoid having to put those pointers on each message ClassData. We save in
data size and relocations. If in the future we determine that the extra jump is
costly we can inline the relevant descriptor method pointers into `ClassData`.
PiperOrigin-RevId: 565775188
1 year ago
Protobuf Team Bot
111d655427
Auto-generate files after cl/565767975
1 year ago
Joshua Haberman
0fbe525095
#include foo.upb_minitable.h instead of having foo.upb.h forward-declare MiniTables.
...
PiperOrigin-RevId: 565767975
1 year ago
Protobuf Team Bot
8b08c70b23
Auto-generate files after cl/565732334
1 year ago
Jie Luo
b1c4c65658
On demand create message meta class for upb python
...
PiperOrigin-RevId: 565733360
1 year ago
Protobuf Team Bot
1f224119af
Internal change
...
PiperOrigin-RevId: 565732334
1 year ago
Protobuf Team Bot
1b666e4c64
Auto-generate files after cl/565713277
1 year ago
Protobuf Team Bot
139ff29ed1
Internal change
...
PiperOrigin-RevId: 565713277
1 year ago
Protobuf Team Bot
a36dda8f40
Auto-generate files after cl/565698395
1 year ago
Mike Kruskal
e27ea5d964
Fix test cruft, migrating all actions to v2 of protobuf-ci
...
PiperOrigin-RevId: 565700790
1 year ago
Joshua Haberman
0a4c8cbd8d
Optimized google3 build by not including the empty .upb.c file.
...
Unfortunately in OSS with Bazel it appears that we must include this empty file, otherwise we get compile errors. More info in: b/300637173
PiperOrigin-RevId: 565699708
1 year ago
Protobuf Team Bot
e690f27dda
Internal change
...
PiperOrigin-RevId: 565698395
1 year ago
Protobuf Team Bot
321f6dee25
Auto-generate files after cl/565679918
1 year ago
Protobuf Team Bot
aac142d67b
Use Emit to generate InternalVerify.
...
PiperOrigin-RevId: 565682319
1 year ago
Protobuf Team Bot
9e8fdd0167
Forward-declare extension minitables in the header file generated by the `upb_minitable_proto_library()` rule
...
PiperOrigin-RevId: 565679918
1 year ago
Protobuf Team Bot
0722deab99
Auto-generate files after cl/565665669
1 year ago
Protobuf Team Bot
9b8f042770
Improve loops in RepeatedPtrField.
...
We do not want to repeatedly check `using_sso` when iterating over an array. Hence instead of using `Get(i) / Mutable(i)` from base class, we request a pointer to the underlying array (thus, reducing number of checks from N to 1).
Additionally, there is a loop with a `Delete` call - updated it to use `CommonHandler`, so that it reduces code bloat.
PiperOrigin-RevId: 565665669
1 year ago
Protobuf Team Bot
991cfb4a67
Auto-generate files after cl/565541640
1 year ago
Protobuf Team Bot
edf364fcd0
Include wire_format_verify.h
...
PiperOrigin-RevId: 565541640
1 year ago
Protobuf Team Bot
d11eb716ed
Auto-generate files after cl/565518070
1 year ago
Joshua Haberman
2b87999fc1
Added new, split upb rules for MiniTables and the C API.
...
The new rules are:
- `upb_minitable_proto_library()`: contains the MiniTables only
- `upb_c_proto_library()`: Contains the C API. Depends on the MiniTables
This involved splitting upb code generation into two separate aspects, one for MiniTables and one for the C API.
PiperOrigin-RevId: 565518070
1 year ago
Hong Shin
f7de3bf1a9
Update Protobuf readme copyright header
...
PiperOrigin-RevId: 565473469
1 year ago