1. 10 Feb, 2019 1 commit
  2. 06 Feb, 2019 3 commits
  3. 04 Feb, 2019 6 commits
  4. 24 Jan, 2019 1 commit
  5. 22 Jan, 2019 1 commit
    • Benjamin Otte's avatar
      build: Reintroduce warning flags from autotools · 359bc769
      Benjamin Otte authored
      Some of the flags got lost in the meson transition or were demoted from
      error flags to warning flags.
      This commit reintroduces them.
      
      It also includes fixes for the code that had warnings with those flags.
      The big one being -Wshadow.
      359bc769
  6. 18 Jan, 2019 3 commits
  7. 16 Jan, 2019 1 commit
  8. 03 Jan, 2019 1 commit
  9. 22 Dec, 2018 1 commit
    • Tomasz Miąsko's avatar
      Annotate values of PRIORITY constants · c665a1d5
      Tomasz Miąsko authored
      g-ir-scanner incorrectly evaluates macro definition that include
      references to other macro definitions. Provide a correct value as an
      annotation.
      
      Differences in generated gir files:
      
      ```diff
      @@ -19017 +19017 @@
      -    <constant name="PRIORITY_REDRAW" value="20" c:type="GDK_PRIORITY_REDRAW">
      +    <constant name="PRIORITY_REDRAW" value="120" c:type="GDK_PRIORITY_REDRAW">
      @@ -74229,3 +74229,3 @@
           </constant>
      -    <constant name="PRIORITY_RESIZE" value="10" c:type="GTK_PRIORITY_RESIZE">
      +    <constant name="PRIORITY_RESIZE" value="110" c:type="GTK_PRIORITY_RESIZE">
             <doc xml:space="preserve">Use this priority for functionality related to size allocation.
      @@ -106786,3 +106786,3 @@
           <constant name="TEXT_VIEW_PRIORITY_VALIDATE"
      -              value="5"
      +              value="125"
                     c:type="GTK_TEXT_VIEW_PRIORITY_VALIDATE">
      ```
      
      See !472
      c665a1d5
  10. 18 Dec, 2018 3 commits
    • Peter Hutterer's avatar
      x11: make the tool lookup dependent on the hw id as well · 38cba689
      Peter Hutterer authored
      Tools on the same physical item have the same serial number, so the eraser
      and the pen part of a single pen share that serial number. With the current
      lookup code, we'll always return whichever tool comes first into proximity.
      
      Change the code to use the hw id in addition to the serial number, this way we
      can differ between two tools.
      38cba689
    • Peter Hutterer's avatar
      x11: don't add unknown tools to our list · e95e0458
      Peter Hutterer authored
      Generic tools (Bamboo, built-in tablets) always have the same serial number
      assigned by the wacom driver. This includes the touch tool when the wacom
      driver handles the touch evdev node (common where users require the wacom
      gestures to work).
      
      When the first device is the touch device, a tool is created with that serial.
      All future tools now return the touch tool on lookup since they all share the
      same serial number. Worse, this happens *across* devices, so the pen
      event node gets assigned the touch tool because they all have the same serial.
      
      Since we don't actually care about the touch as a tool, let's skip any unknown
      tool. This captures pads as well.
      e95e0458
    • Peter Hutterer's avatar
      x11: get the tool type from the wacom driver properties · 1b730dcf
      Peter Hutterer authored
      Any wacom device currently sets the tool type to UNKNOWN. The wacom driver has
      a property that exports the tool type as one of stylus, eraser, cursor, pad or
      touch. Only three of those are useful here but that's better than having all
      of them as unknown.
      1b730dcf
  11. 17 Dec, 2018 3 commits
  12. 10 Dec, 2018 1 commit
    • Christoph Reiter's avatar
      GDK W32: Always set gtk-font-name to the active UI font. Fixes #1484 · 5612e845
      Christoph Reiter authored
      This makes apps use "Segoe UI 9" by default instead of whatever matches "Sans 10".
      It also cleans up the code and uses some new pango API while at it.
      
      This was previously disabled in 9e686d1f because it led to a poor glyph coverage
      on certain versions of Windows which don't default to "Segoe UI 9" (Chinese, Korean, ..)
      because the font fallback list was missing in pango.
      
      This is about to get fixed in pango!34
      so enable it again when we detect a new enough pango version.
      
      (See !436 for the original MR)
      5612e845
  13. 08 Dec, 2018 2 commits
    • Christoph Reiter's avatar
      win32: Don't multiply the scroll event deltas by the Windows scroll lines setting. See #1408 · 2f29cb9e
      Christoph Reiter authored
      GTK widgets expect the scroll deltas to be 1 or -1 and calculate a scroll value from that.
      Multiplying the delta by the Windows scroll line setting (which defaults to 3) results
      in a much larger delta and vastly different behaviour for running a GTK app on Windows
      vs on Linux. For example text view and tree view scroll by 9 lines per scroll wheel tick
      per default this way while on Linux it is around 3.
      
      Remove the multiplication for now.
      
      See !426 for the gtk3 MR
      2f29cb9e
    • Christoph Reiter's avatar
      GDK W32: set default settings for fontconfig. · 67fdfca3
      Christoph Reiter authored
      Enables hinting, antialiasing and set the subpixel orientation according to the
      active clear type setting. This ensures that font rendering with the fontconfig backend
      looks similar to the win32 backend, at least with the default system font.
      
      See !437
      67fdfca3
  14. 02 Dec, 2018 1 commit
  15. 18 Nov, 2018 1 commit
  16. 17 Nov, 2018 1 commit
  17. 13 Nov, 2018 1 commit
  18. 12 Nov, 2018 1 commit
  19. 05 Nov, 2018 1 commit
  20. 04 Nov, 2018 3 commits
  21. 02 Nov, 2018 1 commit
  22. 01 Nov, 2018 3 commits