scripts: add option "version" in script commands (closes #1075)

v2.8-utf8proc
Sébastien Helleu 2017-12-23 20:32:03 +01:00
parent d7122cd6be
commit c4626bc08a
72 changed files with 702 additions and 612 deletions

View File

@ -22,6 +22,7 @@ New features::
* core: add option weechat.completion.partial_completion_templates to force partial completion on specific templates
* api: add hashtable with variables in plugin structure
* scripts: add option "version" in script commands (issue #1075)
[[v2.0.1]]
== Version 2.0.1 (2017-12-20)

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
Without argument, this command lists all loaded scripts.
----

View File

@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----

View File

@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----

View File

@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----

View File

@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----

View File

@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----

View File

@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----

View File

@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----

View File

@ -10,6 +10,7 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: list loaded scripts
listfull: list loaded scripts (verbose)
@ -20,6 +21,7 @@ autoload: load all scripts in "autoload" directory
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Without argument, this command lists all loaded scripts.
----

View File

@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----

View File

@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----

View File

@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----

View File

@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----

View File

@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----

View File

@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----

View File

@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----

View File

@ -10,6 +10,7 @@
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
version
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
@ -20,6 +21,7 @@ autoload : charger tous les scripts dans le répertoire "autoload"
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
version : afficher la version de l'interpréteur utilisé
Sans paramètre, cette commande liste les scripts chargés.
----

View File

@ -6,20 +6,22 @@
* `+guile+`: elenca/carica/scarica script
----
/guile list|listfull [<nome>]
load [-q] <nomefile>
/guile list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q][<nome>]
reload|unload [-q] [<name>]
version
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Senza argomento, questo comando elenca tutti i plugin caricati.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+javascript+`: elenca/carica/scarica script
----
/javascript list|listfull [<nome>]
load [-q] <nomefile>
/javascript list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q][<nome>]
reload|unload [-q] [<name>]
version
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Senza argomento, questo comando elenca tutti i plugin caricati.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+lua+`: elenca/carica/scarica script
----
/lua list|listfull [<nome>]
load [-q] <nomefile>
/lua list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q][<nome>]
reload|unload [-q] [<name>]
version
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Senza argomento, questo comando elenca tutti i plugin caricati.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+perl+`: elenca/carica/scarica script
----
/perl list|listfull [<nome>]
load [-q] <nomefile>
/perl list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q][<nome>]
reload|unload [-q] [<name>]
version
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Senza argomento, questo comando elenca tutti i plugin caricati.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+php+`: elenca/carica/scarica script
----
/php list|listfull [<nome>]
load [-q] <nomefile>
/php list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q][<nome>]
reload|unload [-q] [<name>]
version
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Senza argomento, questo comando elenca tutti i plugin caricati.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+python+`: elenca/carica/scarica script
----
/python list|listfull [<nome>]
load [-q] <nomefile>
/python list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q][<nome>]
reload|unload [-q] [<name>]
version
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Senza argomento, questo comando elenca tutti i plugin caricati.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+ruby+`: elenca/carica/scarica script
----
/ruby list|listfull [<nome>]
load [-q] <nomefile>
/ruby list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q][<nome>]
reload|unload [-q] [<name>]
version
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Senza argomento, questo comando elenca tutti i plugin caricati.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+tcl+`: elenca/carica/scarica script
----
/tcl list|listfull [<nome>]
load [-q] <nomefile>
/tcl list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q][<nome>]
reload|unload [-q] [<name>]
version
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Senza argomento, questo comando elenca tutti i plugin caricati.
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: ロード済みスクリプトをリストアップ
listfull: ロード済みスクリプトをリストアップ (詳細)
load: スクリプトをロード
autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
filename: ロードするスクリプト (ファイル)
name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
-q: 出力抑制モード: メッセージを表示しない
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
引数無しの場合、全てのロード済みスクリプトをリストアップします。
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: ロード済みスクリプトをリストアップ
listfull: ロード済みスクリプトをリストアップ (詳細)
load: スクリプトをロード
autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
filename: ロードするスクリプト (ファイル)
name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
-q: 出力抑制モード: メッセージを表示しない
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
引数無しの場合、全てのロード済みスクリプトをリストアップします。
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: ロード済みスクリプトをリストアップ
listfull: ロード済みスクリプトをリストアップ (詳細)
load: スクリプトをロード
autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
filename: ロードするスクリプト (ファイル)
name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
-q: 出力抑制モード: メッセージを表示しない
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
引数無しの場合、全てのロード済みスクリプトをリストアップします。
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: ロード済みスクリプトをリストアップ
listfull: ロード済みスクリプトをリストアップ (詳細)
load: スクリプトをロード
autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
filename: ロードするスクリプト (ファイル)
name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
-q: 出力抑制モード: メッセージを表示しない
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
引数無しの場合、全てのロード済みスクリプトをリストアップします。
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: ロード済みスクリプトをリストアップ
listfull: ロード済みスクリプトをリストアップ (詳細)
load: スクリプトをロード
autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
filename: ロードするスクリプト (ファイル)
name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
-q: 出力抑制モード: メッセージを表示しない
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
引数無しの場合、全てのロード済みスクリプトをリストアップします。
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: ロード済みスクリプトをリストアップ
listfull: ロード済みスクリプトをリストアップ (詳細)
load: スクリプトをロード
autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
filename: ロードするスクリプト (ファイル)
name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
-q: 出力抑制モード: メッセージを表示しない
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
引数無しの場合、全てのロード済みスクリプトをリストアップします。
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: ロード済みスクリプトをリストアップ
listfull: ロード済みスクリプトをリストアップ (詳細)
load: スクリプトをロード
autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
filename: ロードするスクリプト (ファイル)
name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
-q: 出力抑制モード: メッセージを表示しない
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
引数無しの場合、全てのロード済みスクリプトをリストアップします。
Without argument, this command lists all loaded scripts.
----

View File

@ -10,16 +10,18 @@
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
version
list: ロード済みスクリプトをリストアップ
listfull: ロード済みスクリプトをリストアップ (詳細)
load: スクリプトをロード
autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード
reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード)
unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード)
filename: ロードするスクリプト (ファイル)
name: スクリプト名 (名前は "register" 関数を呼び出すために使われる)
-q: 出力抑制モード: メッセージを表示しない
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
引数無しの場合、全てのロード済みスクリプトをリストアップします。
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+guile+`: list/load/unload skrypt
----
/guile list|listfull [<nazwa>]
load [-q] <nazwapliku>
/guile list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<nazwa>]
reload|unload [-q] [<name>]
version
list: lista załadowanych wtyczek
listfull: lista załadowanych wtyczek (szczegółowa)
load: ładuje wtyczkę
autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
unload: wyładowuje jedną albo wszystkie wtyczki
nazwa_pliku: skrypt (plik) do załadowania
nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
-q: tryb cichy: nie wyświetla wiadomości
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+javascript+`: list/load/unload skrypt
----
/javascript list|listfull [<nazwa>]
load [-q] <nazwapliku>
/javascript list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<nazwa>]
reload|unload [-q] [<name>]
version
list: lista załadowanych wtyczek
listfull: lista załadowanych wtyczek (szczegółowa)
load: ładuje wtyczkę
autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
unload: wyładowuje jedną albo wszystkie wtyczki
nazwa_pliku: skrypt (plik) do załadowania
nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
-q: tryb cichy: nie wyświetla wiadomości
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+lua+`: list/load/unload skrypt
----
/lua list|listfull [<nazwa>]
load [-q] <nazwapliku>
/lua list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<nazwa>]
reload|unload [-q] [<name>]
version
list: lista załadowanych wtyczek
listfull: lista załadowanych wtyczek (szczegółowa)
load: ładuje wtyczkę
autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
unload: wyładowuje jedną albo wszystkie wtyczki
nazwa_pliku: skrypt (plik) do załadowania
nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
-q: tryb cichy: nie wyświetla wiadomości
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+perl+`: list/load/unload skrypt
----
/perl list|listfull [<nazwa>]
load [-q] <nazwapliku>
/perl list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<nazwa>]
reload|unload [-q] [<name>]
version
list: lista załadowanych wtyczek
listfull: lista załadowanych wtyczek (szczegółowa)
load: ładuje wtyczkę
autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
unload: wyładowuje jedną albo wszystkie wtyczki
nazwa_pliku: skrypt (plik) do załadowania
nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
-q: tryb cichy: nie wyświetla wiadomości
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+php+`: list/load/unload skrypt
----
/php list|listfull [<nazwa>]
load [-q] <nazwapliku>
/php list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<nazwa>]
reload|unload [-q] [<name>]
version
list: lista załadowanych wtyczek
listfull: lista załadowanych wtyczek (szczegółowa)
load: ładuje wtyczkę
autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
unload: wyładowuje jedną albo wszystkie wtyczki
nazwa_pliku: skrypt (plik) do załadowania
nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
-q: tryb cichy: nie wyświetla wiadomości
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+python+`: list/load/unload skrypt
----
/python list|listfull [<nazwa>]
load [-q] <nazwapliku>
/python list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<nazwa>]
reload|unload [-q] [<name>]
version
list: lista załadowanych wtyczek
listfull: lista załadowanych wtyczek (szczegółowa)
load: ładuje wtyczkę
autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
unload: wyładowuje jedną albo wszystkie wtyczki
nazwa_pliku: skrypt (plik) do załadowania
nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
-q: tryb cichy: nie wyświetla wiadomości
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+ruby+`: list/load/unload skrypt
----
/ruby list|listfull [<nazwa>]
load [-q] <nazwapliku>
/ruby list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<nazwa>]
reload|unload [-q] [<name>]
version
list: lista załadowanych wtyczek
listfull: lista załadowanych wtyczek (szczegółowa)
load: ładuje wtyczkę
autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
unload: wyładowuje jedną albo wszystkie wtyczki
nazwa_pliku: skrypt (plik) do załadowania
nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
-q: tryb cichy: nie wyświetla wiadomości
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
Without argument, this command lists all loaded scripts.
----

