Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change to using xUnit for all unit tests, and fetch that via NuGet. | Jon Skeet | 2015-04-30 | 55 | -3744/+3278 |
| | | | | This includes fetching the VS unit test runner package, so that tests can be run from Visual Studio's Test Explorer. | ||||
* | Convert both the full and lite runtimes (and json/xml serialization ↵ | Jon Skeet | 2015-04-29 | 54 | -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 pull request #317 from jskeet/csharp | Jon Skeet | 2015-04-29 | 163 | -20386/+1193 |
|\ | | | | | Tidying up the C# runtime project | ||||
| * | Removing more C# project files. | Jon Skeet | 2015-04-29 | 18 | -1802/+0 |
| | | |||||
| * | Remove CLS compliance from runtime code. | Jon Skeet | 2015-04-29 | 24 | -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 Skeet | 2015-04-29 | 4 | -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 Skeet | 2015-04-29 | 9 | -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 Skeet | 2015-04-29 | 11 | -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 Skeet | 2015-04-29 | 99 | -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 | ||||
* | | Merge pull request #313 from jskeet/csharp | Jie Luo | 2015-04-28 | 78 | -104432/+183367 |
|\| | | | | | First steps to making the C# runtime work with new codegen | ||||
| * | Update DescriptorProtoFile.cs and UnitTest.cs to indicate manual changes. | Jon Skeet | 2015-04-28 | 3 | -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 Skeet | 2015-04-28 | 67 | -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 Skeet | 2015-04-28 | 11 | -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/csharp | Jie Luo | 2015-04-27 | 3 | -0/+129 |
|\ | | | | | Add C# generator files to the VS project for libprotoc | ||||
| * | Add C# files to Visual Studio projects. | Jon Skeet | 2015-04-24 | 3 | -0/+129 |
|/ | | | | Also ignore Windows native build output files. | ||||
* | Merge pull request #288 from jtattermusch/csharp_protobuf_reviewed | Jie Luo | 2015-04-17 | 448 | -52/+208342 |
|\ | | | | | C# protocol buffers (initial pull request) | ||||
| * | forgot to include header files into automake template | Jan Tattermusch | 2015-04-17 | 1 | -1/+15 |
| | | |||||
| * | Merge pull request #1 from jtattermusch/csharp_protogen_rewrite | Jan Tattermusch | 2015-04-17 | 36 | -52/+5199 |
| |\ | | | | | | | Rewrite of C# protogen to C++ (initial version) | ||||
| | * | temporarily removing csharp_umbrella_namespace file option | Jan Tattermusch | 2015-04-17 | 4 | -233/+46 |
| | | | |||||
| | * | removing csharp_property_name field option | Jan Tattermusch | 2015-04-17 | 4 | -223/+35 |
| | | | |||||
| | * | one more fix to csharp_umbrella_namespace comment | Jan Tattermusch | 2015-04-17 | 1 | -3/+5 |
| | | | |||||
| | * | fix: do not mention umbrella_classname in comment | Jan Tattermusch | 2015-04-17 | 1 | -1/+1 |
| | | | |||||
| | * | Fixed comment for csharp_umbrella_namespace (nest_classes has been removed) | Jan Tattermusch | 2015-04-16 | 1 | -2/+1 |
| | | | |||||
| | * | fixing field number of csharp_umbrella_namespace option | Jan Tattermusch | 2015-04-16 | 3 | -15/+15 |
| | | | |||||
| | * | integrate CalcSerializedSize() fix from protobuf-csharp-port issue 84 | Jan Tattermusch | 2015-04-13 | 1 | -4/+12 |
| | | | |||||
| | * | fixing implementation of GetFileUmbrellaNamespace | Jan Tattermusch | 2015-04-13 | 1 | -18/+22 |
| | | | |||||
| | * | implemented HasRequiredFields logic | Jan Tattermusch | 2015-04-13 | 1 | -2/+37 |
| | | | |||||
| | * | addressed TODO for lite runtime | Jan Tattermusch | 2015-04-13 | 1 | -7/+11 |
| | | | |||||
| | * | creating private ctor for builders is now the default (as it used to be for ↵ | Jan Tattermusch | 2015-04-13 | 1 | -0/+1 |
| | | | | | | | | | | | | old codegen) | ||||
| | * | output file naming logic, configurable file extension, comment rewording | Jan Tattermusch | 2015-04-13 | 3 | -16/+24 |
| | | | |||||
| | * | added support for deprecated fields, reworded some todos | Jan Tattermusch | 2015-04-13 | 3 | -8/+6 |
| | | | |||||
| | * | enable overriding of property name using csharp_property_name | Jan Tattermusch | 2015-04-13 | 1 | -1/+3 |
| | | | |||||
| | * | updated C# codegen to use restricted set of csharp options from descriptor.proto | Jan Tattermusch | 2015-04-13 | 8 | -52/+27 |
| | | | |||||
| | * | restricted number of csharp options and regenerated descriptor.proto | Jan Tattermusch | 2015-04-13 | 3 | -1348/+243 |
| | | | |||||
| | * | Rewrote C# protogen to C++ (initial version) | Jan Tattermusch | 2015-03-26 | 36 | -49/+6640 |
| | | | |||||
| * | | Merge pull request #2 from jtattermusch/csharp_protobuf_imported | Jan Tattermusch | 2015-04-17 | 412 | -0/+203129 |
| |\ \ | | |/ | |/| | Pulling protobuf-csharp-port into csharp/ directory | ||||
| | * | removed .hgignore file | Jan Tattermusch | 2015-04-16 | 1 | -23/+0 |
| | | | |||||
| | * | Added instructions to manually download the dependencies | Jan Tattermusch | 2015-04-16 | 2 | -0/+16 |
| | | | |||||
| | * | cleanup of csharp/lib/ directory | Jan Tattermusch | 2015-04-16 | 88 | -36442/+0 |
| | | | |||||
| | * | Updated readme.md and changes.txt, removed old license.txt | Jan Tattermusch | 2015-04-16 | 3 | -48/+26 |
| | | | |||||
| | * | Imported protobuf-csharp-port into csharp/ tree | Jan Tattermusch | 2015-04-16 | 501 | -0/+239600 |
| |/| | |||||
| | * | Create README.md | Jon Skeet | 2015-04-08 | 1 | -0/+12 |
| | | | |||||
| | * | Build updated NuGet.exe | csharptest | 2015-02-22 | 1 | -0/+0 |
| | | | |||||
| | * | Added tag 2.4.1.555 for changeset fca9fcced6ba | csharptest | 2015-02-22 | 0 | -0/+0 |
| | | | |||||
| | * | version 2.4.1.555 | csharptest | 2015-02-22 | 42 | -60/+60 |
| | | | |||||
| | * | Changes for pulish script | csharptest | 2015-02-22 | 2 | -4/+5 |
| | | | |||||
| | * | Updated changes.txt with previous and current release | csharptest | 2015-02-22 | 1 | -0/+45 |
| | | | |||||
| | * | Rebuild source for Issue 84 change to code generator | csharptest | 2015-02-07 | 26 | -6143/+7353 |
| | | | |||||
| | * | Issue 84: warning CS0219: The variable `size' is assigned but its value is ↵ | csharptest | 2015-02-07 | 1 | -4/+12 |
| | | | | | | | | | | | | never used | ||||
| | * | Fix build error for missing method Enum.GetValues() on some platforms | csharptest | 2015-02-07 | 3 | -107/+128 |
| | | |