scripts: add configuration file for each script plugin

This commit is contained in:
Sébastien Helleu 2018-01-15 21:32:24 +01:00
parent ee79e11b15
commit 21e63e7958
113 changed files with 2032 additions and 354 deletions

View File

@ -27,6 +27,7 @@ New features::
* api: add hashtable with variables in plugin structure * api: add hashtable with variables in plugin structure
* irc: add server option "split_msg_max_length" * irc: add server option "split_msg_max_length"
* logger: add option logger.look.backlog_conditions (issue #1132) * logger: add option logger.look.backlog_conditions (issue #1132)
* scripts: add configuration file for each script plugin (_python.conf_, _perl.conf_, ...)
* scripts: add "eval" option in script commands and info "xxx_eval" (python, perl, ruby, lua and guile) (issue #128) * scripts: add "eval" option in script commands and info "xxx_eval" (python, perl, ruby, lua and guile) (issue #128)
* scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins (issue #1075) * scripts: add infos "xxx_interpreter" and "xxx_version" in script plugins (issue #1075)
* scripts: add option "version" in script commands (issue #1075) * scripts: add option "version" in script commands (issue #1075)

View File

@ -20,6 +20,27 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
[[v2.1]] [[v2.1]]
== Version 2.1 (under dev) == Version 2.1 (under dev)
[[v2.1_script_plugin_check_license]]
=== Option to check license of scripts loaded
A configuration file has been added for each script plugin: _python.conf_,
_perl.conf_, _ruby.conf_, ...
Therefore the option to check license of loaded scripts has been moved from
_plugins.var.<language>.check_license_ (type: string) to the plugin
configuration file (type: boolean, default is _off_).
List of options moved:
* _plugins.var.python.check_license_ (string) moved to _python.look.check_license_ (boolean)
* _plugins.var.perl.check_license_ (string) moved to _perl.look.check_license_ (boolean)
* _plugins.var.ruby.check_license_ (string) moved to _ruby.look.check_license_ (boolean)
* _plugins.var.lua.check_license_ (string) moved to _lua.look.check_license_ (boolean)
* _plugins.var.tcl.check_license_ (string) moved to _tcl.look.check_license_ (boolean)
* _plugins.var.guile.check_license_ (string) moved to _guile.look.check_license_ (boolean)
* _plugins.var.javascript.check_license_ (string) moved to _javascript.look.check_license_ (boolean)
* _plugins.var.php.check_license_ (string) moved to _php.look.check_license_ (boolean)
[[v2.1_option_name_completion]] [[v2.1_option_name_completion]]
=== Completion for /set and /help commands === Completion for /set and /help commands

View File

@ -74,26 +74,48 @@ $HOME/.weechat/charset.conf::
$HOME/.weechat/exec.conf:: $HOME/.weechat/exec.conf::
konfigurační soubor pro _exec_ plugin konfigurační soubor pro _exec_ plugin
// TRANSLATION MISSING
$HOME/.weechat/fifo.conf:: $HOME/.weechat/fifo.conf::
configuration file for _fifo_ plugin konfigurační soubor pro _fifo_ plugin
// TRANSLATION MISSING
$HOME/.weechat/fset.conf:: $HOME/.weechat/fset.conf::
configuration file for _fset_ plugin konfigurační soubor pro _fset_ plugin
$HOME/.weechat/guile.conf::
konfigurační soubor pro _guile_ plugin
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
konfigurační soubor pro _irc_ plugin konfigurační soubor pro _irc_ plugin
$HOME/.weechat/javascript.conf::
konfigurační soubor pro _javascript_ plugin
$HOME/.weechat/logger.conf:: $HOME/.weechat/logger.conf::
konfigurační soubor pro _logger_ plugin konfigurační soubor pro _logger_ plugin
$HOME/.weechat/lua.conf::
konfigurační soubor pro _lua_ plugin
$HOME/.weechat/perl.conf::
konfigurační soubor pro _perl_ plugin
$HOME/.weechat/php.conf::
konfigurační soubor pro _php_ plugin
$HOME/.weechat/python.conf::
konfigurační soubor pro _python_ plugin
$HOME/.weechat/relay.conf:: $HOME/.weechat/relay.conf::
konfigurační soubor pro _relay_ plugin konfigurační soubor pro _relay_ plugin
$HOME/.weechat/ruby.conf::
konfigurační soubor pro _ruby_ plugin
$HOME/.weechat/script.conf:: $HOME/.weechat/script.conf::
konfigurační soubor pro _script_ plugin konfigurační soubor pro _script_ plugin
$HOME/.weechat/tcl.conf::
konfigurační soubor pro _tcl_ plugin
$HOME/.weechat/trigger.conf:: $HOME/.weechat/trigger.conf::
konfigurační soubor pro _trigger_ plugin konfigurační soubor pro _trigger_ plugin

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_guile.look.check_license]] *guile.look.check_license*
** Beschreibung: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_javascript.look.check_license]] *javascript.look.check_license*
** Beschreibung: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_lua.look.check_license]] *lua.look.check_license*
** Beschreibung: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_perl.look.check_license]] *perl.look.check_license*
** Beschreibung: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_php.look.check_license]] *php.look.check_license*
** Beschreibung: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_python.look.check_license]] *python.look.check_license*
** Beschreibung: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_ruby.look.check_license]] *ruby.look.check_license*
** Beschreibung: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_tcl.look.check_license]] *tcl.look.check_license*
** Beschreibung: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`

View File

@ -79,18 +79,42 @@ $HOME/.weechat/fifo.conf::
$HOME/.weechat/fset.conf:: $HOME/.weechat/fset.conf::
Konfigurationsdatei für _fset_ Erweiterung Konfigurationsdatei für _fset_ Erweiterung
$HOME/.weechat/guile.conf::
Konfigurationsdatei für _guile_ Erweiterung
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
Konfigurationsdatei für _irc_ Erweiterung Konfigurationsdatei für _irc_ Erweiterung
$HOME/.weechat/javascript.conf::
Konfigurationsdatei für _javascript_ Erweiterung
$HOME/.weechat/logger.conf:: $HOME/.weechat/logger.conf::
Konfigurationsdatei für _logger_ Erweiterung Konfigurationsdatei für _logger_ Erweiterung
$HOME/.weechat/lua.conf::
Konfigurationsdatei für _lua_ Erweiterung
$HOME/.weechat/perl.conf::
Konfigurationsdatei für _perl_ Erweiterung
$HOME/.weechat/php.conf::
Konfigurationsdatei für _php_ Erweiterung
$HOME/.weechat/python.conf::
Konfigurationsdatei für _python_ Erweiterung
$HOME/.weechat/relay.conf:: $HOME/.weechat/relay.conf::
Konfigurationsdatei für _relay_ Erweiterung Konfigurationsdatei für _relay_ Erweiterung
$HOME/.weechat/ruby.conf::
Konfigurationsdatei für _ruby_ Erweiterung
$HOME/.weechat/script.conf:: $HOME/.weechat/script.conf::
Konfigurationsdatei für _script_ Erweiterung Konfigurationsdatei für _script_ Erweiterung
$HOME/.weechat/tcl.conf::
Konfigurationsdatei für _tcl_ Erweiterung
$HOME/.weechat/trigger.conf:: $HOME/.weechat/trigger.conf::
Konfigurationsdatei für _trigger_ Erweiterung Konfigurationsdatei für _trigger_ Erweiterung

View File

@ -575,10 +575,18 @@ Folgende Dateien befinden sich im WeeChat-Heimatverzeichnis:
| exec.conf | Konfiguration für _exec_-Erweiterung | Nein. | exec.conf | Konfiguration für _exec_-Erweiterung | Nein.
| fifo.conf | Konfiguration für _fifo_-Erweiterung | Nein. | fifo.conf | Konfiguration für _fifo_-Erweiterung | Nein.
| fset.conf | Konfiguration für _fset_-Erweiterung | Nein. | fset.conf | Konfiguration für _fset_-Erweiterung | Nein.
| guile.conf | Konfiguration für _guile_-Erweiterung | Nein.
| irc.conf | Konfiguration für _irc_-Erweiterung | *Ja*: Datei kann Passwörter für Server, Nickserv oder Channels enthalten (sofern diese nicht in `sec.conf` gesichert sind). | irc.conf | Konfiguration für _irc_-Erweiterung | *Ja*: Datei kann Passwörter für Server, Nickserv oder Channels enthalten (sofern diese nicht in `sec.conf` gesichert sind).
| javascript.conf | Konfiguration für _javascript_-Erweiterung | Nein.
| logger.conf | Konfiguration für _logger_-Erweiterung | Nein. | logger.conf | Konfiguration für _logger_-Erweiterung | Nein.
| lua.conf | Konfiguration für _lua_-Erweiterung | Nein.
| perl.conf | Konfiguration für _perl_-Erweiterung | Nein.
| php.conf | Konfiguration für _php_-Erweiterung | Nein.
| python.conf | Konfiguration für _python_-Erweiterung | Nein.
| relay.conf | Konfiguration für _relay_-Erweiterung | Nein. | relay.conf | Konfiguration für _relay_-Erweiterung | Nein.
| ruby.conf | Konfiguration für _ruby_-Erweiterung | Nein.
| script.conf | Konfiguration für _script_-Erweiterung | Nein. | script.conf | Konfiguration für _script_-Erweiterung | Nein.
| tcl.conf | Konfiguration für _tcl_-Erweiterung | Nein.
| trigger.conf | Konfiguration für _trigger_-Erweiterung | möglich, hängt von den Triggern ab. | trigger.conf | Konfiguration für _trigger_-Erweiterung | möglich, hängt von den Triggern ab.
| xfer.conf | Konfiguration für _xfer_-Erweiterung | Nein. | xfer.conf | Konfiguration für _xfer_-Erweiterung | Nein.
| weechat.log | WeeChat Logdateien | Nein. | weechat.log | WeeChat Logdateien | Nein.
@ -3425,6 +3433,126 @@ Optionen:
include::autogen/user/script_options.adoc[] include::autogen/user/script_options.adoc[]
[[python_options]]
==== Python Optionen
Sektionen in Datei _python.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| look | /set python.look.* | Erscheinungsbild.
|===
Optionen:
include::autogen/user/python_options.adoc[]
[[perl_options]]
==== Perl Optionen
Sektionen in Datei _perl.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| look | /set perl.look.* | Erscheinungsbild.
|===
Optionen:
include::autogen/user/perl_options.adoc[]
[[ruby_options]]
==== Ruby Optionen
Sektionen in Datei _ruby.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| look | /set ruby.look.* | Erscheinungsbild.
|===
Optionen:
include::autogen/user/ruby_options.adoc[]
[[lua_options]]
==== Lua Optionen
Sektionen in Datei _lua.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| look | /set lua.look.* | Erscheinungsbild.
|===
Optionen:
include::autogen/user/lua_options.adoc[]
[[tcl_options]]
==== Tcl Optionen
Sektionen in Datei _tcl.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| look | /set tcl.look.* | Erscheinungsbild.
|===
Optionen:
include::autogen/user/tcl_options.adoc[]
[[guile_options]]
==== Guile Optionen
Sektionen in Datei _guile.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| look | /set guile.look.* | Erscheinungsbild.
|===
Optionen:
include::autogen/user/guile_options.adoc[]
[[javascript_options]]
==== Javascript Optionen
Sektionen in Datei _javascript.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| look | /set javascript.look.* | Erscheinungsbild.
|===
Optionen:
include::autogen/user/javascript_options.adoc[]
[[php_options]]
==== PHP Optionen
Sektionen in Datei _php.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| look | /set php.look.* | Erscheinungsbild.
|===
Optionen:
include::autogen/user/php_options.adoc[]
[[trigger_plugin]] [[trigger_plugin]]
=== Trigger === Trigger

View File

@ -99,14 +99,14 @@ PLUGIN_LIST = {
'logger': 'o', 'logger': 'o',
'relay': 'o', 'relay': 'o',
'script': 'o', 'script': 'o',
'perl': '', 'perl': 'o',
'python': '', 'python': 'o',
'ruby': '', 'ruby': 'o',
'lua': '', 'lua': 'o',
'tcl': '', 'tcl': 'o',
'guile': '', 'guile': 'o',
'javascript': '', 'javascript': 'o',
'php': '', 'php': 'o',
'trigger': 'o', 'trigger': 'o',
'xfer': 'co', 'xfer': 'co',
} }

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_guile.look.check_license]] *guile.look.check_license*
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** type: boolean
** values: on, off
** default value: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_javascript.look.check_license]] *javascript.look.check_license*
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** type: boolean
** values: on, off
** default value: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_lua.look.check_license]] *lua.look.check_license*
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** type: boolean
** values: on, off
** default value: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_perl.look.check_license]] *perl.look.check_license*
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** type: boolean
** values: on, off
** default value: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_php.look.check_license]] *php.look.check_license*
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** type: boolean
** values: on, off
** default value: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_python.look.check_license]] *python.look.check_license*
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** type: boolean
** values: on, off
** default value: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_ruby.look.check_license]] *ruby.look.check_license*
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** type: boolean
** values: on, off
** default value: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_tcl.look.check_license]] *tcl.look.check_license*
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** type: boolean
** values: on, off
** default value: `+off+`

View File

@ -79,18 +79,42 @@ $HOME/.weechat/fifo.conf::
$HOME/.weechat/fset.conf:: $HOME/.weechat/fset.conf::
configuration file for _fset_ plugin configuration file for _fset_ plugin
$HOME/.weechat/guile.conf::
configuration file for _guile_ plugin
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
configuration file for _irc_ plugin configuration file for _irc_ plugin
$HOME/.weechat/javascript.conf::
configuration file for _javascript_ plugin
$HOME/.weechat/logger.conf:: $HOME/.weechat/logger.conf::
configuration file for _logger_ plugin configuration file for _logger_ plugin
$HOME/.weechat/lua.conf::
configuration file for _lua_ plugin
$HOME/.weechat/perl.conf::
configuration file for _perl_ plugin
$HOME/.weechat/php.conf::
configuration file for _php_ plugin
$HOME/.weechat/python.conf::
configuration file for _python_ plugin
$HOME/.weechat/relay.conf:: $HOME/.weechat/relay.conf::
configuration file for _relay_ plugin configuration file for _relay_ plugin
$HOME/.weechat/ruby.conf::
configuration file for _ruby_ plugin
$HOME/.weechat/script.conf:: $HOME/.weechat/script.conf::
configuration file for _script_ plugin configuration file for _script_ plugin
$HOME/.weechat/tcl.conf::
configuration file for _tcl_ plugin
$HOME/.weechat/trigger.conf:: $HOME/.weechat/trigger.conf::
configuration file for _trigger_ plugin configuration file for _trigger_ plugin

View File

@ -183,6 +183,7 @@ WeeChat "core" is located in following directories:
|    plugin-config.c | Plugin configuration options (file plugins.conf). |    plugin-config.c | Plugin configuration options (file plugins.conf).
|    plugin-script.c | Common functions used by script plugins. |    plugin-script.c | Common functions used by script plugins.
|    plugin-script-api.c | Script API functions: wrappers around some plugin API functions. |    plugin-script-api.c | Script API functions: wrappers around some plugin API functions.
|    plugin-script-config.c | Script plugin configuration options (files python.conf, perl.conf, ...).
|    weechat-plugin.h | Header designed to be distributed with WeeChat plugins, in order to compile them. |    weechat-plugin.h | Header designed to be distributed with WeeChat plugins, in order to compile them.
|    alias/ | Alias plugin. |    alias/ | Alias plugin.
|       alias.c | Main alias functions. |       alias.c | Main alias functions.

View File

@ -567,10 +567,18 @@ The files in the WeeChat home directory are:
| exec.conf | Configuration file for _exec_ plugin | No. | exec.conf | Configuration file for _exec_ plugin | No.
| fifo.conf | Configuration file for _fifo_ plugin | No. | fifo.conf | Configuration file for _fifo_ plugin | No.
| fset.conf | Configuration file for _fset_ plugin | No. | fset.conf | Configuration file for _fset_ plugin | No.
| guile.conf | Configuration file for _guile_ plugin | No.
| irc.conf | Configuration file for _irc_ plugin | *Yes*: it can contain passwords for servers, nickserv and channels (if not stored in `sec.conf`). | irc.conf | Configuration file for _irc_ plugin | *Yes*: it can contain passwords for servers, nickserv and channels (if not stored in `sec.conf`).
| javascript.conf | Configuration file for _javascript_ plugin | No.
| logger.conf | Configuration file for _logger_ plugin | No. | logger.conf | Configuration file for _logger_ plugin | No.
| lua.conf | Configuration file for _lua_ plugin | No.
| perl.conf | Configuration file for _perl_ plugin | No.
| php.conf | Configuration file for _php_ plugin | No.
| python.conf | Configuration file for _python_ plugin | No.
| relay.conf | Configuration file for _relay_ plugin | No. | relay.conf | Configuration file for _relay_ plugin | No.
| ruby.conf | Configuration file for _ruby_ plugin | No.
| script.conf | Configuration file for _script_ plugin | No. | script.conf | Configuration file for _script_ plugin | No.
| tcl.conf | Configuration file for _tcl_ plugin | No.
| trigger.conf | Configuration file for _trigger_ plugin | Possible, depends on triggers. | trigger.conf | Configuration file for _trigger_ plugin | Possible, depends on triggers.
| xfer.conf | Configuration file for _xfer_ plugin | No. | xfer.conf | Configuration file for _xfer_ plugin | No.
| weechat.log | WeeChat log file | No. | weechat.log | WeeChat log file | No.
@ -3346,6 +3354,126 @@ Options:
include::autogen/user/script_options.adoc[] include::autogen/user/script_options.adoc[]
[[python_options]]
==== Python options
Sections in file _python.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set python.look.* | Look and feel.
|===
Options:
include::autogen/user/python_options.adoc[]
[[perl_options]]
==== Perl options
Sections in file _perl.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set perl.look.* | Look and feel.
|===
Options:
include::autogen/user/perl_options.adoc[]
[[ruby_options]]
==== Ruby options
Sections in file _ruby.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set ruby.look.* | Look and feel.
|===
Options:
include::autogen/user/ruby_options.adoc[]
[[lua_options]]
==== Lua options
Sections in file _lua.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set lua.look.* | Look and feel.
|===
Options:
include::autogen/user/lua_options.adoc[]
[[tcl_options]]
==== Tcl options
Sections in file _tcl.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set tcl.look.* | Look and feel.
|===
Options:
include::autogen/user/tcl_options.adoc[]
[[guile_options]]
==== Guile options
Sections in file _guile.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set guile.look.* | Look and feel.
|===
Options:
include::autogen/user/guile_options.adoc[]
[[javascript_options]]
==== Javascript options
Sections in file _javascript.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set javascript.look.* | Look and feel.
|===
Options:
include::autogen/user/javascript_options.adoc[]
[[php_options]]
==== PHP options
Sections in file _php.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set php.look.* | Look and feel.
|===
Options:
include::autogen/user/php_options.adoc[]
[[trigger_plugin]] [[trigger_plugin]]
=== Trigger === Trigger

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_guile.look.check_license]] *guile.look.check_license*
** description: pass:none[vérifier la licence des scripts quand ils sont chargés : si la licence est différente de la licence de l'extension, un avertissement est affiché]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_javascript.look.check_license]] *javascript.look.check_license*
** description: pass:none[vérifier la licence des scripts quand ils sont chargés : si la licence est différente de la licence de l'extension, un avertissement est affiché]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_lua.look.check_license]] *lua.look.check_license*
** description: pass:none[vérifier la licence des scripts quand ils sont chargés : si la licence est différente de la licence de l'extension, un avertissement est affiché]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_perl.look.check_license]] *perl.look.check_license*
** description: pass:none[vérifier la licence des scripts quand ils sont chargés : si la licence est différente de la licence de l'extension, un avertissement est affiché]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_php.look.check_license]] *php.look.check_license*
** description: pass:none[vérifier la licence des scripts quand ils sont chargés : si la licence est différente de la licence de l'extension, un avertissement est affiché]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_python.look.check_license]] *python.look.check_license*
** description: pass:none[vérifier la licence des scripts quand ils sont chargés : si la licence est différente de la licence de l'extension, un avertissement est affiché]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_ruby.look.check_license]] *ruby.look.check_license*
** description: pass:none[vérifier la licence des scripts quand ils sont chargés : si la licence est différente de la licence de l'extension, un avertissement est affiché]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_tcl.look.check_license]] *tcl.look.check_license*
** description: pass:none[vérifier la licence des scripts quand ils sont chargés : si la licence est différente de la licence de l'extension, un avertissement est affiché]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`

