Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-11 | scripts: Send null values to config section callbacks | Trygve 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-15 | python: remove support of Python 2.x | Sébastien Helleu | |
2022-09-27 | api: add function string_parse_size | Sébastien Helleu | |
2022-09-11 | core: Update Serbian translation | Ivan Pešić | |
Includes documentation update. | |||
2022-07-22 | doc: use non-breaking spaces before links to notes | Sébastien Helleu | |
2022-07-22 | doc/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-07-05 | core/doc: Update Serbian translation | Ivan Pešić | |
2022-06-27 | doc/scripting: add arrow and open external links in new tab | Sébastien Helleu | |
2022-06-23 | doc: change formatting in asciidoctor tables | Sébastien Helleu | |
2022-06-18 | doc: add trailing slashes in URLs | Sébastien Helleu | |
2022-03-23 | doc: use unicode symbol for greater-than or equal to | Sébastien Helleu | |
2022-03-22 | doc: update Serbian translations | Ivan Pešić | |
2022-03-13 | api: add function buffer_new_props (closes #1759) | Sébastien Helleu | |
2022-03-12 | dev/scripting: fix typo | Sébastien Helleu | |
2022-03-12 | doc/scripting: translate note about Tcl constant $::weechat::WEECHAT_NULL | Sébastien Helleu | |
2022-03-07 | doc: fix syntax highlighting in Serbian docs | Sébastien Helleu | |
2022-02-21 | doc/scripting: fix column size in tables | Sébastien Helleu | |
2022-01-30 | core: 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-21 | doc: Update Serbian translation | Ivan Pešić | |
2022-01-16 | doc: add example of hook_process with a script function (scripting guide) | Sébastien Helleu | |
2021-09-04 | core: update Serbian translations | Ivan Pešić | |
2021-06-27 | doc: update Serbian translations | Ivan Pešić | |
2021-06-24 | irc: 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-13 | doc: add Serbian translations | eevan78 | |