Thomas Van Lenten
6ec27f0d08
Add an explicit test using secure coding for added safety.
5 years ago
Elliotte Rusty Harold
22f054ac00
Update version number
5 years ago
Sydney Acksman
4d5ae5b4a4
Use proto2 and proto3 in unknown field tests
5 years ago
Wang Qilin
829bb1d791
fix no check for null pointer in encode_decode.c ( #6578 )
5 years ago
Paul Yang
342ae0ebc3
Fix issues for php map when parsing missing key/value ( #6588 )
...
* For missing message value, map should create a default message
instance in order to keep its invariable.
* On 32-bit platform, int64 map key should be string
5 years ago
Keith Smiley
516f8b1560
bazel: Change zlib URL to GitHub
...
We've notice significant issues downloading from zlib.net. Since there
are already other archives coming from GitHub, this shouldn't negatively
affect reliability.
5 years ago
Joshua Haberman
d2d49bf56a
Merge pull request #6547 from haberman/layout_clear
...
Optimization for layout_init()
5 years ago
Joshua Haberman
671c2459fc
Fixed crash bug and moved initialization into init method.
5 years ago
Jie Luo
84241c6154
Add missing files under benchmarks/ to the dist ( #6580 )
...
* Add missing files under benchmarks/ to the dist
* fix typo
5 years ago
Paul Yang
659e799fb8
Sync upb ( #6577 )
...
* Sync upb
* https://github.com/protocolbuffers/upb/pull/208
* Fix php c extension compiling
Don't use macros defined by upb
* Update ruby conformance failure list
5 years ago
Thomas Van Lenten
b273cba192
Fix enum writing.
...
Enums use varint, so if the value is negative it should end up being longer.
This was caught my new conformance test cases.
5 years ago
Florian Enner
405b618a2c
added manifest entries to set jigsaw module names
5 years ago
Sydney Acksman
bdc6cd1d0b
Expose Extension field in FieldDescriptor
5 years ago
Sydney Acksman
6da14fa94d
Add GeneratedMessageTest.Proto2.cs to EXTRA_DIST
5 years ago
Sydney Acksman
0436b8db85
GetOrRegisterExtension -> GetOrInitializeExtension
...
Add comment explaining IExtensionMessage instability
5 years ago
Sydney Acksman
c5fa0e08c7
Fix comment on IExtendableMessage.GetOrRegisterExtension
5 years ago
Sydney Acksman
79cf8a8bae
Fix readability in FieldCodec.ForMessage/Group factories
5 years ago
Sydney Acksman
3237ad39f8
Rename ExtensionRegistry.Add(IEnumerable<Extension>) overload to AddRange
5 years ago
Sydney Acksman
930db675ca
Revert changes for FieldPresenceAccessor
5 years ago
Sydney Acksman
29141f482c
Fix default extension values being unused in FieldCodec
5 years ago
Sydney Acksman
47f2017cf3
Review changes
...
* Add Syntax enum and make file syntax checks check the enum
* Made IsPacked a normal get method without ternary op
* Moved IFieldAccessor.HasValue to IFieldPresenceAccessor
* Change naming of GetIsExtensionsInitialized
* Fixed stray text in summary text
5 years ago
Sydney Acksman
29d5186867
Regenerate testprotos.pb
5 years ago
Sydney Acksman
2b9d0fdfba
Add missing files to Makefile.am
5 years ago
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