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
Joshua Haberman
18950451c7
Ruby: assigning 'nil' to submessage should clear the field. ( #7397 )
...
Previously if you assigned 'nil' to a submessage in proto2
the field would be set to 'nil' but would still have its hasbit
set. This was a clear bug so I'm fixing it outright, even though
it is an observable behavior change.
5 years ago
Joshua Haberman
81573b9256
Merge pull request #7402 from haberman/sync-stage
...
Integrate from Piper for C++, Java, and Python
5 years ago
Thomas Van Lenten
a8a400da5d
Move to constexpr.
5 years ago
Joshua Haberman
bb30225f06
Sync from Piper @307316823
...
PROTOBUF_SYNC_PIPER
5 years ago
Joshua Haberman
e164e15027
Merge branch 'sync-piper' into sync-stage
5 years ago
Paul Yang
f15ac4091f
Drop 3.3, 3.4 and use single version docker images for all python tests ( #7396 )
...
* Create a new docker image for python 3.6
The previous one cannot build, because python3.6 was removed from
stretch.
* Drop support for 3.3 and 3.4
Also update all docker file to be single version
5 years ago
Eric Walker
2c8364bcd1
Rails2.7 segfaults ( #7091 )
...
* Add a test suite for ruby 2.7
* Call BigDecimal() instead of BigDecimal.new()
BigDecimal.new was deprecated in ruby 2.6
* Switch FrozenError expectation to a matcher
The error message for FrozenError changed to include more information
about the mutated object. Switch from an exact match to an aproximate
match (equal => match). This does not change the prefix.
* We can safely ignore newest array methods from ruby 2.7
5 years ago
Masaki Hara
64f6c59ccb
Build extensions for Ruby 2.7 ( #7027 )
...
* Build extensions for Ruby 2.7
* Try installing bundler 2.x
* Try bumping rake-compiler-dock
* Use standard RCD images
* Avoid 'rake cross native' with rake-compiler-dock
* Use Ruby 2.5 for building Ruby <= 2.6
* Use rake-compiler 1.1.0
* Specify target
* Don't update Ruby test image for now
5 years ago
Daniel G. Taylor
97f5f649a4
docs: add python-betterproto
...
Adds the `betterproto` Python module to the list of implementations.
5 years ago
Jan Tattermusch
9ca70db2aa
remove a few more TODOs
5 years ago
Jan Tattermusch
a171f6d670
address a few TODOs
5 years ago
Thomas Van Lenten
7b8a241b57
[ObjC] Improve validation on public apis.
5 years ago
Thomas Van Lenten
95282469eb
[ObjC] Remove helper to avoid extra lookups.
...
Skip the helper that fetches the desc again since these methods already
collected it.
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
Elliotte Rusty Harold
62832897c3
deps: update Guava to 29.0
...
@rafi-kamal
5 years ago
Joshua Haberman
88529f5017
Merge pull request #7378 from haberman/sync-stage
...
Integrate from Piper for C++, Java, and Python
5 years ago
Joshua Haberman
74ad62759e
Sync from Piper @306496510
...
PROTOBUF_SYNC_PIPER
5 years ago
Joshua Haberman
83ccdfc78d
Merge branch 'sync-piper' into sync-stage
5 years ago
Jan Tattermusch
b2d5ceb1f7
speedup parsing multi-segment readOnlySequence
5 years ago
Jan Tattermusch
a980705bdb
attempt to fix CompatibilityTests
5 years ago
Thomas Van Lenten
6f3bda22f4
[ObjC] Fix some tests checking the wrong Message class.
5 years ago
Thomas Van Lenten
24dda9e233
Update the build/test script for newer Xcode 11 versions
...
Apple stopped really supporting the 32bit simulators, so don't try
running those any more.
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
92076f7007
codegen: InternalMergeFrom
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
f6bdd7d479
codegen changes
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
50e03cdde3
Merge pull request #7360 from jtattermusch/refactor_googlebenchmark
...
Refactor some Protobuf C# microbenchmarks
5 years ago