Protobuf Team Bot
084d9702d6
Internal change
...
PiperOrigin-RevId: 521532900
2 years ago
Marcel Hlopko
ef299f7af4
Disable some tests under msan
...
PiperOrigin-RevId: 521505590
2 years ago
Mike Kruskal
02cdbd7202
Internal changes
...
PiperOrigin-RevId: 521028876
2 years ago
Protobuf Team Bot
585a98cb66
Automated rollback of commit 580678eacd
.
...
PiperOrigin-RevId: 521009823
2 years ago
Protobuf Team Bot
580678eacd
Refactor ARM-optimized varint parsing.
...
This change improves deserialization performance by in two ways:
1) VarintParseSlowArm32 and VarintParseSlowArm64 return a pair for the updated buffer pointer and parsing result instead of storing the result and returning just the pointer. This allows the parsed result to be returned to higher level code in x1 rather than via the stack.
2) Remove prohibition on inlining VarintParseSlowArm32 and VarintParseSlowArm64. This prohibition was originally included to avoid bloating non-TDP code. Now that TDP is enabled the impact on code size is small.
PiperOrigin-RevId: 520985945
2 years ago
Deanna Garcia
3f8625b306
Edit READMEs to include new cmake instructions and remove references to language specific source distributions.
...
PiperOrigin-RevId: 520980524
2 years ago
Deanna Garcia
4b3844e596
Delete unused bazel distribution rules.
...
We intended to use these for our release page, but we instead removed language-specific source files and use github commands to generate the full zip/tar file we release.
PiperOrigin-RevId: 520979818
2 years ago
Protobuf Team Bot
defe92a03c
Clang's unsigned integer overflow sanitizer is flagging BucketNumber as having an overflow. This seems to be intentional, and we should disable the sanitizer for this function.
...
PiperOrigin-RevId: 520968947
2 years ago
Mike Kruskal
2a798b07ff
Internal change.
...
PiperOrigin-RevId: 520962747
2 years ago
Jie Luo
47861d2892
Add wire format cord support for singular bytes
...
PiperOrigin-RevId: 520690714
2 years ago
Martijn Vels
0032f200e9
Fix IsEagerSerializeSafe() and kParseError behavior
...
PiperOrigin-RevId: 520664827
2 years ago
Augie Fackler
648060bbcb
Internal change.
...
PiperOrigin-RevId: 520627020
2 years ago
Jakob Buchgraber
515175db66
Build & test Rust compiler on GHA
...
PiperOrigin-RevId: 520578368
2 years ago
Jakob Buchgraber
52d3dc688c
Refactor Rust UPB codegen to prepare for field accessors
...
The idea is that after this refactoring we implement the codegen for field accessors by adding another template variable, like
p.Emit(
...
$ImplMessageFunctions$;
$ImplFieldAccessors$;
...
)
PiperOrigin-RevId: 520571021
2 years ago
Marcel Hlopko
ebbb2d656f
Visibility restrict targets generated by rust_proto_library macro
...
PiperOrigin-RevId: 520561115
2 years ago
Mike Kruskal
83507c7f4e
Implement a retain_options flag in protoc.
...
This will allow users to force the retention of RETENTION_SOURCE options, which get stripped out by default.
PiperOrigin-RevId: 520555632
2 years ago
Protobuf Team Bot
4ee65df9f2
Auto-generate files after cl/520526112
2 years ago
Mike Kruskal
676018e352
Expand retention stripping API, and improve test coverage
...
PiperOrigin-RevId: 520526112
2 years ago
Sandy Zhang
8c8b2be3a8
Breaking change: Lock down visibility for FileDescriptor.getSyntax().
...
Syntax will become meaningless once we migrate to editions. In the meantime, we've implemented APIs to expose the differences between proto2 and proto3 in terms of the features we plan to release in edition 2023.
PiperOrigin-RevId: 520433607
2 years ago
Protobuf Team Bot
5dc171f71e
Extension declaration: Enforce that if the extension range has a declaration then all extensions in that range must be declared. This should prevent non-declared extensions from being added.
...
PiperOrigin-RevId: 520415909
2 years ago
Mike Kruskal
db126ca653
Fix exhaustive switch issue in Rust generator
...
PiperOrigin-RevId: 520398035
2 years ago
Mike Kruskal
2eda0cc44c
Add optimizations to extension declaration validation.
...
PiperOrigin-RevId: 520386119
2 years ago
Mike Kruskal
f9fa1f4873
Automated rollback of commit b72eb3f233
.
...
PiperOrigin-RevId: 520363442
2 years ago
Marcel Hlopko
d9a8622fac
Enable bzl visibility for Protobuf Rust rules
...
PiperOrigin-RevId: 520319698
2 years ago
Jakob Buchgraber
dbf97258bd
Enable support for rust_upb_proto_library and rust_cc_proto_library within the same build
...
PiperOrigin-RevId: 520314976
2 years ago
Mike Kruskal
b72eb3f233
Add optimizations to extension declaration validation.
...
PiperOrigin-RevId: 520159132
2 years ago
Mike Kruskal
5bf843b3d5
Internal changes
...
PiperOrigin-RevId: 520120295
2 years ago
Mike Kruskal
f128ced675
Internal Code Change
...
PiperOrigin-RevId: 520076528
2 years ago
Deanna Garcia
8aff59e1c4
Suppress -Wunused-parameter warning for GCC and clang.
...
Closes https://github.com/protocolbuffers/protobuf/issues/12313
PiperOrigin-RevId: 520066451
2 years ago
Protobuf Team Bot
6ae84761bf
Auto-generate files after cl/520049946
2 years ago
Mike Kruskal
3f4af6661a
Internal Code Change
...
PiperOrigin-RevId: 520049946
2 years ago
Jakob Buchgraber
4745f526d4
Small style guide, naming and formatting fixes
...
PiperOrigin-RevId: 519993508
2 years ago
Jakob Buchgraber
8c92452c99
Split UPB and C++ kernel codegen into their own functions
...
PiperOrigin-RevId: 519977094
2 years ago
Protobuf Team Bot
e2f3d64742
Internal change.
...
PiperOrigin-RevId: 519859619
2 years ago
Mike Kruskal
dff36c7d02
Update source code info when stripping source-retention options
...
When we invoke protoc with `--include_source_info --descriptor_set_out`, we
currently strip out source-retention options but without doing the
corresponding stripping of the source code info. This CL fixes that problem by
making sure to strip the same entities from source code info that we stripped
from the main part of the descriptors.
PiperOrigin-RevId: 519831383
2 years ago
Mike Kruskal
0549e52188
Internal Code Change
...
PiperOrigin-RevId: 519775744
2 years ago
cpovirk
d60af33f09
Internal Change
...
PiperOrigin-RevId: 519771456
2 years ago
Protobuf Team Bot
5b59a02b91
Auto-generate files after cl/519752053
2 years ago
Mike Kruskal
145900f06c
Open-source extension declaration definition.
...
PiperOrigin-RevId: 519752053
2 years ago
Protobuf Team Bot
3a871acca0
Fix internal build breakage
...
PiperOrigin-RevId: 519277200
2 years ago
Adam Cozzette
42c2b7ec60
Internal change
...
PiperOrigin-RevId: 519260063
2 years ago
Jie Luo
6ecb5d097e
Added Reflection::GetCord() method in C++
...
PiperOrigin-RevId: 519246549
2 years ago
Jonas Kvinge
477e35f4c2
Add missing cstdint include to port.h ( #12331 )
...
Fixes compile errors with GCC 13.
port.h:186:67: error: ‘uint32_t’ was not declared in this scope
port.h:187:67: error: ‘uint64_t’ was not declared in this scope
Closes #12331
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12331 from jonaski:cstdint 9bef449478
PiperOrigin-RevId: 519208789
2 years ago
Mike Kruskal
3e188b7c04
Automated rollback of commit 1d7bda4a78
.
...
PiperOrigin-RevId: 519177322
2 years ago
Yamamoto, Hirotaka
620eebecde
Add Cybozu to options.md ( #12324 )
...
Hello.
We want to make our protobuf repository public which contains a custom extension.
Our code is already available at https://github.com/cybozu/protobuf .
Please let us use extension number 1179.
Regards,
Closes #12324
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12324 from ymmt2005:patch-1 b0a5171211
PiperOrigin-RevId: 519022489
2 years ago
Protobuf Team Bot
53f3cf8e15
Internal changes
...
PiperOrigin-RevId: 519008855
2 years ago
Martijn Vels
dbbe317b4f
Small optimization: move TcParser::Error() out of line
...
PiperOrigin-RevId: 518943474
2 years ago
Jakob Buchgraber
ef53613b42
Add GHA workflow for Rust
...
PiperOrigin-RevId: 518933228
2 years ago
Protobuf Team Bot
4562c1c235
Internal change.
...
PiperOrigin-RevId: 518884627
2 years ago
Protobuf Team Bot
34517b6456
Internal changes to extensions.
...
PiperOrigin-RevId: 518691032
2 years ago