[protobuf] Having Google Protocol Buffers in Qt Mobile Android and IOS project
Hello, i am new here , Mu name is William and i am trying to write a mobile application using Qt5.3.1 to build an Android Application and i was wondering how i can ensure that the project gets the C++ Google Protocol Buffers to be pre-packed and deployed with the application. I am have tried to add this to the projects .pro file but, it fails to package it with the APK. Frankly i really do not know what to do so i was hoping that someone amongst you could help me pull this off. The end goal i have is to be able to build the same application at the end of the day for BlackBerry and IOS . Thank you everyone :) -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Message extensions cannot have required fields.
After the latest release (2.6.0) all my protos wouldn't compile. Protoc gives me the following error: Message extensions cannot have required fields. Can anyone explain me why can't I use the required field in extention in the code below? message MyMsgA { extensions 100 to max; required int32 i = 1; } message MyMsgB { extend MyMsgA { required MyMsgB b_data = 100; } required string s = 1; } Thanks in advance. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Issue 226 in protobuf: Python API doesn't support reading/writing delimited messages
Updates: Owner: xiaof...@google.com Comment #6 on issue 226 by xiaof...@google.com: Python API doesn't support reading/writing delimited messages https://code.google.com/p/protobuf/issues/detail?id=226 I searched around our internal code base and it appears there are very few use cases of the Message.writeDelimitedTo() method in Java. Likely for two reasons: first, most users will just use a repeated message field if they want to send multiple messages over the wire; second, people who want to write multiple messages by themselves will tend to want their own customized format as well (i.e., not just a size prefix but also other meta-data information like the message type name). From my understanding, the writeDelimitedTo() method in Java's MessageLIte interface shouldn't be there in the first place. It just doesn't belong to protobuf core APIs and more of an utility method that very few users would need. For this reason, I don't think we should add its counter-part in Python (or C++). -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Null Nested Messages--whats expected?
Hello everyone, Firstly I need to apologize for any misuse or misunderstand of terms and concepts. I'm mostly familiar with the Protocol Buffer implementations protostuff and protobuf-net. I have a case that two different implementations (the C# one: protobuf-net and the Java one: protostuff) do differently and I'd like to know which way is the correct according to the Protocol Buffers specification. I have these messages: message A { optional string someField = 2; optional Location location = 4; } message Location { optional Coordinate coordinate = 1; optional string city = 2; } message Coordinate { ... } In the following case we have an object A, with a populated Location with coordinate = null and city = someCity. When protobuf-net (a client) sends this object A (populated as described above) to protostuff (the backend) it sends 0x0 in the place of the coordinate. This results into that protostuff reads a 0 whilst populating Location, and therefore thinks that Location is done. When protostuff then reads the next field number it finds 2, city, which has the same number as someField in A and populates that field instead (city overwrites someField). So the problem is that protobuf-net sends 0x0 for a null nested messages whereas protostuff doesn't even expect it to be there (since it's null). Best regards, Johannes -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Issue 226 in protobuf: Python API doesn't support reading/writing delimited messages
Comment #7 on issue 226 by brian.olson: Python API doesn't support reading/writing delimited messages https://code.google.com/p/protobuf/issues/detail?id=226 The lack of an API for a framed stream of protobuf messages is a feature for lack of which projects have decided to go with Thrift or another system rather than protobuf. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Issue 381 in protobuf: Do not use heap where stack can be used
Updates: Status: WontFix Owner: xiaof...@google.com Comment #4 on issue 381 by xiaof...@google.com: Do not use heap where stack can be used https://code.google.com/p/protobuf/issues/detail?id=381 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Issue 423 in protobuf: Cannot compile protobuf example code on AIX 6.1
Updates: Status: WontFix Owner: xiaof...@google.com Comment #3 on issue 423 by xiaof...@google.com: Cannot compile protobuf example code on AIX 6.1 https://code.google.com/p/protobuf/issues/detail?id=423 Marking this as Won't Fix as we don't have the environment to test/fix the problem. If you have a fix, feel free to send us a patch to our github site: https://github.com/google/protobuf -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Issue 499 in protobuf: using protobuf on ios
Comment #3 on issue 499 by johnzhj...@gmail.com: using protobuf on ios https://code.google.com/p/protobuf/issues/detail?id=499 in xcode build phases, add all you protoc generated .a library -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.