2009-11-19 Hugo Lima * generator.cpp: Fix the formatCode function (again). Reviewed by Marcelo Lira * generator.cpp: Fix the formatCode function. Reviewed by Marcelo Lira 2009-11-18 Hugo Lima * main.cpp: Delete all generators at exit. Reviewed by Marcelo Lira * main.cpp: Creates the output directory if it doesn't exists. 2009-11-17 Hugo Lima * generators/qtdoc/qtdocgenerator.cpp: Remove two compilation warnings from qtdoc generator. Reviewed by Renato Araujo * generator.cpp, generator.h, generatorrunnermacros.h: - Prepare libgenerator.so for a near future when we will need to worry about BIC changes, Now it uses a d-pointer and do not export private methods/structures. - Mark some methods as deprecated, as they doesn't belong to Generator, being a huge cohesion failure IMO. - Fixed constness of some methods. Deprecated methods: AbstractMetaFunctionList filterFunctions(const AbstractMetaClass *cppClass); AbstractMetaFunctionList queryFunctions(const AbstractMetaClass *cpp_class, bool all_function = false); AbstractMetaFunctionList queryGlobalOperators(const AbstractMetaClass *cpp_class); AbstractMetaFunctionList sortConstructor(AbstractMetaFunctionList list); Moved method: verifyDirectoryFor is now a ordinary global function like formatCode, because it's a helper function not related with code generation. All these methods would be somewhere/somehow in APIExtractor, because they are basically helper methods to supply some APIExtractor missing functionalities. Note: Shiboken and BoostPython generator needs some minor fixes to adapt to changed caused by this patch. * generator.cpp: Remove duplicated documentation. * CMakeLists.txt: Fixes bug91 Create only one symlink, libgenrunner.so, pointing to libgenrunner.so.x.y.z * CMakeLists.txt, generator.h, generatorrunnermacros.h, generators/qtdoc/qtdocgenerator.h: Add symbol visibility rules to generator runner. 2009-10-30 Marcelo Lira * generator.cpp, generator.h: added Generator::implicitConversions(type) method that returns the constructors for implicit conversions for the given type, which should be a value-type Reviewed by Hugo Parente * generator.cpp, generator.h: fixed typo in Generator::sortConstructor method name 2009-10-27 Lauro Neto * CMakeLists.txt: Fix SOVERSION/VERSION SOVERSION -> MAJOR_VERSION VERSION -> full VERSION 2009-10-26 Hugo Lima * generator.h: Add the missing qflags macro to Options qflag. 2009-10-26 Marcelo Lira * generatorrunner.1: applied patch from Didier Raboud, to fix mixed hyphens and minuses on manpage. * doc/images/boostgenarch.png, doc/images/genrunnerarch.png: renamed generator architecture diagram file to a proper name * doc/images/boostgenarch.png, doc/images/boostgenarch.svg, doc/images/genrunnerarch.svg: updated generator architecture diagram for Generator Runner * CMakeLists.txt, tests/CMakeLists.txt, tests/sphinxtabletest.cpp, tests/sphinxtabletest.h: readded tests for qtdoc generator that were left behind when forking from boostpythongenerator * CMakeLists.txt, ChangeLog, Doxyfile, boostpythongenerator.1, doc/Makefile, doc/_templates/index.html, doc/compiling/cmake-primer.rst, doc/compiling/setup-generator.rst, doc/conf.py, doc/overview.rst, doc/tutorial/bindinglibfoo.rst, doc/tutorial/buildingthebinding.rst, doc/tutorial/globalheader.rst, doc/tutorial/images/generatorworkings.png, doc/tutorial/images/generatorworkings.svg, doc/tutorial/introduction.rst, doc/tutorial/libfoo.rst, doc/tutorial/typesystemcreation.rst, generatorrunner.1, generatorrunner.pc.in, generators/CMakeLists.txt, generators/boostpython/CMakeLists.txt, generators/boostpython/boostpython.cpp, generators/boostpython/boostpythongenerator.cpp, generators/boostpython/boostpythongenerator.h, generators/boostpython/convertergenerator.cpp, generators/boostpython/convertergenerator.h, generators/boostpython/cppgenerator.cpp, generators/boostpython/cppgenerator.h, generators/boostpython/hppgenerator.cpp, generators/boostpython/hppgenerator.h, generators/boostpython/main.cpp, generators/qtdoc/main.cpp, generators/qtdoc/qtdocgenerator.cpp, generators/qtdoc/qtdocgenerator.h, main.cpp, tests/CMakeLists.txt, tests/Makefile, tests/foo_test.py, tests/foobinding/Makefile, tests/foobinding/foo/Makefile, tests/foobinding/global.h, tests/foobinding/typesystem_foo.xml, tests/libfoo/Makefile, tests/libfoo/bar.cpp, tests/libfoo/bar.h, tests/libfoo/foo.cpp, tests/libfoo/foo.h, tests/libfoo/main.cpp, tests/sphinxtabletest.cpp, tests/sphinxtabletest.h: forked boostpythongenerator project to separate the generatorrunner so that it could be used independently; the qtdoc generator module remained part of generatorrunner 2009-10-21 Hugo Lima * doc/_themes/pysidedocs/static/logo_openbossa.png, doc/_themes/pysidedocs/static/pysidedocs.css: Fixed the openbossa logo on the pysidedocs theme. * doc/_templates/index.html, doc/_templates/layout.html, doc/_themes/pysidedocs/defindex.html, doc/_themes/pysidedocs/genindex-single.html, doc/_themes/pysidedocs/genindex-split.html, doc/_themes/pysidedocs/genindex.html, doc/_themes/pysidedocs/layout.html, doc/_themes/pysidedocs/modindex.html, doc/_themes/pysidedocs/opensearch.xml, doc/_themes/pysidedocs/page.html, doc/_themes/pysidedocs/search.html, doc/_themes/pysidedocs/static/.directory, doc/_themes/pysidedocs/static/bg_header.png, doc/_themes/pysidedocs/static/bg_topo.jpg, doc/_themes/pysidedocs/static/doctools.js, doc/_themes/pysidedocs/static/fakebar.png, doc/_themes/pysidedocs/static/jquery.js, doc/_themes/pysidedocs/static/logo_indt.jpg, doc/_themes/pysidedocs/static/logo_openbossa.png, doc/_themes/pysidedocs/static/logo_python.jpg, doc/_themes/pysidedocs/static/logo_qt.png, doc/_themes/pysidedocs/static/pysidedocs.css, doc/_themes/pysidedocs/static/pysidelogo.png, doc/_themes/pysidedocs/static/relbar_bg.png, doc/_themes/pysidedocs/static/searchtools.js, doc/_themes/pysidedocs/theme.conf, doc/conf.py: Added pysidedocs theme to the generatorrunner documentation. 2009-10-21 renato araujo * generators/boostpython/boostpythongenerator.cpp, generators/boostpython/cppgenerator.cpp, generators/boostpython/hppgenerator.cpp: Implemented support to conversion-rule tag. Reviwed by: Marcelo Lira 2009-10-20 renato araujo * generators/boostpython/cppgenerator.cpp: Created execption handle for virtual functions. 2009-10-05 Lauro Neto * CMakeLists.txt: Bump to 0.3.2 2009-10-02 Lauro Neto * ChangeLog: Update changelog for 0.3.1 2009-09-28 Hugo Lima * main.cpp: reinterpert_cast replaced by a C-style cast, to avoid compiler errors on some plataforms. Cast an object pointer to a function pointer is an undefinied behaviour in some exotic platforms, so some compiler raise a flag against it. However if we use a C-style cast the compiler ignores it. This problem is related to the QLibrary API returning a void* instead of a generic function pointer. 2009-09-25 Bruno dos Santos de Araujo * CMakeLists.txt, boostpythongenerator.1, docgenerator.1, generatorrunner.1: Add manpages for generatorrunner, docgenerator and boostpythongenerator. (Fixes: #29) 2009-09-15 Renato Araujo Oliveira Filho * generators/boostpython/boostpythongenerator.cpp, generators/boostpython/cppgenerator.cpp, generators/boostpython/cppgenerator.h: Fixed generation of fields for non wrapped class. Fixed copy constructor generation. 2009-09-12 Renato Araujo Oliveira Filho * generators/boostpython/cppgenerator.cpp: Implemented support to return policy for Qt::HANDLE. 2009-09-10 Renato Araujo Oliveira Filho * generator.h, generators/qtdoc/qtdocgenerator.h: Fixed missing include in docgenerator. Fixes Bug #5 2009-09-11 Hugo Lima * main.cpp: Write logs in the outputdirectory instead of the current working directory. 2009-09-10 Renato Araujo Oliveira Filho * ChangeLog: Created ChangeLog file. 2009-09-08 Hugo Lima * generatorrunnerconfig.h.in, main.cpp: Fix typo: GENERATORRUNNER_PUGIN_DIR => GENERATORRUNNER_PLUGIN_DIR * FindGeneratorRunner.cmake.in: Fix typo * FindGeneratorRunner.cmake.in: Fix missing parenteses in FindGeneratorRunner.cmake 2009-09-04 Hugo Lima * generators/boostpython/cppgenerator.cpp: Fixed bug#26. Reviewed by Renato Araújo * main.cpp: When the user passes an absolute path as the plugin name, generator runner will load the desired file instead of doing a mess with the absolute path and the GENERATORRUNNER_PLUGIN_DIR variable. This is usefull to test generators plugins without installing them. Reviewed by Renato Araújo 2009-09-03 Hugo Lima * CMakeLists.txt, FindGeneratorRunner.cmake.in, boostpythongeneratorversion.h.in, generator_plugin_dir.h.in, generatorrunnerconfig.h.in, main.cpp: - Merged boostpythongeneratorversion.h.in and generator_plugin_dir.h.in into generatorrunnerconfig.h - Added some variables to FindGeneratorRunner.cmake * GENERATORRUNNER_PLUGIN_DIR The dir where the generator plugins should be installed. * GENERATORRUNNER_VERSION The generatorrunner current version. * generator.cpp, generator.h, generators/boostpython/boostpythongenerator.h, generators/qtdoc/qtdocgenerator.h: Fixed assert failure when using qtdocgenerator. Added a default implementation for Generator::subDirectoryForClass. This breaks the binary compatibility but NOT the source compatibility. 2009-09-03 Lauro Neto * CMakeLists.txt, generator_plugin_dir.h.in, generators/boostpython/CMakeLists.txt, generators/qtdoc/CMakeLists.txt, main.cpp: Installs generator plugins in its own directory. 2009-09-02 Lauro Neto * CMakeLists.txt: Bump version to 0.4 (development version) 2009-08-31 Lauro Neto * CMakeLists.txt: Bump to 0.3 2009-08-31 Chris Hills * CMakeLists.txt, FindGeneratorRunner.cmake.in, generatorrunner.pc.in: Add pkg-config and cmake support Reviewed by Hugo Parente 2009-08-28 Renato Araujo Oliveira Filho * generators/boostpython/cppgenerator.cpp: Fixed default return policy for functions which return references. 2009-08-27 Renato Araujo Oliveira Filho * generators/boostpython/cppgenerator.cpp: Fixed export enums without namespace. * generators/boostpython/cppgenerator.cpp, generators/boostpython/cppgenerator.h: Implemneted QAbstrctField as Python properties. This implementation avoid Karmic python and boost conflict for readonly fields. Reviewed by Lauro Neto 2009-08-25 Renato Araujo Oliveira Filho * generators/boostpython/cppgenerator.cpp: Skip native types using only inNativePointer. with this new isNativePointer, the generator can avoid create useless return policies. Reviewed by Marcelo Lira 2009-08-26 Hugo Lima * generators/qtdoc/qtdocgenerator.cpp: Add missing macro to export qtdocgenerator plugin. Reviewed by Luciano Wolf 2009-08-26 Marcelo Lira * main.cpp: the generator runner exits with an error code if the call to ApiExtractor.run() returns false Reviewed by Hugo Parente 2009-08-25 Hugo Lima * generator.cpp, generator.h, generators/boostpython/boostpythongenerator.cpp, generators/boostpython/boostpythongenerator.h, generators/boostpython/convertergenerator.cpp, generators/boostpython/cppgenerator.cpp, generators/boostpython/hppgenerator.cpp, generators/qtdoc/qtdocgenerator.cpp, generators/qtdoc/qtdocgenerator.h: Use QFlags instead of an int as parameter type in some methods. Reviewed by Setanta * CMakeLists.txt: Install the generator header file into include/generatorrunner Reviewed by Setanta 2009-08-26 Marcelo Lira * generators/boostpython/CMakeLists.txt, generators/boostpython/main.cpp, generators/qtdoc/CMakeLists.txt, generators/qtdoc/main.cpp: added convenience binary applications to call the generatorrunner with --generatorSet parameters for boostpython and docgenerator Reviewed by Hugo Parente 2009-08-25 Marcelo Lira * generators/qtdoc/qtdocgenerator.cpp: moved the code for prepending the Sphinx tag '~' to QtXmlToSphinx::resolveContextForMethod Reviewed by Hugo Parente * docgenerator.cpp, docgenerator.h: DocGenerator now resolves context for method references: it searchs for the class that have implemented the method and link to its definition instead of producing a broken link to the current inheriting class documentation 2009-08-25 Renato Araujo Oliveira Filho * tests/CMakeLists.txt: Fixed typo in tests CMakesLists. 2009-08-24 Hugo Lima * generators/boostpython/CMakeLists.txt: Fix the libgenrunner name in target_link_libraries * CMakeLists.txt: Fix the libgenrunner version number * generators/boostpython/cppgenerator.cpp, generators/boostpython/cppgenerator.h: Backport "disable named args" bugfix from mainline * main.cpp: Plugins always ends with _generator in their names * generators/boostpython/boostpythongenerator.h: translateType method has been moved to Generator class 2009-08-21 Hugo Lima * CMakeLists.txt, generator.cpp, generator.h, generators/boostpython/boostpythongenerator.cpp, generators/qtdoc/CMakeLists.txt, generators/qtdoc/qtdocgenerator.h, tests/CMakeLists.txt, tests/sphinxtabletest.cpp, tests/sphinxtabletest.h: Removed QtDocGenerator dependence from BoostPythonGenerator, so a lot of function were moved from BoostPythonGenerator to the Generator class. In other words, QtDocGenerator finally compiles and their unit test pass :-) * generator.cpp, generator.h, generators/CMakeLists.txt, generators/boostpython/CMakeLists.txt, generators/boostpython/boostpythongenerator.cpp, generators/boostpython/boostpythongenerator.h, generators/qtdoc/CMakeLists.txt, generators/qtdoc/qtdocgenerator.cpp, generators/qtdoc/qtdocgenerator.h: - QtDocGenerator is now a GeneratorRunner plugin. - A lot of methods moved from boostpythongenerator to the generator class. * CMakeLists.txt: libgenerator is called libgenrunner and boostpythongenerator is called generatorrunner from now and beyond. * docgenerator.cpp, docgenerator.h, generators/qtdoc/qtdocgenerator.cpp, generators/qtdoc/qtdocgenerator.h: Moved docgenerator to generators/qtdoc and renamed it to qtdocgenerator * main.cpp: Removed redundant PATHSPLITTER macro, using the already definied PATH_SPLITTER one instead. * CMakeLists.txt, generator.h, generators/CMakeLists.txt, generators/boostpython/CMakeLists.txt, generators/boostpython/boostpython.cpp, generators/boostpython/boostpythongenerator.cpp, generators/boostpython/boostpythongenerator.h, generators/boostpython/cppgenerator.cpp, main.cpp: Added boostpython as a generator plugin. 2009-08-20 Hugo Lima * CMakeLists.txt, boostpythongenerator.cpp, boostpythongenerator.h, convertergenerator.cpp, convertergenerator.h, cppgenerator.cpp, cppgenerator.h, generator.cpp, generator.h, generators/boostpython/boostpythongenerator.cpp, generators/boostpython/boostpythongenerator.h, generators/boostpython/convertergenerator.cpp, generators/boostpython/convertergenerator.h, generators/boostpython/cppgenerator.cpp, generators/boostpython/cppgenerator.h, generators/boostpython/hppgenerator.cpp, generators/boostpython/hppgenerator.h, hppgenerator.cpp, hppgenerator.h, main.cpp: The current generators will be just plugins and all generator stuff in APIExtractor were moved to this project. So we need to re-think if boostpythongenerator still a good name for the project, because boostpythongenerator will be the name of the plugin to generate bindings for boost::python. Also the generators were just moved to a subdirectory (generators) and the boostpython generators to a sub-subdirectory (generators/boostpython), transform them in plugins will be a second milestone. 2009-08-25 Renato Araujo Oliveira Filho * cppgenerator.cpp, hppgenerator.cpp: Removed use of return_const_prt. This not work, because some c++ object does not have a copy constructor. 2009-08-24 Marcelo Lira * docgenerator.cpp: fixed links to classes inside namespaces 2009-08-24 Renato Araujo Oliveira Filho * cppgenerator.cpp: Use of return_const_ptr_object for functions with const pointer return. 2009-08-24 Marcelo Lira * docgenerator.cpp: fixed problem on documentation: method lists for classes get the scope duplicated when the owner class is inside a namespace 2009-08-24 Hugo Lima * cppgenerator.cpp, cppgenerator.h: Proper initialize m_disableNamedArgs variable. 2009-08-24 Renato Araujo Oliveira Filho * cppgenerator.cpp, hppgenerator.cpp: Replaced use of boost::python::wrapper to PySide::wrapper. 2009-08-21 Marcelo Lira * boostpythongenerator.cpp, cppgenerator.cpp: writes correct full qualified C++ names for classes and other components and also fixes the generated source code file names to follow changes on API Extractor 2009-08-19 Lauro Neto * CMakeLists.txt: Adding 'make dist' with git-archive 2009-08-18 Hugo Lima * CMakeLists.txt: Remove libbindgen from project, it doesnt exists yet. 2009-08-18 Marcelo Lira * CMakeLists.txt: updated BoostPythonGenerator version to 0.2 * docgenerator.cpp: removed wrong include statement from DocGenerator 2009-08-17 Hugo Lima The genesis...