View File

@ -6,20 +6,22 @@
* `+tcl+`: list/load/unload skrypt
----
/tcl list|listfull [<nazwa>]
load [-q] <nazwapliku>
/tcl list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<nazwa>]
reload|unload [-q] [<name>]
version
list: lista załadowanych wtyczek
listfull: lista załadowanych wtyczek (szczegółowa)
load: ładuje wtyczkę
autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika
reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki)
unload: wyładowuje jedną albo wszystkie wtyczki
nazwa_pliku: skrypt (plik) do załadowania
nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register")
-q: tryb cichy: nie wyświetla wiadomości
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
version: display the version of interpreter used
Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
Without argument, this command lists all loaded scripts.
----

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:12+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -10204,7 +10204,7 @@ msgstr "seznam/načíst/odebrat skirpty"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"list|listfull [<jméno>] || load <jméno_souboru> || autoload || reload|unload "
"[<jméno>]"
@ -10221,6 +10221,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -19,7 +19,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-12-11 20:59+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@ -11956,13 +11956,15 @@ msgstr "Beschreibung der Erweiterungsoption"
msgid "list/load/unload scripts"
msgstr "auflisten/installieren/beenden von Skripten"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@ -11974,6 +11976,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:12+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -10539,13 +10539,15 @@ msgstr "descripción de la opción del plugin"
msgid "list/load/unload scripts"
msgstr "listar/cargar/descargar scripts"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nombre>] || load [-q] <archivo> || autoload || reload|unload "
"[-q] [<nombre>]"
#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@ -10557,6 +10559,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"PO-Revision-Date: 2017-12-10 08:30+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-12-23 20:34+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@ -11696,10 +11696,10 @@ msgstr "lister/charger/décharger des scripts"
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nom>] || load [-q] <fichier> || autoload || reload|unload [-"
"q] [<nom>]"
"q] [<nom>] || version"
msgid ""
" list: list loaded scripts\n"
@ -11712,6 +11712,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
@ -11727,6 +11728,7 @@ msgstr ""
" nom : nom de script (nom utilisé dans l'appel à la fonction \"register"
"\")\n"
" -q : mode silencieux : ne pas afficher de messages\n"
" version : afficher la version de l'interpréteur utilisé\n"
"\n"
"Sans paramètre, cette commande liste les scripts chargés."

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:14+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -9576,7 +9576,7 @@ msgstr "modulok listázása/betöltése/eltávolítása"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"[list [név]] | [listfull [név]] | [load fájlnév] | [autoload] | [reload "
"[név]] | [unload [név]]"
@ -9593,6 +9593,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:14+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -10730,13 +10730,15 @@ msgstr "descrizione dell'opzione del plugin"
msgid "list/load/unload scripts"
msgstr "elenca/carica/scarica script"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nome>] || load [-q] <nomefile> || autoload || reload|unload "
"[-q][<nome>]"
#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@ -10748,6 +10750,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-11-18 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@ -11246,13 +11246,15 @@ msgstr "プラグインオプションの説明"
msgid "list/load/unload scripts"
msgstr "スクリプトをリストアップ/ロード/アンロード"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@ -11264,6 +11266,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-11-15 07:23+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -11438,13 +11438,15 @@ msgstr "opis opcji wtyczki"
msgid "list/load/unload scripts"
msgstr "list/load/unload skrypt"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nazwa>] || load [-q] <nazwapliku> || autoload || reload|"
"unload [-q] [<nazwa>]"
#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@ -11456,6 +11458,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-11-15 07:24+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@ -11146,13 +11146,15 @@ msgstr "descrição das opções do plugin"
msgid "list/load/unload scripts"
msgstr "listar/carregar/descarregar scripts"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nome>] || load [-q] <ficheiro> || autoload || reload|unload "
"[-q] [<nome>]"
#, fuzzy
msgid ""
" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
@ -11164,6 +11166,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:14+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -10051,7 +10051,7 @@ msgstr "listar/carregar/descarregar scripts"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"list|listfull [<nome>] || load <arquivo> || autoload || reload|unload "
"[<name>]"
@ -10069,6 +10069,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-10-17 20:14+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -9612,7 +9612,7 @@ msgstr "перечислить/загрузить/выгрузить plugin'ы"
#, fuzzy
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
"[list [имя]] | [listfull [имя]] | [load имя_файла] | [autoload] | [reload "
"[имя]] | [unload [имя]]"
@ -9629,6 +9629,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -8724,7 +8724,7 @@ msgstr ""
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
msgid ""
@ -8738,6 +8738,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2017-12-10 08:29+0100\n"
"POT-Creation-Date: 2017-12-23 20:29+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -8605,7 +8605,7 @@ msgstr ""
msgid ""
"list|listfull [<name>] || load [-q] <filename> || autoload || reload|unload "
"[-q] [<name>]"
"[-q] [<name>] || version"
msgstr ""
msgid ""
@ -8619,6 +8619,7 @@ msgid ""
"filename: script (file) to load\n"
" name: a script name (name used in call to \"register\" function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""

