tag:github.com,2008:https://github.com/rahmatov/mcrouter/releasesTags from mcrouter2016-10-06T02:07:25Ztag:github.com,2008:Repository/71777701/v0.33.02016-10-06T02:07:25Zv0.33.0: Unified read/write API in protocol readers/writers<p>Unified read/write API in protocol readers/writers</p>
<p>Reviewed By: jmswen</p>
<p>Differential Revision: D3942550</p>
<p>fbshipit-source-id: 2545132e9220ecc1e6a206e70e3df0399633dd2e</p>glamtechietag:github.com,2008:Repository/71777701/v0.32.02016-09-10T23:12:47Zv0.32.0: Add a field visitor interface to the generated structures<p>Add a field visitor interface to the generated structures</p>
<p>Summary:
<br />Support visitor interface in generated structures and add method for converting Carbon structs into folly::dynamic.</p>
<p>The interface of visitors:
<br /> class Visitor {
<br /> /**
<br /> * Called when we enter a mixin.
<br /> *
<br /> * param id mixin id
<br /> * param mixinName name of mixin class
<br /> * param t value of mixin
<br /> * return false iff we should skip recursive processing of this mixin.
<br /> */
<br /> template <class T>
<br /> bool enterMixin(uint16_t id, folly::StringPiece mixinName, const T& t);</p>
<p> /**
<br /> * Called when we exit from mixin.
<br /> *
<br /> * return false iff we should stop further processing of current struct and
<br /> * should go one level up.
<br /> */
<br /> bool leaveMixin();</p>
<p> /**
<br /> * Called on each field of Carbon struct.
<br /> *
<br /> * param id field id
<br /> * param fieldName name of field
<br /> * param t value of the field
<br /> * return false iff we should skip all further fields in the current struct and go one level up.
<br /> */
<br /> template <class T>
<br /> bool visitField(uint16_t id, folly::StringPiece fieldName, const T& t);
<br /> };</p>
<p>Reviewed By: jmswen</p>
<p>Differential Revision: D3814414</p>
<p>fbshipit-source-id: 0cae105fa4f5547a173ee02242b909275ea6aaf3</p>spalamarchuktag:github.com,2008:Repository/71777701/v0.31.02016-08-29T23:02:42Zv0.31.0jmswentag:github.com,2008:Repository/71777701/v0.30.02016-08-16T23:14:46Zv0.30.0andreazevedotag:github.com,2008:Repository/71777701/v0.29.02016-07-30T01:22:40Zv0.29.0andreazevedotag:github.com,2008:Repository/71777701/v0.28.02016-07-13T15:06:24Zv0.28.0jmswentag:github.com,2008:Repository/71777701/v0.27.02016-06-27T18:34:42Zv0.27.0andreazevedotag:github.com,2008:Repository/71777701/v0.26.02016-06-13T22:27:30Zv0.26.0jmswentag:github.com,2008:Repository/71777701/v0.25.02016-05-19T00:49:06Zv0.25.0tag:github.com,2008:Repository/71777701/v0.24.02016-04-29T22:13:31Zv0.24.0