1. 18 Jan, 2022 1 commit
  2. 13 Jan, 2022 1 commit
  3. 12 Jan, 2022 1 commit
  4. 11 Jan, 2022 1 commit
  5. 07 Jan, 2022 2 commits
  6. 04 Jan, 2022 4 commits
    • Chun-wei Fan's avatar
      Visual Studio projects: Generate versioned sources · cef32931
      Chun-wei Fan authored
      Instead of relying on the ones that are currently shipped with the tarballs,
      generate them from their .in counterparts prior to the build.  This includes
      the Resource Scripts (.rc) for libgdk/libgtk, as well as gtkversion.h, in
      addition to gdkversionmacros.h which can now be generated during prebuild.
      cef32931
    • Chun-wei Fan's avatar
      Visual Studio projects: Improve generating libgtk sources · 6789ff74
      Chun-wei Fan authored
      This improves the source generating process by:
      
      *  Generating the sources in the libgtk build directory, so that we do not
         pollute the source tree.
      *  Support generating gtk[private]typebuiltins.[c|h] in the Visual Studio
         projects by using NMake internally.
      *  Update the projects and the introspection build files so that the generated
         sources and headers can be found.
      6789ff74
    • Chun-wei Fan's avatar
      gtk/build: Split out part of headers listings · 8eaddde3
      Chun-wei Fan authored
      This will enable us to share this list with the NMake Makefiles that will be
      used to generate the gtk[private]typebuiltins.[c|h] in the Visual Studio
      projects.
      8eaddde3
    • Chun-wei Fan's avatar
      Visual Studio projects: Improve generating GDK sources · 334333f7
      Chun-wei Fan authored
      This makes the rest of the sources that are generated being put in GDK's build
      directory for the Visual Studio projects, instead of being placed in GDK's
      source subdir, so that:
      
      *  We can avoid polluting GDK's source tree.
      *  The Visual Studio builds won't interfere with the Meson builds.
      
      Update the project files to look for the generated sources and headers in the
      right places, as well as making the introspection builds look for the generated
      sources as well.
      
      Also remove the gtk3-gen-srcs property sheets and put the relevant parts in the
      corresponding gtk3-build-defines property sheets, to clean things up a bit.
      334333f7
  7. 03 Jan, 2022 1 commit
  8. 30 Dec, 2021 1 commit
  9. 29 Dec, 2021 1 commit
    • Thomas Holder's avatar
      macOS: Dock "Quit" invokes "app.quit" action · cbd9715c
      Thomas Holder authored
      Allows the application to handle "Dock icon > Quit" the same as
      "Application menu > Quit".
      
      Requires GtkApplication's `register-session` property.
      
      Suitable replacement for gtk-mac-integration's
      `NSApplicationBlockTermination` signal.
      cbd9715c
  10. 27 Dec, 2021 1 commit
  11. 21 Dec, 2021 1 commit
  12. 14 Dec, 2021 1 commit
  13. 29 Nov, 2021 2 commits
    • Matthias Clasen's avatar
      fontchooser: Avoid setting variations needlessly · 1b789197
      Matthias Clasen authored
      Setting variations to their default value causes
      them to show up in the serialization of the font
      description - a font description has no idea about
      the default values, so can't filter them out.
      
      Avoid that.
      1b789197
    • Chun-wei Fan's avatar
      gtkfontchooserwidget.c: Always enable font features with later Pango · e1422d73
      Chun-wei Fan authored
      This is a backport of the code in GTK4 where we can use the font
      features that is given to us via HarfBuzz if we have Pango 1.44.x and
      HarfBuzz 2.2.0 or later installed, even if we do not have PangoFT2
      aavilable.
      
      Since Pango 1.44.x depends on HarfBuzz for all platforms after 1.44.0,
      we could take advantage of that and build the support in
      GtkFontChooserWidget.
      
      Add a directive that is to be used by Visual Studio compilers via the
      Visual Studio projects to link to harfbuzz.lib automatically, so that
      this support can be linked properly if we have the required Pango and
      HarfBuzz headers and lib's installed.  Meson builds via Visual Studio
      should handle this automatically, since pkg-config is being used there.
      
      Since HAVE_PANGOFT2 and HAVE_HARFBUZZ is not defined by default in the
      Visaul Studio projects, we will leave it up to the user to enable them
      themselves and put in pangoft2-1.0.lib and harfbuzz.lib in the project
      settings by themselves, or they could use Meson, as we did before.
      e1422d73
  14. 25 Nov, 2021 1 commit
  15. 23 Nov, 2021 4 commits
  16. 17 Nov, 2021 1 commit
  17. 16 Nov, 2021 2 commits
  18. 19 Oct, 2021 1 commit
  19. 14 Oct, 2021 1 commit
    • Chun-wei Fan's avatar
      gtk: Fix building version resource on Windows 11 SDK · c4d8575c
      Chun-wei Fan authored
      The rc.exe that comes with the Windows 11 SDK does not allow one to include
      winuser.h directly in the .rc scripts, so make sure that we do not try to
      generate the final gtk.rc with it, but instead include windows.h with
      WIN32_LEAN_AND_MEAN defined.
      c4d8575c
  20. 13 Oct, 2021 1 commit
    • Chun-wei Fan's avatar
      gtk/generate-uac-manifest.py: Fix UAC manifest .rc · dceed915
      Chun-wei Fan authored
      The resource compiler in the Windows 11 SDK does not allow one to include
      winuser.h directly in resource scripts (.rc) with a rather cryptic error
      message, so fix generating the .rc file to embed the UAC manifest by including
      windows.h with WIN32_LEAN_AND_MEAN instead.
      dceed915
  21. 04 Oct, 2021 1 commit
    • Pierre Ossman (Work account)'s avatar
      searchenginemodel: finalize search results · aca83684
      Pierre Ossman (Work account) authored
      It is necessary to signal the search engine that we are finished and
      that we found something for it to reliably show the results. It would
      sometimes work anyway since it is sufficient if any backend signals
      completion. However if GtkSearchEngineModel was the only backend
      returning results then things would break.
      aca83684
  22. 29 Sep, 2021 2 commits
  23. 15 Sep, 2021 1 commit
  24. 22 Aug, 2021 2 commits
  25. 29 Jul, 2021 1 commit
  26. 21 Jul, 2021 1 commit
    • Carlos Garnacho's avatar
      gtkgesture: Apply gesture group state after setting up sequence · 944a7565
      Carlos Garnacho authored
      When a new sequence is added to a GtkGesture, its state is looked
      in other gestures in the same group, and made to match in this
      gesture. This however happened a bit too early, before the
      gesture touchpoint was fully set up. As this may result in signal
      emission and whatnot, it's a good idea to make it happen with a
      fully set up touchpoint.
      
      Fixes: #3946
      
      (Cherry-picked from commit 53df32e6)
      944a7565
  27. 15 Jun, 2021 1 commit
  28. 11 Jun, 2021 2 commits
    • Matthias Clasen's avatar
      a11y: Plug a memory leak with treeviews · 21f80982
      Matthias Clasen authored
      We need to explicitly remove the children from
      a GtkContainerCellAccessible, since they otherwise
      keep the parent alive.
      
      Fixes: #3981
      21f80982
    • Matthias Clasen's avatar
      a11y: Fix ref counting in tree views · d4f62b44
      Matthias Clasen authored
      GtkContainerCellAccessible wasn't unsetting accessible
      parents. Fix that.
      
      By itself, this doesn't help for freeing a memory leak,
      since AtkObject keeps a ref on its parent, so we never
      free the GtkContainerCellAccessible as long as it has children.
      d4f62b44