1. 22 May, 2021 1 commit
  2. 03 Jan, 2021 1 commit
  3. 31 Oct, 2020 1 commit
  4. 31 Aug, 2020 1 commit
  5. 24 Jul, 2020 1 commit
  6. 31 May, 2020 1 commit
    • Christoph Reiter's avatar
      Drop fallback-c89.c · 2d5cf2b4
      Christoph Reiter authored
      We require a C compiler supporting C99 now. The main purpose of
      these fallbacks was for MSVC. From what I can see this is now all supported
      by MSVC 2015+ anyway.
      The only other change this includes is to replace isnanf() with the
      (type infering) C99 isnan() macro, because MSVC doesn't provide isnanf().
  7. 06 Feb, 2020 1 commit
    • Alexander Larsson's avatar
      GtkIconPaintable: Always recolor when snapshotting. · 021aaef8
      Alexander Larsson authored
      It never makes sense to paint a texture that needs recoloring. If
      you call the regular snapshot on a symbolic texture we just use the
      default recoloring colors.
      To support this we also change gtk_css_style_snapshot_icon_paintable()
      to call gtk_icon_paintable_snapshot_with_colors() for IconPaintables
      so that we get the correct colors, and we make it not emit the color
      Since we now rely on the icon to do the recoloring we also drop the
      recolor argument in gtk_icon_paintable_snapshot_with_colors() as its
      not needed anymore.
  8. 26 Jan, 2020 1 commit
  9. 18 Jan, 2020 2 commits
    • Timm Bäder's avatar
      Remove GtkCssShadowsValue · 45455f1b
      Timm Bäder authored
      Previously, we wrapped all GtkCssShadowValues in a GtkCssShadowsValue,
      even if it was just one shadow. This causes an unnecessary bloat in
      css values.
      Make each GtkCssShadowValue able to handle multiple shadows instead, and
      use gtk_css_shadow_value* API everywhere.
    • Timm Bäder's avatar
      Remove GtkCssRgbaValue · 67991ed0
      Timm Bäder authored
      The differenciation between a literal color value and an RGBA value
      caused problems in various situations. Just treat the two the same but
      don't allow access to the rgba value of a non-literal color value.
      This gets rid of around 1.6k rgba values in the widget-factory.
  10. 10 Jan, 2020 1 commit
  11. 13 Nov, 2018 1 commit
  12. 24 Jul, 2018 6 commits
  13. 08 Jul, 2018 2 commits
  14. 15 Apr, 2018 1 commit
    • Timm Bäder's avatar
      Remove gtk_render_icon_surface · 2f95b4dd
      Timm Bäder authored
      As part of removing all the cairo_surace_t usage. There's still
      gtk_render_icon for the same purpose that takes a GdkTexture*
  15. 06 Feb, 2018 1 commit
    • Matthias Clasen's avatar
      The big versioning cleanup · 4c150d8e
      Matthias Clasen authored
      Remove all the old 2.x and 3.x version annotations.
      GTK+ 4 is a new start, and from the perspective of a
      GTK+ 4 developer all these APIs have been around since
      the beginning.
  16. 30 Nov, 2017 2 commits
  17. 06 Oct, 2017 1 commit
    • Benjamin Otte's avatar
      build: Enable -Wswitch-enum and -Wswitch-default · 43c212ac
      Benjamin Otte authored
      This patch makes that work using 1 of 2 options:
      1. Add all missing enums to the switch statement
      2. Cast the switch argument to a uint to avoid having to do that (mostly
         for GdkEventType).
      I even found a bug while doing that: clearing a GtkImage with a surface
      did not notify thae surface property.
      The reason for enabling this flag even though it is tedious at times is
      that it is very useful when adding values to an enum, because it makes
      GTK immediately warn about all the switch statements where this enum is
      And I expect changes to enums to be frequent during the GTK4 development
  18. 20 Dec, 2016 7 commits
  19. 16 Nov, 2016 2 commits
  20. 16 Oct, 2016 1 commit
  21. 05 May, 2016 1 commit
  22. 03 May, 2016 1 commit
  23. 20 Jan, 2016 1 commit
    • Matthias Clasen's avatar
      Add a function to get affected area for background · 5fd7b85d
      Matthias Clasen authored
      The new function, gtk_render_background_get_clip answers the
      question: what pixels are affected if I call gtk_render_background ?
      The long-term goal is to have APIs that answer this question for
      all rendering primitives.
  24. 04 Jan, 2016 1 commit
  25. 09 Dec, 2015 1 commit