aboutsummaryrefslogtreecommitdiff
path: root/csharp
Commit message (Collapse)AuthorAgeFilesLines
* 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.)
* 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
* 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...
* removed .hgignore fileJan Tattermusch2015-04-161-23/+0
|
* Added instructions to manually download the dependenciesJan Tattermusch2015-04-162-0/+16
|
* cleanup of csharp/lib/ directoryJan Tattermusch2015-04-1688-36442/+0
|
* Updated readme.md and changes.txt, removed old license.txtJan Tattermusch2015-04-163-48/+26
|
* Imported protobuf-csharp-port into csharp/ treeJan Tattermusch2015-04-16501-0/+239600
|
* Wiping slate clean to start again with new layout.Jon Skeet2008-10-22144-46146/+0
|
* Final commit before changing layoutJon Skeet2008-10-2239-1341/+4007
|
* Made things a bit more public for the sake of ProtoGenJon Skeet2008-10-024-7/+33
|
* Initial setup of generator code. Little real functionality so far.Jon Skeet2008-09-0421-4/+457
|
* Doc fixJon Skeet2008-09-041-1/+1
|
* Reduce dependenciesJon Skeet2008-09-041-2/+0
|
* Fix initialization check when an optional field has required subfieldsJon Skeet2008-09-043-6/+317
|
* Renamed GeneratedRepeatException to GeneratedRepeatExtensionJon Skeet2008-09-042-1/+1
|
* Added a doc TODOJon Skeet2008-09-041-0/+3
|
* Removed unnecessary delegateJon Skeet2008-09-041-1/+0
|
* Implemented popsicle immutability for lists. Modified MessageStreamIterator ↵Jon Skeet2008-08-2116-863/+580
| | | | to be singly generic.
* Fix to constructor access for nested types, and first pass at streaming.Jon Skeet2008-08-1919-267/+503
|
* Small tidying.Jon Skeet2008-08-162-8/+6
|
* Comments.Jon Skeet2008-08-153-5/+51
|
* Just comments.Jon Skeet2008-08-151-1/+1
|
* Remove unused variable.Jon Skeet2008-08-151-2/+0
|
* Use a nullable int for the memoizedSize, just because it's neater.Jon Skeet2008-08-151-7/+5
|
* Add aliases into enumsJon Skeet2008-08-151-0/+2
|
* Reflect Java source code.Jon Skeet2008-08-152-1/+15
|
* Updated C# tests and code for TextFormat to match Java.Jon Skeet2008-08-153-9/+85
|
* Updates due to changes to descriptor.protoJon Skeet2008-08-151-149/+400
|
* Experimental (and currently unused) behaviour to determine whether or not a ↵Jon Skeet2008-08-143-0/+58
| | | | message has any required fields.
* Align delegates with .NET 3.5Jon Skeet2008-08-146-51/+41
|
* Use a switch instead of a map for WireFormat.Jon Skeet2008-08-143-17/+48
|
* Evil reflection optimisation.Jon Skeet2008-08-1411-51/+197
|
* Micro-optimisations around varints and strings.Jon Skeet2008-08-142-17/+86
|
* Use delegates instead of dynamic reflection.Jon Skeet2008-08-1420-413/+556
|
* Optimisations of IsInitialized and removal of unnecessary references.Jon Skeet2008-08-144-5/+41
|
* Removed accidental addition of test directory.Jon Skeet2008-08-1439-11016/+0
|
* Fixed a few TODOsJon Skeet2008-08-1439-0/+11016
|
* Abandon the 'self' namespace alias - we need to be able to import types in ↵Jon Skeet2008-08-1410-2450/+2430
| | | | other namespaces too.
* Signed the test assembly, and added InternalsVisibleTo. Some public members ↵Jon Skeet2008-08-145-20/+23
| | | | now internal again.
* Beginning to fix the TODOsJon Skeet2008-08-145-204/+189
|
* Removed EnumDescriptorIndexAttribute - not really necessary.Jon Skeet2008-08-143-36/+15
|
* Batch file to generate the bootstrapping proto filesJon Skeet2008-08-141-0/+9
|