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
502c9cd67b
lib: use ascii ctype utils
...
Use the new ascii ctype utils.
2026-08-20 15:05:30 -07:00
ec3b55f2ab
message: retain non-file flags when moving
...
The content-flags won't change, and the unread-flag can be re-calculated.
Add a unit test, and some small doc improvements.
Fixes #2831 .
2025-05-24 17:17:00 +03:00
5d37c18d7d
lib: use flags_maildir_file
...
It's a better name. And fix some typos.
2023-09-24 17:29:56 +03:00
2d20074b99
mu-move: add new move sub command
...
Add sub-command to move messages; add tests and docs.
Fixes #157
2023-09-24 17:29:08 +03:00
ae87be6a48
flags: add flags_mail_dir_file util
...
And some whitespace cleanup
2023-09-19 22:26:45 +03:00
bd17c218fb
mu-flags: get flag-info for shortcut, too
2023-08-21 18:29:21 +03:00
04219b55f7
message & friends: make formattable
...
So we can easily debug-print them.
2023-08-09 23:24:47 +03:00
86a641f748
mu-flags: use implied unread flag
...
and update tests.
Fixes #2409
2023-01-14 20:02:05 +02:00
62cfc88950
flags: add flags_keep_unmutable + test
...
When moving we want to maintain _some_ flags; add a function making that
convenient.
2022-12-07 12:32:13 +02:00
39dcd08fbe
message: add calendar flag
...
For message that contain calendar invitations
2022-06-10 00:47:31 +03:00
172ff25bb6
mu-maildir: refactor some duplicate code
...
mu-flags & mu-maildir were having some duplicate code; refactor it into mu-message-file.{cc,hh}
2022-06-04 00:41:28 +03:00
ee4b3bda2d
message: support 'personal' flag for messages
...
Add a new flag 'personal' for a message, which means that at least one of the
contact fields is personal.
2022-05-05 01:38:25 +03:00
8f9d1e5e60
mu: add fields/flags commands
...
Useful information for devising queries.
Directly generated from the source. Add manpages, too.
2022-05-05 01:38:25 +03:00
9a8741f0dd
message:document/fields: update and tie down
...
Update many of the field flags; remove obsolete ones.
Ensure they are handled correctly in mu-document
2022-04-30 10:40:45 +03:00
478ef67fc6
flags: rename flags_to_string -> to_string
...
For consistency.
2022-04-16 16:20:38 +03:00
9f062ae482
message/flags: add flags_from_path
...
Borrow from mu-maildir, to which we cannot link.
2022-03-28 22:35:45 +03:00
27ebfb3b3c
lib+guile: use Mu::Option, not std::optional
...
We need the extensions, and/or let's use _one_ optional implementation everywhere.
2022-03-28 08:58:04 +03:00
4c4fb1759f
message: move to lib/message, update naming
...
Basically, move/rename lib/mu-message* to lib/mu-*.
Add the beginnings of a Message class.
2022-03-26 17:19:10 +02:00