2.17.9: 2009-08-25 Daniel Elstner RecentInfo: Correct get_application_info() so it can actually be used. * gtk/src/recentinfo.[hg|ccg]: get_application_info(): Correct the app_exec parameter to a Glib::ustring& instead of a Glib::StringArrayHandle& app_exec. This method could not have been used before without crashing so this is not a real ABI break. equal(): Reimplement with _WRAP_METHOD() instead of hand-coding. get_applications(), get_length(): Make the implementations more robust by using the length parameter. Bug #590381 2009-08-25 Murray Cumming Regenerated C documentation XML and wrapped some new API. * gdk/src/gdk_docs.xml: * gtk/src/gtk_docs.xml: Regenerated. * gtk/src/printoperation.hg: Added update_custom_widget signal. * gtk/src/statusicon.hg: Added get/set_title() and property. 2009-08-24 Murray Cumming Fix an API break. * gtk/src/widget.[hg|cc]: Add back is_visible(), deprecated, calling get_visible(). 2009-08-24 Murray Cumming Widget, CellRenderer, PrintUnixDialog: Wrapped some new functions. * gtk/src/cellrenderer.hg: Added get/set_alignment(), get/set_padding(), get/set_visible(), get/set_sensitive(). * gtk/src/cellrenderertoggle.hg: Added set/get_activatable(). * gtk/src/filechooser.hg: Added get/set_create_folders() and property. * gtk/src/label.hg: Added get/set_track_visited_links() and property. * gtk/src/menu.hg: Added get/set_reserve_toggle_size() and property. * gtk/src/printunixdialog.hg: Added set/get_support_selection(), set/get_support_selection(), set/get_has_selection(), set/get_embed_page_setup(), s/get_embed_page_setup(), and get_page_setup_set(). * gtk/src/widget.[hg|ccg]: is_sensitive(), can_focus(), has_focus(), has_grab(), has_default(), is_visible(): Reimplement with new gtk_widget_*() functions. sensitive(), double_buffered(), app_paintable(), can_default(): Deprecated in favour of new get_*() methods. Added get/set_has_window(). 2009-08-24 Murray Cumming Regenerated the main .defs files. * gtk/src/gtk_enums.defs: * gtk/src/gtk_methods.defs: * tools/extra_defs_gen/generate_defs_gtk.cc: Added GtkInfoBar. * gtk/src/gtk_signals.defs: Regenerated * gtk/src/infobar.hg: response signal: Added the parameter. * gtk/src/printoperation.hg: Added get/set_embed_page_setup() and get_n_pages_to_print() and properties. 2009-08-20 Daniel Elstner Rename @since back to @newin * docs/reference/Doxyfile.in (ALIASES): Rename the @since alias back to its old name @newin, but otherwise keep the parameters. Apparently there is a @since command predefined in Doxygen which I hadn't noticed. It does seem to get overridden silently, but it is better not to rely on this. * g[dt]k/src/*.hg, g[dt]k/g[dt]kmm/*.h: Replace all uses of @since with @newin. 2009-08-20 Daniel Elstner Do not hard-code API version in resource files * MSVC_Net200[58]/atkmm/atkmm.rc.in: Use newer @PACKAGE_VERSION@ substitution in place of @VERSION@. Substitute @ATKMM_MODULE_NAME@ instead of hardcoding the API version. Replace @GTKMM_*_VERSION@ substitutions with their @ATKMM_*_VERSION@ equivalents. * MSVC_Net200[58]/gdkmm/gdkmm.rc.in: Use newer @PACKAGE_VERSION@ substitution in place of @VERSION@. Substitute @GDKMM_MODULE_NAME@ instead of hardcoding the API version. Replace @GTKMM_*_VERSION@ substitutions with their @GDKMM_*_VERSION@ equivalents. * MSVC_Net200[58]/gtkmm/gtkmm.rc.in: Use newer @PACKAGE_VERSION@ substitution in place of @VERSION@. Substitute @GTKMM_MODULE_NAME@ instead of hardcoding the API version. 2009-08-20 Daniel Elstner Substitute API version in filenames dynamically * atk/atkmm.pc.in: Rename file from atk/atkmm-1.6.pc.in. * atk/atkmm-uninstalled.pc.in: Rename file from atk/atkmm-1.6-uninstalled.pc.in. * gdk/gdkmm.pc.in: Rename file from gdk/gdkmm-2.4.pc.in. * gdk/gdkmm-uninstalled.pc.in: Rename file from gdk/gdkmm-2.4-uninstalled.pc.in. * gtk/gtkmm.pc.in: Rename file from gtk/gtkmm-2.4.pc.in. * gtk/gtkmm-uninstalled.pc.in: Rename file from gtk/gtkmm-2.4-uninstalled.pc.in. * configure.ac (AC_CONFIG_FILES): Insert ${ATKMM_MODULE_NAME}, ${GDKMM_MODULE_NAME} and ${GTKMM_MODULE_NAME} into output filenames and remove the hard-coded version from the input filenames. * {atk,gdk,gtk}/{atk,gdk,gtk}mm/Makefile.am (lib_LTLIBRARIES): Substitute @{ATK,GDK,GTK}MM_API_VERSION@ into the libtool archive names as well as the variable names derived from them instead of hard-coding the API versions. 2009-08-19 Daniel Elstner Predefine ATKMM_API and GDKMM_API for Doxygen * docs/reference/Doxyfile.in (PREDEFINED): Define the ATKMM_API and GDKMM_API macros to the empty expansion, so they won't show up in the generated documentation. 2009-08-18 Daniel Elstner Use parametric Doxygen alias @since{m,n} * docs/reference/Doxyfile.in (ALIASES): Define a parametrized alias @since{major,minor} to replace the old @newin?p?* aliases which had to be defined manually for every version number used. * g[dt]k/src/*.hg, g[dt]k/g[dt]kmm/*.h: Change all occurrences of @newin?p?* to @since{m,n}. 2009-08-17 Daniel Elstner Define {ATK,GDK,GTK}MM_BUILD macros * atk/atkmm/Makefile.am (local_cppflags): Append -DATKMM_BUILD=1. * gdk/gdkmm/Makefile.am (local_cppflags): Append -DGDKMM_BUILD=1. * gtk/gtkmm/Makefile.am (local_cppflags): Append -DGTKMM_BUILD=1. 2009-08-17 Daniel Elstner Make use of new MM_DISABLE_DEPRECATED_API macro * configure.ac ({ATK,GDK,GTK}MM_DISABLE_DEPRECATED): Call the new MM_ARG_DISABLE_DEPRECATED_API macro from mm-common in order to provide the option to omit deprecated API from the library build, and to define the corresponding configuration macros. 2009-08-17 Daniel Elstner Append slash to overridden $(htmlrefpub) * docs/Makefile.am (htmlrefpub): Append trailing slash for consistency with the non-overridden value. 2009-08-16 Daniel Elstner Define *_DISABLE_DEPRECATED in config header * configure.ac ({ATK,GDK,GTK}MM_DISABLE_DEPRECATED): Go back to AC_DEFINE() instead of setting DISABLE_DEPRECATED_API_CFLAGS to a list of -D options to pass to the compiler. * gdk/gdkmmconfig.h.in (GDKMM_DISABLE_DEPRECATED): Copy #undef statement from the config.h.in generated by autoheader. * gtk/gtkmmconfig.h.in (GTKMM_DISABLE_DEPRECATED): ditto. 2009-08-16 Daniel Elstner Add missing gdkmm dependency to pkg-config file * gtk/gtkmm-2.4.pc.in (Requires): List @GDKMM_MODULE_NAME@ as a dependency, since it is not among @GTKMM_MODULES@ already. * gtk/gtkmm-2.4-uninstalled.in (Requires): Use @GTKMM_MODULES@ again instead of @GDKMM_MODULES@. 2009-08-16 Daniel Elstner Update and clean up g[dt]kmmconfig.h * gdk/gdkmmconfig.h.in (GDKMM_*_VERSION): Add #undef statements for the version number component macros. * gtk/gtkmmconfig.h.in: Clean up and copy #undef statements from the config.h.in file generated by autoheader. 2009-08-16 Daniel Elstner Provide pkg-config files for uninstalled use * atk/atkmm-1.6-uninstalled.pc.in: New pkg-config metadata file for building against a non-installed library. * gdk/gdkmm-2.4-uninstalled.pc.in: ditto, * gtk/gtkmm-2.4-uninstalled.pc.in: ditto. * configure.ac (GTKMM_REQ_ATKMM): Rename from GTKMM_PC_ATKMM_DEP. (GTKMM_REQ_ATKMM_UNINST): Add variant for the uninstalled library. (AC_CONFIG_FILES): List new *-uninstalled.pc output files. * gtk/gtkmm-2.4.pc.in (Requires): Substitute @GTKMM_REQ_ATKMM@. 2009-08-16 Daniel Elstner Simplify and update for recent mm-common * configure.ac: Insert MM_PREREQ([0.4]) macro call. (MM_INIT_MODULE): Omit now optional second argument. * atk/atkmm-1.6.pc.in, {gdk,gtk}/{gdk,gtk}mm-2.4.pc.in (htmlrefpub): Append trailing slash to URL, as per new mm-common recommendation. 2009-08-16 Daniel Elstner Get rid of obsolete GLIBMM_USING_STD() * gtk/gtkmm/treemodelcolumn.h: Stop using GLIBMM_USING_STD(), now that it has been removed from glibmm. * gtk/src/{textbuffer,treeiter,treepath}.hg: ditto. 2009-08-16 Daniel Elstner Rename scripts/ to build/ for consistency * build/: Rename directory from scripts/ for consistency with the other binding modules that switched to the new build system. * configure.ac (AC_CONFIG_AUX_DIR): Change to build/ directory. (AC_CONFIG_MACRO_DIR): ditto. * Makefile.am (ACLOCAL_AMFLAGS): Include M4 files from build/. * {atk,gdk,gtk}/*/Makefile.am: Include mm-common build files from $(top_srcdir)/build/. * docs/Makefile.am: ditto. 2009-08-13 Daniel Elstner Reference new canonical name of cairomm tag file * configure.ac (cairomm-1.0.tag): Change from cairomm_doxygen_tags to the new canonical name of the cairomm tag file. 2009-08-13 Daniel Elstner Distribute gtk/gtkmm/wrap_init.h * gtk/gtkmm/filelist.am (gtkmm_files_extra_h): List wrap_init.h. 2009-08-13 Daniel Elstner Clean up remaining cruft in scripts/ * Makefile.am (DIST_SUBDIRS): Remove the explicit assignment, and have Automake figure it out for itself. * configure.ac (AC_CONFIG_FILES): Remove scripts/Makefile output file. Merge the remaining output files into one list, and clean up a bit. * scripts/Makefile.am: Delete now unused build file. * scripts/README: Delete unhelpful text file. * scripts/{cxx,cxx_std,dk-warn,docgen,macros}.m4: Delete outdated and no longer used Autoconf macro files. 2009-08-12 Daniel Elstner Convert tests/ to non-recursive build * configure.ac (AC_CONFIG_FILES): Remove tests/*/Makefile ouputs. * tests/Makefile.am: Overhaul, modernize and make non-recursive. Build the test program targets on make check instead of make all. * tests/*/Makefile.am: Delete now unused build files. * tests/Makefile.am_fragment: ditto. * docs/Makefile_web.am_fragment: Delete left-over file. 2009-08-12 Daniel Elstner Remove duplicate image files for pixbuf-demo * demos/pixbuf-demo.cc: Clean up a few minor things. (background_name), (image_names): Prefix "gtk-demo/" to the file names so that it can pick up the files from the subdirectory. * demos/Makefile.am (dist_democode_DATA): Split into two variables $(democode_DATA) and $(dist_democode_DATA) to avoid copying source code files twice into the distribution. * demos/background.jpg, demos/*.png: Delete duplicate image files. 2009-08-12 Daniel Elstner Bring back demos/ and make it non-recursive * configure.ac (AC_CONFIG_FILES): Add output file demos/Makefile. * Makefile.am (SUBDIRS): Recurse into demos/ subdirectory again. * demos/Makefile.am: Overhaul, modernize and make non-recursive. Build the demo program targets on make check instead of make all. Install all gtkmm-demo source files, as there is little point in not shipping the full compilable set. Stop installing gtkmm-demo for now. Do we really need this installed? * demos/gtk-demo/Makefile.am: Delete now unused file. 2009-08-12 Daniel Elstner Fix GLIBMM vs GTKMM typo * gtk/gtkmm/Makefile.am (AM_CXXFLAGS): It's $(GTKMM_WXXFLAGS). 2009-08-12 Daniel Elstner Un-invert DISABLE_DEPRECATED_API conditional * configure.ac (DISABLE_DEPRECATED_API): Invert the accidentally reversed test condition for AM_CONDITIONAL(). 2009-08-12 Daniel Elstner Remove header dependency of gdkmm on gtkmm * gdk/src/dragcontext.hg: Remove #include , which appears to have been left over from an earlier change to avoid the dependency. The problem got caught due to the shortened include paths of the new build setup. Also get rid of a pointless forward declaration of Gtk::Widget. 2009-08-12 Daniel Elstner Correct tag reference to pangomm * configure.ac (MM_ARG_WITH_TAGFILE_DOC): The module name of the current pangomm API is pangomm-1.4, not pangomm-2.4. Ooops. 2009-08-12 Daniel Elstner Convert documentation to new build system * configure.ac (MM_ARG_ENABLE_DOCUMENTATION): Call macro. (MM_ARG_WITH_TAGFILE_DOC): Call once for each tagfile dependency. (AC_CONFIG_FILES): Remove output files docs/images/Makefile and docs/reference/**/Makefile from the list. * Makefile.am (SUBDIRS): Include docs/ conditionally. * docs/Makefile.am: Rewrite based upon the new doc-reference.am build support file from the mm-common module. * docs/reference/Doxyfile.in: Replace with modernized Doxygen configuration and adapt to the new mm-common build organization. * docs/images/Makefile.am: Delete old recursive build file. * docs/reference/Makefile.am: ditto, * docs/reference/reference/Makefile.am: ditto, * docs/reference/images/Makefile.am: ditto, * docs/reference/images/widgets/Makefile.am: ditto. * atk/atkmm-1.6.pc.in, gdk/gdkmm-2.4.pc.in, gtk/gtkmm-2.4.pc.in: Overhaul and make use of more configuration substitutions. Provide the locations of the reference documentation and the tag file. 2009-08-12 Daniel Elstner Convert main source directories to mm-common * configure.ac: Get rid of some more cruft we no longer need. (DISABLE_DEPRECATED_API): Add Automake conditional. (AC_CONFIG_FILES): Remove tools/{m4,extra_defs_gen}/Makefile and {atk,gdk,gtk}/{atk,gdk,gtk}mm/private/Makefile. * tools/Makefile.am: Non-recursively build the contents of all subdirectories. * tools/m4/filelist.am: Overhaul for new build system and rename file from Makefile_list_of_sources.am_fragment to filelist.am. * tools/Makefile_list_of_sources.am_fragment: Delete file. * tools/extra_defs_gen/Makefile.am: Delete recursive Makefile. * tools/m4/Makefile.am: ditto. * tools/README, tools/TODO: Delete unhelpful and obsolete files. * {atk,gdk,gtk}/src/filelist.am: Adapt file lists to new mm-common build organization and rename from Makefile_list_of_hg.am_fragment to filelist.am. * {atk,gdk,gtk}/{atk,gdk,gtk}mm/filelist.am: New files defining the lists of source files to compile and include in the libraries. * {atk,gdk,gtk}/src/Makefile.am: Rewrite based upon the new build support files from mm-common. * {atk,gdk,gtk}/{atk,gdk,gtk}mm/Makefile.am: ditto. * {atk,gdk,gtk}/{atk,gdk,gtk}mm/private/Makefile.am: Delete files. * build_shared/*.am_fragment: Delete obsolete build support files. 2009-08-12 Daniel Elstner Do not recurse into MSVC or NSI subdirectories * configure.ac (AC_CONFIG_FILES): Remove the output files MSVC_Net200[58]/**/Makefile and win32_installer/**/Makefile. (AC_CONFIG_COMMANDS): Append custom commands to config.status to copy the generated header files into the MSVC subdirectories. Do the same for COPYING, which is copied to win32_installer/lgpl.txt. * MSVC_Net200[58]/filelist.am: New Automake include files. * win32_installer/filelist.am: New Automake include file. * Makefile.am: Include the file lists MSVC_Net200[58]/filelist.am and win32_installer/filelist.am. (SUBDIRS): Do not recurse into MSVC_Net200[58]/ or win32_installer/ subdirectories. (dist_noinst_DATA): Distribute the MSVC and Windows installer data files from here. (DISTCLEANFILES): Delete file copies from subdirectories. * MSVC_Net200[58]/**/Makefile.am: Delete now unused build files. * win32_installer/**/Makefile.am: ditto. * win32_installer/gtkmm-installer.nsi.in (PRODUCT_API_VERSION): Substitute @GTKMM_API_VERSION@ and remove the TODO comment. (PRODUCT_VERSION): Substitute @PACKAGE_VERSION@. * win32_installer/install-msvc-module: Fix the incorrectly applied shell quoting throughout the file. Replace cascade of 'if test' and 'elif test' constructs with a straightforward 'case ... in'. 2009-08-12 Daniel Elstner Skip over intermediate subdir in recursion * configure.ac (AC_CONFIG_FILES): Remove {atk,gdk,gtk}/Makefile. (AC_CONFIG_HEADERS): Bring back gdkmmconfig.h. * Makefile.am (SUBDIRS): Skip over {atk,gdk,gtk}/ and recurse directly into {atk,gdk,gtk}/src and {atk,gdk,gtk}/{atk,gdk,gtk}mm. Reorganize the conditional inclusion of atkmm in the build. ({atk,gdk,gtk}mm_include_HEADERS): Install *mm.h central headers. (nodist_g[dt]kmm_libinclude_HEADERS): Install *mmconfig.h headers. (nodist_pkgconfig_DATA): Install pkg-config metadata files. * {atk,gdk,gtk}/Makefile.am: Delete now unused files. * {atk,gdk,gtk}/README: Delete either empty or unhelpful files. 2009-08-12 Daniel Elstner Begin transition to mm-common build system * autogen.sh: Replace with minimal script already used in pangomm, only invoking mm-common-prepare, autoreconf and configure. * configure.ac: Overhaul and remove large chunks of unnecessary, inappropriate or broken tests and actions. Start using shared macros from mm-common to simplify matters. Insert some dummy substitutions and Automake conditional to keep the tree building. * Makefile.am (ACLOCAL_AMFLAGS): Define for autoreconf to work. (SUBDIRS): Temporary adjustments to keep the tree building. * config.h.in: Delete file, and have autoheader generate it. 2009-07-31 Johannes Schmid * gtk/src/builder.hg: * gtk/src/builder.ccg: #590353 - GtkBuilder header is inconsistent in exception/error handling 2009-07-23 Murray Cumming Gtk::Builder: Fix a crash when the widget is not found. * gtk/src/builder.ccg: get_widget_checked(): Prevent a crash if the widget was not found by GtkBuilder. Bug #589267 (Alexander Shaduri) 2.17.2: