Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Fix files to link against on Windows." | Renato Filho | 2012-03-09 | 1 | -1/+1 |
| | | | | | | This reverts commit a7bce60de9bc884506b4f4d13ea538702d459597. This CMAKE LINK_LIBRARY PREFIX does not exists on cmake 2.6. | ||||
* | Remove ancient code commented out years ago. | Hugo Parente Lima | 2012-03-09 | 1 | -144/+0 |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org> | ||||
* | Comestic changes to follow our code style. | Hugo Parente Lima | 2012-03-09 | 1 | -112/+111 |
| | |||||
* | When the class is a alias for a template class, proper rename their ↵ | Hugo Parente Lima | 2012-03-09 | 1 | -0/+1 |
| | | | | constructors. | ||||
* | When the class is a alias for a template class, copy all properties from the ↵ | Hugo Parente Lima | 2012-03-09 | 1 | -0/+10 |
| | | | | base class. | ||||
* | Add more tests for hasNonPrivateCtor method, when the type is a alias for a ↵ | Hugo Parente Lima | 2012-03-09 | 2 | -3/+25 |
| | | | | template class. | ||||
* | Remove useless castType variable. | Hugo Parente Lima | 2012-03-09 | 1 | -12/+1 |
| | |||||
* | Fix MSVC compilation failure. | Catalin Iacob | 2012-03-09 | 1 | -1/+1 |
| | | | | | | | | The error message was: apiextractor\include.h(78) : error C2375: 'qHash' : redefinition; different linkage Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org> | ||||
* | Fix files to link against on Windows. | Catalin Iacob | 2012-03-09 | 1 | -1/+1 |
| | | | | | | | On Windows there is a distinction between a DLL (foo.dll) and the import library (foo.lib) that a program links to in order to use that DLL. It seems that CMAKE_LINK_LIBRARY_SUFFIX is perfect for this distinction - the suffix will be .lib on Windows and .so on Linux. | ||||
* | Do not add the base class as a dependency if the base class is not in the graph. | Hugo Parente Lima | 2012-03-09 | 1 | -2/+4 |
| | |||||
* | Add better error message when a cyclic type dependency is found. | Hugo Parente Lima | 2012-03-09 | 1 | -1/+10 |
| | |||||
* | Do not copy the QList, use a const reference instead. | Hugo Parente Lima | 2012-03-09 | 1 | -5/+1 |
| | | | | QList copy is cheap, because it's implicity shared, but const references are much more cheap indeed. | ||||
* | Bump version to 0.5.2. | Renato Filho | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | Updated git-archive use to keep compatibility with git version 1.6. | Renato Filho | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | Fix soname of ApiExtractor. | Hugo Parente Lima | 2012-03-09 | 1 | -1/+2 |
| | |||||
* | Bump version to 0.5.1. | Hugo Parente Lima | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | added gitattributes. | Renato Filho | 2012-03-09 | 1 | -0/+2 |
| | |||||
* | Fixed QFlags lookup. | Renato Filho | 2012-03-09 | 1 | -1/+13 |
| | |||||
* | Tag user added function inside namespaces as static functions. | Hugo Parente Lima | 2012-03-09 | 1 | -0/+2 |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org> | ||||
* | Bump the documentation version | Hugo Parente Lima | 2012-03-09 | 1 | -2/+2 |
| | | | | | Reviewer: Bruno Araújo <bruno.araujo@openbossa.org> Reviewer: Willer Moreira <willer.moreira@openbossa.org> | ||||
* | Added tests for template instanciations using enum values, all under a nice ↵ | Hugo Parente Lima | 2012-03-09 | 3 | -0/+110 |
| | | | | | | | namespace. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org> | ||||
* | Fixes template instanciation when the template parameter is a enum value. | Hugo Parente Lima | 2012-03-09 | 1 | -47/+33 |
| | |||||
* | Only add an enclosing class to the dependency graph if it's part of the graph. | Hugo Parente Lima | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | Add EnumValueTypeEntry. | Hugo Parente Lima | 2012-03-09 | 2 | -0/+37 |
| | | | | | Enum values are in global namespace, so sometimes you need to get them from TypeDatabase, a use case for this is a template class where the template parameter is a enum value. | ||||
* | Remove detection of duplicated enum values, this was implemented due to a ↵ | Hugo Parente Lima | 2012-03-09 | 2 | -51/+2 |
| | | | | | | bug on boost::python which doesn't exists nowadays. | ||||
* | Support 'void' argument. | Lauro Neto | 2012-03-09 | 1 | -0/+8 |
| | | | | | Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Renato Filho <renato.filho@openbossa.org> | ||||
* | Adding tests for 'void' argument in functions | Lauro Neto | 2012-03-09 | 3 | -0/+119 |
| | |||||
* | Do not generate bindings for global functions when the typesystem was loaded ↵ | Hugo Parente Lima | 2012-03-09 | 2 | -2/+3 |
| | | | | | | | with generate=no. Reviewer: Lauro Moura <lauro.neto@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Merge remote branch 'luck/fixprivctor' | Luciano Wolf | 2012-03-09 | 4 | -0/+90 |
|\ | |||||
| * | Update class info once a default ctor is added. | Luciano Wolf | 2012-03-09 | 4 | -0/+90 |
| | | |||||
* | | Add method setTypeEntry to AbstractMetaFunction. | Hugo Parente Lima | 2012-03-09 | 2 | -0/+6 |
| | | | | | | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org> | ||||
* | | Added documentation for function tag. | Hugo Parente Lima | 2012-03-09 | 1 | -2/+17 |
| | | |||||
* | | Show a warning if a global function defined in typesystem was not found by ↵ | Hugo Parente Lima | 2012-03-09 | 1 | -25/+37 |
| | | | | | | | | the parser. | ||||
* | | Fix constness of FunctionTypeEntry methods. | Hugo Parente Lima | 2012-03-09 | 1 | -2/+2 |
| | | |||||
* | | Do not create two AbstractMetaClass for every template class. | Hugo Parente Lima | 2012-03-09 | 2 | -2/+10 |
| | | |||||
* | | Remove hardcoded QXmlStreamStringRef class from ApiExtractor. | Hugo Parente Lima | 2012-03-09 | 1 | -4/+0 |
| | | |||||
* | | Fix class dependence in topological sort. | Hugo Parente Lima | 2012-03-09 | 1 | -27/+4 |
| | | | | | | | | | | - An inner class depends on their enclosed class. - A class depends on their namespace. | ||||
* | | Write graph nodes using quotes on Graph::dump. | Hugo Parente Lima | 2012-03-09 | 1 | -1/+1 |
| | | |||||
* | | Bump version to 0.5.0, due to ABI breackage. | Hugo Parente Lima | 2012-03-09 | 1 | -2/+2 |
| | | | | | | | | | | ApiExtractor is not prepared for binary compatibility, so this will happen a lot. | ||||
* | | Do not set the include file on TypeEntries when the include file does not ↵ | Hugo Parente Lima | 2012-03-09 | 3 | -19/+35 |
| | | | | | | | | | | | | exists or it's the global header. | ||||
* | | Fix constness of TypeDatabase methods. | Hugo Parente Lima | 2012-03-09 | 2 | -39/+39 |
| | | |||||
* | | TypeDatabase class moved to its own header/cpp. | Hugo Parente Lima | 2012-03-09 | 12 | -666/+797 |
| | | |||||
* | | Added the "function" tag to ApiExtractor. | Hugo Parente Lima | 2012-03-09 | 9 | -19/+194 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Include class moved to its own .h/.cpp file. | Hugo Parente Lima | 2012-03-09 | 5 | -63/+137 |
| | | |||||
* | | Removed methods includeFile and setIncludeFile from AbstractMetaAttribute. | Hugo Parente Lima | 2012-03-09 | 2 | -16/+12 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Set the include file for enums. | Hugo Parente Lima | 2012-03-09 | 1 | -6/+11 |
| | | |||||
* | | Fixed constness of Include::isValid. | Hugo Parente Lima | 2012-03-09 | 1 | -1/+1 |
| | | | | | | | | P.S.: This is a ABI change. | ||||
* | | Added qHash, operator<<(QTextStream,Include) and operator== to class Include. | Hugo Parente Lima | 2012-03-09 | 2 | -1/+22 |
| | | |||||
* | | Do not build tests if explicitly wanted to. Default is to build. | Carlos Goncalves | 2012-03-09 | 1 | -3/+9 |
|/ | | | | | | | | | The majority of users don't need tests built. This will reduce build time significantly, and packagers will be thanked for it. To not build tests append -DBUILD_TESTS=False to cmake parameters. Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Added ContainerTypeEntry::typeName() method. | Hugo Parente Lima | 2012-03-09 | 2 | -0/+35 |
| | | | | | | | | With this method we can get the string used in typesystem to declare the container type (list, set, map, pair, etc). Reviewer: Lauro Moura <lauro.neto@openbossa.org> Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> |