Bouke Versteegh
69dcd1e475
Support indented JSON formatting in csharp
2 years ago
Protobuf Team Bot
c9869dc780
Updating version.json and repo version numbers to: 21.4
2 years ago
Sandy Zhang
aebdd0885f
Sync from Piper @463129388
...
PROTOBUF_SYNC_PIPER
2 years ago
Jon Skeet
c691779416
Generated C# code/descriptor set for reserved name test
2 years ago
Protobuf Team Bot
b1eb1260fc
Updating version.json and repo version numbers to: 21.3
2 years ago
Jon Skeet
4320d5d2dd
Add tests for C# behavior around invalid UTF-8
...
These are primarily in order to document the current behavior,
rather than asserting it's the "right" behavior.
2 years ago
Jon Skeet
54101ec6f0
Generate Plugin.cs for C#
...
This used to be infeasible as we didn't expose the descriptor protos, but it's fine now.
Tested against https://github.com/googleapis/gapic-generator-csharp by removing the local version there.
Fixes #5007 .
2 years ago
theodorerose
294d2bee90
regen csharp descriptors
2 years ago
theodorerose
799a041d14
ran generate_descriptor_proto.sh
2 years ago
theodorerose
fd202c02a6
fix C# minimum lang version to 10.0
2 years ago
theodorerose
628a7e6fa4
Sync from Piper @457757259
...
PROTOBUF_SYNC_PIPER
2 years ago
theodorerose
52e071ecb3
merge 21.x into main
2 years ago
Protobuf Team Bot
839b18b1ba
Updating version.json and repo version numbers to: 21.2
2 years ago
Erik Mavrinac
9f58ee3f04
Update to C# 10 and upgrade code style ( #10105 )
2 years ago
Jorg Brown
a3e1de0113
Sync from Piper @455586341
...
PROTOBUF_SYNC_PIPER
2 years ago
Jon Skeet
837db77ecf
Remove C# code specific to .NET 3.5
...
The codebase has changed a lot since it was last able to compile
with .NET 3.5, so we don't need this vestigial code.
2 years ago
Sandy Zhang
f138d5de25
Sync from Piper @452551755
...
PROTOBUF_SYNC_PIPER
3 years ago
Protobuf Team Bot
38e3a11a29
Updating version.json and repo version numbers to: 21.1
3 years ago
Protobuf Team Bot
e73ed1630f
Updating version.json and repo version numbers to: 21.1
3 years ago
Protobuf Team Bot
59c6ff83e9
Updating version.json and repo version numbers to: 21.0
3 years ago
David L. Jones
7f2368933a
Re-generate csharp and php golden proto files after changes to descriptor.proto.
3 years ago
Protobuf Team Bot
1fa42c4be4
Updating version.json and repo version numbers to: 21.0-rc2
3 years ago
Jan Tattermusch
70afbd3c8d
regenerate C# protos
3 years ago
Jan Tattermusch
d2292fc5f6
regenerate C# protos
3 years ago
Vassil Kovatchev
9d7a449e5c
Fix failing FieldMask.Merge for well-known wrapper field types
3 years ago
Deanna Garcia
4049efc7b0
Move to LF
3 years ago
Jon Skeet
c32d7ec2ab
Helper method on Any to allow an any to be unpacked more easily
...
We already have the TypeRegistry abstraction for JSON parsing, so it lends itself well to this.
Note that this is much more useful than it would have been before C# gained pattern matching support: it's easy to imagine a switch statement/expression using pattern matching with the result of this, with cases for a set of known message types, for example.
3 years ago
Protobuf Team
d259bd3287
Updating version.json and repo version numbers to: 21.0-rc1
3 years ago
Joshua Haberman
dc4aad931e
Sync from Piper @444600173
...
PROTOBUF_SYNC_PIPER
3 years ago
cui fliter
ac25235fa7
fix some typos ( #9771 )
...
* fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
* fix typo
Signed-off-by: cuishuang <imcusg@gmail.com>
3 years ago
Joshua Haberman
296c1fdaff
Update protobuf version ( #9820 )
...
* Update protobuf version
* Updated Makefile.am for composer.json move.
3 years ago
Jon Skeet
82d04fabd9
Remove unnecessary console output from test
3 years ago
noahdietz
5abf802bc2
Replace master with main in URLs & docs
3 years ago
mkruskal-google
85aa87cbc9
Merge 3.20.1-rc1 into main ( #9760 )
...
* Fix NPE during encoding and add regression test for issue 9507.
(cherry picked from commit 58e320a732
)
* Implement `respond_to?` in RubyMessage (#9677 )
All synthetic methods implemented by `method_missing` are now supported by `respond_to?`.
Fixes issue #9202 .
* Fix null pointer exceptions exposed by new regression tests.
* Fix clear_ on oneofs so that it is safe to call repeatedly and so that respond_to? does not depend on whether the oneof is currently cleared.
* Code cleanup: reenable more tests on JRuby.
* Align JRuby behavior with CRuby by throwing a RuntimeError when attempting to assign to a oneof.
(cherry picked from commit 8e7f936696
)
* Update protobuf version
* Merge pull request #9727 from mlocati/build-packaged-php-extension
Fix building packaged PHP extension
(cherry picked from commit 7f9901c5f6
)
* Update protobuf version
* Update changelogs for 3.20.1-rc1
Co-authored-by: Jason Lunn <jason.lunn@gmail.com>
Co-authored-by: Jorg Brown <jorg.brown@gmail.com>
3 years ago
Mike Kruskal
a29e0e3f44
Sync from Piper @439400376
...
PROTOBUF_SYNC_PIPER
3 years ago
Mike Kruskal
d24edbca53
Update protobuf version
3 years ago
Jon Skeet
9e6e4eb425
Generated code for test protos for issue #9605
3 years ago
Jon Skeet
e2f845b2f1
Test proto and unit test for issue #9605
...
This doesn't test *all* possibilities (e.g. the field being a
wrapper, or a message field, etc) - but I'm fairly confident that I
found all the places referring to the case.
3 years ago
Jon Skeet
e1e9d3e6da
Normalize all C# and .proto files to LF
...
This commit should have no non-whitespace changes
Fixes #9526 (in terms of content)
3 years ago
mkruskal-google
a114b008a2
Reverting change to target frameworks that breaks kokoro
3 years ago
Darly Paredes
25045e3f69
Update protobuf version
3 years ago
Jensaarai
10df21ed5e
Add .NET 6 target to Google.Protobuf test projects
...
* .NET 5 reaches end-of-support in May, so update the Benchmarks project
to `net6.0`
* Update some NuGet packages to latest.
3 years ago
Darly Paredes
a4c9effec1
Sync from Piper @436517178
...
PROTOBUF_SYNC_PIPER
3 years ago
James Newton-King
e5ae3bb763
[C#] Update GetExtension to support getting typed value ( #9655 )
3 years ago
theodorerose
ebfa0d345e
Update protobuf version
3 years ago
Adam Cozzette
b20209f321
Sync from Piper @acozzette/proto_github_202203101748
...
PROTOBUF_SYNC_PIPER
3 years ago
Junrou Nishida
92cdf87f1a
[C#] fix parse failure for extensions with large field numbers ( #9591 )
3 years ago
Adam Cozzette
88a18db91e
Update protobuf version
3 years ago
ObsidianMinor
013e115231
Add an option to preserve proto names in JsonFormatter ( #6307 )
...
Co-authored-by: Adam Cozzette <acozzette@google.com>
3 years ago
Joshua Haberman
dce403a8b3
Sync from Piper @427369078
...
PROTOBUF_SYNC_PIPER
3 years ago