Commit Graph
66 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro f8aed4cece API for wrapping C++ instance and static attributes; implement getter for instance attribute; getter for static attributes not fully working yet. None of the setters implemented. 2007-06-07 17:14:07 +01:00
Gustavo J. A. M. Carneiro fc2a6c258d Fix -Wall -Wextra compiler warnings. 2007-06-07 12:34:17 +01:00
Gustavo J. A. M. Carneiro 7388b2d56d fix compiler warnings 2007-06-07 12:00:17 +01:00
Gustavo J. A. M. Carneiro b211d8ec0f Enable more compiler warnings. 2007-06-07 11:55:41 +01:00
Gustavo J. A. M. Carneiro a3639efe18 win32 build fixes 2007-06-07 11:38:45 +01:00
Gustavo J. A. M. Carneiro f57af0bd74 Make sure the method flags are correct even when parameters added in write_method_call. 2007-06-06 18:02:51 +01:00
Gustavo J. A. M. Carneiro 4dc92b7874 Small refactoring of ForwardWrapperBase.generate_body to allow the generate_call() virtual method to add new parse parameters that were not previously declared. 2007-06-06 17:37:57 +01:00
Gustavo J. A. M. Carneiro 863b69908b add assertion to detect when one constructor parameter is missing a name; add option to force forward wrappers to use PyArg_ParseTuple or PyArg_ParseTupleAndKeywords 2007-06-06 14:20:21 +01:00
Gustavo J. A. M. Carneiro 1991587af6 missing param name in double type handler 2007-06-06 14:19:06 +01:00
Gustavo J. A. M. Carneiro 82c77ee63e Add support for C++ static methods. 2007-06-05 19:14:26 +01:00
Gustavo J. A. M. Carneiro 71104f0a34 Post-fix to 'add option to prefix global declarations with a name'. 2007-06-05 14:20:48 +01:00
Gustavo J. A. M. Carneiro d04b6c7a0d Add option to prefix global declarations with a name. 2007-06-05 14:15:00 +01:00
Gustavo J. A. M. Carneiro 972e18f122 Fix the type transformations API, implement transformations for C++ class pointer types, and add example. 2007-06-04 22:13:10 +01:00
Gustavo J. A. M. Carneiro b39dbd9d46 Add basic infrastructure for type transformations 2007-06-04 18:19:27 +01:00
Gustavo J. A. M. Carneiro 6d131c4598 API change, to prepare for type handler transformations: Parameter('ctype', ...) becomes Parameter.new('ctype', ...), idem for ReturnValue. 2007-06-04 16:41:33 +01:00
Gustavo J. A. M. Carneiro e6949fb84e Add missing destructor in SomeObject; fixes all memory leaks reported by valgrind. 2007-06-04 14:36:13 +01:00
Gustavo J. A. M. Carneiro ab05a13e92 fix class refcount impl. 2007-06-04 14:05:26 +01:00
Gustavo J. A. M. Carneiro 3a9255c9a7 safer tp_dealloc 2007-06-04 14:05:01 +01:00
Gustavo J. A. M. Carneiro b13692cdbb Fix Python 2.6 DeprecationWarning: object.__new__() takes no parameters. 2007-06-04 13:50:42 +01:00
Gustavo J. A. M. Carneiro e34f4820b0 Add support for refence counted C++ classes. 2007-06-04 13:47:43 +01:00
Gustavo J. A. M. Carneiro 56958cd448 Add a new pybindgen.write_preamble() API, to write the #include <Python.h> and some other stuff needed to compile with Python < 2.5. 0.3.0 2007-06-03 23:09:11 +01:00
Gustavo J. A. M. Carneiro eca95f54b4 Add a NEWS file, to summarise the project progress 2007-06-03 22:37:08 +01:00
Gustavo J. A. M. Carneiro 9275eb01ef make the void return type not return an explicit Py_None, to prevent a bug hwere None is being returned as first element of tuple when there are out/inout parameters 2007-06-03 22:31:34 +01:00
Gustavo J. A. M. Carneiro 65cc53d115 implement pass class object by reference (one test case failing atm due to another bug) 2007-06-03 22:15:43 +01:00
Gustavo J. A. M. Carneiro 774d93d7af workaround pylint stupidity 2007-06-03 19:28:59 +01:00
Gustavo J. A. M. Carneiro d29767462a add some unit tests for the built example 2007-06-03 19:14:59 +01:00
Gustavo J. A. M. Carneiro 7cecf0473b fix bug: should not call PyArg_ParseTuple[AndKeywords] when there are no parameters 2007-06-03 19:03:34 +01:00
Gustavo J. A. M. Carneiro ccc2564d36 more c++ class as parameter/return handling 2007-06-03 18:09:59 +01:00
Gustavo J. A. M. Carneiro 96578567b9 C++ class constructor inheritance fixes. 2007-06-03 16:18:09 +01:00
Gustavo J. A. M. Carneiro a6d307ce2b complete the refactoring in the last commit 2007-06-03 15:35:00 +01:00
Gustavo J. A. M. Carneiro 1bfa64cf63 Refactor class methods to make them independent from the class until generation time. 2007-06-03 15:07:18 +01:00
Gustavo J. A. M. Carneiro 6df424d054 fix the 'extra version' number; it should be the last revision, not the revision corresponding to the last tag. 2007-06-03 14:43:41 +01:00
Gustavo J. A. M. Carneiro f738bceced c++ subclassing; c++ class forward parameter pass-by-value 2007-06-03 14:41:14 +01:00
Gustavo J. A. M. Carneiro eebacb19cb Add example interfaces to test a bunch of new stuff (c++ subclassing, class parameter handling) 2007-06-03 14:38:40 +01:00
Gustavo J. A. M. Carneiro df1dfd9f6d comment out debug print 2007-06-02 22:22:02 +01:00
Gustavo J. A. M. Carneiro d8dc454d95 cache bzr version information 2007-06-02 22:21:23 +01:00
Gustavo J. A. M. Carneiro db5cd27a5e don't install the example python module 2007-06-02 17:42:38 +01:00
Gustavo J. A. M. Carneiro bacec35be9 Add a README file 0.2.0 2007-06-02 17:27:53 +01:00
Gustavo J. A. M. Carneiro 84ce233c85 fix typo 2007-06-02 17:13:32 +01:00
Gustavo J. A. M. Carneiro bf7c44ea54 add bzr revno as an extra version item for non-release revisions 2007-06-02 17:12:04 +01:00
Gustavo J. A. M. Carneiro 214b0797b2 fix cpp class wrappers (missing tp_alloc/new/free) 2007-06-02 16:16:23 +01:00
Gustavo J. A. M. Carneiro 014de090fd automatically copy WAF to the dist tarball 2007-06-02 15:49:31 +01:00
Gustavo J. A. M. Carneiro 301b6b91f3 fix the version.py file generation 2007-06-02 15:19:50 +01:00
Gustavo J. A. M. Carneiro 67843fa924 refactor the build system to avoid generating .py[co] files in the source tree (which WAF doesn't like) 2007-06-02 15:02:23 +01:00
Gustavo J. A. M. Carneiro c501e5ba9b Add a DIRECTION_INOUT convenience alias 2007-06-02 14:59:40 +01:00
Gustavo J. A. M. Carneiro af6104a083 add support for C++ classes; some minor bug remaining, though. 2007-06-01 19:39:31 +01:00
Gustavo J. A. M. Carneiro 90bf6801c4 lazily compute VESION; write a pybindgen/version.py file in configure 2007-06-01 15:31:13 +01:00
Gustavo J. A. M. Carneiro 46205844b0 cleanup 2007-06-01 14:50:07 +01:00
Gustavo J. A. M. Carneiro be0171aaf0 get version from bzr tag or revision 0.1.2 2007-06-01 14:46:06 +01:00
Gustavo J. A. M. Carneiro c03dececed actually install the python sources 2007-06-01 11:19:43 +01:00