Sébastien Helleu
90e7857e62
Version 4.0.6
2023-10-26 21:01:46 +02:00
Sébastien Helleu
480d603eb5
core: fix crash when a custom bar item name is already used by a default bar item (issue #2034 )
2023-10-23 13:11:02 +02:00
Sébastien Helleu
3184bb92e6
core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031 )
2023-10-15 14:58:26 +02:00
Sébastien Helleu
753a2adffc
irc: move value -all at the end of completions for command /ignore del
2023-10-09 20:07:39 +02:00
Sébastien Helleu
020c8145b6
irc: fix memory leak when joining channels with keys
2023-10-07 20:34:41 +02:00
Sébastien Helleu
a33f0d2132
core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (issue #2026 )
2023-10-05 19:05:02 +02:00
Sébastien Helleu
7a3ae654be
core: use larger buffer for errors when creating a filter
2023-10-05 19:02:38 +02:00
LuK1337
64403cefc1
core: fix TOTP moving factor on big-endian systems
2023-09-25 13:52:00 +02:00
LuK1337
9621c4381b
tests: use correct data type method in hdata tests
2023-09-25 13:51:05 +02:00
LuK1337
0ff08971aa
tests: cast infolist time variable value to the correct data type
2023-09-25 13:50:58 +02:00
Sébastien Helleu
19bb049325
Version 4.0.6-dev
2023-09-24 09:34:52 +02:00
Sébastien Helleu
e33da6292d
Version 4.0.5
2023-09-24 09:30:58 +02:00
Sébastien Helleu
be6b27c8f9
core: fix style in ChangeLog
2023-09-24 09:12:21 +02:00
Sébastien Helleu
2d9b133c77
script: only check if return value of plugin_script_search_path is NULL (issue #2019 )
2023-09-22 22:59:21 +02:00
Sébastien Helleu
6c36836182
script: fix removal of script in system directory while trying to install a script (issue #2019 )
2023-09-22 22:53:29 +02:00
Sébastien Helleu
15214f9538
script: fix autoload of multiple scripts at once with /script autoload (issue #2018 )
2023-09-20 20:07:01 +02:00
Sébastien Helleu
7f13bdb51a
irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016 )
2023-09-14 20:22:43 +02:00
Sébastien Helleu
49bbc53d7c
irc: update title in query buffer when remote nick is myself (issue #2016 )
2023-09-14 16:16:39 +02:00
Sébastien Helleu
eb17fa24ee
irc: fix title of query buffer for own messages received (issue #2016 )
2023-09-14 15:30:10 +02:00
Sébastien Helleu
c7d03668f1
irc: open a query buffer on PRIVMSG received from self nick when capability echo-message is NOT enabled (issue #2016 )
2023-09-14 14:54:21 +02:00
Sébastien Helleu
8575546aa2
irc: don't open a new private buffer on /msg command when capability echo-message is enabled (issue #2016 )
2023-09-14 11:21:25 +02:00
Sébastien Helleu
2c716e8154
core: move ChangeLog entry to the appropriate version
2023-09-14 11:12:16 +02:00
Sébastien Helleu
49b1cb06b5
irc: fix title of private buffers wrongly set to own address when capability echo-message is enabled (issue #2016 )
2023-09-14 08:09:34 +02:00
Sébastien Helleu
75a0755107
core: translate error messages (issue #2013 )
2023-09-12 15:12:15 +02:00
Sébastien Helleu
79b03d0680
core: automatically backup config file read if it has an unsupported version (issue #2013 )
2023-09-12 15:03:18 +02:00
Sébastien Helleu
f43ed913f5
xfer: fix memory leak on plugin unload
2023-09-12 15:03:18 +02:00
Sébastien Helleu
1fcbdb3bd9
doc/api: fix return values for callback_read in config_new_section
2023-09-12 15:03:18 +02:00
Sébastien Helleu
1aab82f20b
core: add path in message displayed when a config file is updated to a newer version
2023-09-11 22:50:11 +02:00
Sébastien Helleu
58141bde79
irc: fix autojoin of channels when private buffers are opened (issue #2012 )
2023-09-11 21:43:35 +02:00
Sébastien Helleu
7f6e626122
core: display a message when a configuration file is updated to a newer version
2023-09-11 09:33:39 +02:00
Sébastien Helleu
15860532f3
core: fix style for keys in ChangeLog
2023-08-29 12:32:59 +02:00
Sébastien Helleu
8b7513e883
script: fix crash when a /script command triggers another /script command (issue #923 )
2023-08-27 17:22:09 +02:00
Sébastien Helleu
2566fca78c
irc: use str_nicks only if not NULL in callback of message 353
2023-08-27 17:20:32 +02:00
Trygve Aaberge
a82bfa0e7e
Add compatibility with Python < 3.10 in weechat.pyi
...
The | syntax for unions is only supported in Python 3.10 and later.
Since Python 3.8 and 3.9 are still supported upstream for a while and we
had a user reporting on IRC that they couldn't use the stub file since
they are using 3.8, change to the old syntax for unions to support this.
There aren't really any drawbacks of this. It's just a bit more verbose,
and a typing import is necessary, but neither of those really matters in
a generated stub file.
2023-08-24 19:12:53 +02:00
Sébastien Helleu
48d33521dc
irc: add tests on server functions
2023-08-24 09:23:30 +02:00
Sébastien Helleu
e3f6dab366
irc: fix string comparison when CASEMAPPING is set to "ascii"
2023-08-24 09:23:30 +02:00
Sébastien Helleu
1a05f89586
irc: check that server is not NULL in function irc_server_eval_fingerprint
2023-08-24 09:23:30 +02:00
Sébastien Helleu
c811072bdf
Version 4.0.5-dev
2023-08-22 11:48:41 +02:00
Sébastien Helleu
4ae396825c
Version 4.0.4
2023-08-22 11:43:34 +02:00
Sébastien Helleu
87e47894e6
script: adjust scroll after command /script go N
2023-08-22 11:29:37 +02:00
Sébastien Helleu
ad75786e15
core: fix gcc warning on uninitialized variable pos_end
...
The variable `pos_end` is never used when not initialized anyway, thanks to the
`break` done before.
2023-08-22 10:31:47 +02:00
Sébastien Helleu
39fdb1b564
logger: remove trailing empty line in display of backlog (issue #2002 )
2023-08-21 16:02:37 +02:00
Sébastien Helleu
c5eb982424
perl: fix display of non-ASCII chars after load of a script with Perl >= 5.38 (issue #1996 )
2023-08-21 13:11:58 +02:00
Sébastien Helleu
e7bf09f4e8
irc: fix wrong time displayed for CTCP messages received from self nick (issue #2000 )
2023-08-18 23:59:42 +02:00
Sébastien Helleu
27972b9c5d
scripts: fix tests of functions print_date_tag, print_y_date_tags and hook_timer on 32-bit systems (issue #1999 )
2023-08-18 16:45:30 +02:00
Sébastien Helleu
ab7b51db72
scripts: fix function string_parse_size on 32-bit systems (python and ruby) (issue #1999 )
2023-08-18 16:45:21 +02:00
Sébastien Helleu
647d7033cf
xfer: fix conversion of string to IPv4 on 32-bit systems (issue #1999 )
2023-08-18 16:44:36 +02:00
Sébastien Helleu
4fe1ba7016
tests: fix tests on function irc_join_compare_join_channel (issue #1997 )
2023-08-18 07:55:55 +02:00
Sébastien Helleu
29db9b95ee
tests: fix typo in test name
2023-08-18 07:52:36 +02:00
Sébastien Helleu
270d64cfa1
core: fix increment/decrement of options weechat.notify.*
2023-08-18 07:52:13 +02:00
Sébastien Helleu
4eabcdf840
core: fix integer overflow when setting integer option with ++N or --N
2023-08-18 07:49:19 +02:00
Sébastien Helleu
77911680bb
irc: fix redirection of command /list when the reply doesn't start with message 321 (start of /list)
2023-08-18 07:40:32 +02:00
Sébastien Helleu
bc5b287622
irc: add missing tags on multiline messages (issue #1987 )
2023-08-09 14:55:50 +02:00
Sébastien Helleu
7c0b16df81
Version 4.0.4-dev
2023-08-08 21:19:12 +02:00
Sébastien Helleu
f3bc66b255
Version 4.0.3
2023-08-08 20:51:54 +02:00
Sébastien Helleu
a23d8f2198
relay: fix display of IRC CTCP messages received from client (issue #1986 )
2023-08-08 09:42:34 +02:00
Sébastien Helleu
f4c6caabb3
tests: add test on IRC notice sent to another nick with channel name at beginning (issue #1991 )
2023-08-01 22:49:45 +02:00
Sébastien Helleu
f416688e84
irc: fix display of outgoing notice with channel when capability "echo-message" is enabled (issue #1991 )
2023-08-01 22:37:10 +02:00
Sébastien Helleu
1dc7ae6b68
core: remove CMake option "ENABLE_DOC_WARN_LOCALE" from release notes (issue #1985 )
2023-08-01 08:32:16 +02:00
Sébastien Helleu
b06e09d00b
core: remove CMake option "ENABLE_DOC_WARN_LOCALE" (issue #1985 )
2023-07-31 22:02:18 +02:00
Sébastien Helleu
89090b10e8
core: fix typo
2023-07-31 21:51:19 +02:00
Sébastien Helleu
fad7231f90
doc: stop build of docs if a locale is missing, add CMake option "ENABLE_DOC_WARN_LOCALE" (issue #1985 )
2023-07-31 21:31:53 +02:00
Sébastien Helleu
cf1e073446
core: add missing trailing newline char in doc generation error messages
2023-07-31 08:07:33 +02:00
Sébastien Helleu
b4fc345a13
core: add version 4.0.3 in release notes
2023-07-31 08:10:37 +02:00
Sébastien Helleu
b2cd9d002b
irc: fix switch to channel manually joined (issue #1982 )
...
This happens when server option autojoin_dynamic is on and option
irc.look.buffer_switch_autojoin is off.
Regression was introduced in version 4.0.0 by commit
1c3b871204 .
2023-07-31 08:05:26 +02:00
Sébastien Helleu
9312211d49
core: fix input length and crash after delete of line (issue #1989 )
2023-07-28 07:19:07 +02:00
Sébastien Helleu
2ad27b41a5
irc: fix memory leak in IRC message parser
...
Bug was introduced in WeeChat 3.4 by commit
c4b4d80936 .
2023-07-20 08:57:50 +02:00
Sébastien Helleu
ef68312393
irc: fix display of self CTCP message containing bold attribute (issue #1981 )
2023-07-18 18:54:02 +02:00
Sébastien Helleu
7aa490e360
core: add version 4.0.2 in release notes
2023-07-12 22:11:54 +02:00
Sébastien Helleu
36ea983d04
Version 4.0.3-dev
2023-07-12 20:47:52 +02:00
Sébastien Helleu
a4e7e18c14
Version 4.0.2
2023-07-12 20:42:04 +02:00
Sébastien Helleu
ea934864d4
core: fix renaming of options with command /item rename (issue #1978 )
...
The options `weechat.custom_bar_item.xxx.*` are now properly renamed to the new
item name.
This fixes a save issue (item saved with old name in config) and a crash if a
new item is created with the old name.
2023-07-10 07:34:41 +02:00
Sébastien Helleu
6e7fe96046
core: add quotes around key names in /help key
2023-07-05 21:25:58 +02:00
Sébastien Helleu
82daed8076
core: check that ptr_value is not NULL
2023-07-04 19:15:36 +02:00
Sébastien Helleu
bcc061292d
core: keep keys ctrl-H and ctrl-? (in lower case) if they were manually bound to custom commands in a previous version
2023-07-04 19:10:51 +02:00
Sébastien Helleu
3b26d6750e
core: add key ctrl-backspace in /help key ( closes #1975 )
2023-07-04 18:41:31 +02:00
Sébastien Helleu
71f8c2ba17
doc: fix anchor links in auto-generated files
2023-07-04 18:31:30 +02:00
Sébastien Helleu
2d91845d53
core: update ChangeLog
2023-07-03 23:01:12 +02:00
Sébastien Helleu
ed67f4bf0a
core: fix styles
2023-07-03 22:59:37 +02:00
Trygve Aaberge
e311564387
core: don't send key_pressed signal again for the same key press
...
If you press an incomplete key sequence, previously WeeChat would send
the key_pressed signal again for the same keys on the next key.
E.g. if you press escape and then 1, previously you would get the
key_pressed signal with signal_data `\x01[` when you pressed escape, and
then key_pressed with `\x01[` again when you pressed 1 (plus key_pressed
with `1` for the 1 key). So two signals for the escape key, even though
it was only pressed once.
With this patch, you only get one signal for each key press. So one with
`\x01[` when you press escape and then one with `1` when you press 1.
2023-07-03 22:57:10 +02:00
Trygve Aaberge
2781f38052
core: don't send key_combo_* signals for incomplete keys
...
Version 4.0.0 (specifically commit 1f5c791c3 ) changed the key handling
so key_combo_* signals were sent for each character in a sequence,
rather than just when the sequence is finished. This broke parts of the
vimode.py script.
E.g. for the up arrow, 3.8 sends key_combo_default signal once with the
signal_data `\x01[[A`, while 4.0.0 sends it three times with the
signal_data `\x01[`, `\x01[[` and `\x01[[A`.
With this patch, the previous behavior is brought back. There is one
small change though. In 3.8 if you press escape one or two times it
doesn't send key_combo_default, but if you press it three or more times
it sends it for each escape press. With this patch, it's never sent for
plain escape presses, only when the sequence is finished with some other
key.
This is intentional, as getting key_combo_default for escape presses
doesn't make sense since it's not a finished combo, and the behavior of
3.8 where you got it after three or more key presses was most likely
unintentional as it just happened because it didn't match any key
bindings anymore (there are key bindings starting with one or two escape
characters, but not more).
2023-07-03 22:57:10 +02:00
Sébastien Helleu
6c9ff45e5c
tests: fix hdata tests failure on Alpine 3.18
2023-07-01 09:55:13 +02:00
Sébastien Helleu
3203ee8f05
tests/relay: fix crash in tests on Alpine 3.18
2023-07-01 09:55:01 +02:00
Sébastien Helleu
b71af61581
build: fix detection of PHP 8.2 on Alpine 3.18
2023-07-01 09:54:52 +02:00
Sébastien Helleu
2304029d61
Version 4.0.2-dev
2023-07-01 09:53:53 +02:00
Sébastien Helleu
b06edae3e3
Version 4.0.1
2023-06-30 21:18:01 +02:00
Sébastien Helleu
7d78be3a1b
guile: fix crash on quit with Guile < 3 ( closes #1965 )
2023-06-27 21:44:54 +02:00
Sébastien Helleu
1107205059
core: update ChangeLog
2023-06-27 21:28:46 +02:00
Trygve Aaberge
bd9978e467
core: check for newline characters in string_is_whitespace_char
...
This fixes a bug where if you had multiple lines in the input and
pressed ctrl-w when the cursor was after the first word of any line but
the first, it would delete both the word before the cursor and the last
word on the preceding line.
2023-06-27 21:26:47 +02:00
Sébastien Helleu
b4d999010a
api: do not convert option name to lower case in API functions config_set_plugin and config_set_desc_plugin
2023-06-27 12:58:51 +02:00
Sébastien Helleu
9939f939aa
irc: sent "QUIT" message to servers connected with TLS on /upgrade
2023-06-26 22:08:22 +02:00
Sébastien Helleu
929d6fd452
core: fix level of section title in release notes
2023-06-26 21:23:25 +02:00
Sébastien Helleu
db117f34dd
core: display actual key name and command with key Alt+k
...
Key Alt+K (upper K) is removed as well as commands `/input grab_raw_key` and
`/input grab_raw_key_command`.
2023-06-26 20:40:11 +02:00
Sébastien Helleu
f546796b49
irc: reply to a CTCP request sent to self nick ( closes #1966 )
2023-06-25 22:06:52 +02:00
Sébastien Helleu
dd3277adbb
core: add missing space in French translation
2023-06-25 19:14:48 +02:00
Sébastien Helleu
cb7647a3ea
core: force key "return" to command "/input return" when migrating legacy keys
2023-06-25 19:14:15 +02:00
Sébastien Helleu
21292f7464
core: fix format in Czech translation
2023-06-25 16:12:35 +02:00
Sébastien Helleu
3c433b5106
core: add option weechat.color.status_name_insecure in ChangeLog and release notes
2023-06-25 15:17:40 +02:00
Sébastien Helleu
b578a0a4b9
Version 4.0.1-dev
2023-06-25 15:12:34 +02:00
Sébastien Helleu
1c449f3c2e
Version 4.0.0
2023-06-24 22:00:30 +02:00
Sébastien Helleu
7c7a9484fb
doc/user: fix typo in French translation
2023-06-23 12:01:56 +02:00
Nils Görs
eacb807448
core: update German translations
2023-06-23 07:43:45 +02:00
Sébastien Helleu
001cf3376d
core: update ChangeLog
2023-06-19 07:30:31 +02:00
Sébastien Helleu
e1d1831fa8
core: ignore rest of config file if config version is invalid or not supported
2023-06-17 13:13:11 +02:00
Nils Görs
3e42d95f40
core: update German translations
2023-06-16 14:31:16 +02:00
Sébastien Helleu
1b78cd3bd2
exec: fix URL to plugin API reference in /help exec
2023-06-15 22:07:34 +02:00
Sébastien Helleu
9d7766ce3d
doc/user: fix URL to plugin API reference
2023-06-15 22:04:45 +02:00
Sébastien Helleu
2d25cac44a
relay: add IPv6 example in /help relay.network.bind_address
2023-06-15 22:04:16 +02:00
Sébastien Helleu
09b512337a
core: replace Debian Bullseye by Bookworm in Debian build script
2023-06-12 21:26:21 +02:00
Sébastien Helleu
3af4ccff38
doc/user: update dependencies versions to Debian Bookworm
2023-06-12 21:26:00 +02:00
Sébastien Helleu
964d882c61
doc/user: fix description of key ctrl+q in search context
2023-06-12 18:38:21 +02:00
Nils Görs
a9544af15c
core: update German translations
2023-06-11 17:54:43 +02:00
Sébastien Helleu
8c73634e1b
relay: fix crash on /upgrade when at least a client is connected with weechat protocol
2023-06-11 14:33:32 +02:00
Sébastien Helleu
fc91ee59c9
core: add completions "filters_names_disabled" and "filters_names_enabled"
...
They are used in completion of commands `/filter disable` and
`/filter enable`.
2023-06-10 22:38:54 +02:00
Sébastien Helleu
1145d9f188
trigger: add completions "trigger_names_disabled" and "trigger_names_enabled"
...
They are used in completion of commands `/trigger disable` and
`/trigger enable`.
2023-06-10 20:30:52 +02:00
Sébastien Helleu
5de7152383
core: update instructions in cygport file
2023-06-10 18:16:24 +02:00
Sébastien Helleu
5d06ab76df
exec: remove trailing "M" (carriage return) in output of commands
...
Regression was indirectly caused by commit
d18f68e497 in core that allows to display all
control chars in buffers.
But the fix is in exec plugin: end of line in command output can now be "\r\n"
in addition to a single "\n".
2023-06-10 09:51:04 +02:00
Sébastien Helleu
2eacbe6153
core: add new IRC capabilities in release notes
2023-06-07 18:23:42 +02:00
Sébastien Helleu
0b51c2d0be
doc: increase sectnumlevels to 2 (user/scripting/quickstart/relay/dev)
2023-06-06 19:13:20 +02:00
Sébastien Helleu
4185e7b9f6
guile: fix crash when plugin is loaded on GNU/Hurd ( closes #1951 )
2023-06-05 21:09:27 +02:00
Sébastien Helleu
0d92c8703f
debian: update changelog
2023-06-05 19:09:25 +02:00
Sébastien Helleu
dccd1a348c
doc: fix URLs to WeeChat docs
2023-06-05 19:08:12 +02:00
Sébastien Helleu
ab9b8e0b01
tests: fix checks on integers in relay irc protocol tests
2023-06-05 19:04:05 +02:00
Sébastien Helleu
7f07782208
tests: add missing include of string.h in logger tests
2023-06-05 19:02:57 +02:00
Sébastien Helleu
7a754d93ab
doc/relay: add option "escape_commands" in handshake response and examples
2023-06-05 19:01:46 +02:00
Sébastien Helleu
3a4f51b352
Version 4.0.0-rc1
2023-06-05 08:18:10 +02:00
Sébastien Helleu
48b35bdc63
logger: fix display of multiline messages in backlog ( closes #1926 )
2023-06-05 07:29:21 +02:00
Sébastien Helleu
4e705afdf6
tests: add tests on logger tail functions (issue #1926 )
2023-06-05 07:29:10 +02:00
Sébastien Helleu
615069caef
logger: return arraylist instead of custom linked list in logger_tail_file (issue #1926 )
2023-06-05 07:29:01 +02:00
Nils Görs
5e35ead044
doc: update German documentation
2023-06-04 11:17:53 +02:00
Nils Görs
4712fabbb0
core: update German translations
2023-06-04 11:12:59 +02:00
Sébastien Helleu
e04d8894a0
irc: add tag "new_host_xxx" in message displayed for command CHGHOST ( closes #1808 )
2023-06-04 09:45:47 +02:00
Sébastien Helleu
7f4c3a660a
core: update ChangeLog (issue #1950 )
2023-06-03 21:40:55 +02:00
Sébastien Helleu
31e2e7d45c
doc/user: add new FIFO syntax (issue #1950 )
2023-06-03 21:40:51 +02:00
Trygve Aaberge
43dee8ce54
fifo: allow using escape characters
...
This allows you to use escape characters if you start the fifo command
with \ instead of *, in the same way as the escape_commands option in
the relay protocol. This allows you to send commands consisting of
multiple lines by using \n if the buffer has input_multiline set.
2023-06-03 21:31:38 +02:00
Sébastien Helleu
682fc40708
irc: add option irc.look.display_host_notice
2023-06-03 21:15:58 +02:00
Sébastien Helleu
482fe6604c
relay: add handshake option "escape_commands" in weechat protocol
2023-06-03 20:06:29 +02:00
Nils Görs
2660164118
core: update German translations
2023-06-03 19:36:58 +02:00
Sébastien Helleu
5e85bce2b7
core: specify irc protocol for relay changes
2023-06-03 17:28:15 +02:00
Sébastien Helleu
dd4eb80e81
doc: fix formatting issues with links that target a blank window
2023-06-03 17:08:17 +02:00
Sébastien Helleu
498aa3256f
relay: add support of capability "echo-message" ( closes #1949 )
2023-06-03 14:15:55 +02:00
Sébastien Helleu
ac9dc3b9c8
irc: add infos "irc_server_cap" and "irc_server_cap_value" (issue #1949 )
2023-06-03 14:15:49 +02:00
Sébastien Helleu
911c976f9b
tests: add tests on relay "irc" protocol
2023-06-02 18:50:45 +02:00
Sébastien Helleu
5eb1a31552
irc: add missing "user" in documentation of functions
2023-06-02 18:50:45 +02:00
Sébastien Helleu
02a20507cb
relay: fix connection with IRC clients sending "CAP REQ :" (without capability) and not sending "CAP END" (issue #1040 , issue #1796 )
...
The bug was fixed in version 2.0 (issue #1040 ) but a regression in version 3.7
happened while using the new IRC parser for message arguments (issue #1796 ,
commit 96ed471261 ).
2023-06-02 18:50:45 +02:00
Sébastien Helleu
3d8c55722c
relay: add modifiers "relay_client_irc_in", "relay_client_irc_out1" and "relay_client_irc_out"
2023-06-02 18:50:45 +02:00
Trygve Aaberge
19a0cfe72d
core: fix weechat.look.align_multiline_words not working
...
This option was broken with commit 031bd45e3 .
2023-06-02 18:48:47 +02:00
Sébastien Helleu
f7149dc7be
tests: create and close server buffer in tests on function irc_join_split
2023-05-31 23:39:19 +02:00
Sébastien Helleu
c0300ec0a4
tests: fix close of channel buffers after tests on function irc_join_split
2023-05-31 23:00:34 +02:00
Sébastien Helleu
310af25226
ruby: fix crash in display of exception backtrace with Ruby 3 (issue #1631 , issue #1886 )
2023-05-31 20:56:14 +02:00
Nils Görs
7f11d44e40
core: update German translations
2023-05-31 07:18:00 +02:00
Ivan Pešić
47bca29e3c
doc: update Serbian documentation
2023-05-30 21:06:53 +02:00
Ivan Pešić
614f423498
core: update Serbian messages translation
2023-05-30 21:06:53 +02:00
Sébastien Helleu
71b85f1238
core: send all command line parameters not beginning with a dash to all plugins, add info "auto_load_scripts"
...
This fixes an issue with IRC URL given on command line when it starts with
`ircs://` or `irc6://`: the server is not created at all (only `irc://` works
fine).
2023-05-30 20:56:25 +02:00
Sébastien Helleu
eda62e1218
fset: reset color immediately after the color name (issue #1920 )
2023-05-30 07:39:11 +02:00
Sébastien Helleu
f917d22655
core: update ChangeLog (issue #1920 )
2023-05-30 07:37:18 +02:00
Nils Görs
c96cc7a008
doc: update German documentation
2023-05-29 17:39:29 +02:00
Trygve Aaberge
6f3a67fdc1
core: set word_end_offset to character after word
...
It seemed strange to me to have word_end_offset point to the last
character in the word, rather than the character after the word,
especially now with the word stopping before a newline character which
meant word_end_offset would be -1 if there was no characters before the
newline character.
2023-05-29 17:10:25 +02:00
Trygve Aaberge
96f41ce4bf
core: fix chat colors at certain positions not being applied
...
The new rendering of multiline lines had some issues with colors at
certain positions not being applied. The color would not be applied if
the color code was at either of these positions:
- At the start of a line after a newline character
- At the end of a line after a space and before a newline character
- At a line by itself before a newline character
The way I had done it by considering newline characters as a word in
gui_chat_get_word_info with a variable specifying that it's newline
characters became messy and didn't really make sense, so rather than
doing this, I changed gui_chat_get_word_info to stop before the first
newline character. That way, we can just check if we are at a newline
character at the start of the loop, and don't need any more special
handling.
Fixes #1928
2023-05-29 17:10:25 +02:00
Sébastien Helleu
f1a826a116
tests: add tests on manual CTCP ACTION sent to IRC channel
2023-05-29 11:13:49 +02:00
Sébastien Helleu
a4c2d7f808
irc: fix display of CTCP ACTION sent without parameters nor space
2023-05-29 11:10:25 +02:00
Sébastien Helleu
3826d1150d
irc: remove unneeded extra check on "\01ACTION " in irc_input_user_message_display
2023-05-29 11:04:50 +02:00
Sébastien Helleu
031bcf5ff2
irc: hide password in messages to nickserv with cap echo-message enabled (issue #139 )
2023-05-29 09:49:41 +02:00
Sébastien Helleu
ea38779c85
irc: add command /action ( closes #201 , issue #1577 ), remove alias action
2023-05-29 09:44:13 +02:00
Sébastien Helleu
193d290285
alias: add option missing in command /alias
2023-05-27 20:20:31 +02:00
Sébastien Helleu
50f5be70aa
alias: add alias action to send a CTCP ACTION to a channel or a nick (issue #1577 )
2023-05-27 20:07:37 +02:00
Sébastien Helleu
1651c48856
irc: add missing host tag in self messages with cap echo-message enabled (issue #139 )
2023-05-27 16:49:08 +02:00
Sébastien Helleu
649b9d0ca6
irc: fix display of STATUSMSG CTCP ACTION to channel with cap echo-message enabled (issue #139 , issue #1577 )
2023-05-27 16:49:08 +02:00
Sébastien Helleu
a41dff7acc
irc: fix display of outgoing CTCP when channel/private buffer doesn't exist
2023-05-27 16:49:08 +02:00
Sébastien Helleu
3a0141174b
irc: fix display of outgoing STATUSMSG CTCP ACTION without arguments
2023-05-27 16:49:08 +02:00
Sébastien Helleu
dbcb8d3dbf
irc: remove extra space in CTCP ACTION message sent without arguments
...
Now when doing `/me` (without arguments), the message sent is:
PRIVMSG #test :\x01ACTION\x01
instead of:
PRIVMSG #test :\x01ACTION \x01
2023-05-27 16:49:08 +02:00
Sébastien Helleu
a2e73d64d6
irc: fix split of CTCP message with no arguments
2023-05-27 16:49:08 +02:00
Sébastien Helleu
0babf5db23
irc: display STATUSMSG actions differently from standard actions on channels ( closes #1577 , issue #139 )
2023-05-27 16:48:56 +02:00
Sébastien Helleu
93d447ffc7
irc: fix send of empty action with /me command
2023-05-27 10:04:15 +02:00
Sébastien Helleu
be0b082463
core: remove WeeChat website from SRC_URI in cygport file
2023-05-26 18:03:20 +02:00
Sébastien Helleu
80532862d5
core: update ChangeLog
2023-05-26 18:03:08 +02:00
Sébastien Helleu
a6769e46f9
tests: add tests on IRC message/notice/action/CTCP sent with cap echo-message enabled (issue #139 )
2023-05-26 18:02:50 +02:00
Sébastien Helleu
b61cbefd30
tests: remove capabilities added after the end of tests
2023-05-26 18:02:01 +02:00
Sébastien Helleu
30b86e08fd
tests: add tests on IRC message/notice/action/CTCP sent (issue #139 )
2023-05-26 12:44:15 +02:00
Sébastien Helleu
10b803fd59
irc: add missing nick tag in self CTCP ACTION displayed (issue #139 )
2023-05-26 12:36:01 +02:00
Sébastien Helleu
4c6f503cc7
irc: display CTCP ACTION to channel on the channel buffer (issue #139 , closes #207 )
2023-05-26 12:31:22 +02:00
Sébastien Helleu
c1ee493073
doc/user: rewrite IRC smart filter chapter, add detail on all filtered messages
2023-05-26 08:53:20 +02:00
Sébastien Helleu
e8f508a7cc
doc/user: display 3 levels instead of 2 in TOC
2023-05-26 07:13:04 +02:00
Nils Görs
afdd24591a
core: update German translations
2023-05-25 22:58:59 +02:00
Sébastien Helleu
2654961e1c
irc: display actions sent with /me in private buffer instead of server buffer (issue #139 )
2023-05-25 22:43:54 +02:00
Sébastien Helleu
e50be16730
irc: fix display of actions sent with /me (issue #139 )
2023-05-25 22:34:03 +02:00
Sébastien Helleu
d9789e522f
irc: fix duplicated CTCP messages displayed when capability "echo-message" is enabled (issue #139 )
2023-05-25 22:15:41 +02:00
Sébastien Helleu
809f59dfd1
irc: hide messages sent with /msg to a nick when capability "echo-message" is enabled (issue #139 )
2023-05-25 19:25:01 +02:00
Sébastien Helleu
45fb1ae4ba
irc: hide CTCP messages sent with /ctcp when capability "echo-message" is enabled (issue #139 )
2023-05-25 19:22:40 +02:00
Sébastien Helleu
3a8525bb95
irc: hide self actions sent with /me when capability "echo-message" is enabled (issue #139 )
2023-05-25 19:19:11 +02:00
Sébastien Helleu
f9e358b76c
tests: remove import of unused headers
2023-05-23 21:52:16 +02:00
Sébastien Helleu
ad1ae12321
doc/user: move IRCv3 chapter outside "Servers"
2023-05-23 21:49:54 +02:00
Sébastien Helleu
64c3f3f0cd
irc: add support of capability "echo-message" ( closes #139 )
2023-05-23 21:49:54 +02:00
Sébastien Helleu
8f5a3cb639
irc: fix display of status privmsg/notice, add missing tags in messages (issue #139 )
...
The status PRIVMSG and NOTICE are now displayed the same way for outgoing and
received messages:
Msg(alice) -> @#test: message for ops
Notice(alice) -> @#test: notice for ops
And any message like this is displayed with these tags if the nick is self
nick (case of a bouncer or if capability "echo-message" is enabled):
"self_msg", "notify_none", "no_highlight".
2023-05-23 21:49:53 +02:00
Sébastien Helleu
8abde49ba2
irc: fix order of tags in outgoing messages
...
The order of tags in message doesn't matter, but this is for the sake of
consistency with the other messages displayed.
2023-05-23 21:49:53 +02:00
Sébastien Helleu
20bfe4c1ba
irc: add missing tags "irc_cap" and "log3" in cap messages (client capability)
2023-05-23 21:49:53 +02:00
Sébastien Helleu
3cb5f25681
irc: add missing tag "log3" in notify messages
2023-05-23 21:49:53 +02:00
Sébastien Helleu
f3e1da894b
tests: check tags in messages displayed by IRC plugin
2023-05-23 21:49:53 +02:00
Sébastien Helleu
eb7435f8b9
tests: separate prefix from message in recorded messages
...
The record functions are moved to tests-record.cpp.
2023-05-22 20:43:16 +02:00
Sébastien Helleu
126d3559ca
script: remove trailing "J" (line feed char) in source of scripts displayed
...
Regression was indirectly caused by commit
d18f68e497 in core that allows to display all
control chars in buffers.
But the fix is in script plugin: when the script is downloaded and read line by
line, trailing "\r" and "\n" are removed, and therefore not displayed.
2023-05-22 20:40:45 +02:00
Sébastien Helleu
c0b3f63985
core: add note about config files incompatibility in release notes
2023-05-21 09:01:10 +02:00
Sébastien Helleu
4f5dac4f85
irc: add batch files for translations
2023-05-20 17:10:59 +02:00
Sébastien Helleu
c3c218035a
logger: add option logger.file.log_conditions ( closes #1942 )
2023-05-20 17:08:34 +02:00
Sébastien Helleu
7461a5cb87
xfer: create buffer 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:33 +02:00
Sébastien Helleu
db931b7806
trigger: create buffer 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:31 +02:00
Sébastien Helleu
cbde92c44e
script: create buffer 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:30 +02:00
Sébastien Helleu
00f4ae760d
relay: create 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:28 +02:00
Sébastien Helleu
1ad45598b5
fset: create buffer 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:27 +02:00
Sébastien Helleu
b1759ab25a
exec: create buffer 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:25 +02:00
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
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
Sébastien Helleu
875d6e7e6f
buflist: change default background color of current buffer (issue #1920 )
...
Default value changed:
- buflist.format.buffer_current: "${color:,blue}${format_buffer}" ->
"${color:,17}${format_buffer}"
2023-04-26 21:08:00 +02:00
Sébastien Helleu
cd1d80c1cb
core: change default color of bars and windows separators (issue #1920 )
...
Default value changed:
- weechat.color.separator: blue -> 236
2023-04-26 21:07:56 +02:00
Sébastien Helleu
6d6c99f2ac
core: change default background color of status and title bars (issue #1920 )
...
Default values changed:
- weechat.bar.status.color_bg: blue -> 234
- weechat.bar.status.color_bg_inactive: darkgray -> 232
- weechat.bar.title.color_bg: blue -> 234
- weechat.bar.title.color_bg_inactive: darkgray -> 232
2023-04-26 21:07:50 +02:00
Sébastien Helleu
6f0440e459
core: add option weechat.color.status_name_insecure (issue #1920 )
...
Default value of option weechat.color.status_name_tls is set to white instead
of lightgreen.
Now all servers/channels connected with TLS are white, and those without TLS
are lightmagenta.
2023-04-26 21:07:37 +02:00
Sébastien Helleu
e8c48c0a1f
core: always allow 256 colors, find nearest color if less colors are available in terminal (issue #1920 )
2023-04-26 21:07:26 +02:00
Sébastien Helleu
ff402fb6ec
core: fix infinite loop on startup when running some gui commands before the switch to core buffer is performed ( closes #1917 )
2023-04-26 19:11:54 +02:00
Nils Görs
5481af963c
doc: update German documentation
2023-04-26 11:49:47 +02:00
Nils Görs
6edf0ef003
core: update German translations
2023-04-26 11:46:54 +02:00
Trygve Aaberge
8d430aa2eb
core: fix display bug when drawing partially scrolled multiline
...
If you have a chat line with multiple lines that were scrolled so that
part of it is rendered at the bottom of the chat area, and part of it
falls below the chat area, there was a bug where the prefix_suffix would
be displayed at the end of the last line.
Looks like this happens because the gui_chat_display_prefix_suffix is
called for the line below the last line displayed in the chat area. So
we have to add a check for this so we don't add the prefix_suffix. This
check is copied from gui_chat_display_word which checks for the same.
Fixes #1912
2023-04-26 00:47:02 +02:00
Sébastien Helleu
df6dfcea11
core: move line from "New features" to "Bug fixes" (issue #1882 )
2023-04-26 00:10:37 +02:00
Sébastien Helleu
a22d6a1bf6
core: update ChangeLog
2023-04-26 00:09:53 +02:00
Andrew Potter
71382b6c0f
ruby: Restore default SIGCHLD signal handler on unload
...
fixes #1889
2023-04-26 00:07:54 +02:00
Sébastien Helleu
ac25043b27
core: add option split_return in command /input ( closes #1916 )
2023-04-25 22:10:48 +02:00
Sébastien Helleu
0debd47d3e
core: update ChangeLog
2023-04-25 19:07:14 +02:00
Sébastien Helleu
ea734b5924
doc/api: add variable "_chat_focused_line" in function hook_focus
2023-04-25 19:05:05 +02:00
Trygve Aaberge
e51ffc1a6e
core: add cursor key l to quote focused line
...
Fixes #1913
2023-04-25 00:11:30 +02:00
Trygve Aaberge
a401fbf217
core: add _chat_focused_line variable to get the focused line
...
This contains the single line that you focused on, like _chat_word
contains the word that you focused on. This will be equal to
_chat_line_message if the chat line only contains a single line, but if
the chat line has multiple lines, _chat_line_message will contain all of
them, but _chat_focused_line will only contain the single line that was
focused.
Fixes part of #1913
2023-04-25 00:11:26 +02:00
Sébastien Helleu
e00ec6710d
irc: add message 742 (mode cannot be set)
2023-04-24 21:44:34 +02:00
Sébastien Helleu
28bb33aa5a
irc: add message 415 (cannot send message to channel)
2023-04-24 21:43:57 +02:00
Sébastien Helleu
9f5e8efbe0
core: fix update of terminal title in some terminals like suckless terminal (stterm) ( closes #1882 )
2023-04-23 22:02:33 +02:00
Emir SARI
2d93f9d703
core: update Turkish translations (issue #1868 )
2023-04-23 16:53:28 +02:00
Sébastien Helleu
3d79e2c9d2
Revert "core: remove deprecated parameters from command /input"
...
This reverts commit 2b7f745369 .
Parameters removed are still used in scripts, and it's OK to keep them for a
while.
2023-04-23 09:53:50 +02:00
Nils Görs
da49adebc3
core: update German translations
2023-04-22 09:35:19 +02:00
Sébastien Helleu
3a9ac529d5
buflist: update example in /help buflist.look.sort
2023-04-22 08:06:33 +02:00
Sébastien Helleu
731c2d66bc
buflist: add example to sort on hotlist activity in /help buflist.look.sort
2023-04-21 21:15:45 +02:00
Sébastien Helleu
2c82a1a35f
core: update ChangeLog
2023-04-20 22:39:02 +02:00
Sébastien Helleu
078da85f5e
core: keep only first message line in hdata update of line_data when input_multiline is not set in buffer
2023-04-20 22:36:18 +02:00
Sébastien Helleu
5193c0aeea
core: do now allow buffer property "input_multiline" to be reset to 0, except if buffer has no lines
2023-04-20 22:36:18 +02:00
Trygve Aaberge
e5573bfb4d
core: still split on printf when input_multiline isn't set
...
If we have chat lines with multiple lines in buffers without
input_multiline set, there can be an issue if a trigger is run on that
line. If the trigger runs a command which includes the message, then the
command is split (since input_multiline isn't set), and if any of the
lines in the message starts with a command, that command is executed.
To prevent this, only avoid splitting on newlines in printf if
input_multiline is set, so only such buffers can have chat lines with
newline characters.
See https://github.com/weechat/weechat/pull/1909 for more details.
2023-04-19 16:47:44 +02:00
Trygve Aaberge
07fa6b12a6
core: don't split on newline characters in printf_date_tags
...
With support for rendering newline characters as new lines, we don't
need to split the message on newline characters anymore in
printf_date_tags. This allows you to print a line with multiple lines.
2023-04-19 16:47:44 +02:00
Trygve Aaberge
031bd45e36
core: render newline characters in chat line messages
...
If a chat line message contains a newline character (\n) it was
previously rendered as J with reverse video. This commit makes it
render as an actual newline instead, so messages with multiple lines
become supported.
The rendering is fixed in normal mode as well as bare mode both when
scrolled to the bottom and when scrolled up (which is different code
paths). Focus events has also been updated to support this (except for
_chat_line_y which returns -1 for all lines, but the docs says this
variable is only for buffers with free content).
Currently, the only way to include a \n in a chat line message is with
hdata_update because printf splits on \n and creates multiple separate
lines, but hopefully either printf can be changed to not split on \n, or
a new command which doesn't split can be added.
2023-04-19 16:47:44 +02:00
Sébastien Helleu
2b7f745369
core: remove deprecated parameters from command /input
...
Parameters removed:
- jump_smart
- jump_last_buffer
- jump_last_buffer_displayed
- jump_previously_visited_buffer
- jump_next_visited_buffer
- hotlist_clear
- hotlist_remove_buffer
- hotlist_restore_buffer
- hotlist_restore_all
- set_unread_current_buffer
- set_unread
- switch_active_buffer
- switch_active_buffer_previous
- zoom_merged_buffer
2023-04-19 16:44:42 +02:00
Sébastien Helleu
19baa79d64
core: convert deprecated commands bound to keys when upgrading weechat.conf to v2
2023-04-19 16:35:39 +02:00
Sébastien Helleu
389e719302
core: bump guile version to 3.0 in cygwin
2023-04-18 22:45:35 +02:00
Sébastien Helleu
ee7cd3de5c
doc/user: update links to release notes
2023-04-17 22:31:26 +02:00
Sébastien Helleu
b5e81f931b
doc: update header and remove links in ChangeLog and release notes
2023-04-16 22:05:45 +02:00
Sébastien Helleu
2eaaa19beb
core: simplify print of stable/devel version number in version.sh
2023-04-15 23:52:29 +02:00
Sébastien Helleu
1eb8e21d4b
core: hide error when git tag does not exist
2023-04-15 16:59:48 +02:00
Sébastien Helleu
412b9de263
core: add missing space before trailing backslash
2023-04-15 12:16:18 +02:00
Sébastien Helleu
c8780d2d7a
core: fix description of script bump_version.sh
2023-04-15 11:58:20 +02:00
Sébastien Helleu
a5f5008c77
core: add missing quotes around variables
2023-04-15 11:46:45 +02:00
Sébastien Helleu
bbc5c4948a
core: update ChangeLog
2023-04-15 11:15:02 +02:00
Sébastien Helleu
c391a49cc1
core: add quote around stable/devel versions
2023-04-15 11:12:56 +02:00
Sébastien Helleu
4090680ef7
core: add "stable-number" and "devel-number" in version.sh
...
This is the same value returned by the info "version_number" in a running
WeeChat.
2023-04-15 11:10:19 +02:00
Sébastien Helleu
72477b49d7
api: add optional argument with version in info "version_number"
2023-04-15 11:09:59 +02:00
Sébastien Helleu
15d5fce00a
doc/api: add more examples on function util_version_number
2023-04-15 11:00:00 +02:00
Sébastien Helleu
49ff42bef5
core: remove unnecessary condition in comparison of timeval structures
...
Ref: https://github.com/weechat/weechat-relay/pull/3
2023-04-14 13:06:18 +02:00
Sébastien Helleu
70bf3f8671
core: replace "SSL" by "TLS" in /help upgrade (issue #1903 )
2023-04-13 20:11:03 +02:00
Nils Görs
2085c470e6
core: update German translations
2023-04-13 11:02:09 +02:00
Sébastien Helleu
aa1d2a709d
core: update translations (issue #1903 )
2023-04-12 17:17:52 +02:00
Sébastien Helleu
fe1ab06924
irc: improve short description of server (issue #1903 )
2023-04-12 17:17:49 +02:00
Sébastien Helleu
6e17d39adf
irc: fix URL of doc on capability negotiation (issue #1903 )
2023-04-12 17:17:46 +02:00
Sébastien Helleu
e516a0714f
irc: add support of RFC 7194 (default port 6697 for TLS) (issue #1903 )
2023-04-12 17:17:43 +02:00
Sébastien Helleu
55a853eb76
core: add TLS changes in release notes (issue #1903 )
2023-04-12 17:17:41 +02:00
Sébastien Helleu
95b30f8da5
irc: connect with TLS and port 6697 by default (issue #1903 )
2023-04-12 17:17:38 +02:00
Sébastien Helleu
8eb096b3ef
relay: rename "ssl" options and protocol to "tls" (issue #1903 )
2023-04-12 17:17:34 +02:00
Sébastien Helleu
dec237b104
irc: rename "ssl" options to "tls" (issue #1903 )
2023-04-12 17:17:30 +02:00
Sébastien Helleu
23b870ec1d
core: rename option weechat.color.status_name_ssl to weechat.color.status_name_tls (issue #1903 )
2023-04-12 17:17:26 +02:00
Sébastien Helleu
ff2f94c12b
core: replace SSL by TLS in comments (issue #1903 )
2023-04-12 17:17:23 +02:00
Sébastien Helleu
9ccdc5aff6
irc: check that IRC URL starts with "irc" (issue #1903 )
2023-04-12 17:17:20 +02:00
Sébastien Helleu
62171c5974
irc: add more info in description of function irc_server_alloc_with_url (issue #1903 )
2023-04-12 17:17:13 +02:00
Sébastien Helleu
e5c1945931
irc: set gnutls_sess, tls_cert and tls_cert_key to NULL by default in server (issue #1903 )
2023-04-12 17:17:00 +02:00
Nils Görs
00c847ee56
core: update German translations
2023-04-12 10:03:24 +02:00
Sébastien Helleu
d58d4dd8fa
core: improve description of arguments in bump version script
2023-04-08 11:13:28 +02:00
Sébastien Helleu
49df360652
core: remove WEECHAT_DEVEL_FULL from version.sh
2023-04-08 11:08:33 +02:00
Sébastien Helleu
5f7ead023f
core: add way to read stable major/minor/patch version
2023-04-08 09:18:39 +02:00
Sébastien Helleu
7ced1821db
core: add contributor (issue #1904 )
2023-04-08 08:21:31 +02:00
Sébastien Helleu
6be7960e1c
core: update ChangeLog (issue #1904 , issue #1905 )
2023-04-08 08:19:50 +02:00
wfrsk
cd740fc18b
lua: fix crash with print when the value to print is not a string
2023-04-08 08:16:02 +02:00
Sébastien Helleu
127c8e0eb6
core: change default color of "mouse_status" item to lightgreen
2023-04-07 18:56:35 +02:00
Sébastien Helleu
ce1adf0fd7
core: add item "mouse_status" in default status bar
2023-04-07 18:54:51 +02:00
Sébastien Helleu
6247598d3f
core: fix comment in bump version script
2023-04-07 08:10:10 +02:00
Grady Martin
f4c8b9e29f
Update Japanese translations
...
This fixes a small typo.
2023-04-07 08:03:37 +02:00
Sébastien Helleu
41c1cc6e0b
doc: add BYPRODUCTS in doc-autogen target
...
This is needed for Ninja and the "clean" target now removes all auto-generated
files.
2023-04-05 23:29:17 +02:00
Sébastien Helleu
f1e7f861e9
core: fix pointer to hash and hash_temp in doc generator
2023-04-05 22:44:11 +02:00
Sébastien Helleu
0b20cb449a
tests: add tests on function irc_server_alloc_with_url
2023-04-05 21:17:03 +02:00
Sébastien Helleu
5c801f2741
irc: display a warning if command name in option irc.msgbuffer.* is not lower case
2023-04-05 21:04:54 +02:00
Sébastien Helleu
87216279ca
irc: display a warning if CTCP name in option irc.ctcp.* is not lower case
2023-04-05 20:56:48 +02:00
Sébastien Helleu
b6a59be317
irc: search options irc.ctcp.* with lower case ctcp string
2023-04-05 20:47:20 +02:00
Sébastien Helleu
e75c61d7aa
doc/user: remove Javascript from plugins compiled with CMake option ENABLE_SCRIPTS
...
The Javascript plugin is not built by default any more since v2.9 and must be
explicitly enabled with `-DENABLE_JAVASCRIPT=ON`.
2023-04-03 21:09:05 +02:00
Sébastien Helleu
924c543430
core: ensure tag/commit are not done upon startup, do not undo tag/commit in case of error
2023-04-03 20:06:46 +02:00
Sébastien Helleu
1c3b871204
irc: don't switch to buffer of joined channel if it was not manually joined nor present in server autojoin option
2023-04-03 20:00:32 +02:00
Sébastien Helleu
b8f40cfa99
core: add script release.sh
2023-04-02 17:51:33 +02:00
Sébastien Helleu
058c9f8b84
core: add script bump_version.sh
2023-04-02 14:01:21 +02:00
Sébastien Helleu
ff85d00e7f
irc: update autojoin option with redirected channels when autojoin_dynamic is enabled ( closes #1898 )
2023-04-02 13:49:25 +02:00
Nils Görs
e15bd25f37
core: update German translations
2023-04-01 22:44:33 +02:00
Sébastien Helleu
4aabe8681f
core, plugins: set options to NULL by default, refactor config init functions
2023-04-01 20:56:11 +02:00
Sébastien Helleu
3e9524ee65
alias: rename all aliases to lower case on upgrade (issue #1872 )
2023-04-01 16:47:23 +02:00
Nils Görs
e23100c09b
core: update German translations
2023-03-31 23:19:34 +02:00
Sébastien Helleu
f330ff865c
ci: enable build of incomplete docs on macOS
2023-03-31 21:16:22 +02:00
Sébastien Helleu
6665cc866a
doc: add CMake option ENABLE_DOC_INCOMPLETE to force build of incomplete docs ( closes #1901 )
2023-03-31 21:08:56 +02:00
Sébastien Helleu
10b2fa3a61
irc: fix target buffer for commands 432/433 when the nickname looks like a channel
2023-03-31 19:54:26 +02:00
Sébastien Helleu
7558fe7c1b
build: add condition to enable gcc/g++ specific options
...
This fixes warnings with clang.
2023-03-31 19:09:12 +02:00
Sébastien Helleu
0f3f7c3b37
core: replace key meta2- by meta-[ in comments
2023-03-31 18:59:04 +02:00
Sébastien Helleu
0cf723ec1a
doc/faq: replace key meta2- by meta-[
2023-03-31 18:59:04 +02:00
Sébastien Helleu
1684f60207
core: fix key meta-[O (unfocus with xterm) ( closes #1900 )
2023-03-31 18:58:49 +02:00
Sébastien Helleu
613dc73fd4
core: remove keys meta-[I and meta-[G for pgup/pgdn (issue #1900 )
...
It seems no terminal return such codes any more for pgup/pgdn, and `meta-[I` is
conflicting with the xterm terminal "focus in" key code.
The keys are also removed from config when converting old keys, but only if
they are bound to the default command (`/window page_up` for `meta2-I` and
`/window page_down` for `meta2-G`).
2023-03-31 18:57:58 +02:00
Nils Görs
867536f8ce
core: update German translations
2023-03-31 11:29:48 +02:00
Sébastien Helleu
7e7b015aa1
core: update translations
2023-03-30 22:12:44 +02:00
Sébastien Helleu
672945a359
logger: add info "logger_log_file"
2023-03-30 22:04:33 +02:00
Sébastien Helleu
6a2ecc90b3
spell: check buffer pointer received in info "spell_dict"
2023-03-30 22:02:12 +02:00
Sébastien Helleu
35067512e9
core: update translations
2023-03-30 21:58:46 +02:00
Sébastien Helleu
7c6d490a4e
doc: update Ubuntu Bionic Debian patch to remove asciidoctor option
...
The option "--failure-level" has been added in Asciidoctor 1.5.7 and the
version in Ubuntu Bionic is 1.5.5.
2023-03-30 07:42:12 +02:00
Sébastien Helleu
a62f2dac58
ci: disable build of doc when NLS is disabled
2023-03-30 01:34:55 +02:00
Sébastien Helleu
c243e4add9
ci: disable build of doc on macOS
...
Since the PHP plugin is not built, the doc can not be built any more (all
plugins must be compiled to generate autogen files).
2023-03-30 01:34:55 +02:00
Sébastien Helleu
d24f6295d4
doc: remove unnecessary empty lines in autogen files
2023-03-30 01:34:55 +02:00
Sébastien Helleu
3eeef346b1
doc: update autogen files only if changed, add autogen dependencies on docs
2023-03-30 01:34:55 +02:00
Sébastien Helleu
6dbfb638c6
doc: convert docgen.py to C, remove autogen files from repository, add parameter --doc-gen
...
Changes:
- build of doc now requires weechat-headless, translations and all plugins
- convert docgen.py to C
- remove `autogen_*` files from repository
- add command line parameter `--doc-gen` in `weechat-headless` to build
autogen files
- build .mo files with directories like the installed ones
(eg: "<lang>/LC_MESSAGES/weechat.mo")
- remove javascript chapter from user's guide
2023-03-30 01:34:55 +02:00
Sébastien Helleu
4548b25b78
doc: make asciidoctor fail on any warning
2023-03-29 20:48:18 +02:00
Sébastien Helleu
974ac9ad5f
core: add separate function to get translated help for values of color options
2023-03-28 22:32:54 +02:00
Sébastien Helleu
7c5d484f59
core: check that infolist is not NULL in next/prev/reset_item_cursor functions
2023-03-28 22:07:11 +02:00
Sébastien Helleu
742871fd3e
doc: sort commands by plugins in auto-generated files
2023-03-27 22:31:02 +02:00
Sébastien Helleu
e816381777
core: remove extra separator in Serbian translation
2023-03-27 22:18:01 +02:00
Sébastien Helleu
77a30e09cb
core: add missing space in Polish translation
2023-03-27 22:05:28 +02:00
Sébastien Helleu
4b5987e37c
doc: update German auto-generated files
2023-03-27 14:23:11 +02:00
Nils Görs
debf79118f
core: update German translations
2023-03-27 13:06:12 +02:00
Sébastien Helleu
b894166d1b
core: update ChangeLog (issue #1504 )
2023-03-26 21:08:56 +02:00
Sébastien Helleu
181cd4f276
core: update translations (issue #1504 )
2023-03-26 21:07:17 +02:00
Trygve Aaberge
c63321bb7a
core: Add an option to start multiline input text on a new line
...
This does the same as the lead_linebreak option in multiline.pl. That
is, when the input contains more than one line, the first line will be
displayed beneath the previous items in the bar. This is practical
because all the lines in the input will be aligned.
Related to #1498
2023-03-26 21:02:19 +02:00
Sébastien Helleu
af493ac976
doc/user: add keys to move and delete in a single line and whole input (issue #1503 )
2023-03-26 20:31:07 +02:00
Sébastien Helleu
fe41da1506
core: update translations (issue #1503 )
2023-03-26 20:30:17 +02:00
Sébastien Helleu
9bb3acd2c7
core: update ChangeLog (issue #1503 )
2023-03-26 20:30:17 +02:00
Sébastien Helleu
ec671fe447
core: fix code style (issue #1503 )
2023-03-26 20:30:17 +02:00
Sébastien Helleu
a508640fa0
core: add keys shift-left and shift-right with same commands as left and right (issue #1503 )
2023-03-26 20:30:17 +02:00
Sébastien Helleu
e6b1905679
core: revert keys meta-r (delete line) and meta-R (delete input) (issue #1503 )
2023-03-26 20:30:12 +02:00
Trygve Aaberge
9ac30381fa
core: Implement commands for operating on a single input line
...
This changes the commands delete_beginning_of_line, delete_end_of_line,
delete_line, move_beginning_of_line and move_end_of_line to operate on
the current line instead of the whole input. The commands
delete_beginning_of_input, delete_end_of_input, delete_input,
move_beginning_of_input and move_end_of_input are added with the
previous implementations that the line commands had.
Additionally, the commands move_previous_line and move_next_line are
added which moves the cursor to the previous/next line and keeps the
horizontal position in the line.
The meta-r key is changed from delete_line to delete_input to keep the
behavior, and because you probably want to delete the whole input more
often than the line. The meta-R key is added for delete_line.
The home, end, ctrl-u and ctrl-k keys are kept to the same commands,
which means that they change behaviour. This is because having them
operate on the line is consistent with other applications (vim, zsh),
and I also think it's more practical.
These new bindings are added:
shift-home: /input move_beginning_of_input
shift-end: /input move_end_of_input
shift-up: /input move_previous_line
shift-down: /input move_next_line
meta-R: /input delete_line
meta-ctrl-u: /input delete_beginning_of_input
meta-ctrl-k: /input delete_end_of_input
Relates to #1498
2023-03-26 15:52:19 +02:00
Sébastien Helleu
20cea84917
doc: update German auto-generated file
2023-03-26 12:36:23 +02:00
Nils Görs
56d38184b4
core: update German translations
2023-03-26 11:24:59 +02:00
Sébastien Helleu
bfca5e3c44
core: update translations
2023-03-26 10:58:59 +02:00
Sébastien Helleu
fa057f663e
core: add missing source files to build translations
2023-03-26 10:58:35 +02:00
Sébastien Helleu
c03a432f7a
core: remove obsolete files used to build translations with autotools
2023-03-26 10:51:16 +02:00
Sébastien Helleu
e21144eb1f
tests: add tests on gui bar functions
2023-03-26 10:42:31 +02:00
Sébastien Helleu
5b33d1e21b
core: fix default value of bar options
...
The previous commit e385eec1d6 fixed default
value for bar added by plugins and option "items" in all bars.
This commit fixes the default value of all bar options.
2023-03-26 10:38:16 +02:00
Sébastien Helleu
cd119b9ee5
core: add packaging changes in release notes
2023-03-25 21:32:23 +01:00
Sébastien Helleu
fcbfa13bf3
core: update ChangeLog and release notes (issue #1502 )
2023-03-25 21:15:39 +01:00
Sébastien Helleu
2586b0326d
doc: update auto-generated files with options
2023-03-25 21:15:35 +01:00
Sébastien Helleu
eeb680783b
tests: add placeholder for function gui_key_paste_finish
2023-03-25 19:23:46 +01:00
Sébastien Helleu
b71b6a48a0
core: fix typo and code style
2023-03-25 18:59:06 +01:00
Trygve Aaberge
f86972513b
core: Include blank lines in paste line count
...
Since pastes are now inserted into the input instead of sent, and blank
lines are preserved in the input, they should now be counted too.
2023-03-25 18:53:12 +01:00
Trygve Aaberge
3e331d3772
core: Increase default value for paste_max_lines to 100
...
Now that pasting text doesn't cause it to be sent immediately, but
rather inserted in the input line, the paste confirmation isn't really
necessary anymore for small pastes. If you paste by mistake you can just
press ctrl-_ to undo it.
Large pastes may cause weechat to hang for a while, so keep the paste
confirmation for those.
If you don't use bracketed paste you would still want to keep it at 1,
because it's not detected as a paste otherwise, but as far as I know
basically all terminal emulators support bracketed paste, so I think
it's fine to disable the confirmation by default.
2023-03-25 18:53:12 +01:00
Trygve Aaberge
d15203dbf5
core: Remove option weechat.look.paste_auto_add_newline
...
This option existed so that you could edit the last line of a multiline
paste before it was sent. Now that pasting multiple lines don't cause
the lines to be sent immediately anymore, this option isn't useful
anymore since you can always edit pasted text before it's sent.
2023-03-25 18:53:12 +01:00
Trygve Aaberge
68040f210a
core: Always remove final newline when pasting
...
Since pasting doesn't send the line now, it's more practical to always
remove the final newline so you don't end up with an empty line at the
end of the input buffer.
Fixes a part of #1498
2023-03-25 18:53:12 +01:00
Trygve Aaberge
37decf3a7c
core: Replace newline/tabs after paste is accepted
...
Instead of replacing newline/tabs when paste is started, do it when the
paste is accepted instead. This makes a difference if you paste again
while the paste confirmation is active, where instead of running it
again for each paste, it will now be run for all the text at the end.
For now this doesn't make a practical difference, but the next commit
will remove the final newline when multiple lines are pasted too, which
we only want to do for the final paste.
2023-03-25 18:53:12 +01:00
Trygve Aaberge
99f6f9e454
core: When pasting, insert text in input instead of interpreting keys
...
This makes pasted text appear in the input bar, instead of each line
being sent. This allows you to edit the text before sending it, and it
makes multiline paste supported in buffers with input_multiline on.
It also replaces \r with \n in pasted text because most terminals (e.g.
xterm and urxvt) print lines separated by \r when pasting as if return
was pressed between each line, even though the copied text uses \n. The
text sent to the buffer should use \n, not \r, so we have to replace it.
Note that this only works when bracketed paste is enabled or the paste
confirmation as shown, because non-bracketed paste with no paste
confirmation is not detected as a paste.
Fixes a part of #1498
2023-03-25 18:53:12 +01:00
Trygve Aaberge
cfaf68ae61
core: Parse bracketed paste also when paste pending
...
When in paste pending mode, the bracketed paste escape sequence should
still be interpreted, so that if you paste while in paste pending the
same things as when pasting in normal mode still happens, i.e. the
escape sequence is removed, ctrl-y/n is not interpreted and newline/tabs
are replaced.
2023-03-25 18:53:12 +01:00
Sébastien Helleu
8fe4c84b72
core: fix uninitialized variable chunks2_count when key_name and key_name_alias are the same
2023-03-25 18:04:08 +01:00
Sébastien Helleu
94cbed2585
core: fix memory leak in function config_file_read_internal
...
This was caused by commit 66571a0b63 .
2023-03-25 17:56:07 +01:00
Sébastien Helleu
675e63948c
core: remove unnecessary assignment
2023-03-25 17:11:15 +01:00
Sébastien Helleu
1b99f861a3
core: remove commented code
2023-03-25 17:11:10 +01:00
Sébastien Helleu
2da5eaf81c
core: replace .bz2 by .xz in SRC_URI of cygport template
2023-03-25 11:22:28 +01:00
Sébastien Helleu
cf3ba52828
core: remove obsolete cpack config
...
This config was used to build binary package of WeeChat, which was never
released in this format.
2023-03-25 11:09:04 +01:00
Sébastien Helleu
2550153f26
core: remove build of .bz2 and .zst files in make dist
2023-03-25 11:02:22 +01:00
Sébastien Helleu
a2ddfdf5a6
core: fix gcc warning on snprintf
2023-03-25 10:00:54 +01:00
Sébastien Helleu
15f0f7e369
core: add option legacy in command /key
2023-03-24 23:07:40 +01:00
Sébastien Helleu
92b0bc9f10
core: remove RPM packaging
...
The weechat.spec was obsolete and openSUSE has its own here:
https://build.opensuse.org/package/view_file/server:irc/weechat/weechat.spec?expand=1
2023-03-23 22:30:12 +01:00
Sébastien Helleu
dc8f78163f
core: replace set -e by set -o errexit in shell scripts
2023-03-23 22:01:48 +01:00
Sébastien Helleu
29ac28f94a
core: add extra compiler options to check overflow of destination buffer and output truncation
2023-03-23 18:50:48 +01:00
Sébastien Helleu
952779a74c
core: remove autotools related files in .gitignore
2023-03-22 21:10:25 +01:00
Sébastien Helleu
98a599d079
core: move buffer functions and remove them from header file
2023-03-21 20:14:35 +01:00
Sébastien Helleu
f48f1c4700
core: remove unused function gui_buffer_is_scrolled
2023-03-21 20:01:12 +01:00
Sébastien Helleu
6edcc6ed41
core: remove unused function gui_buffer_search_by_layout_number
2023-03-21 19:58:53 +01:00
Sébastien Helleu
be64e8cddc
core: add relative move of read marker with /buffer set unread [+/-]N ( closes #1895 )
2023-03-20 20:38:24 +01:00
Sébastien Helleu
8475b216a4
doc: update German auto-generated file
2023-03-19 20:03:28 +01:00
Nils Görs
e2286a36b4
core: update German translations
2023-03-19 19:55:45 +01:00
Sébastien Helleu
dd54e26b4f
core: add function bar_new in release notes
2023-03-19 18:45:18 +01:00
Sébastien Helleu
40fa2605b1
core: update ChangeLog (issue #846 )
2023-03-19 18:25:05 +01:00
Sébastien Helleu
cee14f10d6
core: add option rename in command /bar
2023-03-19 18:24:39 +01:00
Sébastien Helleu
e4f181beb3
core: display an error with /bar add when the bar already exists
2023-03-19 17:42:12 +01:00
Sébastien Helleu
6bd49dd595
core: add value "name" in completion of /bar set <name>
2023-03-19 17:26:06 +01:00
Sébastien Helleu
b31666cc86
doc/api: fix typo
2023-03-19 17:24:07 +01:00
Sébastien Helleu
e385eec1d6
core: fix default value of options for bars added by plugins
...
When the bar name already exists, the function `bar_new` returns the pointer to
the bar (instead of NULL) and sets the default value for all options with the
values received.
2023-03-19 17:05:26 +01:00
Sébastien Helleu
3ebfe3e117
core: fix long lines in function gui_bar_use_temp_bars
2023-03-19 17:04:13 +01:00
Sébastien Helleu
b846df9e0e
core: allow any valid boolean value in command /bar set <name> separator xxx
2023-03-19 17:02:14 +01:00
Sébastien Helleu
8c4f02fe5a
core: fix typo on bar option name "separator"
2023-03-19 16:53:05 +01:00
Sébastien Helleu
c7090ae14a
core: use a fixed size buffer to create a bar option
2023-03-19 16:47:46 +01:00
Sébastien Helleu
111525792d
core: use a fixed size buffer to rename a bar
2023-03-19 16:47:46 +01:00
Sébastien Helleu
0f4ef874ca
core: do not call check callback when setting default value of option
2023-03-19 16:47:46 +01:00
Sekulum Forka
d47d9c5ed5
doc/man: call brackets correctly in the serbian translation
2023-03-19 10:08:03 +01:00
Sekulum Forka
16f2c21061
doc/man: fix grammatical mistakes in the serbian translation
2023-03-19 10:08:03 +01:00
Sébastien Helleu
ca7da2c961
core: run config hooks only when value or default value is actually changed in set/reset/unset functions
2023-03-19 09:59:33 +01:00
Sébastien Helleu
3e5d77fdff
core: optimize commands /reset and /unset with a mask
2023-03-19 08:30:32 +01:00
Sébastien Helleu
0d49ffd053
core: add command /reset to reset options to their default values
2023-03-19 08:02:10 +01:00
Sébastien Helleu
2e82c41c1a
core: don't translate the key context (default/search/cursor/mouse)
2023-03-19 07:17:44 +01:00
Sébastien Helleu
89701a3cc0
core: mention breaking changes in release notes
2023-03-18 16:09:47 +01:00
Sébastien Helleu
34e34d28db
core: bump version to 4.0.0-dev, follow "practical" semantic versioning
2023-03-18 15:59:23 +01:00
Sébastien Helleu
ff544f48fb
core: update ChangeLog and release notes ( closes #1238 )
2023-03-18 15:21:17 +01:00
Sébastien Helleu
5f475ab8cf
core: update translations
2023-03-18 15:20:31 +01:00
Sébastien Helleu
f7a6bd422a
doc: replace comma by underscore in name of option used in anchors
2023-03-18 15:19:08 +01:00
Sébastien Helleu
99ca276556
core: also display mouse codes with /debug key
2023-03-17 22:49:50 +01:00
Sébastien Helleu
64a553f91f
core: change order of modifiers in mouse keys
...
Now the modifiers for mouse keys are in the same order as other keys: `alt-`
then `ctrl-`.
2023-03-17 19:18:30 +01:00
Sébastien Helleu
3640d187b8
core: split gui-curses.h into multiple headers
2023-03-17 18:52:30 +01:00
Sébastien Helleu
313b40235a
core: fix search of commands with raw code and alias matching
...
When raw code and alias for a key are both matching, the raw code must always
have higher priority.
This commit fixes this behavior and gives priority to raw code.
2023-03-17 18:52:30 +01:00
Sébastien Helleu
fe6b69c41c
core: set insert_ok to 0 for backspace key
2023-03-17 18:52:30 +01:00
Sébastien Helleu
e060a0e7f2
core: remove "%s" from translated message for key debug
2023-03-17 18:52:30 +01:00
Sébastien Helleu
2b1da0d910
core: add note about "shift-" modifier in /help key
...
The modifier "shift-" can only be used with the key names, not with simple
chars.
2023-03-17 18:52:30 +01:00
Sébastien Helleu
c1db5c9549
core: refactor print of keys in debug mode
...
Changes:
- add function gui_key_debug_print_key
- change message "no key" by "no key binding"
- remove messages ""insert into input" / "ignored"
- add color for delimiters
2023-03-17 18:52:30 +01:00
Sébastien Helleu
a54663d60c
core: replace "\x01" by "^" and add color for delimiters in output of /debug key
2023-03-17 18:52:30 +01:00
Sébastien Helleu
d9e084869a
core: add modifiers, key names and combos in /help key
2023-03-17 18:52:30 +01:00
Sébastien Helleu
9afbf02a42
core: use order returned by gui_key_expand in gui_key_modifier_list
2023-03-17 18:52:30 +01:00
Sébastien Helleu
0c4a5528ac
core: display a warning when trying to bind a raw key code or invalid key (missing comma)
2023-03-17 18:52:30 +01:00
Sébastien Helleu
3b8f9d4547
core: check new keys manually added with /set
2023-03-17 18:52:30 +01:00
Sébastien Helleu
042968b016
core: remove use of "meta2-" in key name
...
The raw key code is kept as-is, so for example "meta2-A" becomes "meta-[A".
2023-03-17 18:52:30 +01:00
Sébastien Helleu
8a5a778293
core: remove mention to list of keys being displayed without arguments in /help key
...
Now when fset plugin is loaded, the keys are displayed in fset buffer.
In core commands like /set or /key, the fset plugin is not mentioned as WeeChat
can run without it.
2023-03-16 20:42:19 +01:00
Sébastien Helleu
46ce8d7e81
buflist: do not display keys added in default context on first load
...
Keys added in mouse context were already hidden, so it makes sense to not
display keys in default context as well.
These keys added by the default plugins are documented anyway.
2023-03-16 20:42:19 +01:00
Sébastien Helleu
bf51a081d9
core: display a specific error when trying to bind a key without area in mouse context
2023-03-16 20:42:19 +01:00
Sébastien Helleu
bb0c7b39fe
api: change also default value of new key options with function key_bind
2023-03-16 20:42:19 +01:00
Sébastien Helleu
a0c3fbbde9
core: display a warning if the config version read is newer than supported version
2023-03-16 20:42:19 +01:00
Sébastien Helleu
03e6d4563f
core: move keyboard debug mode from /key debug to /debug key
2023-03-16 20:42:19 +01:00
Sébastien Helleu
d94979fe3e
core: split alias list into two lists
2023-03-16 20:42:19 +01:00
Sébastien Helleu
7f1f6a6e84
tests: add extra test on function gui_key_legacy_to_alias
2023-03-16 20:42:19 +01:00
Sébastien Helleu
a686fa6407
api: change default value of existing key options with function key_bind
...
With this fix, fset buffer shows the key as modified only if the user actually
changed the command bound to the key.
2023-03-16 20:42:19 +01:00
Sébastien Helleu
55d9989b85
core: add function config_file_option_set_default
2023-03-16 20:42:19 +01:00
Sébastien Helleu
79f7c1cf83
fset: hook command /key
...
When command /key is called without arguments, and if fset plugin is loaded,
fset displays all key options (filter: `weechat.key*`).
2023-03-16 20:42:19 +01:00
Sébastien Helleu
ccc649d06c
core: create config options for all keys that can be managed with /set and /fset commands
2023-03-16 20:42:19 +01:00
Sébastien Helleu
c82df8f22e
core: fix safe list of keys
...
Add missing safe keys: "backspace" and "return".
Add missing unsafe keys: "comma", "space".
2023-03-16 20:42:19 +01:00
Sébastien Helleu
c647d540a7
core: remove obsolete function gui_key_legacy_expand
2023-03-16 20:42:19 +01:00
Sébastien Helleu
d1adec29f9
core: optimize search of key by reducing the number of splits into chunks
2023-03-16 20:42:19 +01:00
Sébastien Helleu
5b5c9afa29
core: add key alt-K (alt+shift+k) to grab raw key and its command
2023-03-16 20:42:19 +01:00
Sébastien Helleu
1f5c791c37
core: use new key name in command /key and configuration file
...
Legacy keys are automatically converted to new names when loading configuration
file `weechat.conf`.
Examples:
"ctrl-I" => "tab"
"meta2-1;3A" => "meta-up"
"meta2-Z" => "shift-tab"
"meta-wmeta-meta2-A" => "meta-w,meta-up"
"ctrl-Cb" => "ctrl-c,b"
2023-03-16 20:42:19 +01:00
Sébastien Helleu
5b5ccb236f
core: fix display of key with command /key bindctxt <context> <key>
2023-03-16 20:42:18 +01:00
Sébastien Helleu
66571a0b63
core: add configuration version, add API function config_set_version
2023-03-16 20:42:18 +01:00
Sébastien Helleu
7b8e5b36c0
core: simplify function config_file_read_internal
2023-03-16 20:42:18 +01:00
Sébastien Helleu
31bf962bba
core: display new key name using aliases in output of /key command
2023-03-16 20:42:18 +01:00
Sébastien Helleu
15587ac72f
core: fix function gui_key_legacy_to_alias with keys on areas
2023-03-16 20:42:18 +01:00
Sébastien Helleu
21910b7050
core: add function to expand raw key code to name with alias, use it in /key debug
2023-03-16 20:42:18 +01:00
Sébastien Helleu
0781f29726
core: add keyboard debug mode with command /key debug
2023-03-16 20:42:18 +01:00
Sébastien Helleu
5441c52d64
fset: remove scroll to top of fset buffer when options are added or removed ( closes #1892 )
2023-03-16 20:41:05 +01:00
Sébastien Helleu
b21bc63313
tests: add tests on functions weeurl_search_constant and weeurl_search_option
2023-03-12 08:02:47 +01:00
Sébastien Helleu
7ba9f9ac7b
core: revert case sensitive Curl constants and options (issue #1872 )
...
This is a partial revert of fca78ca823 .
2023-03-12 08:00:51 +01:00
Sébastien Helleu
e36eda5404
core: check that parameters are not NULL in URL functions
2023-03-12 07:58:00 +01:00
Sébastien Helleu
a5aa3304a4
doc/api: add hashtable methods in function string_eval_expression
2023-03-10 21:04:34 +01:00
Sébastien Helleu
7cda6cfd49
core: update translations (issue #1888 )
2023-03-10 20:52:53 +01:00
Sébastien Helleu
5f5535b466
core: simplify /help eval, move examples with the other examples (issue #1888 )
2023-03-10 20:52:28 +01:00
Sébastien Helleu
eb71880e18
core: update ChangeLog (issue #1888 )
2023-03-10 20:21:49 +01:00
Sébastien Helleu
f604cf19c7
core: rename variable open_paren to pos_open_paren
2023-03-10 20:19:24 +01:00
Andrew Potter
e3f588679c
core: allow /eval to get hashtable properties
2023-03-10 20:19:03 +01:00
Sébastien Helleu
dd65e91a75
ci: fix macOS CI
2023-02-22 21:53:25 +01:00
Sébastien Helleu
fb0248f557
core: fix crash in case of NULL message sent to function gui_chat_printf_y_date_tags ( closes #1883 )
2023-02-22 20:38:56 +01:00
Nils Görs
f6fdecb846
doc: update German documentation
2023-02-21 12:25:23 +01:00
Sébastien Helleu
188583256e
doc/user: make XDG directory fallback more clear in table
2023-02-16 21:39:02 +01:00
Sébastien Helleu
2cfecc2e2d
core: update ChangeLog (issue #603 )
2023-02-11 14:18:13 +01:00
Sébastien Helleu
3466c716ae
doc/user: move "Upgrade" chapter after "Running WeeChat"
2023-02-10 19:00:01 +01:00
Sébastien Helleu
46935b859c
core: update ChangeLog (issue #1881 )
2023-02-10 18:59:39 +01:00
Robin Jarry
9b9ec62a8e
core: allow /input move_next_word going to the end of line
...
When the input buffer contains non word characters at the end, /input
move_next_word will stop moving at the end of the last word. This is
a bit confusing and not in line with what readline does (think bash).
When there are no words left in the input buffer, make /input
move_next_word go to the end of line.
Signed-off-by: Robin Jarry <robin@jarry.cc >
2023-02-10 18:56:43 +01:00
rj1
69a3dd21dc
fix: various code comments
2023-02-04 11:50:44 +01:00
Sébastien Helleu
6d4471b6db
core: optimize search of key bindings in contexts default/search/cursor
2023-02-04 10:45:57 +01:00
Sébastien Helleu
587e2882ac
core: simplify function gui_key_cmp
2023-02-03 22:52:07 +01:00
Sébastien Helleu
1f073fe949
tests: add tests on function gui_key_cmp
2023-02-03 22:50:32 +01:00
Sébastien Helleu
68a5a71b55
core: remove extra spaces before comma
2023-02-02 22:01:46 +01:00
Sébastien Helleu
48a51c9f6e
doc: update auto-generated files
2023-02-01 20:32:00 +01:00
Ivan Pešić
314d9c0ce9
core/doc Update Serbian translations
...
Update messages and documentation translations.
2023-02-01 20:31:19 +01:00
Nils Görs
98917539b2
core: update German translations
2023-02-01 11:05:36 +01:00
Sébastien Helleu
30fa647700
irc: add command /rules ( closes #1864 )
2023-01-31 18:43:07 +01:00
Sébastien Helleu
9f5ca3b1a9
irc: add command /knock ( closes #7 )
2023-01-31 18:37:27 +01:00
Sébastien Helleu
4c0d2ab3b1
doc: update German auto-generated file
2023-01-31 07:55:36 +01:00
Nils Görs
f2e149e489
core: update German translations
2023-01-31 07:52:53 +01:00
Sébastien Helleu
7ad4f7b29c
core: update description of function hook_command_display_error_unknown
2023-01-30 23:27:25 +01:00
Sébastien Helleu
e78d96686c
core: inform that commands are case sensitive when another command with different case is found (issue #1877 )
2023-01-30 22:09:36 +01:00
Sébastien Helleu
4370f75ce6
core: improve prioritization of commands starting with same chars in similar commands
2023-01-30 21:51:32 +01:00
Sébastien Helleu
b02a10aa48
core: display similar command names when a command is unknown ( closes #1877 )
2023-01-30 21:44:38 +01:00
Sébastien Helleu
74154d972d
tests: fix comments (issue #1877 )
2023-01-30 21:44:09 +01:00
Sébastien Helleu
69a635412d
core: add function string_get_common_bytes_count (issue #1877 )
2023-01-30 21:44:03 +01:00
Sébastien Helleu
38ffac78f3
core: add function string_levenshtein (issue #1877 )
2023-01-30 21:43:58 +01:00
Sébastien Helleu
269b8fc66e
core: properly skip command char when it is a wide char in exec of hook_command_run
2023-01-29 21:20:18 +01:00
Mattia
2bcd9cb87b
doc/quickstart: translate to Italian ( closes #1874 )
2023-01-29 16:58:22 +01:00
Andrew Potter
4f0b6115a1
irc: add server option "registered_mode" ( closes #1625 )
...
Two new fields are added in IRC server structure:
- "authentication_method", possible values:
0: not authenticated
1: authenticated with SASL
2: authenticated with other method
- "sasl_mechanism_used", possible values: see enum t_irc_sasl_mechanism
in src/plugins/irc/irc-sasl.h
2023-01-29 16:50:57 +01:00
Sébastien Helleu
3909d77617
core: add bug #32213 in ChangeLog
2023-01-29 13:58:21 +01:00
Sébastien Helleu
e6eb068b2b
doc: update German auto-generated files
2023-01-29 13:44:30 +01:00
Nils Görs
958ddee8fd
core: update German translations
2023-01-29 13:20:28 +01:00
Sébastien Helleu
471ef214e7
core: add issue #398 in ChangeLog
2023-01-29 13:10:31 +01:00
Sébastien Helleu
fc504698ad
core: add ctrl keys as lower case in release notes (issue #1875 )
2023-01-29 13:01:58 +01:00
Sébastien Helleu
fd746a04d6
core: force ctrl keys to lower case when they are added ( closes #1875 )
2023-01-29 12:41:28 +01:00
Sébastien Helleu
be0c04f498
core: ignore incomplete ctrl/meta/meta2 codes in keys (issue #1875 )
2023-01-29 12:41:27 +01:00
Sébastien Helleu
c68c2aaa94
core: ensure internal_code is not NULL when adding a default key (issue #1875 )
2023-01-29 12:41:26 +01:00
Sébastien Helleu
3005658f38
core: compute first internal code and expanded name before removing key (issue #1875 )
2023-01-29 12:41:24 +01:00
Sébastien Helleu
a9289cbdc1
core: compute first internal code and expanded name before adding key (issue #1875 )
2023-01-29 12:41:23 +01:00
Sébastien Helleu
0d8a6679b3
core: use dynamic string in functions gui_key_get_internal_code and gui_key_get_expanded_name (issue #1875 )
2023-01-29 12:41:22 +01:00
Sébastien Helleu
fa6a9bb934
api: readjust string size in function string_dyn_free when string is not freed (issue #1875 )
...
This frees some allocated memory if size_alloc was greater than size in the
dynamic string.
2023-01-29 12:41:19 +01:00
Sébastien Helleu
48c1aebb83
tests: add tests on gui key functions (issue #1875 )
2023-01-29 12:41:11 +01:00
Sébastien Helleu
81f4b16180
core: update ChangeLog ( closes #1872 )
2023-01-28 15:19:46 +01:00
Sébastien Helleu
efe4aa29fc
core: update translations and auto-generated doc files (issue #1872 )
2023-01-28 15:19:41 +01:00
Sébastien Helleu
4c1a87ba60
core: add case sensitive identifiers in release notes (issue #1872 )
2023-01-28 15:14:32 +01:00
Sébastien Helleu
3318a7f3b8
alias: add option rename in command /alias (issue #1872 )
2023-01-28 15:14:31 +01:00
Sébastien Helleu
11ea0aecf4
core: make buffer name case sensitive in read of infolist "buffer" (issue #1872 )
2023-01-28 15:14:30 +01:00
Sébastien Helleu
b5350a3318
core: make proxy name case sensitive in read of infolist "proxy" (issue #1872 )
2023-01-28 15:14:29 +01:00
Sébastien Helleu
18d4e6a52c
relay: make relay compression case sensitive (issue #1872 )
2023-01-28 15:14:28 +01:00
Sébastien Helleu
3e9e1b51bf
core, plugins: replace calls to strcmp by string_strcmp when difference matters (issue #1872 )
2023-01-28 15:14:26 +01:00
Sébastien Helleu
fbeab26a35
core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872 )
2023-01-28 15:14:24 +01:00
Sébastien Helleu
c07cf691ad
core, plugins: check that string parameters are not NULL in search functions (issue #1872 )
2023-01-28 15:14:22 +01:00
Sébastien Helleu
c9ac4fef4b
xfer: make xfer types and protocols case sensitive (issue #1872 )
2023-01-28 15:14:21 +01:00
Sébastien Helleu
f9a80e7d4d
trigger: make trigger names/options/types/return codes/post actions case sensitive (issue #1872 )
2023-01-28 15:14:20 +01:00
Sébastien Helleu
3319e6ff6e
script: make script names case sensitive (issue #1872 )
2023-01-28 15:14:19 +01:00
Sébastien Helleu
375c9f8b1e
api: make prefix argument case sensitive in prefix function (issue #1872 )
2023-01-28 15:14:17 +01:00
Sébastien Helleu
7b06463e84
irc: make IRC raw filters case sensitive (issue #1872 )
...
Except the IRC command name filter (`m:xxx`).
2023-01-28 15:14:16 +01:00
Sébastien Helleu
0704f382e0
irc: make IRC server names case sensitive (issue #1872 )
2023-01-28 15:14:15 +01:00
Sébastien Helleu
d7f08a45d7
core: make notify tags in line case sensitive (issue #1872 )
2023-01-28 15:14:14 +01:00
Sébastien Helleu
844b57a26d
core: make key contexts case sensitive (issue #1872 )
2023-01-28 15:14:12 +01:00
Sébastien Helleu
f11d598928
core: make hotlist priorities case sensitive (issue #1872 )
2023-01-28 15:14:11 +01:00
Sébastien Helleu
8744fdfaf3
core: make filter names case sensitive (issue #1872 )
2023-01-28 15:14:10 +01:00
Sébastien Helleu
7a8ce6c9ae
core: make color names and attributes case sensitive (issue #1872 )
2023-01-28 15:14:08 +01:00
Sébastien Helleu
73c3c03915
core, plugins: make input actions in buffers case sensitive (issue #1872 )
2023-01-28 15:14:07 +01:00
Sébastien Helleu
c724032a22
core: make function gui_buffer_match_list case sensitive (issue #1872 )
2023-01-28 15:14:06 +01:00
Sébastien Helleu
2ee65dd1ff
core: make buffer types and notify levels case sensitive (issue #1872 )
2023-01-28 15:14:05 +01:00
Sébastien Helleu
a3befc7aae
core: make proxy options and types case sensitive (issue #1872 )
2023-01-28 15:14:04 +01:00
Sébastien Helleu
54ed4c6a18
core: make weelist position case sensitive (issue #1872 )
2023-01-28 15:14:02 +01:00
Sébastien Helleu
411fe0b0ef
core: make hashtable types case sensitive (issue #1872 )
2023-01-28 15:14:01 +01:00
Sébastien Helleu
fca78ca823
core: make Curl constants and options case sensitive (issue #1872 )
2023-01-28 15:14:00 +01:00
Sébastien Helleu
bbbd08694b
core: make get/set object properties case sensitive (issue #1872 )
2023-01-28 15:13:58 +01:00
Sébastien Helleu
5434f4f969
core, plugins: make plugin names case sensitive (issue #1872 )
2023-01-28 15:13:57 +01:00
Sébastien Helleu
4b5897f110
core: make bar and bar items case sensitive (issue #1872 )
2023-01-28 15:13:55 +01:00
Sébastien Helleu
489c264202
core, plugins: make info, info_hashtable and infolist case sensitive (issue #1872 )
2023-01-28 15:13:54 +01:00
Sébastien Helleu
5bd97b9630
irc: make case insensitive comparison with a lower case string (issue #1872 )
...
This is faster because with case insensitive comparison, the chars are
converted to lower case anyway before being compared.
2023-01-28 15:13:52 +01:00
Sébastien Helleu
498ee539ea
core: make case insensitive comparison with a lower case string (issue #1872 )
...
This is faster because with case insensitive comparison, the chars are
converted to lower case anyway before being compared.
2023-01-28 15:13:51 +01:00
Sébastien Helleu
f0415c8ec3
core, plugins: make commands, hook command_run, completions and aliases case sensitive (issue #1872 )
2023-01-28 15:13:48 +01:00
Sébastien Helleu
1de735b779
alias: make aliases case sensitive, convert default aliases to lower case (issue #1872 )
2023-01-28 15:13:47 +01:00
Sébastien Helleu
db177de204
core: make configuration files, sections and options case sensitive (issue #1872 )
2023-01-28 15:13:45 +01:00
Sébastien Helleu
72f4596fb2
core: add function config_file_get_configs_by_priority (issue #1872 )
2023-01-28 15:13:43 +01:00
Sébastien Helleu
d71c3b0f21
doc/api: add priority in function config_new (issue #1872 )
2023-01-28 15:13:40 +01:00
Sébastien Helleu
f72435d765
core: simplify code in config functions (issue #1872 )
2023-01-28 15:13:38 +01:00
Sébastien Helleu
0dd1d1be1c
core: sort configuration files by name, reload them by priority (issue #1872 )
2023-01-28 15:13:36 +01:00
Sébastien Helleu
202b4d82c0
plugins: set priority in calls to weechat_config_new (issue #1872 )
2023-01-28 15:13:34 +01:00
Sébastien Helleu
9174ec979b
core: set priority in calls to config_file_new (issue #1872 )
2023-01-28 15:13:32 +01:00
Sébastien Helleu
d274eb4be4
core: add priority in config file (issue #1872 )
...
Priority is now allowed in function config_file_new, parameter `name`, with the
same format as hooks: "priority|name" (for example: "2000|test").
If not specified, the default priority is 1000.
2023-01-28 15:13:29 +01:00
Sébastien Helleu
347c3f3214
core: move function hook_get_priority_and_name to wee-string.c (issue #1872 )
2023-01-28 15:13:18 +01:00
Sébastien Helleu
db8d2d43f0
doc: update German auto-generated file
2023-01-25 07:59:33 +01:00
Nils Görs
5a93b5ad15
core: update German translations
2023-01-25 07:50:28 +01:00
Sébastien Helleu
37e8599443
irc: add option join in command /autojoin
2023-01-24 20:58:17 +01:00
Sébastien Helleu
0e1d3618ee
doc: update auto-generated files with hdata
2023-01-24 20:55:28 +01:00
Sébastien Helleu
55d08a604f
irc: fix autojoin on server connection ( closes #1873 )
...
Now the autojoin is made only one time, until the server buffer is closed.
A new flag `autojoin_done` is added to know whether the autojoin has already
been done or not on the server. It is set to 1 on first autojoin, and reset to
0 only if the server buffer is closed.
The flag `reconnect_join` is removed, because it is now obsolete.
2023-01-23 19:10:13 +01:00
Nils Görs
e0cdfb1cef
core: update German translations
2023-01-16 08:53:26 +01:00
Sébastien Helleu
cfa2239db5
irc: update message with number of nicks when joining a channel
...
Changed:
- "N voices" to "N voiced"
- "N normals" to "N regular"
2023-01-15 21:12:32 +01:00
Sébastien Helleu
6abd989dd7
debian: remove remaining workarounds for autotools build
2023-01-15 17:10:20 +01:00
Sébastien Helleu
51d0a6f402
tests: add tests on string comparison functions
2023-01-14 21:44:19 +01:00
Sébastien Helleu
fdb793e410
ci: fix macOS CI (temporary fix)
...
Unlink Python binaries so that the install of packages via brew is a success.
See: https://github.com/actions/setup-python/issues/577
2023-01-14 21:16:18 +01:00
Sébastien Helleu
7668e7ea55
fset: fix typo in French translation of /help fset.look.condition_catch_set
2023-01-14 20:56:06 +01:00
Sébastien Helleu
87d71b9677
core: remove useless continue statement in loop
2023-01-12 21:33:57 +01:00
Sébastien Helleu
049c6eb6a8
core: display error in command if allocation of arraylist fails
2023-01-12 20:57:47 +01:00
Sébastien Helleu
0d622df87a
core: fix display glitch in command errors when a wide char is set in option weechat.look.command_chars ( closes #1871 )
2023-01-12 20:28:29 +01:00
Sébastien Helleu
1a15171912
ci: fix typo
2023-01-10 08:18:49 +01:00
Sébastien Helleu
711f71a1bc
ci: fix run of code coverage
2023-01-10 08:01:22 +01:00
Sébastien Helleu
f59f39abd4
python: remove unneded call to deprecated function PySys_SetArgv
...
This function is deprecated since Python 3.11.
2023-01-08 20:26:57 +01:00
Sébastien Helleu
9b47832a01
core: do not allocate strings in dir_search_full_lib_name_ext, check return code of snprintf
...
This removes three compiler warnings.
2023-01-08 18:24:28 +01:00
Sébastien Helleu
0bde2aa0f3
irc: check return code of snprintf
...
This removes two compiler warnings.
2023-01-08 18:13:05 +01:00
Sébastien Helleu
f305eed01f
typing: fix crash when pointer buffer is not received in callback for signal "input_text_changed" ( closes #1869 )
2023-01-08 17:38:37 +01:00
Sébastien Helleu
43d3a97869
debian: restore target override_dh_auto_configure (packaging of stable version)
2023-01-08 15:18:19 +01:00
Sébastien Helleu
f67b7ad113
debian: restore target override_dh_auto_configure
2023-01-08 15:16:52 +01:00
Sébastien Helleu
736bc89d4e
core: update ChangeLog and release notes ( closes #1860 )
2023-01-08 14:43:17 +01:00
Sébastien Helleu
754ab33946
core: remove build with autotools
...
CMake is now the only way to build WeeChat.
2023-01-08 14:19:41 +01:00
Sébastien Helleu
18360feb32
ruby: remove warnings on unused parameters
...
These warnings may be enabled again in future when Ruby itself will be fixed.
2023-01-08 14:04:10 +01:00
Sébastien Helleu
fe7c0019a7
php: remove warnings on variables "argc" and "ret_i" that might be clobbered by longjmp or vfork
2023-01-08 14:04:05 +01:00
Sébastien Helleu
e101d5d8a4
Version 3.9-dev
2023-01-08 10:35:38 +01:00
Sébastien Helleu
b614a5c5db
Version 3.8
2023-01-08 10:07:07 +01:00
Sébastien Helleu
35129a1cae
core: add note about case insensitive comparison improved in release notes
2023-01-08 10:01:11 +01:00
Sébastien Helleu
2f6b462c3c
core: update entries related to CI in ChangeLog
2023-01-07 23:17:56 +01:00
Sébastien Helleu
9202213274
ci: remove use of repository ppa:ondrej/php
...
Now the CI uses the standard PHP version (8.1) from Ubuntu 22.04.
2023-01-07 23:17:29 +01:00
Sébastien Helleu
822a94c184
php: add proper detection of PHP 8.2 in all cases
2023-01-07 22:05:37 +01:00
Sébastien Helleu
e0f096abe6
debian: add symbolic link weechat_raspbian_buster.patch pointing to Debian Buster patch
2023-01-06 13:12:59 +01:00
Sébastien Helleu
bff143dcf4
core: add CMake test called "notests" when tests are not compiled
...
Now the command `make test` executes properly and returns 0 when test are not
compiled.
2023-01-06 07:53:39 +01:00
Sébastien Helleu
e660233325
Revert "core: add a fake target "test" so that make test successes when tests are not compiled"
...
This reverts commit 129860fd52 .
2023-01-06 07:11:35 +01:00
Sébastien Helleu
129860fd52
core: add a fake target "test" so that make test successes when tests are not compiled
2023-01-05 21:26:55 +01:00
Sébastien Helleu
3c65bc6831
core: rename script build-test.sh to build_test.sh
2023-01-05 08:05:04 +01:00
Sébastien Helleu
db81c07e1f
core: rename script build-debian.sh to build_debian.sh
2023-01-05 08:03:12 +01:00
Sébastien Helleu
30ad9ca62d
core: rename script git-version.sh to set_git_version.sh
2023-01-05 08:01:48 +01:00
Sébastien Helleu
c7f5cd462f
core: add message after checking Curl symbols: "all good" or number of errors
2023-01-05 07:48:08 +01:00
Sébastien Helleu
bcba2d4d7c
core: add example with Curl repository cloned locally
2023-01-05 07:43:01 +01:00
Sébastien Helleu
e3a69e92e5
core: install flake8 in CI
2023-01-04 22:49:36 +01:00
Sébastien Helleu
f43efe5a65
core: add script check_scripts.sh
...
This script is now used in CI to check all shell scripts (*.sh) and Python
scripts (*.py) that are in git repository.
Tools used:
- shell scripts: shellcheck
- Python scripts: flake8 + pylint + bandit
2023-01-04 22:45:00 +01:00
Sébastien Helleu
8da3884afc
core: add script check_curl_symbols.py
...
This script is used to check Curl symbols defined in WeeChat vs exposed Curl
symbols.
Usage:
curl https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
2023-01-04 22:44:14 +01:00
Sébastien Helleu
3778ef0636
core: fix Curl version in comments
2023-01-04 22:23:33 +01:00
Sébastien Helleu
c52d630f82
core: remove useless "exit 0"
...
This fixes the following shellcheck error:
SC2317 (info): Command appears to be unreachable. Check usage (or ignore if
invoked indirectly).
2023-01-04 22:23:33 +01:00
Sébastien Helleu
356028ee87
core: double quote $JOBS
...
This fixes the following shellcheck error:
SC2086 (info): Double quote to prevent globbing and word splitting.
2023-01-04 22:23:33 +01:00
Sébastien Helleu
9dd85507d0
core: don't use eval to run commands in scripts
...
This fixes the following shellcheck error:
SC2294 (warning): eval negates the benefit of arrays. Drop eval to preserve
whitespace/symbols (or eval as string).
2023-01-04 22:20:51 +01:00
Sébastien Helleu
c6df2e7b8e
tests: fix long lines in scripting API tests
2023-01-04 21:13:25 +01:00
Sébastien Helleu
e6857871f0
tests: ignore module level import not at top of file (flake8 E402)
2023-01-04 21:12:53 +01:00
Sébastien Helleu
d1f2d54a1e
tests: mark methods is_bool and is_number as static
2023-01-04 21:11:41 +01:00
Sébastien Helleu
0ce0fa9f1f
api: add Curl options for versions 7.64.0 to 7.87.0
2023-01-03 23:21:44 +01:00
Sébastien Helleu
7526776f4e
plugins: change priority of scripting plugins
...
Use a step of 10 between each scripting plugin priority.
2023-01-03 20:20:21 +01:00
Sébastien Helleu
958f39cb95
core: fix crash or infinite loop in /allbuf command
...
A crash could occur if the command closes buffers.
An infinite loop could occur if the command creates new buffers.
2023-01-03 17:02:38 +01:00
Sébastien Helleu
189eb5dc40
core: add variable list_size to prevent computing arraylist size in each iteration
2023-01-03 17:01:52 +01:00
Sébastien Helleu
9ee0955d6b
irc: properly rename private buffer on notice messages
2023-01-03 01:06:51 +01:00
Sébastien Helleu
99988bdee7
Version 3.8-rc1
2023-01-02 14:27:21 +01:00
Sébastien Helleu
1daf145830
core: fix line wrapping in Polish translations
2023-01-02 14:20:44 +01:00
Sébastien Helleu
7baef6396d
irc: properly rename private buffer on nick changes or private message when new nick is the same with different case
2023-01-02 14:17:20 +01:00
Sébastien Helleu
c739026c87
irc: replace "private window" by "private buffer" in comments
2023-01-02 13:50:58 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
1fb6d52984
tests: add tests on gui input functions
2023-01-01 14:41:06 +01:00
Sébastien Helleu
727c465911
core: check that buffer is not NULL in function gui_input_clipboard_copy
2023-01-01 14:39:38 +01:00
Sébastien Helleu
73bac5491b
core: move function gui_input_move_to_buffer to gui-buffer.c
2022-12-31 10:40:00 +01:00
Sébastien Helleu
05839983d4
core: fix color when the delimiter is not followed by a background color ( closes #1867 )
2022-12-30 21:50:18 +01:00
Sébastien Helleu
6c59b0830c
doc: update Polish auto-generated files
2022-12-30 16:30:20 +01:00
Krzysztof Korościk
9f5a739428
core: updated Polish translation
2022-12-30 14:12:43 +01:00
Sébastien Helleu
81260ec854
doc: update German auto-generated file
2022-12-29 19:30:58 +01:00
Nils Görs
d8cc91993f
core: update German translations
2022-12-29 12:51:12 +01:00
Sébastien Helleu
d878d2023a
core: fix French translation of "read marker"
2022-12-29 12:05:21 +01:00
Sébastien Helleu
fce2fcba4f
core: add option weechat.look.chat_space_right (issue #1862 )
2022-12-29 12:00:28 +01:00
Krzysztof Korościk
45fdcc2eb4
doc: updated polish translation
2022-12-28 17:44:46 +01:00
Sébastien Helleu
914f9e756b
doc: update German auto-generated file
2022-12-28 10:27:44 +01:00
Nils Görs
7d94fba9ac
core: update German translations
2022-12-28 10:25:31 +01:00
Sébastien Helleu
e58b57fe4c
doc: update German auto-generated files
2022-12-26 23:43:28 +01:00
Nils Görs
0e6058f8cd
core: update German translations
2022-12-26 13:41:24 +01:00
Nils Görs
98bc80924c
core: update German translations
2022-12-26 13:32:56 +01:00
Sébastien Helleu
45638dca23
core: allow value "0" in buffer property "unread" to remove read marker from buffer
2022-12-26 01:27:45 +01:00
Sébastien Helleu
56055de12e
doc/api: fix formatting of return value in char/string comparison functions
2022-12-26 00:55:30 +01:00
Sébastien Helleu
5a27805cf3
core: reorder entries in ChangeLog
2022-12-25 23:05:22 +01:00
Dawid Dziurla
1639e60651
changelog: add entry about Ruby 3.2 detection
2022-12-25 23:03:24 +01:00
Dawid Dziurla
824812c7c0
ruby: add detection of Ruby 3.2
2022-12-25 23:03:24 +01:00
Sébastien Helleu
41fd26fe79
core: move /input buffer switch/zoom actions to command /buffer
...
Actions moved:
* `/input switch_active_buffer` -> `/buffer switch`
* `/input switch_active_buffer_previous` -> `/buffer switch -previous`
* `/input zoom_merged_buffer` -> `/buffer zoom`
2022-12-25 22:47:18 +01:00
Sébastien Helleu
0c29d4c5b6
core: move /input set_unread actions to commands /allbuf and /buffer set
...
Actions moved:
* `/input set_unread` -> `/allbuf /buffer set unread`
* `/input set_unread_current_buffer` -> `/buffer set unread`
2022-12-25 21:44:27 +01:00
Sébastien Helleu
2c238e08ff
core: add command /allbuf
2022-12-25 21:23:14 +01:00
Sébastien Helleu
2ad6f2f3d5
api: do not check hotlist add conditions when adding buffer in hotlist with function buffer_set
2022-12-25 20:35:10 +01:00
Sébastien Helleu
a9094fd2fa
core: add option add in command /hotlist
2022-12-25 19:40:57 +01:00
Sébastien Helleu
b3e4a91760
core: fix typo in comment
2022-12-25 19:07:39 +01:00
Sébastien Helleu
babe1e7a42
core: move /input hotlist actions to new command /hotlist
...
Actions moved to command `/hotlist`:
* `/input hotlist_clear` -> `/hotlist clear`
* `/input hotlist_remove_buffer` -> `/hotlist remove`
* `/input hotlist_restore_buffer` -> `/hotlist restore`
* `/input hotlist_restore_all` -> `/hotlist restore -all`
2022-12-25 18:50:57 +01:00
Sébastien Helleu
574a4c8834
core: add function gui_buffer_jump_last_visible_number
2022-12-25 17:57:59 +01:00
Sébastien Helleu
c9796a3141
core: move /input jump actions to command /buffer jump
...
Actions moved to command `/buffer jump`:
* `/input jump_smart` -> `/buffer jump smart`
* `/input jump_previously_visited_buffer` -> `/buffer jump prev_visited`
* `/input jump_next_visited_buffer` -> `/buffer jump next_visited`
* `/input jump_last_buffer_displayed` -> `/buffer jump last_displayed`
2022-12-25 17:00:37 +01:00
Sébastien Helleu
9bd6cbf4bd
core: fix style in ChangeLog and release notes
2022-12-25 16:53:30 +01:00
Sébastien Helleu
445b522498
core: fix typo in comment
2022-12-25 15:06:03 +01:00
Sébastien Helleu
f5135277af
core: remove useless conditions
2022-12-24 19:40:53 +01:00
Sébastien Helleu
21f3575016
api: add functions string_strcmp and string_strncmp
2022-12-24 18:29:35 +01:00
Sébastien Helleu
0dd1d4133b
doc/api: mention "UTF-8" in char/string comparison functions
2022-12-24 17:52:31 +01:00
Sébastien Helleu
a67556907d
api: rename char comparison functions "utf8_char*" to "string_char*"
2022-12-24 17:33:22 +01:00
Sébastien Helleu
083032972d
api: return arithmetic difference between chars in string comparison functions
...
Return code is changed for the following functions:
- string_strcasecmp
- string_strcasecmp_range
- string_strncasecmp
- string_strncasecmp_range
- string_strcmp_ignore_chars
- utf8_charcmp
- utf8_charcasecmp
- utf8_charcasecmp_range
2022-12-24 16:25:20 +01:00
Sébastien Helleu
5fc656a1b8
api: fix function strcmp_ignore_chars with case sensitive comparison and wide chars starting with the same byte
2022-12-23 23:20:29 +01:00
Sébastien Helleu
91149f0acc
core: fix typo in French translation of /help input
2022-12-22 20:56:50 +01:00
Sébastien Helleu
68b510517e
core: improve case convert and insensitive char comparisons ( closes #258 )
...
All lowercase letters are now properly converted to uppercase letters (and vice
versa), via functions `towupper` and `towlower`.
Functions `string_tolower`, `string_toupper` and `utf8_charcasecmp` have been
optimized to be faster when there are ASCII chars (< 128); functions are about
25-40% faster with mixed chars (both ASCII and multi-bytes).
Function `utf8_wide_char` has been removed, `utf8_char_int` can be used
instead.
2022-12-21 20:49:09 +01:00
Sébastien Helleu
95286c1eb3
core: remove unneeded casts
2022-12-19 13:01:33 +01:00
Sébastien Helleu
267313304e
irc: fix calls to weechat_string_toupper
2022-12-19 11:18:59 +01:00
Sébastien Helleu
33b6adc3d3
core: fix call to string_toupper
2022-12-19 11:18:49 +01:00
Sébastien Helleu
56436e57fd
spell: return directly output of string_dyn_free without temporary variable
2022-12-19 07:07:12 +01:00
Sébastien Helleu
5df4126c75
irc: return directly output of string_dyn_free without temporary variable
2022-12-19 07:06:01 +01:00
Sébastien Helleu
42113ebc0f
core: return directly output of string_dyn_free without temporary variable
2022-12-19 07:04:33 +01:00
Sébastien Helleu
40339b288a
api: return newly allocated string in functions string_tolower and string_toupper
2022-12-18 14:28:58 +01:00
Sébastien Helleu
eb6cc0bc2a
core: return number of bytes for UTF-8 char in function utf8_int_string
2022-12-18 14:13:14 +01:00
Sébastien Helleu
6aedddd351
tests: add tests on function gui_input_delete_next_word
2022-12-18 14:13:14 +01:00
Sébastien Helleu
9b917ccace
tests: add tests on function gui_input_delete_range
2022-12-18 14:13:14 +01:00
Sébastien Helleu
99c453ee23
tests: add tests on gui delete previous/next char functions
2022-12-18 14:13:14 +01:00
Sébastien Helleu
d2f447dafc
tests: add extra tests on function gui_input_set_pos
2022-12-18 14:13:14 +01:00
Sébastien Helleu
3ef8241444
tests: add tests on gui input completion functions
2022-12-18 14:13:14 +01:00
Sébastien Helleu
dd9ae79204
core: remove unused argument "pos" from function gui_input_insert_string, add tests on function
2022-12-18 14:13:14 +01:00
Sébastien Helleu
f03384d124
core: simplify gui input functions by returning immediately if condition not met
2022-12-17 22:22:15 +01:00
Sébastien Helleu
fb31cf663e
irc: do not join channels in server autojoin option after reconnection to the server ( closes #560 , bug #21529 )
2022-12-17 12:55:39 +01:00
Sébastien Helleu
122a0f8097
doc: update German auto-generated file
2022-12-14 23:44:41 +01:00
Nils Görs
32496d1705
core: update German translations
2022-12-14 22:38:45 +01:00
Trygve Aaberge
dc8a35796a
doc/api: Improve python example for config_new_section
...
This updates the Python examples to include all the possible return
values for the callbacks in config_new_section, like it is done in the C
example. It also aligns the order of the values with the C example.
2022-12-11 15:33:11 +01:00
Trygve Aaberge
abdabb3ae4
doc/api: Fix return values for callback_read in config_new_section
...
These return values were wrong in the description and C example. As can
be seen on lines 2835 and 2873-2903 of src/core/wee-config-file.c the
callback_read function should return the same as the function
config_file_option_set plus the value
WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND (which is also the same as
the possible return values of config_file_option_set_with_string).
The Python example was already correct and the C example was already
correct in the other languages apart from English.
These errors were introduced in commit 02e2b21d3 and commit 5210ff1ae .
2022-12-11 15:33:11 +01:00
Sébastien Helleu
a1b6d9622f
core: add contributor (issue #1859 )
2022-12-11 15:25:13 +01:00
Sébastien Helleu
20b061a89a
core: update ChangeLog (issue #1859 )
2022-12-11 15:17:38 +01:00
Ryan Qian
1316f3eb6d
cmake: add support of compiling with enchant-2 for the Spell plugin
2022-12-11 15:16:23 +01:00
Sébastien Helleu
a0e5e2a375
core: update ChangeLog (issue #1843 )
2022-12-11 15:15:50 +01:00
Trygve Aaberge
ebc63d1b83
scripts: Send null values to config section callbacks
...
The callback_read and callback_create_option functions in the scripting
APIs always get the value as a string, never as null. This means that if
the value is null, there is no way for the script to distinguish this
from an empty string for string options. This makes it impossible to
properly make options with fallback values, like the irc server and
server_default options, as far as I can see.
All the scripting languages except Tcl use that language's equivalent
for null. For JavaScript which has both null and undefined, null is
used. For Tcl, the magic null string defined in commit 197a7a01e is used
and the documentation is updated to describe that.
I tested this with these scripts:
https://gist.github.com/trygveaa/2d49c609addf9773d2ed16e15d1e3447
You can load all of those scripts and see the result with this command
(assuming you have the scripts in the current directory):
weechat -t -r "/filter add script * * script; /script load $(echo script_config.*)"
2022-12-11 15:13:31 +01:00
Sébastien Helleu
1bfc8b9cf8
trigger: fix variables sent to focus callback ( closes #1858 )
...
This fixes a regression introduced in WeeChat 3.7 by commit
0f67f55098 .
2022-12-10 22:30:24 +01:00
Sébastien Helleu
18c9ade580
core: add whole string information in /debug unicode
2022-12-10 17:32:09 +01:00
Sébastien Helleu
5b9b1e175b
core: add color attributes "blink" and "dim" (half bright) ( closes #1855 )
2022-12-10 16:37:03 +01:00
Sébastien Helleu
9b93919b06
core: update ChangeLog ( closes #1659 , closes #1669 , closes #1770 )
2022-12-10 16:20:23 +01:00
Sébastien Helleu
7313859bdf
core: update translations
2022-12-10 16:12:23 +01:00
Sébastien Helleu
ef842c5e62
core: fix function string_cut when there are non printable chars in suffix
2022-12-10 16:05:14 +01:00
Sébastien Helleu
f1cfd6f73f
core: do not display non printable chars, fix function utf8_char_size_screen
...
Now the function utf8_char_size_screen can return -1 when the char is not
printable.
It has a specific behavior for some chars:
- U+0009: value of option weechat.look.tab_width
- U+0001 to U+001F (except U+0009): 1
- U+00AD (soft hyphen): -1
- U+200B (zero width space): -1
2022-12-10 16:05:14 +01:00
Sébastien Helleu
d18f68e497
core: display chars < 32 with a letter/symbol and reverse video attribute in chat
2022-12-10 16:05:14 +01:00
Sébastien Helleu
6ac730cd0b
core: toggle reverse video attribute in bars for chars < 32 only if not already enabled
2022-12-10 16:05:14 +01:00
Sébastien Helleu
f63dba67f2
core: expand tabulations as spaces in bars
2022-12-10 16:05:14 +01:00
Sébastien Helleu
855d80702e
core: replace call to memcpy by utf8_strncpy
2022-12-10 16:05:14 +01:00
Sébastien Helleu
71ae8f1907
api: add function utf8_strncpy
2022-12-10 16:05:14 +01:00
Sébastien Helleu
e5cbbd781d
core: optimize and fix function utf8_strlen_screen with non printable chars
...
When there non printable chars, the return of the function was 1.
For example utf8_strlen_screen("abc\x01") now returns 4 instead of 1.
In addition the function has been optimized to not use the `mbstowcs` function
which is slow; result is up to 15% faster.
2022-12-10 16:05:14 +01:00
Sébastien Helleu
0e6677fbcb
core: add result of utf8_char_size_screen in /debug unicode
2022-12-10 16:05:14 +01:00
Sébastien Helleu
6cfc01aa53
doc: update Serbian auto-generated files
2022-12-05 21:00:48 +01:00
Ivan Pešić
c6f5c3feaa
Update Serbian translation
...
Documentation and messages translation update
2022-12-05 21:00:00 +01:00
Sébastien Helleu
55569c182a
core: display hex codepoint before integer codepoint in /debug unicode
2022-12-03 10:15:18 +01:00
Sébastien Helleu
f7f13352d7
core: remove useless call to mbstowcs in function debug_unicode_char
2022-12-03 10:14:30 +01:00
Sébastien Helleu
bbd0f5d26b
tests: define constants with UTF-8 strings, add tests on functions returning size on screen
2022-11-27 12:29:36 +01:00
Sébastien Helleu
e08fcdd04c
doc: update German auto-generated file
2022-11-22 18:41:42 +01:00
Nils Görs
894b5e21ed
core: update German translations
2022-11-22 10:08:50 +01:00
Sébastien Helleu
baab9cc7c5
core: add option unicode in command /debug
2022-11-21 20:45:41 +01:00
Sébastien Helleu
a8639969c5
core: reorder sub-commands in /debug command callback
2022-11-20 13:55:21 +01:00
Sébastien Helleu
8d40273111
core: fix typo in comment
2022-11-20 09:33:40 +01:00
Sébastien Helleu
b636f55b8b
trigger: properly initialize variable "value" to NULL
2022-11-19 20:29:02 +01:00
Sébastien Helleu
11a5e0a627
ci: install guile-3.0-dev instead of guile-2.2-dev
2022-11-19 20:27:57 +01:00
Sébastien Helleu
ea9c3b2218
debian: change dependency guile-2.2-dev to guile-3.0-dev
2022-11-19 19:05:25 +01:00
Sébastien Helleu
bab73cfaa5
core: add identifier in buffer lines ( closes #901 )
...
For buffers with formatted content, the "id" starts to 0 on each buffer and is
incremented on each new line displayed (it is reset to 0 if reaching INT_MAX).
For buffers with free content, the "id" is set to the same value as "y" (ie the
line number, starting to 0).
2022-11-11 09:42:20 +01:00
Sébastien Helleu
8c44dc53eb
doc/api: add missing note after list of signals
2022-11-09 08:15:30 +01:00
Sébastien Helleu
70998a53de
doc/user: add missing supported format for trigger regex
2022-11-09 08:12:54 +01:00
Sébastien Helleu
6962d2ccd5
doc: update German auto-generated file
2022-11-08 20:36:33 +01:00
Sébastien Helleu
24665ae878
core: add signals "buffer_user_{input|closing}_xxx" for buffers created with /buffer add ( closes #1848 )
2022-11-08 20:34:04 +01:00
Nils Görs
2e4a033f0d
doc: update German documentation
2022-11-07 13:21:12 +01:00
Nils Görs
f95eb08201
core: update German translations
2022-11-07 13:02:46 +01:00
Sébastien Helleu
55b5549054
trigger: display failing regex in trigger creation error
2022-11-06 09:14:18 +01:00
Sébastien Helleu
f18b96bb59
core: update translations
2022-11-06 09:14:18 +01:00
Sébastien Helleu
b2605902db
trigger: use explicit command "s" in regex of default triggers
2022-11-06 09:14:18 +01:00
Sébastien Helleu
39561b9146
core: add release notes about new trigger regex format
2022-11-06 09:14:18 +01:00
Sébastien Helleu
7555993bbc
trigger: add regex command "y" to translate chars, set default regex command to "s" (regex replace) ( closes #1510 )
2022-11-06 09:14:14 +01:00
Sébastien Helleu
3b674a5e16
tests: add another test on function string_translate_chars
2022-11-05 22:34:39 +01:00
Sébastien Helleu
196a051141
core: add range of chars in evaluation of expressions with chars:xxx
2022-11-05 22:34:38 +01:00
Sébastien Helleu
bc2fb071e2
api: add function string_translate_chars
2022-11-05 22:34:38 +01:00
Trygve Aaberge
03899e5ea5
doc: Fix typo in highlight_disable_regex option name
...
The section describes highlight_disable_regex, but the example used
highlight_regex instead.
2022-11-05 21:37:25 +01:00
Sébastien Helleu
a70c626c11
core: update ChangeLog (issue #1844 )
2022-10-23 19:04:32 +02:00
Trygve Aaberge
6f1635ae4e
core: Prevent use of uninitialized memory when setting invalid color
...
If a color option value is null and is tried being set to an invalid
color, the value was set to uninitialized memory which can lead to a
segfault.
Can be reproduced with this script:
https://gist.github.com/trygveaa/6ddb3a52f525a7fd8e0908bafa83e07c
The option doesn't have to be set from a script, it also happens with
the /set command.
2022-10-23 19:00:29 +02:00
Sébastien Helleu
09839150a8
doc: remove extra "#" before hex color
2022-10-22 21:51:48 +02:00
Sébastien Helleu
fd526e38a3
debian: update changelog
2022-10-22 21:49:30 +02:00
Sébastien Helleu
133a424178
core: add version 3.7.1
2022-10-21 14:41:38 +02:00
Nils Görs
68f605594c
doc: update German documentation
2022-10-20 23:44:37 +02:00
Sébastien Helleu
cf5a9a0db5
trigger: execute trigger command on appropriate buffer ( closes #1841 )
...
This affects the following hook types:
- command
- command_run
- line
- modifier
- print
This fixes a regression introduced in WeeChat 3.7 by commit
0f67f55098 .
2022-10-20 20:19:37 +02:00
Sébastien Helleu
693c5e64a7
doc/faq: remove mention of obsolete WeeChat versions
2022-10-19 23:40:12 +02:00
Sébastien Helleu
4d645fcdc9
doc: fix language in links to other docs
2022-10-19 21:33:16 +02:00
Sébastien Helleu
d79b106361
python: remove functions defined for Python < 2.6
2022-10-16 09:00:37 +02:00
Sébastien Helleu
319abf4fd0
python: remove support of Python 2.x
2022-10-15 22:56:06 +02:00
Sébastien Helleu
7a544d5fcf
tests: ignore pylint error unnecessary-pass
2022-10-15 22:01:33 +02:00
Sébastien Helleu
56dbd871ea
api: do not expect any return value in callbacks change/delete of config_new_option (scripting API)
2022-10-15 21:46:00 +02:00
Sébastien Helleu
a1057c9a03
tests: add tests on config functions (scripting API)
2022-10-15 21:31:45 +02:00
Trygve Aaberge
ec11126246
python: Fix return types for config option callbacks
...
I erroneously typed the return types for these to int in commit
e0c117e14 , but they should be None.
2022-10-14 23:00:33 +02:00
Sébastien Helleu
f9dd5ee89b
core: add contributor (issue #1836 )
2022-10-14 22:48:49 +02:00
Sébastien Helleu
e3bbe2b5be
core: update ChangeLog
2022-10-14 22:47:39 +02:00
Latchezar Tzvetkoff
8765eb3b71
Allow terminal title to be left unchanged.
...
Fixes #1835 .
2022-10-14 22:42:21 +02:00
Sébastien Helleu
6619c421aa
irc: escape backslashes in raw buffer ( closes #1838 )
2022-10-12 21:43:03 +02:00
Sébastien Helleu
7d2e8b9143
core: allow command /toggle to create option before setting the value, if allowed in the section ( closes #1837 )
2022-10-12 21:29:38 +02:00
Sébastien Helleu
f97b74cae8
core: fix context info in buffers with free content ( closes #1832 )
2022-10-10 20:24:58 +02:00
Trygve Aaberge
6096350618
python: Include script examples in function docstring
...
This makes it possible to see how functions are used without having to
go to the web page. It's especially useful to see the types of the
callback functions.
2022-10-09 19:01:16 +02:00
Sébastien Helleu
7122b46baf
Version 3.8-dev
2022-10-09 08:34:22 +02:00
Sébastien Helleu
484f679e60
Version 3.7
2022-10-09 08:06:53 +02:00
Trygve Aaberge
fdb1ff3781
tests: Use LONGS_EQUAL for version number tests
...
util_version_number returns an int, but BYTES_EQUAL only compares the
last byte of the int, so it wouldn't test the rest of the int.
I see other tests for functions returning an int use LONGS_EQUAL, so
that seems correct to use.
2022-10-08 18:13:00 +02:00
Sébastien Helleu
193aa0448f
core: fix compilation warning on isdigit function
2022-10-08 12:18:09 +02:00
Sébastien Helleu
3932cf5a00
xfer: add missing include of netinet/in.h
...
This fixes compilation on FreeBSD 13.0.
2022-10-08 12:11:12 +02:00
Sébastien Helleu
8555cf465e
debian: update changelog
2022-10-08 11:52:44 +02:00
Sébastien Helleu
11f0d57dfd
debian: bump Standards-Version to 4.6.1.0
2022-10-08 11:52:14 +02:00
Nils Görs
1fd5dd4c34
doc: update German documentation
2022-10-06 15:02:08 +02:00
Sébastien Helleu
1fec7e8856
core: fix page scroll in bare display ( closes #1830 )
2022-10-05 20:33:35 +02:00
Trygve Aaberge
236d22e364
python: Include constant values in python stub
...
This is useful for two reasons:
1. When running unit tests for a script weechat needs to be mocked. By
having the constant values available in the stub file, they can be
loaded from that, instead of having to define the constants manually
for the mock.
2. If you log a constant value you have to look up what it means. This
makes it easier, in the same vein as PR #1824 .
2022-10-02 20:25:17 +02:00
Sébastien Helleu
4d3a3c67ac
irc: set local variable "filter" when doing /server raw xxx with raw buffer already opened ( closes #1448 )
2022-10-01 17:06:31 +02:00
Sébastien Helleu
ae61137216
trigger: add variable ${tg_hook_type} ( closes #1765 )
2022-09-30 21:32:27 +02:00
Trygve Aaberge
6bb4bed8bb
doc/api: Fix config_new_option types for non English docs
...
Only English was changed in commit 197a7a01e .
2022-09-30 07:53:37 +02:00
Sébastien Helleu
92cdcee8f6
api: change type of argument object_id in upgrade_new callback from string to integer (in scripts)
2022-09-29 21:38:04 +02:00
Sébastien Helleu
b2b110f1a3
api: change type of argument remaining_calls in hook_timer callback from string to integer (in scripts)
2022-09-29 21:21:01 +02:00
Trygve Aaberge
89400cbf7a
doc/api: Remove unnecessary cast in Python example
...
The highlight argument is already an int, so no point in casting it.
2022-09-29 17:13:19 +02:00
Trygve Aaberge
e0c117e14f
doc/api: Add types for Python callbacks
2022-09-29 17:13:19 +02:00
Sébastien Helleu
b978de5f84
debian: remove ubuntu/xenial patch (distro not supported any more)
...
As zstd is too old in ubuntu/xenial (0.5.1 while min version is 0.8.1), this
distro is not supported any more.
2022-09-29 16:04:58 +02:00
Sébastien Helleu
fd43ad6387
core: fix compilation with zstd < 1.4.0
...
Note: zstd ≥ 0.8.1 is now required to compile WeeChat.
2022-09-29 15:59:01 +02:00
Sébastien Helleu
009a7821b1
doc: update German auto-generated file
2022-09-29 11:07:38 +02:00
Nils Görs
5cfcec7212
doc: update German documentation
2022-09-29 11:06:13 +02:00
Nils Görs
c6671fc9db
core: update German translations
2022-09-29 11:04:56 +02:00
Sébastien Helleu
8295ea6da8
doc/user: remove tag "translation missing" in French user's guide
2022-09-29 09:47:50 +02:00
Sébastien Helleu
9817372553
doc/user: add chapter on log file rotation/compression
2022-09-29 09:46:43 +02:00
Sébastien Helleu
486df38a8d
php: add missing arginfo_weechat_string_parse_size in legacy arginfo
2022-09-29 07:48:55 +02:00
Trygve Aaberge
76d4cc7e3f
doc/api: Add values for hook_process constants
...
When logging this value I just see a number so I have to look up what it
means. Previously you would have to check the code or print the value of
each of these constants to see it. Seeing the value directly in the
documentation makes this much easier.
2022-09-28 21:42:21 +02:00
Sébastien Helleu
135960859d
doc/api: add note about C API for constant WEECHAT_HOOK_PROCESS_CHILD (function hook_process)
2022-09-28 21:01:01 +02:00
Sébastien Helleu
9f62c4a842
doc/api: fix typo
2022-09-28 20:58:29 +02:00
Sébastien Helleu
7711ed95c5
logger: add options to rotate and compress log files ( closes #314 )
...
New options:
- logger.file.rotation_compression_level
- logger.file.rotation_compression_type
- logger.file.rotation_size_max
2022-09-28 20:52:59 +02:00
Sébastien Helleu
26e6fdc645
api: add function file_compress
2022-09-27 20:49:12 +02:00
Sébastien Helleu
e7b6e8c60f
api: restrict number to integer in function string_parse_size
2022-09-27 15:50:43 +02:00
Sébastien Helleu
4d74a89cfc
api: add function string_parse_size
2022-09-27 15:50:43 +02:00
Nils Görs
be6a29a596
doc: update German documentation
2022-09-27 10:56:11 +02:00
Sébastien Helleu
34c043453b
irc: fix use of uninitialized variable ptr_nick
2022-09-26 21:21:27 +02:00
Sébastien Helleu
6f8aab186d
doc: update German auto-generated file
2022-09-20 19:23:57 +02:00
Nils Görs
201b24a02a
core: update German translations
2022-09-20 19:10:13 +02:00
Sébastien Helleu
01cf98e8fb
core: add key alt+backspace, change behavior of key ctrl+w ( closes #559 )
...
The key ctrl+w now deletes one word until whitespace.
The new key alt+backspace deletes one word (same behavior as ctrl+w in previous
releases).
2022-09-18 23:26:49 +02:00
Sébastien Helleu
d7c0e896b2
core: fix style in ChangeLog
2022-09-18 17:44:55 +02:00
Sébastien Helleu
389f9f436b
trigger: escape arguments with double quotes in output of /trigger input|output|recreate ( closes #190 )
2022-09-18 17:44:05 +02:00
Sébastien Helleu
fe62d93dd0
build: update version of Debian/Ubuntu distros in examples
2022-09-18 14:39:36 +02:00
Sébastien Helleu
d5c285f0a6
build: remove patches for Debian/Raspbian Stretch
2022-09-18 14:39:02 +02:00
Sébastien Helleu
a00edcf50e
tests: add tests on filter functions
2022-09-17 18:56:35 +02:00
Sébastien Helleu
be7380f9b3
core: fix order of filters after renaming a filter (issue #1695 )
2022-09-17 16:01:02 +02:00
Sébastien Helleu
5284921701
irc: fix message when disconnecting from server in case of high lag when server option autoreconnect is off ( closes #1708 )
2022-09-17 12:12:06 +02:00
Sébastien Helleu
36d2e7427e
core: fix wrong terminal title on terminal resize ( closes #1702 )
2022-09-17 11:56:03 +02:00
Sébastien Helleu
0df582c7c1
core: sort filters by name ( closes #1695 )
2022-09-17 11:07:22 +02:00
Sébastien Helleu
a99fc17d40
spell: allow special dict value "-" to disable spell checking on a specific buffer ( closes #1699 )
2022-09-17 10:44:21 +02:00
Sébastien Helleu
2b2ba62600
doc/api: add version 3.7 for priority in function hook_line
2022-09-17 07:52:39 +02:00
Sébastien Helleu
21683def12
doc: update German auto-generated file
2022-09-16 21:06:33 +02:00
Sébastien Helleu
96c22c41ba
api: add support of priority in function hook_line ( closes #1821 )
2022-09-16 21:05:51 +02:00
Nils Görs
ba27ec8d65
core: update German translations
2022-09-16 08:23:27 +02:00
Sébastien Helleu
c6d8b54459
irc: add option irc.look.display_pv_nick_change
2022-09-15 20:31:06 +02:00
Sébastien Helleu
82f59d2a98
doc: update auto-generated files
2022-09-11 16:30:55 +02:00
Nils Görs
731f7e4243
core: update German translations
2022-09-11 16:25:17 +02:00
Ivan Pešić
2178440b7c
core: Update Serbian translation
...
Includes documentation update.
2022-09-11 11:50:35 +02:00
Sébastien Helleu
57af62c1c0
doc/api: move function hook_completion in chapter on hook priority
2022-09-11 11:45:02 +02:00
Sébastien Helleu
742773e070
doc/api: update chapter on hook priority
2022-09-11 10:52:25 +02:00
Sébastien Helleu
ac646da4fb
doc/api: update note about priority in hook functions
2022-09-11 09:50:47 +02:00
Sébastien Helleu
9cb68b13a9
irc: replace chars "\01" by spaces in CTCP replies ( closes #1819 )
...
This prevents any attack due to an external security issue in the Linux
netfilter implementation (nf_conntrack_irc).
See: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2663
2022-09-10 13:43:45 +02:00
Sébastien Helleu
5070a6330c
xfer: use larger buffer for IP address
...
This removes a gcc warning about a too small buffer.
2022-09-09 19:20:41 +02:00
Sébastien Helleu
d5cbd6c49a
irc: fix display of message 350 (whois, gateway) ( closes #1815 )
2022-09-05 22:12:17 +02:00
Sébastien Helleu
2a32456f19
tests: add missing include of string.h
2022-09-05 20:49:59 +02:00
Sébastien Helleu
b0bf2fbc97
core: remove debug print
2022-09-03 22:38:12 +02:00
Sébastien Helleu
e8524ea2c4
xfer: fix DCC file receive on Termux ( closes #1811 )
...
This fixes such error displayed on Termux when receiving a DCC file:
xfer: invalid address "96747949": error 8 hostname nor servname provided, or not known
2022-09-03 22:29:46 +02:00
Sébastien Helleu
7cf9399616
core: rename argument "length" to "bytes" in function string_strndup (header files)
...
Argument was already renamed in commit f8915129bf
but it was incomplete (missing header files).
2022-08-31 22:51:47 +02:00
Sébastien Helleu
68ecfb16a1
irc: fix target buffer of generic errors when they contain a target nick ( closes #1814 )
2022-08-29 22:45:28 +02:00
Sébastien Helleu
f5604510cd
script: use API function weechat_crypto_hash_file in script_repo_sha512sum_file
2022-08-16 21:40:02 +02:00
Sébastien Helleu
0090695f7d
api: add function crypto_hash_file
2022-08-16 21:33:50 +02:00
Sébastien Helleu
e614410815
irc: fix extract of isupport value when it is last in list and without value ( closes #1807 )
2022-08-15 18:14:03 +02:00
Sébastien Helleu
fb14e67364
buflist: improve help on option buflist.look.enabled
2022-08-15 14:43:25 +02:00
Sébastien Helleu
a31de83a3c
core: move line from "New features" to "Bug fixes"
2022-08-15 13:11:08 +02:00
Sébastien Helleu
b26fb7fba6
core: add new option trigger.color.identifier in ChangeLog
2022-08-15 13:10:29 +02:00
Sébastien Helleu
0f67f55098
trigger: add elapsed time for trigger execution on monitor buffer when trigger debug is set ( closes #1806 )
2022-08-15 12:44:16 +02:00
Sébastien Helleu
1ce2d7f56d
trigger: fix error on monitor buffer creation when trigger debug is >= 1 and monitor buffer is closed
2022-08-15 12:42:26 +02:00
Sébastien Helleu
223eefef67
irc: display ACCOUNT command in private buffers
2022-08-13 22:58:37 +02:00
Sébastien Helleu
aee3da5452
irc: add options and display SETNAME command in channels and private buffers ( closes #1805 )
...
New options:
- irc.color.message_setname
- irc.look.smart_filter_setname
2022-08-13 22:47:22 +02:00
Sébastien Helleu
d3b84eaf6c
irc: display CHGHOST command in private buffers
2022-08-13 22:16:46 +02:00
Sébastien Helleu
ac50a5dda7
doc: update auto-generated files
2022-08-13 19:07:56 +02:00
Sébastien Helleu
a36fa2faea
logger: improve help on option logger.file.auto_log
2022-08-13 19:02:55 +02:00
Sébastien Helleu
1e0d59a5e6
irc: add missing tag "irc_numeric" in all numeric IRC commands ( closes #1804 )
2022-08-13 17:34:43 +02:00
Sébastien Helleu
06b6f457d9
tests: add tests on dynamic string functions with NULL string
2022-08-13 14:38:08 +02:00
Sébastien Helleu
57c0a82557
core: fix CMake warning in Python detection
2022-08-13 14:37:00 +02:00
Sébastien Helleu
dd65938a85
doc: update German auto-generated file
2022-08-09 23:35:57 +02:00
Nils Görs
ff417f88ea
core: update German translations
2022-08-08 10:22:56 +02:00
Nils Görs
2857b7b4b7
core: update German translations
2022-08-08 10:08:44 +02:00
Sébastien Helleu
a8080505f3
tests: add tests on function xfer_file_search_crc32
2022-08-08 08:06:23 +02:00
Sébastien Helleu
bbe8afcbd4
xfer: move and rename function xfer_filename_crc32 to xfer-file.c
2022-08-08 06:57:39 +02:00
Sébastien Helleu
25f25073b9
irc: fix parsing of messages with trailing spaces and no trailing parameter ( closes #1803 )
2022-08-07 23:28:11 +02:00
Sébastien Helleu
d068fe0de5
core: add option -save in command /upgrade ( closes #1630 )
2022-08-07 16:48:12 +02:00
Sébastien Helleu
d91cddc909
xfer: disconnect all active DCC chats and files on /upgrade
2022-08-07 11:15:03 +02:00
Sébastien Helleu
9fd71067e7
xfer: fix refresh of xfer buffer after /upgrade
2022-08-07 11:11:10 +02:00
Sébastien Helleu
441d532f15
relay: fix refresh of relay buffer after /upgrade
2022-08-07 10:04:47 +02:00
Sébastien Helleu
57c9f371bc
relay: use enum type for websocket status in client
2022-08-07 09:31:24 +02:00
Sébastien Helleu
4fa278c2c3
doc: update German auto-generated file
2022-08-05 22:34:40 +02:00
Nils Görs
0edae0d93d
Merge branch 'master' of https://github.com/weechat/weechat
2022-08-05 09:49:59 +02:00
Nils Görs
fbc2e86d0e
core: update German translations
2022-08-05 09:49:27 +02:00
Sébastien Helleu
06622b5acb
doc: update German auto-generated file
2022-08-04 22:14:28 +02:00
Nils Görs
9bb903cbc8
core: update German translations
2022-08-04 12:46:04 +02:00
Sébastien Helleu
e9b8c9b6aa
ci: fix Ubuntu code name when applying Debian patch
2022-08-03 22:05:45 +02:00
Sébastien Helleu
b0eb3c9347
ci: remove macOS 10.15, add macOS 12 in CI
2022-08-03 21:57:44 +02:00
Sébastien Helleu
2102ef742b
core: update ChangeLog
2022-08-03 21:56:55 +02:00
Sébastien Helleu
5d51e7286c
ci: remove tests on macOS 10.15
2022-08-03 21:52:47 +02:00
Sébastien Helleu
fe892460ba
tests: fix pylint errors
2022-08-03 21:51:51 +02:00
Sébastien Helleu
0bb7a34748
doc: fix pylint errors
2022-08-03 21:51:51 +02:00
Sébastien Helleu
ee1efedbd7
ci: switch from Ubuntu 20.04 to 22.04
2022-08-03 21:51:51 +02:00
Emir SARI
492a68b3de
Update Turkish translations
...
Fixes plural structure to comply with gettext Turkish specification.
2022-08-03 21:20:31 +02:00
Sébastien Helleu
2bd3d32f0d
irc: mention how to remove capability in /help cap
2022-08-03 21:18:17 +02:00
Sébastien Helleu
6b28cc001f
tests: fix _ast_num in script generator
2022-08-02 23:52:31 +02:00
Sébastien Helleu
23707a12ea
tests: fix scripting API tests with Python 3.8
2022-08-02 21:35:33 +02:00
Sébastien Helleu
a7364d055b
tests: disable pylint errors in testapi.py
2022-08-02 21:21:07 +02:00
Sébastien Helleu
4d4a6f99f9
tests: add tests on hdata functions (scripting API)
2022-08-02 21:11:45 +02:00
Sébastien Helleu
a4c73b9ae7
tests: fix assignment in tcl script generator
2022-08-02 20:55:59 +02:00
Sébastien Helleu
3bc0453cae
tests: fix assignment in perl script generator
2022-08-02 20:55:36 +02:00
Sébastien Helleu
2ed281af02
tests: use double quotes instead of simple quotes in ruby script generator
...
This allows to use escaped chars in strings.
2022-08-02 20:54:35 +02:00
Sébastien Helleu
05abbac297
tests: add subscript in script generator
2022-08-02 20:52:40 +02:00
Sébastien Helleu
237c37e719
tests: fix unary op in script generator
2022-08-02 20:51:40 +02:00
Sébastien Helleu
39f2b2f7b9
ruby: fix function hdata_get_string
2022-08-02 20:50:48 +02:00
Sébastien Helleu
8f6395e889
guile: fix function hdata_get_string
2022-08-02 20:50:24 +02:00
Sébastien Helleu
53df45de48
php: fix function hdata_compare
2022-08-02 20:49:35 +02:00
Sébastien Helleu
bcb8647aa4
scripts: fix issue with long interval in function hook_timer
...
Affected plugins: python, ruby, lua, tcl, guile, javascript, php.
2022-08-01 22:18:38 +02:00
Sébastien Helleu
b1404b0277
scripts: fix issue with year ≥ 2038 in functions print_date_tags and print_y_date_tags
...
Affected plugins: python, lua, tcl, guile, javascript.
2022-08-01 21:03:44 +02:00
Sébastien Helleu
1514570ff0
scripts: fix issue with year ≥ 2038 in function infolist_new_var_time
...
Affected plugins: python, lua, tcl, guile, javascript.
2022-08-01 20:32:09 +02:00
Sébastien Helleu
2475ba43a3
javascript: fix return of long value in functions infolist_time, hdata_long and hdata_time
2022-08-01 20:13:01 +02:00
Sébastien Helleu
d2c2f9e6cd
tests: fix run of Guile test script
2022-08-01 20:02:35 +02:00
Sébastien Helleu
d8abdc57ee
core: fix styles in ChangeLog
2022-07-31 09:59:18 +02:00
Sébastien Helleu
e77ea9dc26
buflist: add variable "${hotlist_priority_number}" (integer version of "${hotlist_priority}")
2022-07-31 09:58:29 +02:00
Emir SARI
324f0aaa2d
Update Turkish translations
2022-07-30 07:53:40 +02:00
Nils Görs
ae273b2714
core: update German translations
2022-07-28 13:45:27 +02:00
Sébastien Helleu
06a05fd674
doc: update German auto-generated files
2022-07-27 22:07:50 +02:00
Sébastien Helleu
a50143fdf8
irc: display an error message when using command /dcc without xfer plugin loaded
2022-07-27 22:07:24 +02:00
Sébastien Helleu
56b82fb115
xfer: fix crash when closing DCC chat buffer
2022-07-27 22:06:48 +02:00
Nils Görs
9b4f52ac13
core: update German translations
2022-07-26 13:45:37 +02:00
Sébastien Helleu
906ac1d1e1
relay: exit function relay_irc_recv if params can not be allocated
2022-07-24 23:02:09 +02:00
Sébastien Helleu
2a145d7cc1
core: remove dead assignments
2022-07-24 23:01:38 +02:00
Sébastien Helleu
68ad24f2df
core: add option weechat.look.highlight_disable_regex and buffer property "highlight_disable_regex" ( closes #1798 )
2022-07-24 22:43:48 +02:00
Sébastien Helleu
1796634d83
core: use dynamic string in function gui_bar_item_get_value
2022-07-24 21:18:26 +02:00
Sébastien Helleu
a37c46c21e
doc: use non-breaking spaces before links to notes
2022-07-22 17:24:44 +02:00
Sébastien Helleu
d43b9e99c1
doc/scripting: add missing fields "paramN" and "num_params" in output of "irc_message_parse"
...
These new fields were added in version 3.4 with major improvements of the IRC
message parser.
2022-07-22 17:06:49 +02:00
Sébastien Helleu
d5c4342bce
irc: fix display of TOPIC message with an empty trailing parameter
2022-07-21 11:16:50 +02:00
Sébastien Helleu
569c93c6fb
irc: fix display of QUIT message with an empty trailing parameter ( closes #1797 )
...
The regression was introduced with the new way to parse IRC message parameters,
in version 3.4.
2022-07-21 11:10:29 +02:00
Sébastien Helleu
96ed471261
relay: fix parsing of IRC messages received from clients ( closes #1796 )
...
The IRC parser improved in version 3.4 is now used to parse command
parameters (variables "num_params" and "paramN" in output of parser function).
2022-07-21 10:20:10 +02:00
Sébastien Helleu
6b59fc8557
irc: use API function string_rebuild_split_string in irc_protocol_string_params
2022-07-20 13:20:07 +02:00
Sébastien Helleu
b7441bd7a3
api: add arguments "index_start" and "index_end" in function string_rebuild_split_string
2022-07-20 13:16:35 +02:00
Sébastien Helleu
62e68f965f
api: rename function string_build_with_split_string to string_rebuild_split_string
2022-07-20 12:14:40 +02:00
Sébastien Helleu
0440309cee
irc: fix duplicated channels in autojoin option when autojoin_dynamic is enabled ( closes #1795 )
2022-07-16 14:05:48 +02:00
Sébastien Helleu
e057c16b36
api: add info "uptime_current"
...
This info returns time duration between the start of the current WeeChat
process and now (so upgrades with /upgrade are ignored).
2022-07-10 13:02:35 +02:00
Sébastien Helleu
c4cade3550
Version 3.7-dev
2022-07-10 09:41:57 +02:00
Sébastien Helleu
e5a159c74f
Version 3.6
2022-07-10 09:18:05 +02:00
Sébastien Helleu
b74aa71442
debian: update changelog
2022-07-09 09:32:17 +02:00
Nils Görs
8fb7987633
doc: update German documentation
2022-07-09 00:35:09 +02:00
Sébastien Helleu
bb76a5d266
Version 3.6-rc1
2022-07-06 23:02:12 +02:00
Sébastien Helleu
db21a0da90
doc: update Serbian auto-generated files
2022-07-06 22:54:15 +02:00
Ivan Pešić
7508337240
core: Serbian message translation fixes
...
Several fixes.
2022-07-06 22:53:59 +02:00
Sébastien Helleu
98375b8ffc
doc: update Serbian auto-generated files
2022-07-05 21:19:36 +02:00
Sébastien Helleu
d6d83474c7
doc: remove extra space in Serbian translation
2022-07-05 21:19:17 +02:00
Ivan Pešić
43bafa59d8
core/doc: Update Serbian translation
2022-07-05 21:15:06 +02:00
Sébastien Helleu
e8c255770f
doc: fix display of literal blocks
...
This fixes:
- height of lines in literal blocks (all browsers)
- literal blocks in Japanese docs (Firefox)
2022-07-04 23:42:36 +02:00
Sébastien Helleu
59a4142b00
doc: remove font "Noto Color Emoji"
...
This allows the same render for north east arrow on all browsers.
2022-07-03 21:51:01 +02:00
Sébastien Helleu
dbc59965ac
doc: force color-scheme to dark/light according to the theme
...
This allows to have dark scroll bars in Chrome-based browsers.
2022-07-03 21:46:02 +02:00
Sébastien Helleu
6ffebec1a6
tests: add tests on IRC messages 524/704/705/706 (issue #1772 )
2022-07-02 21:11:32 +02:00
Sébastien Helleu
1c7b431bc8
api: run hook_print callback also on empty messages
2022-07-02 21:10:48 +02:00
Sébastien Helleu
749bc26926
irc: remove unneeded translation marker (issue #1772 )
2022-07-02 20:41:39 +02:00
Sébastien Helleu
9ac9dc7023
core: update ChangeLog (issue #1772 )
2022-07-02 20:34:39 +02:00
Sébastien Helleu
bbf55b734c
irc: start at parameter #2 in callback of messages 524/704/705/706 (issue #1772 )
2022-07-02 20:34:36 +02:00
Sébastien Helleu
2095887be9
irc: fix comments (issue #1772 )
2022-07-02 20:34:34 +02:00
Valentin Lorentz
fa05f75b74
irc: add ERR_HELPNOTFOUND (issue #1772 )
2022-07-02 20:34:31 +02:00
Valentin Lorentz
a96d2c28fb
irc: strip topic name when formatting RPL_HELPSTART/RPL_HELPTXT/RPL_ENDOFHELP (issue #1772 )
2022-07-02 20:34:27 +02:00
Sébastien Helleu
4a115fdedd
core: update ChangeLog
2022-06-30 20:37:11 +02:00
Sébastien Helleu
3a0e54d236
php: fix compilation warning about unused arguments
2022-06-30 20:35:59 +02:00
Adam Saponara
24fe646c4e
php: Deprecate forget_* functions in PHP 8+
...
These functions don't work with PHP 8+ and also don't seem to be
necessary anymore when reloading scripts.
2022-06-30 20:33:45 +02:00
Adam Saponara
8cf5848116
php: Add stubs and generate arginfo for PHP API
...
This was preventing the PHP plugin from working if PHP was compiled
with `--enable-debug`. With this patch, `--enable-debug` builds of
PHP should work.
2022-06-30 20:33:13 +02:00
Adam Saponara
3e1a5b4447
php: Adjust API for PHP 8.2
2022-06-30 20:32:20 +02:00
Sébastien Helleu
1fb82b4062
doc/quickstart: add command /autojoin and server option autojoin_dynamic
2022-06-28 23:00:43 +02:00
Sébastien Helleu
d4dc1467c9
doc/scripting: add arrow and open external links in new tab
2022-06-27 00:07:41 +02:00
Sébastien Helleu
c64bdeaed3
doc/relay: add arrow and open external links in new tab
2022-06-26 23:57:50 +02:00
Sébastien Helleu
37ed420108
doc/quickstart: add arrow and open external links in new tab
2022-06-26 23:54:07 +02:00
Sébastien Helleu
b825ce49c2
doc/api: add arrow and open external links in new tab
2022-06-26 23:47:05 +02:00
Sébastien Helleu
33bf2dec43
doc/faq: add arrow and open external links in new tab
2022-06-26 23:29:46 +02:00
Sébastien Helleu
0fe3661eab
doc/dev: add arrow and open external links in new tab
2022-06-26 22:41:56 +02:00
Sébastien Helleu
aee4d283c9
doc/user: add arrow and open external links in new tab
2022-06-26 22:23:54 +02:00
Sébastien Helleu
d3cdccc274
doc/user: replace TOR by Tor
2022-06-26 16:38:05 +02:00
Sébastien Helleu
42a0a19828
doc/user: add a chapter on supported IRCv3 extensions
2022-06-25 08:53:18 +02:00
Sébastien Helleu
8788fcedc8
irc: update URLs to IRCv3 specifications
2022-06-25 08:53:03 +02:00
Sébastien Helleu
84e6e84347
doc: remove underline and change color for links
2022-06-24 18:59:42 +02:00
Sébastien Helleu
38efd63012
doc: fix generation of python stub
2022-06-24 07:46:35 +02:00
Sébastien Helleu
031819173b
doc: change formatting in asciidoctor tables
2022-06-23 20:43:46 +02:00
Sébastien Helleu
de3d670ca7
doc: update German auto-generated file
2022-06-21 21:24:43 +02:00
Nils Görs
d2394f6432
core: update German translations
2022-06-20 13:46:19 +02:00
Sébastien Helleu
2c4bad8120
core: add trailing slashes in URLs
2022-06-18 16:18:09 +02:00
Sébastien Helleu
8ac67ff540
doc: add trailing slashes in URLs
2022-06-18 16:05:11 +02:00
Sébastien Helleu
b8ef7e2f65
doc/user: add missing server option "autojoin_dynamic"
2022-06-18 12:49:03 +02:00
Sébastien Helleu
21ca625f10
irc: update translations
2022-06-18 10:40:04 +02:00
Sébastien Helleu
9644df21ad
irc: add example with /allchan in /help autojoin
2022-06-17 21:05:12 +02:00
Sébastien Helleu
17ae43aa03
irc: rename option save to apply in command /autojoin
2022-06-15 22:11:08 +02:00
Sébastien Helleu
487406cfd9
doc/user: fix column size
2022-06-10 12:41:13 +02:00
Nils Görs
cd4db84feb
doc: update German documentation
2022-06-10 09:16:39 +02:00
Sébastien Helleu
55a796f30b
doc/user: add chapter on custom bar items
2022-06-07 21:04:34 +02:00
Sébastien Helleu
d81813cd6a
doc/faq: mention command /autojoin to edit the "autojoin" server option
2022-06-06 23:53:25 +02:00
Sébastien Helleu
2006c2c940
doc: update German auto-generated files
2022-05-31 08:19:09 +02:00
Sébastien Helleu
f3d2f9bbe1
doc/user: fix links to commands
2022-05-30 22:11:40 +02:00
Nils Görs
2c61a24413
core: update German translations
2022-05-30 10:13:43 +02:00
Sébastien Helleu
10501a34fe
core: fix style in ChangeLog
2022-05-28 10:24:41 +02:00
Sébastien Helleu
99dcdae5b0
core: update translations
2022-05-27 22:47:46 +02:00
Sébastien Helleu
86f110db98
core: add completion of conditions and content in commands /item add and /item addreplace (issue #808 )
2022-05-27 22:16:58 +02:00
Sébastien Helleu
a1a9303b14
trigger: fix completion of command /trigger add when there are spaces in the following arguments
2022-05-27 22:16:58 +02:00
Sébastien Helleu
5ef4731c62
core: add examples in /help item (issue #808 )
2022-05-27 22:16:55 +02:00
Sébastien Helleu
007958e82c
core: add display conditions in custom bar items (issue #808 )
2022-05-27 22:16:50 +02:00
Sébastien Helleu
5876a8335f
trigger: fix memory leak in command /trigger addinput
2022-05-27 17:53:56 +02:00
Sébastien Helleu
cefed25912
core: add command /item ( closes #808 )
...
This allows to create custom bar items with evaluated content (like the script
text_item.py does).
2022-05-27 17:53:50 +02:00
Nils Görs
79438c72e1
core: update German translations
2022-05-12 08:17:19 +02:00
Sébastien Helleu
d99fe0bc76
core: allow to remove multiple filters at once with command /filter del
2022-05-11 21:50:53 +02:00
Sébastien Helleu
540ff62c60
doc/relay: add missing version 3.5 in command "init"
2022-05-09 18:11:43 +02:00
Sébastien Helleu
3e8580b5e5
doc/faq: rename option autojoin_record to autojoin_dynamic
2022-04-29 08:21:10 +02:00
Sébastien Helleu
0f1f9bc87f
doc: update German auto-generated file
2022-04-25 13:31:35 +02:00
Nils Görs
f0572474d4
core: update German translations
2022-04-25 08:28:35 +02:00
Sébastien Helleu
d4d8117461
irc: remove channel from autojoin option when manually closing a buffer
2022-04-24 22:09:19 +02:00
Sébastien Helleu
4d8df89bb5
irc: fix add of channel to autojoin option when joining a channel with a buffer still opened
2022-04-24 22:09:19 +02:00
Sébastien Helleu
b7f3127bf8
api: allow to catch multiple signals in functions hook_signal and hook_hsignal ( closes #1780 )
2022-04-24 22:09:15 +02:00
Sébastien Helleu
f69ef840e0
doc/api: remove word "and" in text with updated versions
2022-04-24 17:36:39 +02:00
Sébastien Helleu
e46d2567ea
core: fix style in ChangeLog
2022-04-24 10:31:28 +02:00
Sébastien Helleu
8be5759ef7
core: update ChangeLog
2022-04-24 10:30:47 +02:00
Sébastien Helleu
78317f8b55
core: move detailed list of hooks from command "/plugin listfull" to "/debug hooks <plugin>"
2022-04-24 10:28:09 +02:00
Sébastien Helleu
d16640130e
core: add functions to get short description of hooks
2022-04-24 10:06:54 +02:00
Sébastien Helleu
95cf2aa956
doc: update auto-generated files with commands
2022-04-23 22:10:12 +02:00
Sébastien Helleu
dc367a83f6
core: add missing options "dirs" and "hooks" in description of /debug command arguments
2022-04-23 19:13:16 +02:00
Sébastien Helleu
2a2428902b
trigger: check that buffer notify is not "none" to run command of default trigger beep
2022-04-23 14:15:41 +02:00
Sébastien Helleu
51ed9ec93e
core: add case conversion in evaluation of expressions ( closes #1778 )
2022-04-18 13:46:16 +02:00
Nils Görs
46033a7ee9
doc: update German documentation
2022-04-18 10:58:35 +02:00
Sébastien Helleu
a2e43a732e
core: update ChangeLog ( closes #1700 )
2022-04-18 09:55:55 +02:00
Sébastien Helleu
674f52bf58
core: add bar item "spacer"
2022-04-18 09:52:01 +02:00
Sébastien Helleu
0af960dbde
core: use dynamic string functions to build bar window content
2022-04-17 09:20:46 +02:00
Sébastien Helleu
07b54a9932
buflist: fix memory leak when reading config and changing option buflist.look.sort
2022-04-16 20:24:24 +02:00
Sébastien Helleu
9fceaa465d
doc/user: add install of binary package with brew on macOS
2022-04-09 19:36:11 +02:00
Ivan Pešić
94555e043c
doc: Update Serbian translation
2022-04-09 10:45:27 +02:00
Sébastien Helleu
f02b172716
core: add CVE id in ChangeLog
2022-04-03 21:13:05 +02:00
Sébastien Helleu
9b1184e180
ci: install package ruby-pygments.rb
2022-03-30 21:54:36 +02:00
Sébastien Helleu
f39553152f
relay: fix save of channels when JOIN/PART are received from an IRC relay client ( closes #1771 )
2022-03-30 21:41:14 +02:00
Sébastien Helleu
89f49040f3
debian: add dependency on ruby-pygments.rb
2022-03-29 21:02:42 +02:00
Sébastien Helleu
95d0b89d1d
doc/user: add chapter on containers
2022-03-28 23:18:44 +02:00
Sébastien Helleu
01f9bcbaba
core: fix bad window size on startup with some terminals like kitty ( closes #1769 )
2022-03-27 17:19:39 +02:00
Sébastien Helleu
6fb6fad7e9
Version 3.6-dev
2022-03-27 16:04:59 +02:00
Sébastien Helleu
0e6497612c
Version 3.5
2022-03-27 15:13:48 +02:00
Sébastien Helleu
a794bf39bb
debian: update changelog
2022-03-27 09:49:50 +02:00
Sébastien Helleu
5f543f26cc
core: update .mailmap
2022-03-24 21:04:21 +01:00
Sébastien Helleu
0d8ced6c32
doc: use unicode symbol for greater-than or equal to
2022-03-23 21:12:02 +01:00
Sébastien Helleu
db28e2133d
doc: update Serbian auto-generated files
2022-03-22 21:18:32 +01:00
Ivan Pešić
bab175f5b4
core: update Serbian translation
2022-03-22 21:18:03 +01:00
Ivan Pešić
d3b42fae83
doc: update Serbian translations
2022-03-22 21:18:03 +01:00
Sébastien Helleu
ef41998179
core: use unicode symbol for greater-than or equal to in ChangeLog
2022-03-21 23:02:35 +01:00
Sébastien Helleu
05e65cdd31
Version 3.5-rc1
2022-03-20 18:11:25 +01:00
Sébastien Helleu
872ff1cc6d
irc: fix memory leak in command /autojoin addraw when channels are missing
2022-03-19 10:17:32 +01:00
Sébastien Helleu
8123cb3e0b
irc: ensure old_autojoin and ptr_autojoin are not NULL before comparing them
2022-03-19 10:15:16 +01:00
Sébastien Helleu
15e11ecc0c
core: fix line too long
2022-03-17 21:17:34 +01:00
Trygve Aaberge
827db6dc31
core: Fix regex for constants in the Python stub generator
...
In Python raw strings, newlines can't be escaped with a backslash. If
you do that, both the backslash and the newline become part of the
string. This meant that the regex for constants both started and ended
with a newline which caused every other constant to be skipped.
2022-03-17 21:16:45 +01:00
Sébastien Helleu
44e0414970
core: add version 3.4.1
2022-03-14 08:39:24 +01:00
Sébastien Helleu
9a19cc5d59
core: update latest stable version to 3.4.1
2022-03-14 08:35:24 +01:00
Nils Görs
3289bd2882
doc: update German documentation
2022-03-13 22:41:26 +01:00
Sébastien Helleu
6e75f93e1f
doc/user: translate FreeBSD installation instructions (issue #1760 )
2022-03-13 20:40:32 +01:00
Mateusz Piotrowski
13482b38d0
Add FreeBSD installation instructions
2022-03-13 20:38:57 +01:00
Sébastien Helleu
6004139098
core: set again TLS verification functions after GnuTLS options are changed ( closes #1763 )
...
When changing the options weechat.network.gnutls_ca_system or
weechat.network.gnutls_ca_user, the GnuTLS credentials are freed then allocated
again, but the verification function used to check the certificate on
connection is not set again.
As a consequence, any TLS connection is made without checking the certificate.
This regression was introduced in version 3.2, when the options were changed to
automatically load system certificates without having to give the path, and to
let user give an extra custom path with certificates.
2022-03-13 18:04:07 +01:00
Sébastien Helleu
116f533e0d
doc: update German auto-generated files
2022-03-13 14:07:56 +01:00
Sébastien Helleu
c943d3507f
python: add function buffer_new_props in Python stub file
2022-03-13 14:07:22 +01:00
Sébastien Helleu
869279e9b6
tests: add tests on function gui_buffer_match_list
2022-03-13 14:03:23 +01:00
Sébastien Helleu
947ca33c14
tests: add tests on function gui_buffer_valid
2022-03-13 14:03:14 +01:00
Sébastien Helleu
44ec7e8cfa
tests: add tests on functions gui_buffer_search_type and gui_buffer_search_notify
2022-03-13 13:49:18 +01:00
Sébastien Helleu
4629b17173
tests: add tests on functions gui_buffer_new and gui_buffer_new_props
2022-03-13 13:29:50 +01:00
Sébastien Helleu
e5e3a9d2da
api: add function buffer_new_props ( closes #1759 )
2022-03-13 10:35:29 +01:00
Sébastien Helleu
fbbed9fbf7
core: add function gui_buffer_new_props (issue #1759 )
...
This function allows to create a buffer and set properties via a hashtable,
before the signal "buffer_opened" is sent.
2022-03-13 10:35:29 +01:00
Sébastien Helleu
310b4dd2a0
tests: close xfer buffer after receiving some files
2022-03-13 10:34:56 +01:00
Sébastien Helleu
55f1655064
dev/scripting: fix typo
2022-03-12 20:50:25 +01:00
Sébastien Helleu
55aa40e087
doc/dev: add file test-irc-tag.cpp
2022-03-12 16:47:14 +01:00
Sébastien Helleu
68f395d433
doc/dev: add file irc-typing.c
2022-03-12 16:41:52 +01:00
Sébastien Helleu
22a36665e3
doc/dev: add file test-logger-backlog.cpp
2022-03-12 16:38:58 +01:00
Sébastien Helleu
65e08ffe07
core: update ChangeLog (issue #1761 )
2022-03-12 16:11:08 +01:00
Sébastien Helleu
8781187771
doc/scripting: translate note about Tcl constant $::weechat::WEECHAT_NULL
2022-03-12 16:08:19 +01:00
Trygve Aaberge
197a7a01e4
scripts: allow null values in config_new_option
...
The plugin API function config_new_option accepts null as the
default_value and/or value however the scripting APIs (except for lua)
didn't allow sending null as a parameter value, so it was impossible to
use it this way. This allows sending a null value for these parameters.
Lua already supported sending in nil for these parameters and it works
as expected, so nothing is changed for this plugin.
For Guile you can now send in #nil, for JavaScript null or undefined,
for Perl undef, for PHP NULL, for Python None, for Ruby nil and for Tcl
$::weechat::WEECHAT_NULL.
In all of these languages except Tcl this is the special value
indicating a missing value. However Tcl only has one type, string, so it
doesn't have a null value. Therefore I created a constant with the value
`\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF` which is used
instead. This is very unlikely to appear unintentionally. Using the
unicode code point \uFFFF was suggested on
https://wiki.tcl-lang.org/page/null .
I tested this with these scripts:
https://gist.github.com/trygveaa/f91977dde5d2876d502bf55fbf9b50cc
2022-03-12 16:00:38 +01:00
Sébastien Helleu
47e71a1bbd
tests: close buffers of channels created for tests on irc_join_save_channels_to_autojoin
2022-03-12 15:20:45 +01:00
Emir SARI
3a4a9459e7
Update Turkish translations
2022-03-12 10:36:12 +01:00
Nils Görs
cd6b83470e
core: update German translations
2022-03-11 20:39:51 +01:00
Sébastien Helleu
3f9c46468c
irc: add option "sort" in command /autojoin
2022-03-11 19:31:56 +01:00
Sébastien Helleu
9a286c65c6
tests: add missing include of string.h
2022-03-10 21:37:13 +01:00
Sébastien Helleu
aadd0772fe
irc: update translations
2022-03-10 21:26:26 +01:00
Sébastien Helleu
bb03e18425
irc: display only one message in /autojoin command output
2022-03-10 21:12:46 +01:00
Sébastien Helleu
5d809df6ed
tests: move include of tests/tests.h outside of extern "C"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
74ba21a8c4
tests: add tests on verbose argument of irc join functions
2022-03-10 21:12:46 +01:00
Sébastien Helleu
02bdf854bc
irc: fix add of same channel with and without key in the array list
2022-03-10 21:12:46 +01:00
Sébastien Helleu
8c66070136
irc: rename server option "autojoin_record" to "autojoin_dynamic"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
9cfdb4a324
irc: add command /autojoin
2022-03-10 21:12:46 +01:00
Sébastien Helleu
c1e65e8edd
irc: add server option "autojoin_record"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
f81a0dc4d9
doc: fix syntax highlighting in Serbian docs
2022-03-07 21:46:33 +01:00
Sébastien Helleu
d06f1e8486
guile: remove disabling of guile gmp allocator with Guile ≥ 3.0.8
...
This fixes the compilation warning:
weechat-guile.c: In function ‘weechat_plugin_init’:
weechat-guile.c:1270:5: warning: ‘scm_install_gmp_memory_functions’ is deprecated [-Wdeprecated-declarations]
2022-03-06 16:42:54 +01:00
Sébastien Helleu
ffb6cc3208
tests: add tests on function irc_server_valid
2022-03-05 20:53:01 +01:00
Sébastien Helleu
dc779b5179
tests: add tests on functions irc_server_search and irc_server_casesearch
2022-03-04 21:44:46 +01:00
Sébastien Helleu
7228262591
irc: fix display of message 901 (you are now logged out) ( closes #1758 )
2022-02-28 22:12:22 +01:00
Ivan Pešić
e4f93a7f30
doc: Update Serbian documentation
2022-02-22 19:03:51 +01:00
Sébastien Helleu
fd27faf899
tests: add tests on function logger_backlog_display_line
2022-02-21 20:17:01 +01:00
Sébastien Helleu
7486ea6dc1
logger: split function logger_backlog into two functions
2022-02-21 20:16:43 +01:00
Sébastien Helleu
9e9e252ff3
doc/relay: fix columns sizes in tables
2022-02-21 18:27:22 +01:00
Sébastien Helleu
db368b5824
doc/scripting: fix column size in tables
2022-02-21 18:26:39 +01:00
Sébastien Helleu
214e3cb1c2
doc/user: fix style in tables
2022-02-21 18:26:11 +01:00
Nils Görs
b4a14ef1dd
doc: update German documentation
2022-02-21 08:58:00 +01:00
Sébastien Helleu
40ff9beb10
doc/dev: add table with list of components for git commit message
2022-02-20 17:31:25 +01:00
Trygve Aaberge
d359e8135e
doc/api: Add missing parameter to python prototype for config_new_section
2022-02-20 16:49:04 +01:00
Sébastien Helleu
8700e0bb36
scripts: auto-load scripts with supported extensions only ( closes #1698 )
2022-02-20 16:29:31 +01:00
Sébastien Helleu
601bd7e0b8
doc/user: update dependencies using versions from Debian Bullseye
2022-02-20 16:12:21 +01:00
Sébastien Helleu
d3a9ce29fc
doc/user: add missing dependency on ruby-pygments.rb to build doc
2022-02-20 09:09:54 +01:00
Sébastien Helleu
f39c6a58d0
irc: replace calls to strndup by weechat_strndup
2022-02-19 16:34:36 +01:00
Sébastien Helleu
4068dc8da5
core: replace calls to strndup by string_strndup
2022-02-19 16:34:19 +01:00
Sébastien Helleu
7051c0fc2b
tests: add tests on function string_strndup
2022-02-19 16:33:49 +01:00
Sébastien Helleu
7f8e5b892d
core: call strdup in string_strndup if bytes equals strlen of string
2022-02-19 16:32:59 +01:00
Sébastien Helleu
e0db08c782
debian: change dependency libargon2-0-dev to libargon2-dev (debian bug #1005703 )
2022-02-19 10:18:38 +01:00
Sébastien Helleu
6fbfb2f476
core: update sentence about XDG directories in release notes
2022-02-15 07:12:38 +01:00
Sébastien Helleu
a2bb57bf82
doc/api: add missing type for argument "count" in Python prototype of function ngettext
2022-02-14 07:25:22 +01:00
Sébastien Helleu
ba7ff87d19
irc: fix parsing of message 223 (m_filter) sent by InspIRCd server ( closes #1751 )
2022-02-10 20:50:16 +01:00
Ivan Pešić
d7c8b16c4f
doc: Update Serbian documentation
2022-02-08 13:22:24 +01:00
Sébastien Helleu
d0c857934b
ruby: add detection of Ruby 3.1
2022-02-08 12:41:32 +01:00
Sébastien Helleu
e8c59e1f5b
core: fix style in ChangeLog
2022-02-05 10:04:25 +01:00
Sébastien Helleu
ec86c33789
doc/user: add supported C++ compilers in dependencies
2022-02-01 20:33:17 +01:00
Sébastien Helleu
608f56020d
core: search in message tags when tags are displayed with /debug tags
2022-01-30 13:33:21 +01:00
Sébastien Helleu
9259442dbf
core: add support of date and tags in messages displayed in buffers with free content, add function printf_y_date_tags ( closes #1746 )
2022-01-30 11:41:06 +01:00
Sébastien Helleu
bf3241208b
doc/api: fix type of parameter "date" in script prototype of function prnt_date_tags
2022-01-30 11:01:17 +01:00
Sébastien Helleu
28d6b71d9e
tests: add tests on gui_chat_printf_date_tags with past date and tags
2022-01-30 10:01:32 +01:00
Sébastien Helleu
083662cb34
tests: add tests on GUI chat functions
...
Functions tested:
- gui_chat_utf_char_valid
- gui_chat_char_size_screen
- gui_chat_strlen
- gui_chat_strlen_screen
- gui_chat_string_add_offset
- gui_chat_string_add_offset_screen
- gui_chat_string_real_pos
- gui_chat_string_pos
- gui_chat_get_word_info
- gui_chat_printf_date_tags_internal
- gui_chat_printf_date_tags
- gui_chat_printf_y
2022-01-29 10:24:21 +01:00
Sébastien Helleu
bf9cf3875f
doc/dev: update format of commit messages for docs
2022-01-29 10:12:32 +01:00
Sébastien Helleu
fc2f564950
doc: update auto-generated files with options
2022-01-28 09:36:03 +01:00
Sébastien Helleu
efaf88d857
tests: add tests on functions gui_line_build_string_prefix_message and gui_line_build_string_message_tags
2022-01-28 07:45:35 +01:00
Sébastien Helleu
05a9457504
core: move functions from gui-chat.c to gui-line.c
...
Functions moved and renamed:
- gui_chat_build_string_prefix_message -> gui_line_build_string_prefix_message
- gui_chat_build_string_message_tags -> gui_line_build_string_message_tags
2022-01-28 07:26:11 +01:00
Sébastien Helleu
3110740777
core: use dynamic string in function gui_chat_build_string_message_tags
2022-01-28 07:12:01 +01:00
Sébastien Helleu
a62f8f6f75
core: use dynamic string in function gui_chat_build_string_prefix_message
2022-01-28 07:03:44 +01:00
Sébastien Helleu
05eb897771
doc/api: merge examples and results in same column (function string_eval_expression)
2022-01-27 21:15:34 +01:00
Sébastien Helleu
113f93e5db
doc/api: add column "Min WeeChat" in string_eval_expression tables
2022-01-27 20:01:46 +01:00
Sébastien Helleu
f2aef8c13c
core: check that utf_char is not NULL in gui chat functions
2022-01-26 20:24:31 +01:00
Sébastien Helleu
3983f01ee7
core: set prefix to NULL when clearing a line on a buffer with free content
2022-01-26 20:23:16 +01:00
Sébastien Helleu
0ebf3dbede
core: fix memory leak when removing a line on a buffer with free content
2022-01-26 20:22:56 +01:00
Sébastien Helleu
13fb3649dd
core: update ChangeLog
2022-01-23 15:42:16 +01:00
Trygve Aaberge
6a88bbb4cc
Remove old and unused config option weechat.plugin.debug
...
As far as I can see, this option is not used anywhere and should have
been removed in commit 6e69f7f3c .
2022-01-23 15:41:10 +01:00
Emir SARI
b018f8d5c8
core: update Turkish translations
2022-01-23 10:18:59 +01:00
Sébastien Helleu
574f1837f9
python: fix crash in hook callbacks after script loading failure ( closes #1740 )
2022-01-22 21:34:04 +01:00
Sébastien Helleu
5172f20217
doc: update Serbian auto-generated file
2022-01-21 22:33:35 +01:00
Ivan Pešić
ab7c4c0147
doc: Update Serbian translation
2022-01-21 14:49:50 +01:00
Nils Görs
28fc2e7cbf
doc: update German documentation
2022-01-18 08:51:55 +01:00
Sébastien Helleu
2d6ab2ec0a
core: fix install of PHP 8.0 in CI
2022-01-17 21:27:04 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
ab12d384ea
doc: add example of hook_process with a script function (scripting guide)
2022-01-16 10:16:27 +01:00
Sébastien Helleu
c775242a4c
doc: remove useless comparison with empty string in Python examples (plugin API reference)
2022-01-16 10:15:55 +01:00
Sébastien Helleu
619f09f2d6
xfer: fix auto-accept of server/nick when the server name contains UTF-8 chars (issue #1739 )
2022-01-15 10:04:43 +01:00
Sébastien Helleu
e6f65122a9
spell: fix comparison of URL prefix with UTF-8 chars (issue #1739 )
...
There is no problem in practice because the possible URL prefixes are hardcoded
in the spell plugin and don't contain any UTF-8 char on more than one byte.
2022-01-15 10:04:12 +01:00
Sébastien Helleu
50167ca96f
relay: fix comparison of server nonce with UTF-8 chars (issue #1739 )
...
There is no problem in practice because this server nonce is generated by
WeeChat itself and encoded to base64, so it never contains any UTF-8 char on
more than one byte.
2022-01-15 10:03:54 +01:00
Sébastien Helleu
b54d06630d
irc: fix completion of channel topic with UTF-8 chars (issue #1739 )
2022-01-15 09:52:23 +01:00
Sébastien Helleu
c13aa86c79
api: fix add of infolist items in hashtable when prefix contains UTF-8 chars in function hashtable_add_from_infolist (issue #1739 )
2022-01-15 09:48:50 +01:00
Sébastien Helleu
bda7bb64d2
core: fix search of commands with UTF-8 chars in name when option weechat.look.command_incomplete is on (issue #1739 )
2022-01-15 09:48:50 +01:00
Sébastien Helleu
dee7313fcc
trigger: fix search of triggers with UTF-8 chars in name (issue #1739 )
2022-01-15 09:36:02 +01:00
Sébastien Helleu
305608ce89
tests: split tests on functions string_tolower and string_toupper
2022-01-14 21:43:06 +01:00
Sébastien Helleu
f8915129bf
core: rename argument "length" to "bytes" in function string_strndup
2022-01-14 21:41:25 +01:00
Nils Görs
0e57d01076
doc: update German documentation
2022-01-12 12:37:00 +01:00
Sébastien Helleu
286338f627
doc: add missing macro WEECHAT_PLUGIN_AUTHOR (plugin API reference)
2022-01-08 17:05:51 +01:00
Sébastien Helleu
9bbab7ff02
irc: use default callback in case of missing parameters in messages 311/312/327 (whois) and 314 (whowas)
2022-01-06 08:14:11 +01:00
Sébastien Helleu
6670fd2a87
irc: add macro to run another protocol callback
2022-01-06 08:10:44 +01:00
Sébastien Helleu
0d6b18bc54
irc: fix parsing of message 338 (whois, host) sent by Rizon server ( closes #1737 )
2022-01-05 08:24:04 +01:00
Sébastien Helleu
8c49475f75
irc: fix display of message 344 received as whois geo info ( closes #1736 )
2022-01-04 19:53:48 +01:00
Sébastien Helleu
08e0d3912a
doc: add note about chars replaced in IRC tag key/value (user's guide)
2021-12-30 21:49:51 +01:00
Sébastien Helleu
532d46bb93
trigger: add variables ${tg_tag_irc_xxx} containing IRC message tags (issue #1680 )
2021-12-30 21:22:37 +01:00
Sébastien Helleu
b66298d369
irc: add IRC message tags in messages displayed ( closes #1680 )
2021-12-30 21:11:22 +01:00
Sébastien Helleu
5c6fc8c4bd
doc: update OS examples in contributing guide
2021-12-30 07:25:23 +01:00
Sébastien Helleu
ee96b9b867
doc: change pygments pre-processor color from red to green/cyan
2021-12-28 23:34:38 +01:00
Sébastien Helleu
1c022d3bda
doc: move section "Fset" in "Configuration" (user's guide)
2021-12-28 22:22:14 +01:00
Sébastien Helleu
dd2b19ec42
core: fix display of hotlist in buflist after changing value of option weechat.look.hotlist_sort ( closes #1733 )
...
The "hotlist" pointer in buffers was lost, it is now set again after switching
to the newly sorted hotlist.
2021-12-28 13:52:58 +01:00
Sébastien Helleu
df0506dbdf
doc: update German auto-generated file
2021-12-28 13:34:15 +01:00
Nils Görs
93eafae2fe
core: update German translations
2021-12-27 10:42:54 +01:00
Sébastien Helleu
7fb1dd94cc
core: add build of Debian packages in CI
2021-12-25 16:26:43 +01:00
Sébastien Helleu
c8a8680d60
relay: improve help on option relay.network.compression
2021-12-25 10:44:00 +01:00
Sébastien Helleu
af067f18e2
doc: update auto-generated files with options
2021-12-25 10:31:44 +01:00
Sébastien Helleu
454c0acbcf
doc: fix color of preformatted text in docs
2021-12-25 10:30:18 +01:00
Sébastien Helleu
498194f6fc
relay: add zstd compression in weechat protocol
...
Option relay.network.compression_level is renamed to relay.network.compression
and is now a percentage between 0 (no compression) to 100 (best compression,
slowest).
Compression is now disabled by default in weechat protocol and must be enabled
via the `handshake` command (option `compression` has been removed from `init`
command).
2021-12-24 16:45:57 +01:00
Sébastien Helleu
d5c391b1ee
irc: fix display of IRC numeric messages with no parameters
...
For example this MOTD message is properly displayed (empty line):
:server.example.com 372 nick :
2021-12-23 18:43:12 +01:00
Nils Görs
20e219a2c9
doc: update German documentation
2021-12-20 10:23:22 +01:00
Sébastien Helleu
abb7d3642a
core: use shortcuts for URLs pointing to documentation
2021-12-19 12:31:45 +01:00
Sébastien Helleu
7f2cce2970
core: fix link to doc on IRC plugin in README
2021-12-19 12:31:09 +01:00
Sébastien Helleu
7a0fdd1966
core: remove tests on Travis CI
...
Travis CI has been replaced by GitHub Actions since May 2020.
2021-12-19 12:22:50 +01:00
Sébastien Helleu
fae6bbb40e
core: fix styles in ChangeLog and release notes
2021-12-19 10:51:29 +01:00
Sébastien Helleu
5bb56e0f57
doc: mention IRC server buffer in default key binding ctrl-x (user's guide)
2021-12-18 13:41:09 +01:00
Sébastien Helleu
5de21ddfc0
Version 3.5-dev
2021-12-18 09:22:12 +01:00
Sébastien Helleu
778594d68f
Version 3.4
2021-12-18 08:57:32 +01:00
Sébastien Helleu
37d4d2ac65
debian: update changelog
2021-12-18 08:41:05 +01:00
Krzysztof Korościk
2376b6aa5e
doc: update polish translation
2021-12-17 23:28:35 +01:00
Nils Görs
5a24ffd951
doc: update German documentation
2021-12-17 09:19:32 +01:00
Sébastien Helleu
a1cc70b752
core: fix broken links in README ( closes #1729 )
2021-12-16 20:41:12 +01:00
Sébastien Helleu
1cedb78348
doc: add workaround for download of plugins.xml.gz on macOS (FAQ)
2021-12-15 21:05:06 +01:00
Ivan Pešić
0123abb83e
doc: Update Serbian translation
2021-12-13 22:16:57 +01:00
Sébastien Helleu
463517bd1e
core: fix tests on PHP plugin in CI
2021-12-13 21:39:25 +01:00
Sébastien Helleu
46f3bee2ff
core: add build of zst archive in make dist
2021-12-13 21:10:06 +01:00
Krzysztof Korościk
d80b27af64
doc: updated polish cmdline options
2021-12-12 20:47:42 +01:00
Krzysztof Korościk
e2d44181d7
doc: updated polish user guide
2021-12-12 20:37:02 +01:00
Krzysztof Korościk
ba4f762964
po: updated polish translation
2021-12-12 00:44:04 +01:00
Sébastien Helleu
dad3e6099c
doc: use unbreakable spaces in example of missing translation tag (developer's guide)
...
This allows to search this tag in docs with grep and ignore the example in the
developer's guide.
2021-12-11 09:40:07 +01:00
Sébastien Helleu
5208552a98
doc: remove missing translation comments in French docs
2021-12-11 09:35:01 +01:00
Sébastien Helleu
07721d3dc1
Version 3.4-rc1
2021-12-10 18:49:11 +01:00
Nils Görs
d236171035
core: update German translations
2021-12-10 11:21:47 +01:00
Sébastien Helleu
a4d560e0aa
doc: fix color codes attributes in developer's guide
2021-12-08 20:54:40 +01:00
Sébastien Helleu
7bf0a5c734
doc: remove list of remote interfaces, redirect to web site (user's guide)
2021-12-05 22:00:24 +01:00
Sébastien Helleu
10a8732d41
doc: rename section "WeeChat extension" to "Extending WeeChat" (user's guide)
2021-12-05 21:39:28 +01:00
Sébastien Helleu
fd017ce474
doc: add section "Script manager" (user's guide)
2021-12-05 21:39:28 +01:00
Sébastien Helleu
1c0d8f5fd3
doc: add section "WeeChat extension" above "Plugins" (user's guide)
2021-12-05 21:39:28 +01:00
Sébastien Helleu
160ffe8e11
doc: move sections "Exec", "Fifo" and "Trigger" at top level after "Relay" (user's guide)
2021-12-05 21:39:28 +01:00
Sébastien Helleu
4c7b898666
doc: move section "Xfer" at top level after "IRC" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
391d0a18a1
doc: move section "Typing" at top level after "IRC" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
a5db952842
doc: move section "Spell" in "Configuration" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
7cb5147e74
doc: move section "Relay" at top level after "IRC" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
a5ffd8b800
doc: move section "Logger" in "Configuration" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
66384544b5
doc: move section "IRC" at top level after "Configuration" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
c88428fb41
doc: move section "Bare display" in "Buffers and windows" (user's guide)
2021-12-05 14:15:52 +01:00
Sébastien Helleu
71991fcc73
doc: add fset buffer example (user's guide)
2021-12-05 14:11:25 +01:00
Sébastien Helleu
b82a9c44fd
doc: fix typo in French user's guide
2021-12-05 13:56:59 +01:00
Sébastien Helleu
637c7bb3d4
doc: move section "Fset" in "Interface" (user's guide)
2021-12-05 13:15:35 +01:00
Sébastien Helleu
268cb53238
doc: move section "Charset" in "Configuration" (user's guide)
2021-12-05 12:43:54 +01:00
Sébastien Helleu
9e721d0ad5
doc: move section "Buflist" in "Interface" (user's guide)
2021-12-05 12:36:39 +01:00
Sébastien Helleu
287d5146b4
doc: move section "Alias" in "Configuration" (user's guide)
2021-12-05 12:25:41 +01:00
Sébastien Helleu
1cfb5e5d1e
doc: change section title for debug build and address sanitizer (user's guide)
2021-12-05 11:55:02 +01:00
Sébastien Helleu
866fef2595
doc: fix cross-reference to mouse actions (user's guide)
2021-12-05 11:47:04 +01:00
Sébastien Helleu
2dabce9ac8
doc: move section "Key bindings" at top level, add section title "Configuration" (user's guide)
2021-12-04 20:12:06 +01:00
Sébastien Helleu
f33e9b6737
doc: move section "Running WeeChat" at top level, add section title "Interface" (user's guide)
2021-12-04 15:59:55 +01:00
Sébastien Helleu
50cea48b51
doc: move section "Upgrade" at top level after "Installation" (user's guide)
2021-12-04 15:59:46 +01:00
Sébastien Helleu
ae891ab322
doc: reduce font size in table of contents
2021-12-04 15:38:47 +01:00
Sébastien Helleu
0a14441d35
doc: remove section title for extra debug options on command line (user's guide)
2021-12-04 15:31:38 +01:00
Sébastien Helleu
f2310dae42
doc: add more categories for key bindings (user's guide)
2021-12-04 15:15:58 +01:00
Sébastien Helleu
67a364550f
core: fix typo in weechat --help
2021-12-03 12:03:08 +01:00
Sébastien Helleu
64592951b5
doc: use only a link to user's guide in Installation chapter (README)
2021-12-01 18:54:28 +01:00
Sébastien Helleu
3a38879590
doc: remove tester's guide
2021-12-01 18:48:14 +01:00
Sébastien Helleu
d447755b1f
core: update ChangeLog
2021-11-28 22:21:55 +01:00
Sébastien Helleu
2564fa2882
doc: disable web fonts in docs generated by asciidoctor
2021-11-27 16:53:12 +01:00
Sébastien Helleu
928ed152ed
doc: make reproducible build of docs with asciidoctor
2021-11-27 16:09:11 +01:00
Sébastien Helleu
7014322b2e
doc: add dark theme in docs generated by asciidoctor
2021-11-27 16:05:28 +01:00
Sébastien Helleu
9b6606394c
doc: fix column size in table with color codes (developer's guide)
2021-11-27 16:05:28 +01:00
Sébastien Helleu
198872c027
doc: escape example of link in developer's guide
2021-11-27 16:05:28 +01:00
Sébastien Helleu
c8776b14f6
doc: switch from prettify to pygments for syntax highlighting
2021-11-27 16:05:28 +01:00
Nils Görs
35c26fb001
doc: update German documentation
2021-11-24 12:30:41 +01:00
Thomas Faughnan
eca9c89747
doc: fix typo in link for '/layout' in user guide
2021-11-23 09:34:19 +01:00
Sébastien Helleu
aed64f5020
ruby: add detection of Ruby 3.0 in autotools (issue #1721 )
2021-11-21 16:57:17 +01:00
Sébastien Helleu
266233636d
core: add issue #1605 in ChangeLog
2021-11-21 16:48:39 +01:00
Sébastien Helleu
be753046b7
core: fix detection of Ruby 3.0 on macOS (issue #1721 )
2021-11-21 16:38:22 +01:00
Sébastien Helleu
15f5bc7944
tests: add missing include of stdio.h
2021-11-21 16:37:23 +01:00
Sébastien Helleu
27a480c7d7
core: fix compilation with Ruby 3.0 on macOS (issue #1721 , closes #1605 )
2021-11-21 16:29:40 +01:00
Sébastien Helleu
fe9768f484
ruby: add detection of Ruby 3.0.0, remove old way to detect Ruby ( closes #1721 )
2021-11-21 11:39:56 +01:00
Sébastien Helleu
aace0a1a58
core: fix links to docs in release notes
2021-11-20 20:34:21 +01:00
Sébastien Helleu
792739ee42
core: add build with CMake and Ninja in CI
2021-11-20 19:02:53 +01:00
Sébastien Helleu
8b11fa86cd
core: add build on macOS 11 in CI
2021-11-20 17:34:33 +01:00
Sébastien Helleu
28d013b704
build: add targets "changelog" and "rn" to build HTML version of ChangeLog and release notes (CMake build only)
2021-11-20 17:23:59 +01:00
Sébastien Helleu
5fffaf89e4
build: improve error management in build of tarballs
2021-11-20 15:32:06 +01:00
Sébastien Helleu
006964c4dc
irc: fix memory leak in case of realloc error
2021-11-20 13:21:51 +01:00
Sébastien Helleu
05d31b476b
trigger: hide key and password in command "/msg nickserv setpass nick key password"
2021-11-13 15:41:31 +01:00
Sébastien Helleu
50edb33f1c
core: speed up eval by storing length of prefix/suffix in eval structure
2021-11-13 15:18:49 +01:00
Sébastien Helleu
c82358c17c
core: free strings with XDG directories in case of error
2021-11-13 14:59:14 +01:00
Sébastien Helleu
d64050bafb
relay: remove dead assignment in websocket decoding
2021-11-13 13:32:02 +01:00
Sébastien Helleu
1556e4ac5a
core: fix memory leak in evaluated expression "split:number,seps,flags,xxx" when multiple "strip_items" are given
2021-11-13 13:29:32 +01:00
Sébastien Helleu
a3924a27a0
tests: add tests on some IRC SASL functions
2021-11-13 09:06:34 +01:00
Sébastien Helleu
cbadaecc4f
core: add note about default trigger "cmd_pass_register" in release notes
2021-11-13 08:48:04 +01:00
Sébastien Helleu
7cad1230e6
trigger: add comments with list of all commands in default triggers
2021-11-12 21:20:14 +01:00
Sébastien Helleu
997559e55b
trigger: split default triggers on multiple lines
2021-11-12 21:08:39 +01:00
Sébastien Helleu
d98940fecb
tests: add tests on default triggers
2021-11-12 20:58:30 +01:00
Sébastien Helleu
f2ad57ceb9
trigger: add support of option "-server" when hiding passwords in command /msg nickserv register
2021-11-12 20:52:14 +01:00
Sébastien Helleu
d4650183ba
doc: fix typos in user's guide
2021-11-11 21:33:16 +01:00
Sébastien Helleu
a6c40d2190
doc: fix sentences in French user's guide
2021-11-11 21:18:10 +01:00
Sébastien Helleu
563a6db02d
core: fix typos in docs
2021-11-11 09:28:24 +01:00
Sébastien Helleu
5ddd72c0e9
tests: add extra tests on functions string_strcmp_ignore_chars and string_convert_escaped_chars
2021-11-09 20:41:23 +01:00
Ivan Pešić
80b86ea647
core: update Serbian translations
2021-11-08 20:48:59 +01:00
Santiago Forero
bbcdb90fbb
core: update Spanish translations
2021-11-08 20:25:41 +01:00
Sébastien Helleu
253b25db03
core: fix random integer number with large range in evaluation of expressions on GNU/Hurd
2021-11-07 20:16:26 +01:00
Sébastien Helleu
4c9e7ed09e
tests: fix allocation of test_ptr_1_hashtable_dyn in hdata tests
2021-11-07 18:13:03 +01:00
Sébastien Helleu
12043622e6
tests: add tests on UTF-8 string functions
2021-11-07 14:39:48 +01:00
Sébastien Helleu
f4a1baaed3
irc: extend size of some internal buffers
2021-11-07 08:57:07 +01:00
Sébastien Helleu
9303f5abd9
core: update ChangeLog
2021-11-06 18:57:49 +01:00
Sébastien Helleu
1b8ad40b81
irc: do not display a message parsing error when a channel buffer can not be created
2021-11-06 18:19:12 +01:00
Sébastien Helleu
2f177dd188
irc: fix join of channels with name longer than 127 chars ( closes #1717 )
2021-11-06 18:17:39 +01:00
Sébastien Helleu
edfc415e9e
irc: fix memory leak in main IRC message callback
2021-11-06 17:58:48 +01:00
Sébastien Helleu
8bb5e33348
irc: fix memory leak in callback of IRC message 353
2021-11-06 17:55:31 +01:00
Sébastien Helleu
b3cf7658f7
doc: replace ${name} by ${server_name} in example of function hdata_search (plugin API reference)
2021-11-06 16:03:40 +01:00
Sébastien Helleu
2081fa54af
core: reverse diff arguments in CI
2021-11-06 15:59:28 +01:00
Sébastien Helleu
2da2172593
api: add parameters pointers, extra_vars and options in function hdata_search
2021-11-06 15:59:18 +01:00
Sébastien Helleu
018a4bda53
core: add hdata changes in release notes
2021-11-05 20:21:39 +01:00
Sébastien Helleu
14c6ef3d83
tests: add missing include of string.h
2021-11-05 20:21:17 +01:00
Sébastien Helleu
9c5837d143
core: add unit tests on hdata
2021-11-05 20:04:10 +01:00
Sébastien Helleu
5e08f9876a
core: fix access to integer/long/time arrays in hdata, add support of static arrays in hdata
2021-11-04 23:55:02 +01:00
Sébastien Helleu
ee66fc3a85
core: fix crash in function hdata_set when pointer value is NULL in hashtable
2021-11-03 23:54:12 +01:00
Sébastien Helleu
13472adfff
core: check that time is valid in function hdata_set
2021-11-03 23:23:09 +01:00
Sébastien Helleu
60b374901f
core: remove useless test in function hdata_update
2021-11-03 23:02:01 +01:00
Sébastien Helleu
d8a3a0137c
core: check that hdata and name are not NULL in function hdata_compare
2021-11-02 21:08:24 +01:00
Sébastien Helleu
f66e55564e
core: check that name is not NULL in function hdata_get_var
2021-11-01 22:16:50 +01:00
Sébastien Helleu
6e83225e6f
core: use a "free value" callback in hashtable weechat_hdata
2021-10-29 22:13:53 +02:00
Sébastien Helleu
f03622d141
doc: update Polish auto-generated files
2021-10-24 09:23:01 +02:00
Krzysztof Korościk
4f20417cb2
po: updated polish translation
2021-10-24 00:38:46 +02:00
Krzysztof Korościk
f15337ea9a
doc: updated polish translation
2021-10-23 23:29:34 +02:00
Sébastien Helleu
49221b56b9
doc: update German auto-generated file
2021-10-23 20:58:16 +02:00
Nils Görs
75f71cd311
core: update German translations
2021-10-23 17:58:01 +02:00
Sébastien Helleu
505a9f937a
core: fix typo in ChangeLog
2021-10-23 15:13:53 +02:00
Sébastien Helleu
08d3e3b2b7
core: update ChangeLog ( closes #1666 )
2021-10-23 14:44:20 +02:00
Sébastien Helleu
fb4d947a8c
core: update translations
2021-10-23 14:44:11 +02:00
Sébastien Helleu
2ca6420e17
irc: do not display first parameter in numeric command when it is "*"
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cde0d5f7a5
irc: do not display "*" when received as nick in command 900
2021-10-17 21:28:31 +02:00
Sébastien Helleu
ba5b744397
irc: add URL to extended-join extension
2021-10-17 21:28:31 +02:00
Sébastien Helleu
1447c7ad83
irc: fix URL to invite-notify extension
2021-10-17 21:28:31 +02:00
Sébastien Helleu
b57d19c893
irc: add more CAP command examples
2021-10-17 21:28:31 +02:00
Sébastien Helleu
9063546acc
irc: remove parameters argc/argv/argv_eol from command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
f1cb767001
irc: keep trailing spaces in received message 322
2021-10-17 21:28:31 +02:00
Sébastien Helleu
634eac455d
tests: ensure trailing spaces are preserved in some incoming IRC commands
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2f90fc0299
irc: don't keep trailing spaces in received message TAGMSG
2021-10-17 21:28:31 +02:00
Sébastien Helleu
d2bd952210
tests: protect IRC message with quotes in command /server fakerecv
2021-10-17 21:28:31 +02:00
Sébastien Helleu
9fbe18eb27
irc: remove quotes around message in command /server fakerecv
...
This preserves trailing spaces at the end of the message.
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2ca37a9128
irc: remove server in "903" and "904" command callbacks examples
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a73e9eb8ca
irc: use parsed command parameters in "901" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a3ddeba9f9
irc: use parsed command parameters in "900" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
baa91a45a8
irc: use parsed command parameters in "730", "731", "732", "733" and "734" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
6124bf3c92
irc: use parsed command parameters in "729" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
6a8ec55118
irc: use parsed command parameters in "728" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
4b6038975c
irc: use parsed command parameters in "470" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5e63161b5b
irc: use parsed command parameters in "438" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
32c99047f4
irc: use parsed command parameters in "437" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2ef9509dbe
irc: remove server in "432" and "433" command callbacks examples
2021-10-17 21:28:31 +02:00
Sébastien Helleu
c7cb025582
irc: use parsed command parameters in "368" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
96288d69e2
irc: use parsed command parameters in "367" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
aad86a1955
irc: use parsed command parameters in "366" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
dcbf534d53
irc: use parsed command parameters in "353" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
c8329da6e0
irc: use parsed command parameters in "352" and "354" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3e1b621f52
tests: add extra tests on notice message received with just a server address
2021-10-17 21:28:31 +02:00
Sébastien Helleu
56cb9e50af
irc: fix display of address in notice messages received
2021-10-17 21:28:31 +02:00
Sébastien Helleu
9b17f1fee4
irc: use parsed command parameters in "351" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cee4bf7e3c
irc: use parsed command parameters in "349" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
027ecc6b0e
irc: use parsed command parameters in "348" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
22ecfda777
irc: use parsed command parameters in "347" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2ae974f5c3
irc: use parsed command parameters in "346" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
99d565f6df
irc: use parsed command parameters in "345" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5546b0af0e
irc: use parsed command parameters in "344" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
741343e9aa
irc: use parsed command parameters in "341" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
0e9710de81
irc: use parsed command parameters in "338" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
32ae101096
irc: use parsed command parameters in "333" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3a5a2abeea
irc: use parsed command parameters in "332" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
de567aa1d3
irc: use parsed command parameters in "331" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a5e470a16a
irc: use parsed command parameters in "330" and "343" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
b3ce8b5282
irc: use parsed command parameters in "329" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
31b15c1423
irc: use parsed command parameters in "328" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
60c9beab2b
irc: rename some variables "str_params" to a more meaningful name
2021-10-17 21:28:31 +02:00
Sébastien Helleu
10a1c9bda4
irc: use parsed command parameters in "327" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
6f8f547242
irc: use parsed command parameters in "324" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2509486c6a
irc: use parsed command parameters in "323" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
df9c32b0c3
irc: use parsed command parameters in "322" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
c577da0375
irc: use parsed command parameters in "321" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
4e1d40034e
irc: use parsed command parameters in "317" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a1a4f337ff
irc: use parsed command parameters in "315" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
e412a34668
irc: use parsed command parameters in "314" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3c7d4b0516
irc: use parsed command parameters in "312" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
572bcc2c59
irc: use parsed command parameters in "311" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3360cadd55
irc: use parsed command parameters in "whois" and "whowas" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
f51f3dbe29
irc: use parsed command parameters in "305" and "306" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
efecdf5d45
irc: use parsed command parameters in "303" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
76b75ad5cd
irc: use parsed command parameters in "numeric" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
74ceaa1a68
irc: use parsed command parameters in "301" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
12a4519448
irc: use parsed command parameters in "221" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
033fbf63b0
irc: use parsed command parameters in "008" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
1029780ce2
irc: use parsed command parameters in "005" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
0ea0b24563
irc: use parsed command parameters in "001" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
ec816b4be5
irc: use parsed command parameters in "wallops" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
7c1ea1cb32
irc: use parsed command parameters in "topic" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
27f554659e
irc: use parsed command parameters in "973", "974" and "975" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5389ceb237
irc: use parsed command parameters in "tagmsg" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
03e0122155
irc: use parsed command parameters in "setname" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
8d12187f3d
irc: require nick in "away" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
bf8c85f422
irc: use parsed command parameters in "quit" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
179822fb91
irc: use parsed command parameters in "privmsg" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5e712d7145
irc: use parsed command parameters in "pong" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
8ea41d91c9
irc: use parsed command parameters in "ping" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
7a88e007a5
tests: check missing nick in IRC commands invite/join/kick/kill/mode/nick/part
2021-10-17 21:28:31 +02:00
Sébastien Helleu
257fe7362a
tests: fix comments
2021-10-17 21:28:31 +02:00
Sébastien Helleu
52cc1165c4
irc: ensure the nick is not empty when the nick is required in a command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
0be96b7c66
irc: fix messages displayed when prefix/nick is missing
2021-10-17 21:28:31 +02:00
Sébastien Helleu
9d4119232f
irc: remove check of address/host in command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
adcc04cc5a
irc: fix extraction of address from prefix
...
Do not return the nick when the address is missing.
2021-10-17 21:28:31 +02:00
Sébastien Helleu
e5996f626b
irc: use parsed command parameters in "part" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
d8c7cf41b5
irc: use parsed command parameters in "notice" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5123483c33
tests: fix IRC protocol tests
2021-10-17 21:28:31 +02:00
Sébastien Helleu
33a3c485be
irc: shorten error in case of missing parameters in command received
2021-10-17 21:28:31 +02:00
Sébastien Helleu
7b4d48c46d
irc: fix number of required parameters in generic error command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
4ee82d1c70
irc: use parsed command parameters in "nick" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a1a4d627e1
irc: use parsed command parameters in "mode" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5a5c2cbd1a
irc: rename macro IRC_PROTOCOL_CHECK_HOST to IRC_PROTOCOL_CHECK_PREFIX
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2bd3681eef
irc: use parsed command parameters in "kill" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
604415e19e
irc: use parsed command parameters in "kick" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
e653ee04d2
irc: use parsed command parameters in "join" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3c737ca304
irc: use parsed command parameters in "invite" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
1f83df7a18
irc: use parsed command parameters in "fail", "warn" and "note" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
eda8ad9de5
irc: use parsed command parameters in "generic_error" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
df6f32a7bb
irc: use parsed command parameters in "error" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a2a733fc36
irc: use parsed command parameters in "chghost" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
56edeba7fc
irc: use parsed command parameters in "cap" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
15392e4a81
irc: use parsed command parameters in "away" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cb856a7f3a
irc: use parsed command parameters in "authenticate" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
69c457287d
irc: use parsed command parameters in "account" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5458382bb8
irc: fix typo in a comment
2021-10-17 21:28:31 +02:00
Sébastien Helleu
849105ebd6
irc: replace "message" by "command" in description of functions
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cbc4073815
irc: send parsed parameters to IRC command callbacks
2021-10-17 21:28:30 +02:00
Sébastien Helleu
c4b4d80936
irc: parse and return command parameters in message parser
2021-10-17 21:28:30 +02:00
Sébastien Helleu
f0898eae64
doc: update Serbian auto-generated file
2021-10-17 21:27:41 +02:00
Ivan Pešić
9378a7572b
core: Update Serbian translation
2021-10-17 21:26:20 +02:00
Sébastien Helleu
3cd97b5131
tests: add missing include of string.h
2021-10-14 21:08:28 +02:00
Sébastien Helleu
d8b8bf5a84
tests: check displayed message/error for all simulated IRC commands received
2021-10-14 21:00:47 +02:00
Sébastien Helleu
238c17bd0e
irc: display command in lower case when there is a parsing error
2021-10-14 20:39:23 +02:00
Sébastien Helleu
1206e9e5c3
tests: fix typo in comment
2021-10-14 20:38:16 +02:00
Sébastien Helleu
f3b4336bc4
irc: do not display message with "(null)" for 973/974/975 command received if pos_mode is NULL
2021-10-14 20:37:32 +02:00
Sébastien Helleu
55df7805c2
irc: display a single error message when parsing of a command failed
2021-10-13 18:45:36 +02:00
Sébastien Helleu
9102e4f552
irc: display a single error message when a command is not found
2021-10-13 18:45:14 +02:00
Sébastien Helleu
57ad90c3c0
irc: do not display message with "(null)" for numeric command received if pos_args is NULL
2021-10-13 18:42:47 +02:00
Sébastien Helleu
ed9104fbea
irc: fix parsing of CAP message when there is no prefix ( closes #1707 )
2021-10-09 11:27:51 +02:00
Sébastien Helleu
68a3aca643
plugins: use a different plugin priority for each scripting language
2021-10-02 20:50:35 +02:00
Sébastien Helleu
6fe354439c
doc: update German auto-generated file
2021-10-02 20:41:09 +02:00
Nils Görs
63b93a8147
core: update German translations
2021-10-02 19:49:38 +02:00
Sébastien Helleu
ad5fa7c99f
core: add command /toggle
2021-10-01 22:55:38 +02:00
Sébastien Helleu
9548a4cf74
core: check that option is not NULL in function config_file_option_value_to_string
2021-09-27 23:23:01 +02:00
Sébastien Helleu
301f0942c6
core: fix search of option when the section is not given
2021-09-27 22:35:14 +02:00
Sébastien Helleu
fb57ad147e
core: check that option_name is not NULL in config file functions
2021-09-27 22:02:22 +02:00
Nils Görs
3ee2f40fb3
core: update German translations
2021-09-26 20:25:20 +02:00
Sébastien Helleu
edd1971ae8
irc: fix parsing of TAGMSG message when there is a colon before the channel
...
This fixes the display of typing notifications on some IRC servers like
inspircd.
2021-09-21 20:41:18 +02:00
Sébastien Helleu
a6826af796
core: add creation of user variables in evaluated expressions with ${define:name,value}
2021-09-20 21:15:28 +02:00
Jan Palus
bd21b25bad
typing: correct typo in CMake option description
2021-09-19 14:58:07 +02:00
Sébastien Helleu
48a4a043b7
Version 3.4-dev
2021-09-19 12:23:06 +02:00
Sébastien Helleu
3b9217e460
Version 3.3
2021-09-19 10:14:18 +02:00
Sébastien Helleu
eaacd805ae
php: add missing header files in autotools build
2021-09-19 09:54:01 +02:00
Sébastien Helleu
e9d303c4fa
debian: update changelog
2021-09-18 10:33:04 +02:00
Sébastien Helleu
fb1bf569a9
debian: bump Standards-Version to 4.6.0.1
2021-09-18 10:32:39 +02:00
Sébastien Helleu
e00937875d
Version 3.3-rc1
2021-09-11 09:20:58 +02:00
a1346054
5dbf24d179
docs: trim excess whitespace
2021-09-11 00:17:36 +02:00
a1346054
9d7cac2396
build: fix shellcheck warnings
2021-09-11 00:17:36 +02:00
a1346054
04977fa9da
legal: use license file from gnu.org
...
Downloaded from:
https://www.gnu.org/licenses/gpl-3.0.txt
2021-09-11 00:17:36 +02:00
Sébastien Helleu
4aa2b86ee2
doc: update German auto-generated file
2021-09-10 23:07:23 +02:00
Sébastien Helleu
f3fc1f5f85
core: remove empty line displayed in output of /plugin list <name>
2021-09-10 23:06:05 +02:00
Nils Görs
a7d3f9d4e8
core: update German translations
2021-09-10 09:59:14 +02:00
Sébastien Helleu
91d32be93c
core: add options "-o", "-ol", "-i" and "-il" in command "/plugin list"
2021-09-09 21:32:58 +02:00
Sébastien Helleu
a76eedcd1f
core: replace deprecated cmake command "exec_program" by "execute_process"
...
This fixes a compilation issue on Debian Sid with the latest version of
debianutils (5.4-3), where the "which" command is now deprecated.
2021-09-08 20:46:44 +02:00
Sébastien Helleu
7742b48098
doc: update German auto-generated file
2021-09-07 21:40:01 +02:00
Nils Görs
4d0245711d
core: update German translations
2021-09-07 09:42:30 +02:00
Sébastien Helleu
7d1b557627
core: fix indentation in examples of /help eval
2021-09-06 22:39:29 +02:00
Sébastien Helleu
5b3929b321
api: add split of string and shell arguments in evaluation of expressions
...
Split of string: ${split:number,separators,flags,xxx}
Split of shell arguments: ${split_shell:number,xxx}
2021-09-06 13:32:04 +02:00
Sébastien Helleu
8852e9fd0c
core: add CVE id in ChangeLog
2021-09-05 20:54:14 +02:00
Sébastien Helleu
d5b68e6b75
core: update ChangeLog ( closes #1599 )
2021-09-05 09:31:43 +02:00
Ivan Pešić
2446e5814f
core: update Serbian translations
2021-09-04 22:01:41 +02:00
Sébastien Helleu
885b470d51
lua: add detection of Lua 5.4
2021-09-04 19:46:14 +02:00
Sébastien Helleu
97b809d164
core: add version 3.2.1
2021-09-04 16:28:04 +02:00
Sébastien Helleu
97bdd51112
relay: fix crash when decoding a malformed websocket frame
2021-09-04 15:55:37 +02:00
Nils Görs
75b9ba03a1
core: update German translations
2021-09-03 15:00:09 +02:00
Sébastien Helleu
5fb7ebdfce
irc: fix send of empty JOIN when connecting to a server with only parted channels ( closes #1638 )
2021-09-03 13:43:07 +02:00
Sébastien Helleu
6fc6166cfe
core: update translations
2021-08-31 22:39:17 +02:00
Sébastien Helleu
12be3b8c33
core: add options in command /input and new keys to remove/restore buffers in hotlist
...
New options in command /input:
- hotlist_remove_buffer
- hotlist_restore_buffer
- hotlist_restore_all
New keys:
- alt+h, alt+c: clear the whole hotlist (former key: alt+h)
- alt+h, alt+m: mark the current buffer as read by removing it from the hotlist
- alt+h, alt+r: restore latest hotlist removed in the current buffer
- alt+h, alt+shift+R: restore latest hotlist removed in all buffers
2021-08-31 22:32:38 +02:00
Sébastien Helleu
5b5626a82b
doc: fix typo in French plugin API reference
2021-08-30 13:54:28 +02:00
Sébastien Helleu
968d17b806
core: update ChangeLog ( closes #1689 )
2021-08-29 10:54:51 +02:00
Sébastien Helleu
2de272ee6c
api: add "${re:repl_index}" to get the index of replacement in function string_eval_expression
2021-08-29 10:40:52 +02:00
Sébastien Helleu
009a2889e3
core: ensure python stub is up-to-date in CI
2021-08-16 22:59:32 +02:00
Sébastien Helleu
86e3c672bb
doc: write python stub on standard output
2021-08-16 22:59:07 +02:00
Sébastien Helleu
254c1a3e8b
doc: update German auto-generated file
2021-08-13 21:08:40 +02:00
Nils Görs
fa3cd3dd08
core: update German translations
2021-08-13 09:14:50 +02:00
Sébastien Helleu
89b28e362c
irc: add option "-parted" in command /allchan ( closes #1685 )
2021-08-12 18:15:16 +02:00
Sébastien Helleu
cf27302dac
core: add terminal and color info in output of /debug color
2021-08-11 18:49:22 +02:00
Sébastien Helleu
da8b7a85bb
doc: update German auto-generated file
2021-08-10 20:37:50 +02:00
Nils Görs
964d3e54d1
core: update German translations
2021-08-10 14:55:21 +02:00
Sébastien Helleu
960b633517
core: switch to PHP 8.0 in CI
2021-08-08 18:56:16 +02:00
Sébastien Helleu
addd80e7b7
doc: update auto-generated files with hdata
2021-08-08 18:44:05 +02:00
Sébastien Helleu
8e676edd1a
irc: save CLIENTTAGDENY from message 005 in server, do not send typing messages if "typing" client tag is denied
2021-08-08 18:37:15 +02:00
Sébastien Helleu
415ea95eb4
core: update ChangeLog (issue #1668 )
2021-08-08 09:03:22 +02:00
Adam Saponara
ede09a843c
php: add ifdef for zend_file_handle.filename
2021-08-08 09:00:24 +02:00
Adam Saponara
5442612bc9
php: fix PHP 8+ build
2021-08-08 09:00:24 +02:00
Sébastien Helleu
2b12b4077a
php: add detection of PHP 8.0, fix compilation errors
2021-08-08 09:00:24 +02:00
Sébastien Helleu
61c3169068
core: add contributor (issue #1656 )
2021-08-07 11:20:08 +02:00
Sébastien Helleu
5b48eef4fe
core: update ChangeLog (issue #1656 )
2021-08-07 11:19:51 +02:00
Sébastien Helleu
9b75118b83
debian: add Spanish FAQ in Debian packaging
2021-08-07 11:15:28 +02:00
Sébastien Helleu
def564c5af
doc: add build of Spanish FAQ
2021-08-07 11:15:28 +02:00
Victorhck
57ea636fd6
doc: add Spanish version of the FAQ
2021-08-07 11:15:28 +02:00
Victorhck
84d8120060
doc: fix typo in FAQ
2021-08-07 10:56:56 +02:00
Sébastien Helleu
20866a0457
core: fix decoding of attributes in basic ANSI colors ( closes #1678 )
2021-08-06 20:33:31 +02:00
Sébastien Helleu
79d50837c9
irc: fix read out of bounds in case of malformed AUTHENTICATE message (issue #1679 )
2021-08-03 20:01:15 +02:00
Sébastien Helleu
791b910a77
irc: fix SASL authentication when AUTHENTICATE message is received with a server name ( closes #1679 )
2021-08-03 19:58:13 +02:00
Sébastien Helleu
d89c4f559c
api: add random integer number in evaluation of expressions with "random:min,max"
2021-08-03 19:46:41 +02:00
Nils Görs
0be4020b68
core: update German translations
2021-08-03 18:30:47 +02:00
Sébastien Helleu
72a9b87c1c
irc: display a different message for setname applied on self and other nicks ( closes #1676 )
2021-08-01 10:30:06 +02:00
Nils Görs
88d59de940
doc: update German documentation
2021-07-12 09:51:27 +02:00
Sébastien Helleu
6ff46776a4
doc: rename secured data name in IRC server example (user's guide)
2021-07-11 21:56:28 +02:00
Sébastien Helleu
77d96fec23
doc: fix columns width in user's guide
2021-07-10 20:08:36 +02:00
Sébastien Helleu
9404097756
doc: add chapters on IRC servers, channels, private messages (user's guide)
2021-07-10 18:35:57 +02:00
Sébastien Helleu
a16616637a
irc: remove unneeded message about Diffie-Hellman shared secret exchange during SSL connection to server ( closes #857 )
2021-07-10 16:02:19 +02:00
Sébastien Helleu
2b1582c816
core: add lint with bandit in CI
2021-07-09 23:56:24 +02:00
Sébastien Helleu
efea27bb24
relay: remove dead assignment
2021-07-08 23:02:50 +02:00
Sébastien Helleu
6052c1a5c0
doc: update German auto-generated file
2021-07-04 20:50:41 +02:00
Sébastien Helleu
3199877bc0
core: add bar item "typing" in status bar by default
2021-07-04 20:49:58 +02:00
Sébastien Helleu
b0d4b9aaba
typing: remove trailing space in translated message
2021-07-04 19:42:30 +02:00
Nils Görs
6a1425d5ba
core: update German translations
2021-07-04 19:18:35 +02:00
Sébastien Helleu
64b52da406
typing: add option typing.look.input_min_chars
2021-07-04 14:02:15 +02:00
Sébastien Helleu
5ae4af1549
core: update ChangeLog
2021-07-04 13:37:52 +02:00
Sébastien Helleu
f79929b382
core: update translations
2021-07-04 13:36:32 +02:00
Sébastien Helleu
a4507539fb
typing: add option typing.look.item_max_length
2021-07-04 13:27:33 +02:00
Sébastien Helleu
5b87e0c544
api: add function string_cut
2021-07-04 13:27:33 +02:00
Sébastien Helleu
1746e832ec
typing: remove hashtables when typing is turned off
2021-07-04 13:27:33 +02:00
Sébastien Helleu
ed24930547
typing: add note for translators
2021-07-04 13:27:33 +02:00
Sébastien Helleu
7c83ee02f2
tests: add tests on typing plugin functions
2021-07-04 13:27:33 +02:00
Sébastien Helleu
8dc75564c2
doc: add typing plugin files in developer's guide
2021-07-04 13:27:33 +02:00
Sébastien Helleu
5b7f55090b
build: add typing plugin in Cygwin packaging
2021-07-04 13:27:33 +02:00
Sébastien Helleu
de61048cd2
debian: add typing plugin in Debian packaging
2021-07-04 13:27:33 +02:00
Sébastien Helleu
252d1bbc9d
doc: add file typing.conf in man page
2021-07-04 13:27:33 +02:00
Sébastien Helleu
0355f3fc1a
doc: add chapter on typing extension in user's guide
2021-07-04 13:27:33 +02:00
Sébastien Helleu
09d871deb4
doc: add column for min WeeChat version in function buffer_set (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
503a3cb755
doc: add column for min WeeChat version in function hook_set (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
c127d1693a
doc: add column for min WeeChat version in function hook_modifier_exec (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
134f4374f8
doc: add column for min WeeChat version in function hook_modifier (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
ab916d3d90
doc: add column for min WeeChat version in function hook_hsignal (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
3d54365d67
doc: add column for min WeeChat version in function hook_process_hashtable (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
3c920f9a80
doc: add typing signals in plugin API reference
2021-07-04 13:27:33 +02:00
Sébastien Helleu
954f943e8e
irc, typing: display typing status for IRC nicks
2021-07-04 13:27:33 +02:00
Sébastien Helleu
bba300e191
typing: translate strings in typing plugin sources
2021-07-04 13:27:33 +02:00
Sébastien Helleu
7954dbc1f4
typing: replace linked list with a hashtable to store typing status on buffers
2021-07-04 13:27:33 +02:00
Sébastien Helleu
b108e97085
irc: send typing status as TAGMSG to other users
2021-07-04 13:27:33 +02:00
Sébastien Helleu
dccf605e66
typing: add typing plugin
2021-07-04 13:27:32 +02:00
Sébastien Helleu
b585ec09f8
core: fix number of bytes read in function dir_file_copy
2021-07-03 16:50:30 +02:00
Sébastien Helleu
5253478279
script: fix move of installed script on another filesystem ( closes #1667 )
2021-07-03 16:06:02 +02:00
Sébastien Helleu
8a11a18dc5
api: add function file_copy (issue #1667 )
2021-07-03 16:04:50 +02:00
Sébastien Helleu
9432b44a2b
irc: remove dead assignments in SASL functions
2021-07-02 21:58:50 +02:00
Sébastien Helleu
1ac800906b
doc: update Polish auto-generated files
2021-06-29 00:17:18 +02:00
Krzysztof Korościk
5d4adf8010
doc: updated polish translation
2021-06-28 21:43:37 +02:00
Krzysztof Korościk
689a2c1705
po: updated polish translation
2021-06-28 21:12:17 +02:00
Sébastien Helleu
9bd737ae1a
doc: update German auto-generated file
2021-06-28 20:35:06 +02:00
Nils Görs
f1761b66c6
core: update German translations
2021-06-28 08:58:28 +02:00
Sébastien Helleu
2205bb6b45
core: add capability message-tags in release notes
2021-06-27 10:41:24 +02:00
Sébastien Helleu
e84a3676f6
core: add note about buffers that are not opened in /help layout
2021-06-27 10:35:04 +02:00
Sébastien Helleu
253598d83c
doc: mention WeeChat version for WEECHAT_RC_OK_EAT in signals "irc_raw_in" and "irc_in" (plugin API reference) (issue #1657 )
2021-06-27 09:56:45 +02:00
Sébastien Helleu
ff6bc95429
doc: remove tag "translation missing" in French user's guide (issue #1642 )
2021-06-27 09:53:47 +02:00
Sébastien Helleu
61a6b0c705
core: add contributor (issue #1657 )
2021-06-27 09:49:36 +02:00
Simon Ser
ff8beb1918
irc: allow signals "irc_raw_in" and "irc_in" to eat messages (issue #1657 )
...
This is useful to implement IRC protocol extensions which introduce
new commands.
2021-06-27 09:48:16 +02:00
Ivan Pešić
59853d9b30
doc: update Serbian translations
2021-06-27 09:26:50 +02:00
Sébastien Helleu
a48a615613
api: remember insertion order in hashtables
2021-06-26 21:37:02 +02:00
Sébastien Helleu
5a59482cc8
doc: update German auto-generated file
2021-06-25 13:35:16 +02:00
Nils Görs
2478a4187a
core: update German translations
2021-06-25 13:27:20 +02:00
Sébastien Helleu
0fb88527ce
irc: implement IRCv3.2 SASL authentication, add command /auth ( closes #413 )
2021-06-25 11:15:22 +02:00
Sébastien Helleu
7a0020f067
irc: fix comment on TAGMSG callback function (issue #1654 )
2021-06-25 10:41:27 +02:00
Sébastien Helleu
f662ca9398
doc: update German auto-generated files
2021-06-25 10:37:32 +02:00
Nils Görs
8f19798834
core: update German translations
2021-06-25 09:30:14 +02:00
Sébastien Helleu
22a7e18842
irc: add support of capability "message-tags" ( closes #1654 )
2021-06-24 21:04:52 +02:00
Sébastien Helleu
51123b755d
core: add missing source files for gettext
2021-06-24 21:02:13 +02:00
Sébastien Helleu
b1cf12700d
irc: add keys/values with tags in output of irc_message_parse_to_hashtable (issue #1654 )
...
Key is "tag_xxx" (where "xxx" is the name of tag) and value is the unescaped
tag value.
2021-06-24 21:02:03 +02:00
Sébastien Helleu
8ea1ee06e5
irc: add support of TAGMSG messages (issue #1654 )
2021-06-24 21:01:22 +02:00
Sébastien Helleu
23c46c3f2b
irc: escape/unescape IRC message tags values (issue #1654 )
...
Spec: https://ircv3.net/specs/extensions/message-tags#escaping-values
2021-06-24 20:59:21 +02:00
Sébastien Helleu
b3b4ef648b
core: fix use of uninitialized hash when call to weecrypto_hmac fails
2021-06-23 20:46:53 +02:00
Sébastien Helleu
60b9e36ae2
core: fix function string_match with joker in the string if multiple words matched in input string
...
Before fix:
string_match("script.color.text_description", "*script*color*", 0) => 0
After fix:
string_match("script.color.text_description", "*script*color*", 0) => 1
2021-06-22 21:54:16 +02:00
Sébastien Helleu
3d3cdf3884
tests: fix modifier name in comment
2021-06-21 19:58:53 +02:00
Sébastien Helleu
e04cc87f60
irc: set notify level to "private" for received WALLOPS
2021-06-21 19:57:54 +02:00
Sébastien Helleu
f2d1acb899
core: fix chapter name in release notes
2021-06-20 08:53:45 +02:00
Sébastien Helleu
1fb2fcbbd4
doc: update German auto-generated file
2021-06-19 18:46:45 +02:00
Nils Görs
296f795ff3
core: update German translations
2021-06-19 18:43:06 +02:00
Sébastien Helleu
ef318cb70c
irc: enable all capabilities by default (supported by both server and WeeChat) ( closes #320 )
...
Capabilities can be excluded with the format: "*,!account-*,!extended-join".
2021-06-19 18:22:49 +02:00
Sébastien Helleu
947f73bd50
irc: add option irc.look.display_account_message (issue #320 )
2021-06-19 18:14:38 +02:00
Sébastien Helleu
5a89825669
irc: add option irc.look.display_extended_join (issue #320 )
2021-06-19 18:12:22 +02:00
Sébastien Helleu
eb2a42c99e
doc: update German auto-generated file
2021-06-19 18:10:15 +02:00
Nils Görs
60d4489b5e
core: update German translations
2021-06-18 08:36:21 +02:00
Sébastien Helleu
2225ac4e56
core: add option "certs" in command /debug
2021-06-17 21:51:18 +02:00
Sébastien Helleu
fa785e8668
doc: update German auto-generated files
2021-06-17 21:48:39 +02:00
Sébastien Helleu
0ceccb9798
tests: fix tests on signal_search_number
2021-06-16 12:34:30 +02:00
Sébastien Helleu
0b7e4977be
core: fix build on macOS ( closes #1662 )
2021-06-16 12:34:14 +02:00
Sébastien Helleu
bfa0b4376c
core: add build on macOS in CI
2021-06-16 12:32:06 +02:00
Nils Görs
70c1a002e3
doc: update German documentation
2021-06-16 10:50:21 +02:00
Nils Görs
e4b6db5de2
core: update German translations
2021-06-16 10:42:27 +02:00
Sébastien Helleu
e8cdda318f
irc: drop support of DH-BLOWFISH and DH-AES SASL mechanisms ( closes #175 )
2021-06-15 21:49:45 +02:00
Sébastien Helleu
51740eb21e
doc: keep previous msgids of translated messages in .po files
2021-06-15 20:34:25 +02:00
Sébastien Helleu
936e2fddaf
core: update ChangeLog
2021-06-15 18:56:46 +02:00
Sébastien Helleu
70b66c4f6b
irc: add command /setname, add support of message and capability "setname" ( closes #1653 )
2021-06-15 18:56:41 +02:00
Sébastien Helleu
0525922ee4
irc: always set realname in nicks even when extended-join capability is not enabled (issue #1653 )
2021-06-15 18:50:22 +02:00
Sébastien Helleu
b8baee1c06
irc: add support of FAIL/WARN/NOTE messages (issue #1653 )
...
Spec: https://ircv3.net/specs/extensions/standard-replies
2021-06-15 18:49:49 +02:00
Sébastien Helleu
88edc19149
doc: update user's guide translations (issue #1642 )
2021-06-14 21:39:27 +02:00
Giuseppe Bilotta
f6a4841dab
doc: ref the layout, buffer and window sections and commands
...
Add some references between the Screen layout and Buffers and windows
sections, linking also to the appropriate commands.
This should make it easier to discover the `/layout` command and its
relevance to the windows and buffer management.
(Small contribution to GitHub issue #1641 )
2021-06-14 21:38:45 +02:00
Sébastien Helleu
19e41eb28a
core: add contributor (issue #1655 )
2021-06-13 16:30:24 +02:00
eevan78
31b22fec09
doc: add Serbian translations
2021-06-13 16:28:33 +02:00
Krzysztof Korościk
1624b0ba97
doc: updated polish translation
2021-06-13 14:59:07 +02:00
Krzysztof Korościk
9fe937a7fd
po: updated polish translation
2021-06-13 14:41:02 +02:00
Sébastien Helleu
f6d1991833
Version 3.3-dev
2021-06-13 09:51:42 +02:00