aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers/DescriptorProtos
Commit message (Collapse)AuthorAgeFilesLines
* Changing reflection namespace (part 3)Jon Skeet2015-07-142-4990/+0
| | | | | | | | Change the C# namespace in descriptor.proto to Google.Protobuf.Reflection. This then means changing where the generated code lives, which means updating the project file... It also involves regenerating the C++ - which has updated the well-known types as well, for no terribly obvious reason...
* Changing reflection namespace (part 2)Jon Skeet2015-07-141-93/+93
| | | | Generated code changes from previous commit
* Generated code changes for previous submitJon Skeet2015-07-101-22/+22
|
* Use the new JsonFormatter to implement ToString on generated messages.Jon Skeet2015-07-101-0/+88
|
* Fix descriptor reflection in various waysJon Skeet2015-07-092-81/+10
| | | | | | | | - 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
* Regenerated code due to previous commit.Jon Skeet2015-07-091-175/+263
| | | | Note that now we need a proto3 version of addressbook.proto. This may affect other platforms, and could do with an overhaul to follow proto3 conventions anyway (e.g. repeated field names). Will need to think about that carefully before merging into master. Raised issue #565 for this.
* Changes to generated code due to previous commit.Jon Skeet2015-07-091-181/+134
|
* Fix copyright lines for all C# code.Jon Skeet2015-06-302-6/+7
| | | | | | Everything should now be consistent - the only difference between files is the year (aside from generated files). Fixes issue #531.
* First pass (not yet compiling) at removing all the array handling code from ↵Jon Skeet2015-06-301-316/+150
| | | | | | | Coded*Stream. Prod code works, but some tests are broken. Obviously those need fixing, then more tests, and review benchmarks.
* Generated code changes for previous commit.Jon Skeet2015-06-261-22/+22
|
* Generated code changes due to map changes.Jon Skeet2015-06-251-22/+44
| | | | (Primarily this is starting the hash code of messages at a non-zero value...)
* Implement freezing for messages and repeated fields.Jon Skeet2015-06-241-145/+565
| | | | Fixes issue #523.
* Generated code changes from previous commit.Jon Skeet2015-06-231-22/+22
|
* Implement Clone.Jon Skeet2015-06-231-44/+257
| | | | Fixes issue #527.
* Minor cleanup.Jon Skeet2015-06-191-30/+30
| | | | | | | | - Make some members internal - Remove a lot of FrameworkPortability that isn't required - Start adding documentation comments - Remove some more group-based members - Not passing in "the last tag read" into Read*Array, g
* Regenerated files.Jon Skeet2015-06-171-3/+3
|
* Use the fact that we know the tag size and bytes at codegen time to optimize.Jon Skeet2015-06-171-180/+278
|
* Regenerate proto filesJon Skeet2015-06-121-253/+355
|
* Coded*Stream streamlining.Jon Skeet2015-06-121-450/+269
| | | | Remove ICodedInputStream and ICodedOutputStream, and rewrite CodedInputStream and CodedOutputStream to be specific to the binary format. If we want to support text-based formats, that can be a whole different serialization mechanism.
* 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