Sébastien Helleu
209ffbe50e
core: fix buffer overflow in function eval_string_range_chars
2025-05-11 17:10:29 +02:00
Sébastien Helleu
0c9028b47c
core: fix buffer overflow in function eval_string_base_encode
2025-05-11 16:11:54 +02:00
Sébastien Helleu
fdcab27513
core: fix integer overflow in function util_version_number
2025-05-11 15:59:36 +02:00
Sébastien Helleu
96dc934241
core: fix integer overflow in base32 encoding/decoding
2025-05-11 15:23:22 +02:00
Sébastien Helleu
7f96c31e1b
core: fix integer overflow with decimal numbers in calculation of expression
2025-05-11 14:48:17 +02:00
Sébastien Helleu
d1c6d170ac
core: fix crash in case of NULL message sent to function gui_chat_printf_y_date_tags (issue #1883 )
2024-09-08 10:52:48 +02:00
Faisal N Jawdat
d0fe9508a5
ruby: add detection for Ruby 3.3
2024-09-08 10:32:38 +02:00
Sébastien Helleu
244ba50841
core: fix test of Debian patches when there are no patches
2024-09-08 09:26:04 +02:00
Sébastien Helleu
ec31f43d85
ci: fix macOS CI
2024-09-08 09:25:02 +02:00
Sébastien Helleu
2e10264e96
core: fix Czech translation
2024-09-08 09:09:53 +02:00
Sébastien Helleu
ccfe1f2263
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-09-08 09:09:53 +02:00
Sébastien Helleu
3ece5bd8a9
core: update ChangeLog (issue #2178 )
2024-09-08 09:09:53 +02:00
Sébastien Helleu
4a63d88895
trigger: fix integer overflow in loop (issue #2178 )
2024-09-08 09:09:53 +02:00
Sébastien Helleu
9a0bd7c753
relay: fix integer overflow in loops (issue #2178 )
2024-09-08 09:09:53 +02:00
Sébastien Helleu
d8c954472c
irc: fix integer overflow in loops (issue #2178 )
2024-09-08 09:09:53 +02:00
Sébastien Helleu
64eee892b2
core: fix integer overflow in loops (issue #2178 )
2024-09-08 09:09:53 +02:00
Yiheng Cao
d1655945cd
core: fix integer overflow in string_free_split functions (issue #2178 )
2024-09-08 08:29:47 +02:00
Sébastien Helleu
d2f78e2248
Version 3.8.1-dev
2024-09-08 08:29:31 +02:00
Sébastien Helleu
b614a5c5db
Version 3.8
2023-01-08 10:07:07 +01:00
Sébastien Helleu
35129a1cae
core: add note about case insensitive comparison improved in release notes
2023-01-08 10:01:11 +01:00
Sébastien Helleu
2f6b462c3c
core: update entries related to CI in ChangeLog
2023-01-07 23:17:56 +01:00
Sébastien Helleu
9202213274
ci: remove use of repository ppa:ondrej/php
...
Now the CI uses the standard PHP version (8.1) from Ubuntu 22.04.
2023-01-07 23:17:29 +01:00
Sébastien Helleu
822a94c184
php: add proper detection of PHP 8.2 in all cases
2023-01-07 22:05:37 +01:00
Sébastien Helleu
e0f096abe6
debian: add symbolic link weechat_raspbian_buster.patch pointing to Debian Buster patch
2023-01-06 13:12:59 +01:00
Sébastien Helleu
bff143dcf4
core: add CMake test called "notests" when tests are not compiled
...
Now the command `make test` executes properly and returns 0 when test are not
compiled.
2023-01-06 07:53:39 +01:00
Sébastien Helleu
e660233325
Revert "core: add a fake target "test" so that make test successes when tests are not compiled"
...
This reverts commit 129860fd52 .
2023-01-06 07:11:35 +01:00
Sébastien Helleu
129860fd52
core: add a fake target "test" so that make test successes when tests are not compiled
2023-01-05 21:26:55 +01:00
Sébastien Helleu
3c65bc6831
core: rename script build-test.sh to build_test.sh
2023-01-05 08:05:04 +01:00
Sébastien Helleu
db81c07e1f
core: rename script build-debian.sh to build_debian.sh
2023-01-05 08:03:12 +01:00
Sébastien Helleu
30ad9ca62d
core: rename script git-version.sh to set_git_version.sh
2023-01-05 08:01:48 +01:00
Sébastien Helleu
c7f5cd462f
core: add message after checking Curl symbols: "all good" or number of errors
2023-01-05 07:48:08 +01:00
Sébastien Helleu
bcba2d4d7c
core: add example with Curl repository cloned locally
2023-01-05 07:43:01 +01:00
Sébastien Helleu
e3a69e92e5
core: install flake8 in CI
2023-01-04 22:49:36 +01:00
Sébastien Helleu
f43efe5a65
core: add script check_scripts.sh
...
This script is now used in CI to check all shell scripts (*.sh) and Python
scripts (*.py) that are in git repository.
Tools used:
- shell scripts: shellcheck
- Python scripts: flake8 + pylint + bandit
2023-01-04 22:45:00 +01:00
Sébastien Helleu
8da3884afc
core: add script check_curl_symbols.py
...
This script is used to check Curl symbols defined in WeeChat vs exposed Curl
symbols.
Usage:
curl https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
2023-01-04 22:44:14 +01:00
Sébastien Helleu
3778ef0636
core: fix Curl version in comments
2023-01-04 22:23:33 +01:00
Sébastien Helleu
c52d630f82
core: remove useless "exit 0"
...
This fixes the following shellcheck error:
SC2317 (info): Command appears to be unreachable. Check usage (or ignore if
invoked indirectly).
2023-01-04 22:23:33 +01:00
Sébastien Helleu
356028ee87
core: double quote $JOBS
...
This fixes the following shellcheck error:
SC2086 (info): Double quote to prevent globbing and word splitting.
2023-01-04 22:23:33 +01:00
Sébastien Helleu
9dd85507d0
core: don't use eval to run commands in scripts
...
This fixes the following shellcheck error:
SC2294 (warning): eval negates the benefit of arrays. Drop eval to preserve
whitespace/symbols (or eval as string).
2023-01-04 22:20:51 +01:00
Sébastien Helleu
c6df2e7b8e
tests: fix long lines in scripting API tests
2023-01-04 21:13:25 +01:00
Sébastien Helleu
e6857871f0
tests: ignore module level import not at top of file (flake8 E402)
2023-01-04 21:12:53 +01:00
Sébastien Helleu
d1f2d54a1e
tests: mark methods is_bool and is_number as static
2023-01-04 21:11:41 +01:00
Sébastien Helleu
0ce0fa9f1f
api: add Curl options for versions 7.64.0 to 7.87.0
2023-01-03 23:21:44 +01:00
Sébastien Helleu
7526776f4e
plugins: change priority of scripting plugins
...
Use a step of 10 between each scripting plugin priority.
2023-01-03 20:20:21 +01:00
Sébastien Helleu
958f39cb95
core: fix crash or infinite loop in /allbuf command
...
A crash could occur if the command closes buffers.
An infinite loop could occur if the command creates new buffers.
2023-01-03 17:02:38 +01:00
Sébastien Helleu
189eb5dc40
core: add variable list_size to prevent computing arraylist size in each iteration
2023-01-03 17:01:52 +01:00
Sébastien Helleu
9ee0955d6b
irc: properly rename private buffer on notice messages
2023-01-03 01:06:51 +01:00
Sébastien Helleu
99988bdee7
Version 3.8-rc1
2023-01-02 14:27:21 +01:00
Sébastien Helleu
1daf145830
core: fix line wrapping in Polish translations
2023-01-02 14:20:44 +01:00
Sébastien Helleu
7baef6396d
irc: properly rename private buffer on nick changes or private message when new nick is the same with different case
2023-01-02 14:17:20 +01:00
Sébastien Helleu
c739026c87
irc: replace "private window" by "private buffer" in comments
2023-01-02 13:50:58 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
1fb6d52984
tests: add tests on gui input functions
2023-01-01 14:41:06 +01:00
Sébastien Helleu
727c465911
core: check that buffer is not NULL in function gui_input_clipboard_copy
2023-01-01 14:39:38 +01:00
Sébastien Helleu
73bac5491b
core: move function gui_input_move_to_buffer to gui-buffer.c
2022-12-31 10:40:00 +01:00
Sébastien Helleu
05839983d4
core: fix color when the delimiter is not followed by a background color ( closes #1867 )
2022-12-30 21:50:18 +01:00
Sébastien Helleu
6c59b0830c
doc: update Polish auto-generated files
2022-12-30 16:30:20 +01:00
Krzysztof Korościk
9f5a739428
core: updated Polish translation
2022-12-30 14:12:43 +01:00
Sébastien Helleu
81260ec854
doc: update German auto-generated file
2022-12-29 19:30:58 +01:00
Nils Görs
d8cc91993f
core: update German translations
2022-12-29 12:51:12 +01:00
Sébastien Helleu
d878d2023a
core: fix French translation of "read marker"
2022-12-29 12:05:21 +01:00
Sébastien Helleu
fce2fcba4f
core: add option weechat.look.chat_space_right (issue #1862 )
2022-12-29 12:00:28 +01:00
Krzysztof Korościk
45fdcc2eb4
doc: updated polish translation
2022-12-28 17:44:46 +01:00
Sébastien Helleu
914f9e756b
doc: update German auto-generated file
2022-12-28 10:27:44 +01:00
Nils Görs
7d94fba9ac
core: update German translations
2022-12-28 10:25:31 +01:00
Sébastien Helleu
e58b57fe4c
doc: update German auto-generated files
2022-12-26 23:43:28 +01:00
Nils Görs
0e6058f8cd
core: update German translations
2022-12-26 13:41:24 +01:00
Nils Görs
98bc80924c
core: update German translations
2022-12-26 13:32:56 +01:00
Sébastien Helleu
45638dca23
core: allow value "0" in buffer property "unread" to remove read marker from buffer
2022-12-26 01:27:45 +01:00
Sébastien Helleu
56055de12e
doc/api: fix formatting of return value in char/string comparison functions
2022-12-26 00:55:30 +01:00
Sébastien Helleu
5a27805cf3
core: reorder entries in ChangeLog
2022-12-25 23:05:22 +01:00
Dawid Dziurla
1639e60651
changelog: add entry about Ruby 3.2 detection
2022-12-25 23:03:24 +01:00
Dawid Dziurla
824812c7c0
ruby: add detection of Ruby 3.2
2022-12-25 23:03:24 +01:00
Sébastien Helleu
41fd26fe79
core: move /input buffer switch/zoom actions to command /buffer
...
Actions moved:
* `/input switch_active_buffer` -> `/buffer switch`
* `/input switch_active_buffer_previous` -> `/buffer switch -previous`
* `/input zoom_merged_buffer` -> `/buffer zoom`
2022-12-25 22:47:18 +01:00
Sébastien Helleu
0c29d4c5b6
core: move /input set_unread actions to commands /allbuf and /buffer set
...
Actions moved:
* `/input set_unread` -> `/allbuf /buffer set unread`
* `/input set_unread_current_buffer` -> `/buffer set unread`
2022-12-25 21:44:27 +01:00
Sébastien Helleu
2c238e08ff
core: add command /allbuf
2022-12-25 21:23:14 +01:00
Sébastien Helleu
2ad6f2f3d5
api: do not check hotlist add conditions when adding buffer in hotlist with function buffer_set
2022-12-25 20:35:10 +01:00
Sébastien Helleu
a9094fd2fa
core: add option add in command /hotlist
2022-12-25 19:40:57 +01:00
Sébastien Helleu
b3e4a91760
core: fix typo in comment
2022-12-25 19:07:39 +01:00
Sébastien Helleu
babe1e7a42
core: move /input hotlist actions to new command /hotlist
...
Actions moved to command `/hotlist`:
* `/input hotlist_clear` -> `/hotlist clear`
* `/input hotlist_remove_buffer` -> `/hotlist remove`
* `/input hotlist_restore_buffer` -> `/hotlist restore`
* `/input hotlist_restore_all` -> `/hotlist restore -all`
2022-12-25 18:50:57 +01:00
Sébastien Helleu
574a4c8834
core: add function gui_buffer_jump_last_visible_number
2022-12-25 17:57:59 +01:00
Sébastien Helleu
c9796a3141
core: move /input jump actions to command /buffer jump
...
Actions moved to command `/buffer jump`:
* `/input jump_smart` -> `/buffer jump smart`
* `/input jump_previously_visited_buffer` -> `/buffer jump prev_visited`
* `/input jump_next_visited_buffer` -> `/buffer jump next_visited`
* `/input jump_last_buffer_displayed` -> `/buffer jump last_displayed`
2022-12-25 17:00:37 +01:00
Sébastien Helleu
9bd6cbf4bd
core: fix style in ChangeLog and release notes
2022-12-25 16:53:30 +01:00
Sébastien Helleu
445b522498
core: fix typo in comment
2022-12-25 15:06:03 +01:00
Sébastien Helleu
f5135277af
core: remove useless conditions
2022-12-24 19:40:53 +01:00
Sébastien Helleu
21f3575016
api: add functions string_strcmp and string_strncmp
2022-12-24 18:29:35 +01:00
Sébastien Helleu
0dd1d4133b
doc/api: mention "UTF-8" in char/string comparison functions
2022-12-24 17:52:31 +01:00
Sébastien Helleu
a67556907d
api: rename char comparison functions "utf8_char*" to "string_char*"
2022-12-24 17:33:22 +01:00
Sébastien Helleu
083032972d
api: return arithmetic difference between chars in string comparison functions
...
Return code is changed for the following functions:
- string_strcasecmp
- string_strcasecmp_range
- string_strncasecmp
- string_strncasecmp_range
- string_strcmp_ignore_chars
- utf8_charcmp
- utf8_charcasecmp
- utf8_charcasecmp_range
2022-12-24 16:25:20 +01:00
Sébastien Helleu
5fc656a1b8
api: fix function strcmp_ignore_chars with case sensitive comparison and wide chars starting with the same byte
2022-12-23 23:20:29 +01:00
Sébastien Helleu
91149f0acc
core: fix typo in French translation of /help input
2022-12-22 20:56:50 +01:00
Sébastien Helleu
68b510517e
core: improve case convert and insensitive char comparisons ( closes #258 )
...
All lowercase letters are now properly converted to uppercase letters (and vice
versa), via functions `towupper` and `towlower`.
Functions `string_tolower`, `string_toupper` and `utf8_charcasecmp` have been
optimized to be faster when there are ASCII chars (< 128); functions are about
25-40% faster with mixed chars (both ASCII and multi-bytes).
Function `utf8_wide_char` has been removed, `utf8_char_int` can be used
instead.
2022-12-21 20:49:09 +01:00
Sébastien Helleu
95286c1eb3
core: remove unneeded casts
2022-12-19 13:01:33 +01:00
Sébastien Helleu
267313304e
irc: fix calls to weechat_string_toupper
2022-12-19 11:18:59 +01:00
Sébastien Helleu
33b6adc3d3
core: fix call to string_toupper
2022-12-19 11:18:49 +01:00
Sébastien Helleu
56436e57fd
spell: return directly output of string_dyn_free without temporary variable
2022-12-19 07:07:12 +01:00
Sébastien Helleu
5df4126c75
irc: return directly output of string_dyn_free without temporary variable
2022-12-19 07:06:01 +01:00
Sébastien Helleu
42113ebc0f
core: return directly output of string_dyn_free without temporary variable
2022-12-19 07:04:33 +01:00
Sébastien Helleu
40339b288a
api: return newly allocated string in functions string_tolower and string_toupper
2022-12-18 14:28:58 +01:00
Sébastien Helleu
eb6cc0bc2a
core: return number of bytes for UTF-8 char in function utf8_int_string
2022-12-18 14:13:14 +01:00
Sébastien Helleu
6aedddd351
tests: add tests on function gui_input_delete_next_word
2022-12-18 14:13:14 +01:00
Sébastien Helleu
9b917ccace
tests: add tests on function gui_input_delete_range
2022-12-18 14:13:14 +01:00
Sébastien Helleu
99c453ee23
tests: add tests on gui delete previous/next char functions
2022-12-18 14:13:14 +01:00
Sébastien Helleu
d2f447dafc
tests: add extra tests on function gui_input_set_pos
2022-12-18 14:13:14 +01:00
Sébastien Helleu
3ef8241444
tests: add tests on gui input completion functions
2022-12-18 14:13:14 +01:00
Sébastien Helleu
dd9ae79204
core: remove unused argument "pos" from function gui_input_insert_string, add tests on function
2022-12-18 14:13:14 +01:00
Sébastien Helleu
f03384d124
core: simplify gui input functions by returning immediately if condition not met
2022-12-17 22:22:15 +01:00
Sébastien Helleu
fb31cf663e
irc: do not join channels in server autojoin option after reconnection to the server ( closes #560 , bug #21529 )
2022-12-17 12:55:39 +01:00
Sébastien Helleu
122a0f8097
doc: update German auto-generated file
2022-12-14 23:44:41 +01:00
Nils Görs
32496d1705
core: update German translations
2022-12-14 22:38:45 +01:00
Trygve Aaberge
dc8a35796a
doc/api: Improve python example for config_new_section
...
This updates the Python examples to include all the possible return
values for the callbacks in config_new_section, like it is done in the C
example. It also aligns the order of the values with the C example.
2022-12-11 15:33:11 +01:00
Trygve Aaberge
abdabb3ae4
doc/api: Fix return values for callback_read in config_new_section
...
These return values were wrong in the description and C example. As can
be seen on lines 2835 and 2873-2903 of src/core/wee-config-file.c the
callback_read function should return the same as the function
config_file_option_set plus the value
WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND (which is also the same as
the possible return values of config_file_option_set_with_string).
The Python example was already correct and the C example was already
correct in the other languages apart from English.
These errors were introduced in commit 02e2b21d3 and commit 5210ff1ae .
2022-12-11 15:33:11 +01:00
Sébastien Helleu
a1b6d9622f
core: add contributor (issue #1859 )
2022-12-11 15:25:13 +01:00
Sébastien Helleu
20b061a89a
core: update ChangeLog (issue #1859 )
2022-12-11 15:17:38 +01:00
Ryan Qian
1316f3eb6d
cmake: add support of compiling with enchant-2 for the Spell plugin
2022-12-11 15:16:23 +01:00
Sébastien Helleu
a0e5e2a375
core: update ChangeLog (issue #1843 )
2022-12-11 15:15:50 +01:00
Trygve Aaberge
ebc63d1b83
scripts: Send null values to config section callbacks
...
The callback_read and callback_create_option functions in the scripting
APIs always get the value as a string, never as null. This means that if
the value is null, there is no way for the script to distinguish this
from an empty string for string options. This makes it impossible to
properly make options with fallback values, like the irc server and
server_default options, as far as I can see.
All the scripting languages except Tcl use that language's equivalent
for null. For JavaScript which has both null and undefined, null is
used. For Tcl, the magic null string defined in commit 197a7a01e is used
and the documentation is updated to describe that.
I tested this with these scripts:
https://gist.github.com/trygveaa/2d49c609addf9773d2ed16e15d1e3447
You can load all of those scripts and see the result with this command
(assuming you have the scripts in the current directory):
weechat -t -r "/filter add script * * script; /script load $(echo script_config.*)"
2022-12-11 15:13:31 +01:00
Sébastien Helleu
1bfc8b9cf8
trigger: fix variables sent to focus callback ( closes #1858 )
...
This fixes a regression introduced in WeeChat 3.7 by commit
0f67f55098 .
2022-12-10 22:30:24 +01:00
Sébastien Helleu
18c9ade580
core: add whole string information in /debug unicode
2022-12-10 17:32:09 +01:00
Sébastien Helleu
5b9b1e175b
core: add color attributes "blink" and "dim" (half bright) ( closes #1855 )
2022-12-10 16:37:03 +01:00
Sébastien Helleu
9b93919b06
core: update ChangeLog ( closes #1659 , closes #1669 , closes #1770 )
2022-12-10 16:20:23 +01:00
Sébastien Helleu
7313859bdf
core: update translations
2022-12-10 16:12:23 +01:00
Sébastien Helleu
ef842c5e62
core: fix function string_cut when there are non printable chars in suffix
2022-12-10 16:05:14 +01:00
Sébastien Helleu
f1cfd6f73f
core: do not display non printable chars, fix function utf8_char_size_screen
...
Now the function utf8_char_size_screen can return -1 when the char is not
printable.
It has a specific behavior for some chars:
- U+0009: value of option weechat.look.tab_width
- U+0001 to U+001F (except U+0009): 1
- U+00AD (soft hyphen): -1
- U+200B (zero width space): -1
2022-12-10 16:05:14 +01:00
Sébastien Helleu
d18f68e497
core: display chars < 32 with a letter/symbol and reverse video attribute in chat
2022-12-10 16:05:14 +01:00
Sébastien Helleu
6ac730cd0b
core: toggle reverse video attribute in bars for chars < 32 only if not already enabled
2022-12-10 16:05:14 +01:00
Sébastien Helleu
f63dba67f2
core: expand tabulations as spaces in bars
2022-12-10 16:05:14 +01:00
Sébastien Helleu
855d80702e
core: replace call to memcpy by utf8_strncpy
2022-12-10 16:05:14 +01:00
Sébastien Helleu
71ae8f1907
api: add function utf8_strncpy
2022-12-10 16:05:14 +01:00
Sébastien Helleu
e5cbbd781d
core: optimize and fix function utf8_strlen_screen with non printable chars
...
When there non printable chars, the return of the function was 1.
For example utf8_strlen_screen("abc\x01") now returns 4 instead of 1.
In addition the function has been optimized to not use the `mbstowcs` function
which is slow; result is up to 15% faster.
2022-12-10 16:05:14 +01:00
Sébastien Helleu
0e6677fbcb
core: add result of utf8_char_size_screen in /debug unicode
2022-12-10 16:05:14 +01:00
Sébastien Helleu
6cfc01aa53
doc: update Serbian auto-generated files
2022-12-05 21:00:48 +01:00
Ivan Pešić
c6f5c3feaa
Update Serbian translation
...
Documentation and messages translation update
2022-12-05 21:00:00 +01:00
Sébastien Helleu
55569c182a
core: display hex codepoint before integer codepoint in /debug unicode
2022-12-03 10:15:18 +01:00
Sébastien Helleu
f7f13352d7
core: remove useless call to mbstowcs in function debug_unicode_char
2022-12-03 10:14:30 +01:00
Sébastien Helleu
bbd0f5d26b
tests: define constants with UTF-8 strings, add tests on functions returning size on screen
2022-11-27 12:29:36 +01:00
Sébastien Helleu
e08fcdd04c
doc: update German auto-generated file
2022-11-22 18:41:42 +01:00
Nils Görs
894b5e21ed
core: update German translations
2022-11-22 10:08:50 +01:00
Sébastien Helleu
baab9cc7c5
core: add option unicode in command /debug
2022-11-21 20:45:41 +01:00
Sébastien Helleu
a8639969c5
core: reorder sub-commands in /debug command callback
2022-11-20 13:55:21 +01:00
Sébastien Helleu
8d40273111
core: fix typo in comment
2022-11-20 09:33:40 +01:00
Sébastien Helleu
b636f55b8b
trigger: properly initialize variable "value" to NULL
2022-11-19 20:29:02 +01:00
Sébastien Helleu
11a5e0a627
ci: install guile-3.0-dev instead of guile-2.2-dev
2022-11-19 20:27:57 +01:00
Sébastien Helleu
ea9c3b2218
debian: change dependency guile-2.2-dev to guile-3.0-dev
2022-11-19 19:05:25 +01:00
Sébastien Helleu
bab73cfaa5
core: add identifier in buffer lines ( closes #901 )
...
For buffers with formatted content, the "id" starts to 0 on each buffer and is
incremented on each new line displayed (it is reset to 0 if reaching INT_MAX).
For buffers with free content, the "id" is set to the same value as "y" (ie the
line number, starting to 0).
2022-11-11 09:42:20 +01:00
Sébastien Helleu
8c44dc53eb
doc/api: add missing note after list of signals
2022-11-09 08:15:30 +01:00
Sébastien Helleu
70998a53de
doc/user: add missing supported format for trigger regex
2022-11-09 08:12:54 +01:00
Sébastien Helleu
6962d2ccd5
doc: update German auto-generated file
2022-11-08 20:36:33 +01:00
Sébastien Helleu
24665ae878
core: add signals "buffer_user_{input|closing}_xxx" for buffers created with /buffer add ( closes #1848 )
2022-11-08 20:34:04 +01:00
Nils Görs
2e4a033f0d
doc: update German documentation
2022-11-07 13:21:12 +01:00
Nils Görs
f95eb08201
core: update German translations
2022-11-07 13:02:46 +01:00
Sébastien Helleu
55b5549054
trigger: display failing regex in trigger creation error
2022-11-06 09:14:18 +01:00
Sébastien Helleu
f18b96bb59
core: update translations
2022-11-06 09:14:18 +01:00
Sébastien Helleu
b2605902db
trigger: use explicit command "s" in regex of default triggers
2022-11-06 09:14:18 +01:00
Sébastien Helleu
39561b9146
core: add release notes about new trigger regex format
2022-11-06 09:14:18 +01:00
Sébastien Helleu
7555993bbc
trigger: add regex command "y" to translate chars, set default regex command to "s" (regex replace) ( closes #1510 )
2022-11-06 09:14:14 +01:00
Sébastien Helleu
3b674a5e16
tests: add another test on function string_translate_chars
2022-11-05 22:34:39 +01:00
Sébastien Helleu
196a051141
core: add range of chars in evaluation of expressions with chars:xxx
2022-11-05 22:34:38 +01:00
Sébastien Helleu
bc2fb071e2
api: add function string_translate_chars
2022-11-05 22:34:38 +01:00
Trygve Aaberge
03899e5ea5
doc: Fix typo in highlight_disable_regex option name
...
The section describes highlight_disable_regex, but the example used
highlight_regex instead.
2022-11-05 21:37:25 +01:00
Sébastien Helleu
a70c626c11
core: update ChangeLog (issue #1844 )
2022-10-23 19:04:32 +02:00
Trygve Aaberge
6f1635ae4e
core: Prevent use of uninitialized memory when setting invalid color
...
If a color option value is null and is tried being set to an invalid
color, the value was set to uninitialized memory which can lead to a
segfault.
Can be reproduced with this script:
https://gist.github.com/trygveaa/6ddb3a52f525a7fd8e0908bafa83e07c
The option doesn't have to be set from a script, it also happens with
the /set command.
2022-10-23 19:00:29 +02:00
Sébastien Helleu
09839150a8
doc: remove extra "#" before hex color
2022-10-22 21:51:48 +02:00
Sébastien Helleu
fd526e38a3
debian: update changelog
2022-10-22 21:49:30 +02:00
Sébastien Helleu
133a424178
core: add version 3.7.1
2022-10-21 14:41:38 +02:00
Nils Görs
68f605594c
doc: update German documentation
2022-10-20 23:44:37 +02:00
Sébastien Helleu
cf5a9a0db5
trigger: execute trigger command on appropriate buffer ( closes #1841 )
...
This affects the following hook types:
- command
- command_run
- line
- modifier
- print
This fixes a regression introduced in WeeChat 3.7 by commit
0f67f55098 .
2022-10-20 20:19:37 +02:00
Sébastien Helleu
693c5e64a7
doc/faq: remove mention of obsolete WeeChat versions
2022-10-19 23:40:12 +02:00
Sébastien Helleu
4d645fcdc9
doc: fix language in links to other docs
2022-10-19 21:33:16 +02:00
Sébastien Helleu
d79b106361
python: remove functions defined for Python < 2.6
2022-10-16 09:00:37 +02:00
Sébastien Helleu
319abf4fd0
python: remove support of Python 2.x
2022-10-15 22:56:06 +02:00
Sébastien Helleu
7a544d5fcf
tests: ignore pylint error unnecessary-pass
2022-10-15 22:01:33 +02:00
Sébastien Helleu
56dbd871ea
api: do not expect any return value in callbacks change/delete of config_new_option (scripting API)
2022-10-15 21:46:00 +02:00
Sébastien Helleu
a1057c9a03
tests: add tests on config functions (scripting API)
2022-10-15 21:31:45 +02:00
Trygve Aaberge
ec11126246
python: Fix return types for config option callbacks
...
I erroneously typed the return types for these to int in commit
e0c117e14 , but they should be None.
2022-10-14 23:00:33 +02:00
Sébastien Helleu
f9dd5ee89b
core: add contributor (issue #1836 )
2022-10-14 22:48:49 +02:00
Sébastien Helleu
e3bbe2b5be
core: update ChangeLog
2022-10-14 22:47:39 +02:00
Latchezar Tzvetkoff
8765eb3b71
Allow terminal title to be left unchanged.
...
Fixes #1835 .
2022-10-14 22:42:21 +02:00
Sébastien Helleu
6619c421aa
irc: escape backslashes in raw buffer ( closes #1838 )
2022-10-12 21:43:03 +02:00
Sébastien Helleu
7d2e8b9143
core: allow command /toggle to create option before setting the value, if allowed in the section ( closes #1837 )
2022-10-12 21:29:38 +02:00
Sébastien Helleu
f97b74cae8
core: fix context info in buffers with free content ( closes #1832 )
2022-10-10 20:24:58 +02:00
Trygve Aaberge
6096350618
python: Include script examples in function docstring
...
This makes it possible to see how functions are used without having to
go to the web page. It's especially useful to see the types of the
callback functions.
2022-10-09 19:01:16 +02:00
Sébastien Helleu
7122b46baf
Version 3.8-dev
2022-10-09 08:34:22 +02:00
Sébastien Helleu
484f679e60
Version 3.7
2022-10-09 08:06:53 +02:00
Trygve Aaberge
fdb1ff3781
tests: Use LONGS_EQUAL for version number tests
...
util_version_number returns an int, but BYTES_EQUAL only compares the
last byte of the int, so it wouldn't test the rest of the int.
I see other tests for functions returning an int use LONGS_EQUAL, so
that seems correct to use.
2022-10-08 18:13:00 +02:00
Sébastien Helleu
193aa0448f
core: fix compilation warning on isdigit function
2022-10-08 12:18:09 +02:00
Sébastien Helleu
3932cf5a00
xfer: add missing include of netinet/in.h
...
This fixes compilation on FreeBSD 13.0.
2022-10-08 12:11:12 +02:00
Sébastien Helleu
8555cf465e
debian: update changelog
2022-10-08 11:52:44 +02:00
Sébastien Helleu
11f0d57dfd
debian: bump Standards-Version to 4.6.1.0
2022-10-08 11:52:14 +02:00
Nils Görs
1fd5dd4c34
doc: update German documentation
2022-10-06 15:02:08 +02:00
Sébastien Helleu
1fec7e8856
core: fix page scroll in bare display ( closes #1830 )
2022-10-05 20:33:35 +02:00
Trygve Aaberge
236d22e364
python: Include constant values in python stub
...
This is useful for two reasons:
1. When running unit tests for a script weechat needs to be mocked. By
having the constant values available in the stub file, they can be
loaded from that, instead of having to define the constants manually
for the mock.
2. If you log a constant value you have to look up what it means. This
makes it easier, in the same vein as PR #1824 .
2022-10-02 20:25:17 +02:00
Sébastien Helleu
4d3a3c67ac
irc: set local variable "filter" when doing /server raw xxx with raw buffer already opened ( closes #1448 )
2022-10-01 17:06:31 +02:00
Sébastien Helleu
ae61137216
trigger: add variable ${tg_hook_type} ( closes #1765 )
2022-09-30 21:32:27 +02:00
Trygve Aaberge
6bb4bed8bb
doc/api: Fix config_new_option types for non English docs
...
Only English was changed in commit 197a7a01e .
2022-09-30 07:53:37 +02:00
Sébastien Helleu
92cdcee8f6
api: change type of argument object_id in upgrade_new callback from string to integer (in scripts)
2022-09-29 21:38:04 +02:00
Sébastien Helleu
b2b110f1a3
api: change type of argument remaining_calls in hook_timer callback from string to integer (in scripts)
2022-09-29 21:21:01 +02:00
Trygve Aaberge
89400cbf7a
doc/api: Remove unnecessary cast in Python example
...
The highlight argument is already an int, so no point in casting it.
2022-09-29 17:13:19 +02:00
Trygve Aaberge
e0c117e14f
doc/api: Add types for Python callbacks
2022-09-29 17:13:19 +02:00
Sébastien Helleu
b978de5f84
debian: remove ubuntu/xenial patch (distro not supported any more)
...
As zstd is too old in ubuntu/xenial (0.5.1 while min version is 0.8.1), this
distro is not supported any more.
2022-09-29 16:04:58 +02:00
Sébastien Helleu
fd43ad6387
core: fix compilation with zstd < 1.4.0
...
Note: zstd ≥ 0.8.1 is now required to compile WeeChat.
2022-09-29 15:59:01 +02:00
Sébastien Helleu
009a7821b1
doc: update German auto-generated file
2022-09-29 11:07:38 +02:00
Nils Görs
5cfcec7212
doc: update German documentation
2022-09-29 11:06:13 +02:00
Nils Görs
c6671fc9db
core: update German translations
2022-09-29 11:04:56 +02:00
Sébastien Helleu
8295ea6da8
doc/user: remove tag "translation missing" in French user's guide
2022-09-29 09:47:50 +02:00
Sébastien Helleu
9817372553
doc/user: add chapter on log file rotation/compression
2022-09-29 09:46:43 +02:00
Sébastien Helleu
486df38a8d
php: add missing arginfo_weechat_string_parse_size in legacy arginfo
2022-09-29 07:48:55 +02:00
Trygve Aaberge
76d4cc7e3f
doc/api: Add values for hook_process constants
...
When logging this value I just see a number so I have to look up what it
means. Previously you would have to check the code or print the value of
each of these constants to see it. Seeing the value directly in the
documentation makes this much easier.
2022-09-28 21:42:21 +02:00
Sébastien Helleu
135960859d
doc/api: add note about C API for constant WEECHAT_HOOK_PROCESS_CHILD (function hook_process)
2022-09-28 21:01:01 +02:00
Sébastien Helleu
9f62c4a842
doc/api: fix typo
2022-09-28 20:58:29 +02:00
Sébastien Helleu
7711ed95c5
logger: add options to rotate and compress log files ( closes #314 )
...
New options:
- logger.file.rotation_compression_level
- logger.file.rotation_compression_type
- logger.file.rotation_size_max
2022-09-28 20:52:59 +02:00
Sébastien Helleu
26e6fdc645
api: add function file_compress
2022-09-27 20:49:12 +02:00
Sébastien Helleu
e7b6e8c60f
api: restrict number to integer in function string_parse_size
2022-09-27 15:50:43 +02:00
Sébastien Helleu
4d74a89cfc
api: add function string_parse_size
2022-09-27 15:50:43 +02:00
Nils Görs
be6a29a596
doc: update German documentation
2022-09-27 10:56:11 +02:00
Sébastien Helleu
34c043453b
irc: fix use of uninitialized variable ptr_nick
2022-09-26 21:21:27 +02:00
Sébastien Helleu
6f8aab186d
doc: update German auto-generated file
2022-09-20 19:23:57 +02:00
Nils Görs
201b24a02a
core: update German translations
2022-09-20 19:10:13 +02:00
Sébastien Helleu
01cf98e8fb
core: add key alt+backspace, change behavior of key ctrl+w ( closes #559 )
...
The key ctrl+w now deletes one word until whitespace.
The new key alt+backspace deletes one word (same behavior as ctrl+w in previous
releases).
2022-09-18 23:26:49 +02:00
Sébastien Helleu
d7c0e896b2
core: fix style in ChangeLog
2022-09-18 17:44:55 +02:00
Sébastien Helleu
389f9f436b
trigger: escape arguments with double quotes in output of /trigger input|output|recreate ( closes #190 )
2022-09-18 17:44:05 +02:00
Sébastien Helleu
fe62d93dd0
build: update version of Debian/Ubuntu distros in examples
2022-09-18 14:39:36 +02:00
Sébastien Helleu
d5c285f0a6
build: remove patches for Debian/Raspbian Stretch
2022-09-18 14:39:02 +02:00
Sébastien Helleu
a00edcf50e
tests: add tests on filter functions
2022-09-17 18:56:35 +02:00
Sébastien Helleu
be7380f9b3
core: fix order of filters after renaming a filter (issue #1695 )
2022-09-17 16:01:02 +02:00
Sébastien Helleu
5284921701
irc: fix message when disconnecting from server in case of high lag when server option autoreconnect is off ( closes #1708 )
2022-09-17 12:12:06 +02:00
Sébastien Helleu
36d2e7427e
core: fix wrong terminal title on terminal resize ( closes #1702 )
2022-09-17 11:56:03 +02:00
Sébastien Helleu
0df582c7c1
core: sort filters by name ( closes #1695 )
2022-09-17 11:07:22 +02:00
Sébastien Helleu
a99fc17d40
spell: allow special dict value "-" to disable spell checking on a specific buffer ( closes #1699 )
2022-09-17 10:44:21 +02:00
Sébastien Helleu
2b2ba62600
doc/api: add version 3.7 for priority in function hook_line
2022-09-17 07:52:39 +02:00
Sébastien Helleu
21683def12
doc: update German auto-generated file
2022-09-16 21:06:33 +02:00
Sébastien Helleu
96c22c41ba
api: add support of priority in function hook_line ( closes #1821 )
2022-09-16 21:05:51 +02:00
Nils Görs
ba27ec8d65
core: update German translations
2022-09-16 08:23:27 +02:00
Sébastien Helleu
c6d8b54459
irc: add option irc.look.display_pv_nick_change
2022-09-15 20:31:06 +02:00
Sébastien Helleu
82f59d2a98
doc: update auto-generated files
2022-09-11 16:30:55 +02:00
Nils Görs
731f7e4243
core: update German translations
2022-09-11 16:25:17 +02:00
Ivan Pešić
2178440b7c
core: Update Serbian translation
...
Includes documentation update.
2022-09-11 11:50:35 +02:00
Sébastien Helleu
57af62c1c0
doc/api: move function hook_completion in chapter on hook priority
2022-09-11 11:45:02 +02:00
Sébastien Helleu
742773e070
doc/api: update chapter on hook priority
2022-09-11 10:52:25 +02:00
Sébastien Helleu
ac646da4fb
doc/api: update note about priority in hook functions
2022-09-11 09:50:47 +02:00
Sébastien Helleu
9cb68b13a9
irc: replace chars "\01" by spaces in CTCP replies ( closes #1819 )
...
This prevents any attack due to an external security issue in the Linux
netfilter implementation (nf_conntrack_irc).
See: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2663
2022-09-10 13:43:45 +02:00
Sébastien Helleu
5070a6330c
xfer: use larger buffer for IP address
...
This removes a gcc warning about a too small buffer.
2022-09-09 19:20:41 +02:00
Sébastien Helleu
d5cbd6c49a
irc: fix display of message 350 (whois, gateway) ( closes #1815 )
2022-09-05 22:12:17 +02:00
Sébastien Helleu
2a32456f19
tests: add missing include of string.h
2022-09-05 20:49:59 +02:00
Sébastien Helleu
b0bf2fbc97
core: remove debug print
2022-09-03 22:38:12 +02:00
Sébastien Helleu
e8524ea2c4
xfer: fix DCC file receive on Termux ( closes #1811 )
...
This fixes such error displayed on Termux when receiving a DCC file:
xfer: invalid address "96747949": error 8 hostname nor servname provided, or not known
2022-09-03 22:29:46 +02:00
Sébastien Helleu
7cf9399616
core: rename argument "length" to "bytes" in function string_strndup (header files)
...
Argument was already renamed in commit f8915129bf
but it was incomplete (missing header files).
2022-08-31 22:51:47 +02:00
Sébastien Helleu
68ecfb16a1
irc: fix target buffer of generic errors when they contain a target nick ( closes #1814 )
2022-08-29 22:45:28 +02:00
Sébastien Helleu
f5604510cd
script: use API function weechat_crypto_hash_file in script_repo_sha512sum_file
2022-08-16 21:40:02 +02:00
Sébastien Helleu
0090695f7d
api: add function crypto_hash_file
2022-08-16 21:33:50 +02:00
Sébastien Helleu
e614410815
irc: fix extract of isupport value when it is last in list and without value ( closes #1807 )
2022-08-15 18:14:03 +02:00
Sébastien Helleu
fb14e67364
buflist: improve help on option buflist.look.enabled
2022-08-15 14:43:25 +02:00
Sébastien Helleu
a31de83a3c
core: move line from "New features" to "Bug fixes"
2022-08-15 13:11:08 +02:00
Sébastien Helleu
b26fb7fba6
core: add new option trigger.color.identifier in ChangeLog
2022-08-15 13:10:29 +02:00
Sébastien Helleu
0f67f55098
trigger: add elapsed time for trigger execution on monitor buffer when trigger debug is set ( closes #1806 )
2022-08-15 12:44:16 +02:00
Sébastien Helleu
1ce2d7f56d
trigger: fix error on monitor buffer creation when trigger debug is >= 1 and monitor buffer is closed
2022-08-15 12:42:26 +02:00
Sébastien Helleu
223eefef67
irc: display ACCOUNT command in private buffers
2022-08-13 22:58:37 +02:00
Sébastien Helleu
aee3da5452
irc: add options and display SETNAME command in channels and private buffers ( closes #1805 )
...
New options:
- irc.color.message_setname
- irc.look.smart_filter_setname
2022-08-13 22:47:22 +02:00
Sébastien Helleu
d3b84eaf6c
irc: display CHGHOST command in private buffers
2022-08-13 22:16:46 +02:00
Sébastien Helleu
ac50a5dda7
doc: update auto-generated files
2022-08-13 19:07:56 +02:00
Sébastien Helleu
a36fa2faea
logger: improve help on option logger.file.auto_log
2022-08-13 19:02:55 +02:00
Sébastien Helleu
1e0d59a5e6
irc: add missing tag "irc_numeric" in all numeric IRC commands ( closes #1804 )
2022-08-13 17:34:43 +02:00
Sébastien Helleu
06b6f457d9
tests: add tests on dynamic string functions with NULL string
2022-08-13 14:38:08 +02:00
Sébastien Helleu
57c0a82557
core: fix CMake warning in Python detection
2022-08-13 14:37:00 +02:00
Sébastien Helleu
dd65938a85
doc: update German auto-generated file
2022-08-09 23:35:57 +02:00
Nils Görs
ff417f88ea
core: update German translations
2022-08-08 10:22:56 +02:00
Nils Görs
2857b7b4b7
core: update German translations
2022-08-08 10:08:44 +02:00
Sébastien Helleu
a8080505f3
tests: add tests on function xfer_file_search_crc32
2022-08-08 08:06:23 +02:00
Sébastien Helleu
bbe8afcbd4
xfer: move and rename function xfer_filename_crc32 to xfer-file.c
2022-08-08 06:57:39 +02:00
Sébastien Helleu
25f25073b9
irc: fix parsing of messages with trailing spaces and no trailing parameter ( closes #1803 )
2022-08-07 23:28:11 +02:00
Sébastien Helleu
d068fe0de5
core: add option -save in command /upgrade ( closes #1630 )
2022-08-07 16:48:12 +02:00
Sébastien Helleu
d91cddc909
xfer: disconnect all active DCC chats and files on /upgrade
2022-08-07 11:15:03 +02:00
Sébastien Helleu
9fd71067e7
xfer: fix refresh of xfer buffer after /upgrade
2022-08-07 11:11:10 +02:00
Sébastien Helleu
441d532f15
relay: fix refresh of relay buffer after /upgrade
2022-08-07 10:04:47 +02:00
Sébastien Helleu
57c9f371bc
relay: use enum type for websocket status in client
2022-08-07 09:31:24 +02:00
Sébastien Helleu
4fa278c2c3
doc: update German auto-generated file
2022-08-05 22:34:40 +02:00
Nils Görs
0edae0d93d
Merge branch 'master' of https://github.com/weechat/weechat
2022-08-05 09:49:59 +02:00
Nils Görs
fbc2e86d0e
core: update German translations
2022-08-05 09:49:27 +02:00
Sébastien Helleu
06622b5acb
doc: update German auto-generated file
2022-08-04 22:14:28 +02:00
Nils Görs
9bb903cbc8
core: update German translations
2022-08-04 12:46:04 +02:00
Sébastien Helleu
e9b8c9b6aa
ci: fix Ubuntu code name when applying Debian patch
2022-08-03 22:05:45 +02:00
Sébastien Helleu
b0eb3c9347
ci: remove macOS 10.15, add macOS 12 in CI
2022-08-03 21:57:44 +02:00
Sébastien Helleu
2102ef742b
core: update ChangeLog
2022-08-03 21:56:55 +02:00
Sébastien Helleu
5d51e7286c
ci: remove tests on macOS 10.15
2022-08-03 21:52:47 +02:00
Sébastien Helleu
fe892460ba
tests: fix pylint errors
2022-08-03 21:51:51 +02:00
Sébastien Helleu
0bb7a34748
doc: fix pylint errors
2022-08-03 21:51:51 +02:00
Sébastien Helleu
ee1efedbd7
ci: switch from Ubuntu 20.04 to 22.04
2022-08-03 21:51:51 +02:00
Emir SARI
492a68b3de
Update Turkish translations
...
Fixes plural structure to comply with gettext Turkish specification.
2022-08-03 21:20:31 +02:00
Sébastien Helleu
2bd3d32f0d
irc: mention how to remove capability in /help cap
2022-08-03 21:18:17 +02:00
Sébastien Helleu
6b28cc001f
tests: fix _ast_num in script generator
2022-08-02 23:52:31 +02:00
Sébastien Helleu
23707a12ea
tests: fix scripting API tests with Python 3.8
2022-08-02 21:35:33 +02:00
Sébastien Helleu
a7364d055b
tests: disable pylint errors in testapi.py
2022-08-02 21:21:07 +02:00
Sébastien Helleu
4d4a6f99f9
tests: add tests on hdata functions (scripting API)
2022-08-02 21:11:45 +02:00
Sébastien Helleu
a4c73b9ae7
tests: fix assignment in tcl script generator
2022-08-02 20:55:59 +02:00
Sébastien Helleu
3bc0453cae
tests: fix assignment in perl script generator
2022-08-02 20:55:36 +02:00
Sébastien Helleu
2ed281af02
tests: use double quotes instead of simple quotes in ruby script generator
...
This allows to use escaped chars in strings.
2022-08-02 20:54:35 +02:00
Sébastien Helleu
05abbac297
tests: add subscript in script generator
2022-08-02 20:52:40 +02:00
Sébastien Helleu
237c37e719
tests: fix unary op in script generator
2022-08-02 20:51:40 +02:00
Sébastien Helleu
39f2b2f7b9
ruby: fix function hdata_get_string
2022-08-02 20:50:48 +02:00
Sébastien Helleu
8f6395e889
guile: fix function hdata_get_string
2022-08-02 20:50:24 +02:00
Sébastien Helleu
53df45de48
php: fix function hdata_compare
2022-08-02 20:49:35 +02:00
Sébastien Helleu
bcb8647aa4
scripts: fix issue with long interval in function hook_timer
...
Affected plugins: python, ruby, lua, tcl, guile, javascript, php.
2022-08-01 22:18:38 +02:00
Sébastien Helleu
b1404b0277
scripts: fix issue with year ≥ 2038 in functions print_date_tags and print_y_date_tags
...
Affected plugins: python, lua, tcl, guile, javascript.
2022-08-01 21:03:44 +02:00
Sébastien Helleu
1514570ff0
scripts: fix issue with year ≥ 2038 in function infolist_new_var_time
...
Affected plugins: python, lua, tcl, guile, javascript.
2022-08-01 20:32:09 +02:00
Sébastien Helleu
2475ba43a3
javascript: fix return of long value in functions infolist_time, hdata_long and hdata_time
2022-08-01 20:13:01 +02:00
Sébastien Helleu
d2c2f9e6cd
tests: fix run of Guile test script
2022-08-01 20:02:35 +02:00
Sébastien Helleu
d8abdc57ee
core: fix styles in ChangeLog
2022-07-31 09:59:18 +02:00
Sébastien Helleu
e77ea9dc26
buflist: add variable "${hotlist_priority_number}" (integer version of "${hotlist_priority}")
2022-07-31 09:58:29 +02:00
Emir SARI
324f0aaa2d
Update Turkish translations
2022-07-30 07:53:40 +02:00
Nils Görs
ae273b2714
core: update German translations
2022-07-28 13:45:27 +02:00
Sébastien Helleu
06a05fd674
doc: update German auto-generated files
2022-07-27 22:07:50 +02:00
Sébastien Helleu
a50143fdf8
irc: display an error message when using command /dcc without xfer plugin loaded
2022-07-27 22:07:24 +02:00
Sébastien Helleu
56b82fb115
xfer: fix crash when closing DCC chat buffer
2022-07-27 22:06:48 +02:00
Nils Görs
9b4f52ac13
core: update German translations
2022-07-26 13:45:37 +02:00
Sébastien Helleu
906ac1d1e1
relay: exit function relay_irc_recv if params can not be allocated
2022-07-24 23:02:09 +02:00
Sébastien Helleu
2a145d7cc1
core: remove dead assignments
2022-07-24 23:01:38 +02:00
Sébastien Helleu
68ad24f2df
core: add option weechat.look.highlight_disable_regex and buffer property "highlight_disable_regex" ( closes #1798 )
2022-07-24 22:43:48 +02:00
Sébastien Helleu
1796634d83
core: use dynamic string in function gui_bar_item_get_value
2022-07-24 21:18:26 +02:00
Sébastien Helleu
a37c46c21e
doc: use non-breaking spaces before links to notes
2022-07-22 17:24:44 +02:00
Sébastien Helleu
d43b9e99c1
doc/scripting: add missing fields "paramN" and "num_params" in output of "irc_message_parse"
...
These new fields were added in version 3.4 with major improvements of the IRC
message parser.
2022-07-22 17:06:49 +02:00
Sébastien Helleu
d5c4342bce
irc: fix display of TOPIC message with an empty trailing parameter
2022-07-21 11:16:50 +02:00
Sébastien Helleu
569c93c6fb
irc: fix display of QUIT message with an empty trailing parameter ( closes #1797 )
...
The regression was introduced with the new way to parse IRC message parameters,
in version 3.4.
2022-07-21 11:10:29 +02:00
Sébastien Helleu
96ed471261
relay: fix parsing of IRC messages received from clients ( closes #1796 )
...
The IRC parser improved in version 3.4 is now used to parse command
parameters (variables "num_params" and "paramN" in output of parser function).
2022-07-21 10:20:10 +02:00
Sébastien Helleu
6b59fc8557
irc: use API function string_rebuild_split_string in irc_protocol_string_params
2022-07-20 13:20:07 +02:00
Sébastien Helleu
b7441bd7a3
api: add arguments "index_start" and "index_end" in function string_rebuild_split_string
2022-07-20 13:16:35 +02:00
Sébastien Helleu
62e68f965f
api: rename function string_build_with_split_string to string_rebuild_split_string
2022-07-20 12:14:40 +02:00
Sébastien Helleu
0440309cee
irc: fix duplicated channels in autojoin option when autojoin_dynamic is enabled ( closes #1795 )
2022-07-16 14:05:48 +02:00
Sébastien Helleu
e057c16b36
api: add info "uptime_current"
...
This info returns time duration between the start of the current WeeChat
process and now (so upgrades with /upgrade are ignored).
2022-07-10 13:02:35 +02:00
Sébastien Helleu
c4cade3550
Version 3.7-dev
2022-07-10 09:41:57 +02:00
Sébastien Helleu
e5a159c74f
Version 3.6
2022-07-10 09:18:05 +02:00
Sébastien Helleu
b74aa71442
debian: update changelog
2022-07-09 09:32:17 +02:00
Nils Görs
8fb7987633
doc: update German documentation
2022-07-09 00:35:09 +02:00
Sébastien Helleu
bb76a5d266
Version 3.6-rc1
2022-07-06 23:02:12 +02:00
Sébastien Helleu
db21a0da90
doc: update Serbian auto-generated files
2022-07-06 22:54:15 +02:00
Ivan Pešić
7508337240
core: Serbian message translation fixes
...
Several fixes.
2022-07-06 22:53:59 +02:00
Sébastien Helleu
98375b8ffc
doc: update Serbian auto-generated files
2022-07-05 21:19:36 +02:00
Sébastien Helleu
d6d83474c7
doc: remove extra space in Serbian translation
2022-07-05 21:19:17 +02:00
Ivan Pešić
43bafa59d8
core/doc: Update Serbian translation
2022-07-05 21:15:06 +02:00
Sébastien Helleu
e8c255770f
doc: fix display of literal blocks
...
This fixes:
- height of lines in literal blocks (all browsers)
- literal blocks in Japanese docs (Firefox)
2022-07-04 23:42:36 +02:00
Sébastien Helleu
59a4142b00
doc: remove font "Noto Color Emoji"
...
This allows the same render for north east arrow on all browsers.
2022-07-03 21:51:01 +02:00
Sébastien Helleu
dbc59965ac
doc: force color-scheme to dark/light according to the theme
...
This allows to have dark scroll bars in Chrome-based browsers.
2022-07-03 21:46:02 +02:00
Sébastien Helleu
6ffebec1a6
tests: add tests on IRC messages 524/704/705/706 (issue #1772 )
2022-07-02 21:11:32 +02:00
Sébastien Helleu
1c7b431bc8
api: run hook_print callback also on empty messages
2022-07-02 21:10:48 +02:00
Sébastien Helleu
749bc26926
irc: remove unneeded translation marker (issue #1772 )
2022-07-02 20:41:39 +02:00
Sébastien Helleu
9ac9dc7023
core: update ChangeLog (issue #1772 )
2022-07-02 20:34:39 +02:00
Sébastien Helleu
bbf55b734c
irc: start at parameter #2 in callback of messages 524/704/705/706 (issue #1772 )
2022-07-02 20:34:36 +02:00
Sébastien Helleu
2095887be9
irc: fix comments (issue #1772 )
2022-07-02 20:34:34 +02:00
Valentin Lorentz
fa05f75b74
irc: add ERR_HELPNOTFOUND (issue #1772 )
2022-07-02 20:34:31 +02:00
Valentin Lorentz
a96d2c28fb
irc: strip topic name when formatting RPL_HELPSTART/RPL_HELPTXT/RPL_ENDOFHELP (issue #1772 )
2022-07-02 20:34:27 +02:00
Sébastien Helleu
4a115fdedd
core: update ChangeLog
2022-06-30 20:37:11 +02:00
Sébastien Helleu
3a0e54d236
php: fix compilation warning about unused arguments
2022-06-30 20:35:59 +02:00
Adam Saponara
24fe646c4e
php: Deprecate forget_* functions in PHP 8+
...
These functions don't work with PHP 8+ and also don't seem to be
necessary anymore when reloading scripts.
2022-06-30 20:33:45 +02:00
Adam Saponara
8cf5848116
php: Add stubs and generate arginfo for PHP API
...
This was preventing the PHP plugin from working if PHP was compiled
with `--enable-debug`. With this patch, `--enable-debug` builds of
PHP should work.
2022-06-30 20:33:13 +02:00
Adam Saponara
3e1a5b4447
php: Adjust API for PHP 8.2
2022-06-30 20:32:20 +02:00
Sébastien Helleu
1fb82b4062
doc/quickstart: add command /autojoin and server option autojoin_dynamic
2022-06-28 23:00:43 +02:00
Sébastien Helleu
d4dc1467c9
doc/scripting: add arrow and open external links in new tab
2022-06-27 00:07:41 +02:00
Sébastien Helleu
c64bdeaed3
doc/relay: add arrow and open external links in new tab
2022-06-26 23:57:50 +02:00
Sébastien Helleu
37ed420108
doc/quickstart: add arrow and open external links in new tab
2022-06-26 23:54:07 +02:00
Sébastien Helleu
b825ce49c2
doc/api: add arrow and open external links in new tab
2022-06-26 23:47:05 +02:00
Sébastien Helleu
33bf2dec43
doc/faq: add arrow and open external links in new tab
2022-06-26 23:29:46 +02:00
Sébastien Helleu
0fe3661eab
doc/dev: add arrow and open external links in new tab
2022-06-26 22:41:56 +02:00
Sébastien Helleu
aee4d283c9
doc/user: add arrow and open external links in new tab
2022-06-26 22:23:54 +02:00
Sébastien Helleu
d3cdccc274
doc/user: replace TOR by Tor
2022-06-26 16:38:05 +02:00
Sébastien Helleu
42a0a19828
doc/user: add a chapter on supported IRCv3 extensions
2022-06-25 08:53:18 +02:00
Sébastien Helleu
8788fcedc8
irc: update URLs to IRCv3 specifications
2022-06-25 08:53:03 +02:00
Sébastien Helleu
84e6e84347
doc: remove underline and change color for links
2022-06-24 18:59:42 +02:00
Sébastien Helleu
38efd63012
doc: fix generation of python stub
2022-06-24 07:46:35 +02:00
Sébastien Helleu
031819173b
doc: change formatting in asciidoctor tables
2022-06-23 20:43:46 +02:00
Sébastien Helleu
de3d670ca7
doc: update German auto-generated file
2022-06-21 21:24:43 +02:00
Nils Görs
d2394f6432
core: update German translations
2022-06-20 13:46:19 +02:00
Sébastien Helleu
2c4bad8120
core: add trailing slashes in URLs
2022-06-18 16:18:09 +02:00
Sébastien Helleu
8ac67ff540
doc: add trailing slashes in URLs
2022-06-18 16:05:11 +02:00
Sébastien Helleu
b8ef7e2f65
doc/user: add missing server option "autojoin_dynamic"
2022-06-18 12:49:03 +02:00
Sébastien Helleu
21ca625f10
irc: update translations
2022-06-18 10:40:04 +02:00
Sébastien Helleu
9644df21ad
irc: add example with /allchan in /help autojoin
2022-06-17 21:05:12 +02:00
Sébastien Helleu
17ae43aa03
irc: rename option save to apply in command /autojoin
2022-06-15 22:11:08 +02:00
Sébastien Helleu
487406cfd9
doc/user: fix column size
2022-06-10 12:41:13 +02:00
Nils Görs
cd4db84feb
doc: update German documentation
2022-06-10 09:16:39 +02:00
Sébastien Helleu
55a796f30b
doc/user: add chapter on custom bar items
2022-06-07 21:04:34 +02:00
Sébastien Helleu
d81813cd6a
doc/faq: mention command /autojoin to edit the "autojoin" server option
2022-06-06 23:53:25 +02:00
Sébastien Helleu
2006c2c940
doc: update German auto-generated files
2022-05-31 08:19:09 +02:00
Sébastien Helleu
f3d2f9bbe1
doc/user: fix links to commands
2022-05-30 22:11:40 +02:00
Nils Görs
2c61a24413
core: update German translations
2022-05-30 10:13:43 +02:00
Sébastien Helleu
10501a34fe
core: fix style in ChangeLog
2022-05-28 10:24:41 +02:00
Sébastien Helleu
99dcdae5b0
core: update translations
2022-05-27 22:47:46 +02:00
Sébastien Helleu
86f110db98
core: add completion of conditions and content in commands /item add and /item addreplace (issue #808 )
2022-05-27 22:16:58 +02:00
Sébastien Helleu
a1a9303b14
trigger: fix completion of command /trigger add when there are spaces in the following arguments
2022-05-27 22:16:58 +02:00
Sébastien Helleu
5ef4731c62
core: add examples in /help item (issue #808 )
2022-05-27 22:16:55 +02:00
Sébastien Helleu
007958e82c
core: add display conditions in custom bar items (issue #808 )
2022-05-27 22:16:50 +02:00
Sébastien Helleu
5876a8335f
trigger: fix memory leak in command /trigger addinput
2022-05-27 17:53:56 +02:00
Sébastien Helleu
cefed25912
core: add command /item ( closes #808 )
...
This allows to create custom bar items with evaluated content (like the script
text_item.py does).
2022-05-27 17:53:50 +02:00
Nils Görs
79438c72e1
core: update German translations
2022-05-12 08:17:19 +02:00
Sébastien Helleu
d99fe0bc76
core: allow to remove multiple filters at once with command /filter del
2022-05-11 21:50:53 +02:00
Sébastien Helleu
540ff62c60
doc/relay: add missing version 3.5 in command "init"
2022-05-09 18:11:43 +02:00
Sébastien Helleu
3e8580b5e5
doc/faq: rename option autojoin_record to autojoin_dynamic
2022-04-29 08:21:10 +02:00
Sébastien Helleu
0f1f9bc87f
doc: update German auto-generated file
2022-04-25 13:31:35 +02:00
Nils Görs
f0572474d4
core: update German translations
2022-04-25 08:28:35 +02:00
Sébastien Helleu
d4d8117461
irc: remove channel from autojoin option when manually closing a buffer
2022-04-24 22:09:19 +02:00
Sébastien Helleu
4d8df89bb5
irc: fix add of channel to autojoin option when joining a channel with a buffer still opened
2022-04-24 22:09:19 +02:00
Sébastien Helleu
b7f3127bf8
api: allow to catch multiple signals in functions hook_signal and hook_hsignal ( closes #1780 )
2022-04-24 22:09:15 +02:00
Sébastien Helleu
f69ef840e0
doc/api: remove word "and" in text with updated versions
2022-04-24 17:36:39 +02:00
Sébastien Helleu
e46d2567ea
core: fix style in ChangeLog
2022-04-24 10:31:28 +02:00
Sébastien Helleu
8be5759ef7
core: update ChangeLog
2022-04-24 10:30:47 +02:00
Sébastien Helleu
78317f8b55
core: move detailed list of hooks from command "/plugin listfull" to "/debug hooks <plugin>"
2022-04-24 10:28:09 +02:00
Sébastien Helleu
d16640130e
core: add functions to get short description of hooks
2022-04-24 10:06:54 +02:00
Sébastien Helleu
95cf2aa956
doc: update auto-generated files with commands
2022-04-23 22:10:12 +02:00
Sébastien Helleu
dc367a83f6
core: add missing options "dirs" and "hooks" in description of /debug command arguments
2022-04-23 19:13:16 +02:00
Sébastien Helleu
2a2428902b
trigger: check that buffer notify is not "none" to run command of default trigger beep
2022-04-23 14:15:41 +02:00
Sébastien Helleu
51ed9ec93e
core: add case conversion in evaluation of expressions ( closes #1778 )
2022-04-18 13:46:16 +02:00
Nils Görs
46033a7ee9
doc: update German documentation
2022-04-18 10:58:35 +02:00
Sébastien Helleu
a2e43a732e
core: update ChangeLog ( closes #1700 )
2022-04-18 09:55:55 +02:00
Sébastien Helleu
674f52bf58
core: add bar item "spacer"
2022-04-18 09:52:01 +02:00
Sébastien Helleu
0af960dbde
core: use dynamic string functions to build bar window content
2022-04-17 09:20:46 +02:00
Sébastien Helleu
07b54a9932
buflist: fix memory leak when reading config and changing option buflist.look.sort
2022-04-16 20:24:24 +02:00
Sébastien Helleu
9fceaa465d
doc/user: add install of binary package with brew on macOS
2022-04-09 19:36:11 +02:00
Ivan Pešić
94555e043c
doc: Update Serbian translation
2022-04-09 10:45:27 +02:00
Sébastien Helleu
f02b172716
core: add CVE id in ChangeLog
2022-04-03 21:13:05 +02:00
Sébastien Helleu
9b1184e180
ci: install package ruby-pygments.rb
2022-03-30 21:54:36 +02:00
Sébastien Helleu
f39553152f
relay: fix save of channels when JOIN/PART are received from an IRC relay client ( closes #1771 )
2022-03-30 21:41:14 +02:00
Sébastien Helleu
89f49040f3
debian: add dependency on ruby-pygments.rb
2022-03-29 21:02:42 +02:00
Sébastien Helleu
95d0b89d1d
doc/user: add chapter on containers
2022-03-28 23:18:44 +02:00
Sébastien Helleu
01f9bcbaba
core: fix bad window size on startup with some terminals like kitty ( closes #1769 )
2022-03-27 17:19:39 +02:00
Sébastien Helleu
6fb6fad7e9
Version 3.6-dev
2022-03-27 16:04:59 +02:00
Sébastien Helleu
0e6497612c
Version 3.5
2022-03-27 15:13:48 +02:00
Sébastien Helleu
a794bf39bb
debian: update changelog
2022-03-27 09:49:50 +02:00
Sébastien Helleu
5f543f26cc
core: update .mailmap
2022-03-24 21:04:21 +01:00
Sébastien Helleu
0d8ced6c32
doc: use unicode symbol for greater-than or equal to
2022-03-23 21:12:02 +01:00
Sébastien Helleu
db28e2133d
doc: update Serbian auto-generated files
2022-03-22 21:18:32 +01:00
Ivan Pešić
bab175f5b4
core: update Serbian translation
2022-03-22 21:18:03 +01:00
Ivan Pešić
d3b42fae83
doc: update Serbian translations
2022-03-22 21:18:03 +01:00
Sébastien Helleu
ef41998179
core: use unicode symbol for greater-than or equal to in ChangeLog
2022-03-21 23:02:35 +01:00
Sébastien Helleu
05e65cdd31
Version 3.5-rc1
2022-03-20 18:11:25 +01:00
Sébastien Helleu
872ff1cc6d
irc: fix memory leak in command /autojoin addraw when channels are missing
2022-03-19 10:17:32 +01:00
Sébastien Helleu
8123cb3e0b
irc: ensure old_autojoin and ptr_autojoin are not NULL before comparing them
2022-03-19 10:15:16 +01:00
Sébastien Helleu
15e11ecc0c
core: fix line too long
2022-03-17 21:17:34 +01:00
Trygve Aaberge
827db6dc31
core: Fix regex for constants in the Python stub generator
...
In Python raw strings, newlines can't be escaped with a backslash. If
you do that, both the backslash and the newline become part of the
string. This meant that the regex for constants both started and ended
with a newline which caused every other constant to be skipped.
2022-03-17 21:16:45 +01:00
Sébastien Helleu
44e0414970
core: add version 3.4.1
2022-03-14 08:39:24 +01:00
Sébastien Helleu
9a19cc5d59
core: update latest stable version to 3.4.1
2022-03-14 08:35:24 +01:00
Nils Görs
3289bd2882
doc: update German documentation
2022-03-13 22:41:26 +01:00
Sébastien Helleu
6e75f93e1f
doc/user: translate FreeBSD installation instructions (issue #1760 )
2022-03-13 20:40:32 +01:00
Mateusz Piotrowski
13482b38d0
Add FreeBSD installation instructions
2022-03-13 20:38:57 +01:00
Sébastien Helleu
6004139098
core: set again TLS verification functions after GnuTLS options are changed ( closes #1763 )
...
When changing the options weechat.network.gnutls_ca_system or
weechat.network.gnutls_ca_user, the GnuTLS credentials are freed then allocated
again, but the verification function used to check the certificate on
connection is not set again.
As a consequence, any TLS connection is made without checking the certificate.
This regression was introduced in version 3.2, when the options were changed to
automatically load system certificates without having to give the path, and to
let user give an extra custom path with certificates.
2022-03-13 18:04:07 +01:00
Sébastien Helleu
116f533e0d
doc: update German auto-generated files
2022-03-13 14:07:56 +01:00
Sébastien Helleu
c943d3507f
python: add function buffer_new_props in Python stub file
2022-03-13 14:07:22 +01:00
Sébastien Helleu
869279e9b6
tests: add tests on function gui_buffer_match_list
2022-03-13 14:03:23 +01:00
Sébastien Helleu
947ca33c14
tests: add tests on function gui_buffer_valid
2022-03-13 14:03:14 +01:00
Sébastien Helleu
44ec7e8cfa
tests: add tests on functions gui_buffer_search_type and gui_buffer_search_notify
2022-03-13 13:49:18 +01:00
Sébastien Helleu
4629b17173
tests: add tests on functions gui_buffer_new and gui_buffer_new_props
2022-03-13 13:29:50 +01:00
Sébastien Helleu
e5e3a9d2da
api: add function buffer_new_props ( closes #1759 )
2022-03-13 10:35:29 +01:00
Sébastien Helleu
fbbed9fbf7
core: add function gui_buffer_new_props (issue #1759 )
...
This function allows to create a buffer and set properties via a hashtable,
before the signal "buffer_opened" is sent.
2022-03-13 10:35:29 +01:00
Sébastien Helleu
310b4dd2a0
tests: close xfer buffer after receiving some files
2022-03-13 10:34:56 +01:00
Sébastien Helleu
55f1655064
dev/scripting: fix typo
2022-03-12 20:50:25 +01:00
Sébastien Helleu
55aa40e087
doc/dev: add file test-irc-tag.cpp
2022-03-12 16:47:14 +01:00
Sébastien Helleu
68f395d433
doc/dev: add file irc-typing.c
2022-03-12 16:41:52 +01:00
Sébastien Helleu
22a36665e3
doc/dev: add file test-logger-backlog.cpp
2022-03-12 16:38:58 +01:00
Sébastien Helleu
65e08ffe07
core: update ChangeLog (issue #1761 )
2022-03-12 16:11:08 +01:00
Sébastien Helleu
8781187771
doc/scripting: translate note about Tcl constant $::weechat::WEECHAT_NULL
2022-03-12 16:08:19 +01:00
Trygve Aaberge
197a7a01e4
scripts: allow null values in config_new_option
...
The plugin API function config_new_option accepts null as the
default_value and/or value however the scripting APIs (except for lua)
didn't allow sending null as a parameter value, so it was impossible to
use it this way. This allows sending a null value for these parameters.
Lua already supported sending in nil for these parameters and it works
as expected, so nothing is changed for this plugin.
For Guile you can now send in #nil, for JavaScript null or undefined,
for Perl undef, for PHP NULL, for Python None, for Ruby nil and for Tcl
$::weechat::WEECHAT_NULL.
In all of these languages except Tcl this is the special value
indicating a missing value. However Tcl only has one type, string, so it
doesn't have a null value. Therefore I created a constant with the value
`\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF` which is used
instead. This is very unlikely to appear unintentionally. Using the
unicode code point \uFFFF was suggested on
https://wiki.tcl-lang.org/page/null .
I tested this with these scripts:
https://gist.github.com/trygveaa/f91977dde5d2876d502bf55fbf9b50cc
2022-03-12 16:00:38 +01:00
Sébastien Helleu
47e71a1bbd
tests: close buffers of channels created for tests on irc_join_save_channels_to_autojoin
2022-03-12 15:20:45 +01:00
Emir SARI
3a4a9459e7
Update Turkish translations
2022-03-12 10:36:12 +01:00
Nils Görs
cd6b83470e
core: update German translations
2022-03-11 20:39:51 +01:00
Sébastien Helleu
3f9c46468c
irc: add option "sort" in command /autojoin
2022-03-11 19:31:56 +01:00
Sébastien Helleu
9a286c65c6
tests: add missing include of string.h
2022-03-10 21:37:13 +01:00
Sébastien Helleu
aadd0772fe
irc: update translations
2022-03-10 21:26:26 +01:00
Sébastien Helleu
bb03e18425
irc: display only one message in /autojoin command output
2022-03-10 21:12:46 +01:00
Sébastien Helleu
5d809df6ed
tests: move include of tests/tests.h outside of extern "C"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
74ba21a8c4
tests: add tests on verbose argument of irc join functions
2022-03-10 21:12:46 +01:00
Sébastien Helleu
02bdf854bc
irc: fix add of same channel with and without key in the array list
2022-03-10 21:12:46 +01:00
Sébastien Helleu
8c66070136
irc: rename server option "autojoin_record" to "autojoin_dynamic"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
9cfdb4a324
irc: add command /autojoin
2022-03-10 21:12:46 +01:00
Sébastien Helleu
c1e65e8edd
irc: add server option "autojoin_record"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
f81a0dc4d9
doc: fix syntax highlighting in Serbian docs
2022-03-07 21:46:33 +01:00
Sébastien Helleu
d06f1e8486
guile: remove disabling of guile gmp allocator with Guile ≥ 3.0.8
...
This fixes the compilation warning:
weechat-guile.c: In function ‘weechat_plugin_init’:
weechat-guile.c:1270:5: warning: ‘scm_install_gmp_memory_functions’ is deprecated [-Wdeprecated-declarations]
2022-03-06 16:42:54 +01:00
Sébastien Helleu
ffb6cc3208
tests: add tests on function irc_server_valid
2022-03-05 20:53:01 +01:00
Sébastien Helleu
dc779b5179
tests: add tests on functions irc_server_search and irc_server_casesearch
2022-03-04 21:44:46 +01:00
Sébastien Helleu
7228262591
irc: fix display of message 901 (you are now logged out) ( closes #1758 )
2022-02-28 22:12:22 +01:00
Ivan Pešić
e4f93a7f30
doc: Update Serbian documentation
2022-02-22 19:03:51 +01:00
Sébastien Helleu
fd27faf899
tests: add tests on function logger_backlog_display_line
2022-02-21 20:17:01 +01:00
Sébastien Helleu
7486ea6dc1
logger: split function logger_backlog into two functions
2022-02-21 20:16:43 +01:00
Sébastien Helleu
9e9e252ff3
doc/relay: fix columns sizes in tables
2022-02-21 18:27:22 +01:00
Sébastien Helleu
db368b5824
doc/scripting: fix column size in tables
2022-02-21 18:26:39 +01:00
Sébastien Helleu
214e3cb1c2
doc/user: fix style in tables
2022-02-21 18:26:11 +01:00
Nils Görs
b4a14ef1dd
doc: update German documentation
2022-02-21 08:58:00 +01:00
Sébastien Helleu
40ff9beb10
doc/dev: add table with list of components for git commit message
2022-02-20 17:31:25 +01:00
Trygve Aaberge
d359e8135e
doc/api: Add missing parameter to python prototype for config_new_section
2022-02-20 16:49:04 +01:00
Sébastien Helleu
8700e0bb36
scripts: auto-load scripts with supported extensions only ( closes #1698 )
2022-02-20 16:29:31 +01:00
Sébastien Helleu
601bd7e0b8
doc/user: update dependencies using versions from Debian Bullseye
2022-02-20 16:12:21 +01:00
Sébastien Helleu
d3a9ce29fc
doc/user: add missing dependency on ruby-pygments.rb to build doc
2022-02-20 09:09:54 +01:00
Sébastien Helleu
f39c6a58d0
irc: replace calls to strndup by weechat_strndup
2022-02-19 16:34:36 +01:00
Sébastien Helleu
4068dc8da5
core: replace calls to strndup by string_strndup
2022-02-19 16:34:19 +01:00
Sébastien Helleu
7051c0fc2b
tests: add tests on function string_strndup
2022-02-19 16:33:49 +01:00
Sébastien Helleu
7f8e5b892d
core: call strdup in string_strndup if bytes equals strlen of string
2022-02-19 16:32:59 +01:00
Sébastien Helleu
e0db08c782
debian: change dependency libargon2-0-dev to libargon2-dev (debian bug #1005703 )
2022-02-19 10:18:38 +01:00
Sébastien Helleu
6fbfb2f476
core: update sentence about XDG directories in release notes
2022-02-15 07:12:38 +01:00
Sébastien Helleu
a2bb57bf82
doc/api: add missing type for argument "count" in Python prototype of function ngettext
2022-02-14 07:25:22 +01:00
Sébastien Helleu
ba7ff87d19
irc: fix parsing of message 223 (m_filter) sent by InspIRCd server ( closes #1751 )
2022-02-10 20:50:16 +01:00
Ivan Pešić
d7c8b16c4f
doc: Update Serbian documentation
2022-02-08 13:22:24 +01:00
Sébastien Helleu
d0c857934b
ruby: add detection of Ruby 3.1
2022-02-08 12:41:32 +01:00
Sébastien Helleu
e8c59e1f5b
core: fix style in ChangeLog
2022-02-05 10:04:25 +01:00
Sébastien Helleu
ec86c33789
doc/user: add supported C++ compilers in dependencies
2022-02-01 20:33:17 +01:00
Sébastien Helleu
608f56020d
core: search in message tags when tags are displayed with /debug tags
2022-01-30 13:33:21 +01:00
Sébastien Helleu
9259442dbf
core: add support of date and tags in messages displayed in buffers with free content, add function printf_y_date_tags ( closes #1746 )
2022-01-30 11:41:06 +01:00
Sébastien Helleu
bf3241208b
doc/api: fix type of parameter "date" in script prototype of function prnt_date_tags
2022-01-30 11:01:17 +01:00
Sébastien Helleu
28d6b71d9e
tests: add tests on gui_chat_printf_date_tags with past date and tags
2022-01-30 10:01:32 +01:00
Sébastien Helleu
083662cb34
tests: add tests on GUI chat functions
...
Functions tested:
- gui_chat_utf_char_valid
- gui_chat_char_size_screen
- gui_chat_strlen
- gui_chat_strlen_screen
- gui_chat_string_add_offset
- gui_chat_string_add_offset_screen
- gui_chat_string_real_pos
- gui_chat_string_pos
- gui_chat_get_word_info
- gui_chat_printf_date_tags_internal
- gui_chat_printf_date_tags
- gui_chat_printf_y
2022-01-29 10:24:21 +01:00
Sébastien Helleu
bf9cf3875f
doc/dev: update format of commit messages for docs
2022-01-29 10:12:32 +01:00
Sébastien Helleu
fc2f564950
doc: update auto-generated files with options
2022-01-28 09:36:03 +01:00
Sébastien Helleu
efaf88d857
tests: add tests on functions gui_line_build_string_prefix_message and gui_line_build_string_message_tags
2022-01-28 07:45:35 +01:00
Sébastien Helleu
05a9457504
core: move functions from gui-chat.c to gui-line.c
...
Functions moved and renamed:
- gui_chat_build_string_prefix_message -> gui_line_build_string_prefix_message
- gui_chat_build_string_message_tags -> gui_line_build_string_message_tags
2022-01-28 07:26:11 +01:00
Sébastien Helleu
3110740777
core: use dynamic string in function gui_chat_build_string_message_tags
2022-01-28 07:12:01 +01:00
Sébastien Helleu
a62f8f6f75
core: use dynamic string in function gui_chat_build_string_prefix_message
2022-01-28 07:03:44 +01:00
Sébastien Helleu
05eb897771
doc/api: merge examples and results in same column (function string_eval_expression)
2022-01-27 21:15:34 +01:00
Sébastien Helleu
113f93e5db
doc/api: add column "Min WeeChat" in string_eval_expression tables
2022-01-27 20:01:46 +01:00
Sébastien Helleu
f2aef8c13c
core: check that utf_char is not NULL in gui chat functions
2022-01-26 20:24:31 +01:00
Sébastien Helleu
3983f01ee7
core: set prefix to NULL when clearing a line on a buffer with free content
2022-01-26 20:23:16 +01:00
Sébastien Helleu
0ebf3dbede
core: fix memory leak when removing a line on a buffer with free content
2022-01-26 20:22:56 +01:00
Sébastien Helleu
13fb3649dd
core: update ChangeLog
2022-01-23 15:42:16 +01:00
Trygve Aaberge
6a88bbb4cc
Remove old and unused config option weechat.plugin.debug
...
As far as I can see, this option is not used anywhere and should have
been removed in commit 6e69f7f3c .
2022-01-23 15:41:10 +01:00
Emir SARI
b018f8d5c8
core: update Turkish translations
2022-01-23 10:18:59 +01:00
Sébastien Helleu
574f1837f9
python: fix crash in hook callbacks after script loading failure ( closes #1740 )
2022-01-22 21:34:04 +01:00
Sébastien Helleu
5172f20217
doc: update Serbian auto-generated file
2022-01-21 22:33:35 +01:00
Ivan Pešić
ab7c4c0147
doc: Update Serbian translation
2022-01-21 14:49:50 +01:00
Nils Görs
28fc2e7cbf
doc: update German documentation
2022-01-18 08:51:55 +01:00
Sébastien Helleu
2d6ab2ec0a
core: fix install of PHP 8.0 in CI
2022-01-17 21:27:04 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
ab12d384ea
doc: add example of hook_process with a script function (scripting guide)
2022-01-16 10:16:27 +01:00
Sébastien Helleu
c775242a4c
doc: remove useless comparison with empty string in Python examples (plugin API reference)
2022-01-16 10:15:55 +01:00
Sébastien Helleu
619f09f2d6
xfer: fix auto-accept of server/nick when the server name contains UTF-8 chars (issue #1739 )
2022-01-15 10:04:43 +01:00
Sébastien Helleu
e6f65122a9
spell: fix comparison of URL prefix with UTF-8 chars (issue #1739 )
...
There is no problem in practice because the possible URL prefixes are hardcoded
in the spell plugin and don't contain any UTF-8 char on more than one byte.
2022-01-15 10:04:12 +01:00
Sébastien Helleu
50167ca96f
relay: fix comparison of server nonce with UTF-8 chars (issue #1739 )
...
There is no problem in practice because this server nonce is generated by
WeeChat itself and encoded to base64, so it never contains any UTF-8 char on
more than one byte.
2022-01-15 10:03:54 +01:00
Sébastien Helleu
b54d06630d
irc: fix completion of channel topic with UTF-8 chars (issue #1739 )
2022-01-15 09:52:23 +01:00
Sébastien Helleu
c13aa86c79
api: fix add of infolist items in hashtable when prefix contains UTF-8 chars in function hashtable_add_from_infolist (issue #1739 )
2022-01-15 09:48:50 +01:00
Sébastien Helleu
bda7bb64d2
core: fix search of commands with UTF-8 chars in name when option weechat.look.command_incomplete is on (issue #1739 )
2022-01-15 09:48:50 +01:00
Sébastien Helleu
dee7313fcc
trigger: fix search of triggers with UTF-8 chars in name (issue #1739 )
2022-01-15 09:36:02 +01:00
Sébastien Helleu
305608ce89
tests: split tests on functions string_tolower and string_toupper
2022-01-14 21:43:06 +01:00
Sébastien Helleu
f8915129bf
core: rename argument "length" to "bytes" in function string_strndup
2022-01-14 21:41:25 +01:00
Nils Görs
0e57d01076
doc: update German documentation
2022-01-12 12:37:00 +01:00
Sébastien Helleu
286338f627
doc: add missing macro WEECHAT_PLUGIN_AUTHOR (plugin API reference)
2022-01-08 17:05:51 +01:00
Sébastien Helleu
9bbab7ff02
irc: use default callback in case of missing parameters in messages 311/312/327 (whois) and 314 (whowas)
2022-01-06 08:14:11 +01:00
Sébastien Helleu
6670fd2a87
irc: add macro to run another protocol callback
2022-01-06 08:10:44 +01:00
Sébastien Helleu
0d6b18bc54
irc: fix parsing of message 338 (whois, host) sent by Rizon server ( closes #1737 )
2022-01-05 08:24:04 +01:00
Sébastien Helleu
8c49475f75
irc: fix display of message 344 received as whois geo info ( closes #1736 )
2022-01-04 19:53:48 +01:00
Sébastien Helleu
08e0d3912a
doc: add note about chars replaced in IRC tag key/value (user's guide)
2021-12-30 21:49:51 +01:00
Sébastien Helleu
532d46bb93
trigger: add variables ${tg_tag_irc_xxx} containing IRC message tags (issue #1680 )
2021-12-30 21:22:37 +01:00
Sébastien Helleu
b66298d369
irc: add IRC message tags in messages displayed ( closes #1680 )
2021-12-30 21:11:22 +01:00
Sébastien Helleu
5c6fc8c4bd
doc: update OS examples in contributing guide
2021-12-30 07:25:23 +01:00
Sébastien Helleu
ee96b9b867
doc: change pygments pre-processor color from red to green/cyan
2021-12-28 23:34:38 +01:00
Sébastien Helleu
1c022d3bda
doc: move section "Fset" in "Configuration" (user's guide)
2021-12-28 22:22:14 +01:00
Sébastien Helleu
dd2b19ec42
core: fix display of hotlist in buflist after changing value of option weechat.look.hotlist_sort ( closes #1733 )
...
The "hotlist" pointer in buffers was lost, it is now set again after switching
to the newly sorted hotlist.
2021-12-28 13:52:58 +01:00
Sébastien Helleu
df0506dbdf
doc: update German auto-generated file
2021-12-28 13:34:15 +01:00
Nils Görs
93eafae2fe
core: update German translations
2021-12-27 10:42:54 +01:00
Sébastien Helleu
7fb1dd94cc
core: add build of Debian packages in CI
2021-12-25 16:26:43 +01:00
Sébastien Helleu
c8a8680d60
relay: improve help on option relay.network.compression
2021-12-25 10:44:00 +01:00
Sébastien Helleu
af067f18e2
doc: update auto-generated files with options
2021-12-25 10:31:44 +01:00
Sébastien Helleu
454c0acbcf
doc: fix color of preformatted text in docs
2021-12-25 10:30:18 +01:00
Sébastien Helleu
498194f6fc
relay: add zstd compression in weechat protocol
...
Option relay.network.compression_level is renamed to relay.network.compression
and is now a percentage between 0 (no compression) to 100 (best compression,
slowest).
Compression is now disabled by default in weechat protocol and must be enabled
via the `handshake` command (option `compression` has been removed from `init`
command).
2021-12-24 16:45:57 +01:00
Sébastien Helleu
d5c391b1ee
irc: fix display of IRC numeric messages with no parameters
...
For example this MOTD message is properly displayed (empty line):
:server.example.com 372 nick :
2021-12-23 18:43:12 +01:00
Nils Görs
20e219a2c9
doc: update German documentation
2021-12-20 10:23:22 +01:00
Sébastien Helleu
abb7d3642a
core: use shortcuts for URLs pointing to documentation
2021-12-19 12:31:45 +01:00
Sébastien Helleu
7f2cce2970
core: fix link to doc on IRC plugin in README
2021-12-19 12:31:09 +01:00
Sébastien Helleu
7a0fdd1966
core: remove tests on Travis CI
...
Travis CI has been replaced by GitHub Actions since May 2020.
2021-12-19 12:22:50 +01:00
Sébastien Helleu
fae6bbb40e
core: fix styles in ChangeLog and release notes
2021-12-19 10:51:29 +01:00
Sébastien Helleu
5bb56e0f57
doc: mention IRC server buffer in default key binding ctrl-x (user's guide)
2021-12-18 13:41:09 +01:00
Sébastien Helleu
5de21ddfc0
Version 3.5-dev
2021-12-18 09:22:12 +01:00
Sébastien Helleu
778594d68f
Version 3.4
2021-12-18 08:57:32 +01:00
Sébastien Helleu
37d4d2ac65
debian: update changelog
2021-12-18 08:41:05 +01:00
Krzysztof Korościk
2376b6aa5e
doc: update polish translation
2021-12-17 23:28:35 +01:00
Nils Görs
5a24ffd951
doc: update German documentation
2021-12-17 09:19:32 +01:00
Sébastien Helleu
a1cc70b752
core: fix broken links in README ( closes #1729 )
2021-12-16 20:41:12 +01:00
Sébastien Helleu
1cedb78348
doc: add workaround for download of plugins.xml.gz on macOS (FAQ)
2021-12-15 21:05:06 +01:00
Ivan Pešić
0123abb83e
doc: Update Serbian translation
2021-12-13 22:16:57 +01:00
Sébastien Helleu
463517bd1e
core: fix tests on PHP plugin in CI
2021-12-13 21:39:25 +01:00
Sébastien Helleu
46f3bee2ff
core: add build of zst archive in make dist
2021-12-13 21:10:06 +01:00
Krzysztof Korościk
d80b27af64
doc: updated polish cmdline options
2021-12-12 20:47:42 +01:00
Krzysztof Korościk
e2d44181d7
doc: updated polish user guide
2021-12-12 20:37:02 +01:00
Krzysztof Korościk
ba4f762964
po: updated polish translation
2021-12-12 00:44:04 +01:00
Sébastien Helleu
dad3e6099c
doc: use unbreakable spaces in example of missing translation tag (developer's guide)
...
This allows to search this tag in docs with grep and ignore the example in the
developer's guide.
2021-12-11 09:40:07 +01:00
Sébastien Helleu
5208552a98
doc: remove missing translation comments in French docs
2021-12-11 09:35:01 +01:00
Sébastien Helleu
07721d3dc1
Version 3.4-rc1
2021-12-10 18:49:11 +01:00
Nils Görs
d236171035
core: update German translations
2021-12-10 11:21:47 +01:00
Sébastien Helleu
a4d560e0aa
doc: fix color codes attributes in developer's guide
2021-12-08 20:54:40 +01:00
Sébastien Helleu
7bf0a5c734
doc: remove list of remote interfaces, redirect to web site (user's guide)
2021-12-05 22:00:24 +01:00
Sébastien Helleu
10a8732d41
doc: rename section "WeeChat extension" to "Extending WeeChat" (user's guide)
2021-12-05 21:39:28 +01:00
Sébastien Helleu
fd017ce474
doc: add section "Script manager" (user's guide)
2021-12-05 21:39:28 +01:00
Sébastien Helleu
1c0d8f5fd3
doc: add section "WeeChat extension" above "Plugins" (user's guide)
2021-12-05 21:39:28 +01:00
Sébastien Helleu
160ffe8e11
doc: move sections "Exec", "Fifo" and "Trigger" at top level after "Relay" (user's guide)
2021-12-05 21:39:28 +01:00
Sébastien Helleu
4c7b898666
doc: move section "Xfer" at top level after "IRC" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
391d0a18a1
doc: move section "Typing" at top level after "IRC" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
a5db952842
doc: move section "Spell" in "Configuration" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
7cb5147e74
doc: move section "Relay" at top level after "IRC" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
a5ffd8b800
doc: move section "Logger" in "Configuration" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
66384544b5
doc: move section "IRC" at top level after "Configuration" (user's guide)
2021-12-05 20:59:19 +01:00
Sébastien Helleu
c88428fb41
doc: move section "Bare display" in "Buffers and windows" (user's guide)
2021-12-05 14:15:52 +01:00
Sébastien Helleu
71991fcc73
doc: add fset buffer example (user's guide)
2021-12-05 14:11:25 +01:00
Sébastien Helleu
b82a9c44fd
doc: fix typo in French user's guide
2021-12-05 13:56:59 +01:00
Sébastien Helleu
637c7bb3d4
doc: move section "Fset" in "Interface" (user's guide)
2021-12-05 13:15:35 +01:00
Sébastien Helleu
268cb53238
doc: move section "Charset" in "Configuration" (user's guide)
2021-12-05 12:43:54 +01:00
Sébastien Helleu
9e721d0ad5
doc: move section "Buflist" in "Interface" (user's guide)
2021-12-05 12:36:39 +01:00
Sébastien Helleu
287d5146b4
doc: move section "Alias" in "Configuration" (user's guide)
2021-12-05 12:25:41 +01:00
Sébastien Helleu
1cfb5e5d1e
doc: change section title for debug build and address sanitizer (user's guide)
2021-12-05 11:55:02 +01:00
Sébastien Helleu
866fef2595
doc: fix cross-reference to mouse actions (user's guide)
2021-12-05 11:47:04 +01:00
Sébastien Helleu
2dabce9ac8
doc: move section "Key bindings" at top level, add section title "Configuration" (user's guide)
2021-12-04 20:12:06 +01:00
Sébastien Helleu
f33e9b6737
doc: move section "Running WeeChat" at top level, add section title "Interface" (user's guide)
2021-12-04 15:59:55 +01:00
Sébastien Helleu
50cea48b51
doc: move section "Upgrade" at top level after "Installation" (user's guide)
2021-12-04 15:59:46 +01:00
Sébastien Helleu
ae891ab322
doc: reduce font size in table of contents
2021-12-04 15:38:47 +01:00
Sébastien Helleu
0a14441d35
doc: remove section title for extra debug options on command line (user's guide)
2021-12-04 15:31:38 +01:00
Sébastien Helleu
f2310dae42
doc: add more categories for key bindings (user's guide)
2021-12-04 15:15:58 +01:00
Sébastien Helleu
67a364550f
core: fix typo in weechat --help
2021-12-03 12:03:08 +01:00
Sébastien Helleu
64592951b5
doc: use only a link to user's guide in Installation chapter (README)
2021-12-01 18:54:28 +01:00
Sébastien Helleu
3a38879590
doc: remove tester's guide
2021-12-01 18:48:14 +01:00
Sébastien Helleu
d447755b1f
core: update ChangeLog
2021-11-28 22:21:55 +01:00
Sébastien Helleu
2564fa2882
doc: disable web fonts in docs generated by asciidoctor
2021-11-27 16:53:12 +01:00
Sébastien Helleu
928ed152ed
doc: make reproducible build of docs with asciidoctor
2021-11-27 16:09:11 +01:00
Sébastien Helleu
7014322b2e
doc: add dark theme in docs generated by asciidoctor
2021-11-27 16:05:28 +01:00
Sébastien Helleu
9b6606394c
doc: fix column size in table with color codes (developer's guide)
2021-11-27 16:05:28 +01:00
Sébastien Helleu
198872c027
doc: escape example of link in developer's guide
2021-11-27 16:05:28 +01:00
Sébastien Helleu
c8776b14f6
doc: switch from prettify to pygments for syntax highlighting
2021-11-27 16:05:28 +01:00
Nils Görs
35c26fb001
doc: update German documentation
2021-11-24 12:30:41 +01:00
Thomas Faughnan
eca9c89747
doc: fix typo in link for '/layout' in user guide
2021-11-23 09:34:19 +01:00
Sébastien Helleu
aed64f5020
ruby: add detection of Ruby 3.0 in autotools (issue #1721 )
2021-11-21 16:57:17 +01:00
Sébastien Helleu
266233636d
core: add issue #1605 in ChangeLog
2021-11-21 16:48:39 +01:00
Sébastien Helleu
be753046b7
core: fix detection of Ruby 3.0 on macOS (issue #1721 )
2021-11-21 16:38:22 +01:00
Sébastien Helleu
15f5bc7944
tests: add missing include of stdio.h
2021-11-21 16:37:23 +01:00
Sébastien Helleu
27a480c7d7
core: fix compilation with Ruby 3.0 on macOS (issue #1721 , closes #1605 )
2021-11-21 16:29:40 +01:00
Sébastien Helleu
fe9768f484
ruby: add detection of Ruby 3.0.0, remove old way to detect Ruby ( closes #1721 )
2021-11-21 11:39:56 +01:00
Sébastien Helleu
aace0a1a58
core: fix links to docs in release notes
2021-11-20 20:34:21 +01:00
Sébastien Helleu
792739ee42
core: add build with CMake and Ninja in CI
2021-11-20 19:02:53 +01:00
Sébastien Helleu
8b11fa86cd
core: add build on macOS 11 in CI
2021-11-20 17:34:33 +01:00
Sébastien Helleu
28d013b704
build: add targets "changelog" and "rn" to build HTML version of ChangeLog and release notes (CMake build only)
2021-11-20 17:23:59 +01:00
Sébastien Helleu
5fffaf89e4
build: improve error management in build of tarballs
2021-11-20 15:32:06 +01:00
Sébastien Helleu
006964c4dc
irc: fix memory leak in case of realloc error
2021-11-20 13:21:51 +01:00
Sébastien Helleu
05d31b476b
trigger: hide key and password in command "/msg nickserv setpass nick key password"
2021-11-13 15:41:31 +01:00
Sébastien Helleu
50edb33f1c
core: speed up eval by storing length of prefix/suffix in eval structure
2021-11-13 15:18:49 +01:00
Sébastien Helleu
c82358c17c
core: free strings with XDG directories in case of error
2021-11-13 14:59:14 +01:00
Sébastien Helleu
d64050bafb
relay: remove dead assignment in websocket decoding
2021-11-13 13:32:02 +01:00
Sébastien Helleu
1556e4ac5a
core: fix memory leak in evaluated expression "split:number,seps,flags,xxx" when multiple "strip_items" are given
2021-11-13 13:29:32 +01:00
Sébastien Helleu
a3924a27a0
tests: add tests on some IRC SASL functions
2021-11-13 09:06:34 +01:00
Sébastien Helleu
cbadaecc4f
core: add note about default trigger "cmd_pass_register" in release notes
2021-11-13 08:48:04 +01:00
Sébastien Helleu
7cad1230e6
trigger: add comments with list of all commands in default triggers
2021-11-12 21:20:14 +01:00
Sébastien Helleu
997559e55b
trigger: split default triggers on multiple lines
2021-11-12 21:08:39 +01:00
Sébastien Helleu
d98940fecb
tests: add tests on default triggers
2021-11-12 20:58:30 +01:00
Sébastien Helleu
f2ad57ceb9
trigger: add support of option "-server" when hiding passwords in command /msg nickserv register
2021-11-12 20:52:14 +01:00
Sébastien Helleu
d4650183ba
doc: fix typos in user's guide
2021-11-11 21:33:16 +01:00
Sébastien Helleu
a6c40d2190
doc: fix sentences in French user's guide
2021-11-11 21:18:10 +01:00
Sébastien Helleu
563a6db02d
core: fix typos in docs
2021-11-11 09:28:24 +01:00
Sébastien Helleu
5ddd72c0e9
tests: add extra tests on functions string_strcmp_ignore_chars and string_convert_escaped_chars
2021-11-09 20:41:23 +01:00
Ivan Pešić
80b86ea647
core: update Serbian translations
2021-11-08 20:48:59 +01:00
Santiago Forero
bbcdb90fbb
core: update Spanish translations
2021-11-08 20:25:41 +01:00
Sébastien Helleu
253b25db03
core: fix random integer number with large range in evaluation of expressions on GNU/Hurd
2021-11-07 20:16:26 +01:00
Sébastien Helleu
4c9e7ed09e
tests: fix allocation of test_ptr_1_hashtable_dyn in hdata tests
2021-11-07 18:13:03 +01:00
Sébastien Helleu
12043622e6
tests: add tests on UTF-8 string functions
2021-11-07 14:39:48 +01:00
Sébastien Helleu
f4a1baaed3
irc: extend size of some internal buffers
2021-11-07 08:57:07 +01:00
Sébastien Helleu
9303f5abd9
core: update ChangeLog
2021-11-06 18:57:49 +01:00
Sébastien Helleu
1b8ad40b81
irc: do not display a message parsing error when a channel buffer can not be created
2021-11-06 18:19:12 +01:00
Sébastien Helleu
2f177dd188
irc: fix join of channels with name longer than 127 chars ( closes #1717 )
2021-11-06 18:17:39 +01:00
Sébastien Helleu
edfc415e9e
irc: fix memory leak in main IRC message callback
2021-11-06 17:58:48 +01:00
Sébastien Helleu
8bb5e33348
irc: fix memory leak in callback of IRC message 353
2021-11-06 17:55:31 +01:00
Sébastien Helleu
b3cf7658f7
doc: replace ${name} by ${server_name} in example of function hdata_search (plugin API reference)
2021-11-06 16:03:40 +01:00
Sébastien Helleu
2081fa54af
core: reverse diff arguments in CI
2021-11-06 15:59:28 +01:00
Sébastien Helleu
2da2172593
api: add parameters pointers, extra_vars and options in function hdata_search
2021-11-06 15:59:18 +01:00
Sébastien Helleu
018a4bda53
core: add hdata changes in release notes
2021-11-05 20:21:39 +01:00
Sébastien Helleu
14c6ef3d83
tests: add missing include of string.h
2021-11-05 20:21:17 +01:00
Sébastien Helleu
9c5837d143
core: add unit tests on hdata
2021-11-05 20:04:10 +01:00
Sébastien Helleu
5e08f9876a
core: fix access to integer/long/time arrays in hdata, add support of static arrays in hdata
2021-11-04 23:55:02 +01:00
Sébastien Helleu
ee66fc3a85
core: fix crash in function hdata_set when pointer value is NULL in hashtable
2021-11-03 23:54:12 +01:00
Sébastien Helleu
13472adfff
core: check that time is valid in function hdata_set
2021-11-03 23:23:09 +01:00
Sébastien Helleu
60b374901f
core: remove useless test in function hdata_update
2021-11-03 23:02:01 +01:00
Sébastien Helleu
d8a3a0137c
core: check that hdata and name are not NULL in function hdata_compare
2021-11-02 21:08:24 +01:00
Sébastien Helleu
f66e55564e
core: check that name is not NULL in function hdata_get_var
2021-11-01 22:16:50 +01:00
Sébastien Helleu
6e83225e6f
core: use a "free value" callback in hashtable weechat_hdata
2021-10-29 22:13:53 +02:00
Sébastien Helleu
f03622d141
doc: update Polish auto-generated files
2021-10-24 09:23:01 +02:00
Krzysztof Korościk
4f20417cb2
po: updated polish translation
2021-10-24 00:38:46 +02:00
Krzysztof Korościk
f15337ea9a
doc: updated polish translation
2021-10-23 23:29:34 +02:00
Sébastien Helleu
49221b56b9
doc: update German auto-generated file
2021-10-23 20:58:16 +02:00
Nils Görs
75f71cd311
core: update German translations
2021-10-23 17:58:01 +02:00
Sébastien Helleu
505a9f937a
core: fix typo in ChangeLog
2021-10-23 15:13:53 +02:00
Sébastien Helleu
08d3e3b2b7
core: update ChangeLog ( closes #1666 )
2021-10-23 14:44:20 +02:00
Sébastien Helleu
fb4d947a8c
core: update translations
2021-10-23 14:44:11 +02:00
Sébastien Helleu
2ca6420e17
irc: do not display first parameter in numeric command when it is "*"
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cde0d5f7a5
irc: do not display "*" when received as nick in command 900
2021-10-17 21:28:31 +02:00
Sébastien Helleu
ba5b744397
irc: add URL to extended-join extension
2021-10-17 21:28:31 +02:00
Sébastien Helleu
1447c7ad83
irc: fix URL to invite-notify extension
2021-10-17 21:28:31 +02:00
Sébastien Helleu
b57d19c893
irc: add more CAP command examples
2021-10-17 21:28:31 +02:00
Sébastien Helleu
9063546acc
irc: remove parameters argc/argv/argv_eol from command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
f1cb767001
irc: keep trailing spaces in received message 322
2021-10-17 21:28:31 +02:00
Sébastien Helleu
634eac455d
tests: ensure trailing spaces are preserved in some incoming IRC commands
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2f90fc0299
irc: don't keep trailing spaces in received message TAGMSG
2021-10-17 21:28:31 +02:00
Sébastien Helleu
d2bd952210
tests: protect IRC message with quotes in command /server fakerecv
2021-10-17 21:28:31 +02:00
Sébastien Helleu
9fbe18eb27
irc: remove quotes around message in command /server fakerecv
...
This preserves trailing spaces at the end of the message.
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2ca37a9128
irc: remove server in "903" and "904" command callbacks examples
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a73e9eb8ca
irc: use parsed command parameters in "901" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a3ddeba9f9
irc: use parsed command parameters in "900" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
baa91a45a8
irc: use parsed command parameters in "730", "731", "732", "733" and "734" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
6124bf3c92
irc: use parsed command parameters in "729" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
6a8ec55118
irc: use parsed command parameters in "728" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
4b6038975c
irc: use parsed command parameters in "470" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5e63161b5b
irc: use parsed command parameters in "438" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
32c99047f4
irc: use parsed command parameters in "437" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2ef9509dbe
irc: remove server in "432" and "433" command callbacks examples
2021-10-17 21:28:31 +02:00
Sébastien Helleu
c7cb025582
irc: use parsed command parameters in "368" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
96288d69e2
irc: use parsed command parameters in "367" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
aad86a1955
irc: use parsed command parameters in "366" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
dcbf534d53
irc: use parsed command parameters in "353" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
c8329da6e0
irc: use parsed command parameters in "352" and "354" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3e1b621f52
tests: add extra tests on notice message received with just a server address
2021-10-17 21:28:31 +02:00
Sébastien Helleu
56cb9e50af
irc: fix display of address in notice messages received
2021-10-17 21:28:31 +02:00
Sébastien Helleu
9b17f1fee4
irc: use parsed command parameters in "351" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cee4bf7e3c
irc: use parsed command parameters in "349" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
027ecc6b0e
irc: use parsed command parameters in "348" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
22ecfda777
irc: use parsed command parameters in "347" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2ae974f5c3
irc: use parsed command parameters in "346" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
99d565f6df
irc: use parsed command parameters in "345" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5546b0af0e
irc: use parsed command parameters in "344" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
741343e9aa
irc: use parsed command parameters in "341" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
0e9710de81
irc: use parsed command parameters in "338" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
32ae101096
irc: use parsed command parameters in "333" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3a5a2abeea
irc: use parsed command parameters in "332" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
de567aa1d3
irc: use parsed command parameters in "331" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a5e470a16a
irc: use parsed command parameters in "330" and "343" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
b3ce8b5282
irc: use parsed command parameters in "329" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
31b15c1423
irc: use parsed command parameters in "328" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
60c9beab2b
irc: rename some variables "str_params" to a more meaningful name
2021-10-17 21:28:31 +02:00
Sébastien Helleu
10a1c9bda4
irc: use parsed command parameters in "327" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
6f8f547242
irc: use parsed command parameters in "324" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2509486c6a
irc: use parsed command parameters in "323" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
df9c32b0c3
irc: use parsed command parameters in "322" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
c577da0375
irc: use parsed command parameters in "321" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
4e1d40034e
irc: use parsed command parameters in "317" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a1a4f337ff
irc: use parsed command parameters in "315" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
e412a34668
irc: use parsed command parameters in "314" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3c7d4b0516
irc: use parsed command parameters in "312" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
572bcc2c59
irc: use parsed command parameters in "311" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3360cadd55
irc: use parsed command parameters in "whois" and "whowas" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
f51f3dbe29
irc: use parsed command parameters in "305" and "306" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
efecdf5d45
irc: use parsed command parameters in "303" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
76b75ad5cd
irc: use parsed command parameters in "numeric" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
74ceaa1a68
irc: use parsed command parameters in "301" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
12a4519448
irc: use parsed command parameters in "221" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
033fbf63b0
irc: use parsed command parameters in "008" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
1029780ce2
irc: use parsed command parameters in "005" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
0ea0b24563
irc: use parsed command parameters in "001" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
ec816b4be5
irc: use parsed command parameters in "wallops" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
7c1ea1cb32
irc: use parsed command parameters in "topic" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
27f554659e
irc: use parsed command parameters in "973", "974" and "975" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5389ceb237
irc: use parsed command parameters in "tagmsg" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
03e0122155
irc: use parsed command parameters in "setname" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
8d12187f3d
irc: require nick in "away" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
bf8c85f422
irc: use parsed command parameters in "quit" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
179822fb91
irc: use parsed command parameters in "privmsg" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5e712d7145
irc: use parsed command parameters in "pong" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
8ea41d91c9
irc: use parsed command parameters in "ping" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
7a88e007a5
tests: check missing nick in IRC commands invite/join/kick/kill/mode/nick/part
2021-10-17 21:28:31 +02:00
Sébastien Helleu
257fe7362a
tests: fix comments
2021-10-17 21:28:31 +02:00
Sébastien Helleu
52cc1165c4
irc: ensure the nick is not empty when the nick is required in a command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
0be96b7c66
irc: fix messages displayed when prefix/nick is missing
2021-10-17 21:28:31 +02:00
Sébastien Helleu
9d4119232f
irc: remove check of address/host in command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
adcc04cc5a
irc: fix extraction of address from prefix
...
Do not return the nick when the address is missing.
2021-10-17 21:28:31 +02:00
Sébastien Helleu
e5996f626b
irc: use parsed command parameters in "part" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
d8c7cf41b5
irc: use parsed command parameters in "notice" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5123483c33
tests: fix IRC protocol tests
2021-10-17 21:28:31 +02:00
Sébastien Helleu
33a3c485be
irc: shorten error in case of missing parameters in command received
2021-10-17 21:28:31 +02:00
Sébastien Helleu
7b4d48c46d
irc: fix number of required parameters in generic error command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
4ee82d1c70
irc: use parsed command parameters in "nick" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a1a4d627e1
irc: use parsed command parameters in "mode" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5a5c2cbd1a
irc: rename macro IRC_PROTOCOL_CHECK_HOST to IRC_PROTOCOL_CHECK_PREFIX
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2bd3681eef
irc: use parsed command parameters in "kill" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
604415e19e
irc: use parsed command parameters in "kick" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
e653ee04d2
irc: use parsed command parameters in "join" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3c737ca304
irc: use parsed command parameters in "invite" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
1f83df7a18
irc: use parsed command parameters in "fail", "warn" and "note" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
eda8ad9de5
irc: use parsed command parameters in "generic_error" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
df6f32a7bb
irc: use parsed command parameters in "error" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a2a733fc36
irc: use parsed command parameters in "chghost" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
56edeba7fc
irc: use parsed command parameters in "cap" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
15392e4a81
irc: use parsed command parameters in "away" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cb856a7f3a
irc: use parsed command parameters in "authenticate" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
69c457287d
irc: use parsed command parameters in "account" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5458382bb8
irc: fix typo in a comment
2021-10-17 21:28:31 +02:00
Sébastien Helleu
849105ebd6
irc: replace "message" by "command" in description of functions
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cbc4073815
irc: send parsed parameters to IRC command callbacks
2021-10-17 21:28:30 +02:00
Sébastien Helleu
c4b4d80936
irc: parse and return command parameters in message parser
2021-10-17 21:28:30 +02:00
Sébastien Helleu
f0898eae64
doc: update Serbian auto-generated file
2021-10-17 21:27:41 +02:00
Ivan Pešić
9378a7572b
core: Update Serbian translation
2021-10-17 21:26:20 +02:00
Sébastien Helleu
3cd97b5131
tests: add missing include of string.h
2021-10-14 21:08:28 +02:00
Sébastien Helleu
d8b8bf5a84
tests: check displayed message/error for all simulated IRC commands received
2021-10-14 21:00:47 +02:00
Sébastien Helleu
238c17bd0e
irc: display command in lower case when there is a parsing error
2021-10-14 20:39:23 +02:00
Sébastien Helleu
1206e9e5c3
tests: fix typo in comment
2021-10-14 20:38:16 +02:00
Sébastien Helleu
f3b4336bc4
irc: do not display message with "(null)" for 973/974/975 command received if pos_mode is NULL
2021-10-14 20:37:32 +02:00
Sébastien Helleu
55df7805c2
irc: display a single error message when parsing of a command failed
2021-10-13 18:45:36 +02:00
Sébastien Helleu
9102e4f552
irc: display a single error message when a command is not found
2021-10-13 18:45:14 +02:00
Sébastien Helleu
57ad90c3c0
irc: do not display message with "(null)" for numeric command received if pos_args is NULL
2021-10-13 18:42:47 +02:00
Sébastien Helleu
ed9104fbea
irc: fix parsing of CAP message when there is no prefix ( closes #1707 )
2021-10-09 11:27:51 +02:00
Sébastien Helleu
68a3aca643
plugins: use a different plugin priority for each scripting language
2021-10-02 20:50:35 +02:00
Sébastien Helleu
6fe354439c
doc: update German auto-generated file
2021-10-02 20:41:09 +02:00
Nils Görs
63b93a8147
core: update German translations
2021-10-02 19:49:38 +02:00
Sébastien Helleu
ad5fa7c99f
core: add command /toggle
2021-10-01 22:55:38 +02:00
Sébastien Helleu
9548a4cf74
core: check that option is not NULL in function config_file_option_value_to_string
2021-09-27 23:23:01 +02:00
Sébastien Helleu
301f0942c6
core: fix search of option when the section is not given
2021-09-27 22:35:14 +02:00
Sébastien Helleu
fb57ad147e
core: check that option_name is not NULL in config file functions
2021-09-27 22:02:22 +02:00
Nils Görs
3ee2f40fb3
core: update German translations
2021-09-26 20:25:20 +02:00
Sébastien Helleu
edd1971ae8
irc: fix parsing of TAGMSG message when there is a colon before the channel
...
This fixes the display of typing notifications on some IRC servers like
inspircd.
2021-09-21 20:41:18 +02:00
Sébastien Helleu
a6826af796
core: add creation of user variables in evaluated expressions with ${define:name,value}
2021-09-20 21:15:28 +02:00
Jan Palus
bd21b25bad
typing: correct typo in CMake option description
2021-09-19 14:58:07 +02:00
Sébastien Helleu
48a4a043b7
Version 3.4-dev
2021-09-19 12:23:06 +02:00
Sébastien Helleu
3b9217e460
Version 3.3
2021-09-19 10:14:18 +02:00
Sébastien Helleu
eaacd805ae
php: add missing header files in autotools build
2021-09-19 09:54:01 +02:00
Sébastien Helleu
e9d303c4fa
debian: update changelog
2021-09-18 10:33:04 +02:00
Sébastien Helleu
fb1bf569a9
debian: bump Standards-Version to 4.6.0.1
2021-09-18 10:32:39 +02:00
Sébastien Helleu
e00937875d
Version 3.3-rc1
2021-09-11 09:20:58 +02:00
a1346054
5dbf24d179
docs: trim excess whitespace
2021-09-11 00:17:36 +02:00
a1346054
9d7cac2396
build: fix shellcheck warnings
2021-09-11 00:17:36 +02:00
a1346054
04977fa9da
legal: use license file from gnu.org
...
Downloaded from:
https://www.gnu.org/licenses/gpl-3.0.txt
2021-09-11 00:17:36 +02:00
Sébastien Helleu
4aa2b86ee2
doc: update German auto-generated file
2021-09-10 23:07:23 +02:00
Sébastien Helleu
f3fc1f5f85
core: remove empty line displayed in output of /plugin list <name>
2021-09-10 23:06:05 +02:00
Nils Görs
a7d3f9d4e8
core: update German translations
2021-09-10 09:59:14 +02:00
Sébastien Helleu
91d32be93c
core: add options "-o", "-ol", "-i" and "-il" in command "/plugin list"
2021-09-09 21:32:58 +02:00
Sébastien Helleu
a76eedcd1f
core: replace deprecated cmake command "exec_program" by "execute_process"
...
This fixes a compilation issue on Debian Sid with the latest version of
debianutils (5.4-3), where the "which" command is now deprecated.
2021-09-08 20:46:44 +02:00
Sébastien Helleu
7742b48098
doc: update German auto-generated file
2021-09-07 21:40:01 +02:00
Nils Görs
4d0245711d
core: update German translations
2021-09-07 09:42:30 +02:00
Sébastien Helleu
7d1b557627
core: fix indentation in examples of /help eval
2021-09-06 22:39:29 +02:00
Sébastien Helleu
5b3929b321
api: add split of string and shell arguments in evaluation of expressions
...
Split of string: ${split:number,separators,flags,xxx}
Split of shell arguments: ${split_shell:number,xxx}
2021-09-06 13:32:04 +02:00
Sébastien Helleu
8852e9fd0c
core: add CVE id in ChangeLog
2021-09-05 20:54:14 +02:00
Sébastien Helleu
d5b68e6b75
core: update ChangeLog ( closes #1599 )
2021-09-05 09:31:43 +02:00
Ivan Pešić
2446e5814f
core: update Serbian translations
2021-09-04 22:01:41 +02:00
Sébastien Helleu
885b470d51
lua: add detection of Lua 5.4
2021-09-04 19:46:14 +02:00
Sébastien Helleu
97b809d164
core: add version 3.2.1
2021-09-04 16:28:04 +02:00
Sébastien Helleu
97bdd51112
relay: fix crash when decoding a malformed websocket frame
2021-09-04 15:55:37 +02:00
Nils Görs
75b9ba03a1
core: update German translations
2021-09-03 15:00:09 +02:00
Sébastien Helleu
5fb7ebdfce
irc: fix send of empty JOIN when connecting to a server with only parted channels ( closes #1638 )
2021-09-03 13:43:07 +02:00
Sébastien Helleu
6fc6166cfe
core: update translations
2021-08-31 22:39:17 +02:00
Sébastien Helleu
12be3b8c33
core: add options in command /input and new keys to remove/restore buffers in hotlist
...
New options in command /input:
- hotlist_remove_buffer
- hotlist_restore_buffer
- hotlist_restore_all
New keys:
- alt+h, alt+c: clear the whole hotlist (former key: alt+h)
- alt+h, alt+m: mark the current buffer as read by removing it from the hotlist
- alt+h, alt+r: restore latest hotlist removed in the current buffer
- alt+h, alt+shift+R: restore latest hotlist removed in all buffers
2021-08-31 22:32:38 +02:00
Sébastien Helleu
5b5626a82b
doc: fix typo in French plugin API reference
2021-08-30 13:54:28 +02:00
Sébastien Helleu
968d17b806
core: update ChangeLog ( closes #1689 )
2021-08-29 10:54:51 +02:00
Sébastien Helleu
2de272ee6c
api: add "${re:repl_index}" to get the index of replacement in function string_eval_expression
2021-08-29 10:40:52 +02:00
Sébastien Helleu
009a2889e3
core: ensure python stub is up-to-date in CI
2021-08-16 22:59:32 +02:00
Sébastien Helleu
86e3c672bb
doc: write python stub on standard output
2021-08-16 22:59:07 +02:00
Sébastien Helleu
254c1a3e8b
doc: update German auto-generated file
2021-08-13 21:08:40 +02:00
Nils Görs
fa3cd3dd08
core: update German translations
2021-08-13 09:14:50 +02:00
Sébastien Helleu
89b28e362c
irc: add option "-parted" in command /allchan ( closes #1685 )
2021-08-12 18:15:16 +02:00
Sébastien Helleu
cf27302dac
core: add terminal and color info in output of /debug color
2021-08-11 18:49:22 +02:00
Sébastien Helleu
da8b7a85bb
doc: update German auto-generated file
2021-08-10 20:37:50 +02:00
Nils Görs
964d3e54d1
core: update German translations
2021-08-10 14:55:21 +02:00
Sébastien Helleu
960b633517
core: switch to PHP 8.0 in CI
2021-08-08 18:56:16 +02:00
Sébastien Helleu
addd80e7b7
doc: update auto-generated files with hdata
2021-08-08 18:44:05 +02:00
Sébastien Helleu
8e676edd1a
irc: save CLIENTTAGDENY from message 005 in server, do not send typing messages if "typing" client tag is denied
2021-08-08 18:37:15 +02:00
Sébastien Helleu
415ea95eb4
core: update ChangeLog (issue #1668 )
2021-08-08 09:03:22 +02:00
Adam Saponara
ede09a843c
php: add ifdef for zend_file_handle.filename
2021-08-08 09:00:24 +02:00
Adam Saponara
5442612bc9
php: fix PHP 8+ build
2021-08-08 09:00:24 +02:00
Sébastien Helleu
2b12b4077a
php: add detection of PHP 8.0, fix compilation errors
2021-08-08 09:00:24 +02:00
Sébastien Helleu
61c3169068
core: add contributor (issue #1656 )
2021-08-07 11:20:08 +02:00
Sébastien Helleu
5b48eef4fe
core: update ChangeLog (issue #1656 )
2021-08-07 11:19:51 +02:00
Sébastien Helleu
9b75118b83
debian: add Spanish FAQ in Debian packaging
2021-08-07 11:15:28 +02:00
Sébastien Helleu
def564c5af
doc: add build of Spanish FAQ
2021-08-07 11:15:28 +02:00
Victorhck
57ea636fd6
doc: add Spanish version of the FAQ
2021-08-07 11:15:28 +02:00
Victorhck
84d8120060
doc: fix typo in FAQ
2021-08-07 10:56:56 +02:00
Sébastien Helleu
20866a0457
core: fix decoding of attributes in basic ANSI colors ( closes #1678 )
2021-08-06 20:33:31 +02:00
Sébastien Helleu
79d50837c9
irc: fix read out of bounds in case of malformed AUTHENTICATE message (issue #1679 )
2021-08-03 20:01:15 +02:00
Sébastien Helleu
791b910a77
irc: fix SASL authentication when AUTHENTICATE message is received with a server name ( closes #1679 )
2021-08-03 19:58:13 +02:00
Sébastien Helleu
d89c4f559c
api: add random integer number in evaluation of expressions with "random:min,max"
2021-08-03 19:46:41 +02:00
Nils Görs
0be4020b68
core: update German translations
2021-08-03 18:30:47 +02:00
Sébastien Helleu
72a9b87c1c
irc: display a different message for setname applied on self and other nicks ( closes #1676 )
2021-08-01 10:30:06 +02:00
Nils Görs
88d59de940
doc: update German documentation
2021-07-12 09:51:27 +02:00
Sébastien Helleu
6ff46776a4
doc: rename secured data name in IRC server example (user's guide)
2021-07-11 21:56:28 +02:00
Sébastien Helleu
77d96fec23
doc: fix columns width in user's guide
2021-07-10 20:08:36 +02:00
Sébastien Helleu
9404097756
doc: add chapters on IRC servers, channels, private messages (user's guide)
2021-07-10 18:35:57 +02:00
Sébastien Helleu
a16616637a
irc: remove unneeded message about Diffie-Hellman shared secret exchange during SSL connection to server ( closes #857 )
2021-07-10 16:02:19 +02:00
Sébastien Helleu
2b1582c816
core: add lint with bandit in CI
2021-07-09 23:56:24 +02:00
Sébastien Helleu
efea27bb24
relay: remove dead assignment
2021-07-08 23:02:50 +02:00
Sébastien Helleu
6052c1a5c0
doc: update German auto-generated file
2021-07-04 20:50:41 +02:00
Sébastien Helleu
3199877bc0
core: add bar item "typing" in status bar by default
2021-07-04 20:49:58 +02:00
Sébastien Helleu
b0d4b9aaba
typing: remove trailing space in translated message
2021-07-04 19:42:30 +02:00
Nils Görs
6a1425d5ba
core: update German translations
2021-07-04 19:18:35 +02:00
Sébastien Helleu
64b52da406
typing: add option typing.look.input_min_chars
2021-07-04 14:02:15 +02:00
Sébastien Helleu
5ae4af1549
core: update ChangeLog
2021-07-04 13:37:52 +02:00
Sébastien Helleu
f79929b382
core: update translations
2021-07-04 13:36:32 +02:00
Sébastien Helleu
a4507539fb
typing: add option typing.look.item_max_length
2021-07-04 13:27:33 +02:00
Sébastien Helleu
5b87e0c544
api: add function string_cut
2021-07-04 13:27:33 +02:00
Sébastien Helleu
1746e832ec
typing: remove hashtables when typing is turned off
2021-07-04 13:27:33 +02:00
Sébastien Helleu
ed24930547
typing: add note for translators
2021-07-04 13:27:33 +02:00
Sébastien Helleu
7c83ee02f2
tests: add tests on typing plugin functions
2021-07-04 13:27:33 +02:00
Sébastien Helleu
8dc75564c2
doc: add typing plugin files in developer's guide
2021-07-04 13:27:33 +02:00
Sébastien Helleu
5b7f55090b
build: add typing plugin in Cygwin packaging
2021-07-04 13:27:33 +02:00
Sébastien Helleu
de61048cd2
debian: add typing plugin in Debian packaging
2021-07-04 13:27:33 +02:00
Sébastien Helleu
252d1bbc9d
doc: add file typing.conf in man page
2021-07-04 13:27:33 +02:00
Sébastien Helleu
0355f3fc1a
doc: add chapter on typing extension in user's guide
2021-07-04 13:27:33 +02:00
Sébastien Helleu
09d871deb4
doc: add column for min WeeChat version in function buffer_set (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
503a3cb755
doc: add column for min WeeChat version in function hook_set (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
c127d1693a
doc: add column for min WeeChat version in function hook_modifier_exec (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
134f4374f8
doc: add column for min WeeChat version in function hook_modifier (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
ab916d3d90
doc: add column for min WeeChat version in function hook_hsignal (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
3d54365d67
doc: add column for min WeeChat version in function hook_process_hashtable (plugin API reference)
2021-07-04 13:27:33 +02:00
Sébastien Helleu
3c920f9a80
doc: add typing signals in plugin API reference
2021-07-04 13:27:33 +02:00
Sébastien Helleu
954f943e8e
irc, typing: display typing status for IRC nicks
2021-07-04 13:27:33 +02:00
Sébastien Helleu
bba300e191
typing: translate strings in typing plugin sources
2021-07-04 13:27:33 +02:00
Sébastien Helleu
7954dbc1f4
typing: replace linked list with a hashtable to store typing status on buffers
2021-07-04 13:27:33 +02:00
Sébastien Helleu
b108e97085
irc: send typing status as TAGMSG to other users
2021-07-04 13:27:33 +02:00
Sébastien Helleu
dccf605e66
typing: add typing plugin
2021-07-04 13:27:32 +02:00
Sébastien Helleu
b585ec09f8
core: fix number of bytes read in function dir_file_copy
2021-07-03 16:50:30 +02:00
Sébastien Helleu
5253478279
script: fix move of installed script on another filesystem ( closes #1667 )
2021-07-03 16:06:02 +02:00
Sébastien Helleu
8a11a18dc5
api: add function file_copy (issue #1667 )
2021-07-03 16:04:50 +02:00
Sébastien Helleu
9432b44a2b
irc: remove dead assignments in SASL functions
2021-07-02 21:58:50 +02:00
Sébastien Helleu
1ac800906b
doc: update Polish auto-generated files
2021-06-29 00:17:18 +02:00
Krzysztof Korościk
5d4adf8010
doc: updated polish translation
2021-06-28 21:43:37 +02:00
Krzysztof Korościk
689a2c1705
po: updated polish translation
2021-06-28 21:12:17 +02:00
Sébastien Helleu
9bd737ae1a
doc: update German auto-generated file
2021-06-28 20:35:06 +02:00
Nils Görs
f1761b66c6
core: update German translations
2021-06-28 08:58:28 +02:00
Sébastien Helleu
2205bb6b45
core: add capability message-tags in release notes
2021-06-27 10:41:24 +02:00
Sébastien Helleu
e84a3676f6
core: add note about buffers that are not opened in /help layout
2021-06-27 10:35:04 +02:00
Sébastien Helleu
253598d83c
doc: mention WeeChat version for WEECHAT_RC_OK_EAT in signals "irc_raw_in" and "irc_in" (plugin API reference) (issue #1657 )
2021-06-27 09:56:45 +02:00
Sébastien Helleu
ff6bc95429
doc: remove tag "translation missing" in French user's guide (issue #1642 )
2021-06-27 09:53:47 +02:00
Sébastien Helleu
61a6b0c705
core: add contributor (issue #1657 )
2021-06-27 09:49:36 +02:00
Simon Ser
ff8beb1918
irc: allow signals "irc_raw_in" and "irc_in" to eat messages (issue #1657 )
...
This is useful to implement IRC protocol extensions which introduce
new commands.
2021-06-27 09:48:16 +02:00
Ivan Pešić
59853d9b30
doc: update Serbian translations
2021-06-27 09:26:50 +02:00
Sébastien Helleu
a48a615613
api: remember insertion order in hashtables
2021-06-26 21:37:02 +02:00
Sébastien Helleu
5a59482cc8
doc: update German auto-generated file
2021-06-25 13:35:16 +02:00
Nils Görs
2478a4187a
core: update German translations
2021-06-25 13:27:20 +02:00
Sébastien Helleu
0fb88527ce
irc: implement IRCv3.2 SASL authentication, add command /auth ( closes #413 )
2021-06-25 11:15:22 +02:00
Sébastien Helleu
7a0020f067
irc: fix comment on TAGMSG callback function (issue #1654 )
2021-06-25 10:41:27 +02:00
Sébastien Helleu
f662ca9398
doc: update German auto-generated files
2021-06-25 10:37:32 +02:00
Nils Görs
8f19798834
core: update German translations
2021-06-25 09:30:14 +02:00
Sébastien Helleu
22a7e18842
irc: add support of capability "message-tags" ( closes #1654 )
2021-06-24 21:04:52 +02:00
Sébastien Helleu
51123b755d
core: add missing source files for gettext
2021-06-24 21:02:13 +02:00
Sébastien Helleu
b1cf12700d
irc: add keys/values with tags in output of irc_message_parse_to_hashtable (issue #1654 )
...
Key is "tag_xxx" (where "xxx" is the name of tag) and value is the unescaped
tag value.
2021-06-24 21:02:03 +02:00
Sébastien Helleu
8ea1ee06e5
irc: add support of TAGMSG messages (issue #1654 )
2021-06-24 21:01:22 +02:00
Sébastien Helleu
23c46c3f2b
irc: escape/unescape IRC message tags values (issue #1654 )
...
Spec: https://ircv3.net/specs/extensions/message-tags#escaping-values
2021-06-24 20:59:21 +02:00
Sébastien Helleu
b3b4ef648b
core: fix use of uninitialized hash when call to weecrypto_hmac fails
2021-06-23 20:46:53 +02:00
Sébastien Helleu
60b9e36ae2
core: fix function string_match with joker in the string if multiple words matched in input string
...
Before fix:
string_match("script.color.text_description", "*script*color*", 0) => 0
After fix:
string_match("script.color.text_description", "*script*color*", 0) => 1
2021-06-22 21:54:16 +02:00
Sébastien Helleu
3d3cdf3884
tests: fix modifier name in comment
2021-06-21 19:58:53 +02:00
Sébastien Helleu
e04cc87f60
irc: set notify level to "private" for received WALLOPS
2021-06-21 19:57:54 +02:00
Sébastien Helleu
f2d1acb899
core: fix chapter name in release notes
2021-06-20 08:53:45 +02:00
Sébastien Helleu
1fb2fcbbd4
doc: update German auto-generated file
2021-06-19 18:46:45 +02:00
Nils Görs
296f795ff3
core: update German translations
2021-06-19 18:43:06 +02:00
Sébastien Helleu
ef318cb70c
irc: enable all capabilities by default (supported by both server and WeeChat) ( closes #320 )
...
Capabilities can be excluded with the format: "*,!account-*,!extended-join".
2021-06-19 18:22:49 +02:00
Sébastien Helleu
947f73bd50
irc: add option irc.look.display_account_message (issue #320 )
2021-06-19 18:14:38 +02:00
Sébastien Helleu
5a89825669
irc: add option irc.look.display_extended_join (issue #320 )
2021-06-19 18:12:22 +02:00
Sébastien Helleu
eb2a42c99e
doc: update German auto-generated file
2021-06-19 18:10:15 +02:00
Nils Görs
60d4489b5e
core: update German translations
2021-06-18 08:36:21 +02:00
Sébastien Helleu
2225ac4e56
core: add option "certs" in command /debug
2021-06-17 21:51:18 +02:00
Sébastien Helleu
fa785e8668
doc: update German auto-generated files
2021-06-17 21:48:39 +02:00
Sébastien Helleu
0ceccb9798
tests: fix tests on signal_search_number
2021-06-16 12:34:30 +02:00
Sébastien Helleu
0b7e4977be
core: fix build on macOS ( closes #1662 )
2021-06-16 12:34:14 +02:00
Sébastien Helleu
bfa0b4376c
core: add build on macOS in CI
2021-06-16 12:32:06 +02:00
Nils Görs
70c1a002e3
doc: update German documentation
2021-06-16 10:50:21 +02:00
Nils Görs
e4b6db5de2
core: update German translations
2021-06-16 10:42:27 +02:00
Sébastien Helleu
e8cdda318f
irc: drop support of DH-BLOWFISH and DH-AES SASL mechanisms ( closes #175 )
2021-06-15 21:49:45 +02:00
Sébastien Helleu
51740eb21e
doc: keep previous msgids of translated messages in .po files
2021-06-15 20:34:25 +02:00
Sébastien Helleu
936e2fddaf
core: update ChangeLog
2021-06-15 18:56:46 +02:00
Sébastien Helleu
70b66c4f6b
irc: add command /setname, add support of message and capability "setname" ( closes #1653 )
2021-06-15 18:56:41 +02:00
Sébastien Helleu
0525922ee4
irc: always set realname in nicks even when extended-join capability is not enabled (issue #1653 )
2021-06-15 18:50:22 +02:00
Sébastien Helleu
b8baee1c06
irc: add support of FAIL/WARN/NOTE messages (issue #1653 )
...
Spec: https://ircv3.net/specs/extensions/standard-replies
2021-06-15 18:49:49 +02:00
Sébastien Helleu
88edc19149
doc: update user's guide translations (issue #1642 )
2021-06-14 21:39:27 +02:00
Giuseppe Bilotta
f6a4841dab
doc: ref the layout, buffer and window sections and commands
...
Add some references between the Screen layout and Buffers and windows
sections, linking also to the appropriate commands.
This should make it easier to discover the `/layout` command and its
relevance to the windows and buffer management.
(Small contribution to GitHub issue #1641 )
2021-06-14 21:38:45 +02:00
Sébastien Helleu
19e41eb28a
core: add contributor (issue #1655 )
2021-06-13 16:30:24 +02:00
eevan78
31b22fec09
doc: add Serbian translations
2021-06-13 16:28:33 +02:00
Krzysztof Korościk
1624b0ba97
doc: updated polish translation
2021-06-13 14:59:07 +02:00
Krzysztof Korościk
9fe937a7fd
po: updated polish translation
2021-06-13 14:41:02 +02:00
Sébastien Helleu
f6d1991833
Version 3.3-dev
2021-06-13 09:51:42 +02:00
Sébastien Helleu
70c09f1f5a
Version 3.2
2021-06-13 09:28:25 +02:00
Sébastien Helleu
1adf6927e5
irc: fix translation of SASL errors
2021-06-13 09:16:09 +02:00
Sébastien Helleu
de6575dd32
doc: update Polish auto-generated files
2021-06-10 21:28:15 +02:00
Krzysztof Korościk
4b3785ad1e
po: updated polish translation
2021-06-10 00:18:03 +02:00
Sébastien Helleu
2a71d79b37
doc: update German auto-generated file
2021-06-07 07:13:54 +02:00
Nils Görs
5775e9cd10
core: update German translations
2021-06-05 23:09:34 +02:00
Sébastien Helleu
7dd3b0016c
Version 3.2-rc1
2021-06-04 21:30:54 +02:00
Sébastien Helleu
f8872c415b
doc: add IRC SASL SCRAM mechanisms in user's guide (issue #1628 )
2021-06-01 21:29:55 +02:00
Sébastien Helleu
8c57e8abd3
irc: add comments about parameter sasl_error (issue #1628 )
2021-06-01 21:17:13 +02:00
Sébastien Helleu
e365e66eeb
irc: add support of SASL mechanisms SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA-512 ( closes #1628 )
2021-06-01 20:45:11 +02:00
Sébastien Helleu
5cffb7179f
api: add function crypto_hmac (issue #1628 )
2021-06-01 20:39:04 +02:00
Sébastien Helleu
6ac6cf7293
tests: add test of base64 encode/decode with NUL char in string
2021-06-01 20:39:04 +02:00
Sébastien Helleu
576406888c
doc: update German auto-generated files
2021-06-01 20:39:04 +02:00
Nils Görs
ae60c3ec66
core: update German translations
2021-05-30 19:06:05 +02:00
Sébastien Helleu
466fed4f5b
irc: add ${target} in help of server msg_kick option
2021-05-30 15:22:30 +02:00
Sébastien Helleu
b21589944e
core, irc, script: fix typos
2021-05-29 14:33:13 +02:00
Sébastien Helleu
4a41625989
irc: add variable "${target}" (target nick) in commands /kick and /kickban
2021-05-29 14:26:30 +02:00
Nils Görs
a9b976274e
doc: update German documentation
2021-05-28 13:46:02 +02:00
Sébastien Helleu
1181ab454e
doc: use secured data in relay examples (user's guide)
2021-05-28 13:37:31 +02:00
Nils Görs
c676148a63
core: update German translations
2021-05-28 09:30:29 +02:00
Victorhck
f3428d48f3
doc: update Spanish quickstart guide
2021-05-27 20:59:53 +02:00
Sébastien Helleu
557dd8f4a5
core: update translations (issue #1647 )
2021-05-27 18:28:52 +02:00
Filip H.F. "FiXato" Slagter
d4f3bc596d
clarify (max) bar size to be in chars/lines
...
(max) bar size was described to be in chars, though this only applies to the left/right bars. This change clarifies that top/bottom bars would have their size defined in lines.
2021-05-27 18:14:18 +02:00
Filip H.F. "FiXato" Slagter
ddc5d56a65
Typo fix
...
Zomming -> Zooming
2021-05-26 19:53:11 +02:00
Sébastien Helleu
b94907c249
doc: replace freenode-tor by a generic TOR example in user's guide
2021-05-26 10:07:59 +02:00
Sébastien Helleu
dfdd5b1c50
core: add signals "cursor_start" and "cursor_end"
2021-05-26 08:53:31 +02:00
Sébastien Helleu
7cc61cdbb3
core: replace freenode by libera in command examples
2021-05-25 18:44:10 +02:00
Sébastien Helleu
e5f58b77c1
core, buflist, irc, relay: replace freenode by libera in comments
2021-05-25 13:39:55 +02:00
Sébastien Helleu
18c82fc5c7
tests: replace freenode by libera in tests
2021-05-25 13:38:12 +02:00
Sébastien Helleu
f55dcde4ff
doc: replace freenode by libera in release notes
2021-05-25 13:37:43 +02:00
Sébastien Helleu
a25f0f1928
doc: replace freenode by libera in contributing guide
2021-05-25 13:37:24 +02:00
Sébastien Helleu
c20d3778d6
doc: replace freenode by libera in man page
2021-05-25 07:59:21 +02:00
Sébastien Helleu
1a7e49ac3f
doc: replace freenode by libera in user's guide
2021-05-25 07:56:07 +02:00
Sébastien Helleu
8bd0df9b70
doc: replace freenode by libera in tester's guide
2021-05-25 07:34:01 +02:00
Sébastien Helleu
afaff533c8
doc: replace freenode by libera in scripting guide
2021-05-25 07:27:13 +02:00
Sébastien Helleu
08ab8bef83
doc: replace freenode by libera in replay protocol
2021-05-25 07:22:32 +02:00
Sébastien Helleu
14c5e656f2
doc: replace freenode by libera in plugin API reference
2021-05-25 07:13:44 +02:00
Sébastien Helleu
dc46bbf63d
doc: replace freenode by libera in FAQ
2021-05-25 07:07:12 +02:00
Sébastien Helleu
0577fd1c99
doc: replace freenode by libera in quickstart guide
2021-05-25 07:02:55 +02:00
Krzysztof Korościk
6915f4e4c0
doc: updated polish translation
2021-05-24 22:52:51 +02:00
Sébastien Helleu
f7dd2dbd55
doc: update Polish auto-generated files
2021-05-24 13:00:09 +02:00
Krzysztof Korościk
d436ab6b0d
po: updated polish translation
2021-05-23 18:25:01 +02:00
Sébastien Helleu
0886b38725
doc: update German auto-generated file
2021-05-23 08:15:33 +02:00
Nils Görs
e3f4c4811f
core: update German translations
2021-05-22 23:42:16 +02:00
Sébastien Helleu
35b35f6923
core: fix typo
2021-05-22 09:47:30 +02:00
Sébastien Helleu
f8419c6aa6
doc: update auto-generated files
2021-05-22 09:17:36 +02:00
Sébastien Helleu
9ac3f887a5
core: add split of commands before evaluation in release notes (issue #1643 )
2021-05-22 09:16:32 +02:00
Sébastien Helleu
15b001b011
core: update translations (issue #1643 )
2021-05-22 08:58:36 +02:00
Sébastien Helleu
d949ebb088
core: split signal command before evaluating it (issue #1643 )
2021-05-22 08:52:46 +02:00
Sébastien Helleu
b74af1d2da
core: split startup command before evaluating it (issue #1643 )
2021-05-22 08:51:38 +02:00
Sébastien Helleu
e350437c81
irc: split server command before evaluating it (issue #1643 )
2021-05-22 08:48:24 +02:00
Sébastien Helleu
4065972000
core: fix tests when NLS is disabled
2021-05-21 13:51:47 +02:00
Giuseppe Bilotta
916f57f31d
core: fix build error if ENABLE_NLS is OFF
...
wee-eval.c calls gettext directly, but gettext is not a function if
ENABLE_NLS is off. Fix by defining a gettext macro (that expands to its
first argument) if NLS support is disabled.
2021-05-21 13:22:05 +02:00
Sébastien Helleu
badd231b82
core: add build without NLS in CI
2021-05-21 13:19:16 +02:00
Sébastien Helleu
2f2cf55f74
doc: format script with black
2021-05-20 20:07:36 +02:00
Nils Görs
5d4ee9e471
core: update German translations
2021-05-20 14:19:01 +02:00
Sébastien Helleu
d09fe80fd1
core: merge two entries into one about GnuTLS options
2021-05-18 21:34:24 +02:00
Sébastien Helleu
447abad79e
core: display old default values for options affected by XDG directories in release notes
2021-05-18 21:30:34 +02:00
Sébastien Helleu
b43958ac92
irc: use constant GNUTLS_TLS1_3 only with GnuTLS >= 3.6.3
...
This constant was introduced in GnuTLS 3.6.3.
This fixes a build error on these old distributions:
- Debian Stretch
- Debian Jessie
- Ubuntu Bionic
- Ubuntu Xenial
2021-05-17 12:59:41 +02:00
Sébastien Helleu
a071ee5012
tests: remove dependency on French locale in eval tests
2021-05-16 20:17:07 +02:00
Sébastien Helleu
cf7ac76de9
tests: add missing include of locale.h in eval tests
2021-05-16 19:09:18 +02:00
Sébastien Helleu
215f12d859
tests: remove commented includes
2021-05-16 19:08:35 +02:00
Nils Görs
59d1811987
core: update German translations
2021-05-16 16:29:54 +02:00
Sébastien Helleu
89e43eaf40
core: set server name when connecting to server with TLS (SNI extension) only if it's not an IPV4/IPv6 ( closes #1635 )
2021-05-16 14:52:11 +02:00
Sébastien Helleu
e03642e9df
tests: add tests on translation in evaluated expressions
2021-05-16 14:09:07 +02:00
Sébastien Helleu
58c66474ce
core: add contributor (issue #1609 )
2021-05-16 13:50:19 +02:00
Emir Sarı
431b799b01
core: update Turkish translations (issue #1609 )
2021-05-16 13:39:44 +02:00
Sébastien Helleu
4c25151f31
core: move build option CA_FILE in build section
2021-05-16 10:11:23 +02:00
Sébastien Helleu
dd916d5e52
doc: update auto-generated files
2021-05-16 10:08:04 +02:00
Sébastien Helleu
d18680e442
core: update ChangeLog (issue #1622 )
2021-05-16 10:01:17 +02:00
Sébastien Helleu
92410e9949
irc: sort config options alphabetically (issue #1622 )
2021-05-16 10:01:14 +02:00
Sébastien Helleu
e6a3d08704
buflist, irc, xfer: do not translate "cleartext" in buffer local variable "tls_version" (issue #1622 )
...
The text "cleartext" is translated for display only: directly with gettext in
IRC plugin and with "${translate:${tls_version}}" in the buflist evaluated
format.
2021-05-16 10:01:07 +02:00
Sébastien Helleu
5bce484c01
api: add translated string in evaluation of expressions with "translate:xxx" (issue #1622 )
2021-05-16 10:01:03 +02:00
Sébastien Helleu
7e10038f4b
core: update translations (issue #1622 )
2021-05-16 10:00:57 +02:00
Andrew Potter
94c902adfc
irc, buflist: add bar item "tls_version" with options for colors, add buflist format "${format_tls_version}" (issue #1622 )
2021-05-16 10:00:30 +02:00
Nils Görs
670c5cd745
core: update German translations
2021-05-15 23:45:36 +02:00
Sébastien Helleu
a7db77e253
core: remove obsolete translations
2021-05-15 16:53:14 +02:00
Sébastien Helleu
3102eccda2
core: fix French translation of /help fifo
2021-05-15 16:52:43 +02:00
Sébastien Helleu
b714d3dc91
core: fix punctuation in German translation
2021-05-15 14:40:01 +02:00
Nils Görs
0d8aeee738
core: update German translations
2021-05-15 13:58:01 +02:00
Sébastien Helleu
9d96d5d450
doc: add missing names for anchors in scripting guide
2021-05-14 19:19:49 +02:00
Sébastien Helleu
168dbaf020
doc: add link to Python stub in scripting guide (issue #1377 )
2021-05-14 19:19:45 +02:00
Sébastien Helleu
13cb870b9a
core: add generator and Python stub file for WeeChat API (issue #1377 )
2021-05-14 19:19:45 +02:00
Sébastien Helleu
a5903e8020
doc: add type annotations in Python prototype (scripting guide) (issue #1377 )
2021-05-13 20:24:59 +02:00
Sébastien Helleu
fafe2c9d2e
doc: add type annotations in Python prototypes (plugin API reference) (issue #1377 )
2021-05-13 20:24:59 +02:00
Sébastien Helleu
3e122ed900
doc: add types of constants in scripting guide (issue #1377 )
2021-05-13 15:47:21 +02:00
Sébastien Helleu
33767b22f3
doc: fix translations in Italian and Japanese plugin API reference
2021-05-13 09:57:50 +02:00
Sébastien Helleu
11b311ce2f
core: add GnuTLS CA changes in release notes
2021-05-12 21:00:21 +02:00
Sébastien Helleu
bbdeb51bc1
doc: add missing French translations in user's guide
2021-05-12 20:44:07 +02:00
Sébastien Helleu
c588ee21bc
core: improve options to load GnuTLS system/user CAs ( closes #972 )
...
Changes:
* new option: weechat.network.gnutls_ca_system
* option weechat.network.gnutls_ca_file renamed to
weechat.network.gnutls_ca_user
* reload certificates when options are changed
* remove build option CA_FILE
2021-05-12 20:39:40 +02:00
Sébastien Helleu
b7112e4090
core: add slack.py version in release notes
2021-05-11 22:41:13 +02:00
Sébastien Helleu
be575e5400
core: update translations (issue #1285 )
2021-05-11 21:39:46 +02:00
Sébastien Helleu
7f8f5f94e3
core: update ChangeLog (issue #1285 )
2021-05-11 21:07:43 +02:00
Sébastien Helleu
6e528a1d62
core: add XDG directories in release notes (issue #1285 )
2021-05-11 21:07:41 +02:00
Sébastien Helleu
a9e210121b
fifo: add PID in default FIFO pipe filename (issue #1285 )
...
This is to prevent two WeeChat using the same runtime directory to use the same
FIFO pipe.
2021-05-11 21:07:39 +02:00
Sébastien Helleu
6925ea3ccb
doc: add missing names for anchors in user's guide (issue #1285 )
2021-05-11 21:07:36 +02:00
Sébastien Helleu
70cdf21681
doc: add XDG directories support in docs (issue #1285 )
2021-05-11 21:07:30 +02:00
Sébastien Helleu
87d4ea9286
doc: remove tag "translation missing" in French user's guide (issue #1285 )
2021-05-11 21:07:28 +02:00
Sébastien Helleu
d9f5bce6ee
doc: add file wee-dir.c in developer's guide (issue #1285 )
2021-05-11 21:07:26 +02:00
Sébastien Helleu
f71b4f78fd
doc: add link to CMake option in environment variable WEECHAT_HOME (user's guide) (issue #1285 )
2021-05-11 21:07:24 +02:00
Sébastien Helleu
a3f8647a72
doc: change default value of WEECHAT_HOME CMake option to empty string (user's guide) (issue #1285 )
2021-05-11 21:07:21 +02:00
Sébastien Helleu
664fb12db7
doc: remove wrong default value of option weechat.network.gnutls_ca_file (user's guide) (issue #1285 )
2021-05-11 21:07:19 +02:00
Sébastien Helleu
cb4c3b0226
doc: use XDG config directory in Relay SSL chapter (user's guide) (issue #1285 )
2021-05-11 21:07:17 +02:00
Sébastien Helleu
7d75d82f6a
doc: use XDG config directory in chapter on IRC server certificate (user's guide) (issue #1285 )
2021-05-11 21:07:15 +02:00
Sébastien Helleu
49844a71f0
doc: use XDG config directory in SASL ECDSA-NIST256P-CHALLENGE chapter (user's guide) (issue #1285 )
2021-05-11 21:07:11 +02:00
Sébastien Helleu
5210d501d4
doc: replace "%h" by "${weechat_config_dir}" in examples of values for IRC server option "ssl_cert" (user's guide) (issue #1285 )
2021-05-11 21:07:09 +02:00
Sébastien Helleu
3833b965e4
doc: replace "%h" by "${weechat_config_dir}" in examples of values for IRC server option "sasl_key" (user's guide) (issue #1285 )
2021-05-11 21:07:07 +02:00
Sébastien Helleu
703106a31f
core: mention evaluation with string_eval_path_home for CMake/autotools option CA_FILE (issue #1285 )
2021-05-11 21:07:04 +02:00
Sébastien Helleu
43ba8d3b73
xfer: remove "%h" from /help xfer.file.upload_path (issue #1285 )
2021-05-11 21:07:02 +02:00
Sébastien Helleu
6170f97cd6
xfer: change default value of option xfer.file.download_path to "${weechat_data_dir}/xfer" (issue #1285 )
2021-05-11 21:07:00 +02:00
Sébastien Helleu
19bf10647c
script: change default value of option script.scripts.path to "${weechat_cache_dir}/script" (issue #1285 )
2021-05-11 21:06:58 +02:00
Sébastien Helleu
4459119409
relay: change default value of option relay.network.ssl_cert_key to "${weechat_config_dir}/ssl/relay.pem" (issue #1285 )
2021-05-11 21:06:56 +02:00
Sébastien Helleu
047a668275
relay: remove "%h" from help on UNIX socket path option (issue #1285 )
2021-05-11 21:06:54 +02:00
Sébastien Helleu
36847bd305
relay: remove "%h" from /help relay (issue #1285 )
2021-05-11 21:06:51 +02:00
Sébastien Helleu
005ef8a4a9
logger: change default value of option logger.file.path to "${weechat_data_dir}/logs" (issue #1285 )
2021-05-11 21:06:49 +02:00
Sébastien Helleu
7e79145d46
fifo: change default value of option fifo.file.path to "${weechat_runtime_dir}/weechat_fifo" (issue #1285 )
2021-05-11 21:06:46 +02:00
Sébastien Helleu
d2c5bba356
core: change default value of option weechat.plugin.path to "${weechat_data_dir}/plugins" (issue #1285 )
2021-05-11 21:06:42 +02:00
Sébastien Helleu
0f9640a5f3
core: split WeeChat home in 4 directories, use XDG directories by default (issue #1285 )
...
The 4 directories (which can be the same):
- config: configuration files, certificates
- data: log/upgrade files, local plugins, scripts, xfer files
- cache: script repository, scripts downloaded (temporary location)
- runtime: FIFO pipe, relay UNIX sockets
2021-05-11 21:06:34 +02:00
Sébastien Helleu
4c5fcb743b
core: move home directory functions from weechat.c to wee-dir.c (issue #1285 )
2021-05-11 21:06:32 +02:00
Sébastien Helleu
269576eea2
core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285 )
2021-05-11 21:06:29 +02:00
Sébastien Helleu
9eecad496d
logger: remove unused variable weechat_dir (issue #1285 )
2021-05-11 21:06:27 +02:00
Sébastien Helleu
5361722699
core: set WeeChat home to empty string by default in CMake and autotools (issue #1285 )
2021-05-11 21:06:24 +02:00
Sébastien Helleu
e07221d7c5
relay: evaluate option relay.network.ssl_cert_key (issue #1285 )
2021-05-11 21:06:22 +02:00
Sébastien Helleu
39b629550b
irc: evaluate options irc.server_default.ssl_cert and irc.server.xxx.ssl_cert (issue #1285 )
2021-05-11 21:06:19 +02:00
Sébastien Helleu
d7d594873b
irc: evaluate options irc.server_default.sasl_key and irc.server.xxx.sasl_key (issue #1285 )
2021-05-11 21:06:17 +02:00
Sébastien Helleu
f923524a21
core: evaluate option weechat.plugin.path (issue #1285 )
2021-05-11 21:06:13 +02:00
Sébastien Helleu
e5d18e1221
core: evaluate option weechat.network.gnutls_ca_file (issue #1285 )
2021-05-11 21:05:42 +02:00
Sébastien Helleu
9e7d052517
core: update ChangeLog (issue #1636 )
2021-05-08 07:33:17 +02:00
Sébastien Helleu
f3f3c54372
core: add detection of function mallinfo2 in autotools (issue #1636 )
2021-05-08 07:33:12 +02:00
Andrew Potter
b222e75019
core: Use mallinfo2() when available
...
mallinfo() is deprecated in glibc 2.33
2021-05-08 07:25:44 +02:00
Sébastien Helleu
aa7860c942
doc: update German auto-generated file
2021-05-05 13:59:04 +02:00
Sébastien Helleu
ed560a785a
doc: fix list of supported OS in FAQ
2021-05-05 13:57:11 +02:00
Sébastien Helleu
e95fdc3a0a
core: display a warning when the file with certificate authorities is not found (option weechat.network.gnutls_ca_file)
2021-05-04 20:37:15 +02:00
Sébastien Helleu
9f0e7fb47e
xfer: make file transfer fail when option xfer.file.auto_rename is off and file already exists ( closes #1633 )
2021-04-26 20:51:17 +02:00
Nils Görs
bcd889cf90
doc: update German documentation
2021-04-21 07:53:47 +02:00
Sébastien Helleu
65ea67204c
doc: translate changes in chapter on bar conditions (user's guide)
2021-04-18 12:08:11 +02:00
Tobias Rehbein
2c674a54d4
doc: Update weechat.bar.*.condition to use info:term_width
...
In cf93e953b the `weechat.bar.*.condition` examples have been changed to use
`${info:term_width}` instead of `${window.win_width}`. The user guide still
shows the old example. This commit syncs the user guide with the on-line help.
2021-04-18 12:00:29 +02:00
Nils Görs
2fbedfec1a
doc: update German documentation
2021-04-18 09:58:09 +02:00
Sébastien Helleu
1181ac069e
doc: add link to Archlinux wiki page about core dump files (user's guide)
2021-04-17 14:21:50 +02:00
Nils Görs
950c2bb898
core: update German translations
2021-04-13 11:44:40 +02:00
Sébastien Helleu
6b62456119
Revert "core: add option "-save" in command /upgrade ( closes #1630 )"
...
This reverts commit 1df1903d23 .
This is not so easy to implement: it requires saving state of plugins, and
plugins like irc can not save the connected state (except in a real upgrade
case where the sockets are still valid after exec of the new binary).
2021-04-13 00:11:11 +02:00
Sébastien Helleu
1df1903d23
core: add option "-save" in command /upgrade ( closes #1630 )
2021-04-12 20:48:32 +02:00
Sébastien Helleu
ae39b7ce61
tests: fix if/else blocks in trigger tests
2021-04-11 10:42:24 +02:00
Sébastien Helleu
044bcd0751
doc: improve display of WeeChat version in info_hashtable "irc_message_parse" (scripting guide)
2021-04-11 09:47:13 +02:00
Sébastien Helleu
5d30e0faac
doc: mark info "python2_bin" as deprecated since version 2.6 (plugin API reference)
2021-04-11 09:31:49 +02:00
Sébastien Helleu
e58c827c91
trigger: add tests on main trigger functions
2021-04-11 09:20:49 +02:00
Sébastien Helleu
1f0636bab6
irc: remove unused variable ptr_address and dead code
2021-04-10 14:11:11 +02:00
Sébastien Helleu
7bd23700de
irc: remove dead assignment on variable pos_message
2021-04-10 13:26:46 +02:00
Sébastien Helleu
937ecb62c4
trigger: remove useless test
2021-04-10 12:21:16 +02:00
Sébastien Helleu
2e67b13edd
trigger: check that option is not NULL in function trigger_search_with_option
2021-04-09 21:36:12 +02:00
Sébastien Helleu
7c5cbefd51
trigger: fix description of function trigger_name_valid
2021-04-08 20:56:37 +02:00
Sébastien Helleu
b6b78df3d2
trigger: check that trigger is not NULL in functions trigger_rename and trigger_copy
2021-04-08 20:55:37 +02:00
Nils Görs
4da5647e9f
doc: update German documentation
2021-04-07 12:38:35 +02:00
Sébastien Helleu
fae9bdf8f8
trigger: add variables "${tg_shell_argc}" and "${tg_shell_argvN}" in command trigger evaluated strings ( closes #1624 )
2021-04-06 18:37:22 +02:00
Sébastien Helleu
3bf585ba04
core: evaluate left/right part of comparison after split on the comparison operator in ${if:xxx} ( closes #1627 )
...
To force evaluation of the expression before doing the comparison (less safe),
the "${eval_cond:xxx}" can be used.
With the old behavior we had:
>> ${if:a==b}
== [0]
>> ${if:${raw:a==b}}
== [0]
>> ${if:${eval_cond:${raw:a==b}}}
== [0]
And with the new behavior, we have:
>> ${if:a==b}
== [0]
>> ${if:${raw:a==b}}
== [1]
>> ${if:${eval_cond:${raw:a==b}}}
== [0]
2021-04-04 14:44:18 +02:00
Sébastien Helleu
1aefb0a546
doc: update German auto-generated file
2021-03-29 22:32:56 +02:00
Nils Görs
efd5a8bd14
core: update German translations
2021-03-29 09:22:07 +02:00
Sébastien Helleu
4f606ceb64
buflist: improve help on option buflist.look.sort
2021-03-21 09:34:40 +01:00
Sébastien Helleu
027966e5e9
core: update ChangeLog (issue #1621 )
2021-03-21 09:01:08 +01:00
Trygve Aaberge
6b23d855d8
buflist: Fix wrong pointers being used in hdata_compare
...
This used pointer1 and pointer2 which are pointers to the buffers, but
it should use ptr_hotlist1 and ptr_hotlist1 which are pointers to the
hotlists it is trying to compare.
2021-03-21 08:59:37 +01:00
Sébastien Helleu
e8a58a27cd
core: update ChangeLog (issue #1591 , issue #1592 )
2021-03-20 13:08:35 +01:00
Trygve Aaberge
472eab38e5
core: Prevent switching to start of visited buffers when jumping to next
...
If you run /input jump_next_visited_buffer right after switching to a
buffer, weechat changes to the first buffer in the visited buffers list.
That is, it wraps around and goes to the buffer you visited the longest
ago. This patch fixes that.
The reason it happens is that when you switch to a buffer (normally,
i.e. in another way than using jump_previously_visited_buffer/
jump_next_visited_buffer) gui_buffers_visited_index is set to -1 (in
gui_buffer_visited_add). This makes gui_buffer_visited_get_index_next
return 0 because it returns gui_buffers_visited_index + 1, which makes
gui_input_jump_next_visited_buffer jump to the first buffer in the list
of visited buffers.
Fixes #1591
2021-03-20 13:07:20 +01:00
Sébastien Helleu
aa4beb99e8
doc: update German auto-generated file
2021-03-20 09:20:51 +01:00
Nils Görs
741c1b4e87
doc: update German documentation
2021-03-20 07:52:35 +01:00
Nils Görs
a715403d60
core: update German translations
2021-03-20 06:36:19 +01:00
Sébastien Helleu
40ab0bb11e
core: update ChangeLog
2021-03-19 23:27:00 +01:00
Sébastien Helleu
3b76a8dd82
core: add repository ppa:ondrej/php in CI
2021-03-19 07:12:23 +01:00
Sébastien Helleu
bcddb06094
core: do not force build of JavaScript plugin in CI
2021-03-19 09:14:59 +01:00
Sébastien Helleu
611ea27edc
tests: disable pylint error useless-object-inheritance
2021-03-19 09:14:59 +01:00
Sébastien Helleu
bacd50c7a7
core: replace pylint3 by pylint in CI on Ubuntu 20.04
2021-03-19 09:14:59 +01:00
Sébastien Helleu
da91ddef98
core: first remove package php7.4-common in CI on Ubuntu 20.04
...
See: https://github.com/actions/virtual-environments/issues/2859
2021-03-19 09:14:59 +01:00
Sébastien Helleu
692d313fe3
core: switch from Ubuntu 18.04 to 20.04 in CI
2021-03-19 09:14:59 +01:00
Sébastien Helleu
4d96a3a84d
core: add pointer name in description of function eval_replace_vars_cb
2021-03-18 07:35:12 +01:00
Sébastien Helleu
0d5b7ae9d0
doc: update German auto-generated files
2021-03-17 21:58:18 +01:00
Sébastien Helleu
8ee7d46605
api: add support of pointer names in function string_eval_expression (direct and in hdata)
...
These two formats are now supported, if "pointer_name" is present in the
"pointers" hashtable:
* "${pointer_name}": value of pointer (example: "0x1234abcd")
* ${buffer[pointer_name].full_name}: use of a pointer name instead of pointer
value or list name
2021-03-17 21:57:16 +01:00
Sébastien Helleu
c54cadace5
tests: use macros UINT32_C and UINT64_C for integer constants of type uint32_t and uint64_t
...
This fixes the following compiler warnings: "integer constant is so large that
it is unsigned".
2021-03-17 21:56:43 +01:00
Nils Görs
84d9de798a
core: update German translations
2021-03-17 14:16:16 +01:00
Sébastien Helleu
e4ff17e162
doc: add section "plugin" in weechat.conf (user's guide)
2021-03-16 19:03:45 +01:00
Sébastien Helleu
0dc7fbcb0c
core: add options to customize commands on system signals, quit by default on SIGHUP when not running headless ( closes #1595 )
...
New options to customize behavior on signals received, with the default
behavior:
- weechat.signal.sighup: quit in normal mode, reload config in headless
- weechat.signal.sigquit: quit
- weechat.signal.sigterm: quit
- weechat.signal.sigusr1: no command executed by default
- weechat.signal.sigusr2: no command executed by default
The signals SIGUSR1 and SIGUSR2 are introduced by this commit, so it's now
possible to run commands when they are received.
The SIGHUP signal makes now WeeChat quit, it was the behavior before version
2.9 of WeeChat (see commit de1e61f7cd ).
2021-03-16 18:47:31 +01:00
Sébastien Helleu
bb41de8c02
api: add info "weechat_daemon"
2021-03-14 14:11:06 +01:00
Sébastien Helleu
a02a2fbaae
doc: use full path /usr/bin/pass in example for option sec.crypt.passphrase_command
2021-03-14 13:38:50 +01:00
Sébastien Helleu
e37f2569f9
core: mention /fset command in header comment of configuration files
2021-03-14 11:36:07 +01:00
Sébastien Helleu
ab282db3a6
core: update ChangeLog ( closes #1618 )
2021-03-14 10:56:51 +01:00
Sébastien Helleu
8c793fe7cc
fset: add fset bar on configuration reload (issue #1618 )
2021-03-14 10:56:24 +01:00
Sébastien Helleu
35b5adbc4c
buflist: always add buflist bar when plugin is loaded, hide bar by default if buflist is disabled (issue #1618 )
2021-03-14 10:55:48 +01:00
Sébastien Helleu
a4440ba8e5
buflist: add buflist bar on configuration reload (issue #1618 )
2021-03-14 10:55:24 +01:00
Nils Görs
3bdae5b464
doc: update German documentation
2021-03-13 23:56:16 +01:00
Sébastien Helleu
d2c56084f8
doc: add upgrade chapter in user's guide
2021-03-13 15:17:01 +01:00
Sébastien Helleu
5311c103d5
debian: update debian/ubuntu patches with new Standards-Version
2021-03-08 20:48:06 +01:00
Sébastien Helleu
39bd4e2099
debian: fix watch according to download page changes
2021-03-08 20:38:25 +01:00
Sébastien Helleu
35ca5cde9c
debian: bump Standards-Version to 4.5.1
2021-03-08 20:37:43 +01:00
Sébastien Helleu
c49255a851
core: add missing include of sys/time.h in C headers
2021-03-07 13:21:24 +01:00
Sébastien Helleu
2b1c2d6d05
Version 3.2-dev
2021-03-07 12:11:55 +01:00
Sébastien Helleu
ae2f25109c
Version 3.1
2021-03-07 11:54:55 +01:00
Sébastien Helleu
7dd7da1d7b
core: reorder release notes for version 3.1
2021-03-07 09:45:06 +01:00
Sébastien Helleu
3983e9fa1e
core: fix compilation of tests on FreeBSD
2021-03-07 09:33:06 +01:00
Sébastien Helleu
4307733853
debian: update changelog
2021-03-07 08:57:53 +01:00
Sébastien Helleu
4014c1140a
doc: update Polish auto-generated files
2021-03-06 19:02:53 +01:00
Krzysztof Korościk
65a732449e
doc: updated polish user guide
2021-03-06 18:49:12 +01:00
Krzysztof Korościk
4fd3c5e1d6
po: updated polish translation
2021-03-06 18:10:42 +01:00
Sébastien Helleu
e9c8b8bf0f
core: add contributor in AUTHORS.adoc (issue #1615 )
2021-03-05 21:00:17 +01:00
Sébastien Helleu
ca4d7b37c6
core: fix pt_BR translations
2021-03-05 20:51:43 +01:00
Érico Rolim
23a3096e1d
core: update pt_BR translations.
2021-03-05 20:50:50 +01:00
Sébastien Helleu
c17aeeba29
core: force Ubuntu 18.04 for CI
2021-03-05 20:45:31 +01:00
Sébastien Helleu
c3cc06ff27
core: fix quoted line in cursor mode ( closes #1602 )
...
Regression was introduced in version 2.7 by commit
93d2dbf3e1 .
2021-02-28 17:13:52 +01:00
Sébastien Helleu
3ca58c2fd9
Version 3.1-rc1
2021-02-28 12:06:49 +01:00
Sébastien Helleu
1862f4b3d2
core: add missing "xxx" in format of evaluated expressions (ChangeLog)
2021-02-28 12:03:47 +01:00
Nils Görs
f06d434a0c
Merge branch 'master' of https://github.com/weechat/weechat
2021-02-27 13:58:11 +01:00
Nils Görs
00d6183cd8
doc: update German documentation
2021-02-27 13:57:49 +01:00
Sébastien Helleu
ceaf480ba7
core: fix paragraph in release notes
2021-02-27 13:49:55 +01:00
Sébastien Helleu
0f71b4ccc8
irc: add bar item "irc_nick_prefix"
2021-02-27 13:44:24 +01:00
Sébastien Helleu
a811da3a42
doc: add missing available bar items (user's guide)
2021-02-27 12:56:09 +01:00
Sébastien Helleu
83379469aa
irc: fix separator between nick and host in bar item "irc_nick_host"
...
Use "!" instead of "@" to separate nick from host, like it is done in IRC
protocol.
The nick and host is now displayed as "nick!user@host" instead of
"nick@user@host".
2021-02-27 09:02:09 +01:00
Sébastien Helleu
6a7da6d473
fset: fix description of function fset_bar_item_fset_cb
2021-02-27 08:57:32 +01:00
Sébastien Helleu
7b15742a11
doc: fix example of value for bar item "irc_nick_modes" (user's guide)
2021-02-26 18:45:21 +01:00
Sébastien Helleu
5339e6aa17
doc: update German auto-generated file
2021-02-26 18:41:14 +01:00
Nils Görs
2a31544242
core: update German translations
2021-02-26 14:02:42 +01:00
Sébastien Helleu
3d587ad37d
core: add info_hashtable "secured_data"
2021-02-25 19:06:47 +01:00
Sébastien Helleu
5725c8561c
doc: remove references to Savannah in developer's guide
2021-02-20 11:12:14 +01:00
Sébastien Helleu
49ac7dd9f5
doc: split dependencies in two tables: required and optional (user's guide)
2021-02-19 20:12:18 +01:00
Sébastien Helleu
d10e8342d3
core: convert "totp" to upper case in ChangeLog
2021-02-16 07:47:42 +01:00
Sébastien Helleu
1a86036edb
doc: update German auto-generated file
2021-02-11 07:16:11 +01:00
Sébastien Helleu
ab47c1abf7
core: move line from "New features" to "Bug fixes" (issue #1612 )
2021-02-11 07:12:55 +01:00
Nils Görs
69af1ac0ae
core: update German translations
2021-02-10 08:10:06 +01:00
Sébastien Helleu
b6a935b1c3
core: move line to appropriate version in ChangeLog
2021-02-10 07:56:43 +01:00
Sébastien Helleu
45c372ebc8
core: move line from "New features" to "Bug fixes" (issue #1613 )
2021-02-09 20:42:58 +01:00
Sébastien Helleu
840551dcfa
doc: update German auto-generated files
2021-02-09 20:37:35 +01:00
Sébastien Helleu
630fe0581f
buflist: add option buflist.look.use_items to speed up display of buflist ( closes #1613 )
2021-02-09 20:34:56 +01:00
Sébastien Helleu
d74f2e3183
core: add fixed behavior of command /window splitv in release notes
2021-02-09 20:19:22 +01:00
Sébastien Helleu
00409cba6a
core: fix wrong size of the new window after vertical split ( closes #1612 )
2021-02-08 18:47:44 +01:00
Nils Görs
8a6a135b45
core: update German translations
2021-02-08 13:41:59 +01:00
Sébastien Helleu
47112a113e
core: update help on option sec.crypt.passphrase_command, update translations
2021-02-08 13:12:54 +01:00
Sébastien Helleu
d08e9aed1c
core: update translations
2021-02-07 11:00:12 +01:00
Sébastien Helleu
1c3c8c92c7
core: update ChangeLog ( closes #992 , closes #993 )
2021-02-07 09:52:15 +01:00
Kevin Pulo
df12f8de34
core: add options weechat.look.hotlist_update_on_buffer_switch and weechat.look.read_marker_update_on_buffer_switch
...
Both default to "on" (no change to previous behavior).
If hotlist_update_on_buffer_switch is "off", then when switching away from a
buffer, the hotlist is not cleared.
If read_marker_update_on_buffer_switch is "off", then when switching away from
a buffer, the read marker is not set to the end of the buffer.
This allows users to choose to have fully manual control over when hotlist
counts and buffer read markers are reset.
Fixes #992 .
2021-02-07 09:48:19 +01:00
Sébastien Helleu
84d4be1bee
core: update ChangeLog (remove option sec.crypt.passphrase_file)
2021-02-06 16:20:11 +01:00
Sébastien Helleu
f1c681c832
core: replace option sec.crypt.passphrase_file by sec.crypt.passphrase_command ( closes #141 )
...
The command is used to read the passphrase on startup, for example using your
favorite password manager.
Note: only the passphrase is read from the program, the secured data is still
stored encrypted in sec.conf and handled by WeeChat itself.
2021-02-06 16:07:14 +01:00
Sébastien Helleu
fe9ec8fbda
doc: update German auto-generated files
2021-02-05 20:08:18 +01:00
Sébastien Helleu
a93e598c35
core: add raw string in evaluation of expressions with "raw:xxx" ( closes #1611 )
2021-02-05 20:07:16 +01:00
Nils Görs
64fe602aae
core: update German translations
2021-02-05 10:56:49 +01:00
Sébastien Helleu
a34959a619
irc: add info "irc_is_message_ignored"
2021-02-03 18:30:32 +01:00
Sébastien Helleu
42a86f0a36
core: add version 3.0.1 in ChangeLog, release notes and weechat.spec
2021-01-31 10:38:57 +01:00
Nils Görs
a250a50ca5
core: update German translations
2021-01-31 10:32:26 +01:00
Nils Görs
8bdc58f32d
core: update German translations
2021-01-31 09:32:26 +01:00
Sébastien Helleu
691c9a0a0f
irc: add function irc_server_get_chantypes
2021-01-30 10:34:23 +01:00
Sébastien Helleu
0c98b0cfa4
irc: use server option "default_chantypes" as fallback in function irc_nick_is_nick
2021-01-30 09:59:04 +01:00
Sébastien Helleu
ba892ee5a0
core: update translations
2021-01-30 09:55:02 +01:00
Sébastien Helleu
a11c90ab70
core: add contributor in AUTHORS.adoc (issue #1610 )
2021-01-30 09:34:30 +01:00
Sébastien Helleu
201979fa8d
doc: update auto-generated files with options
2021-01-30 09:32:59 +01:00
Sébastien Helleu
dd589cd141
irc: use server option "default_chantypes" as fallback when automatically adding channel type on join
2021-01-30 09:31:31 +01:00
Sébastien Helleu
e305b4e960
core: update ChangeLog
2021-01-30 09:25:55 +01:00
Sébastien Helleu
ec2ffedab6
irc: improve help on server option "default_chantypes"
2021-01-30 09:25:06 +01:00
Sébastien Helleu
293402143b
irc: fix name of option "default_chantypes" in list of server options
2021-01-30 09:24:34 +01:00
Sébastien Helleu
e74dd22707
irc: simplify code in function irc_channel_is_channel
2021-01-30 09:05:49 +01:00
Matti Virkkunen
bad6dc8a57
irc: make default chantypes configurable
2021-01-30 01:01:51 +02:00
Nils Görs
dc8df133ea
doc: update German documentation
2021-01-27 07:48:05 +01:00
Sébastien Helleu
d465ec2a39
doc: update Polish auto-generated files
2021-01-27 00:06:34 +01:00
Sébastien Helleu
fd672a0fa4
doc: add a second note on default configuration files in user's guide
2021-01-27 00:04:30 +01:00
Sébastien Helleu
7b1b482cc7
core: add command "/buffer listvar" in release notes
2021-01-26 23:39:49 +01:00
Sébastien Helleu
7255fac60b
core: add contributor in AUTHORS.adoc (issue #1607 )
2021-01-16 13:35:54 +01:00
Sébastien Helleu
bb6152d8a3
core: update ChangeLog
2021-01-16 13:20:14 +01:00
Jan Palus
b142617cca
doc: don't build headless man page if headless is disabled
2021-01-16 13:15:45 +01:00
Krzysztof Korościk
1c3cb4364d
po: updated polish translation
2021-01-15 21:35:27 +01:00
Krzysztof Korościk
c81eac325d
doc: updated polish translation
2021-01-15 21:17:37 +01:00
Sébastien Helleu
25ed384418
doc: add missing non-breaking spaces before punctuation in French docs
2021-01-09 20:22:22 +01:00
Nils Görs
84b02c1296
core: update German translations
2021-01-05 09:15:43 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
df4b9170f1
irc: remove obsolete comment on translation
2021-01-02 15:22:02 +01:00
Sébastien Helleu
b8acaf8a14
irc: fix ambiguity on translation of word "server"
...
This fixes the following warning:
/usr/bin/xgettext: warning: msgid 'server' is used without plural and with plural.
./src/plugins/irc/irc-bar-item.c:136: Here is the occurrence without plural.
./src/plugins/irc/irc.c:154: Here is the occurrence with plural.
Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation.
2021-01-02 15:18:26 +01:00
Sébastien Helleu
470e3ef9cf
core: move debug_id assignation in macro EVAL_DEBUG_MSG
2021-01-02 14:43:40 +01:00
Sébastien Helleu
943374f789
doc: add note about call to "regfree" after call to "string_regcomp" (plugin API reference)
2021-01-01 18:10:47 +01:00
Sébastien Helleu
d413ccdf4f
core: add indentation and colors in /eval debug output
2021-01-01 17:08:59 +01:00
Sébastien Helleu
63ead3da49
doc: update German auto-generated file
2021-01-01 15:47:35 +01:00
Nils Görs
565837f75a
core: update German translations
2021-01-01 11:21:57 +01:00
Sébastien Helleu
2ad3da03a2
core: display more verbose debug with two "-d" in command /eval
...
Now a single -d in command /eval shows less debug messages than previous
versions.
To get the same debug messages than previous versions, two -d must be used.
2020-12-31 20:37:43 +01:00
Sébastien Helleu
33c7b96146
core: fix typo in comment
2020-12-30 23:02:37 +01:00
Nils Görs
7b13bb5cf9
doc: update German documentation
2020-12-28 10:14:42 +01:00
Sébastien Helleu
9bc194c898
doc: update question about config files sharing (FAQ)
2020-12-28 00:17:05 +01:00
Sébastien Helleu
0942b04c52
doc: add info about sensitive data in relay.conf (user's guide)
2020-12-28 00:08:45 +01:00
Sébastien Helleu
2e3cef4c41
doc: update Polish auto-generated files
2020-12-27 21:56:10 +01:00
Krzysztof Korościk
05a9a7904c
po: updated polish translation
2020-12-27 19:05:51 +01:00
Sébastien Helleu
ee9aa28a8c
core: do not remove quotes in arguments of command /eval ( closes #1601 )
...
Now, /eval -n -c "a" == "a" returns True instead of False.
When quotes were removed, the condition evaluated was: a" == "a (which is
False).
2020-12-25 00:21:03 +01:00
Sébastien Helleu
a8abfcd7b4
doc: update German auto-generated files
2020-12-21 18:33:48 +01:00
Sébastien Helleu
cc5c34d4dc
doc: add missing parenthesis in user's guide
2020-12-21 18:31:08 +01:00
Nils Görs
f9b4f4e7e6
doc: update German documentation
2020-12-21 13:40:39 +01:00
Nils Görs
18f9ba3c0c
core: update German translations
2020-12-21 13:07:23 +01:00
Sébastien Helleu
09f57476d2
doc: add a chapter on buffer local variables (user's guide)
2020-12-19 21:23:16 +01:00
Sébastien Helleu
7e2396ade8
core: add options "setvar" and "delvar" in command /buffer, rename option "localvar" to "listvar"
...
The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still
recognized by WeeChat, to stay compatible with any extension/script calling
it (or referencing it in the documentation).
It is deprecated and will be removed in a future release.
2020-12-19 20:59:38 +01:00
Sébastien Helleu
1526f58d7a
doc: replace "core" by "weechat" in table with extra info for bar item "buffer_nicklist" (plugin API reference)
2020-12-19 15:00:02 +01:00
Sébastien Helleu
0294b246f6
core: add buffer local variable "completion_default_template" (evaluated) ( closes #1600 )
...
When this local variable is set, it overrides the value of option
"weechat.completion.default_template".
It is evaluated, that means the global default template can be used to append
some custom completion. For example:
/buffer set localvar_set_completion_default_template ${weechat.completion.default_template}|%(my_completion)
2020-12-19 14:25:13 +01:00
Sébastien Helleu
e4152c3535
core: remove unneeded return of WEECHAT_RC_OK in filter command
2020-12-18 20:28:41 +01:00
Sébastien Helleu
dc5277fe89
core: add option "recreate" in command /filter
2020-12-18 20:28:16 +01:00
Sébastien Helleu
73eabdbe80
doc: update German auto-generated file
2020-12-18 19:55:44 +01:00
Nils Görs
5e17f0039b
core: update German translations
2020-12-17 11:05:15 +01:00
Sébastien Helleu
13e4af7b46
script: add status of scripts in output of command /script list in /help script
2020-12-15 20:41:13 +01:00
Nils Görs
1efcaa9752
doc: update German documentation
2020-12-13 11:55:38 +01:00
Sébastien Helleu
b95e91e1a2
doc: add command to run WeeChat with address sanitizer (user's guide)
2020-12-13 11:01:04 +01:00
Nils Görs
3dea65aa05
doc: update German documentation
2020-12-07 08:59:07 +01:00
Sébastien Helleu
a69cfbdb19
core: add contributor in AUTHORS.adoc (issue #1597 )
2020-12-06 15:54:44 +01:00
Sébastien Helleu
d01a98950a
doc: update auto-generated files with commands
2020-12-06 15:51:12 +01:00
Sébastien Helleu
ee25c74903
irc: fix completion of commands /halfop and /dehalfop
2020-12-06 15:48:55 +01:00
Sébastien Helleu
cd7947d8fc
irc: add missing parameter "-yes" in /help dehalfop
2020-12-06 15:47:52 +01:00
dotflac
4974c2f0a2
add -yes to output of /help voice
...
currently /help voice does not tell you that you need -yes if you are using *. i have changed it to match /help op, /help deop and /help devoice
2020-12-06 15:43:36 +01:00
Sébastien Helleu
33cdf3eb90
doc: add question about buflist customization
2020-12-06 15:13:55 +01:00
Sébastien Helleu
58a94df61d
core: update ChangeLog
2020-12-05 19:57:53 +01:00
Sébastien Helleu
08ebc99dea
Revert "exec: return NULL immediately if the task id is invalid"
...
This reverts commit dff1bf6f0f .
2020-12-05 19:57:24 +01:00
Sébastien Helleu
03f4afe65e
Revert "core: add extra compiler options to check overflow of destination buffer and output truncation"
...
This reverts commit 4ff4a64209 .
These compiler flags are not supported on old compiler version, for example on
Debian Stretch/Jessie and Ubuntu Xenial (16.04).
2020-11-29 11:05:38 +01:00
Tim Gates
08db4407ed
docs: fix simple typo, confiuration -> configuration
...
There is a small typo in src/core/weechat.c.
Should read `configuration` rather than `confiuration`.
2020-11-28 09:46:23 +01:00
Sébastien Helleu
4ff4a64209
core: add extra compiler options to check overflow of destination buffer and output truncation
2020-11-28 09:43:57 +01:00
Sébastien Helleu
21aef706cd
core: allocate dynamic string size for colors
2020-11-23 21:25:41 +01:00
Sébastien Helleu
345bdddf62
script: increase buffer size in function script_buffer_detail_label
...
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 15:00:19 +01:00
Sébastien Helleu
d1cad18f01
core: increase buffer size in function plugin_api_info_uptime_cb
...
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 14:59:06 +01:00
Sébastien Helleu
a8dd0e1337
core: increase buffer size in function gui_bar_item_time_cb
...
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 14:56:55 +01:00
Sébastien Helleu
070eb3f7b0
core: increase buffer size in HTTP proxy connection
...
In case of long address/username/password, the HTTP CONNECT message could be
truncated.
2020-11-21 21:13:13 +01:00
Sébastien Helleu
194f8b5b74
core: increase command buffer size in /color command
...
In case of long alias name, the command to set color alias could be truncated.
2020-11-21 21:13:05 +01:00
Sébastien Helleu
ee24fac586
spell: fix crash with IRC color codes in command line ( closes #1589 )
2020-11-20 21:50:05 +01:00
Sébastien Helleu
a2266e4e3f
core: add missing cast to unsigned char on first argument to function isdigit
2020-11-19 22:20:48 +01:00
Sébastien Helleu
214f4f66d9
doc: update German auto-generated file
2020-11-18 22:58:32 +01:00
Nils Görs
14e66962c8
core: update German translations
2020-11-18 09:44:17 +01:00
Sébastien Helleu
5cbda03fca
core: fix and normalize error messages
2020-11-17 21:54:24 +01:00
Sébastien Helleu
21eadc9488
core: display an error when the buffer is not found with command /command -buffer
2020-11-17 13:43:20 +01:00
Sébastien Helleu
6fda5a7e5f
core: remove option to open a blank issue
2020-11-16 22:58:17 +01:00
Sébastien Helleu
b9c8569422
trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings ( closes #1580 )
...
${tg_trigger_name} is replaced by the trigger name in these command strings:
- description
- arguments
- description of arguments
- completion
2020-11-14 09:32:24 +01:00
Sébastien Helleu
b626df72fb
core: add evaluation of conditions in evaluation of expressions with "eval_cond:" ( closes #1582 )
2020-11-14 09:28:46 +01:00
Sébastien Helleu
eb90a73fe8
spell: fix refresh of bar item "spell_suggest" when the input becomes empty ( closes #1586 )
...
When the input is empty, length of string is zero: when sending zero to
function weechat_string_dyn_alloc, the function returns NULL and therefore we
return immediately instead of handling the empty input, which is a valid value.
The regression was introduced by the use of dynamic strings, commit:
299f74bfef
2020-11-13 21:30:06 +01:00
Sébastien Helleu
4065d32e68
Version 3.1-dev
2020-11-11 09:30:24 +01:00
Sébastien Helleu
72936fd3be
Version 3.0
2020-11-11 08:46:53 +01:00
Sébastien Helleu
3da91d702e
debian: update changelog
2020-11-10 18:32:26 +01:00
Sébastien Helleu
43d9b3a723
Version 3.0-rc1
2020-11-01 10:09:17 +01:00
Nils Görs
5beb5d7052
doc: update German documentation
2020-10-30 12:55:53 +01:00
Sébastien Helleu
0ff08e54f5
trigger: add variable "tg_argc" in data set by command trigger ( closes #1576 )
2020-10-21 19:10:37 +02:00
Sébastien Helleu
30e48336f4
irc: remove SASL timeout message displayed by error after successful SASL authentication ( closes #1515 )
...
The SASL timer is removed immediately when the SASL authentication is
successful or has failed.
2020-10-18 09:35:04 +02:00
Sébastien Helleu
2807a8374b
doc: update German auto-generated file
2020-10-16 21:15:43 +02:00
Nils Görs
da934d9818
core: update German translations
2020-10-16 16:38:50 +02:00
Sébastien Helleu
939b16230c
script: allow command /script list when option script.scripts.download_enabled is set to off ( closes #1574 )
2020-10-15 20:38:43 +02:00
Trygve Aaberge
c3707bb6e1
doc: Update hotlist example to match hotlist_prefix
...
hotlist_prefix defaults to "H: ", so the example should show the same to
make it easier to understand what it is.
2020-10-15 13:46:27 +02:00
Sébastien Helleu
fa46a2fe2d
exec: add option "-oerr" to send stderr to buffer (now disabled by default) ( closes #1566 )
2020-10-11 16:33:50 +02:00
Sébastien Helleu
4d696d7cc8
exec: add missing option "-oc" in /help exec
2020-10-11 15:55:40 +02:00
Sébastien Helleu
c8f2ebcea3
core: add terminal and terminal multiplexer in GitHub issue template
2020-10-11 08:52:54 +02:00
Sébastien Helleu
72fdd689a2
core: update ChangeLog (issue #1567 )
2020-10-10 13:36:26 +02:00
Sébastien Helleu
2384dbe193
trigger: add a function to set variables common to all triggers (issue #1567 )
2020-10-10 13:32:36 +02:00
Sébastien Helleu
fd72226a71
doc: translate tg_trigger_name variable under triggers (issue #1567 )
2020-10-10 13:22:49 +02:00
Simmo Saan
765d2dd277
doc: add tg_trigger_name variable under triggers (issue #1567 )
2020-10-10 10:13:42 +03:00
Simmo Saan
8c87b7a1f0
trigger: add tg_trigger_name variable to all triggers ( closes #1567 )
2020-10-10 10:13:42 +03:00
Sébastien Helleu
07565a4aa6
doc: update German auto-generated file
2020-10-07 20:32:51 +02:00
Nils Görs
79f71a0e1a
core: update German translations
2020-10-05 12:22:21 +02:00
Sébastien Helleu
c016e7ea87
core: use apt-get option --no-install-recommends instead of modifying config file /etc/apt/apt.conf
2020-10-04 19:11:39 +02:00
Sébastien Helleu
bb82dbc0ec
tests: add missing braces around if/else in macro WEE_NICK_STRDUP_FOR_COLOR (issue #1565 )
2020-10-04 08:53:08 +02:00
Sébastien Helleu
f8403c76db
api: add optional list of colors in infos "nick_color" and "nick_color_name" ( closes #1565 )
2020-10-04 08:46:36 +02:00
Sébastien Helleu
657e659c42
core: add argument "num_colors" in function gui_nick_hash_color, add tests on nick functions (issue #1565 )
...
Functions tested:
- gui_nick_hash_djb2_64
- gui_nick_hash_djb2_32
- gui_nick_hash_sum_64
- gui_nick_hash_sum_32
- gui_nick_get_forced_color
- gui_nick_strdup_for_color
- gui_nick_find_color
- gui_nick_find_color_name
2020-10-04 08:46:25 +02:00
Sébastien Helleu
1c5e5824e7
tests: run callback when resetting options in tests
2020-10-03 14:40:59 +02:00
Sébastien Helleu
b32f561f77
irc: fix again typo in English plural form of "normal"
2020-09-12 18:49:42 +02:00
Sébastien Helleu
1745b78b57
irc: fix typo in English plural form of "normal" (normals -> normal)
2020-09-12 18:08:13 +02:00
Sébastien Helleu
7ce5dce8f9
doc: update German auto-generated file
2020-09-12 17:22:19 +02:00
Nils Görs
8544d9ef0b
core: update German translations
2020-09-08 13:15:31 +02:00
Sébastien Helleu
3c987f3a1c
script: add option script.scripts.download_enabled ( closes #1548 )
2020-09-06 19:15:15 +02:00
Sébastien Helleu
9ccf62979f
script: do not automatically download list of scripts on startup if the file is too old ( closes #1548 )
...
The repository file is downloaded anyway if too old on any /script action.
2020-09-02 19:22:56 +02:00
Sébastien Helleu
579af1b265
tests: fix compilation with CppUTest ≥ 4.0
...
MemoryLeakWarningPlugin::turnOnNewDeleteOverloads is replaced by
MemoryLeakWarningPlugin::turnOnThreadSafeNewDeleteOverloads, which is available
in both CppUTest 3.x and 4.0.
2020-08-29 10:18:50 +02:00
Sébastien Helleu
54b7c88553
spell: also skip IRC color attributes codes when checking words in input (issue #1547 )
2020-08-28 18:32:50 +02:00
Sébastien Helleu
aac14f28dd
irc: add comments in functions irc_color_decode and irc_color_encode
2020-08-25 19:37:47 +02:00
Sébastien Helleu
e25c364790
spell: skip IRC color codes when checking words in input ( closes #1547 )
2020-08-25 19:37:42 +02:00
Sébastien Helleu
299f74bfef
spell: use dynamic string functions to return modified string
2020-08-24 22:12:45 +02:00
Sébastien Helleu
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +02:00
Sébastien Helleu
b459dab84b
spell: properly skip WeeChat color codes when checking words in input ( closes #1547 )
2020-08-22 08:56:21 +02:00
Sébastien Helleu
268aa631c6
api: add function string_color_code_size (issue #1547 )
2020-08-22 08:55:16 +02:00
Sébastien Helleu
7dd5abd625
fset: fix refresh of option values in fset buffer (issue #1553 )
2020-08-20 20:31:07 +02:00
Sébastien Helleu
d53fb92a30
irc: replace calls to malloc by calloc
...
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
2020-08-17 20:06:17 +02:00
Sébastien Helleu
fbc2438c1c
core: replace calls to malloc by calloc
...
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
2020-08-17 19:57:10 +02:00
Sébastien Helleu
fca5a4b42c
core: set notify_level to 3 if highlight is forced in gui_line_hook_update (only if tag "notify_none" is not in the line) (issue #1529 )
2020-08-16 12:40:41 +02:00
Sébastien Helleu
330d7d50d2
core: set notify_level to 3 in case of highlight in gui_line_hook_update only if tag "notify_none" is not in the line (issue #1529 )
2020-08-16 12:40:01 +02:00
Sébastien Helleu
786072806b
core: set notify_level to 3 in case of highlight only if tag "notify_none" is not in the line (issue #1529 )
2020-08-16 08:27:00 +02:00
Sébastien Helleu
d15db0ecbb
core: set "notify_level" to 3 if there is a highlight in the line ( closes #1529 )
2020-08-15 14:02:40 +02:00
Sébastien Helleu
45ce1d7604
doc: update German auto-generated file
2020-08-13 08:38:45 +02:00
Nils Görs
0e1a59cbef
core: update German translations
2020-08-11 18:47:46 +02:00
Sébastien Helleu
1054cdf1e9
fset: add option fset.look.auto_refresh ( closes #1553 )
2020-08-09 10:56:03 +02:00
Sébastien Helleu
0cc5df6649
irc: send all channels in a single JOIN command when reconnecting to the server ( closes #1551 )
2020-08-05 20:05:36 +02:00
Sébastien Helleu
36c55f6973
tests: fix name of some unit tests
2020-08-05 07:28:30 +02:00
Sébastien Helleu
00c34b0ba8
core: replace "unit" by module for changes in unit tests
2020-08-05 07:22:38 +02:00
Sébastien Helleu
8cf56dfdf9
tests: add tests on GUI line functions
...
Functions tested:
- gui_line_lines_alloc
- gui_line_lines_free
- gui_line_tags_alloc
- gui_line_tags_free
- gui_line_is_displayed
- gui_line_has_tag_no_filter
- gui_line_search_tag_starting_with
- gui_line_get_nick_tag
2020-08-04 23:42:20 +02:00
Sébastien Helleu
0ab44c02a4
core: check that line is not NULL in functions gui_line_is_displayed and gui_line_get_nick_tag
2020-08-04 23:12:18 +02:00
Sébastien Helleu
6704825d7b
core: check that line_data is not NULL in functions gui_line_tags_alloc and gui_line_has_tag_no_filter
2020-08-04 22:56:02 +02:00
Sébastien Helleu
ec898732a1
core: rename functions to allocate/free lines
2020-08-04 22:42:59 +02:00
Sébastien Helleu
9262720a65
doc: add instructions to build WeeChat with address sanitizer (user's guide)
2020-08-01 09:53:47 +02:00
Sébastien Helleu
26085575d5
core: disable debug by default in autotools build
2020-08-01 01:41:40 +02:00
Sébastien Helleu
7412f5815c
trigger: fix recursive calls to triggers using regex ( closes #1546 )
2020-07-31 20:50:33 +02:00
Sébastien Helleu
00e25af470
doc: update German auto-generated file
2020-07-21 18:28:38 +02:00
Nils Görs
6fc40fb8d4
core: update German translations
2020-07-21 11:36:35 +02:00
Sébastien Helleu
3e6c8b6a88
core: update ChangeLog (issue #1535 , issue #1538 )
2020-07-21 08:29:03 +02:00
Sébastien Helleu
c002c5f77f
doc: add "irc_nick" in hashtable sent to hook_focus callback (plugin API reference) (issue #1538 )
2020-07-21 08:28:01 +02:00
Simmo Saan
b69e47d0a2
irc: add pointer "irc_nick" in hashtable sent to hook focus callback ( closes #1535 )
2020-07-21 08:18:43 +02:00
Sébastien Helleu
84e30438d4
irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
2020-07-20 22:39:28 +02:00
Sébastien Helleu
ee3a4a1fc0
irc: evaluate command executed by commands /allchan, /allpv and /allserv ( closes #1536 )
...
The extra variables are now replaced (in addition to `$server`, `$channel` and
`$nick`):
- `${irc_server.xxx}`: variable xxx in server
- `${irc_channel.xxx}`: variable xxx in channel
2020-07-20 22:20:22 +02:00
Sébastien Helleu
5bf571c60f
doc: improve description of tags "notify_xxx" in chapter on lines tags (user's guide) (issue #1529 )
2020-07-20 21:48:20 +02:00
Sébastien Helleu
e0e905ca7f
trigger: check that tag "notify_none" is not present in message to run command of default trigger beep (issue #1529 )
2020-07-20 21:08:59 +02:00
Sébastien Helleu
2b16036f08
core: do not add line with highlight and tag "notify_none" to hotlist ( closes #1529 )
2020-07-20 09:26:36 +02:00
Sébastien Helleu
9ef793fd65
Version 3.0-dev
2020-07-18 14:27:37 +02:00