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
a499b50b7b
relay: add synchronization with remote and handler for events received (issue #2066 )
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
08bc6404eb
doc/api: fix typo: "formattée" -> "formatée"
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
f507be4128
tests: add tests on relay remote functions (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
90b855e1aa
relay: add connection to remote (issue #2066 )
...
Connection to remote:
- handshake: offer support for all supported hash algorithms
- network connect with a socket
- upgrade to websocket and authenticate with remote (password/TOTP)
- check websocket response
- get list of buffers (not used yet)
Note: connection to remote with TLS or a proxy is not yet supported.
2024-04-07 13:18:13 +02:00
Sébastien Helleu
786f889251
relay: add command /remote, add remote configuration in relay.conf (issue #2066 )
2024-04-07 13:16:47 +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
0b0ab94aa3
tests/gui: add tests on hotlist functions
2024-03-17 15:00:00 +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
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
f19808cedd
tests: add tests on "api" relay (general functions and messages)
2024-02-18 23:42:22 +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
6cfb31c306
relay: add support of websocket extension "permessage-deflate" ( closes #1549 )
...
This extension is used to compress and decompress websocket frames (using
the DEFLATE algorithm, with zlib).
2024-02-01 21:38:53 +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
971d5b6b64
doc/dev: update rules for indentation in C sources
2024-01-22 20:59:51 +01:00
Sébastien Helleu
869fba9f74
irc: add tests on info functions (issue #2059 )
2024-01-12 17:58:36 +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
52f32e5612
tests: add tests on plugin config functions
2023-12-02 13:24:42 +01:00
Sébastien Helleu
f4926cbd20
tests: rename file test-plugins-api-info.cpp to test-plugin-api-info.cpp
2023-12-02 13:17:47 +01:00
Sébastien Helleu
d6796edac0
tests: add tests on plugin API info functions
2023-12-02 11:40:28 +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