Gustavo J. A. M. Carneiro
|
ee6589e95d
|
Update tests/examples to use new add_constructor API
|
2008-05-19 14:19:15 +01:00 |
|
Gustavo J. A. M. Carneiro
|
0ae02adc89
|
New constructor API
|
2008-05-19 12:04:17 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f2efe6436b
|
doc fix
|
2008-05-19 11:50:22 +01:00 |
|
Gustavo J. A. M. Carneiro
|
20b5de3385
|
CppClass.add_method simplifications
|
2008-05-18 21:49:37 +01:00 |
|
Gustavo J. A. M. Carneiro
|
4330c92482
|
remove FIXME
|
2008-05-18 18:59:05 +01:00 |
|
Gustavo J. A. M. Carneiro
|
25301c4db1
|
Module.add_function API simplification
|
2008-05-18 18:49:35 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9bed1c4a45
|
Allow None to mean ReturnValue.new('void') for functions and methods.
|
2008-05-18 17:39:06 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f9e6ebf370
|
CppMethod returntype,name parameters swapped (Mathieu); add more documentation.
|
2008-05-18 16:28:09 +01:00 |
|
Gustavo J. A. M. Carneiro
|
321c4f780b
|
Add a backward API compatibility for the previous Function constructor API change.
|
2008-05-11 22:24:24 +01:00 |
|
Gustavo J. A. M. Carneiro
|
86c183a37e
|
API change: Function(retval, name, params) now becomes Function(name, retval, params), as suggested by Mathieu Lacage.
|
2008-05-11 22:17:22 +01:00 |
|
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 |
|