Sébastien Helleu
5c79933faa
core: add bar item "lag"
...
This bar item is overridden by the irc bar item with the same name, but it used
on relay remote buffers, so that the lag is visible as well.
2024-05-16 07:58:52 +02:00
Sébastien Helleu
761d2dec12
core: send signal "buffer_localvar_{added|changed}" only if local variable has been added or changed
2024-05-16 07:16:11 +02:00
Sébastien Helleu
dcb8fcb6ed
irc: rename option irc.color.item_channel_modes to weechat.color.status_modes
2024-05-12 12:46:32 +02:00
Sébastien Helleu
e7b2d98b6e
core: add buffer property "modes"
2024-05-12 09:26:10 +02:00
Sébastien Helleu
464b019929
core: restore buffer input prompt on /upgrade
2024-05-12 01:31:54 +02:00
Sébastien Helleu
1a0b9427e0
core: fix conversion of WeeChat bar colors to ANSI colors
2024-05-11 14:05:52 +02:00
Sébastien Helleu
32b01a606c
core: fix conversion of WeeChat "default" color to ANSI color
2024-05-11 14:05:52 +02:00
Sébastien Helleu
7634774327
core: add buffer property "input_prompt"
2024-05-10 08:54:03 +02:00
Sébastien Helleu
1a8c40826e
core: refresh buffer only if nicklist_display_groups has changed
2024-05-08 13:29:12 +02:00
Sébastien Helleu
d14bc12282
core: refresh buffer only if nicklist has changed
2024-05-08 13:28:47 +02:00
Sébastien Helleu
0c9bbb5d4f
core: refresh buffer only if time_for_each_line has changed
2024-05-08 13:28:24 +02:00
Sébastien Helleu
df52b57c33
core: add function gui_buffer_set_filter
2024-05-08 13:23:50 +02:00
Sébastien Helleu
7addd1bf00
core: add function gui_buffer_set_input
2024-05-08 13:19:40 +02:00
Sébastien Helleu
1050ba851f
core: fix buffer title comparison in function gui_buffer_set_title
2024-05-08 12:50:08 +02:00
Sébastien Helleu
103684b15e
core: merge conditions in function gui_buffer_set_type
2024-05-08 12:49:17 +02:00
Sébastien Helleu
7546ee08ca
core: fix buffer short name comparison in function gui_buffer_set_short_name
2024-05-08 12:48:21 +02:00
Sébastien Helleu
1aeea38355
core: fix buffer name comparison in function gui_buffer_set_name
2024-05-08 12:09:26 +02:00
Sébastien Helleu
9ce666fc31
core: check that buffer is not NULL in function gui_input_set_pos
2024-05-08 12:08:50 +02:00
Sébastien Helleu
b2c7682242
core: add function gui_buffer_set_notify
2024-05-08 12:08:50 +02:00
Sébastien Helleu
2aa1b950cd
core: add function gui_buffer_set_day_change
2024-05-08 12:08:50 +02:00
Sébastien Helleu
9f7b4c497e
core: remove unused variable "used"
2024-05-03 07:15:55 +02:00
Sébastien Helleu
06d10ad193
core: fix prototype of function "resizeterm" in fake ncurses interface
2024-05-02 21:44:01 +02:00
Sébastien Helleu
573f1046ac
core: execute command as user data for local keys in buffer (issue #2066 )
...
If buffer->input_get_any_user_data is set to 1, any command executed via a
buffer local key is considered as user input and then sent to the buffer
callback, instead of being executed directly.
This is used on relay remote buffers, to execute the command on the remote
instead of locally.
2024-05-01 15:07:08 +02:00
Sébastien Helleu
c5268bc5f9
core: send signal "buffer_line_added" on buffers with free content (issue #2066 )
...
The signal "buffer_line_added" is now sent for every line added or modified on
a buffer with free content.
2024-05-01 13:37:49 +02:00
Sébastien Helleu
9cd7fd38a9
api: allow to set nicklist group/nick id in functions nicklist_group_set and nicklist_nick_set (issue #2081 )
2024-04-29 21:07:04 +02:00
Sébastien Helleu
ded599b272
api: allow search by group and nick id in functions nicklist_search_group and nicklist_search_nick (issue #2081 )
2024-04-29 19:22:57 +02:00
Sébastien Helleu
96ff7248ef
core: remove obsolete function gui_nicklist_get_max_length
2024-04-28 19:10:05 +02:00
Sébastien Helleu
eac442a855
core: remove unnecessary condition in function gui_nicklist_get_group_start
2024-04-28 19:06:48 +02:00
Sébastien Helleu
f1fa143b21
core: check that parameter name is not NULL in function gui_nicklist_get_group_start
2024-04-28 19:06:21 +02:00
Sébastien Helleu
dcd872bc45
core: fix recursive search of group in nicklist
2024-04-28 13:07:08 +02:00
Sébastien Helleu
ed48819b77
core: remove check of NULL pointers before calling gui_focus_free_info() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
2c300424b4
core: remove check of NULL pointers before calling gui_color_palette_free() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
3e520cb1ff
core: remove check of NULL pointers before calling gui_completion_free() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
1a31512503
core: remove check of NULL pointers before calling string_free_split_tags() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
a7b21fa647
core: remove check of NULL pointers before calling gui_bar_window_free() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
890caf4e8e
core: remove check of NULL pointers before calling gui_bar_item_free() (issue #865 )
2024-04-26 21:17:13 +02:00
Sébastien Helleu
ad33036fea
core: remove check of NULL pointers before calling weelist_free() (issue #865 )
2024-04-26 21:06:47 +02:00
Sébastien Helleu
61ff0b8587
core: remove check of NULL pointers before calling config_file_option_free() (issue #865 )
2024-04-26 20:59:44 +02:00
Sébastien Helleu
619b40b42f
core: remove check of NULL pointers before calling string_shared_free() (issue #865 )
2024-04-26 08:55:35 +02:00
Sébastien Helleu
409a06982e
core: remove check of NULL pointers before calling string_dyn_free() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
3057d846d9
core: remove check of NULL pointers before calling string_free_split() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
f11c7c1bf4
core: remove check of NULL pointers before calling hashtable_free() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
1ad0b4b669
core: remove check of NULL pointers before calling unhook() (issue #865 )
2024-04-26 08:41:44 +02:00
Sébastien Helleu
e73bff95fa
core: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
Sébastien Helleu
d0f0a7834d
core: do not color prefix of join/part/quit messages when the nick is offline
2024-04-17 08:32:19 +02:00
Sébastien Helleu
b0b733a8f0
core: use nick offline color for nick in action message
2024-04-11 22:52:54 +02:00
Sébastien Helleu
ae892d2893
core: use nick offline highlight color for prefix of action message when the nick is offline with a highlight
2024-04-11 22:50:39 +02:00
Sébastien Helleu
89fe540b53
core: add unique "id" in nicklist group and nick (issue #2081 )
...
The id is a "long long" variable with the current time (microseconds
precision).
It is guaranteed to be unique for all groups and nicks inside the buffer, and
the same number is never used again in the same buffer, during the lifetime of
the process.
It persists and is unchanged after `/upgrade`.
2024-04-07 13:18:14 +02:00
Sébastien Helleu
4adb64284b
buffer: add property input_get_any_user_data in buffer (issue #2066 )
...
This allows buffers to get any user input, including commands, that are sent to
the buffer callback instead of being executed on the buffer.
2024-04-07 13:18:13 +02:00
Sébastien Helleu
f3f9dc388f
core: remove whitespace
2024-04-01 22:23:48 +02:00