1. 29 Apr, 2015 8 commits
    • Jon Skeet's avatar
      Convert both the full and lite runtimes (and json/xml serialization assemblies)… · ce97e686
      Jon Skeet authored
      Convert both the full and lite runtimes (and json/xml serialization 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.)
      ce97e686
    • Jon Skeet's avatar
      Merge pull request #317 from jskeet/csharp · a449f66b
      Jon Skeet authored
      Tidying up the C# runtime project
      a449f66b
    • Jon Skeet's avatar
      Removing more C# project files. · 0e916d09
      Jon Skeet authored
      0e916d09
    • Jon Skeet's avatar
      Remove CLS compliance from runtime code. · f015b860
      Jon Skeet authored
      We need to remove it from the generator too; I'll raise a github issue for that.
      f015b860
    • Jon Skeet's avatar
      Update C# solution and AddressBook project. · 5e0189ab
      Jon Skeet authored
      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.)
      5e0189ab
    • Jon Skeet's avatar
      Remove support for Serializable. · f651f73a
      Jon Skeet authored
      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.
      f651f73a
    • Jon Skeet's avatar
      Remove RPC support. · cc058e11
      Jon Skeet authored
      It is expected that third parties will generate service/RPC code themselves - see gRPC as an example.
      cc058e11
    • Jon Skeet's avatar
      Remove a bunch of files which are no longer relevant: · e8310aa2
      Jon Skeet authored
      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
      e8310aa2
  2. 28 Apr, 2015 4 commits
    • Jie Luo's avatar
      Merge pull request #313 from jskeet/csharp · 32ead755
      Jie Luo authored
      First steps to making the C# runtime work with new codegen
      32ead755
    • Jon Skeet's avatar
      Update DescriptorProtoFile.cs and UnitTest.cs to indicate manual changes. · 5ca6dd76
      Jon Skeet authored
      (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.)
      5ca6dd76
    • Jon Skeet's avatar
      Updated set of unit tests and unit test protos. · ce66c5f1
      Jon Skeet authored
      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
      ce66c5f1
    • Jon Skeet's avatar
      First part of making the C# runtime work with the new codegen. · f3504cf3
      Jon Skeet authored
      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...
      f3504cf3
  3. 27 Apr, 2015 1 commit
  4. 24 Apr, 2015 1 commit
  5. 18 Apr, 2015 1 commit
  6. 17 Apr, 2015 7 commits
  7. 16 Apr, 2015 7 commits
  8. 15 Apr, 2015 1 commit
  9. 14 Apr, 2015 1 commit
  10. 13 Apr, 2015 9 commits