782aced20b
Adding a unit test of cppclass.add_custom_instance_attribute. I think this completes tests of all our new features for pybindgen in this branch.
Mike Owen
2012-12-11 22:42:19 -08:00
d937627c70
1. Putting in logic to only build the boost::shared_ptr test when the shared_ptr header is available.
Mike Owen
2012-12-11 22:10:45 -08:00
8fe7c68b7f
Testing shows we forgot to keep the cppcustomattribute import in cppclass.
Mike Owen
2012-12-11 16:47:36 -08:00
cd928374b0
The cross module inheritance example is now working. Aside from my figuring out waf, there are two key things that were necessary:
Mike Owen
2012-12-11 16:01:44 -08:00
8b334800da
Working on getting the darn cross module thing to compile with waf. We're almost there, but I think we need to figure how to tell it to link to A.
Mike Owen
2012-12-11 10:58:01 -08:00
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!
Mike Owen
2012-12-10 23:26:25 -08:00
2560c98f5e
1. Debugged some of our new sequence methods and expanded on the error reporting a bit.
Mike Owen
2012-12-10 16:39:14 -08:00
47a8ab2c1e
Adding exception setting to our error conditions in the container methods.
Mike Owen
2012-12-09 23:40:17 -08:00
ca849e25d7
Initial merge of the latest pybindgen (0.16) with our extensions for containers.
Mike Owen
2012-12-09 14:38:49 -08:00
4852c1bc65
Merge Dan Eicher's py3k branch
Gustavo J. A. M. Carneiro
2012-09-04 11:54:34 +01:00
3b5e055dae
Add a boost::shared_ptr<> example
Gustavo J. A. M. Carneiro
2012-08-25 12:52:28 +01:00
a17ce14a6e
More boost::shared_ptr tests/fixes, seems stable now.
Gustavo J. A. M. Carneiro
2012-08-24 19:11:24 +01:00
4f64044480
Fix minor bug in size_t return type handler
Gustavo J. A. M. Carneiro
2012-08-24 16:05:38 +01:00
33f9f727fe
Initial support for boost::shared_ptr-wrapped classes
Gustavo J. A. M. Carneiro
2012-08-23 19:00:57 +01:00
d5c2ec49cb
Fix PYTHONPATH for unit tests
Gustavo J. A. M. Carneiro
2012-08-20 18:05:10 +01:00
a4ab786a63
Don't use deprecated bzrlib API (revision_history)
Gustavo J. A. M. Carneiro
2012-08-20 17:49:25 +01:00
efcf8e22e2
ignore *.pstat files from waf dist
0.16.0
Gustavo J. A. M. Carneiro
2012-08-20 16:35:53 +01:00
809f01ba6d
Fix waf dist to work with waf 1.6.11
Gustavo J. A. M. Carneiro
2012-08-20 16:33:13 +01:00
9429bd5eab
Update NEWS
Gustavo J. A. M. Carneiro
2012-08-20 16:00:49 +01:00
d4ef7e90cf
Add uint16_t* type handler
Gustavo J. A. M. Carneiro
2012-07-11 15:49:11 +01:00
7bc52d9c0c
Allow a virtual method returning Class* with caller_owns_return=True, even when the class is not copyable, by stealing the original pointer.
Gustavo J. A. M. Carneiro
2012-06-18 15:15:09 +01:00
692698b0a7
Glib::ustring mapping fails with non ascii-7 characters
Michael Brown
2012-06-02 12:25:13 +01:00
f9d39f961a
Handle default_value in py2c of containers
Gustavo J. A. M. Carneiro
2012-05-15 15:46:03 +01:00
c3f5dd8aae
Trying, in vain, to reproduce bug #798383...
Gustavo J. A. M. Carneiro
2012-05-04 18:31:31 +01:00
003d69124e
Don't unit-test Glib:: types, as it requires special headers
Gustavo J. A. M. Carneiro
2012-05-04 16:18:01 +01:00
ec47024455
Add support for Glib::ustring
Michael Brown
2012-05-04 16:17:27 +01:00
7fcb02087b
Fix waf --generate-version bug since waf upgrade
Gustavo J. A. M. Carneiro
2012-03-23 10:53:53 +00:00
2ae14a0852
Generation bug: local variables conflict with wrapper parameters
Gustavo J. A. M. Carneiro
2012-03-18 22:28:23 +00:00
7af8548ed5
Remove the note about the custom WAF
Gustavo J. A. M. Carneiro
2012-03-18 22:10:32 +00:00
a8797ed2ae
pybindgen.settings.deprecated_virtuals default value changed to False
Gustavo J. A. M. Carneiro
2012-03-18 22:01:23 +00:00
4737c636bf
Make the examples build with the new WAF
Gustavo J. A. M. Carneiro
2012-03-18 21:54:36 +00:00
07146e80ae
Upgrade to WAF 1.6.11; building examples temporarily broken...
Gustavo J. A. M. Carneiro
2012-03-18 18:50:39 +00:00
815a44a713
Add spaces in std::pair just in case
Alex Afanasyev
2012-02-29 21:29:08 +00:00
ced5c014dc
Add some more (char*) typecasts to suppress warnings with Python 2.4 and recent GCC
Gustavo J. A. M. Carneiro
2012-02-20 12:01:39 +00:00
fa1ab6bd65
fixed indenting
Dan Eicher
2011-12-24 17:51:36 -07:00
a9b0651eed
bzr merge lp:pybindgen -r794..796
Dan Eicher
2011-12-24 15:58:00 -07:00
0a7445be4a
mangle_name to replace duplicated code
Dan Eicher
2011-12-24 15:19:54 -07:00
f481166e93
Add std::size_t type alias
Gustavo J. A. M. Carneiro
2011-10-27 19:05:48 +01:00
f3e00b1ecb
Add setting to disable usage of internal GCC abi to check rtti stuff
Gustavo J. A. M. Carneiro
2011-08-07 16:51:57 +01:00
f8fd83b08c
Merged with upstream
Dan Eicher
2011-08-03 05:34:19 -07:00
811470ae34
cppclass _generate_import_from_module generates invalid return at module initialization time
Claudio Freire
2011-07-20 12:42:04 +01:00
6e01487ac3
Fix typo in previous patch
Gustavo J. A. M. Carneiro
2011-07-20 12:25:52 +01:00
ac966d7dd2
Cannot allow subclassing if a destructor is private
Gustavo J. A. M. Carneiro
2011-07-19 19:49:04 +01:00
daffb90e2f
Don't wrap template instantiation classes when one of the template parameters is a private class
Gustavo J. A. M. Carneiro
2011-07-19 19:39:45 +01:00
0b7f23150b
returning const* doesn't work with 'reference_existing_object'
Gustavo J. A. M. Carneiro
2011-06-22 14:30:27 +01:00
b7094b55fe
Add new destructor_visibility CppClass option
Gustavo J. A. M. Carneiro
2011-06-16 11:49:20 +01:00
bb0d076a88
Add a buffer example
Gustavo J. A. M. Carneiro
2011-06-12 12:40:18 +01:00
3ac1a30e35
Bug #780945: Exception translation generates invalid code if return value is wrapped (i.e. not primitive)
Gustavo J. A. M. Carneiro
2011-05-11 16:14:39 +01:00
7ba02242f8
Add support for 'throw' annotations in functions and methods
Gustavo J. A. M. Carneiro
2011-05-10 19:10:18 +01:00
2d10262b28
Disable the char+int type registrations, they cause unit test build failures
Gustavo J. A. M. Carneiro
2011-04-15 13:47:40 +01:00
b9aa718f8b
Add more int type handlers.
Mathieu Lacage
2011-04-15 13:43:34 +01:00
668e952688
Add some integer type aliases
Mathieu Lacage
2011-04-13 10:41:03 +01:00
a5b2f0a1c0
Fix a cross-dll TypeMap bug
Gustavo J. A. M. Carneiro
2011-04-04 19:42:55 +01:00
d35303cc3b
Add some missing python wrapper flags initializations
Gustavo J. A. M. Carneiro
2011-04-04 12:30:47 +01:00
6727327367
Add __str__ for CppConstructor, to ease debugging
Gustavo J. A. M. Carneiro
2011-03-30 18:06:07 +01:00
7f4ef9ae4e
Be less verbose with error importing wrapper registries from other modules
Gustavo J. A. M. Carneiro
2011-03-27 16:17:55 +01:00
9e883068ad
Remove the boost::shared_ptr example, it is broken anyhow
Gustavo J. A. M. Carneiro
2011-03-22 16:28:52 +00:00
2c53d311f1
Fix submodule init function name generation to avoid name clashes
Gustavo J. A. M. Carneiro
2011-03-20 15:15:47 +00:00
a638217c9f
import_from_module bug fixes
Gustavo J. A. M. Carneiro
2011-03-12 18:33:42 +00:00
2cbd986fbc
Add a boost::shared_ptr example
Gustavo J. A. M. Carneiro
2011-02-23 15:16:27 +00:00
ffebdff24b
py3k: convert ob_refcnt access to use Py_REFCNT macro
Dan Eicher
2011-01-27 15:58:39 -07:00
16ec904648
merge bugfix from main branch
Dan Eicher
2011-01-27 15:52:31 -07:00
88203d7ff9
In CppClassPtrParameter c-to-python out/inout case, fix the case where the class has no copy-constructor
dan-eicher
2011-01-27 18:28:01 +00:00
3d5389f88c
Fix testing of CppClassPtrParameter in reverse wrappers.
Gustavo J. A. M. Carneiro
2011-01-27 18:18:05 +00:00
8aaf0c072d
Merge from main branch
Dan Eicher
2011-01-21 14:40:58 -07:00
212ab88379
Fix a CStringReturn bug
Gustavo J. A. M. Carneiro
2011-01-21 11:55:01 +00:00
444ad69dbc
python 3 support
Dan Eicher
2011-01-18 19:18:34 -07:00
d5e595d270
Add API to allow importing classes and enumerations from external modules (import_from_module parameter)
Gustavo J. A. M. Carneiro
2010-11-05 23:00:10 +00:00
a95fe6e49b
bump version
0.15.0
Gustavo J. A. M. Carneiro
2010-08-16 00:04:12 +01:00
5ca394ab1a
Fix segfault when using custodian=0 with default_value
sean ross
2010-07-24 17:21:52 +01:00
7a5d5347d7
Optimization: eliminate duplicate #includes from wrapper_registry.
Gustavo J. A. M. Carneiro
2010-07-20 13:42:20 +01:00
f89966ab4d
Add a simple callback example.
Gustavo J. A. M. Carneiro
2010-05-19 11:59:35 +01:00
95032f3511
Fix bug in _MonolithicSinkManager causing module.headers to not be written guaranteed before module.body
Gustavo J. A. M. Carneiro
2010-05-19 11:59:27 +01:00
9c3d5c1a25
New API, CppClass.set_post_instance_creation_function, to meet ns3::Object's needs.
Gustavo J. A. M. Carneiro
2010-05-06 13:51:33 +01:00
f39b9a8a19
merge
Gustavo J. A. M. Carneiro
2010-04-22 10:58:45 +01:00
3ac3341f1b
Fixing the return string of the get_free_code method
Lincoln de Sousa
2010-04-21 22:15:14 -03:00
e757603bf0
Bump version in docs
0.14.1
Gustavo J. A. M. Carneiro
2010-04-21 10:44:19 +01:00
50b724b842
remove leftover debug print
Gustavo J. A. M. Carneiro
2010-04-16 14:58:28 +01:00
449883ba46
Fix multiple-inheritance bug
Gustavo J. A. M. Carneiro
2010-04-16 12:56:47 +01:00
1e0802781d
Add 'short unsigned int' as alias for uint16_t
Gustavo J. A. M. Carneiro
2010-04-06 15:33:59 +01:00
17e2f195ce
Support default_value in char* parameters (Question #106449)
Gustavo J. A. M. Carneiro
2010-04-05 11:22:51 +01:00
187802de16
fix the doctest after exception value changed
Gustavo J. A. M. Carneiro
2010-04-05 11:14:52 +01:00
031624ea45
Add detail to the exception
Gustavo J. A. M. Carneiro
2010-03-25 13:51:18 +00:00
bffbcec821
Add container support for std::dequeue, as synonym for the more correct std::deque
Gustavo J. A. M. Carneiro
2010-03-13 17:49:48 +00:00
c68ef5bc6f
More README improvements, specifically win32 related
Gustavo J. A. M. Carneiro
2010-02-16 19:32:10 +00:00
7e44db96fd
Fix some MSVC warnings
Gustavo J. A. M. Carneiro
2010-02-16 18:54:51 +00:00
40e90b93c2
Check for stdint.h; if not found use Paul Hsieh's pstdint.h.
Gustavo J. A. M. Carneiro
2010-02-16 15:40:49 +00:00
48325a0256
Update README
Gustavo J. A. M. Carneiro
2010-02-16 15:39:29 +00:00
8866cc905d
Tutorial: fix first-example URL, add MSVC build instructions from T Powers
Gustavo J. A. M. Carneiro
2010-02-14 16:10:02 +00:00
39db96d5b2
Add missing 'throw' modifiers as needed to method signatures in helper classes
Gustavo J. A. M. Carneiro
2010-02-14 11:57:12 +00:00
f46b8fffa0
Fix bug #521196: wscript overwrites PYTHONPATH
Gustavo J. A. M. Carneiro
2010-02-14 11:44:56 +00:00
5b2e257edc
docs..
0.14.0
Gustavo J. A. M. Carneiro
2010-02-07 18:22:41 +00:00
7f1d3737af
Update NEWS for release
Gustavo J. A. M. Carneiro
2010-02-07 18:19:29 +00:00
b6fe367e61
Fix compatibility with Python < 2.5 (missing any())
Gustavo J. A. M. Carneiro
2010-02-03 17:51:41 +00:00
a0ab3b9e28
multiple-inheritance: gccxml scanning part
Gustavo J. A. M. Carneiro
2010-01-31 16:54:21 +00:00
56475d27f8
Experimental support for multiple-inheritance. GccXml scanning part not done yet.
Gustavo J. A. M. Carneiro
2010-01-30 22:01:22 +00:00
121c1898d0
Add annotation support for instance attributes, and test pointer instance attribute.
Gustavo J. A. M. Carneiro
2010-01-20 18:15:50 +00:00
225436e711
Wrap enum pointer params
Gustavo J. A. M. Carneiro
2010-01-19 11:00:21 +00:00