summaryrefslogtreecommitdiff
path: root/src/plugins/lua/weechat-lua-api.c
AgeCommit message (Collapse)Author
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-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-28api: return integer in function gui_completion_search (issue #1484)Sébastien Helleu
2020-04-27api: add functions completion_new, completion_search and completion_free ↵Sébastien Helleu
(issue #1484)
2020-01-04core: update copyright datesSébastien Helleu
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-02-28api: add function command_options (issue #928)Sébastien Helleu
2019-02-27api: add function string_match_listSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-10-14lua: mkdir API functions should return ERROR on error.emk
2018-08-12api: add function hook_lineSébastien Helleu
2018-07-13lua: fix macros used to return valuesSébastien Helleu
2018-04-13scripts: fix memory leak in hook_info callbackSébastien Helleu
2018-04-12scripts: fix return value of hook_infolist callback (pointer instead of string)Sébastien Helleu
2018-04-10scripts: return long integer instead of string in function infolist_timeSébastien Helleu
2018-04-10scripts: do not allocate memory when converting pointers to stringsSébastien Helleu
2018-04-07api: add function string_format_size in scripting APISébastien Helleu
2018-01-15scripts: add configuration file for each script pluginSébastien Helleu
2018-01-06lua: add support of eval (issue #128)Sébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-10-03lua: fix boolean return value (as integer) in API functionsSébastien Helleu
2017-09-23core, plugins: check return code of strftime functionSébastien Helleu
2017-08-13api: change type of arguments status/gnutls_rc/sock in hook_connect() ↵Sébastien Helleu
callback from string to integer (in scripts)
2017-08-13api: send file descriptor as integer instead of string to the callback of ↵Sébastien Helleu
hook_fd
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sébastien Helleu
2017-05-30api: add function hdata_compareSébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-11-27api: move functions hook_completion* after hook_commandSébastien Helleu
2016-11-01lua: use lua_pushinteger for int values in lua 5.3tomoe-mami
2016-04-23api: add support of functions in hook_processSébastien Helleu
2016-03-24api: rename function unhook_all_plugin to unhook_allSébastien Helleu
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-08-13api: add missing function infolist_search_var() in script API (issue #484)Sébastien Helleu
2015-08-13api: add missing function hook_completion_get_string() in script API (issue ↵Sébastien Helleu
#484)
2015-06-24api: add function string_eval_path_home()Sébastien Helleu
2015-03-06lua: fix wrong argument usage in nicklist API functionsTor Hveem
3 functions in the API; niclist_remove_group, nicklist_remove_nick and nicklist_remove_all use the incorrent offset to get the Lua argument values.
2015-03-04scripts: fix name of variables in infolist API functionsSébastien Helleu
2015-03-01lua: fix value returned in case of error in some functionsSébastien Helleu
Affected functions: - config_option_reset - config_string - config_string_default - config_color - config_color_default - config_write - config_read - config_reload - hook_modifier_exec - buffer_string_replace_local_var - nicklist_group_set - nicklist_nick_set - command - upgrade_read - upgrade_close
2015-03-01scripts: fix return code of function bar_set in ↵Sébastien Helleu
python/perl/ruby/lua/tcl/guile plugins
2015-03-01scripts: fix type of value returned by function hdata_time (from string to ↵Sébastien Helleu
long integer) in perl/ruby/lua/tcl/guile plugins
2015-02-21scripts: rename macro API_FUNC to API_INIT_FUNC, add macro API_FUNC to ↵Sébastien Helleu
declare API functions
2015-01-01core: update copyright datesSé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-05-10api: change type of arguments displayed/highlight in hook_print callback ↵Sébastien Helleu
from string to integer (in scripts)
2014-02-28scripts: fix size used in some snprintfSebastien Helleu
2014-02-22scripts: fix crash when a signal is received with type "int" and NULL ↵Sebastien Helleu
pointer in signal_data
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu