| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Returns true when the function is a call operator.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
| |
|
|
|
|
|
|
|
| |
QKeyEvent == QKeySequence"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
|
| |
|
|
|
|
|
|
|
|
| |
This capatility indicates that the given type has a QDebug::operator<<
function, so it's only useful when using PySide extensions.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
| |
add-function tag."
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
|
| |
Added methods to verify the presence of protected fields and members in
general in a class.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change the behaviour of ApiExtractor regarding to global functions.
All global function you want to be exported to python *need* to be especified
in the type system with the function tag, otherwise they wont be exported at all.
The syntax for this new tag is:
<function signature="..." />
This is just the initial work for this tag, it is missign support for:
- Function modifications.
- Add a function overload with add-function tag.
|
|
|
|
|
|
|
|
|
|
| |
These methods were moved to AbstractMetaFunction, because they are created
to store the include file of global enums and functions, but for enums, we
store the include file in TypeEntry, as functions doesn't have TypeEntries,
only global functions need this.
Also the new version of includeFile returns a instance of Include class
instead of a QString.
|
| |
|
|
|
|
|
|
|
| |
AbstractMetaClass::implicitConversions() returns externally declared
conversion operators in addition to its own implicit constructors.
The implicit conversion tests where extended with the new case.
|
|
|
|
|
| |
Conversion operators that result in an AbstractMetaClass are added
to a collection belonging to said meta class.
|
|
|
|
|
|
|
|
|
| |
- Public ctors added by the user with 1 value-type parameter are always added to the implicity
conversion list.
- If the ctor visibility of an function was modified from public to private, the function isn't
added to the result.
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
| |
|
|
|
|
|
|
| |
VarargsTypeEntry.
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.
|
|
|
|
|
|
|
|
|
|
|
| |
indicate that it was added by the user or not, instead of using the
AbstractMetaFunction::UserAddedFunction enum value. The old way
prevented the function to be an UserAddedFunction and a
ConstructorFunction at the same time, since this information was
stored as an enum of the AbstractMetaFunction::FunctionType type.
A test case was also added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
| |
on AbstractMetaClass objects. Also added tests for this.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This function returns the first AbstractMetaFunction found with a given name or
a null pointer if no functions were found.
|
| |
|
| |
|
|
|
|
|
|
| |
Separeted value pointers from native pointer for help generators.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
| |
the name of the class/type without namespace/scope information
|
|
|