[protobuf] Re: Issue 292 in protobuf: In python-proto2.cc any time ->parent is set you need to Py_INCREF on it
Comment #2 on issue 292 by f...@google.com: In python-proto2.cc any time ->parent is set you need to Py_INCREF on it http://code.google.com/p/protobuf/issues/detail?id=292 You are running into an issue that we know of, but is hard to resolve. It's not a simple Py_INCREF on the parent. The issue is if a parent message gets Cleared(), all its sub protos get invalidated, but the Python references to them still exist, and so accessing them will cause a segfault. To properly fix this, we have to manually detach all sub protos when clearing a parent proto (because in C++ the parent owns all subprotos). We have known this issue even before release, but haven't gotten around to fixing it yet. Someone is looking into it now. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 293 in protobuf: About Objective-C
Updates: Status: WontFix Comment #2 on issue 293 by liuj...@google.com: About Objective-C http://code.google.com/p/protobuf/issues/detail?id=293 We probably won't add new language support in the near future, but there are many 3rd party plugins I believe. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 294 in protobuf: PyIter_Next returns a "New Reference" so you must Py_DECREF it when done
Updates: Status: Fixed Comment #3 on issue 294 by liuj...@google.com: PyIter_Next returns a "New Reference" so you must Py_DECREF it when done http://code.google.com/p/protobuf/issues/detail?id=294 Fixed in r395. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 288 in protobuf: Generated java hashcode() function inconsistent across JVMs.
Updates: Status: WorkingAsIntended Comment #3 on issue 288 by liuj...@google.com: Generated java hashcode() function inconsistent across JVMs. http://code.google.com/p/protobuf/issues/detail?id=288 Close this issue as discussed in the other thread: http://groups.google.com/group/protobuf/browse_thread/thread/3029359a8c968089/5578d63977890b67 -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 292 in protobuf: In python-proto2.cc any time ->parent is set you need to Py_INCREF on it
Updates: Cc: f...@google.com g...@google.com Comment #1 on issue 292 by liuj...@google.com: In python-proto2.cc any time ->parent is set you need to Py_INCREF on it http://code.google.com/p/protobuf/issues/detail?id=292 Adding python maintainers to take a look. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 300 in protobuf: Close resources properly
Updates: Status: Fixed Comment #1 on issue 300 by liuj...@google.com: Close resources properly http://code.google.com/p/protobuf/issues/detail?id=300 Thanks. Fixed in r396 -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] How to convert Descriptors.Descriptor to Java class name?
Hi all, is there a convenient way to extract the name of Java (generated) class that represents the Message from Descriptors.Descriptor? What I need is a method with the following signature: public Class extractJavaClass(Descriptors.Descriptor d); I can derive class name using file/message descriptors methods, but that seems quite difficult, since I have to take java_package_name and java_outer_class_name options into account, and I have to convert underscores in proto file name to camel case Thanks for answer, Ondrej -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/ZDBENWpTLVlYdDhK. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 302 in protobuf: Skip(count) fails when count offset >2^32 count type should be off_t, not int
Comment #1 on issue 302 by fac2...@gmail.com: Skip(count) fails when count offset >2^32 count type should be off_t, not int http://code.google.com/p/protobuf/issues/detail?id=302 Here's a patch that fixes the issue. The patch was written by Kevin C. Dorff and myself and fixes the issue against protobuf 2.4.1. Please incorporate to the head branch. We distribute several tools that are affected by this issue and while we can distribute the patch, it would be easier if the official protobuf release had the fix. Also note that the Java code generated by protobuf supports takes a long as argument to the corresponding skip method, so the C++ version should really match. public long skip(long l) throws java.io.IOException Attachments: protobuf-2.4.1-icb-offset-patch.txt 10.5 KB -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 296 in protobuf: Deploy protobuf-java 2.4.1 JAR to Maven Repository
Comment #8 on issue 296 by sergei.s...@gmail.com: Deploy protobuf-java 2.4.1 JAR to Maven Repository http://code.google.com/p/protobuf/issues/detail?id=296 Thank you Gregory! Is there any way to automate staging and promotion to maven central repo for any future releases of protobuf-java? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 296 in protobuf: Deploy protobuf-java 2.4.1 JAR to Maven Repository
Comment #7 on issue 296 by g...@google.com: Deploy protobuf-java 2.4.1 JAR to Maven Repository http://code.google.com/p/protobuf/issues/detail?id=296 Sorry, somebody needs to tell me about these thingsā¦ :-) I'm on it though. I'll try to make this happen today. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 299 in protobuf: Native map encoding missing or needs howto eample
Comment #2 on issue 299 by b.k.ox...@gmail.com: Native map encoding missing or needs howto eample http://code.google.com/p/protobuf/issues/detail?id=299 Thanks for the pointer to experimental map key. Considering that it is unfinished, I need a tagged value rather than a string-string map to support non-string values extracting as their native types. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 296 in protobuf: Deploy protobuf-java 2.4.1 JAR to Maven Repository
Comment #6 on issue 296 by george.c...@gmail.com: Deploy protobuf-java 2.4.1 JAR to Maven Repository http://code.google.com/p/protobuf/issues/detail?id=296 Well someone has already been releasing to the Central Maven Repository. I'd assumed it was the protobuf team. You can see this here: http://search.maven.org/#browse|-1179695865 -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.