1. 11 Jun, 2015 1 commit
  2. 08 May, 2015 2 commits
  3. 16 Dec, 2014 1 commit
  4. 15 Dec, 2014 3 commits
  5. 28 Nov, 2014 1 commit
  6. 05 Sep, 2014 1 commit
    • Pekka Paalanen's avatar
      fix asprintf warnings · 974c0940
      Pekka Paalanen authored
      Fix recently introduced compiler warnings:
      desktop-shell/shell.c: In function 'shell_configuration':
      desktop-shell/shell.c:588:10: warning: ignoring return value of
      'asprintf', declared with attribute warn_unused_result [-Wunused-result]
      src/screenshooter.c: In function ‘screenshooter_binding’:
      src/screenshooter.c:291:10: warning: ignoring return value of
      ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
      src/text-backend.c: In function ‘text_backend_configuration’:
      src/text-backend.c:944:10: warning: ignoring return value of ‘asprintf’,
      declared with attribute warn_unused_result [-Wunused-result]
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
  7. 22 Aug, 2014 1 commit
    • Derek Foreman's avatar
      tests: allow running make check without make install · c7210434
      Derek Foreman authored and Pekka Paalanen's avatar Pekka Paalanen committed
      desktop shell and weston keyboard both refer to themselves prefixed by
      LIBEXECDIR, however this is only valid once installed.  make check will
      currently either fail or run pre-existing versions.
      This patch adds a way to override that location by setting the env var
      WESTON_BUILD_DIR - which is then set by the test env script so make check
      will test the versions in the build directory regardless of whether they're
      installed or not.
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
  8. 08 Aug, 2014 1 commit
    • Jasper St. Pierre's avatar
      Don't bother destroying resources after sending an error · c91408f3
      Jasper St. Pierre authored and Jason Ekstrand's avatar Jason Ekstrand committed
      An error makes the client exit, which cleans up the resources anyway.
      Note (Jason Ekstrand):
      This is safe for two reasons.  First, we should be handling object
      destruction nicely anyway.  Second, in each of these cases, the resources
      don't have any implementation or destruction set so it has absolutely no
      effect on the rest of weston whether we destroy it now or later.
  9. 13 Jan, 2014 1 commit
  10. 03 Dec, 2013 1 commit
  11. 28 Oct, 2013 1 commit
    • Jonas Ådahl's avatar
      Add cancel function to grab interfaces · 1ea343e1
      Jonas Ådahl authored
      A grab can potentially allocate memory and would normally end the grab
      itself, freeing the allocated memory in the process. However at in some
      situations the compositor may want to abort a grab. The grab owner still
      needs to free some memory and abort the grab properly. To do this a new
      function 'cancel' is introduced in all the grab interfaces instructing
      the grabs owner to abort the grab.
      This patch also hooks up grab cancelling to seat device releasing and
      when the compositor looses focus, which would potentially leak memory
      Signed-off-by: Jonas Ådahl's avatarJonas Ådahl <jadahl@gmail.com>
  12. 11 Sep, 2013 1 commit
  13. 29 Jul, 2013 1 commit
  14. 09 Jul, 2013 1 commit
  15. 03 Jul, 2013 1 commit
  16. 25 Jun, 2013 1 commit
  17. 14 Jun, 2013 3 commits
  18. 12 Jun, 2013 1 commit
    • Jason Ekstrand's avatar
      Change weston_surface.resource to a wl_resource pointer. · 26ed73ce
      Jason Ekstrand authored
      This is the first in what will be a series of weston patches to convert
      instances of wl_resource to pointers so we can make wl_resource opaque.
      This patch handles weston_surface and should be the most invasive of the
      entire series.  I am sending this one out ahead of the rest for review.
      Specifically, my machine is not set up to build XWayland so I have no
      ability to test it fully.  Could someone please test with XWayland and let
      me know if this causes problems?
      Because a surface may be created from XWayland, the resource may not always
      exist.  Therefore, a destroy signal was added to weston_surface and
      everything used to listen to surface->resource.destroy_signal now listens
      to surface->destroy_signal.
  19. 07 Jun, 2013 1 commit
  20. 05 Jun, 2013 1 commit
    • Daniel Stone's avatar
      configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS · c228e23b
      Daniel Stone authored
      macros to expose the largest extent of functionality supported by the
      underlying system.  This is required since these macros are often
      limiting rather than merely additive, e.g. _XOPEN_SOURCE will actually
      on some systems hide declarations which are not part of the X/Open spec.
      Since this goes into config.h rather than the command line, ensure all
      source is consistently including config.h before anything else,
      including system libraries.  This doesn't need to be guarded by a
      HAVE_CONFIG_H ifdef, which was only ever a hangover from the X.Org
      modular transition.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
      [pq: rebased and converted more files]
  21. 24 May, 2013 1 commit
  22. 14 May, 2013 2 commits
    • Eduardo Lima (Etrunko)'s avatar
      text: Respawn input method process if it exits · 2733700b
      Eduardo Lima (Etrunko) authored
      Just the same as it is done in shell.c, if the input method process exits
      for any reason, we relaunch it automatically, as it is not possible to
      launch a standalone application outside of the weston process.
      In v2:
       - Proper error message when giving up.
      Signed-off-by: default avatarEduardo Lima (Etrunko) <eduardo.lima@intel.com>
    • Ossama Othman's avatar
      config-parser: Honor XDG_CONFIG_DIRS · a50e6e4c
      Ossama Othman authored
      This set of changes adds support for searching for a given config file
      in the directories listed in $XDG_CONFIG_DIRS if it wasn't found in
      $XDG_CONFIG_HOME or ~/.config.  This allows packages to install custom
      config files in /etc/xdg/weston, for example, thus allowing them to
      avoid dealing with home directories.
      To avoid a TOCTOU race the config file is actually open()ed during the
      search.  Its file descriptor is returned and stored in the compositor
      for later use when performing subsequent config file parses.
      Signed-off-by: default avatarOssama Othman <ossama.othman@intel.com>
  23. 08 May, 2013 2 commits
  24. 07 May, 2013 3 commits
  25. 02 May, 2013 7 commits