summaryrefslogtreecommitdiff
path: root/doc/en/weechat_plugin_api.en.adoc
AgeCommit message (Collapse)Author
2022-07-24core: add option weechat.look.highlight_disable_regex and buffer property ↵Sébastien Helleu
"highlight_disable_regex" (closes #1798)
2022-07-22doc: use non-breaking spaces before links to notesSé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-06-26doc/api: add arrow and open external links in new tabSébastien Helleu
2022-06-23doc: change formatting in asciidoctor tablesSébastien Helleu
2022-06-18doc: add trailing slashes in URLsSébastien Helleu
2022-04-24api: allow to catch multiple signals in functions hook_signal and ↵Sébastien Helleu
hook_hsignal (closes #1780)
2022-04-24doc/api: remove word "and" in text with updated versionsSébastien Helleu
2022-04-18core: add case conversion in evaluation of expressions (closes #1778)Sébastien Helleu
2022-03-23doc: use unicode symbol for greater-than or equal toSé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-02-20doc/api: Add missing parameter to python prototype for config_new_sectionTrygve Aaberge
2022-02-14doc/api: add missing type for argument "count" in Python prototype of ↵Sébastien Helleu
function ngettext
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-30doc/api: fix type of parameter "date" in script prototype of function ↵Sébastien Helleu
prnt_date_tags
2022-01-27doc/api: merge examples and results in same column (function ↵Sébastien Helleu
string_eval_expression)
2022-01-27doc/api: add column "Min WeeChat" in string_eval_expression tablesSébastien Helleu
2022-01-16doc: remove useless comparison with empty string in Python examples (plugin ↵Sébastien Helleu
API reference)
2022-01-14core: rename argument "length" to "bytes" in function string_strndupSébastien Helleu
2022-01-08doc: add missing macro WEECHAT_PLUGIN_AUTHOR (plugin API reference)Sébastien Helleu
2021-11-27doc: switch from prettify to pygments for syntax highlightingSébastien Helleu
2021-11-06doc: replace ${name} by ${server_name} in example of function hdata_search ↵Sébastien Helleu
(plugin API reference)
2021-11-06api: add parameters pointers, extra_vars and options in function hdata_searchSébastien Helleu
2021-11-04core: fix access to integer/long/time arrays in hdata, add support of static ↵Sébastien Helleu
arrays in hdata
2021-10-17irc: parse and return command parameters in message parserSébastien Helleu
2021-09-20core: add creation of user variables in evaluated expressions with ↵Sébastien Helleu
${define:name,value}
2021-09-06api: add split of string and shell arguments in evaluation of expressionsSébastien Helleu
Split of string: ${split:number,separators,flags,xxx} Split of shell arguments: ${split_shell:number,xxx}
2021-08-29api: add "${re:repl_index}" to get the index of replacement in function ↵Sébastien Helleu
string_eval_expression
2021-08-03api: add random integer number in evaluation of expressions with ↵Sébastien Helleu
"random:min,max"
2021-07-04api: add function string_cutSébastien Helleu
2021-07-04doc: add column for min WeeChat version in function buffer_set (plugin API ↵Sébastien Helleu
reference)
2021-07-04doc: add column for min WeeChat version in function hook_set (plugin API ↵Sébastien Helleu
reference)
2021-07-04doc: add column for min WeeChat version in function hook_modifier_exec ↵Sébastien Helleu
(plugin API reference)
2021-07-04doc: add column for min WeeChat version in function hook_modifier (plugin ↵Sébastien Helleu
API reference)
2021-07-04doc: add column for min WeeChat version in function hook_hsignal (plugin API ↵Sébastien Helleu
reference)
2021-07-04doc: add column for min WeeChat version in function hook_process_hashtable ↵Sébastien Helleu
(plugin API reference)
2021-07-04doc: add typing signals in plugin API referenceSébastien Helleu
2021-07-03api: add function file_copy (issue #1667)Sébastien Helleu
2021-06-27doc: mention WeeChat version for WEECHAT_RC_OK_EAT in signals "irc_raw_in" ↵Sébastien Helleu
and "irc_in" (plugin API reference) (issue #1657)
2021-06-27irc: allow signals "irc_raw_in" and "irc_in" to eat messages (issue #1657)Simon Ser
This is useful to implement IRC protocol extensions which introduce new commands.
2021-06-26api: remember insertion order in hashtablesSébastien Helleu
2021-06-24irc: add keys/values with tags in output of irc_message_parse_to_hashtable ↵Sébastien Helleu
(issue #1654) Key is "tag_xxx" (where "xxx" is the name of tag) and value is the unescaped tag value.
2021-06-24irc: escape/unescape IRC message tags values (issue #1654)Sébastien Helleu
Spec: https://ircv3.net/specs/extensions/message-tags#escaping-values
2021-06-01api: add function crypto_hmac (issue #1628)Sébastien Helleu
2021-05-26Typo fixFilip H.F. "FiXato" Slagter
Zomming -> Zooming
2021-05-26core: add signals "cursor_start" and "cursor_end"Sébastien Helleu
2021-05-25doc: replace freenode by libera in plugin API referenceSébastien Helleu
2021-05-16api: add translated string in evaluation of expressions with "translate:xxx" ↵Sébastien Helleu
(issue #1622)