labwc/include
John Lindgren c9e0a6e125 icon-loader: add a new loader for XPM icons, used by many legacy X11 apps
Adapted from gdk-pixbuf, see the original at:

  https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/gdk-pixbuf/io-xpm.c

rgb.txt is from X.org, see:

  https://gitlab.freedesktop.org/xorg/app/rgb/-/blob/master/rgb.txt

Differences from the gdk-pixbuf version:

- GdkPixbuf replaced with struct lab_data_buffer
- Progressive and in-memory loading code removed
- Two functions that had separate BSD copyright rewritten
- Stores colors as ARGB32 earlier in the decoding process for efficiency
- Limited to 1024x1024 px and 1024 colors to prevent abuse
- Uses struct buf to build strings, in place of manual g_new/g_realloc
- Uses xzalloc/xznew_n for other memory allocations
- Uses g_strlcpy in place of banned strcpy/strncpy/strncat
- Uses standard C types (int, bool, etc.) in place of the GLib ones
- Follows labwc coding style (whitespace, braces, letter case, etc.)
- Et cetera ...

v2: add Perl fixes from @domo141
2024-09-30 21:17:19 -04:00
..
common action: make "FocusOutput" behave like "MoveToOutput" 2024-08-24 14:59:42 -04:00
config ssd: support window icons 2024-09-25 18:04:09 +09:00
img icon-loader: add a new loader for XPM icons, used by many legacy X11 apps 2024-09-30 21:17:19 -04:00
input input: move cursor event listeners from tablet to seat 2024-08-13 18:40:34 +02:00
menu client send to menu 2024-09-19 06:36:27 +01:00
action.h Refactor the logic of placing client-menu with ShowMenu action 2024-09-21 18:07:34 +01:00
buffer.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
debug.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
decorations.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
dnd.h chase (dnd): refactor to use wlroot's scene_drag_icon 2023-12-03 18:24:26 +00:00
edges.h snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
icon-loader.h ssd: support window icons 2024-09-25 18:04:09 +09:00
idle.h Add support for ext_idle_notify_v1.. 2023-07-09 08:26:33 +01:00
labwc.h ssd: support window icons 2024-09-25 18:04:09 +09:00
layers.h xdg: support xdg-shell v3 with popup repositioning 2024-07-01 20:16:31 +01:00
magnifier.h backend/drm: Implement support for renderer loss recovery 2024-07-23 14:44:31 +02:00
meson.build Make xwayland support optional 2020-12-30 10:29:21 +00:00
node.h session-lock: allow client to update cursor shape 2024-05-31 11:21:29 +09:00
osd.h osd: add window-switcher custom field (#1670) 2024-04-10 23:39:31 +01:00
output-state.h chase: output->pending 2024-07-17 21:28:59 +01:00
output-virtual.h Add optional headless fallback output 2024-03-08 13:54:13 +01:00
overlay.h overlay: allow to draw both/either of filled/outlined rectangle 2024-04-22 19:22:23 +01:00
placement.h view: honor automatic placement when adjusting floating geometry 2023-12-30 16:50:09 +00:00
regions.h overlay: add snap-to-edge overlay (PR #1652) 2024-04-05 04:35:31 +02:00
resistance.h interactive: allow moving horizontally/vertically maximized window 2024-08-26 20:30:22 +02:00
resize-indicator.h Replace _ with - in source file names 2024-05-22 07:10:51 +01:00
resize-outlines.h Implement <resize><drawContents> 2024-06-15 21:17:01 +01:00
session-lock.h session-lock: restore focused view on unlock 2024-07-07 15:48:32 +09:00
snap-constraints.h snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
snap.h snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
ssd-internal.h ssd: support window icons 2024-09-25 18:04:09 +09:00
ssd.h ssd: support window icons 2024-09-25 18:04:09 +09:00
theme.h theme: add circle button hover effect (#2127) 2024-09-10 22:14:30 +01:00
view-impl-common.h view: commonize sub-view logic in view_move_to_front/back() 2023-10-21 15:40:56 +01:00
view.h view: expose view_apply_natural_geometry() 2024-09-25 17:59:10 +09:00
window-rules.h wayland: add support for security-context-v1 2024-05-29 22:28:06 +01:00
workspaces.h workspaces: react to Reconfigure 2024-04-22 05:44:52 +09:00
xwayland.h xwayland: set initial geometry in map_request handler 2024-07-19 22:40:43 +01:00