Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-10 | When using mulitple global listener, don't forget to re-send previously ↵HEADmaster | Corentin Chary | 1 | -0/+5 | |
cached global objects. Signed-off-by: Corentin Chary <corentin.chary@gmail.com> | |||||
2011-06-10 | Flush the buffer when full (patch from bnf) | Corentin Chary | 1 | -0/+4 | |
Signed-off-by: Corentin Chary <corentin.chary@gmail.com> | |||||
2011-06-07 | Remove left-over visual prototypes | Kristian Høgsberg | 1 | -8/+0 | |
2011-06-07 | connection: Fix pointer arithmetic error | Kristian Høgsberg | 1 | -1/+1 | |
Pointed out by Nicolas Pouillon in irc. | |||||
2011-05-31 | Fall back to accept() on systems where accept4() is not implemented. | Samuel Rødal | 1 | -1/+7 | |
2011-05-31 | wayland-shm: Check visual for being NULL | Benjamin Franzke | 1 | -1/+1 | |
2011-05-19 | TODO: Update | Kristian Høgsberg | 1 | -10/+0 | |
2011-05-12 | Add event to associate visuals with a pixel format token | Kristian Høgsberg | 3 | -50/+46 | |
2011-05-12 | server: Send error if client tries to bind to non-existant object | Kristian Høgsberg | 1 | -2/+9 | |
2011-05-11 | Define shm specific errors | Kristian Høgsberg | 2 | -15/+16 | |
We stop abusing the wl_display error codes for shm purposes. | |||||
2011-05-11 | Unify error events | Kristian Høgsberg | 5 | -57/+57 | |
Consolidate the different error events into one. This event will also be usable for other interaces. | |||||
2011-05-10 | TODO: Consolidate and update | Kristian Høgsberg | 1 | -83/+155 | |
2011-05-10 | connection.c: Use sizeof int for allocating fd extra storage | Kristian Høgsberg | 1 | -1/+1 | |
2011-05-10 | display: Adds wl_display_flush to send buffered commands | Robert Bragg | 2 | -0/+8 | |
Previously for wayland clients to flush buffered connection data to the compositor they needed to first register an event-mask-update-callback via wl_display_get_fd() to determine if there is anything writeable pending. (NB: It's considered an error to iterate connection data with an invalid mask) Since it's only possible to register a single update callback currently it's a bit awkward if you want to allow multiple orthogonal components to flush the connection data, such as Cogl and Clutter which both want to interact with wayland and may want to flush commands at different times. This adds a mechanism, wl_display_flush(), which makes it possible to flush writeable connection data without first checking the event mask. | |||||
2011-05-10 | wayland-util: Drop unused struct wl_argument | Benjamin Franzke | 1 | -5/+0 | |
2011-05-06 | Add configure option to disable scanner compilation | jani.uusi-rantala@nokia.com | 2 | -0/+16 | |
When cross-compiling Wayland, wayland-scanner should be picked up from the host system instead of compiling and trying to run e.g. ARM wayland-scanner on X86. This patch adds --disable-scanner option for disabling the scanner from the build and using existing wayland-scanner instead (from PATH) which should help in most cross-compilation systems. By default everything works as before. Signed-off-by: Jani Uusi-Rantala <jani.uusi-rantala@nokia.com> | |||||
2011-05-06 | Add a destroy_listener to wl_resource | Benjamin Franzke | 3 | -13/+23 | |
Drop the one in wl_surface. | |||||
2011-05-04 | connection: Define _GNU_SOURCE for F_DUPFD_CLOEXEC | Benjamin Franzke | 1 | -0/+2 | |
2011-05-04 | scanner: Fail if there's a 'destroy' request not marked as a destructor | Kristian Høgsberg | 1 | -0/+3 | |
2011-05-04 | scanner: Initialize wl_message structs completely | Kristian Høgsberg | 1 | -1/+1 | |
2011-05-04 | connection: Handle fd passing in an CLOEXEC safe way | Kristian Høgsberg | 1 | -2/+2 | |
2011-05-02 | mmap shm buffers read/write | Kristian Høgsberg | 1 | -1/+2 | |
2011-04-29 | Add some things related to wayland-scanner to .gitignore | Casey Dahlin | 2 | -1/+2 | |
2011-04-29 | event-loop: Drop unused idle_list | Kristian Høgsberg | 1 | -3/+0 | |
Idle sources are now just a special case of a checked source. | |||||
2011-04-22 | Don't define wl_shell in wayland-server.h | Kristian Høgsberg | 1 | -4/+0 | |
2011-04-22 | event-loop: Idle callback are a special case of a checked source | Kristian Høgsberg | 1 | -11/+8 | |
2011-04-22 | event-loop: Dont use a check callback just dispatch again | Kristian Høgsberg | 3 | -50/+49 | |
We pass the poll mask so the dispatch callback can know if there is data on the fd or not. The dispatch function must return true if it dispatched something, in which case we need to do another round of post-dispatch callbacks." | |||||
2011-04-22 | Add common shm-server code | Benjamin Franzke | 3 | -0/+262 | |
2011-04-22 | Remove buffer.attach vfunc | Benjamin Franzke | 1 | -1/+0 | |
2011-04-22 | Add buffer.damage request to the protocol | Benjamin Franzke | 2 | -11/+18 | |
Thus remove the server-side used vfunc buffer::damage. | |||||
2011-04-21 | event-loop: Add an optional post-dispatch source callout | Kristian Høgsberg | 2 | -17/+54 | |
This lets a source mark itself as ready to dispatch even though the fd didn't trigger. What can happen is that for the X11 socket, some other source callback (the drm fd or a wayland client socket) can cause somebody to do an X roundtrip (DRI2 get buffers, for example) and queue up events in the xcb buffer. When we get back to epoll, the X fd no longer polls readable and we don't process those events until we get another X event. The check callback is called after a round of dispatching and lets a source check if it has data to dispatch and mark itself ready. Next round of dispatching will then process it immediately instead of blocking in epoll_wait(). | |||||
2011-04-20 | Pass version number to global bind function | Kristian Høgsberg | 2 | -7/+12 | |
2011-04-20 | scanner: Don't hardcode the wl_ prefix in the code generator | Kristian Høgsberg | 3 | -67/+67 | |
2011-04-18 | Use wl_client_post_global() for connect events | Kristian Høgsberg | 1 | -5/+1 | |
2011-04-18 | Introduce display.bind to request events from a global | Kristian Høgsberg | 6 | -24/+65 | |
2011-04-13 | Print line numbers in scanner errors | Kristian Høgsberg | 1 | -38/+33 | |
2011-04-13 | Move proxy prototype to wayland-client.h | Kristian Høgsberg | 3 | -32/+18 | |
Let's try to avoid to generate more code than we need to. | |||||
2011-04-13 | Add lockfile to the socket | Jørgen Lind | 1 | -0/+54 | |
This uses flock to detect if there is a process that is active. If not then it unlinks the socket file if it exists, so that bind won't fail | |||||
2011-04-11 | Merge remote-tracking branch 'bnf/surface-frame-event' | Kristian Høgsberg | 5 | -6/+21 | |
2011-04-11 | Make all fds close-on-exec | Kristian Høgsberg | 3 | -6/+11 | |
2011-04-11 | Make wl_client_create() public | Kristian Høgsberg | 2 | -1/+2 | |
2011-04-11 | Support passing the Wayland fd in the environment | Kristian Høgsberg | 1 | -17/+38 | |
2011-04-06 | Fix usage help text in wayland-scanner | Harald Fernengel | 1 | -1/+1 | |
2011-03-16 | Extent frame event to be surface dependent | Benjamin Franzke | 5 | -6/+21 | |
2011-03-14 | Close signal file descriptor in event loop on remove and failure. | Iskren Chernev | 1 | -5/+3 | |
When the signal handler is removed the corresponding fd is closed. This should automatically remove it from the epoll set. | |||||
2011-03-14 | Close timer file descriptors in event loop on remove and failure. | Iskren Chernev | 1 | -5/+3 | |
When the timer is removed the corresponding fd is closed. This should automatically remove it from the epoll set. | |||||
2011-03-14 | Stored signal_number in event_source structure. | Iskren Chernev | 1 | -0/+1 | |
signal_number was not previously stored, so the callbacks didn't get a correct signal_number as their first argument. | |||||
2011-03-14 | Fix event loop timer update. | Iskren Chernev | 1 | -2/+2 | |
It can now handle delays greater than 2 seconds without overflowing. | |||||
2011-03-12 | Fix double remove from surface destroy_listener_list | Kristian Høgsberg | 1 | -11/+13 | |
We remove the listener when a device loses its pointer focus, but doesn't insert it in another destroy_listener list if surface is NULL. When we set another pointer focus surface, we remove it again. Tracked down and tested by Iskren Chernev. | |||||
2011-03-12 | Server socket creation error handling. | Iskren Chernev | 1 | -12/+29 | |