summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2022-11-21core: add option `unicode` in command `/debug`Sébastien Helleu
2022-11-20core: reorder sub-commands in /debug command callbackSébastien Helleu
2022-11-11core: add identifier in buffer lines (closes #901)Sébastien Helleu
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-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-12core: allow command `/toggle` to create option before setting the value, if ↵Sébastien Helleu
allowed in the section (closes #1837)
2022-10-08core: fix compilation warning on isdigit functionSébastien Helleu
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-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-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-16api: add support of priority in function hook_line (closes #1821)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-16api: add function crypto_hash_fileSébastien Helleu
2022-08-07core: add option `-save` in command `/upgrade` (closes #1630)Sébastien Helleu
2022-07-24core: remove dead assignmentsSébastien Helleu
2022-07-24core: add option weechat.look.highlight_disable_regex and buffer property ↵Sébastien Helleu
"highlight_disable_regex" (closes #1798)
2022-07-20api: add arguments "index_start" and "index_end" in function ↵Sébastien Helleu
string_rebuild_split_string
2022-07-20api: rename function string_build_with_split_string to ↵Sébastien Helleu
string_rebuild_split_string
2022-07-02api: run hook_print callback also on empty messagesSébastien Helleu
2022-06-18core: add trailing slashes in URLsSébastien Helleu
2022-05-27core: add completion of conditions and content in commands `/item add` and ↵Sébastien Helleu
`/item addreplace` (issue #808)
2022-05-27core: add examples in /help item (issue #808)Sébastien Helleu
2022-05-27core: add display conditions in custom bar items (issue #808)Sébastien Helleu
2022-05-27core: add command /item (closes #808)Sébastien Helleu
This allows to create custom bar items with evaluated content (like the script text_item.py does).
2022-05-11core: allow to remove multiple filters at once with command /filter delSébastien Helleu
2022-04-24api: allow to catch multiple signals in functions hook_signal and ↵Sébastien Helleu
hook_hsignal (closes #1780)
2022-04-24core: move detailed list of hooks from command "/plugin listfull" to "/debug ↵Sébastien Helleu
hooks <plugin>"
2022-04-24core: add functions to get short description of hooksSébastien Helleu
2022-04-23core: add missing options "dirs" and "hooks" in description of /debug ↵Sébastien Helleu
command arguments
2022-04-18core: add case conversion in evaluation of expressions (closes #1778)Sébastien Helleu
2022-03-13core: set again TLS verification functions after GnuTLS options are changed ↵Sébastien Helleu
(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-13core: add function gui_buffer_new_props (issue #1759)Sébastien Helleu
This function allows to create a buffer and set properties via a hashtable, before the signal "buffer_opened" is sent.
2022-02-19core: replace calls to strndup by string_strndupSébastien Helleu
2022-02-19core: call strdup in string_strndup if bytes equals strlen of stringSébastien Helleu
2022-01-30core: add support of date and tags in messages displayed in buffers with ↵Sébastien Helleu
free content, add function printf_y_date_tags (closes #1746)
2022-01-23Remove old and unused config option weechat.plugin.debugTrygve Aaberge
As far as I can see, this option is not used anywhere and should have been removed in commit 6e69f7f3c.
2022-01-17core: update copyright datesSébastien Helleu
2022-01-15api: fix add of infolist items in hashtable when prefix contains UTF-8 chars ↵Sébastien Helleu
in function hashtable_add_from_infolist (issue #1739)
2022-01-15core: fix search of commands with UTF-8 chars in name when option ↵Sébastien Helleu
weechat.look.command_incomplete is on (issue #1739)
2022-01-14core: rename argument "length" to "bytes" in function string_strndupSébastien Helleu
2021-12-24relay: add zstd compression in weechat protocolSébastien Helleu
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-03core: fix typo in weechat --helpSébastien Helleu
2021-11-13core: speed up eval by storing length of prefix/suffix in eval structureSébastien Helleu
2021-11-13core: free strings with XDG directories in case of errorSébastien Helleu
2021-11-13core: fix memory leak in evaluated expression "split:number,seps,flags,xxx" ↵Sébastien Helleu
when multiple "strip_items" are given