From 413aa499cc61ee3ce18c57fc891ecc314b064a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 31 Mar 2019 23:53:54 +0200 Subject: [PATCH] core: add documentation on command line debug options (in --help and man pages) Command line debug options are now documented: * --no-dlclose: do not call the function dlclose after plugins are unloaded * --no-gnutls: do not call the init and deinit functions of GnuTLS library * --no-gcrypt: do not call the init and deinit functions of Gcrypt library These options must not be used in production, they're for debug only and can be used with tools like Valgrind or electric-fence. --- doc/cs/CMakeLists.txt | 2 ++ doc/cs/Makefile.am | 5 +++-- doc/cs/cmdline_options_debug.cs.adoc | 16 ++++++++++++++++ doc/cs/weechat-headless.1.cs.adoc | 10 ++++++++-- doc/cs/weechat.1.cs.adoc | 9 ++++++++- doc/de/CMakeLists.txt | 3 +++ doc/de/Makefile.am | 7 ++++--- doc/de/cmdline_options_debug.de.adoc | 16 ++++++++++++++++ doc/de/weechat-headless.1.de.adoc | 10 +++++++++- doc/de/weechat.1.de.adoc | 10 +++++++++- doc/de/weechat_user.de.adoc | 17 +++++++++++++---- doc/en/CMakeLists.txt | 3 +++ doc/en/Makefile.am | 7 ++++--- doc/en/cmdline_options_debug.en.adoc | 13 +++++++++++++ doc/en/weechat-headless.1.en.adoc | 8 +++++++- doc/en/weechat.1.en.adoc | 8 +++++++- doc/en/weechat_dev.en.adoc | 3 ++- doc/en/weechat_user.en.adoc | 15 +++++++++++---- doc/fr/CMakeLists.txt | 3 +++ doc/fr/Makefile.am | 7 ++++--- doc/fr/cmdline_options_debug.fr.adoc | 13 +++++++++++++ doc/fr/weechat-headless.1.fr.adoc | 9 ++++++++- doc/fr/weechat.1.fr.adoc | 9 ++++++++- doc/fr/weechat_dev.fr.adoc | 3 ++- doc/fr/weechat_user.fr.adoc | 15 +++++++++++---- doc/it/CMakeLists.txt | 3 +++ doc/it/Makefile.am | 7 ++++--- doc/it/cmdline_options_debug.it.adoc | 16 ++++++++++++++++ doc/it/weechat-headless.1.it.adoc | 9 ++++++++- doc/it/weechat.1.it.adoc | 9 ++++++++- doc/it/weechat_user.it.adoc | 17 +++++++++++++---- doc/ja/CMakeLists.txt | 3 +++ doc/ja/Makefile.am | 7 ++++--- doc/ja/cmdline_options_debug.ja.adoc | 16 ++++++++++++++++ doc/ja/weechat-headless.1.ja.adoc | 10 +++++++++- doc/ja/weechat.1.ja.adoc | 10 +++++++++- doc/ja/weechat_dev.ja.adoc | 5 ++++- doc/ja/weechat_user.ja.adoc | 17 +++++++++++++---- doc/pl/CMakeLists.txt | 3 +++ doc/pl/Makefile.am | 7 ++++--- doc/pl/cmdline_options_debug.pl.adoc | 16 ++++++++++++++++ doc/pl/weechat-headless.1.pl.adoc | 10 +++++++++- doc/pl/weechat.1.pl.adoc | 10 +++++++++- doc/pl/weechat_user.pl.adoc | 17 +++++++++++++---- doc/ru/CMakeLists.txt | 2 ++ doc/ru/Makefile.am | 5 +++-- doc/ru/cmdline_options_debug.ru.adoc | 16 ++++++++++++++++ doc/ru/weechat-headless.1.ru.adoc | 9 ++++++++- doc/ru/weechat.1.ru.adoc | 9 ++++++++- po/cs.po | 10 +++++++++- po/de.po | 10 +++++++++- po/es.po | 10 +++++++++- po/fr.po | 18 ++++++++++++++++-- po/hu.po | 10 +++++++++- po/it.po | 10 +++++++++- po/ja.po | 10 +++++++++- po/pl.po | 10 +++++++++- po/pt.po | 10 +++++++++- po/pt_BR.po | 10 +++++++++- po/ru.po | 10 +++++++++- po/tr.po | 10 +++++++++- po/weechat.pot | 10 +++++++++- src/core/wee-network.c | 12 ++++++------ src/core/weechat.c | 10 ++++++++++ 64 files changed, 528 insertions(+), 86 deletions(-) create mode 100644 doc/cs/cmdline_options_debug.cs.adoc create mode 100644 doc/de/cmdline_options_debug.de.adoc create mode 100644 doc/en/cmdline_options_debug.en.adoc create mode 100644 doc/fr/cmdline_options_debug.fr.adoc create mode 100644 doc/it/cmdline_options_debug.it.adoc create mode 100644 doc/ja/cmdline_options_debug.ja.adoc create mode 100644 doc/pl/cmdline_options_debug.pl.adoc create mode 100644 doc/ru/cmdline_options_debug.ru.adoc diff --git a/doc/cs/CMakeLists.txt b/doc/cs/CMakeLists.txt index fbfb764ff..7710e7bc3 100644 --- a/doc/cs/CMakeLists.txt +++ b/doc/cs/CMakeLists.txt @@ -25,6 +25,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.cs.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.cs.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.cs.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.cs.adoc @@ -41,6 +42,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.cs.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.cs.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.cs.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.cs.adoc diff --git a/doc/cs/Makefile.am b/doc/cs/Makefile.am index b9ab39d52..c6cec1621 100644 --- a/doc/cs/Makefile.am +++ b/doc/cs/Makefile.am @@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.cs.adoc \ weechat-headless.1.cs.adoc \ cmdline_options.cs.adoc \ + cmdline_options_debug.cs.adoc \ weechat_quickstart.cs.adoc \ $(wildcard autogen/user/*.adoc) \ $(wildcard autogen/plugin_api/*.adoc) @@ -42,9 +43,9 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc +weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc cmdline_options_debug.cs.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/cs/weechat.1.cs.adoc -weechat-headless.1: weechat-headless.1.cs.adoc cmdline_options.cs.adoc +weechat-headless.1: weechat-headless.1.cs.adoc cmdline_options.cs.adoc cmdline_options_debug.cs.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/cs/weechat-headless.1.cs.adoc # quickstart diff --git a/doc/cs/cmdline_options_debug.cs.adoc b/doc/cs/cmdline_options_debug.cs.adoc new file mode 100644 index 000000000..5e88ef3ae --- /dev/null +++ b/doc/cs/cmdline_options_debug.cs.adoc @@ -0,0 +1,16 @@ +// TRANSLATION MISSING +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +// TRANSLATION MISSING +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +// TRANSLATION MISSING +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/cs/weechat-headless.1.cs.adoc b/doc/cs/weechat-headless.1.cs.adoc index 74cef105d..4076c8b70 100644 --- a/doc/cs/weechat-headless.1.cs.adoc +++ b/doc/cs/weechat-headless.1.cs.adoc @@ -16,7 +16,7 @@ weechat-headless - the extensible chat client (headless version) // TRANSLATION MISSING [verse] -*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat-headless* [-c|--colors] *weechat-headless* [-h|--help] *weechat-headless* [-l|--license] @@ -32,11 +32,17 @@ v obvyklých sciptovacích jazycích. The command *weechat-headless* runs WeeChat in a headless mode (no interface). It can be used for tests or to daemonize WeeChat with the option "--daemon". - == VOLBY include::cmdline_options.cs.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.cs.adoc[] + == VOLBY PLUGINŮ include::man_plugin_options.cs.adoc[] diff --git a/doc/cs/weechat.1.cs.adoc b/doc/cs/weechat.1.cs.adoc index 04847d2f3..11824d84f 100644 --- a/doc/cs/weechat.1.cs.adoc +++ b/doc/cs/weechat.1.cs.adoc @@ -15,7 +15,7 @@ weechat - the extensible chat client // TRANSLATION MISSING [verse] -*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat* [-c|--colors] *weechat* [-h|--help] *weechat* [-l|--license] @@ -31,6 +31,13 @@ v obvyklých sciptovacích jazycích. include::cmdline_options.cs.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.cs.adoc[] + == VOLBY PLUGINŮ include::man_plugin_options.cs.adoc[] diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt index e36e2ea36..85e2c8dfb 100644 --- a/doc/de/CMakeLists.txt +++ b/doc/de/CMakeLists.txt @@ -25,6 +25,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.de.adoc @@ -41,6 +42,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.de.adoc @@ -63,6 +65,7 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.de.html" diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am index e71b2a081..e0c531db5 100644 --- a/doc/de/Makefile.am +++ b/doc/de/Makefile.am @@ -25,6 +25,7 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.de.adoc \ weechat-headless.1.de.adoc \ cmdline_options.de.adoc \ + cmdline_options_debug.de.adoc \ weechat_user.de.adoc \ weechat_scripting.de.adoc \ weechat_faq.de.adoc \ @@ -50,13 +51,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.de.adoc cmdline_options.de.adoc +weechat.1: weechat.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/de/weechat.1.de.adoc -weechat-headless.1: weechat-headless.1.de.adoc cmdline_options.de.adoc +weechat-headless.1: weechat-headless.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/de/weechat-headless.1.de.adoc # user's guide -weechat_user.de.html: weechat_user.de.adoc cmdline_options.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.de.html: weechat_user.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.adoc # scripting guide diff --git a/doc/de/cmdline_options_debug.de.adoc b/doc/de/cmdline_options_debug.de.adoc new file mode 100644 index 000000000..5e88ef3ae --- /dev/null +++ b/doc/de/cmdline_options_debug.de.adoc @@ -0,0 +1,16 @@ +// TRANSLATION MISSING +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +// TRANSLATION MISSING +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +// TRANSLATION MISSING +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/de/weechat-headless.1.de.adoc b/doc/de/weechat-headless.1.de.adoc index d999c49be..1c85c890e 100644 --- a/doc/de/weechat-headless.1.de.adoc +++ b/doc/de/weechat-headless.1.de.adoc @@ -12,8 +12,9 @@ weechat-headless - der erweiterbare Chat Client (headless version) == SYNOPSIS +// TRANSLATION MISSING [verse] -*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat-headless* [-c|--colors] *weechat-headless* [-h|--help] *weechat-headless* [-l|--license] @@ -33,6 +34,13 @@ zu starten. Dazu nutzt man die Option "--daemon". include::cmdline_options.de.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.de.adoc[] + == OPTIONEN von ERWEITERUNGEN include::man_plugin_options.de.adoc[] diff --git a/doc/de/weechat.1.de.adoc b/doc/de/weechat.1.de.adoc index 7ba1e2451..68db4766f 100644 --- a/doc/de/weechat.1.de.adoc +++ b/doc/de/weechat.1.de.adoc @@ -12,8 +12,9 @@ weechat - der erweiterbare Chat Client == SYNOPSIS +// TRANSLATION MISSING [verse] -*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat* [-c|--colors] *weechat* [-h|--help] *weechat* [-l|--license] @@ -29,6 +30,13 @@ Durch Skripten ist das Hauptprogramm äußerst flexibel und erweiterbar. include::cmdline_options.de.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.de.adoc[] + == OPTIONEN von ERWEITERUNGEN include::man_plugin_options.de.adoc[] diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index 3a025f17f..bcb9b4e25 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -513,14 +513,23 @@ Um WeeChat zu starten muss folgender Befehl ausgeführt werden: $ weechat ---- -Befehlszeile: - -include::cmdline_options.de.adoc[] - Wird WeeChat das erste mal ausgeführt, wird die Standardkonfiguration und die entsprechenden Dateien im Verzeichnis _~/.weechat_ erstellt. (siehe <>). +// TRANSLATION MISSING +==== Command line options + +include::cmdline_options.de.adoc[] + +// TRANSLATION MISSING +==== Extra debug options + +[WARNING] +These options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.de.adoc[] + [[environment_variables]] === Umgebungsvariablen diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt index 7db38512d..a2f11dfe0 100644 --- a/doc/en/CMakeLists.txt +++ b/doc/en/CMakeLists.txt @@ -25,6 +25,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.en.adoc @@ -41,6 +42,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.en.adoc @@ -64,6 +66,7 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.en.html" diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am index b45d18c61..7a5acbb25 100644 --- a/doc/en/Makefile.am +++ b/doc/en/Makefile.am @@ -25,6 +25,7 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.en.adoc \ weechat-headless.1.en.adoc \ cmdline_options.en.adoc \ + cmdline_options_debug.en.adoc \ weechat_user.en.adoc \ weechat_plugin_api.en.adoc \ weechat_scripting.en.adoc \ @@ -57,13 +58,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.en.adoc cmdline_options.en.adoc +weechat.1: weechat.1.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/en/weechat.1.en.adoc -weechat-headless.1: weechat-headless.1.en.adoc cmdline_options.en.adoc +weechat-headless.1: weechat-headless.1.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/en/weechat-headless.1.en.adoc # user's guide -weechat_user.en.html: weechat_user.en.adoc cmdline_options.en.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.en.html: weechat_user.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.adoc # plugin API reference diff --git a/doc/en/cmdline_options_debug.en.adoc b/doc/en/cmdline_options_debug.en.adoc new file mode 100644 index 000000000..d0f9df152 --- /dev/null +++ b/doc/en/cmdline_options_debug.en.adoc @@ -0,0 +1,13 @@ +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/en/weechat-headless.1.en.adoc b/doc/en/weechat-headless.1.en.adoc index 49f875157..0dab42ecb 100644 --- a/doc/en/weechat-headless.1.en.adoc +++ b/doc/en/weechat-headless.1.en.adoc @@ -13,7 +13,7 @@ weechat-headless - the extensible chat client (headless version) == SYNOPSIS [verse] -*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat-headless* [-c|--colors] *weechat-headless* [-h|--help] *weechat-headless* [-l|--license] @@ -32,6 +32,12 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon". include::cmdline_options.en.adoc[] +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.en.adoc[] + == PLUGIN OPTIONS include::man_plugin_options.en.adoc[] diff --git a/doc/en/weechat.1.en.adoc b/doc/en/weechat.1.en.adoc index 3b3237e5d..0b21fdf7d 100644 --- a/doc/en/weechat.1.en.adoc +++ b/doc/en/weechat.1.en.adoc @@ -13,7 +13,7 @@ weechat - the extensible chat client == SYNOPSIS [verse] -*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat* [-c|--colors] *weechat* [-h|--help] *weechat* [-l|--license] @@ -29,6 +29,12 @@ It is highly customizable and extensible with scripts. include::cmdline_options.en.adoc[] +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.en.adoc[] + == PLUGIN OPTIONS include::man_plugin_options.en.adoc[] diff --git a/doc/en/weechat_dev.en.adoc b/doc/en/weechat_dev.en.adoc index 0132e4876..6f8b0b40f 100644 --- a/doc/en/weechat_dev.en.adoc +++ b/doc/en/weechat_dev.en.adoc @@ -419,7 +419,8 @@ Documentation files: |    docinfo.html | Asciidoctor style. |    docgen.py | Python script to build files in _autogen/_ directory (see below). |    XX/ | Documentation for language XX (languages: en, fr, de, it, ...). -|       cmdline_options.XX.adoc | Command-line options (file included in man page and user's guide). +|       cmdline_options.XX.adoc | Command-line general options (file included in man pages and user's guide). +|       cmdline_options_debug.XX.adoc | Command-line debug options (file included in man pages and user's guide). |       weechat.1.XX.adoc | Man page (`man weechat`). |       weechat_dev.XX.adoc | link:weechat_dev.en.html[Developer's guide] (this document). |       weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ]. diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 57e09bf58..cdad32134 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -504,14 +504,21 @@ To start WeeChat, issue this command: $ weechat ---- -Command line arguments: - -include::cmdline_options.en.adoc[] - When you run WeeChat for the first time, the default configuration files are created in _~/.weechat_ with default options and values (see <>). +==== Command line options + +include::cmdline_options.en.adoc[] + +==== Extra debug options + +[WARNING] +These options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.en.adoc[] + [[environment_variables]] === Environment variables diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt index a56ace183..be35cc5da 100644 --- a/doc/fr/CMakeLists.txt +++ b/doc/fr/CMakeLists.txt @@ -25,6 +25,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.fr.adoc @@ -41,6 +42,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.fr.adoc @@ -64,6 +66,7 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.fr.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.fr.html" diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am index 01a0ec134..9ac6c8a16 100644 --- a/doc/fr/Makefile.am +++ b/doc/fr/Makefile.am @@ -25,6 +25,7 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.fr.adoc \ weechat-headless.1.fr.adoc \ cmdline_options.fr.adoc \ + cmdline_options_debug.fr.adoc \ weechat_user.fr.adoc \ weechat_plugin_api.fr.adoc \ weechat_scripting.fr.adoc \ @@ -57,13 +58,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.fr.adoc cmdline_options.fr.adoc +weechat.1: weechat.1.fr.adoc cmdline_options.fr.adoc cmdline_options_debug.fr.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/fr/weechat.1.fr.adoc -weechat-headless.1: weechat-headless.1.fr.adoc cmdline_options.fr.adoc +weechat-headless.1: weechat-headless.1.fr.adoc cmdline_options.fr.adoc cmdline_options_debug.fr.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/fr/weechat-headless.1.fr.adoc # user's guide -weechat_user.fr.html: weechat_user.fr.adoc cmdline_options.fr.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.fr.html: weechat_user.fr.adoc cmdline_options.fr.adoc cmdline_options_debug.fr.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.adoc # plugin API reference diff --git a/doc/fr/cmdline_options_debug.fr.adoc b/doc/fr/cmdline_options_debug.fr.adoc new file mode 100644 index 000000000..d0f9df152 --- /dev/null +++ b/doc/fr/cmdline_options_debug.fr.adoc @@ -0,0 +1,13 @@ +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/fr/weechat-headless.1.fr.adoc b/doc/fr/weechat-headless.1.fr.adoc index 41f5053fd..8b354e0eb 100644 --- a/doc/fr/weechat-headless.1.fr.adoc +++ b/doc/fr/weechat-headless.1.fr.adoc @@ -13,7 +13,7 @@ weechat-headless - le client de discussion extensible (version sans interface) == SYNOPSIS [verse] -*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [option-debug...] [plugin:option...] *weechat-headless* [-c|--colors] *weechat-headless* [-h|--help] *weechat-headless* [-l|--license] @@ -33,6 +33,13 @@ avec l'option "--daemon". include::cmdline_options.fr.adoc[] +== OPTIONS DE DEBUG + +*ATTENTION :* ces options sont pour du debug seulement, +*NE PAS UTILISER EN PRODUCTION !* + +include::cmdline_options_debug.fr.adoc[] + == OPTIONS D'EXTENSION include::man_plugin_options.fr.adoc[] diff --git a/doc/fr/weechat.1.fr.adoc b/doc/fr/weechat.1.fr.adoc index 9fd925671..7e5379676 100644 --- a/doc/fr/weechat.1.fr.adoc +++ b/doc/fr/weechat.1.fr.adoc @@ -13,7 +13,7 @@ weechat - le client de discussion extensible == SYNOPSIS [verse] -*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [extension:option...] +*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [option-debug...] [extension:option...] *weechat* [-c|--colors] *weechat* [-h|--help] *weechat* [-l|--license] @@ -29,6 +29,13 @@ Il est hautement paramétrable et extensible avec des scripts. include::cmdline_options.fr.adoc[] +== OPTIONS DE DEBUG + +*ATTENTION :* ces options sont pour du debug seulement, +*NE PAS UTILISER EN PRODUCTION !* + +include::cmdline_options_debug.fr.adoc[] + == OPTIONS D'EXTENSION include::man_plugin_options.fr.adoc[] diff --git a/doc/fr/weechat_dev.fr.adoc b/doc/fr/weechat_dev.fr.adoc index 81f857bad..16dcab9fd 100644 --- a/doc/fr/weechat_dev.fr.adoc +++ b/doc/fr/weechat_dev.fr.adoc @@ -420,7 +420,8 @@ Fichiers de documentation : |    docinfo.html | Style Asciidoctor. |    docgen.py | Script Python pour construire les fichiers dans le répertoire _autogen/_ (voir ci-dessous). |    XX/ | Documentation pour la langue XX (langues : en, fr, de, it, ...). -|       cmdline_options.XX.adoc | Options de ligne de commande (fichier inclus dans la page de manuel et le guide utilisateur). +|       cmdline_options.XX.adoc | Options générales de ligne de commande (fichier inclus dans les pages de manuel et le guide utilisateur). +|       cmdline_options_debug.XX.adoc | Options de debug de ligne de commande (fichier inclus dans les pages de manuel et le guide utilisateur). |       weechat.1.XX.adoc | Page de manuel (`man weechat`). |       weechat_dev.XX.adoc | link:weechat_dev.fr.html[Guide du développeur] (ce document). |       weechat_faq.XX.adoc | link:weechat_faq.fr.html[FAQ] (questions fréquemment posées). diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index c0a6e5514..87466053c 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -517,14 +517,21 @@ Pour lancer WeeChat, tapez cette commande : $ weechat ---- -Paramètres de ligne de commande : - -include::cmdline_options.fr.adoc[] - Lorsque vous lancez WeeChat pour la première fois, les fichiers de configuration par défaut sont créés dans _~/.weechat_ avec les options et valeurs par défaut (voir <>). +==== Options de ligne de commande + +include::cmdline_options.fr.adoc[] + +==== Options supplémentaires de debug + +[WARNING] +Ces options sont pour du debug seulement, *NE PAS UTILISER EN PRODUCTION !* + +include::cmdline_options_debug.fr.adoc[] + [[environment_variables]] === Variables d'environnement diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt index 963565c19..f9a22864e 100644 --- a/doc/it/CMakeLists.txt +++ b/doc/it/CMakeLists.txt @@ -25,6 +25,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.it.adoc @@ -41,6 +42,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.it.adoc @@ -64,6 +66,7 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.it.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.it.html" diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am index abd88a925..d9087a799 100644 --- a/doc/it/Makefile.am +++ b/doc/it/Makefile.am @@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.it.adoc \ weechat-headless.1.it.adoc \ cmdline_options.it.adoc \ + cmdline_options_debug.it.adoc \ weechat_user.it.adoc \ weechat_plugin_api.it.adoc \ weechat_scripting.it.adoc \ @@ -52,13 +53,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.it.adoc cmdline_options.it.adoc +weechat.1: weechat.1.it.adoc cmdline_options.it.adoc cmdline_options_debug.it.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/it/weechat.1.it.adoc -weechat-headless.1: weechat-headless.1.it.adoc cmdline_options.it.adoc +weechat-headless.1: weechat-headless.1.it.adoc cmdline_options.it.adoc cmdline_options_debug.it.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/it/weechat-headless.1.it.adoc # user's guide -weechat_user.it.html: weechat_user.it.adoc cmdline_options.it.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.it.html: weechat_user.it.adoc cmdline_options.it.adoc cmdline_options_debug.it.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.it.html $(abs_top_srcdir)/doc/it/weechat_user.it.adoc # plugin API reference diff --git a/doc/it/cmdline_options_debug.it.adoc b/doc/it/cmdline_options_debug.it.adoc new file mode 100644 index 000000000..5e88ef3ae --- /dev/null +++ b/doc/it/cmdline_options_debug.it.adoc @@ -0,0 +1,16 @@ +// TRANSLATION MISSING +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +// TRANSLATION MISSING +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +// TRANSLATION MISSING +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/it/weechat-headless.1.it.adoc b/doc/it/weechat-headless.1.it.adoc index 241bf516c..d8401aec1 100644 --- a/doc/it/weechat-headless.1.it.adoc +++ b/doc/it/weechat-headless.1.it.adoc @@ -16,7 +16,7 @@ weechat-headless - the extensible chat client (headless version) // TRANSLATION MISSING [verse] -*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat-headless* [-c|--colors] *weechat-headless* [-h|--help] *weechat-headless* [-l|--license] @@ -37,6 +37,13 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon". include::cmdline_options.it.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.it.adoc[] + == PLUGIN OPTIONS include::man_plugin_options.it.adoc[] diff --git a/doc/it/weechat.1.it.adoc b/doc/it/weechat.1.it.adoc index 659026c1e..8393614e8 100644 --- a/doc/it/weechat.1.it.adoc +++ b/doc/it/weechat.1.it.adoc @@ -16,7 +16,7 @@ weechat - the extensible chat client // TRANSLATION MISSING [verse] -*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat* [-c|--colors] *weechat* [-h|--help] *weechat* [-l|--license] @@ -33,6 +33,13 @@ It is highly customizable and extensible with scripts. include::cmdline_options.it.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.it.adoc[] + == PLUGIN OPTIONS include::man_plugin_options.it.adoc[] diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 7438050f7..478b42206 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -548,15 +548,24 @@ Per avviare WeeChat, digitare questo comando: $ weechat ---- -Argomenti a riga di comando: - -include::cmdline_options.it.adoc[] - // TRANSLATION MISSING When you run WeeChat for the first time, the default configuration files are created in _~/.weechat_ with default options and values (see <>). +// TRANSLATION MISSING +==== Command line options + +include::cmdline_options.it.adoc[] + +// TRANSLATION MISSING +==== Extra debug options + +[WARNING] +These options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.it.adoc[] + // TRANSLATION MISSING [[environment_variables]] === Environment variables diff --git a/doc/ja/CMakeLists.txt b/doc/ja/CMakeLists.txt index 1ff9ef5fd..cba3cf2d4 100644 --- a/doc/ja/CMakeLists.txt +++ b/doc/ja/CMakeLists.txt @@ -25,6 +25,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ja.adoc @@ -41,6 +42,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ja.adoc @@ -64,6 +66,7 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.ja.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ja.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.ja.html" diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am index d6cbdce97..54f8b5b82 100644 --- a/doc/ja/Makefile.am +++ b/doc/ja/Makefile.am @@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.ja.adoc \ weechat-headless.1.ja.adoc \ cmdline_options.ja.adoc \ + cmdline_options_debug.ja.adoc \ weechat_user.ja.adoc \ weechat_plugin_api.ja.adoc \ weechat_scripting.ja.adoc \ @@ -56,13 +57,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.ja.adoc cmdline_options.ja.adoc +weechat.1: weechat.1.ja.adoc cmdline_options.ja.adoc cmdline_options_debug.ja.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/ja/weechat.1.ja.adoc -weechat-headless.1: weechat-headless.1.ja.adoc cmdline_options.ja.adoc +weechat-headless.1: weechat-headless.1.ja.adoc cmdline_options.ja.adoc cmdline_options_debug.ja.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/ja/weechat-headless.1.ja.adoc # user's guide -weechat_user.ja.html: weechat_user.ja.adoc cmdline_options.ja.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.ja.html: weechat_user.ja.adoc cmdline_options.ja.adoc cmdline_options_debug.ja.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.ja.html $(abs_top_srcdir)/doc/ja/weechat_user.ja.adoc # plugin API reference diff --git a/doc/ja/cmdline_options_debug.ja.adoc b/doc/ja/cmdline_options_debug.ja.adoc new file mode 100644 index 000000000..5e88ef3ae --- /dev/null +++ b/doc/ja/cmdline_options_debug.ja.adoc @@ -0,0 +1,16 @@ +// TRANSLATION MISSING +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +// TRANSLATION MISSING +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +// TRANSLATION MISSING +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/ja/weechat-headless.1.ja.adoc b/doc/ja/weechat-headless.1.ja.adoc index b36d1d2d6..1cd671b0a 100644 --- a/doc/ja/weechat-headless.1.ja.adoc +++ b/doc/ja/weechat-headless.1.ja.adoc @@ -12,8 +12,9 @@ weechat-headless - 拡張可能なチャットクライアント (ヘッドレ == 書式 +// TRANSLATION MISSING [verse] -*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat-headless* [-c|--colors] *weechat-headless* [-h|--help] *weechat-headless* [-l|--license] @@ -32,6 +33,13 @@ WeeChat (Wee Enhanced Environment for Chat) はフリーのチャットクライ include::cmdline_options.ja.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.ja.adoc[] + == プラグインオプション include::man_plugin_options.ja.adoc[] diff --git a/doc/ja/weechat.1.ja.adoc b/doc/ja/weechat.1.ja.adoc index e0ced14fb..44e04362f 100644 --- a/doc/ja/weechat.1.ja.adoc +++ b/doc/ja/weechat.1.ja.adoc @@ -12,8 +12,9 @@ weechat - 拡張可能なチャットクライアント == 書式 +// TRANSLATION MISSING [verse] -*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat* [-a|--no-connect] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat* [-c|--colors] *weechat* [-h|--help] *weechat* [-l|--license] @@ -29,6 +30,13 @@ WeeChat (Wee Enhanced Environment for Chat) はフリーのチャットクライ include::cmdline_options.ja.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.ja.adoc[] + == プラグインオプション include::man_plugin_options.ja.adoc[] diff --git a/doc/ja/weechat_dev.ja.adoc b/doc/ja/weechat_dev.ja.adoc index 064900765..f6ea7ead2 100644 --- a/doc/ja/weechat_dev.ja.adoc +++ b/doc/ja/weechat_dev.ja.adoc @@ -424,7 +424,10 @@ WeeChat "core" は以下のディレクトリに配置されています: |    docinfo.html | asciidoctor スタイル |    docgen.py | _autogen/_ ディレクトリ内のファイルを作成する Python スクリプト (以下を参照) |    XX/ | 言語コード XX (言語コード: en、fr、de、it、...) 用のディレクトリ -|       cmdline_options.XX.adoc | コマンドラインオプション (man ページとユーザーズガイドに含まれるファイル) +// TRANSLATION MISSING +|       cmdline_options.XX.adoc | Command-line general options (file included in man pages and user's guide). +// TRANSLATION MISSING +|       cmdline_options_debug.XX.adoc | Command-line debug options (file included in man pages and user's guide). |       weechat.1.XX.adoc | man ページ (`man weechat`) |       weechat_dev.XX.adoc | link:weechat_dev.ja.html[開発者リファレンス] (この文書) |       weechat_faq.XX.adoc | link:weechat_faq.ja.html[FAQ] diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index bf529445a..f257f7c79 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -508,14 +508,23 @@ WeeChat を起動させるには、以下コマンドを実行: $ weechat ---- -コマンドライン引数: - -include::cmdline_options.ja.adoc[] - WeeChat の初回起動時にデフォルトのオプション設定を含む設定ファイルが _~/.weechat_ ディレクトリの中に作成されます (<>を参照してください)。 +// TRANSLATION MISSING +==== Command line options + +include::cmdline_options.ja.adoc[] + +// TRANSLATION MISSING +==== Extra debug options + +[WARNING] +These options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.ja.adoc[] + [[environment_variables]] === 環境変数 diff --git a/doc/pl/CMakeLists.txt b/doc/pl/CMakeLists.txt index b225476c0..72447bd58 100644 --- a/doc/pl/CMakeLists.txt +++ b/doc/pl/CMakeLists.txt @@ -25,6 +25,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.pl.adoc @@ -41,6 +42,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.pl.adoc @@ -63,6 +65,7 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.pl.adoc ${AUTOGEN_USER} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.pl.html" diff --git a/doc/pl/Makefile.am b/doc/pl/Makefile.am index 46c06dc19..ffcee00e7 100644 --- a/doc/pl/Makefile.am +++ b/doc/pl/Makefile.am @@ -25,6 +25,7 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.pl.adoc \ weechat-headless.1.pl.adoc \ cmdline_options.pl.adoc \ + cmdline_options_debug.pl.adoc \ weechat_user.pl.adoc \ weechat_scripting.pl.adoc \ weechat_faq.pl.adoc \ @@ -50,13 +51,13 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.pl.adoc cmdline_options.pl.adoc +weechat.1: weechat.1.pl.adoc cmdline_options.pl.adoc cmdline_options_debug.pl.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/pl/weechat.1.pl.adoc -weechat-headless.1: weechat-headless.1.pl.adoc cmdline_options.pl.adoc +weechat-headless.1: weechat-headless.1.pl.adoc cmdline_options.pl.adoc cmdline_options_debug.pl.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/pl/weechat-headless.1.pl.adoc # user's guide -weechat_user.pl.html: weechat_user.pl.adoc cmdline_options.pl.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html +weechat_user.pl.html: weechat_user.pl.adoc cmdline_options.pl.adoc cmdline_options_debug.pl.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html $(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.pl.html $(abs_top_srcdir)/doc/pl/weechat_user.pl.adoc # scripting guide diff --git a/doc/pl/cmdline_options_debug.pl.adoc b/doc/pl/cmdline_options_debug.pl.adoc new file mode 100644 index 000000000..5e88ef3ae --- /dev/null +++ b/doc/pl/cmdline_options_debug.pl.adoc @@ -0,0 +1,16 @@ +// TRANSLATION MISSING +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +// TRANSLATION MISSING +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +// TRANSLATION MISSING +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/pl/weechat-headless.1.pl.adoc b/doc/pl/weechat-headless.1.pl.adoc index abd9b722c..c227c33c0 100644 --- a/doc/pl/weechat-headless.1.pl.adoc +++ b/doc/pl/weechat-headless.1.pl.adoc @@ -12,8 +12,9 @@ weechat-headless - rozszerzalny klient rozmów (wersja headless) == SKŁADNIA +// TRANSLATION MISSING [verse] -*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [wtyczka:opcja...] +*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [wtyczka:opcja...] *weechat-headless* [-c|--colors] *weechat-headless* [-h|--help] *weechat-headless* [-l|--license] @@ -33,6 +34,13 @@ opcji "--daemon". include::cmdline_options.pl.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.pl.adoc[] + == OPCJE WTYCZEK include::man_plugin_options.pl.adoc[] diff --git a/doc/pl/weechat.1.pl.adoc b/doc/pl/weechat.1.pl.adoc index d317313f4..17bb67eba 100644 --- a/doc/pl/weechat.1.pl.adoc +++ b/doc/pl/weechat.1.pl.adoc @@ -12,8 +12,9 @@ weechat - rozszerzalny klient rozmów == SKŁADNIA +// TRANSLATION MISSING [verse] -*weechat* [-a|--no-connect] [-d|--dir <ścieżka>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [wtyczka:opcja...] +*weechat* [-a|--no-connect] [-d|--dir <ścieżka>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [wtyczka:opcja...] *weechat* [-c|--colors] *weechat* [-h|--help] *weechat* [-l|--license] @@ -29,6 +30,13 @@ Posiada dużo opcji konfiguracyjnych i dodatkowych wtyczek. include::cmdline_options.pl.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.pl.adoc[] + == OPCJE WTYCZEK include::man_plugin_options.pl.adoc[] diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index 2da45acbf..70e2dac4d 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -516,14 +516,23 @@ Następnie jak w przypadku awarii, użyj polecenia `bt full`: $ weechat ---- -Parametry z linii poleceń: - -include::cmdline_options.pl.adoc[] - Podczas pierwszego uruchomienia WeeChat tworzone są domyślne pliki konfiguracyjne w _~/.weechat_ z domyślnymi opcjami i wartościami (zobacz <>). +// TRANSLATION MISSING +==== Command line options + +include::cmdline_options.pl.adoc[] + +// TRANSLATION MISSING +==== Extra debug options + +[WARNING] +These options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.pl.adoc[] + [[environment_variables]] === Zmienne środowiskowe diff --git a/doc/ru/CMakeLists.txt b/doc/ru/CMakeLists.txt index 15a9a862c..7cde1e198 100644 --- a/doc/ru/CMakeLists.txt +++ b/doc/ru/CMakeLists.txt @@ -25,6 +25,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ru.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ru.adoc @@ -41,6 +42,7 @@ if(ENABLE_MAN) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ru.adoc + ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_files.ru.adoc ${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ru.adoc diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am index c47d2412c..2e9c80e71 100644 --- a/doc/ru/Makefile.am +++ b/doc/ru/Makefile.am @@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \ weechat.1.ru.adoc \ weechat-headless.1.ru.adoc \ cmdline_options.ru.adoc \ + cmdline_options_debug.ru.adoc \ weechat_quickstart.ru.adoc if MAN @@ -40,9 +41,9 @@ endif all-local: $(man_targets) $(doc_targets) # man pages -weechat.1: weechat.1.ru.adoc cmdline_options.ru.adoc +weechat.1: weechat.1.ru.adoc cmdline_options.ru.adoc cmdline_options_debug.ru.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/ru/weechat.1.ru.adoc -weechat-headless.1: weechat-headless.1.ru.adoc cmdline_options.ru.adoc +weechat-headless.1: weechat-headless.1.ru.adoc cmdline_options.ru.adoc cmdline_options_debug.ru.adoc $(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/ru/weechat-headless.1.ru.adoc # quickstart diff --git a/doc/ru/cmdline_options_debug.ru.adoc b/doc/ru/cmdline_options_debug.ru.adoc new file mode 100644 index 000000000..5e88ef3ae --- /dev/null +++ b/doc/ru/cmdline_options_debug.ru.adoc @@ -0,0 +1,16 @@ +// TRANSLATION MISSING +*--no-dlclose*:: + Do not call the function dlclose after plugins are unloaded. + This is useful with tools like Valgrind to display stack for unloaded + plugins. + +// TRANSLATION MISSING +*--no-gnutls*:: + Do not call the init and deinit functions of GnuTLS library. + This is useful with tools like Valgrind and electric-fence, to prevent + GnuTLS memory errors. + +// TRANSLATION MISSING +*--no-gcrypt*:: + Do not call the init and deinit functions of Gcrypt library. + This is useful with tools like Valgrind, to prevent Gcrypt memory errors. diff --git a/doc/ru/weechat-headless.1.ru.adoc b/doc/ru/weechat-headless.1.ru.adoc index 821959f86..81cca351d 100644 --- a/doc/ru/weechat-headless.1.ru.adoc +++ b/doc/ru/weechat-headless.1.ru.adoc @@ -16,7 +16,7 @@ weechat-headless - расширяемый чат-клиент (headless version) // TRANSLATION MISSING [verse] -*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [plugin:option...] +*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir ] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command ] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...] *weechat-headless* [-c|--colors] *weechat-headless* [-h|--help] *weechat-headless* [-l|--license] @@ -36,6 +36,13 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon". include::cmdline_options.ru.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.ru.adoc[] + == ПАРАМЕТРЫ ПЛАГИНОВ include::man_plugin_options.ru.adoc[] diff --git a/doc/ru/weechat.1.ru.adoc b/doc/ru/weechat.1.ru.adoc index fedd963a5..c13b5fb71 100644 --- a/doc/ru/weechat.1.ru.adoc +++ b/doc/ru/weechat.1.ru.adoc @@ -15,7 +15,7 @@ weechat - расширяемый чат-клиент // TRANSLATION MISSING [verse] -*weechat* [-a|--no-connect] [-d|--dir <путь>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command <команда>] [-s|--no-script] [--upgrade] [<плагин>:<параметр>...] +*weechat* [-a|--no-connect] [-d|--dir <путь>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins ] [-r|--run-command <команда>] [-s|--no-script] [--upgrade] [debug-option...] [<плагин>:<параметр>...] *weechat* [-c|--colors] *weechat* [-h|--help] *weechat* [-l|--license] @@ -31,6 +31,13 @@ WeeChat (Wee Enhanced Environment for Chat) это свободный чат-к include::cmdline_options.ru.adoc[] +// TRANSLATION MISSING +== DEBUG OPTIONS + +*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!* + +include::cmdline_options_debug.ru.adoc[] + == ПАРАМЕТРЫ ПЛАГИНОВ include::man_plugin_options.ru.adoc[] diff --git a/po/cs.po b/po/cs.po index 835d4c20c..05a77c725 100644 --- a/po/cs.po +++ b/po/cs.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-03-17 18:32+0100\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -210,6 +210,14 @@ msgid "" "and does not run in background)\n" msgstr "" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Chyba: chybí argument pro volbu \"%s\"\n" diff --git a/po/de.po b/po/de.po index 80eb83e98..83328fdb9 100644 --- a/po/de.po +++ b/po/de.po @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-03-29 22:22+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -232,6 +232,14 @@ msgstr "" " (standardmäßig blockiert WeeChat im " "Hintergrundmodus den Prozess und gibt das Terminal nicht frei)\n" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Fehler: fehlendes Argument für die Einstellung \"%s\"\n" diff --git a/po/es.po b/po/es.po index dab3417b7..a6c105d2d 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-03-17 16:04+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -221,6 +221,14 @@ msgid "" "and does not run in background)\n" msgstr "" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Error: falta un argumento para la opción \"%s\"\n" diff --git a/po/fr.po b/po/fr.po index 85ca3f0b0..6a2207dd0 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" -"PO-Revision-Date: 2019-03-29 20:41+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" +"PO-Revision-Date: 2019-03-31 16:30+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -221,6 +221,20 @@ msgstr "" " (par défaut en mode sans interface WeeChat est " "bloquant et ne tourne pas en tâche de fond)\n" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" +"Options de debug (pour des outils comme Valgrind, NE PAS UTILISER EN " +"PRODUCTION) :\n" +" --no-dlclose ne pas appeler la fonction dlclose après le " +"déchargement des extensions\n" +" --no-gnutls désactiver init/deinit de gnutls\n" +" --no-gcrypt désactiver init/deinit de gcrypt\n" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Erreur : paramètre manquant pour l'option \"%s\"\n" diff --git a/po/hu.po b/po/hu.po index a36edeb46..11506f32b 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-02-28 20:18+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -212,6 +212,14 @@ msgid "" "and does not run in background)\n" msgstr "" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, fuzzy, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n" diff --git a/po/it.po b/po/it.po index 1aa70fc97..e6cc88005 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-03-17 16:04+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -213,6 +213,14 @@ msgid "" "and does not run in background)\n" msgstr "" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Errore: argomento mancante per l'opzione \"%s\"\n" diff --git a/po/ja.po b/po/ja.po index a0ecfce1e..919ddda83 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-04-01 09:00+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: Polish \n" @@ -221,6 +221,14 @@ msgstr "" " (domyślnie w trybie bez interfejsu WeeChat nie " "uruchamia się w tle)\n" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Błąd: brak argumentu dla opcji \"%s\"\n" diff --git a/po/pt.po b/po/pt.po index 9f265f526..723f31fa7 100644 --- a/po/pt.po +++ b/po/pt.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-03-21 23:33+0100\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -212,6 +212,14 @@ msgid "" "and does not run in background)\n" msgstr "" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Erro: falta o argumento da opção \"%s\"\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index 1ea8543b0..6a3627e08 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" @@ -245,6 +245,14 @@ msgid "" "and does not run in background)\n" msgstr "" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Erro: faltando argumento para opção \"%s\"\n" diff --git a/po/ru.po b/po/ru.po index b9efa861f..b327bf392 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -221,6 +221,14 @@ msgid "" "and does not run in background)\n" msgstr "" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, fuzzy, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "%s нет аргумента для параметра \"%s\"\n" diff --git a/po/tr.po b/po/tr.po index 1ed4a6728..f28a92387 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2019-03-17 16:04+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -183,6 +183,14 @@ msgid "" "and does not run in background)\n" msgstr "" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "" diff --git a/po/weechat.pot b/po/weechat.pot index f0995b4b3..fbfe4e382 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-29 20:40+0100\n" +"POT-Creation-Date: 2019-03-31 23:52+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -181,6 +181,14 @@ msgid "" "and does not run in background)\n" msgstr "" +msgid "" +"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" +" --no-dlclose do not call function dlclose after plugins are " +"unloaded\n" +" --no-gnutls disable init/deinit of gnutls\n" +" --no-gcrypt disable init/deinit of gcrypt\n" +msgstr "" + #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "" diff --git a/src/core/wee-network.c b/src/core/wee-network.c index 66ea5499a..8dfe8ae11 100644 --- a/src/core/wee-network.c +++ b/src/core/wee-network.c @@ -80,12 +80,12 @@ gnutls_certificate_credentials_t gnutls_xcred; /* GnuTLS client credentials */ void network_init_gcrypt () { - if (!weechat_no_gcrypt) - { - gcry_check_version (GCRYPT_VERSION); - gcry_control (GCRYCTL_DISABLE_SECMEM, 0); - gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); - } + if (weechat_no_gcrypt) + return; + + gcry_check_version (GCRYPT_VERSION); + gcry_control (GCRYCTL_DISABLE_SECMEM, 0); + gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); } /* diff --git a/src/core/weechat.c b/src/core/weechat.c index b7e71a2c3..7e7979b4a 100644 --- a/src/core/weechat.c +++ b/src/core/weechat.c @@ -189,6 +189,16 @@ weechat_display_usage () "WeeChat is blocking and does not run in background)\n")); string_fprintf (stdout, "\n"); } + + /* debug options */ + string_fprintf ( + stdout, + _("Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n" + " --no-dlclose do not call function dlclose after " + "plugins are unloaded\n" + " --no-gnutls disable init/deinit of gnutls\n" + " --no-gcrypt disable init/deinit of gcrypt\n")); + string_fprintf (stdout, "\n"); } /*