aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/csharp/csharp_helpers.cc
Commit message (Collapse)AuthorAge
* fix index out of range error in C# generation using msvc (#1329)Gravatar Warren Falk2018-05-14
|
* Missed LIBPROTOC_EXPORT for GRPC addedGravatar Arkadiy Shapkin2016-12-01
|
* Attempt to fix AppVeyor build by exporting GetEnumValueNameGravatar Jon Skeet2016-04-20
|
* Add C# codegen changes to enum value names (mostly C++)Gravatar Jon Skeet2016-04-20
| | | | | | | | | | Overview of changes: - A new C#-specific command-line option, legacy_enum_values to revert to the old behavior - When legacy_enum_values isn't specified, we strip the enum name as a prefix, and PascalCase the value name - A new attribute within the C# code so that we can always tell the original in-proto name Regenerating the C# code with legacy_enum_values leads to code which still compiles and works - but there's more still to do.
* 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
* Rename "umbrella" to "reflection" consistently.Gravatar Jon Skeet2015-11-19
| | | | This changes csharp_names.h, which will require a corresponding change in GRPC.
* Change how the reflection descriptor class is generated.Gravatar Jon Skeet2015-11-09
| | | | | Instead of having a Proto nested namespace to avoid conflicts between the descriptor-holding static class and message classes, just append "Reflection" to the name. Generated code changes (and corresponding manual changes) in following commit.
* expose GetOutputFile in csharp_names.hGravatar Jan Tattermusch2015-09-23
|
* Change where we rename Descriptor.cs to DescriptorProtoFile.cs.Gravatar Jon Skeet2015-08-25
| | | | | | | | | | | We now do this in protoc instead of the generation simpler. Benefits: - Generation script is simpler - Detection is simpler as we now only need to care about one filename - The embedded descriptor knows itself as "google/protobuf/descriptor.proto" avoiding dependency issues This PR also makes the "invalid dependency" exception clearer in terms of expected and actual dependencies.
* Remove our own version of MakeTag now that the main one is fixed.Gravatar Jon Skeet2015-08-07
| | | | "Tested" by regenerating code and observing that there are no changes.
* Handle field names of "descriptor" and "types".Gravatar Jon Skeet2015-07-31
|
* refactor umbrella class helpersGravatar Jan Tattermusch2015-07-30
|
* First part of implementing wrapper types. Not ready yet!Gravatar Jon Skeet2015-07-16
|
* Convert package name to PascalCase for C# namespaceGravatar Jon Skeet2015-07-14
| | | | Fixes issue 312.
* Remove unused code in C# codegenGravatar Jon Skeet2015-06-30
|
* Fix for doubly-nested types - issue #307.Gravatar Jon Skeet2015-06-29
| | | | No specific test case - if the generated code compiles, the issue is fixed :)
* First pass at map support.Gravatar Jon Skeet2015-06-25
| | | | More tests required. Generated code in next commit.
* Revert the change to wire_format.h.Gravatar Jon Skeet2015-06-24
| | | | | It seems too much code relies on the broken behaviour. See issue #493. Instead, we reimplement MakeTag just for C#, temporarily.
* Add oneof support for C#Gravatar Jie Luo2015-05-29
|
* temporarily removing csharp_umbrella_namespace file optionGravatar Jan Tattermusch2015-04-17
|
* removing csharp_property_name field optionGravatar Jan Tattermusch2015-04-17
|
* fixing implementation of GetFileUmbrellaNamespaceGravatar Jan Tattermusch2015-04-13
|
* implemented HasRequiredFields logicGravatar Jan Tattermusch2015-04-13
|
* output file naming logic, configurable file extension, comment rewordingGravatar Jan Tattermusch2015-04-13
|
* enable overriding of property name using csharp_property_nameGravatar Jan Tattermusch2015-04-13
|
* updated C# codegen to use restricted set of csharp options from descriptor.protoGravatar Jan Tattermusch2015-04-13
|
* Rewrote C# protogen to C++ (initial version)Gravatar Jan Tattermusch2015-03-26