Sébastien Helleu
d274eb4be4
core: add priority in config file (issue #1872 )
...
Priority is now allowed in function config_file_new, parameter `name`, with the
same format as hooks: "priority|name" (for example: "2000|test").
If not specified, the default priority is 1000.
2023-01-28 15:13:29 +01:00
Sébastien Helleu
347c3f3214
core: move function hook_get_priority_and_name to wee-string.c (issue #1872 )
2023-01-28 15:13:18 +01:00
Sébastien Helleu
db8d2d43f0
doc: update German auto-generated file
2023-01-25 07:59:33 +01:00
Nils Görs
5a93b5ad15
core: update German translations
2023-01-25 07:50:28 +01:00
Sébastien Helleu
37e8599443
irc: add option join in command /autojoin
2023-01-24 20:58:17 +01:00
Sébastien Helleu
0e1d3618ee
doc: update auto-generated files with hdata
2023-01-24 20:55:28 +01:00
Sébastien Helleu
55d08a604f
irc: fix autojoin on server connection ( closes #1873 )
...
Now the autojoin is made only one time, until the server buffer is closed.
A new flag `autojoin_done` is added to know whether the autojoin has already
been done or not on the server. It is set to 1 on first autojoin, and reset to
0 only if the server buffer is closed.
The flag `reconnect_join` is removed, because it is now obsolete.
2023-01-23 19:10:13 +01:00
Nils Görs
e0cdfb1cef
core: update German translations
2023-01-16 08:53:26 +01:00
Sébastien Helleu
cfa2239db5
irc: update message with number of nicks when joining a channel
...
Changed:
- "N voices" to "N voiced"
- "N normals" to "N regular"
2023-01-15 21:12:32 +01:00
Sébastien Helleu
6abd989dd7
debian: remove remaining workarounds for autotools build
2023-01-15 17:10:20 +01:00
Sébastien Helleu
51d0a6f402
tests: add tests on string comparison functions
2023-01-14 21:44:19 +01:00
Sébastien Helleu
fdb793e410
ci: fix macOS CI (temporary fix)
...
Unlink Python binaries so that the install of packages via brew is a success.
See: https://github.com/actions/setup-python/issues/577
2023-01-14 21:16:18 +01:00
Sébastien Helleu
7668e7ea55
fset: fix typo in French translation of /help fset.look.condition_catch_set
2023-01-14 20:56:06 +01:00
Sébastien Helleu
87d71b9677
core: remove useless continue statement in loop
2023-01-12 21:33:57 +01:00
Sébastien Helleu
049c6eb6a8
core: display error in command if allocation of arraylist fails
2023-01-12 20:57:47 +01:00
Sébastien Helleu
0d622df87a
core: fix display glitch in command errors when a wide char is set in option weechat.look.command_chars ( closes #1871 )
2023-01-12 20:28:29 +01:00
Sébastien Helleu
1a15171912
ci: fix typo
2023-01-10 08:18:49 +01:00
Sébastien Helleu
711f71a1bc
ci: fix run of code coverage
2023-01-10 08:01:22 +01:00
Sébastien Helleu
f59f39abd4
python: remove unneded call to deprecated function PySys_SetArgv
...
This function is deprecated since Python 3.11.
2023-01-08 20:26:57 +01:00
Sébastien Helleu
9b47832a01
core: do not allocate strings in dir_search_full_lib_name_ext, check return code of snprintf
...
This removes three compiler warnings.
2023-01-08 18:24:28 +01:00
Sébastien Helleu
0bde2aa0f3
irc: check return code of snprintf
...
This removes two compiler warnings.
2023-01-08 18:13:05 +01:00
Sébastien Helleu
f305eed01f
typing: fix crash when pointer buffer is not received in callback for signal "input_text_changed" ( closes #1869 )
2023-01-08 17:38:37 +01:00
Sébastien Helleu
43d3a97869
debian: restore target override_dh_auto_configure (packaging of stable version)
2023-01-08 15:18:19 +01:00
Sébastien Helleu
f67b7ad113
debian: restore target override_dh_auto_configure
2023-01-08 15:16:52 +01:00
Sébastien Helleu
736bc89d4e
core: update ChangeLog and release notes ( closes #1860 )
2023-01-08 14:43:17 +01:00
Sébastien Helleu
754ab33946
core: remove build with autotools
...
CMake is now the only way to build WeeChat.
2023-01-08 14:19:41 +01:00
Sébastien Helleu
18360feb32
ruby: remove warnings on unused parameters
...
These warnings may be enabled again in future when Ruby itself will be fixed.
2023-01-08 14:04:10 +01:00
Sébastien Helleu
fe7c0019a7
php: remove warnings on variables "argc" and "ret_i" that might be clobbered by longjmp or vfork
2023-01-08 14:04:05 +01:00
Sébastien Helleu
e101d5d8a4
Version 3.9-dev
2023-01-08 10:35:38 +01:00
Sébastien Helleu
b614a5c5db
Version 3.8
v3.8
2023-01-08 10:07:07 +01:00
Sébastien Helleu
35129a1cae
core: add note about case insensitive comparison improved in release notes
2023-01-08 10:01:11 +01:00
Sébastien Helleu
2f6b462c3c
core: update entries related to CI in ChangeLog
2023-01-07 23:17:56 +01:00
Sébastien Helleu
9202213274
ci: remove use of repository ppa:ondrej/php
...
Now the CI uses the standard PHP version (8.1) from Ubuntu 22.04.
2023-01-07 23:17:29 +01:00
Sébastien Helleu
822a94c184
php: add proper detection of PHP 8.2 in all cases
2023-01-07 22:05:37 +01:00
Sébastien Helleu
e0f096abe6
debian: add symbolic link weechat_raspbian_buster.patch pointing to Debian Buster patch
2023-01-06 13:12:59 +01:00
Sébastien Helleu
bff143dcf4
core: add CMake test called "notests" when tests are not compiled
...
Now the command `make test` executes properly and returns 0 when test are not
compiled.
2023-01-06 07:53:39 +01:00
Sébastien Helleu
e660233325
Revert "core: add a fake target "test" so that make test successes when tests are not compiled"
...
This reverts commit 129860fd52 .
2023-01-06 07:11:35 +01:00
Sébastien Helleu
129860fd52
core: add a fake target "test" so that make test successes when tests are not compiled
2023-01-05 21:26:55 +01:00
Sébastien Helleu
3c65bc6831
core: rename script build-test.sh to build_test.sh
2023-01-05 08:05:04 +01:00
Sébastien Helleu
db81c07e1f
core: rename script build-debian.sh to build_debian.sh
2023-01-05 08:03:12 +01:00
Sébastien Helleu
30ad9ca62d
core: rename script git-version.sh to set_git_version.sh
2023-01-05 08:01:48 +01:00
Sébastien Helleu
c7f5cd462f
core: add message after checking Curl symbols: "all good" or number of errors
2023-01-05 07:48:08 +01:00
Sébastien Helleu
bcba2d4d7c
core: add example with Curl repository cloned locally
2023-01-05 07:43:01 +01:00
Sébastien Helleu
e3a69e92e5
core: install flake8 in CI
2023-01-04 22:49:36 +01:00
Sébastien Helleu
f43efe5a65
core: add script check_scripts.sh
...
This script is now used in CI to check all shell scripts (*.sh) and Python
scripts (*.py) that are in git repository.
Tools used:
- shell scripts: shellcheck
- Python scripts: flake8 + pylint + bandit
2023-01-04 22:45:00 +01:00
Sébastien Helleu
8da3884afc
core: add script check_curl_symbols.py
...
This script is used to check Curl symbols defined in WeeChat vs exposed Curl
symbols.
Usage:
curl https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
2023-01-04 22:44:14 +01:00
Sébastien Helleu
3778ef0636
core: fix Curl version in comments
2023-01-04 22:23:33 +01:00
Sébastien Helleu
c52d630f82
core: remove useless "exit 0"
...
This fixes the following shellcheck error:
SC2317 (info): Command appears to be unreachable. Check usage (or ignore if
invoked indirectly).
2023-01-04 22:23:33 +01:00
Sébastien Helleu
356028ee87
core: double quote $JOBS
...
This fixes the following shellcheck error:
SC2086 (info): Double quote to prevent globbing and word splitting.
2023-01-04 22:23:33 +01:00
Sébastien Helleu
9dd85507d0
core: don't use eval to run commands in scripts
...
This fixes the following shellcheck error:
SC2294 (warning): eval negates the benefit of arrays. Drop eval to preserve
whitespace/symbols (or eval as string).
2023-01-04 22:20:51 +01:00