summaryrefslogtreecommitdiff
path: root/src/plugins/ruby
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-10-27ruby: fix load of scripts requiring "uri" (closes #433)Sé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-04-30core: add comments after some #endifSébastien Helleu
2015-03-21ruby: fix crash on /plugin reload (closes #364)Sébastien Helleu
The call to ruby_init_loadpath() has been moved after ruby initializations, which fixes the crash on plugin reload. The errors during ruby initializations are now displayed (they were hidden). And the ruby_cleanup() is called again: it seems it does not crash any more (tested with Ruby 2.1.5).
2015-03-07scripts: reset current script pointer when load of script fails in ↵Sébastien Helleu
python/perl/ruby/lua/tcl plugins
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-02-21scripts: reformat some code to make it more readableSébastien Helleu
2015-02-21scripts: improve comments on functions that convert hashtablesSébastien Helleu
2015-01-15core: add priority in plugins to initialize them in orderSébastien Helleu
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script.
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-04-12core: use lower case for CMake keywordsSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-16ruby: fix crash when trying to load a directory with /ruby loadSebastien Helleu
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-21ruby: return WEECHAT_RC_ERROR in command /ruby if arguments are wrong/missingSebastien Helleu
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-02-05ruby: add detection and fix compilation with Ruby 2.0 (patch #8209)Sebastien Helleu
Now the search for Ruby is first performed with pkg-config and includes detection of Ruby 2.0. If not found, the old code for detection is used (for old distros or old Ruby versions). The specific test on Ruby 1.9.0 (to disable this version) has been removed (1.9.0 was a dev/unstable version from 2007, quite old now).
2014-02-02ruby: fix compilation warningSebastien 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-06ruby: remove evil tabSebastien Helleu
2014-01-06ruby: fix ruby init with ruby >= 2.0 (bug #41115)Sebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-11-18scripts: use #ifdef to check if versions are defined in signal "debug_libs"Sebastien Helleu
2013-11-18core: remove "v" before versions displayed by /debug libsSebastien Helleu
2013-11-17scripts: display lib version on signal "debug_libs"Sebastien Helleu
2013-10-05core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am ↵Sebastien Helleu
in plugins This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
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-07-20core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.amSebastien 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-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-02-25script: add control of autoload (enable/disable/toggle) (task #12393)Sebastien Helleu
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload for command /script, new action "A" (meta-A) on script buffer (toggle autoload).