View File

@ -81,18 +81,42 @@ $HOME/.weechat/fifo.conf::
$HOME/.weechat/fset.conf:: $HOME/.weechat/fset.conf::
fichier de configuration pour l'extension _fset_ fichier de configuration pour l'extension _fset_
$HOME/.weechat/guile.conf::
fichier de configuration pour l'extension _guile_
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
fichier de configuration pour l'extension _irc_ fichier de configuration pour l'extension _irc_
$HOME/.weechat/javascript.conf::
fichier de configuration pour l'extension _javascript_
$HOME/.weechat/logger.conf:: $HOME/.weechat/logger.conf::
fichier de configuration pour l'extension _logger_ fichier de configuration pour l'extension _logger_
$HOME/.weechat/lua.conf::
fichier de configuration pour l'extension _lua_
$HOME/.weechat/perl.conf::
fichier de configuration pour l'extension _perl_
$HOME/.weechat/php.conf::
fichier de configuration pour l'extension _php_
$HOME/.weechat/python.conf::
fichier de configuration pour l'extension _python_
$HOME/.weechat/relay.conf:: $HOME/.weechat/relay.conf::
fichier de configuration pour l'extension _relay_ fichier de configuration pour l'extension _relay_
$HOME/.weechat/ruby.conf::
fichier de configuration pour l'extension _ruby_
$HOME/.weechat/script.conf:: $HOME/.weechat/script.conf::
fichier de configuration pour l'extension _script_ fichier de configuration pour l'extension _script_
$HOME/.weechat/tcl.conf::
fichier de configuration pour l'extension _tcl_
$HOME/.weechat/trigger.conf:: $HOME/.weechat/trigger.conf::
fichier de configuration pour l'extension _trigger_ fichier de configuration pour l'extension _trigger_

