aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix AbstractMetaFunction::implicitConversions.Hugo Lima2010-02-086-3/+168
| | | | | | | | | - 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>
* Assumes utf-8 encoding for conversion rules stored in external files.Hugo Lima2010-02-082-2/+5
| | | | Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Code injection from external files are always read using UTF-8.Hugo Lima2010-02-085-4/+95
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Do not count user added constructor when searching for implicity conversions.Hugo Lima2010-02-031-1/+7
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Added tests for ownership modification.Hugo Lima2010-02-023-0/+94
|
* Allow a class to multiple inherit from various object-types.Hugo Lima2010-02-014-9/+109
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed implicitly conversion retrieve values, for accept constructors with ↵Renato Filho2010-01-291-1/+1
| | | | | | default arguments. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Fix AbstractMetaClass::has* methods, so they only check your own methods.Hugo Lima2010-01-261-8/+8
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Add helper method AbstractMetaClassList::findClass(const TypeEntry* typeEntry).Hugo Lima2010-01-262-0/+10
|
* Test TestModifyDocumentation does not need X11 server connection to run.Hugo Lima2010-01-211-1/+6
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* When a constructor able to trigger implicity conversions is removedHugo Lima2010-01-204-1/+102
| | | | | | it should not appear in the implicity conversion list. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Fix AbstractMetaClass->isPolymorphic method, it was returning false for ↵Hugo Lima2010-01-151-4/+4
| | | | | | | | QEvent and other classes having just a virtual destructor. Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* 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-076-3/+41
| | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Disable verbose output on tests.Hugo Lima2009-12-281-4/+4
|
* Bump version to 0.3.4renato2009-12-211-1/+1
|
* Updated ChangeLog.renato2009-12-171-1/+128
|
* Adds support for varargs in AbstractMetaArgument, AbstractMetaType and ↵Marcelo Lira2009-12-166-4/+62
| | | | | | VarargsTypeEntry. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Adds normalizedSignature static method to TypeDatabase.Marcelo Lira2009-12-163-4/+24
| | | | | | | | | | | 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>
* Modifications in ancestors are not returned if the current class ↵Marcelo Lira2009-12-161-1/+1
| | | | reimplements the function.
* Modified AbstractMetaFunction::hasSignatureModifications to check for ↵Marcelo Lira2009-12-161-0/+2
| | | | function renaming.
* Adds support for module level 'add-function' tag.Marcelo Lira2009-12-167-10/+114
| | | | | | | | | 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-084-6/+64
| | | | | | Created tests. Reviewed by Hugo Lima <hugo.lima@openbossa.org>
* TypeEntries created for unknown types found in user added functionsHugo Lima2009-12-011-1/+1
| | | | | | are marked as CustomType isntead of TargetLangType. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Initial version of ownership documentationLauro Neto2009-11-302-0/+86
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Adding index attr to parent exampleLauro Neto2009-11-271-1/+1
|
* Modified the AbstractMetaFunction class to have a separated flag toMarcelo Lira2009-11-244-7/+46
| | | | | | | | | | | 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>
* Merge commit 'mainline/master'renato araujo oliveira2009-11-246-3/+147
|\
| * Install FindApiExtractor.cmake in the correct directory when usingHugo Lima2009-11-241-1/+1
| | | | | | | | | | | | cmake 2.8. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
| * Added methods to set and check for protected and virtual destructorMarcelo Lira2009-11-245-2/+146
| | | | | | | | on AbstractMetaClass objects. Also added tests for this.
* | Bump version to 0.3.3renato araujo oliveira2009-11-241-1/+1
| |
* | updated changelog.renato araujo oliveira2009-11-241-1/+257
|/
* Fix topological sort for args with default expression 0 and value type.renato araujo oliveira2009-11-231-0/+3
| | | | Reviewed by Lauro Moura <lauro.moura@openbossa.org>
* - Fixes flags used with msvc.Hugo Lima2009-11-231-2/+2
| | | | | | | - Set the library output path to the tests directory, so the unit tests can find the apiextractory library on windows. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Fixes various bugs on FindApiExtractor.cmake found when trying to compileHugo Lima2009-11-201-7/+12
| | | | generatorrunner on other platforms.
* Export AbstractMetaField class.Hugo Lima2009-11-201-2/+1
|
* Do not export global variables used only in typesystem.cpp.Hugo Lima2009-11-203-56/+60
|
* Fix install command, so it works on windows.Hugo Lima2009-11-201-2/+8
| | | | When compiling with msvc, use msvc specific flags, not the gcc ones.
* Export a minimal set of classes in ReportHandler interface, to speep upHugo Lima2009-11-202-111/+118
| | | | compilation and avoid link errors on windows.
* 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>
* Do not attempt to write/read a file when the file name is a empty string.Hugo Lima2009-11-181-0/+3
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Fix windows macros for dll export/import.Hugo Lima2009-11-181-2/+2
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Removed unused parser file.Hugo Lima2009-11-182-296/+0
|
* Fix apiextractor unit tests.Hugo Lima2009-11-162-9/+9
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Add public visibility for more classes.Hugo Lima2009-11-162-13/+13
| | | | 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
|
* 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