Martijn Vels
ddde013bd8
Add Cord based Parse and Serialize logic to MessageLite
...
PiperOrigin-RevId: 494887062
2 years ago
Martijn Vels
5e2a4a73ed
Unify alignment logic
...
This change implements the existing 'Align*' logic in terms of `arena_align.h` enabling further cleanups and a long needed split of arena_impl.h into serial_arena.h and thread_safe_arena.h. The latter reduces the cost of adding new features or optimizations to arena.
PiperOrigin-RevId: 494877304
2 years ago
Mike Kruskal
2e0145b240
Internal changes
...
PiperOrigin-RevId: 494875036
2 years ago
Mike Kruskal
d7610a4a32
Internal changes
...
PiperOrigin-RevId: 494869411
2 years ago
Protobuf Team Bot
ad746163bc
Remove MOA experiment flag.
...
PiperOrigin-RevId: 494865635
2 years ago
Mike Kruskal
3cdee9a70c
Internal changes
...
PiperOrigin-RevId: 494853699
2 years ago
Protobuf Team Bot
0ef2e548ad
Internal Change
...
PiperOrigin-RevId: 494849648
2 years ago
Protobuf Team Bot
f6f6af5472
Internal change
...
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11257 from Neakxs:apply-registration-for-protocel-extensions 8d04626e85
PiperOrigin-RevId: 494841129
2 years ago
Eric Salo
1050599cb0
update protobuf_deps.bzl to pull in the latest upb
...
PiperOrigin-RevId: 494793478
2 years ago
Protobuf Team Bot
d955a548e1
Fix open-source builds due to references to lazy fields.
...
PiperOrigin-RevId: 494789853
2 years ago
Eric Salo
1f58f1d7b8
allow reserved enums to be negative
...
https://github.com/protocolbuffers/upb/issues/1024
PiperOrigin-RevId: 494414605
2 years ago
Mike Kruskal
912850b6f4
Fix python breakage from bad export
...
PiperOrigin-RevId: 494305314
2 years ago
Protobuf Team Bot
e5b3edd0ed
Remove unused MOA code.
...
PiperOrigin-RevId: 494296827
2 years ago
Protobuf Team Bot
5bac838d48
Unify alignment logic
...
This change implements the existing 'Align*' logic in terms of `arena_align.h` enabling further cleanups and a long needed split of arena_impl.h into serial_arena.h and thread_safe_arena.h. The latter reduces the cost of adding new features or optimizations to arena.
PiperOrigin-RevId: 494291562
2 years ago
Protobuf Team Bot
090be34081
Auto-generate files after cl/494281361
2 years ago
Mike Kruskal
40ce34a479
Internal changes
...
PiperOrigin-RevId: 494281361
2 years ago
Protobuf Team Bot
615bdd3e2a
Add a mechanism for placing comments in Emit() calls that are not reproduced in the output.
...
PiperOrigin-RevId: 494274364
2 years ago
Martijn Vels
1c23c75aa7
Unify alignment logic
...
This change implements the existing 'Align*' logic in terms of `arena_align.h` enabling further cleanups and a long needed split of arena_impl.h into serial_arena.h and thread_safe_arena.h. The latter reduces the cost of adding new features or optimizations to arena.
PiperOrigin-RevId: 494259282
2 years ago
Protobuf Team Bot
4ae9dda0e1
Add Printer::Sub for finer configuration of how a variable substitution is processed.
...
In particular, this allows for configuring what the "consume after" characters that follow
a $...$ are, which previously were ";," for callback subs and "" for everything else.
In a followup the three-argument constructor for Sub will be removed and replaced with
calls to Annotate().
Also, calls to WithVars still reject closure arguments, but this check happens at runtime
now. This is a minor papercut for users that simplifies the implementation of Sub and
related private types immensely.
PiperOrigin-RevId: 494254545
2 years ago
Martijn Vels
821b0732f2
Cleanup ThreadCache and LifeCycledId
...
PiperOrigin-RevId: 494254080
2 years ago
Joshua Haberman
a49bfa9825
Fixed text_format_test.py's imports.
...
PiperOrigin-RevId: 494249469
2 years ago
Protobuf Team Bot
e57ab5f643
Add a mechanism for placing comments in Emit() calls that are not reproduced in the output.
...
PiperOrigin-RevId: 494242395
2 years ago
Martijn Vels
e9fbfbd327
Cleanup portable defines for NO_THREAD_LOCAL and kCacheAlignment
...
PiperOrigin-RevId: 494225084
2 years ago
Protobuf Team Bot
2c999118ff
Auto-generate files after cl/494213745
2 years ago
Protobuf Team Bot
f7af94c076
Remove MOA logic for constructor/destructor path.
...
PiperOrigin-RevId: 494213745
2 years ago
Protobuf Team Bot
5e43ea27cb
Refactor the codepath for unknown field handling.
...
This simplifies adding more operations without widening the side channel.
PiperOrigin-RevId: 494200747
2 years ago
Protobuf Team Bot
176e67b2e6
Auto-generate files after cl/494193350
2 years ago
Protobuf Team Bot
c5c5332d80
Add a tokenizer inside of io::Printer.
...
This change extracts the existing tokenization logic into one function and
tweaks it slightly, making it easier to understand how format strings are tokenized
at the cost of a few allocations.
Most of the changes in generated code are due to slight changes in how indentation are handled that harmlessly confuse some odd uses of cpp::Formatter; Emit() is not impacted.
PiperOrigin-RevId: 494193350
2 years ago
Mike Kruskal
cdc56ab1b7
Internal changes
...
PiperOrigin-RevId: 494184752
2 years ago
Protobuf Team Bot
fb8862f781
Temporarily allow a generator flag (message_owned_arena_trial) that does nothing.
...
PiperOrigin-RevId: 494087956
2 years ago
Martijn Vels
ee50dd1b9b
Remove ArenaMetricsCollector as it is not used?
...
PiperOrigin-RevId: 494052943
2 years ago
Jie Luo
324f26e0cd
Internal change only
...
PiperOrigin-RevId: 494030289
2 years ago
Mike Kruskal
ac1fee677e
Internal changes
...
PiperOrigin-RevId: 494027305
2 years ago
Mike Kruskal
308307050e
Internal changes
...
PiperOrigin-RevId: 493997080
2 years ago
Mike Kruskal
d64a5c44e4
Internal changes
...
PiperOrigin-RevId: 493996493
2 years ago
Protobuf Team Bot
9e0e7d5f59
Auto-generate files after cl/493986824
2 years ago
Mike Kruskal
032c9c8ada
Internal changes
...
PiperOrigin-RevId: 493986824
2 years ago
ericsalo
233651ca8a
Merge pull request #11210 from protocolbuffers/main-202212081032
...
Main 202212081032
2 years ago
Eric Salo
3718254ac1
Updating changelog
2 years ago
Protobuf Team Bot
99eb7fa891
Updating version.json and repo version numbers to: 21.11
2 years ago
Mike Kruskal
a02c9021cc
Internal changes
...
PiperOrigin-RevId: 493963097
2 years ago
Jie Luo
ea1c922d75
Internal change only
...
PiperOrigin-RevId: 493925498
2 years ago
Protobuf Team Bot
fad90711ca
Reduce the stack cost of building descriptors. This reduces the chance of stack
...
overflows when the descriptor building recurses into sub-files.
PiperOrigin-RevId: 493911265
2 years ago
Protobuf Team Bot
c0a26ed486
Internal code clean up.
...
PiperOrigin-RevId: 493746870
2 years ago
Jie Luo
b9eb6bf759
Internal change only
...
PiperOrigin-RevId: 493742523
2 years ago
Mike Kruskal
7e861cc593
Internal changes
...
PiperOrigin-RevId: 493729702
2 years ago
Protobuf Team Bot
22a133994f
Internal code cleanup.
...
PiperOrigin-RevId: 493711514
2 years ago
Protobuf Team Bot
896be3767a
Internal change.
...
PiperOrigin-RevId: 493693442
2 years ago
Mike Kruskal
55f90b6542
Internal changes
...
PiperOrigin-RevId: 493650923
2 years ago
Protobuf Team Bot
c6ede6e05a
Add an allowlist for implementation reserved fields for the C++ implementation.
...
This also includes `protoc`.
The allowlist is currently empty.
PiperOrigin-RevId: 493635020
2 years ago