From b60aec975ba13d347edd3a110cbfef7699bc3cfb Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 25 Feb 2013 08:46:41 +0100 Subject: [PATCH] script: add control of autoload (enable/disable/toggle) (task #12393) New option script.scripts.autoload, new options autoload/noautoload/toggleautoload for command /script, new action "A" (meta-A) on script buffer (toggle autoload). --- ChangeLog | 5 +- doc/de/autogen/user/script_commands.txt | 92 ++++++------ doc/de/autogen/user/script_options.txt | 5 + doc/en/autogen/user/script_commands.txt | 34 +++-- doc/en/autogen/user/script_options.txt | 5 + doc/fr/autogen/user/script_commands.txt | 34 +++-- doc/fr/autogen/user/script_options.txt | 5 + doc/it/autogen/user/script_commands.txt | 34 +++-- doc/it/autogen/user/script_options.txt | 5 + doc/ja/autogen/user/script_commands.txt | 96 ++++++------ doc/ja/autogen/user/script_options.txt | 5 + po/cs.po | 73 +++++---- po/de.po | 79 ++++++---- po/es.po | 73 +++++---- po/fr.po | 122 +++++++++------ po/hu.po | 73 +++++---- po/it.po | 73 +++++---- po/ja.po | 77 ++++++---- po/pl.po | 77 ++++++---- po/pt_BR.po | 73 +++++---- po/ru.po | 73 +++++---- po/weechat.pot | 69 +++++---- src/plugins/guile/weechat-guile.c | 28 +++- src/plugins/lua/weechat-lua.c | 34 ++++- src/plugins/perl/weechat-perl.c | 34 ++++- src/plugins/plugin-script.c | 188 +++++++++++++++++++----- src/plugins/plugin-script.h | 3 + src/plugins/python/weechat-python.c | 31 +++- src/plugins/ruby/weechat-ruby.c | 34 ++++- src/plugins/script/script-action.c | 99 ++++++++++++- src/plugins/script/script-buffer.c | 44 +++--- src/plugins/script/script-command.c | 42 ++++-- src/plugins/script/script-config.c | 8 + src/plugins/script/script-config.h | 1 + src/plugins/tcl/weechat-tcl.c | 34 ++++- 35 files changed, 1227 insertions(+), 535 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60f959415..ab7234c48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ WeeChat ChangeLog ================= Sébastien Helleu -v0.4.1-dev, 2013-02-23 +v0.4.1-dev, 2013-02-25 This document lists all changes for each version. @@ -54,6 +54,9 @@ Version 0.4.1 (under dev!) * rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier "irc_message_auth") +* script: add option script.scripts.autoload, add options "autoload", + "noautoload" and "toggleautoload" for command /script, add action "A" (meta-A) + on script buffer (toggle autoload) (task #12393) * scripts: do not allow empty script name in function "register" Version 0.4.0 (2013-01-20) diff --git a/doc/de/autogen/user/script_commands.txt b/doc/de/autogen/user/script_commands.txt index 4e3d55d6d..d73fd843a 100644 --- a/doc/de/autogen/user/script_commands.txt +++ b/doc/de/autogen/user/script_commands.txt @@ -5,62 +5,66 @@ search show