Age | Commit message (Collapse) | Author |
|
This allows to create custom bar items with evaluated content (like the script
text_item.py does).
|
|
hook_hsignal (closes #1780)
|
|
|
|
|
|
#1769)
|
|
This function allows to create a buffer and set properties via a hashtable,
before the signal "buffer_opened" is sent.
|
|
|
|
free content, add function printf_y_date_tags (closes #1746)
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
weechat.look.command_incomplete is on (issue #1739)
|
|
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.
|
|
arrays in hdata
|
|
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
|
|
|
|
|
|
|
|
|
|
(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.
|
|
|
|
|
|
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
|
|
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).
|
|
|
|
Regression was introduced in version 2.7 by commit
93d2dbf3e1ef30e676a6edd56ab2b9bd2ddd70d9.
|
|
|
|
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.
|
|
|
|
"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.
|
|
(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)
|
|
|
|
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
|
|
|
|
|
|
(closes #1565)
|
|
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
|
|
|
|
|
|
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
|
|
(only if tag "notify_none" is not in the line) (issue #1529)
|
|
only if tag "notify_none" is not in the line (issue #1529)
|
|
is not in the line (issue #1529)
|
|
|
|
gui_line_get_nick_tag
|
|
gui_line_has_tag_no_filter
|