[protobuf] protobuf_AssignDescriptors_once_ redefined?

2010-03-31 Thread Adam Schepis
Having an error using code generated by protobuf (c++) version 2.2.0. I include a bunch of generated .pb.cc files generated from .proto files, none of which have packages defined. as a result i'm getting a bunch of strange errors: Error 1 error C2086: 'google::protobuf::GoogleOnceType

[protobuf] Developing a PHP interface

2010-03-31 Thread ikalbeniz
Hi, A am developing a PHP simple interface for google protobuffer... i am trying to make querys agains android Market but when uy get the comments i get the data in a 64 bit format.. for example i get 18288305805871599558 that un normal unxi time is 1269993068322 that can be formated with date()

Re: [protobuf] Steps for installing the java set of the compiler libraries

2010-03-31 Thread Henner Zeller
On Tue, Mar 30, 2010 at 08:16, Suvojit chanda.c...@gmail.com wrote: can anyone please help me with the set of instructions for installing the protobuf compiler compatible with the java version.I did go through the readme file, but does evrything needs to be done thru commmand line or is there

[protobuf] valgrind possibly lost warnings?

2010-03-31 Thread Evan Jones
When I use valgrind on my programs that use protocol buffers, I get many possibly lost warnings from valgrind. They all appear to be caused by descriptor pools. I've looked at the code briefly, and I don't really understand why these warnings happen, but I haven't tried too hard to figure them

Re: [protobuf] valgrind possibly lost warnings?

2010-03-31 Thread Kenton Varda
Be sure to call ShutdownProtobufLibrary() to clean up all descriptors and such on exit: http://code.google.com/apis/protocolbuffers/docs/reference/cpp/google.protobuf.common.html#ShutdownProtobufLibrary.details On Wed, Mar 31, 2010 at 3:05 PM, Evan Jones ev...@mit.edu wrote: When I use

[protobuf] Wireshark dissector plugin generator : protobuf-wireshark release 0.4

2010-03-31 Thread dear chap
Since the original protobuf-wireshark 0.2 release by Dilip I have updated the generator to include following enhancements 1. Support for collapsible subtrees. 2. Item names in subtrees match proto field names and types. So now Wireshark can filter based on individual proto field names 3. Support

[protobuf] Re: Best method for adding to messages..

2010-03-31 Thread Olan
Indeed it did Evan, thanks very much! On Mar 22, 8:31 pm, Evan Jones ev...@mit.edu wrote: On Mar 22, 2010, at 14:00 ,Olanwrote:    const DIDS::Station station_iter = stationlog.station(k); You probably want stationlog.mutable_station(k); See:

Re: [protobuf] valgrind possibly lost warnings?

2010-03-31 Thread Evan Jones
On Mar 31, 2010, at 18:28 , Kenton Varda wrote: Be sure to call ShutdownProtobufLibrary() to clean up all descriptors and such on exit: That makes my unit tests happy. Thanks! I may add a hack to my code which does something like using atexit to call this automatically when running under