Commit Graph
430 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 1db3ca6de0 Same thing for add_enum 2008-05-11 21:30:09 +01:00
Gustavo J. A. M. Carneiro c86999db3d ModuleBase.add_class directly creates the class now (Mathieu's API suggestion) 2008-05-11 21:22:07 +01:00
Gustavo J. A. M. Carneiro b8de96c5db Turn the documentation examples into doctests 2008-05-11 18:49:50 +01:00
Gustavo J. A. M. Carneiro 471908f458 Documentation (module) 2008-05-11 18:43:32 +01:00
Gustavo J. A. M. Carneiro 670f70638b Split the class Module into ModuleBase, Module, and SubModule (should address some concerns by Mathieu Lacage) 2008-05-11 15:37:29 +01:00
Gustavo J. A. M. Carneiro 01a68a267f We require Python >= 2.3, not 2.4. 2008-05-11 15:08:59 +01:00
Gustavo J. A. M. Carneiro e39021291a merge from the gccxml-to-python branch 2008-05-07 17:59:27 +01:00
Gustavo J. A. M. Carneiro b1641fd3e7 pygen implicit conversions 2008-05-07 17:57:44 +01:00
Gustavo J. A. M. Carneiro 21374694f7 pygen implicit constructor 2008-05-07 16:27:28 +01:00
Gustavo J. A. M. Carneiro 44b569a509 Hide the --generate-version option if not running from a bzr branch 2008-05-07 11:56:08 +01:00
Gustavo J. A. M. Carneiro fea45edd18 Add --examples option (only compiles examples if this option is given); add a PyBindGen option group, for prettier help output. 2008-05-07 11:48:48 +01:00
Gustavo J. A. M. Carneiro 3b9f2c560a merge 2008-05-07 11:31:14 +01:00
Gustavo J. A. M. Carneiro 44b5b52182 missing file :-/ 2008-05-07 11:30:40 +01:00
Gustavo J. A. M. Carneiro 66cc1b3476 From Mathieu Lacage: a couple more examples (nested C++ namespaces, nested classes) 2008-05-07 11:23:56 +01:00
Gustavo J. A. M. Carneiro abd50a82fa ignore methods that are private and not virtual or pure virtual, as they do not affect the bindings in any way and only clutter the generated python script. 2008-05-04 22:34:40 +01:00
Gustavo J. A. M. Carneiro 4ab5868cff Always use Parameter.new and ReturnValue.new, to make the generated python code simpler 2008-05-04 21:23:46 +01:00
Gustavo J. A. M. Carneiro fec977ed16 pygen function-as-method and function-as-constructor 2008-05-04 20:03:24 +01:00
Gustavo J. A. M. Carneiro d04c71ccad pygen enums 2008-05-04 19:19:55 +01:00
Gustavo J. A. M. Carneiro 8beec32b81 'pygen' plain functions 2008-05-04 18:45:36 +01:00
Gustavo J. A. M. Carneiro f400ed60b2 generate python code when abstract classes are detected 2008-05-04 17:58:45 +01:00
Gustavo J. A. M. Carneiro a7ea12220c Fix foo3 module build system integration 2008-05-04 17:39:16 +01:00
Gustavo J. A. M. Carneiro 29fa6466bc Allow changing module name after it is created 2008-05-04 17:38:54 +01:00
Gustavo J. A. M. Carneiro 36fdd04aa2 missing register_methods() call 2008-05-04 17:36:06 +01:00
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