Commit Graph
607 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro a538c34f30 Factor out the common portions of foomodulegen and foomodulegen-auto into a common python module 2008-05-04 16:25:42 +01:00
Gustavo J. A. M. Carneiro 0431ead720 stupid bug 2008-05-04 16:24:56 +01:00
Gustavo J. A. M. Carneiro 8eae263419 Integrate generation of python scripts into unit testing framework. Naturally not all tests pass because work is not yet complete. 2008-05-04 01:34:57 +01:00
Gustavo J. A. M. Carneiro ccdbceac9f python generation now takes care of class methods, constructors, and member variables; missing: functions 2008-05-04 01:33:33 +01:00
Gustavo J. A. M. Carneiro 80e0c2897b Add a CppClass mangled_full_name attribute. 2008-05-04 01:33:03 +01:00
Gustavo J. A. M. Carneiro 73dfc384c6 pygen: register types of nested modules 2008-05-02 16:45:18 +01:00
Gustavo J. A. M. Carneiro e5422909e3 make pylint a little happier 2008-05-02 13:20:59 +01:00
Gustavo J. A. M. Carneiro 756bf4b749 First small steps to generate python scripts.. for now only classes at the root namespace.. 2008-05-02 00:01:03 +01:00
Gustavo J. A. M. Carneiro 0148bbf3fe Fix the built test modules path (waf check was testing installed modules!) 2008-05-01 19:56:51 +01:00
Gustavo J. A. M. Carneiro 3732021ead register class aliases with the module type registry as well 2008-05-01 19:45:50 +01:00
Gustavo J. A. M. Carneiro 48946bca98 refactoring 2008-05-01 19:45:10 +01:00
Gustavo J. A. M. Carneiro 673e704c6f Fix Module.cpp_namespace_prefix so that it never starts with :: 2008-05-01 17:40:44 +01:00
Gustavo J. A. M. Carneiro 01a70bdbe3 Allow also accessing enums/classes of nested modules from the main module 2008-04-30 18:37:27 +01:00
Gustavo J. A. M. Carneiro 16ccaea5f4 clean files even when they are not to be compiled 2008-04-30 17:41:43 +01:00
Gustavo J. A. M. Carneiro 954fc28691 Add Module support for easy accessing classes and enums by name 2008-04-30 17:41:01 +01:00
Gustavo J. A. M. Carneiro d9dfd6a6ea Remove the workarounds for waf bug #37 2008-04-30 16:23:24 +01:00
Gustavo J. A. M. Carneiro d64504fde4 Generate version before API docs 2008-04-30 12:35:01 +01:00
Gustavo J. A. M. Carneiro 31fae59c6f Short introduction sections 2008-04-30 12:28:37 +01:00
Gustavo J. A. M. Carneiro dedbed2820 Use Module.add_include 2008-04-30 12:25:44 +01:00
Gustavo J. A. M. Carneiro b249f655b0 Fix the documentation of __version__ 2008-04-29 22:32:07 +01:00
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