Commit Graph

6196 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 7cfed8ecf1 bump version to 1.8.15 2023-08-21 18:47:26 +03:00
Dirk-Jan C. Binnema 8f80b5716f message: fix user-after-scope in test 2023-08-21 18:47:26 +03:00
Dirk-Jan C. Binnema 45d7fb758e lib: fix g++13 compilation
Include stdint.h
2023-08-21 18:47:10 +03:00
Dirk-Jan C. Binnema 378a0d6dd0 mu-error.h: fix compilation
Newer gcc doesn't implicitly load cinttypes.
2023-08-06 09:39:44 +03:00
Dirk-Jan C. Binnema f48402ce65 build: bump version 1.8.14 2023-01-29 12:18:51 +02:00
Dirk-Jan C. Binnema 38c18f11f2 mu-store: create mu cache path if needed 2023-01-29 12:16:24 +02:00
Marcel van der Boom 41c7c6b0d5 Fix empty 'To:' header on reply to icalendar invitation
On reply to an ical invitation the To: header stayed empty, this fixes that.

The 'Reply-To' data is set if it is not there and if the emaill was different from the Organizer so
that the msg can be further treated by the draft construct functions.

This issue is briefly mentioned in issue #2305
2022-12-12 10:41:59 +02:00
Dirk-Jan C. Binnema 0fd9020726 mu-utils: use const char* from for time_to_string
To avoid lifetime problems with some(?) compilers.
2022-12-12 10:41:07 +02:00
Dirk-Jan C. Binnema 3b1d1edd46 mu4e-headers: appease byte-compiler 2022-12-08 23:19:50 +02:00
Dirk-Jan C. Binnema 093efefb98 mu4e-headers: fallback to :subject for :thread-subject
If we're not showing threads, use the normal subject.

Fixes #2341.
2022-12-08 21:55:27 +02:00
Dirk-Jan C. Binnema 9f50ad9cf5 mu-query-match-decider: add 'Related' to flags
We were _replacing_ the flags (such as Duplicate), but we should add to
them instead.

Add a unit-test for this.
2022-12-08 19:40:15 +02:00
Dirk-Jan C. Binnema 1b2fb3b9bd build: bump version to 1.8.13 2022-12-06 10:23:41 +02:00
Dirk-Jan C. Binnema 1ae32702ab mu4e-server: make buffer invisible
Prepend a SPC to the name so it become "invisible".

Issue #2322.
2022-12-06 10:21:34 +02:00
Dirk-Jan C. Binnema 89d3eae075 build: bump version to 1.8.12 2022-12-06 09:56:54 +02:00
Dirk-Jan C. Binnema bc02aaa413 mu4e-headers: fix mu4e-headers-toggle-setting 2022-12-06 08:32:17 +02:00
Aleksei Atavin 523a458239 mu4e: temporary reset browse-url-handlers in view in xwidget action
If `browse-url-handlers` is set `mu4e-action-view-in-xwidget` function
tries to open url in the handler first instead of xwidget. This is
happening because `browse-url` first checks `browse-url-handlers` and
`browse-url-browser-function` after.

Signed-off-by: Aleksei Atavin <axeoman@gmail.com>
2022-12-06 08:31:42 +02:00
Dirk-Jan C. Binnema e2c62aa6d1 utils/mu-utils-format: add missing includes 2022-11-12 08:31:33 +02:00
Dirk-Jan C. Binnema 7a00a519cb build: reduce compiler warnings on clang 2022-11-12 08:18:10 +02:00
Dirk-Jan C. Binnema 6fdad71cfe test-mu-store-query: make move/refresh test more rigorous 2022-10-30 11:40:46 +02:00
Dirk-Jan C. Binnema 81bc10ebf9 mu-maildir: improve error handling / reporting 2022-10-30 11:40:46 +02:00
Dirk-Jan C. Binnema dbb83aaab7 test-mu-store-query: add unit test for dup message
For ticket #2327. Haven't been able to reproduce though.
2022-10-30 11:40:46 +02:00
Dirk-Jan C. Binnema f333209287 store: fix move ctor
indexer_ is holding a ptr to the _old_ store; clear it so it gets
regenerated.
2022-10-30 11:40:46 +02:00
Dirk-Jan C. Binnema 4924daef6c bump version to 1.8.11 2022-10-24 23:19:15 +03:00
Daniel Colascione fcfbbcacfe message: use fake Message-ID when empty
Previously, mu generated a fake message ID for messages without a
Message-ID header. This fake message ID allows these messages to show in
an --include-related query. However, if a message contained a Message-ID
header with the value equal to the empty string, we did not generate a
fake message ID in the index, and consequently, these messages failed to
appear in an --include-related query. This change uses a fake message ID
when the Message-ID header is absent _or_ empty.
2022-10-24 23:17:39 +03:00
Dirk-Jan C. Binnema c169049064 build: add explicit check for charconv
Some older Apple compilers don't have it; error out early.

Fixes #2347.
2022-10-17 07:45:08 +03:00
Dirk-Jan C. Binnema fea4cee3d9 mu-fields: fix string format 2022-10-17 07:42:18 +03:00
Dirk-Jan C. Binnema 9f096a2ba6 mu4e: update outdated doc for mime-part actions
As noted in #2351.
2022-10-17 07:42:09 +03:00
Dirk-Jan C. Binnema 3c9e93228a view: be clearer there's no text body found
There may have been an html body, but mu-view only shows a text-body;
make that clearer.

Add a test case for an html-only message.

Fixes #2349.
2022-10-17 07:41:14 +03:00
Dirk-Jan C. Binnema 656c8d9c6f test-mu-msg.cc: fix unit test
Fix typo.
2022-10-03 22:16:37 +03:00
Stephen Eglen f438720a9f Update copyright to 2022 2022-10-03 22:16:29 +03:00
Dirk-Jan C. Binnema d8b902f404 mu4e: headers: Fix copy-pasta m-h-thread-first-child-prefix
Fixes #2334.
2022-10-03 22:16:21 +03:00
Dirk-Jan C. Binnema a5291e6551 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-10-03 22:16:12 +03:00
Dirk-Jan C. Binnema 82cbe677e3 build: bump version to 1.8.10 2022-09-14 23:34:44 +03:00
Dirk-Jan C. Binnema 82f2ef1154 mu4e: remove some dead code in headers 2022-09-14 23:28:00 +03:00
Tassilo Horn 3a32adc7ec Fix wrong cl-case usages where emacs 29 errors on byte-compilation now 2022-09-14 23:27:51 +03: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 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 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 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 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
Dirk-Jan C. Binnema a4b8471ba6 mu4e: fix mu4e-action-add-org-contact for new format
The sexp address format changed, but mu4e-action-add-org-contact wasn't.

Fixes #2306.
2022-07-28 07:29:31 +03:00
Dirk-Jan C. Binnema c4388b78b6 buld: bump version to 1.8.7 2022-07-24 12:47:47 +03:00
Dirk-Jan C. Binnema 2be36a949d NEWS.org: update 2022-07-24 12:46:19 +03:00