View File

@ -185,6 +185,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|    plugin-config.c | Options de configuration des extensions (fichier plugins.conf). |    plugin-config.c | Options de configuration des extensions (fichier plugins.conf).
|    plugin-script.c | Fonctions communes utilisés par les extensions pour les scripts. |    plugin-script.c | Fonctions communes utilisés par les extensions pour les scripts.
|    plugin-script-api.c | Fonctions pour l'API script : enveloppes autour de quelques fonctions de l'API extension. |    plugin-script-api.c | Fonctions pour l'API script : enveloppes autour de quelques fonctions de l'API extension.
|    plugin-script-config.c | Options de configuration des extensions pour les scripts (fichiers python.conf, perl.conf, ...).
|    weechat-plugin.h | En-tête destiné à être distribué avec les extensions WeeChat, pour les compiler. |    weechat-plugin.h | En-tête destiné à être distribué avec les extensions WeeChat, pour les compiler.
|    alias/ | Extension Alias. |    alias/ | Extension Alias.
|       alias.c | Fonctions principales pour les alias. |       alias.c | Fonctions principales pour les alias.

View File

@ -579,10 +579,18 @@ Les fichiers dans le répertoire principal de WeeChat sont :
| exec.conf | Fichier de configuration de l'extension _exec_ | Non. | exec.conf | Fichier de configuration de l'extension _exec_ | Non.
| fifo.conf | Fichier de configuration de l'extension _fifo_ | Non. | fifo.conf | Fichier de configuration de l'extension _fifo_ | Non.
| fset.conf | Fichier de configuration de l'extension _fset_ | Non. | fset.conf | Fichier de configuration de l'extension _fset_ | Non.
| guile.conf | Fichier de configuration de l'extension _guile_ | Non.
| irc.conf | Fichier de configuration de l'extension _irc_ | *Oui*: il peut contenir des mots de passes pour les serveurs, nickserv et les canaux (si non stockés dans `sec.conf`). | irc.conf | Fichier de configuration de l'extension _irc_ | *Oui*: il peut contenir des mots de passes pour les serveurs, nickserv et les canaux (si non stockés dans `sec.conf`).
| javascript.conf | Fichier de configuration de l'extension _javascript_ | Non.
| logger.conf | Fichier de configuration de l'extension _logger_ | Non. | logger.conf | Fichier de configuration de l'extension _logger_ | Non.
| lua.conf | Fichier de configuration de l'extension _lua_ | Non.
| perl.conf | Fichier de configuration de l'extension _perl_ | Non.
| php.conf | Fichier de configuration de l'extension _php_ | Non.
| python.conf | Fichier de configuration de l'extension _python_ | Non.
| relay.conf | Fichier de configuration de l'extension _relay_ | Non. | relay.conf | Fichier de configuration de l'extension _relay_ | Non.
| ruby.conf | Fichier de configuration de l'extension _ruby_ | Non.
| script.conf | Fichier de configuration de l'extension _script_ | Non. | script.conf | Fichier de configuration de l'extension _script_ | Non.
| tcl.conf | Fichier de configuration de l'extension _tcl_ | Non.
| trigger.conf | Fichier de configuration de l'extension _trigger_ | Possible, cela dépend des triggers. | trigger.conf | Fichier de configuration de l'extension _trigger_ | Possible, cela dépend des triggers.
| xfer.conf | Fichier de configuration de l'extension _xfer_ | Non. | xfer.conf | Fichier de configuration de l'extension _xfer_ | Non.
| weechat.log | Fichier de log WeeChat | Non. | weechat.log | Fichier de log WeeChat | Non.
@ -3456,6 +3464,126 @@ Options :
include::autogen/user/script_options.adoc[] include::autogen/user/script_options.adoc[]
[[python_options]]
==== Options Python
Sections dans le fichier _python.conf_ :
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Commande de contrôle | Description
| look | /set python.look.* | Aspect/présentation.
|===
Options :
include::autogen/user/python_options.adoc[]
[[perl_options]]
==== Options Perl
Sections dans le fichier _perl.conf_ :
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Commande de contrôle | Description
| look | /set perl.look.* | Aspect/présentation.
|===
Options :
include::autogen/user/perl_options.adoc[]
[[ruby_options]]
==== Options Ruby
Sections dans le fichier _ruby.conf_ :
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Commande de contrôle | Description
| look | /set ruby.look.* | Aspect/présentation.
|===
Options :
include::autogen/user/ruby_options.adoc[]
[[lua_options]]
==== Options Lua
Sections dans le fichier _lua.conf_ :
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Commande de contrôle | Description
| look | /set lua.look.* | Aspect/présentation.
|===
Options :
include::autogen/user/lua_options.adoc[]
[[tcl_options]]
==== Options Tcl
Sections dans le fichier _tcl.conf_ :
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Commande de contrôle | Description
| look | /set tcl.look.* | Aspect/présentation.
|===
Options :
include::autogen/user/tcl_options.adoc[]
[[guile_options]]
==== Options Guile
Sections dans le fichier _guile.conf_ :
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Commande de contrôle | Description
| look | /set guile.look.* | Aspect/présentation.
|===
Options :
include::autogen/user/guile_options.adoc[]
[[javascript_options]]
==== Options Javascript
Sections dans le fichier _javascript.conf_ :
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Commande de contrôle | Description
| look | /set javascript.look.* | Aspect/présentation.
|===
Options :
include::autogen/user/javascript_options.adoc[]
[[php_options]]
==== Options PHP
Sections dans le fichier _php.conf_ :
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Commande de contrôle | Description
| look | /set php.look.* | Aspect/présentation.
|===
Options :
include::autogen/user/php_options.adoc[]
[[trigger_plugin]] [[trigger_plugin]]
=== Trigger === Trigger

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_guile.look.check_license]] *guile.look.check_license*
** descrizione: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_javascript.look.check_license]] *javascript.look.check_license*
** descrizione: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_lua.look.check_license]] *lua.look.check_license*
** descrizione: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_perl.look.check_license]] *perl.look.check_license*
** descrizione: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_php.look.check_license]] *php.look.check_license*
** descrizione: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_python.look.check_license]] *python.look.check_license*
** descrizione: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_ruby.look.check_license]] *ruby.look.check_license*
** descrizione: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_tcl.look.check_license]] *tcl.look.check_license*
** descrizione: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`

View File

@ -83,18 +83,42 @@ $HOME/.weechat/fifo.conf::
$HOME/.weechat/fset.conf:: $HOME/.weechat/fset.conf::
configuration file for _fset_ plugin configuration file for _fset_ plugin
$HOME/.weechat/guile.conf::
configuration file for _guile_ plugin
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
configuration file for _irc_ plugin configuration file for _irc_ plugin
$HOME/.weechat/javascript.conf::
configuration file for _javascript_ plugin
$HOME/.weechat/logger.conf:: $HOME/.weechat/logger.conf::
configuration file for _logger_ plugin configuration file for _logger_ plugin
$HOME/.weechat/lua.conf::
configuration file for _lua_ plugin
$HOME/.weechat/perl.conf::
configuration file for _perl_ plugin
$HOME/.weechat/php.conf::
configuration file for _php_ plugin
$HOME/.weechat/python.conf::
configuration file for _python_ plugin
$HOME/.weechat/relay.conf:: $HOME/.weechat/relay.conf::
configuration file for _relay_ plugin configuration file for _relay_ plugin
$HOME/.weechat/ruby.conf::
configuration file for _ruby_ plugin
$HOME/.weechat/script.conf:: $HOME/.weechat/script.conf::
configuration file for _script_ plugin configuration file for _script_ plugin
$HOME/.weechat/tcl.conf::
configuration file for _tcl_ plugin
$HOME/.weechat/trigger.conf:: $HOME/.weechat/trigger.conf::
configuration file for _trigger_ plugin configuration file for _trigger_ plugin

View File

@ -612,10 +612,18 @@ The files in the WeeChat home directory are:
| exec.conf | Configuration file for _exec_ plugin | No. | exec.conf | Configuration file for _exec_ plugin | No.
| fifo.conf | Configuration file for _fifo_ plugin | No. | fifo.conf | Configuration file for _fifo_ plugin | No.
| fset.conf | Configuration file for _fset_ plugin | No. | fset.conf | Configuration file for _fset_ plugin | No.
| guile.conf | Configuration file for _guile_ plugin | No.
| irc.conf | Configuration file for _irc_ plugin | *Yes*: it can contain passwords for servers, nickserv and channels (if not stored in `sec.conf`). | irc.conf | Configuration file for _irc_ plugin | *Yes*: it can contain passwords for servers, nickserv and channels (if not stored in `sec.conf`).
| javascript.conf | Configuration file for _javascript_ plugin | No.
| logger.conf | Configuration file for _logger_ plugin | No. | logger.conf | Configuration file for _logger_ plugin | No.
| lua.conf | Configuration file for _lua_ plugin | No.
| perl.conf | Configuration file for _perl_ plugin | No.
| php.conf | Configuration file for _php_ plugin | No.
| python.conf | Configuration file for _python_ plugin | No.
| relay.conf | Configuration file for _relay_ plugin | No. | relay.conf | Configuration file for _relay_ plugin | No.
| ruby.conf | Configuration file for _ruby_ plugin | No.
| script.conf | Configuration file for _script_ plugin | No. | script.conf | Configuration file for _script_ plugin | No.
| tcl.conf | Configuration file for _tcl_ plugin | No.
| trigger.conf | Configuration file for _trigger_ plugin | Possible, depends on triggers. | trigger.conf | Configuration file for _trigger_ plugin | Possible, depends on triggers.
| xfer.conf | Configuration file for _xfer_ plugin | No. | xfer.conf | Configuration file for _xfer_ plugin | No.
| weechat.log | WeeChat log file | No. | weechat.log | WeeChat log file | No.
@ -3570,6 +3578,158 @@ Options:
include::autogen/user/script_options.adoc[] include::autogen/user/script_options.adoc[]
// TRANSLATION MISSING
[[python_options]]
==== Python options
// TRANSLATION MISSING
Sections in file _python.conf_:
// TRANSLATION MISSING
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set python.look.* | Look and feel.
|===
// TRANSLATION MISSING
Options:
include::autogen/user/python_options.adoc[]
// TRANSLATION MISSING
[[perl_options]]
==== Perl options
// TRANSLATION MISSING
Sections in file _perl.conf_:
// TRANSLATION MISSING
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set perl.look.* | Look and feel.
|===
// TRANSLATION MISSING
Options:
include::autogen/user/perl_options.adoc[]
// TRANSLATION MISSING
[[ruby_options]]
==== Ruby options
// TRANSLATION MISSING
Sections in file _ruby.conf_:
// TRANSLATION MISSING
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set ruby.look.* | Look and feel.
|===
// TRANSLATION MISSING
Options:
include::autogen/user/ruby_options.adoc[]
// TRANSLATION MISSING
[[lua_options]]
==== Lua options
// TRANSLATION MISSING
Sections in file _lua.conf_:
// TRANSLATION MISSING
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set lua.look.* | Look and feel.
|===
// TRANSLATION MISSING
Options:
include::autogen/user/lua_options.adoc[]
// TRANSLATION MISSING
[[tcl_options]]
==== Tcl options
// TRANSLATION MISSING
Sections in file _tcl.conf_:
// TRANSLATION MISSING
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set tcl.look.* | Look and feel.
|===
// TRANSLATION MISSING
Options:
include::autogen/user/tcl_options.adoc[]
// TRANSLATION MISSING
[[guile_options]]
==== Guile options
// TRANSLATION MISSING
Sections in file _guile.conf_:
// TRANSLATION MISSING
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set guile.look.* | Look and feel.
|===
// TRANSLATION MISSING
Options:
include::autogen/user/guile_options.adoc[]
// TRANSLATION MISSING
[[javascript_options]]
==== Javascript options
// TRANSLATION MISSING
Sections in file _javascript.conf_:
// TRANSLATION MISSING
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set javascript.look.* | Look and feel.
|===
// TRANSLATION MISSING
Options:
include::autogen/user/javascript_options.adoc[]
// TRANSLATION MISSING
[[php_options]]
==== PHP options
// TRANSLATION MISSING
Sections in file _php.conf_:
// TRANSLATION MISSING
[width="100%",cols="3m,6m,16",options="header"]
|===
| Section | Control command | Description
| look | /set php.look.* | Look and feel.
|===
// TRANSLATION MISSING
Options:
include::autogen/user/php_options.adoc[]
// TRANSLATION MISSING // TRANSLATION MISSING
[[trigger_plugin]] [[trigger_plugin]]
=== Trigger === Trigger

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_guile.look.check_license]] *guile.look.check_license*
** 説明: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_javascript.look.check_license]] *javascript.look.check_license*
** 説明: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_lua.look.check_license]] *lua.look.check_license*
** 説明: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_perl.look.check_license]] *perl.look.check_license*
** 説明: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_php.look.check_license]] *php.look.check_license*
** 説明: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_python.look.check_license]] *python.look.check_license*
** 説明: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_ruby.look.check_license]] *ruby.look.check_license*
** 説明: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_tcl.look.check_license]] *tcl.look.check_license*
** 説明: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`

