1. 18 Dec, 2018 1 commit
    • Marius Vlad's avatar
      libweston: Allow taking screenshots when debug protocol is enabled · 4e1d9bc7
      Marius Vlad authored
      
      
      Screenshots of the outputs can only be taken by having a keyboard
      plug-ed in, as to avoid potential malicious intent. On the other hand,
      this is problematic as there are cases where a keyboard cannot
      be used as a input device. A particular use-case is that for
      multiple devices it can be cumbersome to connect a keyboard such
      that using ssh can be much easier and can be further automated.
      
      This patch allows taking screenshots without the need of having a
      keyboard connected when debug protocol is enabled.
      
      Add also a few words about the fact that this is a serious issue
      and can lead to silently leaking the output contents.
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad0@gmail.com>
      4e1d9bc7
  2. 15 Nov, 2018 1 commit
    • Dima Ryazanov's avatar
      Don't look for weston.ini in the current working directory · ad0d83bd
      Dima Ryazanov authored
      
      
      It's a bit surprising that Weston looks different when launched from the root
      of the git repo vs from elsewhere.
      
      But it's also technically a security vulnerability: if I launch it from
      a directory like /tmp, it might pick up a weston.ini created by another user,
      which could then load modules with arbitrary code. Basically, it's the same
      problem as including "." in $PATH.
      Signed-off-by: Dima Ryazanov's avatarDima Ryazanov <dima@gmail.com>
      ad0d83bd
  3. 17 Sep, 2018 1 commit
  4. 27 Aug, 2018 1 commit
  5. 09 Feb, 2018 1 commit
    • Pekka Paalanen's avatar
      weston: remove SEGV and ABRT handlers · bb707dc0
      Pekka Paalanen authored and Daniel Stone's avatar Daniel Stone committed
      
      
      Catching an ABRT is kind of ok, catching a SEGV is russian roulette. We
      have been quite lucky with it, but I've started hitting crashes inside
      malloc() which causes a deadlock when our SEGV handler needs to malloc()
      as well (weston_log_timestamp()).
      
      One reason to catch SEGV and ABRT was to attempt to restore the VT on
      the DRM-backend. Nowadays that job is done by logind or weston-launch.
      
      The signal handler also printed a backtrace, which for me personally has
      been extremely helpful. Arguably it's not necessary though, when we have
      core files and services that catch cores. For instance, if using
      systemd, 'coredumpctl gdb' is delightfully easy for getting into the
      saved core.
      
      Therefore, this code does more harm than it is useful, so remove it. We
      also drop an optional dependency to libunwind.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      bb707dc0
  6. 18 Dec, 2017 1 commit
  7. 28 Nov, 2017 2 commits
  8. 17 Jan, 2017 1 commit
  9. 22 Jun, 2015 1 commit
    • Pekka Paalanen's avatar
      desktop-shell: remove screensaver support · b37ac400
      Pekka Paalanen authored
      
      
      This is a follow-up for the patch that removed weston-screensaver. The
      aim is to clean up shell.c a little by removing non-essential
      components. Vanilla Weston desktop is only a demo, external projects are
      encouraged to create user-friendly desktop environments.
      
      The support for launching a screensaver client and the protocol bindings
      are removed. With them, all related configuration options are removed,
      and the manuals are updated accordingly.
      
      The screensaver protocol definition is left in desktop-shell.xml for
      posterity.
      
      This does not affect Weston's or desktop-shells ability to put screens
      to sleep after inactivity. The inactivity timer continues to operate as
      before. Also screen locking is unaffected.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Acked-by: default avatarGiulio Camuffo <giuliocamuffo@gmail.com>
      b37ac400
  10. 27 Mar, 2015 2 commits
  11. 20 Mar, 2015 1 commit
  12. 09 May, 2014 1 commit
  13. 10 Mar, 2014 1 commit
  14. 19 Nov, 2013 1 commit
  15. 19 Mar, 2013 1 commit
  16. 02 Feb, 2013 1 commit
  17. 07 Jan, 2013 1 commit
  18. 27 Nov, 2012 2 commits
  19. 08 Nov, 2012 1 commit
  20. 29 Oct, 2012 1 commit
  21. 13 Sep, 2012 1 commit
  22. 12 Sep, 2012 1 commit
    • Kristian Høgsberg's avatar
      compositor: Generalize module loading · a6813d28
      Kristian Høgsberg authored
      We can now load any number of general modules, and the shell and xwayland
      are just two of them.  We continue to use the mechanism for testing but
      custom input drivers or logging mechanisms, for example are other use cases.
      a6813d28
  23. 29 Aug, 2012 1 commit