Protobuf Team Bot
ab53bda703
Removed unused variable.
...
PiperOrigin-RevId: 567157437
1 year ago
Adam Cozzette
9df1d76970
Prepare to reorganize upb file structure
...
I am getting ready to move almost everything under the upb/ directory up one
level to integrate upb better into its new location in the protobuf repo. This
change makes a few tweaks to prepare for that:
- Delete upb's LICENSE and CONTRIBUTING.md files since we already have similar
files at the top level.
- Rename `//python:python_version` so that it won't conflict later with
`//upb/python:python_version`.
- Move the contents of python/BUILD.bazel out to a Bazel macro to facilitate
merging that BUILD.bazel file with upb/python/BUILD.
PiperOrigin-RevId: 567119840
1 year ago
Protobuf Team Bot
33b78e67a9
Move Status error construction to helper NOINLINE functions to reduce stack
...
cost in the recursive functions.
Reduce the number of temporaries in the stack frame.
PiperOrigin-RevId: 567087381
1 year ago
Hong Shin
5fc9a3befd
Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full.
...
PiperOrigin-RevId: 567074295
1 year ago
Protobuf Team Bot
5d042f1af5
Auto-generate files after cl/567023292
1 year ago
Hong Shin
aa41f50562
Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full.
...
PiperOrigin-RevId: 567023292
1 year ago
Protobuf Team Bot
3892ab4fbb
Auto-generate files after cl/566724420
1 year ago
Jin Chao
9471a88225
`__NDK_MAJOR` should be `__NDK_MAJOR__` ( #14046 )
...
compilation error occurs when compiling on Android system.
Closes #14046
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/14046 from thejinchao:main 68d79d01b2
PiperOrigin-RevId: 566773496
1 year ago
Mike Kruskal
b577d8d1b9
Internal changes
...
PiperOrigin-RevId: 566724420
1 year ago
Protobuf Team Bot
ccdc27f8e0
Auto-generate files after cl/566724420
1 year ago
Mike Kruskal
104ab88079
Internal changes
...
PiperOrigin-RevId: 566724420
1 year ago
Protobuf Team Bot
0b53821a62
Auto-generate files after cl/566724420
1 year ago
Mike Kruskal
261900ed8f
Internal changes
...
PiperOrigin-RevId: 566724420
1 year ago
Protobuf Team Bot
bd483cbda6
Auto-generate files after cl/566724420
1 year ago
Mike Kruskal
42ce028575
Internal changes
...
PiperOrigin-RevId: 566724420
1 year ago
Protobuf Team Bot
557f7bce2f
Auto-generate files after cl/566724420
1 year ago
Mike Kruskal
4f46a3ffeb
Internal changes
...
PiperOrigin-RevId: 566724420
1 year ago
Protobuf Team Bot
e05f9e34e5
Auto-generate files after cl/566714350
1 year ago
Thomas Van Lenten
51cbe921bb
[ObjC] Move storage type info over to the new helper.
...
PiperOrigin-RevId: 566714350
1 year ago
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