View File

@ -79,18 +79,42 @@ $HOME/.weechat/fifo.conf::
$HOME/.weechat/fset.conf:: $HOME/.weechat/fset.conf::
_fset_ プラグイン用の設定ファイル _fset_ プラグイン用の設定ファイル
$HOME/.weechat/guile.conf::
_guile_ プラグイン用の設定ファイル
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
_irc_ プラグイン用の設定ファイル _irc_ プラグイン用の設定ファイル
$HOME/.weechat/javascript.conf::
_javascript_ プラグイン用の設定ファイル
$HOME/.weechat/logger.conf:: $HOME/.weechat/logger.conf::
_logger_ プラグイン用の設定ファイル _logger_ プラグイン用の設定ファイル
$HOME/.weechat/lua.conf::
_lua_ プラグイン用の設定ファイル
$HOME/.weechat/perl.conf::
_perl_ プラグイン用の設定ファイル
$HOME/.weechat/php.conf::
_php_ プラグイン用の設定ファイル
$HOME/.weechat/python.conf::
_python_ プラグイン用の設定ファイル
$HOME/.weechat/relay.conf:: $HOME/.weechat/relay.conf::
_relay_ プラグイン用の設定ファイル _relay_ プラグイン用の設定ファイル
$HOME/.weechat/ruby.conf::
_ruby_ プラグイン用の設定ファイル
$HOME/.weechat/script.conf:: $HOME/.weechat/script.conf::
_script_ プラグイン用の設定ファイル _script_ プラグイン用の設定ファイル
$HOME/.weechat/tcl.conf::
_tcl_ プラグイン用の設定ファイル
$HOME/.weechat/trigger.conf:: $HOME/.weechat/trigger.conf::
_trigger_ プラグイン用の設定ファイル _trigger_ プラグイン用の設定ファイル

View File

@ -189,6 +189,8 @@ WeeChat "core" は以下のディレクトリに配置されています:
|    plugin-config.c | プラグイン設定オプション (plugins.conf ファイル) |    plugin-config.c | プラグイン設定オプション (plugins.conf ファイル)
|    plugin-script.c | スクリプトプラグインの共用関数 |    plugin-script.c | スクリプトプラグインの共用関数
|    plugin-script-api.c | スクリプト API 関数: 一部のプラグイン API 関数のラッパー |    plugin-script-api.c | スクリプト API 関数: 一部のプラグイン API 関数のラッパー
// TRANSLATION MISSING
|    plugin-script-config.c | Script plugin configuration options (files python.conf, perl.conf, ...).
|    weechat-plugin.h | WeeChat プラグインと一緒に配布されるヘッダファイル、プラグインのコンパイルに必要 |    weechat-plugin.h | WeeChat プラグインと一緒に配布されるヘッダファイル、プラグインのコンパイルに必要
|    alias/ | alias プラグイン |    alias/ | alias プラグイン
|       alias.c | alias の主要関数 |       alias.c | alias の主要関数

View File

