86464cd083
modernization: tweaks for c++20
...
Update various places for what we can do with C++20:
- ends_with / starts_with
- std::to_array
- using instead of typedef
- designated initializers
- "[[maybe_unused]]" instead of G_GNUC_UNUSED
Also remove some unnecessary 'static'
2026-08-20 15:05:30 -07:00
4a0eba8ddf
improve unit tests
2023-09-24 20:21:57 +03:00
d7f8a64b20
mu: modernize command-line unit tests
2023-08-27 11:07:55 +03:00
4945e699c8
lib/mu: use fmt-based time/date formatting
...
For a small speedup
2023-08-06 16:19:43 +03:00
5409c2cd87
mu-view: attempt to avoid locale diffs in test
...
A bit ugly attempt make tests work in CI
2023-07-30 00:51:12 +03:00
3a38d6366a
mu-view: test locale to C for tests
2023-07-29 17:25:07 +03:00
3ada6af63a
mu-view: check for timezone availability in tests
2023-07-29 16:39:44 +03:00
1f0342a91f
mu-view: add unit-test
2023-07-28 19:43:46 +03:00
3337c9babb
mu-view: add --format=html
...
Support showing the HTML body (if any) instead of the default plain-text
body.
Update manpage.
2023-07-23 21:04:26 +03:00
82235b9d49
fmt: more update to use new fmt-based APIs
2023-07-06 21:49:50 +03:00
4920b56671
update to use fmt-based apis
...
Not complete, but a first big stab converting users of Mu::Error and
various g_warning & friends, format to the new libfmt-based APIs.
2023-07-05 23:10:13 +03:00
960a436e77
cli: split off commands into their own .cc files
...
Smaller files are easier to manage
2023-07-02 00:06:56 +03:00