[ https://issues.apache.org/jira/browse/THRIFT-2580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232304#comment-14232304 ]
Jens Geyer edited comment on THRIFT-2580 at 12/2/14 11:46 PM: -------------------------------------------------------------- Implemented "good enough" v4 UUID algorithm according to [RFC 4122|http://tools.ietf.org/html/rfc4122], since otherwise [boost 1.42.0|http://www.boost.org/doc/libs/1_42_0/libs/uuid/uuid.html] or better would be required to build the compiler. Feedback/comments highly appreciated. EDIT: Nice try. Removed the patch. :-( was (Author: jensg): Implemented "good enough" v4 UUID algorithm according to [RFC 4122|http://tools.ietf.org/html/rfc4122], since otherwise [boost 1.42.0|http://www.boost.org/doc/libs/1_42_0/libs/uuid/uuid.html] or better would be required to build the compiler. Feedback/comments highly appreciated. > better COM-ability for generated Delphi interfaces > -------------------------------------------------- > > Key: THRIFT-2580 > URL: https://issues.apache.org/jira/browse/THRIFT-2580 > Project: Thrift > Issue Type: Improvement > Components: Delphi - Compiler > Reporter: Jens Geyer > Assignee: Jens Geyer > Fix For: 0.9.3 > > > Consists of two major points: > * reintegrate UUID generation code to add IIDs to generated interfaces. > * optionally generate WideString instead of String > Currently, generated interfaces do not have an IID assigned. Although not > absolutely necessary, having a IID assigned is considered good practice and > makes certain things possible which are not possible without an IID assigned, > like cross-module usage. > Same is true for {{WideString}} (Delphi-equivalent of BSTR), which can be > directly used cross-module, while standard Delphi {{String}} cannot. However, > {{String}} is far more efficient compared to {{WideString}}, thus {{String}} > shall remain the default, and the {{WideString}} usage is *only* to be > enabled via Thrift compiler switch. > -Needs to check, if the boost version available at compiler build time > supports this.- -- This message was sent by Atlassian JIRA (v6.3.4#6332)