Commit Graph
462 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro fa2d9369fa Finish support for int16_t / short int 2008-06-03 23:32:49 +01:00
Gustavo J. A. M. Carneiro 4f1fcc5472 bug fix 2008-06-03 23:31:58 +01:00
Gustavo J. A. M. Carneiro 69b8cc4ddc Implement the section.local_customizations_module option 2008-06-02 19:58:55 +01:00
Gustavo J. A. M. Carneiro 567e456d0e Use a proper PygenSection class instead of tuple, to denote section information 2008-06-02 19:46:59 +01:00
Gustavo J. A. M. Carneiro d85131349a Guard against code generation errors while adding a method object 2008-06-02 18:06:46 +01:00
Gustavo J. A. M. Carneiro e7754d038a HACKING file 2008-06-02 14:56:41 +01:00
Gustavo J. A. M. Carneiro 43a00b0a41 documentation work 2008-06-02 14:15:27 +01:00
Gustavo J. A. M. Carneiro 1c2134b7b4 Add gccxml-based variants to the 'a' example. 2008-06-02 14:06:06 +01:00
Gustavo J. A. M. Carneiro abfe0a2b34 Add support for splitting the generated python script into sections (python submodules) basedon on some criteria. 2008-06-01 22:53:36 +01:00
Gustavo J. A. M. Carneiro d3543281cf Don't use custom_name as basis for wrapper function name. 2008-05-31 12:52:08 +01:00
Gustavo J. A. M. Carneiro 884091cce6 Add the dummy methods to helper classes as well, so that unwrapped pure virtual methods are detected and the helper class disabled 2008-05-25 21:43:38 +01:00
Gustavo J. A. M. Carneiro c3ab54d71b bug fix 2008-05-25 21:18:51 +01:00
Gustavo J. A. M. Carneiro c375b5b878 Delayed binding of parameter and return value specifiers, and improved error handling. 2008-05-25 19:53:38 +01:00
Gustavo J. A. M. Carneiro 0495cc26f8 Filter out duplicated helper class constructors 2008-05-24 15:26:00 +01:00
Gustavo J. A. M. Carneiro ca9cafaeec Remove a couple of FIXME exceptions 2008-05-23 19:10:33 +01:00
Gustavo J. A. M. Carneiro a074fd5e77 Add a Module.after_forward_declarations code sink, for writing custom code that needs to go after the forward declarations but before the wrappers. 2008-05-23 15:56:06 +01:00
Gustavo J. A. M. Carneiro 5c426253fa Fix bug with duplicated #include directives being generated, each include times the number of submodules+1 2008-05-23 15:03:56 +01:00
Gustavo J. A. M. Carneiro a2f8ebcb25 Fix buggy CppMethod.matches_signature 2008-05-22 19:22:33 +01:00
Gustavo J. A. M. Carneiro 9ab9fd8c00 Don't call a constructor, from a constructor wrapper, if it is not public 2008-05-22 18:53:52 +01:00
Gustavo J. A. M. Carneiro 8ff41f247c Add virtual methods from parent classes for each class' helper class 2008-05-22 18:28:47 +01:00
Gustavo J. A. M. Carneiro 8834c97ff0 Avoid generating code that doesn't compile, when dealing with a combination of implicit conversions + abstract classes 2008-05-22 16:23:44 +01:00
Gustavo J. A. M. Carneiro 07a7701fcf CppClass.add_*_attribute API change. 2008-05-19 16:55:50 +01:00
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