Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Generated code from previous commit. | Jon Skeet | 2015-10-01 | 19 | -0/+1945 |
| | |||||
* | Fix typo in oneof case enum comment | Jon Skeet | 2015-09-30 | 5 | -9/+9 |
| | |||||
* | Generated code changes for previous commit. | Jon Skeet | 2015-09-29 | 19 | -34/+34 |
| | |||||
* | Generated code for previous commit | Jon Skeet | 2015-09-29 | 19 | -0/+62 |
| | |||||
* | Added documentation to generated code. | Jon Skeet | 2015-09-29 | 2 | -2/+2 |
| | | | | | | | | | | | 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-directories | Jan Tattermusch | 2015-09-23 | 19 | -741/+1033 |
|\ | | | | | Generate C# directory hierarchy with new option | ||||
| * | Regenerated code. Most changes are whitespace, removing trailing spaces. | Jon Skeet | 2015-09-01 | 19 | -741/+1033 |
| | | | | | | | | Other changes are due to the well-known types changing without us regenerating. | ||||
* | | Pack/Unpack implementation for Any. | Jon Skeet | 2015-09-04 | 5 | -0/+149 |
|/ | | | | | 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.) | ||||
* | Merge pull request #738 from jtattermusch/include_descriptor_proto | Jon Skeet | 2015-08-26 | 1 | -0/+1 |
|\ | | | | | Include descriptor.proto in nuget package | ||||
| * | include descriptor.proto in nuget package | Jan Tattermusch | 2015-08-25 | 1 | -0/+1 |
| | | |||||
* | | Change where we rename Descriptor.cs to DescriptorProtoFile.cs. | Jon Skeet | 2015-08-25 | 2 | -114/+114 |
|/ | | | | | | | | | | | 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 FileDescriptor | Jan Tattermusch | 2015-08-14 | 1 | -148/+175 |
| | |||||
* | add a failing descriptor test | Jan Tattermusch | 2015-08-14 | 1 | -0/+7 |
| | |||||
* | remove duplicate test case | Jan Tattermusch | 2015-08-14 | 1 | -1/+0 |
| | |||||
* | Allow public access to descriptor.proto as a dependency. | Jon Skeet | 2015-08-13 | 1 | -0/+15 |
| | | | | | 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. | Jon Skeet | 2015-08-10 | 7 | -126/+168 |
| | | | | | | - 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-views | Jon Skeet | 2015-08-10 | 2 | -4/+180 |
|\ | | | | | Implement Keys and Values as views in MapField | ||||
| * | Fix parameter name in exception. | Jon Skeet | 2015-08-10 | 1 | -1/+1 |
| | | |||||
| * | Implement ICollection.CopyTo (using Array) for MapField views. | Jon Skeet | 2015-08-10 | 2 | -1/+26 |
| | | |||||
| * | Implement Keys and Values as views | Jon Skeet | 2015-08-08 | 2 | -4/+155 |
| | | |||||
* | | Make FieldDescriptor.IsPacked work appropriately. | Jon Skeet | 2015-08-08 | 3 | -4/+18 |
|/ | | | | | 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. | Jon Skeet | 2015-08-08 | 1 | -2/+0 |
| | |||||
* | Remove reference to generic types within XML comment. | Jon Skeet | 2015-08-08 | 1 | -2/+2 |
| | | | | Visual Studio is happy with it, but Mono isn't :( | ||||
* | Tidying up - fix a bunch of TODOs and remove outdated ones. | Jon Skeet | 2015-08-08 | 17 | -102/+84 |
| | |||||
* | Address review comments. | Jon Skeet | 2015-08-08 | 2 | -2/+24 |
| | |||||
* | Generated code for previous commit. | Jon Skeet | 2015-08-06 | 21 | -452/+142 |
| | |||||
* | Skip groups properly. | Jon Skeet | 2015-08-06 | 6 | -32/+138 |
| | | | | | | | | | | | 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. | Jon Skeet | 2015-08-05 | 1 | -1/+1 |
| | | | | 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. | Jon Skeet | 2015-08-05 | 19 | -339/+113 |
| | |||||
* | Change ReadTag and PeekTag to just use 0 as a return value for "end of ↵ | Jon Skeet | 2015-08-05 | 7 | -62/+52 |
| | | | | | | | | 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. | Jon Skeet | 2015-08-05 | 1 | -23/+35 |
| | |||||
* | Validate that after reading a message, we've consumed as many bytes as we ↵ | Jon Skeet | 2015-08-05 | 2 | -8/+47 |
| | | | | | | expected to. We should now have no conformance failures. | ||||
* | Generated code changes for previous commit. | Jon Skeet | 2015-08-05 | 19 | -0/+113 |
| | |||||
* | Consume unknown fields when parsing. | Jon Skeet | 2015-08-05 | 2 | -0/+62 |
| | | | | | This is expected to be the cause of the conformance test failures. Generated code in next commit. | ||||
* | First pass at C# conformance tests. | Jon Skeet | 2015-08-05 | 6 | -0/+2637 |
| | | | | Completely untested so far - easier to get started in VS and then transfer to Linux for tweaking... | ||||
* | Merge pull request #691 from jskeet/xml-documentation | Jon Skeet | 2015-08-05 | 27 | -108/+742 |
|\ | | | | | Document everything, and turn on errors if we fail to document anything in the future | ||||
| * | Fix one cref that Mono was unhappy with | Jon Skeet | 2015-08-05 | 1 | -1/+1 |
| | | |||||
| * | Document everything, and turn on errors if we fail to document anything in ↵ | Jon Skeet | 2015-08-04 | 26 | -107/+741 |
| | | | | | | | | the future. | ||||
* | | Fix build warnings around unused variables | Jon Skeet | 2015-08-04 | 3 | -3/+3 |
|/ | |||||
* | Merge pull request #681 from jskeet/json-fieldmask | Jon Skeet | 2015-08-03 | 2 | -1/+39 |
|\ | | | | | JSON formatting for FieldMask | ||||
| * | JSON formatting for FieldMask | Jon Skeet | 2015-08-03 | 2 | -1/+39 |
| | | |||||
* | | Merge pull request #680 from jskeet/aptca | Jon Skeet | 2015-08-03 | 1 | -0/+2 |
|\ \ | |/ |/| | Allow partially-trusted callers again. | ||||
| * | Allow partially-trusted callers again. | Jon Skeet | 2015-08-03 | 1 | -0/+2 |
| | | | | | | | | Fixes issue #552. (And yay, it looks like our build profile supports this...) | ||||
* | | Expose Coded*Stream constructors directly. | Jon Skeet | 2015-08-03 | 11 | -127/+100 |
|/ | |||||
* | Merge pull request #675 from jtattermusch/signing | Jon Skeet | 2015-08-03 | 8 | -76/+80 |
|\ | | | | | Add ReleaseSigned configuration for C# | ||||
| * | make changes and fixes in signing | Jan Tattermusch | 2015-08-02 | 10 | -96/+16 |
| | | |||||
| * | added protoc.exe and well known protobuf files to the nuspec file | Jan Tattermusch | 2015-08-02 | 1 | -1/+15 |
| | | |||||
| * | build signed assemblies | Jan Tattermusch | 2015-08-02 | 10 | -22/+92 |
| | | |||||
* | | Initial pass at formatting Struct as JSON. | Jon Skeet | 2015-08-03 | 2 | -3/+98 |
| | | | | | | | | 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. | Jon Skeet | 2015-08-03 | 1 | -25/+14 |
| | |