| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
The default-constructor attribute specifies a way to build an instance
of a class declared as primitive type using default arguments.
Documentation and a test were also added.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
With this flag you can specify after which version the tag became
valid.
|
|
|
|
|
|
|
| |
with generate=no.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Reviewer: Luciano Wolf <luciano.wolf@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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
With this method we can get the string used in typesystem to declare the
container type (list, set, map, pair, etc).
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
|
|
|
|
|
|
|
| |
generator.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
The error checking that avoids duplicated conversion rules
definitions applies only to general type conversions, not to
cases specified to a function argument.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
|
| |
The type system tag '<reference-count action="Add|Remove|..."/>' used
on argument modification was uncommented, documentation was written and
a unit test was created for it.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
| |
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
| |
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Created tests.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
|
| |
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
|
|
| |
file being parsed. The existing module retrieval is based on the
module name given as attribute of the "typesystem" tag. This allows
helps when a single module is described on multiple type system files.
Reviewed by Renato Araujo <renato.filho@openbossa.org>
|
|
|
|
|
|
| |
previously only code injected from a file was being
stored correctly in the module object, code written
inside the 'inject-code' tag was always lost
|
| |
|
|
|
|
| |
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
|
|
|
| |
Without this the function without parenteses will be like an alien to
all others APIExtractor functions.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
| |
have parenteses.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
To access the conversion rule, use the new method TypeEntry->conversionRule
NOTE: this commit is a modification of code produced by Hugo Parente.
|
| |
|
| |
|
|
|
|
| |
extended ComplexTypeEntry with a list of AddedFunctions
|
|
|
|
| |
the purpose is to allow the creation of new function/method signatures
|
| |
|
|
|
|
| |
With kdevelop4 it's so easy :-D
|
| |
|
|
|
|
|
| |
- Makes possible to reset the TypeDatabase, this is usefull in unit tests
when you need to make all unit tests independent of each other.
|
|
|
|
|
|
| |
Fixes Bug #49.
Reviewed by Luciano Miguel Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
| |
to TypeEntry, this way they will be also available on PrimitiveTypeEntry;
the type system format now accepts the 'include' tag
|
|
|
|
|
|
|
|
| |
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!
|
|
|