Josh Soref
d3ceabf5de
spelling: an
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 17:34:04 +02:00
Sébastien Helleu
143f694fe2
core, plugins: add missing parentheses when dereferencing a pointer with an array index
2024-09-05 20:57:29 +02:00
Sébastien Helleu
0182153511
core: send signal "buffer_moved" for all buffers affected by merge/unmerge
2024-08-15 21:35:38 +02:00
Sébastien Helleu
aeac9f02f9
core: add signal "buffer_time_for_each_line_changed"
2024-08-10 14:27:53 +02:00
Sébastien Helleu
0d8e3a48ee
core: apply buffer properties (options weechat.buffer.*) when a buffer name is changed
2024-06-19 21:42:38 +02:00
Sébastien Helleu
1fcf5ac5b3
core, plugins: force "short_name" in buffers to non-empty value (name by default), remove buffer property "short_name_is_set"
2024-06-18 20:34:58 +02:00
Sébastien Helleu
9b356733a9
core: allow buffer id in commands /buffer and /print, in addition to number and name
2024-06-11 08:03:09 +02:00
Sébastien Helleu
8366c32b0a
core: add hashtable to quickly find buffers by id
2024-06-10 23:55:34 +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
e7b2d98b6e
core: add buffer property "modes"
2024-05-12 09:26:10 +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
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
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
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
e73bff95fa
core: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +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
965beb37de
core: fix print of pointer values
2024-04-01 21:08:52 +02:00
Sébastien Helleu
24c4029c96
core: remove "wee-" prefix from source files in src/core and src/core/hook
2024-03-12 21:27:37 +01:00
Sébastien Helleu
f9e8c7faab
api: allow search by buffer id in function buffer_search (issue #2081 )
2024-03-12 20:37:44 +01:00
Sébastien Helleu
5af0415508
core: add function gui_buffer_search_by_id (issue #2081 )
2024-03-12 20:37:42 +01:00
Sébastien Helleu
c71e6a50eb
core: rename function gui_buffer_search_by_name to gui_buffer_search (issue #2081 )
2024-03-12 20:37:40 +01:00
Sébastien Helleu
4ffd62b206
core: add unique "id" in buffer (issue #2081 )
...
The id is a "long long" variable with the current time (microseconds
precision).
It is guaranteed to be unique for all buffers, and the same number is never
used again, during the lifetime of the process.
It persists and is unchanged after `/upgrade`.
2024-03-12 20:37:36 +01:00
Sébastien Helleu
09e01133d2
core: allow case insensitive search of partial buffer name with (?i)name in command /buffer
2024-01-24 20:54:41 +01:00
Sébastien Helleu
da79574ca7
core: return 0 in gui_buffer_is_main if plugin_name or name is NULL
2024-01-24 19:42:08 +01:00
Sébastien Helleu
d8704d5c74
core: add variable "opening" in buffer, do not send buffer signals when the buffer is opening
2024-01-06 19:26:39 +01:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
9fb3d3f14c
core: store microseconds in buffer lines ( closes #649 )
2023-12-26 19:44:37 +01:00
Sébastien Helleu
31881ebacf
api: add property "type" in function buffer_get_string
2023-12-24 16:53:16 +01:00
Sébastien Helleu
b83b428c5c
core: add incremental search in commands history (issue #2040 )
...
Changes:
- move key ctrl+r to ctrl+s
- add key ctrl+r to search in commands history
- add option `search_history` in command `/input`
- add key context "histsearch"
- add option weechat.look.buffer_search_history
- add buffer variables "text_search_direction", "text_search_history" and "text_search_ptr_history"
2023-11-11 08:54:06 +01:00
Sébastien Helleu
6d69cde186
core, plugins: set error to NULL before calling strtol()
...
This is not strictly necessary, just in case the function strtol() doesn't
update the pointer.
2023-11-01 09:53:38 +01:00
Sébastien Helleu
2b3fb62065
core: do not evaluate properties "key_bind_xxx" and "key_unbind_xxx" in options weechat.buffer.* (issue #352 )
2023-08-30 17:25:21 +02:00
Sébastien Helleu
4a95d78c45
core: add variable ${property} in evaluation of options weechat.buffer.* (issue #352 )
2023-08-26 20:04:58 +02:00
Sébastien Helleu
303fe6744e
core: add option setauto in command /buffer (issue #352 )
2023-08-24 11:49:29 +02:00
Sébastien Helleu
3aef8b7292
core: add options weechat.buffer.* to save buffer properties set by user (issue #352 )
2023-08-24 10:38:47 +02:00
Sébastien Helleu
08e110c835
core: use dynamic string in function gui_buffer_set_highlight_words_list
2023-08-18 13:38:05 +02:00
Sébastien Helleu
2c8657826f
core: simplify function gui_buffer_notify_get
2023-08-18 13:37:39 +02:00
Sébastien Helleu
481e8f197d
core: use type "enum" in options
2023-07-08 13:29:45 +02:00