summaryrefslogtreecommitdiff
path: root/src/plugins/ruby/weechat-ruby.c
AgeCommit message (Collapse)Author
2021-10-02plugins: use a different plugin priority for each scripting languageSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-08-23api: add argument "bytes" in function string_dyn_concatSébastien Helleu
2020-03-22ruby: fix compiler warning on third argument of function ↵Sébastien Helleu
weechat_ruby_hash_foreach_cb
2020-01-04core: update copyright datesSébastien Helleu
2019-08-25ruby: remove unused variable "ruby_hide_errors"Sébastien Helleu
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-07-25scripts: fix duplicated lines in output of script eval (python, perl, ruby, ↵Sébastien Helleu
lua and guile) When there was a call to a hook callback during the eval, the output buffer was cleared too late, and displayed multiple times in the buffer. This commit clears the buffer even before we display it (this display can trigger a hook callback).
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-03-17scripts: hide message when the eval script is unloadedSébastien Helleu
Related to commit 8fbbe8b0d509df26ff86ca8cd7fe4b2205c6d15e.
2018-02-19scripts: display the script name in stdout/stderr output from scriptsSébastien Helleu
2018-01-15scripts: add option "eval_keep_context" in script pluginsSébastien Helleu
2018-01-15scripts: add configuration file for each script pluginSébastien Helleu
2018-01-07ruby: fix buffer overflowSébastien Helleu
2018-01-07core: fix some stylesSébastien Helleu
2018-01-06core: update translations (issue #128)Sébastien Helleu
2018-01-06scripts: add "eval" option in script commands and info "xxx_eval" (issue #128)Sébastien Helleu
For now this works only in python, perl, ruby and guile.
2018-01-05core: update copyright datesSébastien Helleu
2017-12-23scripts: add option "version" in script commands (closes #1075)Sébastien Helleu
2017-07-08fset: fix priority of plugin (load it after all other plugins)Sébastien Helleu
This fixes a refresh problem of options after /upgrade in fset buffer.
2017-01-01core: update copyright datesSé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-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-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-03-16ruby: fix crash when trying to load a directory with /ruby loadSebastien Helleu
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-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-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).
2013-01-01core: update copyright datesSebastien Helleu