Dave Abrahams
802a2f3fdb
Restore main trunk to health
...
[SVN r15362]
2002-09-16 04:15:53 +00:00
Dave Abrahams
06f6f2ff21
Restore main trunk to health
...
[SVN r15359]
2002-09-16 04:03:39 +00:00
Joel de Guzman
b37198106d
Changed args<...> to init<...> and changed class_(no_init) to class_("name", no_init)
...
[SVN r15345]
2002-09-15 21:42:49 +00:00
Joel de Guzman
604928adc4
new API changes
...
[SVN r15344]
2002-09-15 21:13:12 +00:00
Dave Abrahams
ada55bd9e2
mpl_v2 branch checkin
...
[SVN r15258]
2002-09-11 05:35:41 +00:00
uid30600
75a0da31fb
Reduce header interdependencies
...
[SVN r15242]
2002-09-09 20:05:17 +00:00
Dave Abrahams
dcb6a88c63
*** empty log message ***
...
[SVN r15233]
2002-09-09 11:37:30 +00:00
Joel de Guzman
f8490a8850
Fixed init<...> bug where there are no default arguments. Added a test case for this.
...
[SVN r15224]
2002-09-09 02:36:54 +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
Joel de Guzman
acbb5be6ab
Added call policies to def(init<...>) and added tests to see that the call policies is working in default.cpp
...
[SVN r15191]
2002-09-07 01:35:42 +00:00
Joel de Guzman
522a29241b
added call policies to the default stubs.
...
[SVN r15190]
2002-09-06 23:11:09 +00:00
Ralf W. Grosse-Kunstleve
b8d3c84d3c
macro names changed to be more self-documenting
...
[SVN r15172]
2002-09-05 23:31:30 +00:00
Joel de Guzman
4d53fb97b6
update to defaults gen that fixes member functions with zero arguments (added a test in defaults.cpp)
...
[SVN r15162]
2002-09-04 22:36:05 +00:00
Joel de Guzman
ac02c763c7
Fixed to workaround init<...> only for intel compilers
...
[SVN r15157]
2002-09-04 16:28:24 +00:00
Ralf W. Grosse-Kunstleve
7407a6b144
use def_init() for compilers that don't support init<... optional<...> >; with this all tru64_cxx test pass; (I know this is not testing the default argument support, but a failing test isn't very inspiring for others, and the addition shows people what the alternative is.)
...
[SVN r15154]
2002-09-04 07:33:35 +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
Joel de Guzman
f030618d19
Initial speedup for EDG for the stub functions. The init<...> stuff is more involved...
...
[SVN r15097]
2002-08-26 15:09:33 +00:00
Joel de Guzman
d4c50383af
Got init<..> working
...
[SVN r15073]
2002-08-23 23:30:29 +00:00
Joel de Guzman
0bbfa9b483
removed signature<...> and updated defaults.cpp test
...
[SVN r15071]
2002-08-23 21:00:31 +00:00
Dave Abrahams
bcaa1043ea
More smart pointer handling
...
[SVN r15069]
2002-08-23 18:07:27 +00:00
Dave Abrahams
0b33d1800d
automatic conversion to object for add_property()
...
[SVN r15065]
2002-08-23 04:15:37 +00:00
Dave Abrahams
946942214f
Some simplifications
...
[SVN r15064]
2002-08-22 20:23:27 +00:00
Dave Abrahams
0b02fd4e99
Use make_tuple()
...
[SVN r15062]
2002-08-22 19:08:16 +00:00
Ralf W. Grosse-Kunstleve
2f89a8eb58
additional tests for X::foo
...
[SVN r15056]
2002-08-22 15:23:25 +00:00
Dave Abrahams
26d3375900
Added make_tuple() tests
...
[SVN r15055]
2002-08-22 13:57:12 +00:00
Dave Abrahams
e1099e9370
Added make_tuple
...
[SVN r15052]
2002-08-22 13:20:58 +00:00
Joel de Guzman
cfb1aebf66
+ Added Ralf's test code
...
+ Fixed defaults_gen MACRO generation
+ Fixed signature for const member functions
[SVN r15047]
2002-08-22 05:23:45 +00:00
Dave Abrahams
e4f54bd53a
Strip out overstrike junk
...
[SVN r15040]
2002-08-21 18:46:14 +00:00
Dave Abrahams
30ea4dd46e
idiomatic cleanup
...
[SVN r15032]
2002-08-21 15:19:06 +00:00
Dave Abrahams
d5c33a203d
simplify
...
[SVN r15030]
2002-08-21 15:15:13 +00:00
Joel de Guzman
a9bb2a017e
VC6 workarounds
...
[SVN r15026]
2002-08-21 13:46:16 +00:00
Dave Abrahams
8a049b8ee7
Added missing &
...
[SVN r15023]
2002-08-21 12:20:26 +00:00
Dave Abrahams
3e61803e89
simplification
...
[SVN r15020]
2002-08-21 01:48:03 +00:00
Dave Abrahams
3173d88f3f
dump help without prompting
...
[SVN r15019]
2002-08-21 01:47:48 +00:00
Joel de Guzman
d66b79f468
added defaults test from v2-dev branch
...
[SVN r15017]
2002-08-21 00:04:06 +00:00
Dave Abrahams
4bd680cec8
VC6 workaround
...
[SVN r15009]
2002-08-20 21:15:54 +00:00
Joel de Guzman
78ae892db6
Committed the defaults stuff
...
(integrated from v2-dev branch)
[SVN r15008]
2002-08-20 21:09:59 +00:00
Dave Abrahams
b77262ba13
Added nested class test
...
[SVN r14980]
2002-08-20 00:41:17 +00:00
Dave Abrahams
1a7b331a4b
Take advantage of independent class_<> definitions everywhere.
...
[SVN r14976]
2002-08-19 22:21:03 +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
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
f7b1e4ec09
Unit test adjustments
...
[SVN r14802]
2002-08-13 04:25:23 +00:00
Dave Abrahams
e6830b2c19
Add dependency on test_exec_monitor
...
[SVN r14801]
2002-08-13 03:06:00 +00:00
Dave Abrahams
fe3cf386c3
Python->C++ exception translation
...
[SVN r14800]
2002-08-13 00:45:09 +00:00
Dave Abrahams
0a6a213891
Added a test for add_property
...
[SVN r14799]
2002-08-13 00:43:51 +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