From a99d136018eae1099ffa32b660259632694ee6ed Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 14 Aug 2012 18:29:32 +0200 Subject: [PATCH] core: add new plugin "script" (scripts manager, replacing scripts weeget.py and script.pl) --- CMakeLists.txt | 49 +- ChangeLog | 4 +- configure.in | 95 +- doc/de/autogen/plugin_api/completions.txt | 6 + doc/de/autogen/plugin_api/hdata.txt | 27 + doc/de/autogen/plugin_api/infolists.txt | 2 + doc/de/autogen/user/script_commands.txt | 47 + doc/de/autogen/user/script_options.txt | 155 ++ doc/de/weechat_quickstart.de.txt | 19 +- doc/de/weechat_user.de.txt | 72 +- doc/docgen.py | 1 + doc/en/autogen/plugin_api/completions.txt | 6 + doc/en/autogen/plugin_api/hdata.txt | 27 + doc/en/autogen/plugin_api/infolists.txt | 2 + doc/en/autogen/user/script_commands.txt | 47 + doc/en/autogen/user/script_options.txt | 155 ++ doc/en/weechat_quickstart.en.txt | 17 +- doc/en/weechat_user.en.txt | 66 +- doc/es/weechat_quickstart.es.txt | 20 +- doc/fr/autogen/plugin_api/completions.txt | 6 + doc/fr/autogen/plugin_api/hdata.txt | 27 + doc/fr/autogen/plugin_api/infolists.txt | 2 + doc/fr/autogen/user/script_commands.txt | 47 + doc/fr/autogen/user/script_options.txt | 155 ++ doc/fr/weechat_quickstart.fr.txt | 19 +- doc/fr/weechat_user.fr.txt | 69 +- doc/it/autogen/plugin_api/completions.txt | 6 + doc/it/autogen/plugin_api/hdata.txt | 27 + doc/it/autogen/plugin_api/infolists.txt | 2 + doc/it/autogen/user/script_commands.txt | 47 + doc/it/autogen/user/script_options.txt | 155 ++ doc/it/weechat_quickstart.it.txt | 19 +- doc/it/weechat_user.it.txt | 72 +- doc/ja/autogen/plugin_api/completions.txt | 6 + doc/ja/autogen/plugin_api/hdata.txt | 27 + doc/ja/autogen/plugin_api/infolists.txt | 2 + doc/ja/autogen/user/script_commands.txt | 47 + doc/ja/autogen/user/script_options.txt | 155 ++ doc/ja/weechat_quickstart.ja.txt | 19 +- doc/ja/weechat_user.ja.txt | 70 +- doc/pl/weechat_quickstart.pl.txt | 18 +- doc/ru/weechat_quickstart.ru.txt | 18 +- po/POTFILES.in | 44 +- po/cs.po | 488 +++++- po/de.po | 488 +++++- po/es.po | 490 +++++- po/fr.po | 528 ++++++- po/hu.po | 489 +++++- po/it.po | 491 +++++- po/ja.po | 487 +++++- po/pl.po | 486 +++++- po/pt_BR.po | 478 +++++- po/ru.po | 489 +++++- po/srcfiles.cmake | 28 +- po/weechat.pot | 437 +++++- src/CMakeLists.txt | 18 +- src/core/wee-network.c | 7 +- src/gui/curses/gui-curses-key.c | 2 + src/plugins/CMakeLists.txt | 4 + src/plugins/Makefile.am | 6 +- src/plugins/irc/CMakeLists.txt | 4 +- src/plugins/irc/irc-protocol.c | 11 - src/plugins/irc/irc-sasl.c | 12 - src/plugins/relay/CMakeLists.txt | 4 +- src/plugins/relay/weechat/relay-weechat-msg.c | 7 +- src/plugins/relay/weechat/relay-weechat.c | 4 - src/plugins/script/CMakeLists.txt | 43 + src/plugins/script/Makefile.am | 46 + src/plugins/script/script-action.c | 710 +++++++++ src/plugins/script/script-action.h | 29 + src/plugins/script/script-buffer.c | 797 ++++++++++ src/plugins/script/script-buffer.h | 44 + src/plugins/script/script-command.c | 270 ++++ src/plugins/script/script-command.h | 25 + src/plugins/script/script-completion.c | 192 +++ src/plugins/script/script-completion.h | 25 + src/plugins/script/script-config.c | 587 +++++++ src/plugins/script/script-config.h | 71 + src/plugins/script/script-info.c | 110 ++ src/plugins/script/script-info.h | 25 + src/plugins/script/script-repo.c | 1369 +++++++++++++++++ src/plugins/script/script-repo.h | 83 + src/plugins/script/script.c | 292 ++++ src/plugins/script/script.h | 37 + 84 files changed, 10881 insertions(+), 1208 deletions(-) create mode 100644 doc/de/autogen/user/script_commands.txt create mode 100644 doc/de/autogen/user/script_options.txt create mode 100644 doc/en/autogen/user/script_commands.txt create mode 100644 doc/en/autogen/user/script_options.txt create mode 100644 doc/fr/autogen/user/script_commands.txt create mode 100644 doc/fr/autogen/user/script_options.txt create mode 100644 doc/it/autogen/user/script_commands.txt create mode 100644 doc/it/autogen/user/script_options.txt create mode 100644 doc/ja/autogen/user/script_commands.txt create mode 100644 doc/ja/autogen/user/script_options.txt create mode 100644 src/plugins/script/CMakeLists.txt create mode 100644 src/plugins/script/Makefile.am create mode 100644 src/plugins/script/script-action.c create mode 100644 src/plugins/script/script-action.h create mode 100644 src/plugins/script/script-buffer.c create mode 100644 src/plugins/script/script-buffer.h create mode 100644 src/plugins/script/script-command.c create mode 100644 src/plugins/script/script-command.h create mode 100644 src/plugins/script/script-completion.c create mode 100644 src/plugins/script/script-completion.h create mode 100644 src/plugins/script/script-config.c create mode 100644 src/plugins/script/script-config.h create mode 100644 src/plugins/script/script-info.c create mode 100644 src/plugins/script/script-info.h create mode 100644 src/plugins/script/script-repo.c create mode 100644 src/plugins/script/script-repo.h create mode 100644 src/plugins/script/script.c create mode 100644 src/plugins/script/script.h diff --git a/CMakeLists.txt b/CMakeLists.txt index f9a12f118..d05c9a971 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,31 +63,30 @@ ELSE(DEFINED INCLUDEDIR) SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME}) ENDIF(DEFINED INCLUDEDIR) -OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON) -OPTION(ENABLE_GTK "Enable GTK interface" OFF) -OPTION(ENABLE_NLS "Enable Native Language Support" ON) -OPTION(ENABLE_GCRYPT "Enable libgcrypt support" ON) -OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON) -OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON) -OPTION(ENABLE_ZLIB "Enable Zlib support" ON) -OPTION(ENABLE_ALIAS "Enable Alias plugin" ON) -OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON) -OPTION(ENABLE_CHARSET "Enable Charset plugin" ON) -OPTION(ENABLE_DEMO "Enable Demo plugin" OFF) -OPTION(ENABLE_FIFO "Enable FIFO plugin" ON) -OPTION(ENABLE_IRC "Enable IRC plugin" ON) -OPTION(ENABLE_LOGGER "Enable Logger plugin" ON) -OPTION(ENABLE_RELAY "Enable Relay plugin" ON) -OPTION(ENABLE_RMODIFIER "Enable Rmodifier plugin" ON) -OPTION(ENABLE_SCRIPTS "Enable script plugins" ON) -OPTION(ENABLE_PERL "Enable Perl scripting language" ON) -OPTION(ENABLE_PYTHON "Enable Python scripting language" ON) -OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON) -OPTION(ENABLE_LUA "Enable Lua scripting language" ON) -OPTION(ENABLE_TCL "Enable Tcl scripting language" ON) -OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON) -OPTION(ENABLE_XFER "Enable Xfer plugin" ON) -OPTION(ENABLE_DOC "Enable Documentation" ON) +OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON) +OPTION(ENABLE_GTK "Enable GTK interface" OFF) +OPTION(ENABLE_NLS "Enable Native Language Support" ON) +OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON) +OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON) +OPTION(ENABLE_ALIAS "Enable Alias plugin" ON) +OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON) +OPTION(ENABLE_CHARSET "Enable Charset plugin" ON) +OPTION(ENABLE_DEMO "Enable Demo plugin" OFF) +OPTION(ENABLE_FIFO "Enable FIFO plugin" ON) +OPTION(ENABLE_IRC "Enable IRC plugin" ON) +OPTION(ENABLE_LOGGER "Enable Logger plugin" ON) +OPTION(ENABLE_RELAY "Enable Relay plugin" ON) +OPTION(ENABLE_RMODIFIER "Enable Rmodifier plugin" ON) +OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON) +OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON) +OPTION(ENABLE_PERL "Enable Perl scripting language" ON) +OPTION(ENABLE_PYTHON "Enable Python scripting language" ON) +OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON) +OPTION(ENABLE_LUA "Enable Lua scripting language" ON) +OPTION(ENABLE_TCL "Enable Tcl scripting language" ON) +OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON) +OPTION(ENABLE_XFER "Enable Xfer plugin" ON) +OPTION(ENABLE_DOC "Enable Documentation" ON) IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "") SET(WEECHAT_HOME "~/.weechat") diff --git a/ChangeLog b/ChangeLog index 4b1dbee7d..95f65233b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ WeeChat ChangeLog ================= Sébastien Helleu -v0.3.9-dev, 2012-08-08 +v0.3.9-dev, 2012-08-14 Version 0.3.9 (under dev!) @@ -73,6 +73,8 @@ Version 0.3.9 (under dev!) * relay: fix freeze when writing on relay socket (use non-blocking sockets in relay for irc and weechat protocols) (bug #36655) * ruby: detect ruby version 1.9.3 in cmake and autotools +* script: new plugin "script" (scripts manager, replacing scripts weeget.py and + script.pl) * scripts: add signals for scripts loaded/unloaded/installed/removed * scripts: add hdata with list of scripts for each language * scripts: fix deletion of configuration files when script is unloaded diff --git a/configure.in b/configure.in index feaaf99da..615d25d68 100644 --- a/configure.in +++ b/configure.in @@ -98,11 +98,9 @@ AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa mem AH_VERBATIM([PREFIX], [#undef PREFIX]) AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR]) AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR]) -AH_VERBATIM([HAVE_GCRYPT], [#undef HAVE_GCRYPT]) AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS]) AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK]) AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH]) -AH_VERBATIM([HAVE_ZLIB], [#undef HAVE_ZLIB]) AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS]) AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL]) AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET]) @@ -112,6 +110,7 @@ AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC]) AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER]) AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY]) AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER]) +AH_VERBATIM([PLUGIN_SCRIPT], [#undef PLUGIN_SCRIPT]) AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL]) AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON]) AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY]) @@ -126,9 +125,7 @@ AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"]) AC_ARG_ENABLE(ncurses, [ --disable-ncurses turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes) AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (default=off)],enable_gtk=$enableval,enable_gtk=no) -AC_ARG_ENABLE(gcrypt, [ --disable-gcrypt turn off gcrypt support (default=compiled if found)],enable_gcrypt=$enableval,enable_gcrypt=yes) AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes) -AC_ARG_ENABLE(zlib, [ --disable-zlib turn off zlib support (default=compiled if found)],enable_zlib=$enableval,enable_zlib=yes) AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes) AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes) AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled)],enable_aspell=$enableval,enable_aspell=yes) @@ -139,7 +136,8 @@ AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (defa AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes) AC_ARG_ENABLE(relay, [ --disable-relay turn off Relay plugin (default=compiled)],enable_relay=$enableval,enable_relay=yes) AC_ARG_ENABLE(rmodifier, [ --disable-rmodifier turn off Rmodifier plugin (default=compiled)],enable_rmodifier=$enableval,enable_rmodifier=yes) -AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes) +AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (default=compiled)],enable_script=$enableval,enable_script=yes) +AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes) AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes) AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes) AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes) @@ -400,6 +398,14 @@ else not_asked="$not_asked rmodifier" fi +# --------------------------------- script ------------------------------------- + +if test "x$enable_script" = "xyes" ; then + AC_DEFINE(PLUGIN_SCRIPT) +else + not_asked="$not_asked script" +fi + # ---------------------------------- perl -------------------------------------- PERL_VERSION= @@ -777,30 +783,21 @@ fi # gcrypt # ------------------------------------------------------------------------------ -if test "x$enable_gcrypt" = "xyes" ; then - AC_CHECK_HEADER(gcrypt.h,ac_found_gcrypt_header="yes",ac_found_gcrypt_header="no") - AC_CHECK_LIB(gcrypt,gcry_check_version,ac_found_gcrypt_lib="yes",ac_found_gcrypt_lib="no") +AC_CHECK_HEADER(gcrypt.h,ac_found_gcrypt_header="yes",ac_found_gcrypt_header="no") +AC_CHECK_LIB(gcrypt,gcry_check_version,ac_found_gcrypt_lib="yes",ac_found_gcrypt_lib="no") - AC_MSG_CHECKING(for gcrypt headers and librairies) - if test "x$ac_found_gcrypt_header" = "xno" -o "x$ac_found_gcrypt_lib" = "xno" ; then - AC_MSG_RESULT(no) - AC_MSG_WARN([ +AC_MSG_CHECKING(for gcrypt headers and librairies) +if test "x$ac_found_gcrypt_header" = "xno" -o "x$ac_found_gcrypt_lib" = "xno" ; then + AC_MSG_RESULT(no) + AC_MSG_ERROR([ *** libgcrypt was not found. You may want to get it from ftp://ftp.gnupg.org/gcrypt/libgcrypt/ -*** WeeChat will be built without gcrypt support. -*** Some features like SASL authentication with IRC server using mechanism DH-BLOWFISH will be disabled.]) - enable_gcrypt="no" - not_found="$not_found gcrypt" - else - AC_MSG_RESULT(yes) - GCRYPT_CFLAGS=`libgcrypt-config --cflags` - GCRYPT_LFLAGS=`libgcrypt-config --libs` - AC_SUBST(GCRYPT_CFLAGS) - AC_SUBST(GCRYPT_LFLAGS) - AC_DEFINE(HAVE_GCRYPT) - CFLAGS="$CFLAGS -DHAVE_GCRYPT" - fi +*** or try to install libgcrypt-dev with your software package manager.]) else - not_asked="$not_asked gcrypt" + AC_MSG_RESULT(yes) + GCRYPT_CFLAGS=`libgcrypt-config --cflags` + GCRYPT_LFLAGS=`libgcrypt-config --libs` + AC_SUBST(GCRYPT_CFLAGS) + AC_SUBST(GCRYPT_LFLAGS) fi # ------------------------------------------------------------------------------ @@ -903,30 +900,21 @@ fi # zlib # ------------------------------------------------------------------------------ -if test "x$enable_zlib" = "xyes" ; then - AC_CHECK_HEADER(zlib.h,ac_found_zlib_header="yes",ac_found_zlib_header="no") - AC_CHECK_LIB(z,compress2,ac_found_zlib_lib="yes",ac_found_zlib_lib="no") +AC_CHECK_HEADER(zlib.h,ac_found_zlib_header="yes",ac_found_zlib_header="no") +AC_CHECK_LIB(z,compress2,ac_found_zlib_lib="yes",ac_found_zlib_lib="no") - AC_MSG_CHECKING(for zlib headers and librairies) - if test "x$ac_found_zlib_header" = "xno" -o "x$ac_found_zlib_lib" = "xno" ; then - AC_MSG_RESULT(no) - AC_MSG_WARN([ +AC_MSG_CHECKING(for zlib headers and librairies) +if test "x$ac_found_zlib_header" = "xno" -o "x$ac_found_zlib_lib" = "xno" ; then + AC_MSG_RESULT(no) + AC_MSG_ERROR([ *** zlib was not found. You may want to get it from http://zlib.net/ -*** WeeChat will be built without zlib support. -*** Compression of packets in Relay plugin will be disabled (for WeeChat protocol).]) - enable_zlib="no" - not_found="$not_found zlib" - else - AC_MSG_RESULT(yes) - ZLIB_CFLAGS=`pkg-config zlib --cflags` - ZLIB_LFLAGS=`pkg-config zlib --libs` - AC_SUBST(ZLIB_CFLAGS) - AC_SUBST(ZLIB_LFLAGS) - AC_DEFINE(HAVE_ZLIB) - CFLAGS="$CFLAGS -DHAVE_ZLIB" - fi +*** or try to install libcurl-dev with your software package manager.]) else - not_asked="$not_asked zlib" + AC_MSG_RESULT(yes) + ZLIB_CFLAGS=`pkg-config zlib --cflags` + ZLIB_LFLAGS=`pkg-config zlib --libs` + AC_SUBST(ZLIB_CFLAGS) + AC_SUBST(ZLIB_LFLAGS) fi # ------------------------------------------------------------------------------ @@ -1061,8 +1049,6 @@ CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENS # output Makefiles # ------------------------------------------------------------------------------ -AM_CONDITIONAL(HAVE_GCRYPT, test "$enable_gcrypt" = "yes") -AM_CONDITIONAL(HAVE_ZLIB, test "$enable_zlib" = "yes") AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes") AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes") AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes") @@ -1077,6 +1063,7 @@ AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes") AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes") AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes") AM_CONDITIONAL(PLUGIN_RMODIFIER, test "$enable_rmodifier" = "yes") +AM_CONDITIONAL(PLUGIN_SCRIPT, test "$enable_script" = "yes") AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes") AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes") AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes") @@ -1108,6 +1095,7 @@ AC_OUTPUT([Makefile src/plugins/logger/Makefile src/plugins/relay/Makefile src/plugins/rmodifier/Makefile + src/plugins/script/Makefile src/plugins/perl/Makefile src/plugins/python/Makefile src/plugins/ruby/Makefile @@ -1167,6 +1155,9 @@ fi if test "x$enable_rmodifier" = "xyes"; then listplugins="$listplugins rmodifier" fi +if test "x$enable_script" = "xyes"; then + listplugins="$listplugins script" +fi if test "x$enable_perl" = "xyes"; then listplugins="$listplugins perl($PERL_VERSION)" fi @@ -1190,12 +1181,6 @@ if test "x$enable_xfer" = "xyes"; then fi listoptional="" -if test "x$enable_gcrypt" = "xyes"; then - listoptional="$listoptional gcrypt" -fi -if test "x$enable_zlib" = "xyes"; then - listoptional="$listoptional zlib" -fi if test "x$enable_gnutls" = "xyes"; then listoptional="$listoptional gnutls" fi diff --git a/doc/de/autogen/plugin_api/completions.txt b/doc/de/autogen/plugin_api/completions.txt index 82d606fda..0ce582e14 100644 --- a/doc/de/autogen/plugin_api/completions.txt +++ b/doc/de/autogen/plugin_api/completions.txt @@ -56,6 +56,12 @@ | ruby | ruby_script | Liste der Skripten +| script | script_files | files in script directories + +| script | script_scripts | list of scripts in repository + +| script | script_scripts_installed | list of scripts installed (from repository) + | tcl | tcl_script | Liste der Skripten | weechat | bars_names | Namen der Infobars diff --git a/doc/de/autogen/plugin_api/hdata.txt b/doc/de/autogen/plugin_api/hdata.txt index 73e63df00..7a639fae7 100644 --- a/doc/de/autogen/plugin_api/hdata.txt +++ b/doc/de/autogen/plugin_api/hdata.txt @@ -257,6 +257,33 @@ 'last_script' + 'scripts' +| script | script_script | scripts from repository | + 'name' (string) + + 'name_with_extension' (string) + + 'language' (integer) + + 'author' (string) + + 'mail' (string) + + 'version' (string) + + 'license' (string) + + 'description' (string) + + 'tags' (string) + + 'requirements' (string) + + 'min_weechat' (string) + + 'max_weechat' (string) + + 'md5sum' (string) + + 'url' (string) + + 'popularity' (integer) + + 'date_added' (time) + + 'date_updated' (time) + + 'status' (integer) + + 'version_loaded' (string) + + 'displayed' (integer) + + 'install_order' (integer) + + 'prev_script' (pointer, hdata: 'script_script') + + 'next_script' (pointer, hdata: 'script_script') | + 'last_repo_script' + + 'repo_scripts' + | tcl | tcl_script | Liste der Skripten | 'filename' (string) + 'interpreter' (pointer) + diff --git a/doc/de/autogen/plugin_api/infolists.txt b/doc/de/autogen/plugin_api/infolists.txt index 703f82751..9e9d76de0 100644 --- a/doc/de/autogen/plugin_api/infolists.txt +++ b/doc/de/autogen/plugin_api/infolists.txt @@ -30,6 +30,8 @@ | ruby | ruby_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional) +| script | script_script | Liste der Skripten | Skript Pointer (optional) | script name with extension (can start or end with "*" as wildcard) (optional) + | tcl | tcl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional) | weechat | bar | Auflistung der Bars | Bar Pointer (optional) | Bar Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional) diff --git a/doc/de/autogen/user/script_commands.txt b/doc/de/autogen/user/script_commands.txt new file mode 100644 index 000000000..ab430e4bd --- /dev/null +++ b/doc/de/autogen/user/script_commands.txt @@ -0,0 +1,47 @@ +[[command_script_script]] +[command]*`script`* WeeChat scripts manager:: +........................................ +/script list + show