Paul Yang
ce942bcae1
Add binary conformance tests for map fields ( #6560 )
...
* Add binary conformance tests for map fields
* Update failure list
* Fix php conformance test
* Fix php conformance test
In 32-bit platform, int64 should be string. However, map iterator returns string key as integer.
* Add more test cases for map
* Update failure list
5 years ago
Jan Tattermusch
e2f5da65ee
C#: add System.Memory dependency for net45 too ( #6317 )
...
* introduce GOOGLE_PROTOBUF_SUPPORT_SYSTEM_MEMORY
* allow building net45 target on unix systems too
* add Span<> support on net45 as well
5 years ago
Jan Tattermusch
94cbf009e9
Merge pull request #6499 from ObsidianMinor/csharp/proto2-feature/docs
...
Document proto2 feature implementations in Google.Protobuf
5 years ago
Jan Tattermusch
37bf540fd0
Merge pull request #5936 from ObsidianMinor/csharp/proto2-feature/finale
...
C# Proto2 feature : Finale
5 years ago
Sydney Acksman
c920715cf5
Remove wording indicating proto2 support is reimplemented
5 years ago
Sydney Acksman
c9a9818075
Update proto2.md
...
Reworded info about message initialization
5 years ago
Sydney Acksman
7feb16a377
Update proto2.md
...
Addressed review comments
5 years ago
Rafi Kamal
bc1773c42c
Merge pull request #6568 from ennerf/add-jigsaw-module-name
...
Java: Add Automatic-Module-Name entries to the Manifest
5 years ago
salamaniibm
7ba4a99e00
adding protoc support for s390x
5 years ago
Adam Cozzette
36bdcb5a7a
Updated issue templates to remove question form ( #6576 )
...
This commit removes the question template. It also updates the bug report and feature request templates to direct questions to the mailing list.
5 years ago
Paul Yang
e9d4e4acbc
Fix the issue for parsing zero length message ( #6592 )
...
* When length is zero, substr returns null instead of emptry string, which breaks the invariable for message.
* Tested in https://github.com/protocolbuffers/protobuf/pull/6560
5 years ago
Rafi Kamal
14b55eb128
Merge pull request #6597 from elharo/patch-3
...
Update version number
5 years ago
Thomas Van Lenten
030a38b954
Fix typo that snuck in with last commit.
5 years ago
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