labwc/scripts
Consolatis ea58ab0259 scripts: add wl_compcheck.py
Simple utility to allow protocol and version comparison between different
running compositors. This can be used to detect missing protocols or
versions in labwc. See for example this result when running against the
current labwc master and sway 1.10 (nested, results on DRM may differ):

  Protocols missing from labwc @ wayland-0
  ext_transient_seat_manager_v1                   1
  wl_compositor                                   6  (has version 5)
  wp_alpha_modifier_v1                            1
  wp_content_type_manager_v1                      1
  xdg_wm_base                                     5  (has version 3)
  zwp_keyboard_shortcuts_inhibit_manager_v1       1

  Protocols missing from sway @ wayland-1
  wl_drm                                          2
  zcosmic_workspace_manager_v1                    1
2024-12-10 21:05:31 +00:00
..
ci CI: make the smoke test start foot 2024-11-26 06:12:46 +01:00
helper ci: include scripts/find-banned.sh 2023-12-29 11:47:55 +01:00
.gitignore Add scripts/find-banned.sh 2023-07-06 18:04:55 +01:00
asan_leak_suppressions Add lsan.supp 2024-11-26 21:29:09 +00:00
check CI: increase speed of codestyle check 2024-08-04 21:01:50 +02:00
checkpatch.pl icon-loader: add a new loader for XPM icons, used by many legacy X11 apps 2024-09-30 21:17:19 -04:00
find-banned.sh CI: add atof() to banned list 2024-05-13 11:06:04 +02:00
README.md checkpatch: add scripts/check for batch processing 2022-11-03 19:20:23 +00:00
run-with-asan.sh Add lsan.supp 2024-11-26 21:29:09 +00:00
wl_compcheck.py scripts: add wl_compcheck.py 2024-12-10 21:05:31 +00:00

These scripts are intended to be run from the project top-level directory like this: scripts/foo.sh

  • scripts/check: wrapper to check all files in src/ and include/

  • scripts/checkpatch.pl: Quick hack on the Linux kernel checkpatch.pl to lint C files written according to the labwc coding style. Run like this: ./checkpatch.pl --no-tree --terse --strict --file <file>