Skip to content
  1. Apr 17, 2024
  2. Apr 08, 2024
    • Kjell Ahlstedt's avatar
      Gdk::Graphene: Add TODO comments · 1a378242
      Kjell Ahlstedt authored
      * gdk/src/graphene_*.hg:
      * gdk/src/rgba.hg:
      * gtk/src/border.hg: Add TODO comments.
      These classes will be more efficient if they contain the underlying
      C structs instead of pointers to the C structs.
      See #155
      1a378242
  3. Mar 17, 2024
  4. Mar 16, 2024
    • Kjell Ahlstedt's avatar
      Gdk, Gtk: Add new API from gtk 4.14.0 · 12a28fba
      Kjell Ahlstedt authored
      * configure.ac:
      * meson.build: Require gtk4 >= 4.14.0.
      * gdk/src/display.hg: Add supports_shadow_width(), property_shadow_width().
      * gdk/src/dmabufformats.hg: Add equal().
      * gdk/src/monitor.hg: Add get/property_scale().
      * gtk/gtkmm.h:
      * gtk/gtkmm/meson.build:
      * gtk/src/filelist.am: Add accessibletext.
      * gtk/src/accessibletext.[ccg|hg]: New files.
      * gtk/src/accessible.hg: Add announce().
      * gtk/src/calendar.hg: Add set/get_day(), set/get_month(), set/get_year().
      * gtk/src/inscription.hg:
      * gtk/src/label.hg:
      * gtk/src/text.hg:
      * gtk/src/textview.hg: Add a TODO comment.
      * gtk/src/scalebutton.hg: Add set/get/property_has_frame().
      * gtk/src/searchentry.hg: Add _IGNORE() and _IGNORE_PROPERTY() directives.
      * gtk/src/searchentry2.hg: Add set/get/property_input_purpose(),
      set/get/property_input_hints().
      * tools/m4/convert_gdk.m4: Add conversion for DmabufFormats.
      * tools/m4/convert_gtk.m4: Add converions for AccessibleAnnouncementPriority,
      AccessibleTextContentChange, AccessibleTextGranularity enums.
      12a28fba
    • Kjell Ahlstedt's avatar
      Gdk, Gtk: Regenerate docs.xml and .defs files · 2e0cd9da
      Kjell Ahlstedt authored
      using gtk files from gtk 4.14.0. Update gtk_vfuncs.defs.
      2e0cd9da
  5. Feb 23, 2024
  6. Feb 10, 2024
  7. Feb 01, 2024
  8. Jan 31, 2024
    • Kjell Ahlstedt's avatar
      Gtk: Add new API from gtk 4.13.6 · d54bf19c
      Kjell Ahlstedt authored
      * configure.ac:
      * meson.build: Require gtk4 >= 4.13.6.
      * gtk/src/aboutdialog.hg: GTK_LICENSE_0BSD is called BSD_0.
      * gtk/src/filelauncher.hg: Add get/set/property_writable().
      * gtk/src/settings.hg: Add property_gtk_show_status_shapes().
      * gtk/src/spinbutton.hg: Add get/set/property_activates_default().
      d54bf19c
    • Kjell Ahlstedt's avatar
      Gdk, Gtk: Regenerate docs.xml and .defs files · 4a370937
      Kjell Ahlstedt authored
      using gtk files from gtk 4.13.6.
      Update gdk_docs_override.xml and gtk_docs_override.xml.
      4a370937
  9. Jan 15, 2024
  10. Dec 26, 2023
  11. Dec 06, 2023
    • Kjell Ahlstedt's avatar
      Make enum operators constexpr · ad511be5
      Kjell Ahlstedt authored
      * tools/m4/enum.m4: New file. Basically a copy of glibmm's
      corresponding file. It adds constexpr to operator|(), operator&(),
      operator^() and operator~() for enums of flag type.
      * tools/extra_defs_gen/meson.build:
      * tools/m4/filelist.am: Add enum.m4.
      
      Fixes #153
      ad511be5
  12. Nov 22, 2023
  13. Nov 21, 2023
    • Kjell Ahlstedt's avatar
      4.13.2 · 74d201fd
      Kjell Ahlstedt authored
      4.13.2
      74d201fd
    • Kjell Ahlstedt's avatar
      Add Gtk::GraphicsOffload · 79dd7405
      Kjell Ahlstedt authored
      * configure.ac:
      * meson.build: Require gtk4 >= 4.13.3.
      * gtk/gtkmm/meson.build:
      * gtk/src/filelist.am: Add graphicsoffload.
      * gtk/src/enums.hg: Add enum GraphicsOffloadEnabled.
      * gtk/src/graphicsoffload.[ccg|hg]: New files.
      * gtk/src/video.hg: Add get/set/property_graphics_offload().
      * tools/m4/convert_gtk.m4: Add conversions for GraphicsOffloadEnabled.
      79dd7405
    • Kjell Ahlstedt's avatar
      Gdk, Gtk: Regenerate docs.xml and .defs files · 48fef759
      Kjell Ahlstedt authored
      using gtk files from gtk 4.13.3. Update gtk_docs_override.xml
      and tools/extra_defs_gen/generate_defs_gtk.cc.
      48fef759
  14. Nov 16, 2023
    • Kjell Ahlstedt's avatar
      Gtk::Window: Get an extra reference, if not managed · 7ade1e5f
      Kjell Ahlstedt authored
      From the documentation of gtk_window_new():
        Due to GTK keeping a reference to the window internally,
        gtk_window_new() does not return a reference to the caller.
      
      GtkWindow acts approximately like a method marked (transfer none).
      The Gtk::Window constructors shall take a reference in order to avoid
      premature deletion of the GtkWindow, if it's destroyed, e.g. when
      it's closed.
      
      Fixes #151
      7ade1e5f
  15. Nov 14, 2023
  16. Nov 13, 2023
  17. Nov 10, 2023
  18. Nov 09, 2023
  19. Nov 08, 2023
  20. Nov 07, 2023
  21. Nov 04, 2023
    • Daniel Boles's avatar
      tests/tree_model_iterator: Fix CRITICALs as !model · 370912d6
      Daniel Boles authored
      Kjell noticed at line 118 and the others creating paths from iterators:
      
      > Gtk-CRITICAL **: 10:21:51.432: gtk_tree_model_get_path:
      >   assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
      
      These criticals were because the paths were created from iterators not
      associated with a model. Make them use the same 'dummy' model as others.
      
      !88 (comment 1907963)
      370912d6
  22. Nov 03, 2023
  23. Nov 02, 2023