1. 20 May, 2015 1 commit
  2. 16 May, 2015 1 commit
    • Jon Skeet's avatar
      Generate *all* protos in the script, applying fixups. · b1a395ce
      Jon Skeet authored
      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.
      b1a395ce
  3. 14 May, 2015 1 commit
    • Jon Skeet's avatar
      Make generate_protos.sh Windows-friendly. · 734393d0
      Jon Skeet authored
      To my surprise, executing generate_protos.sh used the version of Bash installed with Git for Windows by default.
      After a few modifications to detect the most appropriate protoc to use, this worked pretty simply.
      This change also:
      - adds generation of the address book tutorial proto,
      - fixes the addressbook.proto to specify proto2 explicitly (to avoid a warning from protoc; I don't think we want warnings...)
      - fixes the addressbook.proto C# namespace (which I thought I'd done before, but apparently hadn't)
      - includes the regenerated UnittestCustomOptions.cs apart from the DescriptorProtoFIle => Descriptor change
      734393d0
  4. 13 May, 2015 14 commits
  5. 12 May, 2015 5 commits
  6. 07 May, 2015 1 commit
  7. 01 May, 2015 4 commits
  8. 30 Apr, 2015 1 commit
  9. 29 Apr, 2015 10 commits
    • Jie Luo's avatar
      rename FieldPResenceTest.cs file · 4af18b87
      Jie Luo authored
      4af18b87
    • 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
    • Jie Luo's avatar
      d1f5acaa
    • Jie Luo's avatar
      field presence Reflection and tests · c5c9c6a7
      Jie Luo authored
      c5c9c6a7
    • 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
  10. 28 Apr, 2015 2 commits