Commit Graph

22 Commits

Author SHA1 Message Date
46fa4f2aa2 mu: add 'label' command + manpage + tests
Add a label command and document it.
2025-08-15 21:03:19 +03:00
4c2ce92a15 cli11: prefer system package if found
mu embeds a "vendored" version of libcl11 under thirdparty/; but it's
better to use the system-package if the user has one.

So, use the system package if found or user -Duse-embedded-cli11=true is
specified.
2025-07-24 19:55:27 +03:00
527d9322e9 scm: new guile/scheme bindings
This implements the new scm/guile bindings for mu, to replace the deprecated
guile/ (at some point in the future).

For now, we allow for creating a guile shell with mu support.
2025-06-19 14:55:33 +03:00
30b8238522 tests: move to tests/, make optional
While not recommended, sometimes it can be useful to disable building
the unit tests. This can be done now with
    meson -Dtests=disabled build
2024-01-06 18:35:22 +02:00
b4c768e6d0 mu-init: guess maildir when --maildir is missing
Re-instate the guessing that's in the manpage. Add unit tests.
Update documentation.

Fixes #2616.
2024-01-01 10:33:03 +02:00
0a5845fe8b mu-index: add unit tests 2023-12-29 22:28:10 +02:00
2d20074b99 mu-move: add new move sub command
Add sub-command to move messages; add tests and docs.

Fixes #157
2023-09-24 17:29:08 +03:00
d7f8a64b20 mu: modernize command-line unit tests 2023-08-27 11:07:55 +03:00
1f0342a91f mu-view: add unit-test 2023-07-28 19:43:46 +03:00
ecb3c9139f mu-mkdir: add unit tests 2023-07-19 08:48:44 +03:00
0cb78fe4d1 mu-remove: add unit test 2023-07-18 21:33:59 +03:00
a32b924692 mu: add "unit" tests for 'mu add' 2023-07-10 23:15:40 +03:00
9004363aa5 cli: merge 'fields' with 'info' command
Update the 'info' command to handle 'fields' as well; remove
fields.
2023-07-05 20:39:47 +03:00
960a436e77 cli: split off commands into their own .cc files
Smaller files are easier to manage
2023-07-02 00:06:56 +03:00
36f6e387ae mu: implement new command-line parser
Implement a new command-line parser, based on CLI11.

It's a bit more C++'ish, and allows for a lot of fancy things... some of
which we have implemented here.

Update the various commands to use the new Options struct

Remove the old help strings; instead e.g. `mu help view` opens the
manpage.

Integrate the guile scripts more tightly.
2022-11-17 11:00:06 +02:00
8f9d1e5e60 mu: add fields/flags commands
Useful information for devising queries.

Directly generated from the source. Add manpages, too.
2022-05-05 01:38:25 +03:00
f7c84006d7 many: update for lib/message updates
Adapt to the new names / directory. Big commit, but mostly just very boring renaming.
2022-03-26 17:19:10 +02:00
169921fd21 mu: improve help text generation 2022-02-17 23:49:17 +02:00
48d3f9cfab tests: move to subdir, move to meson
De-clutter the source directories a bit. Ensure tests build with meson, and
remove from autotools in a few places (no need to do things twice).
2021-11-08 23:58:05 +02:00
1c851315ca build: ensure correct xapian.h is found 2021-11-03 22:13:49 +02:00
13c8879305 mu: move test sources to tests/ 2021-11-02 22:12:15 +02:00
7a70942e67 build: experimental support for the meson build system 2021-02-12 00:49:35 +02:00