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
Dave Abrahams
349da66a52
*** empty log message ***
...
[SVN r8078]
2000-10-31 21:19:11 +00:00
Dave Abrahams
b12f08dfff
Update links
...
[SVN r8077]
2000-10-31 21:18:35 +00:00
Dave Abrahams
5083505524
formatting fixes
...
[SVN r8060]
2000-10-28 23:05:51 +00:00
Dave Abrahams
fabefe8272
bug fix
...
[SVN r8059]
2000-10-28 23:03:12 +00:00
Dave Abrahams
bc3fb27b6a
Enable multiple-inheritance from Python Classes and ExtensionClasses.
...
[SVN r8058]
2000-10-28 22:48:25 +00:00
Dave Abrahams
966534e709
Bug fix
...
[SVN r8057]
2000-10-28 22:34:29 +00:00
Dave Abrahams
67935e2e93
Use Runtime DLL instead of statically linking
...
[SVN r8056]
2000-10-28 22:17:55 +00:00
Dave Abrahams
30bb75553b
*** empty log message ***
...
[SVN r8055]
2000-10-28 22:15:53 +00:00
Dave Abrahams
72deb5224e
tests for special attributes __del__, __doc__, and __dict__ (still need __class__ and __bases__)
...
tests for multiple-inheritance from Python Classes and ExtensionClasses
tests for passing non-const references to constructors
[SVN r8054]
2000-10-28 22:14:21 +00:00
Dave Abrahams
9d2b4574af
Factor common Class functionality into ClassBase
...
Support for __del__, __bases__, __dict__, __class__, and __name__
Support for multiple-inheritance from Python Classes and ExtensionClasses.
[SVN r8053]
2000-10-28 22:03:15 +00:00