- 16 Dec, 2021 1 commit
-
-
Olivier Fourdan authored
A simple CI to make sure it builds. TODO: Would be nice to add testing, e.g. spawning weston to run the generated wayland-info binary. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com>
-
- 14 Dec, 2021 2 commits
-
-
Simon Ser authored
Print the name and description. Signed-off-by:
Simon Ser <contact@emersion.fr>
-
Jonas Ådahl authored
build: remove wayland-server dep See merge request !5
-
- 13 Dec, 2021 2 commits
-
-
Simon Ser authored
This client doesn't need to depend on the server lib. In fact, the dep is unused.
- 31 Jul, 2021 1 commit
-
-
Manuel Stoeckl authored
This introduces an optional dependency on libdrm. Signed-off-by:
Manuel Stoeckl <code@mstoeckl.com>
-
- 31 Jul, 2020 5 commits
-
-
Olivier Fourdan authored
Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com>
-
Olivier Fourdan authored
While "wayland-info" is just one (and only) tool for now, use the more general name "wayland-utils" for the meson project. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com>
-
Olivier Fourdan authored
Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com>
-
Olivier Fourdan authored
A simplified version of the Weston procedure. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com>
-
Olivier Fourdan authored
Adjust the build instructions to pull from the new repository under the wayland organization in Gitlab. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com>
-
- 20 Jul, 2020 29 commits
-
-
Move the weston-info historical information to the bottom, most users who will run into the tool will want to know what it does first, not where it came from. And use the text from the man page in the README, it explains what it does. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
No full stop unless it's a proper sentence, and let's accepte the possibilty that wayland-info is used for something else than we envision ;) Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
New output: interface: 'wl_data_device_manager', version: 3, name: 7 interface: 'gtk_primary_selection_device_manager', version: 1, name: 8 interface: 'wl_subcompositor', version: 1, name: 9 interface: 'xdg_wm_base', version: 3, name: 10 interface: 'zxdg_shell_v6', version: 1, name: 1 Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Too many things are unused here, let's not complain about that. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
-
Olivier Fourdan authored
Signed-off-by:
Olivier Fourdan <fourdan@gmail.com>
-
Olivier Fourdan authored
Copy the convenient memory allocation functions from weston to keep the code unchanged. Signed-off-by:
Olivier Fourdan <fourdan@gmail.com>
-
Rename weston-info as wayland-info and move it to its own directory. Signed-off-by:
Olivier Fourdan <fourdan@gmail.com>
-
The printf() format specifier "%m" is a glibc extension to print the string returned by strerror(errno). While supported by other libraries (e.g. uClibc and musl), it is not widely portable. In Weston code the format string is often passed to a logging function that calls other syscalls before the conversion of "%m" takes place. If one of such syscall modifies the value in errno, the conversion of "%m" will incorrectly report the error string corresponding to the new value of errno. Remove all the occurrences of the specifier "%m" in Weston code by using directly the string returned by strerror(errno). While there, fix some minor indentation issue. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
In the simple examples in which keymap is not handled, the open descriptor has to be properly closed. After each suspend/resume sequence the keymap is send again to every client. On client weston-simple-egl the leak causes a segfault when no more file descriptors can be opened. Close the file descriptor and lazily copy/paste the comment already available in simple-dmabuf-v4l. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
It is a public installed header used by libweston.h. See "Rename compositor.h to libweston/libweston.h" for rationale. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
-
This patch fixes the following warnings: clients/weston-info.c: In function 'print_tablet_tool_info': clients/weston-info.c:569:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=] printf("\t\t\thardware serial: %lx\n", info->hardware_serial); ^ clients/weston-info.c:572:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=] printf("\t\t\thardware wacom: %lx\n", info->hardware_id_wacom); Signed-off-by:
Marius Vlad <marius.vlad0@gmail.com>
-
-
Fixes a memory leak by calling wl_keyboard_destroy on any keyboard that was used to listen for events. Signed-off-by:
Markus Ongyerth <wl@ongy.net> Acked-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
This now prints each tablet seat with at least one tablet/pad/tool attached. For each tablet seat, each tablet, pad and tool is printed with as much detail about the device as the protocol provides. Seat info is stored to be referenced, because the protocol requires to request a tablet_seat for each wl_seat and it's not guaranteed that the tablet_v2_manager is available when seats are advertised. Signed-off-by:
Markus Ongyerth <wl@ongy.net> Acked-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
This now prints each (format, modifier) tuple, to show which ones the compositor sends to its clients. It is only implemented for version 3+, since I didn’t have any compositor implementing previous versions, and the old `format` event is deprecated anyway. Signed-off-by:
Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com> Reviewed-by:
Daniel Stone <daniels@collabora.com>
-
Don't just dump the raw 32-bit values, try to interpret it as a DRM fourcc too. This prints properly the formats YUYV, NV12 and YU12 supported by Weston. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Eric Engestrom <eric.engestrom@imgtec.com>
-
Signed-off-by:
Jussi Kukkonen <jussi.kukkonen@intel.com> Reviewed-by:
Yong Bakos <ybakos@humanoriented.com>
-
Patch b00c79b587a4903df576008a64a49f851fed234c forgot to update the global interface name to look for. Fix it. This makes weston-info report the presentation clock again. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Weston-info was accidentally rounding refresh rates to integer Hz. Fix it to print 3 decimals, as the protocol carries exactly that. Reported-by:
Michel Dänzer <michel@daenzer.net> Cc: John Galt <johngaltfirstrun@gmail.com> Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Michel Dänzer <michel@daenzer.net> Reviewed-by:
Quentin Glidic <sardemff7+git@sardemff7.net>
-
Direct fail_on_null calls now produce output like: [weston-info] clients/weston-info.c:714: out of memory xmalloc, et al produce output on failure like: [weston-info] out of memory (-1) Signed-off-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Signed-off-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Remove the unstable presentation_timing.xml file, and use presentation-time.xml from wayland-protocols instead to generate all the Presentation extension bindings. The following renames are done according to the XML changes: - generated header includes - enum constants and macros prefixed with WP_ - interface symbol names prefixed with wp_ - protocol API calls prefixed with wp_ Clients use wp_presentation_interface.name rather than hardcoding the global interface name: presentation-shm, weston-info, presentation-test. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Jonas Ådahl <jadahl@gmail.com> [Pekka: updated wayland-protocols dependency to 1.2]
-
Fall back to not showing anything as before if we don't have a compositor with wl_output new enough (version 2 or newer). Signed-off-by:
Jonny Lamb <jonny.lamb@collabora.co.uk> Reviewed-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
CLOCK_BOOTTIME is a relatively new* feature that may not actually be present everywhere (I'm looking at you wheezy). Since our use of it is actually only cosmetic, I've just ifdef'd if. * No it isn't. Signed-off-by:
Derek Foreman <derekf@osg.samsung.com> Reviewed-by:
Giulio Camuffo <giuliocamuffo@gmail.com>
-
Removed multiple definitions of the MIN() macro from existing locations and unified with a single definition. Updated sources to use the shared version. Signed-off-by:
Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
To help reduce code duplication and also 'kitchen-sink' includes the ARRAY_LENGTH macro was moved to a stand-alone file and referenced from the sources consuming it. Other macros will be added in subsequent passes. Signed-off-by:
Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Using the parent '../' path component in #include statements makes the codebase more rigid and is redundant due to proper -I use. Signed-off-by:
Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-