Gustavo J. A. M. Carneiro
|
4124866fda
|
Oops, leftover test code
|
2008-07-31 11:44:40 +01:00 |
|
Gustavo J. A. M. Carneiro
|
e8d50fa458
|
Changes for the new waf (trunk).
|
2008-07-31 11:37:54 +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 |
|
Gustavo J. A. M. Carneiro
|
ad4c34d4bf
|
Fix deprecations.
|
2008-07-20 18:53:02 +01:00 |
|
Gustavo J. A. M. Carneiro
|
08e6d918d4
|
New cppclass.MemoryPolicy and memory_policy CppClass parameter. Closes Bug #247536 (CppClass: improve consistency of memory management parameters).
|
2008-07-18 19:24:38 +01:00 |
|
Gustavo J. A. M. Carneiro
|
b44e4da782
|
Make deprecations as errors easy to turn off temporarily.
|
2008-07-18 19:22:22 +01:00 |
|
Gustavo J. A. M. Carneiro
|
ceb4b9c2fe
|
Split the cppclass.py file, as it was getting too big: move type handlers into new source file cppclass_typehandlers.py.
|
2008-07-18 16:40:33 +01:00 |
|
Gustavo J. A. M. Carneiro
|
355ebb0665
|
For examples and unit tests, turn deprecation warnings into exceptions; fix cases where deprecations were being used.
|
2008-07-18 14:47:47 +01:00 |
|
Gustavo J. A. M. Carneiro
|
3dd922a056
|
Better looking generated python code: split add_function/method/constructor calls into multiple lines (as suggested by Mathieu Lacage)
|
2008-07-16 19:54:43 +01:00 |
|
Gustavo J. A. M. Carneiro
|
b1cc858018
|
Scan for __attribute__((deprecated)), enable deprecation mode when found
|
2008-07-16 19:34:57 +01:00 |
|
Gustavo J. A. M. Carneiro
|
a1b3e1e0a1
|
Add API support for deprecations
|
2008-07-16 18:54:38 +01:00 |
|
Gustavo J. A. M. Carneiro
|
3aa14edfe6
|
Scan typedefs only after scanning for all classes.
|
2008-07-15 17:11:24 +01:00 |
|
Gustavo J. A. M. Carneiro
|
80bb7451e5
|
Scan for class typedefs.
|
2008-07-15 00:52:06 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9006f11981
|
Remove debug print
|
2008-07-15 00:40:57 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f3a0c9a33c
|
Module.add_typedef API, implemented only for C++ classes/structs for now.
|
2008-07-15 00:28:58 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f26ed63f39
|
Enable handling of the int32_t type
|
2008-07-14 10:43:48 +01:00 |
|
Gustavo J. A. M. Carneiro
|
98cc09f0e0
|
Remove deprecated calls to write_preamble from examples/tests
|
2008-07-13 19:11:17 +01:00 |
|
Gustavo J. A. M. Carneiro
|
c10f5b9e2e
|
Add default_value_type option to CppClassRefParameter. When used, code to handle default paraameters is generated using a temporary variable to hold the default parameter, instead of an expression. Unfortunately default_value_type cannot yet be introspected by the gccxml scanner.
|
2008-07-13 17:50:52 +01:00 |
|
Gustavo J. A. M. Carneiro
|
b47d59ac20
|
Ensure we do not generate helper class for classes with subclassing disabled
|
2008-07-13 15:27:51 +01:00 |
|
Gustavo J. A. M. Carneiro
|
391bf27353
|
When scanning, only explicitly set allow_subclassing for root classes, child classes will inherit from the parent.
|
2008-07-13 14:59:06 +01:00 |
|
Gustavo J. A. M. Carneiro
|
8c25bb7241
|
Don't output private APIs
|
2008-07-11 13:03:22 +01:00 |
|
Gustavo J. A. M. Carneiro
|
212e9e2667
|
Link to the tutorial example online.
|
2008-07-11 12:58:01 +01:00 |
|
Gustavo J. A. M. Carneiro
|
43822a325a
|
New API: Module.add_struct.
|
2008-07-11 12:19:33 +01:00 |
|
Gustavo J. A. M. Carneiro
|
b0ed2c8954
|
Make str(CppMethod) work better with method objects with errors.
|
2008-07-11 12:17:57 +01:00 |
|
Gustavo J. A. M. Carneiro
|
224a7119ef
|
copy the pre.py-doctest style instead of pre.py-src
|
2008-07-11 11:55:26 +01:00 |
|
Mathieu Lacage
|
dbbf842ed0
|
Expanded tutorial.
|
2008-07-11 11:49:56 +01:00 |
|
Gustavo J. A. M. Carneiro
|
a7341fe7ea
|
Clarify the custodian parameter of CppClassPtrParameter and CppClassPtrReturnValue
|
2008-07-11 11:31:25 +01:00 |
|
Gustavo J. A. M. Carneiro
|
72fcf9a0dd
|
Patch the generated CSS file to highlight literal blocks
|
2008-07-11 11:09:13 +01:00 |
|
Gustavo J. A. M. Carneiro
|
a3d6ea3000
|
Fix epydoc cross-ref
|
2008-07-11 11:08:52 +01:00 |
|
Gustavo J. A. M. Carneiro
|
a351d1490a
|
Documentation typo (thanks Mathieu)
|
2008-07-10 12:09:59 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f457d57675
|
BuildValueParameters.get_parameters now accepts optional force_tuple_creation parameter, to add () in the returned template, thus forcing a tuple to be always created.
|
2008-07-09 18:17:24 +01:00 |
|
Gustavo J. A. M. Carneiro
|
9998e16aa8
|
Fix CppMethod.clone bug (is_pure_virtual was not being copied)
|
2008-07-09 12:44:13 +01:00 |
|