Commit Graph

  • 211c9d97fd Removed whitespace at end of comment line. Alexander Stukowski 2016-11-09 18:01:18 +0100
  • 8ebb54db56 docstring_options class now supports chaining of enable/disable methods. Deleted the new operator to prevent allocation on the heap. Alexander Stukowski 2016-11-09 17:34:47 +0100
  • a00d54f227 Removed trailing whitespaces to comply with coding style rules. Alexander Stukowski 2016-11-09 12:21:45 +0100
  • bfc083db6c Extended user documentation to cover the docstring_options facility. Alexander Stukowski 2016-11-09 12:04:59 +0100
  • 79d558132e Removed initialization constructor from docstring_options class in favor of explicit set calls. Alexander Stukowski 2016-11-09 12:04:07 +0100
  • 3d242dcf95 Updated CMakeLists.txt to install new docstring_options.h header. Alexander Stukowski 2016-11-09 08:42:59 +0100
  • db8edb95f9 Removed trailing spaces in some code lines. Alexander Stukowski 2016-11-08 16:42:02 +0100
  • e93c67cd35 Removed 'inline' keyword from docstring_options::global_state() Alexander Stukowski 2016-11-08 11:12:51 +0100
  • 7543aa2b89 - Made docstring_options::state private, added public getter functions - Added default constructor to docstring_options class - Made docstring_options non-copyable - Removed enable_all() and disable_all() methods - Fixed source code indentation - Made docstring test case work with Python 2.7 Alexander Stukowski 2016-11-08 11:08:46 +0100
  • 2b92a49115 updated check-style.sh docs Wenzel Jakob 2016-11-08 10:58:22 +0100
  • cc4efe69c2 more code style checks in Travis CI :) Wenzel Jakob 2016-11-08 10:53:30 +0100
  • 9df859029b Fixed error in docstring_options test case when using Python 2.x Alexander Stukowski 2016-11-08 10:32:56 +0100
  • b5913c6a25 Added the docstring_options class, which gives global control over the generation of docstrings and function signatures. Alexander Stukowski 2016-11-07 22:18:17 +0100
  • fe40dfe67d address number caster regression (fixes #484) Wenzel Jakob 2016-11-07 15:59:01 +0100
  • c07ec31edf Don't construct unique_ptr around unowned pointers (#478) Jason Rhinelander 2016-11-06 13:12:48 -0500
  • 7a372efedb Rename inst->constructed to inst->holder_constructed Jason Rhinelander 2016-11-06 13:03:29 -0500
  • b007035f09 Return cstats reference; fix ConstructStats doc Jason Rhinelander 2016-11-05 11:56:22 -0400
  • e916d846bf minor: have enum::export_values() return a reference to *this as usual Wenzel Jakob 2016-11-04 16:51:14 +0100
  • 8d8ff2b967 Added test for non-movable holder constructor/destructor counts Jason Rhinelander 2016-11-04 11:12:54 -0400
  • f1b44a051a <optional> requires -std=c++17 (#479) Jason Rhinelander 2016-11-04 09:49:37 -0400
  • dc0b4bd2c9 Add debugging info about .so size to build output (#477) Jason Rhinelander 2016-11-04 09:47:41 -0400
  • 8a5d64bcb7 Minor libsize.py script changes Jason Rhinelander 2016-11-04 09:40:35 -0400
  • 69dbe3104c Moved CPP macro Jason Rhinelander 2016-11-04 09:29:23 -0400
  • 45e6e6f6eb add note about custom type casters (fixes #480) Wenzel Jakob 2016-11-04 11:06:22 +0100
  • 76d8e7e771 Fix g++ 7 compilation failure with <optional> Jason Rhinelander 2016-11-03 22:43:36 -0400
  • 36d796b630 Moved C++14 macro to common, added C++17 macro Jason Rhinelander 2016-11-03 22:41:33 -0400
  • 79e55b5021 Don't construct unique_ptr around unowned pointers Jason Rhinelander 2016-11-03 20:29:19 -0400
  • 51dfedf75b Add debugging info about so size to build output Jason Rhinelander 2016-11-03 19:44:10 -0400
  • 12edaaa66a Only enable std::optional if compiling in >= C++14 (#476) Jason Rhinelander 2016-11-03 11:17:11 -0400
  • 5c4b3e2c56 Only enable std::optional if compiling in >= C++14 Jason Rhinelander 2016-11-03 11:10:46 -0400
  • 44a69f78cf std::experimental::optional (#475) Ivan Smirnov 2016-11-03 12:42:46 +0000
  • 827272d510 Mention std{::experimental,}::optional in the docs Ivan Smirnov 2016-11-03 12:35:53 +0000
  • d9f62dcef7 Support both <optional> / <experimental/optional> Ivan Smirnov 2016-11-03 10:04:14 +0000
  • 6f0fb96fde Add tests for std::experimental::optional Ivan Smirnov 2016-11-02 10:09:37 +0000
  • 7057acbba3 Add type caster for std::experimental::optional Ivan Smirnov 2016-11-02 10:09:28 +0000
  • bd560acf40 smart pointer refcount fix by @dean0x7d with slight modifications (fixes #471) Wenzel Jakob 2016-11-03 11:53:35 +0100
  • 0a9ef9c300 Merge pull request #472 from aldanor/feature/shared-dtypes Wenzel Jakob 2016-11-03 11:08:50 +0100
  • cc8ff16547 Move register_dtype() outside of the template Ivan Smirnov 2016-10-31 16:16:47 +0000
  • f95fda0eb2 Add docs re: shared data API Ivan Smirnov 2016-10-31 21:40:11 +0000
  • 2dbf029705 Add public shared_data API Ivan Smirnov 2016-10-31 14:11:10 +0000
  • c546655dc2 Use pytest fixtures in numpy dtypes test module Ivan Smirnov 2016-10-31 13:54:43 +0000
  • 2184f6d4d6 NumPy dtypes are now shared across extensions Ivan Smirnov 2016-10-31 13:52:32 +0000
  • a743ead455 Merge pull request #474 from aldanor/feature/numpy-dtype-ex Wenzel Jakob 2016-11-03 09:44:30 +0100
  • abd3429ce9 Add a test for numpy dtypes with custom names Ivan Smirnov 2016-11-01 13:29:32 +0000
  • e8b50360fe Add dtype binding macro that allows setting names Ivan Smirnov 2016-11-01 13:27:35 +0000
  • 03f627ebb1 Make reference(_internal) the default return value policy for properties (#473) Dean Moldovan 2016-11-01 11:44:57 +0100
  • ed22af7e85 Almost always use return_value_policy::move for rvalues Dean Moldovan 2016-10-31 21:56:44 +0100
  • e26eebf6bf Make reference(_internal) the default return value policy for properties Dean Moldovan 2016-10-30 23:33:11 +0100
  • 030d10e826 minor style fix Wenzel Jakob 2016-10-28 01:23:42 +0200
  • 496feacfd0 pybind11: implicitly convert NumPy integer scalars Wenzel Jakob 2016-10-28 00:37:07 +0200
  • 1035b562ad pybind11: implicitly convert NumPy integer scalars Wenzel Jakob 2016-10-28 00:37:07 +0200
  • a6f85eb985 Merge pull request #465 from jagerman/prevent-object-overwriting Wenzel Jakob 2016-10-25 10:03:53 +0200
  • 6873c202b3 Prevent overwriting previous declarations Jason Rhinelander 2016-10-24 21:58:22 -0400
  • dd9bd7778f Merge pull request #453 from aldanor/feature/numpy-scalars Wenzel Jakob 2016-10-25 01:15:25 +0200
  • 8f3e045deb Use detail::get_type_info() wherever sensible Ivan Smirnov 2016-10-23 15:43:03 +0100
  • 6ba98650e2 a bit of work on the new documentation structure Wenzel Jakob 2016-10-24 23:48:20 +0200
  • a6e6a8b108 Require existing typeinfo for direct conversions Ivan Smirnov 2016-10-23 15:27:13 +0100
  • 0b954d7a87 Add a test for iterable_t/sequence_t Ivan Smirnov 2016-10-23 02:39:02 +0100
  • e6817a0f0c Implement sequence_t<T> Ivan Smirnov 2016-10-23 02:38:37 +0100
  • 08569a12c3 Implement iterable_t<T> Ivan Smirnov 2016-10-23 02:38:27 +0100
  • c3b3d35086 Make sequence type default constructible Ivan Smirnov 2016-10-23 02:38:00 +0100
  • 8c35150030 Make iterators more compliant with STL rules Ivan Smirnov 2016-10-23 02:36:53 +0100
  • 98993ae302 Implement iterator_t<T> Ivan Smirnov 2016-10-23 02:36:28 +0100
  • 4cc257f9aa list_caster -> sequence_caster to avoid confusion Ivan Smirnov 2016-10-22 23:45:31 +0100
  • e5043bc760 Allow loading std::array from sequences Ivan Smirnov 2016-10-22 23:44:08 +0100
  • c0d19192d2 minor indentation change Wenzel Jakob 2016-10-22 13:08:44 -0400
  • f4eec65526 Merge pull request #455 from bennorth/bugfix/bad-delete-if-no-copy-ctor Wenzel Jakob 2016-10-22 19:06:50 +0200
  • 43a88f4574 Reraise existing exception if dtype ctor fails Ivan Smirnov 2016-10-22 10:52:05 +0100
  • 694269435b Allow implicit casts from literal strings to dtype Ivan Smirnov 2016-10-22 10:51:19 +0100
  • ef5a38044c A few dtype method docstrings Ivan Smirnov 2016-10-22 10:51:04 +0100
  • f70cc112f0 Make dtype from string ctor accept const ref Ivan Smirnov 2016-10-22 10:50:39 +0100
  • fb7c9fd326 Remove obsolete example reference (#457) Jason Rhinelander 2016-10-22 12:54:33 -0400
  • 18e9590ca9 Merge pull request #458 from dean0x7d/fix-property Wenzel Jakob 2016-10-22 18:53:29 +0200
  • 58d9872181 Reraise existing exception if dtype ctor fails Ivan Smirnov 2016-10-22 10:52:05 +0100
  • 9c8328c51f Allow implicit casts from literal strings to dtype Ivan Smirnov 2016-10-22 10:51:19 +0100
  • a7100bbd66 A few dtype method docstrings Ivan Smirnov 2016-10-22 10:51:04 +0100
  • 82c1b5f026 Make dtype from string ctor accept const ref Ivan Smirnov 2016-10-22 10:50:39 +0100
  • a8c36aee4d Make example fully-working (except for #includes) Jason Rhinelander 2016-10-21 17:54:10 -0400
  • 36f1469b7b Remove obsolete example reference Jason Rhinelander 2016-10-21 15:57:27 -0400
  • 5b7e190fa2 Fix def_property and related functions Dean Moldovan 2016-10-21 18:51:14 +0200
  • bbe45082f4 Test uncopyable static member Ben North 2016-10-20 21:19:30 +0100
  • 24a2054dbc Fix wrapper's 'value' and 'owned' if ctor missing Ben North 2016-10-20 21:09:25 +0100
  • 77898af0f8 Merge pull request #454 from dean0x7d/shared_ptr Wenzel Jakob 2016-10-20 19:16:32 +0200
  • 7edd72db24 Disallow registering dtypes multiple times Ivan Smirnov 2016-10-20 16:57:12 +0100
  • ccc69f91f4 Cache direct converters in the generic type caster Ivan Smirnov 2016-10-20 16:52:24 +0100
  • 4f30446164 Merge pull request #448 from dean0x7d/docs Wenzel Jakob 2016-10-20 17:51:30 +0200
  • cbbb7830f2 Add a test for NumPy scalar conversion Ivan Smirnov 2016-10-20 16:47:29 +0100
  • 85e16262d6 Enable direct conversions with no typeinfo present Ivan Smirnov 2016-10-20 16:46:40 +0100
  • 7bf90e8008 Add a direct converter for numpy scalars Ivan Smirnov 2016-10-20 16:11:08 +0100
  • c275ee6b46 Add support for "direct" converters Ivan Smirnov 2016-10-20 16:09:31 +0100
  • ba08db4da5 Import a few more numpy extern symbols Ivan Smirnov 2016-10-20 16:09:10 +0100
  • 5d28dd1194 Support std::shared_ptr holder type out of the box Dean Moldovan 2016-10-18 13:56:33 +0200
  • f0b0df58a9 Directly compare 3 ways of moving data between C++ and Python Dean Moldovan 2016-10-19 22:13:27 +0200
  • 67b52d808e Reorganize documentation Dean Moldovan 2016-10-16 19:12:43 +0200
  • 3eb569f4df Merge pull request #452 from aldanor/feature/numpy-enum Wenzel Jakob 2016-10-20 14:41:38 +0200
  • 2f3f3687dc Add tests for numpy enum descriptors Ivan Smirnov 2016-10-20 12:28:47 +0100
  • fb74df50c9 Implement format/numpy descriptors for enums Ivan Smirnov 2016-10-20 12:28:08 +0100
  • 35995856dd Merge pull request #450 from dean0x7d/explicit-bool Wenzel Jakob 2016-10-17 11:59:29 +0200
  • c889ebd0e1 Make operator bool() explicit Dean Moldovan 2016-10-17 01:48:32 +0200
  • 135fd14928 Merge pull request #449 from jagerman/no-implicit-conversions Wenzel Jakob 2016-10-16 22:47:49 +0200