Commit Graph

44 Commits

Author SHA1 Message Date
4f1b87181d format::desktop_entry: Add untested formatting function 2024-10-22 01:07:26 -04:00
33a1d1bac1 locale: Add support for localized string list 2024-10-21 21:13:49 -04:00
1055173246 locale: Fix string_resolve 2024-10-21 20:00:24 -04:00
3f88e96395 locale: Test string_resolve 2024-10-21 20:00:09 -04:00
6af621213a locale: Add localized string, untested resolution function 2024-10-21 19:43:07 -04:00
2537a9b6dc format::desktop_entry: Rename file with line type definitions 2024-10-21 17:50:59 -04:00
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
fc533dbeea format::desktop_entry: Test integer parsing functions 2024-10-21 17:41:31 -04:00
fc0cab93bc format::desktop_entry: Add untested parsing for integer values 2024-10-21 17:36:40 -04:00
9e4d7e4ae4 format::desktop_entry: Add more test cases 2024-10-21 17:20:51 -04:00
a43d3bdca5 format::desktop_entry: Test most value parsing functions 2024-10-21 16:51:52 -04:00
ecbbccbaa6 Add untested value parsing 2024-10-21 12:48:21 -04:00
5ec91331d3 format::desktop_entry: Clean up next 2024-10-21 12:40:31 -04:00
bd5b9f5d75 format::desktop_entry: Fix test data 2024-10-21 12:39:37 -04:00
776185e574 format::desktop_entry: Add new errors 2024-10-21 11:38:50 -04:00
f401ad26df Fix bugs in format::desktop_entry 2024-10-20 18:40:35 -04:00
02cf7ffb05 Add tests for format::desktop_entry 2024-10-20 18:40:24 -04:00
30926c1f10 Improve doc comment on format::desktop_entry::strerror 2024-10-20 13:39:11 -04:00
24ee999173 Fix doc comment on format::desktop_entry::next 2024-10-20 13:03:19 -04:00
b42b1b1dd2 Add next_entry 2024-10-19 16:23:13 -04:00
cabc7c1e19 Made the desktop entry format more... convenient to work with 2024-10-19 16:15:23 -04:00
b90f0c5378 Renamed parse file to scan file 2024-10-19 15:28:04 -04:00
ca44e2d750 Make desktop_entry module more similar to ini module 2024-10-19 15:23:28 -04:00
8521320a7c Locale defines its own invalid error 2024-10-12 23:51:52 -04:00
19e6aa5259 Desktop entry module compiles 2024-10-12 23:43:07 -04:00
e8af5d01d7 Desktop entry module almost compiles 2024-10-12 23:34:57 -04:00
3e72688127 Better errors 2024-10-12 23:34:44 -04:00
427d30c255 Add parsing stub 2024-10-12 22:12:43 -04:00
baea275b66 Better doc comments for desktop_entry 2024-10-05 00:51:10 -04:00
0b464d368c Implement querying of localized values of desktop files 2024-10-05 00:40:43 -04:00
3e3c794a1e Support LC_ALL 2024-10-04 23:57:12 -04:00
1da2f21763 Figured out why
Not something we need to worry about though
2024-10-04 23:54:51 -04:00
e0868e7554 Linux implementation parses /etc/locale.conf correctly
Sometimes you just gotta strings::dup
2024-10-04 23:54:08 -04:00
ca5e32e06f Remove random get_language in linux locale implementation 2024-10-04 23:37:02 -04:00
452fde885d Add .editorconfig 2024-10-04 23:33:44 -04:00
44176d1c15 Add locale readme 2024-10-04 23:31:39 -04:00
0ddfb22123 Remove TODO for LC_LANGUAGE
It was kind of out of scope
2024-10-04 23:29:33 -04:00
02c8ecde3e LC_LANG now works as a fallback properly 2024-10-04 23:25:18 -04:00
c77c886290 Remove prefixes and postfixes from declaration names 2024-10-04 23:17:45 -04:00
409aab92ff Add way to query the system locales 2024-10-04 23:12:58 -04:00
27b7252580 Replace language with lang for consistency 2024-10-04 13:26:37 -04:00
5c911fc08d Add desktop file format stub 2024-10-03 19:52:17 -04:00
218e6253e7 Add locale module 2024-10-03 19:52:06 -04:00
d1e521ba97 Add license, readme 2024-10-03 19:51:51 -04:00