Kristian Høgsberg
c1b9203e5a
Drop unused hash table
...
We now just use a table for looking up object IDs so we should drop the
hash table.
2011-12-27 13:58:56 -05:00
Kristian Høgsberg
bc79f1f820
Rename all instances of typeof
2011-12-22 15:32:37 -05:00
Kristian Høgsberg
5e078bfa5a
Use __typeof__ instead of typeof
...
Thiago Macieira compiles with -std=c++11.
2011-12-22 15:24:20 -05:00
Jørgen Lind
187eace613
Make wl_list_for_each* work for c++
2011-12-14 09:16:20 -05:00
Kristian Høgsberg
cf04b0a18f
Move private definitions and prototypes to new wayland-private.h
2011-11-18 13:46:56 -05:00
Kristian Høgsberg
3a1e6df39a
Add display event to acknowledge ID deletion
...
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.
2011-11-17 17:37:52 -05:00
Kristian Høgsberg
51f50b8c64
util: Add wl_list_insert_list()
2011-11-15 13:48:41 -05:00
Kristian Høgsberg
c8147edc3a
Store objects in wl_map data structure
...
The wl_map data structure is just an array with a free-list that lets the
client recycle unused client IDs and keep range of client IDs under control.
2011-08-27 12:06:11 -04:00
Kristian Høgsberg
cc6fd94d6a
Always allocate a new wl_resource when binding an object
...
Previously we would bind some resources into multiple client hash tables.
2011-08-27 12:06:11 -04:00
Kristian Høgsberg
c4774d55e9
Add wl_hash_table_for_each()
2011-08-27 12:06:11 -04:00
Kristian Høgsberg
4c260db68c
Rename source subdir from wayland to src
2011-08-12 16:25:14 -04:00