| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-02-16 | utils: update optional & expected | Dirk-Jan C. Binnema | |
| Use the latest upstream versions. | |||
| 2022-02-16 | mu-str: Remove some dead code | Dirk-Jan C. Binnema | |
| 2022-02-16 | mu-error: Better support for GError | Dirk-Jan C. Binnema | |
| Allow filling a GError from a Mu::Error | |||
| 2022-02-16 | utils: Improve Mu::Result | Dirk-Jan C. Binnema | |
| Ensure the Ok() and Err() actually work, and add support for Result<void> | |||
| 2022-02-14 | utils: make MU_ENABLE_BITOPS more constexpr | Dirk-Jan C. Binnema | |
| 2022-02-14 | update code for Mu::MessagePriority | Dirk-Jan C. Binnema | |
| Update dependent code | |||
| 2022-02-07 | build: fix some scan-build warnings | Dirk-Jan C. Binnema | |
| 2022-02-06 | mu-utils: try g_autoptr/g_autofree | Dirk-Jan C. Binnema | |
| It's useful, but let's if it works for all targets. | |||
| 2022-02-06 | utils: validate string before g_utf8_next_char() | Zero King | |
| 2022-01-14 | mu-utils: Fix compiler warning | Dirk-Jan C. Binnema | |
| 2021-11-10 | utils: add Mu::time_to_string | Dirk-Jan C. Binnema | |
| Helper function to format strings (a-la strftime). | |||
| 2021-11-08 | tests: move to subdir, move to meson | Dirk-Jan C. Binnema | |
| De-clutter the source directories a bit. Ensure tests build with meson, and remove from autotools in a few places (no need to do things twice). | |||
| 2021-11-03 | mu: rework xapian dependencies a bit | Dirk-Jan C. Binnema | |
| Reduce the places where we need to include Xapian, and add a few places where the (meson build) didn't explicitly have a Xapian dep where needed. | |||
| 2021-11-02 | utils: add from_gchars | Dirk-Jan C. Binnema | |
| To copy into a std::string & free. | |||
| 2021-11-02 | mu: remove some unneeded code | Dirk-Jan C. Binnema | |
| Dead code, and replace mu_canonicalize_filename with g_canonicalize_filename. | |||
| 2021-10-22 | lib/server: send query results in batches | Dirk-Jan C. Binnema | |
| Instead of one message (header) at a time, send batches of them; this allows for much faster handling in mu4e. | |||
| 2021-10-20 | clang-format: update c/cc coding style | Dirk-Jan C. Binnema | |
| 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-18 | mu-options: avoid clang warning | Dirk-Jan C. Binnema | |
| 2021-10-18 | lib: replace CATCH_BLOCK macros with template magic | Dirk-Jan C. Binnema | |
| 2021-08-08 | utils: use _GNU_SOURCE for S_ISLINK on freebsd | Dirk-Jan C. Binnema | |
| Unbreak FreeBSD build. Fixes: #2079. | |||
| 2021-07-29 | mu: use g_strerror instead of strerror | Dirk-Jan C. Binnema | |
| 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-05-02 | mu-sexp: make lists printable | Dirk-Jan C. Binnema | |
| And some typo fixes | |||
| 2021-04-22 | seperate Mu::format and Mu::vformat | Derek Zhou | |
| 2021-03-16 | utils: cleanup whitespace | Dirk-Jan C. Binnema | |
| 2021-03-16 | utils: Add remove_ctrl | Dirk-Jan C. Binnema | |
| Add a helper function to remove control characters / multi-spaces, and a test. | |||
| 2021-02-12 | build: experimental support for the meson build system | Dirk-Jan C. Binnema | |
| 2021-01-22 | remove some dead code | Dirk-Jan C. Binnema | |
| 2021-01-22 | lib: Update for new querying machinery | Dirk-Jan C. Binnema | |
| Port to c++ and use new APIs. | |||
| 2020-11-28 | utils: Improve option/result types | Dirk-Jan C. Binnema | |
| And add the beginnings of unit tests. | |||
| 2020-11-28 | utils: add RAII stopwatch | Dirk-Jan C. Binnema | |
| For benchmarking | |||
| 2020-11-15 | mu: remove obsolete MU_FEATURE_CRYPTO | Dirk-Jan C. Binnema | |
| 2020-11-15 | utils: add Result / Option types | Dirk-Jan C. Binnema | |
| Add some Rust-style Result/Option types, based on TartanLlama's expected, optional classes. There's std::optional of course, but we can't depend on C++17 yet. | |||
| 2020-11-07 | lib: convert threader/container to c++ | Dirk-Jan C. Binnema | |
| Did change the code much, but it's now compiled as c++ | |||
| 2020-10-31 | lib: improve error handling, cleanups | Dirk-Jan C. Binnema | |
| 2020-10-26 | mu: support json output directly | Dirk-Jan C. Binnema | |
| Allow for dumping json directly from the Sexp structures, so we don't need any external libs (i.e. json-glib) anymore. | |||
| 2020-10-02 | Use g_stat() instead of stat() with GStatBuf | Juan Jose Garcia-Ripoll | |
| 2020-08-15 | mu-sexp: use std::vector instead of std::deque | Dirk-Jan C. Binnema | |
| Using deque gives compilation errors when compiling on MacOS/clang (where it defaults to libc++ rather than gcc's libstdc++) ``` #include <deque> struct Foo { std::deque<Foo> foos; }; int main() { Foo foo; } ``` So, let's use a vector instead; this is a drop-in replacement here, but unfortunately in some future code... | |||
| 2020-07-26 | build: attempt to avoid some libc++ problems | Dirk-Jan C. Binnema | |
| Seems there are problems compiling mu with XCode 11.6 (see build tests); apparently because of libc++ being different from libstdc++. clang++ builds works fine as long as we're using libstdc++. | |||
| 2020-07-25 | Fix typos | Jonas Bernoulli | |
| 2020-07-25 | fix compilation error / clang warnings | Dirk-Jan C. Binnema | |
| 2020-07-13 | Merge pull request #1759 from damon-kwok/fixed-missing-includes | Dirk-Jan C. Binnema | |
| [MSYS2] Added missing include files | |||
| 2020-07-13 | utils/sexp: Clean up API and implementation | Dirk-Jan C. Binnema | |
| Also update the tests and command-parser. | |||
| 2020-07-13 | Added missing include files | damon-kwok | |
| 2020-07-01 | Don't declare mu_str_size_s() with the const attribute. | Todd Carson | |
| When this function is declared const or pure, clang at -O1 or higher optimizes away the call to mu_str_size_s() inside mu_str_size(), so that it ignores its argument and returns whatever is in mu_str_size_s()'s static buffer. Found when test-mu-str failed while testing an update of mu in OpenBSD's ports tree. | |||
| 2020-06-27 | utils: Add async-queue | Dirk-Jan C. Binnema | |
| Like GAsyncQueue, but for c++ | |||
| 2020-06-27 | utils: Add Mu::canonicalize_filename | Dirk-Jan C. Binnema | |
| We need it for unit-tests | |||
| 2020-06-27 | utils: Clean up duration helpers | Dirk-Jan C. Binnema | |
| 2020-06-26 | utils: add async-queue, ansio-printer | Dirk-Jan C. Binnema | |
| Add an async-queue (rougly, GAsyncQueue but in c++ using a deque) Add an ANSI color printer. | |||
| 2020-06-13 | utils/command-parser: Make property key ":" prefix explicit | Dirk-Jan C. Binnema | |
| Avoid a bit of 'magic' so we can catch missing ':' in property :keys easier. | |||
| 2020-06-13 | mu: convert command-line tools to c++ | Dirk-Jan C. Binnema | |
