Commit Graph

  • f580649871 Move internal headers into detail subdirectory Dean Moldovan 2017-08-14 00:35:53 +02:00
  • 76e06c89e4 Avoid duplicate C++ standard flags if CMAKE_CXX_STANDARD is set Dean Moldovan 2017-08-13 15:48:08 +02:00
  • 97aa54fefa Compile with hidden visibility always; set via cmake property rather than compiler flag Jason Rhinelander 2017-08-10 12:08:42 -04:00
  • a859dd67a2 Force hidden visibility on pybind code Jason Rhinelander 2017-08-10 12:03:29 -04:00
  • 8d3cedbe2b Add test for mixing STL casters and local binders across modules Dean Moldovan 2017-08-13 03:03:06 +02:00
  • eb0f1cc7bf Only allow unchecked()/mutable_unchecked() on an lvalue Jason Rhinelander 2017-07-25 16:22:45 -04:00
  • 7918bcc95b Add support for boost::variant in C++11 mode Dean Moldovan 2017-08-08 16:02:31 +02:00
  • e06077bf47 Document the requirement to explicitly initialize C++ bases (#986) EricCousineau-TRI 2017-08-07 18:37:42 -04:00
  • 3dde6ddc53 Add test for custom CMake export group Dean Moldovan 2017-08-07 22:47:19 +02:00
  • 017a747da6 CMake: support a custom export group (#970) Ben Boeckel 2017-08-07 16:32:35 -04:00
  • ebd6ad588b Fix boost::variant example to not forward args Jason Rhinelander 2017-08-07 15:48:49 -04:00
  • 391c75447d Update all remaining tests to new test styles Jason Rhinelander 2017-07-25 16:47:36 -04:00
  • 9866a0f994 test_class: use gc_collect instead of detail_reg_inst side-effect Jason Rhinelander 2017-07-26 13:52:53 -04:00
  • b468a3cefc Ignore undefined name long errors on Python 3 Jason Rhinelander 2017-07-25 21:46:54 -04:00
  • 3ed62218a8 overload_cast MSVC 2015 fix Jason Rhinelander 2017-07-27 20:17:05 -04:00
  • 4b159230d9 Made module_local types take precedence over global types Jason Rhinelander 2017-08-04 13:05:12 -04:00
  • 2640c950ca Stash std::strings used for tp_name in internals Jason Rhinelander 2017-08-04 10:42:39 -04:00
  • 7437c69500 Add py::module_local() attribute for module-local type bindings Jason Rhinelander 2017-07-28 22:03:44 -04:00
  • d598172993 Fix builtin exception handlers to work across modules Jason Rhinelander 2017-07-28 21:38:23 -04:00
  • 0bd5979c77 Add cross-module test plugin Jason Rhinelander 2017-07-28 20:57:57 -04:00
  • e98d31d697 Force hidden visibility on functions needing distinct static locals Jason Rhinelander 2017-07-28 21:56:51 -04:00
  • 373da82486 Make PYBIND11_OBJECT_CVT only convert if the type check fails Jason Rhinelander 2017-08-03 19:27:04 -04:00
  • cca20a7f8d Fix occassional segfault introduced by #960 Jason Rhinelander 2017-07-29 03:56:01 -04:00
  • 85d63c3bcd Superclass typo fix Jason Rhinelander 2017-07-29 03:54:25 -04:00
  • 12be4cd418 Remove debugging Jason Rhinelander 2017-07-29 03:53:45 -04:00
  • 1682b67326 Simplify error_already_set Jason Rhinelander 2017-07-20 23:14:33 -04:00
  • abcf43d59c Convert test_exceptions to new testing style Jason Rhinelander 2017-07-23 12:26:17 -04:00
  • 353615f77e Make init_holder do registration, and rename to init_instance Jason Rhinelander 2017-07-25 00:53:23 -04:00
  • 44a17e1f3d Convert test_multiple_inheritance to new style Jason Rhinelander 2017-07-25 00:05:15 -04:00
  • 793726014d Detect std::pair non-copyability Jason Rhinelander 2017-07-27 14:55:17 -04:00
  • e07f75839d Implicit conversions to bool + np.bool_ conversion (#925) Ivan Smirnov 2017-07-23 16:02:43 +01:00
  • a03408c839 Add support custom sized operator deletes (#952) Jason Rhinelander 2017-07-23 00:32:58 -04:00
  • 7c0e2c247b Document automatic upcasting of polymorphic types (#654) Dustin Spicuzza 2017-07-22 21:36:08 -04:00
  • 2e37fe09e1 Fix compatibility of FindPythonLibsNew.cmake and FindPythonLibs.cmake Dean Moldovan 2017-06-29 11:42:54 +02:00
  • cb3d4065fe Fix refcounting for tp_base objects of new types (#950) bennorth 2017-07-20 14:21:31 +01:00
  • 60526d4636 Support take_ownership for custom type casters given a pointer Jason Rhinelander 2017-07-07 17:26:14 -04:00
  • 67a0cc4eed Fix regression: container pointers not castable Jason Rhinelander 2017-07-06 20:41:52 -04:00
  • fad5d3386c Detect c++ standard unconditionally Jason Rhinelander 2017-07-12 14:59:16 -04:00
  • 6b51619a7c Fix test suite under MSVC/Debug Jason Rhinelander 2017-07-12 11:50:40 -04:00
  • a403d0e675 Fix past-the-end dereference in values_and_holders Jason Rhinelander 2017-07-12 10:18:09 -04:00
  • fd47779f40 travis-ci: Switch debian:buster build to python 3.6 Jason Rhinelander 2017-07-06 09:53:35 -04:00
  • 706a7d96bd Fix compilation with Intel's compiler Dean Moldovan 2017-07-04 01:27:18 +02:00
  • b57281bb00 Use rvalue subcasting when casting an rvalue container Jason Rhinelander 2017-07-03 19:12:09 -04:00
  • 897d71687e Combine std::tuple/std::pair logic Jason Rhinelander 2017-07-04 14:57:41 -04:00
  • 23bf894590 Override deduced Base class when defining Derived methods Jason Rhinelander 2017-05-16 11:07:28 -04:00
  • 259b2fafea Fix unsigned error value casting Jason Rhinelander 2017-07-01 16:31:49 -04:00
  • 30f6c3b36e Fix indirect loading of Eigen::Ref Dean Moldovan 2017-06-26 23:20:39 +02:00
  • af2dda38ef Add a life support system for type_caster temporaries Dean Moldovan 2017-06-26 20:34:06 +02:00
  • 6b442ff9e1 python -m pybind11 --includes prints include paths Ivan Smirnov 2017-06-23 18:40:43 +02:00
  • 34b7b54f29 Add tests for passing STL containers by pointer Andreas Bergmeier 2017-05-09 15:01:22 +02:00
  • c67033a926 Move test_cmake_build target code into its subdirectory Dean Moldovan 2017-06-25 15:16:34 +02:00
  • 0bc272b2e9 Move tests from short translation units into their logical parents Dean Moldovan 2017-06-22 23:42:11 +02:00
  • 83e328f58c Split test_python_types.cpp into builtin_casters, stl and pytypes Dean Moldovan 2017-06-09 00:44:49 +02:00
  • bdfb50f384 Move tests from test_issues.cpp/py into appropriate files Dean Moldovan 2017-06-07 16:52:50 +02:00
  • 44e9a4e6cf travis-ci: switch gcc-7 build to buster, remove from allow_failures Jason Rhinelander 2017-06-26 16:18:09 -04:00
  • 2bde61500d Fix invalid reference definition in string conversion docs Dean Moldovan 2017-06-25 17:35:44 +02:00
  • cd2d3ad5df Fix embedded threads test on MSVC2015 / Python 2.7 Dean Moldovan 2017-06-24 21:00:18 +02:00
  • 9d698f7fcc Hold strong references to keep_alive patients Bruce Merry 2017-06-24 14:58:42 +02:00
  • 2196696746 Use std::type_info::name() for type lookups outside stdlibc++ Jason Rhinelander 2017-06-21 13:38:10 -04:00
  • 2d6116b53f Fix GIL release and acquire when embedding the interpreter Dean Moldovan 2017-06-20 23:50:51 +02:00
  • f42af24a7d Support std::string_view when compiled under C++17 Jason Rhinelander 2017-06-18 20:32:22 -04:00
  • 220a77f5cd Endian wording fix Jason Rhinelander 2017-06-18 21:17:42 -04:00
  • aee409dc8d Fix strings.rst style Jason Rhinelander 2017-06-18 21:17:13 -04:00
  • ce7024fdf5 Fix linker issue with move constructors on MSVC Dean Moldovan 2017-06-13 23:47:43 +02:00
  • 24dec80b44 Help CLion IDE evaluate PYBIND11_NUMPY_DTYPE Dean Moldovan 2017-05-31 16:44:41 +02:00
  • e067c5842b Switch debian docker images to stretch Jason Rhinelander 2017-06-18 12:55:00 -04:00
  • 13d8cd2cc7 add the capsule name to the py::capsule constructor Philip Austin 2017-06-15 06:45:11 -07:00
  • 28f3df7ff3 Fix typo in embedding.rst Ian Bell 2017-06-14 20:33:45 -06:00
  • d080f833be Make check-style.sh work on stock macOS Jason Rhinelander 2017-06-14 15:19:42 -04:00
  • 404bcf259d travis-ci: clang 4.0: install and use ldd-4.0 Jason Rhinelander 2017-06-14 11:49:40 -04:00
  • 2cc1916eaf Upgrade pypy to 5.8, use pre-built numpy/scipy wheels Jason Rhinelander 2017-06-11 21:20:03 -04:00
  • e45c211497 Support multiple inheritance from python Jason Rhinelander 2017-02-22 21:36:09 -05:00
  • caedf74a89 Fix py::make_iterator's __next__() for past-the-end calls Dean Moldovan 2017-06-09 16:49:04 +02:00
  • 17cc39c818 Don't let pytest discover tests from test_cmake_build and test_embed Dean Moldovan 2017-06-09 15:33:09 +02:00
  • 74b501cd85 Fix passing in utf8 encoded strings with python 2 Ben Frederickson 2017-06-06 12:31:41 -07:00
  • 0365d491b5 Remove feature macro for <experimental/optional> Jason Rhinelander 2017-06-08 16:57:49 -03:00
  • e27ea47c87 Enable detection of private operator new on MSVC Dean Moldovan 2017-06-08 18:21:12 +02:00
  • 6223b18cea Update basics.rst Matthew Chan 2017-06-08 13:55:30 -04:00
  • 4edb1ce20c Destroy internals if created during Py_Finalize() Jason Rhinelander 2017-06-07 12:35:39 -03:00
  • ef2dfd47ba Tweak GitHub issue template Dean Moldovan 2017-06-07 13:54:58 +02:00
  • 1d3c4bc54d Fix missing default globals in eval/exec when embedding Dean Moldovan 2017-06-06 17:05:19 +02:00
  • 91bbe2f2e5 Explicitly define copy/move constructors for accessor eirrgang 2017-06-06 11:57:17 -04:00
  • 8f6c129689 Fix CMake example code in embedding docs Dean Moldovan 2017-05-31 13:48:39 +02:00
  • acedd6c70c std::reference_wrapper: non-generic types; no None Jason Rhinelander 2017-05-12 13:40:05 -04:00
  • 7cdf9f1a68 Move reference_wrapper test from test_issues to test_python_types Jason Rhinelander 2017-05-12 13:11:08 -04:00
  • 005fde6a7f Filter warnings on pytest >= v3.1 Dean Moldovan 2017-05-28 22:39:05 +02:00
  • 443ab5946b Replace PYBIND11_PLUGIN with PYBIND11_MODULE Dean Moldovan 2017-04-24 01:51:44 +02:00
  • b700c5d672 Convenience constructor templates for buffer_info (#860) Yannick Jadoul 2017-05-29 03:13:55 +02:00
  • 427e4afc69 Fix buffer protocol inheritance Dean Moldovan 2017-05-28 16:35:02 +02:00
  • 6d2411f1ac Add tutorial page for embedding the interpreter Dean Moldovan 2017-04-22 23:24:13 +02:00
  • 931b9e93ab Support restarting the interpreter and subinterpreters Dean Moldovan 2017-04-20 23:40:56 +02:00
  • 22c413b196 Add C++ interface for the Python interpreter Dean Moldovan 2017-03-30 00:20:42 +02:00
  • 9693a5c78f Add Catch framework for testing embedding support and C++-side features Dean Moldovan 2017-03-23 17:27:32 +01:00
  • 7f5c85c861 Add CMake target for embedding the Python interpreter Dean Moldovan 2017-03-23 13:32:54 +01:00
  • 46dbee7d42 Avoid explicitly resetting a std::[experimental::]optional Bruce Merry 2017-05-26 08:52:54 +02:00
  • 4f9ee6e430 Fix exception reference error Jason Rhinelander 2017-05-26 23:20:48 -04:00
  • 39b9e04be8 Correct error in numpy.rst chenzy 2017-05-26 16:46:00 +08:00
  • eee4f4fc7e Fix invalid memory access in vector insert method Bruce Merry 2017-05-25 15:17:36 +02:00
  • 6a0f6c40cd Fix quadratic-time behaviour of vector extend Bruce Merry 2017-05-25 15:04:40 +02:00
  • 8dc63ba941 Force MSVC to compile in utf-8 mode Jason Rhinelander 2017-05-25 01:05:49 -04:00