summaryrefslogtreecommitdiff
path: root/protocol/wayland.xml
AgeCommit message (Collapse)AuthorFilesLines
2012-01-19scanner: allow summary attributes in args and <description> in <protocol>Jesse Barnes1-1/+3
Add support for arg summaries for use by detailed structure element descriptions.
2012-01-18protocol: Convert comments to new documentation tagsKristian Høgsberg1-175/+287
2012-01-18scanner: Support documentation elementsJesse Barnes1-3/+16
On Wed, 18 Jan 2012 12:29:37 -0800 "Kristensen, Kristian H" <kristian.h.kristensen@intel.com> wrote: > Yeah, that looks good. I was thinking of a separate <description> tag > to avoid stuffing too much into an attribute. How does this look? It adds a summary attribute to atomic elements, and a <description> tag with a summary for others. Spits out enum documentation like this: /** * wl_display_error - global error values * @WL_DISPLAY_ERROR_INVALID_OBJECT: server couldn't find object * @WL_DISPLAY_ERROR_INVALID_METHOD: method doesn't exist on the specified interface * @WL_DISPLAY_ERROR_NO_MEMORY: server is out of memory * * These errors are global and can be emitted in response to any server request. */ enum wl_display_error { WL_DISPLAY_ERROR_INVALID_OBJECT = 0, WL_DISPLAY_ERROR_INVALID_METHOD = 1, WL_DISPLAY_ERROR_NO_MEMORY = 2, }; and structure documentation like this: /** * wl_display - core global object * @bind: bind an object to the display * @sync: (none) * * The core global object. This is a special singleton object. It is used for * internal wayland protocol features. */ struct wl_display_interface { void (*bind)(struct wl_client *client, struct wl_resource *resource, uint32_t name, const char *interface, uint32_t version, uint32_t id); void (*sync)(struct wl_client *client, struct wl_resource *resource, uint32_t callback); };
2012-01-11shm: Drop non-premul format, use less ambiguous ARGB8888 naming conventionKristian Høgsberg1-3/+2
This also matches the new wl_drm format names.
2012-01-06Add new wl_shell popup surface typeKristian Høgsberg1-0/+26
2011-12-21protocol: update touch_down with focus surfaceTiago Vignatti1-0/+1
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-12-19protocol: Add a bit of documentationKristian Høgsberg1-0/+16
2011-11-29protocol: introduce wl_shell_surfacePekka Paalanen1-11/+15
Requests like 'move' and 'set_toplevel' are really methods of a surface, not methods of a global shell object. Move all these methods to a new interface, wl_shell_surface. The global object wl_shell will contain only 'get_shell_surface' request, which creates and associates a wl_shell_surface object to a given wl_surface object. This will also give the shell plugin (if you look at the demo compositor) means to store per-surface private data in a natural way. Due to a limitation in delete_id event handling on client side, the client must destroy its wl_shell_surface object before destroying the wl_surface object. Otherwise it may just leak an id. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2011-11-23New drag and drop / selection protocolKristian Høgsberg1-147/+109
This commit brings a big change to the DND and copy/paste interfaces. Most importantly the functionality is now independent of wl_shell. The wl_shell interface is intended for desktop style UI interaction and an optional and experimental interface. The new interface also allows receiving the DND data multiple times or multiple times during the drag, and the mechanism for offering and receiving data is now shared between DND and selections.
2011-11-17Add display event to acknowledge ID deletionKristian Høgsberg1-0/+4
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-10-24protocol: Change global_remove arg to be 'name' insteadl of 'id'Kristian Høgsberg1-1/+1
Consistent with global args.
2011-10-24scanner: Catch more invalid attribute combinations for argKristian Høgsberg1-1/+1
Spotted by Jakob Bornecrantz.
2011-08-31Remove the wl_visual interfaceKristian Høgsberg1-20/+13
The visual interface was meant to be a generic mechanism for specifying the content of a buffer. It goes back to before we had the buffer factory interfaces (like wl_drm and wl_shm) and we wanted to keep it open-ended enough that yuv, png or even svg buffer or so would be possible. Now that we have the buffer abstraction, we can add different buffer types by introducing new interfaces that create buffers. It only makes sense to leave it to those interfaces to specify the contents of the buffers. For wl_shm, this means that we now just specify the pixel format using an enum. For EGL buffers, the exact pixel formats are controlled by the implementation (part of wl_drm and similar), and from the client point of view, everything is controlled using EGLConfigs.
2011-08-27Remove range protocolKristian Høgsberg1-8/+0
2011-08-27Always allocate a new wl_resource when binding an objectKristian Høgsberg1-3/+3
Previously we would bind some resources into multiple client hash tables.
2011-08-27Bind globals to client provided object IDsKristian Høgsberg1-1/+2
2011-08-27Use a callback object instead of ad-hoc lists for sync and frame eventsKristian Høgsberg1-18/+13
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-07-25scanner: Take copyright notice from xml fileKristian Høgsberg1-0/+26
2011-07-15protocol: fix key event and related commentsTiago Vignatti1-3/+3
2011-07-15protocol: Fix type of visual arg in token_visual eventKristian Høgsberg1-1/+1
2011-07-11protocol: Make id arg of display.global event be just a uintKristian Høgsberg1-1/+1
Global names are different from object IDs.
2011-06-29Add touch events to protocol.Laszlo Agocs1-0/+27
2011-06-21Merge remote-tracking branch 'bnf/buffer.release'Kristian Høgsberg1-0/+3
2011-06-21Add buffer.release eventBenjamin Franzke1-0/+3
2011-06-21Add more protocol for communicating screen geometryKristian Høgsberg1-1/+26
2011-06-20Add wl_display_remove_global.Laszlo Agocs1-0/+5
Change 4453ba084aae5a00318b9dfdeda95e8eaa17494c disallows using post_global with objects not on the global list. Therefore selection and drag offers have to be added to the global list from now on. However these may often get replaced by a newer object and thus need a way to remove a global from the global list.
2011-06-18Move map functionality into shellKristian Høgsberg1-28/+33
Initial surface.attach makes the surface visible and clients can set the surface type using shell.set_transient etc or other interfaces prior to that.
2011-05-12Add event to associate visuals with a pixel format tokenKristian Høgsberg1-0/+11
2011-05-11Define shm specific errorsKristian Høgsberg1-0/+6
We stop abusing the wl_display error codes for shm purposes.
2011-05-11Unify error eventsKristian Høgsberg1-14/+10
Consolidate the different error events into one. This event will also be usable for other interaces.
2011-04-22Add buffer.damage request to the protocolBenjamin Franzke1-8/+18
Thus remove the server-side used vfunc buffer::damage.
2011-04-20scanner: Don't hardcode the wl_ prefix in the code generatorKristian Høgsberg1-35/+35
2011-04-18Introduce display.bind to request events from a globalKristian Høgsberg1-0/+6
2011-03-16Extent frame event to be surface dependentBenjamin Franzke1-0/+1
2011-02-28protocol/wayland: Drop drm interface (move into mesa)Benjamin Franzke1-36/+0
2011-01-28Add initial basic support for fullscreen surfacesKristian Høgsberg1-0/+10
2011-01-21Define the shell resize enumeration in the xml specKristian Høgsberg1-0/+12
2011-01-21Add new surface.map_transient() request to map a surface relative to anotherKristian Høgsberg1-0/+15
2011-01-19First attempt at selection supportKristian Høgsberg1-0/+51
2010-12-17Update surface.attach and change surface.map to surface.map_toplevelKristian Høgsberg1-12/+7
The new map_toplevel() request no longer specifies a position and takes the size from the attached buffer. The attach request now takes a position relative to the top-left corner of the old buffer to let clients specify the relative position of the new buffer.
2010-12-09Document the shell.configure event a bitKristian Høgsberg1-0/+6
2010-12-01Add origin information to output.geometry eventKristian Høgsberg1-0/+2
2010-11-30Add reject round trip to dnd protocolKristian Høgsberg1-0/+5
This lets a drag target reject a drop.
2010-11-29Consolidate 'sync' and 'frame' events into just one 'key' eventKristian Høgsberg1-13/+6
2010-11-29Describe the protocol using inline XML commentsYuval Fledel1-4/+120
Signed-off-by: Yuval Fledel <yuvalfl@gmail.com>
2010-11-22xml tag should close, or some parsers failYuval Fledel1-1/+1
2010-10-12Use automakeKristian Høgsberg1-0/+278