Dave Abrahams
3d874d1618
Major simplification of from_python conversion avoids registering
...
converters for every class.
[SVN r16669]
2002-12-20 00:04:40 +00:00
Dave Abrahams
abd22f1273
Handle unsigned long values that don't fit in a long.
...
[SVN r16606]
2002-12-14 00:10:52 +00:00
Dave Abrahams
4a5817d8ba
enum export
...
[SVN r16604]
2002-12-13 20:04:34 +00:00
Dave Abrahams
f9c8bf15bb
Restore CWPro7.2 to health. Also improve source organization slightly
...
[SVN r16416]
2002-11-26 02:47:17 +00:00
Dave Abrahams
3d0579cc08
Fix for VC7. For some reason lexical_cast doesn't seem to work out too
...
well. We'll need to be careful how we do type_info decoding once we
get the G++ fixes in.
[SVN r16410]
2002-11-25 20:52:49 +00:00
Dave Abrahams
cfbc1a6b48
Fully removed convertible() test from to_python converter protocol
...
Added tests for detecting unregistered classes when converting
indirectly to python.
[SVN r16396]
2002-11-25 01:57:57 +00:00
Dave Abrahams
e14e4e156c
New function invocation mechanism. This is the major groundwork for handling virtual functions with default implementations properly
...
[SVN r16388]
2002-11-24 02:43:24 +00:00
Dave Abrahams
b952e45036
Clip unneeded bind.hpp #include
...
[SVN r16386]
2002-11-23 22:30:48 +00:00
Dave Abrahams
7fc441801d
Allow embedded nulls in std::string <-> Python string conversions,
...
patch from greg Landrum <greglandrum@mindspring.com >.
Tests by Dave A.
[SVN r15945]
2002-10-16 20:24:38 +00:00
Dave Abrahams
4fd20185e9
Clean up Boost.Python v1 flotsam, update documentation
...
[SVN r15815]
2002-10-09 02:52:47 +00:00
Dave Abrahams
7e840acd19
Repair AIX build
...
[SVN r15740]
2002-10-05 19:31:43 +00:00
Dave Abrahams
86489dd5a7
Make AIX work again
...
[SVN r15737]
2002-10-05 17:29:32 +00:00
Dave Abrahams
30d9331079
Remove Boost.Python v1 from main trunk
...
[SVN r15723]
2002-10-05 04:37:49 +00:00
Dave Abrahams
ee17b41e62
Clean up module flotsam
...
[SVN r15720]
2002-10-04 21:58:21 +00:00
Dave Abrahams
5e8d775b87
Support for MinGW-2.0
...
[SVN r15719]
2002-10-04 21:34:32 +00:00
Dave Abrahams
bd0175c167
Backport to Python 2.2
...
[SVN r15706]
2002-10-04 13:05:57 +00:00
Dave Abrahams
5cd513859d
separate overloads.hpp
...
BOOST_PYTHON_MODULE_INIT -> BOOST_PYTHON_MODULE
[SVN r15609]
2002-10-01 14:40:41 +00:00
Dave Abrahams
a0ff708d29
Fixes for AIX
...
[SVN r15541]
2002-09-28 13:27:00 +00:00
Dave Abrahams
997e84f117
Keyword argument support
...
[SVN r15533]
2002-09-28 07:35:15 +00:00
Dave Abrahams
17879958ca
NumPy (Numeric and numarray) support
...
[SVN r15521]
2002-09-26 00:16:16 +00:00
Dave Abrahams
87d619e02a
fixup comments
...
[SVN r15519]
2002-09-26 00:15:09 +00:00
Dave Abrahams
d91b6e9a1b
Compile (but still can't link) with MinGW-2.0 (GCC-3.2)
...
[SVN r15285]
2002-09-12 23:58:15 +00:00
uid30600
75a0da31fb
Reduce header interdependencies
...
[SVN r15242]
2002-09-09 20:05:17 +00:00
Dave Abrahams
060f59daa8
Fix declaration bug
...
Workaround broken MSVC6 stdlib
[SVN r15227]
2002-09-09 03:35:05 +00:00
Dave Abrahams
ee1cc99c65
Added support for enums
...
[SVN r15223]
2002-09-09 02:24:41 +00:00
Dave Abrahams
dcf7e7cf0c
Added support for enums
...
[SVN r15222]
2002-09-09 02:00:53 +00:00
Dave Abrahams
526d99f832
Embed C++ objects directly in Python objects
...
[SVN r15192]
2002-09-07 04:44:17 +00:00
Ralf W. Grosse-Kunstleve
9d520877d1
adjustment for IRIX CC; also tested with gcc 3.0.4, VC7, cxx 6.5
...
[SVN r15168]
2002-09-05 14:00:57 +00:00
Dave Abrahams
865ef2ab7f
Support for free-function def() invocation (no module object)
...
Fix bugs relying on initialization of objects in the Python DLL
[SVN r15139]
2002-09-03 05:51:15 +00:00
Dave Abrahams
ec3cc6abe8
Implemented less-liberal conversion rules
...
[SVN r15136]
2002-09-02 23:23:27 +00:00
Dave Abrahams
a6cac2886b
Work around a CWPro7.2 bug with ?:
...
[SVN r15076]
2002-08-24 02:48:53 +00:00
Dave Abrahams
b06e8c3022
Qualified boost::make_tuple to avoid conflicts
...
[SVN r15054]
2002-08-22 13:51:10 +00:00
Dave Abrahams
8a20f8b2da
Simplify code by taking advantage of high-level object() facilities
...
[SVN r15053]
2002-08-22 13:50:28 +00:00
Dave Abrahams
d748e371e5
CWPro7 workaround
...
[SVN r15006]
2002-08-20 20:56:42 +00:00
Dave Abrahams
c104f0167f
VC7.1 alpha adjustments
...
[SVN r15003]
2002-08-20 19:22:14 +00:00
Dave Abrahams
a5d53d1ac8
new class_<> objects are always added to the current scope
...
[SVN r14964]
2002-08-19 20:14:33 +00:00
Dave Abrahams
3c5df28101
Bug fix for NULL pointers with return_internal_reference<>.
...
[SVN r14952]
2002-08-19 15:19:08 +00:00
Dave Abrahams
49e071d363
Bug fix from Martin Casado (casado2@llnl.gov)
...
[SVN r14857]
2002-08-14 21:09:26 +00:00
Dave Abrahams
6e06ff048d
Automatic class def_init(), abstract class __init__ errors
...
Fixed line endings
Suppressed warnings
[SVN r14828]
2002-08-14 06:26:33 +00:00
Dave Abrahams
c5ee39f54b
Bug fix
...
[SVN r14803]
2002-08-13 05:07:50 +00:00
Dave Abrahams
fe3cf386c3
Python->C++ exception translation
...
[SVN r14800]
2002-08-13 00:45:09 +00:00
Dave Abrahams
cf15a99730
Repair type initialization problem
...
[SVN r14736]
2002-08-08 06:14:48 +00:00
Dave Abrahams
a3102b552c
Add casts to work around missing extern "C" in Python headers.
...
[SVN r14735]
2002-08-08 05:52:30 +00:00
Dave Abrahams
bd0257cbe5
Full docstring support
...
[SVN r14734]
2002-08-07 23:03:02 +00:00
Dave Abrahams
56e7b2a592
* object(f), where f is a function pointer now works. Returning a
...
* function pointer from a function should work also.
* make_function/make_constructor now return object instead of a raw pointer.
* module::setattr() now accepts anything which can be passed to object's constructor.
* Rework upcast<> to catch more errors at compile-time instead of infinite-looping.
* Rationalize class<>::def() in preparation for docstring support
* Partial docstring support in module::def (untested)
* dependent<> trick moved to detail namespace and separate header
* Added __doc__ attribute to C++ function wrapper objects
* Sunk implementation of function_object into a library source file.
[SVN r14724]
2002-08-06 23:59:27 +00:00
Dave Abrahams
f59ed991fe
VC6 bug workarounds
...
[SVN r14722]
2002-08-06 23:44:31 +00:00
Dave Abrahams
6907df1457
bug fixes
...
[SVN r14623]
2002-07-27 05:50:10 +00:00
Dave Abrahams
19036c14f5
handle<> -> object
...
[SVN r14603]
2002-07-25 18:07:25 +00:00
Dave Abrahams
ddb1236f2f
Begin transition away from handle<>
...
[SVN r14602]
2002-07-25 16:29:30 +00:00
Dave Abrahams
8763fd1c53
scope default constructor gets current scope; killed scope::get()
...
[SVN r14599]
2002-07-25 14:52:11 +00:00