Commit Graph

6888 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 3123f3e983 mu-error: allow for adding end-user hints 2023-09-16 11:12:16 +03:00
Dirk-Jan C. Binnema 2475b02b89 NEWS.org: update 2023-09-13 23:52:41 +03:00
Dirk-Jan C. Binnema 3ee2ce9647 mu/mu: tweak logging / exception handling 2023-09-13 23:04:44 +03:00
Dirk-Jan C. Binnema 0a12b70d7b utils-file: improve mu_play
implement in terms of run_command
2023-09-13 23:03:51 +03:00
Dirk-Jan C. Binnema 9dcbe1d96c lib: unit tests: improve / better coverage 2023-09-13 23:02:53 +03:00
Dirk-Jan C. Binnema 7c16d080d2
Merge pull request #2552 from dme/devel/misc
mu: Fix "expected command" server error report
2023-09-12 22:28:30 +03:00
Dirk-Jan C. Binnema 01f9fc7bc3 build: bump version to 1.11.19 2023-09-12 21:38:57 +03:00
Dirk-Jan C. Binnema 2f5602b938 unit tests: improve
and add a new one for the indexer
2023-09-12 21:38:57 +03:00
Dirk-Jan C. Binnema 805c5aa287 mu-query: remove unnused move ctor 2023-09-12 21:35:47 +03:00
Dirk-Jan C. Binnema 65460c25b6 mu-info: add some more version info
glib & gmime
2023-09-12 21:35:47 +03:00
Dirk-Jan C. Binnema 976266631c man: update query manpage 2023-09-12 21:35:47 +03:00
David Edmondson a8440bb258 mu: Fix "expected command" server error report 2023-09-12 08:37:10 +01:00
Dirk-Jan C. Binnema 8287b9802e lib: replace mu-bookmarks with mu-query-macros
And add some unit tests.
2023-09-11 23:54:56 +03:00
Dirk-Jan C. Binnema e290158bcd query-xapianizer: map empty range queries to match-nothing
And only run Xapian tests if they are compatible with the version we
have.
2023-09-11 23:51:37 +03:00
Dirk-Jan C. Binnema af9eb36ca0 unit-tests: modernize
Use TempDir, join_paths etc.
2023-09-11 23:51:37 +03:00
Dirk-Jan C. Binnema 567bc001ef lib/doxyfile.in: remove
Not used any longer
2023-09-11 23:51:37 +03:00
Dirk-Jan C. Binnema 2357db5bf1 query-processor: only phrasify indexable terms 2023-09-11 23:51:37 +03:00
Dirk-Jan C. Binnema 8c5f92bacc query-xapianizer: improve testing coverage 2023-09-11 23:51:37 +03:00
Dirk-Jan C. Binnema f6dc1f7427 scanner: add more unit tests 2023-09-11 23:51:37 +03:00
Dirk-Jan C. Binnema 192c67262a lib: hide some code from coverage checking
Parts that are not easy / useful to unit-test
2023-09-11 23:51:37 +03:00
Dirk-Jan C. Binnema 85ad35bd8e utils/unbroken: avoid pre-C++20 compiler warning 2023-09-10 10:15:33 +03:00
Dirk-Jan C. Binnema c8568eecd4 utils/file: add basename/dirname helpers and use them 2023-09-10 10:15:28 +03:00
Dirk-Jan C. Binnema b89e9354ec build: bump version to 1.11.18, update NEWS.org 2023-09-10 08:55:25 +03:00
Dirk-Jan C. Binnema 53c7381929 lib: move index/ into main lib/
simplify things a bit
2023-09-10 08:55:25 +03:00
Dirk-Jan C. Binnema d528b4b818 Merge branch 'wip/djcb/new-query-parser' 2023-09-09 17:58:05 +03:00
Dirk-Jan C. Binnema a4859e27b4 NEWS.org: update for new query-parser 2023-09-09 17:57:42 +03:00
Dirk-Jan C. Binnema 3e5cec0d05 tests: update for new query parser / ngrams 2023-09-09 17:57:42 +03:00
Dirk-Jan C. Binnema 89ed21e0c5 lib: improve printability for some types
A little fmt pixie dust
2023-09-09 17:26:20 +03:00
Dirk-Jan C. Binnema 264bb092f0 support xapian ngrams
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.
2023-09-09 17:26:20 +03:00
Dirk-Jan C. Binnema f6122ecc9e mu-find: add --analyze option
For analyzing queries with the new query-parser.
2023-09-09 11:59:59 +03:00
Dirk-Jan C. Binnema a9bd6e69d3 lib: implement new query parser
Implement a new query parser; the results should be very similar to the
old one, but it adds an Sexp middle-representation, so users can see how
a query is interpreted.
2023-09-09 11:59:59 +03:00
Dirk-Jan C. Binnema 9c28c65d45 utils: handle "unbroken" scripts
Do not removing combining characters from scripts without explicit word
boundaries, such as those for CJK.

