1. 27 May, 2019 5 commits
    • Manuel Stoeckl's avatar
      Add deletion framework for file descriptors · 1c834fdf
      Manuel Stoeckl authored
      When shadow_fd structs _that are owned by known protocol objects_
      have their reference count drop to zero, they are deleted.
      
      Newly created shadow_fd's begin with a reference count of 1,
      which is reduced when the translated fd to sent to the
      display/application/other waypipe socket end. This ensures
      that the object is not deleted early, even if the compositor
      e.g. wl_display.delete_id's the fd owning object before receiving
      it.
      1c834fdf
    • Manuel Stoeckl's avatar
      Remove incorrect warning messages · fc9fecef
      Manuel Stoeckl authored
      For wl_shm_pool.resize, wl_shm.create_pool, and wl_surface.commit .
      fc9fecef
    • Manuel Stoeckl's avatar
      d9e70242
    • Manuel Stoeckl's avatar
      Improve build portability · 065233ab
      Manuel Stoeckl authored
      * Make scdoc optional; documentation is not strictly necessary
      * Explicitly test for fmacro-prefix-map support
      * Test for the minimum possible versions of wayland dependencies
      * Reduce required meson version
      065233ab
    • Manuel Stoeckl's avatar
      Implement simple buffer ownership system · f73e15a0
      Manuel Stoeckl authored
      Every wp_object has a nullable reference to the shadow structure
      for a file descriptor. As the existence of wayland protocol
      objects is not guaranteed in the face of compositor/application
      misbehavior, when e.g. a wl_buffer is created from a wl_shm_pool,
      the wl_buffer registers a reference to the file descriptor that
      the wl_shm_pool had. Methods that imply a file descriptor change
      (wl_keyboard.keymap, wl_surface.commit) mark the object's referenced
      file descriptor as dirty, so that changes can be transferred.
      
      This commit does not yet implement any deletion logic.
      f73e15a0
  2. 26 May, 2019 1 commit
  3. 25 May, 2019 1 commit
  4. 23 May, 2019 1 commit
  5. 21 May, 2019 1 commit
  6. 20 May, 2019 3 commits
  7. 18 May, 2019 1 commit
  8. 17 May, 2019 1 commit
  9. 16 May, 2019 1 commit
  10. 15 May, 2019 4 commits
  11. 14 May, 2019 3 commits
  12. 13 May, 2019 2 commits
  13. 12 May, 2019 2 commits
  14. 11 May, 2019 1 commit