View File

@ -629,6 +629,10 @@ weechat_guile_command_cb (const void *pointer, void *data,
{
weechat_guile_unload_all ();
}
else if (weechat_strcasecmp (argv[1], "version") == 0)
{
plugin_script_display_interpreter (weechat_guile_plugin, 0);
}
else
WEECHAT_COMMAND_ERROR;
}
@ -785,35 +789,6 @@ weechat_guile_signal_debug_dump_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
/*
* Display infos about external libraries used.
*/
int
weechat_guile_signal_debug_libs_cb (const void *pointer, void *data,
const char *signal,
const char *type_data, void *signal_data)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
#if defined(SCM_MAJOR_VERSION) && defined(SCM_MINOR_VERSION) && defined(SCM_MICRO_VERSION)
weechat_printf (NULL, " %s: %d.%d.%d",
GUILE_PLUGIN_NAME,
SCM_MAJOR_VERSION,
SCM_MINOR_VERSION,
SCM_MICRO_VERSION);
#else
weechat_printf (NULL, " %s: (?)", GUILE_PLUGIN_NAME);
#endif /* defined(SCM_MAJOR_VERSION) && defined(SCM_MINOR_VERSION) && defined(SCM_MICRO_VERSION) */
return WEECHAT_RC_OK;
}
/*
* Timer for executing actions.
*/
@ -964,9 +939,27 @@ int
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{
struct t_plugin_script_init init;
char str_version[128];
weechat_guile_plugin = plugin;
/* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name);
#if defined(SCM_MAJOR_VERSION) && defined(SCM_MINOR_VERSION) && defined(SCM_MICRO_VERSION)
snprintf (str_version, sizeof (str_version),
"%d.%d.%d",
SCM_MAJOR_VERSION,
SCM_MINOR_VERSION,
SCM_MICRO_VERSION);
weechat_hashtable_set (plugin->variables, "interpreter_version",
str_version);
#else
(void) str_version;
weechat_hashtable_set (plugin->variables, "interpreter_version",
"");
#endif /* defined(SCM_MAJOR_VERSION) && defined(SCM_MINOR_VERSION) && defined(SCM_MICRO_VERSION) */
guile_stdout = NULL;
#ifdef HAVE_GUILE_GMP_MEMORY_FUNCTIONS
@ -991,7 +984,6 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
init.callback_hdata = &weechat_guile_hdata_cb;
init.callback_infolist = &weechat_guile_infolist_cb;
init.callback_signal_debug_dump = &weechat_guile_signal_debug_dump_cb;
init.callback_signal_debug_libs = &weechat_guile_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_guile_signal_script_action_cb;
init.callback_load_file = &weechat_guile_load_cb;

View File

@ -557,6 +557,10 @@ weechat_js_command_cb (const void *pointer, void *data,
{
weechat_js_unload_all ();
}
else if (weechat_strcasecmp (argv[1], "version") == 0)
{
plugin_script_display_interpreter (weechat_js_plugin, 0);
}
else
WEECHAT_COMMAND_ERROR;
}
@ -702,28 +706,6 @@ weechat_js_signal_debug_dump_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
/*
* Display infos about external libraries used.
*/
int
weechat_js_signal_debug_libs_cb (const void *pointer, void *data,
const char *signal,
const char *type_data, void *signal_data)
{
/* make C++ compiler happy */
(void) pointer;
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
weechat_printf (NULL, " %s (v8): %s",
JS_PLUGIN_NAME, v8::V8::GetVersion());
return WEECHAT_RC_OK;
}
/*
* Timer for executing actions.
*/
@ -820,15 +802,23 @@ EXPORT int
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{
struct t_plugin_script_init init;
char str_interpreter[64];
weechat_js_plugin = plugin;
/* set interpreter name and version */
snprintf (str_interpreter, sizeof (str_interpreter),
"%s (v8)", plugin->name);
weechat_hashtable_set (plugin->variables, "interpreter_name",
str_interpreter);
weechat_hashtable_set (plugin->variables, "interpreter_version",
v8::V8::GetVersion());
init.callback_command = &weechat_js_command_cb;
init.callback_completion = &weechat_js_completion_cb;
init.callback_hdata = &weechat_js_hdata_cb;
init.callback_infolist = &weechat_js_infolist_cb;
init.callback_signal_debug_dump = &weechat_js_signal_debug_dump_cb;
init.callback_signal_debug_libs = &weechat_js_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_js_signal_script_action_cb;
init.callback_load_file = &weechat_js_load_cb;

View File

@ -668,6 +668,10 @@ weechat_lua_command_cb (const void *pointer, void *data,
{
weechat_lua_unload_all ();
}
else if (weechat_strcasecmp (argv[1], "version") == 0)
{
plugin_script_display_interpreter (weechat_lua_plugin, 0);
}
else
WEECHAT_COMMAND_ERROR;
}
@ -813,31 +817,6 @@ weechat_lua_signal_debug_dump_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
/*
* Display infos about external libraries used.
*/
int
weechat_lua_signal_debug_libs_cb (const void *pointer, void *data,
const char *signal,
const char *type_data, void *signal_data)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
#ifdef LUA_VERSION
weechat_printf (NULL, " %s: %s", LUA_PLUGIN_NAME, LUA_VERSION);
#else
weechat_printf (NULL, " %s: (?)", LUA_PLUGIN_NAME);
#endif /* LUA_VERSION */
return WEECHAT_RC_OK;
}
/*
* Timer for executing actions.
*/
@ -936,12 +915,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_lua_plugin = plugin;
/* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name);
#ifdef LUA_VERSION
weechat_hashtable_set (plugin->variables, "interpreter_version",
LUA_VERSION);
#else
weechat_hashtable_set (plugin->variables, "interpreter_version",
"");
#endif /* LUA_VERSION */
init.callback_command = &weechat_lua_command_cb;
init.callback_completion = &weechat_lua_completion_cb;
init.callback_hdata = &weechat_lua_hdata_cb;
init.callback_infolist = &weechat_lua_infolist_cb;
init.callback_signal_debug_dump = &weechat_lua_signal_debug_dump_cb;
init.callback_signal_debug_libs = &weechat_lua_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_lua_signal_script_action_cb;
init.callback_load_file = &weechat_lua_load_cb;

View File

@ -678,6 +678,10 @@ weechat_perl_command_cb (const void *pointer, void *data,
{
weechat_perl_unload_all ();
}
else if (weechat_strcasecmp (argv[1], "version") == 0)
{
plugin_script_display_interpreter (weechat_perl_plugin, 0);
}
else
WEECHAT_COMMAND_ERROR;
}
@ -823,31 +827,6 @@ weechat_perl_signal_debug_dump_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
/*
* Display infos about external libraries used.
*/
int
weechat_perl_signal_debug_libs_cb (const void *pointer, void *data,
const char *signal,
const char *type_data, void *signal_data)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
#ifdef PERL_VERSION_STRING
weechat_printf (NULL, " %s: %s", PERL_PLUGIN_NAME, PERL_VERSION_STRING);
#else
weechat_printf (NULL, " %s: (?)", PERL_PLUGIN_NAME);
#endif /* PERL_VERSION_STRING */
return WEECHAT_RC_OK;
}
/*
* Timer for executing actions.
*/
@ -977,6 +956,17 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_perl_plugin = plugin;
/* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name);
#ifdef PERL_VERSION_STRING
weechat_hashtable_set (plugin->variables, "interpreter_version",
PERL_VERSION_STRING);
#else
weechat_hashtable_set (plugin->variables, "interpreter_version",
"");
#endif /* PERL_VERSION_STRING */
#ifndef MULTIPLICITY
perl_main = perl_alloc ();
@ -999,7 +989,6 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
init.callback_hdata = &weechat_perl_hdata_cb;
init.callback_infolist = &weechat_perl_infolist_cb;
init.callback_signal_debug_dump = &weechat_perl_signal_debug_dump_cb;
init.callback_signal_debug_libs = &weechat_perl_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_perl_signal_script_action_cb;
init.callback_load_file = &weechat_perl_load_cb;

