| Age | Commit message (Collapse) | Author |
|
Ensure the cached message sexp gets updated in all cases where it's necessary.
|
|
'Phrasable' is probably a bit clearer description.
|
|
Xapian supports an "ngrams" option to help with languages/scripts
without explicit wordbreaks, such as Chinese / Japanese / Korean.
Add some plumbing for supporting this in mu as well. Experimental for
now.
|
|
This makes queries where we don't need the sexp much faster; e.g.
before:
mu find "a" --include-related 47,51s user 2,68s system 99% cpu 50,651 total
after:
mu find "a" --include-related 7,12s user 1,97s system 87% cpu 10,363 total
|
|
We were dumping the HTML-parts as-is in the Xapian indexer; however,
it's better to remove the html decoration first, and just pass the text.
We use the new built-in html->text scraper for that.
|
|
and improve logging.
|
|
Not complete, but a first big stab converting users of Mu::Error and
various g_warning & friends, format to the new libfmt-based APIs.
|
|
This is a bit of hack to include html text in results.
Of course, html text is not really plain text, so this is a bit of a
hack until we introduce some html parsing step.
|
|
Update for API changes.
|
|
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
|
|
|
|
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
|
|
|
|
Keep the sexp for the document up to date during scan / change, instead of
having a separate step.
|
|
Some flags (such as 'personal') can only be set just before storing; so allow
for update the flags.
|
|
Instead of the Field::Id, keep a specific Contact::Type so we can distinguish
Sender, ReplyTo as well.
Update dependents.
Some cleanup.
|
|
Update many of the field flags; remove obsolete ones.
Ensure they are handled correctly in mu-document
|
|
Add more of the Message class (and various helpers), which are to replace all
the `mu-msg-*` code.
Add more tests.
|
|
Basically, move/rename lib/mu-message* to lib/mu-*.
Add the beginnings of a Message class.
|