Sébastien Helleu
3ca3ea32fd
irc: create server/channel/raw buffers with function buffer_new_props (issue #1942 )
...
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:20 +02:00
Sébastien Helleu
f767db22a8
doc: reduce toc levels and numbering in sections (user/API/scripting/relay/dev)
2023-05-20 08:37:02 +02:00
Sébastien Helleu
ecdcf239fe
doc: move toc and section asciidoctor attributes from docs to CMakeLists.txt
2023-05-20 08:15:23 +02:00
Sébastien Helleu
b9cc0cf839
core: update ChangeLog ( closes #1260 )
2023-05-18 13:52:46 +02:00
Simmo Saan
3c3bb933e9
irc: optimize and reuse irc_channel_rejoin
2023-05-18 13:51:14 +02:00
Simmo Saan
6edc88f7d6
irc: use key when /join-ing in open channel buffer
2023-05-18 13:46:43 +02:00
Sébastien Helleu
de3ee174e4
core: update ChangeLog ( closes #1140 , closes #1190 )
2023-05-18 11:52:43 +02:00
Sébastien Helleu
6c567c813e
core: update translations
2023-05-18 11:51:25 +02:00
Sébastien Helleu
a2b21df6ab
alias: use dynamic string to replace alias arguments
2023-05-18 11:48:15 +02:00
Sébastien Helleu
338f7028ec
tests: add tests on alias functions
...
Functions tested:
- alias_valid
- alias_search
- alias_string_add_word
- alias_string_add_word_range
- alias_string_add_arguments
- alias_replace_args
2023-05-18 11:10:54 +02:00
Sébastien Helleu
a0894a794b
alias: return empty string instead of NULL in function alias_replace_args
2023-05-18 11:08:37 +02:00
Sébastien Helleu
6095a0fe40
alias: return NULL if alias or user arguments are NULL in function alias_replace_args
2023-05-18 11:08:08 +02:00
Sébastien Helleu
8d838e89ee
alias: add example in comment of function alias_replace_args
2023-05-18 11:07:46 +02:00
Sébastien Helleu
e237f7488f
alias: add "$&" in comment of function alias_replace_args
2023-05-18 11:07:12 +02:00
nobody
098bbb6927
alias: add auto-escaping special variable
2023-05-18 10:17:59 +02:00
Sébastien Helleu
100509866f
relay: rename variable "ptr_option" to "ptr_path"
2023-05-18 09:53:57 +02:00
Sébastien Helleu
caf166eb90
relay: make TLS certificate/key loading error handling more verbose ( closes #1558 )
2023-05-18 09:51:59 +02:00
Sébastien Helleu
9a0eda2433
core: fix refresh of bar item "input_search" after buffer switch in root bars ( closes #1939 )
2023-05-18 09:21:16 +02:00
Sébastien Helleu
1360489a05
core: add note in GitHub question issue template
...
The question must be first asked on the #weechat channel.
2023-05-18 09:04:55 +02:00
Sébastien Helleu
43553f7c28
core: update ChangeLog ( closes #337 , closes #965 )
2023-05-17 21:43:43 +02:00
arza
99b84a76ad
irc: start from the beginning of nicks at automatic reconnection ( closes #337 )
2023-05-17 21:42:00 +02:00
Sébastien Helleu
6ae04c4947
core: update ChangeLog ( closes #1688 )
2023-05-17 21:07:24 +02:00
Sébastien Helleu
fbf68dcc14
irc: get value of "msg_max_length" from isupport token "LINELEN" on upgrade from WeeChat < 4.0.0 (issue #1927 )
2023-05-17 21:03:44 +02:00
Sébastien Helleu
359ec5d2db
irc: add field "utf8only" in IRC server structure
2023-05-17 20:49:27 +02:00
Valentin Lorentz
980b075ce9
irc: Implement the UTF8ONLY IRCv3 specification
...
https://ircv3.net/specs/extensions/utf8-only
2023-05-17 16:37:19 +02:00
Sébastien Helleu
d0f1859ef5
core: add variable CTEST_OUTPUT_ON_FAILURE in release script
2023-05-17 07:17:26 +02:00
Sébastien Helleu
6d32a99d50
trigger: make default triggers compatible with multiline input ( closes #1935 )
...
Changed triggers:
- cmd_pass
- cmd_pass_register
- server_pass
2023-05-16 21:34:30 +02:00
Sébastien Helleu
1f21cdc0bd
irc: update secure data when server autojoin option contains ${sec.data.xxx} and option autojoin_dynamic is enabled ( closes #1934 )
2023-05-16 21:03:22 +02:00
Sébastien Helleu
e11ce668a2
doc/api: add note about hashtable removal in function info_get_hashtable
2023-05-16 20:15:20 +02:00
Sébastien Helleu
91bcfbb4e8
core: move creation of info_hashtable "secured_data" in plugin-api-info.c
2023-05-16 20:00:48 +02:00
Sébastien Helleu
17f3687e28
core: fix partial completion when the common prefix found is empty ( closes #340 )
2023-05-16 19:45:12 +02:00
Sébastien Helleu
357323b8fc
typing: remove nicks typing even when option typing.look.enabled_self is off ( closes #1718 )
2023-05-16 13:29:09 +02:00
Sébastien Helleu
cfc85b7fea
typing: fix type and name of variable for key in hashtable typing_status_nicks
2023-05-16 13:23:07 +02:00
Sébastien Helleu
2a3d98c996
irc: display command 437 on server buffer when nickname cannot change while banned on channel ( closes #88 )
2023-05-16 13:15:45 +02:00
Sébastien Helleu
8d35e67dd6
irc: add modifier "irc_cap_sync_req" ( closes #1767 )
2023-05-15 20:10:28 +02:00
Sébastien Helleu
d857c91a59
irc: add comments in "cap" callback
2023-05-15 20:02:45 +02:00
Sébastien Helleu
518c0e3ae3
irc: remove unused variable
2023-05-15 08:10:58 +02:00
Sébastien Helleu
20b7f406f8
irc: fix use of uninitialized variable
2023-05-15 08:10:03 +02:00
Sébastien Helleu
e589f3471b
doc/user: update note about chars replaced in IRC tags (trigger)
2023-05-15 08:08:42 +02:00
Sébastien Helleu
2c22626106
trigger: use new format for IRC tags in messages
2023-05-15 07:57:16 +02:00
Sébastien Helleu
bd4507e99d
irc: fix format of IRC tags displayed in messages ( closes #1929 )
...
Changes:
- use "=" to separate key from value, add it only if value is set (any string,
including empty string)
- do not convert "_" to "-" in key
2023-05-14 21:25:20 +02:00
Sébastien Helleu
46b9428f9e
tests: reverse arguments in calls to STRCMP_EQUAL
2023-05-14 18:52:23 +02:00
Nils Görs
78ebe63105
core: update German translations
2023-05-14 15:50:41 +02:00
Sébastien Helleu
1aded6eaf4
core: update translations (issue #1923 )
2023-05-14 15:33:37 +02:00
Sébastien Helleu
a6b8c95519
irc: do not display multiline message if capability "draft/multiline" is not enabled (issue #1923 )
2023-05-14 15:33:37 +02:00
Sébastien Helleu
060cb48094
irc: ignore BATCH commands when capability "batch" is not enabled (issue #1292 )
2023-05-14 15:33:30 +02:00
Sébastien Helleu
283c9d7ccf
irc: do not allow send of empty messages (single line or multiline)
2023-05-14 15:32:47 +02:00
Sébastien Helleu
ac83130dd7
irc: add test of privmsg message parsing with empty text
2023-05-14 15:32:47 +02:00
Sébastien Helleu
c31af39ada
irc: set "input_multiline" to 1 in buffers only if capability draft/multiline is enabled (issue #1923 )
2023-05-14 15:32:43 +02:00
Sébastien Helleu
537d18ede5
core: allow to reset buffer property "input_multiline" to 0 even if there are lines in buffer (issue #1923 )
2023-05-14 15:32:39 +02:00