[protobuf] Re: Protocol Buffers Compiler Maven Plug-In

2014-09-12 Thread Sverre Moe
I cannot find any Google Protobuf Maven Plugin in the Central Maven Repository under com.google.protobuf kl. 19:10:18 UTC+1 mandag 2. februar 2009 skrev gak følgende: Definitely. Now that I have access this will be done this week. On Mon, Feb 2, 2009 at 11:55 AM, Kenton Varda

[protobuf] Re: Protocol Buffers Compiler Maven Plug-In

2014-09-12 Thread Peter Ondruška
I can find it but the latest version is 2.5.0 :-( On Friday, 12 September 2014 13:30:49 UTC+2, Sverre Moe wrote: I cannot find any Google Protobuf Maven Plugin in the Central Maven Repository under com.google.protobuf kl. 19:10:18 UTC+1 mandag 2. februar 2009 skrev gak følgende:

[protobuf] Re: Can we use callback function in text format parser ?

2014-09-12 Thread Hao HU
For example, if we have a JSON writing library. We want translate a protobuf message into a JSON version. And we would like to use protobuf and this JSON writing library to realize this idea. Then, for better performance, we will consider translating directly the message when parsing the

[protobuf] Deserialization problem with protobuf-net

2014-09-12 Thread Antonio Ramos
Hi all, this is my first time with protobuf protocol and protobuf-net. I have the following question. I read in a buffer of bytes one response wich contains two proto messages. I´m trying deserializate those messages. I can deserializate the first one perfectly. But when i try to deserializate

[protobuf] libmaid(pymaid), new third party add-on rpc implement in c++(libev)python(gevent)

2014-09-12 Thread 尹天仇
third part add-on rpc implement in c++(libev)python(gevent), project home https://github.com/w359405949/libmaid please list it on https://github.com/google/protobuf/wiki/Third-Party-Add-ons -- You received this message because you are subscribed to the Google Groups Protocol Buffers group.

[protobuf] i am working on a protobuf-rpc project support c++(libev)python(gevent)

2014-09-12 Thread 尹天仇
project home: https://github.com/w359405949/libmaid list it on the add-on pages, thanks. https://github.com/google/protobuf/wiki/Third-Party-Add-ons#RPC_Implementations -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this

[protobuf] Proto-net Deserialization exception

2014-09-12 Thread Antonio Ramos
Hi all, this is my first time with protobuf protocol and protobuf-net. I have the following question. I read in a buffer of bytes one response which contains two proto messages. I´m trying deserializate those messages. I can deserializate the first one perfectly. But when i try to

Re: [protobuf] Proto-net Deserialization exception

2014-09-12 Thread Marc Gravell
My first thought is: what makes you think that you have read an entire frame of data, and a *single* frame of data? socket read very rarely conveniently forms itself into complete frames. Please see http://tiny.cc/io. My second thought is: you told it to use the *entire* buffer, not just the valo

Re: [protobuf] Deserialization problem with protobuf-net

2014-09-12 Thread Marc Gravell
Also; don't swallow exceptions. In fact, if you can't do anything useful, don't even try/catch - just let it explode. Marc On 12 September 2014 10:44, Antonio Ramos ninira...@gmail.com wrote: Hi all, this is my first time with protobuf protocol and protobuf-net. I have the following

Re: [protobuf] Deserialization problem with protobuf-net

2014-09-12 Thread Antonio Ramos
Ok, next Monday I'll see everything that you told me. I have an emulator (made in java) which work perfectly. I am trying to make the same in c#. I use wireshark for to read the socket transmision and compare it the diference between mine and java software. Thanks!! El 12/09/2014 21:23, Marc

Re: [protobuf] Proto-net Deserialization exception

2014-09-12 Thread Antonio Ramos
But for use this constructor i have to know the message size, is´nt it? how can i do it? with a sizeof of the proto class?? 2014-09-12 21:22 GMT+02:00 Marc Gravell marc.grav...@gmail.com: My first thought is: what makes you think that you have read an entire frame of data, and a *single* frame

Re: [protobuf] libmaid(pymaid), new third party add-on rpc implement in c++(libev)python(gevent)

2014-09-12 Thread 'Feng Xiao' via Protocol Buffers
Added. Thanks. On Thu, Sep 11, 2014 at 7:37 PM, 尹天仇 w359405...@gmail.com wrote: third part add-on rpc implement in c++(libev)python(gevent), project home https://github.com/w359405949/libmaid please list it on https://github.com/google/protobuf/wiki/Third-Party-Add-ons -- You

Re: [protobuf] Proto-net Deserialization exception

2014-09-12 Thread Marc Gravell
You need to know the message size to know that you have an entire message to actually deserialize. That requirement cannot be glossed over, although it can be handed to the library to worry about. What you have at the moment is simply: broken socket code - nothing to do with protobuf. If you

[protobuf] Issue 672 in protobuf: FileDescriptorTables double free problem when use protobuf both in shared library and in main.cpp

2014-09-12 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 672 by leoxiang...@gmail.com: FileDescriptorTables double free problem when use protobuf both in shared library and in main.cpp https://code.google.com/p/protobuf/issues/detail?id=672 What steps will