1. 30 Jan, 2020 1 commit
  2. 20 Feb, 2018 1 commit
  3. 18 Dec, 2017 1 commit
  4. 15 Jun, 2015 1 commit
  5. 09 Apr, 2015 1 commit
  6. 02 Apr, 2015 1 commit
  7. 24 Feb, 2015 1 commit
  8. 28 Nov, 2014 1 commit
  9. 07 Apr, 2014 1 commit
    • Andrew Wedgbury's avatar
      Make sure config.h is included before any system headers · 9cd661e7
      Andrew Wedgbury authored
      There was an issue recently in screen-share.c where config.h was not
      being included, resulting in the wrong definition for off_t being used on
      32 bit systems. I checked and I don't think this problem is happening
      elsewhere, but to help avoid this sort of problem in the future, I went
      through and made sure that config.h is included first whenever system
      headers are included.
      The config.h header should be included before any system headers, failing
      to do this can result in the wrong type sizes being defined on certain
      systems, e.g. off_t from sys/types.h
      Signed-off-by: default avatarAndrew Wedgbury <andrew.wedgbury@realvnc.com>
  10. 12 Dec, 2012 3 commits
    • Pekka Paalanen's avatar
      tests: check wl_display_roundtrip() for errors · f2aa64f1
      Pekka Paalanen authored
      Add a macro that wraps wl_display_roundtrip() and check for errors. It
      is a macro, so that the assert would show the relevant file and line
      This will also catch protocol errors, that would go unnoticed otherwise.
      All roundtrips in tests are replaced with the check.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <ppaalanen@gmail.com>
    • Kristian Høgsberg's avatar
      tests: Drop yield() helper function · ba0cfdd2
      Kristian Høgsberg authored
      Remaining use case was when we move the pointer.  This doesn't change
      geometry so we can just use a wl_display_roundtrip() to make sure
      we get the request to the server and receive the resulting events.
    • Kristian Høgsberg's avatar
      button-test: Use wl_display_roundtrip instead of yield() · f63fab72
      Kristian Høgsberg authored
      A round trip is sufficient here.  We need to make sure that the server
      has received the wl_test request and that we've received the event
      that the request triggers.  The wl_display_roundtrip() helper does
      exactly that: it sends a wl_display.sync request, which will hit the
      server after the wl_test requests and thus the wl_callback.done event
      will come back after the server has seen all the previous requests and
      after we've handled all preceeding event.
  11. 11 Dec, 2012 1 commit
  12. 04 Oct, 2012 1 commit