Sébastien Helleu
e050eebb2e
api: return input string in function string_iconv_from_internal when current locale is wrong
...
This fixes a bug when writing configuration files with a wrong locale: now
UTF-8 is kept and written in files instead of string converted using a wrong
charset.
2025-03-02 13:46:21 +01:00
Sébastien Helleu
e8a7869722
Version 4.5.3-dev
2025-02-20 23:40:51 +01:00
Sébastien Helleu
3e8f957210
Version 4.5.2
2025-02-20 23:37:24 +01:00
Sébastien Helleu
1110b8b9d5
debian: update changelog
2025-02-20 23:05:45 +01:00
Sébastien Helleu
524528fc34
core: update ChangeLog
2025-02-20 22:55:00 +01:00
LuK1337
34c79971fc
core: use <stdbool.h> instead of typedef in ncurses-fake.h
...
Fixes the following error when building in Fedora rawhide:
error: ‘bool’ cannot be defined via ‘typedef’.
Likely GCC 15 related.
2025-01-26 08:55:36 +01:00
Sébastien Helleu
c1ca6c4002
core: add parameter name in signal handler functions
2025-01-26 08:55:34 +01:00
LuK1337
c7af60daaa
core: add int arg for all sigaction.sa_handler functions
...
src/gui/curses/gui-curses-main.c: In function ‘gui_main_loop’:
src/gui/curses/gui-curses-main.c:399:33: error: passing argument 2 of ‘signal_catch’ from incompatible pointer type [-Wincompatible-pointer-types]
399 | signal_catch (SIGWINCH, &gui_main_signal_sigwinch);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void (*)(void)
In file included from src/gui/curses/gui-curses-main.c:38:
src/gui/curses/../../core/core-signal.h:33:46: note: expected ‘void (*)(int)’ but argument is of type ‘void (*)(void)’
33 | extern void signal_catch (int signum, void (*handler)(int));
| ~~~~~~~^~~~~~~~~~~~~
2025-01-26 08:55:32 +01:00
Sébastien Helleu
99a3865665
relay/api: bump version in OpenAPI document
2025-01-05 13:44:17 +01:00
Sébastien Helleu
b93a24d949
relay/api: fix name of body field "buffer_name" in doc of POST /api/input
2025-01-05 10:36:59 +01:00
Sébastien Helleu
1ee6b6e635
Version 4.5.2-dev
2024-12-23 08:52:56 +01:00
Sébastien Helleu
b62c87d9eb
Version 4.5.1
2024-12-23 08:47:56 +01:00
Sébastien Helleu
18be2b3151
core: fix typo in ChangeLog
2024-12-23 08:37:06 +01:00
Sébastien Helleu
8a9a652d03
relay: fix description of relay clients after /upgrade
2024-12-22 19:34:31 +01:00
Sébastien Helleu
f8c48b8000
relay: fix crash after /upgrade when relay clients are connected
2024-12-22 19:34:29 +01:00
Sébastien Helleu
42c65cebcb
api: allow to add empty buffer with function infolist_new_var_buffer
...
This fixes the following error with `/upgrade` command when relay clients are
connected:
relay: failed to save upgrade data
2024-12-22 19:34:20 +01:00
Sébastien Helleu
c9c57eeee2
Revert "ci: fix macOS CI"
...
Remove workaround for https://github.com/actions/runner-images/issues/10984
This reverts commit 2555c378a2 .
2024-12-22 10:56:07 +01:00
Sébastien Helleu
8c63243941
core: fix detection of dl library (issue #2218 )
...
This fixes the linking to curl and ncurses on macOS.
2024-12-21 18:11:57 +01:00
Sébastien Helleu
732bfe4a48
core: add option POST_BUILD in add_custom_command
...
This fixes the following CMake warning:
CMake Warning (dev) at src/gui/curses/normal/CMakeLists.txt:73 (add_custom_command):
Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming
POST_BUILD to preserve backward compatibility.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
2024-12-21 18:11:08 +01:00
Sébastien Helleu
46f322c10f
logger: fix path displayed when the logs directory can not be created
2024-12-21 17:16:15 +01:00
Sébastien Helleu
52cb5bbbe0
core: update ChangeLog
2024-12-20 07:39:18 +01:00
zeromind
b634270f2a
perl: set locale only on supported Perl versions
...
restrict setting the locale only if the Perl version supports it (>=5.27.9)
fixes #2219
2024-12-20 07:38:33 +01:00
Sébastien Helleu
f4dbdb93d7
Version 4.5.1-dev
2024-12-20 07:38:14 +01:00
Sébastien Helleu
e8b73aa711
Version 4.5.0
2024-12-15 09:02:38 +01:00
Sergey Fedorov
33232f3f05
core-crypto.c: fix htobe64 for Darwin ( closes #2216 )
2024-12-13 13:04:37 +01:00
Sébastien Helleu
5e5278b6a3
php: add detection of PHP 8.3 and 8.4
2024-12-04 17:52:26 +01:00
Sébastien Helleu
eee806370b
core: add version 4.4.4
2024-11-30 10:46:03 +01:00
Sébastien Helleu
f8b2e1d525
debian: update changelog
2024-11-30 10:44:28 +01:00
Nils Görs
82a2f764bc
core: update German translations
2024-11-26 10:44:44 +01:00
Sébastien Helleu
680e7dc95f
core: update ChangeLog (issue #2214 , issue #2215 )
2024-11-25 23:02:59 +01:00
Trygve Aaberge
a0b7220d23
script: don't try to display the old line if it's NULL
...
This fixes a crash which would happen if you scrolled the script buffer
and then did a search which got fewer search results than the index of
the selected line before the search. E.g. press page down to go to the
second page and then search for `test`.
2024-11-25 23:00:44 +01:00
Sébastien Helleu
48a92276e5
core: fix includes of wchar.h
2024-11-25 22:32:18 +01:00
Sébastien Helleu
e483113345
perl: add midding #define of __USE_XOPEN to call wcwidth defined in wchar.h
2024-11-25 22:32:18 +01:00
Sébastien Helleu
ea11623793
core: update ChangeLog (issue #2213 )
2024-11-25 21:29:27 +01:00
Trygve Aaberge
107650d7d7
perl: only set Perl locale if the locale is broken
...
It turns out that Debian has reverted the commit in Perl that broke the
locale in their 5.38 branch, so it did not have the issue. However, the
workaround we added to fix the locale apparently makes the version
Debian/Ubuntu has crash on perl_destruct. I'm not sure why it makes it
crash, but since it doesn't crash on newer Perl versions, I'm assuming
that it's another bug with the locale handling in that Perl version.
To avoid the crash, make sure to only set the locale if we detect that
it has been broken by Perl. We do this by checking if the value returned
by wcwidth (160) (the first non-ascii printable character) has changed.
If this value is not the same after the call to perl_construct, the
locale has been broken.
I moved the call to Perl_setlocale to right after perl_construct, as the
call to perl_construct is what breaks the locale.
2024-11-25 21:22:21 +01:00
Sébastien Helleu
2555c378a2
ci: fix macOS CI
...
This is a workaround for https://github.com/actions/runner-images/issues/10984
2024-11-24 18:35:34 +01:00
Sébastien Helleu
6e7df56592
core: update ChangeLog (issue #2209 )
2024-11-24 16:23:38 +01:00
Trygve Aaberge
9250d769fd
Fix crash when unloading Perl scripts with Perl 5.38
...
Apparently the issue with the locale being reset with Perl 5.38 can
cause a crash when unloading the scripts on some systems (at least
Ubuntu 24.04). There was a workaround added in commit f4b9cad72 , but it
doesn't work to avoid the crash. However if we set LC_ALL instead of
LC_CTYPE the crash doesn't occur.
Fixes #2187
2024-11-24 16:21:32 +01:00
Sébastien Helleu
5bdbcae892
core: update ChangeLog (issue #2206 )
2024-11-24 16:16:53 +01:00
Trygve Aaberge
11faf85402
tests: add test for combining request headers
2024-11-24 16:15:35 +01:00
Trygve Aaberge
ca07c03bf3
relay/api: combine request headers with the same name
...
If a request repeats the same header name multiple times, merge the
header values into a comma separated string. Previously, only the last
header specified would be used.
For header fields that are defined as a comma-separated list, a client
may choose to send it as multiple headers instead of one header with
comma-separated values. The specification says that these are
equivalent, so we can therefore join the headers into a comma-separated
string.
This is specified at https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.2
which says:
A sender MUST NOT generate multiple header fields with the same field
name in a message unless either the entire field value for that
header field is defined as a comma-separated list [i.e., #(values)]
or the header field is a well-known exception (as noted below).
A recipient MAY combine multiple header fields with the same field
name into one "field-name: field-value" pair, without changing the
semantics of the message, by appending each subsequent field value to
the combined field value in order, separated by a comma. The order
in which header fields with the same field name are received is
therefore significant to the interpretation of the combined field
value; a proxy MUST NOT change the order of these field values when
forwarding a message.
2024-11-24 16:15:35 +01:00
Sébastien Helleu
18364586d9
core: update ChangeLog (issue #2205 )
2024-11-24 16:08:58 +01:00
Sébastien Helleu
669f1894e6
doc/relay/api: add French documentation for auth via Sec-WebSocket-Protocol
2024-11-24 16:05:50 +01:00
Trygve Aaberge
45a1b9b20e
doc/relay/api: add documentation for auth via Sec-WebSocket-Protocol
2024-11-24 16:05:40 +01:00
Trygve Aaberge
a414fb9da5
tests: add tests for auth via Sec-WebSocket-Protocol
2024-11-24 16:00:25 +01:00
Trygve Aaberge
bd7c503e7b
relay/api: support passing auth in sub protocol header
...
The API for connecting to WebSockets in browsers unfortunately doesn't
support setting any Authorization header. This means that before this
commit it was impossible to connect to the API relay from a web browser.
The only thing that can be set apart from the URL is the
Sec-WebSocket-Protocol header. Therefore this allows you to send the
auth token in this header.
This is a weird way to send auth, but it seems to be the best one that
makes it possible for browsers to connect. Kubernetes also does it this
way: https://github.com/kubernetes/kubernetes/pull/47740
Here is a post describing the different ways to make it possible for a
browser to authenticate against a websocket connection, and it also
recommends doing it this way:
https://stackoverflow.com/questions/4361173/http-headers-in-websockets-client-api/77060459#77060459
Note that when this header is used to pass auth, the client also needs
to specify the `api.weechat` sub protocol. This is because the client
and server have to agree on a sub protocol when this header is
specified, and in order to not send the fake protocol used for auth back
to the client, we require specifying the protocol `api.weechat`, which
the server then returns to the client. This is only necessary when the
Sec-WebSocket-Protocol header is used. If the Authorization header is
used for auth as before, nothing changes.
2024-11-24 16:00:25 +01:00
Sébastien Helleu
eaace4acdb
core: update ChangeLog
2024-11-24 11:23:36 +01:00
Sébastien Helleu
328aa8f202
core, plugins: abort upgrade immediately if any upgrade file fails to be written
...
Detail of changes:
- the save of upgrade files in plugins is now done as soon as the "upgrade"
signal is received, and not when the plugin is unloaded (it was too late to
detect any problem and prevent the upgrade to happen)
- if the write of an upgrade file fails, the signal callback in plugin now
returns WEECHAT_RC_ERROR and WeeChat checks this code to stop the upgrade as
soon as this return code is received
- a new flag is added in plugin structure: unload_with_upgrade, it is set to 1
before unloading all plugins when upgrade will happen (all *.upgrade files
are then already successfully written).
2024-11-24 10:29:32 +01:00
Sébastien Helleu
244595d94f
api: add support of flags in functions hook_signal_send and hook_hsignal_send
...
For now the only supported flag is:
- "stop_on_error": stop execution of callbacks immediately after an
error (ie return code of callback is WEECHAT_RC_ERROR) and return this code
(by default execute all callbacks and return the last return code, or return
WEECHAT_RC_EAT immediately if a callback returns this)
Example:
hook_signal_send("[flags:stop_on_error]my_signal", WEECHAT_HOOK_SIGNAL_STRING, "test");
2024-11-24 10:29:32 +01:00
Sébastien Helleu
61d7a4c678
core: add message with /debug hooks command when /upgrade is not possible due to running hooks
2024-11-24 09:59:34 +01:00
Nils Görs
3e579c94f6
core: update German translations
2024-11-21 09:26:45 +01:00
Sébastien Helleu
7184d34371
irc: add infos "irc_ptr_server", "irc_ptr_channel" and "irc_ptr_nick"
2024-11-20 21:53:29 +01:00
Sébastien Helleu
9a8010eead
core: fix translation of keys in options
...
This fixes French description of key options in docs.
2024-11-20 18:23:49 +01:00
Sébastien Helleu
3fd298bfbe
doc/user: update command to enable download of scripts
2024-11-16 22:41:56 +01:00
Sébastien Helleu
7c1586e8ff
doc/user: translate example of script buffer
2024-11-16 22:41:56 +01:00
Sébastien Helleu
1c30fe9b0a
doc/user: translate example of fset buffer
2024-11-16 22:41:56 +01:00
Sébastien Helleu
9c016af6fb
doc/user: fix options displayed in /fset libera
2024-11-16 22:41:56 +01:00
Sébastien Helleu
08d5839fa1
doc/user: remove default port and option -tls from example of command /server add
2024-11-16 22:41:56 +01:00
Ivan Pešić
b11e2b82f4
doc: update Serbian documentation
2024-11-16 09:29:24 +01:00
Ivan Pešić
85b9d72e37
core: update Serbian messages translation
2024-11-16 09:29:24 +01:00
Nils Görs
4511996b84
core: update German translations
2024-11-14 10:07:16 +01:00
Sébastien Helleu
93646c0b24
core: add optional hook types in command /debug hooks
2024-11-13 07:35:02 +01:00
Sébastien Helleu
5ddd786332
core: add completion "hook_types"
2024-11-12 22:15:16 +01:00
LuK1337
9731f5a8e6
tests: migrate away from removed ast features
...
See https://github.com/python/cpython/pull/119563 .
2024-11-04 18:48:44 +01:00
Sébastien Helleu
6e19e9d8b2
core: remove use of arraylist in function gui_buffer_merge
2024-11-04 18:39:54 +01:00
Sébastien Helleu
9f6caa4e03
core: send signal "buffer_moved" only when the buffer number changes (issue #2097 )
2024-11-04 18:00:59 +01:00
Sébastien Helleu
74cc16ef07
core: fix too many sorts of hotlist when buffers are moved (issue #2097 )
...
A performance issue was happening when buffers are moved to another position
and when the hotlist contains a lot of buffers: each time a signal
"buffer_moved" is sent, the hotlist is sorted again.
This fix delays the resort of hotlist after all the moves are done using a
timer with a very small delay (one millisecond).
2024-11-03 23:42:57 +01:00
Sébastien Helleu
1fc8c551d8
core: add property hotlist_conditions in completion for /buffer set
2024-11-03 22:47:37 +01:00
Sébastien Helleu
764fb7c4ad
doc: remove trailing spaces in Serbian docs
2024-11-03 21:08:52 +01:00
Sébastien Helleu
c1b34b0ff5
irc: remove trailing space in /help list
2024-11-03 09:46:10 +01:00
Sébastien Helleu
328fc3845e
relay, xfer: update hotlist only if items are actually removed when purging list on relay/xfer buffer
2024-10-31 22:09:38 +01:00
Sébastien Helleu
524c813485
relay, xfer: check hotlist add conditions when adding the relay/xfer buffer in hotlist
2024-10-31 22:09:07 +01:00
Sébastien Helleu
2dea224a38
api: add property hotlist_conditions in function buffer_set
2024-10-31 22:08:13 +01:00
Sébastien Helleu
84f65e1339
relay, xfer: fix letters with actions displayed on top of buffer
...
Since WeeChat 4.0.0, the actions are now case sensitive and must be typed as
lower case.
This fixes the help line displayed on top of relay and xfer buffers: letters
for actions are now displayed with lower case instead of upper case.
2024-10-31 18:17:59 +01:00
Sébastien Helleu
24fbeaf36e
core: add version 4.4.3
2024-10-30 12:48:47 +01:00
Sébastien Helleu
d1013b31bd
build: fix check of WeeChat git repository
...
The `.git` directory can also be a regular file in a git worktree.
2024-10-30 08:08:34 +01:00
Sébastien Helleu
945782195f
doc: replace some "warning" by "caution"
2024-10-30 00:30:19 +01:00
Sébastien Helleu
06771e66fb
debian: update changelog
2024-10-30 00:12:05 +01:00
Sébastien Helleu
d83167b586
doc: replace font-awesome icons by translated captions
...
This removes use of a remote CDN (Cloudflare), as font-awesome is no longer
used.
2024-10-30 00:06:22 +01:00
Sébastien Helleu
cd4d958e82
debian: bump Standards-Version to 4.7.0
2024-10-29 22:55:25 +01:00
Sébastien Helleu
254ecbf4c6
debian: add file CHANGELOG.md in weechat-core.docs
2024-10-29 22:51:47 +01:00
Sébastien Helleu
ad6ec011bd
relay/api: reply HTTP 400 (Bad Request) when the body received is not a dict in websocket data
2024-10-29 22:38:28 +01:00
Sébastien Helleu
26e16fdea7
tests: add extra tests on function string_split
...
New tests:
- split empty string
- standard split with only separators in string
- standard split with only separators in string and strip separators
2024-10-21 08:23:55 +02:00
Sébastien Helleu
50a9c88b79
core: check that version is not NULL or empty string in function util_version_number
2024-10-21 08:23:55 +02:00
Sébastien Helleu
97e81e197d
core: add contributor (issue #2202 )
2024-10-20 08:39:11 +02:00
Sébastien Helleu
488b3f8e7b
core: reload all plugins with command /plugin reload *
2024-10-20 08:38:19 +02:00
James C. Morey
3160d2accd
core: simplify plugin callback by refactoring if statements
2024-10-20 08:35:24 +02:00
Sébastien Helleu
fea5b868ee
ci: switch from macOS 12 to 14
2024-10-19 11:35:37 +02:00
Sébastien Helleu
6dccc3181a
build: remove our own Ruby detection and rely on CMake detection, require CMake 3.18 (issue #1156 )
...
This fixes the detection of Ruby on macOS 14.
2024-10-19 11:35:30 +02:00
Sébastien Helleu
16dac7193b
ci: switch from Ubuntu 22.04 to 24.04
2024-10-16 21:41:14 +02:00
Sébastien Helleu
4503dbb013
doc: rename git branch master to main in URLs
2024-10-15 16:54:16 +02:00
Sébastien Helleu
fb57abbadf
tests: fix URL to Python unparser
2024-10-15 07:55:59 +02:00
Sébastien Helleu
bc675bd270
exec: fix execution of command with /exec -pipe (issue #2199 )
2024-10-14 13:31:50 +02:00
Sébastien Helleu
0f8fede68a
core: add include directories for gettext libintl
...
This fixes the macOS build in CI, failing on missing header `libintl.h`.
2024-10-13 17:06:34 +02:00
Sébastien Helleu
958863b4a8
core: update translations
2024-10-13 16:57:32 +02:00
Sébastien Helleu
d9e1b545b4
core: add minimal GnuTLS version in ChangeLog (issue #2193 )
2024-10-13 14:07:02 +02:00
Sébastien Helleu
1bf4e466f9
core: add minimal Curl version in ChangeLog (issue #2195 )
2024-10-13 14:04:53 +02:00
Emil Velikov
de4231c842
Bump required gnutls to v3.3.0
...
Bump the requirement to v3.3.0 as available in Ubuntu 16.04 (3.4.10) and
Debian 10 (3.6.7). It was released around 10 years ago and any remotely
supported distribution has newer version.
As result, we can remove hundred+ lines of #ifdef spaghetti code.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:55:16 +02:00
Emil Velikov
19cb459685
cmake: use pkg_check_modules() for GnuTLS
...
Remove the local cmake file and associated hacks used to manage GnuTLS.
This gives us less build-system glue code and makes it easier to enforce
a minimum version for GnuTLS.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:55:12 +02:00
Emil Velikov
51dfb1fb78
Bump required (lib)curl to v7.47.0
...
Bump the requirement to v7.47.0 as available in Ubuntu 16.04 (7.47.0)
and Debian 10 (7.64.0). It was released around 9 years ago and any
remotely supported distribution has newer version.
As result we can adjust the tools/check_curl_symbols.py script to omit
the ~70% of the guards and simplify the code base.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:33:47 +02:00
Emil Velikov
fec71ae30c
cmake: use pkg_check_modules() for cURL
...
The cURL project has provided a pkg-config file for well over a decade
now. Just use that instead of the cmake one, since the latter also
checks for misc curl components, unusual library names (libcurl_imp)
which is not something we need.
In addition, this will make enforcing minimum version much easier.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:33:47 +02:00
Emil Velikov
99b4f9a98d
tools/check_curl_symbols.py: add max version (only) handling
...
With a later commit, some options will have only a max version so ensure
we handle those cases.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:33:47 +02:00
Emil Velikov
17fc815da9
core: add curl 8.2 MAIL_RCPT_ALLOWFAILS
...
With the 8.2 version upstream has fixed the typo in the option name.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:33:47 +02:00
Emil Velikov
ba746dcb1b
tools/check_curl_symbols.py: fix CURLOPT handling
...
The curl option handling seems to be non-functional since it suffers
from two distinct issues. The regular expression tries to match options
that we're not interested in and the symbol name is lacking the proper
prefix.
Adjust to match only on what we need and construct the name
appropriately... Fix the issues flagged by the updated script.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-13 13:33:47 +02:00
Sébastien Helleu
90c23ef418
exec: fix unexpected execution of command with /exec -o when the command starts with two command chars ( closes #2199 )
2024-10-13 11:15:19 +02:00
Sébastien Helleu
bca7c7438a
api: add special value - (hyphen-minus) in options of function command_options to prevent execution of commands (issue #2199 )
2024-10-13 11:15:10 +02:00
Sébastien Helleu
709b2b5796
core: remove code to add command char in input data
...
We can just reuse `ptr_data` which is the original data instead of
`ptr_data_for_buffer`, where the extra command char is missing.
2024-10-13 09:22:20 +02:00
Sébastien Helleu
ec78084f49
tests: add tests on function input_data
2024-10-12 21:04:13 +02:00
Sébastien Helleu
5eb64b2dfa
tests: add macros RECORD_CHECK_NO_MSG and RECORD_CHECK_MSG
2024-10-12 21:03:13 +02:00
Sébastien Helleu
977b3581fa
tests: add function record_count_messages
2024-10-12 21:02:21 +02:00
Sébastien Helleu
00578a70e1
api: return the buffer input callback return code in functions command and command_options
2024-10-12 18:30:08 +02:00
Sébastien Helleu
ffd7cc90fb
doc/api: fix Python example of function command_options
2024-10-08 07:12:55 +02:00
Sébastien Helleu
8223da0fe6
core: always send the signal "buffer_switch", even when the buffer is opening ( closes #2198 )
2024-10-06 20:57:54 +02:00
Sébastien Helleu
453e60ed23
core: refactor code to send WeeChat version to the buffer
2024-10-06 17:40:34 +02:00
Sébastien Helleu
e29332ead6
build: add more retries in case of build failure
2024-10-06 11:35:12 +02:00
Sébastien Helleu
139787b26f
build: add a retry build mechanism on make in Debian packaging
...
When the environment variable `RETRY_BUILD` is set to `1`, the file
`debian/rules` is patched to run `dh_auto_build` multiple times, until the
build succeeds.
This is a workaround for an issue with the build in an arm64 chroot, where the
compiler randomly segfaults.
2024-10-06 10:21:44 +02:00
Emil Velikov
0bcae707fc
core: remove ifdef checks for core components
...
The gcrypt, gnutls, libcurl and zlib are core libraries/components that
we always build against. Remove the #ifdef checks - the symbols must be
available at build.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-10-05 17:04:15 +02:00
Sébastien Helleu
e0ac58a26a
core: remove extra parentheses in ChangeLog
2024-10-05 14:07:14 +02:00
Sébastien Helleu
423f609828
irc: fix crash on /list buffer when a filter is set ( closes #2197 )
2024-10-05 07:48:22 +02:00
Sébastien Helleu
94312b6622
doc/user: add missing bar items in chapter "Screen layout"
2024-10-01 07:32:43 +02:00
Emil Velikov
66f9b1762a
cmake: remove unused HAVE_GCRYPT
...
Seemingly unused for ~12 years, since commit a99d13601 ("core: add new
plugin "script" (scripts manager, replacing scripts weeget.py and
script.pl)")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-09-29 19:10:52 +02:00
Sébastien Helleu
c627743b29
spelling: case-sensitive
2024-09-29 12:31:19 +02:00
Sébastien Helleu
f482b611a1
spelling: anymore
2024-09-29 12:00:25 +02:00
Sébastien Helleu
b450ccdb6c
core: add contributor (issue #2183 )
2024-09-29 11:28:33 +02:00
Emil Velikov
d42d837924
build: remove CMake variable "STATIC_LIBS"
...
With the circular dependency resolved, we no longer need this variable.
Add the respective objects directly, in the same order as seen in the
tests.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-09-29 10:01:10 +02:00
Emil Velikov
fc7b00562c
build: require CMake 3.12, resolve circular dependency
...
In order to resolve the circular dependency, we need to annotate the
respective static libraries as "object" libraries.
This requires cmake 3.12, where Debian 10 (old old stable) and Ubuntu
20.04 have 3.13 and 3.16 respectively.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-09-29 10:00:50 +02:00
Emil Velikov
0e9f841974
core: add configuration file .editorconfig
...
To ease the initial hurdle of using the proper formatting across files,
introduce a simple .editorconfig file.
Nearly every common editor supports it OOTB these days, including the
GitHub and GitLab web editors.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2024-09-28 21:56:17 +02:00
Sébastien Helleu
58e6e41948
core: add contributor (issue #2186 )
2024-09-28 21:49:27 +02:00
Sébastien Helleu
8f2bcb1a09
core: update translations (issue #2186 )
2024-09-28 21:38:19 +02:00
Josh Soref
2202cd9f85
spelling: zstd
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
7fb77aabfa
spelling: wildcard
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
8fee9c1778
spelling: unnecessary
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
17eedc35e2
spelling: unavailable
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
57b19b6c74
spelling: traffic
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
7415eaa1f1
spelling: starting
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
42c8f86533
spelling: should / may
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
dcd62f7ee6
spelling: shift
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
7f93f81a82
spelling: separator
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
358b8ad2a6
spelling: sensitive
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
e1d7459660
spelling: runtime
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
e3b8a6d21a
spelling: remain at its current location
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
9a7c45e7f6
spelling: position
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
87f2bb0a23
spelling: passphrase
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
90ed422afd
spelling: override
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
aee09ad0a0
spelling: neither-nor
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
9f67ae369c
spelling: negotiation
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
c0fbb5aaf5
spelling: msg
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:55 +02:00
Josh Soref
67d4c96de3
spelling: may
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:55 +02:00
Josh Soref
9e5bfd70a8
spelling: macOS
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:55 +02:00
Josh Soref
a0cac1a5dd
spelling: libgcrypt
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:55 +02:00
Josh Soref
c30949b411
spelling: javascript
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
e6cd8c9519
spelling: invocation
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
89e162fced
spelling: instantiated
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
4c68c4cd48
spelling: hashtable
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
1aa5b46ba5
spelling: greater than
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
80def4a36b
spelling: filename
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
d97467ff67
spelling: escape
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
05464f866b
spelling: duplicated
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
4e0ffd18c2
spelling: down-rank
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
6fdf39165a
spelling: client
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
5e2091e802
spelling: checked out
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
c28696e602
spelling: case-sensitive
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
0505a0ff76
spelling: case-insensitive
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
4ef3011ea9
spelling: cannot
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:02 +02:00
Josh Soref
08895863d9
spelling: callbacks
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00
Josh Soref
fd1899aa12
spelling: buffer
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00
Josh Soref
3eb4b203f2
spelling: backtrace
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00
Josh Soref
969376c88a
spelling: backslashes
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00
Josh Soref
17381d983f
spelling: autoconnect
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00
Josh Soref
631ca3f8df
spelling: authenticate
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00
Josh Soref
a464135f39
spelling: at
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00
Josh Soref
ef107fd66d
spelling: anymore
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00
Josh Soref
d3ceabf5de
spelling: an
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 17:34:04 +02:00
Josh Soref
02ea93e88f
spelling: above
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 17:34:00 +02:00
Sébastien Helleu
824c172984
Revert "ci: install version 3.35.5 of schemathesis"
...
This reverts commit 2b702f21d3 .
2024-09-25 21:31:40 +02:00
Sébastien Helleu
759ffc3d21
core: add CVE id in ChangeLog
2024-09-25 20:29:14 +02:00
Sébastien Helleu
6534919868
irc: decode IRC color codes only when displaying messages
...
Before parsing IRC messages, they were almost all changed to convert IRC color
codes to WeeChat color codes, which caused some bugs when storing data like
account and real names (stored with WeeChat color codes instead of IRC colors).
Now the messages are parsed as-is, then the colors are converted only when
strings are displayed in a buffer by `weechat_printf()`.
2024-09-22 23:05:16 +02:00
Sébastien Helleu
02847246b2
core, plugins, tests: fix octal notation in strings
2024-09-19 08:34:18 +02:00
Sébastien Helleu
2b702f21d3
ci: install version 3.35.5 of schemathesis
...
This fixes the CI as schemathesis 3.36.0 has a regression on ignored_auth
check (https://github.com/schemathesis/schemathesis/issues/2462 ).
2024-09-19 08:34:18 +02:00
Krzysztof Korościk
fc16a4c141
doc: updated polish translation
2024-09-17 11:35:50 +02:00
Sébastien Helleu
1cf65df089
tests: add tests on missing supported IRC messages
2024-09-15 21:47:43 +02:00
Sébastien Helleu
01103cb02a
irc: do not strip trailing spaces from incoming IRC messages
2024-09-15 21:47:32 +02:00
Sébastien Helleu
6908eec160
tests: replace POINTERS_EQUAL by STRCMP_EQUAL in string comparisons with NULL
2024-09-14 10:26:42 +02:00
Sébastien Helleu
cfd4ab909f
core: set max version for Curl symbol CURLAUTH_NTLM_WB
2024-09-11 18:19:26 +02:00
Sébastien Helleu
554892131d
core: update ChangeLog (issue #2180 )
2024-09-10 07:26:22 +02:00
Fredrik Fornwall
a15ae18c81
core: Fix build on Android to define htobe64
2024-09-09 21:48:55 +02:00
Sébastien Helleu
7ed85f3ed3
core: add version 4.4.2
2024-09-08 12:25:42 +02:00
Sébastien Helleu
df4acd5d3d
core: fix test of Debian patches when there are no patches
2024-09-08 09:27:50 +02:00
Sébastien Helleu
bb83685ac6
core: add contributor (issue #2179 )
2024-09-07 16:46:27 +02:00
Sébastien Helleu
91961433e3
core: update ChangeLog ( closes #2178 )
2024-09-07 08:56:33 +02:00
Sébastien Helleu
9aa0a94156
trigger: fix integer overflow in loop (issue #2178 )
2024-09-07 08:40:47 +02:00
Sébastien Helleu
970f20af31
relay: fix integer overflow in loops (issue #2178 )
2024-09-07 08:40:19 +02:00
Sébastien Helleu
62d0347d4b
irc: fix integer overflow in loops (issue #2178 )
2024-09-07 08:40:07 +02:00
Sébastien Helleu
5564baf424
core: fix integer overflow in loops (issue #2178 )
2024-09-07 08:39:37 +02:00
Yiheng Cao
315f769ab2
core: fix integer overflow in string_free_split functions (issue #2178 )
2024-09-07 08:27:43 +02:00
Sébastien Helleu
5f62eb1f2b
tests: add tests on function string_rebuild_split_string with empty items
2024-09-07 08:27:26 +02:00
Sébastien Helleu
143f694fe2
core, plugins: add missing parentheses when dereferencing a pointer with an array index
2024-09-05 20:57:29 +02:00
Sébastien Helleu
230c436dd4
core: add note about security issues in GitHub question issue template
2024-09-04 09:21:52 +02:00
Nils Görs
b3f34ecf33
core: update German translations
2024-09-03 14:10:20 +02:00
Sébastien Helleu
3253500d15
irc: add option irc.look.notice_nicks_disable_notify
2024-09-02 19:55:27 +02:00
Sébastien Helleu
fce44675c4
core: fix typo in French translation
2024-09-02 18:48:54 +02:00
Nils Görs
0ab7c20f0d
core: update German translations
2024-09-02 15:46:38 +02:00
Sébastien Helleu
b36c6c2e26
doc/faq: fix suggested value for option irc.server.xxx.tls_priorities
2024-08-31 16:32:32 +02:00
Sébastien Helleu
9b969be1f9
doc/user: change fake hostname in weechat relay example
...
The hostname `example.com` is already used in doc and help on commands.
2024-08-31 08:52:00 +02:00
Sébastien Helleu
954a7462c0
doc/user: add api relay example with https
2024-08-31 08:50:37 +02:00
Sébastien Helleu
434c1ee3c4
relay/api: send the sync request at the same time as buffer data retrieval
...
This fixes events missed by the client when synchronizing after fetching data.
2024-08-25 21:13:38 +02:00
Sébastien Helleu
6bb4d64512
relay/api: allow array with multiple requests in websocket frame received from client
2024-08-25 20:48:52 +02:00
Sébastien Helleu
4572e46ced
relay: change input prompt label when fetching data from remote, keep remote status displayed
2024-08-24 11:25:06 +02:00
Sébastien Helleu
c1130446eb
relay: add status "data synchronization" on remote buffers
2024-08-24 11:00:52 +02:00
Sébastien Helleu
9f44a1087b
core, plugins: simplify help on parameters that can be repeated in commands
2024-08-24 10:59:21 +02:00
Sébastien Helleu
08ad5be78d
core: automatically build list of sources used for translations
2024-08-24 10:25:17 +02:00
Sébastien Helleu
cba7c764da
core: add missing "<id>" in /help buffer for parameter "clear"
2024-08-23 08:27:19 +02:00
Sébastien Helleu
c3fd7e4e44
doc: fix color of text with syntax highlighting and light theme
2024-08-22 19:08:42 +02:00
Nils Görs
62f769e736
doc: update German documentation
2024-08-22 08:18:46 +02:00
Sébastien Helleu
d4ca32832e
relay: redefine bar item "input_prompt" to display the connection status on remote buffers, if different from "connected"
2024-08-21 20:37:00 +02:00
Sébastien Helleu
c5a1744c09
ci: add tests on FreeBSD 14
2024-08-20 20:53:41 +02:00
Sébastien Helleu
99d42ba297
ci: change make option from "--jobs=N" to "-j N"
...
This fixes the following error on FreeBSD:
make: illegal argument to -j -- must be positive integer!
2024-08-20 18:49:07 +02:00
Sébastien Helleu
fca21cac3f
ci: bump actions/checkout to v4
2024-08-20 18:05:45 +02:00
Sébastien Helleu
dfef851516
ci: rename variables with dependencies
2024-08-20 18:03:53 +02:00
Sébastien Helleu
584f54d443
core: add version 4.4.1 in ChangeLog
2024-08-19 20:51:34 +02:00
Sébastien Helleu
ed79b8c2e9
ci: update name of jobs
2024-08-19 19:36:13 +02:00
Sébastien Helleu
1f6a7e23ad
ci: regroup Ubuntu jobs
2024-08-19 19:31:37 +02:00
Sébastien Helleu
452a20c05e
ci: add tests on Rocky Linux 9
2024-08-19 19:24:26 +02:00
Sébastien Helleu
bf19d0482c
ci: use shorter name for jobs
...
Name is now the OS followed by the test, for example:
ubuntu-22.04: gcc
instead of:
Tests: gcc on ubuntu-22.04
2024-08-19 18:09:52 +02:00
Sébastien Helleu
27b3b50fa9
ci: force Ubuntu version 22.04 in CodeQL job
2024-08-19 18:07:28 +02:00
Sébastien Helleu
237955efcc
core: update ChangeLog (issue #2174 )
2024-08-17 11:28:00 +02:00
Sébastien Helleu
cd5ffb21cb
build: replace deprecated "DEPEND" by "BUILD_REQUIRES" in Cygwin packaging
2024-08-17 11:18:20 +02:00
Sébastien Helleu
a79c3b6141
build: add license in Cygwin packaging
2024-08-17 10:53:34 +02:00
LuK1337
e215e6b7ae
cmake: find 'lua' first
...
On Fedora, `lua` is an up to date package.
2024-08-17 10:15:52 +02:00
Sébastien Helleu
cba83f08a2
core: add Lua version in ChangeLog entry
2024-08-17 10:09:57 +02:00
Sébastien Helleu
fa2a87b2e5
core: update ChangeLog (issue #2173 )
2024-08-17 09:31:54 +02:00
LuK1337
9f3a68ed15
lua: fix broken LUA_VERSION check
...
/usr/include/lua-5.1/lua.h:19:25: error: token ""Lua 5.1"" is not valid
in preprocessor expressions
2024-08-17 09:30:11 +02:00
Sébastien Helleu
94f906fd8a
Version 4.5.0-dev
2024-08-17 08:36:01 +02:00
Sébastien Helleu
532008e172
Version 4.4.0
2024-08-17 08:33:14 +02:00
Sébastien Helleu
55d7e4c474
relay/weechat: fix uninitialized pointer in infolist command
2024-08-17 08:10:21 +02:00
Sébastien Helleu
f153b7e463
core: fix memory leak when trying to add a bar that already exists
2024-08-17 07:58:29 +02:00
Sébastien Helleu
c8dffad56c
core: add signals "layout_buffers_applied" and "layout_windows_applied" ( closes #2167 )
2024-08-16 12:36:31 +02:00
Sébastien Helleu
4de6fa11d5
core: add link to file UPGRADING.md in version 4.3.1
2024-08-16 12:05:12 +02:00
Sébastien Helleu
0182153511
core: send signal "buffer_moved" for all buffers affected by merge/unmerge
2024-08-15 21:35:38 +02:00
Sébastien Helleu
6de0195d0a
irc: fix send of split messages when server option "anti_flood" set to 0 ( closes #2172 )
2024-08-15 19:41:08 +02:00
Sébastien Helleu
e2edc019cc
relay/api: add extra checks on function parameters
2024-08-15 17:48:20 +02:00
Sébastien Helleu
b31a8bc1ef
doc/faq: add key Alt+Shift+N in questions about copy/paste and URLs
2024-08-15 17:25:36 +02:00
Sébastien Helleu
bbb2515b0e
doc/faq: add command to set "size_max" for nicklist when bar is moved to top
2024-08-15 16:49:31 +02:00
Sébastien Helleu
b6cccb7cee
core: add version 4.3.6 in ChangeLog
2024-08-15 15:48:08 +02:00
LuK1337
5b58356390
core: replace manual endianness swap with htobe64() call
...
This fixes generation of TOTP and tests on FreeBSD.
2024-08-14 12:15:55 +02:00
Sébastien Helleu
17d225ad73
relay: fix compiler warnings on unused parameters when CJSON is disabled
2024-08-14 07:51:41 +02:00
Sébastien Helleu
e810cc5f70
doc: add command line option --build-info in man pages and user's guide
2024-08-13 09:46:12 +02:00
Sébastien Helleu
22453e1a37
core: fix German translation
2024-08-13 09:42:36 +02:00
Nils Görs
8e2dda1bc9
core: update German translations
2024-08-13 09:07:44 +02:00
Sébastien Helleu
9c8a39b09e
ci: add command weechat --build-info
2024-08-12 22:07:00 +02:00
Sébastien Helleu
0a99ed5f2c
core: fix define of CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX in config.h (issue #449 )
2024-08-12 21:55:34 +02:00
Sébastien Helleu
071f8f87e7
core: add command line option --build-info / -i to display information about build options ( closes #449 )
2024-08-12 21:36:17 +02:00
Nils Görs
f09855540e
core: update German translations
2024-08-12 12:04:59 +02:00
Sébastien Helleu
0637e9f629
lua: remote string "Lua" from Lua version in output of /debug libs
2024-08-12 08:22:48 +02:00
Sébastien Helleu
b63f63f001
relay/api: fix send of data to remote after command /upgrade executed in the remote client
2024-08-11 23:35:51 +02:00
Sébastien Helleu
1de8fec2ee
relay/api: automatically reconnect to remotes with "autoconnect" enabled after /upgrade
2024-08-11 14:26:36 +02:00
Sébastien Helleu
970aa55f7f
relay/api: remove unneeded free of client->http_req->id
2024-08-11 12:27:37 +02:00
Sébastien Helleu
a317c785fb
relay/api: add automatic reconnection to remote ( closes #2166 )
...
New options:
- remote option "autoreconnect_delay"
- relay.api.remote_autoreconnect_delay_growing
- relay.api.remote_autoreconnect_delay_max
2024-08-11 12:18:28 +02:00
Sébastien Helleu
fc6811341a
irc: fix typo in comment
2024-08-11 11:57:35 +02:00
Sébastien Helleu
6e0f8392b9
doc/relay/api: add event "buffer_time_for_each_line_changed"
2024-08-10 19:06:39 +02:00
Sébastien Helleu
8010eeece3
relay/api: add support of time displayed in remote client buffers
2024-08-10 14:29:30 +02:00
Sébastien Helleu
aeac9f02f9
core: add signal "buffer_time_for_each_line_changed"
2024-08-10 14:27:53 +02:00
Sébastien Helleu
24734c4fe0
relay/api: add field "tmie_displayed" in GET /api/buffers
2024-08-10 13:58:58 +02:00
Sébastien Helleu
41ab22554c
tests/relay/api: add missing fields in test of buffer to json function
2024-08-10 13:42:38 +02:00
Sébastien Helleu
bb2387ec38
relay/api: add support of hidden buffers in remote client (issue #2159 )
2024-08-10 12:55:17 +02:00
Sébastien Helleu
b00f94dc70
relay/api: add field "hidden" in GET /api/buffers (issue #2159 )
2024-08-10 12:42:55 +02:00
Sébastien Helleu
07ef722c06
relay/api: disconnect cleanly when the remote is quitting ( closes #2168 )
2024-08-09 23:37:33 +02:00
Sébastien Helleu
0296957cce
relay/api: add event "quit", sent to clients when WeeChat is quitting (issue #2168 )
2024-08-09 23:32:33 +02:00
Sébastien Helleu
b4d0054f07
relay/api: disconnect from remote in case of error when sending data
2024-08-09 18:26:02 +02:00
Sébastien Helleu
995cbe542e
relay/api: automatically disconnect when the command /upgrade is executed on the remote
2024-08-09 18:23:23 +02:00
Sébastien Helleu
6e775e4768
relay/api: close obsolete buffers when reconnecting to the remote
...
This closes all buffers that exist locally but not on the remote any more,
after reconnecting to the remote.
2024-08-09 18:08:31 +02:00
Sébastien Helleu
e5b6eab2f6
relay/api: do not reset input text on existing buffers when reconnecting to remote
2024-08-09 18:06:42 +02:00
Sébastien Helleu
c132adc52c
relay/api: fix buffers synchronization with existing buffers that have been renamed on remote in the meanwhile ( closes #2169 )
2024-08-09 18:04:10 +02:00
Sébastien Helleu
78f0a3e087
relay/api: replace calls to strcmp by weechat_strcmp
2024-08-09 18:02:42 +02:00
Sébastien Helleu
eb5399518e
relay/api: clear lines and nicklist on all remote buffers upon successful connection to the remote ( closes #2161 )
2024-08-09 18:01:59 +02:00
Sébastien Helleu
87a5620623
tests: fix typo in header
2024-08-09 07:24:11 +02:00
Sébastien Helleu
828c498a12
core: set proxy option ipv6 to auto by default when creating a new proxy (issue #2164 )
2024-08-08 12:43:31 +02:00
Sébastien Helleu
eaf6d33f22
core: update translations (issue #2164 )
2024-08-06 08:29:23 +02:00
Sébastien Helleu
4e1a0731e7
core: convert proxy option ipv6 from boolean to enum (disable, auto, force) (issue #2164 )
2024-08-06 08:27:09 +02:00
Sébastien Helleu
5fe3b38892
irc: convert server option ipv6 from boolean to enum (disable, auto, force) (issue #2164 )
2024-08-06 08:25:42 +02:00
Sébastien Helleu
e051af0376
api: add constants for IPv6 and allow force of IPv6 in function hook_connect (issue #2164 )
2024-08-06 08:25:42 +02:00
Sébastien Helleu
ab2bcbac4e
doc/plugin: fix Python example of function hook_connect
2024-07-27 09:47:03 +02:00
Sébastien Helleu
8c48b2f310
relay/api: fix connection to remote using an IPv6 address with square brackets ( closes #2156 )
2024-07-22 17:24:50 +02:00
Sébastien Helleu
9ece7b4d8c
core, plugins: fix typo in comments
2024-07-22 11:49:26 +02:00
Sébastien Helleu
cadd04693a
irc: add support of message 569 (whois, connecting from) ( closes #2162 )
2024-07-22 10:39:03 +02:00
Sébastien Helleu
1c04f9419c
tests: fix comment on test of IRC message 344
2024-07-22 10:38:13 +02:00
Sébastien Helleu
03d8fddafd
core: add contributor (issue #2136 )
2024-07-21 11:44:53 +02:00
miko
e4e0b9764d
plugins: refactor macro weechat_va_format with the same behavior as string_asprintf
2024-07-21 11:34:02 +02:00
Sébastien Helleu
d3ca619526
relay/api: fix connection to remote without password ( closes #2158 )
2024-07-20 16:26:53 +02:00
Sébastien Helleu
fc197df056
relay/api: allow clients without authentication when no relay password is defined and option relay.network.allow_empty_password is on (issue #2158 )
2024-07-20 15:57:56 +02:00
Nils Görs
484b90d39a
core: update German translations
2024-07-19 12:59:31 +02:00
Sébastien Helleu
66707dbdf9
relay: add option reconnect in command /remote ( closes #2160 )
2024-07-19 09:19:34 +02:00
Nils Görs
66792445b4
core: update German translations
2024-07-18 16:14:18 +02:00
Sébastien Helleu
b316a7a0c6
script: add info "script_info"
2024-07-17 22:38:47 +02:00
Sébastien Helleu
c486a4f60a
relay: fix crash when sending data to a remote buffer when the remote has been deleted ( closes #2157 )
2024-07-16 23:51:46 +02:00
Sébastien Helleu
2646d1b5ad
core: add version 4.3.5 in ChangeLog
2024-07-16 23:03:48 +02:00
Sébastien Helleu
40b074c6d6
ruby: fix crash in plugin initialization ( closes #2163 )
...
This regression was introduced by commit
701f64afc1 .
2024-07-15 09:39:54 +02:00
Sébastien Helleu
ceba5f4947
doc/relay: remove duplicated description of data in message "_buffer_line_data_changed"
...
A link to "_buffer_line_added" is provided as data is exactly the same in this
message.
2024-07-14 09:39:01 +02:00
Sébastien Helleu
620e0dd8b6
doc/relay: fix title of chapter "_buffer_line_changed" in Japanese doc
2024-07-14 09:22:59 +02:00
Sébastien Helleu
a957266279
relay: translate connection status in output of commands /relay list and /relay listfull
2024-07-13 10:33:06 +02:00
Sébastien Helleu
2d534aed68
relay: display connection status in output of commands /remote list and /remote listfull
2024-07-13 10:32:56 +02:00
Ivan Pešić
b86bd39975
Update Serbian translation
2024-07-10 21:26:59 +02:00
Eric Lalonde
5bd581f8cf
irc: fix lag check interval comment
...
The network lag check interval is stored in irc_config_network_lag_check, which does not default to 5 seconds.
2024-07-08 21:59:49 +02:00
Sébastien Helleu
8e2275cebc
relay/api: fix timezone of dates sent to clients ( closes #2151 )
2024-07-08 19:10:27 +02:00
Sébastien Helleu
7e73da310e
relay/api: remove unused macro MSG_ADD_HDATA_TIME (issue #2151 )
2024-07-08 19:08:41 +02:00
Sébastien Helleu
a75db3488d
relay/api: allow body type "buffers" in remote client
2024-07-08 18:16:56 +02:00
Nils Görs
8511fd7b7b
core: update German translations
2024-07-08 10:46:19 +02:00
Sébastien Helleu
9d98dee7d9
spell: improve error displayed when a word can not be added to the dictionary ( closes #2144 )
2024-07-06 11:57:26 +02:00
Nils Görs
c6092b67d0
core: update German translations
2024-07-04 11:23:53 +02:00
Sébastien Helleu
42fd085388
core: add version 4.3.4 in ChangeLog
2024-07-03 22:09:05 +02:00
Sébastien Helleu
06685b6e68
core: add info "window" ( closes #2141 )
2024-07-01 21:23:36 +02:00
Sébastien Helleu
62c89c1e3b
core: allow mask in command /item refresh
2024-07-01 20:52:31 +02:00
Sébastien Helleu
cac5717b41
relay/api: add body types buffers and lines (array)
2024-06-30 13:01:29 +02:00
Sébastien Helleu
a9ed58fae3
core: add relay protocol in ChangeLog entries
2024-06-30 00:38:06 +02:00
Sébastien Helleu
8f13a9cff0
relay/api: fix "body_type" returned when lines or nicks of a buffer are requested
...
The "body_type" returned is now this one, instead of "buffer":
- `GET /api/buffers/xxx/lines`: "line"
- `GET /api/buffers/xxx/nicks`: "nick_group"
2024-06-30 00:36:29 +02:00
Sébastien Helleu
3828a9f987
tests: add field "request_id" in tests of relay api protocol
2024-06-30 00:22:46 +02:00
Sébastien Helleu
270a822f41
relay/api: bump version in OpenAPI document
2024-06-30 00:15:25 +02:00
Sébastien Helleu
259615d436
relay/api: add field "request_id" in websocket frame (request and response)
2024-06-30 00:11:29 +02:00
Sébastien Helleu
1cacbde6b7
relay: remove check of NULL pointers before calling free functions
2024-06-30 00:11:00 +02:00
Sébastien Helleu
f8f6e100d0
relay/api: always set "body_type" and "body" (null if there is no body) in websocket frame
2024-06-29 23:59:59 +02:00
Sébastien Helleu
2184af9d99
relay: flatten JSON event object sent to api relay clients
2024-06-29 19:48:34 +02:00
Sébastien Helleu
86c4f3979a
doc/user: change port in examples of weechat relay from 9000 to 9500
2024-06-29 17:37:47 +02:00
Sébastien Helleu
701f64afc1
ruby: fix builtin functions not available ( closes #2109 )
2024-06-29 07:59:06 +02:00
Sébastien Helleu
e6e0843698
core: add missing command /filter in ChangeLog (issue #1956 )
2024-06-29 07:41:58 +02:00
Brad Smith
de6fe1f3e1
tests: fix compilation of tests on OpenBSD
2024-06-28 23:23:15 +02:00
Sébastien Helleu
3993aa310f
relay: send event "buffer_line_data_changed" to clients of "weechat" protocol
2024-06-27 22:21:09 +02:00
Sébastien Helleu
7d6afff01c
relay: add line id in buffer lines sent to clients with weechat protocol
2024-06-27 22:12:34 +02:00
Sébastien Helleu
555632b615
relay/remote: update buffer line on event "buffer_line_data_changed"
2024-06-27 21:39:21 +02:00
Sébastien Helleu
d5975c96e9
relay: send event "buffer_line_data_changed" to API clients
2024-06-27 21:37:47 +02:00
Sébastien Helleu
e9d46b41a1
api: send new signal "buffer_line_data_changed" when a line is updated in a buffer via hdata
2024-06-27 20:55:42 +02:00
Sébastien Helleu
b04e1ffd27
relay: fix read of one buffer line in API protocol
2024-06-27 20:55:42 +02:00
Sébastien Helleu
f076db4767
api: add function line_search_by_id
2024-06-27 20:55:42 +02:00
Sébastien Helleu
0e9ed21edf
tests/scripts: add tests on window functions
2024-06-27 20:55:42 +02:00
Sébastien Helleu
74fabe1946
tests/scripts: add tests on buffer functions
2024-06-27 20:55:42 +02:00
Sébastien Helleu
476708923c
tests/scripts: fix comment
2024-06-27 20:55:42 +02:00
Sébastien Helleu
c6a4ffb1a7
core: fix crash when deleting a bar that has no items ( closes #2138 )
2024-06-27 18:52:12 +02:00
Sébastien Helleu
85c7494dc7
python: call empty eval workaround before auto-load of scripts (issue #2046 , issue #2126 )
...
This should definitely fix the crash with Python 3.12, even when scripts are
auto-loaded (the previous fix was working only when the scripts are loaded
manually).
2024-06-26 18:44:35 +02:00
Sébastien Helleu
3d3d8f2ea7
scripts: fix reset of "quiet" status in case of nested calls (issue #2046 , issue #2126 )
2024-06-26 18:43:40 +02:00
Nils Görs
dc283dd1c7
core: update German translations
2024-06-24 10:58:24 +02:00
Sébastien Helleu
cb4aa8ea65
core: add hdata_count in /help eval
2024-06-23 22:45:09 +02:00
Sébastien Helleu
7cab57fba1
core: update ChangeLog (issue #2046 , issue #2126 )
2024-06-23 18:42:01 +02:00
Trygve Aaberge
830b152776
python: unload script interpreters before eval interpreter
...
The workaround in the previous commit didn't work for one user, so try
unloading the eval interpreter last to see if that helps.
2024-06-23 18:40:18 +02:00
Trygve Aaberge
c325dedf05
python: add workaround for crash on unload with Python 3.12
...
Python 3.12 has a bug where it crashes when you unload all the
interpreters unless you make sure to unload the first interpreter you
loaded last. For some reason, loading the eval interpreter before any
scripts also seems to prevent the issue, even if the eval interpreter is
unloaded before the other interpreters.
So this just evals an empty string at the end of initing the Python
plugin if the Python version is 3.12, to make sure the eval interpreter
is loaded first.
Fixes #2046
2024-06-23 18:40:18 +02:00
Sébastien Helleu
03048895ec
core: add distribution in bug report template
2024-06-23 13:34:19 +02:00
Sébastien Helleu
0f1441a78c
core: fix command /bar addreplace with input bar (issue #2095 )
...
Now the bar item "input_text" is added only after creating the new input bar,
so it can be added or replaced like the other bars.
2024-06-23 09:47:05 +02:00
Krzysztof Korościk
c885a5031f
core: update polish translation
2024-06-22 19:44:25 +02:00
Sébastien Helleu
4fbea53439
core: add version 4.3.3 in ChangeLog
2024-06-22 11:50:09 +02:00
Sébastien Helleu
c34d522bb7
core: fix cast of pointer to unsigned long long
...
This fixes a warning displayed by the gcc compiler.
2024-06-22 10:21:00 +02:00
Sébastien Helleu
2a6b16d1de
tests: add tests of hdata returning NULL pointer in eval
2024-06-22 09:08:47 +02:00
Sébastien Helleu
bdfa1bd51c
core, plugins: return "0x0" instead of "(nil)" for pointers formatted in strings
...
This is a partial revert of the commit
965beb37de .
2024-06-22 08:54:08 +02:00
Sébastien Helleu
a75a947f5f
irc: fix apply of custom buffer property "short_name" when a channel buffer is renamed
2024-06-19 21:43:08 +02:00
Sébastien Helleu
0d8e3a48ee
core: apply buffer properties (options weechat.buffer.*) when a buffer name is changed
2024-06-19 21:42:38 +02:00
Sébastien Helleu
7cd8312bf9
irc: fix property "short_name" of channel buffer when the joined channel has a different case than the /join command
2024-06-19 20:52:02 +02:00
Sébastien Helleu
1fcf5ac5b3
core, plugins: force "short_name" in buffers to non-empty value (name by default), remove buffer property "short_name_is_set"
2024-06-18 20:34:58 +02:00
Sébastien Helleu
eb83e8d018
doc/relay: add doc on "api" relay
2024-06-18 20:32:05 +02:00
Sébastien Helleu
7d4e0acfef
doc/relay: move diagram to an include file
2024-06-16 20:27:57 +02:00
Sébastien Helleu
b18af8dcf4
doc: add shell syntax highlighting
2024-06-16 20:05:45 +02:00
Sébastien Helleu
94bcf98c63
doc/relay: add "api" in list of other relay protocols
2024-06-16 20:05:45 +02:00
Sébastien Helleu
23e3a60e4e
debian: add Serbian docs in packaging
2024-06-16 20:05:45 +02:00
Sébastien Helleu
7b39706716
debian: add Czech quickstart guide in packaging
2024-06-16 20:05:45 +02:00
Sébastien Helleu
8e7597815f
doc: rename doc "weechat_relay_protocol" to "weechat_relay_weechat"
2024-06-16 20:05:45 +02:00
Ivan Pešić
8f952a4b29
doc: Update Serbian documentation
2024-06-16 20:04:28 +02:00
Ivan Pešić
3155764eb5
core: Update Serbian translation
2024-06-16 20:04:28 +02:00
Sébastien Helleu
36ca300b8d
Revert "core: replace "%lx" by "%p" in function relay_weechat_msg_add_pointer"
...
This reverts commit 8923ecc7d8 .
2024-06-16 10:16:51 +02:00
Sébastien Helleu
740aa49271
irc: rename parameter -re to -raw in command /list ( closes #2124 )
2024-06-16 09:15:03 +02:00
Sébastien Helleu
d171c1682c
doc/api: replace format "%lx" by "%p" in examples
2024-06-14 22:14:28 +02:00
Sébastien Helleu
8923ecc7d8
core: replace "%lx" by "%p" in function relay_weechat_msg_add_pointer
2024-06-14 18:10:45 +02:00
Sébastien Helleu
f8d98bbd5e
core: replace "%lx" by "%p" in dump of relay data
2024-06-14 18:10:18 +02:00
Sébastien Helleu
d0830b9255
relay: fix dump of variable "websocket_key"
2024-06-14 18:09:53 +02:00
Sébastien Helleu
e482360eba
core: replace "%lx" by "%p" in debug of windows
2024-06-14 18:02:45 +02:00
Sébastien Helleu
e64ab3c675
core, plugins: replace "%lx" by "%p" in calls to sscanf
2024-06-14 17:59:02 +02:00
Sébastien Helleu
ce79d218a4
core: remove duplicate search of pointer in hashtable for evaluation of "hdata_count"
2024-06-14 17:37:47 +02:00
Sébastien Helleu
c83b08fae8
tests: add test on function hdata_count with empty list "gui_layouts"
2024-06-14 17:37:11 +02:00
Sébastien Helleu
ce3c5f0caa
core: add hdata count in evaluation of expressions
...
Syntax is one of:
- `hdata_count:name[list]`: uses a hdata name and list
- `hdata_count:name[pointer]`: uses a hdata name and pointer (count starts at
this pointer)
2024-06-14 17:04:06 +02:00
Sébastien Helleu
8945b7bf33
core: add function hdata_count
2024-06-14 17:04:06 +02:00
Sébastien Helleu
24e023d467
core: fix id of core buffer in hashtable gui_buffer_by_id after /upgrade
2024-06-11 08:13:20 +02:00
Sébastien Helleu
79a7766466
core: fix typo in comment
2024-06-11 08:09:32 +02:00
Sébastien Helleu
9b356733a9
core: allow buffer id in commands /buffer and /print, in addition to number and name
2024-06-11 08:03:09 +02:00
Sébastien Helleu
63148c5cc8
doc/api: add type "long long" in function hashtable_get_string
2024-06-11 07:17:28 +02:00
Sébastien Helleu
8366c32b0a
core: add hashtable to quickly find buffers by id
2024-06-10 23:55:34 +02:00
Sébastien Helleu
70417a1ac6
api: add hashtable type "longlong"
2024-06-10 23:55:34 +02:00
Sébastien Helleu
93433e5dd7
tests: add tests on hashtable with different key/value types
2024-06-10 19:42:57 +02:00
Sébastien Helleu
dc902b4e0a
api: allow NULL value for key in hashtable
2024-06-10 19:42:47 +02:00
Sébastien Helleu
26c01e30c3
core, plugins: remove unneeded break after return
2024-06-10 15:10:25 +02:00
Sébastien Helleu
023a3b90fa
core: fix refresh of bar item "scroll" in root bar after /buffer clear ( closes #590 )
2024-06-10 14:29:29 +02:00
Sébastien Helleu
7395387ebe
core: add issue #446 in ChangeLog
2024-06-10 13:45:09 +02:00
Sébastien Helleu
3ee5341fbc
perl: use lower case for CMake keywords
2024-06-10 09:01:27 +02:00
Sébastien Helleu
39cb0942a2
perl: fix quote of variable PERL_LFLAGS in CMake file
2024-06-10 08:59:36 +02:00
Sébastien Helleu
920d06bd27
core, plugins: fix return code of command callbacks in case of error
2024-06-10 08:17:25 +02:00
Sébastien Helleu
3835351226
tests: add placeholder for tests on function irc_list_export
2024-06-09 23:51:00 +02:00
Sébastien Helleu
b0f0afd7fa
fset: fix typo in /help fset
2024-06-09 23:16:32 +02:00
Sébastien Helleu
8824ff7d6c
irc: add option -export in command /list, add option irc.look.list_buffer_format_export
2024-06-09 23:15:26 +02:00
Sébastien Helleu
fb86ddc770
irc: clear /list buffer when disconnecting from server ( closes #2133 )
2024-06-09 18:35:22 +02:00
Sébastien Helleu
d63553a73d
irc: display an explicit message on /list buffer when the list of channels is empty (issue #2133 )
2024-06-09 18:34:35 +02:00
Sébastien Helleu
85c8866407
relay: add option addreplace in command /remote (issue #2095 )
2024-06-09 16:58:37 +02:00
Sébastien Helleu
337c9c840d
relay: add option addreplace in command /relay (issue #2095 )
2024-06-09 16:58:25 +02:00
Sébastien Helleu
eaead31b11
irc: add option addreplace in command /server (issue #2095 )
2024-06-09 16:58:12 +02:00
Sébastien Helleu
a8525b41b3
irc: add option addreplace in command /notify (issue #2095 )
2024-06-09 16:58:00 +02:00
Sébastien Helleu
b7d2bd5c9e
irc: add option addreplace in command /ignore (issue #2095 )
2024-06-09 16:57:44 +02:00
Sébastien Helleu
f4aab20bb4
core: add option addreplace in command /proxy (issue #2095 )
2024-06-09 16:55:53 +02:00
Sébastien Helleu
b45584114f
core: remove "breaking" tag in ChangeLog
2024-06-09 16:53:36 +02:00
Krzysztof Korościk
37eda67776
updated polish translation
...
Signed-off-by: Krzysztof Korościk <soltys@soltys.info >
2024-06-09 14:51:39 +02:00
Sébastien Helleu
e06e4d1457
core, plugins: use variable "argv" in calls to macro COMMAND_MIN_ARGS
2024-06-09 10:53:05 +02:00
Sébastien Helleu
ea3486dae3
core: add option addreplace in command /bar (issue #2095 )
2024-06-09 10:17:27 +02:00
Sébastien Helleu
6499d77e1d
alias: add options addreplace and addreplacecompletion in command /alias (issue #2095 )
...
The commands `/alias add` and `/alias addcompletion` now return an error if the
alias already exists.
2024-06-09 10:15:44 +02:00
Sébastien Helleu
df67f7a0ea
core: fix completion of command /item refresh
2024-06-09 09:11:03 +02:00
Sébastien Helleu
12b8ebe4e4
core: add completion "bars_items"
2024-06-09 09:09:09 +02:00
Sébastien Helleu
6306bac20b
core: fix French translation of parameter "refresh" in /help item
2024-06-09 09:06:55 +02:00
Sébastien Helleu
843dcd49b5
tests: add more tests on function string_split_shell
2024-06-08 14:24:43 +02:00
LuK1337
44238650bc
tests: relay: fix relay_http_parse_header function prototype
2024-06-07 12:39:40 +02:00
Sébastien Helleu
6b7137aa25
tests: reset option relay.network.websocket_allowed_origins after changing it in tests ( closes #2127 )
...
This fixes a test failure when the test changing the option is executed before
this one:
…/tests/unit/plugins/relay/api/test-relay-api-protocol.cpp:799: error: Failure in TEST(RelayApiProtocolWithClient, RecvJson)
expected <HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: Z5uTZwvwYNDm9w4HFGk26ijp/p0=
>
but was <HTTP/1.1 403 Forbidden
Content-Length: 0
>
difference starts at position 9 at: < HTTP/1.1 403 Forbid>
2024-06-07 12:33:17 +02:00
Sébastien Helleu
3d20ad8b5c
doc/user: mention pkgconf with pkg-config in dependencies
2024-06-07 07:44:39 +02:00
Sébastien Helleu
da97614e03
ci: install pkg-config with homebrew
2024-06-07 07:44:03 +02:00
Sébastien Helleu
c6481451cb
ci: replace package pkg-config by pkgconf
2024-06-07 07:38:05 +02:00
Sébastien Helleu
f59eb83da4
debian: update changelog
2024-06-06 22:51:09 +02:00
Sébastien Helleu
2648d87a65
debian: replace pkg-config build dependency by pkgconf
2024-06-06 22:50:33 +02:00
Sébastien Helleu
1a21ab10fa
core: add version 4.3.2 in ChangeLog
2024-06-06 22:09:02 +02:00
Sébastien Helleu
396f47e9ae
xfer: fix display of input prompt in DCC chat buffers (issue #2128 )
2024-06-06 13:30:25 +02:00
Sébastien Helleu
0b1e940829
irc: fix display of input prompt in private buffers ( closes #2128 )
2024-06-05 21:03:44 +02:00
Sébastien Helleu
7cf45707ea
tests: add test on info "irc_buffer" with a valid server and a non-existing channel
2024-06-02 23:08:03 +02:00
Sébastien Helleu
f104b4119a
irc: don't return pointer to irc server if the channel or nick is not found in info "irc_buffer"
2024-06-02 22:49:41 +02:00
Sébastien Helleu
4d0378d579
core: fix style for breaking changes in ChangeLog
2024-06-02 22:48:00 +02:00
Sébastien Helleu
a12419b888
core: add link to issue #1549 for ChangeLog entries about permessage-deflate
2024-06-02 09:54:47 +02:00
Sébastien Helleu
26fa0ea1b8
relay: enable websocket extension "permessage-deflate" with "api" relay only
2024-06-02 09:05:40 +02:00
Krzysztof Korościk
7b90b1fbf4
doc: update polish translation
2024-06-01 22:23:05 +02:00
Krzysztof Korościk
61f31eafcf
core: update polish translation
2024-06-01 22:07:06 +02:00
Sébastien Helleu
9264803bc3
relay: fix websocket permessage-deflate extension when the client doesn't send the max window bits parameters
2024-06-01 15:15:01 +02:00
Sébastien Helleu
d05df9ee21
relay: fix allocation and reinit of field "client_context_takeover" in websocket deflate structure
2024-06-01 14:42:55 +02:00
Sébastien Helleu
8dad5403ee
relay: add quotes around protocol names in options, mention "api" before "weechat"
2024-06-01 13:05:27 +02:00
Sébastien Helleu
e39a309365
relay: add option relay.network.websocket_permessage_deflate
2024-06-01 12:58:17 +02:00
Nils Görs
b5b063a836
core: update German translations
2024-05-31 20:33:09 +02:00
Sébastien Helleu
2dd083554b
core: remove duplicate entry in upgrade guidelines
2024-05-31 13:58:25 +02:00
Sébastien Helleu
d6e69792ca
core: add version 4.3.1 in ChangeLog and upgrade guidelines
2024-05-31 13:45:34 +02:00
Sébastien Helleu
cd75ad0545
core: add version 4.2.3 in ChangeLog
2024-05-31 13:44:06 +02:00
Sébastien Helleu
d6ffe1857b
doc/api: fix typo in function string_cut
2024-05-31 12:24:33 +02:00
Sébastien Helleu
b38cf0e9a3
relay: use API function string_cut to truncate raw relay messages
...
This is faster than the custom function that was adding " (...) " in the middle
of the message.
2024-05-31 12:04:13 +02:00
Sébastien Helleu
768416983c
xfer: fix send of data on the DCC chat buffer after /upgrade if the buffer was opened before the upgrade ( closes #2092 )
2024-05-31 08:11:55 +02:00
Nils Görs
ce1fc02dee
core: update German translations
2024-05-29 23:22:31 +02:00
Sébastien Helleu
e841c11b54
relay: add option relay.look.raw_messages_max_length (issue #2122 )
2024-05-29 23:07:58 +02:00
Sébastien Helleu
6152812bff
doc/user: add internal links to commands and options
2024-05-29 21:14:25 +02:00
Nils Görs
5cff9c0e46
core: update German translations
2024-05-27 22:27:27 +02:00
Sébastien Helleu
bd8e0d8bfa
relay/remote: add translations for some messages displayed
2024-05-27 21:46:24 +02:00
Sébastien Helleu
3d39f7e86c
core: remove versions without upgrade guidelines
2024-05-27 12:12:24 +02:00
Sébastien Helleu
030d82148c
core: update examples in Debian build script
2024-05-27 08:58:56 +02:00
Sébastien Helleu
bf4e47b9f2
core: fix detection of libgcrypt ≥ 1.11 (debian #1071960 )
...
Use pkg-config to detect libgcrypt, since command `libgcrypt-config` is not
available any more.
Remove patches for Debian/Raspbian Buster and Ubuntu Bionic: detection of
libgcrypt don't work any more with version 1.8.4 on Debian Buster and 1.8.1 on
Ubuntu Bionic (both versions don't provide the file `libgcrypt.pc`).
2024-05-27 08:15:59 +02:00
Sébastien Helleu
85c02e9137
irc: close /list buffer when the server buffer is closed ( closes #2121 )
2024-05-27 07:40:03 +02:00
Sébastien Helleu
8d86d85b66
relay: fix compiler warnings when cJSON is disabled
2024-05-26 23:46:52 +02:00
Sébastien Helleu
5a8751b9eb
core, relay: fix include directory of libcjson and libzstd
2024-05-26 23:13:49 +02:00
Sébastien Helleu
96f9942aed
php: fix return value of function hdata_longlong
2024-05-26 16:24:16 +02:00
Sébastien Helleu
449e5ae705
core: add link to issues in ChangeLog
2024-05-26 16:05:56 +02:00
Sébastien Helleu
51d2d71a04
core: update ChangeLog
2024-05-26 16:02:46 +02:00
LuK1337
4e01c077d6
tcl: fix return value for hdata_longlong
...
Using API_RETURN_LONG() here breaks tests on i368.
2024-05-26 15:59:12 +02:00
Sébastien Helleu
917054c58d
tests: fix compilation of tests on Rocky 9.4
2024-05-26 15:41:52 +02:00
Sébastien Helleu
d1ae17a8e0
core: add note about lag in buflist in upgrade guidelines
2024-05-26 14:37:48 +02:00
Sébastien Helleu
d616f5bc55
core: update ChangeLog
2024-05-26 14:10:10 +02:00
LuK1337
14187b3834
tests: relay: fix HotlistToJson test on s390x
...
1: error: Failure in TEST(RelayApiMsg, HotlistToJson)
1: expected <2024-05-26T10:29:37.716512Z>
1: but was <2024-05-26T10:29:37.000000Z>
1: difference starts at position 20 at: <T10:29:37.000000Z >
2024-05-26 14:03:04 +02:00
LuK1337
9bd1ea1e5e
tests: scripts: fix wrong ifdef check
2024-05-26 14:00:07 +02:00
LuK1337
6f774a8e8e
tests: relay: add missing <string.h> include
...
Fixes build error on Fedora 40.
2024-05-26 13:58:35 +02:00
Sébastien Helleu
62ab68715d
relay: add infos "relay_api_version" and "relay_api_version_number"
2024-05-26 10:44:23 +02:00
Sébastien Helleu
603c44a64d
core: replace emails by links to GitHub accounts in AUTHORS.md
2024-05-26 10:27:30 +02:00
Sébastien Helleu
a86c329b4c
core: rename and convert AUTHORS.adoc to AUTHORS.md
2024-05-26 10:27:30 +02:00
Sébastien Helleu
d0d1d2e4b9
core: rename and convert README.adoc to README.md
2024-05-26 10:27:30 +02:00
Sébastien Helleu
5d0784bd52
core: rename and convert Contributing.adoc to CONTRIBUTING.md
2024-05-26 10:27:30 +02:00
Sébastien Helleu
3653f4b7a2
core: rename and convert ReleaseNotes.adoc to UPGRADING.md
2024-05-26 10:27:25 +02:00
Sébastien Helleu
8260421767
core: rename and convert ChangeLog.adoc to CHANGELOG.md
2024-05-26 10:26:23 +02:00
Sébastien Helleu
688c77d9f5
Version 4.4.0-dev
2024-05-26 09:21:28 +02:00
Sébastien Helleu
b407de4c3b
Version 4.3.0
2024-05-26 09:16:17 +02:00
Sébastien Helleu
8444670ef1
relay/api: set API version to 0.1.0 in OpenAPI document
2024-05-26 08:39:28 +02:00
Sébastien Helleu
657805ca25
core: add relay options renamed in release notes
2024-05-26 08:24:08 +02:00
Sébastien Helleu
12378b3a19
relay/api: set API version to 0.1.0
2024-05-26 00:04:28 +02:00
Sébastien Helleu
7684d5a3d1
tests: add test of IRC message split with newline but no server
2024-05-25 19:48:41 +02:00
Sébastien Helleu
2488466b0c
irc: fix crash in split of IRC message containing a newline if the server is not given
2024-05-25 19:28:49 +02:00
Sébastien Helleu
647ca0c047
tests: remove dead assignments
2024-05-25 19:22:13 +02:00
Sébastien Helleu
1452497b32
tests: fix tests on hook_infolist_get with an invalid pointer
2024-05-25 19:13:08 +02:00
Sébastien Helleu
2c7057bf22
relay/remote: fix relay API version comparison with a string that can be NULL
2024-05-25 19:11:25 +02:00
Krzysztof Korościk
e97dc832e5
doc: updated polish translation
2024-05-25 13:57:13 +02:00
Krzysztof Korościk
7b4d374efd
core: updated polish translation
2024-05-25 13:35:09 +02:00
Sébastien Helleu
5294249515
relay: fix compiler warning in call to snprintf
...
This fixes the following warning emitted by gcc:
…/relay-http.c:1207:32: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 64 [-Wformat-truncation=]
1207 | "%s[%d bytes data]",
| ^~
1208 | str_header,
| ~~~~~~~~~~
…/relay-http.c:1207:31: note: directive argument in the range [1, 2147483647]
1207 | "%s[%d bytes data]",
| ^~~~~~~~~~~~~~~~~~~
…/relay-http.c:1206:21: note: ‘snprintf’ output between 15 and 1047 bytes into a destination of size 64
1206 | snprintf (raw_message, length_raw,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1207 | "%s[%d bytes data]",
| ~~~~~~~~~~~~~~~~~~~~
1208 | str_header,
| ~~~~~~~~~~~
1209 | *ptr_body_size);
| ~~~~~~~~~~~~~~~
2024-05-24 21:08:10 +02:00
Nils Görs
2b81cce9e0
doc: update German documentation
2024-05-24 11:02:16 +02:00
Nils Görs
8814d1d5c4
core: update German translations
2024-05-24 10:45:50 +02:00
Sébastien Helleu
4a4fbce5dd
core: update translations
2024-05-23 21:03:43 +02:00
Sébastien Helleu
f4a789c327
core: rename Twitter to X in README
2024-05-23 21:01:12 +02:00
Sébastien Helleu
037afc5e92
core: remove release notes for versions where no manual action is required upon upgrade
2024-05-22 00:36:23 +02:00
Sébastien Helleu
17435d5532
core: group changes and sort them by importance in ChangeLog
...
Changes are now grouped by category:
- `Changed`: changes in existing features
- `Added`: new features
- `Removed`: removed features
- `Fixed`: bug fixed
Changes are also sorted by importance: breaking changes and most important
changes first in each category.
Link to release notes is mentioned in each release for which manual actions are
required upon upgrade.
2024-05-21 23:40:53 +02:00
Sébastien Helleu
6704b1b21c
core: add missing list header in v4.0.1
2024-05-21 21:42:55 +02:00
Sébastien Helleu
cb08919baf
relay/openapi: add note about websocket connection in sync endpoint
2024-05-19 15:49:37 +02:00
Sébastien Helleu
c67eb4e656
relay/openapi: remove example from description
2024-05-19 15:48:45 +02:00
Sébastien Helleu
9605501c66
relay/openapi: add complete description for authentication, add header "x-weechat-totp"
2024-05-19 15:31:16 +02:00
Sébastien Helleu
e9c14d6548
relay/openapi: replace "summary" by "description" in paths
2024-05-19 14:23:36 +02:00
Sébastien Helleu
54f2c7f2e0
doc/user: add relay "api" (issue #2066 )
2024-05-19 13:26:47 +02:00
Sébastien Helleu
44ca4b41f3
relay/remote: check that remote API is exactly the same version as local one upon connection
2024-05-19 11:26:50 +02:00
Sébastien Helleu
cc544e3e3a
relay/remote: fix error displayed when an error happens in a callback
2024-05-19 10:52:26 +02:00
Krzysztof Korościk
a749e3423f
core: updated polish translation
2024-05-18 17:52:14 +02:00
Sébastien Helleu
8949a65f52
relay/remote: fix highlight on lines received from remote
2024-05-18 09:51:39 +02:00
Sébastien Helleu
2423fdbf2d
core: add option weechat.look.config_permissions ( closes #2057 )
2024-05-18 09:16:47 +02:00
Sébastien Helleu
839ffc4b0c
irc: store lag in channel and private buffers (local variable "lag"), in addition to the server buffer
2024-05-16 08:23:28 +02:00
Sébastien Helleu
5c79933faa
core: add bar item "lag"
...
This bar item is overridden by the irc bar item with the same name, but it used
on relay remote buffers, so that the lag is visible as well.
2024-05-16 07:58:52 +02:00
Sébastien Helleu
47f40f961a
relay/remote: add, update and remove buffer local variables received from remote
2024-05-16 07:45:02 +02:00
Sébastien Helleu
1100b0e694
relay/remote: set "input" and "input_pos" only upon buffer creation
...
This prevents unexpected updates of input on remote buffer whenever something
changes in the buffer, like a local variable, but with the same unchanged
input.
2024-05-16 07:22:24 +02:00
Sébastien Helleu
761d2dec12
core: send signal "buffer_localvar_{added|changed}" only if local variable has been added or changed
2024-05-16 07:16:11 +02:00
Sébastien Helleu
6db01bee34
ci: add tests of OpenAPI document with schemathesis
2024-05-15 21:25:50 +02:00
Sébastien Helleu
4c565413bb
relay/api: add OpenAPI document (issue #2066 )
2024-05-15 21:20:22 +02:00
Nils Görs
b916ed6cf7
core: update German translations
2024-05-15 18:07:34 +02:00
Sébastien Helleu
484abc68fc
relay: add option "autoconnect" in remote
...
This option enables auto-connection to the remote, unless command line option
`-a` (`--no-connect`) is given.
2024-05-14 22:27:11 +02:00
Nils Görs
f116061868
core: update German translations
2024-05-14 08:48:20 +02:00
Sébastien Helleu
878c0a5d66
irc: allow range in commands /unban and /unquiet ( closes #2113 )
2024-05-13 23:05:39 +02:00
Sébastien Helleu
8009b21803
irc: use dynamic string in function irc_command_mode_masks
2024-05-13 22:50:42 +02:00
Sébastien Helleu
05e12c0232
core: update French translations
2024-05-13 22:50:42 +02:00
Sébastien Helleu
8de2a36ac2
relay: add protocol "api" in completion of command "/relay add"
2024-05-12 22:16:14 +02:00
Sébastien Helleu
539a51f9e1
relay/api: add different return codes for callbacks
2024-05-12 22:11:41 +02:00
Sébastien Helleu
3aec35aeec
relay/remote: set modes on buffer event
2024-05-12 12:46:32 +02:00
Sébastien Helleu
3bfb7d7f04
relay/api: add field "modes" in GET /api/buffers
2024-05-12 12:46:32 +02:00
Sébastien Helleu
dcb8fcb6ed
irc: rename option irc.color.item_channel_modes to weechat.color.status_modes
2024-05-12 12:46:32 +02:00
Sébastien Helleu
fb4d2d30f4
irc: remove redefinition of bar item "buffer_modes"
...
The new buffer property "modes" is used instead.
2024-05-12 12:46:32 +02:00
Sébastien Helleu
e7b2d98b6e
core: add buffer property "modes"
2024-05-12 09:26:10 +02:00
Sébastien Helleu
e57777acb1
doc/api: translate buffer property "input_prompt" to French
2024-05-12 08:48:16 +02:00
Sébastien Helleu
fa07d98f06
doc/api: add version 4.3.0 for signal "input_prompt_changed"
2024-05-12 08:42:36 +02:00
Sébastien Helleu
c1083d022d
irc: restore input prompt after upgrade on server and channel buffers
2024-05-12 01:31:54 +02:00
Sébastien Helleu
464b019929
core: restore buffer input prompt on /upgrade
2024-05-12 01:31:54 +02:00
Sébastien Helleu
1a0b9427e0
core: fix conversion of WeeChat bar colors to ANSI colors
2024-05-11 14:05:52 +02:00
Sébastien Helleu
32b01a606c
core: fix conversion of WeeChat "default" color to ANSI color
2024-05-11 14:05:52 +02:00
Sébastien Helleu
a456c3db86
tests: split strings with colors for readability
2024-05-11 14:05:52 +02:00
Sébastien Helleu
77145d32ad
relay/remote: set input prompt on buffer event
2024-05-11 14:05:52 +02:00
Sébastien Helleu
cdeac1b693
relay/api: add field "input_prompt" in GET /api/buffers
2024-05-11 14:05:52 +02:00
Sébastien Helleu
827a056790
irc: remove redefinition of bar item "input_prompt"
...
The new buffer property "input_prompt" is used instead.
2024-05-11 14:05:52 +02:00
Sébastien Helleu
7634774327
core: add buffer property "input_prompt"
2024-05-10 08:54:03 +02:00
Sébastien Helleu
e69cffd9bc
irc: fix nick comparison in function irc_server_set_nick
2024-05-10 08:27:41 +02:00
Sébastien Helleu
5991278637
irc: rename function irc_server_buffer_set_input_multiline to irc_server_set_buffer_input_multiline
2024-05-09 15:55:31 +02:00
Sébastien Helleu
1a8c40826e
core: refresh buffer only if nicklist_display_groups has changed
2024-05-08 13:29:12 +02:00
Sébastien Helleu
d14bc12282
core: refresh buffer only if nicklist has changed
2024-05-08 13:28:47 +02:00
Sébastien Helleu
0c9bbb5d4f
core: refresh buffer only if time_for_each_line has changed
2024-05-08 13:28:24 +02:00
Sébastien Helleu
df52b57c33
core: add function gui_buffer_set_filter
2024-05-08 13:23:50 +02:00
Sébastien Helleu
7addd1bf00
core: add function gui_buffer_set_input
2024-05-08 13:19:40 +02:00
Sébastien Helleu
28f75d17dc
tests: add placeholder for tests on function gui_buffer_set_input_get_any_user_data
2024-05-08 13:19:15 +02:00
Sébastien Helleu
1050ba851f
core: fix buffer title comparison in function gui_buffer_set_title
2024-05-08 12:50:08 +02:00
Sébastien Helleu
103684b15e
core: merge conditions in function gui_buffer_set_type
2024-05-08 12:49:17 +02:00
Sébastien Helleu
7546ee08ca
core: fix buffer short name comparison in function gui_buffer_set_short_name
2024-05-08 12:48:21 +02:00
Sébastien Helleu
1aeea38355
core: fix buffer name comparison in function gui_buffer_set_name
2024-05-08 12:09:26 +02:00
Sébastien Helleu
9ce666fc31
core: check that buffer is not NULL in function gui_input_set_pos
2024-05-08 12:08:50 +02:00
Sébastien Helleu
b2c7682242
core: add function gui_buffer_set_notify
2024-05-08 12:08:50 +02:00
Sébastien Helleu
2aa1b950cd
core: add function gui_buffer_set_day_change
2024-05-08 12:08:50 +02:00
Sébastien Helleu
0df1cde496
tests: fix typo in comment
2024-05-08 09:30:33 +02:00
Sébastien Helleu
9f536d3dc7
api: return -1 or 1 if one input string is NULL and not the other in string comparison functions
2024-05-08 09:30:20 +02:00
Sébastien Helleu
4d0458afdd
relay/remote: set input multiline on buffer event
2024-05-07 21:38:43 +02:00
Sébastien Helleu
92dfd2425f
relay/remote: set buffer input and cursor position on buffer event
2024-05-07 21:38:24 +02:00
Ivan Pešić
be621205e9
doc: update Serbian translation
2024-05-07 18:59:40 +02:00
Ivan Pešić
4ad497ce01
core: update Serbian translation
2024-05-07 18:59:40 +02:00
Sébastien Helleu
da8353c54f
relay: change default value of option "relay.network.commands" to *,!quit
2024-05-07 13:58:31 +02:00
Sébastien Helleu
44c96f6abf
relay/remote: reuse an existing remote buffer
2024-05-05 23:57:46 +02:00
Sébastien Helleu
177b0a4299
relay/remote: synchronize input with remote relay
2024-05-05 23:57:02 +02:00
Sébastien Helleu
75270d7841
relay/api: add optional synchronization of input
2024-05-05 23:56:33 +02:00
Sébastien Helleu
6526cc230a
relay/api: add input fields in GET /api/buffers
...
New fields returned:
- "input" (string): content of input
- "input_position" (integer): position in input (starts at 0)
- "input_multiline" (boolean): true if the buffer allows multiline input
2024-05-05 23:07:42 +02:00
Sébastien Helleu
211cd11c2a
relay/api: add parameter "lines_free" in GET /api/buffers
...
This parameter is the number of lines to return for buffers with free content.
Its default value is `0` if "lines" is set to `0`, otherwise all buffer lines
are returned.
2024-05-05 22:30:04 +02:00
Sébastien Helleu
9ceea3697b
relay/api: fix read of buffer lines when lines parameter is LONG_MIN
2024-05-05 17:49:20 +02:00
Sébastien Helleu
0cf504dce7
tests: add test on relay API preflight request (OPTIONS)
2024-05-05 14:13:03 +02:00
Sébastien Helleu
6839974a07
tests: fix relay API protocol tests
2024-05-05 11:37:05 +02:00
Sébastien Helleu
25e3a631b9
relay/api: reply to preflight request OPTIONS received from browsers (CORS)
...
This adds the support of Cross-Origin Resource Sharing (CORS) in the relay HTTP
API.
2024-05-05 11:08:37 +02:00
Sébastien Helleu
998bb89c98
relay/api: send all nicks when a buffer is opened
2024-05-04 13:58:01 +02:00
Sébastien Helleu
ccf23ae51e
relay/remote: run callback based on event name instead of body type
2024-05-04 13:43:03 +02:00
Sébastien Helleu
6321669cd5
relay/remote: clear remote buffer when event "buffer_cleared" is received
2024-05-04 12:35:10 +02:00
Sébastien Helleu
586e66d6fa
tests: add placeholders for tests on relay api remote event functions
2024-05-04 11:41:23 +02:00
Sébastien Helleu
a21fa3359d
relay/remote: fix close of remote buffer
2024-05-04 11:40:49 +02:00
Sébastien Helleu
4ac120e435
relay/remote: fix alignment of variable in debug print to log file
2024-05-04 08:55:57 +02:00
Sébastien Helleu
b21b64bc44
relay/remote: do not display error if the buffer is not found in a line/nick event
2024-05-04 08:39:56 +02:00
Sébastien Helleu
68ff525d2e
relay/api: do not relay any signal received on a relay buffer
...
This fixes a creation of multiple fset buffers on remote when /fset is used on
the server.
2024-05-03 19:12:43 +02:00
Eli Schwartz
7e79dd92ba
core: conditionally declare variable only used in conditional code
...
Avoids emitting a compiler diagnostic by default for non-NLS builds for
-Wunused-variable.
2024-05-03 18:49:20 +02:00
Eli Schwartz
cefc6820c1
core: remove unused header
...
weechat.h already handles libintl.h and defining suitable macros.
Including it again does nothing other than emit a compile warning when
compiling without NLS:
In file included from /var/tmp/portage/net-irc/weechat-9999/work/weechat-9999/src/core/core-doc.c:35:
/var/tmp/portage/net-irc/weechat-9999/work/weechat-9999/src/core/weechat.h:49: warning: "gettext" redefined
49 | #define gettext(string) (string)
|
In file included from /var/tmp/portage/net-irc/weechat-9999/work/weechat-9999/src/core/core-doc.c:30:
/usr/include/libintl.h:109: note: this is the location of the previous definition
109 | # define gettext(msgid) dgettext (NULL, msgid)
2024-05-03 18:49:20 +02:00
Sébastien Helleu
9f7b4c497e
core: remove unused variable "used"
2024-05-03 07:15:55 +02:00
Sébastien Helleu
d85205ca8a
irc: remove unneeded parameter in call to irc_list_alloc()
2024-05-03 07:12:34 +02:00
Sébastien Helleu
06d10ad193
core: fix prototype of function "resizeterm" in fake ncurses interface
2024-05-02 21:44:01 +02:00
Sébastien Helleu
8f86f319ca
relay: fix use of uninitialized variable "ptr_buffer"
2024-05-02 21:40:14 +02:00
Sébastien Helleu
fef2ecec9b
relay: remove unused variable "i"
2024-05-02 21:37:03 +02:00
Sébastien Helleu
cf42c7da38
alias: remove unused variable "args_count"
2024-05-02 21:34:50 +02:00
Nils Görs
9e6b9ca54d
core: update German translations
2024-05-02 07:42:53 +02:00
Krzysztof Korościk
d22c3344d4
doc: updated polish translation
2024-05-02 00:13:37 +02:00
Krzysztof Korościk
93064b8401
po: updated polish translation
2024-05-02 00:06:57 +02:00
Sébastien Helleu
573f1046ac
core: execute command as user data for local keys in buffer (issue #2066 )
...
If buffer->input_get_any_user_data is set to 1, any command executed via a
buffer local key is considered as user input and then sent to the buffer
callback, instead of being executed directly.
This is used on relay remote buffers, to execute the command on the remote
instead of locally.
2024-05-01 15:07:08 +02:00
Sébastien Helleu
3aeea2d6aa
relay/remote: set buffer local keys (issue #2066 )
2024-05-01 13:53:58 +02:00
Sébastien Helleu
afe037c579
relay/api: add buffer keys in GET /api/buffers (issue #2066 )
2024-05-01 13:53:58 +02:00
Sébastien Helleu
c5268bc5f9
core: send signal "buffer_line_added" on buffers with free content (issue #2066 )
...
The signal "buffer_line_added" is now sent for every line added or modified on
a buffer with free content.
2024-05-01 13:37:49 +02:00
Sébastien Helleu
c47e4fa883
relay/remote: display lines on buffers with free content (issue #2066 )
2024-05-01 13:37:45 +02:00
Sébastien Helleu
6c1f21f10c
relay: add option relay.api.remote_get_lines (issue #2066 )
2024-05-01 10:10:36 +02:00
Sébastien Helleu
ee3fb67a0c
relay/api: add support of nicklist in remote buffers
2024-04-30 00:08:41 +02:00
Sébastien Helleu
b8f6468590
relay/api: add color names for groups and nicks in GET /api/buffers
2024-04-29 22:43:38 +02:00
Sébastien Helleu
de24921609
relay/api: add nicklist boolean fields in GET /api/buffers
2024-04-29 22:05:47 +02:00
Sébastien Helleu
1d9cdba58e
relay/api: rename field "nicklist" to "nicklist_root" in GET /api/buffers
2024-04-29 21:56:38 +02:00
Sébastien Helleu
9cd7fd38a9
api: allow to set nicklist group/nick id in functions nicklist_group_set and nicklist_nick_set (issue #2081 )
2024-04-29 21:07:04 +02:00
Sébastien Helleu
ded599b272
api: allow search by group and nick id in functions nicklist_search_group and nicklist_search_nick (issue #2081 )
2024-04-29 19:22:57 +02:00
Sébastien Helleu
6c706caa50
tests/gui: add tests on nicklist functions
2024-04-28 22:31:37 +02:00
Sébastien Helleu
f87347d44f
core: fix /upgrade from previous releases (issue #2106 )
...
When 4 directories are received, the state directory is initialized with the
data directory.
This fixes the following error on `/upgrade`:
Error: wrong number of paths for home directories (expected: 1 or 5, received: 4)
2024-04-28 20:19:45 +02:00
Sébastien Helleu
96ff7248ef
core: remove obsolete function gui_nicklist_get_max_length
2024-04-28 19:10:05 +02:00
Sébastien Helleu
eac442a855
core: remove unnecessary condition in function gui_nicklist_get_group_start
2024-04-28 19:06:48 +02:00
Sébastien Helleu
f1fa143b21
core: check that parameter name is not NULL in function gui_nicklist_get_group_start
2024-04-28 19:06:21 +02:00
Sébastien Helleu
dcd872bc45
core: fix recursive search of group in nicklist
2024-04-28 13:07:08 +02:00
Sébastien Helleu
4a058ae0f5
trigger: remove check of NULL pointers before calling trigger_free() (issue #865 )
2024-04-26 21:24:14 +02:00
Sébastien Helleu
2b919b0a01
script: remove check of NULL pointers before calling script_repo_free() (issue #865 )
2024-04-26 21:23:39 +02:00
Sébastien Helleu
9c3eda660d
relay: remove check of NULL pointers before calling relay_websocket_deflate_free() (issue #865 )
2024-04-26 21:23:39 +02:00
Sébastien Helleu
17090ade74
relay: remove check of NULL pointers before calling relay_server_free() (issue #865 )
2024-04-26 21:22:50 +02:00
Sébastien Helleu
ba97a39565
relay: remove check of NULL pointers before calling relay_http_response_free() (issue #865 )
2024-04-26 21:22:49 +02:00
Sébastien Helleu
42cba25453
exec: remove check of NULL pointers before calling exec_free() (issue #865 )
2024-04-26 21:21:48 +02:00
Sébastien Helleu
7438d2c737
alias: remove check of NULL pointers before calling alias_free() (issue #865 )
2024-04-26 21:21:48 +02:00
Sébastien Helleu
ed48819b77
core: remove check of NULL pointers before calling gui_focus_free_info() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
2c300424b4
core: remove check of NULL pointers before calling gui_color_palette_free() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
3e520cb1ff
core: remove check of NULL pointers before calling gui_completion_free() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
114084a4fc
relay: remove check of NULL pointers before calling weechat_completion_free() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
1a31512503
core: remove check of NULL pointers before calling string_free_split_tags() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
a7b21fa647
core: remove check of NULL pointers before calling gui_bar_window_free() (issue #865 )
2024-04-26 21:18:24 +02:00
Sébastien Helleu
890caf4e8e
core: remove check of NULL pointers before calling gui_bar_item_free() (issue #865 )
2024-04-26 21:17:13 +02:00
Sébastien Helleu
ad33036fea
core: remove check of NULL pointers before calling weelist_free() (issue #865 )
2024-04-26 21:06:47 +02:00
Sébastien Helleu
a59fa70a94
irc: remove check of NULL pointers before calling weechat_list_free() (issue #865 )
2024-04-26 21:06:47 +02:00
Sébastien Helleu
ac7cc25763
core: remove check of NULL pointers before calling infolist_free() (issue #865 )
2024-04-26 21:06:06 +02:00
Sébastien Helleu
ee51e6c05f
plugins: remove check of NULL pointers before calling weechat_infolist_free() (issue #865 )
2024-04-26 21:06:06 +02:00
Sébastien Helleu
61ff0b8587
core: remove check of NULL pointers before calling config_file_option_free() (issue #865 )
2024-04-26 20:59:44 +02:00
Sébastien Helleu
561dd92d8e
plugins: remove check of NULL pointers before calling weechat_config_option_free() (issue #865 )
2024-04-26 20:59:44 +02:00
Sébastien Helleu
619b40b42f
core: remove check of NULL pointers before calling string_shared_free() (issue #865 )
2024-04-26 08:55:35 +02:00
Sébastien Helleu
409a06982e
core: remove check of NULL pointers before calling string_dyn_free() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
7af01a56ca
plugins: remove check of NULL pointers before calling weechat_string_dyn_free() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
3057d846d9
core: remove check of NULL pointers before calling string_free_split() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
9a5a1fb300
plugins: remove check of NULL pointers before calling weechat_string_free_split() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
f11c7c1bf4
core: remove check of NULL pointers before calling hashtable_free() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
0b2d9bcb9b
plugins: remove check of NULL pointers before calling weechat_hashtable_free() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
1ad0b4b669
core: remove check of NULL pointers before calling unhook() (issue #865 )
2024-04-26 08:41:44 +02:00
Sébastien Helleu
529a22e342
plugins: remove check of NULL pointers before calling weechat_unhook() (issue #865 )
2024-04-26 08:41:44 +02:00
Sébastien Helleu
828ca37225
tests: split hook tests into multiple files (issue #865 )
2024-04-26 08:41:44 +02:00
Sébastien Helleu
6cf163f00c
tests: move hook modifier tests to a separate file (issue #865 )
2024-04-26 07:51:49 +02:00
Sébastien Helleu
2b6fbe26ac
core: remove check of NULL pointers before calling arraylist_free() (issue #865 )
2024-04-26 07:37:22 +02:00
Sébastien Helleu
3eed74a75c
plugins: remove check of NULL pointers before calling weechat_arraylist_free() (issue #865 )
2024-04-26 07:37:22 +02:00
Sébastien Helleu
e73bff95fa
core: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
Sébastien Helleu
b56b34711d
api: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
Sébastien Helleu
590d9453a0
xfer: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
Sébastien Helleu
ea85d180e5
trigger: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
Sébastien Helleu
0e3b6a9c77
tcl: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
Sébastien Helleu
1f104d06a0
spell: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
Sébastien Helleu
3973258628
script: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
Sébastien Helleu
f79153ace7
ruby: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
7ee57af8e3
relay: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
b138510cff
python: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
c472b9a733
php: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
0ac2e54b46
perl: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
3e994e3c5a
lua: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
128d2a4e12
logger: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
846c785531
javascript: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
2bbf289635
irc: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
f3a9bfe55e
guile: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
852b8a5cdb
fset: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
1ae33517e9
fifo: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
5ad977a6ed
exec: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
f92606a317
charset: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
c3750a02e3
buflist: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:58:31 +02:00
Sébastien Helleu
c242c8e3f9
alias: remove check of NULL pointers before calling free() (issue #865 )
2024-04-24 23:12:05 +02:00
Sébastien Helleu
4baf0e8526
relay: add final '\0' in body when parsing HTTP response
...
This fixes tests on Debian GNU/Hurd.
2024-04-24 21:24:51 +02:00
Sébastien Helleu
1e08b1119a
relay: fix default value of remote options
2024-04-23 22:57:57 +02:00
Sébastien Helleu
fb9d677020
doc/api: add changes on functions command and command_options introduced in version 4.0.0
2024-04-23 22:54:00 +02:00
Sébastien Helleu
d0f0a7834d
core: do not color prefix of join/part/quit messages when the nick is offline
2024-04-17 08:32:19 +02:00
Nils Görs
eadb7e95ef
core: update German translations
2024-04-15 13:02:23 +02:00
Nils Görs
634f467c8d
core: update German translations
2024-04-15 11:06:45 +02:00
Sébastien Helleu
c1b49f71a5
core: update French translations
2024-04-14 19:15:59 +02:00
Sébastien Helleu
42b073629d
relay: ignore unused parameter "gnutls_rc"
2024-04-14 19:14:19 +02:00
Sébastien Helleu
731871dd78
relay: remove commented variable
2024-04-14 19:13:47 +02:00
Sébastien Helleu
b7d07840d1
relay: add connection with proxy to remote
2024-04-14 19:12:35 +02:00
Sébastien Helleu
9defa13bbe
relay: remove commented code
2024-04-14 19:12:22 +02:00
Sébastien Helleu
984fdb2b58
relay: add TLS connection to remote, add remote option "tls_verify"
2024-04-14 19:00:05 +02:00
Sébastien Helleu
a4236be509
relay: add missing proxy in output of /remote listfull <name>
2024-04-14 16:14:51 +02:00
Sébastien Helleu
92d27d8676
relay: fix read of remote name in infolist
2024-04-14 15:51:03 +02:00
Sébastien Helleu
e1b1946ee4
relay: add check and change callbacks for remote option "url"
2024-04-14 14:58:26 +02:00
Sébastien Helleu
252787c457
relay: fix memory leak when adding a new remote
2024-04-14 09:14:00 +02:00
Sébastien Helleu
18d32cb613
core: add issue #1747 in ChangeLog
2024-04-13 20:35:24 +02:00
Sébastien Helleu
b909522307
core: update ChangeLog (issue #2106 )
2024-04-12 23:00:57 +02:00
Sébastien Helleu
5eb47ccf53
core: update French translations
2024-04-12 22:59:21 +02:00
90
8c3f16dbe3
core: add support for $XDG_STATE_HOME
2024-04-12 22:57:57 +02:00
Nils Görs
3bfe4e52ca
core: update German translations
2024-04-12 16:41:10 +02:00
Sébastien Helleu
c112d0aafa
tests: add placeholder for tests on function gui_line_is_action
2024-04-11 23:03:44 +02:00
Sébastien Helleu
b0b733a8f0
core: use nick offline color for nick in action message
2024-04-11 22:52:54 +02:00
Sébastien Helleu
ae892d2893
core: use nick offline highlight color for prefix of action message when the nick is offline with a highlight
2024-04-11 22:50:39 +02:00
Sébastien Helleu
90998bd296
relay/api: fix reconnection to remote after disconnection
2024-04-10 21:58:11 +02:00
Sébastien Helleu
976e5e8ae4
relay/api: free hook_url_handshake when disconnecting from remote
2024-04-10 21:57:00 +02:00
Sébastien Helleu
f40f3cfa40
relay/api: add tags in lines displayed in remote buffers
2024-04-10 20:57:16 +02:00
Sébastien Helleu
5046a9b596
relay/api: fix decoding of large websocket frames in remote client ( closes #2107 )
2024-04-09 13:32:34 +02:00
Sébastien Helleu
dbf9068909
relay/api: read data on socket only if connected
2024-04-09 13:15:15 +02:00
Sébastien Helleu
e8081fe4f7
relay/api: free frames after use
2024-04-09 13:13:32 +02:00
Sébastien Helleu
ed2becf8fe
relay: free frames only if they were allocated by function relay_websocket_decode_frame
2024-04-09 13:08:12 +02:00
Sébastien Helleu
f7c27b0801
relay: free all data in remote
2024-04-09 13:02:45 +02:00
Sébastien Helleu
fadf9c47c9
relay/api: use function asprintf in JSON send functions
2024-04-08 19:12:33 +02:00
Sébastien Helleu
a3c9a5b897
relay: fix build when CJSON is disabled
2024-04-08 07:32:03 +02:00
Sébastien Helleu
2fe215276e
core: add version 4.2.2 in ChangeLog and release notes
2024-04-07 19:04:08 +02:00
Sébastien Helleu
419515845d
relay: simplify function relay_auth_check_hash_sha
2024-04-07 17:54:28 +02:00
Sébastien Helleu
5eaac71d25
relay/api: use function asprintf to build string with salt and password
2024-04-07 17:53:42 +02:00
Sébastien Helleu
fd5f42dc06
relay/api: fix authentication with remote using hash algorithm "sha256" or "sha512"
2024-04-07 17:29:35 +02:00
Sébastien Helleu
ec8c4cc042
relay/api: use function asprintf to build key and check websocket reply
2024-04-07 17:22:03 +02:00
Sébastien Helleu
86dea12b71
tests: fix relay/api tests on group and nick colors
2024-04-07 17:22:03 +02:00
Sébastien Helleu
ec3b3d47be
relay/api: convert group/nick color names to the real color code
2024-04-07 16:59:45 +02:00
Sébastien Helleu
8cb302e600
relay: add example with "api" protocol in /help relay (issue #2066 )
2024-04-07 15:33:41 +02:00
Sébastien Helleu
eacd0002dd
relay: add missing line for "api" protocol in /help relay (issue #2066 )
2024-04-07 15:33:36 +02:00
Sébastien Helleu
91a9af72b1
doc: generate doc for all commands except default aliases
2024-04-07 15:28:34 +02:00
Sébastien Helleu
cb6c2fd637
core: update French translations (issue #2066 )
2024-04-07 14:51:09 +02:00
Sébastien Helleu
ef12c93f1b
relay: improve messages displayed (issue #2066 )
2024-04-07 14:49:12 +02:00
Sébastien Helleu
14beee8a91
relay/api: rename field "nicks" to "nicklist" in GET /api/buffers
2024-04-07 13:18:14 +02:00
Sébastien Helleu
7c2f44e74e
relay/api: add nicklist group and nick id in response to GET /api/buffers (issue #2081 )
2024-04-07 13:18:14 +02:00
Sébastien Helleu
89fe540b53
core: add unique "id" in nicklist group and nick (issue #2081 )
...
The id is a "long long" variable with the current time (microseconds
precision).
It is guaranteed to be unique for all groups and nicks inside the buffer, and
the same number is never used again in the same buffer, during the lifetime of
the process.
It persists and is unchanged after `/upgrade`.
2024-04-07 13:18:14 +02:00
Sébastien Helleu
40a68549b5
relay: set default value of undefined remote options to empty string instead of NULL (issue #2066 )
...
This fixes the websocket connection to remote that is not initiated after the
successful handshake with the remote relay/api.
2024-04-07 13:18:14 +02:00
Sébastien Helleu
a499b50b7b
relay: add synchronization with remote and handler for events received (issue #2066 )
2024-04-07 13:18:14 +02:00
Sébastien Helleu
b6647004a5
relay: do not share content of any relay buffer in api and weechat protocols (issue #2066 )
...
This is to prevent infinite loop when connected to a remote which is the
weechat instance itself.
2024-04-07 13:18:14 +02:00
Sébastien Helleu
2cf66de423
api: add function "asprintf"
2024-04-07 13:18:13 +02:00
Sébastien Helleu
08bc6404eb
doc/api: fix typo: "formattée" -> "formatée"
2024-04-07 13:18:13 +02:00
Sébastien Helleu
4adb64284b
buffer: add property input_get_any_user_data in buffer (issue #2066 )
...
This allows buffers to get any user input, including commands, that are sent to
the buffer callback instead of being executed on the buffer.
2024-04-07 13:18:13 +02:00
Sébastien Helleu
3cce916035
relay/api: add fields "displayed" and "notify_level" in lines returned (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
64db1b958d
relay/api: replace direct access to JSON number value by call to function cJSON_GetNumberValue() (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
cb785d5035
relay/api: add "request" and "request_body" in response when connected via websocket (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
9d7e887d8e
relay/api: add "body_type" in response when a body is set and connected via websocket (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
643adecff5
relay: add option send in command /remote (issue #2066 )
...
This can be used to send raw JSON data encapsulated in a websocket frame to the
remote.
Example: /remote send test {"request":"GET /api/version"}
2024-04-07 13:18:13 +02:00
Sébastien Helleu
4460f92727
relay: stop URL address before the first question mark if colon is not found (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
f507be4128
tests: add tests on relay remote functions (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
a3f3c9d09c
relay: check that parameter ws_deflate is not NULL in function relay_websocket_deflate_free (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
90b855e1aa
relay: add connection to remote (issue #2066 )
...
Connection to remote:
- handshake: offer support for all supported hash algorithms
- network connect with a socket
- upgrade to websocket and authenticate with remote (password/TOTP)
- check websocket response
- get list of buffers (not used yet)
Note: connection to remote with TLS or a proxy is not yet supported.
2024-04-07 13:18:13 +02:00
Sébastien Helleu
fd32192464
relay: add option disconnect in command /remote (issue #2066 )
2024-04-07 13:18:10 +02:00
Sébastien Helleu
c2343ecb74
relay: add functions to parse HTTP response (issue #2066 )
2024-04-07 13:16:50 +02:00
Sébastien Helleu
c4c220f0a3
relay: add proxy option in remote (issue #2066 )
2024-04-07 13:16:50 +02:00
Sébastien Helleu
3f993f9422
relay/api: fix style (issue #2066 )
2024-04-07 13:16:50 +02:00
Sébastien Helleu
786f889251
relay: add command /remote, add remote configuration in relay.conf (issue #2066 )
2024-04-07 13:16:47 +02:00
Sébastien Helleu
a89bc85dc0
core: update ChangeLog
2024-04-06 22:47:38 +02:00
Sébastien Helleu
40bfded594
irc: fix display of reply for CTCP request received on a channel when capability echo-message is enabled
2024-04-06 22:44:04 +02:00
Sébastien Helleu
2c3c9a3ee7
tests: rename variable "i" to "echo_message"
2024-04-06 18:29:42 +02:00
Sébastien Helleu
74729ce677
irc: display CTCP reply to a nick in server buffer instead of channel
...
When a CTCP request is received on a channel, WeeChat replies to the nick and
it is now displayed in the server buffer instead of the channel, as the target
is a nick and not a channel.
2024-04-06 16:42:15 +02:00
Sébastien Helleu
d81170b010
tests: add extra tests on received IRC CTCP messages
2024-04-06 16:37:40 +02:00
Sébastien Helleu
f3f9dc388f
core: remove whitespace
2024-04-01 22:23:48 +02:00
Sébastien Helleu
7e997f87e8
core: add cast to "const char *" for hashtable value
2024-04-01 21:48:11 +02:00
Sébastien Helleu
965beb37de
core: fix print of pointer values
2024-04-01 21:08:52 +02:00
Mario Campos
a7c92e2d24
ci: add CodeQL code scanning ( closes #2102 )
2024-04-01 18:42:05 +02:00
Sébastien Helleu
1fb6fda89b
relay: rename function relay_api_search_buffer_id_name to relay_api_protocol_search_buffer_id_name
2024-03-29 13:02:45 +01:00
Nils Görs
a23b5b5a37
core: update German translations, fixed typo
2024-03-28 13:12:19 +01:00
Sébastien Helleu
acef7dd317
relay: move assignment after comment with important note
2024-03-26 21:22:55 +01:00
Sébastien Helleu
3d8607673e
relay: fix typo in comment
2024-03-26 21:22:15 +01:00
Sébastien Helleu
5a3dff1b97
relay: fix typo in comment
2024-03-26 20:23:10 +01:00
Sébastien Helleu
372ffc1690
irc: fix error displayed on connection in case of insufficient memory
2024-03-26 20:22:50 +01:00
Sébastien Helleu
fd06c67b58
relay: add size for array relay_auth_password_hash_algo_name
2024-03-26 10:40:38 +01:00
Nils Görs
0778d37924
core: update German translations
2024-03-26 09:27:00 +01:00
Sébastien Helleu
6e5eb5eb25
fset: fix typo in /help fset
2024-03-26 09:21:04 +01:00
Sébastien Helleu
2f5936bc9f
relay: set the last IRC client disconnection time only after a successful connection ( closes #2103 )
2024-03-26 08:04:49 +01:00
Sébastien Helleu
3db4dd2790
fset: display number of commands executed in imported file, improve errors displayed
2024-03-26 07:46:35 +01:00
Sébastien Helleu
26630ada2d
fset: add option -import in command /fset
2024-03-25 21:00:42 +01:00
Sébastien Helleu
8482e14630
core: display a specific message when the value of option is unchanged after /set command
2024-03-25 12:06:59 +01:00
Nils Görs
a7f8c32797
core: update German translations
2024-03-25 11:44:01 +01:00
Sébastien Helleu
9bc4352089
core: fix tests on function strftimeval on Alpine
2024-03-24 20:56:29 +01:00
Sébastien Helleu
907643bc9c
core: add option weechat.completion.case_sensitive
2024-03-24 15:40:06 +01:00
Sébastien Helleu
947155f325
doc/user: fix typo in trigger regex replace ${re:+}
2024-03-21 23:04:18 +01:00
Sébastien Helleu
59d8857646
doc/user: add missing ${re:#} and ${re:repl_index} in trigger regex replace
2024-03-21 22:55:28 +01:00
Sébastien Helleu
d6386cd364
doc/api: fix style in example ${re:+}
2024-03-21 22:43:35 +01:00
Nils Görs
7d5503e84b
core: update German translations
2024-03-20 09:56:19 +01:00
Sébastien Helleu
762d71012a
script: add option enable in command /script, improve error displayed when download of scripts is disabled
2024-03-19 20:45:22 +01:00
Sébastien Helleu
7aa5d718a8
core: send signal "hotlist_changed" only if the order of hotlist has changed after sort (issue #2097 )
2024-03-18 21:45:47 +01:00
Sébastien Helleu
77bc38d21d
core: reduce number of re-sort of hotlist (issue #2097 )
...
Restore original signals caught: "buffer_moved" and "buffer_closed", and the
signal "buffer_localvar_*" is added so that any local variable
added/changed/removed triggers a re-sort of hotlist.
2024-03-18 21:44:23 +01:00
Sébastien Helleu
34a72ac02e
relay/api: add GET /api/hotlist
2024-03-17 20:13:19 +01:00
Sébastien Helleu
0b0ab94aa3
tests/gui: add tests on hotlist functions
2024-03-17 15:00:00 +01:00
Sébastien Helleu
c516ff64f2
tests/scripts: make tests fail if a compiled scripting plugin fails to load
2024-03-17 13:45:39 +01:00
Sébastien Helleu
1f47e7c4f8
tests: add missing include of string.h in relay API protocol tests
2024-03-17 10:47:46 +01:00
Nils Görs
f7b8e81941
core: update German translations
2024-03-16 22:57:03 +01:00
Sébastien Helleu
e29f496a96
core: optimize sort of hotlist
...
Entries are not duplicated any more.
2024-03-16 22:25:51 +01:00
Sébastien Helleu
55203680ba
core: don't resort hotlist when signal "hotlist_changed" is sent
2024-03-16 22:25:45 +01:00
Sébastien Helleu
c05b228078
core: sort hotlist and remove buffer even while upgrading
2024-03-16 21:33:08 +01:00
Sébastien Helleu
d462667ee6
core: fix crash on /upgrade when hotlist contains buffers that are closed
2024-03-16 17:24:12 +01:00
Sébastien Helleu
8eafc0624c
core: resort hotlist on any buffer signal (issue #2097 )
2024-03-16 14:43:53 +01:00
Sébastien Helleu
29b502a06a
buflist: fix help on option buflist.look.sort (issue #2097 )
2024-03-16 14:14:28 +01:00
Sébastien Helleu
25a317280f
core: fix typo in option weechat.look.hotlist_sort: time.usec -> time_usec (issue #2097 )
2024-03-16 14:08:07 +01:00
Sébastien Helleu
f856173e1f
core: add option weechat.look.highlight_prefix ( closes #2079 )
2024-03-16 11:32:51 +01:00
Sébastien Helleu
6f660f2430
core: add variable ${highlight} in option weechat.look.buffer_time_format (issue #2079 )
2024-03-16 09:46:55 +01:00
Sébastien Helleu
41fb29bbd0
core: convert option weechat.look.hotlist_sort to a list of fields ( closes #2097 )
2024-03-15 21:44:14 +01:00
Sébastien Helleu
ea86f75319
tests: add hdata tests with struct timeval
2024-03-15 21:32:40 +01:00
Sébastien Helleu
c98d12b4af
core: rename variables with creation time in hdata "hotlist"
...
Variables renamed:
- "creation_time.tv_sec" -> "time"
- "creation_time.tv_usec" -> "time_usec"
2024-03-15 21:32:37 +01:00
Sébastien Helleu
305b046370
core: add macro to define hdata variable with different field and name
2024-03-15 21:32:35 +01:00
Sébastien Helleu
080eecef2c
core: add missing hdata name "buffer" in hdata "hotlist"
2024-03-15 21:32:32 +01:00
Sébastien Helleu
fe01faa9ab
core: update ChangeLog (issue #2093 )
2024-03-13 13:51:22 +01:00
Trygve Aaberge
811390ebb1
core: make search_stop scroll to search start position
...
When you run /input search_stop it should scroll to the scroll position
the buffer was at before starting the search, rather than to the bottom
of the buffer.
Fixes a regression introduced in commit b83b428c5c
Fixes #2093
2024-03-13 13:50:04 +01:00
Sébastien Helleu
dd128dace8
core: update ChangeLog ( closes #1906 )
2024-03-13 13:14:40 +01:00
wfrsk
4d83adc7d8
lua: fix code style
2024-03-13 13:10:07 +01:00
wfrsk
fd541395f4
lua: do not depend on an init script + rework weechat_lua_output
2024-03-13 13:02:29 +01:00
wfrsk
97f87932fe
lua: do not load the debug library
2024-03-13 13:02:29 +01:00
wfrsk
b0581ac1f8
lua: do not depend on luaL_openlibs
2024-03-13 13:02:29 +01:00
Sébastien Helleu
3b9e2f480d
tests: reorder tests on core directory functions
2024-03-13 13:01:50 +01:00
Mario Campos
f76d236015
GUI: fix potential integer overflow bugs by casting to size_t
2024-03-13 09:09:29 +01:00
Mario Campos
1797fe18a3
fset: replace call to chmod() by fchmod() in the export function
2024-03-13 07:19:55 +01:00
Mario Campos
63733d81d8
core: open the file exclusively in compress file functions
...
This also removes the unnecessary call to access() function before the call to
fopen().
2024-03-13 07:17:02 +01:00
Mario Campos
23e0533ea1
core: remove unnecessary call to stat() in hash file function
...
The call to fopen() will fail anyway if the file doesn't exist.
2024-03-13 07:15:12 +01:00
Sébastien Helleu
24c4029c96
core: remove "wee-" prefix from source files in src/core and src/core/hook
2024-03-12 21:27:37 +01:00
Sébastien Helleu
bb346f8c6c
relay/api: replace "context" by "buffer_id" (issue #2081 )
2024-03-12 20:37:52 +01:00
Sébastien Helleu
48ca390f79
relay/api: add support of buffer id in POST /api/input (issue #2081 )
2024-03-12 20:37:51 +01:00
Sébastien Helleu
aa989767a1
relay/api: add support of buffer id in GET /api/buffers (issue #2081 )
2024-03-12 20:37:50 +01:00
Sébastien Helleu
7ad3c1979c
tests/relay/api: add buffer id in test of buffer to json function (issue #2081 )
2024-03-12 20:37:48 +01:00
Sébastien Helleu
99f0a2e002
tests/relay/api: add tests on API protocol
2024-03-12 20:37:48 +01:00
Sébastien Helleu
6325add517
tests/relay/irc: use port 9001 for server relay
2024-03-12 20:37:48 +01:00
Sébastien Helleu
e791535773
relay: add a fake send function in client
...
This will be used in unit tests to get the data that is sent to clients.
2024-03-12 20:37:48 +01:00
Sébastien Helleu
0ac377d306
relay/api: add a global variable to customize the command delay in POST /api/input
...
The user can not change this, the variable will be set to 0 in unit tests to
execute the command immediately.
2024-03-12 20:37:48 +01:00
Sébastien Helleu
59c977ddc9
relay/api: check that "request" field is a string in JSON received (websocket connection)
2024-03-12 20:37:48 +01:00
Sébastien Helleu
4f9bcc73ca
relay/api: allow POST /api/handshake without a body
2024-03-12 20:37:48 +01:00
Sébastien Helleu
8c5db76271
relay/api: fix error displayed when buffer is not found in POST /api/input
2024-03-12 20:37:48 +01:00
Sébastien Helleu
80709292d4
tests/relay/irc: fix comments
2024-03-12 20:37:48 +01:00
Sébastien Helleu
f2f6afb59c
tests/relay/irc: remove unused calls to record functions
2024-03-12 20:37:48 +01:00
Sébastien Helleu
3045322822
relay/weechat: add buffer id in signals sent to clients (issue #2081 )
2024-03-12 20:37:47 +01:00
Sébastien Helleu
29d4bc3102
relay/api: add buffer is in response to GET /api/buffers (issue #2081 )
2024-03-12 20:37:45 +01:00
Sébastien Helleu
f9e8c7faab
api: allow search by buffer id in function buffer_search (issue #2081 )
2024-03-12 20:37:44 +01:00
Sébastien Helleu
5af0415508
core: add function gui_buffer_search_by_id (issue #2081 )
2024-03-12 20:37:42 +01:00
Sébastien Helleu
c71e6a50eb
core: rename function gui_buffer_search_by_name to gui_buffer_search (issue #2081 )
2024-03-12 20:37:40 +01:00
Sébastien Helleu
4ffd62b206
core: add unique "id" in buffer (issue #2081 )
...
The id is a "long long" variable with the current time (microseconds
precision).
It is guaranteed to be unique for all buffers, and the same number is never
used again, during the lifetime of the process.
It persists and is unchanged after `/upgrade`.
2024-03-12 20:37:36 +01:00
Sébastien Helleu
afc4dff71b
core: use dynamic string in function infolist_fields
2024-03-12 20:37:36 +01:00
Sébastien Helleu
9e0dd18152
api: add function "hdata_longlong" (issue #2081 )
2024-03-12 20:37:11 +01:00
Nils Görs
c85b57b8b3
core: update German translations
2024-03-12 17:16:36 +01:00
Sébastien Helleu
34e99987bf
doc/user: clarify what is ${nick} in trigger IRC signal data
2024-03-11 07:20:38 +01:00
Sébastien Helleu
1ab62e37cb
api: add modifier "color_decode" to decode WeeChat colors with a replacement string
2024-03-10 09:31:32 +01:00
Sébastien Helleu
3f49b1b44a
core: use whole replacement string instead of first char in function gui_color_decode
2024-03-10 09:21:28 +01:00
Sébastien Helleu
431cf23a0c
exec: remove trailing space on buffers with free content when line numbers are not displayed
2024-03-08 08:19:20 +01:00
Sébastien Helleu
a6c509611a
exec: add missing exec tags in lines of buffers with free content ( closes #2086 )
2024-03-07 21:52:21 +01:00
Nils Görs
ec56a1103f
doc: update German documentation
2024-03-07 12:04:05 +01:00
Nils Görs
ccc5c75a03
core: update German translations
2024-03-07 11:52:22 +01:00
Sébastien Helleu
732887cef7
doc/plugin: add missing translation comments
2024-03-07 07:32:20 +01:00
Sébastien Helleu
cb6ecb6818
core: check if malloc.h is present, independently of function malloc_trim
2024-03-06 23:09:00 +01:00
Sébastien Helleu
70828a7dd1
irc: add option -all in command /allchan, do not execute command on parted channels by default ( closes #2085 )
2024-03-06 23:03:02 +01:00
Sébastien Helleu
ab2e29fb0f
core: include header malloc.h only if function malloc_trim is available
2024-03-06 22:52:43 +01:00
Sébastien Helleu
8c1df496ae
core: update translations
2024-03-06 22:41:42 +01:00
Sébastien Helleu
68598de958
core: check that function malloc_trim is available, display an error if not available
2024-03-06 22:36:37 +01:00
Sébastien Helleu
a1bee89ecc
core: add option malloc_trim in command /sys
2024-03-06 22:00:48 +01:00
Sébastien Helleu
7385f767e3
irc: use API config functions to get inherited value (server options)
2024-03-06 21:32:34 +01:00
Sébastien Helleu
5c88ee9c45
core: add support of SGR mouse events, remove option weechat.look.mouse_timer_delay ( closes #2082 )
2024-03-06 20:33:17 +01:00
Nils Görs
a8a0053211
core: update German translations
2024-03-06 11:17:38 +01:00
Sébastien Helleu
12521898f9
doc/scripting: auto-generate list of scripting functions and constants from Python API
2024-03-05 19:58:21 +01:00
Sébastien Helleu
6c72d6f66d
python: add infolists "python_function" and "python_constant"
2024-03-05 19:56:35 +01:00
Sébastien Helleu
81599b88d4
plugins: move scripting API constants to plugin-script.c
2024-03-05 19:52:21 +01:00
Sébastien Helleu
84437ab672
tests: add tests on scripting API constants
2024-03-05 19:52:21 +01:00
Sébastien Helleu
014dc845e8
doc: move script doc/python_stub.py to tools/generate_python_stub.py
2024-03-05 19:52:21 +01:00
Sébastien Helleu
361d55d9d7
api: add functions config_{boolean|integer|string|color|enum}_inherited in scripting API
2024-03-05 19:52:21 +01:00
Sébastien Helleu
8f0b3ab9c7
tests/scripts: fix representation of None Python value in generated scripts
2024-03-05 19:51:15 +01:00
Sébastien Helleu
1451e12c78
core: refactor functions that read values of config options
2024-03-05 19:51:15 +01:00
Sébastien Helleu
6817542f95
tests: add tests on functions that read values of config options
2024-03-05 19:51:15 +01:00
Sébastien Helleu
c3eff15a56
api: add functions config_option_get_string and config_option_get_pointer in scripting API
2024-03-05 19:51:15 +01:00
DasBrain
0bf560f9b7
tcl: simplify return macros
2024-03-05 19:15:19 +01:00
DasBrain
ff2189f3d9
tcl: refactor creation of constants
2024-03-05 19:15:19 +01:00
Nils Görs
439a2d9c7a
core: update German translations
2024-02-26 15:16:42 +01:00
Sébastien Helleu
6d549d0da9
relay/api: rename "salt" to "timestamp"
2024-02-26 12:56:44 +01:00
Sébastien Helleu
22686da40c
doc/api: fix string format in calls to weechat.prnt (examples in Python)
2024-02-25 17:23:09 +01:00
Sébastien Helleu
f649ccc3b8
python: fix truncation of unsigned long long integer returned by function string_parse_size
2024-02-25 17:07:11 +01:00
Sébastien Helleu
c5800178a0
php: remove constants that must not be visible in scripts
2024-02-25 16:32:21 +01:00
Sébastien Helleu
c5887354bd
tcl: fix truncation of long integer returned by function hdata_long
2024-02-25 16:12:54 +01:00
Sébastien Helleu
3f08785aee
core: add missing mouse event "alt-ctrl-button3"
2024-02-24 22:05:14 +01:00
Sébastien Helleu
191701a5f3
doc/user: fix order of mouse event modifiers
...
Key "alt" is always before "ctrl".
2024-02-24 18:53:46 +01:00
Sébastien Helleu
d52fea1d5e
core: fix typo in comment
2024-02-24 18:50:26 +01:00
Sébastien Helleu
24f0e95de7
core: add missing mouse event "alt-ctrl-button2"
2024-02-24 18:35:21 +01:00
Ivan Pešić
40deb493d5
doc: Update Serbian translation
2024-02-23 08:22:26 +01:00
Ivan Pešić
ef2ef9846d
core: Update Serbian translation
...
Some typos are corrected
2024-02-23 08:22:26 +01:00
Trygve Aaberge
e02ee703f0
docs: fix some typos in documentation and comments
2024-02-23 08:21:49 +01:00
Sébastien Helleu
27331dec5e
core: add contributor
2024-02-22 19:30:53 +01:00
Johannes Kuhn
db6b96f629
tcl: make plugin compatible with Tcl 9.0
...
Replace calls to Tcl_GetStringFromObj by Tcl_GetString.
2024-02-22 19:30:53 +01:00
Sébastien Helleu
ef5ebc19e9
fset: allow filename starting with "~" in command /fset -export
2024-02-21 22:05:16 +01:00
Sébastien Helleu
76998665f4
script: always display list of scripts when searching scripts with /script search ( closes #2077 )
2024-02-21 21:36:52 +01:00
Sébastien Helleu
b5a32c0fa9
script: fix default mouse keys ( closes #2076 )
...
Some parameters of command `/script` were renamed in commit
85b5bacfe3 but the default mouse keys were not
changed and still using the old parameters names.
2024-02-21 21:10:25 +01:00
Nils Görs
4c5f98946a
core: update German translations
2024-02-19 20:07:29 +01:00
Sébastien Helleu
a44ffa147f
script: add info "script_loaded"
2024-02-19 18:33:36 +01:00
Sébastien Helleu
a167322d8b
api: add info "plugin_loaded"
2024-02-19 18:29:21 +01:00
Sébastien Helleu
f19808cedd
tests: add tests on "api" relay (general functions and messages)
2024-02-18 23:42:22 +01:00
Sébastien Helleu
0f30a4e020
relay: move functions to get URL parameters from api to relay-http.c, add tests
2024-02-18 23:13:20 +01:00
Sébastien Helleu
9b9b36bb02
tests: fix free of HTTP request
2024-02-18 23:12:56 +01:00
Sébastien Helleu
c4ac9046b2
relay/api: fix comment of function relay_api_protocol_get_param_boolean
2024-02-18 18:52:57 +01:00
Sébastien Helleu
61a8e4e27e
relay/api: add key "visible" with boolean value in nick and group objects
2024-02-18 18:52:52 +01:00
Sébastien Helleu
780be1e1b7
relay/api: rename key "index" to "y" in line object
2024-02-18 18:24:19 +01:00
Nils Görs
4858d88567
core: update German translations
2024-02-17 17:31:57 +01:00
Sébastien Helleu
6659bf1642
core: display the 3 variants for "${split}" and "${split_shell}" in /help eval
2024-02-17 13:23:38 +01:00
Sébastien Helleu
b3a214252b
core: add "${hl:string}" and "${raw_hl:string}" in /eval completions
2024-02-17 13:22:40 +01:00
Sébastien Helleu
4c6db9711a
core: add the different variants for "chars" in /eval completions
2024-02-17 13:22:05 +01:00
Sébastien Helleu
213483e678
core: add the different bases in /eval completions for "base_decode" and "base_encode"
2024-02-17 13:20:17 +01:00
Sébastien Helleu
9b9e0f042c
core: replace "xxx" by "string" and "number" by "N" in /eval completions
2024-02-17 13:09:20 +01:00
Sébastien Helleu
831dcac808
core: list operators by order of priority in /help eval (issue #2005 )
2024-02-17 10:58:40 +01:00
Sébastien Helleu
4e0f7dfd25
core: reintroduce help on the operators in /help eval (issue #2005 )
2024-02-17 10:54:25 +01:00
Sébastien Helleu
a35ac5e8d9
core: reintroduce help on the variables in /help eval (issue #2005 )
2024-02-17 10:08:12 +01:00
Sébastien Helleu
90c87e7553
irc: add missing tags on self action messages when capability echo-message is enabled ( closes #2074 )
2024-02-16 20:58:31 +01:00
Sébastien Helleu
162bcb2622
irc: don't strip monospace color code 0x11 from incoming messages ( closes #2073 )
2024-02-16 19:22:28 +01:00
Nils Görs
8b6452eb91
core: update German translations
2024-02-12 10:56:35 +01:00
Sébastien Helleu
e4e6fde80f
core: add option -s in command /command to execute multiple commands separated by semicolons
2024-02-11 21:48:31 +01:00
Sébastien Helleu
e0ec8da76a
core: move lines from 4.1.0 to 4.2.0 in ChangeLog
2024-02-11 14:32:29 +01:00
Sébastien Helleu
635dd818b5
core: add again line about function hook_url in ChangeLog (issue #1723 )
2024-02-11 14:22:12 +01:00
Sébastien Helleu
0cfc61a17e
irc: add server option "autojoin_delay" ( closes #862 )
...
The server option "autojoin_delay" adds a delay before autojoin.
The server option "command_delay" is now used to add a delay before the
execution of the command.
On upgrade from an old version, the option "command_delay" is copied to
"autojoin_delay" (in old versions, "command_delay" was applied after the
execution of command and before the autojoin).
2024-02-11 09:12:57 +01:00
Sébastien Helleu
f153b6e6c3
relay: change message displayed when there is not enough memory for websocket frame
2024-02-11 08:53:29 +01:00
Sébastien Helleu
9ce435fa5e
relay: add WeeChat version in config update callback
2024-02-11 08:47:56 +01:00
Sébastien Helleu
5a00f1a138
irc: add WeeChat version in config update callback
2024-02-11 08:41:15 +01:00
Sébastien Helleu
9eb3403008
alias: add WeeChat version in config update callback
2024-02-11 08:40:49 +01:00
Sébastien Helleu
e191d9225b
core: add WeeChat version in config update callback
2024-02-11 08:40:25 +01:00
Sébastien Helleu
e08f6aab55
core: add issue #1903 in ChangeLog
2024-02-11 08:39:06 +01:00
Sébastien Helleu
19bf6c9672
tests: fix compiler warning on empty snprintf format
...
This fixes the following warning:
test-core-dir.cpp:178:36: warning: zero-length gnu_printf format string [-Wformat-zero-length]
2024-02-10 19:02:17 +01:00
Sébastien Helleu
e9dbf23a18
trigger: fix memory leak when adding a new trigger with /trigger command
2024-02-10 17:50:24 +01:00
Sébastien Helleu
caa51160da
core: remove trailing directory separators in home directories ( closes #2070 )
2024-02-10 10:23:40 +01:00
Sébastien Helleu
5c6e6f43d1
relay: disable "permessage-deflate" websocket extension when option relay.network.compression is set to 0
2024-02-04 18:54:56 +01:00
Sébastien Helleu
0414c139b0
relay: fix decoding of websocket frame when a partial frame is received
2024-02-04 18:52:00 +01:00
Sébastien Helleu
b7ecf93a22
relay: fix websocket decompression when output buffer is not large enough
2024-02-04 18:23:40 +01:00
Sébastien Helleu
162dc87796
scripts: fix crash on script unload when a hook is created in a buffer close callback ( closes #2067 )
2024-02-04 13:57:35 +01:00
Sébastien Helleu
7f2f60dab0
ci: remove tests on macOS 11
2024-02-03 22:50:27 +01:00
Sébastien Helleu
820a3e8767
relay: free ws_deflate when http request is freed
2024-02-03 11:30:35 +01:00
Sébastien Helleu
052db75805
relay/api: add extra check on JSON types in handshake and input resources (issue #2066 )
2024-02-03 08:38:57 +01:00
Sébastien Helleu
5c869722c1
core: disable CJSON in Debian/buster, Raspbian/buster and Ubuntu/focal builds (issue #2066 )
...
This is because in these versions the libcjson-dev package doesn't provide
pkg-config file.
2024-02-02 08:33:06 +01:00
Sébastien Helleu
bc464679a7
relay: fix build when CJSON is disabled (issue #2066 )
2024-02-02 07:44:57 +01:00
Sébastien Helleu
86685f4af4
core: update translations (issue #2066 )
2024-02-01 21:39:24 +01:00
Sébastien Helleu
6acf1af828
relay/api: add handshake resource, without authentication required (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
3f902dba28
relay: check that request is not NULL before compressing data (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
de72fe1db5
relay/api: fix send of responses 400 and 404 in case of error (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
89aeb03a13
relay: remove request from some function arguments (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
83567fd871
relay: allow password hash authentication in api relay, add option relay.network.time_window (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
70907fc169
relay: rename option relay.weechat.commands to relay.network.commands (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
f126255d6a
core: add support of base64url in encode/decode functions (issue #2066 )
2024-02-01 21:39:21 +01:00
Sébastien Helleu
6cfb31c306
relay: add support of websocket extension "permessage-deflate" ( closes #1549 )
...
This extension is used to compress and decompress websocket frames (using
the DEFLATE algorithm, with zlib).
2024-02-01 21:38:53 +01:00
Sébastien Helleu
8971fc069a
relay: add "api" protocol (HTTP REST API) (issue #2066 )
2024-02-01 21:38:49 +01:00
Krzysztof Korościk
179d53a12e
po: updated Polish translations
2024-01-31 21:16:52 +01:00
Sébastien Helleu
2469dc6df9
core: use function util_strftimeval in evaluation of expression date:xxx
2024-01-27 16:53:53 +01:00
Sébastien Helleu
e3af6a91d4
api: add support of specifier %! for timestamp in function util_strftimeval
2024-01-27 16:53:53 +01:00
Nils Görs
73a1c9753a
core: update German translations
2024-01-27 14:35:34 +01:00
Sébastien Helleu
1ac38a4cf9
core: add support of (?i) for argument "name" in /help buffer
2024-01-24 20:58:44 +01:00
Sébastien Helleu
09e01133d2
core: allow case insensitive search of partial buffer name with (?i)name in command /buffer
2024-01-24 20:54:41 +01:00
Sébastien Helleu
b7735632b8
tests: add tests on buffer properties "opening" and "type"
2024-01-24 20:47:51 +01:00
Sébastien Helleu
da79574ca7
core: return 0 in gui_buffer_is_main if plugin_name or name is NULL
2024-01-24 19:42:08 +01:00
Sébastien Helleu
971d5b6b64
doc/dev: update rules for indentation in C sources
2024-01-22 20:59:51 +01:00
Sébastien Helleu
88d391bca3
core: add version 4.2.1 in ChangeLog and release notes
2024-01-22 20:45:25 +01:00
Sébastien Helleu
fe52f7c78c
tests: remove extra empty line
2024-01-22 13:58:33 +01:00
Sébastien Helleu
06b4e46977
irc: fix random date displayed when a received message contains tags but no "time" ( closes #2064 )
2024-01-22 13:18:25 +01:00
Sébastien Helleu
750e677490
Version 4.3.0-dev
2024-01-21 09:36:44 +01:00
Sébastien Helleu
017d9bd975
Version 4.2.0
2024-01-21 09:33:14 +01:00
Sébastien Helleu
05fdb2929f
tests: add missing format string in calls to snprintf
2024-01-21 09:17:11 +01:00
Sébastien Helleu
d5b61f565e
core: add versions 4.0.8 and 4.1.3 in ChangeLog and release notes
2024-01-20 09:27:35 +01:00
Ivan Pešić
ff1c3d37d1
core: Update Serbian messages
2024-01-15 10:25:17 +01:00
Ivan Pešić
f5a0a6c507
doc: Update Serbian translation
2024-01-15 10:25:17 +01:00
Nils Görs
bee3fb311b
core: update German translations
2024-01-15 07:44:28 +01:00
Sébastien Helleu
3efcdbd521
doc/dev: remove conflict marker in Serbian doc
2024-01-14 00:29:47 +01:00
Sébastien Helleu
869fba9f74
irc: add tests on info functions (issue #2059 )
2024-01-12 17:58:36 +01:00
Sébastien Helleu
becdf76224
irc: check if arguments are not NULL in some infos
...
Affected infos:
- irc_server_isupport
- irc_server_isupport_value
- irc_server_cap
- irc_server_cap_value
2024-01-12 17:57:50 +01:00
Sébastien Helleu
8e252955da
irc: fix info "irc_is_message_ignored" ( closes #2059 )
2024-01-12 17:53:19 +01:00
Sébastien Helleu
71fee810c9
doc/api: add missing properties in functions buffer_get_integer and buffer_get_string
2024-01-06 20:46:30 +01:00
Sébastien Helleu
d8704d5c74
core: add variable "opening" in buffer, do not send buffer signals when the buffer is opening
2024-01-06 19:26:39 +01:00
Krzysztof Korościk
6efa574483
doc: update copyright dates
2024-01-06 16:23:22 +01:00
Krzysztof Korościk
4ffe67eafd
po: updated polish translation
2024-01-06 16:21:25 +01:00
Sébastien Helleu
b5ea82da48
relay/weechat: unhook hook_timer_nicklist when synchronization is stopped
2024-01-06 10:38:54 +01:00
Sébastien Helleu
5df85c7a53
relay: add global relay hdata variables
2024-01-06 09:56:23 +01:00
Sébastien Helleu
57a206287a
irc: fix display of self messages in case of message split failure
...
When the message sends inconsistent max lengths in message 005, the split of
self message fails and causes a display issue: the channel name is displayed
with the message:
nick | #channel :this is a test
instead of:
nick | this is a test
2024-01-05 21:36:58 +01:00
Sébastien Helleu
eb8ca14d83
relay: fix display of raw messages (issue #649 )
2024-01-05 20:30:02 +01:00
Sébastien Helleu
9d9a47f111
core: add support of microseconds in command /print -date (issue #649 )
2024-01-05 19:31:42 +01:00
Sébastien Helleu
4a1e5e7eaa
irc: remove function irc_protocol_parse_time, use API function weechat_util_parse_time (issue #649 )
2024-01-05 19:28:47 +01:00
Sébastien Helleu
f6ba789c3d
api: add function util_parse_time (issue #649 )
2024-01-05 19:09:19 +01:00
Sébastien Helleu
e88882f0ae
irc: display microseconds in some user messages (issue #649 )
2024-01-04 22:29:30 +01:00
Sébastien Helleu
89517d44a5
relay: add microseconds in relay raw messages (issue #649 )
2024-01-04 22:25:13 +01:00
Nils Görs
1875217509
doc: update German documentation
2024-01-04 09:54:04 +01:00
Nils Görs
3dbfa5350d
core: update German translations
2024-01-04 09:49:21 +01:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Krzysztof Korościk
934ef60151
doc: updated polish translation
2024-01-01 18:59:58 +01:00
Krzysztof Korościk
124c5adf62
po: updated polish translation
2024-01-01 16:07:17 +01:00
Faisal N Jawdat
5c65a73432
ruby: add detection for Ruby 3.3
2023-12-26 21:08:50 +01:00
Sébastien Helleu
9fb3d3f14c
core: store microseconds in buffer lines ( closes #649 )
2023-12-26 19:44:37 +01:00
Nils Görs
57f80a4c1f
core: update German translations
2023-12-25 16:45:51 +01:00
Sébastien Helleu
5ccb0c23f9
debian: exclude directories ".git", "build" and "release" from source package
2023-12-24 18:41:38 +01:00
Sébastien Helleu
31881ebacf
api: add property "type" in function buffer_get_string
2023-12-24 16:53:16 +01:00
Sébastien Helleu
28fc733aaf
core: display when zstd is not available in output of /debug libs
2023-12-24 16:50:45 +01:00
Sébastien Helleu
7700228823
relay: move function to check if buffer belongs to relay
2023-12-24 16:27:51 +01:00
Sébastien Helleu
76a3f85831
core: fix typo in ChangeLog
2023-12-15 22:59:20 +01:00
Sébastien Helleu
75dc8b9d6c
core: fix crash on plugin reload when using musl libs ( closes #2052 )
2023-12-15 22:53:51 +01:00
Sébastien Helleu
07fbd30948
tests: add missing include of string.h in plugin API info tests
2023-12-15 13:51:32 +01:00
Sébastien Helleu
1cc59edfcc
core: fix infinite loop in display when the chat area is too small ( closes #2053 )
2023-12-14 23:12:39 +01:00
Sébastien Helleu
fa0b320178
core: fix style
2023-12-14 23:11:35 +01:00
Nils Görs
ffa933bcf8
core: update German translations
2023-12-13 21:22:34 +01:00
Sébastien Helleu
b3422b96c0
irc: add option irc.look.display_host_wallops
2023-12-10 21:13:00 +01:00
Sébastien Helleu
3db8eb65ff
tests: add tests with options irc.look.display_host_{join|join_local|notice|quit} set to off
2023-12-10 21:03:33 +01:00
Ivan Pešić
73e3d0e693
doc: Update Serbian documentation
2023-12-05 22:32:18 +01:00
Ivan Pešić
4bc0fd588d
core: Update Serbian translation
2023-12-05 22:32:18 +01:00
Sébastien Helleu
a39a1832a1
Revert "core: fix detection of gettext headers on Darwin ( closes #2031 )"
...
This reverts commit 80fa597a71 .
2023-12-04 21:21:49 +01:00
Sébastien Helleu
d6ccfb5862
core: fix Polish translations
2023-12-04 21:07:46 +01:00
Sébastien Helleu
80fa597a71
core: fix detection of gettext headers on Darwin ( closes #2031 )
2023-12-04 21:02:26 +01:00
Krzysztof Korościk
dab17e8d59
po: updated polish translation
2023-12-04 19:46:09 +01:00
Nils Görs
d70ef53973
core: update German translations
2023-12-04 09:00:37 +01:00
Krzysztof Korościk
33e320ac95
po: updated part of polish translation
2023-12-04 00:04:31 +01:00
Sébastien Helleu
8c3b7b6c6e
core: add versions 4.0.7 and 4.1.2 in ChangeLog and release notes
2023-12-03 19:25:20 +01:00
Sébastien Helleu
6223639b71
core: improve forms for new issues, feature requests and questions on GitHub
2023-12-03 09:49:13 +01:00
NetSysFire
a788ca13d8
core: add forms for new issues, feature requests and questions on GitHub
2023-12-03 09:49:13 +01:00
Sébastien Helleu
bc08d9a2b3
tests: rename tests
2023-12-02 13:32:15 +01:00
Sébastien Helleu
52f32e5612
tests: add tests on plugin config functions
2023-12-02 13:24:42 +01:00
Sébastien Helleu
f4926cbd20
tests: rename file test-plugins-api-info.cpp to test-plugin-api-info.cpp
2023-12-02 13:17:47 +01:00
Sébastien Helleu
ba33e1db7d
tests: fix tests on function plugin_api_infolist_plugin_cb
2023-12-02 11:47:45 +01:00
Sébastien Helleu
d6796edac0
tests: add tests on plugin API info functions
2023-12-02 11:40:28 +01:00
Sébastien Helleu
36b9a58c72
tests: remove unneeded constant TOTP_SECRET
2023-12-02 09:44:07 +01:00
Sébastien Helleu
038eae07bd
api: add info "mouse"
2023-12-02 09:43:36 +01:00
Sébastien Helleu
445d1d0ec5
api: return NULL instead of empty infolist "key" when context is not found
2023-12-02 09:40:01 +01:00
Sébastien Helleu
51fec9257e
core: check that directory is not NULL in function plugin_api_info_absolute_path
2023-12-02 09:37:22 +01:00
Sébastien Helleu
de5b0aae47
core: rename variable "version" to "compilation_date"
2023-12-02 09:36:57 +01:00
Sébastien Helleu
9711d2dc76
tests: add placeholders for new functions in irc server tests
2023-12-01 07:10:36 +01:00
Nils Görs
7974f4f40a
core: update German translations
2023-11-30 21:09:58 +01:00
Sébastien Helleu
22fcb91e8b
irc: display messages 730/731 even if command /notify was not used ( closes #2049 )
2023-11-29 18:14:37 +01:00
Sébastien Helleu
0f1b18d415
core: move link to Mastodon before Diaspora*
2023-11-29 14:35:12 +01:00
Sébastien Helleu
f13c5b0b51
core: fix typo in release notes
2023-11-29 14:34:55 +01:00
Sébastien Helleu
996d1def22
core: update translations (issue #1039 )
2023-11-29 10:00:57 +01:00
Sébastien Helleu
de82d50768
irc: remove unneeded error message when an unknown server option is read in config file (issue #1039 )
...
This is not needed because an error is already displayed by WeeChat core and
the IRC error doesn't add anything relevant to the user.
2023-11-29 10:00:54 +01:00
Sébastien Helleu
f7b7e3975a
irc: add server option "anti_flood", remove server options "anti_flood_prio_{high|low}" (issue #1039 )
...
The new option is set in milliseconds.
2023-11-29 09:49:27 +01:00
Ivan Pešić
e51152e6a4
core: Update Serbian translation
2023-11-29 08:39:06 +01:00
Nils Görs
9aa9bf4c9f
core: update German translations
2023-11-28 12:03:18 +01:00
Sébastien Helleu
e74b5db253
irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
2023-11-26 18:58:48 +01:00
Sébastien Helleu
6d427421de
irc: add option irc.look.list_buffer
2023-11-24 19:42:28 +01:00
Sébastien Helleu
d4220e8144
tests: add eval tests on "raw" and "raw_hl" with escaped prefix
2023-11-24 08:04:35 +01:00
Sébastien Helleu
e01fa0aac9
tests: fix tests on function string_replace_with_callback
2023-11-23 22:01:48 +01:00
Sébastien Helleu
86cf456bb7
core: fix evaluation of ${raw_hl:...} with escaped prefix inside
...
Now `${raw_hl:\${` returns `\${` instead of `${`.
2023-11-23 20:59:31 +01:00
Sébastien Helleu
479ab5bc58
core: evaluate expressions even when the suffix is missing (issue #2042 , issue #1714 )
2023-11-23 08:49:54 +01:00
Sébastien Helleu
87f74e9f95
core: add syntax highlighting in evaluation of expressions, add option weechat.color.eval_syntax_colors (issue #2042 )
...
Syntax highlighting (raw string without evaluation): `${raw_hl:xxx}`
Syntax highlighting: `${hl:xxx}`
2023-11-23 08:49:54 +01:00
Sébastien Helleu
2b0c2747ad
api: remove script hooks before buffers/bar items/configs
...
This prevents a crash in some scripts that could use options after they are
freed, with the call to hook config callback that has been enabled by commit
2260214797 .
2023-11-21 20:57:49 +01:00
Sébastien Helleu
6b0b3996cd
core: add "core" in ChangeLog
2023-11-21 07:48:35 +01:00
Krzysztof Korościk
794dc115e5
po: updated polish translation
2023-11-20 23:52:08 +01:00
Krzysztof Korościk
117efa2716
po: updated part of polish translation
2023-11-19 23:48:00 +01:00
Krzysztof Korościk
b9c8f215f3
doc: updated polish translation
2023-11-19 18:09:43 +01:00
Ivan Pešić
ca388bdd53
doc: Update Serbian documentation
2023-11-16 13:30:27 +01:00
Ivan Pešić
3cec88506a
core: Update Serbian translation
2023-11-16 13:30:27 +01:00
Sébastien Helleu
7b86f31764
buflist: jump to previous/next buffer displayed in buflist item with ctrl+wheel up/down on a buflist item ( closes #1473 )
2023-11-11 21:04:21 +01:00
Nils Görs
5d38149578
core: update German translations
2023-11-11 14:19:19 +01:00
Sébastien Helleu
75582b9262
core: remove empty lines in release notes
2023-11-11 09:46:08 +01:00
Sébastien Helleu
d1aeca9ca9
core: fix section titles in release notes
2023-11-11 09:44:01 +01:00
Sébastien Helleu
acd67bf34d
core: update translations (issue #2040 )
2023-11-11 08:59:43 +01:00
Sébastien Helleu
e4720e5d5b
core: add search in commands history in release notes (issue #2040 )
2023-11-11 08:54:30 +01:00
Sébastien Helleu
f00904afaa
core: split ChangeLog entry on multiple lines (issue #2040 )
2023-11-11 08:54:28 +01:00
Sébastien Helleu
6f90c7ef08
core: move key ctrl+s, ctrl+u to alt+shift+U (issue #2040 )
2023-11-11 08:54:26 +01:00
Sébastien Helleu
97a90ac65a
core: add key ctrl+o to send command found and insert next one in input (issue #2040 )
2023-11-11 08:54:24 +01:00
Sébastien Helleu
b83b428c5c
core: add incremental search in commands history (issue #2040 )
...
Changes:
- move key ctrl+r to ctrl+s
- add key ctrl+r to search in commands history
- add option `search_history` in command `/input`
- add key context "histsearch"
- add option weechat.look.buffer_search_history
- add buffer variables "text_search_direction", "text_search_history" and "text_search_ptr_history"
2023-11-11 08:54:06 +01:00
Nils Görs
b2ce312e82
core: update German translations
2023-11-09 10:28:39 +01:00
Sébastien Helleu
ecc900ba3a
tests: add tests on IRC message 337
2023-11-07 21:58:04 +01:00
Sébastien Helleu
515d4241ad
irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
2023-11-07 21:50:12 +01:00
Nils Görs
977fd3b6f7
core: update German translations
2023-11-06 13:46:44 +01:00
Sébastien Helleu
252240a1b1
core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached
2023-11-04 17:01:45 +01:00
Sébastien Helleu
11d95fce11
relay: close properly connection with the IRC client in case of server disconnection ( closes #2038 )
2023-11-04 08:58:19 +01:00
Sébastien Helleu
7d403d41e6
core: remove incorrect warning when binding keys F10 to F20 ( closes #2039 )
2023-11-04 08:36:04 +01:00
Sébastien Helleu
d96a3e6b55
doc/faq: add question about key F11
2023-11-04 08:05:24 +01:00
Sébastien Helleu
c90c71ea30
core: fix double call to hook config when an option is unset
2023-11-04 07:37:12 +01:00
Sébastien Helleu
028902b0e3
core: update ChangeLog
2023-11-04 00:02:12 +01:00
Sébastien Helleu
2260214797
core: call hook config when options are freed by unset or when file/section is freed
...
This fixes a refresh issue on the fset buffer when a plugin is unloaded: now
the options displayed that are freed are properly removed from the fset buffer.
2023-11-03 22:31:05 +01:00
Sébastien Helleu
ab2684fd52
relay: change default value of option relay.network.tls_priorities to NORMAL
...
It is no more needed to remove `VERS-SSL3.0` because it is no longer in the
default priorities since GnuTLS 3.4.0 (released on 2015-04-08).
2023-11-03 22:01:50 +01:00
Sébastien Helleu
d4cba7b7a3
irc: change default value of server option "tls_priorities" to NORMAL
...
It is no more needed to remove `VERS-SSL3.0` because it is no longer in the
default priorities since GnuTLS 3.4.0 (released on 2015-04-08).
2023-11-03 21:58:13 +01:00
Sébastien Helleu
d90eebf6ca
irc: update help on color remap options, update translations (issue #2025 )
2023-11-01 14:29:25 +01:00
Sébastien Helleu
f16857fc3d
irc: add option irc.color.term_remap ( closes #2025 )
2023-11-01 13:56:40 +01:00
Sébastien Helleu
082cbe519b
irc: add support of RGB colors in messages (issue #2025 )
...
This is made using standard color code '\x04' followed by text color (RGB as
hexadecimal) and optional background (RGB as hexadecimal).
2023-11-01 13:21:06 +01:00
Sébastien Helleu
6d69cde186
core, plugins: set error to NULL before calling strtol()
...
This is not strictly necessary, just in case the function strtol() doesn't
update the pointer.
2023-11-01 09:53:38 +01:00
Sébastien Helleu
f53983bc79
core: display an error with command /history N when N is not a valid integer
2023-11-01 09:44:44 +01:00
Sébastien Helleu
1dd535da5d
trigger: rename local variable "trigger_filter" to "filter" on monitor buffer ( closes #2037 )
2023-10-30 23:41:28 +01:00
Sébastien Helleu
02f26517f3
core: fix memory leak when config version is invalid or not supported
2023-10-30 23:10:54 +01:00
Sébastien Helleu
3c62ae482b
core: fix memory leak when infolist variable can not be created
2023-10-30 23:10:54 +01:00
Sébastien Helleu
fd78c2f9ac
core: check that buffer is not NULL in function gui_chat_printf_date_tags_internal
2023-10-30 23:10:54 +01:00
Sébastien Helleu
23289dcb2c
core: fix use NULL pointer when a config file has no options
2023-10-30 23:10:54 +01:00
Sébastien Helleu
81b31d9e6c
logger: remove dead assignment
2023-10-30 23:10:54 +01:00
Sébastien Helleu
e8a4c1d813
xfer: fix use of uninitialized variable when adding a new xfer
2023-10-30 23:10:54 +01:00
Sébastien Helleu
4d884729f9
xfer: fix use of NULL pointer in strrchr()
2023-10-30 23:10:54 +01:00
Sébastien Helleu
f8c459453d
core: fix crash when "config_version" is present in a configuration file without a value
2023-10-30 23:10:54 +01:00
Sébastien Helleu
bd187cd668
core: display an error on startup if environment variable "HOME" is not set
2023-10-30 23:10:54 +01:00
Sébastien Helleu
24c46cf3e5
tests: check that environment variable "HOME" is set before using it
2023-10-30 08:45:44 +01:00
Sébastien Helleu
1a5ff442cb
ruby: fix use of NULL variable when displaying exception
2023-10-30 08:38:44 +01:00
Sébastien Helleu
21759171d2
irc: add tags "nick_xxx" and "host_xxx" in all messages, including self and server messages
2023-10-30 08:23:20 +01:00
Sébastien Helleu
7406c8b94c
ci: uninstall php8.1-imagick before build (issue #2009 )
...
When php imagick is installed and when WeeChat is compiled with gcc, there's a
crash when the php plugin is loaded. Newer versions of gcc should fix the
issue, but as in CI we can't easily use them, uninstalling imagick avoids the
crash.
2023-10-28 09:08:33 +02:00
Sébastien Helleu
5c41d6c4a4
core: add version 4.1.1
2023-10-26 21:26:38 +02:00
Sébastien Helleu
6631d44a8d
core: add version 4.0.6
2023-10-26 21:26:31 +02:00
Sébastien Helleu
df1f48cc9b
core: display only version with command /version, add options -o and -ol in command /upgrade
2023-10-26 20:42:23 +02:00
Nils Görs
57475499bf
core: update German translations
2023-10-24 16:56:23 +02:00
Nils Görs
8f4a1a2dea
core: update German translations
2023-10-24 09:22:48 +02:00
Sébastien Helleu
c156fee0e1
core: fix crash when a custom bar item name is already used by a default bar item ( closes #2034 )
2023-10-23 13:11:02 +02:00
Nils Görs
0fe7eec90b
core: update German translations
2023-10-23 11:28:58 +02:00
Sébastien Helleu
3cc400a9d6
core: add number of processes in command /sys waitpid
2023-10-22 21:02:41 +02:00
Sébastien Helleu
d6343020aa
core: fix random timeouts when a lot of concurrent processes are launched with hook_process ( closes #2033 )
2023-10-20 21:00:22 +02:00
Sébastien Helleu
8a389395b9
core: update translations (issue #2005 )
2023-10-20 13:16:40 +02:00
Sébastien Helleu
02679e8001
logger: add description for examples in help on command /logger (issue #2005 )
2023-10-20 13:16:07 +02:00
Sébastien Helleu
fce5386d5c
irc: add description for examples in help on some commands (issue #2005 )
...
Help is updated on these commands:
- `/allchan`
- `/allpv`
- `/allserv`
2023-10-20 13:15:52 +02:00
Sébastien Helleu
96b7c60c5a
core: add description for examples in help on some commands (issue #2005 )
...
Help is updated on these commands:
- `/allbuf`
- `/bar`
- `/print`
- `/repeat`
- `/secure`
- `/wait`
2023-10-20 13:15:49 +02:00
Sébastien Helleu
6452be4a28
core: update translations (issue #194 , issue #2032 )
2023-10-19 23:59:15 +02:00
Sébastien Helleu
a88b8f7ed2
irc: revert compute of nick colors to case sensitive way, deprecate again IRC nick color infos (issue #194 , issue #2032 )
2023-10-19 23:38:28 +02:00
Sébastien Helleu
1896c50c11
core: update translations (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
fa1e82d500
xfer: format and translate commands line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
7702ed56ea
trigger: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
f65556f3b2
spell: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
ce5de07dbd
relay: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
efa1f44317
script: format and translate commands line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
d60859138f
logger: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
55ef9536c5
irc: format and translate commands line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
58bab65fd1
fset: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
79581019aa
fifo: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
aa32fa6d3e
exec: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
2aaa14b616
charset: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
cfa5f3324a
buflist: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
05b160b5bc
alias: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
2a4faf566b
core: format and translate commands line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
bbf42a5d09
api: add support of format/translation of command arguments description line by line (issue #2005 )
2023-10-17 18:14:53 +02:00
Sébastien Helleu
e34071131e
api: add function string_concat (issue #2005 )
2023-10-17 18:14:53 +02:00
Sébastien Helleu
9bc9df47d7
irc: add option irc.look.ignore_tag_messages ( closes #989 )
2023-10-15 18:45:11 +02:00
Sébastien Helleu
3898449dc2
irc: add structure with context sent as unique parameter to IRC protocol callbacks (issue #989 )
2023-10-15 18:40:01 +02:00
Sébastien Helleu
aed5c543ec
core: update ChangeLog ( closes #1956 )
2023-10-15 18:00:59 +02:00
Sébastien Helleu
ed98425b1b
core: update translations (issue #1956 )
2023-10-15 16:50:33 +02:00
Sébastien Helleu
0c45083324
alias: allow wildcard in command /alias del (issue #1956 )
2023-10-15 16:50:26 +02:00
Sébastien Helleu
13e73d52d3
core: allow wildcard in command /proxy del (issue #1956 )
2023-10-15 16:19:31 +02:00
Sébastien Helleu
59d11533dd
core: allow wildcard in command /item del (issue #1956 )
2023-10-15 16:19:06 +02:00
Sébastien Helleu
99a56b99f2
core: allow wildcard in command /bar del (issue #1956 )
2023-10-15 16:18:51 +02:00
Sébastien Helleu
aebf6d7ab3
core: allow wildcard in command /filter (issue #1956 )
...
A mask with wildcards is now allowed in the following commands:
- `/filter enable`
- `/filter disable`
- `/filter toggle`
- `/filter del`
2023-10-15 16:18:02 +02:00
Sébastien Helleu
35660f8b1d
trigger: allow wildcard in command /trigger (issue #1956 )
...
A mask with wildcards is now allowed in the following commands:
- `/trigger enable`
- `/trigger disable`
- `/trigger toggle`
- `/trigger restart`
- `/trigger del`
- `/trigger restore`
2023-10-15 16:15:50 +02:00
Sébastien Helleu
1a579e03e8
core: update French translations
2023-10-15 15:48:55 +02:00
Sébastien Helleu
1d6e1fd752
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
18b3c7a30b
Version 4.2.0-dev
2023-10-15 09:06:12 +02:00