545494225a
lib/contacts-cache: improve code
2023-07-11 22:54:01 +03:00
4a405ff4d4
build: better coverage/valgrind targets
2023-07-11 22:54:01 +03:00
6f69f5d482
utils/mu-regex: add move constructor
2023-07-11 22:54:01 +03:00
f3bfdf5add
lib/maildir: use mv for moving to avoid warnings
...
using gio gives some (false, we assume) valgrind warnings, so for now
use 'mv' instead.
Also slightly update the code with some mu_format overtaking format.
2023-07-10 23:17:06 +03:00
18490a818d
store/server: centralize docids-for-msgid
...
No need for two near-identical impls
Remove some dead declarations.
2023-07-10 23:17:06 +03:00
0b4f7c4cbe
lib: xapian-db/store: simplify
...
No need for "pimpl" in xapian-db; keep it simple.
2023-07-10 23:15:40 +03:00
a32b924692
mu: add "unit" tests for 'mu add'
2023-07-10 23:15:40 +03:00
cc65b8b401
utils: add some more helpers for test code
...
Creating and removing (temp) dirs, running mu commands.
2023-07-10 23:15:40 +03:00
904f64aa03
utils/result: add "unwrap" convenience function
2023-07-10 23:15:40 +03:00
31f0c40893
migrate to fmt-based logging in some more places
...
and improve logging.
2023-07-08 10:30:36 +03:00
4171fe14c3
store: removing trailing / for root_maildir
...
Other code depends on that.
2023-07-06 21:49:50 +03:00
75a2cab3f1
message: don't check language without cld2 support
...
No point in checking if we do not have the support.
2023-07-06 21:49:50 +03:00
82235b9d49
fmt: more update to use new fmt-based APIs
2023-07-06 21:49:50 +03:00
91c5a9bac5
store: only write last-change _once_
...
xapian-db does it, no longer needed in store.cc
2023-07-06 21:49:50 +03:00
d96e9cc4ba
mu-info: improve docs; better colors
2023-07-06 19:13:14 +03:00
c59d493296
mu4e: fix mu4e-main-quit-or-bury
...
Typo... fixes #2512 .
2023-07-06 11:01:32 +03:00
e48485cb58
sexp: use fmt for parsing_error
...
Should help with Apple clang build too.
2023-07-05 23:40:36 +03:00
161f7df7b9
build: bump version to 1.11.9
2023-07-05 23:19:34 +03:00
aed1395c53
lib/utils: update library paths
2023-07-05 23:14:34 +03:00
4920b56671
update to use fmt-based apis
...
Not complete, but a first big stab converting users of Mu::Error and
various g_warning & friends, format to the new libfmt-based APIs.
2023-07-05 23:10:13 +03:00
742ca33740
utils: rework Mu::Error and g_ logging macros with fmt
...
A bit more C++ template magic to remove a lot of code.
2023-07-05 23:07:11 +03:00
e6ab61d233
thirdparty: add fmt
...
Add libfmt for formatting strings. With C++23, perhaps we can remove
this. Let's see.
2023-07-05 23:07:11 +03:00
5c878558e0
thirdparty: move {optional,expected}.hpp to tl/
...
Follow upstream naming.
2023-07-05 23:07:11 +03:00
c3a756a207
mu4e: main: add mu4e-main-quit-or-bury
...
So instead of quitting, you can do C-u q to merely bury the buffer.
2023-07-05 20:39:47 +03:00
c5f3894374
message: double-check part-type in Multipart
...
Avoid exception for some messages (unsigned messages with signed
attachment).
2023-07-05 20:39:47 +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
5e184a581f
README.org: don't show WSL2 badge
...
Avoid false advertising
2023-07-02 11:51:13 +03:00
f01e572f75
README.org: mark WSL2 as experimental
2023-07-02 11:49:43 +03:00
f74de792b2
README.org: make a bit more readable
2023-07-02 11:47:29 +03:00
f4183065c3
Makefile: improvements
2023-07-02 11:18:14 +03:00
8fdbe95527
man: small improvements
2023-07-02 11:17:55 +03:00
60b1a5dff7
mu4e/search: clarify sortable fields (threading)
...
When threads are enabled, only sorting by date is possible; make this
clearer in the UI.
Fixes #2507 .
2023-07-02 10:26:09 +03:00
867f3205e2
lib/xapian-db: add missing include unordered_map
2023-07-02 10:08:58 +03:00
d6416fca5e
cli: add mu-cmd-{add,mkdir-remove}.cc
...
Missing from previous.
2023-07-02 10:04:01 +03:00
c4b5795328
cli: support --ignored-address for init command
...
Allow for skipping unwanted addresses (such as 'noreply') from the
contacts cache.
2023-07-02 10:00:40 +03:00
5dc41ed811
lib: support ignoring addresses for contacts-cache
...
Skip annoying 'noreply' & friends.
2023-07-02 00:06:56 +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
c6fff6a281
all: update for API changes (config etc.)
...
Use the new & improved APIs.
2023-07-02 00:06:56 +03:00
2acc1c2271
lib/contacts-cache: rework using config
...
Use the new config class to pass information and serialization.
2023-07-02 00:06:56 +03:00
3791d0c375
lib/store: rework to use xapian-db / config
...
Simplifies the implementation.
2023-07-02 00:06:56 +03:00
c28fde9155
lib: create mu-xapian-db, mu-config
...
XapianDb is a fairly thing wrapper around Xapian, which handles locking,
exception handling and some tracking.
On top of that, Config add a configuration database for type /
introspectable configuration info.
2023-07-02 00:06:56 +03:00
426c1d35d0
thirdparty: bump tl::expected version
2023-06-27 22:43:29 +03:00
fd7c011195
lib: update for api changes, update tests
...
With the new Sexp. And expand unit tests.
2023-06-27 00:53:23 +03:00
ae9607530f
utils/sexp: extend and improve tests
...
Extend functionality for parsing; update documentation, tests.
2023-06-27 00:52:07 +03:00
73f0691662
mu4e-view: restore point in single-window headers buffer
...
In single-window mode, after quitting the view, explicitly restore the
point in the headers view to the last viewed message (just like in split
view mode).
2023-06-25 11:07:45 +03:00
f8fa108090
build: bump version to 1.11.7
2023-06-22 23:52:52 +03:00
32cdc0ce43
Merge pull request #2506 from seanfarley/smf/esc
...
mu4e-util: allow ESC to exit a choice selection
2023-06-22 23:40:20 +03:00
91464002b8
mu4e-util: allow ESC to exit a choice selection
...
I occasionally find myself pressing escape to exit a menu choice in mu4e
and it's a bit unfortunate that nothing happens. As best I could tell,
since this is a C call, none of the keymaps are checked for
`(keyboard-quit)' so we need to explicitly check for ESC here
This was previously fixed in 02b5bc805c
but was inadvertently removed in
0354fa4fac , so more detail was added to
the comment.
2023-06-22 13:17:53 -07:00
0bdab5ae06
contact/display-name: quote "names" with '@'
...
Apparently, some mail servers want this, and gnus doesn't handle it
automatically.
2023-06-12 23:37:39 +03:00
ecf87c5d82
gmime-test: fix leak
2023-06-11 12:23:23 +03:00