Sébastien Helleu
431cf23a0c
exec: remove trailing space on buffers with free content when line numbers are not displayed
2024-03-08 08:19:20 +01:00
Sébastien Helleu
a6c509611a
exec: add missing exec tags in lines of buffers with free content ( closes #2086 )
2024-03-07 21:52:21 +01:00
Sébastien Helleu
cb6ecb6818
core: check if malloc.h is present, independently of function malloc_trim
2024-03-06 23:09:00 +01:00
Sébastien Helleu
70828a7dd1
irc: add option -all in command /allchan, do not execute command on parted channels by default ( closes #2085 )
2024-03-06 23:03:02 +01:00
Sébastien Helleu
ab2e29fb0f
core: include header malloc.h only if function malloc_trim is available
2024-03-06 22:52:43 +01:00
Sébastien Helleu
68598de958
core: check that function malloc_trim is available, display an error if not available
2024-03-06 22:36:37 +01:00
Sébastien Helleu
a1bee89ecc
core: add option malloc_trim in command /sys
2024-03-06 22:00:48 +01:00
Sébastien Helleu
7385f767e3
irc: use API config functions to get inherited value (server options)
2024-03-06 21:32:34 +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
6c72d6f66d
python: add infolists "python_function" and "python_constant"
2024-03-05 19:56:35 +01:00
Sébastien Helleu
81599b88d4
plugins: move scripting API constants to plugin-script.c
2024-03-05 19:52:21 +01:00
Sébastien Helleu
014dc845e8
doc: move script doc/python_stub.py to tools/generate_python_stub.py
2024-03-05 19:52: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
1451e12c78
core: refactor functions that read values of config options
2024-03-05 19:51:15 +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
DasBrain
0bf560f9b7
tcl: simplify return macros
2024-03-05 19:15:19 +01:00
DasBrain
ff2189f3d9
tcl: refactor creation of constants
2024-03-05 19:15:19 +01:00
Sébastien Helleu
6d549d0da9
relay/api: rename "salt" to "timestamp"
2024-02-26 12:56:44 +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
f649ccc3b8
python: fix truncation of unsigned long long integer returned by function string_parse_size
2024-02-25 17:07:11 +01:00
Sébastien Helleu
c5800178a0
php: remove constants that must not be visible in scripts
2024-02-25 16:32:21 +01:00
Sébastien Helleu
c5887354bd
tcl: fix truncation of long integer returned by function hdata_long
2024-02-25 16:12:54 +01:00
Sébastien Helleu
3f08785aee
core: add missing mouse event "alt-ctrl-button3"
2024-02-24 22:05:14 +01:00
Sébastien Helleu
d52fea1d5e
core: fix typo in comment
2024-02-24 18:50:26 +01:00
Sébastien Helleu
24f0e95de7
core: add missing mouse event "alt-ctrl-button2"
2024-02-24 18:35:21 +01:00
Trygve Aaberge
e02ee703f0
docs: fix some typos in documentation and comments
2024-02-23 08:21:49 +01:00
Johannes Kuhn
db6b96f629
tcl: make plugin compatible with Tcl 9.0
...
Replace calls to Tcl_GetStringFromObj by Tcl_GetString.
2024-02-22 19:30:53 +01:00
Sébastien Helleu
ef5ebc19e9
fset: allow filename starting with "~" in command /fset -export
2024-02-21 22:05:16 +01:00
Sébastien Helleu
76998665f4
script: always display list of scripts when searching scripts with /script search ( closes #2077 )
2024-02-21 21:36:52 +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
a44ffa147f
script: add info "script_loaded"
2024-02-19 18:33:36 +01:00
Sébastien Helleu
a167322d8b
api: add info "plugin_loaded"
2024-02-19 18:29:21 +01:00
Sébastien Helleu
0f30a4e020
relay: move functions to get URL parameters from api to relay-http.c, add tests
2024-02-18 23:13:20 +01:00
Sébastien Helleu
c4ac9046b2
relay/api: fix comment of function relay_api_protocol_get_param_boolean
2024-02-18 18:52:57 +01:00
Sébastien Helleu
61a8e4e27e
relay/api: add key "visible" with boolean value in nick and group objects
2024-02-18 18:52:52 +01:00
Sébastien Helleu
780be1e1b7
relay/api: rename key "index" to "y" in line object
2024-02-18 18:24:19 +01:00
Sébastien Helleu
6659bf1642
core: display the 3 variants for "${split}" and "${split_shell}" in /help eval
2024-02-17 13:23:38 +01:00
Sébastien Helleu
b3a214252b
core: add "${hl:string}" and "${raw_hl:string}" in /eval completions
2024-02-17 13:22:40 +01:00
Sébastien Helleu
4c6db9711a
core: add the different variants for "chars" in /eval completions
2024-02-17 13:22:05 +01:00
Sébastien Helleu
213483e678
core: add the different bases in /eval completions for "base_decode" and "base_encode"
2024-02-17 13:20:17 +01:00
Sébastien Helleu
9b9e0f042c
core: replace "xxx" by "string" and "number" by "N" in /eval completions
2024-02-17 13:09:20 +01:00
Sébastien Helleu
831dcac808
core: list operators by order of priority in /help eval (issue #2005 )
2024-02-17 10:58:40 +01:00
Sébastien Helleu
4e0f7dfd25
core: reintroduce help on the operators in /help eval (issue #2005 )
2024-02-17 10:54:25 +01:00
Sébastien Helleu
a35ac5e8d9
core: reintroduce help on the variables in /help eval (issue #2005 )
2024-02-17 10:08:12 +01:00
Sébastien Helleu
90c87e7553
irc: add missing tags on self action messages when capability echo-message is enabled ( closes #2074 )
2024-02-16 20:58:31 +01:00
Sébastien Helleu
162bcb2622
irc: don't strip monospace color code 0x11 from incoming messages ( closes #2073 )
2024-02-16 19:22:28 +01:00
Sébastien Helleu
e4e6fde80f
core: add option -s in command /command to execute multiple commands separated by semicolons
2024-02-11 21:48:31 +01:00
Sébastien Helleu
0cfc61a17e
irc: add server option "autojoin_delay" ( closes #862 )
...
The server option "autojoin_delay" adds a delay before autojoin.
The server option "command_delay" is now used to add a delay before the
execution of the command.
On upgrade from an old version, the option "command_delay" is copied to
"autojoin_delay" (in old versions, "command_delay" was applied after the
execution of command and before the autojoin).
2024-02-11 09:12:57 +01:00
Sébastien Helleu
f153b6e6c3
relay: change message displayed when there is not enough memory for websocket frame
2024-02-11 08:53:29 +01:00