Commit Graph

6122 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 65e60a6ed5 indexer: make faster
Remove an (apparently) unneeded lock which help back much of the multi-core
handing.
2022-06-07 23:06:25 +03:00
Dirk-Jan C. Binnema 30c46fba61 message: fix 'changed' test 2022-06-05 15:22:35 +03:00
Dirk-Jan C. Binnema f16224c33a mu4e: don't loop mu4e-update-index when index is empty
Fixes: issue #2240.
2022-06-05 12:08:35 +03:00
Dirk-Jan C. Binnema 3d3fd1aa7a server: add some more logging for read-marking
See what happens with multiple messages.
2022-06-04 00:41:28 +03:00
Dirk-Jan C. Binnema d89820b26b lib/tests: move tests to parent
Otherwise, the coverage checker won't notice them!
2022-06-04 00:41:28 +03:00
Dirk-Jan C. Binnema 015a7ee0cb utils: improve locale_workaround
Fixes: #2270.
2022-06-04 00:41:28 +03:00
Dirk-Jan C. Binnema 0fe8f9a613 mu-util-play: simplify
Remove some unused options
2022-06-04 00:41:28 +03:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 9c59e894db build: bump version to 1.7.26 2022-06-02 21:07:41 +03:00
Dirk-Jan C. Binnema 2ec106a7c5 NEWS.org: update 2022-06-02 21:07:41 +03:00
Dirk-Jan C. Binnema 13f0e24241 lib: improve test coverage
Add a bunch of tests
2022-06-02 21:07:41 +03:00
Dirk-Jan C. Binnema 63521300a3 mu4e: avoid some warnings in doc-generation 2022-06-02 21:04:30 +03:00
Dirk-Jan C. Binnema 2bb16ca7d1 guile: include pre-snarfed code
snarfing is tricky to get to work portably with c++ code. So, for now let's just
include the pre-generated .x files and safe us a bit of time. They're not very
prone to change anyway.
2022-06-02 21:04:30 +03:00
Dirk-Jan C. Binnema a66360eda5 maildir: revamp unit tests
Re-enable many of the tests that were turned off, and update them for the new impl.
2022-05-31 23:43:13 +03:00
Dirk-Jan C. Binnema 26d64ec78f mu-maildir: fix message_file_parts / empty flags
Remove the suffix part even with no flags.

Fixes: issue #2268
2022-05-31 23:41:50 +03:00
Dirk-Jan C. Binnema 022ae9c2e3 result: make assert_valid_result a bit more informative
For unit tests.
2022-05-31 23:39:50 +03:00
Dirk-Jan C. Binnema edce618d7d mu4e-server: add mu4e-kill-stale
Kill off any stale mu4e servers upon startup....

Should help for some corner cases like issue #2198.
2022-05-31 23:35:51 +03:00
Dirk-Jan C. Binnema ce1fea6302 store: log whether a message is 'personal' 2022-05-30 20:31:23 +03:00
Dirk-Jan C. Binnema 734445f78d mu-server: add a bit more debugging info 2022-05-30 20:30:33 +03:00
Dirk-Jan C. Binnema 59022e066d mu4e: revamp emacs bookmark support
The support for emacs in bookmarks in mu4e-contrib has been broken for a while;
we removed it an now re-implement it as part of mu4e-proper.

Fixes: issue #2255.
2022-05-29 12:31:39 +03:00
Dirk-Jan C. Binnema 8720310679 mu4e-contrib: remove bookmark support, cleanup a bit
Bookmark support was broken (and has been for a while). Remove it.
2022-05-29 12:28:42 +03:00
Dirk-Jan C. Binnema 36f4813d01 build: bump version to 1.7.25 2022-05-29 11:10:58 +03:00
Dirk-Jan C. Binnema 5df56896fb lib/meson.build: explicitly add thread_dep
For many setups (local, CI), things work fine without this, but apparently not
for all users. So, add thread_dep explicitly.

Fixes: #2266.
2022-05-29 11:10:58 +03:00
Dirk-Jan C. Binnema cf0f72e4a4 mu4e: use mu4e-config instead of mu4e-meta
All these changes to avoid:

