Jie Luo
f06800524f
Revert "C# upgrade dotnet SDK ( #6877 )" ( #6888 )
...
This reverts commit 0c8acb6c8d
.
5 years ago
Jan Tattermusch
0c8acb6c8d
C# upgrade dotnet SDK ( #6877 )
...
* upgrade dotnet SDK
* upgrade dotnet SDK version in global.json
5 years ago
Benjamin Peterson
9d61eada0f
Import MutableSequence from collections.abc on Python 3. ( #6272 )
...
Fixes https://github.com/protocolbuffers/protobuf/issues/5335 .
5 years ago
Rafi Kamal
9b0fa3e7fb
Remove java/lite/proguard.pgcfg from EXTRA_DIST since it's not part of
...
protoc.
5 years ago
Mohamed Heikal
df71972358
Simplify template exporting macros
5 years ago
Rafi Kamal
394f5c8c0f
Whitelist newly added conformance test failures for Ruby, C#, and PHP
5 years ago
Rafi Kamal
8edd68ea75
Add proguard.pgcfg to EXTRA_DIST in Makefile.am
5 years ago
Rafi Kamal
58d4420e2d
Down Integrate Internal Changes
5 years ago
Jan Tattermusch
6fc04c3f0e
Merge pull request #6832 from ObsidianMinor/csharp/test-overhaul
...
Move generated test code for Google.Protobuf.Test to a separate lib
5 years ago
Sydney Acksman
cbafc68d9e
Add project to Makefile.am
5 years ago
Thomas Van Lenten
668eb3b4e6
Fix decoding of overencoded booleans.
...
if the value was >32bit with the low bits all being zero, it was decoded as
false instead of as true.
Fixes #6863
5 years ago
Sydney Acksman
b84929f7fb
Rename .CodeGen to .TestProtos in Makefile and script
5 years ago
Sydney Acksman
51fa766baa
Fix typos
...
Bring .NET Framework target down to 4.5
Rename project in comment
5 years ago
Sydney Acksman
a70c796988
Add project to solution
5 years ago
Sydney Acksman
8da87c6202
Rename Google.Protobuf.Test.CodeGen to Google.Protobuf.Test.TestProtos
5 years ago
Sydney Acksman
7e4be173ad
Move generated files in Makefile.am
5 years ago
Sydney Acksman
2bb49712aa
Add comment to summarize project
...
Set lang version to C# 3.0
Add .NET Standard 2.0 target
Fix partial diagnostic string since it requires C# 6
5 years ago
Sydney Acksman
63780dfb28
Rebase on master
5 years ago
Sydney Acksman
a85c4a3299
Move generated test code to a seperate lib
5 years ago
Jan Tattermusch
db586e4660
Merge pull request #6856 from ObsidianMinor/csharp/propexpr
...
Change _Extensions property to normal body rather than expression
5 years ago
Joshua Haberman
0eb9b279e2
Merge pull request #6797 from haberman/ruby-lazy-wrappers
...
Ruby lazy wrappers optimization
5 years ago
Sydney Acksman
c04a02774d
Change _Extensions property to normal body rather than expression
5 years ago
Jan Tattermusch
0150f7f532
Merge pull request #6843 from chrisdunelm/csharp_wrapper_primitive_opts
...
C#: Optimize parsing of some primitive and wrapper types
5 years ago
Jan Tattermusch
d052a05559
Merge pull request #6828 from ObsidianMinor/csharp/get-string-overload
...
Use 3 parameter Encoding.GetString for default string values
5 years ago
Chris Bacon
d22eaded5c
Remove unneeded exception methods
5 years ago
Chris Bacon
2ac8946ee3
Allow extra fields in wrapper messages, more tests.
5 years ago
Chris Bacon
e305e56cad
C#: Optimize parsing of some primitive and wrapper types
5 years ago
Sydney Acksman
e119a432a8
Use 3 parameter Encoding.FromBytes for default string values
5 years ago
Jan Tattermusch
4668a3323f
Merge pull request #6836 from jtattermusch/csharp_wrappers_microbenchmark
...
C#: Add microbenchmark for parsing wrapper types
5 years ago
Jan Tattermusch
3f810569b3
update Makefile.am
5 years ago
Jan Tattermusch
b8b1b6793f
add regenerate C# protos
5 years ago
Jan Tattermusch
85a87ed3cb
add benchmark for wrapper type parsing
5 years ago
Jan Tattermusch
c81bad1b04
add wrapper_benchmark_messages.proto
5 years ago
Jan Tattermusch
1ebae17b94
Merge pull request #6842 from jskeet/fix-makefile
...
Fix Makefile.am by adding generated files
5 years ago
Jon Skeet
aa22aa32f3
Fix Makefile.am by adding generated files
5 years ago
Thomas Van Lenten
f6eeb435bf
General Xcode 11 support for picking iOS simulators to test against.
5 years ago
Jan Tattermusch
9417a310d3
Merge pull request #6824 from jskeet/fix-extensions
...
Fix reflection access when using old generated code
5 years ago
Jan Tattermusch
61d75cb8ec
Merge pull request #6826 from jskeet/fix-custom-options
...
Avoid NullReferenceException when accessing CustomOptions
5 years ago
Joshua Haberman
781d6963c6
Fixed the case of multi-line strings in JSON.
5 years ago
veawor
129a7c875f
Make shared libraries be able to link to MSVC static runtime libraries, so that VC runtime is not required.
5 years ago
Jon Skeet
7282f29ced
Avoid NullReferenceException when accessing CustomOptions
...
Even though the property is deprecated, it still shouldn't throw.
5 years ago
Jon Skeet
9b5fdb0938
Ignore incomplete extensions when building a FileDescriptor
...
FileDescriptor construction uses an extension registry including extensions from imports. If these were created using an older version of protoc, the FieldDescriptor.Extension property may be null; we ignore such extensions rather than failing.
5 years ago
Jon Skeet
7581fd5ea6
Tests for issue 6822
...
(The implementation to fix this is in the following commit.)
5 years ago
Jon Skeet
e613ba6980
Add braces around single-statement if/foreach
5 years ago
Joshua Haberman
5f25400250
Fixed conformance test regression: empty string wrapper.
5 years ago
Joshua Haberman
aae5c491f7
Merge branch 'master' into ruby-lazy-wrappers
5 years ago
Joshua Haberman
e8c67e14ac
Fixed the oneof case for lazy wrappers.
5 years ago
Adam Cozzette
403df1d047
Added a descriptor option number for ocaml-protoc-plugin
5 years ago
Joshua Haberman
8393d4833f
Nearly all known cases (map, repeated field, and top-level) have been addressed.
...
The only case that doesn't work is decoding a wrapper type from JSON
at the top level. This doesn't make sense and probably no users do it
I changed it to throw.
5 years ago
Paul Yang
c53e5b8e11
Avoid too much overhead in layout_init ( #6716 )
...
* Avoid initializing primitive fields in layout_init
* Avoid initializing string/bytes/message fields in layout_init
* Lazily create map when needed
* Lazily create repeated fields
* Change layout_init to only do memcpy
* Fix test for php-7.0
* Fix conformance test where default value of string/message map is not encoded
* Fix test for zts
* Clean up
* Fix comments
5 years ago