mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 13:45:41 +02:00
Added new plugin "debug"
This commit is contained in:
+3
-2
@@ -35,11 +35,13 @@ OPTION(DISABLE_NCURSES "Disable Ncurses interface")
|
||||
OPTION(ENABLE_GTK "Enable GTK interface")
|
||||
OPTION(DISABLE_NLS "Disable Native Language Support")
|
||||
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
|
||||
OPTION(DISABLE_IRC "Disable IRC plugin")
|
||||
OPTION(DISABLE_ALIAS "Disable Alias plugin")
|
||||
OPTION(DISABLE_ASPELL "Disable Aspell plugin")
|
||||
OPTION(DISABLE_CHARSET "Disable Charset plugin")
|
||||
OPTION(DISABLE_DEBUG "Disable Debug plugin")
|
||||
OPTION(ENABLE_DEMO "Enable Demo plugin")
|
||||
OPTION(DISABLE_FIFO "Disable FIFO plugin")
|
||||
OPTION(DISABLE_IRC "Disable IRC plugin")
|
||||
OPTION(DISABLE_LOGGER "Disable Logger plugin")
|
||||
OPTION(DISABLE_TRIGGER "Disable Trigger plugin")
|
||||
OPTION(DISABLE_SCRIPTS "Disable script plugins")
|
||||
@@ -47,7 +49,6 @@ OPTION(DISABLE_PERL "Disable Perl scripting language")
|
||||
OPTION(DISABLE_PYTHON "Disable Python scripting language")
|
||||
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
|
||||
OPTION(DISABLE_LUA "Disable Lua scripting language")
|
||||
OPTION(ENABLE_DEMO "Enable Demo plugin")
|
||||
OPTION(DISABLE_DOC "Disable Doc")
|
||||
|
||||
ADD_SUBDIRECTORY( po )
|
||||
|
||||
+89
-78
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,8 @@
|
||||
./src/core/wee-config-file.c
|
||||
./src/core/wee-config-file.h
|
||||
./src/core/wee-config.h
|
||||
./src/core/wee-debug.c
|
||||
./src/core/wee-debug.h
|
||||
./src/core/wee-hook.c
|
||||
./src/core/wee-hook.h
|
||||
./src/core/wee-input.c
|
||||
@@ -81,6 +83,7 @@
|
||||
./src/plugins/aspell/aspell.h
|
||||
./src/plugins/charset/charset.c
|
||||
./src/plugins/charset/charset.h
|
||||
./src/plugins/debug/debug.c
|
||||
./src/plugins/demo/demo.c
|
||||
./src/plugins/fifo/fifo.c
|
||||
./src/plugins/irc/irc-buffer.c
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-02-03 16:29+0100\n"
|
||||
"POT-Creation-Date: 2008-02-21 07:54+0100\n"
|
||||
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -521,26 +521,6 @@ msgstr ""
|
||||
"příkaz: příkaz, který spustit ('/' je automaticky dodáno, pokud není "
|
||||
"nalezeno na začátku příkazu)\n"
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "vypsat debug zprávy"
|
||||
|
||||
#, fuzzy
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "dump | buffer | windows"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
" dump: uloží výpis paměti do WeeChat log souboru (stejný výpis jako když "
|
||||
"Weechat havaruje)\n"
|
||||
" buffer: vypíše obsah bufferu s hexadecimálními hodnotami do log souboru\n"
|
||||
"windows: zobrazit strom oken"
|
||||
|
||||
msgid "display help about commands"
|
||||
msgstr "zobrazí nápovědu k příkazům"
|
||||
|
||||
@@ -1815,6 +1795,26 @@ msgid ""
|
||||
"for IRC channel \"#weechat\" on server \"freenode\""
|
||||
msgstr ""
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "vypsat debug zprávy"
|
||||
|
||||
#, fuzzy
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "dump | buffer | windows"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
" dump: uloží výpis paměti do WeeChat log souboru (stejný výpis jako když "
|
||||
"Weechat havaruje)\n"
|
||||
" buffer: vypíše obsah bufferu s hexadecimálními hodnotami do log souboru\n"
|
||||
"windows: zobrazit strom oken"
|
||||
|
||||
msgid "demo message without prefix"
|
||||
msgstr ""
|
||||
|
||||
@@ -1940,6 +1940,14 @@ msgstr "%s chyba při čtení FIFO roury, zavírám ji\n"
|
||||
msgid "%s%s: error opening file, closing it"
|
||||
msgstr "%s chyba při čtení FIFO roury, zavírám ji\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s: debug enabled"
|
||||
msgstr "FIFO roura je otevřena\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: debug disabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: cannot allocate new channel"
|
||||
msgstr "%s nemohu přidělit nový kanál"
|
||||
@@ -4329,6 +4337,14 @@ msgstr ""
|
||||
msgid "%s%s: wrong arguments for function \"%s\""
|
||||
msgstr "%s špatné parametry pro příkaz \"%s\"\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "debug command"
|
||||
#~ msgstr "příkaz"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "[test]"
|
||||
#~ msgstr "text"
|
||||
|
||||
#~ msgid "IP address or hostname of IRC server"
|
||||
#~ msgstr "IP adresa nebo jeméno hosta IRC serveru"
|
||||
|
||||
@@ -4462,10 +4478,6 @@ msgstr "%s špatné parametry pro příkaz \"%s\"\n"
|
||||
#~ msgid "%s%s: loading Perl script \"%s\""
|
||||
#~ msgstr "sezeni: načítám server \"%s\"\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "%s%s: plugin ended"
|
||||
#~ msgstr "FIFO roura je otevřena\n"
|
||||
|
||||
#~ msgid "%s cannot find nick for sending message\n"
|
||||
#~ msgstr "%s nemohu najít přezdívku pro poslání zprávy\n"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-02-03 16:29+0100\n"
|
||||
"POT-Creation-Date: 2008-02-21 07:54+0100\n"
|
||||
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
|
||||
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -513,25 +513,6 @@ msgstr ""
|
||||
"Befehl: auszuführender Befehl (falls nicht vorhanden wird automatisch ein "
|
||||
"'/' vorangestellt)\n"
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "Debugging-Nachricht ausgeben"
|
||||
|
||||
#, fuzzy
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "dump | windows"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
"dump: Speicherabbild im WeeChat-Logfile ablegen (wie nach einem "
|
||||
"Programmabsturz)\n"
|
||||
"windows: zeigt Fensterdaten an"
|
||||
|
||||
msgid "display help about commands"
|
||||
msgstr "Hilfe zu Befehlen abfragen"
|
||||
|
||||
@@ -1818,6 +1799,25 @@ msgid ""
|
||||
"for IRC channel \"#weechat\" on server \"freenode\""
|
||||
msgstr ""
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "Debugging-Nachricht ausgeben"
|
||||
|
||||
#, fuzzy
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "dump | windows"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
"dump: Speicherabbild im WeeChat-Logfile ablegen (wie nach einem "
|
||||
"Programmabsturz)\n"
|
||||
"windows: zeigt Fensterdaten an"
|
||||
|
||||
msgid "demo message without prefix"
|
||||
msgstr ""
|
||||
|
||||
@@ -1943,6 +1943,14 @@ msgstr "%s Fehler beim Lesen vom FIFO, FIFO wird geschlossen\n"
|
||||
msgid "%s%s: error opening file, closing it"
|
||||
msgstr "%s Fehler beim Lesen vom FIFO, FIFO wird geschlossen\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s: debug enabled"
|
||||
msgstr "FIFO ist offen\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: debug disabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: cannot allocate new channel"
|
||||
msgstr "%s Neuer Channel konnte nicht alloziert werden"
|
||||
@@ -4322,6 +4330,14 @@ msgstr ""
|
||||
msgid "%s%s: wrong arguments for function \"%s\""
|
||||
msgstr "%s fehlerhafte Argumente für der \"%s\"-Befehl\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "debug command"
|
||||
#~ msgstr "Befehl"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "[test]"
|
||||
#~ msgstr "Text"
|
||||
|
||||
#~ msgid "IP address or hostname of IRC server"
|
||||
#~ msgstr "IP-Adresse oder Hostname des IRC-Servers"
|
||||
|
||||
@@ -4458,10 +4474,6 @@ msgstr "%s fehlerhafte Argumente für der \"%s\"-Befehl\n"
|
||||
#~ msgid "%s%s: loading Perl script \"%s\""
|
||||
#~ msgstr "Sitzung: Lade Server \"%s\"\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "%s%s: plugin ended"
|
||||
#~ msgstr "FIFO ist offen\n"
|
||||
|
||||
#~ msgid "%s cannot find nick for sending message\n"
|
||||
#~ msgstr ""
|
||||
#~ "%s kann keinen Nickname finden, an den die Nachricht gesendet werden "
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-02-03 16:29+0100\n"
|
||||
"POT-Creation-Date: 2008-02-21 07:54+0100\n"
|
||||
"PO-Revision-Date: 2007-09-19 12:09+0200\n"
|
||||
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -511,25 +511,6 @@ msgstr ""
|
||||
"comando: comando a ejecutar (se añade un '/' automáticamente si no se "
|
||||
"encuentra al principio del comando)\n"
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "imprime mensajes de depuración"
|
||||
|
||||
#, fuzzy
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "volcar | ventanas"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
" volcar: guardar el volcado de memoria en el archivo de registro de Weechat "
|
||||
"(el mismo volcado se escribe cuando Weechat se cuelga)\n"
|
||||
"ventanas: mostrar árbol de ventanas"
|
||||
|
||||
msgid "display help about commands"
|
||||
msgstr "mostrar ayuda sobre los comandos"
|
||||
|
||||
@@ -1805,6 +1786,25 @@ msgid ""
|
||||
"for IRC channel \"#weechat\" on server \"freenode\""
|
||||
msgstr ""
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "imprime mensajes de depuración"
|
||||
|
||||
#, fuzzy
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "volcar | ventanas"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
" volcar: guardar el volcado de memoria en el archivo de registro de Weechat "
|
||||
"(el mismo volcado se escribe cuando Weechat se cuelga)\n"
|
||||
"ventanas: mostrar árbol de ventanas"
|
||||
|
||||
msgid "demo message without prefix"
|
||||
msgstr ""
|
||||
|
||||
@@ -1931,6 +1931,14 @@ msgstr "%s error al leer la tuberÃa FIFO, cerrándola\n"
|
||||
msgid "%s%s: error opening file, closing it"
|
||||
msgstr "%s error al leer la tuberÃa FIFO, cerrándola\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s: debug enabled"
|
||||
msgstr "La tuberÃa FIFO está abierta\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: debug disabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: cannot allocate new channel"
|
||||
msgstr "%s no ha sido posible crear un nuevo canal"
|
||||
@@ -4334,6 +4342,14 @@ msgstr ""
|
||||
msgid "%s%s: wrong arguments for function \"%s\""
|
||||
msgstr "%s argumentos incorrectos para el comando \"%s\"\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "debug command"
|
||||
#~ msgstr "comando"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "[test]"
|
||||
#~ msgstr "texto"
|
||||
|
||||
#~ msgid "IP address or hostname of IRC server"
|
||||
#~ msgstr "dirección IP o nombre de máquina del servidor IRC"
|
||||
|
||||
@@ -4463,10 +4479,6 @@ msgstr "%s argumentos incorrectos para el comando \"%s\"\n"
|
||||
#~ msgid "%s%s: loading Perl script \"%s\""
|
||||
#~ msgstr "sesión: cargando servidor \"%s\"\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "%s%s: plugin ended"
|
||||
#~ msgstr "La tuberÃa FIFO está abierta\n"
|
||||
|
||||
#~ msgid "%s cannot find nick for sending message\n"
|
||||
#~ msgstr ""
|
||||
#~ "%s no ha sido posible encontrar el usuario al que enviar el mensaje\n"
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-02-03 16:29+0100\n"
|
||||
"PO-Revision-Date: 2008-02-03 16:29+0100\n"
|
||||
"POT-Creation-Date: 2008-02-21 07:54+0100\n"
|
||||
"PO-Revision-Date: 2008-02-21 07:55+0100\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -488,26 +488,6 @@ msgstr ""
|
||||
"commande: commande à exécuter (un '/' est automatiquement ajouté s'il n'est "
|
||||
"pas trouvé au début de la commande)"
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "affiche des messages de debogage"
|
||||
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "dump | buffer | windows | texte"
|
||||
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
" dump: affiche les variables mémoire WeeChat dans le fichier log (les "
|
||||
"mêmes messages sont affichés lorsque WeeChat plante)\n"
|
||||
" buffer: affiche le contenu du tampon en valeurs hexadécimales dans le "
|
||||
"fichier log\n"
|
||||
"windows: affiche l'arbre des fenêtres<\n"
|
||||
" texte: envoie le signal \"debug\" avec \"texte\" comme paramètre"
|
||||
|
||||
msgid "display help about commands"
|
||||
msgstr "afficher l'aide sur les commandes"
|
||||
|
||||
@@ -1729,6 +1709,26 @@ msgstr ""
|
||||
"/charset decode.irc.freenode.#weechat => définit le charset de décodage à "
|
||||
"iso-8859-15 pour le canal IRC \"#weechat\" sur le serveur \"freenode\""
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "affiche des messages de debogage"
|
||||
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "dump | buffer | windows | texte"
|
||||
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
" dump: affiche les variables mémoire WeeChat dans le fichier log (les "
|
||||
"mêmes messages sont affichés lorsque WeeChat plante)\n"
|
||||
" buffer: affiche le contenu du tampon en valeurs hexadécimales dans le "
|
||||
"fichier log\n"
|
||||
"windows: affiche l'arbre des fenêtres<\n"
|
||||
" texte: envoie le signal \"debug\" avec \"texte\" comme paramètre"
|
||||
|
||||
msgid "demo message without prefix"
|
||||
msgstr "message de démonstration sans préfixe"
|
||||
|
||||
@@ -1849,6 +1849,14 @@ msgstr "%s%s: erreur en lecture du tube, fermeture"
|
||||
msgid "%s%s: error opening file, closing it"
|
||||
msgstr "%s%s: erreur d'ouverture du fichier, fermeture"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: debug enabled"
|
||||
msgstr "%s: debug activé"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: debug disabled"
|
||||
msgstr "%s: debug désactivé"
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: cannot allocate new channel"
|
||||
msgstr "%s%s: impossible d'allouer un nouveau canal"
|
||||
@@ -4267,6 +4275,15 @@ msgstr ""
|
||||
msgid "%s%s: wrong arguments for function \"%s\""
|
||||
msgstr "%s%s: paramètres invalides pour la fonction \"%s\""
|
||||
|
||||
#~ msgid "debug command"
|
||||
#~ msgstr "commande debug"
|
||||
|
||||
#~ msgid "[test]"
|
||||
#~ msgstr "[test]"
|
||||
|
||||
#~ msgid "test: test"
|
||||
#~ msgstr "test: test"
|
||||
|
||||
#~ msgid "IP address or hostname of IRC server"
|
||||
#~ msgstr "adresse IP ou nom du serveur IRC"
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.2.7-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-02-03 16:29+0100\n"
|
||||
"POT-Creation-Date: 2008-02-21 07:54+0100\n"
|
||||
"PO-Revision-Date: 2007-10-10 18:07+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -527,26 +527,6 @@ msgstr ""
|
||||
"parancs: futtatandó parancs (egy '/' autómatikusan hozzáadódik, ha nincs "
|
||||
"megadva a parancs elején)\n"
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "hibakereső üzenetek megjelenítése"
|
||||
|
||||
#, fuzzy
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "dump | buffer | windows"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
" dump: memóriatartalom mentése a WeeChat logba (ugyanez a tartalom íródik "
|
||||
"a WeeChat összeomlásakor)\n"
|
||||
" buffer: hexadecimális puffertartalom logba írása\n"
|
||||
"windows: ablakfa megjelenítése"
|
||||
|
||||
msgid "display help about commands"
|
||||
msgstr "segítség megjelenítése a parancsokhoz"
|
||||
|
||||
@@ -1822,6 +1802,26 @@ msgid ""
|
||||
"for IRC channel \"#weechat\" on server \"freenode\""
|
||||
msgstr ""
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr "hibakereső üzenetek megjelenítése"
|
||||
|
||||
#, fuzzy
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr "dump | buffer | windows"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
" dump: memóriatartalom mentése a WeeChat logba (ugyanez a tartalom íródik "
|
||||
"a WeeChat összeomlásakor)\n"
|
||||
" buffer: hexadecimális puffertartalom logba írása\n"
|
||||
"windows: ablakfa megjelenítése"
|
||||
|
||||
msgid "demo message without prefix"
|
||||
msgstr ""
|
||||
|
||||
@@ -1947,6 +1947,14 @@ msgstr "%s hiba a FIFO cső olvasása közben, bezárás\n"
|
||||
msgid "%s%s: error opening file, closing it"
|
||||
msgstr "%s hiba a FIFO cső olvasása közben, bezárás\n"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s: debug enabled"
|
||||
msgstr "FIFO cső nyitva\n"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: debug disabled"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%s%s: cannot allocate new channel"
|
||||
msgstr "%s nem sikerült új csatornát lefoglalni"
|
||||
@@ -4337,6 +4345,14 @@ msgstr ""
|
||||
msgid "%s%s: wrong arguments for function \"%s\""
|
||||
msgstr "%s rossz argumentum a \"%s\" parancsnak\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "debug command"
|
||||
#~ msgstr "parancs"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "[test]"
|
||||
#~ msgstr "szöveg"
|
||||
|
||||
#~ msgid "IP address or hostname of IRC server"
|
||||
#~ msgstr "IRC szerver IP-címe vagy hosztneve"
|
||||
|
||||
@@ -4465,10 +4481,6 @@ msgstr "%s rossz argumentum a \"%s\" parancsnak\n"
|
||||
#~ msgid "%s%s: loading Perl script \"%s\""
|
||||
#~ msgstr "folyamat: \"%s\" szerver betöltése\n"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "%s%s: plugin ended"
|
||||
#~ msgstr "FIFO cső nyitva\n"
|
||||
|
||||
#~ msgid "%s cannot find nick for sending message\n"
|
||||
#~ msgstr "%s nem található név az üzenet küldéséhez\n"
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ SET(WEECHAT_SOURCES
|
||||
./src/core/wee-config-file.c
|
||||
./src/core/wee-config-file.h
|
||||
./src/core/wee-config.h
|
||||
./src/core/wee-debug.c
|
||||
./src/core/wee-debug.h
|
||||
./src/core/wee-hook.c
|
||||
./src/core/wee-hook.h
|
||||
./src/core/wee-input.c
|
||||
@@ -82,6 +84,7 @@ SET(WEECHAT_SOURCES
|
||||
./src/plugins/aspell/aspell.h
|
||||
./src/plugins/charset/charset.c
|
||||
./src/plugins/charset/charset.h
|
||||
./src/plugins/debug/debug.c
|
||||
./src/plugins/demo/demo.c
|
||||
./src/plugins/fifo/fifo.c
|
||||
./src/plugins/irc/irc-buffer.c
|
||||
|
||||
+23
-15
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2008-02-03 16:29+0100\n"
|
||||
"POT-Creation-Date: 2008-02-21 07:54+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -434,20 +434,6 @@ msgid ""
|
||||
"beginning of command)"
|
||||
msgstr ""
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr ""
|
||||
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
|
||||
msgid "display help about commands"
|
||||
msgstr ""
|
||||
|
||||
@@ -1505,6 +1491,20 @@ msgid ""
|
||||
"for IRC channel \"#weechat\" on server \"freenode\""
|
||||
msgstr ""
|
||||
|
||||
msgid "print debug messages"
|
||||
msgstr ""
|
||||
|
||||
msgid "dump | buffer | windows | text"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
"windows: display windows tree\n"
|
||||
" text: send \"debug\" signal with \"text\" as argument"
|
||||
msgstr ""
|
||||
|
||||
msgid "demo message without prefix"
|
||||
msgstr ""
|
||||
|
||||
@@ -1621,6 +1621,14 @@ msgstr ""
|
||||
msgid "%s%s: error opening file, closing it"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: debug enabled"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: debug disabled"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s%s: cannot allocate new channel"
|
||||
msgstr ""
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
|
||||
SET(LIB_CORE_SRC weechat.c weechat.h wee-backtrace.c wee-backtrace.h
|
||||
wee-command.c wee-command.h wee-config.c wee-config.h wee-config-file.c
|
||||
wee-config-file.h wee-hook.c wee-hook.h wee-input.c wee-input.h wee-list.c
|
||||
wee-list.h wee-log.c wee-log.h wee-string.c wee-string.h wee-upgrade.c
|
||||
wee-upgrade.h wee-utf8.c wee-utf8.h wee-util.c wee-util.h)
|
||||
wee-config-file.h wee-debug.c wee-debug.h wee-hook.c wee-hook.h wee-input.c
|
||||
wee-input.h wee-list.c wee-list.h wee-log.c wee-log.h wee-string.c wee-string.h
|
||||
wee-upgrade.c wee-upgrade.h wee-utf8.c wee-utf8.h wee-util.c wee-util.h)
|
||||
|
||||
# Check for flock support
|
||||
INCLUDE(CheckSymbolExists)
|
||||
|
||||
@@ -28,6 +28,8 @@ lib_weechat_core_a_SOURCES = weechat.c \
|
||||
wee-config.h \
|
||||
wee-config-file.c \
|
||||
wee-config-file.h \
|
||||
wee-debug.c \
|
||||
wee-debug.h \
|
||||
wee-hook.c \
|
||||
wee-hook.h \
|
||||
wee-input.c \
|
||||
|
||||
+21
-117
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (c) 2003-2008 by FlashCode <flashcode@flashtux.org>
|
||||
* See README for License detail, AUTHORS for developers list.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __WEECHAT_DEBUG_H
|
||||
#define __WEECHAT_DEBUG_H 1
|
||||
|
||||
struct t_gui_window_tree;
|
||||
|
||||
extern void debug_dump (int crash);
|
||||
extern void debug_init ();
|
||||
|
||||
#endif /* wee-debug.h */
|
||||
+18
-66
File diff suppressed because it is too large
Load Diff
@@ -23,6 +23,7 @@ weechat_curses_LDADD = ../../core/weechat.o \
|
||||
../../core/wee-command.o \
|
||||
../../core/wee-config.o \
|
||||
../../core/wee-config-file.o \
|
||||
../../core/wee-debug.o \
|
||||
../../core/wee-hook.o \
|
||||
../../core/wee-input.o \
|
||||
../../core/wee-list.o \
|
||||
|
||||
@@ -23,6 +23,7 @@ weechat_gtk_LDADD = ../../core/weechat.o \
|
||||
../../core/wee-command.o \
|
||||
../../core/wee-config.o \
|
||||
../../core/wee-config-file.o \
|
||||
../../core/wee-debug.o \
|
||||
../../core/wee-hook.o \
|
||||
../../core/wee-input.o \
|
||||
../../core/wee-list.o \
|
||||
|
||||
@@ -25,10 +25,6 @@ INCLUDE(CheckIncludeFiles)
|
||||
INCLUDE(CheckFunctionExists)
|
||||
INCLUDE(CheckLibraryExists)
|
||||
|
||||
IF(NOT DISABLE_IRC)
|
||||
ADD_SUBDIRECTORY( irc )
|
||||
ENDIF(NOT DISABLE_IRC)
|
||||
|
||||
IF(NOT DISABLE_ALIAS)
|
||||
ADD_SUBDIRECTORY( alias )
|
||||
ENDIF(NOT DISABLE_ALIAS)
|
||||
@@ -52,18 +48,26 @@ IF(ENABLE_DEMO)
|
||||
ADD_SUBDIRECTORY( demo )
|
||||
ENDIF(ENABLE_DEMO)
|
||||
|
||||
IF(NOT DISABLE_DEBUG)
|
||||
ADD_SUBDIRECTORY( debug )
|
||||
ENDIF(NOT DISABLE_DEBUG)
|
||||
|
||||
IF(NOT DISABLE_FIFO)
|
||||
ADD_SUBDIRECTORY( fifo )
|
||||
ENDIF(NOT DISABLE_FIFO)
|
||||
|
||||
IF(NOT DISABLE_IRC)
|
||||
ADD_SUBDIRECTORY( irc )
|
||||
ENDIF(NOT DISABLE_IRC)
|
||||
|
||||
IF(NOT DISABLE_LOGGER)
|
||||
ADD_SUBDIRECTORY( logger )
|
||||
ENDIF(NOT DISABLE_LOGGER)
|
||||
|
||||
IF(NOT DISABLE_TRIGGER)
|
||||
ADD_SUBDIRECTORY( trigger )
|
||||
ENDIF(NOT DISABLE_TRIGGER)
|
||||
|
||||
IF(NOT DISABLE_SCRIPTS AND NOT DISABLE_PERL AND NOT DISABLE_PYTHON AND NOT DISABLE_RUBY AND NOT DISABLE_LUA)
|
||||
ADD_SUBDIRECTORY( scripts )
|
||||
ENDIF(NOT DISABLE_SCRIPTS AND NOT DISABLE_PERL AND NOT DISABLE_PYTHON AND NOT DISABLE_RUBY AND NOT DISABLE_LUA)
|
||||
|
||||
IF(NOT DISABLE_TRIGGER)
|
||||
ADD_SUBDIRECTORY( trigger )
|
||||
ENDIF(NOT DISABLE_TRIGGER)
|
||||
|
||||
+18
-13
@@ -19,7 +19,7 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\"
|
||||
noinst_LIBRARIES = lib_weechat_plugins.a
|
||||
|
||||
lib_weechat_plugins_a_SOURCES = weechat-plugin.h \
|
||||
plugin.c \
|
||||
plugin.c \
|
||||
plugin.h \
|
||||
plugin-api.c \
|
||||
plugin-api.h \
|
||||
@@ -28,10 +28,6 @@ lib_weechat_plugins_a_SOURCES = weechat-plugin.h \
|
||||
plugin-infolist.c \
|
||||
plugin-infolist.h
|
||||
|
||||
if PLUGIN_IRC
|
||||
irc_dir = irc
|
||||
endif
|
||||
|
||||
if PLUGIN_ALIAS
|
||||
alias_dir = alias
|
||||
endif
|
||||
@@ -44,16 +40,24 @@ if PLUGIN_CHARSET
|
||||
charset_dir = charset
|
||||
endif
|
||||
|
||||
if PLUGIN_DEBUG
|
||||
debug_dir = debug
|
||||
endif
|
||||
|
||||
if PLUGIN_DEMO
|
||||
demo_dir = demo
|
||||
endif
|
||||
|
||||
if PLUGIN_FIFO
|
||||
fifo_dir = fifo
|
||||
endif
|
||||
|
||||
if PLUGIN_LOGGER
|
||||
logger_dir = logger
|
||||
if PLUGIN_IRC
|
||||
irc_dir = irc
|
||||
endif
|
||||
|
||||
if PLUGIN_TRIGGER
|
||||
trigger_dir = trigger
|
||||
if PLUGIN_LOGGER
|
||||
logger_dir = logger
|
||||
endif
|
||||
|
||||
if PLUGIN_PERL
|
||||
@@ -72,9 +76,10 @@ if PLUGIN_LUA
|
||||
script_dir = scripts
|
||||
endif
|
||||
|
||||
if PLUGIN_DEMO
|
||||
demo_dir = demo
|
||||
if PLUGIN_TRIGGER
|
||||
trigger_dir = trigger
|
||||
endif
|
||||
|
||||
SUBDIRS = . $(irc_dir) $(alias_dir) $(aspell_dir) $(charset_dir) $(fifo_dir) \
|
||||
$(logger_dir) $(trigger_dir) $(demo_dir) $(script_dir)
|
||||
SUBDIRS = . $(alias_dir) $(aspell_dir) $(charset_dir) $(debug_dir) \
|
||||
$(demo_dir) $(fifo_dir) $(irc_dir) $(logger_dir) $(script_dir) \
|
||||
$(trigger_dir)
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# Copyright (c) 2003-2008 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
ADD_LIBRARY(debug MODULE debug.c)
|
||||
SET_TARGET_PROPERTIES(debug PROPERTIES PREFIX "")
|
||||
|
||||
TARGET_LINK_LIBRARIES(debug)
|
||||
|
||||
INSTALL(TARGETS debug LIBRARY DESTINATION lib/${PROJECT_NAME}/plugins)
|
||||
@@ -0,0 +1,25 @@
|
||||
# Copyright (c) 2003-2008 FlashCode <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(DEBUG_CFLAGS)
|
||||
|
||||
libdir = ${weechat_libdir}/plugins
|
||||
|
||||
lib_LTLIBRARIES = debug.la
|
||||
|
||||
debug_la_SOURCES = debug.c
|
||||
debug_la_LDFLAGS = -module
|
||||
debug_la_LIBADD = $(DEBUG_LFLAGS)
|
||||
File diff suppressed because it is too large
Load Diff
+31
-26
@@ -60,12 +60,38 @@ gnutls_certificate_credentials gnutls_xcred; /* gnutls client credentials */
|
||||
|
||||
|
||||
/*
|
||||
* irc_signal_dump_data_cb: dump IRC data in WeeChat log file
|
||||
* irc_signal_debug_cb: callback for "debug" signal
|
||||
*/
|
||||
|
||||
int
|
||||
irc_signal_dump_data_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
irc_signal_debug_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
(void) signal;
|
||||
|
||||
if (strcmp (type_data, WEECHAT_HOOK_SIGNAL_STRING) == 0)
|
||||
{
|
||||
if (weechat_strcasecmp ((char *)signal_data, "irc") == 0)
|
||||
irc_debug ^= 1;
|
||||
}
|
||||
|
||||
if (irc_debug)
|
||||
weechat_printf (NULL, _("%s: debug enabled"), "irc");
|
||||
else
|
||||
weechat_printf (NULL, _("%s: debug disabled"), "irc");
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_signal_debug_dump_cb: dump IRC data in WeeChat log file
|
||||
*/
|
||||
|
||||
int
|
||||
irc_signal_debug_dump_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
@@ -139,27 +165,6 @@ irc_signal_quit_cb (void *data, char *signal, char *type_data,
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_signal_debug_cb: callback for "debug" signal
|
||||
*/
|
||||
|
||||
int
|
||||
irc_signal_debug_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
(void) signal;
|
||||
|
||||
if (strcmp (type_data, WEECHAT_HOOK_SIGNAL_STRING) == 0)
|
||||
{
|
||||
if (weechat_strcasecmp ((char *)signal_data, "irc") == 0)
|
||||
irc_debug ^= 1;
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* weechat_plugin_init: initialize IRC plugin
|
||||
*/
|
||||
@@ -187,9 +192,9 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
|
||||
irc_command_init ();
|
||||
|
||||
/* hook some signals */
|
||||
weechat_hook_signal ("dump_data", &irc_signal_dump_data_cb, NULL);
|
||||
weechat_hook_signal ("quit", &irc_signal_quit_cb, NULL);
|
||||
weechat_hook_signal ("debug", &irc_signal_debug_cb, NULL);
|
||||
weechat_hook_signal ("debug_dump", &irc_signal_debug_dump_cb, NULL);
|
||||
weechat_hook_signal ("quit", &irc_signal_quit_cb, NULL);
|
||||
|
||||
/* hook completions */
|
||||
irc_completion_init ();
|
||||
|
||||
@@ -417,12 +417,12 @@ weechat_lua_completion_cb (void *data, char *completion,
|
||||
}
|
||||
|
||||
/*
|
||||
* weechat_lua_dump_data_cb: dump Lua plugin data in WeeChat log file
|
||||
* weechat_lua_debug_dump_cb: dump Lua plugin data in WeeChat log file
|
||||
*/
|
||||
|
||||
int
|
||||
weechat_lua_dump_data_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
weechat_lua_debug_dump_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
@@ -448,7 +448,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
|
||||
script_init (weechat_lua_plugin,
|
||||
&weechat_lua_command_cb,
|
||||
&weechat_lua_completion_cb,
|
||||
&weechat_lua_dump_data_cb,
|
||||
&weechat_lua_debug_dump_cb,
|
||||
&weechat_lua_load_cb);
|
||||
|
||||
/* init ok */
|
||||
|
||||
@@ -554,12 +554,12 @@ weechat_perl_completion_cb (void *data, char *completion,
|
||||
}
|
||||
|
||||
/*
|
||||
* weechat_perl_dump_data_cb: dump Perl plugin data in WeeChat log file
|
||||
* weechat_perl_debug_dump_cb: dump Perl plugin data in WeeChat log file
|
||||
*/
|
||||
|
||||
int
|
||||
weechat_perl_dump_data_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
weechat_perl_debug_dump_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
@@ -602,7 +602,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
|
||||
script_init (weechat_perl_plugin,
|
||||
&weechat_perl_command_cb,
|
||||
&weechat_perl_completion_cb,
|
||||
&weechat_perl_dump_data_cb,
|
||||
&weechat_perl_debug_dump_cb,
|
||||
&weechat_perl_load_cb);
|
||||
|
||||
/* init ok */
|
||||
|
||||
@@ -581,12 +581,12 @@ weechat_python_completion_cb (void *data, char *completion,
|
||||
}
|
||||
|
||||
/*
|
||||
* weechat_python_dump_data_cb: dump Python plugin data in WeeChat log file
|
||||
* weechat_python_debug_dump_cb: dump Python plugin data in WeeChat log file
|
||||
*/
|
||||
|
||||
int
|
||||
weechat_python_dump_data_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
weechat_python_debug_dump_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
@@ -638,7 +638,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
|
||||
script_init (weechat_python_plugin,
|
||||
&weechat_python_command_cb,
|
||||
&weechat_python_completion_cb,
|
||||
&weechat_python_dump_data_cb,
|
||||
&weechat_python_debug_dump_cb,
|
||||
&weechat_python_load_cb);
|
||||
|
||||
/* init ok */
|
||||
|
||||
@@ -582,12 +582,12 @@ weechat_ruby_completion_cb (void *data, char *completion,
|
||||
}
|
||||
|
||||
/*
|
||||
* weechat_ruby_dump_data_cb: dump Ruby plugin data in WeeChat log file
|
||||
* weechat_ruby_debug_dump_cb: dump Ruby plugin data in WeeChat log file
|
||||
*/
|
||||
|
||||
int
|
||||
weechat_ruby_dump_data_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
weechat_ruby_debug_dump_cb (void *data, char *signal, char *type_data,
|
||||
void *signal_data)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
@@ -690,7 +690,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
|
||||
script_init (weechat_ruby_plugin,
|
||||
&weechat_ruby_command_cb,
|
||||
&weechat_ruby_completion_cb,
|
||||
&weechat_ruby_dump_data_cb,
|
||||
&weechat_ruby_debug_dump_cb,
|
||||
&weechat_ruby_load_cb);
|
||||
|
||||
/* init ok */
|
||||
|
||||
@@ -88,9 +88,9 @@ script_init (struct t_weechat_plugin *weechat_plugin,
|
||||
int (*callback_completion)(void *data, char *completion,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_weelist *list),
|
||||
int (*callback_signal_dump)(void *data, char *signal,
|
||||
char *type_data,
|
||||
void *signal_data),
|
||||
int (*callback_signal_debug_dump)(void *data, char *signal,
|
||||
char *type_data,
|
||||
void *signal_data),
|
||||
int (*callback_load_file)(void *data, char *filename))
|
||||
{
|
||||
char *string, *completion = "list|listfull|load|autoload|reload|unload %f";
|
||||
@@ -154,8 +154,8 @@ script_init (struct t_weechat_plugin *weechat_plugin,
|
||||
free (string);
|
||||
}
|
||||
|
||||
/* add signal for "dump_data" */
|
||||
weechat_hook_signal ("dump_data", callback_signal_dump, NULL);
|
||||
/* add signal for "debug_dump" */
|
||||
weechat_hook_signal ("debug_dump", callback_signal_debug_dump, NULL);
|
||||
|
||||
/* autoload scripts */
|
||||
script_auto_load (weechat_plugin, callback_load_file);
|
||||
|
||||
@@ -64,9 +64,10 @@ extern void script_init (struct t_weechat_plugin *weechat_plugin,
|
||||
int (*callback_completion)(void *data, char *completion,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_weelist *list),
|
||||
int (*callback_signal_dump)(void *data, char *signal,
|
||||
char *type_data,
|
||||
void *signal_data),
|
||||
int (*callback_signal_debug_dump)(void *data,
|
||||
char *signal,
|
||||
char *type_data,
|
||||
void *signal_data),
|
||||
int (*callback_load_file)(void *data, char *filename));
|
||||
extern char *script_ptr2str (void *pointer);
|
||||
extern void *script_str2ptr (char *pointer_str);
|
||||
|
||||
Reference in New Issue
Block a user