1. 21 May, 2021 1 commit
    • Matthias Clasen's avatar
      docs: Reduce redundancy · 4a0d3d7a
      Matthias Clasen authored
      Remove a boatload of "or %NULL" from nullable parameters
      and return values. gi-docgen generates suitable text from
      the annotation that we don't need to duplicate.
      This adds a few missing nullable annotations too.
  2. 20 May, 2021 1 commit
  3. 16 Apr, 2021 1 commit
  4. 18 Mar, 2021 1 commit
    • Matthias Clasen's avatar
      Cosmetics · eaf09a46
      Matthias Clasen authored
      Pango lets us pass NULL for the font desc and language
      in pango_context_get_font_metrics() to use the context
  5. 11 Mar, 2021 3 commits
  6. 28 Jan, 2021 1 commit
  7. 16 Jan, 2021 1 commit
    • Matthias Clasen's avatar
      docs: Add details · a5e929ce
      Matthias Clasen authored
      Explain the difference between GtkPicture and GtkImage,
      and when you might want to use which.
  8. 21 Aug, 2020 1 commit
  9. 28 Jul, 2020 1 commit
  10. 26 Jul, 2020 1 commit
    • Emmanuele Bassi's avatar
      Remove ATK · c63087a5
      Emmanuele Bassi authored
      To build a better world sometimes means having to tear the old one down.
              -- Alexander Pierce, "Captain America: The Winter Soldier"
      ATK served us well for nearly 20 years, but the world has changed, and
      GTK has changed with it. Now ATK is mostly a hindrance towards improving
      the accessibility stack:
       - it maps to a very specific implementation, AT-SPI, which is Linux and
         Unix specific
       - it requires implementing the same functionality in three different
         layers of the stack: AT-SPI, ATK, and GTK
       - only GTK uses it; every other Linux and Unix toolkit and application
         talks to AT-SPI directly, including assistive technologies
      Sadly, we cannot incrementally port GTK to a new accessibility stack;
      since ATK insulates us entirely from the underlying implementation, we
      cannot replace it piecemeal. Instead, we're going to remove everything
      and then incrementally build on a clean slate:
       - add an "accessible" interface, implemented by GTK objects directly,
         which describe the acces...
  11. 24 Jul, 2020 2 commits
  12. 11 May, 2020 2 commits
  13. 22 Apr, 2020 1 commit
  14. 09 Apr, 2020 1 commit
    • Matthias Clasen's avatar
      Reinstate expected focus behavior · 632524f6
      Matthias Clasen authored
      After the :can-focus change in the previous commit, widgets
      need to set suitable focus and grab_focus implementations
      to implement the desired focus behavior.
      This commit does that for all widgets.
  15. 28 Mar, 2020 1 commit
  16. 05 Feb, 2020 1 commit
  17. 04 Feb, 2020 1 commit
  18. 30 Jan, 2020 1 commit
    • Alexander Larsson's avatar
      GtkImage: Preload icons during css validation · d1c6d78e
      Alexander Larsson authored
      At the end of GtkImage css validation (during style-updated) when the
      css properties (like the icon size) are valid we call _gtk_icon_helper_preload
      which does an async icon theme lookup and load. This will happen on a thread
      in parallel with the rest of the css machinery, and hopefully by the
      time we need the icon it will be ready. If not we will block when we need
      it, but during that blocking all the other icons will be loaded.
      Testing widget-factory this changes the time of snapshot() from 31 to
      25 msec, but on the other hand we also load a few more icons that we
      didn't before causing the css validation phase to be about 8 msec slower.
      This is because we're preloading all the images in the window, not only
      the ones that are visible.
      Unfortunately we still load a bunch of icons in snapshot(), from
      GtkCssImageIconTheme, and ideally we should try to preload those also.
  19. 07 Jan, 2020 1 commit
    • Timm Bäder's avatar
      Avoid a few state changes · 6a9bc5da
      Timm Bäder authored
      We can't optimize the save/restore calls away in the snapshot code, so
      do it from the caller side.
  20. 28 May, 2019 1 commit
  21. 27 May, 2019 1 commit
  22. 21 Feb, 2019 1 commit
  23. 31 Dec, 2018 3 commits
  24. 25 Aug, 2018 1 commit
  25. 04 Jul, 2018 1 commit
  26. 10 Jun, 2018 2 commits
  27. 05 Apr, 2018 2 commits
  28. 20 Mar, 2018 1 commit
    • Alexander Larsson's avatar
      GtkWidget: Start renaming widget->window · 63e060a2
      Alexander Larsson authored
      This is an automated change doing these command:
      git sed -f g gtk_widget_set_has_window gtk_widget_set_has_surface
      git sed -f g gtk_widget_get_has_window gtk_widget_get_has_surface
      git sed -f g gtk_widget_set_parent_window gtk_widget_set_parent_surface
      git sed -f g gtk_widget_get_parent_window gtk_widget_get_parent_surface
      git sed -f g gtk_widget_set_window gtk_widget_set_surface
      git sed -f g gtk_widget_get_window gtk_widget_get_surface
      git sed -f g gtk_widget_register_window gtk_widget_register_surface
      git sed -f g gtk_widget_unregister_window gtk_widget_unregister_surface
      git checkout NEWS*
  29. 16 Mar, 2018 4 commits