aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/protos
Commit message (Collapse)AuthorAge
* Add unknown field support for csharp (#3936)Gravatar Jie Luo2017-12-13
| | | Add unknown field support for csharp
* Remove non-C# options from C#-only test protosGravatar Jon Skeet2017-11-14
|
* Move C#-only test protos to csharp/protosGravatar Jon Skeet2017-11-12
| | | | | | | | | | unittest_proto3 had been changed in a very backward-incompatible way which was never going to work with C# as it imports proto2 messages. This is now a copy of the old file, but with a package name change for compatibility with the remaining files in src/google/protobuf. The other moves are for files that are only used by C#.
* Fix merging with message-valued oneofGravatar Jon Skeet2017-10-31
| | | | | | | | | | If messages A and B have the same oneof case, which is a message type, and we merge B into A, those sub-messages should be merged. Fixes #3200. Note that I haven't regenerated all the code, as some of the protos have been changed, breaking generation.
* Add Oneof custom options testGravatar Jie Luo2017-01-27
|
* Support custom options in C#Gravatar Jon Skeet2017-01-19
| | | | | | | | | | | | This consists of: - Changing the codegen for the fixed set of options protos, to parse unknown fields instead of skipping them - Add a new CustomOptions type in the C# support library - Expose CustomOptions properties from the immutable proto wrappers in the support library Only single-value options are currently supported, and fetching options values requires getting the type right and knowing the field number. Both of these can be addressed at a later time. Fixes #2143, at least as a first pass.
* Code review fixesGravatar alien2016-03-29
|
* csharp: add support for the json_name optionGravatar alien2016-03-18
| | | | | Conflicts: csharp/src/Google.Protobuf/JsonFormatter.cs
* Remove a redundant layer of directory hierarchy.Gravatar Jon Skeet2015-08-03
|
* Addressed issues raised in code review. Will merge when green.Gravatar Jon Skeet2015-08-03
|
* Fix JSON formatting to always emit fields in field order, including oneofsGravatar Jon Skeet2015-07-31
|
* Handle field names of "descriptor" and "types".Gravatar Jon Skeet2015-07-31
|
* Fix for doubly-nested types - issue #307.Gravatar Jon Skeet2015-06-29
| | | | No specific test case - if the generated code compiles, the issue is fixed :)
* More cleanup, based around searches for "Google.ProtocolBuffers"Gravatar Jon Skeet2015-06-26
| | | | | | | - Remove some old proto2-based C#-only messages - Remove the "build" directory which only contained out-of-date files - Remove the csharp_namespace option from proto2 messages - Change "Google.ProtocolBuffers" to "Google.Protobuf" in other messages
* First pass at the mutable API. Quite a bit more to do - in particular, it's ↵Gravatar Jon Skeet2015-06-09
| | | | pretty slow right now.
* Remove the C#-specific field_presence_test.proto, using ↵Gravatar Jon Skeet2015-05-13
| | | | | | | unittest_no_field_presence.proto instead. This is the start of establishing a C# namespace of "Google.ProtocolBuffers.TestProtos.Proto3" for proto3-syntax protos. We could optionally split the directory structure as well into Proto2 and Proto3 for clarity.
* Change field_presence_test.protoGravatar Jie Luo2015-05-01
|
* Merge branch 'csharp' of git://github.com/google/protobuf into google-csharpGravatar Jie Luo2015-04-29
|\
* | Change the package for field_presence_test.protoGravatar Jie Luo2015-04-29
| |
* | field presence Reflection and testsGravatar Jie Luo2015-04-29
| |
| * Remove RPC support.Gravatar Jon Skeet2015-04-29
| | | | | | | | It is expected that third parties will generate service/RPC code themselves - see gRPC as an example.
| * Remove a bunch of files which are no longer relevant:Gravatar Jon Skeet2015-04-29
|/ | | | | | 1) Project files for different configurations - we're going to look at all this again, ideally to just have a single PCL-compatible build 2) ProtoGen - the C++ generator is now the only one we care about 3) Proto files - these are mostly duplicates (or older versions) of the ones in the common directories
* Updated set of unit tests and unit test protos.Gravatar Jon Skeet2015-04-28
| | | | | | | | | | This commit includes changes to the C#-specific protos, and rebuilt versions of the "stock" protos. The stock protos have been locally updated to have a specific C# namespace, but this is expected to change soon, so hasn't been committed. Four areas are currently not tested: 1) Serialization - we may restore this at some point, possibly optionally. 2) Services - currently nothing is generated for this; will need to see how it interacts with GRPC 3) Fields beginning with _{digit} - see https://github.com/google/protobuf/issues/308 4) Fields with names which conflict with the declaring type in nasty ways - see https://github.com/google/protobuf/issues/309
* Imported protobuf-csharp-port into csharp/ treeGravatar Jan Tattermusch2015-04-16