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
Sébastien Helleu
128fbe0d5b
irc: add support of "LINELEN" in message 005 (max message length in bytes) ( closes #1927 )
2023-05-14 15:32:39 +02:00
Sébastien Helleu
1116474c45
irc: reset all internal servers variables when disconnecting
2023-05-14 15:32:39 +02:00
Sébastien Helleu
176a106771
irc: add support of capability "draft/multiline" ( closes #1923 )
2023-05-14 15:32:39 +02:00
Sébastien Helleu
e8b5d73421
irc: return arraylist instead of hashtable in function irc_server_sendf (issue #1923 )
2023-05-14 15:32:35 +02:00
Sébastien Helleu
2154b440d2
irc: don't split messages on "\n" in function irc_server_sendf (issue #1923 )
...
The function now allows only a single message. Newline chars ("\n") are allowed
in messages but not used as message separator.
This is a preparation work for the support of capability "draft/multiline".
2023-05-14 15:32:26 +02:00
Sébastien Helleu
2c39906816
irc: rename constant IRC_COMMAND_CAP_SUPPORTED_COMPLETION to IRC_COMMAND_CAP_SUPPORTED
2023-05-13 19:45:10 +02:00
Sébastien Helleu
c0f574d036
doc: group all CMake files into a single one to build all docs (all languages)
2023-05-13 19:44:14 +02:00
Sébastien Helleu
6415c09a07
core: add quotes around paths in CMake files ( closes #29 )
2023-05-13 11:59:18 +02:00
Sébastien Helleu
adbfd27660
core: fix completion after newline in input ( closes #1925 )
2023-05-12 17:53:02 +02:00
Sébastien Helleu
6d7f10ef20
core: fix execution of multiple commands separated by newline when there are no spaces
...
For example typing this on core buffer:
/t1
/t2
was not executing the two commands but sent the text to the buffer instead.
This is because WeeChat thinks it's a path, and the newline should indicate
it's not (like a space before the next slash: "/t1 /t2" is a command, not a
path, but "/t1/t2" is considered a path).
2023-05-05 20:28:11 +02:00
Sébastien Helleu
25d7192677
api: don't split on newline by default in functions command and command_options when input_multiline is set to 0
...
The API functions `command` and `command_options` (when `split_newline` = 0,
which is the default value) don't split on newline and then the first line is
executed and the subsequent lines (after "\n") are ignored.
There are no changes when the input has multiple lines filled by the user: the
split is done and multiple commands are executed (for example if the user is
pasting multiple commands to execute).
2023-05-04 21:06:32 +02:00
Sébastien Helleu
bbbe83370f
doc/user: add missing French translation for cursor key l
2023-05-04 07:09:12 +02:00
Sébastien Helleu
c73191ab05
doc/scripting: add missing French translation for Tcl null values
2023-05-04 07:06:29 +02:00
Nils Görs
7aaa617643
core: update German translations
2023-05-03 22:58:22 +02:00
Sébastien Helleu
f6b69c9098
irc: add support of capability "batch" ( closes #1292 )
2023-05-03 22:11:31 +02:00
Ivan Pešić
bd5e8dc33b
doc: Update Serbian documentation
2023-05-03 20:29:27 +02:00
Ivan Pešić
e6bddcafee
core: Update Serbian translation
2023-05-03 20:29:27 +02:00
Nils Görs
629afd3301
core: update German translations
2023-05-01 22:02:02 +02:00
Sébastien Helleu
21f972b0a5
trigger: add translation for first line of displayed triggers
2023-05-01 21:44:37 +02:00
Sébastien Helleu
e75009a461
core: add enabled/disabled status color in output of /filter list ( closes #1820 )
2023-05-01 20:23:48 +02:00
Sébastien Helleu
385b1d0133
core: remove options trigger.color.trigger and trigger.color.trigger_disabled (issue #1820 )
...
These options are used instead:
- weechat.color.chat_status_disabled
- weechat.color.chat_status_enabled
2023-05-01 20:16:59 +02:00
Sébastien Helleu
b8f9b83500
core: add options weechat.color.chat_status_disabled and weechat.color.chat_status_enabled (issue #1820 )
2023-05-01 20:12:56 +02:00
Sébastien Helleu
5c245af669
core: move line from "New features" to "Build"
2023-05-01 19:14:33 +02:00
Nils Görs
87b7d03cce
core: update German translations
2023-05-01 18:11:02 +02:00
Sébastien Helleu
ed2ab8a6d0
irc: fix help on sort option in command /autojoin (issue #1876 )
2023-05-01 17:49:46 +02:00
Sébastien Helleu
000d550ff8
core: keep only first message line in modifier "weechat_print" when input_multiline is not set in buffer
2023-05-01 17:36:17 +02:00
Nils Görs
d8d00926ff
core: update German translations
2023-05-01 17:33:18 +02:00
Sébastien Helleu
b127bed0fc
irc: add option buffer in command /autojoin sort ( closes #1876 )
2023-05-01 17:02:51 +02:00
Sébastien Helleu
66d79e2d23
core: keep only first message line in hook line when input_multiline is not set in buffer
2023-05-01 14:53:59 +02:00
Nils Görs
9f2e5a98ea
core: update German translations
2023-04-28 08:20:13 +02:00
Sébastien Helleu
f90d8667a4
irc: add ${username} in server options "nicks" and "username", change their default values to use it
2023-04-27 22:59:24 +02:00
Sébastien Helleu
8822843254
core: add missing French translation
2023-04-27 22:43:10 +02:00
Sébastien Helleu
bc5baf1f05
fset: change default value of option fset.color.value_selected from 80 to 159 (issue #1920 )
2023-04-27 22:36:38 +02:00
Nils Görs
3ba2934dfa
core: update German translations
2023-04-27 10:10:46 +02:00