Commit Graph
31 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro b0336e7f06 Getting ready to support numeric operators... 2008-10-05 18:51:17 +01:00
Gustavo J. A. M. Carneiro dad9e231b8 Add support for wrapping binary comparison operators 2008-10-04 22:52:39 +01:00
Gustavo J. A. M. Carneiro 20b51a7f92 Add a unit test for scanning/wrapping output reference to container parameter (e.g.std::vector<std::string> &outVec) 2008-10-04 17:26:23 +01:00
Gustavo J. A. M. Carneiro f8b5d2ba03 Scan for containers in class attributes, and assorted fixes 2008-09-15 16:10:36 +01:00
Gustavo J. A. M. Carneiro a143441eac Revamp type matching system and const handling, is_const becomes deprecated.
Now types are specified with consts inside the type string, is_const is deprecated.  The ctypeparser utility module, previously only used to canonicalize type strings, is used more extensively throughout pybindgen to provide type traits and type manipulation, where needed.  gccxml type traits no longer used as consequence.
2008-09-02 11:06:24 +01:00
Gustavo J. A. M. Carneiro 4e41b8c02e Scanning of anonymous containers is now disabled by default, due to a bug in gccxml and the problems it causes. 2008-08-29 14:39:43 +01:00
Gustavo J. A. M. Carneiro 4302316a3c Filter out mapping containers for now; use the correct method to add a value for each container type, not always push_back. 2008-08-27 00:18:20 +01:00
Gustavo J. A. M. Carneiro 5877205b99 Add optional 'wrapper registry' support, which allows one-to-one mapping between C++ object and Python wrapper, so that two wrappers can be safely compared with the 'is' operator. 2008-08-22 15:44:35 +01:00
Gustavo J. A. M. Carneiro a92f6868cc Add to unit tests APIs involding PyObject*, in order to test this type handler 2008-08-20 21:37:05 +01:00
Gustavo J. A. M. Carneiro 3c15d022a9 Add unit tests, fix a C++ object refcount leak. 2008-08-20 15:26:33 +01:00
Gustavo J. A. M. Carneiro bacb4d90b9 Add support for unnamed (not typedef) containers. Not gccxml support yet, though. 2008-08-17 18:41:48 +01:00
Gustavo J. A. M. Carneiro 17b63ea5eb Add typehandler for container ref parameter 2008-08-17 15:44:51 +01:00
Gustavo J. A. M. Carneiro e5549bdbae Add container reverse wrappers unit tests 2008-08-16 23:02:26 +01:00
Gustavo J. A. M. Carneiro b46277c37e Test container as parameter. 2008-08-15 15:05:24 +01:00
Gustavo J. A. M. Carneiro 3f97bd258e Initial support for std sequence containers (limited testing / support, for now) 2008-08-14 23:22:00 +01:00
Gustavo J. A. M. Carneiro c00f408eb4 Add tp_call support to the python API; corresponding gccxml support is TODO. 2008-08-12 15:52:49 +01:00
Gustavo J. A. M. Carneiro 5c57f3852b Templated functions tests and bug fixes. 2008-08-08 16:09:26 +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 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 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 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 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 a4ee62fc0b Support anonymous structures (LP#237054) 2008-06-03 23:40:02 +01:00
Gustavo J. A. M. Carneiro 81b4f530b8 Move the former 'examples' into tests/, as they evolved to become more unit tests than examples. 2008-04-28 12:19:25 +01:00