protobuf-net, text format support?

2009-05-06 Thread Cameron Taggart
Does protbuf-net support the text format for debugging purposes or just the binary format? If yes, how? If no, any plans? cheers, Cameron --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To

Re: 2.1.0 release candidate

2009-05-06 Thread Kenton Varda
Issues so far: * On Cygwin, int32_t is long rather than int, which causes the compiler to fail to resolve a certain overloaded method. Fixed by rev 142: http://code.google.com/p/protobuf/source/detail?r=142 * The gtest MSVC project files use an incompatible runtime library. The settings need to

Re: Odd errors related to package and field names

2009-05-06 Thread Kenton Varda
Write the field like this: optional .foo.Foo foo = 1; The leading period tells the compiler that "foo" refers to the foo at the global scope (i.e. the package), not the foo in the current scope (the field). (It's the same semantics and C++ namespaces.) This is also fixed in version 2.1.0 -- ty

2.1.0 release candidate

2009-05-06 Thread Kenton Varda
Hi all, I've uploaded release candidate 2.1.0rc1 here: http://groups.google.com/group/protobuf/files?pli=1 If you get a chance, test it out, and report back on what platform you use and whether or not it worked. (Monty, I'm particularly interested in your results, since you seem to be a heavy us

Odd errors related to package and field names

2009-05-06 Thread Jerry Cattell
Just wanted to check on this before I open a bug. Let's say I have two proto files: foo.proto: package foo; option java_outer_classname = "FooProtos"; message Foo { optional string code = 1; } bar.proto: package bar; option java_outer_classname = "BarProtos"; import "foo.proto"; mes

Re: Implement ShutdownProtobufLibrary().

2009-05-06 Thread Kenton Varda
Thanks, committed as revision 138. On Wed, May 6, 2009 at 12:26 PM, wrote: > Looks good! > > > On 2009/05/06 19:05:36, kenton wrote: > >> Addressed comments (see below) and synced, new patch set uploaded. >> > > http://codereview.appspot.com/53053/diff/1/5 >> File google/protobuf/compiler/cpp/c

Re: Implement ShutdownProtobufLibrary().

2009-05-06 Thread jasonh
Looks good! On 2009/05/06 19:05:36, kenton wrote: > Addressed comments (see below) and synced, new patch set uploaded. > http://codereview.appspot.com/53053/diff/1/5 > File google/protobuf/compiler/cpp/cpp_file.cc (right): > http://codereview.appspot.com/53053/diff/1/5#newcode401 > Line 401: >

Re: Implement ShutdownProtobufLibrary().

2009-05-06 Thread kenton
Addressed comments (see below) and synced, new patch set uploaded. http://codereview.appspot.com/53053/diff/1/5 File google/protobuf/compiler/cpp/cpp_file.cc (right): http://codereview.appspot.com/53053/diff/1/5#newcode401 Line 401: On 2009/05/06 01:03:14, jasonh wrote: > Indent() for prettier

Re: Protocol Buffers RPC Server Implemention based on Mina(2.0-M5) and Protobuf(2.0.3)

2009-05-06 Thread Kenton Varda
Added to http://code.google.com/p/protobuf/wiki/RPCImplementations On Tue, May 5, 2009 at 10:26 PM, Jun Tsai wrote: > > Protocol Buffers RPC Server Implemention based on Mina(2.0-M5) and > Protobuf(2.0.3). > I had implemented a protocol buffers rpc server. > > http://github.com/bitiboy/fepss-rpc

Re: Implement ShutdownProtobufLibrary().

2009-05-06 Thread Kenton Varda
On Tue, May 5, 2009 at 8:15 PM, Hong Zhang wrote: > Hi, Kenton, > > I am not familiar with protobuf compiler, so my comment may be off. > > Since existing code does something like this. > > static class Foo { > Foo() { ... } > } foo; Actually, a lot of code doesn't look like that anymore, beca