2017-03-16 Murray Cumming 3.89.5 2017-03-15 Murray Cumming TreeModel: Use const_iterator for some vfunc parameters. 2017-03-15 Murray Cumming Tree*, ComboBox*: Change some parameters to const_iterator. Because these methods don't change the model data referred to by the iterator. We can expect people to call these methods with const_iterators. 2017-03-15 Chun-wei Fan Visual Studio builds: Require Visual Studio 2017 The latest gtkmm-4.x will require C++-14 features that are supported only by Visual Studio 2017 and later, so update the projects accordingly. Also update mentions of earlier Visual Studio versions to refer to this Visual Studio version. For the C++ dependencies of gtkmm, use the property sheets to record the version names so that we can update them more easily in the future if the need should arise. 2017-03-15 Murray Cumming tests: tree_model_iterator: Add simple test of constness issues. Bug #134520 2017-03-14 Kjell Ahlstedt Gtk::TreeIter<>: Fix operator==() and operator!=() It shall be possible to compare a TreeModel::iterator with a TreeModel:: const_iterator, i.e. a TreeIter with a TreeIter. Let the comparison operators take const TreeIterBase3&. TreeIterBase3 is a base class of TreeIter<>. Bug 134520 2017-03-14 Murray Cumming About Dialog: Add construtor with a use_header_bar parameter. Bug #780004 (Daniel Boles) 2017-03-14 Murray Cumming Dialog: Simplify the constructors. Remove constructors that take DialogFlags, and remove the DialogFlags enum. Add an optional bool use_header_bar parameter to the 2 other non-default constuctors. There are now 3 constructors instead of 5. There is now no way to specify the GTK_DIALOG_DESTROY_WITH_PARENT flag, but hopefully this is not heavily used anyway. It seems better to use standard C++ memory management. icon browser demo: Use the new constructor instead of the one that uses DialogFlags, to specify tha the dialog should be modal and should use the header bar. Bug #780004 (Daniel Boles) 2017-03-10 Kjell Ahlstedt Gtk::ScaleButton: Let get_[plus,minus]_button() return Button* 2017-03-10 Kjell Ahlstedt Gtk::RecentManager: Remove unused SlotChanged 2017-03-10 Kjell Ahlstedt Move Gtk::PrintSettings::PageRange out of PrintSettings * gtk/src/printjob.[ccg|hg]: * gtk/src/printsettings.[ccg|hg]: Move class Gtk::PrintSettings::PageRange out of PrintSettings, making it Gtk::PageRange. Fix set/get_page_ranges(). The implementations can't be almost identical in PrintJob and PrintSettings. gtk_print_job_set_page_ranges() takes ownership of the GtkPageRange array, but gtk_print_settings_set_page_ranges() does not. gtk_print_job_get_page_ranges() does not give the caller a newly created GtkPageRange array, but gtk_print_settings_get_page_ranges() does. 2017-03-09 Kjell Ahlstedt Gtk::Widget: Remove get_valign_with_baseline() because gtk_widget_get_valign_with_baseline() has been removed in gtk+. 2017-03-08 Kjell Ahlstedt Gtk::TreePath::get_from_selection_data(): const TreeModel The Glib::RefPtr is an output parameter that gets a reference to a TreeModel (a GtkTreeModel) in the const Gtk::SelectionData input parameter. The TreeModel shall also be const. Mark output parameters in Doxygen comments in treepath.hg. 2017-03-06 Kjell Ahlstedt Gtk::IconView: Mark output parameters in Doxygen comments 2017-03-05 Kjell Ahlstedt Gtk::Assistant: Add child properties and a ctor with use_header_bar property_use_header_bar() is construct-only. It should be possible to set it in a constructor. A similar constructor was added to Gtk::Dialog as a result of bug 738513. 2017-03-05 Kjell Ahlstedt Regenerate gtk_signals.defs * tools/extra_defs_gen/generate_defs_gtk.cc: Add missing get_child_properties() for ActionBar, Assistant, ButtonBox and Menu. * gtk/src/gtk_signals.defs: Regenerate 2017-03-03 Kjell Ahlstedt Gtk::AccelMap: Glib::ustring accel_path accel_path parameters are std::string in some functions, Glib::ustring in other functions. Make them Glib::ustring everywhere. In other classes (AccelKey, Menu, MenuItem, Widget) they are Glib::ustring. 2017-03-03 Kjell Ahlstedt Gdk::Pixbuf: Throw exception from ctor, add get_pixels(guint& length) Throw an exception from a constructor instead of creating an invalid object. In the documentation, remove references to the removed constructor that took a Gdk::Window. Add get_pixels(guint& length). 2017-03-03 Kjell Ahlstedt Gdk::Window::constrain_size(): WindowHints flags In gtk+ 3.11.3, the flags parameter was changed from guint to GdkWindowHints. Now we can make such an ABI-breaking change in gtkmm. (Probably it did not break ABI in gtk+'s C code, but it does in C++ code with mangled function names.) 2017-03-03 Kjell Ahlstedt Gdk::RGBA: Add alpha parameter to set_hsv() and set_hsl()