2013-07-17 Murray Cumming 3.9.8 2013-07-15 Kjell Ahlstedt Replace deprecated classes in comments. * gtk/src/bin.hg: Replace HBox by horizontal Box. * gtk/src/dialog.hg: Replace VBox by vertical Box. * gtk/src/builder.hg: * gtk/src/scrolledwindow.hg: * gtk/src/sizegroup.hg: Replace Table by Grid. * gtk/src/hvseparator.hg: Add @deprecated Doxygen command. * gtk/src/filechooserbutton.hg: * gtk/src/infobar.hg: * gtk/src/statusbar.hg: Mention that the C object derives from GtkBox. 2013-07-10 Kjell Ahlstedt Add a missing include to enums.ccg. * gtk/src/enums.ccg: Add #include . 2013-07-08 Kjell Ahlstedt Gtk::Action, Activatable: Deprecate vfuncs only with comments. * gtk/src/action.hg: * gtk/src/activatable.hg: Remove the 'deprecated' parameters, added by mistake to _WRAP_VFUNC in an earlier commit. gmmproc ignores all unknown parameters in _WRAP_VFUNC, but it's best to remove them, in case gmmproc checks the parameters better in the future. 2013-07-07 Kjell Ahlstedt Fix build with --disable-deprecated-api. * gtk/gtkmm/wrap_init.h: Define GDK_DISABLE_DEPRECATION_WARNINGS unconditionally. * gtk/src/application.hg: Make gmmproc add "typedef struct _GtkWindow GtkWindow;" early in application.cc. * gtk/src/colorbutton.[hg|ccg]: Make deprecated constructors deprecated also in colorbutton.cc. * gtk/src/menubutton.hg: Deprecate unset_menu() instead of unset_popup(). * gtk/src/filelist.am: Move table.hg to gtkmm_files_deprecated_hg. 2013-07-07 Kjell Ahlstedt Relax the deprecation of Gtk::Action. * gtk/src/action.[hg|ccg]: Don't deprecate the whole class and the whole files. Deprecate all methods, signals and properties. There are so many references from Activatable to Action that it's difficult to deprecate all of Action without deprecating all of Activatable, which would break ABI. Particularly tricky when building with --disable-deprecated-api. * gtk/src/activatable.hg: Deprecate all methods and properties. * gtk/src/filelist.am: Move action.hg to gtkmm_files_any_hg. 2013-07-06 Kjell Ahlstedt Gtk::Notebook and StyleContext: Minor deprecation fixes. * gtk/src/notebook.hg: Disable deprecation warnings when notebook.cc is compiled. * gtk/src/stylecontext.[hg|ccg]: get_font(): Use gtk_style_context_get() instead of the deprecated gtk_style_context_get_font(). 2013-07-03 José Alburquerque Move to a generated ChangeLog. 2013-07-03 Kjell Ahlstedt Gtk::BuiltinStockID: Add deprecation messages to the constants. * gtk/gtkmm/stock.h: Copy deprecation messages from gtk+'s GTK_STOCK_* constants to the BuiltinStockID constants. 2013-07-03 Kjell Ahlstedt Demos: Fix calls to Gtk::Grid::attach(). * demos/gtk-demo/example_appwindow.cc: * demos/gtk-demo/example_dialog.cc: * demos/gtk-demo/example_panes.cc: * demos/gtk-demo/example_sizegroup.cc: Fix all calls to Grid::attach(). Those calls were not modified properly when Table was replaced by Grid. 2013-07-03 Kjell Ahlstedt Fix 'make check' after the massive deprecations. * demos/Makefile.am: * demos/gtk-demo/demos.h: Remove example_stockbrowser.cc and example_uimanager.cc from the lists of demo files. * demos/gtk-demo/example_buttonbox.cc: * demos/gtk-demo/example_change_display.cc: * demos/gtk-demo/example_dialog.cc: * demos/gtk-demo/example_iconview.cc: * demos/gtk-demo/example_sizegroup.cc: Replace Gtk::Stock::* by either a label or a named icon, as recommended in the gtk+ file gtkstock.h. * tests/dialog_deletethis/main.cc: Replace Gtk::Stock::CLOSE by "_Close". Call app->hold(). This is necessary because the dialog window is not added to the Gtk::Application. * tests/property_notification/main.cc: Use the rgba property instead of the deprecated color property. 2013-07-02 José Alburquerque Auto-generate the ChangeLog from the git log for 'make dist'. * Makefile.am: Include the dist-changelog.am file copied in build/ from mm-common so that the ChangeLog is automatically generated from the git commit messages on 'make dist'. 2013-07-02 Kjell Ahlstedt Update gtk/src/filelist.am and gtk/gtkmm/filelist.am. * gtk/src/filelist.am: * gtk/gtkmm/filelist.am: Update the lists of deprecated files. 2013-07-02 Kjell Ahlstedt Deprecate Gtk::ActionGroup, *Action, Activatable (sort of), UIManager. * gtk/gtkmm/radiobuttongroup.[h|cc]: Deprecate the add() that takes a RadioAction. * gtk/src/action.hg: Deprecate Action. * gtk/src/actiongroup.hg: Deprecate ActionGroup. * gtk/src/activatable.hg: Add a comment that interface Activatable is deprecated. Can't do more than that without breaking ABI. It's a base class of several classes. * gtk/src/radioaction.hg: Deprecate RadioAction. * gtk/src/recentaction.hg: Deprecate RecentAction. * gtk/src/toggleaction.hg: Deprecate ToggleAction. * gtk/src/uimanager.hg: Deprecate UIManager. This together with the previous 4 commits should fix the build with --enable-warnings=fatal until more API is deprecated in gtk+. These commits don't fix 'make check'. The demos use deprecated API. 2013-07-02 Kjell Ahlstedt Deprecate Gtk::ImageMenuItem. * gtk/src/imagemenuitem.hg: Deprecate ImageMenuItem. 2013-07-02 Kjell Ahlstedt Deprecate Gtk::StockID, StockItem, BuiltinStockID, namespace Gtk::Stock. * gtk/gtkmm/stock.[h|cc]: Deprecate struct BuiltinStockID and all functions in namespace Gtk::Stock. * gtk/gtkmm/stockid.[h|cc]: Deprecate StockID. * gtk/src/stockitem.hg: Deprecate StockItem. * gdk/src/dragcontext.hg: * gtk/src/button.[hg|ccg]: * gtk/src/cellrendererpixbuf.hg: * gtk/src/dialog.hg: * gtk/src/entry.[hg|ccg]: * gtk/src/infobar.hg: * gtk/src/menutoolbutton.[hg|ccg]: * gtk/src/radiotoolbutton.[hg|ccg]: * gtk/src/statusicon.[hg|ccg]: * gtk/src/togglebutton.[hg|ccg]: * gtk/src/toggletoolbutton.[hg|ccg]: * gtk/src/toolbutton.[hg|ccg]: * gtk/src/tooltip.hg: Deprecate all constructors, methods and properties that take a StockID parameter or return a StockID. It remains to copy deprecation messages from gtk+ to all the BuiltinStockID constants in stock.h. 2013-07-02 Kjell Ahlstedt Deprecate Deprecate Gtk::IconFactory, IconSet, IconSource. * gtk/gtkmm/wrap_init.h: Add GDK_DISABLE_DEPRECATION_WARNINGS, which is now necessary in wrap_init.cc. * gtk/src/iconfactory.ccg: Move IconSize code to enums.ccg. * gtk/src/iconfactory.hg: Deprecate IconFactory. * gtk/src/iconset.hg: Deprecate IconSet. * gtk/src/iconsource.hg: Deprecate IconSource. * gtk/src/enums.ccg: Move IconSize code from iconfactory.ccg. * gtk/src/enums.hg: Deprecate most IconSize methods. * gtk/src/image.[hg|ccg]: Deprecate methods that take an IconSet or a StockID parameter. * gtk/src/stylecontext.hg: Deprecate [set|get]_direction() and render_icon_pixbuf(). 2013-07-02 Kjell Ahlstedt Deprecate some API that is deprecated in the C API. * gtk/src/cellrenderer.hg: Deprecate property_cell_background_gdk(). * gtk/src/cellview.hg: Deprecate property_background_gdk(). * gtk/src/colorbutton.hg: Deprecate get_alpha(). Add some TODOs. * gtk/src/scrolledwindow.hg: Deprecate property_window_placement_set(). * gtk/src/settings.hg: Deprecate ignored settings. * gtk/src/widget.[hg|ccg]: Deprecate [un]set_composite_name(), [push|pop]_composite_child(), get_requisition() and methods that take a StockID parameter. * gtk/src/window.hg: Deprecate reshow_with_initial_size(). 2013-06-10 José Alburquerque Gen Scripts: Minor clean up of the description of the scripts. * tools/gen_scripts/gdk_generate_docs.sh: * tools/gen_scripts/gdk_generate_enums.sh: * tools/gen_scripts/gdk_generate_extra_defs.sh: * tools/gen_scripts/gdk_generate_methods.sh: * tools/gen_scripts/gtk_generate_docs.sh: * tools/gen_scripts/gtk_generate_enums.sh: * tools/gen_scripts/gtk_generate_methods.sh: 2013-06-03 Kjell Ahlstedt Deprecate Gtk::Container::resize_children(). * gtk/src/container.hg: Deprecate Gtk::Container::resize_children() because gtk_container_resize_children() has been deprecated. 2013-05-21 Kjell Ahlstedt Add missing include in gtk/src/widgetpath.hg. * gtk/src/widgetpath.hg: Add missing include. 2013-05-18 Kjell Ahlstedt Add missing includes in gdkmm.h and gtkmm.h. * gdk/gdkmm.h: * gtk/gtkmm.h: Add missing includes. Bug #699993. 2013-05-17 Murray Cumming (Not pushed until later.) 2013-05-07 Murray Cumming Fix the build with --enable-warnings=fatal * gdk/src/display.hg: Deprecate get_n_screens(), because the C function is deprecated, because it always returns 1. Therefore also add a default parameter value of 0 to get_screen(). Added a GDK_DISABLE_DEPRECATION_WARNINGS undef so we can still use the deprecated API in our deprecated API. * demos/gtk-demo/example_change_display.cc: Adapt this, like the C version has been adapted. 2013-05-07 Murray Cumming Fix the build with --enable-warnings=fatal, partly. * tools/extra_defs_gen/generate_defs_gtk.cc: Add a define of GDK_DISABLE_DEPRECATION_WARNINGS, though I do not know why this is only necessary now, using GTK+ from git master.