579f841bdd
query: filter out docs without query-matches
...
This avoid including unwanted messages in threaded results.
Also some cleanups.
2021-02-15 19:11:22 +02:00
6ff9829ce1
lib: improve threaded sorting
...
Improve threaded sorting:
- rework the recursive algo (which should a crash noted earlier)
- sort by thread key (as in 1.5.7)
Fixes : #1923
Fixes : #1922
Fixes : #1911
Fixes : #1916
2021-02-10 12:35:19 +02:00
ba895bc65e
mu-query-result: detect thread-subjects
...
Ongoing... try to determine the thread-subject, to be used in mu4e
later.
2021-01-29 22:44:45 +02:00
e5a52e45fd
mu-threads: improve sorting, duplicate handling
...
And add some more tests.
2021-01-27 22:28:58 +02:00
7f70149c95
threads: don't assert on remove_child
...
Investigate this, seems to hit in the wild.
2021-01-25 21:44:02 +02:00
3e64fdfb0f
threads: avoid assert
...
The assert failure was spotted in the wild... we need to investigate,
but we can ignore it now to avoid SIGABRT.
2021-01-25 18:11:50 +02:00
95dffb98a6
query: Rework querying/threading machinery
...
Rewrite the query machinery in c++:
- use an MSet decorator instead of the mu-msg-iter stuff
- use mu-query-decider to mark duplicates/unreadable/related messages
- use mu-query-threader to replace the older container/thread code
Algorithm did not substantially change, but the implementation details
did.
2021-01-20 14:09:04 +02:00