Nikita Kniazev
0b0c0536d6
The right hypot fix for MinGW
2019-03-26 15:56:03 -04:00
Owens
0d0cd711a7
Enable forward declaration of unwind_type() in msvc14.15 and later.
...
Name lookup in msvc has changed between 14.14 and 14.15 making it consistent with other compilers. Forward declaration of unwind_type() is now required as it is for other compilers.
Resolves compilation errors identified in:
https://github.com/boostorg/python/issues/228
2019-03-25 11:00:48 -04:00
Nikita Kniazev
1f1b9b6aef
Fix hypot issue on MinGW
2019-03-23 20:37:35 -04:00
Nikita Kniazev
6bd6d71850
Fix -Wregister error on Clang in C++17 mode
...
Suppresses the warning on GCC, Clang, and MSVC.
2019-03-21 16:40:41 -04:00
Tom Kent
4b01139720
Ssize t warning - trac #3353 ( #21 )
...
Fixes msvc unsafe type conversion warning - trac num: 3353
2019-03-03 22:02:57 -05:00
SPKorhonen
65bfec2d97
Fix static object initialization under Visual Studio 2017 ( #208 )
...
Fix static object initialization under VS 15.7.2
2019-03-03 21:59:48 -05:00
Stefan Seefeld
b4230e98f6
Fix auto-linking logic for boost_numpy (Windows only).
2018-06-04 09:34:00 -04:00
Stefan Seefeld
24313709a7
Fix auto-linking logic (Windows only).
2018-04-12 23:39:22 -04:00
Stefan Seefeld
f3df1bf912
Remove redundant pragma once directives.
2018-04-07 17:05:18 -04:00
Stefan Seefeld
d4d41d94ae
Add Python version to library suffix.
2018-02-13 17:22:34 -05:00
Stefan Seefeld
b9d0d97499
Fix MSVC compilation failure.
2017-11-16 10:26:30 -05:00
Stefan Seefeld
9ad3313d1f
Fix deprecated elementwise comparison warning / error.
2017-11-07 19:43:16 -05:00
Stefan Seefeld
bf9a03399b
Revert "Avoid multiple template instances of boost::python::details::get_signature when multiple calling conventions are enabled"
...
This reverts commit b49a186b6f
.
2017-10-30 08:04:01 -04:00
Stefan Seefeld
2d9871fc5a
Fix unresolved symbol error with MSVC.
2017-10-27 13:58:56 -04:00
Gary Furnish
30c9eb1fb6
Fix c++11 detection.
2017-10-25 08:07:17 -04:00
Gary Furnish
7c5e478432
Fix autoptr/unique_ptr ifdef for VS2017.
2017-10-25 08:07:17 -04:00
Raffi Enficiaud
8d37630cc8
Fix warning: returning the proper type for object sizes
2017-10-25 08:03:18 -04:00
Marvin Schmidt
9d2903cd5e
Fix symbol visibility of init method
...
This was properly an oversight when switching to the BOOST_SYMBOL_*
symbols from Boost.Config in commit 0224f54a
(see #1 )
Since Boost.Config is already doing the differentiation between
different platforms and compilers we can simplify this bit and just
use BOOST_SYMBOL_EXPORT
2017-10-24 20:18:59 -04:00
Mark Borgerding
ecf05c4a90
ndarray.shape(k),strides(k) act more like their python counterparts (negative indexing, bounds checking) (issue #157 )
2017-09-25 09:08:14 -04:00
Edward Diener
00b7ed03a7
Remove executable attribute for files.
2017-09-18 08:21:30 -04:00
Stefan Seefeld
b3b67273b0
Fix traits qualification.
2017-08-13 20:44:52 -04:00
Stefan Seefeld
2d1f66fd19
Remove module as obsoleted by Boost.NumPy.
2017-07-20 11:39:58 -04:00
shreyans800755
142661dac8
Use std type_traits instead of boost type_traits
...
Fixes https://github.com/boostorg/python/issues/106
2017-06-25 14:17:41 -04:00
John Kirkham
d6554d6c65
Handle BOOST_LIB_NAME
for NumPy on Python 2/3
...
This was reusing the Python 2 name on Python 3, which is incorrect since
the Python 3 library for Boost.NumPy has a `3` in it. Hence this checks
against the Python version and defines this correctly.
2017-06-12 09:32:31 -04:00
John Kirkham
90829714cc
Fix BOOST_LIB_NAME
for Python 3
...
This was reusing the Python 2 name on Python 3, which is incorrect since
the Python 3 library for Boost.Python now has a `3` in it. Hence this
checks against the Python version and defines this correctly.
2017-06-12 09:32:31 -04:00
Stefan Seefeld
c4fe369d69
Require NumPy 1.7 API.
2017-06-02 19:31:54 -04:00
Raphael Isemann
1452dfe713
Reencoded a few headers that used Windows-1252 with UTF-8.
...
Nearly every header in the boost codebase is UTF-8, but here there
are a few headers which are using Windows-1252, which makes it impossible
for some tools to parse those files. This patch just reencodes them
with UTF-8 like the rest of the codebase. I checked that the name of the
author is still correct after this change.
No functional change intended.
2017-06-02 17:44:46 -04:00
John Zwinck
b2f53e1acf
exec/eval(): add overloads for char const*
...
Many times the caller may have a string created in C++,
so there is no need to wrap it in a Python object when
the only thing done with the object is extract<char*>.
2017-05-04 19:29:56 -04:00
Stefan Seefeld
3844c4fc5f
Fix more missing symbols.
2017-04-14 13:14:05 -04:00
Stefan Seefeld
edd890bd2b
More dllexport fixes
2017-03-24 15:39:13 -04:00
Stefan Seefeld
352792c90a
Add more export symbols.
2017-03-16 20:14:39 -04:00
SPKorhonen
bd7b8ecba5
Fix for missing export symbols, issue #98 ( #110 )
...
Fix for missing export symbols in shared library of boost::python::numpy
2017-02-15 11:53:28 -05:00
Jürgen Hunold
0224f54ae0
Switch^Cisibility support to BOOST_SYMBOL_EXPORT. Refs #2114
2017-02-13 10:43:23 -05:00
Stefan Seefeld
3ace4a0015
Adjust NumPy code to work with new directory / namespace structure.
2016-10-08 13:34:17 -04:00
Stefan Seefeld
cbb3851488
Merge NumPy extension from https://github.com/ndarray/Boost.NumPy/ .
2016-10-07 20:03:12 -04:00
Wei-Ming Yang
061050c006
Fix a mistake in str::count()
2016-09-29 08:09:30 -04:00
WKarel
bc2f77a3db
Assert refcount before decrement ( #64 )
...
Assert reference count before decrementing it.
2016-09-29 07:48:46 -04:00
Stefan Seefeld
97e4b34a15
Add support for std::shared_ptr.
2016-09-27 13:53:37 -04:00
Stefan Seefeld
5029273ca8
Use std::unique_ptr instead of std::auto_ptr
2016-09-22 20:30:33 -04:00
Stefan Seefeld
63e3079a16
Merge pull request #43 from Flast/patch-1
...
Fix a compile error with obsoleted details.
2016-09-01 00:13:48 -04:00
Giuseppe Corbelli
b49a186b6f
Avoid multiple template instances of boost::python::details::get_signature when multiple calling conventions are enabled
2016-07-21 10:28:43 +02:00
Stefan Seefeld
2e8cd3d8f2
Suppress more unused typedef warnings.
2016-06-24 17:22:17 -04:00
Thomas Trummer
f399391be2
Fix unused local typedef warnings for GCC
2016-05-01 12:10:04 +02:00
Stefan Seefeld
5233f45da4
Merge pull request #49 from fatso83/develop
...
Add cygwin64 support to wrap_python.hpp
2016-03-06 15:13:06 -05:00
vslashg
f2c465ffa5
Fix auto-pointer registration in Boost Python 1.60.
...
The conditional instantiation magic of maybe_register_pointer_to_python() assumes that use_value_holder and use_back_reference will be one of the boost::mpl::bool_ types, but this assumption is no longer true in Boost 1.60, where they can be standard library bool wrappers instead.
Explicitly defining these types as mpl::bool_ classes fixes https://github.com/boostorg/python/issues/56 .
2016-02-29 13:33:35 -05:00
Chris Nixon
77bdbf0432
Add cygwin64 support to wrap_python.hpp
...
This patch adds 64 bit support.
2015-12-09 22:54:28 +01:00
Stefan Seefeld
359b7f0473
Merge pull request #37 from nevion/trace_registry
...
fix a static initialization fiasco with ios_base
2015-10-16 23:59:18 -04:00
Stefan Seefeld
52b268a8c6
Merge pull request #25 from eldiener/develop
...
Remove unused deprecated header file
2015-10-16 23:55:49 -04:00
Kohei Takahashi
e3aacc64fe
Fix a compile error with obsoleted details.
...
Because boost/detail/iterator.hpp is now obsoleted, see boostorg/iterator@b2b9ab1568 .
2015-10-10 13:19:14 +09:00
Jonathan Wakely
f410fbd64d
Python: Fix condition for make_setter overload.
...
This fixes the regression caused by 42e7d7b
.
Fixes #39
2015-09-02 13:02:12 +01:00