Commit Graph

8 Commits

Author SHA1 Message Date
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