@ -570,10 +570,18 @@ WeeChat ホームディレクトリには以下のファイルが含まれます
| exec.conf | _exec_ プラグイン用の設定ファイル | 保護されません | exec.conf | _exec_ プラグイン用の設定ファイル | 保護されません
| fifo.conf | _fifo_ プラグイン用の設定ファイル | 保護されません | fifo.conf | _fifo_ プラグイン用の設定ファイル | 保護されません
| fset.conf | _fset_ プラグイン用の設定ファイル | 保護されません | fset.conf | _fset_ プラグイン用の設定ファイル | 保護されません
| guile.conf | _guile_ プラグイン用の設定ファイル | 保護されません
| irc.conf | _irc_ プラグイン用の設定ファイル | *保護されます*: サーバ、nickserv、チャンネルのパスワードを保存することが可能です (これらのデータが `sec.conf` に保存されない場合) | irc.conf | _irc_ プラグイン用の設定ファイル | *保護されます*: サーバ、nickserv、チャンネルのパスワードを保存することが可能です (これらのデータが `sec.conf` に保存されない場合)
| javascript.conf | _javascript_ プラグイン用の設定ファイル | 保護されません
| logger.conf | _logger_ プラグイン用の設定ファイル | 保護されません | logger.conf | _logger_ プラグイン用の設定ファイル | 保護されません
| lua.conf | _lua_ プラグイン用の設定ファイル | 保護されません
| perl.conf | _perl_ プラグイン用の設定ファイル | 保護されません
| php.conf | _php_ プラグイン用の設定ファイル | 保護されません
| python.conf | _python_ プラグイン用の設定ファイル | 保護されません
| relay.conf | _relay_ プラグイン用の設定ファイル | 保護されません | relay.conf | _relay_ プラグイン用の設定ファイル | 保護されません
| ruby.conf | _ruby_ プラグイン用の設定ファイル | 保護されません
| script.conf | _script_ プラグイン用の設定ファイル | 保護されません | script.conf | _script_ プラグイン用の設定ファイル | 保護されません
| tcl.conf | _tcl_ プラグイン用の設定ファイル | 保護されません
| trigger.conf | _trigger_ プラグイン用の設定ファイル | 保護される場合もあります、トリガに依存します | trigger.conf | _trigger_ プラグイン用の設定ファイル | 保護される場合もあります、トリガに依存します
| xfer.conf | _xfer_ プラグイン用の設定ファイル | 保護されません | xfer.conf | _xfer_ プラグイン用の設定ファイル | 保護されません
| weechat.log | WeeChat ログファイル | 保護されません | weechat.log | WeeChat ログファイル | 保護されません
@ -3340,6 +3348,134 @@ _script.conf_ ファイル内のセクション:
include::autogen/user/script_options.adoc[] include::autogen/user/script_options.adoc[]
// TRANSLATION MISSING
[[python_options]]
==== Python options
_python.conf_ ファイル内のセクション:
[width="100%",cols="3m,6m,16",options="header"]
|===
| セクション | 操作コマンド | 説明
| look | /set python.look.* | 外観
|===
オプション:
include::autogen/user/python_options.adoc[]
// TRANSLATION MISSING
[[perl_options]]
==== Perl options
_perl.conf_ ファイル内のセクション:
[width="100%",cols="3m,6m,16",options="header"]
|===
| セクション | 操作コマンド | 説明
| look | /set perl.look.* | 外観
|===
オプション:
include::autogen/user/perl_options.adoc[]
// TRANSLATION MISSING
[[ruby_options]]
==== Ruby options
_ruby.conf_ ファイル内のセクション:
[width="100%",cols="3m,6m,16",options="header"]
|===
| セクション | 操作コマンド | 説明
| look | /set ruby.look.* | 外観
|===
オプション:
include::autogen/user/ruby_options.adoc[]
// TRANSLATION MISSING
[[lua_options]]
==== Lua options
_lua.conf_ ファイル内のセクション:
[width="100%",cols="3m,6m,16",options="header"]
|===
| セクション | 操作コマンド | 説明
| look | /set lua.look.* | 外観
|===
オプション:
include::autogen/user/lua_options.adoc[]
// TRANSLATION MISSING
[[tcl_options]]
==== Tcl options
_tcl.conf_ ファイル内のセクション:
[width="100%",cols="3m,6m,16",options="header"]
|===
| セクション | 操作コマンド | 説明
| look | /set tcl.look.* | 外観
|===
オプション:
include::autogen/user/tcl_options.adoc[]
// TRANSLATION MISSING
[[guile_options]]
==== Guile options
_guile.conf_ ファイル内のセクション:
[width="100%",cols="3m,6m,16",options="header"]
|===
| セクション | 操作コマンド | 説明
| look | /set guile.look.* | 外観
|===
オプション:
include::autogen/user/guile_options.adoc[]
// TRANSLATION MISSING
[[javascript_options]]
==== Javascript options
_javascript.conf_ ファイル内のセクション:
[width="100%",cols="3m,6m,16",options="header"]
|===
| セクション | 操作コマンド | 説明
| look | /set javascript.look.* | 外観
|===
オプション:
include::autogen/user/javascript_options.adoc[]
// TRANSLATION MISSING
[[php_options]]
==== PHP options
_php.conf_ ファイル内のセクション:
[width="100%",cols="3m,6m,16",options="header"]
|===
| セクション | 操作コマンド | 説明
| look | /set php.look.* | 外観
|===
オプション:
include::autogen/user/php_options.adoc[]
[[trigger_plugin]] [[trigger_plugin]]
=== Trigger === Trigger

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_guile.look.check_license]] *guile.look.check_license*
** opis: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_javascript.look.check_license]] *javascript.look.check_license*
** opis: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_lua.look.check_license]] *lua.look.check_license*
** opis: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_perl.look.check_license]] *perl.look.check_license*
** opis: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_php.look.check_license]] *php.look.check_license*
** opis: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_python.look.check_license]] *python.look.check_license*
** opis: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_ruby.look.check_license]] *ruby.look.check_license*
** opis: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`

View File

@ -0,0 +1,9 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_tcl.look.check_license]] *tcl.look.check_license*
** opis: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`

View File

@ -80,18 +80,42 @@ $HOME/.weechat/fifo.conf::
$HOME/.weechat/fset.conf:: $HOME/.weechat/fset.conf::
plik konfiguracyjny wtyczki _fset_ plik konfiguracyjny wtyczki _fset_
$HOME/.weechat/guile.conf::
plik konfiguracyjny wtyczki _guile_
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
plik konfiguracyjny wtyczki _irc_ plik konfiguracyjny wtyczki _irc_
$HOME/.weechat/javascript.conf::
plik konfiguracyjny wtyczki _javascript_
$HOME/.weechat/logger.conf:: $HOME/.weechat/logger.conf::
plik konfiguracyjny wtyczki _logger_ plik konfiguracyjny wtyczki _logger_
$HOME/.weechat/lua.conf::
plik konfiguracyjny wtyczki _lua_
$HOME/.weechat/perl.conf::
plik konfiguracyjny wtyczki _perl_
$HOME/.weechat/php.conf::
plik konfiguracyjny wtyczki _php_
$HOME/.weechat/python.conf::
plik konfiguracyjny wtyczki _python_
$HOME/.weechat/relay.conf:: $HOME/.weechat/relay.conf::
plik konfiguracyjny wtyczki _relay_ plik konfiguracyjny wtyczki _relay_
$HOME/.weechat/ruby.conf::
plik konfiguracyjny wtyczki _ruby_
$HOME/.weechat/script.conf:: $HOME/.weechat/script.conf::
plik konfiguracyjny wtyczki _script_ plik konfiguracyjny wtyczki _script_
$HOME/.weechat/tcl.conf::
plik konfiguracyjny wtyczki _tcl_
$HOME/.weechat/trigger.conf:: $HOME/.weechat/trigger.conf::
plik konfiguracyjny wtyczki _trigger_ plik konfiguracyjny wtyczki _trigger_

View File

@ -574,10 +574,18 @@ Pliki tworzone w katalogu domowym WeeChat:
| exec.conf | Plik konfiguracyjny wtyczki _exec_ | Nie. | exec.conf | Plik konfiguracyjny wtyczki _exec_ | Nie.
| fifo.conf | Plik konfiguracyjny wtyczki _fifo_ | Nie. | fifo.conf | Plik konfiguracyjny wtyczki _fifo_ | Nie.
| fset.conf | Plik konfiguracyjny wtyczki _fset_ | Nie. | fset.conf | Plik konfiguracyjny wtyczki _fset_ | Nie.
| guile.conf | Plik konfiguracyjny wtyczki _guile_ | Nie.
| irc.conf | Plik konfiguracyjny wtyczki _irc_ | *Tak*: Może zawierać hasła dla serwerów, nickserva i kanałów (jeśli nie zostały zapisane w `sec.conf`). | irc.conf | Plik konfiguracyjny wtyczki _irc_ | *Tak*: Może zawierać hasła dla serwerów, nickserva i kanałów (jeśli nie zostały zapisane w `sec.conf`).
| javascript.conf | Plik konfiguracyjny wtyczki _javascript_ | Nie.
| logger.conf | Plik konfiguracyjny wtyczki _logger_ | Nie. | logger.conf | Plik konfiguracyjny wtyczki _logger_ | Nie.
| lua.conf | Plik konfiguracyjny wtyczki _lua_ | Nie.
| perl.conf | Plik konfiguracyjny wtyczki _perl_ | Nie.
| php.conf | Plik konfiguracyjny wtyczki _php_ | Nie.
| python.conf | Plik konfiguracyjny wtyczki _python_ | Nie.
| relay.conf | Plik konfiguracyjny wtyczki _relay_ | Nie. | relay.conf | Plik konfiguracyjny wtyczki _relay_ | Nie.
| ruby.conf | Plik konfiguracyjny wtyczki _ruby_ | Nie.
| script.conf | Plik konfiguracyjny wtyczki _script_ | Nie. | script.conf | Plik konfiguracyjny wtyczki _script_ | Nie.
| tcl.conf | Plik konfiguracyjny wtyczki _tcl_ | Nie.
| trigger.conf | Plik konfiguracyjny wtyczki _trigger_ | Możliwe, zależy od triggerów. | trigger.conf | Plik konfiguracyjny wtyczki _trigger_ | Możliwe, zależy od triggerów.
| xfer.conf | Plik konfiguracyjny wtyczki _xfer_ | Nie. | xfer.conf | Plik konfiguracyjny wtyczki _xfer_ | Nie.
| weechat.log | Plik z logami WeeChat | Nie. | weechat.log | Plik z logami WeeChat | Nie.
@ -3375,6 +3383,134 @@ Opcje:
include::autogen/user/script_options.adoc[] include::autogen/user/script_options.adoc[]
// TRANSLATION MISSING
[[python_options]]
==== Python options
Sekcje w pliku _python.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sekcja | Komenda | Opis
| look | /set python.look.* | Wygląd.
|===
Opcje:
include::autogen/user/python_options.adoc[]
// TRANSLATION MISSING
[[perl_options]]
==== Perl options
Sekcje w pliku _perl.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sekcja | Komenda | Opis
| look | /set perl.look.* | Wygląd.
|===
Opcje:
include::autogen/user/perl_options.adoc[]
// TRANSLATION MISSING
[[ruby_options]]
==== Ruby options
Sekcje w pliku _ruby.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sekcja | Komenda | Opis
| look | /set ruby.look.* | Wygląd.
|===
Opcje:
include::autogen/user/ruby_options.adoc[]
// TRANSLATION MISSING
[[lua_options]]
==== Lua options
Sekcje w pliku _lua.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sekcja | Komenda | Opis
| look | /set lua.look.* | Wygląd.
|===
Opcje:
include::autogen/user/lua_options.adoc[]
// TRANSLATION MISSING
[[tcl_options]]
==== Tcl options
Sekcje w pliku _tcl.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sekcja | Komenda | Opis
| look | /set tcl.look.* | Wygląd.
|===
Opcje:
include::autogen/user/tcl_options.adoc[]
// TRANSLATION MISSING
[[guile_options]]
==== Guile options
Sekcje w pliku _guile.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sekcja | Komenda | Opis
| look | /set guile.look.* | Wygląd.
|===
Opcje:
include::autogen/user/guile_options.adoc[]
// TRANSLATION MISSING
[[javascript_options]]
==== Javascript options
Sekcje w pliku _javascript.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sekcja | Komenda | Opis
| look | /set javascript.look.* | Wygląd.
|===
Opcje:
include::autogen/user/javascript_options.adoc[]
// TRANSLATION MISSING
[[php_options]]
==== PHP options
Sekcje w pliku _php.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sekcja | Komenda | Opis
| look | /set php.look.* | Wygląd.
|===
Opcje:
include::autogen/user/php_options.adoc[]
[[trigger_plugin]] [[trigger_plugin]]
=== Trigger === Trigger

View File

