Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/python/release_notes.txt @ 13

Last change on this file since 13 was 12, checked in by landauf, 17 years ago

added boost

File size: 7.1 KB
Line 
12000-11-22 10:00
2    Ullrich fixed bug in operator_dispatcher<op_long>.
3   
42000-11-21 10:00
5    Changed all class and function names into lower_case.
6   
7    Ullrich updated documentation for operator wrapping.
8   
92000-11-20 10:00
10    Ullrich renamed ExtensionClass:register_coerce() into
11    ExtensionClass:def_standard_coerce() and made it public
12   
13    Ullrich improved shared_pod_manager.
14   
152000-11-17 15:04
16    Changed allocation strategy of shared_pod_manager to make it portable.
17   
18    Added pickling support + tests thanks to "Ralf W. Grosse-Kunstleve"
19    <rwgk@cci.lbl.gov>
20
21    Added a specialization of Callback<const char*> to prevent unsafe usage.
22
23    Fixed Ullrich's operator_dispatcher refcount bug
24
25    Removed const char* return values from virtual functions in tests; that
26    usage was unsafe.
27
28    Ullrich changed Module::add() so that it steals a reference (fix of refcount bug)
29   
30    Ullrich added operator_dispatcher::create() optimization
31   
32    Ullrich changed design and implementation of TypeObjectBase::enable() (to eliminate low-level
33    code) and added shared_pod_manager optimization.
34
35
362000-11-15 12:01
37    Fixed refcount bugs in operator calls.
38   
39    Added callback_adjust_refcount(PyObject*, Type<T>) to account for different ownership
40    semantics of Callback's return types and Caller's arguments (which both use from_python())
41    This bug caused refcount errors during operator calls.
42
43    Moved operator_dispatcher into extclass.cpp
44    Gave it shared ownership of the objects it wraps
45
46    Introduced sequence points in extension_class_coerce for exception-safety
47
48    UPPER_CASE_MACRO_NAMES
49
50    MixedCase template type argument names
51
52    Changed internal error reporting to use Python exceptions so we don't force the
53    user to link in iostreams code
54
55    Changed error return value of call_cmp to -1
56
57    Moved unwrap_* functions out of operator_dispatcher. This was transitional: when
58    I realized they didn't need to be declared in extclass.h I moved them out, but
59    now that operator_dispatcher itself is in extclass.cpp they could go back in.
60
61    Numerous formatting tweaks
62
63    Updated the BoundFunction::create() optimization and enabled it so it could actually be used!
64
652000-11-15 00:26
66
67    Made Ullrich's operators support work with MSVC
68   
69    Cleaned up operators.h such that invalid define_operator<0> is no longer needed.
70   
71    Ullrich created operators.h to support wrapping of C++ operators (including the "__r*__" forms).
72    He added several auxiliary classes to extclass.h and extclass.cpp (most importantly,
73    py::detail::operator_dispatcher and py::operators)
74
752000-11-13 22:29
76
77    removed obsolete ExtensionClassFromPython for good.
78
79    removed unused class ExtensionType forward declaration
80
812000-11-12 13:08
82
83    Added enum_as_int_converters for easier enum wrapping
84
85    Introduced new conversion namespace macros:
86        PY_BEGIN_CONVERSION_NAMESPACE,
87        PY_END_CONVERSION_NAMESPACE,
88        PY_CONVERSION
89
90    callback.h, gen_callback.py:
91        Added call() function so that a regular python function (as opposed to
92         method or other function-as-attribute) can be called.
93
94         Added newlines for readability.
95
96    class_wrapper.h:
97        Fixed a bug in add(), which allows non-method class attributes
98
99    Ullrich has added def_raw for simple varargs and keyword support.
100
101    Fixed version number check for __MWERKS__
102   
103    Added tests for enums and non-method class attributes
104
105    objects.h/objects.cpp:
106        Added py::String operator*= and operator* for repetition
107
108        Change Dict::items(), keys(), and values() to return a List
109
110        Added template versions of set_item, etc., methods so that users can optionally
111        use C++ types that have to_python() functions as parameters.
112
113        Changed various Ptr by-value parameters to const Ptr&
114
115
116======= Release =======
1172000-11-06 0:22
118    Lots of documentation updates
119
120    added 4-argument template constructor to py::Tuple
121
122    added "add" member function to ClassWrapper<> to allow arbitrary Python
123    objects to be added to an extension class.
124
125    gen_all.py now generates support for n argument member functions and n+1
126    argument member functions at the suggestion of "Ralf W. Grosse-Kunstleve"
127    <rwgk@cci.lbl.gov>
128
129    Added regression tests and re-ordered declare_base calls to verify that the
130    phantom base class issue is resolved.
131
1322000-11-04 17:35
133
134    Integrated Ullrich Koethe's brilliant from_python_experiment for better
135    error-reporting in many cases.
136
137    extclass.h, gen_extclass.py:
138        removed special-case MSVC code
139        added much commentary
140        removed unused py_copy_to_new_value_holder
141
142    init_function.h, gen_init_function.py:
143        added missing 'template' keyword on type-dependent template member usage
144        removed special-case MSVC code
145        added much commentary
146       
1472000-11-04 0:36
148
149    Removed the need for the phantom base class that screwed up inheritance
150    hierarchies, introduced error-prone ordering dependencies, and complexified
151    logic in many places!
152   
153    extclass.h: Added some explanatory comments, removed wasteful m_self member
154    of HeldInstance
155
156    extclass_demo.cpp: Added #pragmas which allow compilation in ansi strict
157    mode under Metrowerks
158
159    functions.h: Added virtual_function as part of phantom base class removal;
160    expanded commentary
161
162    pyptr.h: Added some missing 'typename's and a GCC workaround fix
163
164    subclass.cpp: Added missing string literal const_cast<>s.
165
1662000-11-03 10:58
167
168    Fix friend function instantiation bug caught by Metrowerks (thanks
169    Metrowerks!)
170
171    Add proof-of-concept for one technique of wrapping function that return a
172    pointer
173
174    Worked around MSVC optimizer bug by writing to_python(double) and
175    to_python(float) out-of-line
176
1772000-11-02 23:25
178
179    Add /Zm200 option to vc6_prj to deal with MSVC resource limitations
180   
181    Remove conflicting /Ot option from vc6_prj release build
182
183======= Release =======
1842000-11-02 17:42
185
186    Added a fix for interactions between default virtual function
187    implementations and declare_base(). You still need to write your
188    declare_base() /after/ all member functions have been def()d for the two
189    classes concerned.  Many, many thanks to Ullrich Koethe
190    <koethe@informatik.uni-hamburg.de> for all his work on this.
191
192    Added missing conversions:
193        to_python(float)
194        from_python(const char* const&)
195        from_python(const double&)
196        from_python(const float&)
197
198    Added a Regression test for a reference-counting bug thanks to Mark Evans
199    (<mark.evans@clarisay.com>)
200
201    const-ify ClassBase::getattr()
202
203    Add repr() function to Class<T>
204
205    Add to_python/from_python conversions for PyPtr<T>
206
207    Standardize set_item/get_item interfaces (instead of proxies) for Dict and List
208
209    Add Reprable<> template to newtypes.h
210
211    Fix a bug wherein the __module__ attribute would be lost for classes that have a
212    default virtual function implementation.
213
214    Remove extra ';' in module.cpp thanks to "Ralf W. Grosse-Kunstleve"
215    <rwgk@cci.lbl.gov>
216
217    Fix a bug in the code of example1.html
Note: See TracBrowser for help on using the repository browser.