View File

@ -840,6 +840,10 @@ weechat_php_command_cb (const void *pointer, void *data,
{
weechat_php_unload_all ();
}
else if (weechat_strcasecmp (argv[1], "version") == 0)
{
plugin_script_display_interpreter (weechat_php_plugin, 0);
}
else
WEECHAT_COMMAND_ERROR;
}
@ -985,31 +989,6 @@ weechat_php_signal_debug_dump_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
/*
* Display infos about external libraries used.
*/
int
weechat_php_signal_debug_libs_cb (const void *pointer, void *data,
const char *signal,
const char *type_data, void *signal_data)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
#ifdef PHP_VERSION
weechat_printf (NULL, " %s: %s", PHP_PLUGIN_NAME, PHP_VERSION);
#else
weechat_printf (NULL, " %s: (?)", PHP_PLUGIN_NAME);
#endif /* PHP_VERSION */
return WEECHAT_RC_OK;
}
/*
* Timer for executing actions.
*/
@ -1149,12 +1128,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_php_plugin = plugin;
/* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name);
#ifdef PHP_VERSION
weechat_hashtable_set (plugin->variables, "interpreter_version",
PHP_VERSION);
#else
weechat_hashtable_set (plugin->variables, "interpreter_version",
"");
#endif /* PHP_VERSION */
init.callback_command = &weechat_php_command_cb;
init.callback_completion = &weechat_php_completion_cb;
init.callback_hdata = &weechat_php_hdata_cb;
init.callback_infolist = &weechat_php_infolist_cb;
init.callback_signal_debug_dump = &weechat_php_signal_debug_dump_cb;
init.callback_signal_debug_libs = &weechat_php_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_php_signal_script_action_cb;
init.callback_load_file = &weechat_php_load_cb;

