aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetalang.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support to fix bug#493 - "__eq__ and friends not implemented for ↵Hugo Parente Lima2012-03-091-1/+17
| | | | | | | QKeyEvent == QKeySequence" Reviewer: Renato Araújo <renato.filho@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Added the 'AbstractMetaField::isModifiedRemoved' method.Marcelo Lira2012-03-091-0/+2
|
* Add toStringCapability attribute to AbstractMetaClass.Hugo Parente Lima2012-03-091-13/+12
| | | | | | | | This capatility indicates that the given type has a QDebug::operator<< function, so it's only useful when using PySide extensions. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Anonymous enums now supported.Marcelo Lira2012-03-091-0/+5
|
* Fixed memory leak.Renato Filho2012-03-091-21/+54
| | | | | 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-15/+17
| | | | add-function tag."
* Enable warning for arguments without name.Renato Filho2012-03-091-0/+12
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Added methods to AbstractMetaClass to verify the presence of protected members.Marcelo Lira2012-03-091-0/+18
| | | | | | | | Added methods to verify the presence of protected fields and members in general in a class. Reviewed by Renato Araújo <renato.filho@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Add method setTypeEntry to AbstractMetaFunction.Hugo Parente Lima2012-03-091-0/+5
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org>
* Added the "function" tag to ApiExtractor.Hugo Parente Lima2012-03-091-9/+5
| | | | | | | | | | | | | | | 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.
* Removed methods includeFile and setIncludeFile from AbstractMetaAttribute.Hugo Parente Lima2012-03-091-13/+10
| | | | | | | | | | 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.
* Adds convenience methods regarding copy constructors to AbstractMetaClass.Marcelo Lira2012-03-091-0/+3
|
* External conversion operators are now part of a class' implicit conversions.Marcelo Lira2010-02-261-1/+1
| | | | | | | AbstractMetaClass::implicitConversions() returns externally declared conversion operators in addition to its own implicit constructors. The implicit conversion tests where extended with the new case.
* AbstractMetaClasses now store a collection of external conversions.Marcelo Lira2010-02-261-0/+19
| | | | | Conversion operators that result in an AbstractMetaClass are added to a collection belonging to said meta class.
* Fix AbstractMetaFunction::implicitConversions.Hugo Lima2010-02-081-1/+1
| | | | | | | | | - Public ctors added by the user with 1 value-type parameter are always added to the implicity conversion list. - If the ctor visibility of an function was modified from public to private, the function isn't added to the result. Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Add helper method AbstractMetaClassList::findClass(const TypeEntry* typeEntry).Hugo Lima2010-01-261-0/+1
|
* Adds support for varargs in AbstractMetaArgument, AbstractMetaType and ↵Marcelo Lira2009-12-161-0/+7
| | | | | | VarargsTypeEntry. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Adds support for module level 'add-function' tag.Marcelo Lira2009-12-161-1/+2
| | | | | | | | | 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.
* Modified the AbstractMetaFunction class to have a separated flag toMarcelo Lira2009-11-241-2/+13
| | | | | | | | | | | indicate that it was added by the user or not, instead of using the AbstractMetaFunction::UserAddedFunction enum value. The old way prevented the function to be an UserAddedFunction and a ConstructorFunction at the same time, since this information was stored as an enum of the AbstractMetaFunction::FunctionType type. A test case was also added. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Added methods to set and check for protected and virtual destructorMarcelo Lira2009-11-241-0/+24
| | | | on AbstractMetaClass objects. Also added tests for this.
* Export AbstractMetaField class.Hugo Lima2009-11-201-2/+1
|
* APIExtractor is a huge amount of legacy code inherited from QtScriptGenerator,Hugo Lima2009-11-131-10/+8
| | | | | | | | | | | | | | | | | | 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>
* Add m_stream attribute to AbstractMetaClassLauro Neto2009-11-091-1/+14
|
* Added convenience method AbstractMetaFunction::injectedCodeSnips.Hugo Lima2009-10-301-0/+7
| | | | It returns all code snips in a function.
* Added convenience method AbstractMetaClass::findFunction.Hugo Lima2009-10-301-0/+1
| | | | | This function returns the first AbstractMetaFunction found with a given name or a null pointer if no functions were found.
* Added support for add-function tag into typesystem.Hugo Lima2009-10-211-1/+2
|
* Add method AbstractMetaFunction::isCastOperator.Hugo Lima2009-10-161-0/+1
|
* Create a new method to AbstractType: isValuePointer.Renato Araujo Oliveira Filho2009-08-261-0/+6
| | | | | | Separeted value pointers from native pointer for help generators. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* AbstractMetaClass::name() and AbstractMetaType::name() now return onlyMarcelo Lira2009-08-251-2/+6
| | | | the name of the class/type without namespace/scope information
* The genesis...Hugo Lima2009-08-171-0/+1874