Commit Graph
387 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro a01f1e4e04 documentation work 2008-04-29 22:25:24 +01:00
Gustavo J. A. M. Carneiro 21f2d54fd2 Add the d, e, and f examples from Mathieu 2008-04-28 15:57:20 +01:00
Gustavo J. A. M. Carneiro 6a153d4bf1 Missing stddef.h import to get the definition of offsetof 2008-04-28 15:55:51 +01:00
Gustavo J. A. M. Carneiro 5af610271e Remove the typeid stuff from tp_traverse; it does not seem to be needed anymore (don't remember why I added it in the first place...). 2008-04-28 15:55:16 +01:00
Gustavo J. A. M. Carneiro 82b64a2543 Add Mathieu's 'c' example 2008-04-28 14:14:22 +01:00
Gustavo J. A. M. Carneiro e7f5ea6cac fix a small bug 2008-04-28 14:13:10 +01:00
Gustavo J. A. M. Carneiro 4179a5c06a Add the 'b' example from Mathieu 2008-04-28 12:58:29 +01:00
Gustavo J. A. M. Carneiro 6c5f4f3c0b Add the 'a' example from Mathieu 2008-04-28 12:49:30 +01:00
Gustavo J. A. M. Carneiro 81b4f530b8 Move the former 'examples' into tests/, as they evolved to become more unit tests than examples. 2008-04-28 12:19:25 +01:00
Gustavo J. A. M. Carneiro a85302aedd Add rules for generating API docs (epydoc). 2008-04-28 12:00:44 +01:00
Gustavo J. A. M. Carneiro d6fd6f4d96 Tweak PYTHONPATH to consider latest WAF 1.4.1 python support changes. 2008-04-27 21:51:03 +01:00
Gustavo J. A. M. Carneiro bdfe6dbd57 Fix a WAF version detection bug 2008-04-26 22:44:38 +01:00
Gustavo J. A. M. Carneiro 5d8f76b2c6 Add missing support for the combination of CppClass parameter wich has implicit conversions (to it) and also a default value. 2008-04-24 00:32:03 +01:00
Gustavo J. A. M. Carneiro f03583993e Try to convert unicode objects to str if they're ascii, rather than asserting they're already str objects. 2008-04-23 11:11:24 +01:00
Gustavo J. A. M. Carneiro 45a4ee5d7e Handle optional parameter followed by non-optional better. 2008-04-21 17:56:29 +01:00
Gustavo J. A. M. Carneiro 810a286f8f More correct handling of default values 2008-04-21 17:56:02 +01:00
Gustavo J. A. M. Carneiro 1c1aa0f22a Implement std::string default value. 2008-04-21 17:55:20 +01:00
Gustavo J. A. M. Carneiro 4274e7083c Make it work with both WAF trunk and WAF 1.3.2 2008-04-21 11:44:57 +01:00
Gustavo J. A. M. Carneiro 538a65cacf Support C++ class reference parameters with default values (crazy as it may sound) 2008-04-20 19:54:01 +01:00
Gustavo J. A. M. Carneiro 6da3c7f2b0 Don't run gccxml based unit tests when gccxml is not available. 2008-04-20 12:26:24 +01:00
Gustavo J. A. M. Carneiro ee5402f265 Some wscript tweaks to make it build with waf trunk (tested with rev. 3169) 2008-04-19 22:52:34 +01:00
Gustavo J. A. M. Carneiro eb8d2551f6 Implement parameter default value for CppClass parameters 2008-04-06 13:10:09 +01:00
Gustavo J. A. M. Carneiro 49b0a6a26b Add support for parameter optional values, so far implemented only for int and double parameter types. 2008-04-06 12:57:34 +01:00
Gustavo J. A. M. Carneiro d9acf4ca6e Emit a warning giving information on which type handler was being constructed when a TypeError exception is raised inside Parameter.new() or ReturnValue.new(). 2008-04-06 12:38:29 +01:00
Gustavo J. A. M. Carneiro 16035f7dc6 Remove the silly "Cannot add virtual methods if subclassing support was not enabled for this class" restriction. 2008-03-24 15:43:17 +00:00
Gustavo J. A. M. Carneiro 9a8c41eee2 Improved algorithm for deciding if a class constructor can be generated due to pure virtual functions. 2008-03-24 15:37:20 +00:00
Gustavo J. A. M. Carneiro 7a4e9fea49 Add ability to add custom C++ class constructors. 2008-03-23 19:04:00 +00:00
Gustavo J. A. M. Carneiro c9ff6f535d Add CppClass.is_subclass method. 2008-03-23 19:03:38 +00:00
Gustavo J. A. M. Carneiro cfe32a71b3 Handle the utils.SkipWrapper exception when genering the constructor 2008-03-22 18:26:20 +00:00
Gustavo J. A. M. Carneiro fc7083eacc Check for the have_pure_virtual_methods flag recursively in parent classes. 2008-03-22 18:21:30 +00:00
Gustavo J. A. M. Carneiro a7bacc8315 Support adding constructors which generate an error exception (and therefore should be just gracefully ignored). 2008-03-22 16:30:39 +00:00
Gustavo J. A. M. Carneiro 6fbd1c3bf3 Apparently, in C++ implicit conversions are not transitive. 2008-03-22 14:51:00 +00:00
Gustavo J. A. M. Carneiro 944cef3e14 Re-implement implicit conversions using a non-combinatorial approach, for greater efficiency. 2008-03-21 18:10:42 +00:00
Gustavo J. A. M. Carneiro f9baba1bc9 Add __repr__ to CppClass 2008-03-16 19:17:02 +00:00
Gustavo J. A. M. Carneiro eee739fcdc template typedefs are not supposed to be incomplete types 2008-03-16 18:37:39 +00:00
Gustavo J. A. M. Carneiro d521e25769 Handle NotSupportedError pybindgen errors gracefully. 2008-03-16 18:26:02 +00:00
Gustavo J. A. M. Carneiro 4e3901e308 Fix bug with casting operators to non-class types. 2008-03-16 18:18:52 +00:00
Gustavo J. A. M. Carneiro 9c9e6fd87f C related bug fixes 2008-03-09 18:42:48 +00:00
Gustavo J. A. M. Carneiro c71e736144 Test the "typedef int Bool" handling. 2008-03-09 14:57:44 +00:00
Gustavo J. A. M. Carneiro 73edd70355 handle "typedef int Something;" 2008-03-08 21:47:28 +00:00
Gustavo J. A. M. Carneiro c2731d1605 minor bug fixes 2008-03-08 21:32:01 +00:00
Gustavo J. A. M. Carneiro 42ceadc2df Add news item (improved C support) 2008-03-02 21:31:24 +00:00
Gustavo J. A. M. Carneiro f105b2b865 Cleanup delete_code generation, fix unused tmp variable. 2008-03-02 21:28:32 +00:00
Gustavo J. A. M. Carneiro bd11af0076 fix the unit tests 2008-03-02 19:36:36 +00:00
Gustavo J. A. M. Carneiro 4f7fc5a758 cleanup 2008-03-02 19:36:25 +00:00
Gustavo J. A. M. Carneiro 74e2c92e3a Add support for changing the name by which a class is registered in python side 2008-03-02 19:31:56 +00:00
Gustavo J. A. M. Carneiro 4a86c2b617 is_constructor_of annotation; unit tests (not fully working yet) 2008-03-02 18:05:47 +00:00
Gustavo J. A. M. Carneiro d4c3999bc4 Add support for c-function-as-constructor (for is_constructor_of annotation). 2008-03-02 18:04:31 +00:00
Gustavo J. A. M. Carneiro e516167a5d Refactoring to support C structs as classes (typedef struct _Foo Foo). Work in progress... 2008-03-02 15:47:27 +00:00
Gustavo J. A. M. Carneiro 1d3da16f4c Add support for pre/post scan hooks. 2008-03-02 12:41:57 +00:00