aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Correctly search for typesystem in all available typesystem paths.Hugo Lima2010-01-081-8/+5
| | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Added function can be tagged as static methods.Hugo Lima2010-01-071-0/+2
| | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Adds support for varargs in AbstractMetaArgument, AbstractMetaType and ↵Marcelo Lira2009-12-161-3/+10
| | | | | | VarargsTypeEntry. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Adds normalizedSignature static method to TypeDatabase.Marcelo Lira2009-12-161-2/+20
| | | | | | | | | | | 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>
* Adds support for module level 'add-function' tag.Marcelo Lira2009-12-161-2/+31
| | | | | | | | | 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.
* Fixed support for modify args in add-function tag.renato2009-12-081-1/+2
| | | | | | Created tests. Reviewed by Hugo Lima <hugo.lima@openbossa.org>
* Do not export global variables used only in typesystem.cpp.Hugo Lima2009-11-201-7/+49
|
* Do not exit with a assertion failure when the typesystem was not found.Hugo Lima2009-11-191-1/+4
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* The type system parser now reuses TypeSystemTypeEntry for the any moduleMarcelo Lira2009-11-161-2/+5
| | | | | | | | 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>
* fixed the appending of code injection to the module;Marcelo Lira2009-11-141-1/+4
| | | | | | 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
* Adding support to attribute stream in TypeEntryLauro Neto2009-11-091-0/+2
|
* Propagate generate flag for child typesystems.renato araujo oliveira2009-11-061-2/+2
| | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Add "()" to the function signature of functions without parenteses.Hugo Lima2009-11-031-1/+3
| | | | | | | Without this the function without parenteses will be like an alien to all others APIExtractor functions. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Fix a crash when the function signature provided by add-function tag does notHugo Lima2009-10-291-11/+16
| | | | | | have parenteses. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* conversion-rule tag now works inside value-type and object-type tags.Marcelo Lira2009-10-261-15/+18
| | | | | To access the conversion rule, use the new method TypeEntry->conversionRule NOTE: this commit is a modification of code produced by Hugo Parente.
* Added support for add-function tag into typesystem.Hugo Lima2009-10-211-14/+16
|
* Implemented a signature parser for the AddedFunction class.Hugo Lima2009-10-211-3/+76
|
* improved AddedFunction struct with more informations;Marcelo Lira2009-10-211-0/+45
| | | | extended ComplexTypeEntry with a list of AddedFunctions
* added AddFunction struct to type system collection of objects;Marcelo Lira2009-10-211-0/+6
| | | | the purpose is to allow the creation of new function/method signatures
* Added an entry for AddFunction tag in the StackElement enumHugo Lima2009-10-211-19/+20
|
* Handler::current renamed to Handler::m_currentHugo Lima2009-09-241-44/+44
| | | | With kdevelop4 it's so easy :-D
* Fix bug#38.Hugo Lima2009-09-241-3/+4
|
* - Turn ctors of TypeDatabase private (It's a singleton!)Hugo Lima2009-09-181-2/+7
| | | | | - Makes possible to reset the TypeDatabase, this is usefull in unit tests when you need to make all unit tests independent of each other.
* Use specific Qt include headers for OS compatibility.Renato Araujo Oliveira Filho2009-09-101-1/+1
| | | | | | Fixes Bug #49. Reviewed by Luciano Miguel Wolf <luciano.wolf@openbossa.org>
* moved setInclude, addExtraIncludes and related methods from ComplexTypeEntryMarcelo Lira2009-09-011-6/+6
| | | | | to TypeEntry, this way they will be also available on PrimitiveTypeEntry; the type system format now accepts the 'include' tag
* Removed all generator stuff from APIExtractor, this stuff should be moved to ↵Hugo Lima2009-08-201-77/+1
| | | | | | | | 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!
* The genesis...Hugo Lima2009-08-171-0/+2085