summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2022-12-10core: replace call to memcpy by utf8_strncpySébastien Helleu
2022-11-20core: fix typo in commentSébastien Helleu
2022-11-11core: add identifier in buffer lines (closes #901)Sébastien Helleu
For buffers with formatted content, the "id" starts to 0 on each buffer and is incremented on each new line displayed (it is reset to 0 if reaching INT_MAX). For buffers with free content, the "id" is set to the same value as "y" (ie the line number, starting to 0).
2022-11-08core: add signals "buffer_user_{input|closing}_xxx" for buffers created with ↵Sébastien Helleu
`/buffer add` (closes #1848)
2022-10-14Allow terminal title to be left unchanged.Latchezar Tzvetkoff
Fixes #1835.
2022-10-10core: fix context info in buffers with free content (closes #1832)Sébastien Helleu
2022-10-05core: fix page scroll in bare display (closes #1830)Sébastien Helleu
2022-09-27api: add function file_compressSébastien Helleu
2022-09-18core: add key alt+backspace, change behavior of key ctrl+w (closes #559)Sébastien Helleu
The key ctrl+w now deletes one word until whitespace. The new key alt+backspace deletes one word (same behavior as ctrl+w in previous releases).
2022-09-17tests: add tests on filter functionsSébastien Helleu
2022-09-17core: fix order of filters after renaming a filter (issue #1695)Sébastien Helleu
2022-09-17core: fix wrong terminal title on terminal resize (closes #1702)Sébastien Helleu
2022-09-17core: sort filters by name (closes #1695)Sébastien Helleu
2022-07-24core: remove dead assignmentsSébastien Helleu
2022-07-24core: add option weechat.look.highlight_disable_regex and buffer property ↵Sébastien Helleu
"highlight_disable_regex" (closes #1798)
2022-07-24core: use dynamic string in function gui_bar_item_get_valueSébastien Helleu
2022-07-20api: add arguments "index_start" and "index_end" in function ↵Sébastien Helleu
string_rebuild_split_string
2022-07-20api: rename function string_build_with_split_string to ↵Sébastien Helleu
string_rebuild_split_string
2022-05-27core: add completion of conditions and content in commands `/item add` and ↵Sébastien Helleu
`/item addreplace` (issue #808)
2022-05-27core: add display conditions in custom bar items (issue #808)Sébastien Helleu
2022-05-27core: add command /item (closes #808)Sébastien Helleu
This allows to create custom bar items with evaluated content (like the script text_item.py does).
2022-04-24api: allow to catch multiple signals in functions hook_signal and ↵Sébastien Helleu
hook_hsignal (closes #1780)
2022-04-18core: add bar item "spacer"Sébastien Helleu
2022-04-17core: use dynamic string functions to build bar window contentSébastien Helleu
2022-03-27core: fix bad window size on startup with some terminals like kitty (closes ↵Sébastien Helleu
#1769)
2022-03-13core: add function gui_buffer_new_props (issue #1759)Sébastien Helleu
This function allows to create a buffer and set properties via a hashtable, before the signal "buffer_opened" is sent.
2022-01-30core: search in message tags when tags are displayed with /debug tagsSébastien Helleu
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-28core: move functions from gui-chat.c to gui-line.cSébastien Helleu
Functions moved and renamed: - gui_chat_build_string_prefix_message -> gui_line_build_string_prefix_message - gui_chat_build_string_message_tags -> gui_line_build_string_message_tags
2022-01-28core: use dynamic string in function gui_chat_build_string_message_tagsSébastien Helleu
2022-01-28core: use dynamic string in function gui_chat_build_string_prefix_messageSébastien Helleu
2022-01-26core: check that utf_char is not NULL in gui chat functionsSébastien Helleu
2022-01-26core: set prefix to NULL when clearing a line on a buffer with free contentSébastien Helleu
2022-01-26core: fix memory leak when removing a line on a buffer with free contentSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2022-01-15core: fix search of commands with UTF-8 chars in name when option ↵Sébastien Helleu
weechat.look.command_incomplete is on (issue #1739)
2021-12-28core: fix display of hotlist in buflist after changing value of option ↵Sébastien Helleu
weechat.look.hotlist_sort (closes #1733) The "hotlist" pointer in buffers was lost, it is now set again after switching to the newly sorted hotlist.
2021-11-04core: fix access to integer/long/time arrays in hdata, add support of static ↵Sébastien Helleu
arrays in hdata
2021-08-31core: add options in command /input and new keys to remove/restore buffers ↵Sébastien Helleu
in hotlist New options in command /input: - hotlist_remove_buffer - hotlist_restore_buffer - hotlist_restore_all New keys: - alt+h, alt+c: clear the whole hotlist (former key: alt+h) - alt+h, alt+m: mark the current buffer as read by removing it from the hotlist - alt+h, alt+r: restore latest hotlist removed in the current buffer - alt+h, alt+shift+R: restore latest hotlist removed in all buffers
2021-08-11core: add terminal and color info in output of /debug colorSébastien Helleu
2021-08-06core: fix decoding of attributes in basic ANSI colors (closes #1678)Sébastien Helleu
2021-07-04core: add bar item "typing" in status bar by defaultSébastien Helleu
2021-05-27core: update translations (issue #1647)Sébastien Helleu
2021-05-27clarify (max) bar size to be in chars/linesFilip H.F. "FiXato" Slagter
(max) bar size was described to be in chars, though this only applies to the left/right bars. This change clarifies that top/bottom bars would have their size defined in lines.
2021-05-26core: add signals "cursor_start" and "cursor_end"Sébastien Helleu
2021-05-25core, buflist, irc, relay: replace freenode by libera in commentsSébastien Helleu
2021-03-20core: Prevent switching to start of visited buffers when jumping to nextTrygve Aaberge
If you run /input jump_next_visited_buffer right after switching to a buffer, weechat changes to the first buffer in the visited buffers list. That is, it wraps around and goes to the buffer you visited the longest ago. This patch fixes that. The reason it happens is that when you switch to a buffer (normally, i.e. in another way than using jump_previously_visited_buffer/ jump_next_visited_buffer) gui_buffers_visited_index is set to -1 (in gui_buffer_visited_add). This makes gui_buffer_visited_get_index_next return 0 because it returns gui_buffers_visited_index + 1, which makes gui_input_jump_next_visited_buffer jump to the first buffer in the list of visited buffers. Fixes #1591
2021-03-16core: add options to customize commands on system signals, quit by default ↵Sébastien Helleu
on SIGHUP when not running headless (closes #1595) New options to customize behavior on signals received, with the default behavior: - weechat.signal.sighup: quit in normal mode, reload config in headless - weechat.signal.sigquit: quit - weechat.signal.sigterm: quit - weechat.signal.sigusr1: no command executed by default - weechat.signal.sigusr2: no command executed by default The signals SIGUSR1 and SIGUSR2 are introduced by this commit, so it's now possible to run commands when they are received. The SIGHUP signal makes now WeeChat quit, it was the behavior before version 2.9 of WeeChat (see commit de1e61f7cd50cbd1a99777fe6611642a51abf5f6).
2021-03-07core: fix compilation of tests on FreeBSDSébastien Helleu
2021-02-28core: fix quoted line in cursor mode (closes #1602)Sébastien Helleu
Regression was introduced in version 2.7 by commit 93d2dbf3e1ef30e676a6edd56ab2b9bd2ddd70d9.