aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version bumpsb-0.10.1Hugo Parente Lima2012-03-091-1/+1
|
* Use QDir::currentPath() to avoid problems with armel-Meego target.Luciano Wolf2012-03-092-2/+2
| | | | | Reviewer: Lauro Moura <lauro.neto@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fixed AbstractMetaType::cppSignature() method.Marcelo Lira2012-03-091-1/+6
| | | | | | | | | | The usage pattern *must* be decided *after* the possible template instantiations have been determined, or else the absence of such instantiations will break the caching scheme of AbstractMetaType::cppSignature(). Reviewed by Bruno Araújo <bruno.araujo@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added tests for template containers used as arguments for functions.Marcelo Lira2012-03-092-0/+75
|
* Turn some regex static, so we don't need to compile them in every function call.sb-0.10.0Hugo Parente Lima2012-03-091-2/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Add more cache stuff to speed up the generation process.Hugo Parente Lima2012-03-092-39/+42
|
* Cache the value of AbstractMetaType::nameHugo Parente Lima2012-03-091-1/+4
|
* Added a depth counter to avoid segmentation faults when discarding type entries.Marcelo Lira2012-03-094-10/+50
| | | | | | | And an unit test was added. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added the "ApiExtractor::setDropTypeEntries(QString)" method.Marcelo Lira2012-03-092-0/+8
| | | | | | | | | It gets a string of semicolon (;) separated type system entry names that will be passed to the type system parser to deal with the given entries. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added a test for dropped type system entries.Marcelo Lira2012-03-094-1/+153
| | | | Also updated the TestUtil class to deal with dropped entries.
* Type system parser has now the ability to ignore entries as demanded by the ↵Marcelo Lira2012-03-094-0/+66
| | | | | | | | | | | | | | | | | | | | user. The entries that could be dropped are: * Object and Value types * Global functions * Namespaces * Enums The entry name must be fully qualified with scope items separated by a dot (.) and beginning with the module/package name. Example: to drop the class "Bar" inside the namespace "Foo" from the "Pkg" package specify it with: "Pkg.Foo.Bar". TODO: The parser will later complain that dropped entries found on the headers are not found in the type system. That's obviously incorrect, but to fix it all the type entries should store the name of the package from where the came. And that's a needed improvement!
* Bump version to 0.10.0.Marcelo Lira2012-03-091-2/+2
|
* Removed unused variable.Marcelo Lira2012-03-091-1/+0
|
* Moved down AbstractMetaType creation line to avoid possible memory leak.Marcelo Lira2012-03-091-1/+1
|
* Update documentation for reference-count tag.Marcelo Lira2012-03-091-1/+7
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added an alias for the confusing index values for the ArgumentOwner class.Marcelo Lira2012-03-091-1/+7
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Uncomment usefull code to get reference-count action attribute work again ↵Hugo Parente Lima2012-03-091-2/+2
| | | | | | | for all values. Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Global functions can now be renamed.Marcelo Lira2012-03-095-2/+46
| | | | | | | | This is accomplished via the "rename" attribute on the "function" tag. An unit test was added and the documentation updated. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Bump version to 0.9.5.Renato Araujo Oliveira Filho2012-03-091-1/+1
|
* Fixed Cmake files used to find the library after the installation.sb-0.9.4Renato Araujo Oliveira Filho2012-03-091-8/+9
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Use QCoreApplication instead of QApplication for TestModifyDocumentation.Hugo Parente Lima2012-03-091-2/+9
| | | | | | | | This change was made just to avoid a crash on our FREMANTLE/ARMEL buildbot, the test still the same. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Avoid crash reported on http://bugreports.qt.nokia.com/browse/QTBUG-16868Hugo Parente Lima2012-03-091-4/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#636 - "Unable to navigate back to the main site from the generated ↵Hugo Parente Lima2012-03-092-5/+3
| | | | documentation"
* Bump to version 0.9.4Renato Araujo Oliveira Filho2012-03-091-1/+1
|
* Un-hardcode test resources pathsb-0.9.3Lauro Neto2012-03-093-2/+9
| | | | | | | | | | | | | | | Instead of hardcoding (through the __FILE__ macro) use the current application directory to find the resources. The previous scheme didn't allow running the tests when the source code isn't available. List of resources: - a.xml -> testmodifydocumentation - utf8code.txt -> testcodeinjection Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org>
* Fix documentation typo.Hugo Parente Lima2012-03-091-1/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Bumped version to 0.9.3.Renato Araujo Oliveira Filho2012-03-091-1/+1
|
* Fixed polymorphic value for classes.sb-0.9.2Renato Araujo Oliveira Filho2012-03-091-0/+4
| | | | | | | Fixes bug #587. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Add support to fix bug#493 - "__eq__ and friends not implemented for ↵Hugo Parente Lima2012-03-093-4/+39
| | | | | | | QKeyEvent == QKeySequence" Reviewer: Renato Araújo <renato.filho@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Bumped version to 0.9.2.Renato Araujo Oliveira Filho2012-03-091-1/+1
|
* Renamed the "define-ownership" tag "calss" attribute value from "shell" to ↵sb-0.9.1Marcelo Lira2012-03-092-2/+2
| | | | | | | | | | | "native". This was done to keep consistency with the rest of the type system tag attributes, which use "native" instead of "c++" or "shell". Documentation was updated accordingly. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Make installed tests executableLauro Neto2012-03-091-1/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
* Add option to install the tests binaries.Lauro Neto2012-03-092-0/+4
| | | | | Reviewer: Hugo Lima <hugo.lima@openbossa.org> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
* Include "generate" attribute for namespace type into documentation.Luciano Wolf2012-03-091-2/+7
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Bumped version to 0.9.1Renato Araujo Oliveira Filho2012-03-091-1/+1
|
* Bump version to 0.9.0sb-0.9.0Lauro Neto2012-03-091-2/+2
|
* Updated documentation for the 'remove' attribute of the 'modified-field' tag.Marcelo Lira2012-03-091-0/+3
| | | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Discards class' fields removed in the type system binding description.Marcelo Lira2012-03-091-1/+1
|
* Added the 'AbstractMetaField::isModifiedRemoved' method.Marcelo Lira2012-03-092-0/+19
|
* Added the 'remove' attribute to the 'modify-field' type system tag.Marcelo Lira2012-03-091-12/+22
| | | | | Also created a static convenience function to process the 'remove' attribute content and set the error message if needed.
* Moved members of FunctionModification to parent Modification class.Marcelo Lira2012-03-091-7/+8
| | | | | | 'removal' public attribute and 'isRemovedModifier' public method were moved from FunctionModification to Modification, this benefits FieldModification class, that inherits from the latter.
* Fixes spelling on warning message.Marcelo Lira2012-03-091-1/+1
|
* Added unit test to field removal.Marcelo Lira2012-03-093-0/+93
|
* Fix TypeEntry::isCppPrimitive to return true on void types.Hugo Parente Lima2012-03-091-1/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Add helper method TypeEntry::isCppPrimitive.Hugo Parente Lima2012-03-092-1/+17
| | | | | | | Returns true is the type is a primitive C++ type. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Bump version to 0.8.2Hugo Parente Lima2012-03-091-1/+1
|
* Implemented support to added functions for TypeAlias.sb-0.8.1renatofilho2012-03-096-1/+42
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix extraction of documentation from namespaced classes.Hugo Parente Lima2012-03-091-5/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Better qproperty function checkLauro Neto2012-03-091-5/+11
| | | | | | | | | | | | | | Now checking for the full specs: Getter: TYPE name(void) Setter: void name(TYPE) Resetter: void name(void) The previous behavior was crashing when there is a different overload with the same name of one of the property functions. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
* Change "or" to "||".Hugo Parente Lima2012-03-091-1/+1
|