[protobuf] Re: protoc-gen-docbook - Convert .proto source file into DocBook and PDFs
On Tuesday, March 19, 2013 8:10:41 PM UTC-7, askldjd wrote: > > http://code.google.com/p/protoc-gen-docbook/ > > A protobuf plugin that converts a .proto file into DocBook and PDF. This > should be one of the first documentation tools for protobuf. > > Here are some sample output: > http://code.google.com/p/protoc-gen-docbook/wiki/Samples > > Behind the scene, it uses Protobuf compiler plugin architecture to receive > the parsed information and convert the proto file into DocBook format. Then > Apache FOP is used to convert DocBook into a PDF file. I tried to make this > as user friendly as possible. Out of the box, you just need to drop your > .proto source file into the deployment folder, run a provided script, and > it will generate the DocBook and PDF output. > > If it is not too much trouble, please add this into > http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns Done. Thanks for contributing! > > > Feedback is always welcomed. > > Thanks > > ... Alan > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[protobuf] protoc-gen-docbook - Convert .proto source file into DocBook and PDFs
http://code.google.com/p/protoc-gen-docbook/ A protobuf plugin that converts a .proto file into DocBook and PDF. This should be one of the first documentation tools for protobuf. Here are some sample output: http://code.google.com/p/protoc-gen-docbook/wiki/Samples Behind the scene, it uses Protobuf compiler plugin architecture to receive the parsed information and convert the proto file into DocBook format. Then Apache FOP is used to convert DocBook into a PDF file. I tried to make this as user friendly as possible. Out of the box, you just need to drop your .proto source file into the deployment folder, run a provided script, and it will generate the DocBook and PDF output. If it is not too much trouble, please add this into http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns Feedback is always welcomed. Thanks ... Alan -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[protobuf] Re: Issue 353 in protobuf: For widespread adoption, site should provide official java jar download
Updates: Status: WontFix Owner: xiaof...@google.com Comment #4 on issue 353 by xiaof...@google.com: For widespread adoption, site should provide official java jar download http://code.google.com/p/protobuf/issues/detail?id=353 You can find it in the Maven Central Repository: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.protobuf%22%20AND%20a%3A%22protobuf-java%22 It's official and we will push a jar package there for every release. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[protobuf] Re: Issue 483 in protobuf: Unportable test(1) construct in configure script
Comment #3 on issue 483 by xiaof...@google.com: Unportable test(1) construct in configure script http://code.google.com/p/protobuf/issues/detail?id=483 Thanks. I synced gtest to its newest version. You can see these changes in protobuf trunk now. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[protobuf] Re: Issue 353 in protobuf: For widespread adoption, site should provide official java jar download
Comment #3 on issue 353 by james.ki...@gmail.com: For widespread adoption, site should provide official java jar download http://code.google.com/p/protobuf/issues/detail?id=353 As someone whose dev infrastructure is isolated from the internet, it would be great to download an official jar, like I can with most apache commons projects. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[protobuf] Re: Issue 483 in protobuf: Unportable test(1) construct in configure script
Comment #2 on issue 483 by t...@giga.or.at: Unportable test(1) construct in configure script http://code.google.com/p/protobuf/issues/detail?id=483 Done, and committed upstream. Please pull :) https://code.google.com/p/googletest/issues/detail?id=425 -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Fwd: [protobuf] deserialization of a deleted sub class works...
Sorry - intended to cc the list for reference purposes --- This is protobuf-net specific; sorry for delay bit I'm on a family weekend and my wife deliberately picks destinations far far away from cell towers. To explain: protobuf-net always starts from the root type; the most-base-type that it knows of as a contract. This means that you can still deserialize the base-type information. This mimics the scenario where you receive a message from an up-level caller who knows about a new subtype. It will deserialize as much as it can, basically. Does that answer things? Do you need more? On 15 Mar 2013 23:35, "Wallace Turner" wrote: > Consider these simple classes: > > [DataContract] >> public class Container >> { >> [DataMember(Order = 1)] >> public Order Order { get; set; } >> } >> >> [DataContract] >> public class Order >> { >> [DataMember(Order = 1)] >> public string Field1 { get; set; } >> } >> [DataContract] >> public class SubOrder : Order >> { >> [DataMember(Order = 1)] >> public string Field2 { get; set; } >> } > > > > I have serialized a populated instance of Container to a base64 string: > > RuntimeTypeModel.Default[typeof(Order)].AddSubType(100, typeof(SubOrder)); >> var tmp = new Container() { Order = new SubOrder { Field1 = "field1", >> Field2 = "field2" } }; >> Trace.WriteLine(Convert.ToBase64String(tmp.SerializeProto())); > > > after which I removed the reference to SubOrder and attempted to > deserialize the base64 string back to Container - to my surprise this > worked! > > I understand the type information is not saved but there must be a set of > circumstances under which this would not work - that is, if you start > adding new fields to Order and then attempt deserialization? or perhaps > something else? > > > > > > > -- > 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?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Regards, Marc -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.