View File

@ -83,6 +83,55 @@ plugin_script_config_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
/*
* Displays name and version of interpreter used.
*/
void
plugin_script_display_interpreter (struct t_weechat_plugin *weechat_plugin,
int indent)
{
const char *ptr_name, *ptr_version;
ptr_name = weechat_hashtable_get (weechat_plugin->variables,
"interpreter_name");
ptr_version = weechat_hashtable_get (weechat_plugin->variables,
"interpreter_version");
if (ptr_name)
{
weechat_printf (NULL,
"%s%s: %s",
(indent) ? " " : "",
ptr_name,
(ptr_version && ptr_version[0]) ? ptr_version : "(?)");
}
}
/*
* Callback for signal "debug_libs".
*/
int
plugin_script_signal_debug_libs_cb (const void *pointer, void *data,
const char *signal,
const char *type_data,
void *signal_data)
{
struct t_weechat_plugin *plugin;
/* make C compiler happy */
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
plugin = (struct t_weechat_plugin *)pointer;
plugin_script_display_interpreter (plugin, 1);
return WEECHAT_RC_OK;
}
/*
* Creates directories for plugin in WeeChat home:
* - ~/.weechat/XXX/
@ -156,7 +205,8 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
" || load %(filename)"
" || autoload"
" || reload %s"
" || unload %s",
" || unload %s"
" || version",
"%s",
string);
}
@ -166,7 +216,8 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
N_("list|listfull [<name>]"
" || load [-q] <filename>"
" || autoload"
" || reload|unload [-q] [<name>]"),
" || reload|unload [-q] [<name>]"
" || version"),
N_(" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
" load: load a script\n"
@ -178,6 +229,7 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
" name: a script name (name used in call to \"register\" "
"function)\n"
" -q: quiet mode: do not display messages\n"
" version: display the version of interpreter used\n"
"\n"
"Without argument, this command lists all loaded scripts."),
completion,
@ -211,7 +263,8 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
/* add signal for "debug_libs" */
weechat_hook_signal ("debug_libs",
init->callback_signal_debug_libs, NULL, NULL);
plugin_script_signal_debug_libs_cb,
weechat_plugin, NULL);
/* add signals for script actions (install/remove/autoload) */
for (i = 0; action_signals[i]; i++)

