| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2021-10-20 | osc: use STRLEN() macro to make parse_rgb() more self-documenting | Craig Barnes | -0/+1 | |
| The empty literals in the macro are to ensure the argument itself is a string literal, so it can't be used on anything else. | ||||
| 2021-05-26 | macros: add UNITTEST macro and use to replace test_keymap_lookup() | Craig Barnes | -0/+16 | |
| 2021-02-09 | render: use portable HAS_INCLUDE() wrapper instead of __has_include() | Craig Barnes | -0/+6 | |
| 2021-01-16 | Print stack trace on assert() failure or when calling fatal_error() | Craig Barnes | -3/+18 | |
| Note: this uses the __sanitizer_print_stack_trace() function from the AddressSanitizer runtime, so it only works when AddressSanitizer is in use. | ||||
| 2021-01-03 | Use wrappers from macros.h instead of bare GCC attributes/pragmas | Craig Barnes | -0/+12 | |
| 2021-01-03 | macros: add wrappers for more GCC/Clang attributes/pragmas/builtins | Craig Barnes | -7/+70 | |
| 2021-01-01 | macros: add NOINLINE (__attribute__((noinline))) | Daniel Eklöf | -0/+6 | |
| 2021-01-01 | macros: add CONST (__attribute((__const__))) | Daniel Eklöf | -0/+6 | |
| 2020-10-10 | selection: use appropriate check for PRIMARY paste | Sergey Nazaryev | -128/+3 | |
| Assume it could be a copy-paste typo. We should check PRIMARY, not CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything to CLIPBOARD. | ||||
| 2020-08-07 | Replace GCC "unused" and "format" attributes with portable macros | Craig Barnes | -0/+6 | |
| 2020-08-04 | config: handle allocation failure explicitly | Craig Barnes | -0/+80 | |
