hare-xdg/format/desktop_entry
Sasha Koshka 0f5dd78aea format::desktop_entry: Numerics are f32 now
The specification defines numerics to be anything accepted by the
%f specifier for scanf, which implies a 32 bit float.
2024-10-21 17:44:43 -04:00
..
test_data format::desktop_entry: Fix test data 2024-10-21 12:39:37 -04:00
desktop_entry.ha Add next_entry 2024-10-19 16:23:13 -04:00
error.ha format::desktop_entry: Add untested parsing for integer values 2024-10-21 17:36:40 -04:00
README Add desktop file format stub 2024-10-03 19:52:17 -04:00
scan_test.ha format::desktop_entry: Fix test data 2024-10-21 12:39:37 -04:00
scan.ha format::desktop_entry: Clean up next 2024-10-21 12:40:31 -04:00
value_test.ha format::desktop_entry: Numerics are f32 now 2024-10-21 17:44:43 -04:00
value.ha format::desktop_entry: Numerics are f32 now 2024-10-21 17:44:43 -04:00

The desktop_entry module implements the XDG Desktop Entry Specification as
described in (https://specifications.freedesktop.org/desktop-entry-spec/latest).
Since other specifications make use of the basic desktop entry format (but with
different group names, entry requirements, etc.), this module implements:

1. The generalized format, and
2. A second processing stage to retrieve values relevant to desktop entries and
   to validate them.

This module will attempt to accept malformed files for the purposes of retaining
their underlying representation, and being able to reproduce that representation
when writing updated information to the files.