Re: [protobuf] Protobuf for Android

2011-09-21 Thread Pherl Liu
The size isn't correct. Please run mvn clean; then mvn package -P lite The correct size is around 80k On Thu, Sep 15, 2011 at 8:12 AM, sanjoy sanjoy.gh...@gmail.com wrote: Hello, Is there a version of protobuf for Android? I built the lite version of protobuf-2.4.1 and its 450KB. That's

Re: [protobuf] How can unknown fields appear in a message?

2011-09-21 Thread Pherl Liu
Can you try to print the DebugString() of the message containing unknown fields? One possibility is you used the wrong message type to parse the bytes. On Tue, Sep 20, 2011 at 3:04 PM, Michael Videlgauz mich...@videlgauz.comwrote: Hello! I am now investigating a bug in my program under

Re: [protobuf] Custom options namespace

2011-09-21 Thread Pherl Liu
The document generally said you can use the same extension number for different level of options, but the qualified extension name needs to be unique. e.g. a single extension name cannot extend more than one type. That said, you probably have to use different option name for the purpose. Note,

Re: [protobuf] protocol buffer for android and Iphone application

2011-09-21 Thread Pherl Liu
You can use protobuf-lite for Android (see the java/README.txt); for iphone, there are some 3rd-party add-ons for object-c. Take a look at http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns On Wed, Sep 14, 2011 at 4:33 PM, Visionweb olang...@gmail.com wrote:. Hello, Just a question. Is

Re: [protobuf] My Protocol Buffers implementation in C#

2011-09-21 Thread Pherl Liu
Done. Thanks for the work. On Sat, Sep 10, 2011 at 12:38 AM, Peter Hultqvist pe...@endnode.se wrote: Hello I have been working on this c# code generating Protocol Buffers implementation for a while and now I dare to announce it. https://silentorbit.com/**protobuf/

Re: [protobuf] C++ implementation for Python

2011-09-21 Thread Pherl Liu
There's no lite-runtime for python. It's generally reflection based. On Tue, Sep 6, 2011 at 2:45 PM, Slava slavaz...@gmail.com wrote: Hi, is there any way to use lite runtime for the subj? Thanks in advance. -- You received this message because you are subscribed to the Google Groups

Re: [protobuf] Initialisation of nested messages ?

2011-09-21 Thread Pherl Liu
You cannot set default values for messages (or fields in message). You would have to create default instances of ColorData in your code. On Mon, Sep 5, 2011 at 5:50 AM, Werner werner.van.be...@gmail.com wrote: Hello, message ColorData { required int32 red =263; required int32 green

Re: [protobuf] Extensions with Python

2011-09-21 Thread Pherl Liu
Take a look at Python API. http://code.google.com/apis/protocolbuffers/docs/reference/python-generated.html#extension There are few examples of how to use extensions in Python. On Mon, Sep 5, 2011 at 9:58 PM, Dave dave.johns...@me.com wrote: Hi, I have a C++ based service that uses messages

Re: [protobuf] A new third-party implementation

2011-09-21 Thread Pherl Liu
Added to http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns Thanks for the work! On Wed, Aug 31, 2011 at 11:28 PM, jpa petteri.aimo...@gmail.com wrote: Hi, Here is my ansi-C implementation of Protocol Buffers for memory- restricted embedded devices: http://koti.kapsi.fi/jpa/nanopb/

Re: [protobuf] release date for next version

2011-09-21 Thread Pherl Liu
Probably this quarter. There are still couple of memory issues for the experimental C++ implementation for python that we'd like to fix before next release. On Wed, Aug 31, 2011 at 6:34 AM, Chris Morris chriswillmor...@gmail.comwrote: When is the next version coming out? -- You received this

Re: [protobuf] release date for next version

2011-09-21 Thread Pherl Liu
Sorry, I mean Q4 2011. On Thu, Sep 22, 2011 at 12:45 PM, Pherl Liu liuj...@google.com wrote: Probably this quarter. There are still couple of memory issues for the experimental C++ implementation for python that we'd like to fix before next release. On Wed, Aug 31, 2011 at 6:34 AM, Chris

Re: [protobuf] build protobuf without iostreams

2011-09-21 Thread Pherl Liu
There are plenty of APIs for different IOs including string, array, please take a look at the message_lite.h. Also you can implement your own ZeroCopyStream for your IO layer. On Tue, Aug 30, 2011 at 5:23 AM, anand anand.aru...@gmail.com wrote: Hello All, Is it possible to use protobuf