Dirk-Jan C. Binnema
9020389a56
mu-cmd-find: Fix links ouput
...
Special case the footer/header for the links output. Small code
cleanups.
Fix error in docs.
Fixes : #2035 .
2021-06-11 10:40:01 +03:00
Dirk-Jan C. Binnema
950883ad39
cmd-find: show thread-paths with --debug
...
For... debugging.
2021-02-15 18:41:28 +02: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
c8ab816b37
mu-find: don't pre/post none-message
...
This gives a runtime-error. Since some tools (like mu4e-alert) merge
stderr & stdout, they get confused.
Fixes : #1914 .
2021-01-27 18:58:00 +02:00
Dirk-Jan C. Binnema
9260e4cbe2
mu: avoid some compiler warnings
2021-01-24 14:43:38 +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
c7a874b8d6
lib: convert threader/container to c++
...
Did change the code much, but it's now compiled as c++
2020-11-07 11:43:11 +02:00
Dirk-Jan C. Binnema
2804087b3a
mu: use updated Query API
2020-11-04 23:35:30 +02:00
Dirk-Jan C. Binnema
d2aa1f91b0
mu: support json output directly
...
Allow for dumping json directly from the Sexp structures, so we don't
need any external libs (i.e. json-glib) anymore.
2020-10-26 18:39:56 +02:00
Dirk-Jan C. Binnema
d1b0938187
mu-cmd-cfind: include <array>
2020-08-15 11:04:36 +03:00
Dirk-Jan C. Binnema
5402e00fc5
mu-cmd-find: don't mark rainbow constexpr
...
clang/libc++ don't allow constexpr:
```
mu-cmd-find.cc:498:40: error: constexpr variable cannot have non-literal type 'const std::array<Color, 6>' (aka 'const array<Mu::MaybeAnsi::Color, 6>')
constexpr std::array<Color, 6> rainbow = {
```
So let's make it mere `const` instead.
2020-08-15 10:51:04 +03:00
Dirk-Jan C. Binnema
148c906d8a
fix compilation error / clang warnings
2020-07-25 11:26:08 +03:00
Dirk-Jan C. Binnema
092084b987
cmd: Update find, server for Sexp changes
2020-07-13 21:43:59 +03:00
Dirk-Jan C. Binnema
4e6bd7dfdf
lib/index: Implement new indexer
...
Implement a new message indexer consisting of a single-threaded scanner
and a multi-threaded indexer.
This allows for a number of optimizations as well as background
indexing, though this initial version should be behave similar to the
old indexer.
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