Commit Graph
607 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro efc4477850 function as method annotation 2007-11-25 23:16:47 +00:00
Gustavo J. A. M. Carneiro 681dbedce9 Add more annotations in the example header file. 2007-11-25 22:44:55 +00:00
Gustavo J. A. M. Carneiro 1941ea7f82 Add support for the 'custodian' annotation. 2007-11-25 22:44:34 +00:00
Gustavo J. A. M. Carneiro 9978e43957 Fix a 'double const' problem. 2007-11-25 22:43:49 +00:00
Gustavo J. A. M. Carneiro f2590bc4bd Warn about unused annotations. 2007-11-25 21:52:00 +00:00
Gustavo J. A. M. Carneiro 7902cd3d4f Add some of the missing annotations 2007-11-25 21:08:19 +00:00
Gustavo J. A. M. Carneiro e6691a1e96 Add some more string alias type names, to make it compatibly with pygccxml types. 2007-11-25 21:07:49 +00:00
Gustavo J. A. M. Carneiro 78d2aacfae Missing file from previous commit (autoscan unit test) 2007-11-25 21:07:05 +00:00
Gustavo J. A. M. Carneiro b183023987 In CppClassPtrReturnValue, check for NULL pointer, map into None 2007-11-25 20:54:41 +00:00
Gustavo J. A. M. Carneiro d43185c50d make warnings include the header file name/line being scanned when appropriate, instead of pointing to pybindgen sources 2007-11-25 18:05:20 +00:00
Gustavo J. A. M. Carneiro 5558051698 Unit test automatic scanning and generation of the example API. 2007-11-25 16:35:36 +00:00
Gustavo J. A. M. Carneiro 1b482d76fc Fix bug in gccxml scanning of submodules 2007-11-25 15:27:56 +00:00
Gustavo J. A. M. Carneiro 302ed92759 Write the helper class for supporting virtual methods in two stages.
Only a simple class declaration/definition is generated in the "forward declarations" section,
while the method bodies are generated later.  This avoids problems of the
helper class needing to access Python object structures that are going to be
defined later.  Some refactoring involved to accomplish this.
2007-11-25 15:05:03 +00:00
Gustavo J. A. M. Carneiro a58daacfa8 fix typo 2007-11-24 15:31:23 +00:00
Gustavo J. A. M. Carneiro 39b17d52c0 Fix unit tests 2007-11-23 15:10:44 +00:00
Gustavo J. A. M. Carneiro 61e6d55840 Strip leading :: from the enum full_name 2007-11-23 15:10:29 +00:00
Gustavo J. A. M. Carneiro 4afba4afe1 Strip leading :: from types before looking them up on the standard type registry 2007-11-23 15:09:57 +00:00
Gustavo J. A. M. Carneiro 9e034bbf84 Don't canonicalize names anymore (it is C++ specific, and even in C++ causes problems with fundamental types, such as int, bool, and double) 2007-11-23 15:08:49 +00:00
Gustavo J. A. M. Carneiro 43858b9d39 Add unblock_threads option 2007-11-23 14:29:07 +00:00
Gustavo J. A. M. Carneiro c226e42d6d Buf fixes 2007-11-23 14:06:57 +00:00
Gustavo J. A. M. Carneiro 4d3e042c42 handle uint32_t type (same as unsigned int) 2007-11-22 17:17:46 +00:00
Gustavo J. A. M. Carneiro 3288d2df84 fix regression in pointer transformations 2007-11-22 00:08:27 +00:00
Gustavo J. A. M. Carneiro f6e75a9b47 fix a regression in virtual methods 2007-11-22 00:03:36 +00:00
Gustavo J. A. M. Carneiro ffa37032db fix type transformations regression 2007-11-21 23:51:15 +00:00
Gustavo J. A. M. Carneiro c2a8187c18 bug fix 2007-11-21 23:45:37 +00:00
Gustavo J. A. M. Carneiro 16a98ad172 Fix stupid bug in uint16_t and uint8_t type handlers 2007-11-21 18:14:55 +00:00
Gustavo J. A. M. Carneiro b3c1ba2d54 Implement uint16_t and uint8_t type handlers 2007-11-21 18:09:11 +00:00
Gustavo J. A. M. Carneiro 039ca98ea7 recognize type std::string const & 2007-11-21 17:52:04 +00:00
Gustavo J. A. M. Carneiro e38db6ff64 Don't wrap incref/decref methods. 2007-11-21 17:15:33 +00:00
Gustavo J. A. M. Carneiro bfe330d3af Free function annotations. 2007-11-21 16:48:23 +00:00
Gustavo J. A. M. Carneiro 2eec1af0fc Class annotations 2007-11-21 16:17:41 +00:00
Gustavo J. A. M. Carneiro 542dd52377 Fix C++ helper class generation 2007-11-21 15:38:43 +00:00
Gustavo J. A. M. Carneiro 5149912cdd Annotations 2007-11-21 15:23:55 +00:00
Gustavo J. A. M. Carneiro 040ef7b820 fix a variable declaration with invalid name 2007-11-21 12:00:29 +00:00
Gustavo J. A. M. Carneiro 6b5b822ffa Automatically disable the class constructor when a pure virtual method could not be generated, to avoid compilation errors. 2007-11-21 11:45:00 +00:00
Gustavo J. A. M. Carneiro 046a7a7148 Add float type handlers 2007-11-20 18:40:10 +00:00
Gustavo J. A. M. Carneiro aca1812834 Scan class methods and attributes 2007-11-20 16:46:06 +00:00
Gustavo J. A. M. Carneiro 4f62aa948c More work in progress for the pygccxml based header file scanner. 2007-11-19 23:59:21 +00:00
Gustavo J. A. M. Carneiro 51c33d3a72 Start of a pygccxml based source code scanner; so far it parses enums and free functions, and only handles parameters that don't require information other than type and name. 2007-11-17 18:28:00 +00:00
Gustavo J. A. M. Carneiro b75589b167 Canonicalize (add a :: prefix if it doesn't have one already) registered type names. 2007-11-17 18:25:44 +00:00
Gustavo J. A. M. Carneiro 55af66fc92 Move the function write_preamble() to a separate source file, utils.py 2007-11-17 18:24:13 +00:00
Gustavo J. A. M. Carneiro f994a25cc7 merge 2007-11-17 14:43:47 +00:00
Gustavo J. A. M. Carneiro 703ebb5106 Add support for singleton classes (which have a private destructor) 2007-11-16 18:18:59 +00:00
Gustavo J. A. M. Carneiro ba82f50ada Basic enumerations done, update README Planned section. 2007-09-27 14:14:04 +01:00
Gustavo J. A. M. Carneiro 900ba6143b Add simplistic support for enum types. Could be improved... 2007-09-25 15:34:51 +01:00
Gustavo J. A. M. Carneiro 29cebcc943 Update planned/completed features. 2007-09-25 14:17:59 +01:00
Gustavo J. A. M. Carneiro 1cbd009a48 s/String/CString/ 2007-09-24 14:48:15 +01:00
Gustavo J. A. M. Carneiro 49040fae40 Rename StringParam to CStringParam (less ambiguity) 2007-09-24 14:27:19 +01:00
Gustavo J. A. M. Carneiro 263d3447e8 Add missing get_c_error_return() impl in StringReturn 2007-09-24 14:15:33 +01:00
Gustavo J. A. M. Carneiro dafcb0712f Patch from Mark Lee (Bug #144360): add support for more basic types (unsigned int, char, string) 2007-09-24 14:12:03 +01:00