[protobuf] Problem with cross compiling for PowerPC e300c3

2015-07-13 Thread Олег Викторович
Hi All! I'm using protobuf-2.6.1 and I would like to make cross compiling for PowerPC e300c3. export CC=powerpc-e300c3-linux-gnu-c++ export CXX=powerpc-e300c3-linux-gnu-g++ ./configure --host=powerpc-e300c3-linux --with-protoc=/home/user/protobuf-2.6.1/prev_x86_dir/protoc --prefix=/home/user/

[protobuf] Re: Issue 493 in protobuf: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented

2015-07-13 Thread Shawn Ouyang
Hi Ishmouse, I'm seeing similar compatibility problems as you. Do you change protobuf-2.5 source code and rebuild protobuf-java-2.5.0.jar? I cannot see your attched diff file. Can you resend it? Thanks! -Shawn On Thursday, March 20, 2014 at 8:02:12 PM UTC-7, prot...@googlecode.com wro

[protobuf] Status of Proto3 Language Definition

2015-07-13 Thread James Hugard
On Fri, Jun 12, 2015 at 12:40 PM, Darin Gordon > wrote: > Hi Feng >> >> What would you say is a reasonable ETA for the protobuf 3 full release? >> Are you going through a series of RC's first? >> > We will have a series of alpha releases followed by a series of betas. The > 3 full release may b

[protobuf] Custom (overriden) getters & setters

2015-07-13 Thread Pavol Ostertag
Is it possible to generate custom getters and setters for certain field? Are there any field-level "insertion points" planned? My use-case: I have field with option=encrypted. I want to encrypt content of this (string) field after everyset() and decrypt before every get(). Thank you -- You re

[protobuf] Error installing python lib for protobuf 2.6.1

2015-07-13 Thread Parang Saraf
>From the last 2 days, I have been trying to install caffe on OSX 10.10 I was able to run all the installation commands successfully for caffe but when I tried to import caffe in ipython I got the exact same error: https://github.com/BVLC/caffe/issues/2092 So, as suggested in the thread, I tr

[protobuf] Problem with cross compiling for PowerPC arch

2015-07-13 Thread Олег Викторович
Hi All! I'm using protobuf-2.6.1 and I would like to make cross compiling for PowerPC e300c3. == export CC=powerpc-e300c3-linux-gnu-c++ export CXX=powerpc-e300c3-linux-gnu-g++ ./configure --host=powerpc-e300c3-linux --with-protoc=/home/user/protobuf-2.6.1/prev_x86_dir/protoc --prefix=/home/us

[protobuf] Overriding getters/setters in generator

2015-07-13 Thread Helmut Einspiegel
Is there any possibility in (Proto2 or Proto3) generator to override getters and setters? My usecase is: We have field with option "encrypted". For such a field we would like to generate my own getter and setter, or at least override the existing ones. We would like not to encapsulate every pro

[protobuf] Error install protobuf 2.6.1 python lib

2015-07-13 Thread Wanderer
>From the last 2 days, I have been trying to install caffe on OSX 10.10 I was able to run all the installation commands successfully for caffe but when I tried to import caffe in ipython I got the exact same error: https://github.com/BVLC/caffe/issues/2092 So, as suggested in the thread, I tr

Re: [protobuf] Custom (overriden) getters & setters

2015-07-13 Thread 'Feng Xiao' via Protocol Buffers
On Mon, Jul 13, 2015 at 9:47 AM, Pavol Ostertag wrote: > Is it possible to generate custom getters and setters for certain field? > Are there any field-level "insertion points" planned? > We add "insertion points" per user requests. Feel free to send us PRs to add insertion points that you think

Re: [protobuf] Custom (overriden) getters & setters

2015-07-13 Thread Pavol Ostertag
Thank you. However, your proposed solution uncovers otherwise transparent behavior of the field. It puts a responsibility of encryption handling on author of the data, instead on the DTO (data transfer object) itself. With "insertion point" (let's call it so despite it likely will not be one) you

Re: [protobuf] Status of Proto3 Language Definition

2015-07-13 Thread 'Feng Xiao' via Protocol Buffers
On Thu, Jul 9, 2015 at 11:40 PM, James Hugard wrote: > On Fri, Jun 12, 2015 at 12:40 PM, Darin Gordon wrote: > >> Hi Feng >>> >>> What would you say is a reasonable ETA for the protobuf 3 full release? >>> Are you going through a series of RC's first? >>> >> We will have a series of alpha releas

[protobuf] Protobuf in python during message deserialization complains about 'Unexpected end-group tag.'

2015-07-13 Thread maqister
Hi guys, I need help with protobuf library. It might be that in concatenation with ZMQ library I have some problems. I described all details in this topic on stack overflow: http://stackoverflow.com/questions/31393364/protobuf-in-python-during-message-deserialization-complains-about-unexpected-e