aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Implement support to target conversion.renatofilho2012-03-092-11/+33
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Add toStringCapability attribute to AbstractMetaClass.Hugo Parente Lima2012-03-092-17/+13
| | | | | | | | This capatility indicates that the given type has a QDebug::operator<< function, so it's only useful when using PySide extensions. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added a better support for resolution of enum value attribution.Marcelo Lira2012-03-093-6/+99
| | | | | | | Plus tests. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Private enums are now accepted in the type system database.Marcelo Lira2012-03-093-8/+55
| | | | | This is done to allow enum value evaluation. Comes together with a nice test.
* Improved resolution of enum value attributions.Marcelo Lira2012-03-094-42/+93
| | | | | | | | In particular when an enum item is set to the value of an item from other enum. The code for this was moved to the method AbstractMetaBuilder::findOutValueFromString. Tests were added as well. s# ../tests/.testenum.h.swp
* Avoid check ifr include file exists during the generation.renatofilho2012-03-091-2/+1
| | | | | | | Fixes bug #382. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed AbstractMetaBuilder to handle enum values receiving boolean values.Marcelo Lira2012-03-092-20/+65
| | | | | | | | | | | | | | | | In other words, this enum { Positive = true, Negative = false }; is now properly recognized. Tests were added as usual. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Add retrieveModuleDocumentation(modName) function to DocParser API.Hugo Parente Lima2012-03-093-18/+33
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix doxygen tags on comments.Hugo Parente Lima2012-03-091-4/+4
|
* Fixes compiler warning on AbstractMetaBuilder.Marcelo Lira2012-03-091-1/+1
|
* Fixes segmentation fault caused by bad handling of global enums.Marcelo Lira2012-03-091-15/+15
| | | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Argument types that are arrays with specified sizes are correctly recognized.Marcelo Lira2012-03-094-3/+180
| | | | | | | | | | | The AbstractMetaBuilder::translateType method now tries to figure out properly the size of array argument types specified with enum items instead of literal numbers. Test cases were also added. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fixed AbstractMetaClassList::findEnumValue to search for the enum in all ↵Marcelo Lira2012-03-091-7/+14
| | | | classes.
* Fixed AbstractMetaClass::findEnumValue method.Marcelo Lira2012-03-091-1/+1
| | | | It was doing the opposite that it should be doing.
* The AbstractMetaBuilder::figureOutEnumValues method now operates over global ↵Marcelo Lira2012-03-091-0/+10
| | | | enums.
* Added tests for global enums.Marcelo Lira2012-03-092-0/+38
| | | | | They check if the AbstractMetaEnumValues hold the correct value information about the enum item described.
* Removed files not used by our current documentation.Hugo Parente Lima2012-03-0915-666/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Updates tests to use nesting of type declarations.Marcelo Lira2012-03-095-17/+147
| | | | | | | Also added a new cases to test the nesting of type tags a bit more. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Adds support for nested type declarations on the type system file.Marcelo Lira2012-03-092-73/+86
| | | | | | | | | | | | | | | Instead of: <enum-type name="Foo::Bar"/> <value-type name="Foo"/> the nested version could be used: <value-type name="Foo"> <enum-type name="Bar"/> </value-type> The old usage is still allowed.
* Use CMAKE_<CONFIG>_POSTFIX on config files, used for cmake and pkgconfig.renatofilho2012-03-093-4/+11
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Added documentation for "enum-type" tag attribute "identified-by-value".Marcelo Lira2012-03-091-0/+6
| | | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Anonymous enums now supported.Marcelo Lira2012-03-097-2/+57
|
* Added tests for anonymous enums.Marcelo Lira2012-03-092-0/+31
|
* Add "doc" target to be able to build the docs out of the source directory.Hugo Parente Lima2012-03-095-95/+17
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Bump version.Hugo Parente Lima2012-03-091-2/+2
|
* Bump version show in documentation.Hugo Parente Lima2012-03-091-2/+2
|
* Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated ↵sb-0.8.0Renato Filho2012-03-095-19/+30
| | | | | | | files to allow multiples version installed simultaneous. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Bumping the version due to a BIC change in commit ↵Hugo Parente Lima2012-03-091-2/+2
| | | | ce7f2121cd3583d67f26bcc87e8a1d2d11e599a6.
* Fixes various memory alignment issues which cause generator to crash on ↵Modestas Vainius2012-03-095-4/+33
| | | | | | | alignment-sensitive architectures. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fixed function modification propagation.Renato Filho2012-03-095-2/+125
| | | | | | | Now all modifications on base function will be propagate until a new modification was found. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Lauro Moura <lauro.neto@openbossa.org>