Sydney Acksman
6b90ac13e0
Reorganize some tests
5 years ago
Sydney Acksman
bf4f6c5431
Make extension reflection helper use GetOrRegisterExtension
5 years ago
Sydney Acksman
9163a6f1ad
Add tests for extension accessor
5 years ago
Sydney Acksman
0c80570a8b
Add ExtensionSet tests and add checks that non-message extension fields don't fail initialization checks
5 years ago
Sydney Acksman
f4cfd2def3
Remove dead HasValue code for ExtensionValue and add null-checks to ExtensionSet.Set
5 years ago
Sydney Acksman
8dc69ede45
Remove unnecessary check in GetIsExtensionsInitialized
5 years ago
Sydney Acksman
b78330b21d
Fix RepeatedExtensionValue.IsInitialized
5 years ago
Sydney Acksman
ebf0bfaed8
Add private "_Extensions" property to speed up IsInitialized checks
5 years ago
Sydney Acksman
134242bc46
Change input message to UnknownFieldSet tests to proto2 test message to test groups.
5 years ago
Sydney Acksman
cd65535423
Added group roundtrip tests and fixed any issues discovered
5 years ago
Sydney Acksman
011427c9d8
Fix issues from interactive rebase and regenerate code
5 years ago
Sydney Acksman
5b2f2c5292
file descriptors and the syntax field are really weird with proto2
5 years ago
Sydney Acksman
8e917d1688
Added FieldDescriptor.IsExtension and sealed ExtensionCollection
5 years ago
Sydney Acksman
8b7fb7d0f4
Add tests for field presence and default values
...
Adjust APIs for extensions to properly return default values for extensions
Fix issues with IsInitialized and proto2 field reflection
5 years ago
Sydney Acksman
a976158b1c
Fix incorrect code gen for string fields with default values
5 years ago
Sydney Acksman
8a57ec847b
Add test protos to test project
...
Fix generated group code missing end group tag case
Fix generated field classes searching for presence index for extensions
5 years ago
Sydney Acksman
6e7c43fc68
Add checks to make sure values retrieved from CustomOptions match extension values
5 years ago
Sydney Acksman
43619bb6b2
Uncomment option code in OneofDescriptor
5 years ago
ObsidianMinor
03872044b1
Make extension container classes public and modify conformance to test proto2 messages
5 years ago
Sydney Acksman
05712c6791
Reapply custom option accessors from previous PR along with CustomOptions accessor deprecations
5 years ago
Sydney Acksman
4be0394686
Remove proto2 check from generator
5 years ago
Sydney Acksman
5caa44e056
Remove internal constraint on descriptor proto
5 years ago
Rafi Kamal
1be79eefd5
Merge pull request #6557 from elharo/patch-3
...
Update versions to 3.9.1
5 years ago
Joshua Haberman
06d26df704
Merge pull request #6559 from haberman/notypedef
...
Removed ByteCountInt64. This is a transitional typedef that should n…
5 years ago
Paul Yang
6c9d7ecfa4
Test singular fields are encoded in canonical way ( #6553 )
...
* Test singular fields are encoded in canonical way
* Defautl values in proto3 should not be encoded.
* Values should be converted to the canonical representation (e.g.,
long int64 value may be truncated for int32 field)
* Update failure list
* Update failure list
5 years ago
Joshua Haberman
6b2fc3c2c9
Removed ByteCountInt64. This is a transitional typedef that should not be released.
5 years ago
Mohamed Heikal
f8a2deafd5
Add ovrride keyword for overriden functions
5 years ago
Mohamed Heikal
db5b2bd13a
clang-cl requires fully qualified name for friend class declarations
5 years ago
Mohamed Heikal
402b5772d5
Fix order of export and capability macros on WrappedMutex
...
clang-cl requires the order to be the opposite of what it currently is.
It should not affect other compilers since this is the only compiler
that has both macros defined.
5 years ago
Rafi Kamal
2228af689f
Merge pull request #6556 from rafi-kamal/201908221610
...
Down integrate internal changes to GitHub
5 years ago
Rafi Kamal
2cc432fcfd
Merge pull request #6542 from elharo/patch-2
...
Update to Truth 1.0
5 years ago
Elliotte Rusty Harold
2048a6f442
Update versions to 3.9.1
5 years ago
Rafi Kamal
4f02f056b5
Down integrate to GitHub
5 years ago
Paul Yang
893a7d31e1
No need to have a separate ruby conformance test on Mac ( #6555 )
...
The previous issue of mktime doesn't work on Mac has been fixed.
5 years ago
Joshua Haberman
780b050975
Fix for GC of Ruby map frames. ( #6533 )
...
We were creating a map decoding frame when starting the *map*,
but clearing the GC slot when finishing each *map entry*. This
means that the decoding frame could be collected in the meantime.
5 years ago
Julio Monteiro
8c3a2ce198
Add source code URI to the Ruby gemspec file ( #6466 )
...
* Add source code URI to the Ruby gemspec file
As a developer, I would like to easily find the source code origin for this gem when browsing through https://rubygems.org/gems/google-protobuf .
In order to solve this, I've followed instructions at https://guides.rubygems.org/specification-reference/#metadata by adding the source_code_uri metadata key pair.
* Use git tag instead of fixed "master" string
* Substitute the string, not the Gem::Version
5 years ago
Paul Yang
d79d368ff1
Remove stale comment ( #6552 )
...
Proto2 has been tested for invalid cases. Check implementation of
ExpectParseFailureForProto (https://github.com/protocolbuffers/protobuf/blob/master/conformance/binary_json_conformance_suite.cc#L322 )
5 years ago
Joshua Haberman
3e3407af49
Re-add memset() that seemed redundant but is necessary in case of GC.
5 years ago
Joshua Haberman
b9131f0aab
Removed commented-out code.
5 years ago
Joshua Haberman
cf07d3c1b2
layout_init() optimization works!
5 years ago
Joshua Haberman
78378dab22
Merge branch 'master' into layout_clear
5 years ago
Elliotte Rusty Harold
e971944bfc
Update to Truth 1.0
5 years ago
Joshua Haberman
63e4a3ecc9
Merge pull request #6541 from haberman/ruby_race_fix
...
Fix for race in lazy initialization of handlers.
5 years ago
Joshua Haberman
35b0a879c6
Merge pull request #6521 from haberman/layout_mark
...
Optimized layout_mark() for Ruby
5 years ago
Joshua Haberman
b245551a61
Fix for race in lazy initialization of handlers.
...
This fixes https://github.com/protocolbuffers/protobuf/issues/6532 .
5 years ago
Paul Yang
6b3024f693
Accept string for int64 wrappers ( #6491 )
5 years ago
Joshua Haberman
ee4f2492ea
Fixed some lint errors seen in google3. ( #6520 )
5 years ago
Joshua Haberman
c02a6fbf2c
Bugfix for GC mark of oneof fields.
5 years ago
Joshua Haberman
1c9fb9d45b
WIP.
5 years ago
Adam Liddell
c60aaf79e6
Remove duplicate six http_archive definition
...
Archive is declared in the protobuf_deps() call above
5 years ago