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
Dirk-Jan C. Binnema
f035c801bb
store: save contacts more often
...
Use the new Contacts::dirty() so serialize/save the contacts whenever we commit
a transaction.
And some cosmetics.
2022-01-15 15:12:38 +02:00
Dirk-Jan C. Binnema
ca4651a891
mu-contacts: add dirty()
...
Maintain a "dirtiness" number, which increases with changes, and resets after
serialize().
2022-01-15 15:11:26 +02:00
Dirk-Jan C. Binnema
be4fc67584
mu-cfind: don't show error when there are no matches
...
And some cosmetics
2022-01-15 12:48:53 +02:00
Dirk-Jan C. Binnema
244e10bf7d
clang-format: tweak
...
Don't set the column-limit, since clang-format interprets that as "the length
any line should aspire to" rather than "the length no line shall pass".
It shouldn't mangle shorter lines.
2022-01-15 12:48:53 +02:00
Dirk-Jan C. Binnema
e5ead56b2a
mu4e-view: fix flycheck warnings
...
Let's make things clean.
2022-01-15 12:00:27 +02:00
Dirk-Jan C. Binnema
a4e5e3adf5
mu4e: attempt to delete loading window upon mu4e-error
...
When there's a mu4e-error, opportunistically delete the 'Loading..' window.
2022-01-15 10:44:03 +02:00
Dirk-Jan C. Binnema
dfe592ac4f
mu-server: check for message readability
...
When querying, avoid showing any messages that do not exists on the file system.
2022-01-15 10:21:32 +02:00
Dirk-Jan C. Binnema
904214ba17
mu4e-view: double-check message file exists
...
So we can warn user early.
2022-01-15 10:20:32 +02:00
Dirk-Jan C. Binnema
ddba5bf01a
meson.build: cosmetic
2022-01-14 17:11:08 +02:00
Dirk-Jan C. Binnema
cbb2734078
mu-cmd-index: cosmetic
2022-01-14 17:10:56 +02:00
Dirk-Jan C. Binnema
08dc66a525
mu-utils: Fix compiler warning
2022-01-14 17:10:16 +02:00
Dirk-Jan C. Binnema
b072b4a57e
mu4e-view: Add defcustom mu4e-view-open-program
...
When xdg-open is not enough.
2022-01-12 22:32:21 +02:00
Dirk-Jan C. Binnema
324b6f5022
mu4e-view: experiment xwidget support
...
Add experimental support for displaying html messages in an xwidget; this
doesn't work for all messages.
2022-01-10 22:07:06 +02:00
Dirk-Jan C. Binnema
42d5cde612
mu4e-view: catch epg error
...
Give a bit more user-feedback when e.g. EPG fails to decrypt a message.
2022-01-09 14:08:24 +02:00
Dirk-Jan C. Binnema
ec41585dab
mu-msg-file: check for top-level s/mime
...
Update the content flags for top-level S/MIME encrypted & signed.
2022-01-09 11:36:39 +02:00
Dirk-Jan C. Binnema
4df94b0c86
mu-init: update manpage
...
Fixes: issue #2200 .
2022-01-09 10:27:09 +02:00
Dirk-Jan C. Binnema
bbf55256e5
mu4e-view: add massage toggle for text filling
...
For some mis-rendered messages, it can be useful to toggle filling, so add this
as an massage ('M') option.
2021-12-25 11:01:33 +02:00
Dirk-Jan C. Binnema
8704101afc
mu4e-folders: fix typo in docstring
2021-12-19 23:15:42 +02:00
Dirk-Jan C. Binnema
8dcdd0a815
mu4e-view: add toggle to show all mime-parts
...
Add a toggle to show (links for) all top-level MIME-parts, so you can e.g.
perform actions on 'inline' images.
2021-12-19 23:15:42 +02:00
Dirk-Jan C. Binnema
d389dbb5b3
config: minor cleanup
2021-12-19 23:15:42 +02:00