Author: buildbot Date: Thu Nov 30 23:12:57 2017 New Revision: 1021555 Log: Staging update by buildbot for thrift
Modified: websites/staging/thrift/trunk/content/ (props changed) websites/staging/thrift/trunk/content/about.html websites/staging/thrift/trunk/content/developers.html websites/staging/thrift/trunk/content/docs/BuildingFromSource.html websites/staging/thrift/trunk/content/docs/HowToContribute.html websites/staging/thrift/trunk/content/docs/HowToNewLanguage.html websites/staging/thrift/trunk/content/docs/Languages.html websites/staging/thrift/trunk/content/docs/coding_standards.html websites/staging/thrift/trunk/content/docs/committers/AdditionalReading.html websites/staging/thrift/trunk/content/docs/committers/HowToCommit.html websites/staging/thrift/trunk/content/docs/committers/HowToPublish.html websites/staging/thrift/trunk/content/docs/committers/HowToRelease.html websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html websites/staging/thrift/trunk/content/docs/committers/index.html websites/staging/thrift/trunk/content/docs/concepts.html websites/staging/thrift/trunk/content/docs/features.html websites/staging/thrift/trunk/content/docs/idl.html websites/staging/thrift/trunk/content/docs/index.html websites/staging/thrift/trunk/content/docs/install/centos.html websites/staging/thrift/trunk/content/docs/install/debian.html websites/staging/thrift/trunk/content/docs/install/index.html websites/staging/thrift/trunk/content/docs/install/os_x.html websites/staging/thrift/trunk/content/docs/install/windows.html websites/staging/thrift/trunk/content/docs/types.html websites/staging/thrift/trunk/content/download.html websites/staging/thrift/trunk/content/index.html websites/staging/thrift/trunk/content/lib/c_glib.html websites/staging/thrift/trunk/content/lib/cpp.html websites/staging/thrift/trunk/content/lib/csharp.html websites/staging/thrift/trunk/content/lib/d.html websites/staging/thrift/trunk/content/lib/delphi.html websites/staging/thrift/trunk/content/lib/erl.html websites/staging/thrift/trunk/content/lib/go.html websites/staging/thrift/trunk/content/lib/haxe.html websites/staging/thrift/trunk/content/lib/hs.html websites/staging/thrift/trunk/content/lib/index.html websites/staging/thrift/trunk/content/lib/java.html websites/staging/thrift/trunk/content/lib/js.html websites/staging/thrift/trunk/content/lib/nodejs.html websites/staging/thrift/trunk/content/lib/ocaml.html websites/staging/thrift/trunk/content/lib/perl.html websites/staging/thrift/trunk/content/lib/php.html websites/staging/thrift/trunk/content/lib/py.html websites/staging/thrift/trunk/content/lib/rb.html websites/staging/thrift/trunk/content/lib/st.html websites/staging/thrift/trunk/content/mailing.html websites/staging/thrift/trunk/content/sitemap.html websites/staging/thrift/trunk/content/test/ThriftTest.html websites/staging/thrift/trunk/content/test/index.html websites/staging/thrift/trunk/content/test/keys.html websites/staging/thrift/trunk/content/tutorial/as3.html websites/staging/thrift/trunk/content/tutorial/c_glib.html websites/staging/thrift/trunk/content/tutorial/cpp.html websites/staging/thrift/trunk/content/tutorial/csharp.html websites/staging/thrift/trunk/content/tutorial/d.html websites/staging/thrift/trunk/content/tutorial/dart.html websites/staging/thrift/trunk/content/tutorial/delphi.html websites/staging/thrift/trunk/content/tutorial/go.html websites/staging/thrift/trunk/content/tutorial/graphviz.html websites/staging/thrift/trunk/content/tutorial/haxe.html websites/staging/thrift/trunk/content/tutorial/hs.html websites/staging/thrift/trunk/content/tutorial/index.html websites/staging/thrift/trunk/content/tutorial/java.html websites/staging/thrift/trunk/content/tutorial/js.html websites/staging/thrift/trunk/content/tutorial/nodejs.html websites/staging/thrift/trunk/content/tutorial/ocaml.html websites/staging/thrift/trunk/content/tutorial/perl.html websites/staging/thrift/trunk/content/tutorial/php.html websites/staging/thrift/trunk/content/tutorial/py.html websites/staging/thrift/trunk/content/tutorial/rb.html Propchange: websites/staging/thrift/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Thu Nov 30 23:12:57 2017 @@ -1 +1 @@ -1814957 +1816776 Modified: websites/staging/thrift/trunk/content/about.html ============================================================================== --- websites/staging/thrift/trunk/content/about.html (original) +++ websites/staging/thrift/trunk/content/about.html Thu Nov 30 23:12:57 2017 @@ -453,7 +453,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/developers.html ============================================================================== --- websites/staging/thrift/trunk/content/developers.html (original) +++ websites/staging/thrift/trunk/content/developers.html Thu Nov 30 23:12:57 2017 @@ -145,7 +145,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/BuildingFromSource.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/BuildingFromSource.html (original) +++ websites/staging/thrift/trunk/content/docs/BuildingFromSource.html Thu Nov 30 23:12:57 2017 @@ -195,7 +195,7 @@ better suited to those languages (this a </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/HowToContribute.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/HowToContribute.html (original) +++ websites/staging/thrift/trunk/content/docs/HowToContribute.html Thu Nov 30 23:12:57 2017 @@ -205,7 +205,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/HowToNewLanguage.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/HowToNewLanguage.html (original) +++ websites/staging/thrift/trunk/content/docs/HowToNewLanguage.html Thu Nov 30 23:12:57 2017 @@ -164,7 +164,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/Languages.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/Languages.html (original) +++ websites/staging/thrift/trunk/content/docs/Languages.html Thu Nov 30 23:12:57 2017 @@ -195,7 +195,7 @@ Version: 0.10.0+</p> <tr align=center> <td align=left><a href="lib/netcore/README.md">.NET Core</a></td> <!-- Build Systems ---------><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cred.png" alt=""/></td> -<!-- Language Levels -------><td colspan=2>2.0.0</td> +<!-- Language Levels -------><td>2.0.0</td><td>2.0.3</td> <!-- Low-Level Transports --><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td> <!-- Transport Wrappers ----><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td> <!-- Protocols -------------><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td> @@ -275,7 +275,7 @@ Version: 0.10.0+</p> <tr align=center> <td align=left><a href="lib/lua/README.md">Lua</a></td> <!-- Build Systems ---------><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td> -<!-- Language Levels -------><td>5.1.5</td><td>5.3.3</td> +<!-- Language Levels -------><td>5.1.5</td><td>5.2.4</td> <!-- Low-Level Transports --><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td> <!-- Transport Wrappers ----><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td> <!-- Protocols -------------><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td> @@ -285,7 +285,7 @@ Version: 0.10.0+</p> <tr align=center> <td align=left><a href="lib/nodejs/README.md">node.js</a></td> <!-- Build Systems ---------><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td> -<!-- Language Levels -------><td>4.2.6</td><td>8.8.1</td> +<!-- Language Levels -------><td>4.2.6</td><td>8.9.1</td> <!-- Low-Level Transports --><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cred.png" alt=""/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td> <!-- Transport Wrappers ----><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cred.png" alt=""/></td> <!-- Protocols -------------><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td><td><img src="doc/images/cgrn.png" alt="Yes"/></td> @@ -415,7 +415,7 @@ Version: 0.10.0+</p> </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/coding_standards.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/coding_standards.html (original) +++ websites/staging/thrift/trunk/content/docs/coding_standards.html Thu Nov 30 23:12:57 2017 @@ -154,7 +154,7 @@ Code review is the best way to improve r </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/committers/AdditionalReading.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/committers/AdditionalReading.html (original) +++ websites/staging/thrift/trunk/content/docs/committers/AdditionalReading.html Thu Nov 30 23:12:57 2017 @@ -116,7 +116,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/committers/HowToCommit.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/committers/HowToCommit.html (original) +++ websites/staging/thrift/trunk/content/docs/committers/HowToCommit.html Thu Nov 30 23:12:57 2017 @@ -179,7 +179,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/committers/HowToPublish.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/committers/HowToPublish.html (original) +++ websites/staging/thrift/trunk/content/docs/committers/HowToPublish.html Thu Nov 30 23:12:57 2017 @@ -130,7 +130,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/committers/HowToRelease.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/committers/HowToRelease.html (original) +++ websites/staging/thrift/trunk/content/docs/committers/HowToRelease.html Thu Nov 30 23:12:57 2017 @@ -150,7 +150,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html (original) +++ websites/staging/thrift/trunk/content/docs/committers/HowToThriftWebsite.html Thu Nov 30 23:12:57 2017 @@ -164,7 +164,7 @@ rendering correctly on the staging site. </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html (original) +++ websites/staging/thrift/trunk/content/docs/committers/HowToVersion.html Thu Nov 30 23:12:57 2017 @@ -347,7 +347,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/committers/index.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/committers/index.html (original) +++ websites/staging/thrift/trunk/content/docs/committers/index.html Thu Nov 30 23:12:57 2017 @@ -118,7 +118,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/concepts.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/concepts.html (original) +++ websites/staging/thrift/trunk/content/docs/concepts.html Thu Nov 30 23:12:57 2017 @@ -223,7 +223,7 @@ delegates processing to the handler (imp </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/features.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/features.html (original) +++ websites/staging/thrift/trunk/content/docs/features.html Thu Nov 30 23:12:57 2017 @@ -152,7 +152,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/idl.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/idl.html (original) +++ websites/staging/thrift/trunk/content/docs/idl.html Thu Nov 30 23:12:57 2017 @@ -365,7 +365,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/index.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/index.html (original) +++ websites/staging/thrift/trunk/content/docs/index.html Thu Nov 30 23:12:57 2017 @@ -123,7 +123,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/install/centos.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/install/centos.html (original) +++ websites/staging/thrift/trunk/content/docs/install/centos.html Thu Nov 30 23:12:57 2017 @@ -193,7 +193,7 @@ You can use the ./configure --enable-lib </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/install/debian.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/install/debian.html (original) +++ websites/staging/thrift/trunk/content/docs/install/debian.html Thu Nov 30 23:12:57 2017 @@ -178,7 +178,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/install/index.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/install/index.html (original) +++ websites/staging/thrift/trunk/content/docs/install/index.html Thu Nov 30 23:12:57 2017 @@ -190,7 +190,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/install/os_x.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/install/os_x.html (original) +++ websites/staging/thrift/trunk/content/docs/install/os_x.html Thu Nov 30 23:12:57 2017 @@ -140,7 +140,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/install/windows.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/install/windows.html (original) +++ websites/staging/thrift/trunk/content/docs/install/windows.html Thu Nov 30 23:12:57 2017 @@ -267,7 +267,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/docs/types.html ============================================================================== --- websites/staging/thrift/trunk/content/docs/types.html (original) +++ websites/staging/thrift/trunk/content/docs/types.html Thu Nov 30 23:12:57 2017 @@ -146,7 +146,7 @@ While defaults are provided, the type ma </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/download.html ============================================================================== --- websites/staging/thrift/trunk/content/download.html (original) +++ websites/staging/thrift/trunk/content/download.html Thu Nov 30 23:12:57 2017 @@ -135,7 +135,7 @@ cd thrift </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/index.html ============================================================================== --- websites/staging/thrift/trunk/content/index.html (original) +++ websites/staging/thrift/trunk/content/index.html Thu Nov 30 23:12:57 2017 @@ -364,7 +364,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/c_glib.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/c_glib.html (original) +++ websites/staging/thrift/trunk/content/lib/c_glib.html Thu Nov 30 23:12:57 2017 @@ -120,7 +120,7 @@ http://www.gtk.org/ </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/cpp.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/cpp.html (original) +++ websites/staging/thrift/trunk/content/lib/cpp.html Thu Nov 30 23:12:57 2017 @@ -116,28 +116,25 @@ your build environment it set up, you ma libraries when linking against thrift, such as librt and/or libpthread. If you are using libthriftnb you will also need libevent.</p> <h2 id="dependencies">Dependencies<a class="headerlink" href="#dependencies" title="Permanent link">¶</a></h2> -<p>boost shared pointers -http://www.boost.org/libs/smart_ptr/smart_ptr.htm</p> +<p>If your C++ environment implements C++11 or later, thrift will automatically use +std::shared_ptr. Otherwise you will need the boost library to provide a shared_ptr +implementation for C++ environments pre-C++11. If you are linking against code +that expects to be using boost::shared_ptr, you can define the preprocessor +variable FORCE_BOOST_SMART_PTR for your build of thrift to make it use boost instead +of std for a number of memory related classes. See thrift/stdcxx.h for more.</p> <p>libevent (for libthriftnb only) http://monkey.org/~provos/libevent/</p> <h1 id="using-thrift-with-c-on-windows">Using Thrift with C++ on Windows<a class="headerlink" href="#using-thrift-with-c-on-windows" title="Permanent link">¶</a></h1> -<p>You need to define an environment variables for 3rd party components separately:</p> +<p>Both the autoconf and cmake build systems are able to automatically detect many +system configurations without the need to specify library locations, however if +you run into problems or want to redirect thrift to build and link against your +own provided third party libraries:</p> <p>BOOST_ROOT : For boost, e.g. D:\boost_1_55_0 OPENSSL_ROOT_DIR : For OpenSSL, e.g. D:\OpenSSL-Win32</p> <p>only required by libthriftnb:</p> <p>LIBEVENT_ROOT_DIR : For Libevent e.g. D:\libevent-2.0.21-stable</p> <p>See /3rdparty.user for more details.</p> -<p>Thrift is divided into two libraries.</p> -<ul> -<li> -<p>libthrift - The core Thrift library contains all the core Thrift code. It requires - boost shared pointers, pthreads, and librt.</p> -</li> -<li> -<p>libthriftnb - This library contains the Thrift nonblocking server, which uses libevent. - To link this library you will also need to link libevent.</p> -</li> -</ul> +<p>The same linking guidelines described above for libthriftnb apply to windows as well.</p> <h2 id="linking-against-thrift_1">Linking Against Thrift<a class="headerlink" href="#linking-against-thrift_1" title="Permanent link">¶</a></h2> <p>You need to link your project that uses thrift against all the thrift dependencies; in the case of libthrift, boost and for @@ -145,8 +142,7 @@ libthriftnb, libevent.</p> <p>In the project properties you must also set HAVE_CONFIG_H as force include the config header: "windows/confg.h"</p> <h2 id="dependencies_1">Dependencies<a class="headerlink" href="#dependencies_1" title="Permanent link">¶</a></h2> -<p>boost shared pointers -http://www.boost.org/libs/smart_ptr/smart_ptr.htm</p> +<p>The same dependencies for shared_ptr as described above apply to windows as well.</p> <p>boost thread http://www.boost.org/doc/libs/release/doc/html/thread.html</p> <p>libevent (for libthriftnb only) @@ -291,7 +287,24 @@ keys/server.crt has to be replaced with <p>The default implementation of OpenSSLSocketFactory::randomize() simply calls OpenSSL's RAND_poll() when OpenSSL library is first initialized.</p> <p>The PRNG seed is key to the application security. This method should be -overridden if it's not strong enough for you. +overridden if it's not strong enough for you.</p> +<h1 id="breaking-changes">Breaking Changes<a class="headerlink" href="#breaking-changes" title="Permanent link">¶</a></h1> +<h2 id="0110">0.11.0<a class="headerlink" href="#0110" title="Permanent link">¶</a></h2> +<p>Older versions of thrift depended on the <boost/smart_ptr.hpp> classes which +were used in thrift headers to define interfaces. Thrift now detects C++11 +at build time and will prefer to use <memory> classes from C++11 instead. +You can force the library to build with boost memory classes by defining the +preprocessor macro <code>FORCE_BOOST_SMART_PTR</code>. (THRIFT-2221)</p> +<p>In the pthread mutex implementation, the contention profiling code was enabled +by default in all builds. This changed to be disabled by default. (THRIFT-4151)</p> +<p>In older releases, if a TSSLSocketFactory's lifetime was not at least as long +as the TSSLSockets it created, we silently reverted openssl to unsafe multithread behavior +and so the results were undefined. Changes were made in 0.11.0 that cause either an +assertion or a core instead of undefined behavior. The lifetime of a TSSLSocketFactory +<em>must</em> be longer than any TSSLSocket that it creates, otherwise openssl will be cleaned +up too early. If the static boolean is set to disable openssl initialization and +cleanup and leave it up to the consuming application, this requirement is not needed. +(THRIFT-4164) <p class='snippet_footer'> This page was generated by Apache Thrift's <strong>source tree docs</strong>: <a href="http://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob;f=lib/cpp/README.md;hb=HEAD"</a>lib/cpp/README.md</a> @@ -322,7 +335,7 @@ overridden if it's not strong enough for </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/csharp.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/csharp.html (original) +++ websites/staging/thrift/trunk/content/lib/csharp.html Thu Nov 30 23:12:57 2017 @@ -116,7 +116,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/d.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/d.html (original) +++ websites/staging/thrift/trunk/content/lib/d.html Thu Nov 30 23:12:57 2017 @@ -142,7 +142,7 @@ Autotools build system if the files are </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/delphi.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/delphi.html (original) +++ websites/staging/thrift/trunk/content/lib/delphi.html Thu Nov 30 23:12:57 2017 @@ -118,7 +118,7 @@ with earlier versions (such as Delphi 7) </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/erl.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/erl.html (original) +++ websites/staging/thrift/trunk/content/lib/erl.html Thu Nov 30 23:12:57 2017 @@ -138,7 +138,7 @@ ok </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/go.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/go.html (original) +++ websites/staging/thrift/trunk/content/lib/go.html Thu Nov 30 23:12:57 2017 @@ -168,7 +168,7 @@ typedefs and enums.</p> </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/haxe.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/haxe.html (original) +++ websites/staging/thrift/trunk/content/lib/haxe.html Thu Nov 30 23:12:57 2017 @@ -100,9 +100,9 @@ enter the following commands after insta <p>For other targets, please consult the Haxe documentation whether or not any additional target libraries need to be installed and how to achieve this.</p> <h2 id="haxe-on-linux">Haxe on Linux<a class="headerlink" href="#haxe-on-linux" title="Permanent link">¶</a></h2> -<p>For Linux platforms it is recommended not to download the -binaries manually, instead use the Haxe installation shell -script which can be found at <code>http://www.openfl.org/download</code>.</p> +<p>For Linux platforms it is recommended to use the distro-specific package +manager, where possible. More detailed information can be found at the +Haxe Linux download section: http://haxe.org/download/linux</p> <p>If you run into the error message </p> <div class="codehilite"><pre><span class="n">Uncaught</span> <span class="n">exception</span> <span class="o">-</span> <span class="n">load</span><span class="p">.</span><span class="n">c</span><span class="p">(</span>237<span class="p">)</span> <span class="p">:</span> <span class="n">Failed</span> <span class="n">to</span> <span class="n">load</span> <span class="n">library</span> <span class="p">:</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">neko</span><span class="o">/</span><span class="n">regexp</span><span class="p">.</span><span class="n">ndll</span> <span class="p">(</span><span class="n">libpcre</span><span class="p">.</span><span class="n">so</span><span class="p">.</span>3<span class="p">:</span> <span class="n">cannot</span> <span class="n">open</span> <span class="n">shared</span> <span class="n">object</span> <span class="n">file</span><span class="p">:</span> <span class="n">No</span> <span class="n">such</span> <span class="n">file</span> <span class="n">or</span> <span class="n">directory</span><span class="p">)</span> @@ -126,10 +126,10 @@ script which can be found at <code>http: either from the official ASF repo, or via the github mirror.</p> <ul> <li> -<p>To set up any <strong>stable version</strong>, choose the appropriate branch (e.g. <code>0.9.3</code>):</p> +<p>To set up any <strong>stable version</strong>, choose the appropriate branch (e.g. <code>0.10.0</code>):</p> <ul> -<li><code>haxelib git thrift https://git.apache.org/thrift.git 0.9.3 lib/haxe</code></li> -<li><code>haxelib git thrift https://github.com/apache/thrift.git 0.9.3 lib/haxe</code></li> +<li><code>haxelib git thrift https://git.apache.org/thrift.git 0.10.0 lib/haxe</code></li> +<li><code>haxelib git thrift https://github.com/apache/thrift.git 0.10.0 lib/haxe</code></li> </ul> </li> <li> @@ -243,7 +243,7 @@ server.runOnce = true;</code> </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/hs.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/hs.html (original) +++ websites/staging/thrift/trunk/content/lib/hs.html Thu Nov 30 23:12:57 2017 @@ -159,7 +159,7 @@ superclasses process if there is a super </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/index.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/index.html (original) +++ websites/staging/thrift/trunk/content/lib/index.html Thu Nov 30 23:12:57 2017 @@ -308,7 +308,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/java.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/java.html (original) +++ websites/staging/thrift/trunk/content/lib/java.html Thu Nov 30 23:12:57 2017 @@ -139,7 +139,7 @@ http://ant.apache.org/ </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/js.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/js.html (original) +++ websites/staging/thrift/trunk/content/lib/js.html Thu Nov 30 23:12:57 2017 @@ -233,7 +233,7 @@ service. </p> </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/nodejs.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/nodejs.html (original) +++ websites/staging/thrift/trunk/content/lib/nodejs.html Thu Nov 30 23:12:57 2017 @@ -84,6 +84,8 @@ visibility: hidden; } h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style> +<h2 id="compatibility">Compatibility<a class="headerlink" href="#compatibility" title="Permanent link">¶</a></h2> +<p>node version 4 or later is required</p> <h2 id="install">Install<a class="headerlink" href="#install" title="Permanent link">¶</a></h2> <div class="codehilite"><pre><span class="n">npm</span> <span class="n">install</span> <span class="n">thrift</span> </pre></div> @@ -154,7 +156,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/ocaml.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/ocaml.html (original) +++ websites/staging/thrift/trunk/content/lib/ocaml.html Thu Nov 30 23:12:57 2017 @@ -175,7 +175,7 @@ does not send all the arguments. </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/perl.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/perl.html (original) +++ websites/staging/thrift/trunk/content/lib/perl.html Thu Nov 30 23:12:57 2017 @@ -84,21 +84,86 @@ visibility: hidden; } h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style> +<p>Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License.</p> +<h1 id="for-more-information">For More Information<a class="headerlink" href="#for-more-information" title="Permanent link">¶</a></h1> +<p>See the <a href="http://thrift.apache.org">Apache Thrift Web Site</a> for more information.</p> <h1 id="using-thrift-with-perl">Using Thrift with Perl<a class="headerlink" href="#using-thrift-with-perl" title="Permanent link">¶</a></h1> -<p>Thrift requires Perl >= 5.6.0</p> +<p>Thrift requires Perl >= 5.10.0</p> <p>Unexpected exceptions in a service handler are converted to TApplicationException with type INTERNAL ERROR and the string of the exception is delivered as the message.</p> <p>On the client side, exceptions are thrown with die, so be sure to wrap eval{} statments around any code that contains exceptions.</p> <p>Please see tutoral and test dirs for examples.</p> +<p>The Perl ForkingServer ignores SIGCHLD allowing the forks to be +reaped by the operating system naturally when they exit. This means +one cannot use a custom SIGCHLD handler in the consuming perl +implementation that calls serve(). It is acceptable to use +a custom SIGCHLD handler within a thrift handler implementation +as the ForkingServer resets the forked child process to use +default signal handling.</p> <h1 id="dependencies">Dependencies<a class="headerlink" href="#dependencies" title="Permanent link">¶</a></h1> -<p>Bit::Vector - comes with modern perl installations. -Class::Accessor -IO::Socket::INET - comes with modern perl installations. -IO::Socket::SSL - required if using SSL/TLS. -NET::SSLeay -Crypt::SSLeay - for make cross +<p>The following modules are not provided by Perl 5.10.0 but are required +to use Thrift.</p> +<h2 id="runtime">Runtime<a class="headerlink" href="#runtime" title="Permanent link">¶</a></h2> +<ul> +<li>Bit::Vector</li> +<li>Class::Accessor</li> +</ul> +<h3 id="httpclient-transport">HttpClient Transport<a class="headerlink" href="#httpclient-transport" title="Permanent link">¶</a></h3> +<p>These are only required if using Thrift::HttpClient:</p> +<ul> +<li>HTTP::Request</li> +<li>IO::String</li> +<li>LWP::UserAgent</li> +</ul> +<h3 id="ssltls">SSL/TLS<a class="headerlink" href="#ssltls" title="Permanent link">¶</a></h3> +<p>These are only required if using Thrift::SSLSocket or Thrift::SSLServerSocket:</p> +<ul> +<li>IO::Socket::SSL</li> +</ul> +<h1 id="breaking-changes">Breaking Changes<a class="headerlink" href="#breaking-changes" title="Permanent link">¶</a></h1> +<h2 id="0100">0.10.0<a class="headerlink" href="#0100" title="Permanent link">¶</a></h2> +<p>The socket classes were refactored in 0.10.0 so that there is one package per +file. This means <code>use Socket;</code> no longer defines SSLSocket. You can use this +technique to make your application run against 0.10.0 as well as earlier versions:</p> +<p><code>eval { require Thrift::SSLSocket; } or do { require Thrift::Socket; }</code></p> +<h2 id="0110">0.11.0<a class="headerlink" href="#0110" title="Permanent link">¶</a></h2> +<ul> +<li>Namespaces of packages that were not scoped within Thrift have been fixed. + <strong> TApplicationException is now Thrift::TApplicationException + </strong> TException is now Thrift::TException + <strong> TMessageType is now Thrift::TMessageType + </strong> TProtocolException is now Thrift::TProtocolException + <strong> TProtocolFactory is now Thrift::TProtocolFactory + </strong> TTransportException is now Thrift::TTransportException + ** TType is now Thrift::TType</li> +</ul> +<p>If you need a single version of your code to work with both older and newer thrift +namespace changes, you can make the new, correct namespaces behave like the old ones +in your files with this technique to create an alias, which will allow you code to +run against either version of the perl runtime for thrift:</p> +<p><code>BEGIN {*TType:: = *Thrift::TType::}</code></p> +<ul> +<li>Packages found in Thrift.pm were moved into the Thrift/ directory in separate files: + <strong> Thrift::TApplicationException is now in Thrift/Exception.pm + </strong> Thrift::TException is now in Thrift/Exception.pm + <strong> Thrift::TMessageType is now in Thrift/MessageType.pm + </strong> Thrift::TType is now in Thrift/Type.pm</li> +</ul> +<p>If you need to modify your code to work against both older or newer thrift versions, +you can deal with these changes in a backwards compatible way in your projects using eval:</p> +<p><code>eval { require Thrift::Exception; require Thrift::MessageType; require Thrift::Type; } + or do { require Thrift; }</code></p> +<h1 id="deprecations">Deprecations<a class="headerlink" href="#deprecations" title="Permanent link">¶</a></h1> +<h2 id="0110_1">0.11.0<a class="headerlink" href="#0110_1" title="Permanent link">¶</a></h2> +<p>Thrift::HttpClient setRecvTimeout() and setSendTimeout() are deprecated. +Use setTimeout instead. <p class='snippet_footer'> This page was generated by Apache Thrift's <strong>source tree docs</strong>: <a href="http://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob;f=lib/perl/README.md;hb=HEAD"</a>lib/perl/README.md</a> @@ -129,7 +194,7 @@ Crypt::SSLeay - for make cross </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/php.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/php.html (original) +++ websites/staging/thrift/trunk/content/lib/php.html Thu Nov 30 23:12:57 2017 @@ -133,7 +133,7 @@ require_once 'packages/Service/Types.php </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/py.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/py.html (original) +++ websites/staging/thrift/trunk/content/lib/py.html Thu Nov 30 23:12:57 2017 @@ -124,7 +124,7 @@ To use the latter, become superuser and </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/rb.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/rb.html (original) +++ websites/staging/thrift/trunk/content/lib/rb.html Thu Nov 30 23:12:57 2017 @@ -128,7 +128,7 @@ in the full thrift distribution. </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/lib/st.html ============================================================================== --- websites/staging/thrift/trunk/content/lib/st.html (original) +++ websites/staging/thrift/trunk/content/lib/st.html Thu Nov 30 23:12:57 2017 @@ -121,7 +121,7 @@ calc addNum1: 10 num2: 15</p> </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/mailing.html ============================================================================== --- websites/staging/thrift/trunk/content/mailing.html (original) +++ websites/staging/thrift/trunk/content/mailing.html Thu Nov 30 23:12:57 2017 @@ -129,7 +129,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/sitemap.html ============================================================================== --- websites/staging/thrift/trunk/content/sitemap.html (original) +++ websites/staging/thrift/trunk/content/sitemap.html Thu Nov 30 23:12:57 2017 @@ -195,7 +195,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/test/ThriftTest.html ============================================================================== --- websites/staging/thrift/trunk/content/test/ThriftTest.html (original) +++ websites/staging/thrift/trunk/content/test/ThriftTest.html Thu Nov 30 23:12:57 2017 @@ -506,8 +506,7 @@ h2:hover > .headerlink, h3:hover > .head 408 409 410 -411 -412</pre></div></td><td class="code"><div class="codehilite"><pre>/* +411</pre></div></td><td class="code"><div class="codehilite"><pre>/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -830,13 +829,12 @@ service ThriftTest service SecondService { - void blahBlah() /** * Prints 'testString("%s")' with thing as '%s' * @param string thing - the string to print * @return string - returns the string 'thing' */ - string secondtestString(1: string thing), + string secondtestString(1: string thing) } struct VersioningTestV1 { @@ -952,7 +950,7 @@ struct StructB { </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/test/index.html ============================================================================== --- websites/staging/thrift/trunk/content/test/index.html (original) +++ websites/staging/thrift/trunk/content/test/index.html Thu Nov 30 23:12:57 2017 @@ -285,7 +285,7 @@ directory <a href="keys">test/keys</a></ </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/test/keys.html ============================================================================== --- websites/staging/thrift/trunk/content/test/keys.html (original) +++ websites/staging/thrift/trunk/content/test/keys.html Thu Nov 30 23:12:57 2017 @@ -226,7 +226,7 @@ Primary use are unit test suites and cro </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/tutorial/as3.html ============================================================================== --- websites/staging/thrift/trunk/content/tutorial/as3.html (original) +++ websites/staging/thrift/trunk/content/tutorial/as3.html Thu Nov 30 23:12:57 2017 @@ -195,7 +195,7 @@ h2:hover > .headerlink, h3:hover > </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/tutorial/c_glib.html ============================================================================== --- websites/staging/thrift/trunk/content/tutorial/c_glib.html (original) +++ websites/staging/thrift/trunk/content/tutorial/c_glib.html Thu Nov 30 23:12:57 2017 @@ -845,7 +845,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/tutorial/cpp.html ============================================================================== --- websites/staging/thrift/trunk/content/tutorial/cpp.html (original) +++ websites/staging/thrift/trunk/content/tutorial/cpp.html Thu Nov 30 23:12:57 2017 @@ -120,6 +120,7 @@ h2:hover > .headerlink, h3:hover > .head <span class="cp">#include <thrift/protocol/TBinaryProtocol.h></span> <span class="cp">#include <thrift/transport/TSocket.h></span> <span class="cp">#include <thrift/transport/TTransportUtils.h></span> +<span class="cp">#include <thrift/stdcxx.h></span> <span class="cp">#include "../gen-cpp/Calculator.h"</span> @@ -132,9 +133,9 @@ h2:hover > .headerlink, h3:hover > .head <span class="k">using</span> <span class="k">namespace</span> <span class="n">shared</span><span class="p">;</span> <span class="kt">int</span> <span class="n">main</span><span class="p">()</span> <span class="p">{</span> - <span class="n">boost</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TTransport</span><span class="o">></span> <span class="n">socket</span><span class="p">(</span><span class="k">new</span> <span class="n">TSocket</span><span class="p">(</span><span class="s">"localhost"</span><span class="p">,</span> <span class="mi">9090</span><span class="p">));</span> - <span class="n">boost</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TTransport</span><span class="o">></span> <span class="n">transport</span><span class="p">(</span><span class="k">new</span> <span class="n">TBufferedTransport</span><span class="p">(</span><span class="n">socket</span><span class="p">));</span> - <span class="n">boost</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TProtocol</span><span class="o">></span> <span class="n">protocol</span><span class="p">(</span><span class="k">new</span> <span class="n">TBinaryProtocol</span><span class="p">(</span><span class="n">transport</span><span class="p">));</span> + <span class="n">stdcxx</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TTransport</span><span class="o">></span> <span class="n">socket</span><span class="p">(</span><span class="k">new</span> <span class="n">TSocket</span><span class="p">(</span><span class="s">"localhost"</span><span class="p">,</span> <span class="mi">9090</span><span class="p">));</span> + <span class="n">stdcxx</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TTransport</span><span class="o">></span> <span class="n">transport</span><span class="p">(</span><span class="k">new</span> <span class="n">TBufferedTransport</span><span class="p">(</span><span class="n">socket</span><span class="p">));</span> + <span class="n">stdcxx</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TProtocol</span><span class="o">></span> <span class="n">protocol</span><span class="p">(</span><span class="k">new</span> <span class="n">TBinaryProtocol</span><span class="p">(</span><span class="n">transport</span><span class="p">));</span> <span class="n">CalculatorClient</span> <span class="n">client</span><span class="p">(</span><span class="n">protocol</span><span class="p">);</span> <span class="k">try</span> <span class="p">{</span> @@ -206,8 +207,7 @@ h2:hover > .headerlink, h3:hover > .head <span class="cp">#include <thrift/transport/TSocket.h></span> <span class="cp">#include <thrift/transport/TTransportUtils.h></span> <span class="cp">#include <thrift/TToString.h></span> - -<span class="cp">#include <boost/make_shared.hpp></span> +<span class="cp">#include <thrift/stdcxx.h></span> <span class="cp">#include <iostream></span> <span class="cp">#include <stdexcept></span> @@ -297,7 +297,7 @@ h2:hover > .headerlink, h3:hover > .head <span class="k">virtual</span> <span class="o">~</span><span class="n">CalculatorCloneFactory</span><span class="p">()</span> <span class="p">{}</span> <span class="k">virtual</span> <span class="n">CalculatorIf</span><span class="o">*</span> <span class="n">getHandler</span><span class="p">(</span><span class="k">const</span> <span class="o">::</span><span class="n">apache</span><span class="o">::</span><span class="n">thrift</span><span class="o">::</span><span class="n">TConnectionInfo</span><span class="o">&</span> <span class="n">connInfo</span><span class="p">)</span> <span class="p">{</span> - <span class="n">boost</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TSocket</span><span class="o">></span> <span class="n">sock</span> <span class="o">=</span> <span class="n">boost</span><span class="o">::</span><span class="n">dynamic_pointer_cast</span><span class="o"><</span><span class="n">TSocket</span><span class="o">></span><span class="p">(</span><span class="n">connInfo</span><span class="p">.</span><span class="n">transport</span><span class="p">);</span> + <span class="n">stdcxx</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TSocket</span><span class="o">></span> <span class="n">sock</span> <span class="o">=</span> <span class="n">stdcxx</span><span class="o">::</span><span class="n">dynamic_pointer_cast</span><span class="o"><</span><span class="n">TSocket</span><span class="o">></span><span class="p">(</span><span class="n">connInfo</span><span class="p">.</span><span class="n">transport</span><span class="p">);</span> <span class="n">cout</span> <span class="o"><<</span> <span class="s">"Incoming connection</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span> <span class="n">cout</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\t</span><span class="s">SocketInfo: "</span> <span class="o"><<</span> <span class="n">sock</span><span class="o">-></span><span class="n">getSocketInfo</span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span> <span class="n">cout</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\t</span><span class="s">PeerHost: "</span> <span class="o"><<</span> <span class="n">sock</span><span class="o">-></span><span class="n">getPeerHost</span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span> @@ -312,22 +312,24 @@ h2:hover > .headerlink, h3:hover > .head <span class="kt">int</span> <span class="n">main</span><span class="p">()</span> <span class="p">{</span> <span class="n">TThreadedServer</span> <span class="n">server</span><span class="p">(</span> - <span class="n">boost</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">CalculatorProcessorFactory</span><span class="o">></span><span class="p">(</span><span class="n">boost</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">CalculatorCloneFactory</span><span class="o">></span><span class="p">()),</span> - <span class="n">boost</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">TServerSocket</span><span class="o">></span><span class="p">(</span><span class="mi">9090</span><span class="p">),</span> <span class="c1">//port</span> - <span class="n">boost</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">TBufferedTransportFactory</span><span class="o">></span><span class="p">(),</span> - <span class="n">boost</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">TBinaryProtocolFactory</span><span class="o">></span><span class="p">());</span> + <span class="n">stdcxx</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">CalculatorProcessorFactory</span><span class="o">></span><span class="p">(</span><span class="n">stdcxx</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">CalculatorCloneFactory</span><span class="o">></span><span class="p">()),</span> + <span class="n">stdcxx</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">TServerSocket</span><span class="o">></span><span class="p">(</span><span class="mi">9090</span><span class="p">),</span> <span class="c1">//port</span> + <span class="n">stdcxx</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">TBufferedTransportFactory</span><span class="o">></span><span class="p">(),</span> + <span class="n">stdcxx</span><span class="o">::</span><span class="n">make_shared</span><span class="o"><</span><span class="n">TBinaryProtocolFactory</span><span class="o">></span><span class="p">());</span> <span class="cm">/*</span> <span class="cm"> // if you don't need per-connection state, do the following instead</span> <span class="cm"> TThreadedServer server(</span> -<span class="cm"> boost::make_shared<CalculatorProcessor>(boost::make_shared<CalculatorHandler>()),</span> -<span class="cm"> boost::make_shared<TServerSocket>(9090), //port</span> -<span class="cm"> boost::make_shared<TBufferedTransportFactory>(),</span> -<span class="cm"> boost::make_shared<TBinaryProtocolFactory>());</span> +<span class="cm"> stdcxx::make_shared<CalculatorProcessor>(stdcxx::make_shared<CalculatorHandler>()),</span> +<span class="cm"> stdcxx::make_shared<TServerSocket>(9090), //port</span> +<span class="cm"> stdcxx::make_shared<TBufferedTransportFactory>(),</span> +<span class="cm"> stdcxx::make_shared<TBinaryProtocolFactory>());</span> <span class="cm"> */</span> <span class="o">/**</span> <span class="o">*</span> <span class="n">Here</span> <span class="n">are</span> <span class="n">some</span> <span class="n">alternate</span> <span class="n">server</span> <span class="n">types</span><span class="p">...</span> + + <span class="c1">// This server only allows one connection at a time, but spawns no threads</span> </pre></div> <p class='snippet_footer'> @@ -349,9 +351,8 @@ h2:hover > .headerlink, h3:hover > .head } h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style> -<div class="codehilite"><pre> <span class="k">virtual</span> <span class="n">CalculatorIf</span><span class="o">*</span> <span class="n">getHandler</span><span class="p">(</span><span class="k">const</span> <span class="o">::</span><span class="n">apache</span><span class="o">::</span><span class="n">thrift</span><span class="o">::</span><span class="n">TConnectionInfo</span><span class="o">&</span> <span class="n">connInfo</span><span class="p">)</span> - <span class="p">{</span> - <span class="n">boost</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TSocket</span><span class="o">></span> <span class="n">sock</span> <span class="o">=</span> <span class="n">boost</span><span class="o">::</span><span class="n">dynamic_pointer_cast</span><span class="o"><</span><span class="n">TSocket</span><span class="o">></span><span class="p">(</span><span class="n">connInfo</span><span class="p">.</span><span class="n">transport</span><span class="p">);</span> +<div class="codehilite"><pre> <span class="p">{</span> + <span class="n">stdcxx</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o"><</span><span class="n">TSocket</span><span class="o">></span> <span class="n">sock</span> <span class="o">=</span> <span class="n">stdcxx</span><span class="o">::</span><span class="n">dynamic_pointer_cast</span><span class="o"><</span><span class="n">TSocket</span><span class="o">></span><span class="p">(</span><span class="n">connInfo</span><span class="p">.</span><span class="n">transport</span><span class="p">);</span> <span class="n">cout</span> <span class="o"><<</span> <span class="s">"Incoming connection</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span> <span class="n">cout</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\t</span><span class="s">SocketInfo: "</span> <span class="o"><<</span> <span class="n">sock</span><span class="o">-></span><span class="n">getSocketInfo</span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span> <span class="n">cout</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\t</span><span class="s">PeerHost: "</span> <span class="o"><<</span> <span class="n">sock</span><span class="o">-></span><span class="n">getPeerHost</span><span class="p">()</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span> @@ -362,6 +363,7 @@ h2:hover > .headerlink, h3:hover > .head <span class="k">virtual</span> <span class="kt">void</span> <span class="n">releaseHandler</span><span class="p">(</span> <span class="o">::</span><span class="n">shared</span><span class="o">::</span><span class="n">SharedServiceIf</span><span class="o">*</span> <span class="n">handler</span><span class="p">)</span> <span class="p">{</span> <span class="k">delete</span> <span class="n">handler</span><span class="p">;</span> <span class="p">}</span> +<span class="p">};</span> </pre></div> <p class='snippet_footer'> @@ -394,7 +396,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/tutorial/csharp.html ============================================================================== --- websites/staging/thrift/trunk/content/tutorial/csharp.html (original) +++ websites/staging/thrift/trunk/content/tutorial/csharp.html Thu Nov 30 23:12:57 2017 @@ -351,7 +351,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/tutorial/d.html ============================================================================== --- websites/staging/thrift/trunk/content/tutorial/d.html (original) +++ websites/staging/thrift/trunk/content/tutorial/d.html Thu Nov 30 23:12:57 2017 @@ -308,7 +308,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div> Modified: websites/staging/thrift/trunk/content/tutorial/dart.html ============================================================================== --- websites/staging/thrift/trunk/content/tutorial/dart.html (original) +++ websites/staging/thrift/trunk/content/tutorial/dart.html Thu Nov 30 23:12:57 2017 @@ -616,7 +616,7 @@ h2:hover > .headerlink, h3:hover > .head </div> <div class="span6"> <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a> - Copyright 2016 <a href="http://www.apache.org/">Apache Software Foundation</a>. + Copyright © 2017 <a href="http://www.apache.org/">Apache Software Foundation</a>. Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>. Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation. </div>