[protobuf] Re: Issue 148 in protobuf: RFE: Support Documentation option in proto files and javadoc in generated Java files

2011-07-27 Thread protobuf
Comment #4 on issue 148 by einavy...@gmail.com: RFE: Support Documentation option in proto files and javadoc in generated Java files http://code.google.com/p/protobuf/issues/detail?id=148 is there any support of .proto javadoc? -- You received this message because you are subscribed to the

[protobuf] Issue 317 in protobuf: .proto javadoc

2011-07-27 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 317 by einavy...@gmail.com: .proto javadoc http://code.google.com/p/protobuf/issues/detail?id=317 hi, I would like to generate javadoc for all auto generated .java files. Is there any feature in .proto compiler

[protobuf] Re: Java - DynamicMessage and FileDescriptorProto

2011-07-27 Thread Giancarlo Frison
Thank you very much Pherl! An another question. What about not-primitive fields, or message fields? when I add fields I do: DescriptorProtos.DescriptorProto.Builder desBuilder DescriptorProtos.FieldDescriptorProto.Builder fd1Builder =

[protobuf] Re: Issue 295 in protobuf: C++ Compilation of 2.4.1 fails GLIBCXX_3.4.11 Not found

2011-07-27 Thread protobuf
Comment #3 on issue 295 by gglent...@gmail.com: C++ Compilation of 2.4.1 fails GLIBCXX_3.4.11 Not found http://code.google.com/p/protobuf/issues/detail?id=295 Hello, I have exactly the same problem, trying to build protobuf-2.4.1 on SLES11 and gcc-4.3.2. I just add flags at configure

[protobuf] Re: how to create descriptors dynamically with repeated and complex fields

2011-07-27 Thread Giancarlo Frison
Good! If I want to set a field type as Message, where I must define the inner type? thanks! On Jul 26, 8:32 pm, Pherl Liu liuj...@google.com wrote: See my response in the other thread. You can set label to the FieldDescriptorProto. On Tue, Jul 26, 2011 at 12:31 AM, Giancarlo Frison

[protobuf] Re: Java - DynamicMessage and FileDescriptorProto

2011-07-27 Thread Robert
Hi, you either call setType() for primitive types or setTypeName(String) for referenced messages. You pass in the name of the message. Kind regards, Robert On 27 Jul., 10:35, Giancarlo Frison gfri...@chelab.com wrote: Thank you very much Pherl! An another question. What about not-primitive

[protobuf] Re: Java - DynamicMessage and FileDescriptorProto

2011-07-27 Thread Giancarlo Frison
if I call setTypeName(messageName), how protobuf match the name with related Descriptor? How can I map messageName and the descriptor of the type? On Jul 27, 3:56 pm, Robert robert.panzer...@googlemail.com wrote: Hi, you either call setType() for primitive types or setTypeName(String) for

[protobuf] Re: Issue 83 in protobuf: protobuf does not compile cleanly in 64-bit mode in Visual Studio 2008

2011-07-27 Thread protobuf
Comment #20 on issue 83 by jacobgla...@yahoo.com: protobuf does not compile cleanly in 64-bit mode in Visual Studio 2008 http://code.google.com/p/protobuf/issues/detail?id=83 This is getting really annoying for me. I'm willing to start providing patches, but I'd like to discuss before I

[protobuf] Re: Issue 317 in protobuf: .proto javadoc

2011-07-27 Thread protobuf
Updates: Status: Duplicate Mergedinto: 148 Comment #1 on issue 317 by liuj...@google.com: .proto javadoc http://code.google.com/p/protobuf/issues/detail?id=317 There's a feature request about this, see http://code.google.com/p/protobuf/issues/detail?id=148 -- You received

[protobuf] Re: Issue 148 in protobuf: RFE: Support Documentation option in proto files and javadoc in generated Java files

2011-07-27 Thread protobuf
Comment #5 on issue 148 by liuj...@google.com: RFE: Support Documentation option in proto files and javadoc in generated Java files http://code.google.com/p/protobuf/issues/detail?id=148 Issue 317 has been merged into this issue. -- You received this message because you are subscribed to

Re: [protobuf] Re: Java - DynamicMessage and FileDescriptorProto

2011-07-27 Thread Jason Hsueh
The descriptor building libraries handle cross linking. The message type name must be defined in either the same file, or be available through one of the file's imports. On Wed, Jul 27, 2011 at 7:36 AM, Giancarlo Frison gfri...@chelab.comwrote: if I call setTypeName(messageName), how protobuf

[protobuf] Native Module for PHP

2011-07-27 Thread M@xim
Hi, Thanks for your hard word on the topic :) My request is : does it exist a native module in order to include in PHP..? sth like .so (for Linux) or .dll (php on Windows) Anyway, thanks for your answers ;) -- You received this message because you are subscribed to the Google Groups

[protobuf] Re: Java - DynamicMessage and FileDescriptorProto

2011-07-27 Thread Robert
You have to define the name when constructing the DescriptorProto. I have done this myself lately but unfortunately I am currently not in the office. But I can send you an example tomorrow of you like. Kind regards Robert On 27 Jul., 16:36, Giancarlo Frison gfri...@chelab.com wrote: if I call

Re: [protobuf] Re: Java - DynamicMessage and FileDescriptorProto

2011-07-27 Thread Pherl Liu
Take a look at the buildFrom() method. You need to provide an array of FileDescriptor as dependencies. If one of your message field is a complex type, you should build that complex type first, and pass the built FileDescriptor object to the buildFrom() in the dependencies array. On Wed, Jul 27,