├── doc ├── cs │ ├── docinfo.html │ └── cmdline_options.cs.adoc ├── de │ ├── docinfo.html │ ├── autogen │ │ ├── plugin_api │ │ │ ├── plugins_priority.adoc │ │ │ └── infos_hashtable.adoc │ │ └── user │ │ │ ├── charset_commands.adoc │ │ │ ├── xfer_commands.adoc │ │ │ ├── charset_options.adoc │ │ │ ├── fifo_commands.adoc │ │ │ ├── lua_commands.adoc │ │ │ ├── tcl_commands.adoc │ │ │ ├── perl_commands.adoc │ │ │ ├── ruby_commands.adoc │ │ │ ├── guile_commands.adoc │ │ │ ├── python_commands.adoc │ │ │ ├── javascript_commands.adoc │ │ │ └── aspell_commands.adoc │ └── cmdline_options.de.adoc ├── en │ ├── docinfo.html │ ├── autogen │ │ ├── plugin_api │ │ │ ├── plugins_priority.adoc │ │ │ └── infos_hashtable.adoc │ │ └── user │ │ │ ├── charset_commands.adoc │ │ │ ├── xfer_commands.adoc │ │ │ ├── charset_options.adoc │ │ │ ├── fifo_commands.adoc │ │ │ ├── lua_commands.adoc │ │ │ ├── tcl_commands.adoc │ │ │ ├── perl_commands.adoc │ │ │ ├── ruby_commands.adoc │ │ │ ├── guile_commands.adoc │ │ │ ├── python_commands.adoc │ │ │ ├── javascript_commands.adoc │ │ │ ├── aspell_commands.adoc │ │ │ └── logger_commands.adoc │ └── cmdline_options.en.adoc ├── es │ └── docinfo.html ├── fr │ ├── docinfo.html │ ├── autogen │ │ ├── plugin_api │ │ │ ├── plugins_priority.adoc │ │ │ └── infos_hashtable.adoc │ │ └── user │ │ │ ├── charset_commands.adoc │ │ │ ├── xfer_commands.adoc │ │ │ ├── charset_options.adoc │ │ │ ├── fifo_commands.adoc │ │ │ ├── lua_commands.adoc │ │ │ ├── tcl_commands.adoc │ │ │ ├── perl_commands.adoc │ │ │ ├── ruby_commands.adoc │ │ │ ├── guile_commands.adoc │ │ │ ├── python_commands.adoc │ │ │ ├── javascript_commands.adoc │ │ │ └── aspell_commands.adoc │ └── cmdline_options.fr.adoc ├── it │ ├── docinfo.html │ ├── autogen │ │ ├── plugin_api │ │ │ ├── plugins_priority.adoc │ │ │ └── infos_hashtable.adoc │ │ └── user │ │ │ ├── xfer_commands.adoc │ │ │ ├── charset_commands.adoc │ │ │ ├── charset_options.adoc │ │ │ ├── fifo_commands.adoc │ │ │ ├── lua_commands.adoc │ │ │ ├── tcl_commands.adoc │ │ │ ├── perl_commands.adoc │ │ │ ├── ruby_commands.adoc │ │ │ ├── guile_commands.adoc │ │ │ ├── python_commands.adoc │ │ │ ├── javascript_commands.adoc │ │ │ └── aspell_commands.adoc │ └── cmdline_options.it.adoc ├── ja │ ├── docinfo.html │ ├── autogen │ │ ├── user │ │ │ ├── charset_commands.adoc │ │ │ ├── xfer_commands.adoc │ │ │ ├── charset_options.adoc │ │ │ ├── fifo_commands.adoc │ │ │ ├── lua_commands.adoc │ │ │ ├── tcl_commands.adoc │ │ │ ├── perl_commands.adoc │ │ │ ├── ruby_commands.adoc │ │ │ ├── guile_commands.adoc │ │ │ ├── python_commands.adoc │ │ │ ├── javascript_commands.adoc │ │ │ ├── aspell_commands.adoc │ │ │ ├── logger_commands.adoc │ │ │ ├── sec_options.adoc │ │ │ ├── exec_options.adoc │ │ │ └── alias_commands.adoc │ │ └── plugin_api │ │ │ ├── plugins_priority.adoc │ │ │ └── infos_hashtable.adoc │ └── cmdline_options.ja.adoc ├── pl │ ├── docinfo.html │ ├── autogen │ │ ├── plugin_api │ │ │ ├── plugins_priority.adoc │ │ │ └── infos_hashtable.adoc │ │ └── user │ │ │ ├── charset_commands.adoc │ │ │ ├── xfer_commands.adoc │ │ │ ├── charset_options.adoc │ │ │ ├── fifo_commands.adoc │ │ │ ├── lua_commands.adoc │ │ │ ├── tcl_commands.adoc │ │ │ ├── perl_commands.adoc │ │ │ ├── ruby_commands.adoc │ │ │ ├── guile_commands.adoc │ │ │ ├── python_commands.adoc │ │ │ ├── javascript_commands.adoc │ │ │ └── aspell_commands.adoc │ └── cmdline_options.pl.adoc ├── ru │ ├── docinfo.html │ └── cmdline_options.ru.adoc ├── docinfo.html ├── Makefile.am └── CMakeLists.txt ├── tools └── debian │ └── patches │ ├── weechat_ubuntu_wily.patch │ ├── weechat_raspbian_jessie.patch │ ├── weechat_ubuntu_precise.patch │ ├── README │ └── weechat_debian_jessie.patch ├── weechat.png ├── weechat.pc.in ├── po ├── Makevars └── remove-potcdate.sin ├── config.h.cmake ├── src ├── Makefile.am ├── plugins │ ├── irc │ │ ├── irc-info.h │ │ ├── irc-debug.h │ │ ├── irc-completion.h │ │ ├── irc-bar-item.h │ │ ├── irc.h │ │ ├── irc-mode.h │ │ ├── irc-upgrade.h │ │ └── irc-input.h │ ├── fifo │ │ ├── fifo-info.h │ │ ├── fifo-command.h │ │ ├── CMakeLists.txt │ │ ├── fifo.h │ │ └── Makefile.am │ ├── xfer │ │ ├── xfer-info.h │ │ ├── xfer-command.h │ │ ├── xfer-completion.h │ │ ├── xfer-dcc.h │ │ ├── xfer-file.h │ │ ├── xfer-chat.h │ │ ├── xfer-upgrade.h │ │ ├── xfer-network.h │ │ ├── CMakeLists.txt │ │ └── xfer-buffer.h │ ├── alias │ │ ├── alias-info.h │ │ ├── alias-command.h │ │ ├── alias-completion.h │ │ ├── CMakeLists.txt │ │ └── Makefile.am │ ├── relay │ │ ├── relay-info.h │ │ ├── relay-command.h │ │ ├── relay-completion.h │ │ └── relay-upgrade.h │ ├── logger │ │ ├── logger-info.h │ │ ├── CMakeLists.txt │ │ ├── logger-tail.h │ │ ├── logger.h │ │ └── Makefile.am │ ├── script │ │ ├── script-info.h │ │ ├── script-command.h │ │ ├── script-completion.h │ │ ├── script-action.h │ │ └── CMakeLists.txt │ ├── aspell │ │ ├── weechat-aspell-info.h │ │ ├── weechat-aspell-bar-item.h │ │ ├── weechat-aspell-command.h │ │ └── weechat-aspell-completion.h │ ├── exec │ │ ├── exec-completion.h │ │ ├── CMakeLists.txt │ │ ├── exec-buffer.h │ │ └── Makefile.am │ ├── trigger │ │ ├── trigger-command.h │ │ ├── trigger-completion.h │ │ └── CMakeLists.txt │ ├── charset │ │ ├── Makefile.am │ │ └── CMakeLists.txt │ ├── lua │ │ ├── CMakeLists.txt │ │ └── Makefile.am │ ├── guile │ │ ├── CMakeLists.txt │ │ └── Makefile.am │ ├── perl │ │ ├── Makefile.am │ │ └── weechat-perl-api.h │ ├── ruby │ │ ├── Makefile.am │ │ └── CMakeLists.txt │ ├── javascript │ │ ├── CMakeLists.txt │ │ ├── Makefile.am │ │ └── weechat-js-api.h │ ├── python │ │ ├── Makefile.am │ │ └── CMakeLists.txt │ └── tcl │ │ ├── Makefile.am │ │ └── CMakeLists.txt ├── core │ ├── wee-backtrace.h │ ├── wee-log.h │ ├── wee-version.h │ ├── wee-input.h │ ├── wee-debug.h │ └── wee-completion.h ├── CMakeLists.txt └── gui │ ├── gui-nick.h │ ├── gui-main.h │ ├── curses │ └── main.c │ └── gui-cursor.h ├── tests └── unit │ └── core │ └── test-url.cpp ├── .travis.yml └── cmake ├── FindCppUTest.cmake └── FindLua.cmake /doc/cs/docinfo.html: -------------------------------------------------------------------------------- 1 | ../docinfo.html -------------------------------------------------------------------------------- /doc/de/docinfo.html: -------------------------------------------------------------------------------- 1 | ../docinfo.html -------------------------------------------------------------------------------- /doc/en/docinfo.html: -------------------------------------------------------------------------------- 1 | ../docinfo.html -------------------------------------------------------------------------------- /doc/es/docinfo.html: -------------------------------------------------------------------------------- 1 | ../docinfo.html -------------------------------------------------------------------------------- /doc/fr/docinfo.html: -------------------------------------------------------------------------------- 1 | ../docinfo.html -------------------------------------------------------------------------------- /doc/it/docinfo.html: -------------------------------------------------------------------------------- 1 | ../docinfo.html -------------------------------------------------------------------------------- /doc/ja/docinfo.html: -------------------------------------------------------------------------------- 1 | ../docinfo.html -------------------------------------------------------------------------------- /doc/pl/docinfo.html: -------------------------------------------------------------------------------- 1 | ../docinfo.html -------------------------------------------------------------------------------- /doc/ru/docinfo.html: -------------------------------------------------------------------------------- 1 | ../docinfo.html -------------------------------------------------------------------------------- /tools/debian/patches/weechat_ubuntu_wily.patch: -------------------------------------------------------------------------------- 1 | weechat_debian_jessie.patch -------------------------------------------------------------------------------- /tools/debian/patches/weechat_raspbian_jessie.patch: -------------------------------------------------------------------------------- 1 | weechat_debian_jessie.patch -------------------------------------------------------------------------------- /tools/debian/patches/weechat_ubuntu_precise.patch: -------------------------------------------------------------------------------- 1 | weechat_debian_wheezy.patch -------------------------------------------------------------------------------- /weechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elKaZe/weechat/master/weechat.png -------------------------------------------------------------------------------- /weechat.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: weechat 7 | Description: Weechat plugins headers 8 | Version: @VERSION@ 9 | Cflags: -I${includedir}/@PACKAGE@ 10 | -------------------------------------------------------------------------------- /po/Makevars: -------------------------------------------------------------------------------- 1 | DOMAIN = $(PACKAGE) 2 | subdir = po 3 | top_builddir = .. 4 | XGETTEXT_OPTIONS = --keyword=_ --keyword=weechat_gettext --keyword=N_ --keyword=NG_:1,2 --keyword=weechat_ngettext:1,2 --no-location --from-code=UTF-8 5 | COPYRIGHT_HOLDER = 6 | EXTRA_LOCALE_CATEGORIES = 7 | MSGID_BUGS_ADDRESS = flashcode@flashtux.org 8 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/charset_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_charset_charset]] 6 | * `+charset+`: 現在のバッファの文字セットを変更 7 | 8 | ---- 9 | /charset decode|encode 10 | reset 11 | 12 | decode: デコード文字セットを変更 13 | encode: エンコード文字セットを変更 14 | charset: 現在のバッファの新しい文字セット 15 | reset: 現在のバッファの文字セットをリセット 16 | ---- 17 | -------------------------------------------------------------------------------- /doc/de/autogen/plugin_api/plugins_priority.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | . charset (13000) 6 | . logger (12000) 7 | . exec (11000) 8 | . trigger (10000) 9 | . aspell (9000) 10 | . alias (8000) 11 | . fifo (7000) 12 | . xfer (6000) 13 | . irc (5000) 14 | . relay (4000) 15 | . guile, javascript, lua, perl, python, ruby, tcl (3000) 16 | . script (2000) 17 | -------------------------------------------------------------------------------- /doc/en/autogen/plugin_api/plugins_priority.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | . charset (13000) 6 | . logger (12000) 7 | . exec (11000) 8 | . trigger (10000) 9 | . aspell (9000) 10 | . alias (8000) 11 | . fifo (7000) 12 | . xfer (6000) 13 | . irc (5000) 14 | . relay (4000) 15 | . guile, javascript, lua, perl, python, ruby, tcl (3000) 16 | . script (2000) 17 | -------------------------------------------------------------------------------- /doc/fr/autogen/plugin_api/plugins_priority.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | . charset (13000) 6 | . logger (12000) 7 | . exec (11000) 8 | . trigger (10000) 9 | . aspell (9000) 10 | . alias (8000) 11 | . fifo (7000) 12 | . xfer (6000) 13 | . irc (5000) 14 | . relay (4000) 15 | . guile, javascript, lua, perl, python, ruby, tcl (3000) 16 | . script (2000) 17 | -------------------------------------------------------------------------------- /doc/it/autogen/plugin_api/plugins_priority.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | . charset (13000) 6 | . logger (12000) 7 | . exec (11000) 8 | . trigger (10000) 9 | . aspell (9000) 10 | . alias (8000) 11 | . fifo (7000) 12 | . xfer (6000) 13 | . irc (5000) 14 | . relay (4000) 15 | . guile, javascript, lua, perl, python, ruby, tcl (3000) 16 | . script (2000) 17 | -------------------------------------------------------------------------------- /doc/ja/autogen/plugin_api/plugins_priority.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | . charset (13000) 6 | . logger (12000) 7 | . exec (11000) 8 | . trigger (10000) 9 | . aspell (9000) 10 | . alias (8000) 11 | . fifo (7000) 12 | . xfer (6000) 13 | . irc (5000) 14 | . relay (4000) 15 | . guile, javascript, lua, perl, python, ruby, tcl (3000) 16 | . script (2000) 17 | -------------------------------------------------------------------------------- /doc/pl/autogen/plugin_api/plugins_priority.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | . charset (13000) 6 | . logger (12000) 7 | . exec (11000) 8 | . trigger (10000) 9 | . aspell (9000) 10 | . alias (8000) 11 | . fifo (7000) 12 | . xfer (6000) 13 | . irc (5000) 14 | . relay (4000) 15 | . guile, javascript, lua, perl, python, ruby, tcl (3000) 16 | . script (2000) 17 | -------------------------------------------------------------------------------- /doc/en/autogen/user/charset_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_charset_charset]] 6 | * `+charset+`: change charset for current buffer 7 | 8 | ---- 9 | /charset decode|encode 10 | reset 11 | 12 | decode: change decoding charset 13 | encode: change encoding charset 14 | charset: new charset for current buffer 15 | reset: reset charsets for current buffer 16 | ---- 17 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/xfer_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_xfer_me]] 6 | * `+me+`: CTCP action をリモートホストに送信 7 | 8 | ---- 9 | /me 10 | 11 | message: 送信メッセージ 12 | ---- 13 | 14 | [[command_xfer_xfer]] 15 | * `+xfer+`: xfer 管理 16 | 17 | ---- 18 | /xfer [list|listfull] 19 | 20 | list: xfer をリストアップ 21 | listfull: xfer をリストアップ (詳細) 22 | 23 | 引数無しでは、xfer リストを含むバッファを開きます。 24 | ---- 25 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/charset_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_charset_charset]] 6 | * `+charset+`: zmienia kodowanie dla obecnego bufora 7 | 8 | ---- 9 | /charset decode|encode 10 | reset 11 | 12 | decode: zmienia dekodowany zestaw znaków 13 | encode: zmienia kodowany zestaw znaków 14 | kodowanie: nowe kodowanie dla obecnego bufora 15 | reset: resetuje kodowanie dla obecnego bufora 16 | ---- 17 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/charset_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_charset_charset]] 6 | * `+charset+`: changer le charset pour le tampon courant 7 | 8 | ---- 9 | /charset decode|encode 10 | reset 11 | 12 | decode : changer le charset de décodage 13 | encode : changer le charset d'encodage 14 | charset : nouveau charset pour le tampon courant 15 | reset : réinitialiser les charsets pour le tampon courant 16 | ---- 17 | -------------------------------------------------------------------------------- /doc/de/autogen/user/charset_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_charset_charset]] 6 | * `+charset+`: Ändert den Zeichensatz für aktuellen Buffer 7 | 8 | ---- 9 | /charset decode|encode 10 | reset 11 | 12 | decode: ändere Zeichensatz zum dekodieren 13 | encode: ändere Zeichensatz zum kodieren 14 | charset: wähle neuen Zeichensatz für aktuellen Buffer 15 | reset: setze im aktuellen Buffer den Zeichensatz zurück 16 | ---- 17 | -------------------------------------------------------------------------------- /doc/en/autogen/user/xfer_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_xfer_me]] 6 | * `+me+`: send a CTCP action to remote host 7 | 8 | ---- 9 | /me 10 | 11 | message: message to send 12 | ---- 13 | 14 | [[command_xfer_xfer]] 15 | * `+xfer+`: xfer control 16 | 17 | ---- 18 | /xfer [list|listfull] 19 | 20 | list: list xfer 21 | listfull: list xfer (verbose) 22 | 23 | Without argument, this command opens buffer with xfer list. 24 | ---- 25 | -------------------------------------------------------------------------------- /po/remove-potcdate.sin: -------------------------------------------------------------------------------- 1 | # Sed script that remove the POT-Creation-Date line in the header entry 2 | # from a POT file. 3 | # 4 | # The distinction between the first and the following occurrences of the 5 | # pattern is achieved by looking at the hold space. 6 | /^"POT-Creation-Date: .*"$/{ 7 | x 8 | # Test if the hold space is empty. 9 | s/P/P/ 10 | ta 11 | # Yes it was empty. First occurrence. Remove the line. 12 | g 13 | d 14 | bb 15 | :a 16 | # The hold space was nonempty. Following occurrences. Do nothing. 17 | x 18 | :b 19 | } 20 | -------------------------------------------------------------------------------- /doc/it/autogen/user/xfer_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_xfer_me]] 6 | * `+me+`: invia un'azione CTCP all'host remoto 7 | 8 | ---- 9 | /me 10 | 11 | messaggio: messaggio da inviare 12 | ---- 13 | 14 | [[command_xfer_xfer]] 15 | * `+xfer+`: controllo xfer 16 | 17 | ---- 18 | /xfer [list|listfull] 19 | 20 | list: lista xfer 21 | listfull: lista xfer (dettagliata) 22 | 23 | Senza argomenti, il comando apre il buffer con la lista xfer. 24 | ---- 25 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/xfer_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_xfer_me]] 6 | * `+me+`: wysyła akcję CTCP do zdalnego hosta 7 | 8 | ---- 9 | /me 10 | 11 | wiadomość: wiadomość do wysłania 12 | ---- 13 | 14 | [[command_xfer_xfer]] 15 | * `+xfer+`: kontrola xfer 16 | 17 | ---- 18 | /xfer [list|listfull] 19 | 20 | list: wyświetla xfer 21 | listfull: wyświetla xfer (ze szczegółami) 22 | 23 | Bez argumentów komenda otworzy bufor z listą xfer. 24 | ---- 25 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/xfer_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_xfer_me]] 6 | * `+me+`: envoyer une action CTCP à l'hôte distant 7 | 8 | ---- 9 | /me 10 | 11 | message : message à envoyer 12 | ---- 13 | 14 | [[command_xfer_xfer]] 15 | * `+xfer+`: contrôle xfer 16 | 17 | ---- 18 | /xfer [list|listfull] 19 | 20 | list : lister les xfer 21 | listfull : lister les xfer (verbeux) 22 | 23 | Sans paramètre, cette commande ouvre le tampon avec la liste des xfer. 24 | ---- 25 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/charset_options.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | * [[option_charset.default.decode]] *charset.default.decode* 6 | ** 説明: pass:none[グローバルデコード文字セット: 不正な UTF-8 メッセージを受信した場合にこれをデコードする文字セット] 7 | ** タイプ: 文字列 8 | ** 値: 未制約文字列 (デフォルト値: `+"iso-8859-1"+`) 9 | 10 | * [[option_charset.default.encode]] *charset.default.encode* 11 | ** 説明: pass:none[グローバルエンコード文字セット: 送信メッセージをエンコードする文字セット (空の場合、UTF-8 でエンコードされます。UTF-8 は WeeChat の内部文字セットです)] 12 | ** タイプ: 文字列 13 | ** 値: 未制約文字列 (デフォルト値: `+""+`) 14 | -------------------------------------------------------------------------------- /doc/it/autogen/user/charset_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_charset_charset]] 6 | * `+charset+`: modifica il set di caratteri per il buffer corrente 7 | 8 | ---- 9 | /charset decode|encode 10 | reset 11 | 12 | decode: modifica il set di caratteri per la decodifica 13 | encode: modifica il set di caratteri per la codifica 14 | set_caratteri: nuovo set di caratteri per il buffer corrente 15 | reset: resetta il set di caratteri per il buffer corrente 16 | ---- 17 | -------------------------------------------------------------------------------- /doc/de/autogen/user/xfer_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_xfer_me]] 6 | * `+me+`: sendet CTCP Aktion an entfernten Host 7 | 8 | ---- 9 | /me 10 | 11 | message: zu sendende Nachricht 12 | ---- 13 | 14 | [[command_xfer_xfer]] 15 | * `+xfer+`: Kontrolle der Übertragung(en) 16 | 17 | ---- 18 | /xfer [list|listfull] 19 | 20 | list: zeigt Liste der Übertragungen 21 | listfull: zeigt eine ausführliche Liste der Übertragungen 22 | 23 | Ohne Angabe von Argumenten wird der Buffer mit der Übertragungsliste geöffnet. 24 | ---- 25 | -------------------------------------------------------------------------------- /tools/debian/patches/README: -------------------------------------------------------------------------------- 1 | This directory contains patches that must be applied for some old Debian/Ubuntu 2 | versions, in order to build Debian packages. 3 | 4 | They are automatically applied by the script "tools/build-debian.sh". 5 | 6 | Notes for some versions of distributions: 7 | 8 | * asciidoctor: 9 | 10 | On these distributions, asciidoctor must be installed manually with the command 11 | "gem install asciidoctor" (as root): 12 | 13 | - Debian jessie (8.0) 14 | - Debian wheezy (7.0) 15 | - Ubuntu wily (15.10) 16 | - Ubuntu trusty (14.04) 17 | - Ubuntu precise (12.04) 18 | - Raspbian jessie 19 | -------------------------------------------------------------------------------- /doc/en/autogen/user/charset_options.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | * [[option_charset.default.decode]] *charset.default.decode* 6 | ** description: pass:none[global decoding charset: charset used to decode incoming messages when they are not UTF-8 valid] 7 | ** type: string 8 | ** values: any string (default value: `+"iso-8859-1"+`) 9 | 10 | * [[option_charset.default.encode]] *charset.default.encode* 11 | ** description: pass:none[global encoding charset: charset used to encode outgoing messages (if empty, default is UTF-8 because it is the WeeChat internal charset)] 12 | ** type: string 13 | ** values: any string (default value: `+""+`) 14 | -------------------------------------------------------------------------------- /doc/it/autogen/user/charset_options.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | * [[option_charset.default.decode]] *charset.default.decode* 6 | ** descrizione: pass:none[global decoding charset: charset used to decode incoming messages when they are not UTF-8 valid] 7 | ** tipo: stringa 8 | ** valori: qualsiasi stringa (valore predefinito: `+"iso-8859-1"+`) 9 | 10 | * [[option_charset.default.encode]] *charset.default.encode* 11 | ** descrizione: pass:none[global encoding charset: charset used to encode outgoing messages (if empty, default is UTF-8 because it is the WeeChat internal charset)] 12 | ** tipo: stringa 13 | ** valori: qualsiasi stringa (valore predefinito: `+""+`) 14 | -------------------------------------------------------------------------------- /doc/docinfo.html: -------------------------------------------------------------------------------- 1 | 5 | 35 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/charset_options.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | * [[option_charset.default.decode]] *charset.default.decode* 6 | ** description: pass:none[charset de décodage global : charset utilisé pour décoder les messages entrants lorsqu'ils ne sont pas valides UTF-8] 7 | ** type: chaîne 8 | ** valeurs: toute chaîne (valeur par défaut: `+"iso-8859-1"+`) 9 | 10 | * [[option_charset.default.encode]] *charset.default.encode* 11 | ** description: pass:none[charset d'encodage global : charset utilisé pour encoder les messages sortants (si vide, le défaut est UTF-8 car c'est le charset interne de WeeChat)] 12 | ** type: chaîne 13 | ** valeurs: toute chaîne (valeur par défaut: `+""+`) 14 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/charset_options.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | * [[option_charset.default.decode]] *charset.default.decode* 6 | ** opis: pass:none[globalne dekodowanie: kodowanie użyte do dekodowania przychodzących wiadomości, kiedy nie są one zgodne z UTF-8] 7 | ** typ: ciąg 8 | ** wartości: dowolny ciąg (domyślna wartość: `+"iso-8859-1"+`) 9 | 10 | * [[option_charset.default.encode]] *charset.default.encode* 11 | ** opis: pass:none[globalne dekodowanie: kodowanie użyte do dekodowania wychodzących wiadomości (jeśli się nie powiedzie, zostanie przywrócone UTF-8, ponieważ jest to domyślne kodowanie w WeeChat)] 12 | ** typ: ciąg 13 | ** wartości: dowolny ciąg (domyślna wartość: `+""+`) 14 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/fifo_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_fifo_fifo]] 6 | * `+fifo+`: fifo プラグイン設定 7 | 8 | ---- 9 | /fifo enable|disable|toggle 10 | 11 | enable: FIFO パイプを有効化します 12 | disable: FIFO パイプを無効化します 13 | toggle: FIFO パイプの有効無効を切り替えます 14 | 15 | FIFO パイプは WeeChat をリモート操作する際に使われます: FIFO パイプを通じてシェルからコマンドやテキストを送信できます。 16 | デフォルトの場合 FIFO パイプは ~/.weechat/weechat_fifo_xxx です ("xxx" は WeeChat の PID です)。 17 | 18 | 書式は次のうちのどれか 1 つを使ってください: 19 | plugin.buffer *テキストまたはコマンド 20 | *テキストまたはコマンド 21 | 22 | freenode のニックネームを変更する例: 23 | echo 'irc.server.freenode */nick newnick' >~/.weechat/weechat_fifo_12345 24 | 25 | 詳しい情報と例はユーザーズガイドを参照してください。 26 | 27 | 例: 28 | /fifo toggle 29 | ---- 30 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/lua_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_lua_lua]] 6 | * `+lua+`: スクリプトをリストアップ/ロード/アンロード 7 | 8 | ---- 9 | /lua list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: ロード済みスクリプトをリストアップ 15 | listfull: ロード済みスクリプトをリストアップ (詳細) 16 | load: スクリプトをロード 17 | autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード 18 | reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード) 19 | unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード) 20 | filename: ロードするスクリプト (ファイル) 21 | name: スクリプト名 (名前は "register" 関数を呼び出すために使われる) 22 | -q: 出力抑制モード: メッセージを表示しない 23 | 24 | 引数無しの場合、全てのロード済みスクリプトをリストアップします。 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/tcl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_tcl_tcl]] 6 | * `+tcl+`: スクリプトをリストアップ/ロード/アンロード 7 | 8 | ---- 9 | /tcl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: ロード済みスクリプトをリストアップ 15 | listfull: ロード済みスクリプトをリストアップ (詳細) 16 | load: スクリプトをロード 17 | autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード 18 | reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード) 19 | unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード) 20 | filename: ロードするスクリプト (ファイル) 21 | name: スクリプト名 (名前は "register" 関数を呼び出すために使われる) 22 | -q: 出力抑制モード: メッセージを表示しない 23 | 24 | 引数無しの場合、全てのロード済みスクリプトをリストアップします。 25 | ---- 26 | -------------------------------------------------------------------------------- /config.h.cmake: -------------------------------------------------------------------------------- 1 | #cmakedefine HAVE_LIBINTL_H 2 | #cmakedefine HAVE_SYS_RESOURCE_H 3 | #cmakedefine HAVE_FLOCK 4 | #cmakedefine HAVE_LANGINFO_CODESET 5 | #cmakedefine HAVE_BACKTRACE 6 | #cmakedefine ICONV_2ARG_IS_CONST 1 7 | #cmakedefine HAVE_MALLINFO 8 | #cmakedefine HAVE_EAT_NEWLINE_GLITCH 9 | #cmakedefine HAVE_ASPELL_VERSION_STRING 10 | #cmakedefine HAVE_ENCHANT_GET_VERSION 11 | #cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS 12 | #define PACKAGE_VERSION "@VERSION@" 13 | #define PACKAGE "@PROJECT_NAME@" 14 | #define PACKAGE_NAME "@PROJECT_NAME@" 15 | #define PACKAGE_STRING "@PKG_STRING@" 16 | #define WEECHAT_LIBDIR "@LIBDIR@" 17 | #define WEECHAT_SHAREDIR "@SHAREDIR@" 18 | #define LOCALEDIR "@LOCALEDIR@" 19 | #define WEECHAT_HOME "@WEECHAT_HOME@" 20 | #define CA_FILE "@CA_FILE@" 21 | #define _GNU_SOURCE 1 22 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/perl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_perl_perl]] 6 | * `+perl+`: スクリプトをリストアップ/ロード/アンロード 7 | 8 | ---- 9 | /perl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: ロード済みスクリプトをリストアップ 15 | listfull: ロード済みスクリプトをリストアップ (詳細) 16 | load: スクリプトをロード 17 | autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード 18 | reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード) 19 | unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード) 20 | filename: ロードするスクリプト (ファイル) 21 | name: スクリプト名 (名前は "register" 関数を呼び出すために使われる) 22 | -q: 出力抑制モード: メッセージを表示しない 23 | 24 | 引数無しの場合、全てのロード済みスクリプトをリストアップします。 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/ruby_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_ruby_ruby]] 6 | * `+ruby+`: スクリプトをリストアップ/ロード/アンロード 7 | 8 | ---- 9 | /ruby list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: ロード済みスクリプトをリストアップ 15 | listfull: ロード済みスクリプトをリストアップ (詳細) 16 | load: スクリプトをロード 17 | autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード 18 | reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード) 19 | unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード) 20 | filename: ロードするスクリプト (ファイル) 21 | name: スクリプト名 (名前は "register" 関数を呼び出すために使われる) 22 | -q: 出力抑制モード: メッセージを表示しない 23 | 24 | 引数無しの場合、全てのロード済みスクリプトをリストアップします。 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/guile_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_guile_guile]] 6 | * `+guile+`: スクリプトをリストアップ/ロード/アンロード 7 | 8 | ---- 9 | /guile list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: ロード済みスクリプトをリストアップ 15 | listfull: ロード済みスクリプトをリストアップ (詳細) 16 | load: スクリプトをロード 17 | autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード 18 | reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード) 19 | unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード) 20 | filename: ロードするスクリプト (ファイル) 21 | name: スクリプト名 (名前は "register" 関数を呼び出すために使われる) 22 | -q: 出力抑制モード: メッセージを表示しない 23 | 24 | 引数無しの場合、全てのロード済みスクリプトをリストアップします。 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/python_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_python_python]] 6 | * `+python+`: スクリプトをリストアップ/ロード/アンロード 7 | 8 | ---- 9 | /python list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: ロード済みスクリプトをリストアップ 15 | listfull: ロード済みスクリプトをリストアップ (詳細) 16 | load: スクリプトをロード 17 | autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード 18 | reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード) 19 | unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード) 20 | filename: ロードするスクリプト (ファイル) 21 | name: スクリプト名 (名前は "register" 関数を呼び出すために使われる) 22 | -q: 出力抑制モード: メッセージを表示しない 23 | 24 | 引数無しの場合、全てのロード済みスクリプトをリストアップします。 25 | ---- 26 | -------------------------------------------------------------------------------- /tools/debian/patches/weechat_debian_jessie.patch: -------------------------------------------------------------------------------- 1 | diff --git a/debian-devel/control b/debian-devel/control 2 | index 809e059..8fbf0ed 100644 3 | --- a/debian-devel/control 4 | +++ b/debian-devel/control 5 | @@ -3,7 +3,6 @@ Section: net 6 | Priority: optional 7 | Maintainer: Sébastien Helleu 8 | Build-Depends: 9 | - asciidoctor (>= 1.5.4), 10 | debhelper (>= 9), 11 | dh-exec, 12 | cmake, pkg-config, 13 | diff --git a/debian-stable/control b/debian-stable/control 14 | index 74d134c..e0e9c25 100644 15 | --- a/debian-stable/control 16 | +++ b/debian-stable/control 17 | @@ -3,7 +3,6 @@ Section: net 18 | Priority: optional 19 | Maintainer: Emmanuel Bouthenot 20 | Build-Depends: 21 | - asciidoctor (>= 1.5.4), 22 | debhelper (>= 9), 23 | dh-exec, 24 | cmake, pkg-config, 25 | -------------------------------------------------------------------------------- /doc/de/autogen/user/charset_options.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | * [[option_charset.default.decode]] *charset.default.decode* 6 | ** Beschreibung: pass:none[globale Zeichendekodierung: Zeichendekodierung die für eingehende Nachrichten genutzt werden soll, falls diese nicht UTF-8 gültig ist] 7 | ** Typ: Zeichenkette 8 | ** Werte: beliebige Zeichenkette (Standardwert: `+"iso-8859-1"+`) 9 | 10 | * [[option_charset.default.encode]] *charset.default.encode* 11 | ** Beschreibung: pass:none[globale Zeichenkodierung: Zeichenkodierung die für ausgehende Nachrichten genutzt werden soll (sollte keine Zeichenkodierung angegeben werden, wird UTF-8 verwendet, da WeeChat UTF-8 zur internen Kodierung nutzt)] 12 | ** Typ: Zeichenkette 13 | ** Werte: beliebige Zeichenkette (Standardwert: `+""+`) 14 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/javascript_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_javascript_javascript]] 6 | * `+javascript+`: スクリプトをリストアップ/ロード/アンロード 7 | 8 | ---- 9 | /javascript list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: ロード済みスクリプトをリストアップ 15 | listfull: ロード済みスクリプトをリストアップ (詳細) 16 | load: スクリプトをロード 17 | autoload: "autoload" ディレクトリに含まれる全てのスクリプトをロード 18 | reload: スクリプトのリロード (名前を指定しなかった場合、全てのスクリプトをアンロードし、"autoload" ディレクトリに含まれる全てのスクリプトをロード) 19 | unload: スクリプトのアンロード (名前を指定しなかった場合、全てのスクリプトをアンロード) 20 | filename: ロードするスクリプト (ファイル) 21 | name: スクリプト名 (名前は "register" 関数を呼び出すために使われる) 22 | -q: 出力抑制モード: メッセージを表示しない 23 | 24 | 引数無しの場合、全てのロード済みスクリプトをリストアップします。 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/ja/cmdline_options.ja.adoc: -------------------------------------------------------------------------------- 1 | *-a*, *--no-connect*:: 2 | WeeChat の起動時にサーバへの自動接続を行わない 3 | 4 | *-c*, *--colors*:: 5 | 端末にデフォルト色を表示 6 | 7 | *-d*, *--dir* __:: 8 | WeeChat のホームディレクトリを path に設定 (設定ファイル、ログ、 9 | ユーザプラグイン、スクリプトに利用される)、初期値は "~/.weechat" 。 10 | (注意: パスが存在しない場合は WeeChat がディレクトリを作成します) 11 | このオプションを指定しなかった場合、環境変数 WEECHAT_HOME を使います 12 | (空でない限り)。 13 | 14 | *-h*, *--help*:: 15 | ヘルプを表示 16 | 17 | *-l*, *--license*:: 18 | WeeChat ライセンスを表示 19 | 20 | *-p*, *--no-plugin*:: 21 | プラグインの自動ロードを止める 22 | 23 | *-r*, *--run-command* __:: 24 | 起動後にコマンドを実行 (複数のコマンドを指定するにはセミコロンで各コマンドを区切る) 25 | 26 | *-s*, *--no-script*:: 27 | スクリプトの自動ロードを止める 28 | 29 | *--upgrade*:: 30 | `/upgrade -quit` コマンドで生成されるセッションファイルを使って WeeChat をアップグレード 31 | 32 | *-v*, *--version*:: 33 | WeeChat のバージョンを表示 34 | 35 | *plugin:option*:: 36 | プラグインに渡すオプション 37 | -------------------------------------------------------------------------------- /src/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | SUBDIRS = core plugins gui 21 | 22 | EXTRA_DIST = CMakeLists.txt 23 | -------------------------------------------------------------------------------- /doc/en/autogen/user/fifo_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_fifo_fifo]] 6 | * `+fifo+`: fifo plugin configuration 7 | 8 | ---- 9 | /fifo enable|disable|toggle 10 | 11 | enable: enable FIFO pipe 12 | disable: disable FIFO pipe 13 | toggle: toggle FIFO pipe 14 | 15 | FIFO pipe is used as remote control of WeeChat: you can send commands or text to the FIFO pipe from your shell. 16 | By default the FIFO pipe is in ~/.weechat/weechat_fifo_xxx ("xxx" is the WeeChat PID). 17 | 18 | The expected format is one of: 19 | plugin.buffer *text or command here 20 | *text or command here 21 | 22 | For example to change your freenode nick: 23 | echo 'irc.server.freenode */nick newnick' >~/.weechat/weechat_fifo_12345 24 | 25 | Please read the user's guide for more info and examples. 26 | 27 | Examples: 28 | /fifo toggle 29 | ---- 30 | -------------------------------------------------------------------------------- /doc/en/autogen/user/lua_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_lua_lua]] 6 | * `+lua+`: list/load/unload scripts 7 | 8 | ---- 9 | /lua list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: list loaded scripts 15 | listfull: list loaded scripts (verbose) 16 | load: load a script 17 | autoload: load all scripts in "autoload" directory 18 | reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory) 19 | unload: unload a script (if no name given, unload all scripts) 20 | filename: script (file) to load 21 | name: a script name (name used in call to "register" function) 22 | -q: quiet mode: do not display messages 23 | 24 | Without argument, this command lists all loaded scripts. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/en/autogen/user/tcl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_tcl_tcl]] 6 | * `+tcl+`: list/load/unload scripts 7 | 8 | ---- 9 | /tcl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: list loaded scripts 15 | listfull: list loaded scripts (verbose) 16 | load: load a script 17 | autoload: load all scripts in "autoload" directory 18 | reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory) 19 | unload: unload a script (if no name given, unload all scripts) 20 | filename: script (file) to load 21 | name: a script name (name used in call to "register" function) 22 | -q: quiet mode: do not display messages 23 | 24 | Without argument, this command lists all loaded scripts. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/it/autogen/user/fifo_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_fifo_fifo]] 6 | * `+fifo+`: fifo plugin configuration 7 | 8 | ---- 9 | /fifo enable|disable|toggle 10 | 11 | enable: enable FIFO pipe 12 | disable: disable FIFO pipe 13 | toggle: toggle FIFO pipe 14 | 15 | FIFO pipe is used as remote control of WeeChat: you can send commands or text to the FIFO pipe from your shell. 16 | By default the FIFO pipe is in ~/.weechat/weechat_fifo_xxx ("xxx" is the WeeChat PID). 17 | 18 | The expected format is one of: 19 | plugin.buffer *text or command here 20 | *text or command here 21 | 22 | For example to change your freenode nick: 23 | echo 'irc.server.freenode */nick newnick' >~/.weechat/weechat_fifo_12345 24 | 25 | Please read the user's guide for more info and examples. 26 | 27 | Examples: 28 | /fifo toggle 29 | ---- 30 | -------------------------------------------------------------------------------- /doc/en/autogen/user/perl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_perl_perl]] 6 | * `+perl+`: list/load/unload scripts 7 | 8 | ---- 9 | /perl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: list loaded scripts 15 | listfull: list loaded scripts (verbose) 16 | load: load a script 17 | autoload: load all scripts in "autoload" directory 18 | reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory) 19 | unload: unload a script (if no name given, unload all scripts) 20 | filename: script (file) to load 21 | name: a script name (name used in call to "register" function) 22 | -q: quiet mode: do not display messages 23 | 24 | Without argument, this command lists all loaded scripts. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/en/autogen/user/ruby_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_ruby_ruby]] 6 | * `+ruby+`: list/load/unload scripts 7 | 8 | ---- 9 | /ruby list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: list loaded scripts 15 | listfull: list loaded scripts (verbose) 16 | load: load a script 17 | autoload: load all scripts in "autoload" directory 18 | reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory) 19 | unload: unload a script (if no name given, unload all scripts) 20 | filename: script (file) to load 21 | name: a script name (name used in call to "register" function) 22 | -q: quiet mode: do not display messages 23 | 24 | Without argument, this command lists all loaded scripts. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/en/autogen/user/guile_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_guile_guile]] 6 | * `+guile+`: list/load/unload scripts 7 | 8 | ---- 9 | /guile list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: list loaded scripts 15 | listfull: list loaded scripts (verbose) 16 | load: load a script 17 | autoload: load all scripts in "autoload" directory 18 | reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory) 19 | unload: unload a script (if no name given, unload all scripts) 20 | filename: script (file) to load 21 | name: a script name (name used in call to "register" function) 22 | -q: quiet mode: do not display messages 23 | 24 | Without argument, this command lists all loaded scripts. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/en/autogen/user/python_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_python_python]] 6 | * `+python+`: list/load/unload scripts 7 | 8 | ---- 9 | /python list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: list loaded scripts 15 | listfull: list loaded scripts (verbose) 16 | load: load a script 17 | autoload: load all scripts in "autoload" directory 18 | reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory) 19 | unload: unload a script (if no name given, unload all scripts) 20 | filename: script (file) to load 21 | name: a script name (name used in call to "register" function) 22 | -q: quiet mode: do not display messages 23 | 24 | Without argument, this command lists all loaded scripts. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/aspell_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_aspell_aspell]] 6 | * `+aspell+`: aspell プラグイン設定 7 | 8 | ---- 9 | /aspell enable|disable|toggle 10 | listdict 11 | setdict [,...] 12 | deldict 13 | addword [] 14 | 15 | enable: aspell の有効化 16 | disable: aspell の無効化 17 | toggle: aspell の有効無効を切り替え 18 | listdict: インストール済み辞書を表示 19 | setdict: 現在のバッファ用の辞書を設定 (コンマで区切れば複数の辞書を指定可能) 20 | deldict: 現在のバッファ用の辞書を削除 21 | addword: aspell の個人辞書に単語を追加 22 | 23 | いくつかのコマンドを除いて '/' で始まる入力行はチェックされません (/set aspell.check.commands を参照)。 24 | 25 | 全てのバッファで aspell を有効化するには、"default_dict" オプションを設定した後に、aspell を有効化してください。例: 26 | /set aspell.check.default_dict "en" 27 | /aspell enable 28 | 29 | バーの中に提案のリストを表示するには、"aspell_suggest" 要素を使ってください。 30 | 31 | aspell の有効無効を切り替えるデフォルトのキーは alt-s です。 32 | ---- 33 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/fifo_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_fifo_fifo]] 6 | * `+fifo+`: konfiguracja wtyczki fifo 7 | 8 | ---- 9 | /fifo enable|disable|toggle 10 | 11 | enable: włącza strumień FIFO 12 | disable: wyłącza strumień FIFO 13 | toggle: przełącza stan strumienia FIFO 14 | 15 | Strumień FIFO jest używany do zdalnej kontroli nad WeeChat: możesz wysyłać komendy albo tekst do strumienia z konsoli. 16 | Domyślnie strumień FIFO jest tworzony w ~/.weechat/weechat_fifo_xxx ("xxx" to PID WeeChat). 17 | 18 | Spodziewane formaty: 19 | plugin.buffer *tekst albo komenda 20 | *tekst albo komenda 21 | 22 | Na przykład zmiana nicka w sieci freenode: 23 | echo 'irc.server.freenode */nick nowynick' >~/.weechat/weechat_fifo_12345 24 | 25 | Więcej informacji i przykładów można znaleźć w poradniku użytkownika. 26 | 27 | Przykłady: 28 | /fifo toggle 29 | ---- 30 | -------------------------------------------------------------------------------- /doc/it/autogen/user/lua_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_lua_lua]] 6 | * `+lua+`: elenca/carica/scarica script 7 | 8 | ---- 9 | /lua list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q][] 13 | 14 | list: elenca i plugin caricati 15 | listfull: elenca i plugin caricati (dettagliato) 16 | load: carica un plugin 17 | autoload: carica automaticamente i plugin nella directory utente o di sistema 18 | reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente) 19 | unload: scarica uno o tutti i plugin 20 | nome_file: (file) script da caricare 21 | nome: il nome di uno script (usato nella chiamata alla funzione "register") 22 | -q: modalità silenziosa: non mostra messaggi 23 | 24 | Senza argomento, questo comando elenca tutti i plugin caricati. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/it/autogen/user/tcl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_tcl_tcl]] 6 | * `+tcl+`: elenca/carica/scarica script 7 | 8 | ---- 9 | /tcl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q][] 13 | 14 | list: elenca i plugin caricati 15 | listfull: elenca i plugin caricati (dettagliato) 16 | load: carica un plugin 17 | autoload: carica automaticamente i plugin nella directory utente o di sistema 18 | reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente) 19 | unload: scarica uno o tutti i plugin 20 | nome_file: (file) script da caricare 21 | nome: il nome di uno script (usato nella chiamata alla funzione "register") 22 | -q: modalità silenziosa: non mostra messaggi 23 | 24 | Senza argomento, questo comando elenca tutti i plugin caricati. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/it/autogen/user/perl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_perl_perl]] 6 | * `+perl+`: elenca/carica/scarica script 7 | 8 | ---- 9 | /perl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q][] 13 | 14 | list: elenca i plugin caricati 15 | listfull: elenca i plugin caricati (dettagliato) 16 | load: carica un plugin 17 | autoload: carica automaticamente i plugin nella directory utente o di sistema 18 | reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente) 19 | unload: scarica uno o tutti i plugin 20 | nome_file: (file) script da caricare 21 | nome: il nome di uno script (usato nella chiamata alla funzione "register") 22 | -q: modalità silenziosa: non mostra messaggi 23 | 24 | Senza argomento, questo comando elenca tutti i plugin caricati. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/it/autogen/user/ruby_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_ruby_ruby]] 6 | * `+ruby+`: elenca/carica/scarica script 7 | 8 | ---- 9 | /ruby list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q][] 13 | 14 | list: elenca i plugin caricati 15 | listfull: elenca i plugin caricati (dettagliato) 16 | load: carica un plugin 17 | autoload: carica automaticamente i plugin nella directory utente o di sistema 18 | reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente) 19 | unload: scarica uno o tutti i plugin 20 | nome_file: (file) script da caricare 21 | nome: il nome di uno script (usato nella chiamata alla funzione "register") 22 | -q: modalità silenziosa: non mostra messaggi 23 | 24 | Senza argomento, questo comando elenca tutti i plugin caricati. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/en/autogen/user/javascript_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_javascript_javascript]] 6 | * `+javascript+`: list/load/unload scripts 7 | 8 | ---- 9 | /javascript list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: list loaded scripts 15 | listfull: list loaded scripts (verbose) 16 | load: load a script 17 | autoload: load all scripts in "autoload" directory 18 | reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory) 19 | unload: unload a script (if no name given, unload all scripts) 20 | filename: script (file) to load 21 | name: a script name (name used in call to "register" function) 22 | -q: quiet mode: do not display messages 23 | 24 | Without argument, this command lists all loaded scripts. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/it/autogen/user/guile_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_guile_guile]] 6 | * `+guile+`: elenca/carica/scarica script 7 | 8 | ---- 9 | /guile list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q][] 13 | 14 | list: elenca i plugin caricati 15 | listfull: elenca i plugin caricati (dettagliato) 16 | load: carica un plugin 17 | autoload: carica automaticamente i plugin nella directory utente o di sistema 18 | reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente) 19 | unload: scarica uno o tutti i plugin 20 | nome_file: (file) script da caricare 21 | nome: il nome di uno script (usato nella chiamata alla funzione "register") 22 | -q: modalità silenziosa: non mostra messaggi 23 | 24 | Senza argomento, questo comando elenca tutti i plugin caricati. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/ja/autogen/plugin_api/infos_hashtable.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [width="100%",cols="^1,^2,6,6,8",options="header"] 6 | |=== 7 | | プラグイン | 名前 | 説明 | ハッシュテーブル (入力) | ハッシュテーブル (出力) 8 | 9 | | irc | irc_message_parse | IRC メッセージを解析 | "message": IRC メッセージ、"server": サーバ名 (任意) | "tags": タグ、"message_without_tags": タグを含まないメッセージ、"nick": ニックネーム、"host": ホスト名、"command": コマンド、"channel": チャンネル、"arguments": 引数 (チャンネルを含む)、"text": テキスト (例えばユーザメッセージ)、"pos_command": "command" メッセージのインデックス ("command" が見つからない場合 "-1")、"pos_arguments": "arguments" メッセージのインデックス ("arguments" が見つからない場合 "-1")、"pos_channel": "channel" メッセージのインデックス ("channel" が見つからない場合 "-1")、"pos_text": "text" メッセージのインデックス ("text" が見つからない場合 "-1") 10 | 11 | | irc | irc_message_split | IRC メッセージを分割 (512 バイトに収める) | "message": IRC メッセージ、"server": サーバ名 (任意) | "msg1" ... "msgN": 送信メッセージ (最後の "\r\n" は無し), "args1" ... "argsN": メッセージの引数、"count": メッセージの数 12 | 13 | |=== 14 | -------------------------------------------------------------------------------- /doc/it/autogen/user/python_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_python_python]] 6 | * `+python+`: elenca/carica/scarica script 7 | 8 | ---- 9 | /python list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q][] 13 | 14 | list: elenca i plugin caricati 15 | listfull: elenca i plugin caricati (dettagliato) 16 | load: carica un plugin 17 | autoload: carica automaticamente i plugin nella directory utente o di sistema 18 | reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente) 19 | unload: scarica uno o tutti i plugin 20 | nome_file: (file) script da caricare 21 | nome: il nome di uno script (usato nella chiamata alla funzione "register") 22 | -q: modalità silenziosa: non mostra messaggi 23 | 24 | Senza argomento, questo comando elenca tutti i plugin caricati. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/lua_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_lua_lua]] 6 | * `+lua+`: list/load/unload skrypt 7 | 8 | ---- 9 | /lua list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: lista załadowanych wtyczek 15 | listfull: lista załadowanych wtyczek (szczegółowa) 16 | load: ładuje wtyczkę 17 | autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika 18 | reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki) 19 | unload: wyładowuje jedną albo wszystkie wtyczki 20 | nazwa_pliku: skrypt (plik) do załadowania 21 | nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register") 22 | -q: tryb cichy: nie wyświetla wiadomości 23 | 24 | Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/tcl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_tcl_tcl]] 6 | * `+tcl+`: list/load/unload skrypt 7 | 8 | ---- 9 | /tcl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: lista załadowanych wtyczek 15 | listfull: lista załadowanych wtyczek (szczegółowa) 16 | load: ładuje wtyczkę 17 | autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika 18 | reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki) 19 | unload: wyładowuje jedną albo wszystkie wtyczki 20 | nazwa_pliku: skrypt (plik) do załadowania 21 | nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register") 22 | -q: tryb cichy: nie wyświetla wiadomości 23 | 24 | Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/perl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_perl_perl]] 6 | * `+perl+`: list/load/unload skrypt 7 | 8 | ---- 9 | /perl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: lista załadowanych wtyczek 15 | listfull: lista załadowanych wtyczek (szczegółowa) 16 | load: ładuje wtyczkę 17 | autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika 18 | reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki) 19 | unload: wyładowuje jedną albo wszystkie wtyczki 20 | nazwa_pliku: skrypt (plik) do załadowania 21 | nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register") 22 | -q: tryb cichy: nie wyświetla wiadomości 23 | 24 | Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/ruby_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_ruby_ruby]] 6 | * `+ruby+`: list/load/unload skrypt 7 | 8 | ---- 9 | /ruby list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: lista załadowanych wtyczek 15 | listfull: lista załadowanych wtyczek (szczegółowa) 16 | load: ładuje wtyczkę 17 | autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika 18 | reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki) 19 | unload: wyładowuje jedną albo wszystkie wtyczki 20 | nazwa_pliku: skrypt (plik) do załadowania 21 | nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register") 22 | -q: tryb cichy: nie wyświetla wiadomości 23 | 24 | Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/guile_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_guile_guile]] 6 | * `+guile+`: list/load/unload skrypt 7 | 8 | ---- 9 | /guile list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: lista załadowanych wtyczek 15 | listfull: lista załadowanych wtyczek (szczegółowa) 16 | load: ładuje wtyczkę 17 | autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika 18 | reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki) 19 | unload: wyładowuje jedną albo wszystkie wtyczki 20 | nazwa_pliku: skrypt (plik) do załadowania 21 | nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register") 22 | -q: tryb cichy: nie wyświetla wiadomości 23 | 24 | Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/it/autogen/user/javascript_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_javascript_javascript]] 6 | * `+javascript+`: elenca/carica/scarica script 7 | 8 | ---- 9 | /javascript list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q][] 13 | 14 | list: elenca i plugin caricati 15 | listfull: elenca i plugin caricati (dettagliato) 16 | load: carica un plugin 17 | autoload: carica automaticamente i plugin nella directory utente o di sistema 18 | reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente) 19 | unload: scarica uno o tutti i plugin 20 | nome_file: (file) script da caricare 21 | nome: il nome di uno script (usato nella chiamata alla funzione "register") 22 | -q: modalità silenziosa: non mostra messaggi 23 | 24 | Senza argomento, questo comando elenca tutti i plugin caricati. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/python_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_python_python]] 6 | * `+python+`: list/load/unload skrypt 7 | 8 | ---- 9 | /python list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: lista załadowanych wtyczek 15 | listfull: lista załadowanych wtyczek (szczegółowa) 16 | load: ładuje wtyczkę 17 | autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika 18 | reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki) 19 | unload: wyładowuje jedną albo wszystkie wtyczki 20 | nazwa_pliku: skrypt (plik) do załadowania 21 | nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register") 22 | -q: tryb cichy: nie wyświetla wiadomości 23 | 24 | Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki. 25 | ---- 26 | -------------------------------------------------------------------------------- /src/plugins/irc/irc-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_IRC_INFO_H 21 | #define WEECHAT_IRC_INFO_H 1 22 | 23 | extern void irc_info_init (); 24 | 25 | #endif /* WEECHAT_IRC_INFO_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/fifo/fifo-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_FIFO_INFO_H 21 | #define WEECHAT_FIFO_INFO_H 1 22 | 23 | extern void fifo_info_init (); 24 | 25 | #endif /* WEECHAT_FIFO_INFO_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/irc/irc-debug.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_IRC_DEBUG_H 21 | #define WEECHAT_IRC_DEBUG_H 1 22 | 23 | extern void irc_debug_init (); 24 | 25 | #endif /* WEECHAT_IRC_DEBUG_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/xfer/xfer-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_XFER_INFO_H 21 | #define WEECHAT_XFER_INFO_H 1 22 | 23 | extern void xfer_info_init (); 24 | 25 | #endif /* WEECHAT_XFER_INFO_H */ 26 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/fifo_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_fifo_fifo]] 6 | * `+fifo+`: configuration de l'extension fifo 7 | 8 | ---- 9 | /fifo enable|disable|toggle 10 | 11 | enable : activer le tube FIFO 12 | disable : désactiver le tube FIFO 13 | toggle : activer/désactiver le tube FIFO 14 | 15 | Le tube FIFO est utilisé comme contrôle à distance de WeeChat : vous pouvez envoyer des commandes ou du texte au tube FIFO depuis votre shell. 16 | Par défaut le tube FIFO est dans ~/.weechat/weechat_fifo_xxx ("xxx" est le PID de WeeChat). 17 | 18 | Le format attendu est l'un des suivants : 19 | plugin.buffer *texte ou commande ici 20 | *texte ou commande ici 21 | 22 | Par exemple pour changer votre pseudo sur freenode : 23 | echo 'irc.server.freenode */nick autrepseudo' >~/.weechat/weechat_fifo_12345 24 | 25 | Merci de lire le guide utilisateur pour plus d'information et des exemples. 26 | 27 | Exemples : 28 | /fifo toggle 29 | ---- 30 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/lua_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_lua_lua]] 6 | * `+lua+`: lister/charger/décharger des scripts 7 | 8 | ---- 9 | /lua list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list : lister les scripts chargés 15 | listfull : lister les scripts chargés (verbeux) 16 | load : charger un script 17 | autoload : charger tous les scripts dans le répertoire "autoload" 18 | reload : recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload") 19 | unload : décharger un script (si pas de nom donné, décharger tous les scripts) 20 | fichier : script (fichier) à charger 21 | nom : nom de script (nom utilisé dans l'appel à la fonction "register") 22 | -q : mode silencieux : ne pas afficher de messages 23 | 24 | Sans paramètre, cette commande liste les scripts chargés. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/tcl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_tcl_tcl]] 6 | * `+tcl+`: lister/charger/décharger des scripts 7 | 8 | ---- 9 | /tcl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list : lister les scripts chargés 15 | listfull : lister les scripts chargés (verbeux) 16 | load : charger un script 17 | autoload : charger tous les scripts dans le répertoire "autoload" 18 | reload : recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload") 19 | unload : décharger un script (si pas de nom donné, décharger tous les scripts) 20 | fichier : script (fichier) à charger 21 | nom : nom de script (nom utilisé dans l'appel à la fonction "register") 22 | -q : mode silencieux : ne pas afficher de messages 23 | 24 | Sans paramètre, cette commande liste les scripts chargés. 25 | ---- 26 | -------------------------------------------------------------------------------- /src/plugins/alias/alias-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_ALIAS_INFO_H 21 | #define WEECHAT_ALIAS_INFO_H 1 22 | 23 | extern void alias_info_init (); 24 | 25 | #endif /* WEECHAT_ALIAS_INFO_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/relay/relay-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_RELAY_INFO_H 21 | #define WEECHAT_RELAY_INFO_H 1 22 | 23 | extern void relay_info_init (); 24 | 25 | #endif /* WEECHAT_RELAY_INFO_H */ 26 | -------------------------------------------------------------------------------- /doc/de/autogen/user/fifo_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_fifo_fifo]] 6 | * `+fifo+`: Konfiguration für "fifo" Erweiterung 7 | 8 | ---- 9 | /fifo enable|disable|toggle 10 | 11 | enable: aktivieren der FIFO pipe 12 | disable: deaktivieren der FIFO pipe 13 | toggle: Status der FIFO pipe umschalten 14 | 15 | Die FIFO-Pipe wird als Fernbedienung genutzt, es können Befehle oder Text von der Shell an die FIFO-Pipe geschickt werden 16 | Standardmäßig ist die FIFO-Pipe in ~/.weechat/weechat_fifo_xxx ("xxx" ist die PID von WeeChat). 17 | 18 | Folgendes Format wird erwartet: 19 | plugin.buffer *Text oder Befehl an dieser Stelle 20 | *Text oder Befehl an dieser Stelle 21 | 22 | Beispiel um den Nick auf dem Server freenode zu ändern: 23 | echo 'irc.server.freenode */nick neuer_Nick' >~/.weechat/weechat_fifo_12345 24 | 25 | Bitte lese die Benutzeranleitung für weitere Informationen und Beispiele. 26 | 27 | Beispiele: 28 | /fifo toggle 29 | ---- 30 | -------------------------------------------------------------------------------- /src/plugins/fifo/fifo-command.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_FIFO_COMMAND_H 21 | #define WEECHAT_FIFO_COMMAND_H 1 22 | 23 | extern void fifo_command_init (); 24 | 25 | #endif /* WEECHAT_FIFO_COMMAND_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/logger/logger-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_LOGGER_INFO_H 21 | #define WEECHAT_LOGGER_INFO_H 1 22 | 23 | extern void logger_info_init (); 24 | 25 | #endif /* WEECHAT_LOGGER_INFO_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/script/script-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_SCRIPT_INFO_H 21 | #define WEECHAT_SCRIPT_INFO_H 1 22 | 23 | extern void script_info_init (); 24 | 25 | #endif /* WEECHAT_SCRIPT_INFO_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/xfer/xfer-command.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_XFER_COMMAND_H 21 | #define WEECHAT_XFER_COMMAND_H 1 22 | 23 | extern void xfer_command_init (); 24 | 25 | #endif /* WEECHAT_XFER_COMMAND_H */ 26 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/perl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_perl_perl]] 6 | * `+perl+`: lister/charger/décharger des scripts 7 | 8 | ---- 9 | /perl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list : lister les scripts chargés 15 | listfull : lister les scripts chargés (verbeux) 16 | load : charger un script 17 | autoload : charger tous les scripts dans le répertoire "autoload" 18 | reload : recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload") 19 | unload : décharger un script (si pas de nom donné, décharger tous les scripts) 20 | fichier : script (fichier) à charger 21 | nom : nom de script (nom utilisé dans l'appel à la fonction "register") 22 | -q : mode silencieux : ne pas afficher de messages 23 | 24 | Sans paramètre, cette commande liste les scripts chargés. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/ruby_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_ruby_ruby]] 6 | * `+ruby+`: lister/charger/décharger des scripts 7 | 8 | ---- 9 | /ruby list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list : lister les scripts chargés 15 | listfull : lister les scripts chargés (verbeux) 16 | load : charger un script 17 | autoload : charger tous les scripts dans le répertoire "autoload" 18 | reload : recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload") 19 | unload : décharger un script (si pas de nom donné, décharger tous les scripts) 20 | fichier : script (fichier) à charger 21 | nom : nom de script (nom utilisé dans l'appel à la fonction "register") 22 | -q : mode silencieux : ne pas afficher de messages 23 | 24 | Sans paramètre, cette commande liste les scripts chargés. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/guile_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_guile_guile]] 6 | * `+guile+`: lister/charger/décharger des scripts 7 | 8 | ---- 9 | /guile list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list : lister les scripts chargés 15 | listfull : lister les scripts chargés (verbeux) 16 | load : charger un script 17 | autoload : charger tous les scripts dans le répertoire "autoload" 18 | reload : recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload") 19 | unload : décharger un script (si pas de nom donné, décharger tous les scripts) 20 | fichier : script (fichier) à charger 21 | nom : nom de script (nom utilisé dans l'appel à la fonction "register") 22 | -q : mode silencieux : ne pas afficher de messages 23 | 24 | Sans paramètre, cette commande liste les scripts chargés. 25 | ---- 26 | -------------------------------------------------------------------------------- /src/plugins/alias/alias-command.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_ALIAS_COMMAND_H 21 | #define WEECHAT_ALIAS_COMMAND_H 1 22 | 23 | extern void alias_command_init (); 24 | 25 | #endif /* WEECHAT_ALIAS_COMMAND_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/irc/irc-completion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_IRC_COMPLETION_H 21 | #define WEECHAT_IRC_COMPLETION_H 1 22 | 23 | extern void irc_completion_init (); 24 | 25 | #endif /* WEECHAT_IRC_COMPLETION_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/relay/relay-command.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_RELAY_COMMAND_H 21 | #define WEECHAT_RELAY_COMMAND_H 1 22 | 23 | extern void relay_command_init (); 24 | 25 | #endif /* WEECHAT_RELAY_COMMAND_H */ 26 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/javascript_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_javascript_javascript]] 6 | * `+javascript+`: list/load/unload skrypt 7 | 8 | ---- 9 | /javascript list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: lista załadowanych wtyczek 15 | listfull: lista załadowanych wtyczek (szczegółowa) 16 | load: ładuje wtyczkę 17 | autoload: automatycznie ładuje wtyczki w katalogu systemowym lub użytkownika 18 | reload: przeładuje pojedynczą wtyczkę (jeśli nie podano nazwy, wyładuje wszystkie wtyczki, następnie automatycznie załaduje wtyczki) 19 | unload: wyładowuje jedną albo wszystkie wtyczki 20 | nazwa_pliku: skrypt (plik) do załadowania 21 | nazwa: nazwa skryptu (nazwa użyta do wywołania funkcji "register") 22 | -q: tryb cichy: nie wyświetla wiadomości 23 | 24 | Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki. 25 | ---- 26 | -------------------------------------------------------------------------------- /src/plugins/aspell/weechat-aspell-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_ASPELL_INFO_H 21 | #define WEECHAT_ASPELL_INFO_H 1 22 | 23 | extern void weechat_aspell_info_init (); 24 | 25 | #endif /* WEECHAT_ASPELL_INFO_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/exec/exec-completion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_EXEC_COMPLETION_H 21 | #define WEECHAT_EXEC_COMPLETION_H 1 22 | 23 | extern void exec_completion_init (); 24 | 25 | #endif /* WEECHAT_EXEC_COMPLETION_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/script/script-command.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_SCRIPT_COMMAND_H 21 | #define WEECHAT_SCRIPT_COMMAND_H 1 22 | 23 | extern void script_command_init (); 24 | 25 | #endif /* WEECHAT_SCRIPT_COMMAND_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/xfer/xfer-completion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_XFER_COMPLETION_H 21 | #define WEECHAT_XFER_COMPLETION_H 1 22 | 23 | extern void xfer_completion_init (); 24 | 25 | #endif /* WEECHAT_XFER_COMPLETION_H */ 26 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/python_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_python_python]] 6 | * `+python+`: lister/charger/décharger des scripts 7 | 8 | ---- 9 | /python list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list : lister les scripts chargés 15 | listfull : lister les scripts chargés (verbeux) 16 | load : charger un script 17 | autoload : charger tous les scripts dans le répertoire "autoload" 18 | reload : recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload") 19 | unload : décharger un script (si pas de nom donné, décharger tous les scripts) 20 | fichier : script (fichier) à charger 21 | nom : nom de script (nom utilisé dans l'appel à la fonction "register") 22 | -q : mode silencieux : ne pas afficher de messages 23 | 24 | Sans paramètre, cette commande liste les scripts chargés. 25 | ---- 26 | -------------------------------------------------------------------------------- /src/core/wee-backtrace.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_BACKTACE_H 21 | #define WEECHAT_BACKTACE_H 1 22 | 23 | #define BACKTRACE_MAX 128 24 | 25 | extern void weechat_backtrace (); 26 | 27 | #endif /* WEECHAT_BACKTACE_H */ 28 | -------------------------------------------------------------------------------- /src/plugins/aspell/weechat-aspell-bar-item.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2012 Nils Görs 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_ASPELL_BAR_ITEM_H 21 | #define WEECHAT_ASPELL_BAR_ITEM_H 1 22 | 23 | extern void weechat_aspell_bar_item_init (); 24 | 25 | #endif /* WEECHAT_ASPELL_BAR_ITEM_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/trigger/trigger-command.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_TRIGGER_COMMAND_H 21 | #define WEECHAT_TRIGGER_COMMAND_H 1 22 | 23 | extern void trigger_command_init (); 24 | 25 | #endif /* WEECHAT_TRIGGER_COMMAND_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/alias/alias-completion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_ALIAS_COMPLETION_H 21 | #define WEECHAT_ALIAS_COMPLETION_H 1 22 | 23 | extern void alias_completion_init (); 24 | 25 | #endif /* WEECHAT_ALIAS_COMPLETION_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/relay/relay-completion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_RELAY_COMPLETION_H 21 | #define WEECHAT_RELAY_COMPLETION_H 1 22 | 23 | extern void relay_completion_init (); 24 | 25 | #endif /* WEECHAT_RELAY_COMPLETION_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/aspell/weechat-aspell-command.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_ASPELL_COMMAND_H 21 | #define WEECHAT_ASPELL_COMMAND_H 1 22 | 23 | extern void weechat_aspell_command_init (); 24 | 25 | #endif /* WEECHAT_ASPELL_COMMAND_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/script/script-completion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_SCRIPT_COMPLETION_H 21 | #define WEECHAT_SCRIPT_COMPLETION_H 1 22 | 23 | extern void script_completion_init (); 24 | 25 | #endif /* WEECHAT_SCRIPT_COMPLETION_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/trigger/trigger-completion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_TRIGGER_COMPLETION_H 21 | #define WEECHAT_TRIGGER_COMPLETION_H 1 22 | 23 | extern void trigger_completion_init (); 24 | 25 | #endif /* WEECHAT_TRIGGER_COMPLETION_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/aspell/weechat-aspell-completion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_ASPELL_COMPLETION_H 21 | #define WEECHAT_ASPELL_COMPLETION_H 1 22 | 23 | extern void weechat_aspell_completion_init (); 24 | 25 | #endif /* WEECHAT_ASPELL_COMPLETION_H */ 26 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/javascript_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_javascript_javascript]] 6 | * `+javascript+`: lister/charger/décharger des scripts 7 | 8 | ---- 9 | /javascript list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list : lister les scripts chargés 15 | listfull : lister les scripts chargés (verbeux) 16 | load : charger un script 17 | autoload : charger tous les scripts dans le répertoire "autoload" 18 | reload : recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload") 19 | unload : décharger un script (si pas de nom donné, décharger tous les scripts) 20 | fichier : script (fichier) à charger 21 | nom : nom de script (nom utilisé dans l'appel à la fonction "register") 22 | -q : mode silencieux : ne pas afficher de messages 23 | 24 | Sans paramètre, cette commande liste les scripts chargés. 25 | ---- 26 | -------------------------------------------------------------------------------- /src/plugins/irc/irc-bar-item.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_IRC_BAR_ITEM_H 21 | #define WEECHAT_IRC_BAR_ITEM_H 1 22 | 23 | extern void irc_bar_item_update_channel (); 24 | extern void irc_bar_item_init (); 25 | 26 | #endif /* WEECHAT_IRC_BAR_ITEM_H */ 27 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/logger_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_logger_logger]] 6 | * `+logger+`: logger プラグイン設定 7 | 8 | ---- 9 | /logger list 10 | set 11 | flush 12 | disable 13 | 14 | list: オープンされたバッファのログ保存設定を表示 15 | set: 現在のバッファのログ保存レベルを設定 16 | level: ログ保存されるメッセージのレベル (0 = ログ保存しない、1 = いくつかのメッセージ (最も重要) .. 9 = 全てのメッセージ) 17 | flush: 全てのログファイルに今すぐ書き込む 18 | disable: 現在のバッファのログ保存を無効化 (レベルを 0 に設定) 19 | 20 | オプション "logger.level.*" と "logger.mask.*" は任意のバッファに対するログレベルとログ保存先の設定を意味します。 21 | 22 | IRC プラグインで使われるログレベル: 23 | 1: ユーザメッセージ、通知、プライベート 24 | 2: ニックネームの変更 25 | 3: サーバメッセージ 26 | 4: 参加/退出/終了 27 | 9: その他の全てのメッセージ 28 | 29 | 例: 30 | 現在のバッファのレベルを 5 に設定: 31 | /logger set 5 32 | 現在のバッファのログ保存を無効化: 33 | /logger disable 34 | 全ての IRC バッファのレベルを 3 に設定: 35 | /set logger.level.irc 3 36 | メインの WeeChat バッファのログ保存を無効化: 37 | /set logger.level.core.weechat 0 38 | IRC サーバごとのディレクトリ、チャンネルごとのファイルを使う: 39 | /set logger.mask.irc "$server/$channel.weechatlog" 40 | ---- 41 | -------------------------------------------------------------------------------- /src/plugins/xfer/xfer-dcc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_XFER_DCC_H 21 | #define WEECHAT_XFER_DCC_H 1 22 | 23 | extern void xfer_dcc_send_file_child (struct t_xfer *xfer); 24 | extern void xfer_dcc_recv_file_child (struct t_xfer *xfer); 25 | 26 | #endif /* WEECHAT_XFER_DCC_H */ 27 | -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # Copyright (C) 2007-2008 Julien Louis 4 | # Copyright (C) 2008-2009 Emmanuel Bouthenot 5 | # 6 | # This file is part of WeeChat, the extensible chat client. 7 | # 8 | # WeeChat is free software; you can redistribute it and/or modify 9 | # it under the terms of the GNU General Public License as published by 10 | # the Free Software Foundation; either version 3 of the License, or 11 | # (at your option) any later version. 12 | # 13 | # WeeChat is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | # GNU General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU General Public License 19 | # along with WeeChat. If not, see . 20 | # 21 | 22 | add_subdirectory(core) 23 | list(APPEND STATIC_LIBS weechat_core) 24 | 25 | add_subdirectory(plugins) 26 | 27 | add_subdirectory(gui) 28 | -------------------------------------------------------------------------------- /src/gui/gui-nick.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_GUI_NICK_H 21 | #define WEECHAT_GUI_NICK_H 1 22 | 23 | extern const char *gui_nick_find_color (const char *nickname); 24 | extern const char *gui_nick_find_color_name (const char *nickname); 25 | 26 | #endif /* WEECHAT_GUI_NICK_H */ 27 | -------------------------------------------------------------------------------- /doc/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # Copyright (C) 2006 Julien Louis 4 | # 5 | # This file is part of WeeChat, the extensible chat client. 6 | # 7 | # WeeChat is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # WeeChat is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with WeeChat. If not, see . 19 | # 20 | 21 | SUBDIRS = . cs de en es fr it ja pl ru 22 | 23 | EXTRA_DIST = docgen.py \ 24 | docinfo.html \ 25 | CMakeLists.txt 26 | 27 | uninstall-hook: 28 | -rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE) 29 | -------------------------------------------------------------------------------- /src/plugins/xfer/xfer-file.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_XFER_FILE_H 21 | #define WEECHAT_XFER_FILE_H 1 22 | 23 | extern void xfer_file_find_filename (struct t_xfer *xfer); 24 | extern void xfer_file_calculate_speed (struct t_xfer *xfer, int ended); 25 | 26 | #endif /* WEECHAT_XFER_FILE_H */ 27 | -------------------------------------------------------------------------------- /src/plugins/fifo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(fifo MODULE 21 | fifo.c fifo.h 22 | fifo-command.c fifo-command.h 23 | fifo-info.c fifo-info.h) 24 | set_target_properties(fifo PROPERTIES PREFIX "") 25 | 26 | target_link_libraries(fifo) 27 | 28 | install(TARGETS fifo LIBRARY DESTINATION ${LIBDIR}/plugins) 29 | -------------------------------------------------------------------------------- /doc/en/cmdline_options.en.adoc: -------------------------------------------------------------------------------- 1 | *-a*, *--no-connect*:: 2 | Disable auto-connect to servers when WeeChat is starting. 3 | 4 | *-c*, *--colors*:: 5 | Display default colors in terminal. 6 | 7 | *-d*, *--dir* __:: 8 | Set path as home for WeeChat (used for configuration files, logs, user 9 | plugins and scripts), default value is "~/.weechat" (note: directory is 10 | created if not found by WeeChat). 11 | If this option is not given, the environment variable WEECHAT_HOME is used 12 | (if not empty). 13 | 14 | *-h*, *--help*:: 15 | Display help. 16 | 17 | *-l*, *--license*:: 18 | Display WeeChat license. 19 | 20 | *-p*, *--no-plugin*:: 21 | Disable plugins auto-load. 22 | 23 | *-r*, *--run-command* __:: 24 | Run command(s) after startup (many commands can be separated by semicolons). 25 | 26 | *-s*, *--no-script*:: 27 | Disable scripts auto-load. 28 | 29 | *--upgrade*:: 30 | Upgrade WeeChat using session files generated with command `/upgrade -quit`. 31 | 32 | *-v*, *--version*:: 33 | Display WeeChat version. 34 | 35 | *plugin:option*:: 36 | Option for a plugin. 37 | -------------------------------------------------------------------------------- /doc/en/autogen/user/aspell_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_aspell_aspell]] 6 | * `+aspell+`: aspell plugin configuration 7 | 8 | ---- 9 | /aspell enable|disable|toggle 10 | listdict 11 | setdict [,...] 12 | deldict 13 | addword [] 14 | 15 | enable: enable aspell 16 | disable: disable aspell 17 | toggle: toggle aspell 18 | listdict: show installed dictionaries 19 | setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma) 20 | deldict: delete dictionary used on current buffer 21 | addword: add a word in personal aspell dictionary 22 | 23 | Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands). 24 | 25 | To enable aspell on all buffers, use option "default_dict", then enable aspell, for example: 26 | /set aspell.check.default_dict "en" 27 | /aspell enable 28 | 29 | To display a list of suggestions in a bar, use item "aspell_suggest". 30 | 31 | Default key to toggle aspell is alt-s. 32 | ---- 33 | -------------------------------------------------------------------------------- /doc/de/autogen/user/lua_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_lua_lua]] 6 | * `+lua+`: auflisten/installieren/beenden von Skripten 7 | 8 | ---- 9 | /lua list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: installierte Skripten werden aufgelistet 15 | listfull: detaillierte Auflistung aller installierten Skripten 16 | load: installiert ein Skript 17 | autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis 18 | reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet) 19 | unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet) 20 | filename: Skript (Datei) welches geladen werden soll 21 | name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird) 22 | -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben 23 | 24 | Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/de/autogen/user/tcl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_tcl_tcl]] 6 | * `+tcl+`: auflisten/installieren/beenden von Skripten 7 | 8 | ---- 9 | /tcl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: installierte Skripten werden aufgelistet 15 | listfull: detaillierte Auflistung aller installierten Skripten 16 | load: installiert ein Skript 17 | autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis 18 | reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet) 19 | unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet) 20 | filename: Skript (Datei) welches geladen werden soll 21 | name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird) 22 | -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben 23 | 24 | Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/de/autogen/user/perl_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_perl_perl]] 6 | * `+perl+`: auflisten/installieren/beenden von Skripten 7 | 8 | ---- 9 | /perl list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: installierte Skripten werden aufgelistet 15 | listfull: detaillierte Auflistung aller installierten Skripten 16 | load: installiert ein Skript 17 | autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis 18 | reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet) 19 | unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet) 20 | filename: Skript (Datei) welches geladen werden soll 21 | name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird) 22 | -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben 23 | 24 | Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/de/autogen/user/ruby_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_ruby_ruby]] 6 | * `+ruby+`: auflisten/installieren/beenden von Skripten 7 | 8 | ---- 9 | /ruby list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: installierte Skripten werden aufgelistet 15 | listfull: detaillierte Auflistung aller installierten Skripten 16 | load: installiert ein Skript 17 | autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis 18 | reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet) 19 | unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet) 20 | filename: Skript (Datei) welches geladen werden soll 21 | name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird) 22 | -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben 23 | 24 | Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/de/autogen/user/guile_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_guile_guile]] 6 | * `+guile+`: auflisten/installieren/beenden von Skripten 7 | 8 | ---- 9 | /guile list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: installierte Skripten werden aufgelistet 15 | listfull: detaillierte Auflistung aller installierten Skripten 16 | load: installiert ein Skript 17 | autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis 18 | reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet) 19 | unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet) 20 | filename: Skript (Datei) welches geladen werden soll 21 | name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird) 22 | -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben 23 | 24 | Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/de/autogen/user/python_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_python_python]] 6 | * `+python+`: auflisten/installieren/beenden von Skripten 7 | 8 | ---- 9 | /python list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: installierte Skripten werden aufgelistet 15 | listfull: detaillierte Auflistung aller installierten Skripten 16 | load: installiert ein Skript 17 | autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis 18 | reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet) 19 | unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet) 20 | filename: Skript (Datei) welches geladen werden soll 21 | name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird) 22 | -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben 23 | 24 | Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf. 25 | ---- 26 | -------------------------------------------------------------------------------- /doc/it/autogen/user/aspell_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_aspell_aspell]] 6 | * `+aspell+`: configurazione del plugin aspell 7 | 8 | ---- 9 | /aspell enable|disable|toggle 10 | listdict 11 | setdict [,...] 12 | deldict 13 | addword [] 14 | 15 | enable: enable aspell 16 | disable: disable aspell 17 | toggle: toggle aspell 18 | listdict: show installed dictionaries 19 | setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma) 20 | deldict: delete dictionary used on current buffer 21 | addword: add a word in personal aspell dictionary 22 | 23 | Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands). 24 | 25 | To enable aspell on all buffers, use option "default_dict", then enable aspell, for example: 26 | /set aspell.check.default_dict "en" 27 | /aspell enable 28 | 29 | To display a list of suggestions in a bar, use item "aspell_suggest". 30 | 31 | Default key to toggle aspell is alt-s. 32 | ---- 33 | -------------------------------------------------------------------------------- /src/plugins/charset/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(CHARSET_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = charset.la 25 | 26 | charset_la_SOURCES = charset.c 27 | charset_la_LDFLAGS = -module -no-undefined 28 | charset_la_LIBADD = $(CHARSET_LFLAGS) 29 | 30 | EXTRA_DIST = CMakeLists.txt 31 | -------------------------------------------------------------------------------- /doc/en/autogen/plugin_api/infos_hashtable.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [width="100%",cols="^1,^2,6,6,8",options="header"] 6 | |=== 7 | | Plugin | Name | Description | Hashtable (input) | Hashtable (output) 8 | 9 | | irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found) 10 | 11 | | irc | irc_message_split | split an IRC message (to fit in 512 bytes) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages 12 | 13 | |=== 14 | -------------------------------------------------------------------------------- /doc/de/autogen/user/javascript_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_javascript_javascript]] 6 | * `+javascript+`: auflisten/installieren/beenden von Skripten 7 | 8 | ---- 9 | /javascript list|listfull [] 10 | load [-q] 11 | autoload 12 | reload|unload [-q] [] 13 | 14 | list: installierte Skripten werden aufgelistet 15 | listfull: detaillierte Auflistung aller installierten Skripten 16 | load: installiert ein Skript 17 | autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis 18 | reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet) 19 | unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet) 20 | filename: Skript (Datei) welches geladen werden soll 21 | name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird) 22 | -q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben 23 | 24 | Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf. 25 | ---- 26 | -------------------------------------------------------------------------------- /src/plugins/exec/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(exec MODULE 21 | exec.c exec.h 22 | exec-buffer.c exec-buffer.h 23 | exec-command.c exec-command.h 24 | exec-completion.c exec-completion.h 25 | exec-config.c exec-config.h) 26 | set_target_properties(exec PROPERTIES PREFIX "") 27 | 28 | target_link_libraries(exec) 29 | 30 | install(TARGETS exec LIBRARY DESTINATION ${LIBDIR}/plugins) 31 | -------------------------------------------------------------------------------- /src/plugins/xfer/xfer-chat.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_XFER_CHAT_H 21 | #define WEECHAT_XFER_CHAT_H 1 22 | 23 | extern void xfer_chat_sendf (struct t_xfer *xfer, const char *format, ...); 24 | extern int xfer_chat_recv_cb (const void *pointer, void *data, int fd); 25 | extern void xfer_chat_open_buffer (struct t_xfer *xfer); 26 | 27 | #endif /* WEECHAT_XFER_CHAT_H */ 28 | -------------------------------------------------------------------------------- /src/plugins/fifo/fifo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_FIFO_H 21 | #define WEECHAT_FIFO_H 1 22 | 23 | #define weechat_plugin weechat_fifo_plugin 24 | #define FIFO_PLUGIN_NAME "fifo" 25 | #define FIFO_OPTION_NAME "fifo" 26 | 27 | extern struct t_weechat_plugin *weechat_fifo_plugin; 28 | extern int fifo_fd; 29 | extern char *fifo_filename; 30 | 31 | #endif /* WEECHAT_FIFO_H */ 32 | -------------------------------------------------------------------------------- /src/plugins/script/script-action.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_SCRIPT_ACTION_H 21 | #define WEECHAT_SCRIPT_ACTION_H 1 22 | 23 | extern char *script_actions; 24 | 25 | extern int script_action_run (); 26 | extern void script_action_schedule (const char *action, int need_repository, 27 | int quiet); 28 | 29 | #endif /* WEECHAT_SCRIPT_ACTION_H */ 30 | -------------------------------------------------------------------------------- /src/plugins/alias/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(alias MODULE 21 | alias.c alias.h 22 | alias-command.c alias-command.h 23 | alias-completion.c alias-completion.h 24 | alias-config.c alias-config.h 25 | alias-info.c alias-info.h) 26 | set_target_properties(alias PROPERTIES PREFIX "") 27 | 28 | target_link_libraries(alias) 29 | 30 | install(TARGETS alias LIBRARY DESTINATION ${LIBDIR}/plugins) 31 | -------------------------------------------------------------------------------- /src/plugins/logger/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(logger MODULE 21 | logger.c logger.h 22 | logger-buffer.c logger-buffer.h 23 | logger-config.c logger-config.h 24 | logger-info.c logger-info.h 25 | logger-tail.c logger-tail.h) 26 | set_target_properties(logger PROPERTIES PREFIX "") 27 | 28 | target_link_libraries(logger) 29 | 30 | install(TARGETS logger LIBRARY DESTINATION ${LIBDIR}/plugins) 31 | -------------------------------------------------------------------------------- /doc/cs/cmdline_options.cs.adoc: -------------------------------------------------------------------------------- 1 | *-a*, *--no-connect*:: 2 | Zakaž automatické pripojení k serverům když WeeChat startuje. 3 | 4 | *-c*, *--colors*:: 5 | Zobraz defaultní barvy v terminálu. 6 | 7 | *-d*, *--dir* __:: 8 | Nastav cestu jako dovmský adresář pro WeeChat (použitou pro konfigurační 9 | soubory, logy, uživatelské pluginy a skripty), výchozí hodnota je 10 | "~/.weechat" (poznámka: složka bude vytvořena pokud nebude nalezena 11 | Weechatem) 12 | Pokud tato volba není zadána, použije se promněná prostředí WEECHAT_HOME 13 | (pokud není prázdná) 14 | 15 | *-h*, *--help*:: 16 | Zobrazí nápovědu. 17 | 18 | *-l*, *--license*:: 19 | Zobrazí licenci WeeChatu. 20 | 21 | *-p*, *--no-plugin*:: 22 | Vypne automatické nahrání pluginů. 23 | 24 | *-r*, *--run-command* __:: 25 | Spustí příkaz(y) po startu (více přůkazů může být odděleno středníky). 26 | 27 | *-s*, *--no-script*:: 28 | Vypni automatické nahrání scriptů. 29 | 30 | *--upgrade*:: 31 | Aktualizuj WeeChat použitím souborů relací generovaných 32 | příkazem `/upgrade -quit`. 33 | 34 | *-v*, *--version*:: 35 | Zobraz verzi WeeChatu. 36 | 37 | *plugin:option*:: 38 | Nastavení pluginů. 39 | -------------------------------------------------------------------------------- /doc/it/autogen/plugin_api/infos_hashtable.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [width="100%",cols="^1,^2,6,6,8",options="header"] 6 | |=== 7 | | Plugin | Nome | Descrizione | Tabella hash (input) | Tabella hash (output) 8 | 9 | | irc | irc_message_parse | controlla un messaggio IRC | "message": messaggio IRC, "server": nome server (opzionale) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found) 10 | 11 | | irc | irc_message_split | divide un messaggio IRC (per adattarlo in 512 byte) | "message": messaggio IRC, "server": nome server (opzionale) | "msg1" ... "msgN": messaggio da inviare (senza "\r\n" finale), "args1" ... "argsN": argomenti dei messaggi, "count": numero di messaggi 12 | 13 | |=== 14 | -------------------------------------------------------------------------------- /src/plugins/irc/irc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * Copyright (C) 2006 Emmanuel Bouthenot 4 | * 5 | * This file is part of WeeChat, the extensible chat client. 6 | * 7 | * WeeChat is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 3 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * WeeChat is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with WeeChat. If not, see . 19 | */ 20 | 21 | #ifndef WEECHAT_IRC_H 22 | #define WEECHAT_IRC_H 1 23 | 24 | #define weechat_plugin weechat_irc_plugin 25 | #define IRC_PLUGIN_NAME "irc" 26 | 27 | extern struct t_weechat_plugin *weechat_irc_plugin; 28 | 29 | extern int irc_signal_upgrade_received; 30 | 31 | #endif /* WEECHAT_IRC_H */ 32 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/sec_options.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | * [[option_sec.crypt.cipher]] *sec.crypt.cipher* 6 | ** 説明: pass:none[データの暗号化を行う暗号鍵 (アルゴリズムの後ろに書かれた数は鍵のビット数)] 7 | ** タイプ: 整数 8 | ** 値: aes128, aes192, aes256 (デフォルト値: `+aes256+`) 9 | 10 | * [[option_sec.crypt.hash_algo]] *sec.crypt.hash_algo* 11 | ** 説明: pass:none[復号化データをチェックするハッシュアルゴリズム] 12 | ** タイプ: 整数 13 | ** 値: sha224, sha256, sha384, sha512 (デフォルト値: `+sha256+`) 14 | 15 | * [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file* 16 | ** 説明: pass:none[保護データを暗号化/複合化するためのパスフレーズを保存したファイルパス; このオプションは sec.conf ファイルを読むときだけに利用されます; ファイルの 1 行目だけが利用されます; このファイルは環境変数 "WEECHAT_PASSPHRASE" が設定されていないときだけに利用されます (環境変数のほうが優先順位が高いです); セキュリティ上の注意: このファイルを自分だけが読み込める状態にし、WeeChat ホームの外 (例えば自分のホームディレクトリ) に保存しておくことを推奨します; 例: "~/.weechat-passphrase"] 17 | ** タイプ: 文字列 18 | ** 値: 未制約文字列 (デフォルト値: `+""+`) 19 | 20 | * [[option_sec.crypt.salt]] *sec.crypt.salt* 21 | ** 説明: pass:none[暗号化に利用する鍵を生成する場合は salt を利用してください (安全措置を厳重にするため); 有効化した場合、sec.conf ファイルに含まれる暗号化されたデータの内容はファイル書き込みの度に違うものになります; sec.conf ファイルをバージョン管理システムで管理している場合、常に同じ内容が書き込まれるようにこのオプションを無効化してください] 22 | ** タイプ: ブール 23 | ** 値: on, off (デフォルト値: `+on+`) 24 | -------------------------------------------------------------------------------- /doc/pl/autogen/user/aspell_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_aspell_aspell]] 6 | * `+aspell+`: konfiguracja wtyczki aspell 7 | 8 | ---- 9 | /aspell enable|disable|toggle 10 | listdict 11 | setdict [,...] 12 | deldict 13 | addword [] 14 | 15 | enable: włącza aspell 16 | disable: wyłącza aspell 17 | toggle: przełącza aspell 18 | listdict: pokazuje zainstalowane słowniki 19 | setdict: ustawia słownik dla obecnego buforu (kilka słowników może być podanych po przecinku) 20 | deldict: usuwa słownik używany w obecnym buforze 21 | addword: dodaje słowo do osobistego słownika aspell 22 | 23 | Jeśli wprowadzany tekst zaczyna się od '/' nie będzie on sprawdzany, za wyjątkiem kilku komend (zobacz /set aspell.check.commands). 24 | 25 | W celu włączenia aspell dla wszystkich buforów, należy użyć opcji "default_dict", następnie włączyć aspell, na przykład: 26 | /set aspell.check.default_dict "en" 27 | /aspell enable 28 | 29 | W celu wyświetlenia listy sugestii na pasku, użyj elementu "aspell_suggest". 30 | 31 | Domyślny skrót klawiszowy przełączający aspell to alt-s. 32 | ---- 33 | -------------------------------------------------------------------------------- /doc/pl/cmdline_options.pl.adoc: -------------------------------------------------------------------------------- 1 | *-a*, *--no-connect*:: 2 | Wyłącza automatyczne łączenie się z serwerami podczas uruchamiania WeeChat. 3 | 4 | *-c*, *--colors*:: 5 | Wyświetla domślne kolory w terminalu. 6 | 7 | *-d*, *--dir* _<ścieżka>_:: 8 | Ustawia ścieżkę jako katalog domowy WeeChat (używany dla plików 9 | konfiguracyjnych, logów, wtyczek użytkownika i skryptów), domyślna wartość 10 | to "~/.weechat" (katalog zostanie utworzony jeśli nie istnieje). 11 | Jeśli ta opcja nie zostanie podada, użyta zostanie zawartość zmiennej 12 | WEECHAT_HOME (jeśli została ustawiona). 13 | 14 | *-h*, *--help*:: 15 | Wyświetla pomoc. 16 | 17 | *-l*, *--license*:: 18 | Wyświetla licencję. 19 | 20 | *-p*, *--no-plugin*:: 21 | Wyłącza automatyczne ładowanie wtyczek. 22 | 23 | *-r*, *--run-command* __:: 24 | Wykonuje komendę(-y) po uruchomieniu (komendy należy oddzielać średnikiem). 25 | 26 | *-s*, *--no-script*:: 27 | Wyłącza automatyczne ładowanie skryptów. 28 | 29 | *--upgrade*:: 30 | Aktualizuje WeeChat z użyciem plików sesji wygenerowanych przez komende 31 | `/upgrade -quit`. 32 | 33 | *-v*, *--version*:: 34 | Wyświetla wersję WeeChat. 35 | 36 | *wtyczka:opcja*:: 37 | Opcja dla wtyczki. 38 | -------------------------------------------------------------------------------- /src/plugins/charset/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(charset MODULE charset.c) 21 | set_target_properties(charset PROPERTIES PREFIX "") 22 | 23 | if(ICONV_FOUND) 24 | include_directories(${ICONV_INCLUDE_PATH}) 25 | if(ICONV_LIBRARY) 26 | target_link_libraries(charset ${ICONV_LIBRARY}) 27 | else() 28 | target_link_libraries(charset) 29 | endif() 30 | endif() 31 | 32 | install(TARGETS charset LIBRARY DESTINATION ${LIBDIR}/plugins) 33 | -------------------------------------------------------------------------------- /doc/pl/autogen/plugin_api/infos_hashtable.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [width="100%",cols="^1,^2,6,6,8",options="header"] 6 | |=== 7 | | Wtyczka | Nazwa | Opis | Hashtable (wejście) | Hashtable (wyjście) 8 | 9 | | irc | irc_message_parse | przetwarza wiadomość IRC | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "tags": tagi, "message_without_tags": wiadomość bez tagów, "nick": nick, "host": host, "command": komenda, "channel": kanał, "arguments": argumenty (razem z kanałem), "text": tekst (na przykład wiadomość użytkownika), "pos_command": indeks wiadomości "command" message ("-1" jeśli "command" nie zostało znalezione), "pos_arguments": indeks wiadomości "arguments" ("-1" jeśli "arguments" nie zostało znalezione), "pos_channel": indeks wiadomości "channel" ("-1" jeśli "channel" nie został znaleziony), "pos_text": indeks słowa "text" ("-1" jeśli "text" nie został znaleziony) 10 | 11 | | irc | irc_message_split | dziel wiadomość IRC (aby zmieściła się w 512 bajtach) | "message": wiadomość IRC, "server": nazwa serwera (opcjonalne) | "msg1" ... "msgN": wiadomości do wysłania (bez kończącego "\r\n"), "args1" ... "argsN": argumenty wiadomości, "count": ilość wiadomości 12 | 13 | |=== 14 | -------------------------------------------------------------------------------- /src/plugins/xfer/xfer-upgrade.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_XFER_UPGRADE_H 21 | #define WEECHAT_XFER_UPGRADE_H 1 22 | 23 | #define XFER_UPGRADE_FILENAME "xfer" 24 | 25 | /* For developers: please add new values ONLY AT THE END of enums */ 26 | 27 | enum t_xfer_upgrade_type 28 | { 29 | XFER_UPGRADE_TYPE_XFER = 0, 30 | }; 31 | 32 | extern int xfer_upgrade_save (); 33 | extern int xfer_upgrade_load (); 34 | 35 | #endif /* WEECHAT_XFER_UPGRADE_H */ 36 | -------------------------------------------------------------------------------- /doc/fr/autogen/user/aspell_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_aspell_aspell]] 6 | * `+aspell+`: configuration de l'extension aspell 7 | 8 | ---- 9 | /aspell enable|disable|toggle 10 | listdict 11 | setdict [,...] 12 | deldict 13 | addword [] 14 | 15 | enable : activer aspell 16 | disable : désactiver aspell 17 | toggle : activer/désactiver aspell 18 | listdict : afficher les dictionnaires installés 19 | setdict : définir le dictionnaire pour le tampon courant (plusieurs dictionnaires peuvent être séparés par une virgule) 20 | deldict : supprimer le dictionnaire utilisé sur le tampon courant 21 | addword : ajouter un mot dans le dictionnaire personnel aspell 22 | 23 | Les lignes d'entrée commençant par '/' ne sont pas vérifiées, sauf pour certaines commandes (voir /set aspell.check.commands). 24 | 25 | Pour activer aspell sur tous les tampons, utilisez l'option "default_dict", par exemple : 26 | /set aspell.check.default_dict "en" 27 | /aspell enable 28 | 29 | Pour afficher une liste des suggestions dans une barre, utilisez l'objet "aspell_suggest". 30 | 31 | La touche par défaut pour activer/désactiver aspell est alt-s. 32 | ---- 33 | -------------------------------------------------------------------------------- /src/plugins/trigger/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(trigger MODULE 21 | trigger.c trigger.h 22 | trigger-buffer.c trigger-buffer.h 23 | trigger-callback.c trigger-callback.h 24 | trigger-command.c trigger-command.h 25 | trigger-completion.c trigger-completion.h 26 | trigger-config.c trigger-config.h) 27 | set_target_properties(trigger PROPERTIES PREFIX "") 28 | 29 | target_link_libraries(trigger) 30 | 31 | install(TARGETS trigger LIBRARY DESTINATION ${LIBDIR}/plugins) 32 | -------------------------------------------------------------------------------- /src/core/wee-log.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_LOG_H 21 | #define WEECHAT_LOG_H 1 22 | 23 | extern char *weechat_log_filename; 24 | extern FILE *weechat_log_file; 25 | extern int weechat_log_use_time; 26 | 27 | extern void log_init (); 28 | extern void log_close (); 29 | extern void log_printf (const char *message, ...); 30 | extern void log_printf_hexa (const char *spaces, const char *string); 31 | extern int log_crash_rename (); 32 | 33 | #endif /* WEECHAT_LOG_H */ 34 | -------------------------------------------------------------------------------- /src/plugins/lua/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2007 Emmanuel Bouthenot 3 | # Copyright (C) 2006-2016 Sébastien Helleu 4 | # 5 | # This file is part of WeeChat, the extensible chat client. 6 | # 7 | # WeeChat is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # WeeChat is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with WeeChat. If not, see . 19 | # 20 | 21 | add_library(lua MODULE weechat-lua.c weechat-lua.h weechat-lua-api.c 22 | weechat-lua-api.h) 23 | 24 | set_target_properties(lua PROPERTIES PREFIX "") 25 | 26 | if(LUA_FOUND) 27 | include_directories(${LUA_INCLUDE_DIRS}) 28 | target_link_libraries(lua ${LUA_LDFLAGS} weechat_plugins_scripts) 29 | endif() 30 | 31 | install(TARGETS lua LIBRARY DESTINATION ${LIBDIR}/plugins) 32 | -------------------------------------------------------------------------------- /src/plugins/exec/exec-buffer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2014-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_EXEC_BUFFER_H 21 | #define WEECHAT_EXEC_BUFFER_H 1 22 | 23 | extern void exec_buffer_set_callbacks (); 24 | extern struct t_gui_buffer *exec_buffer_new (const char *name, 25 | int free_content, 26 | int clear_buffer, 27 | int switch_to_buffer); 28 | 29 | #endif /* WEECHAT_EXEC_BUFFER_H */ 30 | -------------------------------------------------------------------------------- /src/plugins/guile/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2011-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(guile MODULE weechat-guile.c weechat-guile.h 21 | weechat-guile-api.c weechat-guile-api.h) 22 | 23 | set_target_properties(guile PROPERTIES PREFIX "") 24 | 25 | if(GUILE_FOUND) 26 | include_directories(${GUILE_INCLUDE_DIRS}) 27 | set(LINK_LIBS) 28 | list(APPEND LINK_LIBS ${GUILE_LDFLAGS}) 29 | target_link_libraries(guile ${LINK_LIBS} weechat_plugins_scripts) 30 | endif() 31 | 32 | install(TARGETS guile LIBRARY DESTINATION ${LIBDIR}/plugins) 33 | -------------------------------------------------------------------------------- /src/plugins/perl/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(PERL_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = perl.la 25 | 26 | perl_la_SOURCES = weechat-perl.c \ 27 | weechat-perl.h \ 28 | weechat-perl-api.c \ 29 | weechat-perl-api.h 30 | perl_la_LDFLAGS = -module -no-undefined 31 | perl_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PERL_LFLAGS) 32 | 33 | EXTRA_DIST = CMakeLists.txt 34 | -------------------------------------------------------------------------------- /doc/fr/autogen/plugin_api/infos_hashtable.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [width="100%",cols="^1,^2,6,6,8",options="header"] 6 | |=== 7 | | Extension | Nom | Description | Table de hachage (entrée) | Table de hachage (sortie) 8 | 9 | | irc | irc_message_parse | analyse un message IRC | "message" : message IRC, "server" : nom du serveur (optionnel) | "tags" : étiquettes, "message_without_tags" : message sans les étiquettes, "nick" : pseudo, "host" : nom d'hôte, "command" : commande, "channel" : canal, "arguments" : paramètres (inclut le canal), "text" : texte (par exemple message utilisateur), "pos_command" : index de "command" dans le message ("-1" si "command" n'a pas été trouvé), "pos_arguments" : index de "arguments" dans le message ("-1" si "arguments" n'a pas été trouvé), "pos_channel" : index de "channel" dans le message ("-1" si "channel" n'a pas été trouvé), "pos_text" : index de "text" dans le message ("-1" si "text" n'a pas été trouvé) 10 | 11 | | irc | irc_message_split | découper un message IRC (pour tenir dans les 512 octets) | "message" : message IRC, "server" : nom du serveur (optionnel) | "msg1" ... "msgN" : messages à envoyer (sans le "\r\n" final), "args1" ... "argsN" : paramètres des messages, "count" : nombre de messages 12 | 13 | |=== 14 | -------------------------------------------------------------------------------- /src/plugins/ruby/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(RUBY_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = ruby.la 25 | 26 | ruby_la_SOURCES = weechat-ruby.c \ 27 | weechat-ruby.h \ 28 | weechat-ruby-api.c \ 29 | weechat-ruby-api.h 30 | ruby_la_LDFLAGS = -module -no-undefined 31 | ruby_la_LIBADD = ../lib_weechat_plugins_scripts.la $(RUBY_LFLAGS) 32 | 33 | EXTRA_DIST = CMakeLists.txt 34 | -------------------------------------------------------------------------------- /doc/ru/cmdline_options.ru.adoc: -------------------------------------------------------------------------------- 1 | *-a*, *--no-connect*:: 2 | Отключить автоподключение к серверу при старте WeeChat. 3 | 4 | *-c*, *--colors*:: 5 | Вывести в терминал умолчальные цвета. 6 | 7 | *-d*, *--dir* _<путь>_:: 8 | Установить <путь> как домашнюю директорию для WeeChat (используется для 9 | конфигурационных файлов, логов, пользовательских плагинов и скриптов). 10 | Значение по-умолчанию: "~/.weechat" (замечание: директория будет создана, 11 | если WeeChat не найдет ее). 12 | Если эта опция не задана, будет использована переменная окружения WEECHAT_HOME 13 | (если такая переменная задана). 14 | 15 | *-h*, *--help*:: 16 | Вывести справку. 17 | 18 | *-l*, *--license*:: 19 | Вывести лицензию WeeChat. 20 | 21 | *-p*, *--no-plugin*:: 22 | Отключить автозагрузку плагинов. 23 | 24 | *-r*, *--run-command* _<команда>_:: 25 | Запустить команду (или команды) после загрузки WeeChat (несколько команд 26 | можно записать через точку с запятой). 27 | 28 | *-s*, *--no-script*:: 29 | Отключить автозагрузку скриптов. 30 | 31 | *--upgrade*:: 32 | Обновить WeeChat с использованием сеансовых файлов, сгенерированных 33 | командой `/upgrade -quit`. 34 | 35 | *-v*, *--version*:: 36 | Вывести версию WeeChat. 37 | 38 | *<плагин>:<параметр>*:: 39 | Задать параметр плагина. 40 | -------------------------------------------------------------------------------- /src/core/wee-version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_VERSION_H 21 | #define WEECHAT_VERSION_H 1 22 | 23 | extern const char *version_get_name (); 24 | extern const char *version_get_version (); 25 | extern const char *version_get_name_version (); 26 | extern const char *version_get_git (); 27 | extern const char *version_get_version_with_git (); 28 | extern const char *version_get_compilation_date (); 29 | extern const char *version_get_compilation_time (); 30 | 31 | #endif /* WEECHAT_VERSION_H */ 32 | -------------------------------------------------------------------------------- /src/plugins/ruby/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(ruby MODULE weechat-ruby.c weechat-ruby.h weechat-ruby-api.c 21 | weechat-ruby-api.h) 22 | 23 | set_target_properties(ruby PROPERTIES PREFIX "") 24 | 25 | if(RUBY_FOUND) 26 | include_directories(${RUBY_INCLUDE_DIRS}) 27 | set(LINK_LIBS) 28 | list(APPEND LINK_LIBS ${RUBY_LDFLAGS}) 29 | target_link_libraries(ruby ${LINK_LIBS} ${RUBY_LIB} weechat_plugins_scripts) 30 | endif(RUBY_FOUND) 31 | 32 | install(TARGETS ruby LIBRARY DESTINATION ${LIBDIR}/plugins) 33 | -------------------------------------------------------------------------------- /src/plugins/guile/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2011-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(GUILE_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = guile.la 25 | 26 | guile_la_SOURCES = weechat-guile.c \ 27 | weechat-guile.h \ 28 | weechat-guile-api.c \ 29 | weechat-guile-api.h 30 | guile_la_LDFLAGS = -module -no-undefined 31 | guile_la_LIBADD = ../lib_weechat_plugins_scripts.la $(GUILE_LFLAGS) 32 | 33 | EXTRA_DIST = CMakeLists.txt 34 | -------------------------------------------------------------------------------- /src/plugins/javascript/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | enable_language(CXX) 21 | 22 | add_library(javascript MODULE weechat-js.cpp weechat-js.h 23 | weechat-js-v8.cpp weechat-js-v8.h 24 | weechat-js-api.cpp weechat-js-api.h) 25 | 26 | set_target_properties(javascript PROPERTIES PREFIX "") 27 | 28 | if(V8_FOUND) 29 | include_directories(${V8_INCLUDE_DIR}) 30 | target_link_libraries(javascript ${V8_LIBRARY} weechat_plugins_scripts) 31 | endif() 32 | 33 | install(TARGETS javascript LIBRARY DESTINATION ${LIBDIR}/plugins) 34 | -------------------------------------------------------------------------------- /src/core/wee-input.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_INPUT_H 21 | #define WEECHAT_INPUT_H 1 22 | 23 | struct t_gui_buffer; 24 | struct t_weechat_plugin; 25 | 26 | extern int input_exec_command (struct t_gui_buffer *buffer, 27 | int any_plugin, 28 | struct t_weechat_plugin *plugin, 29 | const char *string); 30 | extern int input_data (struct t_gui_buffer *buffer, const char *data); 31 | 32 | #endif /* WEECHAT_INPUT_H */ 33 | -------------------------------------------------------------------------------- /src/plugins/fifo/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(FIFO_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = fifo.la 25 | 26 | fifo_la_SOURCES = fifo.c \ 27 | fifo.h \ 28 | fifo-command.c \ 29 | fifo-command.h \ 30 | fifo-info.c \ 31 | fifo-info.h 32 | fifo_la_LDFLAGS = -module -no-undefined 33 | fifo_la_LIBADD = $(FIFO_LFLAGS) 34 | 35 | EXTRA_DIST = CMakeLists.txt 36 | -------------------------------------------------------------------------------- /src/gui/gui-main.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_GUI_MAIN_H 21 | #define WEECHAT_GUI_MAIN_H 1 22 | 23 | /* main functions (GUI dependent) */ 24 | 25 | extern void gui_main_get_password (const char **prompt, 26 | char *password, int size); 27 | extern void gui_main_debug_libs (); 28 | extern void gui_main_end (int clean_exit); 29 | 30 | /* terminal functions (GUI dependent) */ 31 | extern void gui_term_set_eat_newline_glitch (int value); 32 | 33 | #endif /* WEECHAT_GUI_MAIN_H */ 34 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/exec_options.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | * [[option_exec.color.flag_finished]] *exec.color.flag_finished* 6 | ** 説明: pass:none[コマンドリストで使う実行完了コマンドのフラグに対するテキスト色] 7 | ** タイプ: 色 8 | ** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `+lightred+`) 9 | 10 | * [[option_exec.color.flag_running]] *exec.color.flag_running* 11 | ** 説明: pass:none[コマンドリストで使う実行中コマンドのフラグに対するテキスト色] 12 | ** タイプ: 色 13 | ** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `+lightgreen+`) 14 | 15 | * [[option_exec.command.default_options]] *exec.command.default_options* 16 | ** 説明: pass:none[/exec コマンドのデフォルトオプション (/help exec を参照); 例: "-nosh -bg" は全てのコマンドをバックグラウンドで実行し (出力なし)、シェルを使わない] 17 | ** タイプ: 文字列 18 | ** 値: 未制約文字列 (デフォルト値: `+""+`) 19 | 20 | * [[option_exec.command.purge_delay]] *exec.command.purge_delay* 21 | ** 説明: pass:none[接続を切ったクライアントを追い出すまでの遅延時間 (秒単位、0 = すぐにクライアントを追い出す、-1 = 追い出さない)] 22 | ** タイプ: 整数 23 | ** 値: -1 .. 25920000 (デフォルト値: `+0+`) 24 | -------------------------------------------------------------------------------- /src/plugins/python/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(PYTHON_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = python.la 25 | 26 | python_la_SOURCES = weechat-python.c \ 27 | weechat-python.h \ 28 | weechat-python-api.c \ 29 | weechat-python-api.h 30 | python_la_LDFLAGS = -module -no-undefined 31 | python_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LFLAGS) 32 | 33 | EXTRA_DIST = CMakeLists.txt 34 | -------------------------------------------------------------------------------- /doc/de/autogen/plugin_api/infos_hashtable.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [width="100%",cols="^1,^2,6,6,8",options="header"] 6 | |=== 7 | | Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe) 8 | 9 | | irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein), "text": Text (zum Beispiel eine Nachricht von einem User), "pos_command": Index der "command" Nachricht ("-1" falls "command" nicht gefunden wird), "pos_arguments": Index der "arguments" Nachricht ("-1" falls "arguments" nicht gefunden wird), "pos_channel": Index der "channel" Nachricht ("-1" falls "channel" nicht gefunden wird),"pos_text": Index für "text" Nachricht ("-1" falls "text" nicht gefunden wird) 10 | 11 | | irc | irc_message_split | dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten 12 | 13 | |=== 14 | -------------------------------------------------------------------------------- /src/plugins/python/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(python MODULE weechat-python.c weechat-python.h 21 | weechat-python-api.c weechat-python-api.h) 22 | 23 | set_target_properties(python PROPERTIES PREFIX "") 24 | 25 | if(PYTHON_FOUND) 26 | include_directories(${PYTHON_INCLUDE_PATH}) 27 | set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${PYTHON_LFLAGS}") 28 | target_link_libraries(python ${PYTHON_LIBRARY} weechat_plugins_scripts) 29 | endif() 30 | 31 | install(TARGETS python LIBRARY DESTINATION ${LIBDIR}/plugins) 32 | -------------------------------------------------------------------------------- /doc/it/cmdline_options.it.adoc: -------------------------------------------------------------------------------- 1 | *-a*, *--no-connect*:: 2 | Disabilita la connessione automatica ai server all'avvio di WeeChat. 3 | 4 | *-c*, *--colors*:: 5 | Mostra i colori prefefiniti nel terminale. 6 | 7 | // TRANSLATION MISSING 8 | *-d*, *--dir* __:: 9 | Imposta una directory come home per WeeChat (utilizzata per i file di 10 | configurazione, log, plugin e script dell'utente), il valore predefinito 11 | è "~/.weechat" (nota: directory viene creata se non trovata da WeeChat). 12 | If this option is not given, the environment variable WEECHAT_HOME is used 13 | (if not empty). 14 | 15 | *-h*, *--help*:: 16 | Mostra l'aiuto. 17 | 18 | *-l*, *--license*:: 19 | Mostra la licenza di WeeChat. 20 | 21 | *-p*, *--no-plugin*:: 22 | Disabilita il caricamento automatico dei plugin. 23 | 24 | // TRANSLATION MISSING 25 | *-r*, *--run-command* __:: 26 | Esegue un comando(i) dopo l'avvio (più comandi possono essere separati da 27 | punto e virgola). 28 | 29 | *-s*, *--no-script*:: 30 | Disabilita il caricamento automatico dei script. 31 | 32 | // TRANSLATION MISSING 33 | *--upgrade*:: 34 | Upgrade WeeChat using session files generated with command `/upgrade -quit`. 35 | 36 | *-v*, *--version*:: 37 | Mostra la versione di WeeChat. 38 | 39 | *plugin:option*:: 40 | Opzione per il plugin. 41 | -------------------------------------------------------------------------------- /src/plugins/irc/irc-mode.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_IRC_MODE_H 21 | #define WEECHAT_IRC_MODE_H 1 22 | 23 | struct t_irc_server; 24 | struct t_irc_channel; 25 | 26 | extern int irc_mode_channel_set (struct t_irc_server *server, 27 | struct t_irc_channel *channel, 28 | const char *modes); 29 | extern void irc_mode_user_set (struct t_irc_server *server, const char *modes, 30 | int reset_modes); 31 | 32 | #endif /* WEECHAT_IRC_MODE_H */ 33 | -------------------------------------------------------------------------------- /src/plugins/xfer/xfer-network.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_XFER_NETWORK_H 21 | #define WEECHAT_XFER_NETWORK_H 1 22 | 23 | extern void xfer_network_write_pipe (struct t_xfer *xfer, int status, 24 | int error); 25 | extern void xfer_network_connect_init (struct t_xfer *xfer); 26 | extern void xfer_network_child_kill (struct t_xfer *xfer); 27 | extern int xfer_network_connect (struct t_xfer *xfer); 28 | extern void xfer_network_accept (struct t_xfer *xfer); 29 | 30 | #endif /* WEECHAT_XFER_NETWORK_H */ 31 | -------------------------------------------------------------------------------- /src/plugins/relay/relay-upgrade.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_RELAY_UPGRADE_H 21 | #define WEECHAT_RELAY_UPGRADE_H 1 22 | 23 | #define RELAY_UPGRADE_FILENAME "relay" 24 | 25 | /* For developers: please add new values ONLY AT THE END of enums */ 26 | 27 | enum t_relay_upgrade_type 28 | { 29 | RELAY_UPGRADE_TYPE_CLIENT = 0, 30 | RELAY_UPGRADE_TYPE_RAW_MESSAGE, 31 | RELAY_UPGRADE_TYPE_SERVER, 32 | }; 33 | 34 | extern int relay_upgrade_save (); 35 | extern int relay_upgrade_load (); 36 | 37 | #endif /* WEECHAT_RELAY_UPGRADE_H */ 38 | -------------------------------------------------------------------------------- /src/plugins/lua/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2006-2007 Emmanuel Bouthenot 3 | # Copyright (C) 2006-2016 Sébastien Helleu 4 | # 5 | # This file is part of WeeChat, the extensible chat client. 6 | # 7 | # WeeChat is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # WeeChat is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with WeeChat. If not, see . 19 | # 20 | 21 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(LUA_CFLAGS) 22 | 23 | libdir = ${weechat_libdir}/plugins 24 | 25 | lib_LTLIBRARIES = lua.la 26 | 27 | lua_la_SOURCES = weechat-lua.c \ 28 | weechat-lua.h \ 29 | weechat-lua-api.c \ 30 | weechat-lua-api.h 31 | lua_la_LDFLAGS = -module -no-undefined 32 | lua_la_LIBADD = ../lib_weechat_plugins_scripts.la $(LUA_LFLAGS) 33 | 34 | EXTRA_DIST = CMakeLists.txt 35 | -------------------------------------------------------------------------------- /src/plugins/tcl/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2010 Dmitry Kobylin 3 | # Copyright (C) 2008-2016 Sébastien Helleu 4 | # 5 | # This file is part of WeeChat, the extensible chat client. 6 | # 7 | # WeeChat is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # WeeChat is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with WeeChat. If not, see . 19 | # 20 | 21 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(TCL_CFLAGS) 22 | 23 | libdir = ${weechat_libdir}/plugins 24 | 25 | lib_LTLIBRARIES = tcl.la 26 | 27 | tcl_la_SOURCES = weechat-tcl.c \ 28 | weechat-tcl.h \ 29 | weechat-tcl-api.c \ 30 | weechat-tcl-api.h 31 | tcl_la_LDFLAGS = -module -no-undefined 32 | tcl_la_LIBADD = ../lib_weechat_plugins_scripts.la $(TCL_LFLAGS) 33 | 34 | EXTRA_DIST = CMakeLists.txt 35 | -------------------------------------------------------------------------------- /tests/unit/core/test-url.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * test-url.cpp - test URL functions 3 | * 4 | * Copyright (C) 2014-2016 Sébastien Helleu 5 | * 6 | * This file is part of WeeChat, the extensible chat client. 7 | * 8 | * WeeChat is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * WeeChat is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with WeeChat. If not, see . 20 | */ 21 | 22 | #include "CppUTest/TestHarness.h" 23 | 24 | extern "C" 25 | { 26 | #include "src/core/wee-url.h" 27 | } 28 | 29 | TEST_GROUP(Url) 30 | { 31 | }; 32 | 33 | /* 34 | * Tests functions: 35 | * weeurl_download 36 | */ 37 | 38 | TEST(Url, Download) 39 | { 40 | /* TODO: write tests */ 41 | } 42 | 43 | /* 44 | * Tests functions: 45 | * weeurl_option_add_to_infolist 46 | */ 47 | 48 | TEST(Url, AddToInfolist) 49 | { 50 | /* TODO: write tests */ 51 | } 52 | -------------------------------------------------------------------------------- /doc/de/autogen/user/aspell_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_aspell_aspell]] 6 | * `+aspell+`: Konfiguration für Aspell-Erweiterung 7 | 8 | ---- 9 | /aspell enable|disable|toggle 10 | listdict 11 | setdict [,...] 12 | deldict 13 | addword [] 14 | 15 | enable: Aspell wird aktiviert 16 | disable: Aspell wird deaktiviert 17 | toggle: Aspell Funktionalität umschalten 18 | listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet 19 | setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden) 20 | deldict: Wörterbuch für den aktuellen Buffer entfernen 21 | addword: fügt ein Wort in das persönliche Wörterbuch von Aspell hinzu 22 | 23 | Eingaben die mit '/' beginnen werden nicht überprüft, davon ausgenommen sind einige Befehle (siehe /set aspell.check.commands). 24 | 25 | Um sich eine Liste von Vorschlägen in einer Bar anzeigen zu lassen nutzt man das Item "aspell_suggest". 26 | 27 | Um Aspell auf alle Buffer anzuwenden sollte die Einstellung "default_dict" genutzt und Aspell aktiviert werden: 28 | /set aspell.check.default_dict "de_DE-neu" 29 | /aspell enable 30 | 31 | Die Standardtastaturbelegung zum Umschalten der Aspell Funktionalität lautet alt-s. 32 | ---- 33 | -------------------------------------------------------------------------------- /src/gui/curses/main.c: -------------------------------------------------------------------------------- 1 | /* 2 | * main.c - entry point for Curses GUI 3 | * 4 | * Copyright (C) 2003-2016 Sébastien Helleu 5 | * 6 | * This file is part of WeeChat, the extensible chat client. 7 | * 8 | * WeeChat is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * WeeChat is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with WeeChat. If not, see . 20 | */ 21 | 22 | #ifdef HAVE_CONFIG_H 23 | #include "config.h" 24 | #endif 25 | 26 | #include 27 | 28 | #include "../../core/weechat.h" 29 | #include "../gui-main.h" 30 | #include "gui-curses.h" 31 | 32 | 33 | /* 34 | * Entry point for WeeChat (Curses GUI). 35 | */ 36 | 37 | int 38 | main (int argc, char *argv[]) 39 | { 40 | weechat_init (argc, argv, &gui_main_init); 41 | gui_main_loop (); 42 | weechat_end (&gui_main_end); 43 | 44 | return EXIT_SUCCESS; 45 | } 46 | -------------------------------------------------------------------------------- /doc/en/autogen/user/logger_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_logger_logger]] 6 | * `+logger+`: logger plugin configuration 7 | 8 | ---- 9 | /logger list 10 | set 11 | flush 12 | disable 13 | 14 | list: show logging status for opened buffers 15 | set: set logging level on current buffer 16 | level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages) 17 | flush: write all log files now 18 | disable: disable logging on current buffer (set level to 0) 19 | 20 | Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name. 21 | 22 | Log levels used by IRC plugin: 23 | 1: user message, notice, private 24 | 2: nick change 25 | 3: server message 26 | 4: join/part/quit 27 | 9: all other messages 28 | 29 | Examples: 30 | set level to 5 for current buffer: 31 | /logger set 5 32 | disable logging for current buffer: 33 | /logger disable 34 | set level to 3 for all IRC buffers: 35 | /set logger.level.irc 3 36 | disable logging for main WeeChat buffer: 37 | /set logger.level.core.weechat 0 38 | use a directory per IRC server and a file per channel inside: 39 | /set logger.mask.irc "$server/$channel.weechatlog" 40 | ---- 41 | -------------------------------------------------------------------------------- /src/plugins/logger/logger-tail.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_LOGGER_TAIL_H 21 | #define WEECHAT_LOGGER_TAIL_H 1 22 | 23 | struct t_logger_line 24 | { 25 | char *data; /* line content */ 26 | struct t_logger_line *next_line; /* link to next line */ 27 | }; 28 | 29 | extern struct t_logger_line *logger_tail_file (const char *filename, 30 | int n_lines); 31 | extern void logger_tail_free (struct t_logger_line *lines); 32 | 33 | #endif /* WEECHAT_LOGGER_TAIL_H */ 34 | -------------------------------------------------------------------------------- /src/core/wee-debug.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_DEBUG_H 21 | #define WEECHAT_DEBUG_H 1 22 | 23 | struct t_gui_window_tree; 24 | 25 | extern void debug_sigsegv (); 26 | extern void debug_windows_tree (); 27 | extern void debug_memory (); 28 | extern void debug_hdata (); 29 | extern void debug_hooks (); 30 | extern void debug_infolists (); 31 | extern void debug_directories (); 32 | extern void debug_time_start (const char *name); 33 | extern void debug_time_end (int display); 34 | extern void debug_init (); 35 | extern void debug_end (); 36 | 37 | #endif /* WEECHAT_DEBUG_H */ 38 | -------------------------------------------------------------------------------- /doc/de/cmdline_options.de.adoc: -------------------------------------------------------------------------------- 1 | *-a*, *--no-connect*:: 2 | deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat. 3 | 4 | *-c*, *--colors*:: 5 | zeigt die Standardfarben im Terminal an. 6 | 7 | *-d*, *--dir* __:: 8 | legt den Konfigurationsordner für WeeChat fest in welchem die Erweiterungen, 9 | Skripten, Protokolldateien etc.pp. gesichert werden (Voreinstellung: "~/.weechat"). 10 | Sollte das Verzeichnis nicht existieren wird es beim Start angelegt. 11 | Wird diese Option nicht genutzt, wird die Umgebungsvariable WEECHAT_HOME genutzt 12 | (sofern diese vorhanden ist). 13 | 14 | *-h*, *--help*:: 15 | zeigt einen Hilfstext an. 16 | 17 | *-l*, *--license*:: 18 | zeigt die Lizenz von WeeChat an. 19 | 20 | *-p*, *--no-plugin*:: 21 | unterbindet das Laden der Erweiterungen beim Programmstart. 22 | 23 | *-r*, *--run-command* __:: 24 | führt einen oder mehrere Befehle aus, nachdem WeeChat gestartet wurde 25 | (mehrere Befehle müssen durch Kommata voneinander getrennt werden). 26 | 27 | *-s*, *--no-script*:: 28 | Skripten werden beim Programmstart nicht geladen. 29 | 30 | *--upgrade*:: 31 | führt ein WeeChat Upgrade mit Sitzungsdateien durch, die mittels dem Befehl `/upgrade -quit` erstellt wurden. 32 | 33 | *-v*, *--version*:: 34 | zeigt die Version von WeeChat an. 35 | 36 | *plugin:option*:: 37 | Option für Erweiterung. 38 | -------------------------------------------------------------------------------- /doc/ja/autogen/user/alias_commands.adoc: -------------------------------------------------------------------------------- 1 | // 2 | // This file is auto-generated by script docgen.py. 3 | // DO NOT EDIT BY HAND! 4 | // 5 | [[command_alias_alias]] 6 | * `+alias+`: 別名コマンドのリストアップ、追加、削除 7 | 8 | ---- 9 | /alias list [] 10 | add [[;...]] 11 | addcompletion [[;...]] 12 | del [...] 13 | 14 | list: 別名をリストアップ (引数を与えなかった場合、このリストが表示されます) 15 | add: 別名を追加 16 | addcompletion: カスタム補完を指定して別名を追加 17 | del: 別名を削除 18 | completion: 別名の補完: デフォルトでは対象のコマンドに対する補完が行われます 19 | 注意: %%command で既存のコマンドに対する補完を利用可能です 20 | alias: 別名の名前 21 | command: 引数を含めたコマンド名 (セミコロンで分割すれば複数のコマンドを指定できます) 22 | 23 | 注意: command の中に含まれる特殊変数は置換されます: 24 | $n: 'n' 番目の引数 (1 から 9) 25 | $-m: 1 から 'm' 番目の引数 26 | $n-: 'n' 番目から最後の引数 27 | $n-m: 'n' から 'm' 番目の引数 28 | $*: 全ての引数 29 | $~: 最後の引数 30 | $var: ここで "var" とはバッファの局所変数 (/buffer localvar を参照) 31 | 例: $nick、$channel、$server、$plugin、$name 32 | 33 | 例: 34 | /split をウィンドウを水平方向に分割する別名と定義: 35 | /alias add split /window splith 36 | /hello を #weechat を除く全てのチャンネルで "hello" と発言する別名と定義: 37 | /alias add hello /allchan -exclude=#weechat msg * hello 38 | /forcejoin を /sajoin の補完候補を使い IRC コマンド "forcejoin" を送信する別名と定義: 39 | /alias addcompletion %%sajoin forcejoin /quote forcejoin 40 | ---- 41 | -------------------------------------------------------------------------------- /doc/fr/cmdline_options.fr.adoc: -------------------------------------------------------------------------------- 1 | *-a*, *--no-connect*:: 2 | Supprimer la connexion automatique aux serveurs lors du démarrage. 3 | 4 | *-c*, *--colors*:: 5 | Afficher les couleurs par défaut du terminal. 6 | 7 | *-d*, *--dir* __:: 8 | Définir le répertoire comme étant la base de WeeChat 9 | (utilisé pour les fichiers de configuration, logs, extensions 10 | et scripts de l'utilisateur), la valeur par défaut est "~/.weechat" (note : 11 | le répertoire est créé s'il n'est pas trouvé par WeeChat). 12 | Si cette option n'est pas donnée, la variable d'environnement WEECHAT_HOME 13 | est utilisée (si non vide). 14 | 15 | *-h*, *--help*:: 16 | Afficher l'aide. 17 | 18 | *-l*, *--license*:: 19 | Afficher la licence de WeeChat. 20 | 21 | *-p*, *--no-plugin*:: 22 | Supprimer le chargement automatique des extensions au démarrage. 23 | 24 | *-r*, *--run-command* __:: 25 | Lancer la/les commande(s) après le démarrage (plusieurs commandes peuvent 26 | être séparées par des points-virgules). 27 | 28 | *-s*, *--no-script*:: 29 | Supprimer le chargement automatique des scripts au démarrage. 30 | 31 | *--upgrade*:: 32 | Mettre à jour WeeChat en utilisant les fichiers de session générés avec la 33 | commande `/upgrade -quit`. 34 | 35 | *-v*, *--version*:: 36 | Afficher la version de WeeChat. 37 | 38 | *extension:option*:: 39 | Option pour une extension. 40 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | 3 | compiler: 4 | - gcc 5 | - clang 6 | 7 | sudo: required 8 | dist: trusty 9 | 10 | env: 11 | - BUILDTOOL="cmake" BUILDARGS="" 12 | - BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON" 13 | - BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF" 14 | - BUILDTOOL="autotools" BUILDARGS="" 15 | - BUILDTOOL="autotools" BUILDARGS="--enable-python3" 16 | - BUILDTOOL="autotools" BUILDARGS="--disable-gnutls" 17 | 18 | before_script: 19 | # Workaround travis-ci/travis-ci#5326 20 | - export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g") 21 | - echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf 22 | - sudo apt-get update -qq 23 | - sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl libcpputest-dev 24 | - sudo gem install asciidoctor 25 | - sudo pip install msgcheck pylint 26 | 27 | script: 28 | - ./tools/build-test.sh 29 | - msgcheck po/*.po 30 | - pylint --version 31 | - pylint doc/docgen.py 32 | 33 | after_success: 34 | - weechat --help 35 | - weechat-curses --help 36 | - weechat -r "/debug libs;/quit" 37 | 38 | matrix: 39 | fast_finish: true 40 | -------------------------------------------------------------------------------- /src/core/wee-completion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_COMPLETION_H 21 | #define WEECHAT_COMPLETION_H 1 22 | 23 | struct t_gui_buffer; 24 | struct t_gui_completion; 25 | 26 | extern int completion_list_add_filename_cb (const void *pointer, 27 | void *data, 28 | const char *completion_item, 29 | struct t_gui_buffer *buffer, 30 | struct t_gui_completion *completion); 31 | extern void completion_init (); 32 | 33 | #endif /* WEECHAT_COMPLETION_H */ 34 | -------------------------------------------------------------------------------- /src/plugins/javascript/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2015-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(V8_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = javascript.la 25 | 26 | javascript_la_SOURCES = weechat-js.cpp \ 27 | weechat-js.h \ 28 | weechat-js-v8.cpp \ 29 | weechat-js-v8.h \ 30 | weechat-js-api.cpp \ 31 | weechat-js-api.h 32 | javascript_la_LDFLAGS = -module -no-undefined 33 | javascript_la_LIBADD = ../lib_weechat_plugins_scripts.la $(V8_LFLAGS) 34 | 35 | EXTRA_DIST = CMakeLists.txt 36 | -------------------------------------------------------------------------------- /doc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # Copyright (C) 2009 Emmanuel Bouthenot 4 | # 5 | # This file is part of WeeChat, the extensible chat client. 6 | # 7 | # WeeChat is free software; you can redistribute it and/or modify 8 | # it under the terms of the GNU General Public License as published by 9 | # the Free Software Foundation; either version 3 of the License, or 10 | # (at your option) any later version. 11 | # 12 | # WeeChat is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | # GNU General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU General Public License 18 | # along with WeeChat. If not, see . 19 | # 20 | 21 | if(ENABLE_MAN OR ENABLE_DOC) 22 | 23 | find_package(Asciidoctor) 24 | 25 | if(ASCIIDOCTOR_FOUND) 26 | 27 | set(ASCIIDOCTOR_ARGS -a experimental -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=prettify) 28 | 29 | add_subdirectory(cs) 30 | add_subdirectory(de) 31 | add_subdirectory(en) 32 | add_subdirectory(es) 33 | add_subdirectory(fr) 34 | add_subdirectory(it) 35 | add_subdirectory(ja) 36 | add_subdirectory(pl) 37 | add_subdirectory(ru) 38 | 39 | endif() 40 | 41 | endif() 42 | -------------------------------------------------------------------------------- /src/plugins/script/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(script MODULE 21 | script.c script.h 22 | script-action.c script-action.h 23 | script-buffer.c script-buffer.h 24 | script-command.c script-command.h 25 | script-completion.c script-completion.h 26 | script-config.c script-config.h 27 | script-info.c script-info.h 28 | script-repo.c script-repo.h) 29 | set_target_properties(script PROPERTIES PREFIX "") 30 | 31 | set(LINK_LIBS) 32 | 33 | list(APPEND LINK_LIBS ${ZLIB_LIBRARY}) 34 | list(APPEND LINK_LIBS ${GCRYPT_LDFLAGS}) 35 | 36 | target_link_libraries(script ${LINK_LIBS}) 37 | 38 | install(TARGETS script LIBRARY DESTINATION ${LIBDIR}/plugins) 39 | -------------------------------------------------------------------------------- /src/plugins/xfer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | add_library(xfer MODULE 21 | xfer.c xfer.h 22 | xfer-buffer.c xfer-buffer.h 23 | xfer-chat.c xfer-chat.h 24 | xfer-command.c xfer-command.h 25 | xfer-completion.c xfer-completion.h 26 | xfer-config.c xfer-config.h 27 | xfer-dcc.c xfer-dcc.h 28 | xfer-file.c xfer-file.h 29 | xfer-info.c xfer-info.h 30 | xfer-network.c xfer-network.h 31 | xfer-upgrade.c xfer-upgrade.h) 32 | set_target_properties(xfer PROPERTIES PREFIX "") 33 | 34 | set(LINK_LIBS) 35 | 36 | list(APPEND LINK_LIBS ${GCRYPT_LDFLAGS}) 37 | 38 | target_link_libraries(xfer ${LINK_LIBS}) 39 | 40 | install(TARGETS xfer LIBRARY DESTINATION ${LIBDIR}/plugins) 41 | -------------------------------------------------------------------------------- /src/plugins/irc/irc-upgrade.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_IRC_UPGRADE_H 21 | #define WEECHAT_IRC_UPGRADE_H 1 22 | 23 | #define IRC_UPGRADE_FILENAME "irc" 24 | 25 | /* For developers: please add new values ONLY AT THE END of enums */ 26 | 27 | enum t_irc_upgrade_type 28 | { 29 | IRC_UPGRADE_TYPE_SERVER = 0, 30 | IRC_UPGRADE_TYPE_CHANNEL, 31 | IRC_UPGRADE_TYPE_NICK, 32 | IRC_UPGRADE_TYPE_RAW_MESSAGE, 33 | IRC_UPGRADE_TYPE_REDIRECT_PATTERN, 34 | IRC_UPGRADE_TYPE_REDIRECT, 35 | IRC_UPGRADE_TYPE_NOTIFY, 36 | }; 37 | 38 | extern int irc_upgrade_save (); 39 | extern int irc_upgrade_load (); 40 | 41 | #endif /* WEECHAT_IRC_UPGRADE_H */ 42 | -------------------------------------------------------------------------------- /cmake/FindCppUTest.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | # - Find CppUTest 21 | # This module finds if CppUTest is installed and determines where the include 22 | # files and libraries are. It also determines what the name of the library is. 23 | # This code sets the following variables: 24 | # 25 | # CPPUTEST_FOUND = CppUTest is installed 26 | # CPPUTEST_INCLUDE_DIRS = CppUTest include directory 27 | # CPPUTEST_LIBRARIES = Link options to compile with CppUTest 28 | 29 | if(CPPUTEST_FOUND) 30 | # Already in cache, be silent 31 | set(CPPUTEST_FIND_QUIETLY TRUE) 32 | endif() 33 | 34 | find_package(PkgConfig) 35 | if(PKG_CONFIG_FOUND) 36 | pkg_search_module(CPPUTEST cpputest) 37 | endif() 38 | -------------------------------------------------------------------------------- /src/gui/gui-cursor.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2011-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_GUI_CURSOR_H 21 | #define WEECHAT_GUI_CURSOR_H 1 22 | 23 | /* cursor variables */ 24 | 25 | extern int gui_cursor_mode; 26 | extern int gui_cursor_debug; 27 | extern int gui_cursor_x; 28 | extern int gui_cursor_y; 29 | 30 | /* cursor functions */ 31 | 32 | extern void gui_cursor_mode_toggle (); 33 | extern void gui_cursor_debug_set (int debug); 34 | extern void gui_cursor_move_xy (int x, int y); 35 | extern void gui_cursor_move_add_xy (int add_x, int add_y); 36 | extern void gui_cursor_move_area_add_xy (int add_x, int add_y); 37 | extern void gui_cursor_move_area (const char *area); 38 | 39 | #endif /* WEECHAT_GUI_CURSOR_H */ 40 | -------------------------------------------------------------------------------- /src/plugins/exec/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2014-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(EXEC_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = exec.la 25 | 26 | exec_la_SOURCES = exec.c \ 27 | exec.h \ 28 | exec-buffer.c \ 29 | exec-buffer.h \ 30 | exec-command.c \ 31 | exec-command.h \ 32 | exec-completion.c \ 33 | exec-completion.h \ 34 | exec-config.c \ 35 | exec-config.h 36 | 37 | exec_la_LDFLAGS = -module -no-undefined 38 | exec_la_LIBADD = $(EXEC_LFLAGS) 39 | 40 | EXTRA_DIST = CMakeLists.txt 41 | -------------------------------------------------------------------------------- /src/plugins/logger/logger.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_LOGGER_H 21 | #define WEECHAT_LOGGER_H 1 22 | 23 | #define weechat_plugin weechat_logger_plugin 24 | #define LOGGER_PLUGIN_NAME "logger" 25 | 26 | #define LOGGER_LEVEL_DEFAULT 9 27 | 28 | extern struct t_weechat_plugin *weechat_logger_plugin; 29 | 30 | extern struct t_hook *logger_timer; 31 | 32 | extern void logger_start_buffer_all (int write_info_line); 33 | extern void logger_stop_all (int write_info_line); 34 | extern void logger_adjust_log_filenames (); 35 | extern int logger_timer_cb (const void *pointer, void *data, 36 | int remaining_calls); 37 | 38 | #endif /* WEECHAT_LOGGER_H */ 39 | -------------------------------------------------------------------------------- /src/plugins/alias/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(ALIAS_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = alias.la 25 | 26 | alias_la_SOURCES = alias.c \ 27 | alias.h \ 28 | alias-command.c \ 29 | alias-command.h \ 30 | alias-completion.c \ 31 | alias-completion.h \ 32 | alias-config.c \ 33 | alias-config.h \ 34 | alias-info.c \ 35 | alias-info.h 36 | alias_la_LDFLAGS = -module -no-undefined 37 | alias_la_LIBADD = $(ALIAS_LFLAGS) 38 | 39 | EXTRA_DIST = CMakeLists.txt 40 | -------------------------------------------------------------------------------- /src/plugins/logger/Makefile.am: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" $(LOGGER_CFLAGS) 21 | 22 | libdir = ${weechat_libdir}/plugins 23 | 24 | lib_LTLIBRARIES = logger.la 25 | 26 | logger_la_SOURCES = logger.c \ 27 | logger.h \ 28 | logger-buffer.c \ 29 | logger-buffer.h \ 30 | logger-config.c \ 31 | logger-config.h \ 32 | logger-info.c \ 33 | logger-info.h \ 34 | logger-tail.c \ 35 | logger-tail.h 36 | logger_la_LDFLAGS = -module -no-undefined 37 | logger_la_LIBADD = $(LOGGER_LFLAGS) 38 | 39 | EXTRA_DIST = CMakeLists.txt 40 | -------------------------------------------------------------------------------- /src/plugins/perl/weechat-perl-api.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_PERL_API_H 21 | #define WEECHAT_PERL_API_H 1 22 | 23 | extern int weechat_perl_api_buffer_input_data_cb (const void *pointer, 24 | void *data, 25 | struct t_gui_buffer *buffer, 26 | const char *input_data); 27 | extern int weechat_perl_api_buffer_close_cb (const void *pointer, 28 | void *data, 29 | struct t_gui_buffer *buffer); 30 | extern void weechat_perl_api_init (pTHX); 31 | 32 | #endif /* WEECHAT_PERL_API_H */ 33 | -------------------------------------------------------------------------------- /src/plugins/javascript/weechat-js-api.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2013 Koka El Kiwi 3 | * Copyright (C) 2015-2016 Sébastien Helleu 4 | * 5 | * This file is part of WeeChat, the extensible chat client. 6 | * 7 | * WeeChat is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 3 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * WeeChat is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with WeeChat. If not, see . 19 | */ 20 | 21 | #ifndef WEECHAT_JS_API_H 22 | #define WEECHAT_JS_API_H 1 23 | 24 | extern int weechat_js_api_buffer_input_data_cb (const void *pointer, 25 | void *data, 26 | struct t_gui_buffer *buffer, 27 | const char *input_data); 28 | extern int weechat_js_api_buffer_close_cb (const void *pointer, 29 | void *data, 30 | struct t_gui_buffer *buffer); 31 | 32 | #endif /* WEECHAT_JS_API_H */ 33 | -------------------------------------------------------------------------------- /src/plugins/tcl/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2010 Dmitry Kobylin 3 | # Copyright (C) 2008 Julien Louis 4 | # Copyright (C) 2008-2016 Sébastien Helleu 5 | # 6 | # This file is part of WeeChat, the extensible chat client. 7 | # 8 | # WeeChat is free software; you can redistribute it and/or modify 9 | # it under the terms of the GNU General Public License as published by 10 | # the Free Software Foundation; either version 3 of the License, or 11 | # (at your option) any later version. 12 | # 13 | # WeeChat is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | # GNU General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU General Public License 19 | # along with WeeChat. If not, see . 20 | # 21 | 22 | add_library(tcl MODULE weechat-tcl.c weechat-tcl.h 23 | weechat-tcl-api.c weechat-tcl-api.h) 24 | 25 | set_target_properties(tcl PROPERTIES PREFIX "") 26 | 27 | if(TCL_FOUND) 28 | set(CMAKE_REQUIRED_INCLUDES "${TCL_INCLUDE_PATH}") 29 | set(CMAKE_REQUIRED_LIBRARIES "${TCL_LIBRARY}") 30 | include_directories(${TCL_INCLUDE_PATH}) 31 | set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${TCL_LFLAGS}") 32 | target_link_libraries(tcl ${TCL_LIBRARY} weechat_plugins_scripts) 33 | endif() 34 | 35 | install(TARGETS tcl LIBRARY DESTINATION ${LIBDIR}/plugins) 36 | -------------------------------------------------------------------------------- /cmake/FindLua.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2003-2016 Sébastien Helleu 3 | # 4 | # This file is part of WeeChat, the extensible chat client. 5 | # 6 | # WeeChat is free software; you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation; either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # WeeChat is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with WeeChat. If not, see . 18 | # 19 | 20 | # - Find Lua 21 | # This module finds if liblua is installed and determines where 22 | # the include files and libraries are. 23 | # 24 | # This code sets the following variables: 25 | # 26 | # LUA_INCLUDE_PATH = path to where can be found 27 | # LUA_LIBRARY = path to where liblua.so* (and liblualib.so* for lua 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_IRC_INPUT_H 21 | #define WEECHAT_IRC_INPUT_H 1 22 | 23 | struct t_gui_buffer; 24 | 25 | extern void irc_input_user_message_display (struct t_gui_buffer *buffer, 26 | int action, const char *text); 27 | extern int irc_input_data_cb (const void *pointer, void *data, 28 | struct t_gui_buffer *buffer, 29 | const char *input_data); 30 | extern int irc_input_send_cb (const void *pointer, void *data, 31 | const char *signal, const char *type_data, 32 | void *signal_data); 33 | 34 | #endif /* WEECHAT_IRC_INPUT_H */ 35 | -------------------------------------------------------------------------------- /src/plugins/xfer/xfer-buffer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2003-2016 Sébastien Helleu 3 | * 4 | * This file is part of WeeChat, the extensible chat client. 5 | * 6 | * WeeChat is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * WeeChat is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with WeeChat. If not, see . 18 | */ 19 | 20 | #ifndef WEECHAT_XFER_BUFFER_H 21 | #define WEECHAT_XFER_BUFFER_H 1 22 | 23 | #define XFER_BUFFER_NAME "xfer.list" 24 | 25 | extern struct t_gui_buffer *xfer_buffer; 26 | extern int xfer_buffer_selected_line; 27 | 28 | extern void xfer_buffer_refresh (const char *hotlist); 29 | extern int xfer_buffer_input_cb (const void *pointer, void *data, 30 | struct t_gui_buffer *buffer, 31 | const char *input_data); 32 | extern int xfer_buffer_close_cb (const void *pointer, void *data, 33 | struct t_gui_buffer *buffer); 34 | extern void xfer_buffer_open (); 35 | 36 | #endif /* WEECHAT_XFER_BUFFER_H */ 37 | --------------------------------------------------------------------------------