Reuse some Xapian code for that.
2023-09-09 11:40:36 +03:00
Dirk-Jan C. Binnema 080cf43b4a build: bump version to 1.11.17 2023-09-05 08:34:27 +03:00
Dirk-Jan C. Binnema 77a8a67f6c move lib/thirdparty to thirdparty/ 2023-09-05 08:34:27 +03:00
Dirk-Jan C. Binnema 3f8381134e test: move test messages to testdata/ 2023-09-05 08:34:27 +03:00
Dirk-Jan C. Binnema b01973205d infodir: allow absolute path
Fixes #2548
2023-09-05 08:34:27 +03:00
Dirk-Jan C. Binnema 4d3d94d7b1
Merge pull request #2547 from progfolio/feat/last-update-special-mode
mu4e: use special-mode for mu4e-last-update-buffer
2023-08-31 23:51:04 +03:00
Nicholas Vollmer 579ef175a9 mu4e: use special-mode for mu4e-last-update-buffer
This buffer is not intended to be edited.
Special mode also allows quickly dismissing via the quit-window binding.
2023-08-31 12:52:30 -04:00
Dirk-Jan C. Binnema 82152d7fb3
Merge pull request #2546 from progfolio/feat/thread-prefix-face
mu4e: propertize thread prefix characters
2023-08-31 18:49:10 +03:00
Nicholas Vollmer 375e684ce6 mu4e: propertize thread prefix characters
Brings visual consistency to unfolded threads.
2023-08-31 11:12:15 -04:00
Dirk-Jan C. Binnema 7859268202 Revert "mu4e-headers: switch to buffer on current frame"
This reverts commit 11b7e5748c.

The change has some unpleasant side-effect (switching to the headers
buffer from whatever you are doing); needs some more thought.
2023-08-31 10:02:36 +03:00
Dirk-Jan C. Binnema 11b7e5748c mu4e-headers: switch to buffer on current frame
We were possible showing the headers on _another_ frame, which is rather
confusing.

HT: Marcel van der Boom.

Fixes #2545
2023-08-30 18:50:15 +03:00
Dirk-Jan C. Binnema 29f2f07070 build: bump version to 1.11.16, update NEWS.org 2023-08-27 11:13:56 +03:00
Dirk-Jan C. Binnema d7f8a64b20 mu: modernize command-line unit tests 2023-08-27 11:07:55 +03:00
Dirk-Jan C. Binnema e1308a9b40 utils: small tweaks 2023-08-27 11:07:55 +03:00
Dirk-Jan C. Binnema c4a141975e mu4e-view: remove 'describe bindings' override
Not sure where it was there in the first place

Fixes #2541.
2023-08-24 23:28:59 +03:00
Dirk-Jan C. Binnema a44c54b04d
Merge pull request #2542 from linj-fork/mu4e-package.el
mu4e: make it conform with `package.el`
2023-08-24 23:20:53 +03:00
Lin Jian 842027fadd
mu4e: generate mu4e-autoloads.el
This file can be used by package.el.
2023-08-24 05:41:14 +08:00
Lin Jian 00f7053d51
mu4e: add mu4e-pkg.el
This file provides information needed by package.el.
2023-08-24 05:41:05 +08:00
Lin Jian e94bf408f2
mu4e: remove mu4e-builddir
It is not used.
2023-08-23 08:08:55 +08:00