Skip to content
  1. Nov 07, 2018
  2. Nov 02, 2018
  3. Oct 29, 2018
    • Kjell Ahlstedt's avatar
      Update .gitignore · 9a99bd57
      Kjell Ahlstedt authored
      9a99bd57
    • Chun-wei Fan's avatar
      build: Remove Visual Studio 2013 projects · e23df51a
      Chun-wei Fan authored
      Since the NMake Makefiles replaced the Visual Studio projects, this
      commit drops them.
      e23df51a
    • Chun-wei Fan's avatar
      build: Add NMake Makefiles for Visual Studio builds · 01a977be
      Chun-wei Fan authored
      This adds NMake Makefiles for Visual Studio 2013 and later, which will
      replace the Visual Studio projects.  The main motivation for this is to
      ease maintenace on the Visual Studio build files, especially as sources
      are often added or removed, making the project files out-of-date as they
      are not generated during 'dist make'.  This will share the various
      filelist.am's so that any additions or removal of sources can be
      reflected upon the Visual Studio builds immediately.
      
      Since this is the C++-11 version of gtkmm which supports both Visual
      Studio 2015 and 2017, we want to name the DLL and .lib to be like
      <library>-vc140-3_0.[dll.lib] or <library>-vc140-d-3_0.[dll|lib] since
      they both link to the v140 Windows C/C++ runtime DLLs, and thus these
      DLLs and .lib's are advertised to be interoperable, as supported by
      Microsoft.
      
      Note that the master branch, which requires C++-17, is not changed
      as Visual Studio 2017 is really required to build things there.
      
      Note t...
      01a977be
    • Chun-wei Fan's avatar
      build: Remove GNU Makeisms from filelist.am's · 3ab726eb
      Chun-wei Fan authored
      This is so that they can be used by the NMake Makefiles as well.
      3ab726eb
    • Chun-wei Fan's avatar
      gendef: Skip CRT symbols that are implemented inline · 1d6ea26b
      Chun-wei Fan authored
      As a result to the move of UCRT for Visual Studio 2015 and later, some
      of the CRT functions are no longer done in the CRT DLL, but are instead
      implemented directly in the CRT headers.  We need to filter out these
      symbols so that we can link the gtkmm DLL properly.
      
      Unfortunately we cannot just link to legacy_stdio_definitions.lib to
      resolve this, so we just have to strip these symbols out from the
      generated gtkmm.def.
      1d6ea26b
    • Chun-wei Fan's avatar
      build: Rename MSVC_Net2013 to MSVC_NMake · 00735bc9
      Chun-wei Fan authored
      This prepares for the transition to NMake Makefiles for the Visual Studio
      build system, which aims to reduce the likelihood of it becoming outdated
      as it shares the filelist.am's with the autotools build system, instead
      of being manually updated.
      00735bc9
  4. Apr 04, 2018
    • Kjell Ahlstedt's avatar
      Update the Menus demo · af76ba52
      Kjell Ahlstedt authored
      Don't mention the deprecated ImageMenuItem in the description.
      Show the menu with accelerator keys.
      af76ba52
  5. Feb 11, 2018
  6. Jan 24, 2018
    • Kjell Ahlstedt's avatar
      Fix the Change Display demo · f8b67c90
      Kjell Ahlstedt authored
      Make the demo more like the corresponding demo in gtk+, e.g. by using
      Gdk::Seat::grab() and Gdk::Device::get_window_at_position().
      f8b67c90
  7. Dec 28, 2017
    • Kjell Ahlstedt's avatar
      Gdk: Deprecate flush(), screen_width(), etc. · 09b0693d
      Kjell Ahlstedt authored
      * gdk/gdkmm/general.[cc|h]: Decrecate Gdk::screen_width(), screen_height(),
      screen_width_mm(), screen_height_mm(), flush(). They have been deprecated
      in gtk+ 3.22.
      * gtk/src/fontbutton.hg: Disable deprecation warnings when fontbutton.cc
      is compiled. gtk_font_button_set/get_font_name() and property font-name
      are deprecated in gtk+ 3.22 in favor of gtk_font_chooser_set/get_font() and
      GtkFontChooser:font. They can't be deprecated in gtkmm 3.22 because
      FontChooser is not a base class of FontButton.
      * demos/gtk-demo/example_change_display.cc: Don't use the deprecated
      Gdk::flush().
      09b0693d
  8. Oct 27, 2017
  9. Oct 13, 2017
    • Kjell Ahlstedt's avatar
      Add a specialization for Glib::Value<Cairo::RefPtr<Cairo::Surface>> · a26c327b
      Kjell Ahlstedt authored
      * gtk/src/cellrendererpixbuf.hg: Add a specialization for
      Glib::Value<Cairo::RefPtr<Cairo::Surface>>. A specialization for
      Glib::Value<Cairo::RefPtr<T>> can't be put in glibmm, because glibmm does
      not depend on cairomm. It can't be put in cairomm, because cairomm does
      not depend on glibmm. It's needed for property_surface(). Bug 788513
      a26c327b
  10. Oct 09, 2017
  11. Sep 13, 2017
  12. Jul 11, 2017
  13. Jul 06, 2017
  14. Jun 27, 2017
  15. Jun 23, 2017
  16. Jun 03, 2017
  17. May 26, 2017
  18. May 10, 2017
    • Daniel Boles's avatar
      TreeView: Remove an obsolete comment · d5ad790d
      Daniel Boles authored
      Commit 4504487c replaced the old C syntax (void*)0 with nullptr but did
      not remove this comment, which referred to the original cast expression.
      d5ad790d
    • Daniel Boles's avatar
      Box: Fix comments on constructor · ffab03e6
      Daniel Boles authored and Daniel Boles's avatar Daniel Boles committed
      • typo in internal comment
      • wrong claim that it always creates a horizontal Box in documentation
        comment – looks like a copy-and-paste error from the HBox/VBox days.
      ffab03e6
    • Daniel Boles's avatar
      CellLayout: Improve docs of get_first_cell() funcs · c2400243
      Daniel Boles authored
      They included the line “This assumes that the CellLayout contains only
      one CellRenderer.” But that doesn’t matter: these methods always return
      the first cell, without caring whether there are any others, and thus
      users can call them without caring too. So, that comment had no purpose.
      
      Also, these are ‘safe’ to call for Layouts containing no cells, in the
      sense that they will return nullptr, so we might as well clarify that.
      c2400243
    • Daniel Boles's avatar
      TreeModel: Improve docs of foreach*() functions · 0d05bc4a
      Daniel Boles authored
      • Fix example slots to have the correct bool return type; they were void
      • Don’t use example as 1st paragraph as it ends with ;. which looks odd
      • Open by explaining what the typedef is for, with link to its foreach()
      • For each foreach*(), name and link to its type of slot in the comment
      • Use the actual function name in each case, instead of always foreach()
      0d05bc4a
  19. Mar 27, 2017
  20. Feb 02, 2017