1. 06 Jan, 2019 1 commit
  2. 22 Dec, 2018 1 commit
    • Jonas Ådahl's avatar
      build: Always pass --quiet to g-ir-scanner · f7d4a727
      Jonas Ådahl authored
      This makes the build less verbose, as all .gir generation except for
      clutters didn't pass --quiet to g-ir-scanner, making it output long
      linking commands. Do this by adding a common introspection_args
      variable.
      
      While at it, put -U_GNU_SOURCE in there too, as it was always passed
      everywhere as without it the scanner would log warnings.
      f7d4a727
  3. 18 Dec, 2018 4 commits
  4. 06 Dec, 2018 9 commits
  5. 05 Dec, 2018 1 commit
  6. 04 Dec, 2018 2 commits
  7. 01 Dec, 2018 2 commits
    • Ting-Wei Lan's avatar
      tests: Fix warnings reported by shellcheck · 319500e4
      Ting-Wei Lan authored
      This commit includes following fixes for a few shell scripts:
      
      1. Follow the best practice of quoting variables everywhere unless they
         are used in places where word-splitting and globbing can never happen.
      
      2. Replace `command` with $(command) because the latter is easier to use
         and read.
      
      3. Don't use "$@" in places expecting a string because it is an array
         of strings instead of a single string.
      319500e4
    • Ting-Wei Lan's avatar
      build: Don't hardcode the path of bash · b2e75b5d
      Ting-Wei Lan authored
      Bash is not always installed in /bin and we should not hardcode the path
      of it in source code which is expected to be built on many operating
      systems and distributions.
      
      Since most scripts using #!/bin/bash here doesn't have any bashism,
      they can be converted to #!/bin/sh instead of using /usr/bin/env trick.
      b2e75b5d
  8. 26 Nov, 2018 1 commit
  9. 19 Nov, 2018 2 commits
    • Olivier Fourdan's avatar
      clutter: Keep a device reference with events · ac6039bd
      Olivier Fourdan authored
      If a device (virtual or real) is removed while there are remaining
      events queued for that device, the event loop may try to access the
      event freed memory.
      
      To avoid the issue, add a reference to the device when the event is
      created or copied, and remove the reference once the device is freed.
      
      Closes: #393
      ac6039bd
    • Olivier Fourdan's avatar
      clutter/evdev: Use `clutter_event_set_device()` · 97230a2b
      Olivier Fourdan authored
      Use the relevant clutter device API `clutter_event_set_device()` instead
      of setting the device directly in the event field.
      97230a2b
  10. 18 Nov, 2018 8 commits
  11. 14 Nov, 2018 3 commits
    • Jonas Ådahl's avatar
      clutter/tests: Remove events-touch test · a892e7a6
      Jonas Ådahl authored
      The events-touch test tested that clutter could properly process evdev
      touch events. It used uinput to post evdev touch events, thus only ran
      when runnig the test as root. Running as non-root it'd just silently
      pass. As Clutter doesn't process evdev touch events anymore,
      libinput does, so the test is fairly pointless, so remove it.
      a892e7a6
    • Jonas Ådahl's avatar
      clutter/master-clock: Destroy source when paused · 626c3745
      Jonas Ådahl authored
      Pausing the master clock didn't actually pause it if there was already a
      scheduled frame in progress. This is problematic if one actually expects
      to see no new frame scheduling to happen after pausing, for example it
      caused actor 'pre-paint' to be signalled on actors, but nothing was ever
      painted.
      
      Avoid this by destroying the master clock source when pausing, and then
      recreating it when resuming.
      
      !309
      626c3745
    • Florian Müllner's avatar
      Revert "clutter: Avoid redundant margin changes" · 9f79cf8a
      Florian Müllner authored
      This reverts commit 59acb389.
      9f79cf8a
  12. 13 Nov, 2018 1 commit
    • Daniel van Vugt's avatar
      clutter: Avoid redundant margin changes · 59acb389
      Daniel van Vugt authored
      When profiling gnome-shell it was found that one of the main triggers
      of `clutter_actor_queue_relayout` during animations was
      `clutter_actor_set_margin_internal` continuously setting the same
      zero margins. That's obviously pointless but also expensive since it
      incurs full stage relayouts and reallocation. So just avoid redundant
      margin changes.
      
      Helps to further improve:
      #233,
      gnome-shell#349
      59acb389
  13. 12 Nov, 2018 3 commits
  14. 09 Nov, 2018 1 commit
  15. 08 Nov, 2018 1 commit