Commit Graph

127 Commits

Author SHA1 Message Date
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
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
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
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
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
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
baa2bf54c2 First part of dotnet library
committer: Jon Skeet <skeet@pobox.com>
2008-08-14 20:33:27 +01:00