| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
Fixes bug #302
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
| |
When dealing with repeated and unordered classes it can generate an
invalid result array.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
| |
add-function tag."
|
| |
|
|
|
|
|
| |
Lists of global namespaces, inner classes and inner namespaces now
have duplicated entries removed.
|
|
|
|
|
| |
std::unique looks for adjacent duplicates in a list, so it needs
to be sorted for the algorithm to work in all items.
|
|
|
|
|
|
| |
To prevent a method that uses a type that was not ready at the moment
of analysis, the classes are traversed separately and before the class
members, namely fields and methods.
|
|
|
|
|
| |
When trying to figure out a type the AbstractMetaBuilder::translateType
method should also look in the class' parent scope.
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
| |
Author: Didier Raboud <didier@raboud.com>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
|
|
|
| |
For some reason if a default value given to above mentioned function
is exactly "QVariant::Invalid" it is turned into "0". This is done
for no apparent reason and causes the Python binding generator to
produce bad source code for the QtSql module bindings.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
| |
|
|
|
|
| |
default value.
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Hugo Parente Lima <hugo.lima@openbossa.org>
|
|
|
|
|
|
|
|
| |
Not using topological sort will generate an incorrect sorting when
there are two or more classes with the same name in different scopes.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.araujo@openbossa.org>
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
With this flag you can specify after which version the tag became
valid.
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
| |
|
|
|
|
| |
constructors.
|
|
|
|
| |
base class.
|
| |
|
| |
|
| |
|
|
|
|
| |
QList copy is cheap, because it's implicity shared, but const references are much more cheap indeed.
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
|
| |
|
| |
|
|
|
|
|
| |
Enum values are in global namespace, so sometimes you need to get them from TypeDatabase,
a use case for this is a template class where the template parameter is a enum value.
|
|
|
|
|
|
| |
bug on boost::python which
doesn't exists nowadays.
|
|
|
|
|
| |
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewer: Renato Filho <renato.filho@openbossa.org>
|
|
|
|
|
|
|
| |
with generate=no.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
|
|
|
|
| |
the parser.
|
| |
|
|
|
|
|
| |
- An inner class depends on their enclosed class.
- A class depends on their namespace.
|
|
|
|
|
|
| |
exists or
it's the global header.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
AbstractMetaBuilder::traverseOperatorFunction does additional checks
to avoid mistaken a class' reverse operator as a direct operator of
another class.
An unit test was added to check for this case.
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
|
|
| |
API Extractor does not add operator functions from the module being
processed for generation to a class belonging to a referred module,
that should not be generated.
|
| |
|