summaryrefslogtreecommitdiff
path: root/src/plugins/perl
AgeCommit message (Collapse)Author
2022-08-07core: add option `-save` in command `/upgrade` (closes #1630)Sébastien Helleu
2022-08-01scripts: fix issue with year ≥ 2038 in functions print_date_tags and ↵Sébastien Helleu
print_y_date_tags Affected plugins: python, lua, tcl, guile, javascript.
2022-08-01scripts: fix issue with year ≥ 2038 in function infolist_new_var_timeSébastien Helleu
Affected plugins: python, lua, tcl, guile, javascript.
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-04-24api: allow to catch multiple signals in functions hook_signal and ↵Sébastien Helleu
hook_hsignal (closes #1780)
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-02-20scripts: auto-load scripts with supported extensions only (closes #1698)Sé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-17core: update copyright datesSébastien Helleu
2021-11-06api: add parameters pointers, extra_vars and options in function hdata_searchSébastien Helleu
2021-10-02plugins: use a different plugin priority for each scripting languageSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-08-23api: add argument "bytes" in function string_dyn_concatSébastien Helleu
2020-08-22api: add function string_color_code_size (issue #1547)Sébastien Helleu
2020-06-21core: add bar option "color_bg_inactive" (issue #732)Sébastien Helleu
2020-05-08core: rename functions hook_completion_{get_string|list_add} to ↵Sébastien Helleu
completion_{get_string|list_add} Old functions are kept for compatibility reasons.
2020-04-28api: return integer in function gui_completion_search (issue #1484)Sébastien Helleu
2020-04-27api: add functions completion_new, completion_search and completion_free ↵Sébastien Helleu
(issue #1484)
2020-01-04core: update copyright datesSébastien Helleu
2019-10-01core: fix style in CMake filesSébastien Helleu
2019-04-25cmake: allow custom libdir (fix #1341)Ryan Farley
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR used to be set).
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-03-24core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage ↵Sébastien Helleu
options This option is OFF by default and should be enabled only for tests, to measure test coverage.
2019-02-28api: add function command_options (issue #928)Sébastien Helleu
2019-02-27api: add function string_match_listSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-18core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272)Sébastien Helleu
2018-08-12api: add function hook_lineSébastien Helleu
2018-07-25scripts: fix duplicated lines in output of script eval (python, perl, ruby, ↵Sébastien Helleu
lua and guile) When there was a call to a hook callback during the eval, the output buffer was cleared too late, and displayed multiple times in the buffer. This commit clears the buffer even before we display it (this display can trigger a hook callback).
2018-04-13scripts: fix memory leak in hook_info callbackSébastien Helleu
2018-04-12scripts: fix return value of hook_infolist callback (pointer instead of string)Sébastien Helleu
2018-04-10scripts: return long integer instead of string in function infolist_timeSébastien Helleu
2018-04-10scripts: do not allocate memory when converting pointers to stringsSébastien Helleu
2018-04-07api: add function string_format_size in scripting APISébastien Helleu
2018-03-17scripts: hide message when the eval script is unloadedSébastien Helleu
Related to commit 8fbbe8b0d509df26ff86ca8cd7fe4b2205c6d15e.
2018-02-19scripts: display the script name in stdout/stderr output from scriptsSébastien Helleu
2018-01-15scripts: add option "eval_keep_context" in script pluginsSébastien Helleu
2018-01-15scripts: add configuration file for each script pluginSébastien Helleu
2018-01-07core: fix some stylesSébastien Helleu
2018-01-06core: update translations (issue #128)Sébastien Helleu
2018-01-06perl: do not update message argument in function weechat_perl_output (issue ↵Sébastien Helleu
#128)
2018-01-06scripts: add "eval" option in script commands and info "xxx_eval" (issue #128)Sébastien Helleu
For now this works only in python, perl, ruby and guile.
2018-01-05core: update copyright datesSébastien Helleu
2017-12-23scripts: add option "version" in script commands (closes #1075)Sébastien Helleu
2017-09-23core, plugins: check return code of strftime functionSébastien Helleu
2017-08-13api: change type of arguments status/gnutls_rc/sock in hook_connect() ↵Sébastien Helleu
callback from string to integer (in scripts)
2017-08-13api: send file descriptor as integer instead of string to the callback of ↵Sébastien Helleu
hook_fd