summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-api.c
AgeCommit message (Collapse)Author
2024-03-12core: remove "wee-" prefix from source files in src/core and src/core/hookSébastien Helleu
2024-03-10api: add modifier "color_decode" to decode WeeChat colors with a replacement ↵Sébastien Helleu
string
2024-01-01core: update copyright datesSébastien Helleu
2023-05-04api: don't split on newline by default in functions `command` and ↵Sébastien Helleu
`command_options` when input_multiline is set to 0 The API functions `command` and `command_options` (when `split_newline` = 0, which is the default value) don't split on newline and then the first line is executed and the subsequent lines (after "\n") are ignored. There are no changes when the input has multiple lines filled by the user: the split is done and multiple commands are executed (for example if the user is pasting multiple commands to execute).
2023-01-28api: make prefix argument case sensitive in prefix function (issue #1872)Sébastien Helleu
2023-01-01core: update copyright datesSébastien Helleu
2022-08-16api: add function crypto_hash_fileSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-06-01api: add function crypto_hmac (issue #1628)Sébastien Helleu
2021-05-11core: split WeeChat home in 4 directories, use XDG directories by default ↵Sébastien Helleu
(issue #1285) The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets
2021-01-02core: update copyright datesSébastien Helleu
2020-05-21core: move functions string_base_encode and string_base_decode from ↵Sébastien Helleu
plugin-api.c to wee-string.c
2020-04-27api: add hdata "completion_word" (issue #1484)Sébastien Helleu
2020-03-01api: add function crypto_hash_pbkdf2Sébastien Helleu
2020-03-01core: move crypto functions to wee-crypto.c, rename API function string_hash ↵Sébastien Helleu
to crypto_hash
2020-01-04core: update copyright datesSébastien Helleu
2019-10-06api: add modifier "eval_path_home" (issue #60)Sébastien Helleu
2019-10-06core: fix comments on modifier callback functions in plugin APISébastien Helleu
2019-10-01api: add modifier "color_encode_ansi" (issue #528)Sébastien Helleu
2019-03-28api: add option "delay" in hashtable options of function command_options ↵Sébastien Helleu
(issue #1327)
2019-03-28core: make "input_commands_allowed" work with /wait and /repeat commands ↵Sébastien Helleu
(issue #928)
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-02-28api: add function command_options (issue #928)Sébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-04api: add functions string_base_{encode,decode}, remove functions ↵Sébastien Helleu
string_{encode,decode}_base64
2018-11-03core: split plugin-api.c into 2 files (API wrappers and infos/infolists)Sébastien Helleu
2018-11-02core: add support of TOTP generation/validation (Time-based One-Time Password)Sébastien Helleu
2018-01-20api: add time in info "date" (WeeChat compilation date/time) (closes #1138)Sébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sébastien Helleu
2017-07-23api: add cast of time_t to long in info "uptime"Sébastien Helleu
This fixes a compiler warning on OpenBSD.
2017-07-08core: call the config hook when options are removedSébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-12-31api: add info "uptime" (WeeChat uptime)Sébastien Helleu
2016-11-20api: add info "pid" (WeeChat PID) (issue #850)Sébastien Helleu
2016-04-05core: move nick coloring from irc plugin to core (closes #262)Sébastien Helleu
Options moved from irc.conf to weechat.conf: * "irc.look.nick_color_force" moved to "weechat.look.nick_color_force" * "irc.look.nick_color_hash" moved to "weechat.look.nick_color_hash" * "irc.look.nick_color_stop_chars" moved to "weechat.look.nick_color_stop_chars" New info (for API function "info_get"): * "nick_color" (replaces "irc_nick_color") * "nick_color_name" (replaced "irc_nick_color_name") Info "irc_nick_color" and "irc_nick_color_name" are now deprecated. And a bug has been fixed in nick coloring: stop chars are removed before looking at a forced color.
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-01-01core: update copyright datesSébastien Helleu
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-01-01core: update copyright datesSébastien Helleu
2014-12-05core: split info/infolist callbacksSébastien Helleu
2014-11-22api: return value in function command(), remove WeeChat error after command ↵Sébastien Helleu
callback if return code is WEECHAT_RC_ERROR
2014-09-01core: optimize completion by using arraylistsSébastien Helleu
With arraylist (vs weelist), the completion is about 50x faster. It is visible on "/help [+tab]".
2014-06-10core: fix potential memory leak with infolists not freed in plugins (debian ↵Sébastien Helleu
#751108) The memory leak should not happen if infolists are properly freed by plugins, and it happened only on unload of plugins (or exit).
2014-04-12api: allow wildcard "*" inside the mask in function string_matchSébastien Helleu
2014-03-15core: update translationsSebastien Helleu
2014-03-15core: add modifier and infos to decode ANSI colorsSebastien Helleu
New modifier: - color_decode_ansi: convert ANSI colors to WeeChat colors (or remove colors). New infos: - color_ansi_regex: regex used to parse ANSI colors in a string - color_term2rgb: convert a terminal color (0-255) to RGB - color_rgb2term: convert a RGB color to terminal color (0-255)
2014-01-01core: update copyright datesSebastien Helleu
2013-12-01core: add missing access to hdata "buffer_visited"Sebastien Helleu