Kristian Høgsberg
|
6866856dfd
|
Remove leftover of fds_in_tail hack
It's breaking the case of multiple fds in one buffer.
|
14 years ago |
Kristian Høgsberg
|
6dd08ebbe1
|
Move core protocol libraries into wayland/ subdirectory
|
14 years ago |
Kristian Høgsberg
|
877d71a6e2
|
Marshall NULL strings correctly
|
15 years ago |
Kristian Høgsberg
|
9ccf08d9b8
|
Change debug format to not confuse object id and message parameters
|
15 years ago |
Kristian Høgsberg
|
acf82a36bb
|
Log emitted events as well in debug mode
|
15 years ago |
Kristian Høgsberg
|
6bce89da78
|
Return the closure from wl_connection_vmarshal()
And provide a function to write it to a connection.
|
15 years ago |
Kristian Høgsberg
|
7cd36185d7
|
Fill out a closure when sending events as well
|
15 years ago |
Kristian Høgsberg
|
4f14f6e109
|
Fix integer signedness and fd size confusion
|
15 years ago |
Kristian Høgsberg
|
f821f5ad93
|
Demarshal all arguments from protocol buffer
|
15 years ago |
Kristian Høgsberg
|
6c7c7a909a
|
Keep strings and arrays in the buffer when demarshalling
Avoids the malloc+copy, and is a step towards using the closure for
marshalling too.
|
15 years ago |
Kristian Høgsberg
|
de0fa3bc64
|
Send terminating nul character when sending strings
|
15 years ago |
Kristian Høgsberg
|
9f897988fd
|
Move marshal/demarshal buffer into struct wl_closure
|
15 years ago |
Kristian Høgsberg
|
f1e7bd384c
|
Add protocol debugging facility
|
15 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.
|
15 years ago |
Kristian Høgsberg
|
3bbbd15c65
|
Marshall NULL strings without crashing
|
15 years ago |
Kristian Høgsberg
|
aebeee0bbf
|
Support marshalling of file descriptors
|
15 years ago |
Kristian Høgsberg
|
d6f4da7927
|
connection: Factor out circular buffer functionality
|
15 years ago |
Kristian Høgsberg
|
b049626117
|
Use sendmsg/recvmsg for socket I/O
|
15 years ago |
Kristian Høgsberg
|
5b0079aed5
|
Demarshal robustness fixes
|
15 years ago |
Kristian Høgsberg
|
c071f4d008
|
Handle failure to reference a buffer name better
|
15 years ago |
Kristian Høgsberg
|
c098d8da47
|
Print more info when demarshal fails
|
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
|
3c38fa0c3e
|
Include the currently pressed keys in keyboard focus event.
|
16 years ago |
Kristian Høgsberg
|
4a35fc2563
|
Handle marshalling NULL 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
|
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
|
fdea72a078
|
Handle interrupted system calls in connection code.
|
16 years ago |
Kristian Høgsberg
|
ffd710e653
|
Put Wayland under the MIT license.
|
16 years ago |
Kristian Høgsberg
|
680f1c7025
|
Split out connection io buffer logic.
|
16 years ago |