1. 15 May, 2015 2 commits
  2. 12 May, 2015 2 commits
  3. 11 May, 2015 1 commit
  4. 08 May, 2015 5 commits
  5. 07 May, 2015 2 commits
  6. 05 May, 2015 10 commits
  7. 02 May, 2015 1 commit
  8. 01 May, 2015 4 commits
  9. 30 Apr, 2015 2 commits
    • Pekka Paalanen's avatar
      compositor: change weston_surface::destroy_signal argument · ca79076b
      Pekka Paalanen authored
      Pass 'this' weston_surface as the data argument to
      weston_surface::destroy_signal listeners. The old &surface->resource was
      really just an offsetted pointer to the weston_surface anyway. And,
      because 'resource' happened to be the first member in struct weston_surface,
      it was actually 'this' weston_surface.
      
      The argument type was accidentally changed in commit
      26ed73ce from wl_resource* to
      wl_resource**.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      ca79076b
    • Pekka Paalanen's avatar
      compositor: inert wl_surface objects do not exist · 08d3fb76
      Pekka Paalanen authored
      There is no valid case, where you would actually destroy a
      weston_surface, while leaving the wl_surface protocol object in
      existence. Therefore, inert wl_surface objects do not exist, except
      because of bugs.
      
      To catch such bugs, check that the resource is really NULL before
      actually destroying the weston_surface.
      
      We actually used to have this check, but it was removed by:
      
      	commit 9dadfb53
      	Author: Kristian Høgsberg <krh@bitplanet.net>
      	Date:   Mon Jul 8 13:49:36 2013 -0400
      
      	    compositor: Eliminate marshalling warning for leave events
      
      However, the invariant was put back in:
      
      	commit 0d379744
      	Author: Giulio Camuffo <giuliocamuffo@gmail.com>
      	Date:   Fri Nov 15 22:06:15 2013 +0100
      
      	    compositor: set weston_surface:resource to NULL when destroyed
      
      So apparently the issue fixed by 9dadfb53 was fixed another way later.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      08d3fb76
  10. 28 Apr, 2015 5 commits
  11. 21 Apr, 2015 1 commit
  12. 14 Apr, 2015 1 commit
  13. 13 Apr, 2015 3 commits
  14. 10 Apr, 2015 1 commit