Mike Owen
37dcfcb514
Adding the beginnings of an example for cross module inheritance. Not
...
building yet 'cause I don't understand waf. Why does every project I
look at use a different build system!
2012-12-10 23:26:25 -08:00
Mike Owen
2560c98f5e
1. Debugged some of our new sequence methods and expanded on the error reporting a bit.
...
2. Commenting out the automatic tp_hash method for now since it's not quite right. We have to
go back and see why Riyaz originally reinstated that thing.
3. Expanded the pybindgen unit tests of "VectorLike" to include all the new container slots.
2012-12-10 16:39:14 -08:00
Mike Owen
47a8ab2c1e
Adding exception setting to our error conditions in the container
...
methods.
2012-12-09 23:40:17 -08:00
Mike Owen
ca849e25d7
Initial merge of the latest pybindgen (0.16) with our extensions for containers.
2012-12-09 14:38:49 -08:00
Gustavo J. A. M. Carneiro
3b5e055dae
Add a boost::shared_ptr<> example
2012-08-25 12:52:28 +01:00
Gustavo J. A. M. Carneiro
a17ce14a6e
More boost::shared_ptr tests/fixes, seems stable now.
2012-08-24 19:11:24 +01:00
Gustavo J. A. M. Carneiro
4f64044480
Fix minor bug in size_t return type handler
2012-08-24 16:05:38 +01:00
Gustavo J. A. M. Carneiro
33f9f727fe
Initial support for boost::shared_ptr-wrapped classes
2012-08-23 19:00:57 +01:00
Gustavo J. A. M. Carneiro
d5c2ec49cb
Fix PYTHONPATH for unit tests
2012-08-20 18:05:10 +01:00
Gustavo J. A. M. Carneiro
a4ab786a63
Don't use deprecated bzrlib API (revision_history)
2012-08-20 17:49:25 +01:00
Gustavo J. A. M. Carneiro
efcf8e22e2
ignore *.pstat files from waf dist
0.16.0
2012-08-20 16:35:53 +01:00
Gustavo J. A. M. Carneiro
809f01ba6d
Fix waf dist to work with waf 1.6.11
2012-08-20 16:33:13 +01:00
Gustavo J. A. M. Carneiro
9429bd5eab
Update NEWS
2012-08-20 16:00:49 +01:00
Gustavo J. A. M. Carneiro
d4ef7e90cf
Add uint16_t* type handler
2012-07-11 15:49:11 +01:00
Gustavo J. A. M. Carneiro
7bc52d9c0c
Allow a virtual method returning Class* with caller_owns_return=True, even when the class is not copyable, by stealing the original pointer.
2012-06-18 15:15:09 +01:00
Michael Brown
692698b0a7
Glib::ustring mapping fails with non ascii-7 characters
2012-06-02 12:25:13 +01:00
Gustavo J. A. M. Carneiro
f9d39f961a
Handle default_value in py2c of containers
2012-05-15 15:46:03 +01:00
Gustavo J. A. M. Carneiro
c3f5dd8aae
Trying, in vain, to reproduce bug #798383...
2012-05-04 18:31:31 +01:00
Gustavo J. A. M. Carneiro
003d69124e
Don't unit-test Glib:: types, as it requires special headers
2012-05-04 16:18:01 +01:00
Michael Brown
ec47024455
Add support for Glib::ustring
2012-05-04 16:17:27 +01:00
Gustavo J. A. M. Carneiro
7fcb02087b
Fix waf --generate-version bug since waf upgrade
2012-03-23 10:53:53 +00:00
dan-eicher
98e97835c7
CppClass.mangle() error
2012-03-18 22:31:53 +00:00
Gustavo J. A. M. Carneiro
2ae14a0852
Generation bug: local variables conflict with wrapper parameters
2012-03-18 22:28:23 +00:00
Gustavo J. A. M. Carneiro
7af8548ed5
Remove the note about the custom WAF
2012-03-18 22:10:32 +00:00
Gustavo J. A. M. Carneiro
a8797ed2ae
pybindgen.settings.deprecated_virtuals default value changed to False
2012-03-18 22:01:23 +00:00
Gustavo J. A. M. Carneiro
4737c636bf
Make the examples build with the new WAF
2012-03-18 21:54:36 +00:00
Gustavo J. A. M. Carneiro
07146e80ae
Upgrade to WAF 1.6.11; building examples temporarily broken...
2012-03-18 18:50:39 +00:00
Alex Afanasyev
815a44a713
Add spaces in std::pair just in case
2012-02-29 21:29:08 +00:00
Gustavo J. A. M. Carneiro
ced5c014dc
Add some more (char*) typecasts to suppress warnings with Python 2.4 and recent GCC
2012-02-20 12:01:39 +00:00
Gustavo J. A. M. Carneiro
f481166e93
Add std::size_t type alias
2011-10-27 19:05:48 +01:00
Gustavo J. A. M. Carneiro
f3e00b1ecb
Add setting to disable usage of internal GCC abi to check rtti stuff
2011-08-07 16:51:57 +01:00
Claudio Freire
811470ae34
cppclass _generate_import_from_module generates invalid return at module initialization time
2011-07-20 12:42:04 +01:00
Gustavo J. A. M. Carneiro
6e01487ac3
Fix typo in previous patch
2011-07-20 12:25:52 +01:00
Gustavo J. A. M. Carneiro
ac966d7dd2
Cannot allow subclassing if a destructor is private
2011-07-19 19:49:04 +01:00
Gustavo J. A. M. Carneiro
daffb90e2f
Don't wrap template instantiation classes when one of the template parameters is a private class
2011-07-19 19:39:45 +01:00
Gustavo J. A. M. Carneiro
0b7f23150b
returning const* doesn't work with 'reference_existing_object'
2011-06-22 14:30:27 +01:00
Gustavo J. A. M. Carneiro
b7094b55fe
Add new destructor_visibility CppClass option
2011-06-16 11:49:20 +01:00
Gustavo J. A. M. Carneiro
bb0d076a88
Add a buffer example
2011-06-12 12:40:18 +01:00
Gustavo J. A. M. Carneiro
3ac1a30e35
Bug #780945 : Exception translation generates invalid code if return value is wrapped (i.e. not primitive)
2011-05-11 16:14:39 +01:00
Gustavo J. A. M. Carneiro
7ba02242f8
Add support for 'throw' annotations in functions and methods
2011-05-10 19:10:18 +01:00
Gustavo J. A. M. Carneiro
2d10262b28
Disable the char+int type registrations, they cause unit test build failures
2011-04-15 13:47:40 +01:00
Mathieu Lacage
b9aa718f8b
Add more int type handlers.
2011-04-15 13:43:34 +01:00
Mathieu Lacage
668e952688
Add some integer type aliases
2011-04-13 10:41:03 +01:00
Gustavo J. A. M. Carneiro
a5b2f0a1c0
Fix a cross-dll TypeMap bug
2011-04-04 19:42:55 +01:00
Gustavo J. A. M. Carneiro
d35303cc3b
Add some missing python wrapper flags initializations
2011-04-04 12:30:47 +01:00
Gustavo J. A. M. Carneiro
6727327367
Add __str__ for CppConstructor, to ease debugging
2011-03-30 18:06:07 +01:00
Gustavo J. A. M. Carneiro
7f4ef9ae4e
Be less verbose with error importing wrapper registries from other modules
2011-03-27 16:17:55 +01:00
Gustavo J. A. M. Carneiro
9e883068ad
Remove the boost::shared_ptr example, it is broken anyhow
2011-03-22 16:28:52 +00:00
Gustavo J. A. M. Carneiro
2c53d311f1
Fix submodule init function name generation to avoid name clashes
2011-03-20 15:15:47 +00:00
Gustavo J. A. M. Carneiro
a638217c9f
import_from_module bug fixes
2011-03-12 18:33:42 +00:00