aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp
Commit message (Collapse)AuthorAge
* Migrate writer to io::Printer for C#Gravatar Jie Luo2015-06-04
|
* Change the C# enum generator inherit from primitive generatorGravatar Jie Luo2015-05-29
|
* Add oneof support for C#Gravatar Jie Luo2015-05-29
|
* Merge pull request #394 from ironhidegames/csharp-aot-iosGravatar Jan Tattermusch2015-05-21
|\ | | | | Solves AOT compilation issue for Unity - iOS
| * added concrete IEqualityComparer<ExtensionIntPair> implementation in ↵Gravatar Ruben Garat2015-05-20
| | | | | | | | ExtensionRegistryLite.cs to prevent AOT compilation issue with unity in iOS
* | Generate *all* protos in the script, applying fixups.Gravatar Jon Skeet2015-05-16
|/ | | | | | | | | | | | | | 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.
* Make generate_protos.sh Windows-friendly.Gravatar Jon Skeet2015-05-14
| | | | | | | | | | 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
* Merge pull request #382 from jtattermusch/integrate_from_masterGravatar Jie Luo2015-05-13
|\ | | | | Integrate changes from latest master branch into csharp branch.
| * Regenerate UnittestDropUnknownFields.csGravatar Jan Tattermusch2015-05-13
| |
* | Update README.md for C#Gravatar Jan Tattermusch2015-05-13
|/
* Update C# code generation scriptGravatar Jon Skeet2015-05-13
|
* Remove the C#-specific field_presence_test.proto, using ↵Gravatar Jon Skeet2015-05-13
| | | | | | | unittest_no_field_presence.proto instead. This is the start of establishing a C# namespace of "Google.ProtocolBuffers.TestProtos.Proto3" for proto3-syntax protos. We could optionally split the directory structure as well into Proto2 and Proto3 for clarity.
* regenerated UnittestImportLite.csGravatar Jan Tattermusch2015-05-12
|
* regenerated UnittestImportPublicLiteGravatar Jan Tattermusch2015-05-12
|
* Regenerated UnittestExtrasLite.csGravatar Jan Tattermusch2015-05-12
|
* Regenerated UnittestDropUnknownFields.csGravatar Jan Tattermusch2015-05-12
|
* remove C# files not referenced in any projectGravatar Jan Tattermusch2015-05-12
|
* Regenerate some proto files after ClsCompliance has been droppedGravatar Jan Tattermusch2015-05-12
|
* rename FieldPresence to correct nameGravatar Jan Tattermusch2015-05-12
|
* got rid of the outdated mono subdirectoryGravatar Jan Tattermusch2015-05-12
|
* draft of generate_protos.shGravatar Jan Tattermusch2015-05-12
|
* add buildall script for monoGravatar Jan Tattermusch2015-05-12
|
* adding what was missing in .gitignoreGravatar Jan Tattermusch2015-05-12
|
* lib subdir is not needed anymoreGravatar Jan Tattermusch2015-05-12
|
* Fix newline assertion in TestJsonFormatted on monoGravatar Jan Tattermusch2015-05-12
|
* remove TreatWarningsAsError setting to allow building in MonodevelopGravatar Jan Tattermusch2015-05-12
|
* Convert back to using NUnit, which is now loaded via NuGet.Gravatar Jon Skeet2015-05-12
| | | | | 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.
* Performance optimization for small messages without unknown fieldsGravatar Jan Tattermusch2015-05-07
|
* fix commentsGravatar Jie Luo2015-05-01
|
* Change field_presence_test.protoGravatar Jie Luo2015-05-01
|
* fix commentsGravatar Jie Luo2015-04-30
|
* fix commends from Jon SkeetGravatar Jie Luo2015-04-30
|
* Merge branch 'csharp' of git://github.com/google/protobuf into google-csharpGravatar Jie Luo2015-04-30
|\
| * Change to using xUnit for all unit tests, and fetch that via NuGet.Gravatar Jon Skeet2015-04-30
| | | | | | | | This includes fetching the VS unit test runner package, so that tests can be run from Visual Studio's Test Explorer.
* | Merge branch 'csharp' of git://github.com/google/protobuf into google-csharpGravatar Jie Luo2015-04-29
|\ \
* | | rename FieldPResenceTest.cs fileGravatar Jie Luo2015-04-29
| | |
| | * Convert both the full and lite runtimes (and json/xml serialization ↵Gravatar Jon Skeet2015-04-29
| |/ | | | | | | | | | | | | 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.)
* | Change the package for field_presence_test.protoGravatar Jie Luo2015-04-29
| |
* | field presence Reflection and testsGravatar Jie Luo2015-04-29
| |
| * Removing more C# project files.Gravatar Jon Skeet2015-04-29
| |
| * Remove CLS compliance from runtime code.Gravatar Jon Skeet2015-04-29
| | | | | | | | We need to remove it from the generator too; I'll raise a github issue for that.
| * Update C# solution and AddressBook project.Gravatar Jon Skeet2015-04-29
| | | | | | | | | | | | | | | | 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.Gravatar Jon Skeet2015-04-29
| | | | | | | | | | 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.Gravatar Jon Skeet2015-04-29
| | | | | | | | 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:Gravatar Jon Skeet2015-04-29
|/ | | | | | 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
* Update DescriptorProtoFile.cs and UnitTest.cs to indicate manual changes.Gravatar Jon Skeet2015-04-28
| | | | (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.Gravatar Jon Skeet2015-04-28
| | | | | | | | | | 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.Gravatar Jon Skeet2015-04-28
| | | | | | | | 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...
* removed .hgignore fileGravatar Jan Tattermusch2015-04-16
|
* Added instructions to manually download the dependenciesGravatar Jan Tattermusch2015-04-16
|