aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/fmt.hh
AgeCommit message (Collapse)Author
2022-12-07Trivial changes from the lazy-trees branchEelco Dolstra
2022-04-21Move hiliteMatches into a separate headerEelco Dolstra
This is mostly so that we don't #include <regex> everywhere (which adds quite a bit of compilation time).
2022-02-25Remove std::string alias (for real this time)Eelco Dolstra
Also use std::string_view in a few more places.
2022-01-24hiliteMatches(): Style fixes, pass more stuff by referenceEelco Dolstra
2022-01-24Add a small documentation for `hiliteMatches`regnat
2022-01-21Move hilite_all into libutil and rename it to hiliteMatchesFishhh
The signature was also changed so the function now accepts a vector instead of an iterator
2021-09-14ANSI_YELLOW -> ANSI_WARNINGEelco Dolstra
2020-10-07FormattingEelco Dolstra
2020-09-21fmt.hh: Don't include boost/algorithm/string/replace.hppEelco Dolstra
This cuts compilation time by ~49s. Issue #4045.
2020-06-22with normaltxt, elide yellow color code instead of canceling it; use ↵Ben Burdette
normaltxt on plain_string hintfmt
2020-06-22Update src/libutil/fmt.hhBen Burdette
Co-authored-by: John Ericson <git@JohnEricson.me>
2020-06-19remove formathelperBen Burdette
2020-06-19escape percentsBen Burdette
2020-05-06implement SysError errno handlingBen Burdette
2020-05-04add normaltxt, yellowify->yellowtxtBen Burdette
2020-04-24add has_value check; remove obslete friend classBen Burdette
2020-04-21remove 'format' from Error constructor callsBen Burdette
2020-04-21add ErrorInfo to BaseErrorBen Burdette