Commit Graph

6122 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 8d2a805672 config: remove help_enabled flag
We of course still have "mu help <command>" but don't suggest help
options that do not exist.

Fixes #1664.
2022-06-30 07:44:03 +03:00
Dirk-Jan C. Binnema ef9351c831 meson: improve coverage target 2022-06-29 22:20:44 +03:00
Dirk-Jan C. Binnema ca8836b631 document: cosmetic 2022-06-29 22:20:34 +03:00
Dirk-Jan C. Binnema 810b9643f4 query: exclude some test code from coverage 2022-06-29 22:20:09 +03:00
Dirk-Jan C. Binnema 97459beed9 maildir: improve testing coverage
Remove some dead/unused code. Update docs. Add test cases.
2022-06-29 22:19:26 +03:00
Dirk-Jan C. Binnema fc25bb2866 server: commit after indexing
So external users see the changes.
2022-06-29 22:18:15 +03:00
Dirk-Jan C. Binnema c4ed3e6ba7 server: fix read-mark propagation
Whenever a message is flagged as 'read', do the same for all the duplicates as well.
This used to work, make it work again.

Fixes #2277
2022-06-29 08:59:40 +03:00
Dirk-Jan C. Binnema 98b0353c00 build: bump version to 1.8.2/465
Some of the changes require re-indexing, so we bump the database
version, too.
2022-06-29 08:00:43 +03:00
Dirk-Jan C. Binnema df80935c2e document: index some sub-parts as well
1. Also add 'normal' terms for some indexable fields
2. Add terms for e-mail address components

And add some tests.

This helps for some corner-case queries (see tests).

Fixes #2278
Fixes #2281
2022-06-29 08:00:43 +03:00
Dirk-Jan C. Binnema 6cb38c8125 mu4e: include version.texi.in for doc generation
We use it for the mu4e ref docs.
2022-06-29 08:00:43 +03:00
Dirk-Jan C. Binnema c1793e0f6b mu4e: generate version.texi in meson build
So docs get the right version
2022-06-29 07:53:27 +03:00
Dirk-Jan C. Binnema 9987ceb7a7 cmd-find: fix link generation
And some minor cleanups.
2022-06-29 07:50:16 +03:00
Dirk-Jan C. Binnema 23ac71e6a7 maildir: add tests for maildir_link / maildir_clear_links 2022-06-29 07:50:16 +03:00
Dirk-Jan C. Binnema eb790727ed build: bump version to 1.8.1 2022-06-26 11:25:11 +03:00
Dirk-Jan C. Binnema 5347c3701c NEWS.org: update 2022-06-26 11:25:11 +03:00
Dirk-Jan C. Binnema 9f3c80f4dd headers: reduced 'related' face priority
Don't use the 'related' face for messages which are *also* unread etc.
2022-06-26 11:25:11 +03:00
Dirk-Jan C. Binnema bdf5e2a9e5 NEWS.org: fix a few typos 2022-06-26 10:25:50 +03:00
Dirk-Jan C. Binnema 9649151362 www: remove from source tree
So it won't end up in packages, either.
2022-06-26 10:16:15 +03:00
Dirk-Jan C. Binnema 84974e19fa build: bump version to 1.8.0 2022-06-25 13:47:37 +03:00
Dirk-Jan C. Binnema d80ae9497c NEWS.org: update
Make some more news, old news.
2022-06-25 13:47:37 +03:00
Dirk-Jan C. Binnema 8ed2c08bad NEWS.org: update
Make some more news, old news.
2022-06-19 10:59:54 +03:00
Dirk-Jan C. Binnema 06891488d1 build: bump version to 1.7.28 2022-06-18 15:25:45 +03:00
Dirk-Jan C. Binnema b43ac49bdf mu4e.texi: remove duplicate iCalendar note
One is enough
2022-06-18 15:25:45 +03:00
Dirk-Jan C. Binnema 0708033e48 build: update autotools build 2022-06-18 15:21:26 +03:00
Dirk-Jan C. Binnema cade7493fd build: fix some compiler warnings 2022-06-18 15:21:26 +03:00
Dirk-Jan C. Binnema 1f9172a008 message: remove x-ms-has-attach check
Apparently, it's not very useful (marks sigs as attachments).
2022-06-16 22:50:36 +03:00
Dirk-Jan C. Binnema f69ad37e7a utils: add regex-split 2022-06-16 22:49:46 +03:00
Dirk-Jan C. Binnema 5e63b8bed3 mu4e-draft: better sender in list-reply dialog
Don't show the raw lisp object.
2022-06-16 22:48:37 +03:00
Dirk-Jan C. Binnema 040d74a326 lib/test-mu-store-query: add aujourd'hui tests
We match aujourd'hui now; add a test.

