Commit Graph
299 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro f48e3618a6 More effectively disable the helper class when pure virtual methods are found that cannot be generated. 2008-01-02 16:06:13 +00:00
Gustavo J. A. M. Carneiro 7359345adc Don't call parent virtual if it is private 2008-01-02 15:45:29 +00:00
Gustavo J. A. M. Carneiro c7a58212be Don't create a helper class if is_singleton is true (because the destructor will likely be private) 2008-01-02 15:29:25 +00:00
Gustavo J. A. M. Carneiro 31725ec8b5 cleanup 2008-01-02 15:18:28 +00:00
Gustavo J. A. M. Carneiro 80454da877 Don't crash on Class** types 2008-01-02 15:16:15 +00:00
Gustavo J. A. M. Carneiro 48bf9295e3 Support protected constructors 2008-01-02 14:58:30 +00:00
Gustavo J. A. M. Carneiro 42805c021d Add support for protected/private virtual methods. 2008-01-02 13:28:22 +00:00
Gustavo J. A. M. Carneiro ec119c2026 Remove the debug commented fprintf's 2008-01-01 18:31:41 +00:00
Gustavo J. A. M. Carneiro d23370aef0 Module init functions should just return on error, not call PyErr_Print() 2008-01-01 18:23:35 +00:00
Gustavo J. A. M. Carneiro ccc7724186 Make the tp_name slot of classes contain the full dotted notation of the type name, in order to pydoc not ignore the classes. 2007-12-31 22:51:09 +00:00
Gustavo J. A. M. Carneiro a232af5b10 Using the helper class as replacement for the real class, when not dealing with a real subclass, is nothing but trouble. 2007-12-30 18:37:31 +00:00
Gustavo J. A. M. Carneiro e04c3e7d28 Don't inherit default constructors by default; the gccxml frontend already does
that by other means; now the caller has to call a method if he wants this
behaviour.
2007-12-30 18:22:05 +00:00
Gustavo J. A. M. Carneiro bdee7fa4b1 Use CppClass.pystruct instead of name wherever possible to avoid name conflicts. 2007-12-30 14:49:15 +00:00
Gustavo J. A. M. Carneiro fd2968d4d8 Don't wrap nested classes or enums that are private. 2007-12-30 14:33:39 +00:00
Gustavo J. A. M. Carneiro f7a0d46640 Fix problems with nested classes/enums and name clashes 2007-12-30 13:56:06 +00:00
Gustavo J. A. M. Carneiro 8d81c6031a Fix accidental commit error. 2007-12-30 12:49:15 +00:00
Gustavo J. A. M. Carneiro e3d3782153 Nested (inside classes) classes and enums. 2007-12-28 19:34:12 +00:00
Gustavo J. A. M. Carneiro 166eeb1c5a Fix bug in CppInstanceAttributeSetter 2007-12-28 15:26:56 +00:00
Gustavo J. A. M. Carneiro b7e1831e2a more integer type support.. 2007-12-28 15:01:39 +00:00
Gustavo J. A. M. Carneiro 4dd8911c7b Match int pointers with const; check that direction is given, only guess in the case of const int *. 2007-12-28 14:22:56 +00:00
Gustavo J. A. M. Carneiro b736bfdb6a Add 'long long unsigned int' as alias to uint64_t 2007-12-28 14:03:44 +00:00
Gustavo J. A. M. Carneiro a7aba40ba0 Add some support for int8_t* and uint8_t* parameters. 2007-12-28 14:01:03 +00:00
Gustavo J. A. M. Carneiro ea519c1b35 Add support for the type 'int64_t' (aka long long) 2007-12-28 13:37:55 +00:00
Gustavo J. A. M. Carneiro 4ba49678a0 Detect the problem of adding a overloaded method with multiple method flags (e.g. instance method vs static method with the same name) 2007-12-28 12:23:36 +00:00
Gustavo J. A. M. Carneiro 1265ff12b2 Support annotation to ignore whole classes. 2007-12-28 01:24:52 +00:00
Gustavo J. A. M. Carneiro 17566106e5 Get function-as-method working again (had been recently broken). 2007-12-28 01:08:00 +00:00
Gustavo J. A. M. Carneiro 7e40babbe9 Implicit conversions for references only work when the references are const. 2007-12-28 00:59:19 +00:00
Gustavo J. A. M. Carneiro ad19d3d13b Fix bad annotations error message 2007-12-28 00:56:52 +00:00
Gustavo J. A. M. Carneiro f941f4142d Don't traceback when template_instance_names is not given 2007-12-28 00:40:16 +00:00
Gustavo J. A. M. Carneiro 8f8f2bf7f5 Add support for custom names of template instantiation methods. 2007-12-27 20:13:28 +00:00
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