Sydney Acksman
7e4be173ad
Move generated files in Makefile.am
2019-11-08 07:23:50 -06:00
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
2019-11-08 07:23:50 -06:00
Sydney Acksman
63780dfb28
Rebase on master
2019-11-08 07:23:50 -06:00
Sydney Acksman
a85c4a3299
Move generated test code to a seperate lib
2019-11-08 07:23:50 -06:00
Jan Tattermusch
db586e4660
Merge pull request #6856 from ObsidianMinor/csharp/propexpr
...
Change _Extensions property to normal body rather than expression
2019-11-08 10:06:54 +01:00
Joshua Haberman
0eb9b279e2
Merge pull request #6797 from haberman/ruby-lazy-wrappers
...
Ruby lazy wrappers optimization
2019-11-07 15:53:46 -08:00
Sydney Acksman
c04a02774d
Change _Extensions property to normal body rather than expression
2019-11-07 15:30:12 -06:00
Jan Tattermusch
0150f7f532
Merge pull request #6843 from chrisdunelm/csharp_wrapper_primitive_opts
...
C#: Optimize parsing of some primitive and wrapper types
2019-11-05 18:04:53 +01:00
Jan Tattermusch
d052a05559
Merge pull request #6828 from ObsidianMinor/csharp/get-string-overload
...
Use 3 parameter Encoding.GetString for default string values
2019-11-05 17:18:49 +01:00
Chris Bacon
d22eaded5c
Remove unneeded exception methods
2019-11-05 11:39:31 +00:00
Chris Bacon
2ac8946ee3
Allow extra fields in wrapper messages, more tests.
2019-11-04 21:35:38 +00:00
Chris Bacon
e305e56cad
C#: Optimize parsing of some primitive and wrapper types
2019-11-04 20:26:27 +00:00
Sydney Acksman
e119a432a8
Use 3 parameter Encoding.FromBytes for default string values
2019-11-04 12:31:28 -06:00
Jan Tattermusch
4668a3323f
Merge pull request #6836 from jtattermusch/csharp_wrappers_microbenchmark
...
C#: Add microbenchmark for parsing wrapper types
2019-11-04 18:55:08 +01:00
Jan Tattermusch
3f810569b3
update Makefile.am
2019-11-04 18:21:22 +01:00
Jan Tattermusch
b8b1b6793f
add regenerate C# protos
2019-11-04 18:21:22 +01:00
Jan Tattermusch
85a87ed3cb
add benchmark for wrapper type parsing
2019-11-04 18:21:22 +01:00
Jan Tattermusch
c81bad1b04
add wrapper_benchmark_messages.proto
2019-11-04 18:21:22 +01:00
Jan Tattermusch
1ebae17b94
Merge pull request #6842 from jskeet/fix-makefile
...
Fix Makefile.am by adding generated files
2019-11-04 18:14:22 +01:00
Jon Skeet
aa22aa32f3
Fix Makefile.am by adding generated files
2019-11-04 16:35:38 +00:00
Thomas Van Lenten
f6eeb435bf
General Xcode 11 support for picking iOS simulators to test against.
2019-11-04 11:20:35 -05:00
Jan Tattermusch
9417a310d3
Merge pull request #6824 from jskeet/fix-extensions
...
Fix reflection access when using old generated code
2019-11-04 14:12:06 +01:00
Jan Tattermusch
61d75cb8ec
Merge pull request #6826 from jskeet/fix-custom-options
...
Avoid NullReferenceException when accessing CustomOptions
2019-11-04 14:06:00 +01:00
Joshua Haberman
781d6963c6
Fixed the case of multi-line strings in JSON.
2019-10-31 12:23:25 -07:00
veawor
129a7c875f
Make shared libraries be able to link to MSVC static runtime libraries, so that VC runtime is not required.
2019-10-30 16:31:05 -07:00
Jon Skeet
7282f29ced
Avoid NullReferenceException when accessing CustomOptions
...
Even though the property is deprecated, it still shouldn't throw.
2019-10-30 11:59:09 +00:00
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.
2019-10-30 09:47:45 +00:00
Jon Skeet
7581fd5ea6
Tests for issue 6822
...
(The implementation to fix this is in the following commit.)
2019-10-30 09:46:24 +00:00
Jon Skeet
e613ba6980
Add braces around single-statement if/foreach
2019-10-30 09:45:00 +00:00
Joshua Haberman
5f25400250
Fixed conformance test regression: empty string wrapper.
2019-10-29 18:16:04 -07:00
Joshua Haberman
aae5c491f7
Merge branch 'master' into ruby-lazy-wrappers
2019-10-29 17:53:35 -07:00
Joshua Haberman
e8c67e14ac
Fixed the oneof case for lazy wrappers.
2019-10-29 15:44:51 -07:00
Adam Cozzette
403df1d047
Added a descriptor option number for ocaml-protoc-plugin
2019-10-29 14:34:50 -07:00
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.
2019-10-29 13:30:12 -07:00
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
2019-10-29 12:48:24 -07:00
Rafi Kamal
3fa17ca0bd
Merge pull request #6811 from elharo/guava
...
Update GSON and errorprone
2019-10-29 11:49:09 -07:00
Tapasweni Pathak
7ce420298a
fix one more line
2019-10-29 11:43:49 -07:00
Tapasweni Pathak
50fb80cdd8
fix check for undefined behavior
2019-10-29 11:43:49 -07:00
Tapasweni Pathak
fbbbc45ae5
address review
2019-10-29 11:43:49 -07:00
Tapasweni Pathak
a971a4ef1f
Fix: Undefined behavior in UTF8GenericScanFastAscii
2019-10-29 11:43:49 -07:00
Rafi Kamal
620d8fb287
Merge pull request #6810 from elharo/patch-6
...
Update to 3.10.0 in docs
2019-10-29 11:37:06 -07:00
Joshua Haberman
bd253f0130
Fixed equality, and extended to repeated fields and maps.
2019-10-28 18:03:25 -07:00
ST-DDT
4252b7aff3
Fix broken javadoc generation for repeated enum values
2019-10-28 16:29:14 -07:00
Yannic
fc7c65a258
Update six.BUILD
2019-10-28 16:28:41 -07:00
Yannic
3581ee24e9
Update six.BUILD
2019-10-28 16:28:41 -07:00
Yannic
e907a8781d
Update protobuf_deps.bzl
2019-10-28 16:28:41 -07:00
Yannic Bonenberger
29d650aefb
[bazel] Add strip_prefix
to download of @six
...
This way, we can avoid an unnecessary copy.
2019-10-28 16:28:41 -07:00
Elliotte Rusty Harold
906b57475d
merge
2019-10-28 07:11:14 -04:00
Elliotte Rusty Harold
ed69e88695
update error_prone and gson
2019-10-28 07:09:46 -04:00
Elliotte Rusty Harold
939a6f5de6
Merge pull request #1 from protocolbuffers/master
...
merge
2019-10-28 07:03:44 -04:00