Commit Graph
246 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro e1419db8d5 Check if instance/class attributes are const. 2007-12-25 14:13:47 +00:00
Gustavo J. A. M. Carneiro bd4d7b34cd static attribute bug fix 2007-12-25 13:06:32 +00:00
Gustavo J. A. M. Carneiro d5b268cb43 Notice private trivial and copy constructors. 2007-12-25 12:46:40 +00:00
Gustavo J. A. M. Carneiro 4ce3fdfa9e 'REQUIRES_ASSIGNMENT_CONSTRUCTOR' fixes 2007-12-24 18:19:05 +00:00
Gustavo J. A. M. Carneiro c9a50b20e6 Add missing braces in generated C code. 2007-12-24 17:30:05 +00:00
Gustavo J. A. M. Carneiro f5a6d1a55b Notice private pure virtual methods. 2007-12-24 17:20:27 +00:00
Gustavo J. A. M. Carneiro c4914b1dd6 Make the gccxml scanner add implicit copy constructors when not explicitly declared. 2007-12-24 16:07:55 +00:00
Gustavo J. A. M. Carneiro a0f06c4569 missing Py_XDECREF... 2007-12-24 13:12:48 +00:00
Gustavo J. A. M. Carneiro 34524f0a58 Make the constructors of the helper class exactly the same as in the base class (substitution principle). 2007-12-24 13:06:41 +00:00
Gustavo J. A. M. Carneiro dc9f88b633 Detect more cases where code was being generated which wouldn't compile due to missing virtual method implementation; handle them gracefully. 2007-12-23 21:19:06 +00:00
Gustavo J. A. M. Carneiro a98d53c904 const fixes 2007-12-23 15:55:47 +00:00
Gustavo J. A. M. Carneiro 2b615dda23 Put spaces inside the *_cast< ... > braces, to make the C++ compiler happier (take 2). 2007-12-23 15:29:21 +00:00
Gustavo J. A. M. Carneiro f916fa90f4 Add correct contextual information to virtual method generation errors. 2007-12-23 15:27:33 +00:00
Gustavo J. A. M. Carneiro 4fd385bdc9 Put spaces inside the *_cast< ... > braces, to make the C++ compiler happier. 2007-12-23 15:22:18 +00:00
Gustavo J. A. M. Carneiro 57e0126d39 Error handling for virtual methods. 2007-12-23 15:09:59 +00:00
Gustavo J. A. M. Carneiro 70e1d38da8 improved error handling in gccxmlparser 2007-12-23 14:16:17 +00:00
Gustavo J. A. M. Carneiro fc9343fa0f better error handling of overloaded wrappers 2007-12-23 14:13:42 +00:00
Gustavo J. A. M. Carneiro 888777148f Add a framework for letting the user handle errors of functions and methods but possibly just ignore them and move on. 2007-12-23 00:08:13 +00:00
Gustavo J. A. M. Carneiro 3707f9b80a Raise CodeGenerationError, not ValueError, where appropriate. 2007-12-22 20:01:20 +00:00
Gustavo J. A. M. Carneiro 2307626526 honor CppClas.cannot_be_constructed more thoroughly 2007-12-22 19:29:02 +00:00
Gustavo J. A. M. Carneiro 38832a976f look for protected pure virtual functions, disable the class constructor if any is found 2007-12-22 19:21:06 +00:00
Gustavo J. A. M. Carneiro 0d6bf99699 Add 'ignore' annotation support, allowing to ignore functions and methods. 2007-12-22 18:25:18 +00:00
Gustavo J. A. M. Carneiro bdce80e507 handle template arguments with spaces (like 'long int') 2007-12-21 19:21:48 +00:00
Gustavo J. A. M. Carneiro 09fe4aae08 scan for and support functions and methods with explicit template parameters 2007-12-21 19:17:56 +00:00
Gustavo J. A. M. Carneiro c90ade54a4 handle C++ class return values by inline 'FooBar retval = something(...);', for classes that have a private constructor and a friend factory function 2007-12-21 16:46:35 +00:00
Gustavo J. A. M. Carneiro ef161ef8d2 Add support for overloaded virtual methods. 2007-12-20 19:22:32 +00:00
Gustavo J. A. M. Carneiro 462b01816d fix a bug in an assertion expression 2007-12-20 16:44:45 +00:00
Gustavo J. A. M. Carneiro 40da3640e9 Add whitelist_paths and include_paths options to gccxml parser 2007-12-20 16:19:31 +00:00
Gustavo J. A. M. Carneiro 604f102dc5 handle Class& return values (same as value return) 2007-12-20 16:04:46 +00:00
Gustavo J. A. M. Carneiro 225d5f7b88 gccxml 0.9, unlike 0.7, does not explicitly report inheritted trivial constructors; thankfully pygccxml comes to the rescue! 2007-12-20 12:41:51 +00:00
Gustavo J. A. M. Carneiro 5bc66e7d82 fix also the generation unit test 2007-12-17 15:43:58 +00:00
Gustavo J. A. M. Carneiro 8244302e67 Silence GCC 4.2 warnings: 'warning: deprecated conversion from string constant to ‘char*’' 2007-12-17 15:38:56 +00:00
Gustavo J. A. M. Carneiro 17f43d369d Update NEWS for the new release 0.8.0 2007-12-01 16:13:59 +00:00
Gustavo J. A. M. Carneiro 299a5e1577 Only run the autogeneration tests if gccxml and pygccxml are detected in the system. 2007-12-01 16:05:12 +00:00
Gustavo J. A. M. Carneiro 63bc4a3cb7 Make one of the annotations multi-line, for demonstration purposes. 2007-12-01 15:11:56 +00:00
Gustavo J. A. M. Carneiro 6f9eb9fd3c Change the annotations magic marker from -*- to -#-, to avoid confusion with emacs modelines; Add support for annotations inside C style comments (/* -#- ... -#- */). 2007-12-01 15:09:37 +00:00
Gustavo J. A. M. Carneiro 54450059f6 Add support for a automatic_type_narrowing annotation 2007-11-26 00:11:48 +00:00
Gustavo J. A. M. Carneiro e3fa6fbcb6 Autodetect implicit conversions. 2007-11-26 00:06:15 +00:00
Gustavo J. A. M. Carneiro 380d4ea591 Add annotation to override function name 2007-11-25 23:39:15 +00:00
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