summaryrefslogtreecommitdiffstats
path: root/generator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug 501 - "Shiboken generator doesn't use full qualified name (with :: ↵Hugo Parente Lima2011-06-061-0/+2
| | | | | | | prefix) on all places." Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Empty lines from custom code must be cropped.Marcelo Lira2011-02-241-8/+14
| | | | | | | This is to avoid lines composed only of irritating trailing spaces. Reviewed by Bruno Araújo <bruno.araujo@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Add function getClassTargetFullName to get what AbstractMetaClass.fullName ↵Hugo Parente Lima2011-02-101-0/+26
| | | | would return.
* Obey ExcludeConst and ExcludeReference arg in translateType function for QFlags.Hugo Parente Lima2010-11-231-7/+6
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Use the same function in translate type primitive types and others.renatofilho2010-11-221-6/+0
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Obey ExcludeConst and ExcludeReference for primitive types on translateType ↵Hugo Parente Lima2010-10-281-0/+6
| | | | function.
* Fixed translate type function.renatofilho2010-10-201-13/+24
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Marcelo lira <marcelo.lira@openbossa.org>
* Implemented support to OriginalName flag on typeName function.renatofilho2010-10-051-1/+4
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Take care to remove only the first const and ref when translate types.Renato Filho2010-08-111-4/+10
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Removed deprecated methods.Hugo Parente Lima2010-07-081-152/+0
|
* Adapt to recent changes in ApiExtractor API.Hugo Parente Lima2010-07-081-1/+1
|
* Added methods Generator::findAbstractMetaEnum.Marcelo Lira2010-06-031-0/+20
| | | | | | | | The new methods returns an AbstractMetaEnum for a given TypeEntry, EnumTypeEntry, FlagsTypeEntry or AbstractMetaType. Reviewed by Renato Araújo <renato.filho@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Avoid get the wrong class when using Generator::implicitConversions(const ↵Hugo Lima2010-02-241-4/+3
| | | | | | TypeEntry*) when there are two classes with the same name, but in different scopes.
* Improved Generator::replaceTemplateVariables method to avoid segfaults.Marcelo Lira2009-12-151-1/+2
| | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Remove white spaces at end of each line when formating injected code.Hugo Lima2009-11-191-0/+2
|
* Fix the formatCode function (again).Hugo Lima2009-11-191-2/+3
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Fix the formatCode function.Hugo Lima2009-11-191-64/+18
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* - Prepare libgenerator.so for a near future when we will need to worry about ↵Hugo Lima2009-11-171-27/+70
| | | | | | | | | | | | | | | | | | | | | | | | BIC changes, Now it uses a d-pointer and do not export private methods/structures. - Mark some methods as deprecated, as they doesn't belong to Generator, being a huge cohesion failure IMO. - Fixed constness of some methods. Deprecated methods: AbstractMetaFunctionList filterFunctions(const AbstractMetaClass *cppClass); AbstractMetaFunctionList queryFunctions(const AbstractMetaClass *cpp_class, bool all_function = false); AbstractMetaFunctionList queryGlobalOperators(const AbstractMetaClass *cpp_class); AbstractMetaFunctionList sortConstructor(AbstractMetaFunctionList list); Moved method: verifyDirectoryFor is now a ordinary global function like formatCode, because it's a helper function not related with code generation. All these methods would be somewhere/somehow in APIExtractor, because they are basically helper methods to supply some APIExtractor missing functionalities. Note: Shiboken and BoostPython generator needs some minor fixes to adapt to changed caused by this patch.
* Remove duplicated documentation.Hugo Lima2009-11-171-2/+0
|
* added Generator::implicitConversions(type) method that returns the constructorsMarcelo Lira2009-10-301-0/+16
| | | | | | for implicit conversions for the given type, which should be a value-type Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* fixed typo in Generator::sortConstructor method nameMarcelo Lira2009-10-301-2/+2
|
* Fixed assert failure when using qtdocgenerator.Hugo Lima2009-09-031-0/+14
| | | | | Added a default implementation for Generator::subDirectoryForClass. This breaks the binary compatibility but NOT the source compatibility.
* Use QFlags instead of an int as parameter type in some methods.Hugo Lima2009-08-261-24/+7
| | | | Reviewed by Setanta
* Removed QtDocGenerator dependence from BoostPythonGenerator, so a lotHugo Lima2009-08-251-0/+91
| | | | | | of function were moved from BoostPythonGenerator to the Generator class. In other words, QtDocGenerator finally compiles and their unit test pass :-)
* - QtDocGenerator is now a GeneratorRunner plugin.Hugo Lima2009-08-251-0/+205
| | | | - A lot of methods moved from boostpythongenerator to the generator class.
* The current generators will be just plugins and all generator stuff in ↵Hugo Lima2009-08-251-0/+143
APIExtractor were moved to this project. So we need to re-think if boostpythongenerator still a good name for the project, because boostpythongenerator will be the name of the plugin to generate bindings for boost::python. Also the generators were just moved to a subdirectory (generators) and the boostpython generators to a sub-subdirectory (generators/boostpython), transform them in plugins will be a second milestone.