summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-06-18doc: add trailing slashes in URLsSébastien Helleu
2022-06-17irc: add example with `/allchan` in `/help autojoin`Sébastien Helleu
2022-06-15irc: rename option `save` to `apply` in command `/autojoin`Sé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-27trigger: fix completion of command `/trigger add` when there are spaces in ↵Sébastien Helleu
the following arguments
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-27trigger: fix memory leak in command `/trigger addinput`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-24irc: remove channel from autojoin option when manually closing a bufferSébastien Helleu
2022-04-24irc: fix add of channel to autojoin option when joining a channel with a ↵Sébastien Helleu
buffer still opened
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-23trigger: check that buffer notify is not "none" to run command of default ↵Sébastien Helleu
trigger beep
2022-04-18core: add case conversion in evaluation of expressions (closes #1778)Sébastien Helleu
2022-04-18core: add bar item "spacer"Sébastien Helleu
2022-04-17core: use dynamic string functions to build bar window contentSébastien Helleu
2022-04-16buflist: fix memory leak when reading config and changing option ↵Sébastien Helleu
buflist.look.sort
2022-03-30relay: fix save of channels when JOIN/PART are received from an IRC relay ↵Sébastien Helleu
client (closes #1771)
2022-03-27core: fix bad window size on startup with some terminals like kitty (closes ↵Sébastien Helleu
#1769)
2022-03-19irc: fix memory leak in command /autojoin addraw when channels are missingSébastien Helleu
2022-03-19irc: ensure old_autojoin and ptr_autojoin are not NULL before comparing themSébastien Helleu
2022-03-17core: Fix regex for constants in the Python stub generatorTrygve Aaberge
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-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-13python: add function buffer_new_props in Python stub fileSébastien Helleu
2022-03-13api: add function buffer_new_props (closes #1759)Sébastien Helleu
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-03-12scripts: allow null values in config_new_optionTrygve Aaberge
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-11irc: add option "sort" in command /autojoinSébastien Helleu
2022-03-10irc: update translationsSébastien Helleu
2022-03-10irc: display only one message in /autojoin command outputSébastien Helleu
2022-03-10irc: fix add of same channel with and without key in the array listSébastien Helleu
2022-03-10irc: rename server option "autojoin_record" to "autojoin_dynamic"Sébastien Helleu
2022-03-10irc: add command /autojoinSébastien Helleu
2022-03-10irc: add server option "autojoin_record"Sébastien Helleu
2022-03-06guile: remove disabling of guile gmp allocator with Guile ≥ 3.0.8Sébastien Helleu
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-02-28irc: fix display of message 901 (you are now logged out) (closes #1758)Sébastien Helleu
2022-02-21logger: split function logger_backlog into two functionsSébastien Helleu
2022-02-20doc/api: Add missing parameter to python prototype for config_new_sectionTrygve Aaberge
2022-02-20scripts: auto-load scripts with supported extensions only (closes #1698)Sébastien Helleu
2022-02-19irc: replace calls to strndup by weechat_strndupSébastien Helleu
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-02-14doc/api: add missing type for argument "count" in Python prototype of ↵Sébastien Helleu
function ngettext
2022-02-10irc: fix parsing of message 223 (m_filter) sent by InspIRCd server (closes ↵Sébastien Helleu
#1751)
2022-01-30core: search in message tags when tags are displayed with /debug tagsSé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)