Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-28 | build: remove about 30 cpu-sec of compile time by explicit instantiation | Jade Lovelace | |
Apparently the fmt contraption has some extremely popular overloads, and the boost stuff in there gets built approximately infinite times in every compilation unit. Change-Id: Ideba2db7d6bf8559e4d91974bab636f5ed106198 | |||
2024-06-16 | libutil: Set boost defines for FreeBSD | Artemis Tosini | |
FreeBSD uses libunwind unwind.h, which does not require `_GNU_SOURCE` to expose `_Unwind_Backtrace`. Tell Boost that. Change-Id: I81e767967b1458118b86d212b5552d4d0a1200d9 | |||
2024-05-09 | add and fix -Wdeprecated-copy | Qyriad | |
*so* many warnings, from only two definitions Change-Id: If2561cd500c05a1e33cce984faf9f3e42a8a95ac | |||
2024-04-15 | abort with a descriptive message on bad HintFmt usage | Qyriad | |
Change-Id: Ic2f05572042343a8160fd971394372f5f2706fc4 | |||
2024-03-26 | Remove `HintFmt::operator%` | Rebecca Turner | |
Change-Id: Ibcf1a7848b4b18ec9b0807628ff229079ae7a0fe | |||
2024-03-26 | build-remote: fix format string shenanigans | K900 | |
HintFmt(string) invokes the HintFmt("%s", literal) constructor, which is not what we want here. Add a constructor with a proper name and call that. Next step: rename all the other ones to HintFmt::literal(string). Fixes: https://git.lix.systems/lix-project/lix/issues/178 Change-Id: If52d2eb8864ceb8663e05992e9d1fffef573d6b8 | |||
2024-03-09 | Merge pull request #9925 from 9999years/fmt-cleanup | eldritch horrors | |
Cleanup `fmt.hh` (cherry picked from commit 47a1dbb4b8e7913cbb9b4d604728b912e76e4ca0) Change-Id: Id076a45cb39652f437fe3f8bda10c310a9894777 | |||
2024-03-04 | Merge pull request #9924 from 9999years/rename-yellowtxt | eldritch horrors | |
Rename `yellowtxt` -> `magentatxt` (cherry picked from commit fb78a99e04206e7b1df84a362bb87d3300b41855) Change-Id: I9ade553d9f499e6713aeff3463c9a653a880a051 | |||
2023-03-31 | Ensure all headers have `#pragma once` and are in API docs | John Ericson | |
`///@file` makes them show up in the internal API dos. A tiny few were missing `#pragma once`. | |||
2023-03-31 | Extend internal API docs, part 2 | John Ericson | |
Picking up from #8111. Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2023-03-02 | Remove FormatOrString and remaining uses of format() | Eelco Dolstra | |
2022-12-07 | Trivial changes from the lazy-trees branch | Eelco Dolstra | |
2022-04-21 | Move hiliteMatches into a separate header | Eelco Dolstra | |
This is mostly so that we don't #include <regex> everywhere (which adds quite a bit of compilation time). | |||
2022-02-25 | Remove std::string alias (for real this time) | Eelco Dolstra | |
Also use std::string_view in a few more places. | |||
2022-01-24 | hiliteMatches(): Style fixes, pass more stuff by reference | Eelco Dolstra | |
2022-01-24 | Add a small documentation for `hiliteMatches` | regnat | |
2022-01-21 | Move hilite_all into libutil and rename it to hiliteMatches | Fishhh | |
The signature was also changed so the function now accepts a vector instead of an iterator | |||
2021-09-14 | ANSI_YELLOW -> ANSI_WARNING | Eelco Dolstra | |
2020-10-07 | Formatting | Eelco Dolstra | |
2020-09-21 | fmt.hh: Don't include boost/algorithm/string/replace.hpp | Eelco Dolstra | |
This cuts compilation time by ~49s. Issue #4045. | |||
2020-06-22 | with normaltxt, elide yellow color code instead of canceling it; use ↵ | Ben Burdette | |
normaltxt on plain_string hintfmt | |||
2020-06-22 | Update src/libutil/fmt.hh | Ben Burdette | |
Co-authored-by: John Ericson <git@JohnEricson.me> | |||
2020-06-19 | remove formathelper | Ben Burdette | |
2020-06-19 | escape percents | Ben Burdette | |
2020-05-06 | implement SysError errno handling | Ben Burdette | |
2020-05-04 | add normaltxt, yellowify->yellowtxt | Ben Burdette | |
2020-04-24 | add has_value check; remove obslete friend class | Ben Burdette | |
2020-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-04-21 | add ErrorInfo to BaseError | Ben Burdette | |