Ullrich Köthe
03dbf0387a
added new feature: def_raw()
...
[SVN r8162]
2000-11-10 11:44:42 +00:00
Dave Abrahams
f6e12ce904
Add missing from_python functions for const T *const& and T* const&
...
[SVN r8159]
2000-11-08 20:10:14 +00:00
Dave Abrahams
4c4de52ffa
Fix bug with unneccessary and wrongly-placed explicit instantiation thanks to
...
Ralf W. Grosse-Kunstleve <rwgk@cci.lbl.gov >
[SVN r8156]
2000-11-06 20:39:07 +00:00
Ullrich Köthe
84914ba405
added optimization in ExtensionClassBase::try_class_conversions()
...
[SVN r8155]
2000-11-06 17:30:23 +00:00
Ullrich Köthe
f29fc34c8b
fixed a simple typo in the comments for to_python()
...
[SVN r8154]
2000-11-06 17:29:22 +00:00
Dave Abrahams
3f52de0315
Rolled back inapplicable changes, preserving what Ullrich fixed.
...
[SVN r8153]
2000-11-06 16:09:35 +00:00
Ullrich Köthe
367a827b8d
*** empty log message ***
...
[SVN r8152]
2000-11-06 15:39:49 +00:00
Dave Abrahams
1088183bae
Release 2000-11-06
...
[SVN r8151]
2000-11-06 05:24:07 +00:00
Dave Abrahams
5340194a9a
added set_attribute member function to allow arbitrary Python objects to be added to an extension class.
...
[SVN r8150]
2000-11-06 05:18:55 +00:00
Dave Abrahams
6eb7524d03
re-ordered declare_base calls to verify that the phantom base class issue is resolved.
...
[SVN r8149]
2000-11-06 05:17:39 +00:00
Dave Abrahams
fb0dd45a84
now generates support for n argument member functions and n+1
...
argument member functions at the suggestion of "Ralf W. Grosse-Kunstleve"
<rwgk@cci.lbl.gov >
[SVN r8148]
2000-11-06 05:16:36 +00:00
Dave Abrahams
67fbdc9da3
Objects now throw an exception after asserting if initialized with the wrong Python type.
...
[SVN r8147]
2000-11-06 05:15:26 +00:00
Dave Abrahams
6236939512
Made Tuple constructor from std::size_t explicit. Added 4-arg template constructor.
...
[SVN r8146]
2000-11-06 05:14:11 +00:00
Dave Abrahams
48c5fd3bf2
Added regression tests to verify that the phantom base class issue is resolved.
...
[SVN r8145]
2000-11-06 05:13:01 +00:00
Dave Abrahams
b7de56eb85
*** empty log message ***
...
[SVN r8144]
2000-11-06 05:11:17 +00:00
Dave Abrahams
d82ecf0887
added "set_attribute" member function to allow arbitrary Python objects to be added to an extension class.
...
[SVN r8143]
2000-11-06 05:10:14 +00:00
Dave Abrahams
fa9a7d2f32
added "add" member function to ClassWrapper<> to allow arbitrary Python
...
objects to be added to an extension class.
[SVN r8142]
2000-11-06 05:08:41 +00:00
Dave Abrahams
8f862fe716
Initial checkin
...
[SVN r8141]
2000-11-06 03:30:32 +00:00
Dave Abrahams
b3402e49f9
added missing 'template' keyword on type-dependent template member usage
...
removed special-case MSVC code
added much commentary
[SVN r8138]
2000-11-04 22:40:20 +00:00
Dave Abrahams
e72843dc82
*** empty log message ***
...
[SVN r8137]
2000-11-04 22:39:19 +00:00
Dave Abrahams
22d66cb992
Integrated Ullrich Koethe's brilliant from_python_experiment
...
removed special-case MSVC code
added much commentary
removed unused py_copy_to_new_value_holder
[SVN r8136]
2000-11-04 22:34:31 +00:00
Dave Abrahams
2973d4fd8d
minor cleanup
...
[SVN r8132]
2000-11-04 10:07:38 +00:00
Dave Abrahams
b4c9abb2fa
Update to correspond to latest codebase
...
[SVN r8131]
2000-11-04 10:05:53 +00:00
Dave Abrahams
7a3a0229d5
Add from/to_python for signed char and unsigned char
...
[SVN r8130]
2000-11-04 09:28:46 +00:00
Dave Abrahams
8fdc849980
quick fix
...
[SVN r8128]
2000-11-04 06:21:51 +00:00
Dave Abrahams
23a3d274c9
*** empty log message ***
...
[SVN r8127]
2000-11-04 06:12:14 +00:00
Dave Abrahams
198f7adfc4
Added missing string literal const_cast<>s.
...
[SVN r8126]
2000-11-04 06:11:22 +00:00
Dave Abrahams
21ee6ab4b7
Added some missing 'typename's and a GCC workaround fix
...
[SVN r8125]
2000-11-04 06:09:31 +00:00
Dave Abrahams
1219b7be0c
Added virtual_function as part of phantom base class removal; expanded
...
commentary
[SVN r8124]
2000-11-04 06:07:53 +00:00
Dave Abrahams
f0f317ed44
Add #pragmas which allow compilation in ansi strict mode under Metrowerks
...
[SVN r8123]
2000-11-04 05:54:58 +00:00
Dave Abrahams
562b478b1a
Removed the need for the phantom base class that screwed up inheritance
...
hierarchies, introduced error-prone ordering dependencies, and complexified
logic in many places!
Added some explanatory comments, removed wasteful m_self member of HeldInstance
[SVN r8122]
2000-11-04 05:51:10 +00:00
Dave Abrahams
6eecea6d1f
Removed the need for the phantom base class that screwed up inheritance
...
hierarchies, introduced error-prone ordering dependencies, and complexified
logic in many places!
[SVN r8121]
2000-11-04 05:39:31 +00:00
Dave Abrahams
67a97f1b9b
Worked around MSVC optimizer bug by writing to_python(double) and
...
to_python(float) out-of-line
[SVN r8115]
2000-11-03 16:45:16 +00:00
Dave Abrahams
39c3c45157
no message
...
[SVN r8114]
2000-11-03 16:10:28 +00:00
Dave Abrahams
6277023215
Worked around MSVC optimizer bug by writing to_python(double) and
...
to_python(float) out-of-line
[SVN r8113]
2000-11-03 16:08:54 +00:00
Dave Abrahams
82e59c6d5f
Add proof-of-concept for one technique of wrapping function that return a
...
pointer
[SVN r8112]
2000-11-03 16:06:45 +00:00
Dave Abrahams
7230b5886f
Fix friend function instantiation bug caught by Metrowerks (thanks
...
Metrowerks!)
[SVN r8111]
2000-11-03 15:59:49 +00:00
Dave Abrahams
acf1fda727
*** empty log message ***
...
[SVN r8110]
2000-11-03 05:03:24 +00:00
Dave Abrahams
acb0a41bfd
Add /Zm200 option to vc6_prj to deal with MSVC resource limitations
...
Remove conflicting /Ot option from vc6_prj release build
[SVN r8109]
2000-11-03 05:02:19 +00:00
Dave Abrahams
b6f3fda729
Update link to .zip for new release
...
[SVN r8105]
2000-11-02 23:55:51 +00:00
Dave Abrahams
103af23fd5
Add missing std:: qualifications
...
Add regression test for const double& parameters
[SVN r8104]
2000-11-02 19:39:37 +00:00
Dave Abrahams
5b8e8c54d8
Added:
...
to_python(float)
from_python(const char* const&)
from_python(const double&)
from_python(const float&)
[SVN r8103]
2000-11-02 19:36:12 +00:00
Dave Abrahams
b69f998c2c
Add a regression test for const double& parameters
...
[SVN r8102]
2000-11-02 19:32:21 +00:00
Dave Abrahams
f65959fadc
*** empty log message ***
...
[SVN r8101]
2000-11-02 19:30:39 +00:00
Ullrich Köthe
48315568c4
*** empty log message ***
...
[SVN r8099]
2000-11-02 17:39:01 +00:00
Dave Abrahams
312f7a9703
Initial Checkin
...
[SVN r8096]
2000-11-01 19:21:24 +00:00
Dave Abrahams
cdaaedd3fa
Remove extra ';' thanks to "Ralf W. Grosse-Kunstleve" <rwgk@cci.lbl.gov>
...
[SVN r8095]
2000-11-01 19:17:05 +00:00
Dave Abrahams
2ba0b22831
const-ify ClassBase::getattr()
...
Add repr() function to Class<T>
Add to_python/from_python conversions for PyPtr<T>
Standardize set_item/get_item interfaces (instead of proxies) for Dict and List
Add Reprable<> template to newtypes.h
Fix a bug wherein the __module__ attribute would be lost for classes that have a default virtual function implementation.
[SVN r8091]
2000-11-01 02:30:37 +00:00
Dave Abrahams
7cf495874d
Regression test for a reference-counting bug thanks to Mark Evans (<mark.evans@clarisay.com>)
...
[SVN r8090]
2000-10-31 23:47:28 +00:00
Dave Abrahams
d472c7b789
Add a regression test for a reference-counting bug thanks to Mark Evans (<mark.evans@clarisay.com>)
...
[SVN r8089]
2000-10-31 23:46:10 +00:00