1. 06 Dec, 2018 1 commit
  2. 05 Dec, 2018 1 commit
  3. 04 Dec, 2018 2 commits
  4. 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.
    • 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.
  5. 26 Nov, 2018 1 commit
  6. 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
    • 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.
  7. 18 Nov, 2018 8 commits
  8. 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.
    • 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
      Avoid this by destroying the master clock source when pausing, and then
      recreating it when resuming.
    • Florian Müllner's avatar
      Revert "clutter: Avoid redundant margin changes" · 9f79cf8a
      Florian Müllner authored
      This reverts commit 59acb389.
  9. 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:
  10. 12 Nov, 2018 3 commits
  11. 09 Nov, 2018 1 commit
  12. 08 Nov, 2018 8 commits
  13. 07 Nov, 2018 4 commits
  14. 06 Nov, 2018 3 commits
    • Jonas Ådahl's avatar
      Add meson build support · ef85d1a6
      Jonas Ådahl authored
      This commit adds meson build support to mutter. It takes a step away
      from the three separate code bases with three different autotools setups
      into a single meson build system. There are still places that can be
      unified better, for example by removing various "config.h" style files
      from cogl and clutter, centralizing debug C flags and other configurable
      macros, and similar artifacts that are there only because they were once
      separate code bases.
      There are some differences between the autotools setup and the new
      meson. Here are a few:
      The meson setup doesn't generate wrapper scripts for various cogl and
      clutter test cases. What these tests did was more or less generate a
      tiny script that called an executable with a test name as the argument.
      To run particular tests, just run the test executable with the name of
      the test as the argument.
      The meson setup doesn't install test files anymore. The autotools test
      suite was designed towards working with installed tests, but it didn't
      really still, and now with meson, it doesn't install anything at all,
      but instead makes sure that everything runs with the uninstalled input
      files, binaries and libraries when running the test suite. Installable
      tests may come later.
      Tests from cogl, clutter and mutter are run on 'meson test'. In
      autotools, only cogl and clutter tests were run on 'make check'.
    • Jonas Ådahl's avatar
      autotools: Make install directories paths more consistent · d48d56f8
      Jonas Ådahl authored
      Install include files in
      $prefix/include/mutter-$apiversion/[clutter,cogl,...,meta]/, and
      datafiles in /usr/share/mutter-$apiversion/.... We still would conflict
      e.g. given that our gettext name is "mutter", and how keybindings are
      installed, but it's a step in the right direction.
    • Jonas Ådahl's avatar
      clutter/tests/micro-bench: Don't define unused macro · e0727aba
      Jonas Ådahl authored
      TESTS_DATA_DIR was not used by any of the tests, so no use defining it.