aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src
Commit message (Collapse)AuthorAge
* Generated code changes for previous commit.Gravatar Jon Skeet2015-09-29
|
* Generated code for previous commitGravatar Jon Skeet2015-09-29
|
* Added documentation to generated code.Gravatar Jon Skeet2015-09-29
| | | | | | | | | | | There are now summaries for: - The Types nested class (which holds nested types) - The file descriptor class for each proto - The enum generated for each oneof (Also fixed two typos.) Generated code in next commit.
* Merge pull request #785 from jskeet/csharp-directoriesGravatar Jan Tattermusch2015-09-23
|\ | | | | Generate C# directory hierarchy with new option
* | Pack/Unpack implementation for Any.Gravatar Jon Skeet2015-09-04
| | | | | | | | | | We still need the JSON representation, which relies on something like a DescriptorPool to fetch message types from based on the type URL. That will come a bit later. (The DescriptorPool comment in this commit is just a note which will prove useful if we use DescriptorPool itself.)
| * Regenerated code. Most changes are whitespace, removing trailing spaces.Gravatar Jon Skeet2015-09-01
|/ | | | Other changes are due to the well-known types changing without us regenerating.
* Merge pull request #738 from jtattermusch/include_descriptor_protoGravatar Jon Skeet2015-08-26
|\ | | | | Include descriptor.proto in nuget package
| * include descriptor.proto in nuget packageGravatar Jan Tattermusch2015-08-25
| |
* | 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.
* fix type initialization problem with FileDescriptorGravatar Jan Tattermusch2015-08-14
|
* add a failing descriptor testGravatar Jan Tattermusch2015-08-14
|
* remove duplicate test caseGravatar Jan Tattermusch2015-08-14
|
* Allow public access to descriptor.proto as a dependency.Gravatar Jon Skeet2015-08-13
| | | | | With this in place, generating APIs on github.com/google/googleapis works - previously annotations.proto failed. Currently there's no access to the annotations (stored as extensions) but we could potentially expose those at a later date.
* More TODOs done.Gravatar Jon Skeet2015-08-10
| | | | | | - Removed a TODO without change in DescriptorPool.LookupSymbol - the TODOs were around performance, and this is only used during descriptor initialization - Make the CodedInputStream limits read-only, adding a static factory method for the rare cases when this is useful - Extracted IDeepCloneable into its own file.
* Merge pull request #701 from jskeet/map-viewsGravatar Jon Skeet2015-08-10
|\ | | | | Implement Keys and Values as views in MapField
| * Fix parameter name in exception.Gravatar Jon Skeet2015-08-10
| |
| * Implement ICollection.CopyTo (using Array) for MapField views.Gravatar Jon Skeet2015-08-10
| |
| * Implement Keys and Values as viewsGravatar Jon Skeet2015-08-08
| |
* | Make FieldDescriptor.IsPacked work appropriately.Gravatar Jon Skeet2015-08-08
|/ | | | | This is a bit of a grotty hack, as we need to sort of fake proto2 field presence, but with only a proto3 version of the descriptor messages (a bit like oneof detection). Should be okay, but will need to be careful of this if we ever implement proto2.
* Address review comments.Gravatar Jon Skeet2015-08-08
|
* Remove reference to generic types within XML comment.Gravatar Jon Skeet2015-08-08
| | | | Visual Studio is happy with it, but Mono isn't :(
* Tidying up - fix a bunch of TODOs and remove outdated ones.Gravatar Jon Skeet2015-08-08
|
* Address review comments.Gravatar Jon Skeet2015-08-08
|
* Generated code for previous commit.Gravatar Jon Skeet2015-08-06
|
* Skip groups properly.Gravatar Jon Skeet2015-08-06
| | | | | | | | | | | Now the generated code doesn't need to check for end group tags, as it will skip whole groups at a time. Currently it will ignore extraneous end group tags, which may or may not be a good thing. Renamed ConsumeLastField to SkipLastField as it felt more natural. Removed WireFormat.IsEndGroupTag as it's no longer useful. This mostly fixes issue 688. (Generated code changes coming in next commit.)
* Make InvalidProtocolBufferException.InvalidTag internal.Gravatar Jon Skeet2015-08-05
| | | | We don't need to expose the InvalidProtocolBufferException factory method now that the generated code doesn't throw the exception.
* Generated code changes for previous commit.Gravatar Jon Skeet2015-08-05
|
* Change ReadTag and PeekTag to just use 0 as a return value for "end of ↵Gravatar Jon Skeet2015-08-05
| | | | | | | | stream", rather than using an awkward out parameter. This simplifies quite a lot of code. Generated code in next commit.
* Update AssemblyInfo for conformance - mostly to fix version numbers.Gravatar Jon Skeet2015-08-05
|
* Validate that after reading a message, we've consumed as many bytes as we ↵Gravatar Jon Skeet2015-08-05
| | | | | | expected to. We should now have no conformance failures.
* Generated code changes for previous commit.Gravatar Jon Skeet2015-08-05
|
* Consume unknown fields when parsing.Gravatar Jon Skeet2015-08-05
| | | | | This is expected to be the cause of the conformance test failures. Generated code in next commit.
* First pass at C# conformance tests.Gravatar Jon Skeet2015-08-05
| | | | Completely untested so far - easier to get started in VS and then transfer to Linux for tweaking...
* Merge pull request #691 from jskeet/xml-documentationGravatar Jon Skeet2015-08-05
|\ | | | | Document everything, and turn on errors if we fail to document anything in the future
| * Fix one cref that Mono was unhappy withGravatar Jon Skeet2015-08-05
| |
| * Document everything, and turn on errors if we fail to document anything in ↵Gravatar Jon Skeet2015-08-04
| | | | | | | | the future.
* | Fix build warnings around unused variablesGravatar Jon Skeet2015-08-04
|/
* Merge pull request #681 from jskeet/json-fieldmaskGravatar Jon Skeet2015-08-03
|\ | | | | JSON formatting for FieldMask
* \ Merge pull request #680 from jskeet/aptcaGravatar Jon Skeet2015-08-03
|\ \ | | | | | | Allow partially-trusted callers again.
| | * JSON formatting for FieldMaskGravatar Jon Skeet2015-08-03
| |/ |/|
* | Expose Coded*Stream constructors directly.Gravatar Jon Skeet2015-08-03
| |
| * Allow partially-trusted callers again.Gravatar Jon Skeet2015-08-03
|/ | | | Fixes issue #552. (And yay, it looks like our build profile supports this...)
* Merge pull request #675 from jtattermusch/signingGravatar Jon Skeet2015-08-03
|\ | | | | Add ReleaseSigned configuration for C#
* | Initial pass at formatting Struct as JSON.Gravatar Jon Skeet2015-08-03
| | | | | | | | This seems remarkably little code, but it appears to work. I can add tests for invalid structs at some point, once the general approach is approved.
* | Addressed issues raised in code review. Will merge when green.Gravatar Jon Skeet2015-08-03
| |
* | Format JSON for Duration and Timestamp.Gravatar Jon Skeet2015-08-03
| | | | | | | | This is taking an approach of putting all the logic in JsonFormatter. That's helpful in terms of concealing the details of whether or not to wrap the value in quotes, but it does lack flexibility. I don't *think* we want to allow user-defined formatting of messages, so that much shouldn't be a problem.
| * make changes and fixes in signingGravatar Jan Tattermusch2015-08-02
| |
| * added protoc.exe and well known protobuf files to the nuspec fileGravatar Jan Tattermusch2015-08-02
| |
| * build signed assembliesGravatar Jan Tattermusch2015-08-02
|/
* Simplify the JSON tests for readabilityGravatar Jon Skeet2015-07-31
| | | | Use ' instead of " in the expected JSON, then replace it before asserting.