,----
| mu4e/meson.build:92: WARNING: Source item '/home/djcb/Sources/mu/build/mu4e/mu4e-meta.el' cannot be converted to File object, because it is a generated file. This will become a hard error in the future
`----

This is because we want to byte-compile a file we just before generated using
configure_file. This does not seem like a crazy thing, but meson threatens with
breaking the build at some point in the future.

So instead, we decide _not_ to compile this (very boring) file. But, users may
still have an older mu4e-meta.elc lying around, leading to confusion.

So, let's rename that file and we're golden.
2022-05-29 11:10:58 +03:00
Dirk-Jan C. Binnema b1ff292bbb mu: support MUHOME environment variable 2022-05-29 11:10:46 +03:00
Dirk-Jan C. Binnema 926b49220e mu4e-message: remove dead code 2022-05-29 00:17:41 +03:00
Dirk-Jan C. Binnema d5632b9ac9 script: avoid compiler warning 2022-05-29 00:17:41 +03:00
Dirk-Jan C. Binnema dd1b854eca
Merge pull request #2267 from Chris00/master
Make mu4e-message-contact-field-matches accept a list of fields
2022-05-28 23:54:17 +03:00
Christophe Troestler c8fcf4eccf Make mu4e-message-contact-field-matches accept a list of fields
Fixes https://github.com/djcb/mu/issues/2265
2022-05-28 20:08:05 +02:00
Dirk-Jan C. Binnema ffcb59bfd3 utils: add fallback for time_to_string
Still don't understand issue #2230
2022-05-28 00:51:08 +03:00
Dirk-Jan C. Binnema 7e1ecb63eb build: bump version to 1.7.24/463 2022-05-28 00:51:08 +03:00
Dirk-Jan C. Binnema ad6f8f1190 thirdparty: include in EXTRA_DIST
For autotools.
2022-05-28 00:51:08 +03:00
Dirk-Jan C. Binnema 5c161cfdbb lib/tests: add indexing benchmark 2022-05-28 00:51:08 +03:00
Dirk-Jan C. Binnema 0adf91f821 fields: include references in sexp
We need them for setting up replies. This requires a db update.
2022-05-28 00:51:08 +03:00
Dirk-Jan C. Binnema a1f0c5e9eb mu4e: fix emacs-29 bytecompiler warnings
Wrong single quotes.
2022-05-28 00:51:08 +03:00
Dirk-Jan C. Binnema a1461a47f3
Merge pull request #2262 from progfolio/fix/org-link
mu4e-org-store-link: prevent error when no message at point
2022-05-28 00:23:29 +03:00
Nicholas Vollmer f82d5e62b7 mu4e-org-store-link: prevent error when no message at point
The error can cause org-store-link to short circuit before it should.
2022-05-24 17:26:34 -04:00
Dirk-Jan C. Binnema 91dcd19dad tests: improve coverage a bit 2022-05-24 19:36:39 +03:00
Dirk-Jan C. Binnema 046398b1ae utils: avoid compiler warning 2022-05-24 19:36:21 +03:00
Dirk-Jan C. Binnema 277a7e0e10 guile: don't extern-c'ify libguile
Already has it... seems to break compilation on some machines?
2022-05-24 19:35:29 +03:00
Dirk-Jan C. Binnema 52317d815f README.org: update 2022-05-23 23:56:31 +03:00
Dirk-Jan C. Binnema a828a71f24 NEWS.org: update 2022-05-23 23:56:17 +03:00
Dirk-Jan C. Binnema 15abda26e7 mu4e.texi: update documentation 2022-05-23 23:55:41 +03:00
Dirk-Jan C. Binnema 9c9f9ecae3 lib: improve coverage a bit 2022-05-23 23:55:11 +03:00
Dirk-Jan C. Binnema a8cbac04fc Makefile.meson: add support for coverage reports 2022-05-23 23:54:16 +03:00
Dirk-Jan C. Binnema 98a6dfd3fa README.org: update 2022-05-21 18:04:05 +03:00
Dirk-Jan C. Binnema 1b739ec55e clang-format: remove, it's counter-productive
It seems impossible (or at least, too much work) to make it behave as desired.
2022-05-21 18:02:04 +03:00
Dirk-Jan C. Binnema 4cfe78fd02 build: bump version to 1.7.23 2022-05-21 17:48:26 +03:00
Dirk-Jan C. Binnema d8bacf78c8 NEWS.org: update 2022-05-21 17:47:18 +03:00
Dirk-Jan C. Binnema 8eac392221 guile: re-enable the guile support
Update for the internal (Mu::Message) APIs.

Update build.
2022-05-21 17:44:09 +03:00