@ -64,9 +64,8 @@ $HOME/.weechat/alias.conf::
$HOME/.weechat/aspell.conf:: $HOME/.weechat/aspell.conf::
файл конфигурации для плагина _aspell_ файл конфигурации для плагина _aspell_
// TRANSLATION MISSING
$HOME/.weechat/buflist.conf:: $HOME/.weechat/buflist.conf::
configuration file for _buflist_ plugin файл конфигурации для плагина _buflist_
$HOME/.weechat/charset.conf:: $HOME/.weechat/charset.conf::
файл конфигурации для плагина _charset_ файл конфигурации для плагина _charset_
@ -74,26 +73,48 @@ $HOME/.weechat/charset.conf::
$HOME/.weechat/exec.conf:: $HOME/.weechat/exec.conf::
файл конфигурации для плагина _exec_ файл конфигурации для плагина _exec_
// TRANSLATION MISSING
$HOME/.weechat/fifo.conf:: $HOME/.weechat/fifo.conf::
configuration file for _fifo_ plugin файл конфигурации для плагина _fifo_
// TRANSLATION MISSING
$HOME/.weechat/fset.conf:: $HOME/.weechat/fset.conf::
configuration file for _fset_ plugin файл конфигурации для плагина _fset_
$HOME/.weechat/guile.conf::
файл конфигурации для плагина _guile_
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
файл конфигурации для плагина _irc_ файл конфигурации для плагина _irc_
$HOME/.weechat/javascript.conf::
файл конфигурации для плагина _javascript_
$HOME/.weechat/logger.conf:: $HOME/.weechat/logger.conf::
файл конфигурации для плагина _logger_ файл конфигурации для плагина _logger_
$HOME/.weechat/lua.conf::
файл конфигурации для плагина _lua_
$HOME/.weechat/perl.conf::
файл конфигурации для плагина _perl_
$HOME/.weechat/php.conf::
файл конфигурации для плагина _php_
$HOME/.weechat/python.conf::
файл конфигурации для плагина _python_
$HOME/.weechat/relay.conf:: $HOME/.weechat/relay.conf::
файл конфигурации для плагина _relay_ файл конфигурации для плагина _relay_
$HOME/.weechat/ruby.conf::
файл конфигурации для плагина _ruby_
$HOME/.weechat/script.conf:: $HOME/.weechat/script.conf::
файл конфигурации для плагина _script_ файл конфигурации для плагина _script_
$HOME/.weechat/tcl.conf::
файл конфигурации для плагина _tcl_
$HOME/.weechat/trigger.conf:: $HOME/.weechat/trigger.conf::
файл конфигурации для плагина _trigger_ файл конфигурации для плагина _trigger_

View File

@ -254,6 +254,8 @@
./src/plugins/plugin.h ./src/plugins/plugin.h
./src/plugins/plugin-script-api.c ./src/plugins/plugin-script-api.c
./src/plugins/plugin-script-api.h ./src/plugins/plugin-script-api.h
./src/plugins/plugin-script-config.c
./src/plugins/plugin-script-config.h
./src/plugins/plugin-script.c ./src/plugins/plugin-script.c
./src/plugins/plugin-script.h ./src/plugins/plugin-script.h
./src/plugins/python/weechat-python-api.c ./src/plugins/python/weechat-python-api.c

View File

@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-06 13:50+0100\n" "PO-Revision-Date: 2018-01-06 13:50+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -10245,6 +10245,11 @@ msgstr "Pluginy odebrány"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "popis volby pluginu" msgstr "popis volby pluginu"
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "seznam/načíst/odebrat skirpty" msgstr "seznam/načíst/odebrat skirpty"

View File

@ -23,7 +23,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-14 21:04+0100\n" "PO-Revision-Date: 2018-01-14 21:04+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n" "Language-Team: German <kde-i18n-de@kde.org>\n"
@ -12031,6 +12031,11 @@ msgstr "Erweiterungen wurden beendet"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "Beschreibung der Erweiterungsoption" msgstr "Beschreibung der Erweiterungsoption"
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "auflisten/installieren/beenden von Skripten" msgstr "auflisten/installieren/beenden von Skripten"

View File

@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-06 13:50+0100\n" "PO-Revision-Date: 2018-01-06 13:50+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -10583,6 +10583,11 @@ msgstr "Plugins descargados"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "descripción de la opción del plugin" msgstr "descripción de la opción del plugin"
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "listar/cargar/descargar scripts" msgstr "listar/cargar/descargar scripts"

View File

@ -21,8 +21,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-14 16:52+0100\n" "PO-Revision-Date: 2018-01-14 21:51+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n" "Language: fr\n"
@ -11761,6 +11761,13 @@ msgstr "Extensions déchargées"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "description de l'option d'extension" msgstr "description de l'option d'extension"
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
"vérifier la licence des scripts quand ils sont chargés : si la licence est "
"différente de la licence de l'extension, un avertissement est affiché"
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "lister/charger/décharger des scripts" msgstr "lister/charger/décharger des scripts"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-06 13:50+0100\n" "PO-Revision-Date: 2018-01-06 13:50+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -9615,6 +9615,11 @@ msgstr "Betöltött modulok:\n"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "" msgstr ""
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
#, fuzzy #, fuzzy
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "modulok listázása/betöltése/eltávolítása" msgstr "modulok listázása/betöltése/eltávolítása"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-06 13:50+0100\n" "PO-Revision-Date: 2018-01-06 13:50+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -10774,6 +10774,11 @@ msgstr "Plugin scaricati"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "descrizione dell'opzione del plugin" msgstr "descrizione dell'opzione del plugin"
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "elenca/carica/scarica script" msgstr "elenca/carica/scarica script"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-13 09:00+0900\n" "PO-Revision-Date: 2018-01-13 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@ -11303,6 +11303,11 @@ msgstr "プラグインがアンロードされました"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "プラグインオプションの説明" msgstr "プラグインオプションの説明"
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "スクリプトをリストアップ/ロード/アンロード" msgstr "スクリプトをリストアップ/ロード/アンロード"

View File

@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-06 13:50+0100\n" "PO-Revision-Date: 2018-01-06 13:50+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -11486,6 +11486,11 @@ msgstr "Wyładowano wtyczki"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "opis opcji wtyczki" msgstr "opis opcji wtyczki"
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "list/load/unload skrypt" msgstr "list/load/unload skrypt"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-06 13:50+0100\n" "PO-Revision-Date: 2018-01-06 13:50+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n" "Language-Team: Portuguese <>\n"
@ -11194,6 +11194,11 @@ msgstr "Plugins descarregados"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "descrição das opções do plugin" msgstr "descrição das opções do plugin"
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "listar/carregar/descarregar scripts" msgstr "listar/carregar/descarregar scripts"

View File

@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-06 13:50+0100\n" "PO-Revision-Date: 2018-01-06 13:50+0100\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n" "Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -10091,6 +10091,11 @@ msgstr "Plugins removidos"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "descrição da opção do plugin" msgstr "descrição da opção do plugin"
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "listar/carregar/descarregar scripts" msgstr "listar/carregar/descarregar scripts"

View File

@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2018-01-06 13:50+0100\n" "PO-Revision-Date: 2018-01-06 13:50+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -9651,6 +9651,11 @@ msgstr "Загруженные plugin'ы\n"
msgid "description of plugin option" msgid "description of plugin option"
msgstr "" msgstr ""
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
#, fuzzy #, fuzzy
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "перечислить/загрузить/выгрузить plugin'ы" msgstr "перечислить/загрузить/выгрузить plugin'ы"

View File

@ -255,6 +255,8 @@ SET(WEECHAT_SOURCES
./src/plugins/plugin.h ./src/plugins/plugin.h
./src/plugins/plugin-script-api.c ./src/plugins/plugin-script-api.c
./src/plugins/plugin-script-api.h ./src/plugins/plugin-script-api.h
./src/plugins/plugin-script-config.c
./src/plugins/plugin-script-config.h
./src/plugins/plugin-script.c ./src/plugins/plugin-script.c
./src/plugins/plugin-script.h ./src/plugins/plugin-script.h
./src/plugins/python/weechat-python-api.c ./src/plugins/python/weechat-python-api.c

View File

@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n" "PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n" "Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -8765,6 +8765,11 @@ msgstr ""
msgid "description of plugin option" msgid "description of plugin option"
msgstr "" msgstr ""
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "" msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-01-14 16:50+0100\n" "POT-Creation-Date: 2018-01-14 21:47+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -8646,6 +8646,11 @@ msgstr ""
msgid "description of plugin option" msgid "description of plugin option"
msgstr "" msgstr ""
msgid ""
"check the license of scripts when they are loaded: if the license is "
"different from the plugin license, a warning is displayed"
msgstr ""
msgid "list/load/unload scripts" msgid "list/load/unload scripts"
msgstr "" msgstr ""

View File

@ -26,7 +26,8 @@ plugin-config.h plugin-config.c)
set(LIB_PLUGINS_SCRIPTS_SRC set(LIB_PLUGINS_SCRIPTS_SRC
plugin-script.c plugin-script.h plugin-script.c plugin-script.h
plugin-script-api.c plugin-script-api.h) plugin-script-api.c plugin-script-api.h
plugin-script-config.c plugin-script-config.h)
include_directories(${CMAKE_BINARY_DIR}) include_directories(${CMAKE_BINARY_DIR})
add_library(weechat_plugins STATIC ${LIB_PLUGINS_SRC}) add_library(weechat_plugins STATIC ${LIB_PLUGINS_SRC})

View File

@ -35,7 +35,9 @@ noinst_LTLIBRARIES = lib_weechat_plugins_scripts.la
lib_weechat_plugins_scripts_la_SOURCES = plugin-script.c \ lib_weechat_plugins_scripts_la_SOURCES = plugin-script.c \
plugin-script.h \ plugin-script.h \
plugin-script-api.c \ plugin-script-api.c \
plugin-script-api.h plugin-script-api.h \
plugin-script-config.c \
plugin-script-config.h
if PLUGIN_ALIAS if PLUGIN_ALIAS
alias_dir = alias alias_dir = alias

View File

