Dirk-Jan C. Binnema
f43e991468
tests: update
...
Minor updates for the new CLI
2022-11-17 11:00:06 +02:00
Dirk-Jan C. Binnema
cec08ab1ea
script: Rework guile script with new CLI support
...
Integrate the guile scripting a bit better into the mu cmdline.
Rework the old script module for that.
2022-11-17 11:00:06 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
08ffba42b9
mu/cmd: update for new sexp API
...
Makes the code a bit cleaner.
2022-11-07 18:38:03 +02:00
Dirk-Jan C. Binnema
3d97db8ffc
view: be clearer there's no text body found
...
There may have been an html body, but mu-view only shows a text-body;
make that clearer.
Add a test case for an html-only message.
Fixes #2349 .
2022-10-16 00:57:19 +03:00
Dirk-Jan C. Binnema
44d3cefbf7
Merge pull request #2342 from sje30/patch-7
...
Update copyright to 2022
2022-10-02 14:34:34 +03:00
Stephen Eglen
36d006171d
Update copyright to 2022
2022-09-30 20:36:48 +01:00
Dirk-Jan C. Binnema
e416a5215f
autotools: remove
...
Since 2008, autotools has served us well - thank you!
However, mu is now using meson build, and it's time to remove the
autotools support -- one build system is enough.
2022-08-20 11:19:29 +03:00
Dirk-Jan C. Binnema
317fe53ff7
tests: update test helpers and users
...
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
2022-08-11 22:55:10 +03:00
Dirk-Jan C. Binnema
1c57d91e26
mu-find: don't show deleted messages
...
Filter out messages for which there is no corresponding file.
Fixes #2306 .
2022-07-19 21:54:26 +03:00
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
9987ceb7a7
cmd-find: fix link generation
...
And some minor cleanups.
2022-06-29 07:50:16 +03:00
Dirk-Jan C. Binnema
0fe8f9a613
mu-util-play: simplify
...
Remove some unused options
2022-06-04 00:41:28 +03:00
Dirk-Jan C. Binnema
734445f78d
mu-server: add a bit more debugging info
2022-05-30 20:30:33 +03:00
Dirk-Jan C. Binnema
b1ff292bbb
mu: support MUHOME environment variable
2022-05-29 11:10:46 +03:00
Dirk-Jan C. Binnema
cea3167f3e
lib: remove some dead code (mu-str/utils)
...
Remove unused library code; recycle some electrons.
2022-05-19 23:38:49 +03:00
Dirk-Jan C. Binnema
2bc83b3c03
mu-info: turn back on again
...
This reverts commit c708e0996b
.
Doesn't avoid the macos ci crash
2022-05-18 08:22:09 +03:00
Dirk-Jan C. Binnema
c708e0996b
mu-info: temporarily turn off
2022-05-18 08:07:59 +03:00
Dirk-Jan C. Binnema
b03590cca8
tests: skip missing timezones in queries, too
2022-05-18 01:08:40 +03:00
Dirk-Jan C. Binnema
e835c7eea0
build: fix some clang warnings
2022-05-17 22:42:17 +03:00
Dirk-Jan C. Binnema
a46dab2aad
mu: use locale_workaround for tables
...
The tabulate package triggers some locale exception, let's attempt to work
around it.
2022-05-17 22:32:37 +03:00
Dirk-Jan C. Binnema
6e37790012
mu: improve error reporting
2022-05-15 13:40:44 +03:00
Dirk-Jan C. Binnema
619c1c81fe
fields: add sexp column
...
Indicates whether the given field is part of the s-expression.
2022-05-14 20:42:09 +03:00
Dirk-Jan C. Binnema
907751bc7b
test: enable some more
2022-05-13 23:01:33 +03:00
Dirk-Jan C. Binnema
158117e843
mu: Make commands Result-based
...
Use Result<void> as the return value, simplifying some code.
2022-05-12 08:56:13 +03:00
Dirk-Jan C. Binnema
2e9666af0b
store/info: Gather some usage statistics
...
Keep track of the latest-change/latest-index.
2022-05-10 08:16:47 +03:00
Dirk-Jan C. Binnema
81689f0af3
contacts-cache: return most relevant contacts
...
Return in the contacts in *reverse* rank order, i.e. the most relevant come first.
This is useful since we only want the first maxnum contacts, and those should of
course be the most relevant.
Update mu cfind/server as well.
cfind
2022-05-09 22:25:28 +03:00
Dirk-Jan C. Binnema
80d84bf635
store: use Result<Store> builder, add auto upgrade
...
Make it a Result type, and add auto-upgrade (not enabled yet)
Update dependents.
2022-05-09 22:25:28 +03:00
Dirk-Jan C. Binnema
dc69505580
mu-maildir: No need for namespaced function names
...
Mu::mu_maildir_... -> Mu::maildir_...
2022-05-09 22:25:28 +03:00
Dirk-Jan C. Binnema
d79488efdc
avoid warnings, update tests
2022-05-06 22:54:41 +03:00
Dirk-Jan C. Binnema
ec500d3ed4
update documentation
2022-05-06 22:17:53 +03:00
Dirk-Jan C. Binnema
4fc05261ce
message: implement rfc2047-encoding addresses
...
For address names with commas, quotes etc.
2022-05-06 22:17:53 +03:00
Dirk-Jan C. Binnema
da8489d0f6
sexp: allow for some prettified string output
...
Allow for adding newlines between list items
2022-05-06 22:17:53 +03:00
Dirk-Jan C. Binnema
f9550f3cb6
mu: merge flags into fields command
...
One is enough
2022-05-06 22:17:53 +03:00
Dirk-Jan C. Binnema
62e546a4e2
autotools: fix build
2022-05-05 23:40:56 +03:00
Dirk-Jan C. Binnema
87c122d1bc
cmd-cfind: fix the "--after" handling
...
Use the message-date
2022-05-05 01:40:17 +03:00
Dirk-Jan C. Binnema
e6c3718253
cmd-extra: remove debug output
2022-05-05 01:40:17 +03:00
Dirk-Jan C. Binnema
6126d7ee62
store: ensure updates update message sexp too
...
And turn all "add" into "replace" so old messages get removed.
Update tests too.
2022-05-05 01:40:17 +03:00
Dirk-Jan C. Binnema
85fed37870
message/document: update sexp on the fly
...
Keep the sexp for the document up to date during scan / change, instead of
having a separate step.
2022-05-05 01:40:17 +03:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
9dd1aaeef5
cmd: update commands and tests for Message
2022-04-30 10:40:45 +03:00
Dirk-Jan C. Binnema
8db299ea05
commands: Updated 'find' and 'index' to use Mu::Message
2022-04-30 10:40:45 +03:00
Dirk-Jan C. Binnema
b21263da4a
autotools: minor updates
2022-04-18 22:40:46 +03:00
Dirk-Jan C. Binnema
374d708024
mu: update 'extract'
2022-04-18 22:26:04 +03:00
Dirk-Jan C. Binnema
6b8f7db693
mu: update 'verify' command for message changes
2022-04-18 22:26:04 +03:00
Dirk-Jan C. Binnema
c0fe17eb1d
test-mu-cmd: minor tweaks for message update
2022-04-18 22:26:04 +03:00
Dirk-Jan C. Binnema
66ee2004fc
mu: extract Message::Options from command-line
2022-04-18 22:04:33 +03:00
Dirk-Jan C. Binnema
7c51bc68d4
option: rename to to_string_opt and to_string_view_opt
...
to_option_string -> to_string_opt
to_string_view -> to_string_view_opt
2022-04-18 22:04:33 +03:00
Dirk-Jan C. Binnema
478ef67fc6
flags: rename flags_to_string -> to_string
...
For consistency.
2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema
e74a84c7a2
cmd-verify: honor the auto-retrieve flag
2022-04-16 16:20:38 +03:00