Dave Abrahams
9b67f0447d
Suppress a couple of msvc class/struct warnings
...
[SVN r35567]
2006-10-12 06:41:18 +00:00
Dave Abrahams
d78836b828
Fix lots of bugs in the numeric interface and tests.
...
Tests:
* Coerce a result to bool to deal with Python's new Bool type
* Better reporting of mismatches in expected and received results
* Remove bogus nullary y.astype() call
* Fix all uses of trace and diagonal so they don't cause errors
* Use appropriate typecodes
* Use doctest detailed API to run just the relevant tests
* Factor out error handling from macro
API:
* Added get_module_name() function to get current numeric module
* new_(x) now returns an array instead of object
* Fixed the signatures of the factory() family of functions
* Updated docs accordingly.
[SVN r35528]
2006-10-09 04:05:25 +00:00
Dave Abrahams
7a59131d37
Fix missing #include
...
[SVN r35524]
2006-10-08 05:17:20 +00:00
Dave Abrahams
94500ae36d
Tests and fixes for a bad interaction between wrapper<> and operators
...
support. "self" arguments weren't getting unwrapped properly.
[SVN r35365]
2006-09-28 14:41:01 +00:00
Ralf W. Grosse-Kunstleve
c6f2aa4ef2
new boost/python/ssize_t.hpp; avoids potential clash of Py_ssize_t typedef and PY_SSIZE_T_MIN/MAX macros with definitions from other libraries
...
[SVN r35325]
2006-09-26 00:25:07 +00:00
Dave Abrahams
c7fb2f7047
Attempt GCC-3.4.4 and 4.0.1 workarounds
...
[SVN r35276]
2006-09-22 15:12:04 +00:00
Dave Abrahams
e00a88ff49
Fix inspection issues
...
[SVN r35239]
2006-09-21 02:40:19 +00:00
Dave Abrahams
921e306b9a
Fix license/copyright
...
[SVN r35234]
2006-09-20 21:59:03 +00:00
Dave Abrahams
cee8e07046
Checkin missing op_repr definition
...
[SVN r35153]
2006-09-18 02:59:31 +00:00
Dave Abrahams
f5421ca6b2
Default to Python 2.4 in Unix builds
...
Applied contributed patches http://tinyurl.com/ndljr and
http://tinyurl.com/18r
[SVN r35138]
2006-09-16 18:43:53 +00:00
Gottfried Ganßauge
2610eb9acb
Type object for opaque initialized with PyType_Clear.
...
opaque is registered only if not another module has already registered
a conversion for that pointer type.
Doc update.
[SVN r35104]
2006-09-14 05:59:29 +00:00
Gennaro Prota
f332ff2d89
minor fix: violation of min/max guidelines
...
[SVN r34717]
2006-07-24 22:04:05 +00:00
Joel de Guzman
d3c474b295
terminology tweak
...
[SVN r34360]
2006-06-20 14:01:12 +00:00
Ralf W. Grosse-Kunstleve
cab94a7bba
adjustments for new MIPSpro 7.4.4
...
[SVN r34132]
2006-06-02 05:39:50 +00:00
Ralf W. Grosse-Kunstleve
caa9cb8268
Python 2.5 compatibility
...
[SVN r34017]
2006-05-18 22:41:14 +00:00
Ralf W. Grosse-Kunstleve
e7927ef4ea
HP-UX aCC support
...
[SVN r33399]
2006-03-20 00:00:39 +00:00
Dave Abrahams
22e82ae30f
void pointer conversion support, from Niall Douglas, then heavily
...
edited by DWA. Merged from python-voidptr
[SVN r32857]
2006-02-12 16:09:08 +00:00
Ralf W. Grosse-Kunstleve
82919f0d5c
another attempt to fix Code Warrior 9.4 link problem
...
[SVN r32404]
2006-01-24 17:55:56 +00:00
Ralf W. Grosse-Kunstleve
203a42c35f
avoid g++ -Wall -W "unused parameter" warnings
...
[SVN r32371]
2006-01-22 19:21:22 +00:00
Ralf W. Grosse-Kunstleve
8eba0eb25b
initialize all slots of PyTypeObject to avoid g++ -Wall -W warnings
...
[SVN r32370]
2006-01-22 19:21:08 +00:00
Dave Abrahams
152e76220a
GCC warning suppression from Jody Hagins
...
[SVN r32363]
2006-01-20 15:55:55 +00:00
Ralf W. Grosse-Kunstleve
d8790a34d3
boost::python::len() moved to object.hpp
...
[SVN r32299]
2006-01-12 21:33:19 +00:00
Ralf W. Grosse-Kunstleve
3b058185c6
new docstring_options to support customization of __doc__ attributes of Boost.Python functions
...
[SVN r32298]
2006-01-12 19:28:53 +00:00
Ralf W. Grosse-Kunstleve
2261e7eedc
new docstring_options to support customization of __doc__ attributes of Boost.Python functions
...
[SVN r32297]
2006-01-12 19:15:38 +00:00
Ralf W. Grosse-Kunstleve
19a196493f
Runtime detection of broken cxxabi::__cxa_demangle versions; based on code contributed by Ult Mundane
...
[SVN r32296]
2006-01-12 19:12:27 +00:00
Ralf W. Grosse-Kunstleve
1cacefc226
automatic addition of C++ signatures to doc strings
...
[SVN r32290]
2006-01-12 00:32:29 +00:00
Ralf W. Grosse-Kunstleve
efcd2833f1
Visual C++ 6 compatibility
...
[SVN r32288]
2006-01-11 19:58:55 +00:00
Ralf W. Grosse-Kunstleve
2f9323d9e9
resolve gcc warnings (based on patches by Scott Howlett)
...
[SVN r32284]
2006-01-11 03:31:48 +00:00
Dave Abrahams
ef3f9b15f0
vc-8 workaround
...
[SVN r31943]
2005-12-07 05:00:02 +00:00
Dave Abrahams
a23030b83e
use symbol visibility for GCC 4.x
...
[SVN r31828]
2005-11-29 22:26:48 +00:00
Dave Abrahams
321cf2502a
use symbol visibility for GCC 4.x
...
[SVN r31827]
2005-11-29 22:26:05 +00:00
Joel de Guzman
09e24cb17d
map bug fix when data type is a shared_ptr and NoProxy is true
...
[SVN r31787]
2005-11-26 16:23:21 +00:00
Joel de Guzman
a076239fc8
std::string and std::complex as no-proxy types.
...
[SVN r31717]
2005-11-21 04:54:23 +00:00
Dave Abrahams
479f068673
Attempt Bronek's change to suppress VC++8.0 complaints about redefined
...
_DEBUG.
[SVN r31557]
2005-11-04 21:38:29 +00:00
Eric Niebler
9b326f15fa
qualify friend declaration to make EDG happy
...
[SVN r31538]
2005-11-02 22:43:05 +00:00
Dave Abrahams
988bf849a1
Account for Intel 9.0 picking up vc7.1 bug compatibility.
...
[SVN r31515]
2005-10-31 19:24:48 +00:00
Eric Niebler
6ec4387ea1
add stl_input_iterator for wrapping a Python iterator in a STL input iterator
...
[SVN r31513]
2005-10-31 18:49:54 +00:00
Dave Abrahams
3864838da2
Fixed for vc6
...
[SVN r31398]
2005-10-19 22:02:51 +00:00
Dave Abrahams
12770b03e8
Add the ability to easily use new-style polymorphism wrappers with
...
smart pointer held_type.
[SVN r31392]
2005-10-19 18:17:13 +00:00
Dave Abrahams
3d8f4c90ba
Make it work when Python is compiled with Unicode disabled.
...
[SVN r31321]
2005-10-14 15:35:06 +00:00
Dave Abrahams
5597dcb321
Disable ADL from addressof uses :(
...
[SVN r31319]
2005-10-14 15:05:17 +00:00
Dave Abrahams
1cec514b39
Martin Wille pointed out some missing header dependencies; fixed.
...
Also moved boost/python/detail/is_xxx.hpp functionality into
boost/detail/is_xxx.hpp to decouple library dependencies between
python and parameter.
[SVN r31290]
2005-10-11 21:20:06 +00:00
Dave Abrahams
8ecd49cbf0
Use "addressof(x)" instead of "&x" to deal with classes that have a
...
private operator& !!
[SVN r31279]
2005-10-11 13:19:05 +00:00
John Maddock
aa20ce7d2c
Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
...
[SVN r30670]
2005-08-25 16:27:28 +00:00
Stefan Seefeld
126a3efb92
Add basic embedding support.
...
[SVN r30601]
2005-08-17 13:04:42 +00:00
Victor A. Wagner Jr.
9205f507b0
Added - #define _CRT_NOFORCE_MANIFEST if we also have to #undef _DEBUG
...
this isn't really an elegant solution, perhaps people trying to
debug python (BOOST_DEBUG_PYTHON defined) will really have to
use the debug version of the CRT with the latest .NET
There is also a collision if the user happens to have
#define _CRT_FORCE_MANIFEST which I didn't address
[SVN r30570]
2005-08-13 16:19:19 +00:00
Ralf W. Grosse-Kunstleve
bff975f08c
bug fix: friend class def_visitor_access; -> friend class python::def_visitor_access; This fix enables us to remove an EDG specific workaround.
...
[SVN r30471]
2005-08-04 20:15:35 +00:00
Dave Abrahams
332a45f333
untabify
...
[SVN r30239]
2005-07-25 20:57:30 +00:00
Joel de Guzman
980733a96d
fixed bug where a vector<T*> is being wrapped by the indexing suite.
...
[SVN r29930]
2005-07-07 14:00:31 +00:00
Ralf W. Grosse-Kunstleve
1fca114f6a
work around RedHat 7.3 gcc 2.96 code generation errors: use previously checked in VC6, VC7.0 workaround only for exactly these compilers
...
[SVN r29267]
2005-05-29 17:05:25 +00:00