[protobuf] Re: Issue 250 in protobuf: [PATCH] Maven-plugin does not work with M2Eclipse

2011-02-04 Thread protobuf
Updates: Owner: g...@google.com Comment #1 on issue 250 by liuj...@google.com: [PATCH] Maven-plugin does not work with M2Eclipse http://code.google.com/p/protobuf/issues/detail?id=250 (No comment was entered for this change.) -- You received this message because you are subscribed to

[protobuf] Re: Issue 230 in protobuf: Documentation of the "import" behavior

2011-02-04 Thread protobuf
Updates: Status: Fixed Comment #2 on issue 230 by liuj...@google.com: Documentation of the "import" behavior http://code.google.com/p/protobuf/issues/detail?id=230 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "

[protobuf] Re: Issue 241 in protobuf: Java Tutorial / Generated code doc lacks reference to ExtensionRegistry

2011-02-04 Thread protobuf
Updates: Status: Fixed Comment #2 on issue 241 by liuj...@google.com: Java Tutorial / Generated code doc lacks reference to ExtensionRegistry http://code.google.com/p/protobuf/issues/detail?id=241 (No comment was entered for this change.) -- You received this message because you are

Re: [protobuf] Protobuf 2.4 and Android

2011-02-04 Thread Pherl Liu
The protobuf in android source code is a branched protobuf for google voice, which is not intended for public use, and may change in the future. Generally, you should use the opensource version of protobuf in your app, set the "option optimize_for = "LITE_RUNTIME";" in your proto file and use the p

[protobuf] Multiple messages using std::streams

2011-02-04 Thread Gabriel Becedillas
I had a hard time trying to serialize multiple messages in a std::ostream, and then trying to parse them one at a time from an std::istream, so I'm sharing my code for two reasons: - It may be useful for someone else. - To receive comments from more experienced people. template bool serialize_del

Re: [protobuf] where is input_stream.py?

2011-02-04 Thread Jason Hsueh
This file was deleted as part of the python serialization optimizations that were released in 2.3.0. A lot of the functionality now exists in decoder.py. You shouldn't be relying on internal parts of the package though, so it should only serve as a reference point for you. On Fri, Feb 4, 2011 at 3

[protobuf] where is input_stream.py?

2011-02-04 Thread maxw
Hello, I'm a relatively new user of protocol buffers in python. Recently I have used them successfully to deserialize whole-messages, but am now interested in a more granular streaming method (read field by field). I found several signs that a file named input_stream.py is or was part of some di

Re: [protobuf] 2.4.0a released.

2011-02-04 Thread Kenton Varda
On Wed, Feb 2, 2011 at 9:59 PM, David Yu wrote: > Where the jars at? (Or do we have to build the jars from source?) > Have to build from source. (Though we're going to try to get the Maven repo updated. Long story.) > I'm trying to benchmark 2.4.0a with its java perf improvements. > The lazy

Re: [protobuf] Re: New protobuf feature proposal: Generated classes for streaming / visitors

2011-02-04 Thread Kenton Varda
On Wed, Feb 2, 2011 at 10:13 AM, Henner Zeller wrote: > I guess the naming is confusing in the example. The Visit is per > field-name; but since the typed is named the same as the field in this > example, it is confusing. > Yes, sorry. Better example: message MyStream { option generate_v

Re: [protobuf] Number of Bits Written to Memory

2011-02-04 Thread Brian Palmer
On Thu, Feb 3, 2011 at 8:58 AM, Tanya wrote: > Basically, we need some way of specifying how the bytes are encoded/ > written to memory, and we need to specify the number of bits written > each time. Is this possible to do in protocol buffers? And if so, how > would it be accomplished? > Hi, Tan

[protobuf] Re: Compilation error for ppc/440 target

2011-02-04 Thread dear chap
Unfortunately we have to use the particular compiler in question and cannot upgrade. Is the DescriptorBuilder::OptionInterpreter::AggregateOptionFinder new code ? I dont see this problem with protobuf-2.3.0. -- You received this message because you are subscribed to the Google Groups "Protocol B

[protobuf] Re: Generate .proto file from FileDescriptor?

2011-02-04 Thread Ben Wright
Anyone know if this can be accomplished without resorting to JNI? On Feb 3, 4:01 pm, Jason Hsueh wrote: > C++'s FileDescriptor::DebugString() produces text that is reparsable as a > .proto file > > On Thu, Feb 3, 2011 at 12:52 PM, Ben Wright wrote: > > I've started a project generating new FileD

[protobuf] Re: Alternate names for enumeration values

2011-02-04 Thread Ben Wright
I have just the solution for you... I'll start by warning you that I use PB mainly in Java, so things may look slightly different in C++ - but this method should still work. You're going to want to define an extension to "google.protobuf.EnumValueOptions" in your ".proto" file you will need to a