View File

@ -87,10 +87,6 @@ struct t_plugin_script_init
const char *signal,
const char *type_data,
void *signal_data);
int (*callback_signal_debug_libs)(const void *pointer, void *data,
const char *signal,
const char *type_data,
void *signal_data);
int (*callback_signal_script_action)(const void *pointer, void *data,
const char *signal,
const char *type_data,
@ -98,6 +94,8 @@ struct t_plugin_script_init
void (*callback_load_file)(void *data, const char *filename);
};
extern void plugin_script_display_interpreter (struct t_weechat_plugin *plugin,
int indent);
extern void plugin_script_init (struct t_weechat_plugin *weechat_plugin,
int argc, char *argv[],
struct t_plugin_script_init *init);

View File

@ -968,6 +968,10 @@ weechat_python_command_cb (const void *pointer, void *data,
{
weechat_python_unload_all ();
}
else if (weechat_strcasecmp (argv[1], "version") == 0)
{
plugin_script_display_interpreter (weechat_python_plugin, 0);
}
else
WEECHAT_COMMAND_ERROR;
}
@ -1148,31 +1152,6 @@ weechat_python_signal_debug_dump_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
/*
* Display infos about external libraries used.
*/
int
weechat_python_signal_debug_libs_cb (const void *pointer, void *data,
const char *signal,
const char *type_data, void *signal_data)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
#ifdef PY_VERSION
weechat_printf (NULL, " %s: %s", PYTHON_PLUGIN_NAME, PY_VERSION);
#else
weechat_printf (NULL, " %s: (?)", PYTHON_PLUGIN_NAME);
#endif /* PY_VERSION */
return WEECHAT_RC_OK;
}
/*
* Timer for executing actions.
*/
@ -1272,6 +1251,17 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_python_plugin = plugin;
/* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name);
#ifdef PY_VERSION
weechat_hashtable_set (plugin->variables, "interpreter_version",
PY_VERSION);
#else
weechat_hashtable_set (plugin->variables, "interpreter_version",
"");
#endif /* PY_VERSION */
/*
* hook info to get path to python 2.x interpreter
* (some scripts using hook_process need that)
@ -1317,7 +1307,6 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
init.callback_hdata = &weechat_python_hdata_cb;
init.callback_infolist = &weechat_python_infolist_cb;
init.callback_signal_debug_dump = &weechat_python_signal_debug_dump_cb;
init.callback_signal_debug_libs = &weechat_python_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_python_signal_script_action_cb;
init.callback_load_file = &weechat_python_load_cb;

View File

@ -816,6 +816,10 @@ weechat_ruby_command_cb (const void *pointer, void *data,
{
weechat_ruby_unload_all ();
}
else if (weechat_strcasecmp (argv[1], "version") == 0)
{
plugin_script_display_interpreter (weechat_ruby_plugin, 0);
}
else
WEECHAT_COMMAND_ERROR;
}
@ -961,31 +965,6 @@ weechat_ruby_signal_debug_dump_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
/*
* Display infos about external libraries used.
*/
int
weechat_ruby_signal_debug_libs_cb (const void *pointer, void *data,
const char *signal,
const char *type_data, void *signal_data)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
#ifdef HAVE_RUBY_VERSION_H
weechat_printf (NULL, " %s: %s", RUBY_PLUGIN_NAME, ruby_version);
#else
weechat_printf (NULL, " %s: (?)", RUBY_PLUGIN_NAME);
#endif /* HAVE_RUBY_VERSION_H */
return WEECHAT_RC_OK;
}
/*
* Timer for executing actions.
*/
@ -1139,6 +1118,17 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_ruby_plugin = plugin;
/* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name);
#ifdef HAVE_RUBY_VERSION_H
weechat_hashtable_set (plugin->variables, "interpreter_version",
ruby_version);
#else
weechat_hashtable_set (plugin->variables, "interpreter_version",
"");
#endif /* HAVE_RUBY_VERSION_H */
ruby_error = 0;
/* init stdout/stderr buffer */
@ -1185,7 +1175,6 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
init.callback_hdata = &weechat_ruby_hdata_cb;
init.callback_infolist = &weechat_ruby_infolist_cb;
init.callback_signal_debug_dump = &weechat_ruby_signal_debug_dump_cb;
init.callback_signal_debug_libs = &weechat_ruby_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_ruby_signal_script_action_cb;
init.callback_load_file = &weechat_ruby_load_cb;

