Commit graph

14 commits

Author SHA1 Message Date
Kristian Høgsberg
3e0d4de6ea Remove range protocol 2011-08-19 17:26:57 -04:00
Kristian Høgsberg
f4144b5012 Destroy client resource by walking client hash table
All resources are now in the client hash table and we can clean up
just by walking the hash.
2011-08-19 17:07:14 -04:00
Kristian Høgsberg
45aaecfdd4 Always allocate a new wl_resource when binding an object
Previously we would bind some resources into multiple client hash tables.
2011-08-19 16:57:48 -04:00
Kristian Høgsberg
00f140ae70 Add wl_hash_table_for_each() 2011-08-19 14:48:16 -04:00
Kristian Høgsberg
df39eb8f5e Bind globals to client provided object IDs 2011-08-19 14:39:27 -04:00
Kristian Høgsberg
c2cd1fe820 server: Hand code all wl_display client stubs 2011-08-19 13:40:28 -04:00
Kristian Høgsberg
437051260d server: Assign global id as part of wl_display_add_global() 2011-08-19 12:05:10 -04:00
Kristian Høgsberg
abe50ff0c8 server: Make object hash table per-client 2011-08-19 11:06:37 -04:00
Kristian Høgsberg
0dddb3087e Rename global 'func' to 'bind' 2011-08-19 11:05:01 -04:00
Kristian Høgsberg
2df5d2f114 server: Make everything in the object hash a wl_resource 2011-08-18 17:53:50 -04:00
Kristian Høgsberg
936cd607a7 Use a callback object instead of ad-hoc lists for sync and frame events
So obvious in retrospect.  The object system can do all the work for us
and keep track of pending calls as regular objects and we don't need to
abuse the resource system to get them cleaned up on client exit.  We
don't need the custom key management or (broken) lookup, we just sue
object IDs.  And last but not least, anybody can receive the callback,
not just display listeners.
2011-08-16 22:33:40 -04:00
Kristian Høgsberg
f6ede01b68 connection: Object ID 0 is not a valid new object ID 2011-08-16 22:33:36 -04:00
Kristian Høgsberg
efeb9e9778 event-loop: Quiet a few warnings
There's no good error recovery possible in these cases though.
2011-08-12 16:25:18 -04:00
Kristian Høgsberg
4c260db68c Rename source subdir from wayland to src 2011-08-12 16:25:14 -04:00