| Age | Commit message (Collapse) | Author |
|
And update tests as well.
|
|
|
|
With the ~--eval~ option you can evaluate an expression in mu/scm
environment. For example:
$ mu scm --eval \
'(format #t "found ~d match(es)\n" (length (mfind "hello")))'
found 7173 match(es)
Add command-line parameter and implement.
|
|
Esp., better handle the 'no subcommand' case: give the user some more useful
help.
|
|
- don't make assumptions on where programs live (i.e., /bin/sh, /bin/rm,
/bin/mv) are not universal
- dont invoke shell when unnecessary
- improve error-handling
|
|
When `--quiet` is passed (and not --debug), do not log with g_message at
startup.
|
|
Update names, docs etc.
|
|
Split labels-cache and store-labels.
|
|
E.g. with unexpected termination for mu it is possible that the
labels-cache (i.e., the one that is used for auto-completion) gets disconnected
from reality.
Add a --restore option to `mu label list` to restore the actual labels from the
labels seen in the store.
|
|
|
|
|
|
|
|
Split run_script / run_repl more clearly; update callers.
|
|
Add a --listen option for the server
Rework the option code to share the --listen / socket-path code between scm and
server subcommands.
Move option off the stack in mu.cc, seems it's too big, at least when using gdb.
|
|
Implement running the REPL on background thread. That way, we can _share_ the
store&.
|
|
Support the --listen flag to mu scm, to start listening on a Unix domain socket.
|
|
Move the import/export code to 'lib'.
|
|
This broke the build earlier.
|
|
Add a label command and document it.
|
|
Build the tests lazily, i.e., not before `meson test`. This helps with
build-times.
|
|
And update users.
Please enter the commit message for your changes. Lines starting
|
|
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.
|
|
We don't want/need it otherwise, and in fact it triggers build failures when
guile (but not scm) is enabled.
Fixes #2861.
|
|
Add the (options) procedure + docs.
Some internal tweaks / clean-ups.
|
|
|
|
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.
|
|
Add the "scm" command, the way to get a Guile/Scheme shell.
This is experimental but will replace the current guile support in guile/ at
some point.
|
|
Move some of the code in from the command-line tool to contacts-cache, for
possible re-use. Clean up a bit while doing so.
|
|
|
|
The content-flags won't change, and the unread-flag can be re-calculated.
Add a unit test, and some small doc improvements.
Fixes #2831.
|
|
This makes things a bit more uniform with all the places where we use
"personal".
--my-address remains as an alias for the command-line option.
Add unit test.
Resolves #2806.
|
|
Implement a new experimental json2 format for mu-find, which gets rid of
the ":" prefixes for fields, i.e., "subject" instead of ":subject".
Document it as well.
|
|
|
|
This doesn't play well with shells that don't expand options (such as
bash) in combination with "ExpandPath".
Fixes #2793.
|
|
Fixes #2790.
|
|
And add the display of combination-fields to 'mu info fields'.
|
|
Allow searching for message that have the given message-id in
References: or Reply-To:
|
|
|
|
Ensure that `maildir` is an absolute and _canonical_ path when user passes
a custom maildir path using `mu init --maildir PATH`
|
|
Of course, after merging some problems come up.
Let's fix those first.
This reverts commit f2f01595a51380ae38aafb4cd11a0d3c17a33a10.
|
|
To ensure all Xapian rw commands happen in the same thread.
|
|
Only include xapian.h in one place, so we can have consistent options.
With that in place, we can enable C++ move semantics.
We don't do anything with that yet, but we check in the meson.build file
to see if we have the required xapian version.
|
|
netbsd needs this explicitly, other systems let us get away without it.
|
|
|
|
I.e. without having to reinit explicitly.
|
|
So we can be sure the regexp is initialized. This _may_ help for
https://bugzilla.opensuse.org/show_bug.cgi?id=1221861
though it is very hard to tell!
|
|
just to check if it works at all; no need to check cld2 at all.
|
|
|
|
While not recommended, sometimes it can be useful to disable building
the unit tests. This can be done now with
meson -Dtests=disabled build
|
|
Re-instate the guessing that's in the manpage. Add unit tests.
Update documentation.
Fixes #2616.
|