View File

@ -559,6 +559,10 @@ weechat_tcl_command_cb (const void *pointer, void *data,
{
weechat_tcl_unload_all ();
}
else if (weechat_strcasecmp (argv[1], "version") == 0)
{
plugin_script_display_interpreter (weechat_tcl_plugin, 0);
}
else
WEECHAT_COMMAND_ERROR;
}
@ -704,31 +708,6 @@ weechat_tcl_signal_debug_dump_cb (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
/*
* Display infos about external libraries used.
*/
int
weechat_tcl_signal_debug_libs_cb (const void *pointer, void *data,
const char *signal,
const char *type_data, void *signal_data)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
#ifdef TCL_VERSION
weechat_printf (NULL, " %s: %s", TCL_PLUGIN_NAME, TCL_VERSION);
#else
weechat_printf (NULL, " %s: (?)", TCL_PLUGIN_NAME);
#endif /* TCL_VERSION */
return WEECHAT_RC_OK;
}
/*
* Timer for executing actions.
*/
@ -827,12 +806,22 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_tcl_plugin = plugin;
/* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name);
#ifdef TCL_VERSION
weechat_hashtable_set (plugin->variables, "interpreter_version",
TCL_VERSION);
#else
weechat_hashtable_set (plugin->variables, "interpreter_version",
"");
#endif /* TCL_VERSION */
init.callback_command = &weechat_tcl_command_cb;
init.callback_completion = &weechat_tcl_completion_cb;
init.callback_hdata = &weechat_tcl_hdata_cb;
init.callback_infolist = &weechat_tcl_infolist_cb;
init.callback_signal_debug_dump = &weechat_tcl_signal_debug_dump_cb;
init.callback_signal_debug_libs = &weechat_tcl_signal_debug_libs_cb;
init.callback_signal_script_action = &weechat_tcl_signal_script_action_cb;
init.callback_load_file = &weechat_tcl_load_cb;