@ -185,7 +185,7 @@ weechat_guile_api_register (SCM name, SCM author, SCM version, SCM license,
/* register script */ /* register script */
guile_current_script = plugin_script_add (weechat_guile_plugin, guile_current_script = plugin_script_add (weechat_guile_plugin,
&guile_scripts, &last_guile_script, &guile_data,
(guile_current_script_filename) ? (guile_current_script_filename) ?
guile_current_script_filename : "", guile_current_script_filename : "",
API_SCM_TO_STRING(name), API_SCM_TO_STRING(name),

View File

@ -46,6 +46,11 @@ WEECHAT_PLUGIN_PRIORITY(4000);
struct t_weechat_plugin *weechat_guile_plugin = NULL; struct t_weechat_plugin *weechat_guile_plugin = NULL;
struct t_plugin_script_data guile_data;
struct t_config_file *guile_config_file = NULL;
struct t_config_option *guile_config_look_check_license = NULL;
int guile_quiet = 0; int guile_quiet = 0;
struct t_plugin_script *guile_script_eval = NULL; struct t_plugin_script *guile_script_eval = NULL;
@ -1137,7 +1142,6 @@ weechat_guile_port_write (SCM port, const void *data, size_t size)
int int
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{ {
struct t_plugin_script_init init;
char str_version[128]; char str_version[128];
weechat_guile_plugin = plugin; weechat_guile_plugin = plugin;
@ -1181,17 +1185,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
scm_c_use_module ("weechat"); scm_c_use_module ("weechat");
weechat_guile_catch (scm_gc_protect_object, (void *)guile_module_weechat); weechat_guile_catch (scm_gc_protect_object, (void *)guile_module_weechat);
init.callback_command = &weechat_guile_command_cb; guile_data.config_file = &guile_config_file;
init.callback_completion = &weechat_guile_completion_cb; guile_data.config_look_check_license = &guile_config_look_check_license;
init.callback_hdata = &weechat_guile_hdata_cb; guile_data.scripts = &guile_scripts;
init.callback_info_eval = &weechat_guile_info_eval_cb; guile_data.last_script = &last_guile_script;
init.callback_infolist = &weechat_guile_infolist_cb; guile_data.callback_command = &weechat_guile_command_cb;
init.callback_signal_debug_dump = &weechat_guile_signal_debug_dump_cb; guile_data.callback_completion = &weechat_guile_completion_cb;
init.callback_signal_script_action = &weechat_guile_signal_script_action_cb; guile_data.callback_hdata = &weechat_guile_hdata_cb;
init.callback_load_file = &weechat_guile_load_cb; guile_data.callback_info_eval = &weechat_guile_info_eval_cb;
guile_data.callback_infolist = &weechat_guile_infolist_cb;
guile_data.callback_signal_debug_dump = &weechat_guile_signal_debug_dump_cb;
guile_data.callback_signal_script_action = &weechat_guile_signal_script_action_cb;
guile_data.callback_load_file = &weechat_guile_load_cb;
guile_data.unload_all = &weechat_guile_unload_all;
guile_quiet = 1; guile_quiet = 1;
plugin_script_init (weechat_guile_plugin, argc, argv, &init); plugin_script_init (weechat_guile_plugin, argc, argv, &guile_data);
guile_quiet = 0; guile_quiet = 0;
plugin_script_display_short_list (weechat_guile_plugin, plugin_script_display_short_list (weechat_guile_plugin,
@ -1210,7 +1219,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
{ {
/* unload all scripts */ /* unload all scripts */
guile_quiet = 1; guile_quiet = 1;
plugin_script_end (plugin, &guile_scripts, &weechat_guile_unload_all); plugin_script_end (plugin, &guile_data);
if (guile_script_eval) if (guile_script_eval)
{ {
weechat_guile_unload (guile_script_eval); weechat_guile_unload (guile_script_eval);

View File

@ -27,6 +27,8 @@
extern struct t_weechat_plugin *weechat_guile_plugin; extern struct t_weechat_plugin *weechat_guile_plugin;
extern struct t_plugin_script_data guile_data;
extern int guile_quiet; extern int guile_quiet;
extern struct t_plugin_script *guile_scripts; extern struct t_plugin_script *guile_scripts;
extern struct t_plugin_script *last_guile_script; extern struct t_plugin_script *last_guile_script;

View File

@ -160,7 +160,7 @@ API_FUNC(register)
/* register script */ /* register script */
js_current_script = plugin_script_add (weechat_js_plugin, js_current_script = plugin_script_add (weechat_js_plugin,
&js_scripts, &last_js_script, &js_data,
(js_current_script_filename) ? (js_current_script_filename) ?
js_current_script_filename : "", js_current_script_filename : "",
*name, *author, *version, *name, *author, *version,

View File

@ -43,6 +43,11 @@ WEECHAT_PLUGIN_PRIORITY(4000);
struct t_weechat_plugin *weechat_js_plugin = NULL; struct t_weechat_plugin *weechat_js_plugin = NULL;
struct t_plugin_script_data js_data;
struct t_config_file *js_config_file = NULL;
struct t_config_option *js_config_look_check_license = NULL;
int js_quiet = 0; int js_quiet = 0;
struct t_plugin_script *js_script_eval = NULL; struct t_plugin_script *js_script_eval = NULL;
@ -899,7 +904,6 @@ weechat_js_signal_script_action_cb (const void *pointer, void *data,
EXPORT int EXPORT int
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{ {
struct t_plugin_script_init init;
char str_interpreter[64]; char str_interpreter[64];
weechat_js_plugin = plugin; weechat_js_plugin = plugin;
@ -912,17 +916,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_hashtable_set (plugin->variables, "interpreter_version", weechat_hashtable_set (plugin->variables, "interpreter_version",
v8::V8::GetVersion()); v8::V8::GetVersion());
init.callback_command = &weechat_js_command_cb; js_data.config_file = &js_config_file;
init.callback_completion = &weechat_js_completion_cb; js_data.config_look_check_license = &js_config_look_check_license;
init.callback_hdata = &weechat_js_hdata_cb; js_data.scripts = &js_scripts;
init.callback_info_eval = &weechat_js_info_eval_cb; js_data.last_script = &last_js_script;
init.callback_infolist = &weechat_js_infolist_cb; js_data.callback_command = &weechat_js_command_cb;
init.callback_signal_debug_dump = &weechat_js_signal_debug_dump_cb; js_data.callback_completion = &weechat_js_completion_cb;
init.callback_signal_script_action = &weechat_js_signal_script_action_cb; js_data.callback_hdata = &weechat_js_hdata_cb;
init.callback_load_file = &weechat_js_load_cb; js_data.callback_info_eval = &weechat_js_info_eval_cb;
js_data.callback_infolist = &weechat_js_infolist_cb;
js_data.callback_signal_debug_dump = &weechat_js_signal_debug_dump_cb;
js_data.callback_signal_script_action = &weechat_js_signal_script_action_cb;
js_data.callback_load_file = &weechat_js_load_cb;
js_data.unload_all = &weechat_js_unload_all;
js_quiet = 1; js_quiet = 1;
plugin_script_init (plugin, argc, argv, &init); plugin_script_init (plugin, argc, argv, &js_data);
js_quiet = 0; js_quiet = 0;
plugin_script_display_short_list (weechat_js_plugin, js_scripts); plugin_script_display_short_list (weechat_js_plugin, js_scripts);
@ -938,7 +947,7 @@ EXPORT int
weechat_plugin_end (struct t_weechat_plugin *plugin) weechat_plugin_end (struct t_weechat_plugin *plugin)
{ {
js_quiet = 1; js_quiet = 1;
plugin_script_end (plugin, &js_scripts, &weechat_js_unload_all); plugin_script_end (plugin, &js_data);
if (js_script_eval) if (js_script_eval)
{ {
weechat_js_unload (js_script_eval); weechat_js_unload (js_script_eval);

View File

@ -42,6 +42,8 @@ class WeechatJsV8;
extern struct t_weechat_plugin *weechat_js_plugin; extern struct t_weechat_plugin *weechat_js_plugin;
extern struct t_plugin_script_data js_data;
extern int js_quiet; extern int js_quiet;
extern struct t_plugin_script *js_scripts; extern struct t_plugin_script *js_scripts;
extern struct t_plugin_script *last_js_script; extern struct t_plugin_script *last_js_script;

View File

@ -149,7 +149,7 @@ API_FUNC(register)
/* register script */ /* register script */
lua_current_script = plugin_script_add (weechat_lua_plugin, lua_current_script = plugin_script_add (weechat_lua_plugin,
&lua_scripts, &last_lua_script, &lua_data,
(lua_current_script_filename) ? (lua_current_script_filename) ?
lua_current_script_filename : "", lua_current_script_filename : "",
name, name,

View File

@ -44,6 +44,11 @@ WEECHAT_PLUGIN_PRIORITY(4000);
struct t_weechat_plugin *weechat_lua_plugin = NULL; struct t_weechat_plugin *weechat_lua_plugin = NULL;
struct t_plugin_script_data lua_data;
struct t_config_file *lua_config_file = NULL;
struct t_config_option *lua_config_look_check_license = NULL;
int lua_quiet = 0; int lua_quiet = 0;
struct t_plugin_script *lua_script_eval = NULL; struct t_plugin_script *lua_script_eval = NULL;
@ -1193,8 +1198,6 @@ weechat_lua_signal_script_action_cb (const void *pointer, void *data,
int int
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{ {
struct t_plugin_script_init init;
weechat_lua_plugin = plugin; weechat_lua_plugin = plugin;
/* set interpreter name and version */ /* set interpreter name and version */
@ -1213,17 +1216,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
if (!lua_buffer_output) if (!lua_buffer_output)
return WEECHAT_RC_ERROR; return WEECHAT_RC_ERROR;
init.callback_command = &weechat_lua_command_cb; lua_data.config_file = &lua_config_file;
init.callback_completion = &weechat_lua_completion_cb; lua_data.config_look_check_license = &lua_config_look_check_license;
init.callback_hdata = &weechat_lua_hdata_cb; lua_data.scripts = &lua_scripts;
init.callback_info_eval = &weechat_lua_info_eval_cb; lua_data.last_script = &last_lua_script;
init.callback_infolist = &weechat_lua_infolist_cb; lua_data.callback_command = &weechat_lua_command_cb;
init.callback_signal_debug_dump = &weechat_lua_signal_debug_dump_cb; lua_data.callback_completion = &weechat_lua_completion_cb;
init.callback_signal_script_action = &weechat_lua_signal_script_action_cb; lua_data.callback_hdata = &weechat_lua_hdata_cb;
init.callback_load_file = &weechat_lua_load_cb; lua_data.callback_info_eval = &weechat_lua_info_eval_cb;
lua_data.callback_infolist = &weechat_lua_infolist_cb;
lua_data.callback_signal_debug_dump = &weechat_lua_signal_debug_dump_cb;
lua_data.callback_signal_script_action = &weechat_lua_signal_script_action_cb;
lua_data.callback_load_file = &weechat_lua_load_cb;
lua_data.unload_all = &weechat_lua_unload_all;
lua_quiet = 1; lua_quiet = 1;
plugin_script_init (weechat_lua_plugin, argc, argv, &init); plugin_script_init (weechat_lua_plugin, argc, argv, &lua_data);
lua_quiet = 0; lua_quiet = 0;
plugin_script_display_short_list (weechat_lua_plugin, plugin_script_display_short_list (weechat_lua_plugin,
@ -1242,7 +1250,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
{ {
/* unload all scripts */ /* unload all scripts */
lua_quiet = 1; lua_quiet = 1;
plugin_script_end (plugin, &lua_scripts, &weechat_lua_unload_all); plugin_script_end (plugin, &lua_data);
if (lua_script_eval) if (lua_script_eval)
{ {
weechat_lua_unload (lua_script_eval); weechat_lua_unload (lua_script_eval);

View File

@ -35,6 +35,8 @@ struct t_lua_const
extern struct t_weechat_plugin *weechat_lua_plugin; extern struct t_weechat_plugin *weechat_lua_plugin;
extern struct t_plugin_script_data lua_data;
extern int lua_quiet; extern int lua_quiet;
extern struct t_plugin_script *lua_scripts; extern struct t_plugin_script *lua_scripts;
extern struct t_plugin_script *last_lua_script; extern struct t_plugin_script *last_lua_script;

View File

@ -146,7 +146,7 @@ API_FUNC(register)
/* register script */ /* register script */
perl_current_script = plugin_script_add (weechat_perl_plugin, perl_current_script = plugin_script_add (weechat_perl_plugin,
&perl_scripts, &last_perl_script, &perl_data,
(perl_current_script_filename) ? (perl_current_script_filename) ?
perl_current_script_filename : "", perl_current_script_filename : "",
name, author, version, license, name, author, version, license,

View File

@ -41,6 +41,11 @@ WEECHAT_PLUGIN_PRIORITY(4000);
struct t_weechat_plugin *weechat_perl_plugin = NULL; struct t_weechat_plugin *weechat_perl_plugin = NULL;
struct t_plugin_script_data perl_data;
struct t_config_file *perl_config_file = NULL;
struct t_config_option *perl_config_look_check_license = NULL;
int perl_quiet = 0; int perl_quiet = 0;
struct t_plugin_script *perl_script_eval = NULL; struct t_plugin_script *perl_script_eval = NULL;
@ -1207,7 +1212,6 @@ weechat_perl_signal_quit_upgrade_cb (const void *pointer, void *data,
int int
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{ {
struct t_plugin_script_init init;
#ifdef PERL_SYS_INIT3 #ifdef PERL_SYS_INIT3
int a; int a;
char **perl_args_local; char **perl_args_local;
@ -1253,17 +1257,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
perl_args, NULL); perl_args, NULL);
#endif /* MULTIPLICITY */ #endif /* MULTIPLICITY */
init.callback_command = &weechat_perl_command_cb; perl_data.config_file = &perl_config_file;
init.callback_completion = &weechat_perl_completion_cb; perl_data.config_look_check_license = &perl_config_look_check_license;
init.callback_hdata = &weechat_perl_hdata_cb; perl_data.scripts = &perl_scripts;
init.callback_info_eval = &weechat_perl_info_eval_cb; perl_data.last_script = &last_perl_script;
init.callback_infolist = &weechat_perl_infolist_cb; perl_data.callback_command = &weechat_perl_command_cb;
init.callback_signal_debug_dump = &weechat_perl_signal_debug_dump_cb; perl_data.callback_completion = &weechat_perl_completion_cb;
init.callback_signal_script_action = &weechat_perl_signal_script_action_cb; perl_data.callback_hdata = &weechat_perl_hdata_cb;
init.callback_load_file = &weechat_perl_load_cb; perl_data.callback_info_eval = &weechat_perl_info_eval_cb;
perl_data.callback_infolist = &weechat_perl_infolist_cb;
perl_data.callback_signal_debug_dump = &weechat_perl_signal_debug_dump_cb;
perl_data.callback_signal_script_action = &weechat_perl_signal_script_action_cb;
perl_data.callback_load_file = &weechat_perl_load_cb;
perl_data.unload_all = &weechat_perl_unload_all;
perl_quiet = 1; perl_quiet = 1;
plugin_script_init (weechat_perl_plugin, argc, argv, &init); plugin_script_init (weechat_perl_plugin, argc, argv, &perl_data);
perl_quiet = 0; perl_quiet = 0;
plugin_script_display_short_list (weechat_perl_plugin, plugin_script_display_short_list (weechat_perl_plugin,
@ -1287,7 +1296,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
{ {
/* unload all scripts */ /* unload all scripts */
perl_quiet = 1; perl_quiet = 1;
plugin_script_end (plugin, &perl_scripts, &weechat_perl_unload_all); plugin_script_end (plugin, &perl_data);
if (perl_script_eval) if (perl_script_eval)
{ {
weechat_perl_unload (perl_script_eval); weechat_perl_unload (perl_script_eval);

View File

@ -27,6 +27,8 @@
extern struct t_weechat_plugin *weechat_perl_plugin; extern struct t_weechat_plugin *weechat_perl_plugin;
extern struct t_plugin_script_data perl_data;
extern int perl_quiet; extern int perl_quiet;
extern struct t_plugin_script *perl_scripts; extern struct t_plugin_script *perl_scripts;
extern struct t_plugin_script *last_perl_script; extern struct t_plugin_script *last_perl_script;

View File

@ -130,7 +130,7 @@ API_FUNC(register)
/* register script */ /* register script */
php_current_script = plugin_script_add (weechat_php_plugin, php_current_script = plugin_script_add (weechat_php_plugin,
&php_scripts, &last_php_script, &php_data,
(php_current_script_filename) ? (php_current_script_filename) ?
php_current_script_filename : "", php_current_script_filename : "",
ZSTR_VAL(name), ZSTR_VAL(name),

View File

@ -39,6 +39,11 @@ WEECHAT_PLUGIN_PRIORITY(4000);
struct t_weechat_plugin *weechat_php_plugin = NULL; struct t_weechat_plugin *weechat_php_plugin = NULL;
struct t_plugin_script_data php_data;
struct t_config_file *php_config_file = NULL;
struct t_config_option *php_config_look_check_license = NULL;
int php_quiet = 0; int php_quiet = 0;
struct t_plugin_script *php_script_eval = NULL; struct t_plugin_script *php_script_eval = NULL;
@ -1234,8 +1239,6 @@ php_weechat_log_message (char *message)
int int
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{ {
struct t_plugin_script_init init;
weechat_php_plugin = plugin; weechat_php_plugin = plugin;
/* set interpreter name and version */ /* set interpreter name and version */
@ -1249,14 +1252,19 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
""); "");
#endif /* PHP_VERSION */ #endif /* PHP_VERSION */
init.callback_command = &weechat_php_command_cb; php_data.config_file = &php_config_file;
init.callback_completion = &weechat_php_completion_cb; php_data.config_look_check_license = &php_config_look_check_license;
init.callback_hdata = &weechat_php_hdata_cb; php_data.scripts = &php_scripts;
init.callback_info_eval = &weechat_php_info_eval_cb; php_data.last_script = &last_php_script;
init.callback_infolist = &weechat_php_infolist_cb; php_data.callback_command = &weechat_php_command_cb;
init.callback_signal_debug_dump = &weechat_php_signal_debug_dump_cb; php_data.callback_completion = &weechat_php_completion_cb;
init.callback_signal_script_action = &weechat_php_signal_script_action_cb; php_data.callback_hdata = &weechat_php_hdata_cb;
init.callback_load_file = &weechat_php_load_cb; php_data.callback_info_eval = &weechat_php_info_eval_cb;
php_data.callback_infolist = &weechat_php_infolist_cb;
php_data.callback_signal_debug_dump = &weechat_php_signal_debug_dump_cb;
php_data.callback_signal_script_action = &weechat_php_signal_script_action_cb;
php_data.callback_load_file = &weechat_php_load_cb;
php_data.unload_all = &weechat_php_unload_all;
php_embed_module.startup = php_weechat_startup; php_embed_module.startup = php_weechat_startup;
php_embed_module.ub_write = php_weechat_ub_write; php_embed_module.ub_write = php_weechat_ub_write;
@ -1269,7 +1277,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
PG(report_zend_debug) = 0; /* Turn off --enable-debug output */ PG(report_zend_debug) = 0; /* Turn off --enable-debug output */
php_quiet = 1; php_quiet = 1;
plugin_script_init (weechat_php_plugin, argc, argv, &init); plugin_script_init (weechat_php_plugin, argc, argv, &php_data);
php_quiet = 0; php_quiet = 0;
plugin_script_display_short_list (weechat_php_plugin, plugin_script_display_short_list (weechat_php_plugin,
@ -1288,7 +1296,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
{ {
/* unload all scripts */ /* unload all scripts */
php_quiet = 1; php_quiet = 1;
plugin_script_end (plugin, &php_scripts, &weechat_php_unload_all); plugin_script_end (plugin, &php_data);
if (php_script_eval) if (php_script_eval)
{ {
weechat_php_unload (php_script_eval); weechat_php_unload (php_script_eval);

View File

@ -34,11 +34,13 @@ struct t_php_const
char *str_value; char *str_value;
}; };
extern int php_quiet;
extern struct t_weechat_plugin *weechat_php_plugin; extern struct t_weechat_plugin *weechat_php_plugin;
extern struct t_plugin_script_data php_data;
extern struct t_hashtable *weechat_php_function_map; extern struct t_hashtable *weechat_php_function_map;
extern int php_quiet;
extern struct t_plugin_script *php_scripts; extern struct t_plugin_script *php_scripts;
extern struct t_plugin_script *last_php_script; extern struct t_plugin_script *last_php_script;
extern struct t_plugin_script *php_current_script; extern struct t_plugin_script *php_current_script;

Some files were not shown because too many files have changed in this diff Show More