summaryrefslogtreecommitdiff
path: root/lib/utils
AgeCommit message (Collapse)Author
2022-05-24utils: avoid compiler warningDirk-Jan C. Binnema
2022-05-23lib: improve coverage a bitDirk-Jan C. Binnema
2022-05-19autotools: improve buildDirk-Jan C. Binnema
*almost* works (except for guile/, which does work yet anyway).
2022-05-19lib: remove some dead code (mu-str/utils)Dirk-Jan C. Binnema
Remove unused library code; recycle some electrons.
2022-05-18utils: fix unsetting timezoneDirk-Jan C. Binnema
2022-05-18tests: skip missing timezones in queries, tooDirk-Jan C. Binnema
2022-05-18test-utils: Skip test if timezone is not availableDirk-Jan C. Binnema
2022-05-17utils: add locale_workaroundDirk-Jan C. Binnema
Attempt to work around some locale handling throwing in some systems. "locale::facet::_S_create_c_locale name not valid" Ugly, but maybe it helps.
2022-05-15mu: improve error reportingDirk-Jan C. Binnema
2022-05-14utils: insist on semicolon after MU_ENABLE_BITOPSDirk-Jan C. Binnema
2022-05-12mu-error: encode retval/flags in enumDirk-Jan C. Binnema
2022-05-06sexp: allow for some prettified string outputDirk-Jan C. Binnema
Allow for adding newlines between list items
2022-05-05store: ensure updates update message sexp tooDirk-Jan C. Binnema
And turn all "add" into "replace" so old messages get removed. Update tests too.
2022-04-30lib: move 3rd party code to thirdparty; add tabulate.hppDirk-Jan C. Binnema
Move 3rd-party code to their own dir, and add the nice tabulate.hpp
2022-04-30utils: update date/size parsing, factor out formatDirk-Jan C. Binnema
And update tests
2022-04-30error: Add some more error codesDirk-Jan C. Binnema
2022-04-30lib/tests: rework in terms of Mu::MessageDirk-Jan C. Binnema
2022-04-18utils: add mu-option.ccDirk-Jan C. Binnema
Was missing.
2022-04-18mu-utils: avoid compiler warningDirk-Jan C. Binnema
2022-04-18mu-result: add assert_valid_resultDirk-Jan C. Binnema
Useful for unit tests
2022-04-18option: rename to to_string_opt and to_string_view_optDirk-Jan C. Binnema
to_option_string -> to_string_opt to_string_view -> to_string_view_opt
2022-04-16utils: add deletable_unique_ptrDirk-Jan C. Binnema
2022-04-16error: Add crypto error codeDirk-Jan C. Binnema
2022-04-16utils: add extra check for #2230Dirk-Jan C. Binnema
2022-04-14utils: include unistd.hDirk-Jan C. Binnema
2022-04-14utils: add TempDir RAII classDirk-Jan C. Binnema
For tests
2022-03-28mu-error: make fill_g_error constDirk-Jan C. Binnema
And add some more error codes.
2022-03-28utils: add seq_someDirk-Jan C. Binnema
2022-03-28lib+guile: use Mu::Option, not std::optionalDirk-Jan C. Binnema
We need the extensions, and/or let's use _one_ optional implementation everywhere.
2022-03-26result: add Err which takes a GErrorDirk-Jan C. Binnema
Convenience
2022-03-26many: update for lib/message updatesDirk-Jan C. Binnema
Adapt to the new names / directory. Big commit, but mostly just very boring renaming.
2022-03-26mu-error: fix typoDirk-Jan C. Binnema
2022-03-26utils: add some handy STL conveniencesDirk-Jan C. Binnema
2022-03-19utils: improve split / joinDirk-Jan C. Binnema
2022-03-13xapian-utils: xapian_try: also catch std::exceptionDirk-Jan C. Binnema
2022-03-13logger: with MU_LOG_STDOUTERR, write logs to consoleDirk-Jan C. Binnema
For debugging
2022-03-07utils: Handle failing g_date_time_new_...Dirk-Jan C. Binnema
Possibly, this caused a crashed under some scenarios (though couldn't reproduce).
2022-03-07utils: add rename has_flag into one_if in BITOPSDirk-Jan C. Binnema
2022-02-26utils: add has_flag to MU_ENABLE_BITOPSDirk-Jan C. Binnema
2022-02-26utils: add STR_V macro for printing string_viewDirk-Jan C. Binnema
2022-02-22utils: some more convenience for error/resultDirk-Jan C. Binnema
2022-02-22utils: rework Mu::splitDirk-Jan C. Binnema
And add some tests, cleanups.
2022-02-22utils/mu-date: removeDirk-Jan C. Binnema
Remove mu-date.[ch] and convert its last users to use time_to_string instead.
2022-02-21utils: improve assert_equal macroDirk-Jan C. Binnema
make it a macro so we get line numbers etc
2022-02-21tests: update namingDirk-Jan C. Binnema
2022-02-20mu-sexp: add some small conveniencesDirk-Jan C. Binnema
2022-02-19mu-store: take mu_util_get_hashDirk-Jan C. Binnema
mu-store is the only user left, move the implementation there.
2022-02-18lib: fix clang compatibility / warningsDirk-Jan C. Binnema
2022-02-17*: update for for mu-maildir changesDirk-Jan C. Binnema
Update the dependencies.
2022-02-17utils/async-queue: appease helgrindDirk-Jan C. Binnema
We used notify_one _outside_ the lock; that should be just fine... but helgrind doesn't like it, so let's appease it.