Kristian Høgsberg
6dd08ebbe1
Move core protocol libraries into wayland/ subdirectory
14 years ago
Kristian Høgsberg
6bce89da78
Return the closure from wl_connection_vmarshal()
...
And provide a function to write it to a connection.
14 years ago
Kristian Høgsberg
9d69f8e796
Replace commit/ack/frame protocol with simpler sync and frame callbacks
14 years ago
Kristian Høgsberg
e9d37bdc5f
Use a transient object for the dnd session
14 years ago
Kristian Høgsberg
5c63df7f1e
Fix const warning
14 years ago
Kristian Høgsberg
45b7789a8b
Return a closure object from wl_connection_demarshal
...
This way we can invoke it multiple times without having to demarshal
and build the cfi every time.
14 years ago
Kristian Høgsberg
eef08fbb1a
First step towards drag and drop protocol
14 years ago
Kristian Høgsberg
ef613fbf83
Always consume message, even if no proxy was found
...
Doh.
14 years ago
Kristian Høgsberg
b036ad4a9a
Drop noisy warning
14 years ago
Kristian Høgsberg
4fe1a3ed3a
Don't track globals in the client lib, just send out events
...
Users of the client library must install an global handler to get access
to globals.
14 years ago
Kristian Høgsberg
ccb75867ac
Generate the wl_*_add_listener() stubs as well
14 years ago
Kristian Høgsberg
3862e43779
Generate client side marshal stubs from protocol spec
14 years ago
Kristian Høgsberg
5fcd0aa58e
Introduce 'buffer' object for attaching, image cahce and cursor images
...
The buffer object is created by a 'drm' object, which encapsulates the
buffer sharing and authentication mechanism. Once the buffer is created
it can be attached to a surface.
14 years ago
Kristian Høgsberg
6d70202f80
Send out coordinates with pointer_focus event
...
We can't rely on motion events happening right away, pointer_focus could
change because of windows coming or going etc.
14 years ago
Kristian Høgsberg
c071f4d008
Handle failure to reference a buffer name better
14 years ago
Kristian Høgsberg
83fc061c9c
Introduce 'shell' object for moving and resizing surfaces in the compositor
14 years ago
Kristian Høgsberg
a1f3f60bea
Generate protocol types and metadata from xml
14 years ago
Kristian Høgsberg
38bb716383
Drop surface::copy
15 years ago
Kristian Høgsberg
f52e03ff47
Import Eric Anholts hash table implementation
...
Adapted from git://people.freedesktop.org/~anholt/hash_table.
15 years ago
Kristian Høgsberg
a5db589efa
Add wl_list_for_each() and simplify some loops
15 years ago
Kristian Høgsberg
ecf65fe041
Implement user_data for surface
...
Not sure if we need more than one piece of user_data per surface.
And this should be a general feature of any proxy object.
15 years ago
Kristian Høgsberg
2c837483ec
Add new surfaces to client hash table.
16 years ago
Kristian Høgsberg
43c28eee32
Add a toy-display object that caches state.
...
This will be GdkDisplay for GTK+ on Wayland etc. This restores
the terminal fullscreen mode.
16 years ago
Kristian Høgsberg
94448c0ad7
Add listener interfaces for output and input_device objects.
16 years ago
Kristian Høgsberg
b3131d9268
Add client side demarshalling for events.
...
This also consolidates the marshalling code in connection.c and
uses the same functions in the server and client for marshalling.
16 years ago
Kristian Høgsberg
fabd4395ba
Track objects client side using a hash too.
...
This leads up to using the demarshal machinery for decoding events
in the client library.
16 years ago
Kristian Høgsberg
12ea62e211
Add a proxy for the server side output object.
16 years ago
Kristian Høgsberg
ee02ca6fa4
Add hook to allow globals to send cold-plug events to new clients.
...
This lets us boot strap the client side state cache. This commit also adds the first user
of this feature, an output object that represents the current output. Very simple
at this point, but will grow to something more like RandR 1.2.
16 years ago
Kristian Høgsberg
8049cbb88a
Also check for interface version wl_display_get_object_id().
16 years ago
Kristian Høgsberg
97079ad52c
Send client id range as an event.
...
This also makes the server send the event again when the client is
about to exhaust its current client range.
16 years ago
Kristian Høgsberg
fe831a7494
Move protocol metadata to wayland-protocol.[ch].
...
This lets us share the metadata between server and client and we
can now use a va_arg marshalling function for sending client
requets.
16 years ago
Kristian Høgsberg
bf967b469f
Advertise globals using a new display event.
16 years ago
Kristian Høgsberg
112c0bee18
Remove visual debug prints.
16 years ago
Kristian Høgsberg
de31d5ca6f
Add preliminary visual support.
16 years ago
Kristian Høgsberg
d2412e2c2e
Redesign the compositor / server interface.
...
This lets the compositor directly provide the implementation of the RMI
objects for the surface object and a new compositor object. We avoid the
manual forwarding of requests into the compositor and the clumsy compositor
interface struct.
16 years ago
Kristian Høgsberg
dc0f355f0a
Fix API to always include socket name length.
16 years ago
Kristian Høgsberg
ffd710e653
Put Wayland under the MIT license.
16 years ago
Kristian Høgsberg
4097923a64
Add commit request + ack event to wayland core.
...
Use in window.c to manage life cycle of buffer correctly.
16 years ago
Kristian Høgsberg
1e4b86af1a
Expose screenshooting as an interface, drop SIGUSR hack.
...
This pulls in a bit of extra infrastructure for discovering adertised objects on the
client side.
16 years ago
Kristian Høgsberg
b7a01928be
Add prototypes warnings, use -fvisibility.
16 years ago
Kristian Høgsberg
fb59084fbf
Add glib main loop integration, use it in flower client.
16 years ago
Kristian Høgsberg
7f77bd8fbe
Add copy and damage surface requests.
16 years ago
Kristian Høgsberg
5a27f3e6a7
Add a new client that draws a pointer.
16 years ago
Kristian Høgsberg
f9bc795a7d
Add crude input device support.
...
Just pointer motion and button clicks for now, broadcast to all clients.
16 years ago
Kristian Høgsberg
362a34ed89
Drop unused struct definition.
16 years ago
Kristian Høgsberg
f921289954
Handle multiple clients better.
16 years ago
Kristian Høgsberg
427524aedf
Use new connection object in client code too.
16 years ago
Kristian Høgsberg
05eff51e41
Add surface.map request.
16 years ago
Kristian Høgsberg
a67a71a7cf
Bunch of new stuff: simple compositor, cairo+gem use in client, events.
16 years ago