summaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)Author
2022-07-27xfer: fix crash when closing DCC chat bufferSébastien Helleu
2022-07-24relay: exit function relay_irc_recv if params can not be allocatedSébastien Helleu
2022-07-21irc: fix display of TOPIC message with an empty trailing parameterSébastien Helleu
2022-07-21irc: fix display of QUIT message with an empty trailing parameter (closes #1797)Sébastien Helleu
The regression was introduced with the new way to parse IRC message parameters, in version 3.4.
2022-07-21relay: fix parsing of IRC messages received from clients (closes #1796)Sébastien Helleu
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-20irc: use API function string_rebuild_split_string in irc_protocol_string_paramsSébastien Helleu
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-16irc: fix duplicated channels in autojoin option when autojoin_dynamic is ↵Sébastien Helleu
enabled (closes #1795)
2022-07-10api: add info "uptime_current"Sébastien Helleu
This info returns time duration between the start of the current WeeChat process and now (so upgrades with /upgrade are ignored).
2022-07-02irc: remove unneeded translation marker (issue #1772)Sébastien Helleu
2022-07-02irc: start at parameter #2 in callback of messages 524/704/705/706 (issue #1772)Sébastien Helleu
2022-07-02irc: fix comments (issue #1772)Sébastien Helleu
2022-07-02irc: add ERR_HELPNOTFOUND (issue #1772)Valentin Lorentz
2022-07-02irc: strip topic name when formatting ↵Valentin Lorentz
RPL_HELPSTART/RPL_HELPTXT/RPL_ENDOFHELP (issue #1772)
2022-06-30php: fix compilation warning about unused argumentsSébastien Helleu
2022-06-30php: Deprecate `forget_*` functions in PHP 8+Adam Saponara
These functions don't work with PHP 8+ and also don't seem to be necessary anymore when reloading scripts.
2022-06-30php: Add stubs and generate arginfo for PHP APIAdam Saponara
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-30php: Adjust API for PHP 8.2Adam Saponara
2022-06-25irc: update URLs to IRCv3 specificationsSébastien Helleu
2022-06-18core: add trailing slashes in URLsSébastien Helleu
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-27trigger: fix completion of command `/trigger add` when there are spaces in ↵Sébastien Helleu
the following arguments
2022-05-27trigger: fix memory leak in command `/trigger addinput`Sé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-23trigger: check that buffer notify is not "none" to run command of default ↵Sébastien Helleu
trigger beep
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-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-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-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