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
2cf66de423
api: add function "asprintf"
2024-04-07 13:18:13 +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
947155f325
doc/user: fix typo in trigger regex replace ${re:+}
2024-03-21 23:04:18 +01:00
Sébastien Helleu
59d8857646
doc/user: add missing ${re:#} and ${re:repl_index} in trigger regex replace
2024-03-21 22:55:28 +01:00
Sébastien Helleu
d6386cd364
doc/api: fix style in example ${re:+}
2024-03-21 22:43:35 +01: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
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
9e0dd18152
api: add function "hdata_longlong" (issue #2081 )
2024-03-12 20:37:11 +01:00
Sébastien Helleu
34e99987bf
doc/user: clarify what is ${nick} in trigger IRC signal data
2024-03-11 07:20:38 +01:00
Sébastien Helleu
1ab62e37cb
api: add modifier "color_decode" to decode WeeChat colors with a replacement string
2024-03-10 09:31:32 +01:00
Sébastien Helleu
3f49b1b44a
core: use whole replacement string instead of first char in function gui_color_decode
2024-03-10 09:21:28 +01:00
Sébastien Helleu
732887cef7
doc/plugin: add missing translation comments
2024-03-07 07:32:20 +01:00
Sébastien Helleu
5c88ee9c45
core: add support of SGR mouse events, remove option weechat.look.mouse_timer_delay ( closes #2082 )
2024-03-06 20:33:17 +01:00
Sébastien Helleu
12521898f9
doc/scripting: auto-generate list of scripting functions and constants from Python API
2024-03-05 19:58:21 +01:00
Sébastien Helleu
361d55d9d7
api: add functions config_{boolean|integer|string|color|enum}_inherited in scripting API
2024-03-05 19:52:21 +01:00
Sébastien Helleu
c3eff15a56
api: add functions config_option_get_string and config_option_get_pointer in scripting API
2024-03-05 19:51:15 +01:00
Sébastien Helleu
22686da40c
doc/api: fix string format in calls to weechat.prnt (examples in Python)
2024-02-25 17:23:09 +01:00
Sébastien Helleu
191701a5f3
doc/user: fix order of mouse event modifiers
...
Key "alt" is always before "ctrl".
2024-02-24 18:53:46 +01:00
Trygve Aaberge
e02ee703f0
docs: fix some typos in documentation and comments
2024-02-23 08:21:49 +01:00
Sébastien Helleu
b5a32c0fa9
script: fix default mouse keys ( closes #2076 )
...
Some parameters of command `/script` were renamed in commit
85b5bacfe3 but the default mouse keys were not
changed and still using the old parameters names.
2024-02-21 21:10:25 +01:00
Sébastien Helleu
f126255d6a
core: add support of base64url in encode/decode functions (issue #2066 )
2024-02-01 21:39:21 +01:00
Sébastien Helleu
8971fc069a
relay: add "api" protocol (HTTP REST API) (issue #2066 )
2024-02-01 21:38:49 +01:00
Sébastien Helleu
2469dc6df9
core: use function util_strftimeval in evaluation of expression date:xxx
2024-01-27 16:53:53 +01:00
Sébastien Helleu
e3af6a91d4
api: add support of specifier %! for timestamp in function util_strftimeval
2024-01-27 16:53:53 +01:00
Sébastien Helleu
71fee810c9
doc/api: add missing properties in functions buffer_get_integer and buffer_get_string
2024-01-06 20:46:30 +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
f6ba789c3d
api: add function util_parse_time (issue #649 )
2024-01-05 19:09:19 +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
87f74e9f95
core: add syntax highlighting in evaluation of expressions, add option weechat.color.eval_syntax_colors (issue #2042 )
...
Syntax highlighting (raw string without evaluation): `${raw_hl:xxx}`
Syntax highlighting: `${hl:xxx}`
2023-11-23 08:49:54 +01:00
Sébastien Helleu
6f90c7ef08
core: move key ctrl+s, ctrl+u to alt+shift+U (issue #2040 )
2023-11-11 08:54:26 +01:00
Sébastien Helleu
97a90ac65a
core: add key ctrl+o to send command found and insert next one in input (issue #2040 )
2023-11-11 08:54:24 +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
d96a3e6b55
doc/faq: add question about key F11
2023-11-04 08:05:24 +01:00
Sébastien Helleu
082cbe519b
irc: add support of RGB colors in messages (issue #2025 )
...
This is made using standard color code '\x04' followed by text color (RGB as
hexadecimal) and optional background (RGB as hexadecimal).
2023-11-01 13:21:06 +01:00
Sébastien Helleu
e34071131e
api: add function string_concat (issue #2005 )
2023-10-17 18:14:53 +02:00
Sébastien Helleu
6bd0c63192
core: make zstd dependency optional ( closes #2024 )
2023-10-01 16:36:32 +02:00
Sébastien Helleu
439410a388
doc/api: use a table for file_in/file_out options in function hook_url
2023-09-16 13:00:03 +02:00
Sébastien Helleu
36ab6c3bc7
doc/api: add link to hook_url in hook_process_hashtable for Curl options
2023-09-16 13:00:03 +02:00
Sébastien Helleu
83dcb84ea6
doc/api: add function hook_url
2023-09-16 13:00:03 +02:00
Sébastien Helleu
a5f4c3770b
doc/faq: add question about move of WeeChat config to another device
2023-09-16 09:46:50 +02:00
Sébastien Helleu
23d3ce7ad8
doc/faq: add question about keys like Enter and version 4.0.0
2023-09-15 18:57:00 +02:00
Sébastien Helleu
684bfd64c6
api: add algorithms sha512-224, sha512-256, blake2b-* and blake2s-*` in hash functions (issue #2008 )
2023-09-13 15:09:34 +02:00
Sébastien Helleu
54a5815105
doc/api: fix return values for callback_read in config_new_section
2023-09-12 13:35:02 +02:00
Sébastien Helleu
79d0a134e3
buflist: add missing items buflist4 and buflist5 in help on command/options and user's guide
2023-09-11 07:55:54 +02:00
Sébastien Helleu
6b356d4208
doc/user: add missing actions on script buffer
2023-09-09 11:26:04 +02:00