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
Nils Görs
a025518509
core: update German translations
2023-04-27 08:45:03 +02:00
Sébastien Helleu
2e42da35f9
core: update ChangeLog (issue #1920 )
2023-04-26 21:13:07 +02:00
Sébastien Helleu
4f3524dbac
core: update translations (issue #1920 )
2023-04-26 21:12:56 +02:00
Sébastien Helleu
d35218e991
irc: change default colors (issue #1920 )
...
Default values changed:
- irc.color.reason_quit: default -> 244
- irc.color.topic_new: white -> 36
- irc.color.topic_old: default -> 244
2023-04-26 21:08:16 +02:00
Sébastien Helleu
c12b7ffd3e
core: enable option weechat.look.color_inactive_time by default (issue #1920 )
2023-04-26 21:08:13 +02:00
Sébastien Helleu
156bdc6444
core: change default chat colors (issue #1920 )
...
Default values changed:
- weechat.color.chat_delimiters: green -> 22
- weechat.color.chat_highlight_bg: magenta -> 124
- weechat.color.chat_inactive_window: default -> 240
- weechat.color.chat_nick_colors: add many colors
- weechat.color.chat_nick_offline: default -> 242
- weechat.color.chat_nick_offline_highlight_bg: blue -> 17
- weechat.color.chat_prefix_buffer: brown -> 180
- weechat.color.emphasized_bg: magenta -> 54
- weechat.color.nicklist_away: cyan -> 240
2023-04-26 21:08:12 +02:00
Sébastien Helleu
855f75369d
logger: change default colors (issue #1920 )
...
Default values changed:
- logger.color.backlog_end: default -> 246
- logger.color.backlog_line: default -> 246
2023-04-26 21:08:11 +02:00
Sébastien Helleu
3f2a377e7a
script: change default colors (issue #1920 )
...
Default values changed:
- script.color.status_autoloaded: cyan -> 39
- script.color.text_bg_selected: red -> 24
- script.color.text_date: default -> 65
- script.color.text_date_selected: white -> 50
- script.color.text_delimiters: default -> 240
- script.color.text_description: default -> 249
- script.color.text_extension: default -> 242
- script.color.text_extension_selected: white -> 248
- script.color.text_name: cyan -> 73
- script.color.text_name_selected: lightcyan -> 51
- script.color.text_version: magenta -> 180
- script.color.text_version_loaded: default -> 246
- script.color.text_version_selected: lightmagenta -> 224
2023-04-26 21:08:09 +02:00
Sébastien Helleu
8c9e90524b
fset: enable option fset.look.use_color_value by default (issue #1920 )
2023-04-26 21:08:07 +02:00
Sébastien Helleu
6f1a66924f
fset: add options fset.color.color_name and fset.color.color_name_selected (issue #1920 )
2023-04-26 21:08:06 +02:00
Sébastien Helleu
c4c4ae3715
fset: change default colors (issue #1920 )
...
Default values changed:
- fset.color.description: default -> 242
- fset.color.description_selected: white -> default
- fset.color.line_marked_bg1: default -> 17
- fset.color.line_marked_bg2: default -> 17
- fset.color.line_selected_bg1: blue -> 24
- fset.color.line_selected_bg2: red -> 24
- fset.color.name_changed: brown -> 185
- fset.color.type: green -> 138
- fset.color.type_selected: lightgreen -> 216
- fset.color.value: cyan -> 38
- fset.color.value_changed: brown -> 185
- fset.color.value_selected: lightcyan -> 80
- fset.format.option2: ${color:darkgray} -> ${color:244}
2023-04-26 21:08:04 +02:00
Sébastien Helleu
5973ceffb8
core: change default prefix_suffix char and color (issue #1920 )
...
Default values changed:
- weechat.look.prefix_suffix: "|" -> "│"
- weechat.color.chat_prefix_suffix: green -> 24
2023-04-26 21:08:02 +02:00