aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add buildall script for monoJan Tattermusch2015-05-121-0/+22
|
* Merge pull request #372 from jtattermusch/csharp_cleanupJie Luo2015-05-122-13/+2
|\ | | | | C# cleanup
| * adding what was missing in .gitignoreJan Tattermusch2015-05-121-0/+2
| |
| * lib subdir is not needed anymoreJan Tattermusch2015-05-121-13/+0
|/
* Merge pull request #370 from jtattermusch/mono_fixesJie Luo2015-05-128-15/+2
|\ | | | | Fixes for Mono
| * Fix newline assertion in TestJsonFormatted on monoJan Tattermusch2015-05-121-1/+2
| |
| * remove TreatWarningsAsError setting to allow building in MonodevelopJan Tattermusch2015-05-127-14/+0
|/
* Merge pull request #366 from jskeet/csharpJan Tattermusch2015-05-1248-3039/+3049
|\ | | | | Convert back to using NUnit, which is now loaded via NuGet.
| * Convert back to using NUnit, which is now loaded via NuGet.Jon Skeet2015-05-1248-3039/+3049
|/ | | | | This includes the NUnit test adapter which allows NUnit tests to be run under VS without any extra plugins. Unfortunate the compatibility tests using the abstract test fixture class show up as "external" tests, and aren't well presented - but they do run.
* Merge pull request #352 from jtattermusch/csharp_performance_fixJon Skeet2015-05-091-4/+24
|\ | | | | Performance optimization for small messages without unknown fields
| * Performance optimization for small messages without unknown fieldsJan Tattermusch2015-05-071-4/+24
| |
* | Merge pull request #348 from jskeet/csharpJon Skeet2015-05-0730-9/+44
|\ \ | |/ |/| Add C# namespace to .proto files (e.g. descriptors, unit tests)
| * Regenerate descriptor.pb.cc after csharp_namespace changeJon Skeet2015-05-071-2/+3
| |
| * Add C# namespace to .proto files (e.g. descriptors, unit tests)Jon Skeet2015-05-0629-7/+41
|/
* Merge pull request #330 from anandolee/csharpJie Luo2015-05-017-38/+1
|\ | | | | Remove ClsCompliant declarations from C# code (fix #318)
| * Remove ClsCompliant declarations from C# codeJie Luo2015-05-017-38/+1
| |
* | Merge pull request #321 from anandolee/csharpJie Luo2015-05-0113-52/+1152
|\| | | | | Field Presence for Protocol Buffer C# Proto3
| * fix commentsJie Luo2015-05-014-6/+5
| |
| * Change field_presence_test.protoJie Luo2015-05-012-6/+2
| |
| * fix commentsJie Luo2015-04-303-34/+5
| |
| * fix commends from Jon SkeetJie Luo2015-04-307-48/+62
| |
| * Merge branch 'csharp' of git://github.com/google/protobuf into google-csharpJie Luo2015-04-30106-41222/+48786
| |\ | |/ |/|
* | Merge pull request #324 from jskeet/csharpJon Skeet2015-04-3055-3744/+3278
|\ \ | | | | | | Change to using xUnit for all unit tests, and fetch that via NuGet.
| * | Change to using xUnit for all unit tests, and fetch that via NuGet.Jon Skeet2015-04-3055-3744/+3278
| | | | | | | | | | | | This includes fetching the VS unit test runner package, so that tests can be run from Visual Studio's Test Explorer.
* | | Merge pull request #319 from jskeet/csharp_pclJon Skeet2015-04-3054-37484/+45514
|\| | | | | | | | Convert C# projects to Portable Class Libraries
| * | Convert both the full and lite runtimes (and json/xml serialization ↵Jon Skeet2015-04-2954-37484/+45514
|/ / | | | | | | | | | | | | 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.)
| * Merge branch 'csharp' of git://github.com/google/protobuf into google-csharpJie Luo2015-04-29163-20387/+1194
| |\ | |/ |/|
* | Merge pull request #317 from jskeet/csharpJon Skeet2015-04-29163-20386/+1193
|\ \ | | | | | | Tidying up the C# runtime project
| * | Removing more C# project files.Jon Skeet2015-04-2918-1802/+0
| | |
| * | Remove CLS compliance from runtime code.Jon Skeet2015-04-2924-151/+1
| | | | | | | | | | | | We need to remove it from the generator too; I'll raise a github issue for that.
| * | Update C# solution and AddressBook project.Jon Skeet2015-04-294-1389/+1192
| | | | | | | | | | | | | | | | | | | | | | | | Move to a single solution file containing all of the C# projects, but no other solution folders - it's easier to edit those files outside VS than keep adding and removing them from the project. The AddressBook protos have been regenerated (with a change to the example proto which I haven't included in this change - I'll wait for us to decide exactly what we're doing with namespaces before changing protos outside the csharp directory. Note that now we've got Addressbook.cs which contains AddressBook and Addressbook classes. It's bad enough that we've got a class called AddressBook within a namespace of AddressBook (hard to get away from) but having things vary just by case is nasty. This is more evidence that an option for renaming the file and descriptor class would be welcome. (A single option can probably handle both.)
| * | Remove support for Serializable.Jon Skeet2015-04-299-465/+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-2911-594/+0
| | | | | | | | | | | | 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:Jon Skeet2015-04-2999-15985/+0
| | | | | | | | | | | | | | | | | | 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
| | * rename FieldPResenceTest.cs fileJie Luo2015-04-291-28/+28
| | |
| | * Change the package for field_presence_test.protoJie Luo2015-04-293-990/+808
| | |
| | * field presence Reflection and testsJie Luo2015-04-299-10/+1225
| | |
| | * Merge pull request #1 from google/csharpJie Luo2015-04-2881-104432/+183496
| | |\ | |_|/ |/| | Csharp update
* | | Merge pull request #313 from jskeet/csharpJie Luo2015-04-2878-104432/+183367
|\| | | | | | | | First steps to making the C# runtime work with new codegen
| * | Update DescriptorProtoFile.cs and UnitTest.cs to indicate manual changes.Jon Skeet2015-04-283-31312/+39144
| | | | | | | | | | | | (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.)
| * | Updated set of unit tests and unit test protos.Jon Skeet2015-04-2867-93042/+164903
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | First part of making the C# runtime work with the new codegen.Jon Skeet2015-04-2811-11390/+10632
|/ / | | | | | | | | | | | | | | 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...
* | Merge pull request #300 from jskeet/csharpJie Luo2015-04-273-0/+129
|\ \ | | | | | | Add C# generator files to the VS project for libprotoc
| * | Add C# files to Visual Studio projects.Jon Skeet2015-04-243-0/+129
|/ / | | | | | | Also ignore Windows native build output files.
| * remove test proto for field presenceJie Luo2015-04-272-805/+0
| |
| * fix bug for Field PresenceJie Luo2015-04-272-2/+2
| |
| * Field Presence: remove has methods for optional non-message fields in proto3Jie Luo2015-04-276-42/+934
|/
* Merge pull request #288 from jtattermusch/csharp_protobuf_reviewedJie Luo2015-04-17448-52/+208342
|\ | | | | C# protocol buffers (initial pull request)
| * forgot to include header files into automake templateJan Tattermusch2015-04-171-1/+15
| |
| * Merge pull request #1 from jtattermusch/csharp_protogen_rewriteJan Tattermusch2015-04-1736-52/+5199
| |\ | | | | | | Rewrite of C# protogen to C++ (initial version)