aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers/DescriptorProtos
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement enums as int values, and get rid of EnumHelper.Jon Skeet2015-06-111-25/+30
| | | | This makes repeated fields really awkward at the moment - but when we reimplement RepeatedField<T> to be backed by an array, we can cast the array directly...
* First pass at the mutable API. Quite a bit more to do - in particular, it's ↵Jon Skeet2015-06-093-9405/+2655
| | | | pretty slow right now.
* Change the C# enum generator inherit from primitive generatorJie Luo2015-05-291-96/+616
|
* Generate *all* protos in the script, applying fixups.Jon Skeet2015-05-161-111/+104
| | | | | | | | | | | | | | We still have some protos which aren't generated how we want them to be: - Until we have an option to specify the "umbrella" class, DescriptorProtoFile will be broken. (The change of name here affects the reflection descriptor, which accounts for most of the change. That's easier than trying to work out exactly which occurrences of Descriptor need changing though.) - That change affects UnittestCustomOptions - Issue #307 breaks Unittest.cs After this commit, we don't have the record of the fixups in the files themselves any more, but one centralized record in the shell script.
* Update DescriptorProtoFile.cs and UnitTest.cs to indicate manual changes.Jon Skeet2015-04-281-105/+110
| | | | (Having regenerated descriptor.proto relative to src, the earlier commented-out code checking that dependencies match may now be okay to uncomment again. Will experiment in later CLs.)
* First part of making the C# runtime work with the new codegen.Jon Skeet2015-04-282-10997/+10533
| | | | | | | | 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-164-0/+11114