summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-02-14configure.ac: Update bug URLHEADmasterKristian Høgsberg1-1/+1
2013-02-14Make sure that man page xml files are always distedArmin K1-4/+3
2013-02-14README: Fix typosSiddharth Heroor1-3/+3
Signed-off-by: Siddharth Heroor <heroor@gmail.com>
2013-02-11tests: Add a help message for the test runnerKristian Høgsberg1-1/+22
In case we forget the name of the test case or typo it, the test runner will now list the test cases in the test binary.
2013-02-08queue-test: WEXITSTATUS() is undefined if WIFEXITED() is falseKristian Høgsberg1-2/+3
If a child process dies from a signal, WIFEXITED() returns false and WEXITSTATUS() isn't well-defined. In this case, if the client segfaults, the status is 134 and WEXITSTATUS(134) is EXIT_SUCCESS, so we mask the error.
2013-02-04connection.c: Align pointer extra storage correctlyKristian Høgsberg1-4/+18
Most extra data are just pointers, but in case of fds we store an int in the extra space. That can cause un-aligned access to pointers on 64 bit architectures. Make sure we always align pointer storage correctly.
2013-02-02configure.ac: Lower git master version to 1.0.90Kristian Høgsberg1-2/+2
The idea was to use 1.1.0 for the git master version, so that git master would always be newer than any release or 1.1.x version. This means we have to skip 1.1 as a release, which turns out to be confusing. We can just use version 1.0.90 instead, which lets us call the next release 1.1.0.
2013-01-28Match libtool version info in 1.0 branchKristian Høgsberg1-0/+1
Master should always as old or older than the stable branch. I didn't copy over the libtool version bump when we bumped it in the 1.0 branch.
2013-01-24gitignore: add test-suite filesDavid Herrmann2-1/+7
The *.log and *.trs files should be ignored by git as well as the GNU autotools ./test-driver helper script. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2013-01-24event-loop: fix returning the destroy-signal listenerDavid Herrmann1-1/+1
We need to actually return the destroy-listener, otherwise the return value is undefined. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2013-01-15Add a destroy signal to the wl_event_loop objectJason Ekstrand3-0/+84
2013-01-11Added a destroy signal to the wl_display object.Jason Ekstrand4-0/+106
Added a destroy signal to the wl_display object.
2013-01-11test/event-loop: Check readable state on a pipeQuentin Glidic1-1/+6
When redirecting stdout to a non-readable file makes the test fail as a false negative
2012-12-12client: remove two unused function pointer typedefsPekka Paalanen1-3/+0
The need for wl_display_update_func_t was removed in commit 53d24713a31d59d9534c1c1a84a7ad46f44ee95f Author: Kristian Høgsberg <krh@bitplanet.net> Date: Thu Oct 4 16:54:22 2012 -0400 Change filedescriptor API to be thread safe and wl_callback_func_t does not seem to have ever been used in the first place. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-12-03tests: rename temporary filesPekka Paalanen1-2/+2
This is libwayland, not weston, so call the temporary files wayland-tests-*, not weston-tests-*. This is a candidate for the stable branch. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-12-03tests: Don't leave temporary files behindSven Joachim1-0/+2
Signed-off-by: Sven Joachim <svenjoac@gmx.de>
2012-12-03man, configure.ac: Only generate man pages if we can do it offlineJonas Ådahl2-2/+19
Instead of relying on downloading the stylesheet from the Internet for generating man pages, only generate them if the stylesheet is available locally. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-12-03doc: Only generate Wayland documentation if xsltproc was foundJonas Ådahl1-0/+2
Instead of failing to generate documentation because xsltproc doesn't exist, don't try to generate at all. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-11-30configure.ac: Update version to 1.1.0 during development on git masterKristian Høgsberg1-2/+2
This lets dependent components, such as mesa or toolkits use git master instead of any 1.0.x release.
2012-11-30client: Add \since tag for wl_display_dispatch_queue_pending() documentationKristian Høgsberg1-0/+1
2012-11-27pkgconfig: Use configure provided directoriesQuentin Glidic3-12/+12
https://bugs.freedesktop.org/show_bug.cgi?id=57630
2012-11-27protocol: Add a wl_surface request for setting buffer transformationAnder Conselvan de Oliveira1-3/+31
This request allows a client to render its contents according to the output transform, enabling the compositor to use optimizations such as overlays, hardware cursors, scan out of a client buffer for fullscreen surface, etc, even if the output is rotated.
2012-11-27scanner: Fix wrong restriction on since fieldAnder Conselvan de Oliveira1-1/+1
The scanner would not allow two consecutive requests on an interface to have the same since number, so if a new version of an interface added two new request the version number would have to be increased by two.
2012-11-27client: Don't cancel a roundtrip when any event is receivedJonas Ådahl1-1/+4
Since wl_display_dispatch() returns the number of processed events or -1 on error, only cancel the roundtrip if an -1 is returned. This also fixes a potential memory corruption bug happening when wl_display_roundtrip() does an early return and the callback later writes to the then out of scope stack allocated `done' parameter. Introduced by 33b7637b4500a682018b503837b8aca9afae36f2. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-11-23doc: Fix typosTiago Vignatti2-3/+3
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-11-23client: Add an entry point for dispatching a queue without blockingAnder Conselvan de Oliveira2-0/+21
On the client side EGL, all the wl_buffer.release events need to be processed before buffer allocation, otherwise a third buffer might be allocated unnecessarily. However, the buffer allocation should not block in the case no event was received. In order to do that, a non-blocking queue dispatch function is needed.
2012-11-21debug: Allow WAYLAND_DEBUG=server/client for server/client side only debugKristian Høgsberg2-2/+2
By default the server will dump protocol for both the server and its clients when run with WAYLAND_DEBUG=1. That's still the case, but it now also understands WAYLAND_DEBUG=client or WAYLAND_DEBUG=server, which will only enable debug dumping on either client or server side.
2012-11-19configure.ac: Bump version to 1.0.1Kristian Høgsberg1-1/+1
2012-11-19doc: Fix out-of-source build so distcheck works againKristian Høgsberg1-7/+7
The amount of generated files and hacks over hacks in the doc/ directory is getting out of hand and we need a better solution. For now, just get distcheck back to working.
2012-11-19Fix distcheck by adding back protocol/Makefile.amKristian Høgsberg3-1/+3
5909dddc78573774bd3a93c280831a7d18d82994 removed protocol/Makefile.am which meant protocol/wayland.xml no longer got included in the tarball. Add back protocol/Makefile.am and configure.ac bits and add protocol to subdirs in Makefile.am to fix this.
2012-11-19protocol: Fix copy and paste summaryKristian Høgsberg1-1/+1
2012-11-19protocol: Add summary description for wl_data_device_managerKristian Høgsberg1-0/+8
2012-11-14client: Fix source comment typosMartin Olsson1-3/+3
2012-11-12doc: Fix incorrectly formatted section headerTiago Vignatti1-1/+3
https://bugs.freedesktop.org/show_bug.cgi?id=56719 Reported-by: Petr Gladkikh <PetrGlad@gmail.com> Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-11-12doc: Update .gitignoreTiago Vignatti2-0/+2
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-11-12doc: Set publican to quiet modeTiago Vignatti1-1/+1
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-11-12doc: Remove unused css and xslt for the protocolTiago Vignatti5-256/+1
This was added previously (commit 015c42e1) when we didn't have docbook formatted documentation. Now it became quite useless. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-11-12doc: Auto-generate API methods and classes documentationTiago Vignatti2-16/+52
There's work to do still for giving a prettier style on the documentation, for instance splitting paragraphs correctly and printing the detailed description of the methods as well. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-11-12doc: doxygen: Interpret the first line comment as the briefTiago Vignatti1-1/+1
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2012-11-07tests: Add out of order delete_id queue testsJonas Ådahl1-12/+96
Verify that when receiving the first of two synchronization callback events, destroying the second one doesn't cause any errors even if the delete_id event is handled out of order. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-11-07tests: Use a pipe for synchronization to avoid potential deadlockJonas Ådahl1-24/+55
Using signals in the previous way could potentially lead to dead locks if the SIGCONT was signalled before a listener was registered. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-11-05tests: Add queue test caseJonas Ådahl2-1/+174
Check that after a callback removes a proxy that most likely will have several events queued up with the same target proxy, no more callbacks are invoked. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-11-05client: Keep track of proxy validity and number of reference holdersJonas Ådahl2-20/+110
When events are queued, the associated proxy objects (target proxy and potentially closure argument proxies) are verified being valid. However, as any event may destroy some proxy object, validity needs to be verified again before dispatching. Before this change this was done by again looking up the object via the display object map, but that did not work because a delete_id event could be dispatched out-of-order if it was queued in another queue, causing the object map to either have a new proxy object with the same id or none at all, had it been destroyed in an earlier event in the queue. Instead, make wl_proxy reference counted and increase the reference counter of every object associated with an event when it is queued. In wl_proxy_destroy() set a flag saying the proxy has been destroyed by the application and only free the proxy if the reference counter reaches zero after decreasing it. Before dispatching, verify that a proxy object still is valid by checking that the flag set in wl_proxy_destroy() has not been set. When dequeuing the event, all associated proxy objects are dereferenced and free:ed if the reference counter reaches zero. As proxy reference counter is initiated to 1, when dispatching an event it can never reach zero without having the destroyed flag set. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-10-29doc: Remove obsolete doxygen tagsKristian Høgsberg1-17/+0
https://bugs.freedesktop.org/show_bug.cgi?id=56377
2012-10-22configure.ac: Bump version to 1.0.0Kristian Høgsberg1-2/+2
2012-10-21scanner: Preserve paragraph breaks in input XMLKristian Høgsberg1-3/+9
If we have a blank line in the incoming XML documentation, keep that in the emitted doxygen comments.
2012-10-21doc: Fix typo in generated section headerKristian Høgsberg1-2/+2
We were generating headers such as 'Events provided by wl_display events', drop the last 'events'.
2012-10-21wayland: Add protocol documentation for various interfacesKristian Høgsberg1-13/+94
2012-10-21Update TODOKristian Høgsberg1-19/+2
We've knocked a few items of the list.
2012-10-21tests: Include wayland-private.h for container_ofKristian Høgsberg1-0/+1