Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-17 | core: use dynamic string functions to build bar window content | Sébastien Helleu | |
2022-03-27 | core: fix bad window size on startup with some terminals like kitty (closes ↵ | Sébastien Helleu | |
#1769) | |||
2022-03-13 | core: 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-30 | core: search in message tags when tags are displayed with /debug tags | Sébastien Helleu | |
2022-01-30 | core: 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-28 | core: move functions from gui-chat.c to gui-line.c | Sé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-28 | core: use dynamic string in function gui_chat_build_string_message_tags | Sébastien Helleu | |
2022-01-28 | core: use dynamic string in function gui_chat_build_string_prefix_message | Sébastien Helleu | |
2022-01-26 | core: check that utf_char is not NULL in gui chat functions | Sébastien Helleu | |
2022-01-26 | core: set prefix to NULL when clearing a line on a buffer with free content | Sébastien Helleu | |
2022-01-26 | core: fix memory leak when removing a line on a buffer with free content | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2022-01-15 | core: 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-28 | core: 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-04 | core: fix access to integer/long/time arrays in hdata, add support of static ↵ | Sébastien Helleu | |
arrays in hdata | |||
2021-08-31 | core: 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-11 | core: add terminal and color info in output of /debug color | Sébastien Helleu | |
2021-08-06 | core: fix decoding of attributes in basic ANSI colors (closes #1678) | Sébastien Helleu | |
2021-07-04 | core: add bar item "typing" in status bar by default | Sébastien Helleu | |
2021-05-27 | core: update translations (issue #1647) | Sébastien Helleu | |
2021-05-27 | clarify (max) bar size to be in chars/lines | Filip 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-26 | core: add signals "cursor_start" and "cursor_end" | Sébastien Helleu | |
2021-05-25 | core, buflist, irc, relay: replace freenode by libera in comments | Sébastien Helleu | |
2021-03-20 | core: Prevent switching to start of visited buffers when jumping to next | Trygve 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-16 | core: 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-07 | core: fix compilation of tests on FreeBSD | Sébastien Helleu | |
2021-02-28 | core: fix quoted line in cursor mode (closes #1602) | Sébastien Helleu | |
Regression was introduced in version 2.7 by commit 93d2dbf3e1ef30e676a6edd56ab2b9bd2ddd70d9. | |||
2021-02-08 | core: fix wrong size of the new window after vertical split (closes #1612) | Sébastien Helleu | |
2021-02-07 | core: add options weechat.look.hotlist_update_on_buffer_switch and ↵ | Kevin Pulo | |
weechat.look.read_marker_update_on_buffer_switch Both default to "on" (no change to previous behavior). If hotlist_update_on_buffer_switch is "off", then when switching away from a buffer, the hotlist is not cleared. If read_marker_update_on_buffer_switch is "off", then when switching away from a buffer, the read marker is not set to the end of the buffer. This allows users to choose to have fully manual control over when hotlist counts and buffer read markers are reset. Fixes #992. | |||
2021-01-02 | core: update copyright dates | Sébastien Helleu | |
2020-12-19 | core: add options "setvar" and "delvar" in command /buffer, rename option ↵ | Sébastien Helleu | |
"localvar" to "listvar" The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still recognized by WeeChat, to stay compatible with any extension/script calling it (or referencing it in the documentation). It is deprecated and will be removed in a future release. | |||
2020-12-19 | core: add buffer local variable "completion_default_template" (evaluated) ↵ | Sébastien Helleu | |
(closes #1600) When this local variable is set, it overrides the value of option "weechat.completion.default_template". It is evaluated, that means the global default template can be used to append some custom completion. For example: /buffer set localvar_set_completion_default_template ${weechat.completion.default_template}|%(my_completion) | |||
2020-11-23 | core: allocate dynamic string size for colors | Sébastien Helleu | |
2020-11-22 | core: increase buffer size in function gui_bar_item_time_cb | Sébastien Helleu | |
This fixes a compiler warning complaining about a too small buffer for snprintf, even if this should never happen. | |||
2020-11-19 | core: add missing cast to unsigned char on first argument to function isdigit | Sébastien Helleu | |
2020-11-17 | core: fix and normalize error messages | Sébastien Helleu | |
2020-10-04 | api: add optional list of colors in infos "nick_color" and "nick_color_name" ↵ | Sébastien Helleu | |
(closes #1565) | |||
2020-10-04 | core: add argument "num_colors" in function gui_nick_hash_color, add tests ↵ | Sébastien Helleu | |
on nick functions (issue #1565) Functions tested: - gui_nick_hash_djb2_64 - gui_nick_hash_djb2_32 - gui_nick_hash_sum_64 - gui_nick_hash_sum_32 - gui_nick_get_forced_color - gui_nick_strdup_for_color - gui_nick_find_color - gui_nick_find_color_name | |||
2020-08-23 | api: add argument "bytes" in function string_dyn_concat | Sébastien Helleu | |
2020-08-22 | api: add function string_color_code_size (issue #1547) | Sébastien Helleu | |
2020-08-17 | core: replace calls to malloc by calloc | Sébastien Helleu | |
After these calls to malloc the memory is set to zero, so it's better to call calloc that does it already. | |||
2020-08-16 | core: set notify_level to 3 if highlight is forced in gui_line_hook_update ↵ | Sébastien Helleu | |
(only if tag "notify_none" is not in the line) (issue #1529) | |||
2020-08-16 | core: set notify_level to 3 in case of highlight in gui_line_hook_update ↵ | Sébastien Helleu | |
only if tag "notify_none" is not in the line (issue #1529) | |||
2020-08-16 | core: set notify_level to 3 in case of highlight only if tag "notify_none" ↵ | Sébastien Helleu | |
is not in the line (issue #1529) | |||
2020-08-15 | core: set "notify_level" to 3 if there is a highlight in the line (closes #1529) | Sébastien Helleu | |
2020-08-04 | core: check that line is not NULL in functions gui_line_is_displayed and ↵ | Sébastien Helleu | |
gui_line_get_nick_tag | |||
2020-08-04 | core: check that line_data is not NULL in functions gui_line_tags_alloc and ↵ | Sébastien Helleu | |
gui_line_has_tag_no_filter | |||
2020-08-04 | core: rename functions to allocate/free lines | Sébastien Helleu | |
2020-07-20 | core: do not add line with highlight and tag "notify_none" to hotlist ↵ | Sébastien Helleu | |
(closes #1529) | |||
2020-06-30 | api: add pointer "_bar_window" in hashtable sent to hook focus callback ↵ | Sébastien Helleu | |
(closes #1450) |