Fixes #1150.
2022-06-14 23:48:59 +03:00
Dirk-Jan C. Binnema ff8e0455dc mu4e-compose/compose-mail: add brackets for in-reply-to
Seems in some contexts we get them _without_ brackets in other-headers; so let's
fix that up.

Fixes #2273.
2022-06-14 23:48:43 +03:00
Dirk-Jan C. Binnema 48695a1981 query-parser: tidy up
Remove "Data", and use Field directly.
2022-06-14 23:15:27 +03:00
Dirk-Jan C. Binnema 1a84a57e05 mu4e-headers: implement mu4e-headers-toggle-setting
Make it easier to toggle various header-view settings and display them in the mode-line.
2022-06-11 12:07:50 +03:00
Dirk-Jan C. Binnema 5a3306ddfc build: bump version to 1.7.27/464
And update NEWS.org.
2022-06-10 23:29:02 +03:00
Dirk-Jan C. Binnema 412adf3400 query-match-deciders: cosmetics 2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema 40669aae49 message/mime-object: add MimeObject::headers
To get a list of all header values.
2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema 65d2005422 mu4e-update: fix typo 2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema 3aaf29303e mu4e-headers: add calendar mark 2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema 1ec03ce07c message-file: filter out non-file flags
Only take flags from file names that are actually file-flags, not random other
things
2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema 9bf580de3d message: refactor/improve attachment heuristic a bit
Also check for X-MS-Has-Attach
2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema 39dcd08fbe message: add calendar flag
For message that contain calendar invitations
2022-06-10 00:47:31 +03:00
Dirk-Jan C. Binnema 646a672ae0 test-utils: add error test 2022-06-09 00:39:34 +03:00
Dirk-Jan C. Binnema 2f3d1bb522 lib: add tokenizer test tool 2022-06-09 00:39:34 +03:00
Dirk-Jan C. Binnema c1f66059a8 store: fix typo 2022-06-09 00:39:34 +03:00
Dirk-Jan C. Binnema ce28c86803 tests: add store/query test
Add some tests for storing/indexing message and then run queries on them.
2022-06-09 00:39:34 +03:00
Dirk-Jan C. Binnema d38d32c404 query-threads/results: cosmetics 2022-06-09 00:39:34 +03:00
Dirk-Jan C. Binnema 49b97e1b6b message/fields: explicit mark contact fields as IndexableTerm
They were so *implicitly*, but the query parser needs the info so contact fields
can use phrase-searces, too.
2022-06-09 00:04:35 +03:00
Dirk-Jan C. Binnema 699ce5369b build: turn off helgrind for now
Seems we're hitting a false alarm...
2022-06-08 07:51:23 +03:00
Dirk-Jan C. Binnema 7b83605019 mu4e-view: fix naming of temp files 2022-06-07 23:06:33 +03:00
Dirk-Jan C. Binnema 2574c693af man/mu-index.1: update 2022-06-07 23:06:25 +03:00
Dirk-Jan C. Binnema 4379e66b9f bench-store-index: make a bit more realistic
```
             .',;::::;,'.                djcb@evergrey
         .';:cccccccccccc:;,.            -------------
      .;cccccccccccccccccccccc;.         OS: Fedora release 36 (Thirty Six) x86_64
    .:cccccccccccccccccccccccccc:.       Host: MS-7B09 2.0
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 5.17.11-300.fc36.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 6 hours, 16 mins
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 4340 (rpm), 70 (flatpak)
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: zsh 5.8.1
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 3840x2160
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   WM: sway
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   Theme: Adwaita [GTK2]
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   Icons: Adwaita [GTK2]
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Terminal: tilix
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     CPU: AMD Ryzen Threadripper 1950X (32) @ 3.399GHz
cccccc;dNMWXXXWM0::cccccccccccccc:,      GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590
cccccccc;.:odl:.;cccccccccccccc:,.       Memory: 7101MiB / 15881MiB
:cccccccccccccccccccccccccccc:'.
.:cccccccccccccccccccccc:;,..
  '::cccccccccccccc::;,.

```

% make benchmark
ninja -C /home/djcb/Sources/mu/build benchmark
ninja: Entering directory `/home/djcb/Sources/mu/build'
[0/1] Running benchmark suite.
1/1 bench-store-index        OK             17.40s
2022-06-07 23:06:25 +03:00