| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
| |
VarargsTypeEntry.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
| |
All the uses of QMetaObject::normalizedSignature were replaced to use
TypeDatabase::normalizedSignature; the former always changes the
unsigned primitives to the shorter versions (e.g. "unsigned int"
becomes "uint") that aren't necessarily used by the parsed library.
The new normalizer changes back "uNUMBER" to "unsigned NUMBER" if the
former is not present in the TypeDatabase.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
The TypeDatabase now stores global added functions as well as
function modifications.
The AbstractMetaFunction::modifications method was improved to
check for global modifications.
The test suite was updated with the changes.
|
| |
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but QtScriptGenerator itself isn't a library, this explains why libapiextractor
does not care about things that every library SHOULD care, symbol visibility and
binary compatibility.
This commit adds symbol visibility rules to libapiextractor as the first step to make
libapiextractor aware of binary compatibility.
This is also needed if we want to be able to compile and use libapiextractor
under Windows.
Note: Not all symbols were made public, just the symbols needed by shiboken,
boostpython and doc generators, because IMHO libapiextractor needs some love
and a API review. More symbols could be added later if needed.
Reviewed by Renato Araujo <renato.filho@openbossa.org>
|
| |
|
|
|
|
| |
It returns all code snips in a function.
|
|
|
|
|
| |
To access the conversion rule, use the new method TypeEntry->conversionRule
NOTE: this commit is a modification of code produced by Hugo Parente.
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
| |
|
| |
|
|
|
|
| |
extended ComplexTypeEntry with a list of AddedFunctions
|
|
|
|
| |
the purpose is to allow the creation of new function/method signatures
|
|
|
|
|
| |
- Makes possible to reset the TypeDatabase, this is usefull in unit tests
when you need to make all unit tests independent of each other.
|
|
|
|
|
| |
to TypeEntry, this way they will be also available on PrimitiveTypeEntry;
the type system format now accepts the 'include' tag
|
|
|
|
| |
QList<const ContainerTypeEntry*>.
|
|
|
|
|
|
|
|
| |
the generator,
and the apiextractor library should be just what their name means, an API extractor.
This break the APIExtractor source compatibility with no mercy!
|
|
|