summaryrefslogtreecommitdiff
path: root/doc/en/weechat_plugin_api.en.adoc
AgeCommit message (Collapse)Author
2024-02-25doc/api: fix string format in calls to weechat.prnt (examples in Python)Sébastien Helleu
2024-02-23docs: fix some typos in documentation and commentsTrygve Aaberge
2024-02-01core: add support of base64url in encode/decode functions (issue #2066)Sébastien Helleu
2024-01-27core: use function util_strftimeval in evaluation of expression `date:xxx`Sébastien Helleu
2024-01-27api: add support of specifier `%!` for timestamp in function util_strftimevalSébastien Helleu
2024-01-06doc/api: add missing properties in functions buffer_get_integer and ↵Sébastien Helleu
buffer_get_string
2024-01-06core: add variable "opening" in buffer, do not send buffer signals when the ↵Sébastien Helleu
buffer is opening
2024-01-05api: add function util_parse_time (issue #649)Sébastien Helleu
2023-12-26core: store microseconds in buffer lines (closes #649)Sébastien Helleu
2023-12-24api: add property "type" in function buffer_get_stringSébastien Helleu
2023-11-23core: add syntax highlighting in evaluation of expressions, add option ↵Sébastien Helleu
weechat.color.eval_syntax_colors (issue #2042) Syntax highlighting (raw string without evaluation): `${raw_hl:xxx}` Syntax highlighting: `${hl:xxx}`
2023-11-11core: add incremental search in commands history (issue #2040)Sébastien Helleu
Changes: - move key ctrl+r to ctrl+s - add key ctrl+r to search in commands history - add option `search_history` in command `/input` - add key context "histsearch" - add option weechat.look.buffer_search_history - add buffer variables "text_search_direction", "text_search_history" and "text_search_ptr_history"
2023-10-17api: add function string_concat (issue #2005)Sébastien Helleu
2023-10-01core: make zstd dependency optional (closes #2024)Sébastien Helleu
2023-09-16doc/api: use a table for file_in/file_out options in function hook_urlSébastien Helleu
2023-09-16doc/api: add link to hook_url in hook_process_hashtable for Curl optionsSébastien Helleu
2023-09-16doc/api: add function hook_urlSébastien Helleu
2023-09-13api: add algorithms `sha512-224`, `sha512-256`, blake2b-*` and `blake2s-*` ↵Sébastien Helleu
in hash functions (issue #2008)
2023-08-29api: add support of path to variable and hashtable comparison in function ↵Sébastien Helleu
hdata_compare (closes #1066)
2023-08-24Add compatibility with Python < 3.10 in weechat.pyiTrygve Aaberge
The | syntax for unions is only supported in Python 3.10 and later. Since Python 3.8 and 3.9 are still supported upstream for a while and we had a user reporting on IRC that they couldn't use the stub file since they are using 3.8, change to the old syntax for unions to support this. There aren't really any drawbacks of this. It's just a bit more verbose, and a typing import is necessary, but neither of those really matters in a generated stub file.
2023-07-14doc/api: fix return value in case of error in function hdata_get_var_offsetSébastien Helleu
2023-07-08core: add option type "enum" (closes #1973)Sébastien Helleu
The type "enum" replaces type "integer" when used with string values. For compatibility, any option created with type "integer" and string values is automatically created to "enum" on creation, with no error.
2023-06-26core: add variables "_chat_focused_line_bol" and "_chat_focused_line_eol" in ↵Sébastien Helleu
focus data (closes #1955) These variables are the same as "_chat_bol" and "_chat_eol" except that they stop at the beginning of the focused line (not the whole message displayed, in case message has multiple lines separated by "\n").
2023-06-03doc: fix formatting issues with links that target a blank windowSébastien Helleu
2023-06-02relay: add modifiers "relay_client_irc_in", "relay_client_irc_out1" and ↵Sébastien Helleu
"relay_client_irc_out"
2023-05-20doc: move toc and section asciidoctor attributes from docs to CMakeLists.txtSébastien Helleu
2023-05-16doc/api: add note about hashtable removal in function info_get_hashtableSébastien Helleu
2023-05-15irc: add modifier "irc_cap_sync_req" (closes #1767)Sébastien Helleu
2023-05-03irc: add support of capability "batch" (closes #1292)Sébastien Helleu
2023-04-25doc/api: add variable "_chat_focused_line" in function hook_focusSébastien Helleu
2023-04-15doc/api: add more examples on function util_version_numberSébastien Helleu
2023-03-30doc: convert docgen.py to C, remove autogen files from repository, add ↵Sébastien Helleu
parameter `--doc-gen` Changes: - build of doc now requires weechat-headless, translations and all plugins - convert docgen.py to C - remove `autogen_*` files from repository - add command line parameter `--doc-gen` in `weechat-headless` to build autogen files - build .mo files with directories like the installed ones (eg: "<lang>/LC_MESSAGES/weechat.mo") - remove javascript chapter from user's guide
2023-03-20core: add relative move of read marker with `/buffer set unread [+/-]N` ↵Sébastien Helleu
(closes #1895)
2023-03-19doc/api: fix typoSébastien Helleu
2023-03-19core: fix default value of options for bars added by pluginsSébastien Helleu
When the bar name already exists, the function `bar_new` returns the pointer to the bar (instead of NULL) and sets the default value for all options with the values received.
2023-03-18core: bump version to 4.0.0-dev, follow "practical" semantic versioningSébastien Helleu
2023-03-16core: add configuration version, add API function config_set_versionSébastien Helleu
2023-03-10doc/api: add hashtable methods in function string_eval_expressionSébastien Helleu
2023-01-28core: make function gui_buffer_match_list case sensitive (issue #1872)Sébastien Helleu
2023-01-28doc/api: add priority in function config_new (issue #1872)Sébastien Helleu
2022-12-26core: allow value "0" in buffer property "unread" to remove read marker from ↵Sébastien Helleu
buffer
2022-12-26doc/api: fix formatting of return value in char/string comparison functionsSébastien Helleu
2022-12-25api: do not check hotlist add conditions when adding buffer in hotlist with ↵Sébastien Helleu
function buffer_set
2022-12-24api: add functions string_strcmp and string_strncmpSébastien Helleu
2022-12-24doc/api: mention "UTF-8" in char/string comparison functionsSébastien Helleu
2022-12-24api: rename char comparison functions "utf8_char*" to "string_char*"Sébastien Helleu
2022-12-24api: return arithmetic difference between chars in string comparison functionsSébastien Helleu
Return code is changed for the following functions: - string_strcasecmp - string_strcasecmp_range - string_strncasecmp - string_strncasecmp_range - string_strcmp_ignore_chars - utf8_charcmp - utf8_charcasecmp - utf8_charcasecmp_range
2022-12-21core: improve case convert and insensitive char comparisons (closes #258)Sébastien Helleu
All lowercase letters are now properly converted to uppercase letters (and vice versa), via functions `towupper` and `towlower`. Functions `string_tolower`, `string_toupper` and `utf8_charcasecmp` have been optimized to be faster when there are ASCII chars (< 128); functions are about 25-40% faster with mixed chars (both ASCII and multi-bytes). Function `utf8_wide_char` has been removed, `utf8_char_int` can be used instead.
2022-12-18api: return newly allocated string in functions string_tolower and ↵Sébastien Helleu
string_toupper
2022-12-11doc/api: Improve python example for config_new_sectionTrygve Aaberge
This updates the Python examples to include all the possible return values for the callbacks in config_new_section, like it is done in the C example. It also aligns the order of the values with the C example.