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-12-10 | core: add color attributes "blink" and "dim" (half bright) (closes #1855) | Sébastien Helleu | |
2022-12-10 | core: do not display non printable chars, fix function utf8_char_size_screen | Sébastien Helleu | |
Now the function utf8_char_size_screen can return -1 when the char is not printable. It has a specific behavior for some chars: - U+0009: value of option weechat.look.tab_width - U+0001 to U+001F (except U+0009): 1 - U+00AD (soft hyphen): -1 - U+200B (zero width space): -1 | |||
2022-12-10 | api: add function utf8_strncpy | Sébastien Helleu | |
2022-11-09 | doc/api: add missing note after list of signals | Sébastien Helleu | |
2022-11-08 | core: add signals "buffer_user_{input|closing}_xxx" for buffers created with ↵ | Sébastien Helleu | |
`/buffer add` (closes #1848) | |||
2022-11-05 | core: add range of chars in evaluation of expressions with `chars:xxx` | Sébastien Helleu | |
2022-11-05 | api: add function string_translate_chars | Sébastien Helleu | |
2022-10-19 | doc: fix language in links to other docs | Sébastien Helleu | |
2022-10-14 | python: Fix return types for config option callbacks | Trygve Aaberge | |
I erroneously typed the return types for these to int in commit e0c117e14, but they should be None. | |||
2022-09-30 | doc/api: Fix config_new_option types for non English docs | Trygve Aaberge | |
Only English was changed in commit 197a7a01e. | |||
2022-09-29 | api: change type of argument remaining_calls in hook_timer callback from ↵ | Sébastien Helleu | |
string to integer (in scripts) | |||
2022-09-29 | doc/api: Remove unnecessary cast in Python example | Trygve Aaberge | |
The highlight argument is already an int, so no point in casting it. | |||
2022-09-29 | doc/api: Add types for Python callbacks | Trygve Aaberge | |
2022-09-28 | doc/api: Add values for hook_process constants | Trygve Aaberge | |
When logging this value I just see a number so I have to look up what it means. Previously you would have to check the code or print the value of each of these constants to see it. Seeing the value directly in the documentation makes this much easier. | |||
2022-09-28 | doc/api: add note about C API for constant WEECHAT_HOOK_PROCESS_CHILD ↵ | Sébastien Helleu | |
(function hook_process) | |||
2022-09-27 | api: add function file_compress | Sébastien Helleu | |
2022-09-27 | api: restrict number to integer in function string_parse_size | Sébastien Helleu | |
2022-09-27 | api: add function string_parse_size | Sébastien Helleu | |
2022-09-17 | doc/api: add version 3.7 for priority in function hook_line | Sébastien Helleu | |
2022-09-16 | api: add support of priority in function hook_line (closes #1821) | Sébastien Helleu | |
2022-09-11 | doc/api: move function hook_completion in chapter on hook priority | Sébastien Helleu | |
2022-09-11 | doc/api: update chapter on hook priority | Sébastien Helleu | |
2022-09-11 | doc/api: update note about priority in hook functions | Sébastien Helleu | |
2022-08-16 | api: add function crypto_hash_file | Sébastien Helleu | |
2022-08-07 | core: add option `-save` in command `/upgrade` (closes #1630) | Sébastien Helleu | |
2022-07-24 | core: add option weechat.look.highlight_disable_regex and buffer property ↵ | Sébastien Helleu | |
"highlight_disable_regex" (closes #1798) | |||
2022-07-22 | doc: use non-breaking spaces before links to notes | Sébastien Helleu | |
2022-07-20 | api: add arguments "index_start" and "index_end" in function ↵ | Sébastien Helleu | |
string_rebuild_split_string | |||
2022-07-20 | api: rename function string_build_with_split_string to ↵ | Sébastien Helleu | |
string_rebuild_split_string | |||
2022-06-26 | doc/api: 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-04-24 | api: allow to catch multiple signals in functions hook_signal and ↵ | Sébastien Helleu | |
hook_hsignal (closes #1780) | |||
2022-04-24 | doc/api: remove word "and" in text with updated versions | Sébastien Helleu | |
2022-04-18 | core: add case conversion in evaluation of expressions (closes #1778) | Sébastien Helleu | |
2022-03-23 | doc: use unicode symbol for greater-than or equal to | Sébastien Helleu | |
2022-03-13 | api: add function buffer_new_props (closes #1759) | Sébastien Helleu | |
2022-02-20 | doc/api: Add missing parameter to python prototype for config_new_section | Trygve Aaberge | |
2022-02-14 | doc/api: add missing type for argument "count" in Python prototype of ↵ | Sébastien Helleu | |
function ngettext | |||
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-30 | doc/api: fix type of parameter "date" in script prototype of function ↵ | Sébastien Helleu | |
prnt_date_tags | |||
2022-01-27 | doc/api: merge examples and results in same column (function ↵ | Sébastien Helleu | |
string_eval_expression) | |||
2022-01-27 | doc/api: add column "Min WeeChat" in string_eval_expression tables | Sébastien Helleu | |
2022-01-16 | doc: remove useless comparison with empty string in Python examples (plugin ↵ | Sébastien Helleu | |
API reference) | |||
2022-01-14 | core: rename argument "length" to "bytes" in function string_strndup | Sébastien Helleu | |
2022-01-08 | doc: add missing macro WEECHAT_PLUGIN_AUTHOR (plugin API reference) | Sébastien Helleu | |
2021-11-27 | doc: switch from prettify to pygments for syntax highlighting | Sébastien Helleu | |
2021-11-06 | doc: replace ${name} by ${server_name} in example of function hdata_search ↵ | Sébastien Helleu | |
(plugin API reference) | |||
2021-11-06 | api: add parameters pointers, extra_vars and options in function hdata_search | Sébastien Helleu | |