1. 04 Mar, 2018 1 commit
    • Tomasz Miąsko's avatar
      Include C headers in introspection file. · 91498c7d
      Tomasz Miąsko authored
      Include gtk/gtk.h and gtk/gtk-a11y.h unconditionally,
      and gtk/gtkx.h when building with X11. Ensures that
      introspection data contains complete set required
      headers, which is useful when generating C code based
      on introspection data.
      Diff for generated gir (when using X11):
         <include name="xlib" version="2.0"/>
         <package name="gtk+-3.0"/>
      +  <c:include name="gtk/gtk-a11y.h"/>
      +  <c:include name="gtk/gtk.h"/>
      +  <c:include name="gtk/gtkx.h"/>
         <namespace name="Gtk"
      Fixes issue #56.
  2. 14 Feb, 2018 1 commit
  3. 11 Aug, 2017 2 commits
    • Matthias Clasen's avatar
      Add an Emoji chooser widget · 45b2e162
      Matthias Clasen authored
      Add a popover that shows color Emoji, with a search entry.
      The recently-used Emoji are stored in a GSetting.
    • Matthias Clasen's avatar
      Add Emoji data · a584bcb8
      Matthias Clasen authored
      The json file is imported from the (MIT-licensed) emoji.json[0] node
      module, which generates it from the emoji list published by the
      Unicode Consortium.
      This commit also adds a little tool to convert the data into
      a compact GVariant, and the result of that conversion, which is
      added to libgtk as a resource. The following commits will make use
      of it.
      [0] https://github.com/amio/emoji.json
  4. 18 Jul, 2017 1 commit
  5. 09 May, 2017 3 commits
    • Emmanuele Bassi's avatar
      Specify more options to sassc · a7db887c
      Emmanuele Bassi authored
      We should use the compact style, to minimize the whitespace; and we
      should omit the source map URL comment as well.
    • Emmanuele Bassi's avatar
      build: De-duplicate options to sassc · 5376fa36
      Emmanuele Bassi authored
      If we want to change the list of options we use with sassc, not having
      to copy-paste them in multiple rules would be a good start.
    • Emmanuele Bassi's avatar
      build: Don't include the marshallers header file · d9e0ea29
      Emmanuele Bassi authored
      We used to inject the inclusion of the generated header file into the
      generated body of the marshallers source code in order to avoid compiler
      warnings about missing prototypes. The glib-genmarshal utility has been
      fixed in GLib to include the prototype in the generated source, so now
      we're going to trip -Werror=redundant-decls.
  6. 03 Apr, 2017 1 commit
  7. 23 Aug, 2016 1 commit
    • Carlos Garnacho's avatar
      gtk: Add GtkPadController · a0b95864
      Carlos Garnacho authored
      This GdkEventController is a helper object to handle pad events,
      it allows setting a mapping to action names, to be triggered in
      the given action group.
      In order to help on places where advanced mapping/configurability
      of pad features is not desirable, this controller also allows
      passing a NULL pad device, meaning it will listen on all pads,
      and/or passing -1 on mode/index, so an action applies to all
      modes/features (eg. strips/rings).
  8. 27 Jul, 2016 1 commit
    • Georges Basile Stavracas Neto's avatar
      shortcut-label: make it public · 7543cd8c
      Georges Basile Stavracas Neto authored
      GtkShortcutLabel is a widget that displays a single
      shortcut accelerator or gesture in the user interface,
      and is currently used by the shortcuts window.
      This widget, however, has public value as other applications
      also may want to expose their own shortcuts. For instance,
      it'll be useful for the Keyboard panel on Control Center and
      the new shortcut editor in Pitivi, among others.
      This patch exposes GtkShortcutLabel as a public widget,
      and adds the necessary documentation.
  9. 23 Jul, 2016 1 commit
    • Matthias Clasen's avatar
      Opt in to structured logging · 82fd72a4
      Matthias Clasen authored
      Define G_LOG_USE_STRUCTURED, so that all our g_debug, g_warning,
      etc calls directly use structured logging and provide source information.
  10. 08 Jul, 2016 2 commits
  11. 16 May, 2016 1 commit
  12. 24 Apr, 2016 1 commit
  13. 22 Apr, 2016 1 commit
    • Sébastien Wilmet's avatar
      app: extract GtkApplicationAccels private class · bce4a0ab
      Sébastien Wilmet authored
      This has several benefits:
      - Less code in GtkApplication. The accels handling is something
        self-contained, and GtkApplication now delegates the work.
      - For the accels functions, there is now a distinction between static
        functions and functions in the gtkapplicationaccelsprivate.h header,
        which makes the code easier to understand, because we have a good
        overview just by reading the header.
      - The struct _GtkApplicationPrivate is now easier to find instead of
        being in the middle of the file.
  14. 19 Apr, 2016 1 commit
    • Chun-wei Fan's avatar
      MSVC builds: Update how introspection builds are done · 9a87b6be
      Chun-wei Fan authored
      This first adds a common autotools module that can be included by
      the Makefile.am's to generate the file lists and the g-ir-scanner/
      g-ir-compiler command lines to build the introspection files.
      The autotools files for gdk/ and gtk/ are then updated to generate
      the full file lists needed to build the introspection files, with
      the full command lines for g-ir-scanner and g-ir-compiler as NMake
      Makefile modules that can be used to build the introspection files
      for Visual Studio builds.
  15. 17 Apr, 2016 1 commit
  16. 08 Apr, 2016 1 commit
  17. 26 Mar, 2016 2 commits
  18. 25 Mar, 2016 1 commit
  19. 16 Mar, 2016 1 commit
  20. 22 Feb, 2016 1 commit
    • Chun-wei Fan's avatar
      Windows: Update how gtk-win32.rc is generated · 5962daef
      Chun-wei Fan authored
      On Visual Studio, unlike MinGW, manifest files are embedded via
      including the manifest file as a resource file in the projects, not
      via the .rc file.  This means that the line in the .rc file that
      specifies the manifest file would cause trouble, so that line gets
      removed when the full gtk3-win32.rc is generated on Visual Studio builds,
      otherwise 2010+ Visual Studio will complain when compiling the .rc file.
      Also, the inclusion of winuser.h will cause warnings during the
      compilation of the .rc file.
      Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to
      gtk-win32.rc.body.in and:
      -On MinGW, construct the full gtk-win32.rc by doing the winver.h and
       winuser.h inclusion first, then append the contents of gtk-win32.rc.body,
       and then appending the line to embed the manifest file.
      -On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc,
       and generate the full libgtk3.manifest file.
  21. 17 Feb, 2016 1 commit
  22. 16 Feb, 2016 1 commit
  23. 15 Feb, 2016 2 commits
  24. 13 Feb, 2016 2 commits
  25. 04 Feb, 2016 5 commits
  26. 30 Jan, 2016 1 commit
  27. 29 Jan, 2016 1 commit
    • Matthias Clasen's avatar
      icon theme: Improve loading of unthemed files · 001598a8
      Matthias Clasen authored
      When creating icon info objects for unthemed files, we don't
      really have a nominal size, so we pass 0 to mean 'load at
      original size'. However, this is not what was happening.
      To make this possible, add variants of some pixbuf loading
      functions that take a scale factor instead of a desired size,
      and use those when we don't have a nominal size.
  28. 21 Jan, 2016 1 commit
    • Matthias Clasen's avatar
      Handle svg image assets in Adwaita · b4bfba00
      Matthias Clasen authored
      The build glue for collecting all the assets in Adwaita as
      resources was assuming that they are all pngs, and tried to
      preprocess them into embedded GdkPixbufs.
      Fix it to leave svgs unmolested, so they can be recolored
      at runtime.
  29. 16 Jan, 2016 1 commit
    • Benjamin Otte's avatar
      cssnode: Split out the style cache · 5d562b6a
      Benjamin Otte authored
      For now, the split out style cache doesn't cache anything. This is
      mostly to make sure that bisections of wrong caching behavior will
      bisect down to the commit that actually adds caching.