1.14.1: 2010-04-27 Murray Cumming Make sure all glade-instantiated windows have the Glom icon. * glom/glade_utils.h: helper_get_glade_widget_derived_with_warning(): Call set_icon_name() on windows, fixing my regression. 2010-04-27 Murray Cumming Documentation: Added libglom main page. Installed _sources for pyglom. * docs/pyglom_reference/Makefile.am: Also install html/_sources, used by search. * glom/libglom/init.h: Add a doxygen main page. 2010-04-26 Murray Cumming Fix the build. * Makefile_tests.am: test_selfhosting_new_empty: Link to the Glom sources to fix the unresolved link to Glom::Priv's method. We will use more from the rest of Glom here too. 2010-04-26 Daniel Elstner Use installed mm-common instead of copying it * autogen.sh: Run mm-common-prepare to pull in the mm-common include files for Automake. * docs/libglom_reference/Makefile.am: Set up configuration variables and include doc-reference.am instead of copy'n'pasting its content. * docs/libglom-reference/doxygen_to_devhelp.xsl: Delete file. It is shipped with mm-common and also part of the glibmm installation. 2010-04-26 Murray Cumming Reenable test_load_document. * Makefile_tests.am: Reenable test_load_document.cc * tests/test_load_document/test_load_document.cc: Restore (rewrite) this missing file. 2010-04-26 Murray Cumming * configure.ac: Remove the dist-bzip2 option that was added by mistake. 2010-04-26 Murray Cumming Self-Hosting test: Check that cleanup works. * Makefile_tests.am: * glom/libglom/connectionpool.[h|cc]: * glom/libglom/connectionpool_backends/backend.[h|cc]: * glom/libglom/connectionpool_backends/postgres_self.[h|cc]: * tests/test_selfhosting_new_empty/test_selfhosting_new_empty.cc: Make cleanup() return a bool, so we can check it, because this fails sometimes. Use the standard username and password. 2010-04-26 Daniel Elstner Heavily cut the pyglom_reference build magic * docs/pyglom_reference/Makefile.am: Drop the custom installation rules and use the GNU make $(wildcard) function for both distribution and installation of the generated documentation files. Since the files do not undergo translation at install time, it is not necessary to integrate the custom installation tool from mm-common. Pull in a missing GNU make function definition for computing the list of files. 2010-04-26 Daniel Elstner Temporarily disable test_document_load * Makefile_tests.am (check_PROGRAMS), (TESTS): Temporarily remove test_document_load, because the corresponding source file is currently missing from the repository. 2010-04-26 Daniel Elstner Enable maintainer-mode build in autogen.sh * autogen.sh: Run configure with --enable-maintainer-mode since the AM_MAINTAINER_MODE macro is now used in configure.ac. 2010-04-26 Murray Cumming Python Glom module: Improved the docstrings, using reStructuredText * glom/python_embed/python_module/py_glom_module.cc: Use more reStructureText (or as much as sphinx allows us to use in a docstring). It's looking quite good. 2010-04-25 Murray Cumming Simplify test_selfhosting_new_empty. * glom/frame_glom.cc: Move setup_connection_pool_from_document() to: * glom/libglom/connectionpool.[h|cc]: Added setup_from_document(). * tests/test_selfhosting_new_empty/test_selfhosting_new_empty.cc: Use the new function here, removing code to explicitly set the backend. 2010-04-23 Murray Cumming Add a document-loading test and self-hosting test * glom/Makefile_tests.am: Added the tests. * glom/libglom/test_document.cc: Renamed to example_document_load.cc. * tests/test_document_load/test_document_load.cc: Added this new test to load a document, checking some known parts of its structure. * glom/libglom/document/bakery/document.cc: write_to_disk(): Create the parent directory if necessary, instead of failing with a Gio exception. * test/test_selfhosting_newempty/test_selfhosting_newempty.cc: Saves a new file from an example, starts self-hosting of it, and stops self-hosting. This needs work and expansion. 2010-04-20 Murray Cumming Python Glom module: Improve sphinx-generated documentation. * glom/python_embed/python_module/py_glom_module.cc: Added class docstring documentation, based on http://library.gnome.org/users/glom/unstable/sec-calculated-fields.html Use reStructuredText format as expected by sphinx and as apparently now use by Python for docstring text. 2010-04-20 Murray Cumming Fix the python Glom module name. * configure.ac: Fix a recent typo to again use the correct underlined name for the Python Glom module. This was fatal, in tests too. 2010-04-20 David King Relax the autoconf requirement * configure.ac: Relax the autoconf requirement to 2.63, as 2.65 is not required. Something older than 2.63 may even be acceptable, but I do not have an older version to test. 2010-04-20 David King Fix the sphinx-build configure check * configure.ac: Abort configure with an error if sphinx-build could not be found and --enable-documentation was passed to configure. 2010-04-20 Murray Cumming Glom Python API reference: Failed attempt to dist the html files. * docs/pyglom_reference/Makefile.am: Copied some stuff from the mm-common files, but it doesn't work yet. 2010-04-20 Murray Cumming Glom Python API reference: Install the html generated by sphinx. * docs/pyglom_reference/Makefile.am: Add install rules based on awful hacked copies of the mm-common stuff. I believe this could be far simpler. 2010-04-20 Murray Cumming Solve the long-paths problem with the doxygen-generated html files. * configure.ac: Change the AM_INIT_AUTOMAKE() call to be like gtkmm, allowing the tarball to contain long paths - needed for the libglom html documentation. 2010-04-19 Murray Cumming More improved use of sphinx. * docs/pyglom_reference/conf.py.in: Do not generate the module index page because we have only one module. * docs/pyglom_reference/index.rst.in: Add back the link to the general index, which seems to actually be generated. 2010-04-19 Murray Cumming * configure.ac: Ran autoupdate to remove use of deprecated macros. 2010-04-19 Murray Cumming Avoid the requirement for sphinx-build if documentation is disabled. * configure.ac: Use AC_PATH_PROG() instead of AC_CHECK_PROG() so we get the path to use. Only check if --enable-documentation was used. * docs/pyglom_reference/Makefile.am: Only build the html if --enable-documentation was used (not yet built by default anyway). 2010-04-19 Murray Cumming Improved use of sphinx. * configure.ac: AC_SUBST() GLOM_ABI_VERSION_UNDERLINED so we can use it in docs/pyglom_reference/Makefile.am. Mention these files that will be genereated form .in files with the ABI and version numbers substituted. Check for sphinx-build, though this should only matter when building docs. * docs/pyglom_reference/conf.py.in: * docs/pyglom_reference/index.rst.in: Use ABI and version variables instead of hard-coding. Add short introductory text with links. 2010-04-16 Murray Cumming Try to use sphinx for pyglom API documentation. * docs/pyglom_reference/Makefile.an: * docs/pyglom_reference/sphinx_sources/: An attempt to use sphinx instead of pydoc. sphinx is used by Python itself. I need to change my Python setup (not have Python in jhbuild) to test this properly, because I can't easily build pydoctor in my separate prefix. 2010-04-16 Murray Cumming Python: Really show warnings when modules can't be imported. * glom/python_embed/glom_python.cc: Add and use import_module() to make sure that we catch exceptions from boost::python::import(), so show the intended warnings instead of just crashing with an uncaught exception. Also correct the checks for empty/none boost::python::objects for imported modules. A simple ! is not what it seems. 2010-04-16 Murray Cumming Use mm-common for optional compiler warnings and to build libglom docs. * configure.ac: Use mm-common, removing macros/dk-warn.m4. * docs/libglom_reference/Doxyfile.in: * docs/libglom_reference/doxygen_to_devhelp.xsl: * docs/libglom_reference/Makefile.am: Generate libglom documentation properly usign build stuff copied from gtkmm. * docs/pyglom_reference/Makefile.am: A silly little initial attempt to have generated html for the glom python module, using pydoc. 2010-04-15 Murray Cumming Python field calculation: Fix a crash. * glom/libglom/python_embed/pygdavalue_conversions.cc: glom_pygda_value_as_boost_pyobject(): Add a PyDateTimeAPI call, as already done in glom_pygda_value_from_pyobject(), to prevent a crash (and valgrind warning about 0 dereference) when using this (silly, wrong) field calculation, though I can't reproduce it in a unit test: import datetime return (datetime.date.today() - record["date_of_birth"]).days / 365 2010-04-15 Murray Cumming Python module: Improve API documentation. * glom/python_embed/python_module/py_glom_module.cc: Added some options and text for docstrings, to improve the pydoc -w output.