aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/csharp/csharp_enum_field.cc
Commit message (Collapse)AuthorAge
* Fix merging with message-valued oneofGravatar Jon Skeet2017-10-31
| | | | | | | | | | If messages A and B have the same oneof case, which is a message type, and we merge B into A, those sub-messages should be merged. Fixes #3200. Note that I haven't regenerated all the code, as some of the protos have been changed, breaking generation.
* Line-wrapping changes only for C# generator codeGravatar Jon Skeet2016-04-06
| | | | | | | | This should have no behavioral changes at all. This doesn't strictly enforce an 80-column limit, but removes the most egregious violations. The indentation in the C# generator code is inconsistent in general, unfortunately - if we have any good tools that can be trusted to reformat, I'd be happy to apply them.
* Added access_level for typesGravatar Gaurav Vaish2016-04-05
| | | | | | | | | | | * `csharp_options`: Added `Options` to encapsulate generator options. Supported options for now - file_extension, base_namespace * `{Blah}Generator`: Now accept `Options*` as parameter to constructor * `csharp_generator.cc`: Parse and populate options * `Makefile.am`: Added `csharp_options.h` * `extract_includes.bat.in`: Added `csharp_options.h` Refactoring code to two commits. This is the first commit
* First pass at map support.Gravatar Jon Skeet2015-06-25
| | | | More tests required. Generated code in next commit.
* Use the fact that we know the tag size and bytes at codegen time to optimize.Gravatar Jon Skeet2015-06-17
|
* Coded*Stream streamlining.Gravatar Jon Skeet2015-06-12
| | | | Remove ICodedInputStream and ICodedOutputStream, and rewrite CodedInputStream and CodedOutputStream to be specific to the binary format. If we want to support text-based formats, that can be a whole different serialization mechanism.
* Reimplement enums as int values, and get rid of EnumHelper.Gravatar Jon Skeet2015-06-11
| | | | This makes repeated fields really awkward at the moment - but when we reimplement RepeatedField<T> to be backed by an array, we can cast the array directly...
* First pass at the mutable API. Quite a bit more to do - in particular, it's ↵Gravatar Jon Skeet2015-06-09
| | | | pretty slow right now.
* First stab at new proto3-only code generatorGravatar Jon Skeet2015-06-05
|
* 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
|
* fix bug for Field PresenceGravatar Jie Luo2015-04-27
|
* Field Presence: remove has methods for optional non-message fields in proto3Gravatar Jie Luo2015-04-27
|
* Rewrote C# protogen to C++ (initial version)Gravatar Jan Tattermusch2015-03-26