aboutsummaryrefslogtreecommitdiff
path: root/util.h (unfollow)
Commit message (Collapse)AuthorLines
2024-02-05util: add streq() function and use in place of strcmp(...) == 0Craig Barnes-0/+8
2022-01-13uri: move hex2nibble() to util.hDaniel Eklöf-0/+22
2021-06-24vt: cache grapheme cluster width in composed structDaniel Eklöf-8/+0
* Use regular wcswidth() to calculate the width * Explicitly set to ‘2’ if we see a emoji variant selector * Cache the result in the composed struct
2021-06-24wip: grapheme shapingDaniel Eklöf-0/+8
2021-02-21util: add a sdbm hash implementationDaniel Eklöf-0/+14
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-44/+0
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-05-03util: thrd_err_as_string: fix alignmentDaniel Eklöf-1/+1
2020-05-03util: thrd_err_as_string(): new function, returns a thrd_*() error stringDaniel Eklöf-0/+18
2020-05-01util.h: new header file defining commonly used macrosDaniel Eklöf-0/+5