Commit Graph

6199 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 84cfe205f1 build: bump version 1.9.1 2022-10-03 22:11:36 +03:00
Dirk-Jan C. Binnema 5367122c08 store: support reinit
Support reinitializing, based on some current store. This is useful for
upgrading. Note that this is only the backend implementation + tests.
2022-10-02 18:24:23 +03:00
Dirk-Jan C. Binnema 9e60ebb683 utils: add helpers for assoc-pairs
Add some unit-test, too.
2022-10-02 18:24:23 +03:00
Dirk-Jan C. Binnema ca04ae4d65 test-mu-msg.cc: fix unit test
Fix typo.
2022-10-02 18:24:23 +03:00
Dirk-Jan C. Binnema c8898c8c13 meson.build: cosmetic
Fix whitespace, avoid a warning with clang
2022-10-02 18:24:23 +03:00
Dirk-Jan C. Binnema 44d3cefbf7
Merge pull request #2342 from sje30/patch-7
Update copyright to 2022
2022-10-02 14:34:34 +03:00
Stephen Eglen 36d006171d
Update copyright to 2022 2022-09-30 20:36:48 +01:00
Dirk-Jan C. Binnema 9673c02977 mu4e: headers: Fix copy-pasta m-h-thread-first-child-prefix
Fixes #2334.
2022-09-19 18:33:16 +03:00
Dirk-Jan C. Binnema bb7c8d880a message: convert mime-parts to utf-8
Ensure that non-utf8 mime-parts are converted to utf8. This fixes a
problem with messages with such parts; added unit test.

