summaryrefslogtreecommitdiff
path: root/tests/unit/gui/test-gui-chat.cpp
AgeCommit message (Collapse)Author
2023-01-01core: update copyright datesSébastien Helleu
2022-12-10core: do not display non printable chars, fix function utf8_char_size_screenSébastien Helleu
Now the function utf8_char_size_screen can return -1 when the char is not printable. It has a specific behavior for some chars: - U+0009: value of option weechat.look.tab_width - U+0001 to U+001F (except U+0009): 1 - U+00AD (soft hyphen): -1 - U+200B (zero width space): -1
2022-01-30core: add support of date and tags in messages displayed in buffers with ↵Sébastien Helleu
free content, add function printf_y_date_tags (closes #1746)
2022-01-30tests: add tests on gui_chat_printf_date_tags with past date and tagsSébastien Helleu
2022-01-29tests: add tests on GUI chat functionsSébastien Helleu
Functions tested: - gui_chat_utf_char_valid - gui_chat_char_size_screen - gui_chat_strlen - gui_chat_strlen_screen - gui_chat_string_add_offset - gui_chat_string_add_offset_screen - gui_chat_string_real_pos - gui_chat_string_pos - gui_chat_get_word_info - gui_chat_printf_date_tags_internal - gui_chat_printf_date_tags - gui_chat_printf_y