ladybird/Userland/DevTools
MacDue 9a120d7243 AK: Add support for "debug only" formatters
These are formatters that can only be used with debug print
functions, such as dbgln(). Currently this is limited to
Formatter<ErrorOr<T>>. With this you can still debug log ErrorOr
values (good for debugging), but trying to use them in any
String::formatted() call will fail (which prevents .to_string()
errors with the new failable strings being ignored).

You make a formatter debug only by adding a constexpr method like:
static constexpr bool is_debug_only() { return true; }
2023-01-13 21:09:26 +00:00
..
GMLPlayground Userland: Remove a bunch of unveil calls on /sys/kernel/processes 2023-01-13 13:41:30 +01:00
HackStudio LibCore+Userland: Make Core::Timer::create_repeating() return ErrorOr 2023-01-12 11:25:51 +01:00
Inspector LibGUI+Everywhere: Use fallible Window::set_main_widget() everywhere :^) 2023-01-06 13:36:02 -07:00
Profiler Userland: Use Core::Timer::create_foo() factory functions where possible 2023-01-12 11:25:51 +01:00
SQLStudio LibGUI+Userland: Rename try_load_from_gml() -> load_from_gml() :^) 2023-01-07 14:39:30 +01:00
UserspaceEmulator AK: Add support for "debug only" formatters 2023-01-13 21:09:26 +00:00
CMakeLists.txt DevTools: Remove i686 support 2022-12-28 11:53:41 +01:00