summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
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.
2021-02-08core: fix wrong size of the new window after vertical split (closes #1612)Sébastien Helleu
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