2016-09-04 Kjell Ahlstedt 2.24.5 2016-09-03 Kjell Ahlstedt Gtk::MenuList::insert(): Use static_cast() instead of double negation Use static_cast(item) instead of !!item to explicitly convert Glib::RefPtr<> to bool. It's more obvious. Bug #770682 2016-05-31 Kjell Ahlstedt Gdk::ScopedPtr: Don't require a C++11 compiler * gdk/src/types.hg: Don't use the C++11-specific nullptr and noexcept. https://mail.gnome.org/archives/gtkmm-list/2016-May/msg00021.html 2016-05-25 Kjell Ahlstedt Improve the documentation of Gtk::ComboBoxText Bug #766039 2016-05-25 Kjell Ahlstedt Update to be more compatible with glibmm 2.47.6 and later * gdk/src/types.hg: Glib::ScopedPtr has been deprecated. To be able to build gtkmm with GLIBMM_DISABLE_DEPRECATED, copy Glib::ScopedPtr to Gdk::ScopedPtr. * gdk/src/types.ccg: * gtk/src/clipboard.ccg: * gtk/src/colorselection.ccg: * gtk/src/rc.ccg: * gtk/src/widget.ccg: * demos/gtk-demo/example_dialog.cc: Use Gdk::ScopedPtr instead of Glib::ScopedPtr. * gtk/src/menushell.ccg: Glib::Refptr::operator bool() has been made explicit. It's no longer used in item != 0, where item is a RefPtr. Change the expression to the equivalent !!item. Even with these changes it's not unproblematic to build gtkmm2 with a new version of gmmproc, because _CLASS_BOXEDTYPE and _CLASS_GOBJECT generate move operators but gtkmm2 does not require a C++11 compiler. 2015-08-14 Murray Cumming Pixbuf: Avoid deprecations warnings that break --enable-warnings=fatal. Such as during distcheck. 2015-08-14 Murray Cumming configure.ac: Use C++11 if the compiler supports it. For instance, use --std=c++11 when using g++. This will let gtkmm-2.24 build against newer glibmm versions. Applications will need to use --std=c++11 too if glibmm is a newer version. Of course, you should be using gtkmm 3 anyway. 2015-07-24 Murray Cumming Fix the previous commit 2015-07-24 Murray Cumming Add list.m4 here in gtkmm instead of in glibmm. It was removed from glibmm in this commit because nothing that's still supported (really, I'm not supporting this branch that I am committing in) still uses it: https://git.gnome.org/browse/glibmm/commit/?id=b4198dd1945ef4a9787b76c1a68e61708a9b1fa9 2015-07-05 Kjell Ahlstedt More fixes to suit newish glibmm. * gtk/src/entrycompletion.hg: Add a missing double quote in _WRAP_PROPERTY("text_column, int), to avoid a warning from gmmproc 2.41.0 or newer. * gtk/src/printunixdialog.hg: get_selected_printer(): Ref-counting correction. Fix a .->, typo to make the refreturn option actually be used. Necessary with gmmproc 2.29.13 or newer. Discussed in bug #657751, comment 5. 2015-07-02 Kjell Ahlstedt Add #includes needed with glibmm newer than 2.31.0. * gdk/src/color.hg: * gdk/src/pixbufanimationiter.hg: * gdk/src/pixbufformat.hg: * gdk/src/rectangle.hg: * gdk/src/rgbcmap.hg: * gdk/src/types.hg: * gtk/src/enums.hg: * gtk/src/main.hg: * gtk/src/papersize.hg: * gtk/src/textattributes.hg: * gtk/src/treemodel.hg: Add individual includes now that gmmproc does not add #include at the top of every generated header. * gtk/gtkmm/border.h: Add #include to make glibmm/tools/test_scripts/testheaders.sh happy. 2014-09-19 Chun-wei Fan Fix the Visual Studio 2008/2010 Projects Remove the /vd2 compile-time option, as it causes crashes in the built binaries, and define a MSVC-compatible getc_unlocked() replacement. * MSVC_Net2008/gdkmm/gdkmm.vcproj: * MSVC_Net2008/gtkmm/gtkmm.vcproj: * MSVC_Net2010/gdkmm/gdkmm.vcxproj: * MSVC_Net2010/gtkmm/gtkmm.vcxproj: Remove the /vd2 compile option, as it is not needed and causes crashes in the built code. * MSVC_Net2008/demos/gtk-demo/gtk-demo.vcproj: * MSVC_Net2010/demos/gtk-demo/gtk-demo.vcxproj: Remove the /vd2 compile option, and define a getc_unlocked() replacement suitable for Visual Studio builds. 2014-09-19 Chun-wei Fan MSVC Projects: Use DOS/Windows Line Feeds for .sln Files Visual Studio expects .sln files to have DOS/Windows line feeds so that the their versions and meta data can be properly recognized. * MSVC_Net2005/gtkmm.sln: * MSVC_Net2008/gtkmm.sln: * MSVC_Net2010/gtkmm.sln: Use DOS/Windows line feeds as this is what the Visual Studio IDE expects of those files. 2012-03-14 Murray Cumming PaperSize: Correct the PaperSizeTraits pre-declaration. * gtk/src/papersize.hg: PaperSizeTraits is a struct, not a class. clang++ noticed this while building Glom, though I have not run it on all of gtkmm.