Commit Graph
269 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 19aa06c8ed Fix name mangling to also replace : with _ 2007-12-27 11:53:51 +00:00
Gustavo J. A. M. Carneiro 315686da62 Support implicit conversions with pass-by-reference parameters. 2007-12-26 23:20:49 +00:00
Gustavo J. A. M. Carneiro 677fd0ab5f Add UInt16Param 2007-12-26 22:59:32 +00:00
Gustavo J. A. M. Carneiro d88e21559d Add support for the unsigned long long / uint64_t type 2007-12-26 19:12:20 +00:00
Gustavo J. A. M. Carneiro ce3c7c6198 Add support for typedefs to templated classes. 2007-12-26 18:49:57 +00:00
Gustavo J. A. M. Carneiro 10c90bdd18 in void return virtual method reverse wrappers, don't call the parent virtual if pure virtual 2007-12-26 17:15:57 +00:00
Gustavo J. A. M. Carneiro 439c725445 don't generate a 'parent caller' method if it's a pure virtual method. 2007-12-26 17:12:05 +00:00
Gustavo J. A. M. Carneiro 48949a6cae Bug fix: don't write declaration for a virtual method that cannot be generated. 2007-12-26 16:59:56 +00:00
Gustavo J. A. M. Carneiro 94381bd16a bool type fixes 2007-12-26 15:12:16 +00:00
Gustavo J. A. M. Carneiro a6745278c2 Avoid conflicts of local variables with ForwardWrapper parameters. 2007-12-26 11:56:13 +00:00
Gustavo J. A. M. Carneiro 58a64b0932 Fix typo. 2007-12-26 11:37:55 +00:00
Gustavo J. A. M. Carneiro d6ed6dac06 Fix 'class has virtual functions but non-virtual destructor' warning 2007-12-26 11:03:17 +00:00
Gustavo J. A. M. Carneiro 9d4bb6f4b6 bug fix related to excluded parent callers 2007-12-25 23:48:35 +00:00
Gustavo J. A. M. Carneiro 762f803e94 re-register the class type handlers with class full name, once it becomes known 2007-12-25 23:12:40 +00:00
Gustavo J. A. M. Carneiro 61fb91338c update test to new exception 2007-12-25 23:00:13 +00:00
Gustavo J. A. M. Carneiro aa7d4802ed const fixes 2007-12-25 22:10:57 +00:00
Gustavo J. A. M. Carneiro fc3b1f5052 s/Py_Fatal/Py_FatalError/ 2007-12-25 20:50:53 +00:00
Gustavo J. A. M. Carneiro 601b9e60e9 Fix string interpolation error- 2007-12-25 20:49:15 +00:00
Gustavo J. A. M. Carneiro e28414ee07 Don't catch TypeError, ValueError 2007-12-25 20:47:43 +00:00
Gustavo J. A. M. Carneiro bd66cd27ec Support a is_const optional parameter in CppClassReturnValue 2007-12-25 19:11:27 +00:00
Gustavo J. A. M. Carneiro 312df1d49b Don't raise TypeError except for real programming errors, and don't catch it either (avoids the error hiding anti-pattern). 2007-12-25 19:08:20 +00:00
Gustavo J. A. M. Carneiro 497099b742 Completely disable (for real, this time) the helper class when a pure virtual method is missing. 2007-12-25 17:39:35 +00:00
Gustavo J. A. M. Carneiro e89321410b Fix some problems with error return path of the virtual method proxies. 2007-12-25 15:57:38 +00:00
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