1. 29 Nov, 2011 3 commits
  2. 23 Nov, 2011 2 commits
    • Kristian Høgsberg's avatar
      New drag and drop / selection protocol · eae3bcb4
      Kristian Høgsberg authored
      This commit brings a big change to the DND and copy/paste interfaces.
      Most importantly the functionality is now independent of wl_shell.
      The wl_shell interface is intended for desktop style UI interaction and
      an optional and experimental interface.
      The new interface also allows receiving the DND data multiple times or
      multiple times during the drag, and the mechanism for offering and receiving
      data is now shared between DND and selections.
    • Kristian Høgsberg's avatar
      server: Stop special casing the compositor · 0b7d1e86
      Kristian Høgsberg authored
      wl_compositor_init() was just adding the global and providing a helper
      bind function.  Not useful enough to warrent API.
  3. 22 Nov, 2011 2 commits
  4. 19 Nov, 2011 1 commit
  5. 18 Nov, 2011 2 commits
  6. 17 Nov, 2011 2 commits
    • Kristian Høgsberg's avatar
      Introduce wl_resource_queue_event() for sending events later · 4abc56bd
      Kristian Høgsberg authored
      Some events, such as the display.delete_id, aren't very urgent and we
      would like to not always send them immdiately and cause an unnecessary
      context switch.  The wl_resource_queue_event() function will place the
      event in the connection output buffer but not request the main loop to
      poll for writable.  The effect is that the event will just sit in the
      output buffer until a more important event comes around and requires
    • Kristian Høgsberg's avatar
      Add display event to acknowledge ID deletion · 3a1e6df3
      Kristian Høgsberg authored
      We need to make sure the client doesn't reuse an object ID until the
      server has seen the destroy request.  When a client destroys an ID
      the server will now respond with the display.delete_id event, which lets
      the client block reuse until it receives the event.
  7. 15 Nov, 2011 2 commits
    • Kristian Høgsberg's avatar
      util: Add wl_list_insert_list() · 51f50b8c
      Kristian Høgsberg authored
    • Andrea Canciani's avatar
      hash: Improve double hashing · 3175e91e
      Andrea Canciani authored
      Instead of artificially introducing collisions in the step value by
      replacing 0 with 1 (which causes the value 1 to have twice the
      frequency of any other value), the step value can simply be computed
      as an uniformly distributed value in the range [1, rehash], extremes
      This is safe because any step value smaller than the hash modulus is
      co-prime with it, hence induces an orbit which includes every integer
      in [0, size - 1].
  8. 31 Oct, 2011 2 commits
  9. 29 Oct, 2011 1 commit
    • Kristian Høgsberg's avatar
      event-loop: Fix idle handler dispatch corner case · f86338d6
      Kristian Høgsberg authored
      When the last idle handler queues another idle handler, we fail to
      dispatch that last handler.  The wl_list_for_each_safe loop looks up
      the next pointer before running the handler, and at that point it points
      to the head of the list and the loop terminates.
      Instead, just loop until the list is empty.
  10. 24 Oct, 2011 3 commits
  11. 20 Oct, 2011 1 commit
  12. 12 Oct, 2011 2 commits
  13. 11 Oct, 2011 4 commits
  14. 06 Sep, 2011 1 commit
  15. 04 Sep, 2011 1 commit
  16. 01 Sep, 2011 1 commit
  17. 31 Aug, 2011 1 commit
    • Kristian Høgsberg's avatar
      Remove the wl_visual interface · c640571c
      Kristian Høgsberg authored
      The visual interface was meant to be a generic mechanism for
      specifying the content of a buffer.  It goes back to before we had the
      buffer factory interfaces (like wl_drm and wl_shm) and we wanted to
      keep it open-ended enough that yuv, png or even svg buffer or so would
      be possible.
      Now that we have the buffer abstraction, we can add different buffer
      types by introducing new interfaces that create buffers.  It only
      makes sense to leave it to those interfaces to specify the contents of
      the buffers.
      For wl_shm, this means that we now just specify the pixel format using
      an enum.  For EGL buffers, the exact pixel formats are controlled by
      the implementation (part of wl_drm and similar), and from the client
      point of view, everything is controlled using EGLConfigs.
  18. 29 Aug, 2011 3 commits
  19. 27 Aug, 2011 6 commits