summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-11-06trigger: use explicit command "s" in regex of default triggersSébastien Helleu
2022-11-06trigger: add regex command "y" to translate chars, set default regex command ↵Sébastien Helleu
to "s" (regex replace) (closes #1510)
2022-11-05core: add range of chars in evaluation of expressions with `chars:xxx`Sébastien Helleu
2022-11-05api: add function string_translate_charsSébastien Helleu
2022-10-23core: Prevent use of uninitialized memory when setting invalid colorTrygve Aaberge
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-20trigger: execute trigger command on appropriate buffer (closes #1841)Sébastien Helleu
This affects the following hook types: - command - command_run - line - modifier - print This fixes a regression introduced in WeeChat 3.7 by commit 0f67f55098db564c82c848262540704985790129.
2022-10-16python: remove functions defined for Python < 2.6Sébastien Helleu
2022-10-15python: remove support of Python 2.xSébastien Helleu
2022-10-15api: do not expect any return value in callbacks change/delete of ↵Sébastien Helleu
config_new_option (scripting API)
2022-10-14python: Fix return types for config option callbacksTrygve Aaberge
I erroneously typed the return types for these to int in commit e0c117e14, but they should be None.
2022-10-14Allow terminal title to be left unchanged.Latchezar Tzvetkoff
Fixes #1835.
2022-10-12irc: escape backslashes in raw buffer (closes #1838)Sébastien Helleu
2022-10-12core: allow command `/toggle` to create option before setting the value, if ↵Sébastien Helleu
allowed in the section (closes #1837)
2022-10-10core: fix context info in buffers with free content (closes #1832)Sébastien Helleu
2022-10-09python: Include script examples in function docstringTrygve Aaberge
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-08core: fix compilation warning on isdigit functionSébastien Helleu
2022-10-08xfer: add missing include of netinet/in.hSébastien Helleu
This fixes compilation on FreeBSD 13.0.
2022-10-05core: fix page scroll in bare display (closes #1830)Sébastien Helleu
2022-10-02python: Include constant values in python stubTrygve Aaberge
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-01irc: set local variable "filter" when doing `/server raw xxx` with raw ↵Sébastien Helleu
buffer already opened (closes #1448)
2022-09-30trigger: add variable `${tg_hook_type}` (closes #1765)Sébastien Helleu
2022-09-29api: change type of argument object_id in upgrade_new callback from string ↵Sébastien Helleu
to integer (in scripts)
2022-09-29api: change type of argument remaining_calls in hook_timer callback from ↵Sébastien Helleu
string to integer (in scripts)
2022-09-29core: fix compilation with zstd < 1.4.0Sébastien Helleu
Note: zstd ≥ 0.8.1 is now required to compile WeeChat.
2022-09-29php: add missing arginfo_weechat_string_parse_size in legacy arginfoSébastien Helleu
2022-09-28logger: add options to rotate and compress log files (closes #314)Sébastien Helleu
New options: - logger.file.rotation_compression_level - logger.file.rotation_compression_type - logger.file.rotation_size_max
2022-09-27api: add function file_compressSébastien Helleu
2022-09-27api: restrict number to integer in function string_parse_sizeSébastien Helleu
2022-09-27api: add function string_parse_sizeSébastien Helleu
2022-09-26irc: fix use of uninitialized variable `ptr_nick`Sébastien Helleu
2022-09-18core: add key alt+backspace, change behavior of key ctrl+w (closes #559)Sébastien Helleu
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-18trigger: escape arguments with double quotes in output of `/trigger ↵Sébastien Helleu
input|output|recreate` (closes #190)
2022-09-17tests: add tests on filter functionsSébastien Helleu
2022-09-17core: fix order of filters after renaming a filter (issue #1695)Sébastien Helleu
2022-09-17irc: fix message when disconnecting from server in case of high lag when ↵Sébastien Helleu
server option autoreconnect is off (closes #1708)
2022-09-17core: fix wrong terminal title on terminal resize (closes #1702)Sébastien Helleu
2022-09-17core: sort filters by name (closes #1695)Sébastien Helleu
2022-09-17spell: allow special dict value "-" to disable spell checking on a specific ↵Sébastien Helleu
buffer (closes #1699)
2022-09-16api: add support of priority in function hook_line (closes #1821)Sébastien Helleu
2022-09-15irc: add option irc.look.display_pv_nick_changeSébastien Helleu
2022-09-10irc: replace chars "\01" by spaces in CTCP replies (closes #1819)Sébastien Helleu
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-09xfer: use larger buffer for IP addressSébastien Helleu
This removes a gcc warning about a too small buffer.
2022-09-05irc: fix display of message 350 (whois, gateway) (closes #1815)Sébastien Helleu
2022-09-03core: remove debug printSébastien Helleu
2022-09-03xfer: fix DCC file receive on Termux (closes #1811)Sébastien Helleu
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-08-31core: rename argument "length" to "bytes" in function string_strndup (header ↵Sébastien Helleu
files) Argument was already renamed in commit f8915129bf2656623168c9f17846ac29759c13ef but it was incomplete (missing header files).
2022-08-29irc: fix target buffer of generic errors when they contain a target nick ↵Sébastien Helleu
(closes #1814)
2022-08-16script: use API function weechat_crypto_hash_file in script_repo_sha512sum_fileSébastien Helleu
2022-08-16api: add function crypto_hash_fileSébastien Helleu
2022-08-15irc: fix extract of isupport value when it is last in list and without value ↵Sébastien Helleu
(closes #1807)