Jan Tattermusch
19c0d73fb9
test WriteContext writing with multiple flushes
5 years ago
Jan Tattermusch
53708e2f15
test writing to a stackalloc buffer
5 years ago
Jan Tattermusch
e14a5c8fe6
address a few TODOs
5 years ago
Jan Tattermusch
43dcee2fa9
remove some todos
5 years ago
Jan Tattermusch
3375e251f9
optimize writing non-ascii strings
5 years ago
Jan Tattermusch
3dad187707
add benchmark for writing of NonAsciiStrings
5 years ago
Jan Tattermusch
8a2d5884bf
address review comments
5 years ago
Jan Tattermusch
a296413b5a
optimize WriteFloat
5 years ago
Jan Tattermusch
886c263a3c
initial version of write benchmarks
5 years ago
Jan Tattermusch
b2c94974b2
remove a TODO
5 years ago
Jan Tattermusch
56372898cf
test writing with different blocksizes
5 years ago
Jan Tattermusch
f9f92a6dd2
increase test coverage
5 years ago
Jan Tattermusch
94e64f2c0b
a bit more cleanup
5 years ago
Jan Tattermusch
ba61d76e52
simplify serialization to single span
5 years ago
Jan Tattermusch
b3cdba1cfd
increase test coverage
5 years ago
Jan Tattermusch
7bfaaba534
cleanup coded output stream
5 years ago
Jan Tattermusch
9039103637
message extensions + refactor
5 years ago
Jan Tattermusch
8dbf707aa0
add more tests
5 years ago
Jan Tattermusch
1e1d455423
add WriteFloat TODO
5 years ago
Jan Tattermusch
2bce090f32
add more tests
5 years ago
Jan Tattermusch
ecbb29d354
add WriteContext.Flush() method
5 years ago
Jan Tattermusch
3cdc107bda
fix bug in RefreshBuffer
5 years ago
Jan Tattermusch
90d4969bd1
LegacyGeneratedCodeTest now passing
5 years ago
Jan Tattermusch
361c933a58
annotate ByteString.Span and ByteString.Memory as SecuritySafeCritical
5 years ago
Jan Tattermusch
9070389516
regenerate code
5 years ago
Jan Tattermusch
2b9a73e948
fix codegen
5 years ago
Jan Tattermusch
ea1d55927d
test are almost passing
5 years ago
Jan Tattermusch
125e4ad267
regenerate C# protos
5 years ago
Jan Tattermusch
d3eddf7e2d
make everything build, with some TODOs
5 years ago
Jan Tattermusch
dda621749c
codegen for WriteContext based serialization
5 years ago
Jan Tattermusch
ca7bc464a9
make all writing use WriteContext
5 years ago
Jan Tattermusch
c17af44172
apply SecuritySafeCritical attribute
5 years ago
Jan Tattermusch
5742a64eea
fix WriteString bug
5 years ago
Jan Tattermusch
5fc49bdd5a
fix a bunch of bugs
5 years ago
Jan Tattermusch
d0e08f546d
entire solution builds now
5 years ago
Jan Tattermusch
ee6b20afbe
CodedOutputStream adjustments
5 years ago
Jan Tattermusch
f9d9019e27
more progress
5 years ago
Jan Tattermusch
fe147994c8
progress: stuff almost builds now
5 years ago
Jan Tattermusch
a329764603
fix typo in ParserInternalState
5 years ago
Jan Tattermusch
c855561c54
initial implementation of buffer encoding
5 years ago
Jan Tattermusch
7cb5597013
Overcome the `ref struct` limitation for pre-roslyn compilers by introducing GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE for generated code ( #7490 )
...
* enable compatibility mode in codegen
* regenerate protos
* improve readability
* more robust way of figuring out path to old C# compiler
* add recent C# changes
5 years ago
Joshua Haberman
c0b79c5a39
Merge pull request #7583 from haberman/sync-stage
...
Integrate from Piper for C++, Java, and Python
5 years ago
Joshua Haberman
8d93bc1826
Normalized formatting of macros.
...
It's a bit unforuntate to lose the nesting, but
that's what clang-format is telling us here.
5 years ago
Joshua Haberman
75e4c446a3
Added changelog entries for Piper sync.
5 years ago
Joshua Haberman
183cdec7cd
Sync from Piper @314226556
...
PROTOBUF_SYNC_PIPER
5 years ago
Harvey Tuch
e492e5a4ef
Fix depset/list confusion in #7458 .
...
See
https://github.com/protocolbuffers/protobuf/pull/7458#issuecomment-633147682 .
release notes: no
Signed-off-by: Harvey Tuch <htuch@google.com>
5 years ago
Andreas Herrmann
24fa9550be
Update rules_cc
...
The previous version does not mark the `toolchain_type` as public,
meaning that users of a CC toolchain using
`@rules_cc//cc:toolchain_type` will get build errors along the lines of
```
ERROR:
.../local_config_cc_toolchains/BUILD.bazel:18:1:
in toolchain rule
@local_config_cc_toolchains//:cc-toolchain-armeabi-v7a: alias
'@rules_cc//cc:toolchain_type' referring to target
'@bazel_tools//tools/cpp:toolchain_type' is not visible from target
'@local_config_cc_toolchains//:cc-toolchain-armeabi-v7a'. Check the
visibility declaration of the former target if you think the dependency
is legitimate
```
5 years ago
Joshua Haberman
2cc68efd56
Simplified PHP testing scripts. ( #7574 )
...
* Simplified PHP testing scripts.
- allow them to be run from any directory.
- remove "VERSION" arg, we can get PHP from $PATH.
* Added a few places I missed.
* Removed redundant "cd `dirname $0`".
Also replaced all backticks with $(), for consistency.
5 years ago
Joshua Haberman
1688ea8d60
PHP: use php-config instead of explicitly setting include paths. ( #7572 )
5 years ago
Joshua Haberman
2d654e8198
Merge pull request #7559 from haberman/merge-312
...
Merge the 3.12.x branch to master
5 years ago