Fixes #2333.
2022-09-19 18:27:03 +03:00
Dirk-Jan C. Binnema e8177c7f04 mu4e: remove some dead code in headers 2022-09-14 23:26:00 +03:00
Dirk-Jan C. Binnema bf0af7465f Revert "m4e: remove disruptive characters from header fields"
This reverts commit 74d5902133 because it
broke the threading display.
2022-09-14 23:23:27 +03:00
Dirk-Jan C. Binnema ecc7cb65d3 mu4e: add mu4e--plist-get helper 2022-09-14 23:07:30 +03:00
Dirk-Jan C. Binnema e23c378d01
Merge pull request #2330 from seanfarley/smf/indexing-refresh-main
mu4e-main: automatically update the mail counts after indexing
2022-09-14 23:06:39 +03:00
Dirk-Jan C. Binnema 0de4754df6
Merge pull request #2332 from remvee/mu4e-headers-sanitize-field-values
mu4e: remove disruptive characters from header fields
2022-09-14 23:05:32 +03:00
Dirk-Jan C. Binnema 87018e6257
Merge pull request #2336 from tsdh/fix-cl-case-usages
Fix wrong cl-case usages where emacs 29 errors on byte-compilation now
2022-09-14 23:02:24 +03:00
Tassilo Horn 2dd5d9cfa1 Fix wrong cl-case usages where emacs 29 errors on byte-compilation now 2022-09-14 08:19:31 +02:00
Dirk-Jan C. Binnema 7f0497638c
Merge pull request #2329 from seanfarley/smf/save-excursion-html
mu4e-view: use `save-excursion' around toggling html
2022-09-08 07:04:04 +03:00
Remco van 't Veer 74d5902133 m4e: remove disruptive characters from header fields
Sometimes fields (especially subject fields) contain disruptive
characters like new lines which will mess up the mu4e-headers view.
This changeset introduces `mu4e~headers-sanitize-field-value` to replace
all control characters by spaces.

Note, Unicode Left to Right Overrides do not cause any problems so they
are ignored.
2022-09-07 10:47:12 +02:00
Sean Farley 89acde3f9c mu4e-main: automatically update the mail counts after indexing
It always struck me as a bit odd to force the user to refresh the main
view after updating and indexing their mail. This change creates a hook
that will simply call `revert-buffer' after an indexing completes.
2022-09-04 16:54:24 -05:00
Sean Farley 243b862776 mu4e-view: use `save-excursion' around toggling html
Previously, the cursor would be moved to the first html attachment which
would break using mu4e keybindings (e.g. delete). With this change, the
cursor isn't moved at all, presumably the expected behavior.
2022-09-03 17:01:41 -05:00
Dirk-Jan C. Binnema e7e6f2e776
Merge pull request #2326 from protesilaos/master
Make refinements to face remapping in mu4e~compose-remap-faces
2022-08-27 07:45:18 +03:00
Protesilaos Stavrou 8c42c43fd7
mu4e-compose: remove remap for unused face
The mu4e-cited-1-face does not exist any more, per commit
a4707afe12.
2022-08-27 05:51:16 +03:00
Protesilaos Stavrou 339d841415
mu4e-compose: simplify mu4e~compose-remap-faces 2022-08-27 05:29:56 +03:00
Dirk-Jan C. Binnema 0ee49f9b8c guile: define_vars: define for both name and alias
Scripts seem to depend on both.
2022-08-23 22:26:36 +03:00
Dirk-Jan C. Binnema 529e856d35 guile: define_vars: define for both name and alias
Scripts seem to depend on both.
2022-08-23 22:25:01 +03:00
Dirk-Jan C. Binnema fafc7d3bf6 mu4e: include mu4e-obsolete.el
Fixes #2324.
2022-08-23 19:33:49 +03:00
Dirk-Jan C. Binnema b91628d009 guile/meson.build: install scripts too
Fixes #2323
2022-08-23 19:33:41 +03:00
Dirk-Jan C. Binnema a094512067 guile/meson.build: cleanup whitespace 2022-08-23 19:33:34 +03:00
Dirk-Jan C. Binnema 906f0910a2 guile/meson.build: install scripts too
Fixes #2323
2022-08-23 19:29:53 +03:00
Dirk-Jan C. Binnema ed4d8d0e0f guile/meson.build: cleanup whitespace 2022-08-23 00:20:52 +03:00
Dirk-Jan C. Binnema 4cceded947 NEWS.org: update 2022-08-20 14:39:53 +03:00
Dirk-Jan C. Binnema 68753f9e84 mu4e: move all obsolete aliases to mu4e-obsolete
Unclutter the rest of the code a bit.
2022-08-20 14:24:24 +03:00
Dirk-Jan C. Binnema 4fc00ccf32 mu4e: remove obsolete org-mu4e.el
It's been dead for a long time.
2022-08-20 13:46:57 +03:00
Dirk-Jan C. Binnema 18bf2d995d mu4e: Add mu4e-header-field-face, avoid mu-header-key-face cycle
By default, mu4e-header-key-face inherits from message-header-name; this
leads to warnings when we later remap the latter to the former in
mu4e-compose.el.

We don't want to change the definition of mu4e-header-key-face (it's
used widely in mu4e); so we add a new face mu4e-header-field-face
for *just* mu4e-compose and which does not inherit.

Fixes #2321.
2022-08-20 13:29:04 +03:00
Dirk-Jan C. Binnema 48681b8cfb mu4e-server: make buffer invisible
Prepend a SPC to the name so it become "invisible".

Issue #2322.
2022-08-20 12:10:09 +03:00
Dirk-Jan C. Binnema 2ed905ef09 mu4e: update reference manual
Update the build instructions.
2022-08-20 11:58:30 +03:00
Dirk-Jan C. Binnema e416a5215f autotools: remove
Since 2008, autotools has served us well - thank you!

However, mu is now using meson build, and it's time to remove the
autotools support -- one build system is enough.
2022-08-20 11:19:29 +03:00
Dirk-Jan C. Binnema f2ab2f5083 build: bump version to 1.9.0
The start of the new development series.
2022-08-20 11:19:29 +03:00
Dirk-Jan C. Binnema e663a8fbee Merge branch 'release/1.8' 2022-08-15 23:41:30 +03:00
Dirk-Jan C. Binnema cf4201c1ee build: bump version to 1.8.9 2022-08-15 23:18:18 +03:00
Dirk-Jan C. Binnema 52697fd132 tests: add unit-tests for references with fake message-ids
For #2312.
2022-08-15 23:18:18 +03:00
Dirk-Jan C. Binnema b1013d8f0f message: update references() implementation
Clean up the implementation at bit, and filter out 'fake' message-ids,
such as the ones from protonmail.

Update documentation.

Add Mu::Message::thread_id().

This fixes #2312.
2022-08-15 23:18:18 +03:00
Dirk-Jan C. Binnema 11389247c5 tests: update test helpers and users
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
2022-08-15 23:18:18 +03:00
Dirk-Jan C. Binnema 3ba2c4ea08 mu4e-headers: do not nillify mu4e~view-message
In mu4e~headers-clear, do not set mu4e~view~message to nil; it may still
be in use.
2022-08-15 23:15:38 +03:00
Dirk-Jan C. Binnema 6fdc20aeb1 tests: add unit-tests for references with fake message-ids
For #2312.
2022-08-11 23:06:12 +03:00
Dirk-Jan C. Binnema fc88158357 message: update references() implementation
Clean up the implementation at bit, and filter out 'fake' message-ids,
such as the ones from protonmail.

Update documentation.

Add Mu::Message::thread_id().

This fixes #2312.
2022-08-11 23:01:29 +03:00
Dirk-Jan C. Binnema 317fe53ff7 tests: update test helpers and users
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
2022-08-11 22:55:10 +03:00
Dirk-Jan C. Binnema 84cd6942c4 build: bump version to 1.8.8 2022-08-07 12:02:50 +03:00
Dirk-Jan C. Binnema 9aabe74df6 mu4e: add more tests for related/skipdups queries 2022-08-07 12:01:18 +03:00
Dirk-Jan C. Binnema 8a6da6a869 mu4e: be more precise about non-nil in server
As seen in #2310, we should test for non-nil for some parameters rather
then expect them to be literally nil or t.

Also update some docstrings.
2022-08-07 11:47:06 +03:00