1. 27 Oct, 2020 5 commits
  2. 05 Oct, 2020 1 commit
  3. 02 Oct, 2020 7 commits
  4. 01 Oct, 2020 1 commit
  5. 27 Sep, 2020 2 commits
  6. 06 Jul, 2020 2 commits
    • Manuel Stoeckl's avatar
      Bump version · 5eef66b9
      Manuel Stoeckl authored
      5eef66b9
    • Manuel Stoeckl's avatar
      Only run headless test for DMABUFs when supported · d505f509
      Manuel Stoeckl authored
      Prior to this change, if waypipe was not built with dmabuf replication
      supported, then the dmabuf portion of the headless test would still run
      and fail.
      
      Also use weston-simple-dmabuf-egl as a test application instead of
      weston-simple-dmabuf-drm; the latter has been dropped from Weston.
      d505f509
  7. 04 Jul, 2020 1 commit
  8. 22 Jun, 2020 2 commits
    • Manuel Stoeckl's avatar
      Fix connection endianness detection · d1858e61
      Manuel Stoeckl authored
      Change location of test bit for endianness detection to something that is
      guaranteed not to be set if the byte order is wrong.
      
      When the bit to check endianness is not set, there are two possibilities:
      a) the endianness of the remote system actually differs
      b) a generally bad connection token, e.g. from older Waypipe versions
      d1858e61
    • Manuel Stoeckl's avatar
      Clarify protocol version mismatch error · 8ca19947
      Manuel Stoeckl authored
      ... by specifying what the minimum Waypipe version on both sides
      should be. 0.7.0 has not yet been released, but will be the next
      version number.
      8ca19947
  9. 21 Jun, 2020 2 commits
  10. 29 Mar, 2020 2 commits
  11. 24 Mar, 2020 1 commit
    • Manuel Stoeckl's avatar
      Provide commit hash in version string · 646a833d
      Manuel Stoeckl authored
      This makes it easier to check when two versions of waypipe built from
      a git repository are based on the same commit. This does not take into
      account any build flag differences or extra changes to the working tree.
      646a833d
  12. 17 Mar, 2020 4 commits
  13. 15 Mar, 2020 2 commits
  14. 12 Mar, 2020 1 commit
    • Manuel Stoeckl's avatar
      Annotate Wayland messages over wire with number of fds · 1dc7b528
      Manuel Stoeckl authored
      Tag each Wayland message sent over the wire with the number of file descriptors
      that Waypipe's logic has associated with the message. This tag makes it easier
      to detect if the Waypipe client and server instances, for some reason, have
      interpreted the two streams of file descriptors differently. (For example, this
      may be useful if one instance supports a new Wayland protocol involving a file
      descriptor, but the other does not.)
      
      This change introduces a limit of 31 fds per method and 2047 different methods
      per Wayland protocol type. It is very unlikely that a well written protocol will
      ever surpass either of these two limits.
      1dc7b528
  15. 11 Mar, 2020 1 commit
    • Manuel Stoeckl's avatar
      Add wire protocol version to the connection token · 65aa37c4
      Manuel Stoeckl authored
      This change:
      * Expands the connection token used by waypipe client/server to use 16 bytes,
        and dedicates 4 of those bytes for versioning and flags.
      * Adds a version number, so that in case we need to break wire protocol,
        we can do so and provide clear error messages.
      * Adds a fixed bit to the connection token to check if the remote endianness
        does not match the local endianness
      65aa37c4
  16. 23 Feb, 2020 1 commit
  17. 10 Feb, 2020 1 commit
    • Manuel Stoeckl's avatar
      Fix wl_output_transform rotation direction · b79d8938
      Manuel Stoeckl authored
      This was previously calibrated against Weston, but it turns out that
      Weston was wrong and had used clockwise rotations where the Wayland
      specification required counterclockwise rotations.
      b79d8938
  18. 08 Dec, 2019 1 commit
  19. 28 Nov, 2019 2 commits
    • Manuel Stoeckl's avatar
      Use subprocess.Popen for startup failure test · 68e6782c
      Manuel Stoeckl authored
      According to the Python documentation, the new usage should be valid
      for Python >=3.3, covering a wider range than the >=3.5 for
      subprocess.Popen. Also, this change avoids a possible regression
      with Python 3.8.0 in which the TimeoutExpired exception no longer
      provides a non-None .output field.
      68e6782c
    • Manuel Stoeckl's avatar
      Fix crash when both reading and writing a DMABUF · 9f0b9f2e
      Manuel Stoeckl authored
      When queuing a buffer diff construction task on a DMABUF, the
      buffer is mapped; if a buffer diff application message is
      received before the task completes, the buffer is mapped and
      unmapped a second time, making sfd->mem_local NULL. This change
      ensures that diff and fill message handlers do not blindly
      remap DMABUFs.
      9f0b9f2e
  20. 21 Oct, 2019 1 commit
    • Manuel Stoeckl's avatar
      Add -Wno-unused-result compile flag · 96834a5f
      Manuel Stoeckl authored
      On some systems with gcc, a (void)cast does not suffice to ignore
      the return values of read() and write(). However, in some cases,
      such as when closing Waypipe via SIGINT, the program will still
      shut down no matter the return value of the write() used to indicate
      that a SIGINT occured.
      96834a5f