summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2021-02-07core: 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-02core: update copyright datesSébastien Helleu
2020-12-19core: 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-19core: 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-23core: allocate dynamic string size for colorsSébastien Helleu
2020-11-22core: increase buffer size in function gui_bar_item_time_cbSébastien Helleu
This fixes a compiler warning complaining about a too small buffer for snprintf, even if this should never happen.
2020-11-19core: add missing cast to unsigned char on first argument to function isdigitSébastien Helleu
2020-11-17core: fix and normalize error messagesSébastien Helleu
2020-10-04api: add optional list of colors in infos "nick_color" and "nick_color_name" ↵Sébastien Helleu
(closes #1565)
2020-10-04core: 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-23api: add argument "bytes" in function string_dyn_concatSébastien Helleu
2020-08-22api: add function string_color_code_size (issue #1547)Sébastien Helleu
2020-08-17core: replace calls to malloc by callocSé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-16core: 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-16core: 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-16core: 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-15core: set "notify_level" to 3 if there is a highlight in the line (closes #1529)Sébastien Helleu
2020-08-04core: check that line is not NULL in functions gui_line_is_displayed and ↵Sébastien Helleu
gui_line_get_nick_tag
2020-08-04core: 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-04core: rename functions to allocate/free linesSébastien Helleu
2020-07-20core: do not add line with highlight and tag "notify_none" to hotlist ↵Sébastien Helleu
(closes #1529)
2020-06-30api: add pointer "_bar_window" in hashtable sent to hook focus callback ↵Sébastien Helleu
(closes #1450)
2020-06-21core: add bar option "color_bg_inactive" (issue #732)Sébastien Helleu
2020-06-07api: fix use of pointer after free in function key_unbindSébastien Helleu
2020-06-02Add Alacritty title escape sequence supportChristian Duerr
2020-05-16Fix /window scroll_beyond_end when buffer has fewer lines than terminal heightTrygve Aaberge
2020-05-16core: move creation of info_hashtable from gui-focus.c to plugin-api-info.c ↵Sébastien Helleu
(issue #1257)
2020-05-16gui: make key optional in gui_focus_to_hashtableSimmo Saan
2020-05-16gui: add gui_focus_info hashtable info (#1245)Simmo Saan
2020-05-16core: add bar items with nicklist groups and nicks/groups (closes #1506)Sébastien Helleu
The bar item "buffer_nicklist_count" is now the number of displayed nicks only (not groups). New bar items: - "buffer_nicklist_count_groups": number of groups displayed - "buffer_nicklist_count_all": number of nicks and groups displayed
2020-05-14core: force buffer property "time_for_each_line" to 0 for buffers with free ↵Sébastien Helleu
content (closes #1485)
2020-05-10core: set default size for input bar to 0 (automatic) (issue #1498)Sébastien Helleu
2020-05-10core: add default key alt-enter to insert a newline (issue #1498)Sébastien Helleu
2020-05-10core: don't collapse consecutive newlines in lines displayed before the ↵Sébastien Helleu
first buffer is created
2020-05-10core: Don't remove consecutive newlines when pastingTrygve Aaberge
Relates to #1498
2020-05-10core: Don't collapse consecutive newlines in bar contentTrygve Aaberge
This allows blank lines to be displayed in the input bar when you input multiple consecutive newlines. Relates to #1498
2020-05-10core: properly display newlines in input for all buffersTrygve Aaberge
Supporting multiple lines in the input bar is useful even for buffers without input_multiline set, because it enables you to compose multiple lines at once, even if it is sent as multiple messages. It is particularly useful when you paste multiple lines and want to edit some of it before you send the message.
2020-05-09core: properly display newlines in input when multiline is enabled in buffer ↵Sébastien Helleu
(issue #984, issue #1063)
2020-05-09core: add an option for multiline input in a buffer (closes #984)Trygve Aaberge
This allows the input callback function for a buffer to receive multiple lines at once, instead of the message being split on newline before being sent to the callback. It adds a new flag, input_multiline, to control this. This flag defaults to 0 which is the current behavior.
2020-05-09api: use buffer pointer in argument "modifier_data" sent to weechat_print ↵Sébastien Helleu
modifier callback (closes #42)
2020-04-28core: remove obsolete commentSébastien Helleu
The completion context can be "GUI_COMPLETION_NULL" if there's no base word found (for example empty input).
2020-04-28api: return integer in function gui_completion_search (issue #1484)Sébastien Helleu
2020-04-27api: add hdata "completion_word" (issue #1484)Sébastien Helleu
2020-04-27api: add functions completion_new, completion_search and completion_free ↵Sébastien Helleu
(issue #1484)
2020-04-24core: add default key alt-shift-N to toggle nicklist barSébastien Helleu
2020-04-21core: translate log message when the signal SIGHUP is receivedSébastien Helleu
2020-04-21core: restore signal "signal_sighup", and if eaten do not reload configurationSébastien Helleu
2020-04-22core: reload config on SIGHUPTom Fitzhenry
fixes https://github.com/weechat/weechat/issues/1476
2020-04-19core: add command line option "--stdout" in weechat-headless binary (closes ↵Sébastien Helleu
#1475, closes #1477)
2020-04-19core: log to stdout, if headlessTom Fitzhenry
Fixes https://github.com/weechat/weechat/issues/1475 .