summaryrefslogtreecommitdiff
path: root/doc/fr/weechat_scripting.fr.adoc
AgeCommit message (Collapse)Author
2022-12-11scripts: Send null values to config section callbacksTrygve Aaberge
The callback_read and callback_create_option functions in the scripting APIs always get the value as a string, never as null. This means that if the value is null, there is no way for the script to distinguish this from an empty string for string options. This makes it impossible to properly make options with fallback values, like the irc server and server_default options, as far as I can see. All the scripting languages except Tcl use that language's equivalent for null. For JavaScript which has both null and undefined, null is used. For Tcl, the magic null string defined in commit 197a7a01e is used and the documentation is updated to describe that. I tested this with these scripts: https://gist.github.com/trygveaa/2d49c609addf9773d2ed16e15d1e3447 You can load all of those scripts and see the result with this command (assuming you have the scripts in the current directory): weechat -t -r "/filter add script * * script; /script load $(echo script_config.*)"
2022-10-19doc: fix language in links to other docsSébastien Helleu
2022-10-15python: remove support of Python 2.xSébastien Helleu
2022-09-27api: add function string_parse_sizeSébastien Helleu
2022-07-22doc: use non-breaking spaces before links to notesSébastien Helleu
2022-07-22doc/scripting: add missing fields "paramN" and "num_params" in output of ↵Sébastien Helleu
"irc_message_parse" These new fields were added in version 3.4 with major improvements of the IRC message parser.
2022-06-27doc/scripting: 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-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-12dev/scripting: fix typoSébastien Helleu
2022-03-12doc/scripting: translate note about Tcl constant $::weechat::WEECHAT_NULLSébastien Helleu
2022-02-21doc/scripting: fix column size in tablesSé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-16doc: add example of hook_process with a script function (scripting guide)Sé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-05-25doc: replace freenode by libera in scripting guideSébastien Helleu
2021-05-14doc: add missing names for anchors in scripting guideSébastien Helleu
2021-05-14doc: add link to Python stub in scripting guide (issue #1377)Sébastien Helleu
2021-05-13doc: add type annotations in Python prototype (scripting guide) (issue #1377)Sébastien Helleu
2021-05-13doc: add types of constants in scripting guide (issue #1377)Sébastien Helleu
2021-05-11doc: add XDG directories support in docs (issue #1285)Sébastien Helleu
2021-04-11doc: improve display of WeeChat version in info_hashtable ↵Sébastien Helleu
"irc_message_parse" (scripting guide)
2020-12-19core: add options "setvar" and "delvar" in command /buffer, rename option ↵Sébastien Helleu
"localvar" to "listvar" The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still recognized by WeeChat, to stay compatible with any extension/script calling it (or referencing it in the documentation). It is deprecated and will be removed in a future release.
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-27doc: mention callback argument "callback_pointer" in differences with C API ↵Sébastien Helleu
(scripting guide)
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-27api: add functions completion_new, completion_search and completion_free ↵Sébastien Helleu
(issue #1484)
2020-04-25doc: protect monospace text with plus characters (scripting guide)Sébastien Helleu
2020-04-18doc: fix table sizes on small screensSébastien Helleu
2019-10-12python: send "bytes" instead of "str" to callbacks in Python 3 when the ↵Sébastien Helleu
string is not UTF-8 valid (issue #1220, closes #1389)
2019-09-27irc: add "user" in output of irc_message_parse (closes #136)Sébastien Helleu
2019-05-24doc: remove extra space in python dict (scripting guide)Sébastien Helleu
2019-05-12doc: fix typo in French scripting guideSébastien Helleu
2019-05-12doc: add chapter about WeeChat architecture in scripting guideSébastien Helleu
2019-02-28api: add function command_options (issue #928)Sébastien Helleu
2019-02-27api: add function string_match_listSébastien Helleu
2018-08-12api: add function hook_lineSébastien Helleu
2018-04-07api: add function string_format_size in scripting APISébastien Helleu
2017-09-23doc: fix note about function "print" in scripting guideSébastien Helleu
2017-09-23core: fix typo: Javascript -> JavaScriptSébastien Helleu
2017-09-09doc: fix PHP examples in scripting guideSébastien Helleu
2017-09-03doc: add PHP plugin in scripting guideSébastien Helleu
2017-08-24doc: add non-breaking spaces in French docsSébastien Helleu
2017-08-21doc: add links to other docs in scripting guideSébastien Helleu
2017-06-11doc: add missing API functions in scripting guideSébastien Helleu
2017-06-03doc: use WeeChat IRC message parsing function in IRC hook example (scripting ↵Sébastien Helleu
guide)
2016-12-04doc: fix French translation of "callback"Sébastien Helleu