1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-15 07:34:46 +02:00

Compare commits

..

13 Commits

Author SHA1 Message Date
Sébastien Helleu 7495650be5 core: fix screenshot URL in README 2016-12-17 10:01:55 +01:00
Sébastien Helleu 1a1a9a9503 Version 1.1.2-dev 2015-01-25 09:23:10 +01:00
Sébastien Helleu b42ae05a65 Version 1.1.1 2015-01-25 08:40:23 +01:00
Sébastien Helleu c229030860 core: fix random error when creating symbolic link weechat-curses on make install with cmake (bug #40313)
(cherry picked from commit a6327bc6f2)
2015-01-24 16:34:52 +01:00
Sébastien Helleu b35873fc3e irc: don't close channel buffer on second /part when option irc.look.part_closes_buffer is off (closes #313)
(cherry picked from commit 1a68242f95)
2015-01-24 09:38:03 +01:00
Sébastien Helleu 0796f343ee core: fix crash when a root bar has conditions different from active/inactive/nicklist (closes #317)
(cherry picked from commit ed9e146e46)
2015-01-23 21:21:55 +01:00
Sébastien Helleu 470b1892d8 irc: fix restore of query buffers on /upgrade (closes #315)
After /upgrade it was not possible to send a message in the query buffer or to
receive messages from this nick.

This commit fixes the search of query buffer when creating the irc channel
(with type "private").

The bug was introduced by commit 9749b65f7e.

(cherry picked from commit a617cd857a)
2015-01-23 20:02:40 +01:00
Sébastien Helleu 0cf4640b9b core: check that filename is not NULL in function util_file_get_content
(cherry picked from commit 083a6c741d)
2015-01-23 07:38:56 +01:00
Sébastien Helleu d039fd0f8c irc: fix /join on a channel buffer opened with autojoin but which failed to join
(cherry picked from commit 860ca4be20)
2015-01-19 20:23:32 +01:00
Sébastien Helleu d611982ba6 Version 1.1.1-dev 2015-01-17 15:22:15 +01:00
Sébastien Helleu 5dd36f8fda irc: send QUIT to server and no PART for channels when the server buffer is closed (closes #294)
(cherry picked from commit 99d20e97c6)
2015-01-17 15:19:33 +01:00
Sébastien Helleu 9040494016 irc: fix order of channel buffers opened (closes #303)
(cherry picked from commit 9fbd138518)
2015-01-17 14:39:31 +01:00
Sébastien Helleu d4908ba8f3 irc: fix crash in buffer close when server name is the same as a channel name (closes #305)
(cherry picked from commit 9749b65f7e)
2015-01-17 14:38:34 +01:00
436 changed files with 9440 additions and 22517 deletions
+1 -2
View File
@@ -15,7 +15,7 @@ env:
before_script:
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
- sudo apt-get update -qq
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint asciidoc source-highlight xsltproc docbook-xsl docbook-xml 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
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint asciidoc source-highlight xsltproc docbook-xsl docbook-xml 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 libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl
- curl -OL https://weechat.org/files/tests/ubuntu/precise/amd64/libcpputest-dev_3.4-3_amd64.deb
- sudo dpkg -i libcpputest-dev_3.4-3_amd64.deb
- sudo pip install msgcheck pylint
@@ -27,7 +27,6 @@ script:
after_success:
- weechat --help
- weechat-curses --help
- weechat -r "/debug libs;/quit"
matrix:
+5 -10
View File
@@ -21,8 +21,8 @@ Alphabetically:
* Anders Bergh
* Andrew Potter (talisein)
* Antoine Pietri (seirl)
* Arvydas Sidorenko
* Asakura
* Arvydas Sidorenko
* Bazerka
* Benoit Papillault (benoit)
* Christian Heinz
@@ -30,9 +30,8 @@ Alphabetically:
* David Flatz
* Dmitry Kobylin
* Dominik Honnef
* Eduardo Elias
* Elizabeth Myers (Elizacat)
* Elián Hanisch (m4v)
* Elizabeth Myers (Elizacat)
* Emanuele Giaquinta
* Esteban I. Ruiz Moreno (Exio)
* Felix Eckhofer
@@ -47,17 +46,15 @@ Alphabetically:
* Jim Ramsay (lack)
* Jiri Golembiovsky (GolemJ)
* Julien Louis (ptitlouis)
* Karthik K
* Koka El Kiwi (KiwiDash)
* Krzysztof Koroscik (soltys)
* Kyle Fuller (kylef)
* Leonid Evdokimov
* Lázaro A.
* Leonid Evdokimov
* Maarten de Vries
* Mantas Mikulėnas (grawity)
* Marco Paolone
* Mateusz Poszwa
* Matt Robinson
* Mantas Mikulėnas (grawity)
* Mateusz Poszwa
* Max Anton Teufel
* Murilo Opsfelder Araujo
* Nicolas Cavigneaux
@@ -80,12 +77,10 @@ Alphabetically:
* Ryuunosuke Ayanokouzi
* Sergio Durigan Junior
* Shawn Smith
* Simmo Saan
* Simon Arlott
* Simon Kuhnle
* Stefano Pigozzi
* Stfn
* Sven Knurr (Cthulhux)
* Tim D. Smith
* Tom Alsberg
* Tor Hveem (xt)
+30 -40
View File
@@ -27,16 +27,15 @@ project(weechat C)
set(CMAKE_VERBOSE_MAKEFILE OFF)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
set(CMAKE_SKIP_RPATH ON)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
if(PREFIX)
set(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
endif()
# version
set(VERSION_MAJOR "1")
set(VERSION_MINOR "2-rc2")
set(VERSION_PATCH "")
set(VERSION_MINOR "1")
set(VERSION_PATCH "2-dev")
if(VERSION_PATCH STREQUAL "")
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
else()
@@ -46,14 +45,6 @@ endif()
# license
set(LICENSE "GPL3")
# add definitions for version and license
if(COMMAND cmake_policy)
cmake_policy(SET CMP0005 NEW)
add_definitions(-DWEECHAT_VERSION="${VERSION}" -DWEECHAT_LICENSE="${LICENSE}")
else()
add_definitions(-DWEECHAT_VERSION='"${VERSION}"' -DWEECHAT_LICENSE='"${LICENSE}"')
endif()
# package string
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
@@ -82,34 +73,33 @@ else()
set(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
endif()
option(ENABLE_NCURSES "Enable Ncurses interface" ON)
option(ENABLE_NLS "Enable Native Language Support" ON)
option(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
option(ENABLE_ALIAS "Enable Alias plugin" ON)
option(ENABLE_ASPELL "Enable Aspell plugin" ON)
option(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
option(ENABLE_CHARSET "Enable Charset plugin" ON)
option(ENABLE_EXEC "Enable Exec plugin" ON)
option(ENABLE_FIFO "Enable FIFO plugin" ON)
option(ENABLE_IRC "Enable IRC plugin" ON)
option(ENABLE_LOGGER "Enable Logger plugin" ON)
option(ENABLE_RELAY "Enable Relay plugin" ON)
option(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
option(ENABLE_PERL "Enable Perl scripting language" ON)
option(ENABLE_PYTHON "Enable Python scripting language" ON)
option(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
option(ENABLE_LUA "Enable Lua scripting language" ON)
option(ENABLE_TCL "Enable Tcl scripting language" ON)
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" ON)
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
option(ENABLE_XFER "Enable Xfer plugin" ON)
option(ENABLE_MAN "Enable build of man page" OFF)
option(ENABLE_DOC "Enable build of documentation" OFF)
option(ENABLE_TESTS "Enable tests" OFF)
option(ENABLE_NCURSES "Enable Ncurses interface" ON)
option(ENABLE_NLS "Enable Native Language Support" ON)
option(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
option(ENABLE_ALIAS "Enable Alias plugin" ON)
option(ENABLE_ASPELL "Enable Aspell plugin" ON)
option(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
option(ENABLE_CHARSET "Enable Charset plugin" ON)
option(ENABLE_EXEC "Enable Exec plugin" ON)
option(ENABLE_FIFO "Enable FIFO plugin" ON)
option(ENABLE_IRC "Enable IRC plugin" ON)
option(ENABLE_LOGGER "Enable Logger plugin" ON)
option(ENABLE_RELAY "Enable Relay plugin" ON)
option(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
option(ENABLE_PERL "Enable Perl scripting language" ON)
option(ENABLE_PYTHON "Enable Python scripting language" ON)
option(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
option(ENABLE_LUA "Enable Lua scripting language" ON)
option(ENABLE_TCL "Enable Tcl scripting language" ON)
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
option(ENABLE_XFER "Enable Xfer plugin" ON)
option(ENABLE_MAN "Enable build of man page" OFF)
option(ENABLE_DOC "Enable build of documentation" OFF)
option(ENABLE_TESTS "Enable tests" OFF)
# option WEECHAT_HOME
if(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
-93
View File
@@ -2,8 +2,6 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
:toc2:
:max-width: 100%
This document lists all changes for each version
@@ -15,97 +13,6 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file 'ReleaseNotes.asciidoc' in sources).
== Version 1.2 (under dev)
=== New features
* core: add signals "signal_sigterm" and "signal_sigquit" (closes #114)
* core: use environment variable WEECHAT_HOME on startup (closes #391)
* core: remove WeeChat version from config files (closes #407)
* core: add options weechat.look.quote_{nick_prefix|nick_suffix|time_format} to
customize quoted messages in cursor mode (closes #403)
* core: add a welcome message on first WeeChat run (closes #318)
* core: add options weechat.look.word_chars_{highlight|input}
(closes #55, task #9459)
* core: display a warning on startup if the locale can not be set (closes #373)
* core: allow "*" as plugin name in command /plugin reload to reload all
plugins with options
* core: add option "-s" in command /eval to split expression before evaluating
it (no more split by default) (closes #324)
* core: add priority in plugins to initialize them in order
* api: add support of environment variables in function
string_eval_expression() and command /eval
* api: add support of full color option name in functions color() and
string_eval_expression() and in command /eval
* api: add "_chat_line" (line pointer) in hashtable of hook_focus
* irc: optimize search of a nick in nicklist (up to 3x faster)
* irc: add support of SHA-256 and SHA-512 algorithms in server option
"ssl_fingerprint" (closes #281)
* irc: add option "-noswitch" in command /query (closes #394)
* irc: format message 008 (RPL_SNOMASK) (closes #144)
* irc: add support of "account-notify" capability (closes #11, closes #246)
* irc: remove server "freenode" from default config file (closes #309)
* irc: add support of "ecdsa-nist256p-challenge" SASL mechanism (closes #251)
* doc: add Russian man page
* javascript: new script plugin for javascript
=== Bugs fixed
* core: add missing completions in command /input
* guile: fix value returned in case of error in functions:
config_option_reset, config_color, config_color_default, config_write,
config_read, config_reload, hook_command, buffer_string_replace_local_var,
command
* irc: fix color of new nick in nick changes messages when option
irc.look.color_nicks_in_server_messages is off
* irc: fix crash when setting an invalid regex with "/list -re" during a /list
server response (closes #412)
* irc: fix display of PART messages on channels with +a (anonymous flag)
(closes #396)
* irc: remove useless rename of channel buffer on JOIN received with different
case (closes #336)
* irc: fix completion of commands /allchan and /allpv
* lua: fix wrong argument usage in functions nicklist_remove_group,
nicklist_remove_nick and nicklist_remove_all (closes #346)
* lua: fix value returned in case of error in functions:
config_option_reset, config_string, config_string_default, config_color,
config_color_default, config_write, config_read, config_reload,
hook_modifier_exec, buffer_string_replace_local_var, nicklist_group_set,
nicklist_nick_set, command, upgrade_read, upgrade_close
* relay: fix up/down keys on relay buffer (closes #335)
* relay: remove v4-mapped addresses in /help relay.network.allowed_ips
(closes #325)
* perl: fix value returned in case of error in functions:
config_option_reset, config_color, config_color_default, config_write,
config_read, config_reload, buffer_string_replace_local_var, command
* python: fix value returned in case of error in functions:
config_option_reset, config_color, config_color_default, config_write,
config_read, config_reload, config_is_set_plugin, buffer_get_string,
buffer_string_replace_local_var, nicklist_group_get_string,
nicklist_nick_get_string, command, hdata_time
* python: fix name of function "bar_update" in case of error
* python: fix restore of old interpreter when a function is not found in the
script
* ruby: fix crash on /plugin reload (closes #364)
* ruby: fix value returned in case of error in functions:
config_option_reset, config_color, config_color_default, config_write,
config_read, config_reload, buffer_string_replace_local_var, command
* script: fix state of script plugins when list of scripts has not been
downloaded
* scripts: reset current script pointer when load of script fails in
python/perl/ruby/lua/tcl plugins
* scripts: fix return code of function bar_set in
python/perl/ruby/lua/tcl/guile plugins
* scripts: fix type of value returned by function hdata_time (from string to
long integer) in perl/ruby/lua/tcl/guile plugins
* tcl: fix value returned in case of error in functions:
mkdir_home, mkdir, mkdir_parents, config_option_reset, config_color,
config_color_default, config_write, config_read, config_reload,
print_date_tags, buffer_string_replace_local_var, command, infolist_new_item,
infolist_new_var_integer, infolist_new_var_string, infolist_new_var_pointer,
infolist_new_var_time, upgrade_write_object, upgrade_read, upgrade_close
* trigger: do not hook anything if the trigger is disabled (closes #405)
== Version 1.1.1 (2015-01-25)
=== Bugs fixed
-1
View File
@@ -59,7 +59,6 @@ EXTRA_DIST = AUTHORS.asciidoc \
cmake/FindRuby.cmake \
cmake/FindSourcehighlight.cmake \
cmake/FindTCL.cmake \
cmake/FindV8.cmake \
cmake/FindZLIB.cmake \
cmake/cmake_uninstall.cmake.in \
po/CMakeLists.txt \
+5 -6
View File
@@ -4,9 +4,9 @@
:lang: en
WeeChat (Wee Enhanced Environment for Chat) is a free chat client, fast and
light, designed for many operating systems.
It is highly customizable and extensible with scripts.
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
environment for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
Homepage: https://weechat.org/
@@ -19,8 +19,7 @@ image:https://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", li
* Multi-protocols architecture (mainly IRC).
* Compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813.
* Small, fast and very light.
* Customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl,
Guile, Javascript).
* Customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile).
* Fully documented and translated into several languages.
* Developed from scratch.
* Free software, released under GPLv3.
@@ -44,7 +43,7 @@ Following packages are optional:
* for i18n: gettext
* for SSL: gnutls, ca-certificates
* for spell checking: aspell
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript)
* for scripting: python, perl, ruby, lua, tcl, guile
* for building doc: asciidoc, source-highlight
(for man page: xsltproc, docbook-xml, docbook-xsl)
* for building tests: C++ compiler, CppUTest
-19
View File
@@ -2,8 +2,6 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
:toc2:
:max-width: 100%
This document lists important changes for each version, that require manual
@@ -17,23 +15,6 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file 'ChangeLog.asciidoc' in sources).
== Version 1.2 (under dev)
The word chars are now customizable with two options:
* weechat.look.word_chars_highlight
* weechat.look.word_chars_input
The behavior has changed for command line: now any non-word char is used as
delimiter for keys to move to previous/next word or delete previous/next word.
You can restore the old behavior (only use spaces as delimiters) with this
command:
----
/set weechat.look.word_chars_input "!\u00A0,!\x20,*"
----
== Version 1.1.1 (2015-01-25)
Bug fix and maintenance release.
+1 -5
View File
@@ -41,15 +41,11 @@ if(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
OUTPUT_VARIABLE ASCIIDOC_VERSION
)
string(STRIP ${ASCIIDOC_VERSION} ASCIIDOC_VERSION)
string(REPLACE "asciidoc " "" ASCIIDOC_VERSION ${ASCIIDOC_VERSION})
if(ASCIIDOC_VERSION VERSION_EQUAL "8.0.0" OR ASCIIDOC_VERSION VERSION_GREATER "8.0.0")
if(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
set(ASCIIDOC_FOUND TRUE)
endif()
mark_as_advanced(
ASCIIDOC_EXECUTABLE
ASCIIDOC_VERSION
)
endif()
-49
View File
@@ -1,49 +0,0 @@
#
# Copyright (C) 2015 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Aspell
# This module finds if libaspell is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
#
# V8_INCLUDE_DIR = path to where v8.h can be found
# V8_LIBRARY = path to where libv8.so* can be found
if(V8_FOUND)
# Already in cache, be silent
SET(V8_FIND_QUIETLY TRUE)
endif()
set(V8_INC_PATHS
/usr/include
${CMAKE_INCLUDE_PATH}
)
find_path(V8_INCLUDE_DIR v8.h PATHS ${V8_INC_PATHS})
find_library(V8_LIBRARY
NAMES v8
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
find_package_handle_standard_args(V8 DEFAULT_MSG V8_LIBRARY V8_INCLUDE_DIR)
mark_as_advanced(
V8_INCLUDE_DIR
V8_LIBRARY
)
+1 -68
View File
@@ -24,7 +24,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 1.2-rc2, flashcode@flashtux.org)
AC_INIT(WeeChat, 1.1.2-dev, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([foreign])
@@ -119,7 +119,6 @@ AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
AH_VERBATIM([PLUGIN_JAVASCRIPT], [#undef PLUGIN_JAVASCRIPT])
AH_VERBATIM([PLUGIN_TRIGGER], [#undef PLUGIN_TRIGGER])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([TESTS], [#undef TESTS])
@@ -151,7 +150,6 @@ AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plug
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
AC_ARG_ENABLE(guile, [ --disable-guile turn off Guile (scheme) script plugin (default=compiled if found)],enable_guile=$enableval,enable_guile=yes)
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off Javascript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled if found)],enable_xfer=$enableval,enable_xfer=yes)
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
@@ -284,7 +282,6 @@ if test "x$enable_scripts" = "xno" ; then
enable_lua="no"
enable_tcl="no"
enable_guile="no"
enable_javascript="no"
fi
# ---------------------------------- alias -------------------------------------
@@ -786,8 +783,6 @@ if test "x$enable_tcl" = "xyes" ; then
enable_tcl="no"
not_found="$not_found tcl"
fi
else
not_asked="$not_asked tcl"
fi
if test "x$enable_tcl" = "xyes" ; then
@@ -841,8 +836,6 @@ if test "x$enable_guile" = "xyes" ; then
enable_guile="no"
not_found="$not_found guile"
fi
else
not_asked="$not_asked guile"
fi
if test "x$enable_guile" = "xyes" ; then
@@ -851,60 +844,6 @@ if test "x$enable_guile" = "xyes" ; then
AC_DEFINE(PLUGIN_GUILE)
fi
# ------------------------------ javascript -----------------------------------
AC_LANG_PUSH([C++])
if test "x$enable_javascript" = "xyes" ; then
enable_plugins="yes"
v8_found="no"
AC_CHECK_HEADER(v8.h,ac_found_v8_header="yes",ac_found_v8_header="no")
if test "x$ac_found_v8_header" = "xyes" ; then
#AC_CHECK_LIB(v8,v8,ac_found_v8_lib="yes",ac_found_v8_lib="no")
ac_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -lv8"
AC_MSG_CHECKING(for v8 usability in programs)
AC_TRY_RUN([
#include <v8.h>
using namespace v8;
int main(int argc, char **argv) {
const char *version = V8::GetVersion();
return 0;
}],ac_found_v8_lib="yes", ac_found_v8_lib="no", ac_found_v8_lib="assume-yes")
LDFLAGS="$ac_save_LDFLAGS"
if test "x$ac_found_v8_lib" = "xyes" ; then
AC_MSG_RESULT(yes)
v8_found="yes"
V8_CFLAGS=""
V8_LFLAGS="-lv8"
else
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** V8 library couldn't be found on your system.
*** WeeChat will be built without Javascript support.])
enable_javascript="no"
not_found="$not_found javascript/v8"
fi
else
AC_MSG_WARN([
*** V8 header files couldn't be found on your system.
*** WeeChat will be built without Javascript support.])
enable_javascript="no"
not_found="$not_found javascript/v8"
fi
else
not_asked="$not_asked javascript"
fi
if test "x$enable_javascript" = "xyes" ; then
AC_SUBST(V8_CFLAGS)
AC_SUBST(V8_LFLAGS)
AC_DEFINE(PLUGIN_JAVASCRIPT)
fi
AC_LANG_POP
# --------------------------------- trigger ------------------------------------
if test "x$enable_trigger" = "xyes" ; then
@@ -1249,7 +1188,6 @@ gnu*)
esac
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
CPPFLAGS="$CPPFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
# ------------------------------------------------------------------------------
# output Makefiles
@@ -1274,7 +1212,6 @@ AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_GUILE, test "$enable_guile" = "yes")
AM_CONDITIONAL(PLUGIN_JAVASCRIPT, test "$enable_javascript" = "yes")
AM_CONDITIONAL(PLUGIN_TRIGGER, test "$enable_trigger" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(TESTS, test "$enable_tests" = "yes")
@@ -1309,7 +1246,6 @@ AC_OUTPUT([Makefile
src/plugins/lua/Makefile
src/plugins/tcl/Makefile
src/plugins/guile/Makefile
src/plugins/javascript/Makefile
src/plugins/trigger/Makefile
src/plugins/xfer/Makefile
src/gui/Makefile
@@ -1379,9 +1315,6 @@ fi
if test "x$enable_guile" = "xyes"; then
listplugins="$listplugins guile($GUILE_VERSION)"
fi
if test "x$enable_javascript" = "xyes"; then
listplugins="$listplugins javascript/v8"
fi
if test "x$enable_trigger" = "xyes"; then
listplugins="$listplugins trigger"
fi
+3 -4
View File
@@ -18,7 +18,6 @@ Build-Depends:
liblua5.1-0-dev,
tcl8.5-dev,
guile-2.0-dev,
libv8-dev,
libcurl4-gnutls-dev,
libgcrypt20-dev,
libgnutls28-dev,
@@ -46,7 +45,7 @@ Description: Fast, light and extensible chat client
- 256 colors support
- incremental text search
- dynamic filtering of buffer content
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
- scripts manager
- spell checking
- highly customizable and extensible
@@ -73,7 +72,7 @@ Description: Fast, light and extensible chat client - console client
- 256 colors support
- incremental text search
- dynamic filtering of buffer content
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
- scripts manager
- spell checking
- highly customizable and extensible
@@ -104,7 +103,7 @@ Description: Fast, light and extensible chat client - plugins
.
This package provides some plugins to enhance WeeChat. It currently
ships the following plugins:
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
- scripts manager
- Spell checking (thanks to aspell)
- FIFO pipe for remote control
+2 -3
View File
@@ -1,8 +1,7 @@
usr/bin/weechat usr/bin/weechat-curses
usr/share/man/man1/weechat.1.gz usr/share/man/man1/weechat-curses.1.gz
usr/share/man/de/man1/weechat.1.gz usr/share/man/de/man1/weechat-curses.1.gz
usr/share/man/fr/man1/weechat.1.gz usr/share/man/fr/man1/weechat-curses.1.gz
usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
usr/share/man/de/man1/weechat.1.gz usr/share/man/de/man1/weechat-curses.1.gz
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
usr/share/man/ru/man1/weechat.1.gz usr/share/man/ru/man1/weechat-curses.1.gz
+3 -4
View File
@@ -2,12 +2,11 @@ usr/lib/weechat/plugins/aspell.so
usr/lib/weechat/plugins/exec.so
usr/lib/weechat/plugins/fifo.so
usr/lib/weechat/plugins/guile.so
usr/lib/weechat/plugins/javascript.so
usr/lib/weechat/plugins/lua.so
usr/lib/weechat/plugins/perl.so
usr/lib/weechat/plugins/python.so
usr/lib/weechat/plugins/relay.so
usr/lib/weechat/plugins/ruby.so
usr/lib/weechat/plugins/script.so
usr/lib/weechat/plugins/lua.so
usr/lib/weechat/plugins/tcl.so
usr/lib/weechat/plugins/script.so
usr/lib/weechat/plugins/relay.so
usr/lib/weechat/plugins/trigger.so
-24
View File
@@ -19,31 +19,9 @@
#
if(ENABLE_MAN OR ENABLE_DOC)
find_package(Sourcehighlight)
find_package(Asciidoc)
if(ASCIIDOC_FOUND)
set(CSS_TOC -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/asciidoc_toc.css)
set(CSS_TOC2 -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/asciidoc_toc2.css)
set(ASCIIDOC_ARGS -a revision="${VERSION}" -f ${CMAKE_CURRENT_SOURCE_DIR}/asciidoc.conf)
# use html5 backend if available (asciidoc >= 8.6.5)
if(ASCIIDOC_VERSION VERSION_EQUAL "8.6.5" OR ASCIIDOC_VERSION VERSION_GREATER "8.6.5")
set(ASCIIDOC_ARGS -b html5 ${ASCIIDOC_ARGS})
endif()
set(ASCIIDOC_ARGS_USER ${ASCIIDOC_ARGS} ${CSS_TOC2} )
set(ASCIIDOC_ARGS_API ${ASCIIDOC_ARGS} ${CSS_TOC2} )
set(ASCIIDOC_ARGS_SCRIPTING ${ASCIIDOC_ARGS} ${CSS_TOC2} )
set(ASCIIDOC_ARGS_FAQ ${ASCIIDOC_ARGS} ${CSS_TOC} -n)
set(ASCIIDOC_ARGS_QUICKSTART ${ASCIIDOC_ARGS} ${CSS_TOC2} -n)
set(ASCIIDOC_ARGS_TESTER ${ASCIIDOC_ARGS} ${CSS_TOC2} )
set(ASCIIDOC_ARGS_RELAY ${ASCIIDOC_ARGS} ${CSS_TOC2} )
set(ASCIIDOC_ARGS_DEV ${ASCIIDOC_ARGS} ${CSS_TOC2} )
add_subdirectory(en)
add_subdirectory(fr)
add_subdirectory(it)
@@ -52,7 +30,5 @@ if(ENABLE_MAN OR ENABLE_DOC)
add_subdirectory(es)
add_subdirectory(ru)
add_subdirectory(ja)
endif()
endif()
+1 -8
View File
@@ -20,14 +20,7 @@
SUBDIRS = . en fr it de pl es ru ja
EXTRA_DIST = docgen.py \
CMakeLists.txt \
asciidoc.conf \
asciidoc_toc.css \
asciidoc_toc2.css
EXTRA_DIST = docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
uninstall-hook:
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
clean-local:
-rm -f asciidoc_toc.css asciidoc_toc2.css
+34 -39
View File
@@ -1,5 +1,3 @@
/* Custom asciidoc styles */
body {
margin: 1em 2em;
font-family: verdana, sans-serif;
@@ -26,18 +24,15 @@ tt {
}
#toc {
line-height: 1.4em;
padding-bottom: 3em;
}
#toctitle {
margin-bottom: .6em;
color: #555;
}
#toc .toclevel0, #toc .toclevel1 {
display: block;
font-size: 1em;
div.toclevel0, div.toclevel1 {
font-size: 1.1em;
}
#toc .toclevel2, #toc .toclevel3, #toc .toclevel4 {
display: block;
div.toclevel2, div.toclevel3, div.toclevel4 {
font-size: 1em;
}
h1, h2, h3, h4, h5, h6 {
@@ -45,7 +40,7 @@ h1, h2, h3, h4, h5, h6 {
}
h1 {
padding: 1.2em;
border: 1px solid #c0d0ff;
border: solid 1px #c0d0ff;
border-radius: 8px;
box-shadow: 1px 1px 3px #aac;
background: #ddeaee;
@@ -58,7 +53,7 @@ h1 {
}
h2 {
padding: .5em;
border: 1px solid #d0d0d0;
border: solid 1px #d0d0d0;
border-radius: 6px;
box-shadow: 1px 1px 2px #bbb;
background: #f2f2f2;
@@ -84,7 +79,7 @@ h5 {
}
span.command {
padding: .2em .5em;
border: 1px solid #ccc;
border: solid 1px #ccc;
border-radius: 4px;
box-shadow: 1px 1px 2px #ccc;
margin-right: 12px;
@@ -96,10 +91,13 @@ p.table {
margin-bottom: 0;
}
div.listingblock > div.content {
border: 1px solid #e2e2e2;
border: solid 1px #e2e2e2;
border-radius: 4px;
background: #fbfbfb;
}
div.tableblock > table {
border: 2px solid #888;
}
.listingblock pre {
white-space: pre-wrap;
word-wrap: break-word;
@@ -109,11 +107,8 @@ table th {
color: #000;
font-size: 1.1em;
}
table.tableblock, th.tableblock, td.tableblock, .tableblock table th, .tableblock table td {
border: 1px solid #bbb;
}
table.tableblock {
border: 2px solid #888;
.tableblock table th, .tableblock table td {
border: solid 1px #bbb;
}
div.title {
color: #525252;
@@ -130,10 +125,10 @@ dt.hdlist1 {
}
.key {
padding: .1em .4em;
border-top: 1px solid #d5d5e5;
border-left: 1px solid #d5d5e5;
border-bottom: 1px solid #a5a5b5;
border-right: 1px solid #a5a5b5;
border-top: solid 1px #d5d5e5;
border-left: solid 1px #d5d5e5;
border-bottom: solid 1px #a5a5b5;
border-right: solid 1px #a5a5b5;
border-radius: 3px;
box-shadow: 1px 1px 3px #d5d5e5;
margin: 0 2px;
@@ -143,40 +138,40 @@ dt.hdlist1 {
line-height: 1.6em;
}
.key.ctrl {
border-top: 1px solid #dfd0d0;
border-left: 1px solid #dfd0d0;
border-bottom: 1px solid #afa0a0;
border-right: 1px solid #afa0a0;
border-top: solid 1px #dfd0d0;
border-left: solid 1px #dfd0d0;
border-bottom: solid 1px #afa0a0;
border-right: solid 1px #afa0a0;
border-radius: 3px;
box-shadow: 1px 1px 3px #dfd0d0;
background: #fff0f0;
text-transform: capitalize;
}
.key.alt {
border-top: 1px solid #dfc5b4;
border-left: 1px solid #dfc5b4;
border-bottom: 1px solid #af9484;
border-right: 1px solid #af9484;
border-top: solid 1px #dfc5b4;
border-left: solid 1px #dfc5b4;
border-bottom: solid 1px #af9484;
border-right: solid 1px #af9484;
border-radius: 3px;
box-shadow: 1px 1px 3px #dfc5b4;
background: #ffe4d4;
text-transform: capitalize;
}
.key.shift {
border-top: 1px solid #d5d5d5;
border-left: 1px solid #d5d5d5;
border-bottom: 1px solid #a5a5a5;
border-right: 1px solid #a5a5a5;
border-top: solid 1px #d5d5d5;
border-left: solid 1px #d5d5d5;
border-bottom: solid 1px #a5a5a5;
border-right: solid 1px #a5a5a5;
border-radius: 3px;
box-shadow: 1px 1px 3px #d5d5d5;
background: #f5f5f5;
text-transform: capitalize;
}
.key.other {
border-top: 1px solid #d0e0d0;
border-left: 1px solid #d0e0d0;
border-bottom: 1px solid #a0b0a0;
border-right: 1px solid #a0b0a0;
border-top: solid 1px #d0e0d0;
border-left: solid 1px #d0e0d0;
border-bottom: solid 1px #a0b0a0;
border-right: solid 1px #a0b0a0;
border-radius: 3px;
box-shadow: 1px 1px 3px #d0e0d0;
background: #eafaea;
@@ -186,12 +181,12 @@ dt.hdlist1 {
}
.hexa {
padding: 0 .2em;
border: 1px solid #88b;
border: solid 1px #88b;
margin: 0 .2em;
color: #007;
font-family: monospace;
font-size: .85em;
}
#footer {
border-top: solid 1px silver;
border-top: 1px solid silver;
}
-219
View File
@@ -1,219 +0,0 @@
/* Custom asciidoc styles */
body {
margin: 1em 2em;
font-family: verdana, sans-serif;
font-size: 12px;
}
div.sectionbody, #author, #revnumber, #revdate, #revremark, #toctitle, #footer {
font-family: verdana, sans-serif;
}
a, a:visited, a:hover, a:active {
color: #00c;
text-decoration: none;
}
em {
color: #252;
}
strong {
color: #000;
}
tt {
color: #366;
}
#author {
color: #555;
}
#toc {
line-height: 1.4em;
padding-bottom: 3em;
}
#toctitle {
margin-bottom: .6em;
color: #555;
}
#toc .toclevel0, #toc .toclevel1 {
display: block;
font-size: 1em;
}
#toc .toclevel2, #toc .toclevel3, #toc .toclevel4 {
display: block;
font-size: 1em;
}
h1, h2, h3, h4, h5, h6 {
margin: 1.2em 0;
}
h1 {
padding: 1.2em;
border: 1px solid #c0d0ff;
border-radius: 8px;
box-shadow: 1px 1px 3px #aac;
background: #ddeaee;
background: -moz-linear-gradient(#bbddff, #eefaff);
background: -webkit-linear-gradient(#bbddff, #eefaff);
background: linear-gradient(#bbddff, #eefaff);
color: #224b8d;
font-size: 2.2em;
text-align: center;
}
h2 {
padding: .5em;
border: 1px solid #d0d0d0;
border-radius: 6px;
box-shadow: 1px 1px 2px #bbb;
background: #f2f2f2;
background: -moz-linear-gradient(#e0e0e0, #f6f6f6);
background: -webkit-linear-gradient(#e0e0e0, #f6f6f6);
background: linear-gradient(#e0e0e0, #f6f6f6);
color: #444;
font-size: 1.7em;
}
h3 {
border: none;
margin: .7em 0 1em 0;
color: #555;
font-size: 1.5em;
}
h4 {
color: #555;
font-size: 1.3em;
}
h5 {
color: #555;
font-size: 1.2em;
}
span.command {
padding: .2em .5em;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: 1px 1px 2px #ccc;
margin-right: 12px;
background: #eee;
font-size: 1.1em;
}
p.table {
margin-top: 0;
margin-bottom: 0;
}
div.listingblock > div.content {
border: 1px solid #e2e2e2;
border-radius: 4px;
background: #fbfbfb;
}
.listingblock pre {
white-space: pre-wrap;
word-wrap: break-word;
}
table th {
background: #fbfbfb;
color: #000;
font-size: 1.1em;
}
table.tableblock, th.tableblock, td.tableblock, .tableblock table th, .tableblock table td {
border: 1px solid #bbb;
}
table.tableblock {
border: 2px solid #888;
}
div.title {
color: #525252;
}
div.admonitionblock .icon {
text-decoration: none;
}
dt.hdlist1 {
margin-bottom: .5em;
color: #252;
}
.ulist {
word-wrap: break-word;
}
.key {
padding: .1em .4em;
border-top: 1px solid #d5d5e5;
border-left: 1px solid #d5d5e5;
border-bottom: 1px solid #a5a5b5;
border-right: 1px solid #a5a5b5;
border-radius: 3px;
box-shadow: 1px 1px 3px #d5d5e5;
margin: 0 2px;
background: #eef;
font-family: monospace;
font-size: 1.1em;
line-height: 1.6em;
}
.key.ctrl {
border-top: 1px solid #dfd0d0;
border-left: 1px solid #dfd0d0;
border-bottom: 1px solid #afa0a0;
border-right: 1px solid #afa0a0;
border-radius: 3px;
box-shadow: 1px 1px 3px #dfd0d0;
background: #fff0f0;
text-transform: capitalize;
}
.key.alt {
border-top: 1px solid #dfc5b4;
border-left: 1px solid #dfc5b4;
border-bottom: 1px solid #af9484;
border-right: 1px solid #af9484;
border-radius: 3px;
box-shadow: 1px 1px 3px #dfc5b4;
background: #ffe4d4;
text-transform: capitalize;
}
.key.shift {
border-top: 1px solid #d5d5d5;
border-left: 1px solid #d5d5d5;
border-bottom: 1px solid #a5a5a5;
border-right: 1px solid #a5a5a5;
border-radius: 3px;
box-shadow: 1px 1px 3px #d5d5d5;
background: #f5f5f5;
text-transform: capitalize;
}
.key.other {
border-top: 1px solid #d0e0d0;
border-left: 1px solid #d0e0d0;
border-bottom: 1px solid #a0b0a0;
border-right: 1px solid #a0b0a0;
border-radius: 3px;
box-shadow: 1px 1px 3px #d0e0d0;
background: #eafaea;
}
.keyplus {
font-size: .8em;
}
.hexa {
padding: 0 .2em;
border: 1px solid #88b;
margin: 0 .2em;
color: #007;
font-family: monospace;
font-size: .85em;
}
#footer {
border-top: solid 1px silver;
}
/* Asciidoc styles with table of contents on the left (toc2) */
body {
margin-left: 26em;
margin-right: 2em;
}
#toc {
width: 23em;
}
#toc .toclevel2 {
margin-left: 1.5em;
font-size: .9em;
}
#toc .toclevel3 {
margin-left: 3em;
font-size: .9em;
}
#toc .toclevel4 {
margin-left: 4.5em;
font-size: .9em;
}
+8 -19
View File
@@ -21,13 +21,12 @@ if(ENABLE_MAN)
# man page
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.asciidoc .
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc .
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L weechat.1.de.asciidoc
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat.1 (de)"
)
add_custom_target(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
@@ -39,13 +38,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# user's guide
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.de.html"
)
add_custom_target(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
@@ -54,11 +51,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# scripting guide
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_scripting.de.html"
)
add_custom_target(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
@@ -67,11 +62,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# FAQ
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_faq.de.html"
)
add_custom_target(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html)
@@ -80,11 +73,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# quickstart
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.de.html"
)
add_custom_target(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
@@ -93,11 +84,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# tester's guide
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_tester.de.html"
)
add_custom_target(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html)
+10 -10
View File
@@ -56,24 +56,24 @@ weechat.1: weechat.1.de.asciidoc cmdline_options.de.asciidoc
rm -rf tmp_man
# user's guide
weechat_user.de.html: weechat_user.de.asciidoc cmdline_options.de.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.asciidoc
weechat_user.de.html: weechat_user.de.asciidoc cmdline_options.de.asciidoc $(wildcard autogen/user/*.asciidoc)
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.asciidoc
# scripting guide
weechat_scripting.de.html: weechat_scripting.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.asciidoc
weechat_scripting.de.html: weechat_scripting.de.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.asciidoc
# FAQ
weechat_faq.de.html: weechat_faq.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.asciidoc
weechat_faq.de.html: weechat_faq.de.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.asciidoc
# quickstart
weechat_quickstart.de.html: weechat_quickstart.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.asciidoc
weechat_quickstart.de.html: weechat_quickstart.de.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.asciidoc
# tester's guide
weechat_tester.de.html: weechat_tester.de.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.asciidoc
weechat_tester.de.html: weechat_tester.de.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.asciidoc
# install man/docs
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="65%",cols="^1,^2,8",options="header"]
|===
| Erweiterung | Name | Beschreibung
@@ -50,8 +46,6 @@
| irc | nick | Liste der Nicks im aktuellen Channel
| javascript | javascript_script | Liste der Skripten
| lua | lua_script | Liste der Skripten
| perl | perl_script | Liste der Skripten
+1 -43
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* 'guile_callback': Callback eines Skripts
** Erweiterung: guile
** Variablen:
@@ -46,7 +42,7 @@
*** 'limit' (integer)
*** 'key' (string)
*** 'join_msg_received' (hashtable)
*** 'checking_whox' (integer)
*** 'checking_away' (integer)
*** 'away_message' (string)
*** 'has_quit_server' (integer)
*** 'cycle' (integer)
@@ -93,7 +89,6 @@
*** 'prefixes' (string)
*** 'prefix' (string)
*** 'away' (integer)
*** 'account' (string)
*** 'color' (string)
*** 'prev_nick' (pointer, hdata: "irc_nick")
*** 'next_nick' (pointer, hdata: "irc_nick")
@@ -181,7 +176,6 @@
*** 'nick' (string)
*** 'nick_modes' (string)
*** 'cap_away_notify' (integer)
*** 'cap_account_notify' (integer)
*** 'isupport' (string)
*** 'prefix_modes' (string)
*** 'prefix_chars' (string)
@@ -226,40 +220,6 @@
** Listen:
*** 'irc_servers'
*** 'last_irc_server'
* 'javascript_callback': Callback eines Skripts
** Erweiterung: javascript
** Variablen:
*** 'script' (pointer, hdata: "javascript_script")
*** 'function' (string)
*** 'data' (string)
*** 'config_file' (pointer, hdata: "config_file")
*** 'config_section' (pointer, hdata: "config_section")
*** 'config_option' (pointer, hdata: "config_option")
*** 'hook' (pointer)
*** 'buffer' (pointer, hdata: "buffer")
*** 'bar_item' (pointer, hdata: "bar_item")
*** 'upgrade_file' (pointer)
*** 'prev_callback' (pointer, hdata: "javascript_callback")
*** 'next_callback' (pointer, hdata: "javascript_callback")
* 'javascript_script': Liste der Skripten
** Erweiterung: javascript
** Variablen:
*** 'filename' (string)
*** 'interpreter' (pointer)
*** 'name' (string)
*** 'author' (string)
*** 'version' (string)
*** 'license' (string)
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
*** 'callbacks' (pointer, hdata: "javascript_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "javascript_script")
*** 'next_script' (pointer, hdata: "javascript_script")
** Listen:
*** 'last_script'
*** 'scripts'
* 'lua_callback': Callback eines Skripts
** Erweiterung: lua
** Variablen:
@@ -883,8 +843,6 @@
*** 'version' (string)
*** 'license' (string)
*** 'charset' (string)
*** 'priority' (integer)
*** 'initialized' (integer)
*** 'debug' (integer)
*** 'prev_plugin' (pointer, hdata: "plugin")
*** 'next_plugin' (pointer, hdata: "plugin")
+1 -7
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="100%",cols="^1,^2,5,5,5",options="header"]
|===
| Erweiterung | Name | Beschreibung | Pointer | Argumente
@@ -22,9 +18,7 @@
| irc | irc_server | Liste der IRC-Server | Server Pointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
| javascript | javascript_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
| logger | logger_buffer | Auflistung der protokollierten Buffer | Logger-Pointer (optional) | -
| logger | logger_buffer | Auflistung der protokollierten Buffer | Logger Pointer (optional) | -
| lua | lua_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
+2 -6
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="100%",cols="^1,^2,6,6",options="header"]
|===
| Erweiterung | Name | Beschreibung | Argumente
@@ -58,11 +54,11 @@
| weechat | term_width | Breite des Terminals | -
| weechat | version | WeeChat-Version | -
| weechat | version | WeeChat Version | -
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
| weechat | version_number | WeeChat-Version (als Zahl) | -
| weechat | version_number | WeeChat Version (als Nummer) | -
| weechat | weechat_dir | WeeChat Verzeichnis | -
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="100%",cols="^1,^2,6,6,6",options="header"]
|===
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
@@ -1,16 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
. charset (13000)
. logger (12000)
. exec (11000)
. trigger (10000)
. aspell (9000)
. alias (8000)
. fifo (7000)
. xfer (6000)
. irc (5000)
. relay (4000)
. guile, javascript, lua, perl, python, ruby, tcl (3000)
. script (2000)
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="100%",cols="2,^1,7",options="header"]
|===
| Einstellung | Type | Konstanten ^(1)^
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_alias_alias]]
[command]*`alias`* Einem Befehl wird ein Alias zugewiesen::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
[command]*`aspell`* Konfiguration für Aspell-Erweiterung::
@@ -22,8 +18,6 @@ listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
Eingaben die mit '/' beginnen werden nicht überprüft, davon ausgenommen sind einige Befehle (siehe /set aspell.check.commands).
Um sich eine Liste von Vorschlägen in einer Bar anzeigen zu lassen nutzt man das Item "aspell_suggest".
Um Aspell auf alle Buffer anzuwenden sollte die Einstellung "default_dict" genutzt und Aspell aktiviert werden:
/set aspell.check.default_dict "de_DE-neu"
/aspell enable
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_aspell.check.commands]] *aspell.check.commands*
** Beschreibung: `durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)`
** Typ: Zeichenkette
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_charset_charset]]
[command]*`charset`* Ändert den Zeichensatz für aktuellen Buffer::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_charset.default.decode]] *charset.default.decode*
** Beschreibung: `globale Zeichendekodierung: Zeichendekodierung die für eingehende Nachrichten genutzt werden soll, falls diese nicht UTF-8 gültig ist`
** Typ: Zeichenkette
+1 -5
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_exec_exec]]
[command]*`exec`* führe externe Befehle aus::
@@ -23,7 +19,7 @@
-nobg: gibt Prozessausgabe und Rückgabewert aus (Standardverhalten)
-stdin: erstellt eine PIPE um Daten zu dem Prozess zu senden (mittels /exec -in/-inclose)
-nostdin: es wird keine PIPE für stdin erstellt (Standardverhalten)
-buffer: zeigt/sendet Ausgabe des Befehls an diesen Buffer (wird der angegebene Buffer nicht gefunden wird ein neuer Buffer mit dem Namen "exec.exec.xxx" erstellt)
-buffer: zeigt/sendet Ausgabe des Befehls an diesen Buffer (wird der angegebene Buffer nicht gefunden wird ein neuer Bufger mit dem Namen "exec.exec.xxx" erstellt)
-l: gibt die Ausgabe des Befehls lokal im Buffer aus (Standardverhalten)
-o: gibt die Ausgabe des Befehls im Buffer aus (nicht kompatibel mit Argument -bg)
-n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Argument -bg)
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_exec.color.flag_finished]] *exec.color.flag_finished*
** Beschreibung: `Textfarbe des Statusindikator (in der Auflistung der Befehle) für beendete Befehle`
** Typ: Farbe
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_guile_guile]]
[command]*`guile`* auflisten/installieren/beenden von Skripten::
+1 -5
View File
@@ -1,10 +1,6 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="30%",cols="^2m,3",options="header"]
|===
| IRC-Farbe | WeeChat-Farbe
| IRC Farbe | WeeChat Farbe
| 00 | white
| 01 | black
+11 -15
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_irc_admin]]
[command]*`admin`* Information über den Server-Administrator abfragen::
@@ -551,9 +547,8 @@ Daemon2: Nachricht an diesen Daemon weiterleiten
[command]*`query`* Eine private Nachricht an einen Nick schicken::
----
/query [-noswitch] [-server <server>] <nick>[,<nick>...] [<text>]
/query [-server <server>] <nick>[,<nick>...] [<text>]
-noswitch: es wird nicht zum neuen Buffer gewechselt
server: an diesen Server senden (interner Name)
target: Nickname
text: zu sendender Text
@@ -685,17 +680,17 @@ reason: Grund der Abmeldung
deloutq|jump|raw
list: listet Server auf (ohne Angabe von Argumente wird diese Liste standardmäßig ausgegeben)
listfull: listet alle Server auf, mit detaillierten Informationen zu jedem einzelnen Server
listfull: listet Server mit detaillierten Informationen über jeden einzelnen Server auf
add: erstellt einen neuen Server
server: Servername, dient der internen Nutzung und zur Darstellung
hostname: Name oder IP-Adresse des Servers. Optional kann zusätzlich der Port festgelegt werden (Standard-Port: 6667). Verschiedene Ports können durch Kommata getrennt werden
hostname: Name oder IP-Adresse des Servers. Optional kann noch der Port festgelegt werden (Standard-Port: 6667). Verschiedene Ports können durch Kommata getrennt werden
temp: erstellt temporären Server (wird nicht gespeichert)
option: legt die Optionen für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: stellt die Boolean Einstellung auf "off" (Beispiel: -nossl)
copy: erstellt eine Kopie des Servers
rename: benennt den Server um
reorder: Anordnung der Server ändern
keep: übernimmt den Server in die Konfigurationsdatei (nur sinnvoll bei temporär angelegten Servern)
keep: behält den Server in der Konfigurationsdatei (ausschließlich für die Nutzung bei temporären Servern)
del: entfernt einen Server
deloutq: löscht bei allen Servern alle ausgehende Nachrichten, die in der Warteschlange stehen (dies betrifft alle Nachrichten die WeeChat gerade sendet)
jump: springt zum Server-Buffer
@@ -703,12 +698,13 @@ nooption: stellt die Boolean Einstellung auf "off" (Beispiel: -nossl)
Beispiele:
/server listfull
/server add freenode chat.freenode.net
/server add freenode chat.freenode.net/6697 -ssl -autoconnect
/server add chatspike irc.chatspike.net/6667,irc.duckspike.net/6667
/server copy freenode freenode-test
/server rename freenode-test freenode2
/server reorder freenode2 freenode
/server add oftc irc.oftc.net/6697 -ssl -autoconnect
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
/server add freenode3 chat.freenode.net -password=mypass
/server copy oftc oftcbis
/server rename oftc newoftc
/server reorder oftc freenode
/server del freenode
/server deloutq
----
+7 -16
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_irc.color.input_nick]] *irc.color.input_nick*
** Beschreibung: `Farbe des eigenen Nicknamens in der Eingabezeile`
** Typ: Farbe
@@ -368,7 +364,7 @@
** Werte: on, off (Standardwert: `off`)
* [[option_irc.network.alternate_nick]] *irc.network.alternate_nick*
** Beschreibung: `bezieht einen alternativen Nick, sofern alle voreingestellten Nicks am Server schon genutzt werden. Dazu wird das Zeichen "_" an den Nick angehängt, sofern der Nick nicht mehr als neun Zeichen besitzt. Andernfalls wird das letzte bzw. vorletzte Zeichen durch eine Zahl zwischen 1 und 99 ersetzt, bis ein freier Nick für den Server gefunden wird`
** Beschreibung: `bezieht einen alternativen Nick, sofern alle voreingestellten Nicks am Server schon genutzt werden. Dazu wird das Zeichen "_" an den Nick an gehangen, sofern der Nick nicht mehr als neun Zeichen besitzt. Andernfalls wird das letzte bzw. vorletzte Zeichen durch eine Zahl zwischen 1 und 99 ersetzt, bis ein freier Nick für den Server gefunden wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -498,7 +494,7 @@
** Werte: 0 .. 1000000 (Standardwert: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** Beschreibung: `durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen. Fähigkeiten die von WeeChat unterstützt werden: account-notify, away-notify, extended-join, multi-prefix, server-time, userhost-in-names (Beispiel: "away-notify,multi-prefix")`
** Beschreibung: `durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen. Fähigkeiten die von WeeChat unterstützt werden: away-notify, extended-join, multi-prefix, server-time, userhost-in-name (Beispiel: "away-notify,multi-prefix")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -572,18 +568,13 @@
** Typ: integer
** Werte: continue, reconnect, disconnect (Standardwert: `continue`)
* [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key*
** Beschreibung: `Datei mit privatem ECC Schlüssel für den "ecdsa-nist256p-challenge" Mechanismus ("%h" wird durch das WeeChat Verzeichnis ersetzt, standardmäßig "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort wird im Klartext gesendet, "ecdsa-nist256p-challenge" für öffentlich/private Schlüsselmethode, "external" SSL Zertifikat welches auf Client Seite vorliegt wird verwendet, "dh-blowfish" Passwort wird mittels blowfish verschlüsselt (unsicher, wird nicht empfohlen), "dh-aes" Passwort wird mittels AES verschlüsselt (unsicher, wird nicht empfohlen)`
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort wird im Klartext gesendet, "dh-blowfish" Passwort wird mittels blowfish verschlüsselt, "dh-aes" Passwort wird mittels AES verschlüsselt, "external" SSL Zertifikat welches auf Client Seite vorliegt, wird verwendet`
** Typ: integer
** Werte: plain, ecdsa-nist256p-challenge, external, dh-blowfish, dh-aes (Standardwert: `plain`)
** Werte: plain, dh-blowfish, dh-aes, external (Standardwert: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** Beschreibung: `Passwort für SASL Authentifikation; diese Option findet keine Anwendung falls der Mechanismus "ecdsa-nist256p-challenge" und "external" verwendet wird (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Beschreibung: `Passwort für SASL Authentifikation (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -593,7 +584,7 @@
** Werte: 1 .. 3600 (Standardwert: `15`)
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
** Beschreibung: `Username für SASL Authentifikation; diese Option wird nicht für den Mechanismus "external" verwendet (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Beschreibung: `Username für SASL Authentifikation (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -613,7 +604,7 @@
** Werte: 0 .. 2147483647 (Standardwert: `2048`)
* [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint*
** Beschreibung: `Fingerprint des Zertifikates welches als vertrauenswürdig eingestuft und für diesen Server akzeptiert wird; es sind nur hexadezimale Zeichen erlaubt (0-9, a-f): bei SHA-512 ist das Zertifikat 64 Zeichen lang, bei SHA-256 sind es 32 Zeichen, bei SHA-1 sind es 20 Zeichen (nicht empfohlen, da unsicher); verschiedene Fingerprints können durch Kommata voneinander getrennt werden; wird diese Option genutzt, findet KEINE weitere Überprüfung der Zertifikate statt (Option "ssl_verify")`
** Beschreibung: `SHA1 Fingerprint des Zertifikates welches als vertrauenswürdig eingestuft und für diesen Server akzeptiert wird (hier müssen exakt 40 hexadezimale Zeichen, ohne Trennung, angegeben werden); mehrere Fingerprints können durch Kommata voneinander getrennt werden; wenn diese Einstellung verwendet wird, dann werden andere Einstellungen, die eine Überprüfung von Zertifikaten vornehmen, NICHT berücksichtigt (Einstellung "ssl_verify")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -1,26 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_javascript_javascript]]
[command]*`javascript`* auflisten/installieren/beenden von Skripten::
----
/javascript list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
----
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_logger_logger]]
[command]*`logger`* Konfiguration für "logger" Erweiterung (dient zum protokollieren der Buffer)::
+2 -6
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_logger.color.backlog_end]] *logger.color.backlog_end*
** Beschreibung: `Farbe für die letzte Zeile im Verlaufsspeicher`
** Typ: Farbe
@@ -38,12 +34,12 @@
** Werte: on, off (Standardwert: `on`)
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
** Beschreibung: `Zeichenkette, die dem Nick vorangestellt werden soll. Beispiel: "<"`
** Beschreibung: `Zeichenkette die dem Nick vorangestellt werden soll. Beispiel: "<"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
** Beschreibung: `Zeichenkette, die nach dem Nick eingefügt werden soll. Beispiel: ">"`
** Beschreibung: `Zeichenkette die nach dem Nick eingefügt werden soll. Beispiel: ">"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_lua_lua]]
[command]*`lua`* auflisten/installieren/beenden von Skripten::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_perl_perl]]
[command]*`perl`* auflisten/installieren/beenden von Skripten::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_python_python]]
[command]*`python`* auflisten/installieren/beenden von Skripten::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_relay_relay]]
[command]*`relay`* Relay-Kontrolle::
+2 -6
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_relay.color.client]] *relay.color.client*
** Beschreibung: `Textfarbe für Client-Beschreibung`
** Typ: Farbe
@@ -83,7 +79,7 @@
** Werte: 0 .. 65535 (Standardwert: `256`)
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** Beschreibung: `erweiterter regulärer POSIX Ausdruck für IPs die von relay akzeptiert werden (Groß- und Kleinschreibung wird ignoriert. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss die Zeichenkette mit "(?-i)" eingeleitet werden), Beispiele: "^(123.45.67.89|192.160.*)$"`
** Beschreibung: `erweiterter regulärer POSIX Ausdruck für IP Adressen die auf das Relay zugreifen dürfen (zwischen Groß- und Kleinschreibung wird dabei nicht unterschieden. Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden) . Sollte IPv6 aktiviert sein und es wird eine IPv4 Verbindung aufgebaut, werden die IPv6 Adressen nach IPv4 gewandelt (siehe: "::ffff:127.0.0.1"), Beispiele: "^((::ffff:)?123.45.67.89|192.160.*)$"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -128,7 +124,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"NORMAL:-VERS-SSL3.0"`)
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** Beschreibung: `erweiterter regulärer POSIX Ausdruck für Origins in WebSockets (Groß- und Kleinschreibung wird ignoriert. Um Groß- und Kleinschreibung zu unterscheiden muss "(?-i)" dem Origin vorangestellt werden), Beispiele: "^http://(www\.)?example\.(com|org)"`
** Beschreibung: `erweiterter regulärer POSIX Ausdruck für Origins in WebSockets (Groß- und Kleinschreibung wird ignoriert, um Groß- und Kleinschreibung zu nutzen muss "(?-i)" dem Origin vorangestellt werden), Beispiele: "^http://(www\.)?example\.(com|org)"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_ruby_ruby]]
[command]*`ruby`* auflisten/installieren/beenden von Skripten::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_script_script]]
[command]*`script`* WeeChat Skripten-Manager::
+1 -5
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded*
** Beschreibung: `Farbe in der der Status "autoloaded" ("a") dargestellt werden soll`
** Typ: Farbe
@@ -193,7 +189,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_script.scripts.url]] *script.scripts.url*
** Beschreibung: `URL mit dem Dateinamen, welches die Liste der Skripten enthält; standardmäßig wird HTTPS genutzt, siehe Option script.scripts.url_force_https`
** Beschreibung: `URL für Datei mit Inhalt der unterstützten Skripten`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"http://weechat.org/files/plugins.xml.gz"`)
-4
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_sec.crypt.cipher]] *sec.crypt.cipher*
** Beschreibung: `zu nutzendes Chiffre zum Verschlüsseln von Daten (die Zahl hinter dem Algorithmus bestimmt die Größe des Schlüssels, in Bits)`
** Typ: integer
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_tcl_tcl]]
[command]*`tcl`* auflisten/installieren/beenden von Skripten::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_trigger_trigger]]
[command]*`trigger`* verwaltet Trigger, das Schweizer Armeemesser für WeeChat::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_trigger.color.flag_command]] *trigger.color.flag_command*
** Beschreibung: `Textfarbe für Befehls-Flag (in /trigger list)`
** Typ: Farbe
+16 -39
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_weechat_away]]
[command]*`away`* Abwesenheitsstatus setzen oder entfernen::
@@ -44,7 +40,7 @@ message: Abwesenheitsnachricht (ohne Angabe einer Nachricht wird der Abwesenheit
default: erstellt standardisierte Infobars
del: entfernt eine Infobar (alle Infobars können mit dem Argument "-all" entfernt werden).
set: setzt einen Wert für Infobar
option: Option, die verändert werden soll (für eine Liste aller möglichen Optionen bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)
option: Option die verändert werden soll (für eine Liste aller möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)
value: neuer Wert für Option
hide: Infobar wird ausgeblendet
show: zeigt eine ausgeblendete Infobar an
@@ -174,7 +170,7 @@ Beispiele:
/command [-buffer <name>] <plugin> <command>
-buffer: Befehl wird in diesem Buffer ausgeführt
plugin: Befehl der angegeben Erweiterung wird ausgeführt; 'core' für einen internen WeeChat Befehl, '*' automatisierte Auswahl (entscheidend ist der Buffer in welchem der Befehl ausgeführt wird)
plugin: Befehl der angegeben Erweiterung wird ausgeführt; 'core' für einen internen WeeChat Befehl, '*' automatisierte Auswahl (entscheidend ist der Buffer in welchem der Befehl ausgeführt wird)
command: auszuführender Befehl (es wird automatisch ein '/' vorangestellt, falls dieser nicht angegeben wurde)
----
@@ -194,18 +190,6 @@ Ohne Angabe von Argumenten wird der Cursor-Modus umgeschaltet.
Ist die Mausfunktion aktiviert (siehe /help mouse), startet man den Cursor-Modus mit der mittleren Maustaste und positioniert den Cursor auf diesen Punkt.
Standardtastenbefehle im Chatbereich:
m quote Nachricht
q quote Präfix + Nachricht
Q quote Zeit + Präfix + Nachricht
Standardtastenbefehle in Nickliste:
b banne Nick (/ban)
k kicke Nick (/kick)
K kicke und banne Nick (/kickban)
q öffne private Unterhaltung mit Nick (/query)
w hole Informationen über Anwender (/whois)
Beispiele:
gehe zur Benutzerliste:
/cursor go nicklist
@@ -248,11 +232,10 @@ infolists: zeigt Information über die Infolists an
[command]*`eval`* evaluierter Ausdruck::
----
/eval [-n|-s] <expression>
/eval [-n] <expression>
[-n] -c <expression1> <operator> <expression2>
-n: gibt das Ergebnis aus, ohne das dieses in den Buffer gesendet wird (debug Modus)
-s: teilt Ausdrücke bevor sie evaluiert werden (mehrere Befehle können durch Semikolon getrennt werden)
-c: Auswertung als Bedingung: nutzt Operatoren und runde Klammern, Rückgabewert als Boolean-Wert ("0" oder "1")
expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${variable} werden ersetzt (siehe unten); mehrere Befehle werden durch ein Semikolon voneinander getrennt
operator: ein logischer oder vergleichender Operand:
@@ -280,10 +263,9 @@ Einige Variablen werden im Ausdruck, mittels der Formatierung ${Variable}, erset
2. Zeichen welche in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
3. eine Farbe (Format: color:xxx)
4. eine Info (Format: "info:name,arguments", Argumente sind optional)
5. eine Umgebungsvariable (Format: "env:XXX")
6. der Name einer Programmoption (Format: file.section.option)
7. der Name einer lokalen Variablen eines Buffer
8. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
5. der Name einer Einstellung (Format: file.section.option)
6. der Name einer lokalen Variablen eines Buffer
7. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
Das Format für hdata kann wie folgt aufgebaut sein:
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
@@ -292,14 +274,13 @@ Das Format für hdata kann wie folgt aufgebaut sein:
Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
Beispiele (einfache Zeichenketten):
/eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n ${\t} ==> <tab>
/eval -n ${info:version} ==> 0.4.3
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> --------
Beispiele (Bedingungen):
@@ -373,8 +354,6 @@ Beispiele:
/filter add toto * nick_toto+irc_join,nick_toto+irc_action *
filtert Zeilen die "weechat sucks" im IRC Channel #weechat enthalten:
/filter add sucks irc.freenode.#weechat * weechat sucks
filter Zeilen die exakt "WeeChat sucks" lauten und das in allen Buffern:
/filter add sucks2 * * (?-i)^WeeChat sucks$
----
[[command_weechat_help]]
@@ -591,7 +570,7 @@ Beispiele:
/plugin list|listfull [<name>]
load <filename> [<arguments>]
autoload [<arguments>]
reload [<name>|* [<arguments>]]
reload [<name> [<arguments>]]
unload [<name>]
list: installierte Erweiterungen werden aufgelistet
@@ -879,10 +858,8 @@ Es ist möglich die WeeChat-Sitzung auf einem anderen Rechner wiederherzustellen
----
/version [-o | -ol]
-o: die Version von WeeChat wird in den aktuellen Buffer ausgegeben (in englischer Sprache)
-ol: die Version von WeeChat wird in den aktuellen Buffer ausgegeben (in der voreingestellten Landessprache)
Um diesen Befehl in jedem Buffer ausführen zu können, kann der Standardalias /v genutzt werden (andernfalls wird der IRC Befehl /version in einem IRC Buffer ausgeführt).
-o: die Version von WeeChat wird in den aktuellen Buffer geschrieben (in englischer Sprache)
-ol: die Version von WeeChat wird in den aktuellen Buffer geschrieben (in der voreingestellten Landessprache)
----
[[command_weechat_wait]]
+2 -31
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_weechat.color.bar_more]] *weechat.color.bar_more*
** Beschreibung: `Farbe des '+' beim Scrollen von Info-Bars`
** Typ: Farbe
@@ -448,7 +444,7 @@
** Werte: none, highlight, message, all (Standardwert: `all`)
* [[option_weechat.look.buffer_position]] *weechat.look.buffer_position*
** Beschreibung: `Position auf der ein neuer Buffer geöffnet werden soll: end = am Ende der Liste (Nummer = letzter Buffer + 1) (Standard), first_gap = erste mögliche Nummer die frei ist (wird das Ende der Liste erreicht, wird der Buffer hinten angehängt); diese Einstellung wird nur angewendet sofern dem Buffer keine Position, durch Layout, zugeordnet wurde`
** Beschreibung: `Position auf der ein neuer Buffer geöffnet werden soll: end = am Ende der Liste (Nummer = letzter Buffer + 1) (Standard), first_gap = erste mögliche Nummer die frei ist (wird das Ende der Liste erreicht, wird der Buffer hinten an gehangen); diese Einstellung wird nur angewendet sofern dem Buffer keine Position, durch Layout, zugeordnet wurde`
** Typ: integer
** Werte: end, first_gap (Standardwert: `end`)
@@ -558,7 +554,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"-- %%a, %%d %%b %%Y (%a, %d %b %Y) --"`)
* [[option_weechat.look.eat_newline_glitch]] *weechat.look.eat_newline_glitch*
** Beschreibung: `aktiviert man diese Einstellung, dann wird "eat_newline_glitch" auf 0 gesetzt; dies bedeutet, dass am Ende einer Zeile kein Zeilenumbruch angehängt wird und somit der Text beim kopieren aus WeeChat und beim einfügen in einer anderen Applikation nicht umgebrochen wird (diese Einstellung ist standardmäßig deaktiviert, da es zu schwerwiegenden Grafikfehlern kommen kann)`
** Beschreibung: `aktiviert man diese Einstellung, dann wird "eat_newline_glitch" auf 0 gesetzt; dies bedeutet, dass am Ende einer Zeile kein Zeilenumbruch an gehangen wird und somit der Text beim kopieren aus WeeChat und beim einfügen in einer anderen Applikation nicht umgebrochen wird (diese Einstellung ist standardmäßig deaktiviert, da es zu schwerwiegenden Grafikfehlern kommen kann)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
@@ -827,21 +823,6 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"|"`)
* [[option_weechat.look.quote_nick_prefix]] *weechat.look.quote_nick_prefix*
** Beschreibung: `Text der vor dem Nick dargestellt werden soll, wenn die Nachricht gequotet wird (siehe /help cursor)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"<"`)
* [[option_weechat.look.quote_nick_suffix]] *weechat.look.quote_nick_suffix*
** Beschreibung: `Text der nach dem Nick dargestellt werden soll, wenn die Nachricht gequotet wird (siehe /help cursor)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `">"`)
* [[option_weechat.look.quote_time_format]] *weechat.look.quote_time_format*
** Beschreibung: `Zeitformat wenn eine Nachricht gequotet wird (siehe /help cursor)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M:%S"`)
* [[option_weechat.look.read_marker]] *weechat.look.read_marker*
** Beschreibung: `nutzt eine Linie oder ein Zeichen, als Lesezeichen, um die erste ungelesene Nachricht in einem Buffer hervorzuheben`
** Typ: integer
@@ -927,16 +908,6 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"WeeChat ${info:version}"`)
* [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight*
** Beschreibung: `durch Kommata getrennte Liste von Zeichen (oder eine Auswahl von Zeichen) bei denen bei einem Highlight keine Worttrennung erfolgt; jeder Eintrag kann ein einzelnes Zeichen oder eine Auswahl von Zeichen sein (Format: a-z), eine Auswahl von Breitzeichen (wide character; zum Beispiel "alnum", siehe man wctype); beginnt das Item mit einem "!" wird die Auswahl umgekehrt (bedeutet, das Zeichen ist NICHT Bestandteil eines Wortes); das Zeichen "*" wird als Platzhalter verwendet; Unicode Zeichen müssen folgendes Format nutzen \u1234, zum Beispiel \u00A0 für geschütztes Leerzeichen (siehe /help print für unterstützte Formate)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"!\u00A0,-,_,|,alnum"`)
* [[option_weechat.look.word_chars_input]] *weechat.look.word_chars_input*
** Beschreibung: `durch Kommata getrennte Liste von Zeichen (oder eine Auswahl von Zeichen) bei denen in der Eingabezeile keine Worttrennung erfolgt; jeder Eintrag kann ein einzelnes Zeichen oder eine Auswahl von Zeichen sein (Format: a-z), eine Auswahl von Breitzeichen (wide character; zum Beispiel "alnum", siehe man wctype); beginnt das Item mit einem "!" wird die Auswahl umgekehrt (bedeutet, das Zeichen ist NICHT Bestandteil eines Wortes); das Zeichen "*" wird als Platzhalter verwendet; Unicode Zeichen müssen folgendes Format nutzen \u1234, zum Beispiel \u00A0 für geschütztes Leerzeichen (siehe /help print für unterstützte Formate)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"!\u00A0,-,_,|,alnum"`)
* [[option_weechat.network.connection_timeout]] *weechat.network.connection_timeout*
** Beschreibung: `Zeitüberschreitung (in Sekunden) für eine Verbindung zu einem entfernten Rechner (mittels einem Kindprozess)`
** Typ: integer
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_xfer_me]]
[command]*`me`* sendet CTCP Aktion an entfernten Host::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_xfer.color.status_aborted]] *xfer.color.status_aborted*
** Beschreibung: `Textfarbe für Status: "abgebrochen"`
** Typ: Farbe
+5 -7
View File
@@ -2,14 +2,12 @@
deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat.
*-c*, *--colors*::
zeigt die Standardfarben im Terminal an.
Zeigt die Standardfarben im Terminal an.
*-d*, *--dir* '<path>'::
legt den Konfigurationsordner für WeeChat fest in welchem die Erweiterungen,
Skripten, Protokolldateien etc.pp. gesichert werden (Voreinstellung: ~/.weechat).
legt den Konfigurationsordner für WeeChat fest (Voreinstellung: ~/.weechat) in
dem die Erweiterungen, Skripten, Protokolldateien etc.pp. gesichert werden.
Sollte das Verzeichnis nicht existieren wird es beim Start angelegt.
Wird diese Option nicht genutzt, wird die Umgebungsvariable WEECHAT_HOME genutzt
(sofern diese vorhanden ist).
*-h*, *--help*::
zeigt einen Hilfstext an.
@@ -21,14 +19,14 @@
unterbindet das Laden der Erweiterungen beim Programmstart.
*-r*, *--run-command* '<command>'::
führt einen oder mehrere Befehle aus, nachdem WeeChat gestartet wurde
startet einen oder mehrere Befehle, nachdem WeeChat gestartet wurde
(mehrere Befehle müssen durch Kommata voneinander getrennt werden).
*-s*, *--no-script*::
Skripten werden beim Programmstart nicht geladen.
*--upgrade*::
führt ein WeeChat Upgrade mit Sitzungsdateien durch, die mittels dem Befehl `/upgrade -quit` erstellt wurden.
führt ein WeeChat Upgrade mittels Sitzungsdateien, die mit dem Befehl `/upgrade -quit` erstellt wurden, durch.
*-v*, *--version*::
zeigt die Version von WeeChat an.
+8 -12
View File
@@ -17,9 +17,11 @@ weechat - der erweiterbare Chat Client
== BESCHREIBUNG
WeeChat (Wee Enhanced Environment for Chat) ist ein freier, schneller und
schlanker Chat-Client der für unterschiedliche Betriebssysteme entwickelt wird.
Durch Skripten ist das Hauptprogramm äußerst flexibel und erweiterbar.
WeeChat ist ein schneller, leichter und erweiterbarer Chat Client.
Der Client ist modular aufgebaut (ein kleiner Kern mit nachladbaren Erweiterungen),
Multiprotokollfähig (IRC und Jabber),erweiterbar mittels C und durch Skripten, wobei
verschiedenen Sprachen unterstützt werden.
== OPTIONEN
@@ -30,8 +32,8 @@ include::cmdline_options.de.asciidoc[]
Um eine vollständige Dokumentation der Optionen zu erhalten, siehe
https://weechat.org/doc[WeeChat user's guide].
Mittels der IRC Erweiterung kann man sich zu einen temporären Server verbinden lassen,
indem man eine URL verwendet:
Mittels der IRC Erweiterung kann man sich zu einen temporären Server, mittels einer URL,
verbinden lassen:
irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
@@ -89,13 +91,7 @@ $HOME/.weechat/weechat.log::
== AUTOREN
Diese manpage wurde von Sébastien Helleu <flashcode@flashtux.org> geschrieben.
Übersetzt von Nils Görs <weechatter@arcor.de>.
== COPYRIGHT
WeeChat wird programmiert von Sébastien Helleu und weiteren Beitragenden (eine vollständige Auflistung
WeeChat ist programmiert von Sébastien Helleu und Beitragenden (eine vollständige Auflistung
findet man in der AUTHORS.asciidoc Datei).
Copyright (C) 2003-{sys:date "+%Y"} Sébastien Helleu <flashcode@flashtux.org>
+4 -13
View File
@@ -3,20 +3,12 @@
:email: flashcode@flashtux.org
:lang: de
:toc:
:toc-placement: manual
Übersetzer:
* Juergen Descher <jhdl@gmx.net>, 2009
* Nils Görs <weechatter@arcor.de>, 2009-2015
[NOTE]
Diese Dokumentation bezieht sich auf die WeeChat Version ≥ 0.3.0. Es sollte aber
vorzugsweise immer die aktuell veröffentlichte Version von WeeChat genutzt werden.
toc::[]
[[general]]
== Allgemein
@@ -28,7 +20,7 @@ toc::[]
Somit lautet der vollständige Name "Wee Enhanced Environment for Chat".
"Wee" bedeutet außerdem "sehr klein" (und ja, es gibt noch eine andere Bedeutung des Wortes.
Aber diese Bedeutung trifft nicht auf WeeChat zu!)
Aber dieses trifft nicht auf WeeChat zu!)
[[why_choose_weechat]]
=== Weshalb sollte man WeeChat nutzen? - X-Chat und Irssi sind doch auch sehr gut...
@@ -44,7 +36,7 @@ https://weechat.org/about/features
[[gui]]
=== Ich habe gehört es gibt verschiedene GUIs für WeeChat. Wie kann ich diese kompilieren bzw. nutzen?
Die verschiedenen grafischen Oberflächen findet man auf folgender Seite:
Die grafischen Oberflächen findet man auf folgender Seite:
https://weechat.org/about/features
[[compile_git]]
@@ -75,7 +67,7 @@ brew info weechat
WeeChat kann durch folgenden Befehl installiert werden:
----
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
brew install weechat --with-python --with-perl
----
[[lost]]
@@ -772,8 +764,7 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
weniger Speicherlecks besitzt, als eine vorherige Version)
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Fifo,
Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Javascript, Xfer (wird für DCC
benötigst)
Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Xfer (wird für DCC benötigst)
* installiere ausschließlich Skripten die Du auch nutzt
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
Fall, einfach den Eintrag in folgender Option leer lassen:
+9 -23
View File
@@ -2,15 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: de
:toc2:
:max-width: 100%
Übersetzer:
* Frank Zacharias <frank_zacharias@web.de>, 2006
* Juergen Descher <jhdl@gmx.net>, 2009
* Nils Görs <weechatter@arcor.de>, 2009-2015
:toc:
[[start]]
@@ -108,11 +100,12 @@ Erweiterungen sollten aufgelistet werden.
[[create_irc_server]]
== Einen IRC-Server erstellen
Um eine Verbindung zu einem IRC Server herzustellen wird der
`/server` Befehl verwendet. Beispiel:
Der Server 'freenode' wird standardmäßig beim ersten Programmstart erstellt.
Ein weiterer IRC Server kann mit dem `/server` Befehl erstellt werden. Zum Beispiel:
----
/server add freenode chat.freenode.net
/server add oftc irc.oftc.net/6667
----
Falls man nicht mehr weiter weiß, einfach die Hilfe verwenden:
@@ -338,19 +331,12 @@ erhältlich (z.B. weechat-plugins).
Erweiterungen werden -sofern welche gefunden worden sind- automatisch geladen (Bitte beachte
die Dokumentation zum installieren/entfernen von Erweiterungen und/oder Skripten).
Viele externe Skripten (von Drittprogrammierern) sind für WeeChat verfügbar. Diese
Skripten können mittels des `/script` Befehls heruntergeladen und installiert werden:
----
/script install iset.pl
----
siehe `/help script` für weitere Informationen.
Eine Liste aller verfügbaren Skripten kann man sich in WeeChat mittels
`/script` anzeigen lassen oder man besucht folgende Webseite:
Viele externe Skripten (von Mitwirkenden) sind für WeeChat verfügbar, siehe:
https://weechat.org/scripts
Skripten können mit dem Befehl `/script` verwaltet werden (siehe `/help script` für
weitere Informationen zur Bedienung).
[[more_doc]]
== Weitere Dokumentation
+36 -70
View File
@@ -2,14 +2,8 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: de
:toc2:
:toc:
:toclevels: 3
:max-width: 100%
Übersetzer:
* Nils Görs <weechatter@arcor.de>, 2010-2015
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
@@ -22,7 +16,7 @@ https://weechat.org/doc
== Einleitung
WeeChat (Wee Enhanced Environment for Chat) ist ein freier, schneller und
schlanker Chat-Client der für verschiedene Betriebssysteme entwickelt wird.
schlanker Chat-Client der für viele Betriebssysteme entwickelt wird.
Dieses Handbuch beschreibt wie man Skripten für WeeChat schreiben kann. Dabei
werden folgende Programmiersprachen unterstützt:
@@ -33,10 +27,9 @@ werden folgende Programmiersprachen unterstützt:
* lua
* tcl
* guile (scheme)
* javascript
[NOTE]
Fast alle Beispiele in dieser Dokumentation sind für Python erstellt.
Beinahe alle Beispiele in dieser Dokumentation beziehen sich auf Python.
Allerdings ist die API für alle Skriptsprachen nahezu identisch.
[[scripts_in_weechat]]
@@ -88,15 +81,11 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
** config_new_option
** bar_new
==== Javascript
* Funktionen werden im Format `weechat.xxx(arg1, arg2, ...);` ausgeführt
[[register_function]]
=== Die "Register" Funktion
Ein WeeChat-Skript muss sich bei WeeChat "registrieren". Dazu muss das Skript
zuerst die "register" Funktion ausführen.
Jedes WeeChat Skript muss sich bei WeeChat "registrieren". Die "register" Funktion
muss deshalb der erste WeeChat Befehl sein der durch das Skript genutzt wird.
Prototyp:
@@ -119,7 +108,7 @@ Argumente:
Beispielskripten, für jede Sprache:
* Python:
* python:
[source,python]
----
@@ -129,7 +118,7 @@ weechat.register("test_python", "FlashCode", "1.0", "GPL3", "Test Skript", "", "
weechat.prnt("", "Hallo, von einem python Skript!")
----
* Perl:
* perl:
[source,perl]
----
@@ -137,7 +126,7 @@ weechat::register("test_perl", "FlashCode", "1.0", "GPL3", "Test Skript", "", ""
weechat::print("", "Hallo, von einem perl Skript!");
----
* Ruby:
* ruby:
[source,ruby]
----
@@ -148,7 +137,7 @@ def weechat_init
end
----
* Lua:
* lua:
[source,lua]
----
@@ -156,7 +145,7 @@ weechat.register("test_lua", "FlashCode", "1.0", "GPL3", "Test Skript", "", "")
weechat.print("", "Hallo, von einem lua Skript!")
----
* Tcl:
* tcl:
[source,tcl]
----
@@ -164,20 +153,12 @@ weechat::register "test_tcl" "FlashCode" "1.0" "GPL3" "Test Skript" "" ""
weechat::print "" "Hallo, von einem tcl Skript!"
----
* Guile (scheme):
* guile (scheme):
[source,lisp]
----
(weechat:register "test_scheme" "FlashCode" "1.0" "GPL3" "Test script" "" "")
(weechat:print "" "Hallo, von einem scheme Skript!")
----
* Javascript:
[source,javascript]
----
weechat.register("test_js", "FlashCode", "1.0", "GPL3", "Test Skript", "", "");
weechat.print("", "Hallo, von einem javascript Skript!");
(weechat:print "" "Hello, from scheme script!")
----
[[load_script]]
@@ -193,20 +174,18 @@ nutzen, zum Beispiel:
/script load script.lua
/script load script.tcl
/script load script.scm
/script load script.js
----
Es besteht natürlich weiterhin die Möglichkeit, individuell für jede
Skriptsprache, den entsprechenden Befehl zu nutzen:
----
/python load script.py
/perl load script.pl
/ruby load script.rb
/lua load script.lua
/tcl load script.tcl
/guile load script.scm
/javascript load script.js
/python load python/skript.py
/perl load perl/skript.pl
/ruby load ruby/skript.rb
/lua load lua/skript.lua
/tcl load tcl/skript.tcl
/guile load guile/skript.scm
----
Um Skripten automatisch beim Start von WeeChat zu laden sollte man einen Link
@@ -230,7 +209,7 @@ Die Skripten API ist nahezu identisch mit der API der C Erweiterung.
Um einen Überblick über alle API Funktionen (Prototyp, Argumente,
Rückgabe werte, Beispiele) zu erhalten werfen Sie einen Blick in
die 'WeeChat Plugin API Reference'.
Es ist wichtig das man zwischen einer 'Erweiterung' und einem 'Skript'
Es ist wichtig dass man zwischen einer 'Erweiterung' und einem 'Skript'
unterscheidet: Eine 'Erweiterung' ist eine Binärdatei die kompiliert wurde
und mittels `/plugin` geladen wird. Ein 'Skript' ist eine Textdatei welche
durch eine Erweiterung z.B. 'python' mittels dem Befehl `/python` geladen
@@ -246,7 +225,7 @@ test.py ─────► │ Skript API │ C API │ ─────► ║
└────────────┴─────────┘ ╚═════════╧════════╝
....
Gibt WeeChat einen Rückgabewert an Ihr Skript 'test.py' zurück, dann wird der
Gibt WeeChat einen Rückgabewert an Ihr Skript 'test.py' zurück wird der
Aufruf in umgekehrter Reihenfolge abgearbeitet:
....
@@ -280,7 +259,7 @@ weechat.prnt("", "Hi!")
----
[WARNING]
In vielen Funktionen wird aus Gründen der Geschwindigkeit darauf verzichtet
Aus Gründen der Geschwindigkeit wird in vielen Funktionen darauf verzichtet
die Pointer auf ihre Korrektheit zu überprüfen. Es obliegt Ihrer Verantwortung
einen gültigen Pointer zu übergeben. Sollten Sie dies nicht beachten dann werden
Sie mit einem netten Crash-Report belohnt ;)
@@ -298,7 +277,7 @@ nicht um einen Pointer).
callback Beispiele, für jede Skriptsprache:
* Python:
* python:
[source,python]
----
@@ -309,7 +288,7 @@ def timer_cb(data, remaining_calls):
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----
* Perl:
* perl:
[source,perl]
----
@@ -322,7 +301,7 @@ sub timer_cb {
weechat::hook_timer(1000, 0, 1, "timer_cb", "test");
----
* Ruby:
* ruby:
[source,ruby]
----
@@ -334,7 +313,7 @@ end
Weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
----
* Lua:
* lua:
[source,lua]
----
@@ -346,7 +325,7 @@ end
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----
* Tcl:
* tcl:
[source,tcl]
----
@@ -358,7 +337,7 @@ proc timer_cb { data remaining_calls } {
weechat::hook_timer 1000 0 1 timer_cb test
----
* Guile (scheme):
* guile (scheme):
[source,lisp]
----
@@ -370,18 +349,6 @@ weechat::hook_timer 1000 0 1 timer_cb test
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----
* Javascript:
[source,javascript]
----
function timer_cb(data, remaining_calls) {
weechat.print("", "timer! data=" + data);
return weechat.WEECHAT_RC_OK;
}
weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
----
[[script_api]]
== Skript API
@@ -524,8 +491,8 @@ Die Skript API wird dabei nur sehr oberflächlich besprochen.Um eine vollständi
==== Nachrichten anzeigen
Eine leere Zeichenkette wird häufig verwendet um den WeeChat Core Buffer zu nutzen.
Möchten Sie einen anderen Buffer nutzen dann muss der Pointer des entsprechenden Buffers
verwendet werden (Übergabe als String, siehe <<pointers,Pointer>>).
Möchten Sie einen anderen Buffer nutzen dann muss der Pointer dieses Buffers verwendet
werden (Übergabe als String, siehe <<pointers,Pointer>>).
Beispiele:
@@ -560,8 +527,7 @@ weechat.prnt(buffer, "Nachricht im #weechat Channel")
----
[NOTE]
Die print Funktion heißt in Perl/Ruby/Lua/Tcl/Guile/Javascript `print`.
In Python lautet die Funktion `prnt`.
Die print Funktion heißt in Perl/Ruby/Lua/Tcl `print`. In Python lautet die Funktion `prnt`.
[[buffers_send_text]]
==== Text in einen Buffer senden
@@ -832,7 +798,7 @@ def config_cb(data, option, value):
# ...
weechat.hook_config("plugins.var.python." + SKRIPT_NAME + ".*", "config_cb", "")
# für die jeweilige Programmiersprache muss "python" durch perl/ruby/lua/tcl/guile/javascript ersetzt werden.
# für die jeweilige Programmiersprache muss "python" durch "perl", "ruby", "lua" oder "tcl" ersetzt werden.
----
[[config_options_weechat]]
@@ -895,10 +861,10 @@ weechat.hook_signal("*,irc_in2_join", "join_cb", "")
----
[[irc_modify_messages]]
==== Nachrichten ändern
==== Modify messages
Die IRC Erweiterung verschickt einen "modifier" mit Namen "irc_in_xxx" ("xxx" steht für den
Namen des IRC Befehls) falls eine Nachricht empfangen wurde die dann modifiziert werden kann.
Namen des IRC Befehls) um eine Nachricht zu empfangen die dann modifiziert werden kann.
[source,python]
----
@@ -953,7 +919,7 @@ else:
[NOTE]
Versionen ≤ 0.3.1.1 geben einen leeren String zurück wenn man 'info_get("version_number")'
aufruft. Deshalb müssen Sie prüfen ob der Rückgabewert *nicht* leer ist.
aufruft. Deshalb müssen Sie prüfen ob der Rückgabe wert *nicht* leer ist.
Um die Version als String zu erhalten:
@@ -998,6 +964,6 @@ if infolist:
----
[IMPORTANT]
Vergewissern Sie sich `infolist_free` aufzurufen um den Speicher wieder
Vergessen Sie bitte nicht `infolist_free` aufzurufen um den Speicher wieder
frei zu geben der durch die Infoliste belegt wurde. WeeChat gibt diesen Speicher
nicht automatisch frei.
nicht von sich aus frei.
+1 -8
View File
@@ -2,14 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: de
:toc2:
:max-width: 100%
Übersetzer:
* Juergen Descher <jhdl@gmx.net>, 2009
* Nils Görs <weechatter@arcor.de>, 2009-2015
:toc:
[[purpose]]
+66 -176
View File
@@ -2,14 +2,8 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: de
:toc2:
:toclevels: 3
:max-width: 100%
Übersetzer:
* Nils Görs <weechatter@arcor.de>, 2010-2015
:toc:
:toclevels: 4
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
@@ -71,10 +65,10 @@ Binärpakete sind für folgende Distributionen erhältlich:
* Fedora Core: `yum install weechat`
* Sourcemage: `cast weechat`
zusätzliche Pakete können bzw. sollten installiert werden. Zum Beispiel: weechat-plugins.
zusätzliche Pakete können/sollten installiert werden. Zum Beispiel: weechat-plugins.
Für andere Distributionen schauen Sie bitte in die jeweilige Anleitung,
wie man Pakete installiert.
wie Pakete installiert werden können.
[[source_package]]
=== Quellpakete
@@ -89,93 +83,42 @@ Unter OS X kann http://brew.sh/[Homebrew] verwendet werden:
[[dependencies]]
==== Abhängigkeiten
folgende Tabelle beschreibt, welche Pakete zwingend notwendig sind um WeeChat
zu kompilieren und welche Pakete optional genutzt werden können.
folgende Tabelle beschreibt, welche Pakete zwingend notwendig sind um WeeChat zu kompilieren und
welche Pakete optional genutzt werden können.
[width="100%",cols="5,^3,^3,.^13",options="header"]
|===
| Paket ^(1)^ | Version | benötigt | Funktion
| cmake | | *ja* |
Zum kompilieren (autotools ist möglich. cmake wird aber empfohlen)
| pkg-config | | *ja* |
entdeckt installierte Bibliotheken
| libncursesw5-dev ^(2)^ | | *ja* |
Ncurses Oberfläche
| libcurl4-gnutls-dev | | *ja* |
URL Transfer
| zlib1g-dev | | *ja* |
Kompression für Pakete, die mittels Relay- (WeeChat Protokoll),
Script-Erweiterung übertragen werden
| libgcrypt20-dev | | *ja* |
Geschützte Daten, IRC SASL Authentifikation (DH-BLOWFISH/DH-AES),
Skript-Erweiterung
| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | |
SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der
Relay-Erweiterung, IRC SASL Authentifikation (ECDSA-NIST256P-CHALLENGE)
| gettext | | |
Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist
englisch)
| ca-certificates | | |
Zertifikate für SSL Verbindungen
| libaspell-dev oder libenchant-dev | | |
Aspell Erweiterung
| python-dev | ≥ 2.5 ^(4)^ | |
Python Erweiterung
| libperl-dev | | |
Perl Erweiterung
| ruby2.1-dev | ≥ 1.8 | |
Ruby Erweiterung
| liblua5.2-dev | | |
Lua Erweiterung
| tcl-dev | ≥ 8.5 | |
Tcl Erweiterung
| guile-2.0-dev | ≥ 2.0 | |
Guile (scheme) Erweiterung
| libv8-dev | ≤ 3.24.3 | |
Javascript Erweiterung
| asciidoc | ≥ 8.5.0 | |
Zum Erstellen der man page und der Dokumentation
| source-highlight | | |
Syntax Highlight für Quelltext in Dokumentation
| xsltproc, docbook-xml, docbook-xsl | | |
Erstellt man page
| libcpputest-dev | ≥ 3.4 | |
Testlauf
| C++ compiler | | |
Testlauf, javascript Erweiterung
| Paket ^(1)^ | Version | benötigt | Funktion
| cmake | | *ja* | Zum kompilieren (autotools ist möglich. cmake wird aber empfohlen)
| pkg-config | | *ja* | entdeckt installierte Bibliotheken
| libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche
| libcurl4-gnutls-dev | | *ja* | URL Transfer
| zlib1g-dev | | *ja* | Kompression für Pakete, die mittels Relay- (WeeChat Protokoll), Script-Erweiterung übertragen werden
| libgcrypt20-dev | | *ja* | Geschützte Daten, IRC SASL Authentifikation (DH-BLOWFISH/DH-AES), Skript-Erweiterung
| libgnutls28-dev | ≥ 2.2.0 | | SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der Relay-Erweiterung
| gettext | | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch)
| ca-certificates | | | Zertifikate für SSL Verbindungen
| libaspell-dev oder libenchant-dev | | | Aspell Erweiterung
| python-dev | ≥ 2.5 ^(3)^ | | Python Erweiterung
| libperl-dev | | | Perl Erweiterung
| ruby2.1-dev | ≥ 1.8 | | Ruby Erweiterung
| liblua5.2-dev | | | Lua Erweiterung
| tcl-dev | ≥ 8.5 | | Tcl Erweiterung
| guile-2.0-dev | ≥ 2.0 | | Guile (scheme) Erweiterung
| asciidoc | ≥ 8.5.0 | | Zum Erstellen der man page und der Dokumentation
| source-highlight | | | Syntax Highlight für Quelltext in Dokumentation
| xsltproc,
docbook-xml, docbook-xsl | | | Erstellt man page
| libcpputest-dev | ≥ 3.4 | .2+| Testlauf
| C++ compiler | |
|===
[NOTE]
^(1)^ Paketnamen wurden von der Debian GNU/Linux Distribution übernommen.
Versionen und Paketnamen können für andere Distributionen abweichend sein. +
^(2)^ WeeChat kann auch mit libncurses5-dev kompiliert werden. Dies wird aber
*NICHT* empfohlen (es treten dabei Darstellungsfehler mit breiten Zeichen
auf). +
^(3)^ Gnutls ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
ECDSA-NIST256P-CHALLENGE durchzuführen. +
^(4)^ Die empfohlene Version ist 2.7 (alle Skripten laufen mit der Version 2.7,
^(1)^ Paketnamen wurden von der Debian GNU/Linux Distribution übernommen. Versionen und Paketnamen
können für andere Distributionen abweichend sein. +
^(2)^ WeeChat kann auch mit libncurses5-dev kompiliert werden. Dies wird aber *NICHT* empfohlen (es
treten dabei Darstellungsfehler mit breiten Zeichen auf). +
^(3)^ Die empfohlene Version ist 2.7 (alle Skripten laufen mit der Version 2.7,
aber nicht mit Version ≤ 2.6 oder ≥ 3.0).
[[compile_with_cmake]]
@@ -259,9 +202,6 @@ Liste von häufig verwendeten Optionen:
| ENABLE_IRC | `ON`, `OFF` | ON |
kompiliert <<irc_plugin,IRC Erweiterung>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Javascript Erweiterung>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Unterstützung großer Dateien.
@@ -297,8 +237,8 @@ Liste von häufig verwendeten Optionen:
kompiliert <<scripts_plugins,Script Erweiterung>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby,
Lua, Tcl, Guile, Javascript).
kompiliert <<scripts_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby, Lua, Tcl,
Guile).
| ENABLE_TCL | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Tcl Erweiterung>>.
@@ -330,9 +270,9 @@ $ ccmake ..
[WARNING]
Ausschließlich das Kompilieren mittels cmake wird offiziell unterstützt. Autotools
sollte nur verwendet werden falls man keine Möglichkeit hat cmake zu nutzen. +
Für die Erstellung mittels autotools werden zusätzliche Pakete benötigt und es ist
zeitintensiver als cmake.
sollte nur verwendet werden, falls man keine Möglichkeit hat, cmake zu nutzen. +
Das Erstellen mittels autotools benötigt zusätzliche Pakete und es ist langsamer
als cmake.
* Installation in das Systemverzeichnis (benötigt 'root' Privilegien):
@@ -367,7 +307,7 @@ $ ./configure --help
=== Git Quellen
Warnung: Git Quellen sollten nur von erfahrenen Nutzern verwendet werden. Eventuell lassen
sich die Quellen nicht kompilieren oder der Code ist nicht stabil. Sie sind hiermit gewarnt!
sich die Quellen nicht kompilieren oder der Code ist nicht stabil. Sie sind gewarnt!
Um die Git Quellen zu beziehen nutzen Sie folgende Befehle:
@@ -380,7 +320,7 @@ Folgen Sie bitte der Anleitung zur Erstellung aus Quellpaketen (siehe <<source_p
[[report_crashes]]
=== Abstürze melden
Falls WeeChat abgestürzt sein sollte und Sie diesen Fehler melden möchten:
Falls es zu einem Absturz von WeeChat gekommen ist und Sie diesen Fehler melden möchten:
* kompilieren Sie WeeChat mit Debug-Information (oder installieren Sie das Binärpaket mit Debug-Information)
* aktivieren Sie 'core' Dateien auf Ihrem System
@@ -395,7 +335,7 @@ Bei der Kompilierung mit cmake muss folgende Option gesetzt werden:
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
----
Bei der Kompilierung mit autotools ist debug standardmäßig aktiviert (`--with-debug=1`).
Bei der Kompilierung mit autotools, ist debug standardmäßig aktiviert (`--with-debug=1`).
Wird ein Binärpaket genutzt dann muss zusätzlich das Paket 'weechat-dbg' installiert werden.
@@ -428,7 +368,7 @@ ulimit -c 200000
[[gdb_backtrace]]
==== Rückverfolgung mit gdb
Falls WeeChat abstürzen sollte, dann wird auf Ihrem System eine 'core' bzw. 'core.12345' Datei
Falls WeeChat abstürzen sollte wird auf Ihrem System eine 'core' bzw. 'core.12345' Datei
('12345' ist die Prozess-Id) erzeugt.
Diese Datei wird in dem Verzeichnis erzeugt aus welchem Sie WeeChat gestartet haben (dies
ist *nicht* das Verzeichnis in welchem sich WeeChat befindet!).
@@ -440,8 +380,12 @@ in '/home/xxx/'. Nun wird gdb mit folgendem Befehl aufgerufen:
gdb /usr/bin/weechat /home/xxx/core
----
Nun startet man 'gdb' und führt den Befehl `bt full` innerhalb der gdb Umgebung aus, um die
Fehlermeldung auszugeben. Eine Fehlermeldung von gdb sieht z.B. wie folgt aus:
[NOTE]
Ist das Binärpaket 'weechat-dbg' (z.B. Debian) installiert dann sollte dieser Pfad zum
starten von WeeChat genutzt werden: '/usr/lib/debug/usr/bin/weechat'
Nun startet man 'gdb' und führt den Befehl `bt full` innerhalb gdb aus um die Fehlermeldung
auszugeben. Eine Fehlermeldung von gdb sieht z.B. wie folgt aus:
----
(gdb) set logging file /tmp/crash.txt
@@ -611,13 +555,13 @@ andere Items die man nutzen kann (die aber nicht standardmäßig in einer Bar ak
[[buffers_and_windows]]
=== Buffer und Fenster
Ein 'Buffer' setzt sich zusammen aus einer Nummer, besitzt einem Namen, hat Zeilen die angezeigt
Ein 'Buffer' besteht aus einer Nummer, besitzt einem Namen, hat Zeilen die angezeigt
werden (und noch anderen Daten).
Beispiele von Buffern:
* Core Buffer (wird durch WeeChat beim Programmstart erstellt und kann nicht geschlossen werden!)
* IRC Server (hier werden die Nachrichten ausgegeben die der Server verschickt)
* Core Buffer (wird durch WeeChat beim Starten erstellt und kann nicht geschlossen werden!)
* IRC Server (hier werden die Nachrichten ausgegeben, die der Server verschickt)
* IRC Channel
* IRC Privat (wird auch Query-Buffer genannt)
@@ -625,7 +569,7 @@ Ein 'Fenster' ist ein Bildschirmbereich der Buffer darstellt. Es ist möglich
den Bildschirm in mehrere Fenster aufzuteilen.
Jedes Fenster stellt einen Buffer dar. Ein Buffer kann unsichtbar sein (er wird
in einem Fenster nicht angezeigt) oder ein Buffer wird durch ein oder mehrere Fenster
in einem Fenster nicht angezeigt). Oder ein Buffer wird durch ein oder mehrere Fenster
angezeigt.
Beispiele für eine horizontal Fensteraufteilung (`/window splith`):
@@ -723,7 +667,7 @@ Beispiele für eine vertikale und horizontale Fensteraufteilung:
[[bars]]
=== Bars
Eine 'Bar' ist ein Bereich der parallel, zum Chatfenster, jedwede Art von Text enthalten kann.
Eine 'Bar' ist ein Bereich, der neben dem Chatfenster, jedwede Art von Text enthalten kann.
Eine Bar kann mittels `weechat.bar.name.option` konfiguriert werden. Dabei steht `name`,
für den Namen der Bar und `option` für die Option für diese Bar.
@@ -801,9 +745,9 @@ Aufzählung von Bar-Optionen:
==== Items
Die Option 'items' ist ein String, mit einer Anzahl von Bar-Items. Diese werden
durch Kommata voneinander getrennt (auf dem Bildschirm wird das Komma durch ein
durch Komma voneinander getrennt (auf dem Bildschirm wird das Komma durch ein
Leerzeichen ersetzt). Möchte man die Items ohne Leerzeichen darstellen, nutzt
man ein "+" um die Items zu trennen.
man ein "+", zwischen den Items.
Eine Liste von Bar-Items kann man sich mit dem Befehl `/bar listitems` anzeigen lassen.
@@ -958,8 +902,8 @@ Gleiche Bedingungen, aber die Benutzerliste wird im Buffer '&bitlbee' immer ange
=== einfacher Anzeigemodus
Ein vereinfachter Anzeigemodus, mit Namen "bare", kann aktiviert werden um
überlange URLs ganz einfach mit der Maus anzuklicken oder um Text mit der
Maus zu markieren.
überlange URLs ganz einfach mit der Maus anzuklicken oder um Text, mit der
Maus, zu markieren.
Der vereinfachte Anzeigemodus hat folgende Funktionen:
@@ -968,11 +912,11 @@ Der vereinfachte Anzeigemodus hat folgende Funktionen:
Status, Input, ...)
* die Mausunterstützung ist deaktiviert (sofern sie aktiviert war): die Maus kann
wie in einem Terminal genutzt werden um URLs anzuklicken oder Text zu markieren
* ncurses wird nicht genutzt, deshalb werden URLs am Ende der Zeile nicht abgeschnitten.
* ncurses wird nicht genutzt, deshalb werden URLs nicht am Ende der Zeile angeschnitten.
Der Standardtastenbefehl um den vereinfachten Textmodus zu aktivieren ist key[alt-l],
mit dem selben Tastenbefehl wird dieser Modus wieder beendet (dieser Modus kann auch
mit jeder beliegen Tasteneingabe beendet werden, siehe Option
mit dem selben Tastenbefehl wird dieser Modus wieder beendet (es kann auch mit jeder
beliegen Tasteneingabe der Modus beendet werden, siehe Option
<<option_weechat.look.bare_display_exit_on_input,weechat.look.bare_display_exit_on_input>>).
Das Format für die Zeitanzeige kann mit folgender Option angepasst werden
@@ -1820,7 +1764,7 @@ Beispiele wie man Erweiterungen lädt, entfernt und auflistet:
Standarderweiterungen:
[width="100%",cols="^1,5",options="header"]
[width="50%",cols="^1,5",options="header"]
|===
| Erweiterung | Beschreibung
| alias | definiert Alias für Befehle
@@ -1838,7 +1782,6 @@ Standarderweiterungen:
| lua | Lua-Skript API
| tcl | Tcl-Skript API
| guile | Guile(scheme)-Skript API
| javascript | Javascript-Skript API
| trigger | Veränderung von Text und Ausführen von Befehlen bei einem Ereignis, welche durch WeeChat oder eine Erweiterung ausgelöst werden
| xfer | Datentransfer und Direktchat
|===
@@ -2269,10 +2212,9 @@ Für weiterreichende Informationen lesen Sie bitte: http://www.oftc.net/oftc/Nic
WeeChat unterstützt eine SASL Authentifikation, mittels verschiedener Mechanismen:
* 'plain': Passwort liegt in Klarschrift vor (Standard)
* 'ecdsa-nist256p-challenge': Abgleich von öffentlichem/privatem Schlüssel
* 'external': SSL Zertifikat welches auf Client Seite vorliegt
* 'dh-blowfish': Passwort wird mittels blowfish verschlüsselt
* 'dh-aes': Passwort wird mittels AES verschlüsselt
* 'external': SSL Zertifikat welches auf Client Seite vorliegt
[NOTE]
Die "gcrypt" Bibliothek wird beim kompilieren von WeeChat benötigt um
@@ -2282,55 +2224,8 @@ Optionen für Server sind:
* 'sasl_mechanism': Mechanismus welcher genutzt werden soll (siehe oben)
* 'sasl_timeout': Zeitüberschreitung für Authentifizierung (in Sekunden)
* 'sasl_fail': auszuführende Aktion falls die SASL Authentifizierung fehlschlägt
* 'sasl_username': Username (Nickname)
* 'sasl_password': Passwort
* 'sasl_key': Datei mit privatem ECC Schlüssel (für den
'ecdsa-nist256p-challenge' Mechanismus)
[[irc_sasl_ecdsa_nist256p_challenge]]
===== SASL ECDSA-NIST256P-CHALLENGE
Es muss ein privater Schlüssel erstellt werden um sich mittels des
ECDSA-NIST256P-CHALLENGE Mechanismus authentifizieren zu können (es wird
dadurch kein Passwort während des Verbindungsaufbaus benötigt).
Ein Schlüssel kann mit folgendem Befehl erzeugt werden:
----
$ openssl ecparam -genkey -name prime256v1 >~/.weechat/ecdsa.pem
----
Um den öffentlichen Schlüssel zu erhalten (base64 enkodiert) muss
folgender Befehl ausgeführt werden:
----
$ openssl ec -noout -text -conv_form compressed -in ~/.weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64
----
Nun Verbindung zum Server herstellen, identifizieren (z.B. mittels "nickserv identify")
und den öffentlichen Schlüssel für den eigenen Zugang festlegen (der base64 Schlüssel
im Beispiel muss durch den eigenen öffentlichen Schlüssel ersetzt werden:
----
/connect freenode
/msg nickserv identify your_password
/msg nickserv set pubkey Av8k1FOGetUDq7sPMBfufSIZ5c2I/QYWgiwHtNXkVe/q
----
Konfiguration der SASL Optionen des Servers:
----
/set irc.server.freenode.sasl_mechanism ecdsa-nist256p-challenge
/set irc.server.freenode.sasl_username "your_nickname"
/set irc.server.freenode.sasl_key "%h/ecdsa.pem"
----
Erneut mit dem Server verbinden:
----
/reconnect freenode
----
[[irc_tor_freenode]]
==== Verbindung zu Freenode mittels TOR/SASL herstellen
@@ -2936,8 +2831,8 @@ Die URI muss immer auf "/weechat" enden ('irc' und 'weechat' Protokoll).
[[scripts_plugins]]
=== Erweiterungen für Skripten
WeeChat unterstützt sechs Skript-Erweiterungen: Python, Perl, Ruby, Lua, Tcl,
Guile (scheme) und Javascript.
WeeChat unterstützt sechs Skript-Erweiterungen: Python, Perl, Ruby, Lua, Tcl und Guile
(scheme).
Mit diesen Erweiterungen kann für die jeweilige Skript-Sprache, Skripten geladen, ausgeführt
und entfernt werden.
@@ -3001,11 +2896,6 @@ include::autogen/user/tcl_commands.asciidoc[]
include::autogen/user/guile_commands.asciidoc[]
[[javascript_commands]]
==== Javascript Befehle
include::autogen/user/javascript_commands.asciidoc[]
[[trigger_plugin]]
=== Trigger Erweiterung
@@ -3474,7 +3364,7 @@ Das Hashtable enthält alle Schlüssel/Werte (Typ: string/string).
Zeigt URLs in grün an:
----
/trigger add url_color modifier weechat_print "${tg_notify}" "==\S+://\S+==${color:green}${re:0}${color:reset}=="
/trigger add url_color modifier weechat_print "${tg_notify}" "==\S+://\S+==${color:green}$0${color:reset}=="
----
[NOTE]
+189 -178
View File
@@ -98,7 +98,6 @@ PLUGIN_LIST = {
'script': 'o',
'perl': '',
'python': '',
'javascript': '',
'ruby': '',
'lua': '',
'tcl': '',
@@ -137,56 +136,6 @@ IGNORE_COMPLETIONS_ITEMS = (
)
class AutogenDoc(object):
"""A class to write auto-generated doc files."""
def __init__(self, directory, doc, name):
"""Initialize auto-generated doc file."""
self.filename = os.path.join(directory, doc, name + '.asciidoc')
self.filename_tmp = self.filename + '.tmp'
self._file = open(self.filename_tmp, 'w')
self.write('//\n')
self.write('// This file is auto-generated by script docgen.py.\n')
self.write('// DO NOT EDIT BY HAND!\n')
self.write('//\n')
def write(self, string):
"""Write a line in auto-generated doc file."""
self._file.write(string)
def update(self, obj_name, num_files, num_files_updated):
"""Update doc file if needed (if content has changed)."""
# close temp file
self._file.close()
# compute checksum on old file
try:
with open(self.filename, 'r') as _file:
shaold = hashlib.sha256(_file.read()).hexdigest()
except IOError:
shaold = ''
# compute checksum on new (temp) file
try:
with open(self.filename_tmp, 'r') as _file:
shanew = hashlib.sha256(_file.read()).hexdigest()
except IOError:
shanew = ''
# compare checksums
if shaold != shanew:
# update doc file
if os.path.exists(self.filename):
os.unlink(self.filename)
os.rename(self.filename_tmp, self.filename)
num_files_updated['total1'] += 1
num_files_updated['total2'] += 1
num_files_updated[obj_name] += 1
else:
os.unlink(self.filename_tmp)
# update counters
num_files['total1'] += 1
num_files['total2'] += 1
num_files[obj_name] += 1
def get_commands():
"""
Get list of WeeChat/plugins commands as dictionary with 3 indexes: plugin,
@@ -402,21 +351,31 @@ def get_irc_colors():
return irc_colors
def get_plugins_priority():
"""
Get priority of default WeeChat plugins as a dictionary.
"""
plugins_priority = {}
infolist = weechat.infolist_get('plugin', '', '')
while weechat.infolist_next(infolist):
name = weechat.infolist_string(infolist, 'name')
priority = weechat.infolist_integer(infolist, 'priority')
if priority in plugins_priority:
plugins_priority[priority].append(name)
else:
plugins_priority[priority] = [name]
weechat.infolist_free(infolist)
return plugins_priority
def update_file(oldfile, newfile, num_files, num_files_updated, obj):
"""Update a doc file."""
try:
with open(oldfile, 'r') as _file:
shaold = hashlib.sha224(_file.read()).hexdigest()
except IOError:
shaold = ''
try:
with open(newfile, 'r') as _file:
shanew = hashlib.sha224(_file.read()).hexdigest()
except IOError:
shanew = ''
if shaold != shanew:
if os.path.exists(oldfile):
os.unlink(oldfile)
os.rename(newfile, oldfile)
num_files_updated['total1'] += 1
num_files_updated['total2'] += 1
num_files_updated[obj] += 1
else:
if os.path.exists(oldfile):
os.unlink(newfile)
num_files['total1'] += 1
num_files['total2'] += 1
num_files[obj] += 1
# pylint: disable=too-many-locals, too-many-branches, too-many-statements
@@ -435,7 +394,6 @@ def docgen_cmd_cb(data, buf, args):
completions = get_completions()
url_options = get_url_options()
irc_colors = get_irc_colors()
plugins_priority = get_plugins_priority()
# get path and replace ~ by home if needed
path = weechat.config_get_plugin('path')
@@ -469,31 +427,37 @@ def docgen_cmd_cb(data, buf, args):
# write commands
for plugin in commands:
doc = AutogenDoc(directory, 'user', plugin + '_commands')
filename = directory + '/user/' + plugin + '_commands.asciidoc'
tmpfilename = filename + '.tmp'
_file = open(tmpfilename, 'w')
for command in sorted(commands[plugin]):
_cmd = commands[plugin][command]
args = translate(_cmd['args'])
args_formats = args.split(' || ')
desc = translate(_cmd['description'])
args_desc = translate(_cmd['args_description'])
doc.write('[[command_{0}_{1}]]\n'.format(plugin, command))
doc.write('[command]*`{0}`* {1}::\n\n'.format(command, desc))
doc.write('----\n')
_file.write('[[command_{0}_{1}]]\n'.format(plugin, command))
_file.write('[command]*`{0}`* {1}::\n\n'.format(command, desc))
_file.write('----\n')
prefix = '/' + command + ' '
if args_formats != ['']:
for fmt in args_formats:
doc.write(prefix + fmt + '\n')
_file.write(prefix + fmt + '\n')
prefix = ' ' * len(prefix)
if args_desc:
doc.write('\n')
_file.write('\n')
for line in args_desc.split('\n'):
doc.write(line + '\n')
doc.write('----\n\n')
doc.update('commands', num_files, num_files_updated)
_file.write(line + '\n')
_file.write('----\n\n')
_file.close()
update_file(filename, tmpfilename, num_files, num_files_updated,
'commands')
# write config options
for config in options:
doc = AutogenDoc(directory, 'user', config + '_options')
filename = directory + '/user/' + config + '_options.asciidoc'
tmpfilename = filename + '.tmp'
_file = open(tmpfilename, 'w')
for section in sorted(options[config]):
for option in sorted(options[config][section]):
_opt = options[config][section][option]
@@ -536,93 +500,98 @@ def docgen_cmd_cb(data, buf, args):
'only, not background): \"*\" for bold, '
'\"!\" for reverse, \"/\" for italic, '
'\"_\" for underline')
doc.write('* [[option_{0}.{1}.{2}]] *{3}.{4}.{5}*\n'
''.format(config, section, option, config,
section, option))
doc.write('** {0}: `{1}`\n'.format(_('description'), desc))
doc.write('** {0}: {1}\n'.format(_('type'), type_nls))
doc.write('** {0}: {1} ({2}: `{3}`)\n'
''.format(_('values'), values,
_('default value'), default_value))
_file.write('* [[option_{0}.{1}.{2}]] *{3}.{4}.{5}*\n'
''.format(config, section, option, config,
section, option))
_file.write('** {0}: `{1}`\n'.format(_('description'),
desc))
_file.write('** {0}: {1}\n'.format(_('type'), type_nls))
_file.write('** {0}: {1} ({2}: `{3}`)\n'
''.format(_('values'), values,
_('default value'), default_value))
if null_value_allowed:
doc.write('** {0}\n'.format(
_('undefined value allowed (null)')))
doc.write('\n')
doc.update('options', num_files, num_files_updated)
# write IRC colors
doc = AutogenDoc(directory, 'user', 'irc_colors')
doc.write('[width="30%",cols="^2m,3",options="header"]\n')
doc.write('|===\n')
doc.write('| {0} | {1}\n\n'
''.format(_('IRC color'), _('WeeChat color')))
for color in irc_colors:
doc.write('| {0} | {1}\n'
''.format(escape(color['color_irc']),
escape(color['color_weechat'])))
doc.write('|===\n')
doc.update('irc_colors', num_files, num_files_updated)
_file.write('** {0}\n'
''.format(
_('undefined value allowed (null)')))
_file.write('\n')
_file.close()
update_file(filename, tmpfilename, num_files, num_files_updated,
'options')
# write infos hooked
doc = AutogenDoc(directory, 'plugin_api', 'infos')
doc.write('[width="100%",cols="^1,^2,6,6",options="header"]\n')
doc.write('|===\n')
doc.write('| {0} | {1} | {2} | {3}\n\n'
''.format(_('Plugin'), _('Name'), _('Description'),
_('Arguments')))
filename = directory + '/plugin_api/infos.asciidoc'
tmpfilename = filename + '.tmp'
_file = open(tmpfilename, 'w')
_file.write('[width="100%",cols="^1,^2,6,6",options="header"]\n')
_file.write('|===\n')
_file.write('| {0} | {1} | {2} | {3}\n\n'
''.format(_('Plugin'), _('Name'), _('Description'),
_('Arguments')))
for plugin in sorted(infos):
for info in sorted(infos[plugin]):
_inf = infos[plugin][info]
desc = translate(_inf['description'])
args_desc = translate(_inf['args_description'] or '-')
doc.write('| {0} | {1} | {2} | {3}\n\n'
''.format(escape(plugin), escape(info),
escape(desc), escape(args_desc)))
doc.write('|===\n')
doc.update('infos', num_files, num_files_updated)
_file.write('| {0} | {1} | {2} | {3}\n\n'
''.format(escape(plugin), escape(info),
escape(desc), escape(args_desc)))
_file.write('|===\n')
_file.close()
update_file(filename, tmpfilename, num_files, num_files_updated,
'infos')
# write infos (hashtable) hooked
doc = AutogenDoc(directory, 'plugin_api', 'infos_hashtable')
doc.write('[width="100%",cols="^1,^2,6,6,6",options="header"]\n')
doc.write('|===\n')
doc.write('| {0} | {1} | {2} | {3} | {4}\n\n'
''.format(_('Plugin'), _('Name'), _('Description'),
_('Hashtable (input)'), _('Hashtable (output)')))
filename = directory + '/plugin_api/infos_hashtable.asciidoc'
tmpfilename = filename + '.tmp'
_file = open(tmpfilename, 'w')
_file.write('[width="100%",cols="^1,^2,6,6,6",options="header"]\n')
_file.write('|===\n')
_file.write('| {0} | {1} | {2} | {3} | {4}\n\n'
''.format(_('Plugin'), _('Name'), _('Description'),
_('Hashtable (input)'), _('Hashtable (output)')))
for plugin in sorted(infos_hashtable):
for info in sorted(infos_hashtable[plugin]):
_inh = infos_hashtable[plugin][info]
desc = translate(_inh['description'])
args_desc = translate(_inh['args_description'])
output_desc = translate(_inh['output_description']) or '-'
doc.write('| {0} | {1} | {2} | {3} | {4}\n\n'
''.format(escape(plugin), escape(info),
escape(desc), escape(args_desc),
escape(output_desc)))
doc.write('|===\n')
doc.update('infos_hashtable', num_files, num_files_updated)
_file.write('| {0} | {1} | {2} | {3} | {4}\n\n'
''.format(escape(plugin), escape(info),
escape(desc), escape(args_desc),
escape(output_desc)))
_file.write('|===\n')
_file.close()
update_file(filename, tmpfilename, num_files, num_files_updated,
'infos_hashtable')
# write infolists hooked
doc = AutogenDoc(directory, 'plugin_api', 'infolists')
doc.write('[width="100%",cols="^1,^2,5,5,5",options="header"]\n')
doc.write('|===\n')
doc.write('| {0} | {1} | {2} | {3} | {4}\n\n'
''.format(_('Plugin'), _('Name'), _('Description'),
_('Pointer'), _('Arguments')))
filename = directory + '/plugin_api/infolists.asciidoc'
tmpfilename = filename + '.tmp'
_file = open(tmpfilename, 'w')
_file.write('[width="100%",cols="^1,^2,5,5,5",options="header"]\n')
_file.write('|===\n')
_file.write('| {0} | {1} | {2} | {3} | {4}\n\n'
''.format(_('Plugin'), _('Name'), _('Description'),
_('Pointer'), _('Arguments')))
for plugin in sorted(infolists):
for infolist in sorted(infolists[plugin]):
_inl = infolists[plugin][infolist]
desc = translate(_inl['description'])
pointer_desc = translate(_inl['pointer_description']) or '-'
args_desc = translate(_inl['args_description']) or '-'
doc.write('| {0} | {1} | {2} | {3} | {4}\n\n'
''.format(escape(plugin), escape(infolist),
escape(desc), escape(pointer_desc),
escape(args_desc)))
doc.write('|===\n')
doc.update('infolists', num_files, num_files_updated)
_file.write('| {0} | {1} | {2} | {3} | {4}\n\n'
''.format(escape(plugin), escape(infolist),
escape(desc), escape(pointer_desc),
escape(args_desc)))
_file.write('|===\n')
_file.close()
update_file(filename, tmpfilename, num_files, num_files_updated,
'infolists')
# write hdata hooked
doc = AutogenDoc(directory, 'plugin_api', 'hdata')
filename = directory + '/plugin_api/hdata.asciidoc'
tmpfilename = filename + '.tmp'
_file = open(tmpfilename, 'w')
for plugin in sorted(hdata):
for hdata_name in sorted(hdata[plugin]):
_hda = hdata[plugin][hdata_name]
@@ -630,68 +599,110 @@ def docgen_cmd_cb(data, buf, args):
variables = _hda['vars']
variables_update = _hda['vars_update']
lists = _hda['lists']
doc.write('* \'{0}\': {1}\n'.format(escape(hdata_name),
escape(desc)))
doc.write('** {0}: {1}\n'.format(_('plugin'),
escape(plugin)))
doc.write('** {0}:\n{1}'.format(_('variables'),
escape(variables)))
_file.write('* \'{0}\': {1}\n'.format(escape(hdata_name),
escape(desc)))
_file.write('** {0}: {1}\n'.format(_('plugin'),
escape(plugin)))
_file.write('** {0}:\n{1}'.format(_('variables'),
escape(variables)))
if variables_update:
doc.write('** {0}:\n{1}'.format(
_file.write('** {0}:\n{1}'.format(
_('update allowed'),
escape(variables_update)))
if lists:
doc.write('** {0}:\n{1}'.format(_('lists'),
escape(lists)))
doc.update('hdata', num_files, num_files_updated)
_file.write('** {0}:\n{1}'.format(_('lists'),
escape(lists)))
_file.close()
update_file(filename, tmpfilename, num_files, num_files_updated,
'hdata')
# write completions hooked
doc = AutogenDoc(directory, 'plugin_api', 'completions')
doc.write('[width="65%",cols="^1,^2,8",options="header"]\n')
doc.write('|===\n')
doc.write('| {0} | {1} | {2}\n\n'
''.format(_('Plugin'), _('Name'), _('Description')))
filename = directory + '/plugin_api/completions.asciidoc'
tmpfilename = filename + '.tmp'
_file = open(tmpfilename, 'w')
_file.write('[width="65%",cols="^1,^2,8",options="header"]\n')
_file.write('|===\n')
_file.write('| {0} | {1} | {2}\n\n'
''.format(_('Plugin'), _('Name'), _('Description')))
for plugin in sorted(completions):
for completion_item in sorted(completions[plugin]):
_cmp = completions[plugin][completion_item]
desc = translate(_cmp['description'])
doc.write('| {0} | {1} | {2}\n\n'
''.format(escape(plugin), escape(completion_item),
escape(desc)))
doc.write('|===\n')
doc.update('completions', num_files, num_files_updated)
_file.write('| {0} | {1} | {2}\n\n'
''.format(escape(plugin), escape(completion_item),
escape(desc)))
_file.write('|===\n')
_file.close()
update_file(filename, tmpfilename, num_files, num_files_updated,
'completions')
# write url options
doc = AutogenDoc(directory, 'plugin_api', 'url_options')
doc.write('[width="100%",cols="2,^1,7",options="header"]\n')
doc.write('|===\n')
doc.write('| {0} | {1} | {2}\n\n'
''.format(_('Option'), _('Type'),
_('Constants') + ' ^(1)^'))
filename = directory + '/plugin_api/url_options.asciidoc'
tmpfilename = filename + '.tmp'
_file = open(tmpfilename, 'w')
_file.write('[width="100%",cols="2,^1,7",options="header"]\n')
_file.write('|===\n')
_file.write('| {0} | {1} | {2}\n\n'
''.format(_('Option'), _('Type'),
_('Constants') + ' ^(1)^'))
for option in url_options:
constants = option['constants']
if constants:
constants = ' ' + constants
doc.write('| {0} | {1} |{2}\n\n'
''.format(escape(option['name']),
escape(option['type']),
escape(constants)))
doc.write('|===\n')
doc.update('url_options', num_files, num_files_updated)
_file.write('| {0} | {1} |{2}\n\n'
''.format(escape(option['name']),
escape(option['type']),
escape(constants)))
_file.write('|===\n')
_file.close()
update_file(filename, tmpfilename, num_files, num_files_updated,
'url_options')
# write plugins priority
doc = AutogenDoc(directory, 'plugin_api', 'plugins_priority')
for priority in sorted(plugins_priority, reverse=True):
plugins = ', '.join(sorted(plugins_priority[priority]))
doc.write('. {0} ({1})\n'.format(escape(plugins), priority))
doc.update('plugins_priority', num_files, num_files_updated)
# write IRC colors
filename = directory + '/user/irc_colors.asciidoc'
tmpfilename = filename + '.tmp'
_file = open(tmpfilename, 'w')
_file.write('[width="30%",cols="^2m,3",options="header"]\n')
_file.write('|===\n')
_file.write('| {0} | {1}\n\n'
''.format(_('IRC color'), _('WeeChat color')))
for color in irc_colors:
_file.write('| {0} | {1}\n'
''.format(escape(color['color_irc']),
escape(color['color_weechat'])))
_file.write('|===\n')
_file.close()
update_file(filename, tmpfilename, num_files, num_files_updated,
'irc_colors')
# write counters
weechat.prnt('',
'docgen: {0}: {1} files, {2} updated'
'docgen: {0}: {1:3d} files '
'({2:2d} cmd, {3:2d} opt, {4:2d} infos, '
'{5:2d} infos_hash, {6:2d} infolists, {7:2d} hdata, '
'{8:2d} complt)'
''.format(locale,
num_files['total1'],
num_files_updated['total1']))
num_files['commands'],
num_files['options'],
num_files['infos'],
num_files['infos_hashtable'],
num_files['infolists'],
num_files['hdata'],
num_files['completions']))
weechat.prnt('',
' '
'{0:3d} updated ({1:2d} cmd, {2:2d} opt, {3:2d} infos, '
'{4:2d} infos_hash, {5:2d} infolists, {6:2d} hdata, '
'{7:2d} complt)'
''.format(num_files_updated['total1'],
num_files_updated['commands'],
num_files_updated['options'],
num_files_updated['infos'],
num_files_updated['infos_hashtable'],
num_files_updated['infolists'],
num_files_updated['hdata'],
num_files_updated['completions']))
weechat.prnt('',
'docgen: total: {0} files, {1} updated'
''.format(num_files['total2'], num_files_updated['total2']))
+11 -28
View File
@@ -21,13 +21,12 @@ if(ENABLE_MAN)
# man page
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.asciidoc .
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.asciidoc .
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L weechat.1.en.asciidoc
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.en.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat.1 (en)"
)
add_custom_target(doc-man-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
@@ -39,13 +38,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# user's guide
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.en.html"
)
add_custom_target(doc-user-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html)
@@ -54,12 +51,10 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# plugin API reference
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_API} -o weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_plugin_api.en.html"
)
add_custom_target(doc-plugin-api-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html)
@@ -68,11 +63,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# scripting guide
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_scripting.en.html"
)
add_custom_target(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html)
@@ -81,11 +74,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# FAQ
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_faq.en.html"
)
add_custom_target(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html)
@@ -94,11 +85,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# quickstart
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_quickstart.en.html"
)
add_custom_target(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
@@ -107,11 +96,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# tester's guide
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_tester.en.html"
)
add_custom_target(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html)
@@ -120,11 +107,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# relay protocol
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_RELAY} -o weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_relay_protocol.en.html"
)
add_custom_target(doc-relay-protocol-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html)
@@ -133,11 +118,9 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# developer's guide
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_DEV} -o weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.asciidoc
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc_toc2.css
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.asciidoc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_dev.en.html"
)
add_custom_target(doc-dev-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html)
+16 -16
View File
@@ -63,36 +63,36 @@ weechat.1: weechat.1.en.asciidoc cmdline_options.en.asciidoc
rm -rf tmp_man
# user's guide
weechat_user.en.html: weechat_user.en.asciidoc cmdline_options.en.asciidoc $(wildcard autogen/user/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.asciidoc
weechat_user.en.html: weechat_user.en.asciidoc cmdline_options.en.asciidoc $(wildcard autogen/user/*.asciidoc)
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.asciidoc
# plugin API reference
weechat_plugin_api.en.html: weechat_plugin_api.en.asciidoc $(wildcard autogen/plugin_api/*.asciidoc) $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.asciidoc
weechat_plugin_api.en.html: weechat_plugin_api.en.asciidoc $(wildcard autogen/plugin_api/*.asciidoc)
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.asciidoc
# scripting guide
weechat_scripting.en.html: weechat_scripting.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.asciidoc
weechat_scripting.en.html: weechat_scripting.en.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.asciidoc
# FAQ
weechat_faq.en.html: weechat_faq.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.asciidoc
weechat_faq.en.html: weechat_faq.en.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.asciidoc
# quickstart
weechat_quickstart.en.html: weechat_quickstart.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.asciidoc
weechat_quickstart.en.html: weechat_quickstart.en.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.asciidoc
# tester's guide
weechat_tester.en.html: weechat_tester.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.asciidoc
weechat_tester.en.html: weechat_tester.en.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.asciidoc
# relay protocol
weechat_relay_protocol.en.html: weechat_relay_protocol.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.asciidoc
weechat_relay_protocol.en.html: weechat_relay_protocol.en.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.asciidoc
# developer's guide
weechat_dev.en.html: weechat_dev.en.asciidoc $(abs_top_srcdir)/doc/asciidoc_toc2.css
$(ASCIIDOC) -b html5 -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc_toc2.css -f $(abs_top_srcdir)/doc/asciidoc.conf -o weechat_dev.en.html $(abs_top_srcdir)/doc/en/weechat_dev.en.asciidoc
weechat_dev.en.html: weechat_dev.en.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_dev.en.html $(abs_top_srcdir)/doc/en/weechat_dev.en.asciidoc
# install man/docs
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="65%",cols="^1,^2,8",options="header"]
|===
| Plugin | Name | Description
@@ -50,8 +46,6 @@
| irc | nick | nicks of current IRC channel
| javascript | javascript_script | list of scripts
| lua | lua_script | list of scripts
| perl | perl_script | list of scripts
+1 -43
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* 'guile_callback': callback of a script
** plugin: guile
** variables:
@@ -46,7 +42,7 @@
*** 'limit' (integer)
*** 'key' (string)
*** 'join_msg_received' (hashtable)
*** 'checking_whox' (integer)
*** 'checking_away' (integer)
*** 'away_message' (string)
*** 'has_quit_server' (integer)
*** 'cycle' (integer)
@@ -93,7 +89,6 @@
*** 'prefixes' (string)
*** 'prefix' (string)
*** 'away' (integer)
*** 'account' (string)
*** 'color' (string)
*** 'prev_nick' (pointer, hdata: "irc_nick")
*** 'next_nick' (pointer, hdata: "irc_nick")
@@ -181,7 +176,6 @@
*** 'nick' (string)
*** 'nick_modes' (string)
*** 'cap_away_notify' (integer)
*** 'cap_account_notify' (integer)
*** 'isupport' (string)
*** 'prefix_modes' (string)
*** 'prefix_chars' (string)
@@ -226,40 +220,6 @@
** lists:
*** 'irc_servers'
*** 'last_irc_server'
* 'javascript_callback': callback of a script
** plugin: javascript
** variables:
*** 'script' (pointer, hdata: "javascript_script")
*** 'function' (string)
*** 'data' (string)
*** 'config_file' (pointer, hdata: "config_file")
*** 'config_section' (pointer, hdata: "config_section")
*** 'config_option' (pointer, hdata: "config_option")
*** 'hook' (pointer)
*** 'buffer' (pointer, hdata: "buffer")
*** 'bar_item' (pointer, hdata: "bar_item")
*** 'upgrade_file' (pointer)
*** 'prev_callback' (pointer, hdata: "javascript_callback")
*** 'next_callback' (pointer, hdata: "javascript_callback")
* 'javascript_script': list of scripts
** plugin: javascript
** variables:
*** 'filename' (string)
*** 'interpreter' (pointer)
*** 'name' (string)
*** 'author' (string)
*** 'version' (string)
*** 'license' (string)
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
*** 'callbacks' (pointer, hdata: "javascript_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "javascript_script")
*** 'next_script' (pointer, hdata: "javascript_script")
** lists:
*** 'last_script'
*** 'scripts'
* 'lua_callback': callback of a script
** plugin: lua
** variables:
@@ -883,8 +843,6 @@
*** 'version' (string)
*** 'license' (string)
*** 'charset' (string)
*** 'priority' (integer)
*** 'initialized' (integer)
*** 'debug' (integer)
*** 'prev_plugin' (pointer, hdata: "plugin")
*** 'next_plugin' (pointer, hdata: "plugin")
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="100%",cols="^1,^2,5,5,5",options="header"]
|===
| Plugin | Name | Description | Pointer | Arguments
@@ -22,8 +18,6 @@
| irc | irc_server | list of IRC servers | server pointer (optional) | server name (wildcard "*" is allowed) (optional)
| javascript | javascript_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
| logger | logger_buffer | list of logger buffers | logger pointer (optional) | -
| lua | lua_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
-4
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="100%",cols="^1,^2,6,6",options="header"]
|===
| Plugin | Name | Description | Arguments
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="100%",cols="^1,^2,6,6,6",options="header"]
|===
| Plugin | Name | Description | Hashtable (input) | Hashtable (output)
@@ -1,16 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
. charset (13000)
. logger (12000)
. exec (11000)
. trigger (10000)
. aspell (9000)
. alias (8000)
. fifo (7000)
. xfer (6000)
. irc (5000)
. relay (4000)
. guile, javascript, lua, perl, python, ruby, tcl (3000)
. script (2000)
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="100%",cols="2,^1,7",options="header"]
|===
| Option | Type | Constants ^(1)^
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_alias_alias]]
[command]*`alias`* create an alias for a command::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
[command]*`aspell`* aspell plugin configuration::
@@ -26,8 +22,6 @@ To enable aspell on all buffers, use option "default_dict", then enable aspell,
/set aspell.check.default_dict "en"
/aspell enable
To display a list of suggestions in a bar, use item "aspell_suggest".
Default key to toggle aspell is alt-s.
----
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_aspell.check.commands]] *aspell.check.commands*
** description: `comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)`
** type: string
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_charset_charset]]
[command]*`charset`* change charset for current buffer::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_charset.default.decode]] *charset.default.decode*
** description: `global decoding charset: charset used to decode incoming messages when they are not UTF-8 valid`
** type: string
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_exec_exec]]
[command]*`exec`* execute external commands::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_exec.color.flag_finished]] *exec.color.flag_finished*
** description: `text color for a finished command flag in list of commands`
** type: color
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_guile_guile]]
[command]*`guile`* list/load/unload scripts::
-4
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[width="30%",cols="^2m,3",options="header"]
|===
| IRC color | WeeChat color
+11 -15
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_irc_admin]]
[command]*`admin`* find information about the administrator of the server::
@@ -551,12 +547,11 @@ daemon2: forward message to this daemon
[command]*`query`* send a private message to a nick::
----
/query [-noswitch] [-server <server>] <nick>[,<nick>...] [<text>]
/query [-server <server>] <nick>[,<nick>...] [<text>]
-noswitch: do not switch to new buffer
server: send to this server (internal name)
nick: nick
text: text to send
server: send to this server (internal name)
nick: nick
text: text to send
----
[[command_irc_quiet]]
@@ -703,12 +698,13 @@ nooption: set boolean option to 'off' (for example: -nossl)
Examples:
/server listfull
/server add freenode chat.freenode.net
/server add freenode chat.freenode.net/6697 -ssl -autoconnect
/server add chatspike irc.chatspike.net/6667,irc.duckspike.net/6667
/server copy freenode freenode-test
/server rename freenode-test freenode2
/server reorder freenode2 freenode
/server add oftc irc.oftc.net/6697 -ssl -autoconnect
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
/server add freenode3 chat.freenode.net -password=mypass
/server copy oftc oftcbis
/server rename oftc newoftc
/server reorder oftc freenode
/server del freenode
/server deloutq
----
+6 -15
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_irc.color.input_nick]] *irc.color.input_nick*
** description: `color for nick in input bar`
** type: color
@@ -498,7 +494,7 @@
** values: 0 .. 1000000 (default value: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** description: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: account-notify, away-notify, extended-join, multi-prefix, server-time, userhost-in-names (example: "away-notify,multi-prefix")`
** description: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: away-notify, extended-join, multi-prefix, server-time, userhost-in-names (example: "away-notify,multi-prefix")`
** type: string
** values: any string (default value: `""`)
@@ -572,18 +568,13 @@
** type: integer
** values: continue, reconnect, disconnect (default value: `continue`)
* [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key*
** description: `file with ECC private key for mechanism "ecdsa-nist256p-challenge" ("%h" will be replaced by WeeChat home, "~/.weechat" by default)`
** type: string
** values: any string (default value: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** description: `mechanism for SASL authentication: "plain" for plain text password, "ecdsa-nist256p-challenge" for key-based challenge authentication, "external" for authentication using client side SSL cert, "dh-blowfish" for blowfish crypted password (insecure, not recommended), "dh-aes" for AES crypted password (insecure, not recommended)`
** description: `mechanism for SASL authentication: "plain" for plain text password, "dh-blowfish" for blowfish crypted password, "dh-aes" for AES crypted password, "external" for authentication using client side SSL cert`
** type: integer
** values: plain, ecdsa-nist256p-challenge, external, dh-blowfish, dh-aes (default value: `plain`)
** values: plain, dh-blowfish, dh-aes, external (default value: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** description: `password for SASL authentication; this option is not used for mechanisms "ecdsa-nist256p-challenge" and "external" (note: content is evaluated, see /help eval)`
** description: `password for SASL authentication (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -593,7 +584,7 @@
** values: 1 .. 3600 (default value: `15`)
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
** description: `username for SASL authentication; this option is not used for mechanism "external" (note: content is evaluated, see /help eval)`
** description: `username for SASL authentication (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -613,7 +604,7 @@
** values: 0 .. 2147483647 (default value: `2048`)
* [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint*
** description: `fingerprint of certificate which is trusted and accepted for the server; only hexadecimal digits are allowed (0-9, a-f): 64 chars for SHA-512, 32 chars for SHA-256, 20 chars for SHA-1 (insecure, not recommended); many fingerprints can be separated by commas; if this option is set, the other checks on certificates are NOT performed (option "ssl_verify")`
** description: `SHA1 fingerprint of certificate which is trusted and accepted for the server (it must be exactly 40 hexadecimal digits without separators); many fingerprints can be separated by commas; if this option is set, the other checks on certificates are NOT performed (option "ssl_verify")`
** type: string
** values: any string (default value: `""`)
@@ -1,26 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_javascript_javascript]]
[command]*`javascript`* list/load/unload scripts::
----
/javascript list|listfull [<name>]
load [-q] <filename>
autoload
reload|unload [-q] [<name>]
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
Without argument, this command lists all loaded scripts.
----
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_logger_logger]]
[command]*`logger`* logger plugin configuration::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_logger.color.backlog_end]] *logger.color.backlog_end*
** description: `color for line ending the backlog`
** type: color
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_lua_lua]]
[command]*`lua`* list/load/unload scripts::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_perl_perl]]
[command]*`perl`* list/load/unload scripts::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_python_python]]
[command]*`python`* list/load/unload scripts::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_relay_relay]]
[command]*`relay`* relay control::
+1 -5
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_relay.color.client]] *relay.color.client*
** description: `text color for client description`
** type: color
@@ -83,7 +79,7 @@
** values: 0 .. 65535 (default value: `256`)
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** description: `POSIX extended regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^(123.45.67.89|192.160.*)$"`
** description: `POSIX extended regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive); if IPv6 is enabled and that connection is made using IPv4, it will be IPv4-mapped IPv6 address (like: "::ffff:127.0.0.1"), example: "^((::ffff:)?123.45.67.89|192.160.*)$"`
** type: string
** values: any string (default value: `""`)
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_ruby_ruby]]
[command]*`ruby`* list/load/unload scripts::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_script_script]]
[command]*`script`* WeeChat scripts manager::
+1 -5
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded*
** description: `color for status "autoloaded" ("a")`
** type: color
@@ -193,7 +189,7 @@
** values: any string (default value: `""`)
* [[option_script.scripts.url]] *script.scripts.url*
** description: `URL for file with list of scripts; by default HTTPS is forced, see option script.scripts.url_force_https`
** description: `URL for file with list of scripts`
** type: string
** values: any string (default value: `"http://weechat.org/files/plugins.xml.gz"`)
-4
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_sec.crypt.cipher]] *sec.crypt.cipher*
** description: `cipher used to crypt data (the number after algorithm is the size of the key in bits)`
** type: integer
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_tcl_tcl]]
[command]*`tcl`* list/load/unload scripts::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_trigger_trigger]]
[command]*`trigger`* manage triggers, the Swiss Army knife for WeeChat::
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_trigger.color.flag_command]] *trigger.color.flag_command*
** description: `text color for command flag (in /trigger list)`
** type: color
+5 -28
View File
@@ -1,7 +1,3 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_weechat_away]]
[command]*`away`* set or remove away status::
@@ -194,18 +190,6 @@ Without argument, this command toggles cursor mode.
When mouse is enabled (see /help mouse), by default a middle click will start cursor mode at this point.
Default keys in cursor mode on chat messages:
m quote message
q quote prefix + message
Q quote time + prefix + message
Default keys in cursor mode on nicklist:
b ban nick (/ban)
k kick nick (/kick)
K kick and ban nick (/kickban)
q open query with nick (/query)
w query information about user (/whois)
Examples:
go to nicklist:
/cursor go nicklist
@@ -248,11 +232,10 @@ infolists: display infos about infolists
[command]*`eval`* evaluate expression::
----
/eval [-n|-s] <expression>
/eval [-n] <expression>
[-n] -c <expression1> <operator> <expression2>
-n: display result without sending it to buffer (debug mode)
-s: split expression before evaluating it (many commands can be separated by semicolons)
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
operator: a logical or comparison operator:
@@ -280,10 +263,9 @@ Some variables are replaced in expression, using the format ${variable}, variabl
2. a string with chars to hide (format: "hide:char,string")
3. a color (format: "color:xxx")
4. an info (format: "info:name,arguments", arguments are optional)
5. an environment variable (format: "env:XXX")
6. an option (format: "file.section.option")
7. a local variable in buffer
8. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
5. an option (format: "file.section.option")
6. a local variable in buffer
7. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example:
@@ -293,7 +275,6 @@ For name of hdata and variables, please look at "Plugin API reference", function
Examples (simple strings):
/eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
@@ -373,8 +354,6 @@ Examples:
/filter add toto * nick_toto+irc_join,nick_toto+irc_action *
filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
filter lines that are strictly equal to "WeeChat sucks" on all buffers:
/filter add sucks2 * * (?-i)^WeeChat sucks$
----
[[command_weechat_help]]
@@ -591,7 +570,7 @@ Examples:
/plugin list|listfull [<name>]
load <filename> [<arguments>]
autoload [<arguments>]
reload [<name>|* [<arguments>]]
reload [<name> [<arguments>]]
unload [<name>]
list: list loaded plugins
@@ -881,8 +860,6 @@ It is possible to restore WeeChat session on another machine if you copy the con
-o: send version to current buffer as input (English string)
-ol: send version to current buffer as input (translated string)
The default alias /v can be used to execute this command on all buffers (otherwise the irc command /version is used on irc buffers).
----
[[command_weechat_wait]]

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