Commit Graph
80 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 4124866fda Oops, leftover test code 2008-07-31 11:44:40 +01:00
Gustavo J. A. M. Carneiro e8d50fa458 Changes for the new waf (trunk). 2008-07-31 11:37:54 +01:00
Gustavo J. A. M. Carneiro 2e7450020d Implement null_ok and default_value for CppClassPtrParameter. Closes #252447. 2008-07-28 12:37:12 +01:00
Gustavo J. A. M. Carneiro f43874ef06 Bug #247036: cannot wrap an unamed enum 2008-07-27 17:21:03 +01:00
Gustavo J. A. M. Carneiro 13b6dc02e0 Bug #247059: API to wrap inner enums and classes is not intuitive 2008-07-27 17:00:41 +01:00
Gustavo J. A. M. Carneiro b8ccb8347b Add support for parameter default values specified via annotations. Closes LP#251343. 2008-07-25 19:05:16 +01:00
Gustavo J. A. M. Carneiro 946e7f1ee3 Use PyErr_Warn instead of PyErr_WarnEx in deprecations, for compatibility with Python 2.3 2008-07-22 16:34:43 +01:00
Gustavo J. A. M. Carneiro c54893328a Python 2.3 compatibility fixes 2008-07-22 16:30:01 +01:00
Gustavo J. A. M. Carneiro 6137f3916f Fix some more deprecations 2008-07-20 19:26:00 +01:00
Gustavo J. A. M. Carneiro b44e4da782 Make deprecations as errors easy to turn off temporarily. 2008-07-18 19:22:22 +01:00
Gustavo J. A. M. Carneiro 355ebb0665 For examples and unit tests, turn deprecation warnings into exceptions; fix cases where deprecations were being used. 2008-07-18 14:47:47 +01:00
Gustavo J. A. M. Carneiro b1cc858018 Scan for __attribute__((deprecated)), enable deprecation mode when found 2008-07-16 19:34:57 +01:00
Gustavo J. A. M. Carneiro f3a0c9a33c Module.add_typedef API, implemented only for C++ classes/structs for now. 2008-07-15 00:28:58 +01:00
Gustavo J. A. M. Carneiro 98cc09f0e0 Remove deprecated calls to write_preamble from examples/tests 2008-07-13 19:11:17 +01:00
Gustavo J. A. M. Carneiro 43822a325a New API: Module.add_struct. 2008-07-11 12:19:33 +01:00
Gustavo J. A. M. Carneiro da8b7c17ed Fixing bug #246069, did some bug fixing along the way (related to virtual method parent callers), before discovering the bug was invalid. 2008-07-09 11:30:36 +01:00
Gustavo J. A. M. Carneiro 49c62c8c03 Clean up the mess that became registering handlers for const types; add 'constness' to type handler codegeneration tests. 2008-07-03 18:22:31 +01:00
Gustavo J. A. M. Carneiro 108c696d03 Add a debug switch (-d) to enable debugger 2008-07-03 17:10:59 +01:00
Gustavo J. A. M. Carneiro 5bcc4ba3b6 Change one case of unit test using std::string to std::string const &, just for better testing.. 2008-07-03 15:18:48 +01:00
Gustavo J. A. M. Carneiro ef2c9d6251 Fix Bug #245097: Regression: Error 'declarated_t' object has no attribute 'base' 2008-07-03 15:06:48 +01:00
Mathieu Lacage 3d4b03f0dd Fix problem with class registration when an inner namespace class has a class defined in an outer namespace as base class. 2008-07-03 14:31:30 +01:00
Mathieu Lacage 613a4e98a4 Cleanups. 2008-07-03 14:27:28 +01:00
Gustavo J. A. M. Carneiro 8a890c4875 CppClass.add_output_stream() documentation and unit tests. 2008-07-02 11:32:02 +01:00
Gustavo J. A. M. Carneiro 6fe19f0ece Bug #242285: Impossible to use a float* parameter in a function or method to pass an array of floats. 2008-06-24 17:12:50 +01:00
Gustavo J. A. M. Carneiro 285f9f3d68 Experimental multi-section (split generated C code over multiple files) code 2008-06-24 01:23:54 +01:00
Gustavo J. A. M. Carneiro 8105bf95c5 Run all type strings through the newly added 'type normalization function' before every type registration and lookup.
This change can have noticeable impact, especially on type transformations, but is for the best.  Now the canonical string representation for 'Foo*' is 'Foo *', and for 'const Foo*' it is 'Foo const *'.
2008-06-15 15:15:58 +01:00
Gustavo J. A. M. Carneiro fac419d7d5 Add a C type parser and function to normalize type string representations. 2008-06-14 15:52:52 +01:00
Gustavo J. A. M. Carneiro af17d8aaae Regarding [Bug 238455], check that char* types are being registered. 2008-06-09 10:46:29 +01:00
Gustavo J. A. M. Carneiro d4d5e80e00 [bug #237524] Avoid using const_cast and reinterpret_cast, use C-style casts instead, so that the generated code compiles with a pure C compiler. 2008-06-06 12:39:05 +01:00
Gustavo J. A. M. Carneiro a4ee62fc0b Support anonymous structures (LP#237054) 2008-06-03 23:40:02 +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 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 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 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 20b5de3385 CppClass.add_method simplifications 2008-05-18 21:49:37 +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 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 44b5b52182 missing file :-/ 2008-05-07 11:30:40 +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 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 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 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 d9dfd6a6ea Remove the workarounds for waf bug #37 2008-04-30 16:23:24 +01:00