Jon Skeet
1e42fdde2e
Implemented text parsing.
2008-08-14 20:35:30 +01:00
Jon Skeet
feb9385b04
Lots of text formatting tests, but ignored the parsing ones for the moment.
2008-08-14 20:35:30 +01:00
Jon Skeet
ca4cbda9de
Extensions don't need to go under a separate type.
2008-08-14 20:35:29 +01:00
Jon Skeet
d6c9495797
More tests, and a bug fix.
2008-08-14 20:35:28 +01:00
Jon Skeet
19ed9c0782
UnknownFieldSet tests, and a fix to repeated extension elements.
2008-08-14 20:35:28 +01:00
Jon Skeet
a80a37ccd5
Tidying up, and a couple of extra tests.
2008-08-14 20:35:27 +01:00
Jon Skeet
f26f8dce02
The great generics revisiting.
2008-08-14 20:35:27 +01:00
Jon Skeet
9134a21f27
Tweaks
2008-08-14 20:35:26 +01:00
Jon Skeet
cabd06d12f
More tests, and implementation of UninitializedMessageException description.
2008-08-14 20:35:25 +01:00
Jon Skeet
794409b379
More tests, more fixes.
2008-08-14 20:35:24 +01:00
Jon Skeet
ba02091ef8
New unit tests and corresponding bug fixes.
2008-08-14 20:35:24 +01:00
Jon Skeet
bef2caf5e4
Added DynamicMessage and ExtendableBuilder, along with the first supporting tests.
2008-08-14 20:35:23 +01:00
Jon Skeet
5d7adf66ce
First unit test reading a complete message\!
2008-08-14 20:35:22 +01:00
Jon Skeet
3f9a6f2116
Implemented GeneratedExtension, although list handling may be incorrect.
2008-08-14 20:35:22 +01:00
Jon Skeet
575083ae9c
Initial support for services and extensions. Incomplete, but enough to get generated unit test files to compile.
2008-08-14 20:35:21 +01:00
Jon Skeet
1353315ded
Implemented TextFormatter
2008-08-14 20:35:20 +01:00
Jon Skeet
b84310e110
Field accessor implementations complete (hopefully)
2008-08-14 20:35:20 +01:00
Jon Skeet
023d7398d6
Update Makefile in terms of C# sources and keyfile command line option
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:35:19 +01:00
Jon Skeet
4e6215c734
Update Makefile in terms of C# sources and keyfile command line option
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:35:19 +01:00
Jon Skeet
00b0af0890
Fix default instance behaviour for repeated types
2008-08-14 20:35:18 +01:00
Jon Skeet
4f435a506e
Build all projects in the solution
2008-08-14 20:35:18 +01:00
Jon Skeet
c1215c4660
Removed Descriptor.cs which was an early attempt at generation
2008-08-14 20:35:17 +01:00
Jon Skeet
a03ea11c52
Finish implementing GeneratedBuilder.
2008-08-14 20:35:17 +01:00
Jon Skeet
4d276b6c7c
Added a .gitignore file to make life simpler
2008-08-14 20:35:16 +01:00
Jon Skeet
cd85190847
Two more which should have been in the last commit
2008-08-14 20:35:15 +01:00
Jon Skeet
3351bb63da
Descriptors are pretty much complete, with a slight issue of how to find the default type for a repeated field.
2008-08-14 20:35:15 +01:00
Jon Skeet
5f7b68eb6f
Modified addressbook example with new options
2008-08-14 20:35:14 +01:00
Jon Skeet
2b61cbf408
Autogeneration now hopefully close to correct. Library builds! (Not finished though...)
2008-08-14 20:35:14 +01:00
Jon Skeet
de21d2c92c
Patch from Miguel de Icaza: This introduces auto-detection of Mono to configure, and if found, builds and installs the runtime library, and provides a pkg-config file so developers can easily use it on Unix.
2008-08-14 20:33:37 +01:00
Jon Skeet
9f4f0a56b1
Descriptor framework skeleton. Somewhat generic to avoid lots of code duplication.
2008-08-14 20:33:36 +01:00
Jon Skeet
c0daf10724
Changed fixed size methods to return unsigned integers. Finished FieldSet. Introduced mapping from FieldType to WireType and MappedType.
2008-08-14 20:33:35 +01:00
Jon Skeet
800f65e209
Patch from Miguel de Icaza - tweaks to generated C#
2008-08-14 20:33:35 +01:00
Jon Skeet
007f859664
First pass of the readme. Lots more to come.
2008-08-14 20:33:34 +01:00
Jon Skeet
ec8c395517
Gradually implementing FieldSet
2008-08-14 20:33:34 +01:00
Jon Skeet
b83aee759a
Fix AbstractMessage and AbstractBuilder to get the explicit interface implementation sorted
2008-08-14 20:33:33 +01:00
Jon Skeet
621bb698e5
Some work on AbstractBuilder, and complete implementation of UnknownField and UnknownFieldSet
2008-08-14 20:33:33 +01:00
Jon Skeet
a7246897ab
Fix Makefile.am to include the C# files.
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:33:32 +01:00
Jon Skeet
27727ab0fc
Added C# projects.
2008-08-14 20:33:31 +01:00
Jon Skeet
560983ad1d
Made TextFormatTest line-ending neutral
2008-08-14 20:33:31 +01:00
Jon Skeet
734746ed55
Added C# options
2008-08-14 20:33:30 +01:00
Jon Skeet
fe7bb26214
Implemented AbstractMethod and split the descriptors into a new package
2008-08-14 20:33:30 +01:00
Jon Skeet
c26b43d8cd
Added copyright notices
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:33:29 +01:00
Jon Skeet
1dd0a61d09
More tests for CodedInputStream, and some more WireFormat
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:33:29 +01:00
Jon Skeet
b802a94f45
Half way through CodedInputStream
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:33:28 +01:00
Jon Skeet
70ff861764
Improved generation for C\# files
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:33:28 +01:00
Jon Skeet
baa2bf54c2
First part of dotnet library
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:33:27 +01:00
Jon Skeet
3c38991607
Fix variance in line endings
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:33:26 +01:00
Jon Skeet
f92c545f49
Initial commit of C# code developed before installing Git.
...
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:33:26 +01:00
temporal
4e88f89ed5
Add missing file.
2008-08-13 16:40:30 +00:00
temporal
779f61c6a3
Integrate recent changes from google3.
...
protoc
- New flags --encode and --decode can be used to convert between protobuf text
format and binary format from the command-line.
- New flag --descriptor_set_out can be used to write FileDescriptorProtos for
all parsed files directly into a single output file. This is particularly
useful if you wish to parse .proto files from programs written in languages
other than C++: just run protoc as a background process and have it output
a FileDescriptorList, then parse that natively.
C++
- Reflection objects are now per-class rather than per-instance. To make this
possible, the Reflection interface had to be changed such that all methods
take the Message instance as a parameter. This change improves performance
significantly in memory-bandwidth-limited use cases, since it makes the
message objects smaller. Note that source-incompatible interface changes
like this will not be made again after the library leaves beta.
Python
- MergeFrom(message) and CopyFrom(message) are now implemented.
- SerializeToString() raises an exception if the message is missing required
fields.
- Code organization improvements.
- Fixed doc comments for RpcController and RpcChannel, which had somehow been
swapped.
2008-08-13 03:15:00 +00:00