path: root/abstractmetabuilder.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for adding reverse operators with add-function tag.Hugo Parente Lima2012-03-091-1/+2
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Implemented support to added functions for TypeAlias.sb-0.8.1renatofilho2012-03-091-0/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Improved resolution of enum value attributions.Marcelo Lira2012-03-091-0/+2
| | | | | | | | In particular when an enum item is set to the value of an item from other enum. The code for this was moved to the method AbstractMetaBuilder::findOutValueFromString. Tests were added as well. s# ../tests/.testenum.h.swp
* Fixed memory leak.Renato Filho2012-03-091-1/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#260 - "Can't modify argument name of a function added with ↵Hugo Parente Lima2012-03-091-0/+1
| | | | add-function tag."
* Added a method to return the template list from AbstractMetaBuilder.Marcelo Lira2012-03-091-0/+4
| | | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Namespaces must be traversed recursively as they should.Marcelo Lira2012-03-091-1/+4
* Class members are traversed after the classes themselves.Marcelo Lira2012-03-091-0/+1
| | | | | | 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.
* Implemented support to flag "since" on typesystem.Renato Filho2012-03-091-1/+2
| | | | | With this flag you can specify after which version the tag became valid.
* Do not set the include file on TypeEntries when the include file does not ↵Hugo Parente Lima2012-03-091-1/+11
| | | | | | exists or it's the global header.
* TypeDatabase class moved to its own header/cpp.Hugo Parente Lima2012-03-091-2/+3
* Value type classes now have implicit copy constructors added when needed.Marcelo Lira2012-03-091-0/+3
* Adds the AbstractMetaBuilder::setupExternalConversions(metaClass) method.Marcelo Lira2010-02-261-0/+1
| | | | | | | | The code to add the external conversion operators for a class found in another class was moved to its own function, setupExternalConversions, that is called after all classes were traversed. Not all classes are ready when fixReturnTypeOfConversionOperator(metaFunc), the method where the moved code dwelt, is called.
* Added method AbstractMetaBuilder::fixReturnTypeOfConversionOperator(func).Marcelo Lira2010-02-261-0/+12
| | | | | | | | | | The new method fixes the return type of conversion operators: they should return the target of the conversion as type and not the type of its owner class. fixReturnTypeOfConversionOperator is used in traverseFunctions. An unit test was added for this case. Note that this behaviour could be fixed in the parser. I dare you!
* APIExtractor is a huge amount of legacy code inherited from QtScriptGenerator,Hugo Lima2009-11-131-1/+1
| | | | | | | | | | | | | | | | | | 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>
* Added support for add-function tag into typesystem.Hugo Lima2009-10-211-0/+2
* Fixed bugs related to the strings returned by defaultValue and ↵Hugo Lima2009-09-181-1/+1
| | | | | | | | | originalDefaultValue. - If there are no typesystem modifications, originalDefaultValue will be equals to defautlvalue, so originalDefaultValue will not be the same string found by the C++ parser, it will be usefull only to check if there are some default values modifications.
* Revert "Fix a bug related to function default values."Hugo Lima2009-09-181-0/+3
| | | | | | This fix bring to much regressions. This reverts commit 752c22056f4ba61961a01819992f9af71a3b0416.
* Fix a bug related to function default values.Hugo Lima2009-09-151-3/+0
| | | | | | | | ApiExtractor tries to modify the defaultValue every time, so then return value of originalDefaultValue() if diferent from the return value of defaultValue() when they dont need to be. Unit test included.
* Add the option to set the directory where all log files will be created.Hugo Lima2009-09-111-0/+3
* The genesis...Hugo Lima2009-08-171-0/+225