1. 04 Dec, 2017 1 commit
  2. 29 Nov, 2017 1 commit
  3. 21 Nov, 2016 1 commit
  4. 26 Jul, 2016 1 commit
  5. 22 Jun, 2015 1 commit
  6. 12 Jun, 2015 3 commits
  7. 15 May, 2015 1 commit
    • Michael Vetter's avatar
      remove trailing whitespaces · b409c919
      Michael Vetter authored
      Remove trailing whitespaces because they are not needed and jumping to
      the end of al ine should do just that and not jump to the whitespace.
      b409c919
  8. 18 Mar, 2015 1 commit
  9. 05 Mar, 2015 1 commit
  10. 01 Apr, 2014 1 commit
  11. 07 Mar, 2014 1 commit
  12. 15 Jan, 2014 3 commits
  13. 03 Dec, 2013 2 commits
    • Pekka Paalanen's avatar
      cursor: handle running out of buffer space · 3b3e81f4
      Pekka Paalanen authored
      If posix_fallocate is available, use it to detect when we are running
      out of buffer space.
      
      Propagate the failure properly through the various functions, stopping
      loading cursors but keeping the cursors that were already successfully
      loaded.
      
      This may result in an animated cursor not having all of its images, or a
      cursor theme not having all of its cursors. When that happens, the
      failure is NOT communicated to the application. Instead, the application
      will get NULL from wl_cursor_theme_get_cursor() for a cursor that was
      not loaded successfully. If an animated cursor is missing only some
      images, the animation is truncated but the cursor is still available.
      
      This patch relies on the commit "os: use posix_fallocate in creating
      sharable buffers" for defining HAVE_POSIX_FALLOCATE.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      3b3e81f4
    • Pekka Paalanen's avatar
      os: use posix_fallocate in creating sharable buffers · 011b6954
      Pekka Paalanen authored
      If posix_fallocate is available, use it instead of ftruncate. Unlike
      ftruncate, when posix_fallocate succeeds, it guarantees that you cannot
      run out of disk space, when later writing to the mmap()'ed file.
      
      With posix_fallocate, if os_create_anonymous_file() succeeds, the
      program cannot get a SIGBUS later from accessing this file via mmap. If
      there is insufficient disk space, the function fails and errno is set to
      ENOSPC.
      
      This is useful on systems, that limit the available buffer space by
      having XDG_RUNTIME_DIR on a small tmpfs.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      011b6954
  14. 21 Oct, 2013 1 commit
  15. 28 Nov, 2012 1 commit
  16. 19 Oct, 2012 1 commit
    • Kristian H. Kristensen's avatar
      Move ARRAY_LENGTH out of public headers · bdd272f0
      Kristian H. Kristensen authored
      Exporting unprefixed symbols is a pretty bad idea so don't do that.
      Instea of redefining it WL_ARRAY_LENGTH, we just move the define to
      our private header.  The scanner generates code that uses ARRAY_LENGTH,
      but we can just make it count the number elements and emit an integer
      constant instead.
      bdd272f0
  17. 10 Oct, 2012 2 commits
  18. 11 Sep, 2012 2 commits
  19. 13 Aug, 2012 1 commit
    • Christopher Michael's avatar
      Add support for X cursor themes. · b57694ca
      Christopher Michael authored
      This patch adds a few more directories to search for xcursor themes.
      
      Along with the weston patch, this adds the ability to configure weston
      to use an X11 cursor theme. Previously, wayland cursor would just look
      in the icons and pixmaps directories for cursor images to load. This
      adds the ability to also search in the x cursors directory.
      b57694ca
  20. 27 Jul, 2012 1 commit
  21. 10 Jul, 2012 2 commits
  22. 09 Jul, 2012 1 commit
  23. 19 Jun, 2012 1 commit
  24. 18 Jun, 2012 1 commit
  25. 15 Jun, 2012 1 commit
  26. 08 Jun, 2012 1 commit
  27. 31 May, 2012 1 commit
  28. 29 May, 2012 2 commits
  29. 26 May, 2012 2 commits
  30. 23 May, 2012 1 commit