summaryrefslogtreecommitdiff
path: root/src/plugins/ruby/weechat-ruby-api.c
AgeCommit message (Collapse)Author
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-04scripts: fix name of variables in infolist API functionsSébastien Helleu
2015-03-01ruby: fix value returned in case of error in some functionsSébastien Helleu
Affected functions: - config_option_reset - config_color - config_color_default - config_write - config_read - config_reload - buffer_string_replace_local_var - command
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
2014-01-25scripts: fix script interpreter used after register during load of script in ↵Sebastien Helleu
python/perl/ruby/lua/guile plugins (bug #41345)
2014-01-11api: add stdin options in functions hook_process_hashtable and hook_set ↵Sebastien Helleu
(task #10847, task #13031) The function hook_set has been added in script API.
2014-01-01core: update copyright datesSebastien Helleu
2013-08-19core: add syntax "@buffer:item" in bar items to force the buffer used when ↵Sebastien Helleu
displaying the bar item (task #12717)
2013-08-04api: add argument "options" in function string_eval_expression, add option ↵Sebastien Helleu
"-c" for command /eval (to evaluate a condition)
2013-07-27api: add new function strlen_screenSebastien Helleu
2013-04-21api: add new function hdata_searchSebastien Helleu
2013-04-20ruby: fix crash in function hdata_moveSebastien Helleu
2013-03-24ruby: fix typo in commentSebastien Helleu
2013-03-22ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of ↵Sebastien Helleu
function config_new_option (bug #31050)
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-11-02core: add command /eval, use expression in conditions for bars, add function ↵Sebastien Helleu
"string_eval_expression" in plugin API
2012-10-14api: connect with IPv6 by default in hook_connect (with fallback to IPv4), ↵Simon Arlott
shuffle list of hosts for a same address (task #11205)
2012-08-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set
2012-08-03core: rename type t_script_callback to t_plugin_script_cbSebastien Helleu
2012-08-02core: remove directory "src/plugins/scripts", move script plugins in ↵Sebastien Helleu
"src/plugins"