labwc/include/common
tokyo4j 7f67b9c866 Don't remove newlines when parsing config, menu and XBM
Removing newlines in rc.xml and menu.xml caused parser error with
following content:

<!--
 -
 - Some comments
 -
-->

...though it is a valid XML.

Let's not do that. I moved `grab_file()` to `buf.c` and renamed it to
`buf_from_file()`, because it now directly touches `struct buf` and
I don't like having a source file only for one function.
2025-10-17 22:08:41 +09:00
..
array.h array: use die_if_null() from common/mem.c 2025-09-07 19:17:18 +09:00
border.h Move border-struct to common/border.h for sharing 2023-06-26 06:04:07 +01:00
box.h include/common/box.h: fix declaration/definition arg name difference 2025-10-01 21:18:44 +01:00
buf.h Don't remove newlines when parsing config, menu and XBM 2025-10-17 22:08:41 +09:00
dir.h config: support merging multiple config files 2024-01-18 20:20:36 +00:00
edge.h common: flesh out enum lab_edge and prefer over wlr_edges/wlr_direction 2025-08-26 20:36:43 -04:00
fd-util.h Replace _ with - in source file names 2024-05-22 07:10:51 +01:00
file-helpers.h common/file-helpers.c: share file_exists() to reduce duplication 2023-09-17 19:26:41 +01:00
font.h common/font: add scaled_font_buffer_create_for_titlebar() 2025-06-18 15:48:24 -04:00
graphic-helpers.h include: add missing header dependencies 2025-07-29 21:51:56 +01:00
lab-scene-rect.h Replace multi_rect with lab_scene_rect 2025-06-10 06:03:03 +09:00
list.h common/list: add WL_LIST_INIT() macro 2024-11-21 20:31:41 +00:00
macros.h Disable all output leasing due to a wlroots UAF 2025-07-06 19:59:43 +01:00
match.h docs: simplify description of shell wildcard patterns 2024-12-01 20:17:04 +01:00
mem.h array: use die_if_null() from common/mem.c 2025-09-07 19:17:18 +09:00
node-type.h desktop: don't use LAB_NODE_LAYER_SUBSURFACE node type 2025-09-09 18:50:20 +09:00
nodename.h include: reduce unnecessary #includes 2025-09-07 19:34:30 +09:00
parse-bool.h include: add config/types.h 2025-08-21 16:55:25 +09:00
parse-double.h common: validate and properly parse floats 2024-04-02 10:37:50 -04:00
scene-helpers.h include/common/scene-helpers: fix declaration/definition arg name difference 2025-10-01 21:18:44 +01:00
set.h key-state.c: generalize set operations 2024-10-13 20:45:16 +01:00
spawn.h Fix typos 2025-01-09 06:59:57 +00:00
string-helpers.h Remove unused function trim_last_field() 2025-09-26 10:41:21 -04:00
xml.h include/common/xml.h: fix declaration/definition arg name difference 2025-09-30 02:38:13 +02:00