[29] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | |
---|
| 3 | <!-- Copyright David Abrahams 2006. Distributed under the Boost --> |
---|
| 4 | <!-- Software License, Version 1.0. (See accompanying --> |
---|
| 5 | <!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) --> |
---|
| 6 | <html> |
---|
| 7 | <head> |
---|
| 8 | <meta name="generator" content= |
---|
| 9 | "HTML Tidy for Cygwin (vers 1st September 2004), see www.w3.org"> |
---|
| 10 | <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> |
---|
| 11 | <link rel="stylesheet" type="text/css" href="boost.css"> |
---|
| 12 | |
---|
| 13 | <title>Boost.Python - News/Change Log</title> |
---|
| 14 | </head> |
---|
| 15 | |
---|
| 16 | <body link="#0000FF" vlink="#800080"> |
---|
| 17 | <table border="0" cellpadding="7" cellspacing="0" width="100%" summary= |
---|
| 18 | "header"> |
---|
| 19 | <tr> |
---|
| 20 | <td valign="top" width="300"> |
---|
| 21 | <h3><a href="../../../index.htm"><img height="86" width="277" alt= |
---|
| 22 | "C++ Boost" src="../../../boost.png" border="0"></a></h3> |
---|
| 23 | </td> |
---|
| 24 | |
---|
| 25 | <td valign="top"> |
---|
| 26 | <h1 align="center"><a href="index.html">Boost.Python</a></h1> |
---|
| 27 | |
---|
| 28 | <h2 align="center">News/Change Log</h2> |
---|
| 29 | </td> |
---|
| 30 | </tr> |
---|
| 31 | </table> |
---|
| 32 | <hr> |
---|
| 33 | |
---|
| 34 | <dl class="page-index"> |
---|
| 35 | <dt>Current CVS</dt> |
---|
| 36 | |
---|
| 37 | <dd> |
---|
| 38 | <ul> |
---|
| 39 | <li>C++ signatures are now automatically appended to the |
---|
| 40 | docstrings. |
---|
| 41 | |
---|
| 42 | <li>New <a href="v2/docstring_options.html" |
---|
| 43 | ><code>docstring_options.hpp</code></a> header to |
---|
| 44 | control the content of docstrings. |
---|
| 45 | |
---|
| 46 | <li>Support for converting <code>void*</code> to/from python, |
---|
| 47 | with <code><a |
---|
| 48 | href="v2/opaque.html">opaque_pointer_converter</a></code> |
---|
| 49 | as the return value policy. Thanks to Niall Douglas for the |
---|
| 50 | initial patch. |
---|
| 51 | </ul> |
---|
| 52 | </dd> |
---|
| 53 | |
---|
| 54 | <dt>19 October 2005 - 1.33.1 release</dt> |
---|
| 55 | |
---|
| 56 | <dd> |
---|
| 57 | <ul> |
---|
| 58 | <li><code>wrapper<T></code> can now be used as expected with a |
---|
| 59 | held type of <i>some-smart-pointer</i><code><T></code></li> |
---|
| 60 | |
---|
| 61 | <li>The build now assumes Python 2.4 by default, rather than 2.2</li> |
---|
| 62 | |
---|
| 63 | <li>Support Python that's built without Unicode support</li> |
---|
| 64 | |
---|
| 65 | <li>Support for wrapping classes with overloaded address-of |
---|
| 66 | (<code>&</code>) operators</li> |
---|
| 67 | </ul> |
---|
| 68 | </dd> |
---|
| 69 | |
---|
| 70 | <dt>14 August 2005 - 1.33 release</dt> |
---|
| 71 | |
---|
| 72 | <dd> |
---|
| 73 | <ul> |
---|
| 74 | <li>Support for docstrings on nonstatic properties.</li> |
---|
| 75 | |
---|
| 76 | <li>We now export the client-provided docstrings for |
---|
| 77 | <code>init<optional<> ></code> and |
---|
| 78 | <i>XXX</i><code>_FUNCTION_OVERLOADS()</code> for only the last |
---|
| 79 | overload.</li> |
---|
| 80 | |
---|
| 81 | <li>Fixed some support for Embedded VC++ 4</li> |
---|
| 82 | |
---|
| 83 | <li>Better support for rvalue from-python conversions of shared_ptr: |
---|
| 84 | always return a pointer that holds the owning python object *unless* |
---|
| 85 | the python object contains a NULL shared_ptr holder of the right |
---|
| 86 | type.</li> |
---|
| 87 | |
---|
| 88 | <li>Support for exposing <code>vector<T*></code> with the |
---|
| 89 | indexing suite.</li> |
---|
| 90 | |
---|
| 91 | <li>Support for GCC-3.3 on MacOS.</li> |
---|
| 92 | |
---|
| 93 | <li>updated visual studio project build file to include two new files |
---|
| 94 | (slice.cpp and wrapper.cpp)</li> |
---|
| 95 | |
---|
| 96 | <li>Added search feature to the index page.</li> |
---|
| 97 | |
---|
| 98 | <li>Numerous fixes to the tutorial</li> |
---|
| 99 | |
---|
| 100 | <li>Numerous workarounds for MSVC 6 and 7, GCC 2.96, and EDG |
---|
| 101 | 2.45</li> |
---|
| 102 | </ul> |
---|
| 103 | </dd> |
---|
| 104 | |
---|
| 105 | <dt>11 March 2005</dt> |
---|
| 106 | |
---|
| 107 | <dd> |
---|
| 108 | <ul> |
---|
| 109 | <li>Added a hack that will fool PyDoc into working with Boost.Python, |
---|
| 110 | thanks to Nick Rasmussen</li> |
---|
| 111 | </ul> |
---|
| 112 | </dd> |
---|
| 113 | |
---|
| 114 | <dt>19 November 2004 - 1.32 release</dt> |
---|
| 115 | |
---|
| 116 | <dd> |
---|
| 117 | <ul> |
---|
| 118 | <li>Updated to use the Boost Software License.</li> |
---|
| 119 | |
---|
| 120 | <li>A new, <a href= |
---|
| 121 | "tutorial/doc/html/python/exposing.html#python.class_virtual_functions"> |
---|
| 122 | better method of wrapping classes with virtual functions</a> has been |
---|
| 123 | implemented.</li> |
---|
| 124 | |
---|
| 125 | <li>Support for upcoming GCC symbol export control features have been |
---|
| 126 | folded in, thanks to Niall Douglas.</li> |
---|
| 127 | |
---|
| 128 | <li>Improved support for <code>std::auto_ptr</code>-like types.</li> |
---|
| 129 | |
---|
| 130 | <li>The Visual C++ bug that makes top-level <i>cv-qualification</i> |
---|
| 131 | of function parameter types part of the function type has been worked |
---|
| 132 | around.</li> |
---|
| 133 | |
---|
| 134 | <li>Components used by other libraries have been moved out of |
---|
| 135 | <code>python/detail</code> and into <code>boost/detail</code> to |
---|
| 136 | improve dependency relationships.</li> |
---|
| 137 | |
---|
| 138 | <li>Miscellaneous bug fixes and compiler workarounds.</li> |
---|
| 139 | </ul> |
---|
| 140 | </dd> |
---|
| 141 | |
---|
| 142 | <dt>8 Sept 2004</dt> |
---|
| 143 | |
---|
| 144 | <dd>Support for Python's Bool type, thanks to <a href= |
---|
| 145 | "mailto:dholth-at-fastmail.fm">Daniel Holth</a>.</dd> |
---|
| 146 | |
---|
| 147 | <dt>11 Sept 2003</dt> |
---|
| 148 | |
---|
| 149 | <dd> |
---|
| 150 | <ul> |
---|
| 151 | <li>Changed the response to multiple to-python converters being |
---|
| 152 | registered for the same type from a hard error into warning; |
---|
| 153 | Boost.Python now reports the offending type in the message.</li> |
---|
| 154 | |
---|
| 155 | <li>Added builtin <code>std::wstring</code> conversions</li> |
---|
| 156 | |
---|
| 157 | <li>Added <code>std::out_of_range</code> => Python |
---|
| 158 | <code>IndexError</code> exception conversion, thanks to <a href= |
---|
| 159 | "mailto:RaoulGough-at-yahoo.co.uk">Raoul Gough</a></li> |
---|
| 160 | </ul> |
---|
| 161 | </dd> |
---|
| 162 | |
---|
| 163 | <dt>9 Sept 2003</dt> |
---|
| 164 | |
---|
| 165 | <dd>Added new <code><a href="v2/str.html#str-spec">str</a></code></dd> |
---|
| 166 | |
---|
| 167 | <dt>constructors which take a range of characters, allowing strings |
---|
| 168 | containing nul (<code>'\0'</code>) characters.</dt> |
---|
| 169 | |
---|
| 170 | <dt>8 Sept 2003</dt> |
---|
| 171 | |
---|
| 172 | <dd>Added the ability to create methods from function objects (with an |
---|
| 173 | <code>operator()</code>); see the <a href= |
---|
| 174 | "v2/make_function.html#make_function-spec">make_function</a> docs for |
---|
| 175 | more info.</dd> |
---|
| 176 | |
---|
| 177 | <dt>10 August 2003</dt> |
---|
| 178 | |
---|
| 179 | <dd>Added the new <code>properties</code> unit tests contributed by |
---|
| 180 | <a href="mailto:romany-at-actimize.com">Roman Yakovenko</a> and |
---|
| 181 | documented <code>add_static_property</code> at his urging.</dd> |
---|
| 182 | |
---|
| 183 | <dt>1 August 2003</dt> |
---|
| 184 | |
---|
| 185 | <dd> |
---|
| 186 | Added the new <code>arg</code> class contributed by <a href= |
---|
| 187 | "mailto:nickm-at-sitius.com">Nikolay Mladenov</a> which supplies the |
---|
| 188 | ability to wrap functions that can be called with ommitted arguments in |
---|
| 189 | the middle: |
---|
| 190 | <pre> |
---|
| 191 | void f(int x = 0, double y = 3.14, std::string z = std::string("foo")); |
---|
| 192 | |
---|
| 193 | BOOST_PYTHON_MODULE(test) |
---|
| 194 | { |
---|
| 195 | def("f", f |
---|
| 196 | , (arg("x", 0), arg("y", 3.14), arg("z", "foo"))); |
---|
| 197 | } |
---|
| 198 | |
---|
| 199 | </pre>And in Python: |
---|
| 200 | <pre> |
---|
| 201 | >>> import test |
---|
| 202 | >>> f(0, z = "bar") |
---|
| 203 | >>> f(z = "bar", y = 0.0) |
---|
| 204 | </pre>Thanks, Nikolay! |
---|
| 205 | </dd> |
---|
| 206 | |
---|
| 207 | <dt>22 July 2003</dt> |
---|
| 208 | |
---|
| 209 | <dd>Killed the dreaded "bad argument type for builtin operation" error. |
---|
| 210 | Argument errors now show the actual and expected argument types!</dd> |
---|
| 211 | |
---|
| 212 | <dt>19 July 2003</dt> |
---|
| 213 | |
---|
| 214 | <dd>Added the new <code><a href= |
---|
| 215 | "v2/return_arg.html">return_arg</a></code> policy from <a href= |
---|
| 216 | "mailto:nickm-at-sitius.com">Nikolay Mladenov</a>. Thanks, Nikolay!</dd> |
---|
| 217 | |
---|
| 218 | <dt>18 March, 2003</dt> |
---|
| 219 | |
---|
| 220 | <dd><a href="mailto:Gottfried.Ganssauge-at-haufe.de">Gottfried |
---|
| 221 | Ganßauge</a> has contributed <a href= |
---|
| 222 | "v2/opaque.html">opaque pointer support</a>.<br> |
---|
| 223 | <a href="mailto:nicodemus-at-globalite.com.br">Bruno da Silva de |
---|
| 224 | Oliveira</a> has contributed the exciting <a href= |
---|
| 225 | "../pyste/index.html">Pyste</a> ("Pie-steh") package.</dd> |
---|
| 226 | |
---|
| 227 | <dt>24 February 2003</dt> |
---|
| 228 | |
---|
| 229 | <dd>Finished improved support for <code>boost::shared_ptr</code>. Now any |
---|
| 230 | wrapped object of C++ class <code>X</code> can be converted automatically |
---|
| 231 | to <code>shared_ptr<X></code>, regardless of how it was wrapped. |
---|
| 232 | The <code>shared_ptr</code> will manage the lifetime of the Python object |
---|
| 233 | which supplied the <code>X</code>, rather than just the <code>X</code> |
---|
| 234 | object itself, and when such a <code>shared_ptr</code> is converted back |
---|
| 235 | to Python, the original Python object will be returned.</dd> |
---|
| 236 | |
---|
| 237 | <dt>19 January 2003</dt> |
---|
| 238 | |
---|
| 239 | <dd>Integrated <code>staticmethod</code> support from <a href= |
---|
| 240 | "mailto:nickm-at-sitius.com">Nikolay Mladenov</a>. Thanks, Nikolay!</dd> |
---|
| 241 | |
---|
| 242 | <dt>29 December 2002</dt> |
---|
| 243 | |
---|
| 244 | <dd>Added Visual Studio project file and instructions from Brett Calcott. |
---|
| 245 | Thanks, Brett!</dd> |
---|
| 246 | |
---|
| 247 | <dt>20 December 2002</dt> |
---|
| 248 | |
---|
| 249 | <dd>Added automatic downcasting for pointers, references, and smart |
---|
| 250 | pointers to polymorphic class types upon conversion to python</dd> |
---|
| 251 | |
---|
| 252 | <dt>18 December 2002</dt> |
---|
| 253 | |
---|
| 254 | <dd>Optimized from_python conversions for wrapped classes by putting the |
---|
| 255 | conversion logic in the shared library instead of registering separate |
---|
| 256 | converters for each class in each extension module</dd> |
---|
| 257 | |
---|
| 258 | <dt>19 November 2002</dt> |
---|
| 259 | |
---|
| 260 | <dd>Removed the need for users to cast base class member function |
---|
| 261 | pointers when used as arguments to <a href= |
---|
| 262 | "v2/class.html#class_-spec-modifiers">add_property</a></dd> |
---|
| 263 | |
---|
| 264 | <dt>13 December 2002</dt> |
---|
| 265 | |
---|
| 266 | <dd>Allow exporting of <a href= |
---|
| 267 | "v2/enum.html#enum_-spec"><code>enum_</code></a> values into enclosing |
---|
| 268 | <a href="v2/scope.html#scope-spec"><code>scope</code></a>.<br> |
---|
| 269 | Fixed unsigned integer conversions to deal correctly with numbers that |
---|
| 270 | are out-of-range of <code>signed long</code>.</dd> |
---|
| 271 | |
---|
| 272 | <dt>14 November 2002</dt> |
---|
| 273 | |
---|
| 274 | <dd>Auto-detection of class data members wrapped with <a href= |
---|
| 275 | "v2/data_members.html#make_getter-spec"><code>make_getter</code></a></dd> |
---|
| 276 | |
---|
| 277 | <dt>13 November 2002</dt> |
---|
| 278 | |
---|
| 279 | <dd>Full Support for <code>std::auto_ptr<></code> added.</dd> |
---|
| 280 | |
---|
| 281 | <dt>October 2002</dt> |
---|
| 282 | |
---|
| 283 | <dd>Ongoing updates and improvements to tutorial documentation</dd> |
---|
| 284 | |
---|
| 285 | <dt>10 October 2002</dt> |
---|
| 286 | |
---|
| 287 | <dd>Boost.Python V2 is released!</dd> |
---|
| 288 | </dl> |
---|
| 289 | <hr> |
---|
| 290 | |
---|
| 291 | <p>Revised |
---|
| 292 | <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan --> |
---|
| 293 | 19 November 2004 |
---|
| 294 | <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p> |
---|
| 295 | |
---|
| 296 | <p><i>© Copyright <a href="../../../people/dave_abrahams.htm">Dave |
---|
| 297 | Abrahams</a> 2002-2003.</i></p> |
---|
| 298 | </body> |
---|
| 299 | </html> |
---|