Dirk-Jan C. Binnema
4eabf1a64a
*: update for for mu-maildir changes
...
Update the dependencies.
2022-02-17 23:48:59 +02:00
Dirk-Jan C. Binnema
abd2a4a8f1
lib: Update mu-maildir for modern times
...
Update the good-old mu-maildir to be a bit more... modern.
2022-02-17 23:48:59 +02:00
Dirk-Jan C. Binnema
1db70c05e6
utils/async-queue: appease helgrind
...
We used notify_one _outside_ the lock; that should be just fine... but helgrind
doesn't like it, so let's appease it.
2022-02-17 23:48:59 +02:00
Dirk-Jan C. Binnema
d2a75f600d
tickle: remove
...
Remove the hidden 'tickle' command; it wasn't really advertised so I'm sure
nobody is using it (xkcd/1172).
Well, it'd need to be reworked anyway.
2022-02-17 23:48:59 +02:00
Dirk-Jan C. Binnema
f6f17d5d6b
*: update code for Mu::MessageFlags
...
Migrate the code to use the new niceness
2022-02-17 23:48:59 +02:00
Dirk-Jan C. Binnema
473134a7b1
lib: replace MuFlags with Mu::MessageFlags
...
Modernize the ancient MuFlags code to C++17
2022-02-16 23:18:16 +02:00
Dirk-Jan C. Binnema
c5538d5b14
utils: update optional & expected
...
Use the latest upstream versions.
2022-02-16 23:18:16 +02:00
Dirk-Jan C. Binnema
bc44666d88
mu-str: Remove some dead code
2022-02-16 21:55:02 +02:00
Dirk-Jan C. Binnema
dce924da9c
mu-error: Better support for GError
...
Allow filling a GError from a Mu::Error
2022-02-16 21:55:02 +02:00
Dirk-Jan C. Binnema
80cbf7c75b
utils: Improve Mu::Result
...
Ensure the Ok() and Err() actually work, and add support for Result<void>
2022-02-16 21:55:02 +02:00
Dirk-Jan C. Binnema
6ff1831200
utils: make MU_ENABLE_BITOPS more constexpr
2022-02-14 11:12:38 +02:00
Dirk-Jan C. Binnema
3086238b33
store: expose metadata()/set_metadata()
...
Allow for storing metadata in the database, and consider the cache.
2022-02-14 11:12:26 +02:00
Dirk-Jan C. Binnema
3820118246
store: rename "metadata" into "properties"
...
properties are the constant (for the duration) values for a store; metadata may
change, so reserve that name for that.
2022-02-14 11:12:26 +02:00
Dirk-Jan C. Binnema
23fc8bdba8
update code for Mu::MessagePriority
...
Update dependent code
2022-02-14 11:12:26 +02:00
Dirk-Jan C. Binnema
13bcc6eb5d
lib: replace MuMsgPrio with Mu::MessagePriority
...
Rework good-old MuMsgPrio into Mu::MessagePriority, which looks a bit more like
modern C++.
2022-02-14 11:12:16 +02:00
Dirk-Jan C. Binnema
5fbebbff86
tweak coding style / configuration
...
clang-format is a pain :-(
2022-02-13 14:33:12 +02:00
Dirk-Jan C. Binnema
a0ec982789
mu4e/server: honor rename-move for view-message, too
...
It's technically a 'move', so apply user preference.
2022-02-13 14:33:12 +02:00
Dirk-Jan C. Binnema
a66fd4dae4
mu4e-headers: warn earlier when message does not exist
...
check path before trying to show it.
2022-02-13 12:04:47 +02:00
Dirk-Jan C. Binnema
43c44cf6cd
store: catch dtor exception
2022-02-07 22:34:49 +02:00
Dirk-Jan C. Binnema
ea3083da2e
mu: config: fix leak
2022-02-07 22:13:58 +02:00
Dirk-Jan C. Binnema
9b77a12db7
mu: cmd-index: make signal-handler thread-safe
2022-02-07 22:01:11 +02:00
Dirk-Jan C. Binnema
18ddbe06e6
indexer: fix some threading issues with Progress
...
Make it a const object with atomic members.
2022-02-07 20:49:43 +02:00
Dirk-Jan C. Binnema
a628f214a1
index: fix thread-sanitizer issue
...
Need a lock to access workers_;
2022-02-07 18:03:53 +02:00
Dirk-Jan C. Binnema
e818e94d0e
build: fix some scan-build warnings
2022-02-07 17:36:34 +02:00
Dirk-Jan C. Binnema
8493e8649d
mu-utils: try g_autoptr/g_autofree
...
It's useful, but let's if it works for all targets.
2022-02-06 14:18:23 +02:00
Zero King
d0a3ca3453
utils: validate string before g_utf8_next_char()
2022-02-06 14:18:23 +02:00
Dirk-Jan C. Binnema
c3503ba663
server: flush the "indexing complete" message
2022-02-06 14:18:23 +02:00
Dirk-Jan C. Binnema
3f163e65e0
update NEWS.org
2022-02-06 11:16:46 +02:00
Dirk-Jan C. Binnema
99993bea69
mu4e-headers: tweak mark-as-orphan option
...
Make 'first the default, and some whitespace fixes.
2022-02-06 10:44:47 +02:00
Dirk-Jan C. Binnema
769ad20c40
Merge pull request #2203 from mhcerri/mu4e-headers-thread-mark-as-orphan
...
mu4e-headers: Add mu4e-headers-thread-mark-as-orphan option
2022-02-06 10:41:28 +02:00
Dirk-Jan C. Binnema
77bca5463f
store: don't lock for_each_term
...
It's only called from the parser with a store, and when we _already_
hold the lock.
2022-02-05 08:44:43 +02:00
Dirk-Jan C. Binnema
6becc657c1
build: bump version to 1.7.7
2022-02-03 23:04:18 +02:00
Dirk-Jan C. Binnema
6dafffd07a
mu4e-server: tweak stopping the mu4e server
...
Stop listening for server output when we're shutting down.
2022-02-03 23:04:18 +02:00
Dirk-Jan C. Binnema
4d0ecf7f85
server: make indexing asynchronous
...
Perform indexing in a background thread.
2022-02-03 23:04:18 +02:00
Dirk-Jan C. Binnema
b6d7d142f6
server: support flushing the output
...
So we can get some progress output
2022-02-03 23:04:18 +02:00
Dirk-Jan C. Binnema
05393ba797
index: save/commit metadata after messages
...
Ensure the metadata (dirstamps) for messages are only written / committed _after_
the accompanying message have been written / committed.
This avoids missing updates when indexing gets terminated unexpectedly.
2022-02-03 23:04:18 +02:00
Dirk-Jan C. Binnema
12658a3dc6
cmd-server: improve signal handling
...
use a static signal handling function, which is easier to check than a lambda.
2022-01-30 14:52:41 +02:00
Dirk-Jan C. Binnema
ebc9b88f80
store/query: update for new store/query api
...
Update to the new API.
2022-01-30 14:52:41 +02:00
Dirk-Jan C. Binnema
5fc8a8f83e
store/query: access query only through store
...
Make Mu::Query only accessible through store, so we can lock the db for the
duration of a (full, multipass) query.
2022-01-30 14:52:41 +02:00
Dirk-Jan C. Binnema
cc3be78dc5
mu4e-main: use mu4e~headers-jump-to-maildir
...
Re-fix hasty earlier fix; and improve the code a bit.
HT: @tsdh.
2022-01-29 19:53:37 +02:00
Dirk-Jan C. Binnema
b8e696000f
mu4e-main: fix jump-to-maildir typo
...
Fixes : #2206
2022-01-29 15:55:51 +02:00
Dirk-Jan C. Binnema
3138b2d1a9
mu-find.1: Document correct return value
...
And some cleanups.
Fixes : #2204 .
2022-01-29 10:42:26 +02:00
Dirk-Jan C. Binnema
20568cba70
mu4e-view: open tmp files read-only
...
When using the "open-in-emacs" handler, open the temp file as read-only. It's a
temp file, so editing isn't very useful.
2022-01-24 19:00:19 +02:00
Dirk-Jan C. Binnema
de3c9a25e8
mu4e.texi: improve mu4e-mailing-list-patterns example
2022-01-23 14:27:00 +02:00
Dirk-Jan C. Binnema
a30cc3d9e9
NEWS.org: update
2022-01-23 14:27:00 +02:00
Dirk-Jan C. Binnema
a4707afe12
mu4e: cleanups and flycheck fixes
...
- Remove some unused faces
- Fix some flycheck warnings
- Replace some `cl-` functions with `pcase` and `seq`
2022-01-23 14:27:00 +02:00
Dirk-Jan C. Binnema
3e3d26be8f
clang-format: tweaks
2022-01-23 10:29:22 +02:00
Marcelo Henrique Cerri
74437b6374
mu4e-headers: Add mu4e-headers-thread-mark-as-orphan option
...
To mark only the first message in the thread as orphan, allowing to
replicate the thread structure used by mutt and other clients.
2022-01-19 16:59:38 -03:00
Dirk-Jan C. Binnema
aa2ba0f102
build: bump version to 1.7.6
2022-01-18 17:00:01 +02:00
Dirk-Jan C. Binnema
a6b996d00e
search: restore jump-to-message
...
Fixes : #2169 .
2022-01-18 17:00:01 +02:00