aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* APIExtractor is a huge amount of legacy code inherited from QtScriptGenerator,Hugo Lima2009-11-1310-27/+49
| | | | | | | | | | | | | | | | | | 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>
* Documentation for container-type tag into typesystem.Luciano Wolf2009-11-091-1/+16
| | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* - All reverse operators are now properly tagged as "reverse operator".Hugo Lima2009-11-094-4/+108
| | | | | | | - Reverse operators aren't tagged as static methods anymore. - Reverse operators now have just one parameter, the one that matters. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Remove the stream argument when modifying <</>>Lauro Neto2009-11-091-3/+7
| | | | | | | | | The global operator function was being added to a class' method list but without modifying the argument list by removing the owner class. It was removed a long time ago when working on boostpythongenerator. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Use isStream instead of hardcoding QDataStreamLauro Neto2009-11-092-4/+13
| | | | Also added documentation
* Adding support to attribute stream in TypeEntryLauro Neto2009-11-092-1/+15
|
* Add m_stream attribute to AbstractMetaClassLauro Neto2009-11-092-1/+16
|
* The AbstractMetaBuilder::traverseFunction method for added functionsMarcelo Lira2009-11-091-0/+1
| | | | | | now decide the usage pattern for the AbstractMetaTypes of the arguments. Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Propagate generate flag for child typesystems.renato araujo oliveira2009-11-061-2/+2
| | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Add "()" to the function signature of functions without parenteses.Hugo Lima2009-11-031-1/+3
| | | | | | | Without this the function without parenteses will be like an alien to all others APIExtractor functions. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Added convenience method AbstractMetaFunction::injectedCodeSnips.Hugo Lima2009-10-304-3/+47
| | | | It returns all code snips in a function.
* Added convenience method AbstractMetaClass::findFunction.Hugo Lima2009-10-302-4/+11
| | | | | This function returns the first AbstractMetaFunction found with a given name or a null pointer if no functions were found.
* Fix a crash when the function signature provided by add-function tag does notHugo Lima2009-10-293-11/+25
| | | | | | have parenteses. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Updated documentation of conversion-rule for argument-modification.Hugo Lima2009-10-292-1/+37
| | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* conversion-rule tag now works inside value-type and object-type tags.Marcelo Lira2009-10-265-15/+130
| | | | | 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 tag conversion-rule.Hugo Lima2009-10-232-1/+27
|
* Added functions aren't marked as virtual anymore.Hugo Lima2009-10-222-0/+6
| | | | Reviewed by Renato Araujo <renato.filho@openbossa.org>
* Fixed the openbossa logo on the pysidedocs theme.Hugo Lima2009-10-212-0/+5
|
* 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-217-53/+166
|
* Implemented a signature parser for the AddedFunction class.Hugo Lima2009-10-215-18/+213
|
* improved AddedFunction struct with more informations;Marcelo Lira2009-10-212-5/+89
| | | | extended ComplexTypeEntry with a list of AddedFunctions
* added AddFunction struct to type system collection of objects;Marcelo Lira2009-10-212-0/+52
| | | | the purpose is to allow the creation of new function/method signatures
* Added an entry for AddFunction tag in the StackElement enumHugo Lima2009-10-211-19/+20
|