aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.h
Commit message (Collapse)AuthorAgeFilesLines
* Added function can be tagged as static methods.Hugo Lima2010-01-071-0/+12
| | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Adds support for varargs in AbstractMetaArgument, AbstractMetaType and ↵Marcelo Lira2009-12-161-0/+11
| | | | | | VarargsTypeEntry. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Adds normalizedSignature static method to TypeDatabase.Marcelo Lira2009-12-161-0/+2
| | | | | | | | | | | 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-0/+23
| | | | | | | | | 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.
* Do not export global variables used only in typesystem.cpp.Hugo Lima2009-11-201-48/+10
|
* Add public visibility for more classes.Hugo Lima2009-11-161-12/+12
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Remove CustomTypeEntry classHugo Lima2009-11-161-18/+0
|
* Remove JObjectWrapperTypeEntry classHugo Lima2009-11-161-24/+0
|
* Remove QThreadTypeEntry classHugo Lima2009-11-161-23/+0
|
* APIExtractor is a huge amount of legacy code inherited from QtScriptGenerator,Hugo Lima2009-11-131-9/+10
| | | | | | | | | | | | | | | | | | 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>
* Adding support to attribute stream in TypeEntryLauro Neto2009-11-091-1/+13
|
* Added convenience method AbstractMetaFunction::injectedCodeSnips.Hugo Lima2009-10-301-1/+2
| | | | It returns all code snips in a function.
* conversion-rule tag now works inside value-type and object-type tags.Marcelo Lira2009-10-261-0/+19
| | | | | To access the conversion rule, use the new method TypeEntry->conversionRule NOTE: this commit is a modification of code produced by Hugo Parente.
* Added documentation for the new class "AddedFunction"Marcelo Lira2009-10-211-0/+20
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Added support for add-function tag into typesystem.Hugo Lima2009-10-211-23/+7
|
* Implemented a signature parser for the AddedFunction class.Hugo Lima2009-10-211-15/+20
|
* improved AddedFunction struct with more informations;Marcelo Lira2009-10-211-5/+44
| | | | extended ComplexTypeEntry with a list of AddedFunctions
* added AddFunction struct to type system collection of objects;Marcelo Lira2009-10-211-0/+46
| | | | the purpose is to allow the creation of new function/method signatures
* - Turn ctors of TypeDatabase private (It's a singleton!)Hugo Lima2009-09-181-2/+9
| | | | | - Makes possible to reset the TypeDatabase, this is usefull in unit tests when you need to make all unit tests independent of each other.
* moved setInclude, addExtraIncludes and related methods from ComplexTypeEntryMarcelo Lira2009-09-011-29/+28
| | | | | to TypeEntry, this way they will be also available on PrimitiveTypeEntry; the type system format now accepts the 'include' tag
* Added typedefs to QList<const PrimitiveTypeEntry*> andHugo Lima2009-08-201-2/+2
| | | | QList<const ContainerTypeEntry*>.
* Removed all generator stuff from APIExtractor, this stuff should be moved to ↵Hugo Lima2009-08-201-3/+0
| | | | | | | | 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/+1958