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 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 huge. Is there > a

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 wrote: > Hello! > > I am now investigating a bug in my program under debugger (VS2008 > IDE).

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, the

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 wrote:. > Hello, > > Just a question. Is it a version avai

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 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] build PB with c++ builder XE (runtime - not compiler)

2011-09-21 Thread Pherl Liu
Unfortunately we officially doesn't support this platform, and I'm not aware of any 3rd party BCB support. You can try to make it BCB compatible, and share with other users :) It requires lots of work to support a certain platform though, e.g. there are #ifdef _MSC_VER everywhere. On Sat, Sep 10,

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 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 > "Protocol Buffers

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 wrote: > Hello, > > message ColorData > { > required int32 red =263; > required int32 green =264; > required int32

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 wrote: > Hi, I have a C++ based service that uses messages defined like so > >

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 wrote: > Hi, > > Here is my ansi-C implementation of Protocol Buffers for memory- > restricted embedded devices: > http://koti.kapsi.fi/jpa/nanopb/ > > It's still in its in

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 wrote: > When is the next version coming out? > > -- > You received this message because you a

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 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 Morris > wrot

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 wrote: > Hello All, > > Is it possible to use protobuf without iostreams? > > Tha

[protobuf] Re: Issue 263 in protobuf: Proto parser for Java

2011-09-21 Thread protobuf
Comment #6 on issue 263 by ravikumarkulandai: Proto parser for Java http://code.google.com/p/protobuf/issues/detail?id=263 Hi Kenton, By any chance is there any work ongoing or planned for java version of proto files parser? Thanks, Ravikumar K -- You received this message because you ar