aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers/Descriptors
Commit message (Collapse)AuthorAgeFilesLines
* Changing reflection namespace (part 1)Jon Skeet2015-07-1415-2022/+0
| | | | | | | - Move types into Google.Protobuf.Reflection - Change codegen to reflect that in generated types Generated code changes coming in part 2
* Initial implementation of JSON formattingJon Skeet2015-07-101-0/+1
| | | | | | - No parsing - Reflection based, so not hugely efficient - No line breaks or indentation
* Fix descriptor reflection in various waysJon Skeet2015-07-0913-291/+140
| | | | | | | | - The protos are no longer publicly exposed at all - Oneof detection now works (as we default to -1, not 0) - OneofDescriptor exposes the fields in the oneof - Removed unnecessary code for replacing protos - remnant of extensions - There's now just the non-generic form of IDescriptor
* Implement reflection properly for fields.Jon Skeet2015-07-092-31/+7
| | | | | | | | | | | | | - FieldAccessorTable is now non-generic - We don't have a static field per message type in the umbrella class. (Message descriptors are accessed via the file descriptor.) - Removed the "descriptor assigner" complication from the descriptor fixup; without extensions, we don't need it - MapField implements IDictionary (more tests would be good...) - RepeatedField implements IList (more tests would be good) - Use expression trees to build accessors. (Will need to test this on various platforms... probably need a fallback strategy just using reflection directly.) - Added FieldDescriptor.IsMap - Added tests for reflection with generated messages Changes to generated code coming in next commit.
* Fix copyright lines for all C# code.Jon Skeet2015-06-3016-54/+62
| | | | | | Everything should now be consistent - the only difference between files is the year (aside from generated files). Fixes issue #531.
* Remove a lot of code which wasn't needed any more.Jon Skeet2015-06-267-490/+44
|
* First pass at the mutable API. Quite a bit more to do - in particular, it's ↵Jon Skeet2015-06-0918-321/+85
| | | | pretty slow right now.
* Add oneof support for C#Jie Luo2015-05-293-1/+123
|
* fix commentsJie Luo2015-05-011-3/+3
|
* fix commends from Jon SkeetJie Luo2015-04-301-8/+3
|
* Merge branch 'csharp' of git://github.com/google/protobuf into google-csharpJie Luo2015-04-292-11/+0
|\
| * Remove CLS compliance from runtime code.Jon Skeet2015-04-292-11/+0
| | | | | | | | We need to remove it from the generator too; I'll raise a github issue for that.
* | field presence Reflection and testsJie Luo2015-04-291-0/+16
|/
* First part of making the C# runtime work with the new codegen.Jon Skeet2015-04-284-190/+98
| | | | | | | | 1) Remove CSharpOptions 2) A new version of DescriptorProtoFile (with manual changes from codegen - it would otherwise be Descriptor.cs) 3) Turn off CLS compliance (which we'll remove from the codebase entirely; I don't think it's actually relevant these days) 4) Add "public imports" to FileDescriptor, with code broadly copied from the Java codebase. Lots more changes to commit before it will build and tests run, but one step at a time...
* Imported protobuf-csharp-port into csharp/ treeJan Tattermusch2015-04-1617-0/+2840