commit a9ba178538a144cc32a2aaa2144de9f9a33e5d16 Author: Renato Filho <renato.filho@openbossa.org> Date: Mon May 3 18:27:28 2010 -0300 added gitattributes. commit cc5bde6506a7d94be71ff6ead74abb0d7ba296eb Author: Renato Filho <renato.filho@openbossa.org> Date: Fri Apr 30 16:01:29 2010 -0300 Fixed QFlags lookup. commit cd881529b2efd9b9014e7d3548c12163eab6b1fa Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Fri Apr 30 10:35:16 2010 -0300 Tag user added function inside namespaces as static functions. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org> commit cd3f6c7b35f69cf6bcd7b2b22b50ff4c4a5510b1 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Thu Apr 29 17:25:16 2010 -0300 Bump the documentation version Reviewer: Bruno Araújo <bruno.araujo@openbossa.org> Reviewer: Willer Moreira <willer.moreira@openbossa.org> commit 2781da1f1a17ae8e47495dbfd3e075ec758289f8 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Thu Apr 29 11:39:34 2010 -0300 Added tests for template instanciations using enum values, all under a nice namespace. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org> commit 5223ac067a3190dc312da65ab74632b4ad4101e3 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Wed Apr 28 15:40:56 2010 -0300 Fixes template instanciation when the template parameter is a enum value. commit d49e7c347c942cbf70a0f48f89e1956a5292e117 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Wed Apr 28 15:39:35 2010 -0300 Only add an enclosing class to the dependency graph if it's part of the graph. commit c4c00eae0f7db29b7c20f03dc62555ca74359bb6 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Wed Apr 28 15:07:51 2010 -0300 Add EnumValueTypeEntry. 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. commit 6fa5a5667b040c4d5cc5eeafa1dbd08626a652a8 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Fri Apr 23 15:21:58 2010 -0300 Remove detection of duplicated enum values, this was implemented due to a bug on boost::python which doesn't exists nowadays. commit 3d9612847abc9d1ba70f6dfb5a9fb7468dc9b818 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Tue Apr 20 16:40:58 2010 -0300 Support 'void' argument. Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Renato Filho <renato.filho@openbossa.org> commit d878e76b996ac8b31ad248b150ef99dce2a32d87 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Tue Apr 20 16:40:42 2010 -0300 Adding tests for 'void' argument in functions commit 5978002b43dce7e2f0ab1d542f773ca1fb8ea411 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Fri Apr 23 16:27:01 2010 -0300 Do not generate bindings for global functions when the typesystem was loaded with generate=no. Reviewer: Lauro Moura <lauro.neto@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> commit ccc453aba095ba3f871fd597c63da345c5acc254 Merge: 4a11c64 c36a2db Author: Luciano Wolf <luciano.wolf@openbossa.org> Date: Fri Apr 23 15:25:24 2010 -0300 Merge remote branch 'luck/fixprivctor' commit c36a2db49a5869bfc1c71921201584c942b0bb31 Author: Luciano Wolf <luciano.wolf@openbossa.org> Date: Wed Apr 21 11:39:31 2010 -0300 Update class info once a default ctor is added. commit 4a11c647047d0129590df3094bc937bd04771ad1 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Thu Apr 22 16:31:23 2010 -0300 Add method setTypeEntry to AbstractMetaFunction. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org> commit 66273e0758d52c7abb3a3fea52b4d53e173d1618 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Thu Apr 22 16:15:18 2010 -0300 Added documentation for function tag. commit aa0cc354998cbe158b9d5f70c85553ae1f3a83af Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Mon Apr 19 16:19:31 2010 -0300 Show a warning if a global function defined in typesystem was not found by the parser. commit dcbc733ba96701e2537261135498a98c4d7ab122 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Mon Apr 19 15:52:19 2010 -0300 Fix constness of FunctionTypeEntry methods. commit 8bf5a6f37594b3aec18a044281a8a4a3f49bc0de Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Mon Apr 19 15:16:10 2010 -0300 Do not create two AbstractMetaClass for every template class. commit 9ff362145c55f5b7fd3e505a202e4b56285849d1 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Mon Apr 19 14:48:40 2010 -0300 Remove hardcoded QXmlStreamStringRef class from ApiExtractor. commit 20545a93aeb4870b99a5c304a8a3d5e49979e0fc Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Fri Apr 16 19:39:47 2010 -0300 Fix class dependence in topological sort. - An inner class depends on their enclosed class. - A class depends on their namespace. commit 2cbd41867ace8fefec4655905e3f4f75366ef064 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Fri Apr 16 19:38:05 2010 -0300 Write graph nodes using quotes on Graph::dump. commit 72444f97b7fc88391609007efbc775c7b44943f2 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Thu Apr 15 18:48:53 2010 -0300 Bump version to 0.5.0, due to ABI breackage. ApiExtractor is not prepared for binary compatibility, so this will happen a lot. commit d1fd5fef08ea61aa894c994eced1a7c858f11bca Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Thu Apr 15 18:45:40 2010 -0300 Do not set the include file on TypeEntries when the include file does not exists or it's the global header. commit a03877b8afafe7f557edf45440aa0a771f037a75 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Thu Apr 15 11:45:50 2010 -0300 Fix constness of TypeDatabase methods. commit ef6383fa8e11a1745ee810123a01e86c59cb8b1e Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Thu Apr 15 11:29:12 2010 -0300 TypeDatabase class moved to its own header/cpp. commit e12ce28dfa870c3622cc844cb8ca41de2fc18583 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Wed Apr 14 19:32:37 2010 -0300 Added the "function" tag to ApiExtractor. 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. commit c9ac862107eb78ade1dea20a2b9aacb2fe3d1f46 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Wed Apr 14 16:44:37 2010 -0300 Include class moved to its own .h/.cpp file. commit ebc4c768fc0f6cdf179f5592f11012f14c27646b Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Wed Apr 14 15:51:22 2010 -0300 Removed methods includeFile and setIncludeFile from AbstractMetaAttribute. 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. commit 76f2f2ced8f2a65bf1db49dbe0f5c6a9f5f93f8b Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Tue Apr 13 21:14:55 2010 -0300 Set the include file for enums. commit 11a2497da838c66e529f71cffc441bd097d7007c Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Tue Apr 13 21:13:57 2010 -0300 Fixed constness of Include::isValid. P.S.: This is a ABI change. commit dbf905606f45f803d0c2eb88f3f2e0bbac5cbe39 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Tue Apr 13 21:12:14 2010 -0300 Added qHash, operator<<(QTextStream,Include) and operator== to class Include. commit d45bbfbc7e4a5186939336bf7cfcd68efedbf4e0 Author: Carlos Goncalves <mail@cgoncalves.info> Date: Wed Mar 24 23:16:47 2010 +0000 Do not build tests if explicitly wanted to. Default is to build. 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> commit 47f656d55583aac08ce7e893ab430fc53a0ff9e7 Author: Hugo Parente Lima <hugo.lima@openbossa.org> Date: Thu Apr 8 14:52:54 2010 -0300 Added ContainerTypeEntry::typeName() method. 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> commit 63415321d049bfdf059b780ed1e1d845639c81dc Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Tue Mar 30 19:30:25 2010 -0300 Adds reverse operator functions to the proper classes. AbstractMetaBuilder::traverseOperatorFunction does additional checks to avoid mistaken a class' reverse operator as a direct operator of another class. An unit test was added to check for this case. Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit 2cf57dcef29a9716451c3cf84deae9851bbae5a5 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Mon Mar 29 19:13:25 2010 -0300 Do not add an operator function to a class from a referred type system. API Extractor does not add operator functions from the module being processed for generation to a class belonging to a referred module, that should not be generated. commit 716a82dc3728ecc4f32ea7a4da6415536ca263aa Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Mar 26 20:15:50 2010 -0300 Adds many tests regarding default copy constructors. Also updated other tests dealing with constructor counting. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org> commit 9652111793433e936372bfb3f572204c90a99c70 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Mar 26 18:42:45 2010 -0300 Value type classes now have implicit copy constructors added when needed. commit 3117e7368f631d0cabd13ebe378d70f8f9db18d1 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Mar 26 18:40:22 2010 -0300 Marks user added constructors with one argument of a custom type as explicit. This prevents the generation of undesired implicit conversions. commit a09e728c1a64df3daad580d28a3e129be6b6cb32 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Mar 26 18:36:24 2010 -0300 Adds convenience methods regarding copy constructors to AbstractMetaClass. commit 5ff0e96dbb81a8b4ede23d2059496c366c84de81 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Mar 26 15:46:08 2010 -0300 Tests if added constructor with custom type creates an implicit converter. commit e13aa4605c7f3ec5c8685e37e0e5a874c5b983dc Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Thu Mar 25 12:56:05 2010 -0300 Fixes attributes for default constructors and class' "isPolymorphic" flag. When a class has no constructor explicitly declared a default is provided by API Extractor, but it should be marked as "Final". The setting of the "isPolymorphic" flag done in the AbstractMetaClass::addFunction method must take into account if the class has a virtual destructor, as it is done in the AbstractMetaClass::setFunctions method. The already existing tests cover the cases affected by the changes. commit edf53f52487f6c2ba6041f8ef5e475353eda3e4a Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Thu Mar 25 11:53:08 2010 -0300 An inner class should not be polymorphic just because his enclosing class is. This commit adds a test for that situation. commit 6c8d14af878f8d5191a89af397d0cead9f2246c3 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Mar 23 10:33:35 2010 -0300 Changed routine to build source packages. Our changelog is just the output of git log, so it's added only on source packages and don't need to stay in the git repository. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> commit 4377577126b44307ea859a19fc2e526545ba0ee9 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Mar 22 18:47:40 2010 -0300 Bump version to 0.4.1 commit b174ca0f7fd71538f0224bee77906e0865819559 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Mar 22 18:46:35 2010 -0300 Bump version to 0.4.0 commit b67f6e6c2f89cc57cdd2b2814f4a311fa3e49ec6 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Mon Mar 22 10:31:34 2010 -0300 Meta type minimal signature should place reference symbol after pointer symbols. The minimalSignature method was placing '&' before '*'. For example, the signature "foo(Bar*&)" was becoming "foo(Bar&*)". An unit test was added to verify AbstractMetaType::minimalSignature(). Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org> commit e506075d4fd15d66dd62d5ee3da23d260a1e0a87 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Mar 22 14:37:49 2010 -0300 Remove some java-oriented stuff from ApiExtractor inherited from QtJambi generator. Reviewer: Lauro Moura <lauro.neto@openbossa.org> Reviewer: Bruno Araújo <bruno.araujo@openbossa.org> commit c2a35449016e3d5873f3e1657df51e2ff854cd2e Author: Kalev Lember <kalev@smartlink.ee> Date: Mon Mar 22 19:10:07 2010 +0200 Fix pkgconfig libdir variable with lib64/ or lib32/ directories Reviewer: Hugo Parente <hugo.lima@openbossa.org> Reviewer: Bruno Araújo <bruno.araujo@openbossa.org> commit 3cff3536c819b0c79aea9b5b72301622eea62c76 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Mar 19 15:24:52 2010 -0300 Pass QHash by reference for dumpDot method. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> commit 199baeb498888cc12b1751f689b9bad79f03705f Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Thu Mar 18 19:23:32 2010 -0300 Fixed error checking about already existing conversion rules. The error checking that avoids duplicated conversion rules definitions applies only to general type conversions, not to cases specified to a function argument. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org> commit 571a17cfcc76ad5f27fa1627b9ffd90aeb56e554 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Mar 3 11:26:43 2010 -0300 Fix conversionoperator test code. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Bruno Araújo <bruno.araujo@openbossa.org> commit 1b6264028ad7edbcfddfe163d4c2156d7e626717 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Mar 3 11:25:53 2010 -0300 Disable debug output about typesystem on conversionoperatortest. commit 84b8b4a5b7581c4076bfbf1a19a324cb0561baae Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Mar 3 11:15:53 2010 -0300 Remove Boost::graph dependence from ApiExtractor by using our own code for graph topological sort. commit 62dfdd85bbcac527be99183cfc8e8f7b92902f11 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Feb 26 21:43:31 2010 -0300 Don't add external conversion operators that were removed on type system file. With tests, of course. Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit 6dbd55084104eea9a3e950456a4bf0d966ee9ac9 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Feb 26 21:26:13 2010 -0300 Adds the AbstractMetaBuilder::setupExternalConversions(metaClass) method. The code to add the external conversion operators for a class found in another class was moved to its own function, setupExternalConversions, that is called after all classes were traversed. Not all classes are ready when fixReturnTypeOfConversionOperator(metaFunc), the method where the moved code dwelt, is called. commit 6f8cde0951da369d0b2960d8634ab9cf2a4b08d3 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Feb 26 20:46:30 2010 -0300 External conversion operators are now part of a class' implicit conversions. AbstractMetaClass::implicitConversions() returns externally declared conversion operators in addition to its own implicit constructors. The implicit conversion tests where extended with the new case. commit 3f6b0576c90960d4474623987ccac2877a34869c Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Feb 26 20:21:11 2010 -0300 Added method AbstractMetaBuilder::fixReturnTypeOfConversionOperator(func). The new method fixes the return type of conversion operators: they should return the target of the conversion as type and not the type of its owner class. fixReturnTypeOfConversionOperator is used in traverseFunctions. An unit test was added for this case. Note that this behaviour could be fixed in the parser. I dare you! commit eaec9c4a8ace3a91fccb12492d445fc939cb8bf5 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Fri Feb 26 20:18:05 2010 -0300 AbstractMetaClasses now store a collection of external conversions. Conversion operators that result in an AbstractMetaClass are added to a collection belonging to said meta class. commit 4453b8a31a9e08b24d5f5679c990d66cbf123077 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Thu Feb 25 17:52:49 2010 -0300 Fix Config.cmake library path Set to absolute path with cmake variables Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit 490d84059bcef9b832e39a608acbbe1401347212 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Feb 24 15:38:57 2010 -0300 Remove FindApiExtractor.cmake file in favor of ApiExtractorConfig and Version .cmake files. This is the right way to go, according to: - http://www.cmake.org/pipermail/cmake/2009-April/028504.html - http://www.cmake.org/Wiki/CMake_2.6_Notes#Packages Reviewed by Renato Araújo <renato.filho@openbossa.org> commit e363a1d1d2aa2a05139719adc02756766bc92cc1 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Feb 9 14:49:28 2010 -0200 Fix add-function tag when adding a global function. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit f59e7ee17f8be5d29be464e56c0cf901b8e3f023 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Feb 9 14:37:57 2010 -0200 Remove debug output from unit test. commit ebf9aed32e291bb832fa59fa8dd6f17fe004e4e2 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Mon Feb 8 13:25:59 2010 -0300 Reactivated 'reference-count' tag. The type system tag '<reference-count action="Add|Remove|..."/>' used on argument modification was uncommented, documentation was written and a unit test was created for it. Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit 8d037108eb0216e178855bb2ba22a09154454ea9 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Feb 8 09:36:00 2010 -0200 Fix AbstractMetaFunction::implicitConversions. - 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> commit 20998c0dc9532630ba549af9a8321cd736c79368 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Feb 8 14:30:13 2010 -0200 Assumes utf-8 encoding for conversion rules stored in external files. Reviewed by Renato Araújo <renato.filho@openbossa.org> commit a0c267b10ad01064e9282ea38577cbd71d0944af Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Feb 8 07:55:37 2010 -0200 Code injection from external files are always read using UTF-8. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 31234b1869a66d161fd6b916823cae66d03e22f7 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Feb 3 17:54:32 2010 -0200 Do not count user added constructor when searching for implicity conversions. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 1b3edf359d122cc36378df6ec905e07a77bd8580 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Feb 2 16:54:04 2010 -0200 Added tests for ownership modification. commit 4a14c6632f6a4245a20bd46cb94f9d807188276d Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Feb 1 14:19:15 2010 -0200 Allow a class to multiple inherit from various object-types. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 5d456d500f3e142902523df2157bbef1b82bfe1a Author: Renato Filho <renato.filho@openbossa.org> Date: Fri Jan 29 16:23:51 2010 -0300 Fixed implicitly conversion retrieve values, for accept constructors with default arguments. Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit 9d4b69933df49c778e4b96a23894f26d4f741283 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Jan 26 22:04:46 2010 -0200 Fix AbstractMetaClass::has* methods, so they only check your own methods. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 8ae4a89abd334610293a4785856acbf59ffd25af Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Jan 26 22:04:05 2010 -0200 Add helper method AbstractMetaClassList::findClass(const TypeEntry* typeEntry). commit 8f3b64c6570d07a9d807ce245291d6565cf3f4ae Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Jan 21 20:41:51 2010 -0200 Test TestModifyDocumentation does not need X11 server connection to run. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit ab2840dfef7bcab2dca312092748326e3f7ce6cf Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Jan 20 13:54:36 2010 -0200 When a constructor able to trigger implicity conversions is removed it should not appear in the implicity conversion list. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit ce806c195494dc0c3c727d508378a434b5a676c6 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Jan 14 19:14:20 2010 -0200 Fix AbstractMetaClass->isPolymorphic method, it was returning false for QEvent and other classes having just a virtual destructor. Reviewed by Lauro Moura <lauro.neto@openbossa.org> commit c3c654e7b7322cc5b1a2e0148143311caa9d26a4 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Jan 8 16:53:02 2010 -0200 Correctly search for typesystem in all available typesystem paths. Reviewed by Lauro Moura <lauro.neto@openbossa.org> commit 8dded56b403fd979f0b567666017dc12f7c1a9b6 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Dec 28 16:38:22 2009 -0200 Added function can be tagged as static methods. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> commit 11679b1008b9443ee817e382731ea9049eb2fe64 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Dec 28 16:31:42 2009 -0200 Disable verbose output on tests. commit 2495e9f51b7e4795d685d9d5ce9fca5fb31acacc Author: renato <renato.filho@openbossa.org> Date: Mon Dec 21 12:16:36 2009 -0300 Bump version to 0.3.4 commit 08fc38b73134cb2491f754c529b30a7babce7400 Author: renato <renato.filho@openbossa.org> Date: Thu Dec 17 19:35:20 2009 -0300 Updated ChangeLog. commit 0a740ad90f467ccdf00cb674eb80310ddb115b50 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Wed Dec 16 18:30:17 2009 -0300 Adds support for varargs in AbstractMetaArgument, AbstractMetaType and VarargsTypeEntry. Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit f2fd366c90dd64a37f48e5ea554b8aebf00b6de5 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Tue Dec 15 19:55:10 2009 -0300 Adds normalizedSignature static method to TypeDatabase. 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> commit cb253eb807d15586a12f5de86fd716286ed3b15d Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Tue Dec 15 15:28:25 2009 -0300 Modifications in ancestors are not returned if the current class reimplements the function. commit 5900a05a2079a60a71500ffa1de56e58fbd9c1e0 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Tue Dec 15 15:01:04 2009 -0300 Modified AbstractMetaFunction::hasSignatureModifications to check for function renaming. commit aeeb950b50a108a2475c0ee630d74420ccb3a0b3 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Mon Dec 14 17:54:57 2009 -0300 Adds support for module level 'add-function' tag. 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. commit 00a880f4d61a6a32f3e1dcaa4a692a6e430c123a Author: renato <renato.filho@openbossa.org> Date: Tue Dec 8 15:58:11 2009 -0300 Fixed support for modify args in add-function tag. Created tests. Reviewed by Hugo Lima <hugo.lima@openbossa.org> commit 6d16532a7d504cd1fcd7553957e7e53beac7fc37 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Dec 1 20:15:25 2009 -0200 TypeEntries created for unknown types found in user added functions are marked as CustomType isntead of TargetLangType. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 8b65c7afec2efb89c0e69154b1dc621b9dee963a Author: Lauro Neto <lauro.neto@openbossa.org> Date: Thu Nov 26 22:59:57 2009 -0300 Initial version of ownership documentation Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 2346d25032410cc708088926251acb954c3cfce4 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Fri Nov 27 20:04:27 2009 -0300 Adding index attr to parent example commit 5c8637fd719e9dfd0415173128d0d8ea916b7d9b Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Tue Nov 24 15:00:11 2009 -0300 Modified the AbstractMetaFunction class to have a separated flag to 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> commit 139e84644ea0088e16678e8b8c17b9e5b4fd6269 Merge: 9e03faa c1353d4 Author: renato araujo oliveira <renato@renato-note.(none)> Date: Tue Nov 24 11:34:41 2009 -0300 Merge commit 'mainline/master' commit 9e03faa25a62176fef9a0bddaa29a95eea32715d Author: renato araujo oliveira <renato@renato-note.(none)> Date: Tue Nov 24 11:25:06 2009 -0300 Bump version to 0.3.3 commit 221d87777aaa0bb1c09df509ae354f59a297872e Author: renato araujo oliveira <renato@renato-note.(none)> Date: Tue Nov 24 11:22:30 2009 -0300 updated changelog. commit c1353d49402e79fd5a2d0006655004315be07752 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Nov 23 14:28:48 2009 -0200 Install FindApiExtractor.cmake in the correct directory when using cmake 2.8. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> commit 6d8dea54288cf7864c602b826b5be90b4a0b95f6 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Tue Nov 24 10:19:10 2009 -0300 Added methods to set and check for protected and virtual destructor on AbstractMetaClass objects. Also added tests for this. commit 49610841579e8a7ef614477a0e73c78502c2afc9 Author: renato araujo oliveira <renato@renato-note.(none)> Date: Mon Nov 23 14:30:55 2009 -0300 Fix topological sort for args with default expression 0 and value type. Reviewed by Lauro Moura <lauro.moura@openbossa.org> commit 4908dc29a59be124ad01eadbfbbab2cdb66ed2f3 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Nov 20 19:00:30 2009 -0200 - Fixes flags used with msvc. - 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> commit 9ee8473f3ad9b19318110762e2a203996330d060 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Nov 20 17:30:20 2009 -0200 Fixes various bugs on FindApiExtractor.cmake found when trying to compile generatorrunner on other platforms. commit e83754ac82ccc8cf8083f9c442a57b6939eefe82 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Nov 20 17:29:44 2009 -0200 Export AbstractMetaField class. commit f2d02ce9d463edaff78ff1d0f3f3c6c9ba9e9159 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Nov 20 15:25:18 2009 -0200 Do not export global variables used only in typesystem.cpp. commit e19c8f718dea4b644332188505a4cf38997302de Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Nov 20 15:01:32 2009 -0200 Fix install command, so it works on windows. When compiling with msvc, use msvc specific flags, not the gcc ones. commit a7fdd58a4312b60d2bc2aeaf49216b74c4237e65 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Nov 20 14:56:35 2009 -0200 Export a minimal set of classes in ReportHandler interface, to speep up compilation and avoid link errors on windows. commit 8f8de4e763269b57c57eb4d5047139177d7fd1a8 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Nov 19 10:18:49 2009 -0200 Do not exit with a assertion failure when the typesystem was not found. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 890cf26e0a67f2fa2b2312c1a09a6ed9e9cb4294 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Nov 18 10:49:47 2009 -0200 Do not attempt to write/read a file when the file name is a empty string. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit eb99fbe68dcd618818858a409238b36404af94f2 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Nov 18 09:39:20 2009 -0200 Fix windows macros for dll export/import. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 0132c7fba7d6774f0fa02a728ad869674f59b297 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Nov 18 09:38:41 2009 -0200 Removed unused parser file. commit 51608b9e0364932400247f0d5af6605474e0b779 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Nov 16 17:41:07 2009 -0200 Fix apiextractor unit tests. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit c28ad1fcc42821db283b893ea74d54b4d9b85591 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Nov 16 15:35:02 2009 -0200 Add public visibility for more classes. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit db2c18afb616db734ddc2f80194d0151c22da17a Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Nov 12 17:58:49 2009 -0200 Remove CustomTypeEntry class commit 8eb3dadd5266f3fe2ed33abfcc1c2e8f17762a22 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Nov 12 17:57:40 2009 -0200 Remove JObjectWrapperTypeEntry class commit 126289e702c9d6c2f3c8a99de66cecdd4fd53a88 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Nov 12 17:55:55 2009 -0200 Remove QThreadTypeEntry class commit ef54513a48df32b3f5d9b19e077d0ac4fefeae63 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Mon Nov 16 15:24:19 2009 -0300 The type system parser now reuses TypeSystemTypeEntry for the any module 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> commit 4b1d0e2c4213066bca5f1363403875772abd6219 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Sat Nov 14 13:06:52 2009 -0300 fixed the appending of code injection to the module; 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 commit a98088877fc638ce9f068aaaa5fa4c7f883a1a87 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Nov 12 17:38:09 2009 -0200 APIExtractor is a huge amount of legacy code inherited from QtScriptGenerator, 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> commit 9deca0a40aa9cd31510e0ba833fe207ac7e3dbab Author: Luciano Wolf <luciano.wolf@openbossa.org> Date: Mon Nov 9 15:43:19 2009 -0300 Documentation for container-type tag into typesystem. Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit 85be0d4d548bef2b249026d80dfb59274253bb17 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Nov 5 20:20:58 2009 -0200 - All reverse operators are now properly tagged as "reverse operator". - 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> commit 6067084bbfb6d479bcb886c73dba402c71257765 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Tue Nov 3 21:00:43 2009 -0300 Remove the stream argument when modifying <</>> 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> commit b6db1498536ce909dad79e85c00f0cec9a4e0340 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Sat Oct 31 14:50:56 2009 -0300 Use isStream instead of hardcoding QDataStream Also added documentation commit b70c2847a571ae6bad4bd99535bf6f587c7b7371 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Sat Oct 31 14:18:49 2009 -0300 Adding support to attribute stream in TypeEntry commit e8c6f4e1a1bbfebdf836e48256ff81a06daf9322 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Sat Oct 31 13:45:05 2009 -0300 Add m_stream attribute to AbstractMetaClass commit d8dc3d4e8ea3597497ee42b7cd02975213b858ba Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Mon Nov 9 15:06:44 2009 -0300 The AbstractMetaBuilder::traverseFunction method for added functions now decide the usage pattern for the AbstractMetaTypes of the arguments. Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit 3a73744ddd334c8fa420b8c1c801b58660965940 Author: renato araujo oliveira <renato@renato-note.(none)> Date: Thu Nov 5 17:59:37 2009 -0300 Propagate generate flag for child typesystems. Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit da0ce894660836b1b311e529125a339645a869d4 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Oct 30 19:20:22 2009 -0200 Add "()" to the function signature of functions without parenteses. Without this the function without parenteses will be like an alien to all others APIExtractor functions. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit e0a5b65fd9213f77eabf95fcd25b591e3d7966c0 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Oct 30 18:29:19 2009 -0200 Added convenience method AbstractMetaFunction::injectedCodeSnips. It returns all code snips in a function. commit fd82ee68418264b9b88f1c32411b8c6bbcc03c76 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Oct 30 17:01:22 2009 -0200 Added convenience method AbstractMetaClass::findFunction. This function returns the first AbstractMetaFunction found with a given name or a null pointer if no functions were found. commit 5ccbce7a917a2a602ad1fa32d8682afe32dd68bc Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Oct 29 20:02:53 2009 -0200 Fix a crash when the function signature provided by add-function tag does not have parenteses. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 64f7ae3334171168ff803f339d55a179a6e06001 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Oct 29 18:26:23 2009 -0200 Updated documentation of conversion-rule for argument-modification. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> commit 4329d974ec98b74b74358718cf17055a00672e2b Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Mon Oct 26 20:24:24 2009 -0300 conversion-rule tag now works inside value-type and object-type tags. To access the conversion rule, use the new method TypeEntry->conversionRule NOTE: this commit is a modification of code produced by Hugo Parente. commit a7880bedd92bfed75908c055eae641610f6f6ca2 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Oct 23 15:41:56 2009 -0200 Added documentation for tag conversion-rule. commit 8e21edd40416a0d6dd87afb6405f4f0443caca83 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Oct 22 11:45:45 2009 -0200 Added functions aren't marked as virtual anymore. Reviewed by Renato Araujo <renato.filho@openbossa.org> commit c63f069dba7159ec722e97eae886de182466e2fc Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Oct 21 16:59:12 2009 -0200 Fixed the openbossa logo on the pysidedocs theme. commit 2c860a30499ac1517706f247662598406dbcbd8e Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Wed Oct 21 16:18:42 2009 -0300 Added documentation for the new class "AddedFunction" Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 071233773dd5a4f3ccacebf77f2102780a9dc624 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Oct 20 17:38:32 2009 -0200 Added support for add-function tag into typesystem. commit 73f6ac4faafed5c8c275ff01a22a53bfbc7fc515 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Oct 20 10:08:26 2009 -0200 Implemented a signature parser for the AddedFunction class. commit ac27d38d44bef714b08d8b675ae105ac41047bfa Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Mon Oct 19 17:10:15 2009 -0300 improved AddedFunction struct with more informations; extended ComplexTypeEntry with a list of AddedFunctions commit fa5c2fa99cd0dae464f3cfa6686e2a31f2684687 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Mon Oct 19 11:35:45 2009 -0300 added AddFunction struct to type system collection of objects; the purpose is to allow the creation of new function/method signatures commit f2bb27557caa1a97f73b690650bcad746418a7c7 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Oct 19 11:18:53 2009 -0200 Added an entry for AddFunction tag in the StackElement enum commit 72c050930eeb69c5d436ec6ad7ffc6a1a20211ed Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Oct 19 11:13:01 2009 -0200 Removed code that always add _d as debug postfix, debug postfix is usefull for some packagers but awful for other distros or simple raw builds, because debug libs will be generated with a difenrent name and all other projects are expecting the library name without the debug postfix, resulting in a linker error, because the library was not found. For all packagers that still want to set a debug postfix, just use the cmake flag: -DCMAKE_DEBUG_POSTFIX:STRING="my_debug_postfix" commit 4b881a93bba85821e4cc5afb4e247fe141677389 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Oct 19 11:01:28 2009 -0200 Avoid warning about an unused variable when not compiling as debug. commit a6281e0fe34a887b9f4b2981e84d0b46145a98d9 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Oct 21 14:14:12 2009 -0200 Fixed minor CSS issues on pysidedocs sphinx theme commit e7c69df51572f5d464a47f0b8f4b4f870b9b1675 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Oct 21 14:12:28 2009 -0200 Removed latex sphinx config options. commit 111061c3fceb872d4efcafb65014bfd91cfd0051 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Sat Oct 17 15:28:36 2009 -0300 Added a new sphinx theme for APIExtractor documentation. This theme should be used on all sphinx-based pyside documentation. commit 51168e70b530c6920411680d5e6dde7aeaba164c Author: Hugo Lima <hugo.lima@openbossa.org> Date: Sat Oct 17 13:41:44 2009 -0300 - Typesystem documentation broken in smaller parts, so it's more redable now (IMO). - Added cross referencing for nodes cited along the documentation. - Added documentation for the new and not implemented yet, add-function tag. commit 705b3f37e76b59d020d24b76600a8b21d319326d Author: Hugo Lima <hugo.lima@openbossa.org> Date: Sat Oct 17 13:40:51 2009 -0300 Added doc/_build to the git ignore list commit 87175f67dead62f770747f7dce4621d5ebc72d57 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Sep 28 14:04:03 2009 -0300 Add method AbstractMetaFunction::isCastOperator. commit e2a2130624b143b35dd3beba8d4ff5527cf47b0d Author: Lauro Neto <lauro.neto@openbossa.org> Date: Fri Oct 2 15:47:43 2009 -0300 Bump version to 0.3.2 commit 512da8101cff0f3844704025a21f90dbd3db6274 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Fri Oct 2 15:54:50 2009 -0300 Update changelog before bump commit 3c2fd876adfe2a0271054779dcf288ea39762a66 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Sep 24 17:19:50 2009 -0300 Handler::current renamed to Handler::m_current With kdevelop4 it's so easy :-D commit 653dc64720ae78c633c2282519b9b21fb6491b3b Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Sep 24 16:59:56 2009 -0300 Fix bug#38. commit 9a34c9489429c17a36d248da91be10ca0f927d26 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Wed Sep 23 17:14:23 2009 -0300 Unit test to catch the bug#38. commit 5604a7b2f41fda5d78271032429805604b6f08c3 Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Date: Wed Sep 23 16:43:32 2009 -0300 Created CMake flag LIB_DEBUG_POSTFIX for modify library name when using CMAKE_BUILD_TYPE=Debug. commit b36facf8895b7f4b524d85088683010d34549249 Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Date: Tue Sep 22 18:46:53 2009 -0300 Fixed error when running generator whithout set correct global header. Rev: Hugo Lima <hugo.lima@openbossa.org> commit 16aec6877fb3cd4b76cf76988c853529b9b31c42 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Sep 18 15:20:19 2009 -0300 Fixed bugs related to the strings returned by defaultValue and originalDefaultValue. - If there are no typesystem modifications, originalDefaultValue will be equals to defautlvalue, so originalDefaultValue will not be the same string found by the C++ parser, it will be usefull only to check if there are some default values modifications. commit aaf120dfbbcce364f694f985fb2348a9429b2bee Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Sep 18 15:04:42 2009 -0300 Reset the type database before runing each test. commit 38283f8ae3a479dbc213ff16c8b727094028bb9a Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Sep 18 15:02:04 2009 -0300 - Turn ctors of TypeDatabase private (It's a singleton!) - Makes possible to reset the TypeDatabase, this is usefull in unit tests when you need to make all unit tests independent of each other. commit be5fb84cf7a20d7fe446ef8fdb3b03914fca8526 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Sep 18 15:00:54 2009 -0300 Add tests for defaultValue and originalDefaultValue methods. commit 31bf15c779fc5c66c0ed37b557d288dd7911dfa3 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Sep 18 11:17:08 2009 -0300 Revert "Fix a bug related to function default values." This fix bring to much regressions. This reverts commit 752c22056f4ba61961a01819992f9af71a3b0416. commit 2ed8b4dcc030ce0274ea056dd541f48d57629ee8 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Sep 11 11:21:05 2009 -0300 Added more tests for APIExtractor. commit 752c22056f4ba61961a01819992f9af71a3b0416 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Sep 10 11:17:11 2009 -0300 Fix a bug related to function default values. ApiExtractor tries to modify the defaultValue every time, so then return value of originalDefaultValue() if diferent from the return value of defaultValue() when they dont need to be. Unit test included. commit 2bf0c409590c15b72a960d693fad4ac48ce4b8a6 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Sep 11 11:54:08 2009 -0300 Add the option to set the directory where all log files will be created. commit a01bd47054001bb05cf11431237268b753165f32 Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Date: Thu Sep 10 19:20:30 2009 -0300 Use specific Qt include headers for OS compatibility. Fixes Bug #49. Reviewed by Luciano Miguel Wolf <luciano.wolf@openbossa.org> commit 30a5c9f3038ede7d52cfe2bcda586ed97525c86b Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Date: Thu Sep 10 19:18:27 2009 -0300 Avoid use of pkg_config for search for libraries. Fixes Bug #39. Reviewed by Luciano Miguel Wolf <luciano.wolf@openbossa.org> commit fa88814edd7885b0ec4f13ada015e005f5ce6e26 Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Date: Thu Sep 10 10:38:06 2009 -0300 Created ChangeLog file. commit 5927c47bb5109aa49bba5ef6655b26684c62dd04 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Sep 4 17:43:47 2009 -0300 Added more tests for AbstractMetaClass and AbstractMetaEnum commit 660237e4e259d5bdd7e299a3a828c39be0068621 Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Date: Wed Sep 9 15:16:41 2009 -0300 Check for constructors in isVirtual function. Fixes Bug #46. Reviewed by Hugo Parente commit 3247a6f50cd0b50fb046de3845a52e4860f2fbfb Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Sep 8 11:44:43 2009 -0300 Do not link with boost::graph library. Fix bug#37 commit ac4305ea901d7bfb806dadfcdf4ea047d6c6035c Author: Lauro Neto <lauro.neto@openbossa.org> Date: Wed Sep 2 18:27:25 2009 -0300 Bump version to 0.3.1 The previous commit bumped to a wrong version. This commit also adds micro version. commit ac1ca6f62d563c34460bc098714fc9d228235713 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Wed Sep 2 14:31:48 2009 -0300 Bump version to 0.4 (current development version) commit bf77e3dcecb165e45dd93046512aeb454b318e3a Author: Lauro Neto <lauro.neto@openbossa.org> Date: Mon Aug 31 16:39:46 2009 -0300 Bump version to 0.3. commit e2ac43587bf4549ca01f5f6092f7c164bf3395ef Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Tue Sep 1 17:37:44 2009 -0300 moved setInclude, addExtraIncludes and related methods from ComplexTypeEntry to TypeEntry, this way they will be also available on PrimitiveTypeEntry; the type system format now accepts the 'include' tag commit 5242336237e970c2f47f31f6e941073317775279 Author: Chris Hills <chaz@chaz6.com> Date: Thu Aug 27 13:01:16 2009 +0200 Re-order include path for using non-system Qt libraries commit 66b4e57c4c48cfe730dce2671eca25f3434d13a6 Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Date: Tue Aug 25 19:56:05 2009 -0300 Create a new method to AbstractType: isValuePointer. Separeted value pointers from native pointer for help generators. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> commit 3c06795f3cf8fcee47208f8b0759cd270eaedbb6 Merge: dfbe29e e078392 Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Date: Wed Aug 26 14:48:03 2009 -0300 Merge commit 'setanta/unspecifiedtypesystemfile' commit e078392026588073aabe4f75d68c5b174211898a Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Wed Aug 26 02:53:31 2009 -0300 emits an error message when no type system file is passed to ApiExtractor::run Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit dfbe29e0a5843c7b6e2132915e24b2602ba52934 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Sat Aug 22 17:24:46 2009 -0300 Use name instead of fullname for classes in namespaces Reviewed by Hugo Parente <hugo.lima@openbossa.org> commit 8d3416c04c46295820f0707e60cb275160ef111d Author: Lauro Neto <lauro.neto@openbossa.org> Date: Sat Aug 22 17:22:37 2009 -0300 Fix loading of xml files for classes in namespaces commit a051438064f55e63d1ac00f15da1a7ba2b9f88a4 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Thu Aug 20 19:56:09 2009 -0300 AbstractMetaClass::name() and AbstractMetaType::name() now return only the name of the class/type without namespace/scope information commit 09a312b7788a81e0af59fc090666aea37b71fff7 Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org> Date: Tue Aug 25 17:02:39 2009 -0300 Changed acess to preprocessor file, to be reused in the same process. commit 7f14990c36bec778efbb51c4ed400d10cc1d51c4 Merge: 7e815bf f6eb727 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Aug 25 14:24:26 2009 -0300 Merged mainline with no_generator branch. commit 7e815bfcc41d25b2d8c7c34d1bb6bd566e4b2816 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Tue Aug 25 14:14:24 2009 -0300 - Rewind the file pointer before runing the parser. - Fixed some code style issues. commit f6eb7272e613b2878f7abee6280f3d375e9379c0 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Aug 24 13:52:33 2009 -0300 Fixed apiextractor version, so it now creates the symlinks for libapiextractor.so.0 and libapiextractor.so.0.x Reviewed by Lauro Moura commit 30738cc5ec15ab667bf7973a157c400250178331 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Aug 24 14:37:28 2009 -0300 Backport: Fixed apiextractor version, so it now creates the symlinks for libapiextractor.so.0 and libapiextractor.so.0.x commit d3d7fd878d497e410f9d0aeb71a95facb67f5bfd Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Aug 20 20:56:20 2009 -0300 Added a lot of helper methods to APIExtractor interface Reviewed by Setanta commit 465af9a0b82c98cf21a103a092f998df21986c44 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Aug 21 16:21:07 2009 -0300 Do not continue when an error occur in reading the typesystem file commit ba699548a0f398d2ba808ad88c61cd8b9a7c888a Author: Hugo Lima <hugo.lima@openbossa.org> Date: Fri Aug 21 15:23:10 2009 -0300 - Fix compilation when using restritive security flags -Wformat - Werror=format-security in gcc Thanks Helio Castro. fixes bug#8 commit 72a8d046e16268669e18940c3ebf22ecae6ef581 Author: Carlos Gonçalves <mail@cgoncalves.info> Date: Fri Aug 21 18:53:00 2009 +0100 Allow defining the 'lib' dir (eg. 'lib64'). This is required by some distributions such as openSUSE, where 64-bit libraries are installed in lib64 directories and 32-bit libraries in the lib directories. commit c645e083901079dd073eca84a0b822d37daf0293 Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Aug 20 20:54:01 2009 -0300 Added typedefs to QList<const PrimitiveTypeEntry*> and QList<const ContainerTypeEntry*>. commit f54ce8b89fb599dbf0c5bad7adcb58a867e7594f Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Aug 20 18:59:23 2009 -0300 - Correctly initialize and delete the AbstractMetaBuilder - Fix typo in setSuppressWarning method - Added setSilent method commit ffef36fe259606a91be17b52efa1d98fbfda7a7e Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Aug 20 13:52:40 2009 -0300 Add missing include directives in the C++ parser code. commit dfa423ac3109e0e40cba5f43471b34b98ed3189d Author: Hugo Lima <hugo.lima@openbossa.org> Date: Thu Aug 20 13:48:45 2009 -0300 Removed all generator stuff from APIExtractor, this stuff should be moved to the generator, and the apiextractor library should be just what their name means, an API extractor. This break the APIExtractor source compatibility with no mercy! commit 8f9ed5bd51827d96bda708121008b24bb3d55801 Author: Lauro Neto <lauro.neto@openbossa.org> Date: Wed Aug 19 10:34:04 2009 -0300 Adding target 'dist' using git-archive. commit c16d038b5b42ce8ca9d8a74eed66ec1045e04048 Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Tue Aug 18 12:16:40 2009 -0300 updated API Extractor version to 0.2 commit 3e09c099aa3e87482d17b0b95e7e20a1a6b6641a Author: Marcelo Lira <marcelo.lira@openbossa.org> Date: Tue Aug 18 10:25:49 2009 -0300 fixed API Extractor version on documentation commit 9732e0c744e45a67094fc6ce08bdadb1f9a08d4a Author: Hugo Lima <hugo.lima@openbossa.org> Date: Mon Aug 17 17:32:08 2009 -0300 The genesis...