1. 09 Jun, 2022 1 commit
    • Benjamin Otte's avatar
      Add GtkInscription · b6a8080b
      Benjamin Otte authored
      A label alternative that renders itself into a given rectangle.
      The main use case is cells in column view.
      Related: #3334
  2. 15 May, 2022 1 commit
  3. 14 May, 2022 1 commit
  4. 14 Mar, 2022 1 commit
  5. 22 Feb, 2022 1 commit
  6. 12 Jan, 2022 1 commit
    • Chun-wei Fan's avatar
      gtk/meson.build: Fix builds without PangoFT2 · ee2dd1ac
      Chun-wei Fan authored
      We aren't really using PangoFT2 for [language|script]-names.c, and are
      always using items from them, so make sure they are being built.
      Also always include the pangoft2 dependency in gtk_dep if it is found.
  7. 10 Jan, 2022 1 commit
  8. 04 Jan, 2022 2 commits
  9. 24 Dec, 2021 1 commit
  10. 14 Dec, 2021 1 commit
    • Chun-wei Fan's avatar
      Revert "gtk/meson.build: Fix linking on Visual Studio 2013" · e2b41083
      Chun-wei Fan authored
      We now require a Pango version that requires Visual Studio 2015 or later to
      build, and non-UCRT-based (VS2013) binaries may not bode well with
      UCRT-based binaries (VS2015+). Drop the support for VS2013 as a result.
      This reverts commit e208e0e07886248d4d86118aa5591c9882f0ed5c.
  11. 04 Nov, 2021 1 commit
  12. 04 Oct, 2021 1 commit
  13. 01 Oct, 2021 3 commits
    • Matthias Clasen's avatar
      Fix the build · e9828f1f
      Matthias Clasen authored
      I messed this up when I changed how we build resources.
    • Matthias Clasen's avatar
      Fix an oversight · 63398759
      Matthias Clasen authored
    • Matthias Clasen's avatar
      gtk: Speed up build · 802ad392
      Matthias Clasen authored
      Avoid serializing the gresource blob into a C string
      and running gcc over it. Instead, use ld to put it
      directly into an .o file and add it to the build.
      The build system machinations here were copied from
      gobject/tests/meson.build, and should ideally be part
      of the meson gnome module.
  14. 22 Sep, 2021 1 commit
  15. 18 Sep, 2021 1 commit
    • Matthias Clasen's avatar
      Add delayed loading for textures · 4a89cfe2
      Matthias Clasen authored
      Add a private GdkPaintable implementation that
      loads a texture in a thread, and does not show
      anything until the texture is loaded. This avoid
      blocking on image loading in the main thread.
  16. 10 Sep, 2021 1 commit
  17. 30 Aug, 2021 1 commit
    • Simon McVittie's avatar
      compose: Generate endian-dependent compact Compose data · 52cdf305
      Simon McVittie authored
      The GtkComposeTable cache is always in big-endian format and is
      byteswapped on load for the more common little-endian CPUs, but
      init_builtin_table() in GtkIMContextSimple can't byteswap the built-in
      data without copying it, which is undesirable. Pregenerate both big-
      and little-endian compose data, and compile the correct flavour into
      each build of GTK. This fixes failure of the composetable test when
      building for a big-endian architecture such as s390x and (traditional,
      big-endian) powerpc.
      Resolves: #4217
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@debian.org>
  18. 29 Aug, 2021 1 commit
  19. 23 Aug, 2021 1 commit
    • Kalev Lember's avatar
      build: Fix detection for pre-compiled css files · 552a4b2c
      Kalev Lember authored
      The default theme changed from Adwaita to Default and this tripped up
      the logic to detect if the tarball builds contain pre-built css files or
      not. Fix this by looking at pre-compiled css files in themes/Default/
      instead of themes/Adwaita/.
  20. 22 Aug, 2021 1 commit
  21. 20 Jul, 2021 1 commit
    • Benjamin Otte's avatar
      build: Remove sassc option · af0c95c1
      Benjamin Otte authored and Matthias Clasen's avatar Matthias Clasen committed
      Instead, ensure that sassc is made madatory on git builds (because
      it is, we don't ship CSS files anymore) and not even looked for in
      release builds (because do ship CSS files there).
  22. 14 Jul, 2021 1 commit
    • Matthias Clasen's avatar
      composetable: Drop GtkComposeTableCompact · 54dffa07
      Matthias Clasen authored
      All tables use the compact format now, and we generate
      caches in that format too. Bump the cache version to 3
      for this.
      Replace the python script for generating the builtin table
      by a small C program using the same code to generate the data
      for the builtin table. This drops the restriction on only
      generating a single character in the builtin sequences.
  23. 13 Jul, 2021 1 commit
  24. 08 Jul, 2021 1 commit
    • Christian Hergert's avatar
      joinedmenu: add helper to join menus instead of nesting · d63d9b23
      Christian Hergert authored
      In many cases, we have an "extra-menu" property that is used to allow
      applications to join menus into the native menu for the widget. Previously,
      this was done by nesting that menu in a section.
      Doing so increases the complexity of the rules for GtkMenuTracker as you
      may want different handling from inside of the section vs toplevel
      If instead we synthetically glue the menus together, we have a much more
      natural joining of menus as the application developer would expect for
      their menu.
      This also ports GtkLabel, GtkText, GtkPasswordEntry, and GtkTextView to
      use the joined menu helper.
      The joined menu helper comes originally from GNOME Builder and has had
      extensive use there.
      Fixes #4094
  25. 25 Jun, 2021 2 commits
  26. 08 Jun, 2021 1 commit
  27. 25 May, 2021 1 commit
  28. 24 May, 2021 1 commit
  29. 06 May, 2021 1 commit
  30. 01 Apr, 2021 1 commit
    • Matthias Clasen's avatar
      Reorganize our themes · 0dcf95b8
      Matthias Clasen authored
      Rename the included theme to Default, with 4 variants:
      light, dark, hc, hc-dark. This replaces Adwaita,
      Adwaita:dark, HighContrast and HighContrastInverse.
      We still make the themes available under these names,
      and we still set up Adwaita-dark and HighContrastInverse
      as the dark variants of Adwaita and HighContrast.
      The unification of the theme variants under Default
      is not quite perfect; it would be nice to merge
      the assets/ and assets-hc/ subdirectories and render
      all assets from a single svg file.
  31. 11 Mar, 2021 3 commits
  32. 18 Feb, 2021 1 commit
    • Matthias Clasen's avatar
      paned: Add a paned handle class · 35488959
      Matthias Clasen authored
      Instead of bending GtkGizmo to the breaking point,
      split off a GtkPanedHandle class that just does
      what is needed here. Its simpler, and lets us keep
      GtkGizmo simpler too. Everybody wins.
  33. 17 Feb, 2021 1 commit
    • Matthias Clasen's avatar
      popover: Add a popover content class · c2f811dd
      Matthias Clasen authored
      Instead of bending GtkGizmo to the breaking point,
      split off a GtkPopoverContent class that just does
      what is needed here. Its simpler, and lets us keep
      GtkGizmo simpler too.
  34. 03 Feb, 2021 1 commit