Commit Graph

1277 Commits

Author SHA1 Message Date
Wenzel Jakob
4b279327a3 stl.h bugfix for std::set, misc. cleanups 2015-12-18 18:41:36 +01:00
Wenzel Jakob
dbfaf370a5 Merge pull request #41 from jaredcasper/master
Fix typo in STL docs.
2015-12-16 12:22:20 +01:00
Wenzel Jakob
d1a24823bc considerable simplifications to the Python type casters 2015-12-16 12:17:46 +01:00
Wenzel Jakob
9b0b40e0b0 add converter for nullptr_t 2015-12-16 11:41:53 +01:00
Jared Casper
6be9e2fff5 Fix typo in STL docs. 2015-12-15 15:56:14 -08:00
Wenzel Jakob
5ef1219030 smart pointer clarifications 2015-12-15 17:07:35 +01:00
Wenzel Jakob
8b5bf00f26 added enhancements clause to license 2015-12-15 16:35:20 +01:00
Wenzel Jakob
6621c17f10 Merge pull request #38 from adler-j/issue-37__convert_exception
ENH: add more error conversions
2015-12-15 12:25:12 +01:00
Jonas Adler
2b9fdbe7c9 ENH: add more error conversions 2015-12-15 11:56:12 +01:00
Wenzel Jakob
3e4263447b Merge pull request #32 from polygon/fix_complex_arrays
Fixed py:array constructor from failing for complex types
2015-12-15 11:33:52 +01:00
Wenzel Jakob
e52cf8ae91 also add stl.h header 2015-12-15 11:32:29 +01:00
Wenzel Jakob
93d9af1019 Merge pull request #31 from polygon/fix_complex
Add complex.h to list of installed headers
2015-12-15 11:31:20 +01:00
Wenzel Jakob
f933e68d6a fixed license (was zlib, should have been 3-clause BSD) 2015-12-15 11:17:13 +01:00
Jan Dohl
ab92eb3765 Fixed py:array constructor from failing for complex types
The array(const buffer_info &info) constructor fails when given
complex types since their format string is 'Zd' or 'Zf' which has
a length of two and causes an error here:

if (info.format.size() != 1)
    throw std::runtime_error("Unsupported buffer format!");

Fixed by allowing format sizes of one and two.
2015-12-15 04:16:49 +01:00
Jan Dohl
3e2736b63c Add complex.h to list of installed headers 2015-12-15 03:24:40 +01:00
Wenzel Jakob
61d67f0462 a few more documentation improvements 2015-12-14 12:53:06 +01:00
Wenzel Jakob
44db04f580 clarification regarding STL container support 2015-12-14 12:40:45 +01:00
Wenzel Jakob
a4caa85fc6 added missing namespace declaration 2015-12-14 12:39:02 +01:00
Wenzel Jakob
e98a5dfa7e Merge pull request #29 from mkkim1129/master
Fix typographical errors
2015-12-14 11:35:40 +01:00
mk kim
b62c1203f5 Fix typographical error 2015-12-14 16:00:58 +09:00
Wenzel Jakob
62127a27b0 don't allow 'void' or 'void*' as a function argument 2015-12-13 13:09:42 +01:00
Wenzel Jakob
5f15121b0c Merge pull request #24 from jtravs/patch-1
Add ldflags to compile command
2015-12-13 11:33:49 +01:00
Wenzel Jakob
7ab3e879a3 Merge pull request #26 from whoshuu/feature/debug-appveyor-configuration
Add debug appveyor configuration
2015-12-13 11:33:22 +01:00
Wenzel Jakob
76269b70b6 fix test harness for windows debug builds 2015-12-13 11:33:41 +01:00
Huu Nguyen
665eeafd44 Add debug appveyor configuration 2015-12-12 23:03:30 -05:00
John Travers
f7e430292a Add ldflags to compile command
On my system (Mac OS with custom Python installation) I had to add the ldflags argument to python-config to get things working.
2015-12-12 22:58:23 +01:00
Wenzel Jakob
bda3b67dc5 add extra documentation CSS on RTD 2015-12-07 18:29:17 +01:00
Wenzel Jakob
f1532bd31c updated cmake snippet in documentation 2015-12-07 18:24:43 +01:00
Wenzel Jakob
ecdd868956 documentation on using the gil 2015-12-07 18:17:58 +01:00
Wenzel Jakob
24fe0904fb license note 2015-12-05 14:41:25 +01:00
Wenzel Jakob
40584ce8c5 fixed another typo 2015-12-04 23:58:23 +01:00
Wenzel Jakob
7f78318778 Merge pull request #20 from jakirkham/minor_typo
Missing "is"
2015-12-04 23:56:04 +01:00
John Kirkham
648e1962e1 README.md: Missing "is". 2015-12-04 17:51:42 -05:00
Wenzel Jakob
e9f4304f29 Merge pull request #19 from jakirkham/fix_pip_non_ascii_char_err
Change non-ASCII characters to ASCII
2015-12-04 22:39:47 +01:00
John Kirkham
dc97833f8d setup.py: Fix another dash to be ASCII so pip doesn't complain. 2015-12-04 16:22:25 -05:00
John Kirkham
c40f8c70dc setup.py: Fix dash to be ASCII so pip doesn't complain. 2015-12-04 16:21:23 -05:00
Wenzel Jakob
faaee1cbbd only use -flto when supported, quenched policy warnings 2015-11-30 12:45:38 +01:00
Wenzel Jakob
60c36db1c9 generic integer type handling 2015-11-30 12:45:34 +01:00
Wenzel Jakob
7f8d1c20f1 improved int_ constructor 2015-11-29 13:48:16 +01:00
Wenzel Jakob
4ee0f2a19e add missing instructor for bool_ 2015-11-29 13:47:10 +01:00
Wenzel Jakob
f2331666d1 improved compiler detection 2015-11-28 14:24:44 +01:00
Wenzel Jakob
e1b113b0d9 ifdef WIN32 -> _WIN32 2015-11-28 14:20:38 +01:00
Wenzel Jakob
6e213c9ca0 improved shared pointer support (fixes #14) 2015-11-24 23:18:32 +01:00
Wenzel Jakob
5e90fa4e6a 32 bit build in Travis (disabled for now) 2015-11-24 23:17:03 +01:00
Wenzel Jakob
3350b5e81c make install target optional 2015-11-24 21:33:28 +01:00
Luka Čehovin
19af357583 Enabling installation of headers on Unix systems. 2015-11-24 21:31:15 +01:00
Wenzel Jakob
a4175d6ea3 added warning about wrapping wrapped functions 2015-11-17 08:30:34 +01:00
Wenzel Jakob
eb7c0b82ec functional.h: support more kinds of Python functions 2015-11-16 18:39:43 +01:00
Wenzel Jakob
3ee91b2f0a renamed pybind11::set::insert -> add to match C api naming 2015-11-15 13:03:07 +01:00
Wenzel Jakob
333e889ef2 Improved STL support, support for std::set 2015-11-14 19:04:49 +01:00