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
Dave Abrahams
bfa255afa4
Reference-counting bug fix, thanks to Mark Evans <mark.evans@clarisay.com>
...
[SVN r8088]
2000-10-31 23:43:18 +00:00
Dave Abrahams
b2d0dbd291
initial checkin
...
[SVN r8087]
2000-10-31 22:21:10 +00:00
Dave Abrahams
de34ef3e9d
Initial checkin
...
[SVN r8086]
2000-10-31 22:19:58 +00:00
Dave Abrahams
d6514ffe73
Address STL compatibility claims of CXX
...
Add Paul Dubois quote
Add cross-reference link from Prabhu's [sic]
Add a write-up of GRAD
Remove defunct caveats about multiple-inheritance from extension classes and Python classes, and special attribute names
Document Zope reliance on inheritedAttribute
Remove anti-Zope slander regarding multiple inheritance
[SVN r8085]
2000-10-31 22:17:51 +00:00
Dave Abrahams
c7cb46d5bb
Fix bug in example
...
[SVN r8084]
2000-10-31 22:11:51 +00:00
Dave Abrahams
397e7a7bb8
Kill extra line at end
...
[SVN r8083]
2000-10-31 22:10:31 +00:00
Dave Abrahams
6a236ab362
Improve explanation of overload resolution
...
[SVN r8082]
2000-10-31 22:05:42 +00:00
Dave Abrahams
f66cd06361
Fix bug in example
...
Add explanatory text
Fix links to Next chapter
[SVN r8081]
2000-10-31 22:03:56 +00:00
Dave Abrahams
cfad828b24
Correct promises about working with Pro6.
...
Add links to chapters on building and inheritance
Add new name suggestions
[SVN r8080]
2000-10-31 22:01:30 +00:00
Dave Abrahams
b3b0eb96b3
Remove __del__ caveats as they no longer apply.
...
update links
[SVN r8079]
2000-10-31 21:20:30 +00:00