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
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
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
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
f9550f3cb6
mu: merge flags into fields command
...
One is enough
2022-05-06 22:17:53 +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
6b8f7db693
mu: update 'verify' command for message changes
2022-04-18 22:26:04 +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
e74a84c7a2
cmd-verify: honor the auto-retrieve flag
2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema
d2e8cd0f34
cmd verify: rework in terms of Message
2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema
ad12e83eb5
cmd view/extract: rework in terms of Message
2022-04-16 16:20:38 +03:00
Dirk-Jan C. Binnema
b21e5a57b8
extract: rework in terms of Mu::Message
...
Use the new message class
2022-03-28 22:36:32 +03:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
af87cde217
utils/mu-date: remove
...
Remove mu-date.[ch] and convert its last users to use time_to_string instead.
2022-02-22 23:07:29 +02:00
Dirk-Jan C. Binnema
a82bd77d09
lib: rename contacts into contacts-cache
...
Plus dependents.
2022-02-21 23:22:42 +02:00
Dirk-Jan C. Binnema
4eabf1a64a
*: update for for mu-maildir changes
...
Update the dependencies.
2022-02-17 23:48:59 +02:00
Dirk-Jan C. Binnema
d2a75f600d
tickle: remove
...
Remove the hidden 'tickle' command; it wasn't really advertised so I'm sure
nobody is using it (xkcd/1172).
Well, it'd need to be reworked anyway.
2022-02-17 23:48:59 +02:00
Dirk-Jan C. Binnema
3820118246
store: rename "metadata" into "properties"
...
properties are the constant (for the duration) values for a store; metadata may
change, so reserve that name for that.
2022-02-14 11:12:26 +02:00
Dirk-Jan C. Binnema
3dd721d5a3
clang-format: update c/cc coding style
...
Update all cc code using .clang-format; please do so as well for future PRs
etc.; emacs has a handy 'clang-format' mode to make this automatic.
For comparing old changes with git blame, we can disregard this one using
--ignore-rev
(see https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame )
2021-10-20 12:26:16 +03:00
Dirk-Jan C. Binnema
c8a2151cb9
mu: use g_strerror instead of strerror
...
Some #includes were missing for the latter (but only noticeable on some
systems - e.g., build breaks on Cygwin).
So let's replace with something that works equally everywhere.
Fixes : #2060
2021-07-29 00:02:30 +03:00
Dirk-Jan C. Binnema
72fdfec3eb
lib: clean up mu_msg_to_sexp API
...
move out the QueryMatch
2021-01-29 22:39:21 +02:00
Dirk-Jan C. Binnema
01ced9a356
mu: Update for new querying APIs
2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema
a1d1619bda
use c++ for some more sources
...
Do a (superficial) port to c++ of some of the c sources. Update
deps. Fix a few compiler warnings.
2020-11-07 14:11:59 +02:00
Dirk-Jan C. Binnema
2804087b3a
mu: use updated Query API
2020-11-04 23:35:30 +02:00
Dirk-Jan C. Binnema
148c906d8a
fix compilation error / clang warnings
2020-07-25 11:26:08 +03:00
Dirk-Jan C. Binnema
10dbddec79
mu-cmd: Use the new Store API
2020-06-27 17:07:00 +03:00
Dirk-Jan C. Binnema
68533cee0d
mu: use g_printerr for errors, instead of g_warning
...
With the new logging setup, we need g_printerr
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema
a9fab4abcc
mu: convert command-line tools to c++
2020-06-13 16:56:41 +03:00