Jon Skeet
b0649a088a
Regenerate C# code with the new generator, adding unittest_proto3_optional.proto
...
The changes in the existing proto2 code are solely around presence bits. The new generator allocated presence bits more efficiently. (Previously bits were sometimes allocated but never used.)
5 years ago
Jan Tattermusch
a1b9aa499e
get rid of extraneous ParserInternalState.codedInputStream field
5 years ago
Jan Tattermusch
eb38a3cdb8
adjust some TODOs in ParsingPrimitives.cs
5 years ago
Jan Tattermusch
dd97af88db
deduplicate ExtensionSet.TryMergeFieldFrom implementation, add test
5 years ago
Jan Tattermusch
cf49962c57
actually use ParsingPrimitives.ReadBytes and ReadString
5 years ago
Jan Tattermusch
d7c1fab00b
add benchmarks for parsing string and bytes
5 years ago
Jan Tattermusch
556cb8dc4b
remove unused internal method
5 years ago
Jan Tattermusch
7f42d7c65b
increase MapField test coverage
5 years ago
Jan Tattermusch
7c74e3901b
deduplicate MapField implementation
5 years ago
Jan Tattermusch
9ca70db2aa
remove a few more TODOs
5 years ago
Jan Tattermusch
a171f6d670
address a few TODOs
5 years ago
Jan Tattermusch
373b9eaeb2
optimize ParseRawLittleEndian32
5 years ago
Jan Tattermusch
17ea4d932f
add LegacyGeneratedCodeTest
5 years ago
Jan Tattermusch
f1d12ac768
also test with ParseContext in CodedInputStream test
5 years ago
Jan Tattermusch
9f00d3279b
add missing assert to CodedInputStreamTest.AssertReadVarint
5 years ago
Jan Tattermusch
238fd35f1d
improve test coverage
5 years ago
Joshua Haberman
74ad62759e
Sync from Piper @306496510
...
PROTOBUF_SYNC_PIPER
5 years ago
Jan Tattermusch
b2d5ceb1f7
speedup parsing multi-segment readOnlySequence
5 years ago
Jan Tattermusch
a980705bdb
attempt to fix CompatibilityTests
5 years ago
Jan Tattermusch
638a0813b4
increase coverage of GeneratedMessageTest
5 years ago
Jan Tattermusch
c2925d5b93
fix C# compatibility tests
5 years ago
Jan Tattermusch
0df7ddc805
regenerate
5 years ago
Jan Tattermusch
d7e2c8387a
change MergeFrom_Internal to InternalMergeFrom
5 years ago
Jan Tattermusch
3936114642
remove newline
5 years ago
James Newton-King
18bfd9e2e5
Fix net45 tests
5 years ago
Jan Tattermusch
07182a843c
optimize initialization of ParseContext
5 years ago
Jan Tattermusch
d17b5115d2
faster initialization of ParserInternalState
5 years ago
Jan Tattermusch
42eff9d640
ParseMessageBenchmark: parsing from ReadOnlySequence
5 years ago
Jan Tattermusch
5f836193c7
ParseRawPrimitivesBenchmark: compare CodedInputStream vs ParseContext
5 years ago
Jan Tattermusch
b2d2915439
make Google.Protobuf internals visible to benchmarks
5 years ago
Jan Tattermusch
3196ef9b5c
regenerate C# protos
5 years ago
Jan Tattermusch
220e7be708
make things build after codegen change
5 years ago
Jan Tattermusch
6d5bc90d48
add ParseFrom(ReadOnlySequence) methods
5 years ago
Jan Tattermusch
ea605381e6
make everything build
5 years ago
Jan Tattermusch
175c96565f
bring in new files
5 years ago
Jan Tattermusch
4116e65984
improve ParseMessageBenchmark maintainability
5 years ago
Jan Tattermusch
79cfc73293
refactor WrapperBechmark
5 years ago
Jan Tattermusch
a2cbd5a824
serialization benchmark improvements
5 years ago
Joshua Haberman
c649397029
Set execute bit on files if and only if they begin with (#!). ( #7347 )
...
* Set execute bit on files if and only if they begin with (#!).
Git only tracks the 'x' (executable) bit on each file. Prior to this
CL, our files were a random mix of executable and non-executable.
This change imposes some order by making files executable if and only
if they have shebang (#!) lines at the beginning.
We don't have any executable binaries checked into the repo, so
we shouldn't need to worry about that case.
* Added fix_permissions.sh script to set +x iff a file begins with (#!).
5 years ago
Joshua Haberman
9c676d83ea
Regenerated protos with ./generate_descriptor_proto.sh
5 years ago
Jan Tattermusch
a0cc0e83cb
Remove unnecessary branch from ReadTag ( #7289 )
...
* Remove unnecesary branch from ReadTag
* address comments
5 years ago
Jan Tattermusch
447b6bbad8
address review comments
5 years ago
Jan Tattermusch
b90d3bd854
add benchmark for measuring raw primitive parsing speed
5 years ago
Sydney Acksman
d36d84c77b
Add test for parsing using coded input
5 years ago
Sydney Acksman
ca123ec40e
Swap registry from input when merging from existing input
5 years ago
Rafi Kamal
147fd0b710
Update Google.Protobuf.Tools.nuspec to remove 32-bit Mac protoc reference ( #7227 )
5 years ago
Rafi Kamal
1f2d6bf4b5
Remove 32-bit Mac binary from csharp build tools ( #7215 )
5 years ago
Jan Tattermusch
0e8f69e532
enforce recursion depth checking for unknown fields ( #7210 )
5 years ago
Rafi Kamal
c74057267d
Update protobuf version ( #7206 )
5 years ago
Jan Tattermusch
f20be83927
enforce recursion depth checking for unknown fields
5 years ago