aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers/ProtocolBuffers.csproj
Commit message (Collapse)AuthorAgeFilesLines
* First pass at the big rename from ProtocolBuffers to Google.Protobuf.Jon Skeet2015-07-171-122/+0
| | | | We'll see what I've missed when CI fails...
* C# cleanup - assorted nitsJan Tattermusch2015-07-151-1/+0
|
* Generate the well-known types in C#Jon Skeet2015-07-141-0/+10
| | | | | | | | | | This involves: - Specifying a namespace in each proto (including ones we'd previously missed) - Updating the generation script - Changing codegen to implement IReflectedMessage.Fields explicitly (a good thing anyway) - Changing reflection tests to take account of the explicit interface implementation Non-generated code in this commit; generated code to follow
* Changing reflection namespace (part 3)Jon Skeet2015-07-141-2/+2
| | | | | | | | 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 1)Jon Skeet2015-07-141-23/+24
| | | | | | | - Move types into Google.Protobuf.Reflection - Change codegen to reflect that in generated types Generated code changes coming in part 2
* Merge pull request #582 from jskeet/csharp-jsonJon Skeet2015-07-141-0/+1
|\ | | | | JSON formatting in C#
| * Initial implementation of JSON formattingJon Skeet2015-07-101-0/+1
| | | | | | | | | | | | - No parsing - Reflection based, so not hugely efficient - No line breaks or indentation
* | enable building nuget packageJan Tattermusch2015-07-101-0/+3
|/
* Fix descriptor reflection in various waysJon Skeet2015-07-091-2/+0
| | | | | | | | - 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-091-0/+1
| | | | | | | | | | | | | - 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.
* Remove a lot of code which wasn't needed any more.Jon Skeet2015-06-261-7/+0
|
* First pass at map support.Jon Skeet2015-06-251-0/+2
| | | | More tests required. Generated code in next commit.
* Implement freezing for messages and repeated fields.Jon Skeet2015-06-241-0/+1
| | | | Fixes issue #523.
* Minor cleanup.Jon Skeet2015-06-191-2/+2
| | | | | | | | - 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
* Coded*Stream streamlining.Jon Skeet2015-06-121-2/+0
| | | | 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-1/+0
| | | | 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-091-48/+13
| | | | pretty slow right now.
* Add oneof support for C#Jie Luo2015-05-291-1/+3
|
* Convert both the full and lite runtimes (and json/xml serialization ↵Jon Skeet2015-04-291-8/+9
| | | | | | | assemblies) to be Portable Class Libraries. All referring projects are now .NET 4 client rather than .NET 3.5. This commit also fixes up the ProtoBench app, which I'd neglected in previous commits. (Disentangling the two sets of changes would be time-consuming.)
* Remove support for Serializable.Jon Skeet2015-04-291-1/+0
| | | | | This could potentially be added back in later, but its use is limited and it's a pain in terms of support in PCL environments. One use that has been highlighted is passing objects between AppDomains; we'd recommend passing a byte array explicitly and reparsing on the other side.
* Remove RPC support.Jon Skeet2015-04-291-5/+0
| | | | It is expected that third parties will generate service/RPC code themselves - see gRPC as an example.
* First part of making the C# runtime work with the new codegen.Jon Skeet2015-04-281-1/+0
| | | | | | | | 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-161-0/+155