Commit Graph
587 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 72da33c8c4 Missing typecast to PyObject in Py_VISIT argument. 2008-08-19 12:34:55 +01:00
Gustavo J. A. M. Carneiro ef7e4f5bf8 fix double initialization of the main section code sink 2008-08-18 15:46:19 +01:00
Gustavo J. A. M. Carneiro 2b469ec4e1 fix getting pygen sink for builtin types 2008-08-18 15:33:43 +01:00
Gustavo J. A. M. Carneiro 6f9ab19220 gccxml-scan all containers used by the APIs (methods and functions). 2008-08-18 13:20:07 +01:00
Gustavo J. A. M. Carneiro fd4a72abe0 Add some debug code. 2008-08-18 12:38:44 +01:00
Gustavo J. A. M. Carneiro 0757dc04b6 refactoring 2008-08-17 22:56:44 +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 6f01ecaff2 Small simplification (use converter function) 2008-08-16 23:20:42 +01:00
Gustavo J. A. M. Carneiro 0f581ea685 Allow reverse wrappers with container return value to return a list instead of container object 2008-08-16 23:14:47 +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 b6761ebac6 Paramters of a container parameter type now also accept a list instead of a proper container object 2008-08-16 18:34:08 +01:00
Gustavo J. A. M. Carneiro 509e3bd607 Refactoring to generate most of the constainer construction logic as a type convertion function, for easier reuse in type handlers. 2008-08-16 18:13:05 +01:00
Gustavo J. A. M. Carneiro 573b217b4d Sequence constructor 2008-08-16 15:22:45 +01:00
Gustavo J. A. M. Carneiro f1488055aa Add API to generate python-to-C convertion functions. 2008-08-16 14:44:08 +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 7c8ee0ceb1 operator() support in gccxml scanner 2008-08-12 17:06:43 +01:00
Gustavo J. A. M. Carneiro 14e2975c33 When checking for output stream operators, match agains operator name as well, not just expected parameter/return types. 2008-08-12 16:21:57 +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 6d97fbf2f3 Clarify custom_name vs custom_template_method_name in the api docs. 2008-08-12 15:16:22 +01:00
Gustavo J. A. M. Carneiro 49d5821a27 Remove leftover debug code 2008-08-08 18:56:31 +01:00
Gustavo J. A. M. Carneiro ff031bfcda Factor out the generation of the type structure away from cppclass into a separate class PyTypeObject, for better code reuse. 2008-08-08 18:54:21 +01:00
Gustavo J. A. M. Carneiro e716ffe780 Fix bad PY_VERSION_HEX values. 2008-08-08 17:24:28 +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 1efacbeec8 typo 2008-08-06 12:25:17 +01:00
Gustavo J. A. M. Carneiro 4e268c89db Add annotations support for 'unblock_threads' 2008-08-05 19:36:50 +01:00
Gustavo J. A. M. Carneiro fe8dd4320f more bug fixing (return without cleanup) 2008-08-05 19:19:44 +01:00
Gustavo J. A. M. Carneiro 3383ad6279 bug fixes (GIL, cleanup actions ordering) 2008-08-05 19:14:08 +01:00
Gustavo J. A. M. Carneiro 1a0c9ff1b1 Make the generated reverse wrappers (virtual methods) python thread safe, i.e. they now acquire / release the Python GIL when called from C/C++ code, but only if Python threading was initialized (PyEval_ThreadsInitialized). 2008-08-05 18:35:35 +01:00
Gustavo J. A. M. Carneiro 3f8b90adba Generate tp_hash for CppClass 2008-08-01 22:15:49 +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 5f3b62fbbd Be more tolerant with unicode objects where str was expeced, for compatibility with pygccxml running with python 2.4. 2008-07-28 12:35:59 +01:00
Gustavo J. A. M. Carneiro 497f00dc53 Make ParseTupleParameters.add_parameter return the number of the added parameter, for inclusion in error messages. 2008-07-28 11:20:42 +01:00
Gustavo J. A. M. Carneiro 291fbea1fd Fix URL 0.9.0 2008-07-27 17:52:55 +01:00
Gustavo J. A. M. Carneiro 4d2322207f Update NEWS/README 2008-07-27 17:49:24 +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 0ef71e5c86 Generate #include <typeinfo> if we're about to use typeid() operator 2008-07-25 19:32:10 +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 b6a094c4d1 Add a new gccxml_options parameter to the gccxml module parser. 2008-07-23 11:35:00 +01:00
Gustavo J. A. M. Carneiro 8f9bbb01b1 Python 2.3 does not accept 'I' in Py_BuildValue 2008-07-22 16:52:14 +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 2ebd5eafbe Fix reference counting problem, triggered by subclass-able class not being subclassed, which is detected only by a debug Python build. 2008-07-22 16:31:08 +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 423e0a1110 Mark deprecated incref_method, ... parameters in the documentation 2008-07-20 22:37:31 +01:00
Gustavo J. A. M. Carneiro aecd0d581f Fix stupid bugs in handling of memory_policy assertions and inheritance logic 2008-07-20 22:30:35 +01:00
Gustavo J. A. M. Carneiro 2f45bba375 Let error handlers catch errors during generation of C++ class attribute wrappers 2008-07-20 22:04:33 +01:00
Gustavo J. A. M. Carneiro caf2f7fb91 Make CppClass parameter memory_policy slightly less restrictive (allow subclass to define memory_policy as long as no parent class has defined it before). 2008-07-20 19:44:14 +01:00
Gustavo J. A. M. Carneiro 6137f3916f Fix some more deprecations 2008-07-20 19:26:00 +01:00