mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
Compare commits
396 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6923a9efa0 | |||
| 5aa93fdbb7 | |||
| 82199f8264 | |||
| 8f26323bdf | |||
| 5bd13d3df0 | |||
| 5d3e485aec | |||
| 2ed90965a6 | |||
| 377fd4a41c | |||
| 098de9a986 | |||
| b8089c72fc | |||
| ad697ded83 | |||
| 55ad527c05 | |||
| 9d9835a50f | |||
| 963815b999 | |||
| 784ba4eeb0 | |||
| 315ba5e942 | |||
| 50dbd203a9 | |||
| 9ebe00d144 | |||
| 981beb917e | |||
| 1f2b78242e | |||
| 8107025c78 | |||
| 5c5df1b068 | |||
| 8e6f525b59 | |||
| 74f1592f21 | |||
| 6ec5d5a148 | |||
| 81a1f9aea8 | |||
| bcf5974e58 | |||
| 7572fec261 | |||
| b99a630705 | |||
| 24c53b4c3f | |||
| 0159dbc95a | |||
| b779e72c50 | |||
| 0ca2197aa6 | |||
| 6e117a1caf | |||
| 4736a5b320 | |||
| fad9806e08 | |||
| 7be168264f | |||
| 01c2ef63f5 | |||
| 23c2271ef4 | |||
| b1bd5c721e | |||
| 31c3151fcc | |||
| b98e71a91c | |||
| cddbe6fe33 | |||
| 3b2ee85b04 | |||
| 23983b125a | |||
| 4da1472bc8 | |||
| 86886e311a | |||
| e29cb9a85a | |||
| 80872061c2 | |||
| e9c6381774 | |||
| 00685bedd5 | |||
| a02743b229 | |||
| 3fb322be8f | |||
| 17fe9e3589 | |||
| 22c7673b71 | |||
| 5e95550f14 | |||
| 719db054fa | |||
| 219f406d3c | |||
| 14496c41a3 | |||
| 653a392d9a | |||
| cc774d099b | |||
| b2f0cc30ff | |||
| eb080261f8 | |||
| 0fb8ac9e7b | |||
| df66b2e6fe | |||
| 0c79b2fda8 | |||
| 23fd23fd1a | |||
| e8615c1691 | |||
| 4ecd8a505f | |||
| bd850398e8 | |||
| 0770b95266 | |||
| b13db0305d | |||
| 3e0ebc82a9 | |||
| f534663d07 | |||
| 9bf40517d3 | |||
| e92a63427f | |||
| 7fabe8c2a2 | |||
| d9acb2b97a | |||
| a3bde46d48 | |||
| ecc3a2aeb6 | |||
| 0ff8d7b543 | |||
| fdd9c03e5a | |||
| 9e56308a4d | |||
| edbcc10105 | |||
| fddd7d53a7 | |||
| efdbd1ea13 | |||
| 52437427af | |||
| 2bd2d74a07 | |||
| 6668b9869b | |||
| a79c0fcff3 | |||
| 43f471b9c2 | |||
| 7cc452402d | |||
| 422958337b | |||
| c9f816435c | |||
| 07cbc3bd2e | |||
| 33a4b4b1fc | |||
| 292830b5bf | |||
| acb03201b4 | |||
| 7c1b7df2cf | |||
| 5bac79c4f1 | |||
| 9e0fa27525 | |||
| 60ec9d5d51 | |||
| c8ac7e3791 | |||
| 96c71aa0c4 | |||
| 70cbc1b340 | |||
| c8ca7e1ac2 | |||
| c4d95bc1e2 | |||
| e5d9e977e4 | |||
| 424bff4d6c | |||
| 7a769648e8 | |||
| 68b45a8216 | |||
| fc8f7b49dd | |||
| 515e8b7b1a | |||
| bce7a6d434 | |||
| e919aca3dd | |||
| f026ba5160 | |||
| b5c028b93e | |||
| 14c5bc386f | |||
| 799b0caaf2 | |||
| f21adaa6ab | |||
| 00abc2bde5 | |||
| 160cbdb46a | |||
| 57a2a872a5 | |||
| dff39136a3 | |||
| 7c6c450662 | |||
| c540db0b4f | |||
| 7a87a426c8 | |||
| 222fb8290b | |||
| e2c1f83c7f | |||
| 8d1d2c0321 | |||
| 8feb4c1c3b | |||
| 3262599413 | |||
| 81e037b1ce | |||
| 486ed2b0da | |||
| d9ce6cdbef | |||
| 1396e9b0ef | |||
| 1fb3e8b2dc | |||
| fd3b3d6711 | |||
| 4b5bc0ac8d | |||
| 28fccd3f12 | |||
| 5918943192 | |||
| 66abd51786 | |||
| 43fa9df6c2 | |||
| 4667366888 | |||
| 36e18efa75 | |||
| 0e75ad742b | |||
| cae3e25906 | |||
| e2310a4264 | |||
| c4e260c992 | |||
| 84e55e9fac | |||
| 241a999bd6 | |||
| ee37063ce1 | |||
| dc8b3f977f | |||
| e9c8e70e35 | |||
| 8d25cd5d34 | |||
| 90bd568a61 | |||
| d8d44d6138 | |||
| 71dd64678c | |||
| 499f36a7cf | |||
| 9793649e79 | |||
| b7b06c252c | |||
| e852a1b775 | |||
| 5bdc256911 | |||
| 5ef79b58a3 | |||
| 908bde8ac2 | |||
| a06ce8da05 | |||
| fb66b2d998 | |||
| 6b2c9d2cb8 | |||
| 80f446a4b4 | |||
| b3cfd93374 | |||
| d322389e04 | |||
| 0f333ee630 | |||
| ccc6cdace1 | |||
| b5fbea7993 | |||
| ac0486bdc4 | |||
| 3f3e8e743d | |||
| c3c12a1315 | |||
| f7ff3bcadd | |||
| ae1211d4ab | |||
| da184957b9 | |||
| 4695b26a57 | |||
| 6c4c4a37fd | |||
| 0afd1f2243 | |||
| 0f75e2e0b6 | |||
| e2a9bf4c0e | |||
| 8fc64aaea8 | |||
| be1c06ae97 | |||
| 09a163a408 | |||
| 04e972f5b1 | |||
| 60f2b50117 | |||
| 7ad2744b33 | |||
| df31147e16 | |||
| 074f2dc778 | |||
| 1878c56c70 | |||
| c9668dde7e | |||
| fe9a9fbfce | |||
| 9598bd4919 | |||
| 1054339be7 | |||
| 1eaf0e36e8 | |||
| 32d165f1c4 | |||
| 13332360aa | |||
| 7465411206 | |||
| 17e95a24d1 | |||
| dea8b0bb09 | |||
| 55e2f258b7 | |||
| ed6e59f093 | |||
| 2fe0fc8533 | |||
| b87c52240b | |||
| 161199bcc3 | |||
| b15818fd4c | |||
| b2a68af077 | |||
| c899254019 | |||
| 67536579bd | |||
| c34ed035a9 | |||
| ade7f6635e | |||
| 03d6ead8f1 | |||
| 465edcbff2 | |||
| 22b668b641 | |||
| 6d8f2d3e97 | |||
| 7d59c0523e | |||
| 3e8b0f37ca | |||
| 507fc2570f | |||
| e80dce4d8f | |||
| 0e43cf0501 | |||
| fa389d3f1f | |||
| c2f07bddcb | |||
| 9a0d6899f9 | |||
| 9a0d7b888f | |||
| 2fceb1dcdb | |||
| e71161520f | |||
| d3997eeb82 | |||
| 8b056d7d24 | |||
| 8bcf31950e | |||
| 686589207c | |||
| 7f561c3133 | |||
| 26f415f5db | |||
| 6c4b574945 | |||
| 11debc7cae | |||
| a7103d8b1e | |||
| b9ed378727 | |||
| 4383388dfa | |||
| d8bf73ae7a | |||
| e9d56f19a8 | |||
| 8a822894e2 | |||
| bdba152d81 | |||
| 9f158510b1 | |||
| ce582201a0 | |||
| ada9dce5e6 | |||
| a3a8cb7fe9 | |||
| ad499d944e | |||
| 80ccb335a4 | |||
| 87865260e6 | |||
| 21069c8617 | |||
| 74a07deae8 | |||
| e78b32d49e | |||
| 8e2077340f | |||
| 4ddd641a7a | |||
| 0fb8c58aec | |||
| 3238b71f0c | |||
| 6908ef0cdd | |||
| 07594c9ec7 | |||
| be20068e6a | |||
| 3683cbbb94 | |||
| 2e6905472d | |||
| 01afee6c33 | |||
| b007031a8c | |||
| a98c835716 | |||
| 148a571dce | |||
| 2120405a16 | |||
| c85d5a8929 | |||
| 02a69beba1 | |||
| efebc4d491 | |||
| 300d1ad44e | |||
| bed4ee1f35 | |||
| dfb2c79cbb | |||
| 145191dbc5 | |||
| a83ad08c48 | |||
| e95f853303 | |||
| 5d1f7e79ba | |||
| ff1aaf280b | |||
| cace7471f0 | |||
| d9251df1a3 | |||
| c0a27cf437 | |||
| 3eb6cd3cd9 | |||
| f6941c20eb | |||
| 6bd8a5be20 | |||
| 0d4ad2d7f3 | |||
| c07d058bff | |||
| e745236cb4 | |||
| d1cd844e06 | |||
| e6d3a78d2c | |||
| 7624ef417d | |||
| 5e886961bd | |||
| 72b8674193 | |||
| 79afeb2111 | |||
| 5a70597516 | |||
| 3cd0259575 | |||
| d434ed5ec5 | |||
| c853d29e76 | |||
| c1a5a76d08 | |||
| 8f11de6863 | |||
| 770152dea7 | |||
| c9c8625581 | |||
| 77f645e8ae | |||
| 1ac9e32aaf | |||
| 5dbd1615a1 | |||
| 1d8e6c10d7 | |||
| 07c7ecb679 | |||
| 094abc57ed | |||
| e2225c321d | |||
| 3a83c4aef2 | |||
| 63a9d77339 | |||
| 7c5016c79d | |||
| b496f77eb5 | |||
| 3e6aeee519 | |||
| 49a7ac5cab | |||
| 1f5f2cae12 | |||
| 00730c0f9c | |||
| 797e9565f2 | |||
| 05a2b8cfce | |||
| 9871f26f04 | |||
| 8492280120 | |||
| a974776fa0 | |||
| 5e2cd75efc | |||
| d3c309c787 | |||
| 0d9398d038 | |||
| ef4476be65 | |||
| 1b76e0e18c | |||
| 6a7f6f5095 | |||
| 5b51bc3bcf | |||
| 7d042f1b30 | |||
| 8ad308a398 | |||
| 714df489cd | |||
| c10787d92f | |||
| 391d88d296 | |||
| b1a1e14832 | |||
| 5559b43518 | |||
| 4c1e13fd45 | |||
| 0fade5ccd0 | |||
| 939c7b29c0 | |||
| 0f1e997090 | |||
| 3c885fa80f | |||
| fad11a6b93 | |||
| 055d7de721 | |||
| 62256251be | |||
| 5886820679 | |||
| 0a75d79e93 | |||
| d2ef6e675d | |||
| 12b30a4446 | |||
| af94831894 | |||
| d8f5185a90 | |||
| 772d2649ee | |||
| 91f9e6841c | |||
| 047ddd2abe | |||
| 1a5a2d5fa9 | |||
| d27d66772d | |||
| 709dc9e5ff | |||
| 9f8034f890 | |||
| a6327bc6f2 | |||
| 7fc4c63ba6 | |||
| 2f620a9419 | |||
| 5c5971edc5 | |||
| eea6b07edc | |||
| f379adffd0 | |||
| ac8ccba8c8 | |||
| 1a68242f95 | |||
| ed9e146e46 | |||
| a617cd857a | |||
| ba5e657b3c | |||
| db0fd024fe | |||
| 71367c1aa0 | |||
| a8c06922da | |||
| 9c7ed50a39 | |||
| 25671248e3 | |||
| 8807324317 | |||
| e555d82d59 | |||
| b0117f0d18 | |||
| b30ad7d7f6 | |||
| 9a1af2d4a8 | |||
| e2be01833f | |||
| 083a6c741d | |||
| 860ca4be20 | |||
| f4679ea49f | |||
| 8986ab9621 | |||
| 99d20e97c6 | |||
| 0d60871ec6 | |||
| 9fbd138518 | |||
| 186328a203 | |||
| 9749b65f7e | |||
| c3ca9d3d9c | |||
| e5c202404f | |||
| ebcd84af02 | |||
| cf5501f69c | |||
| 66e0455951 | |||
| fdcf46b476 | |||
| b2954aaf27 |
@@ -4,3 +4,4 @@
|
||||
debian export-ignore
|
||||
weechat.spec export-ignore
|
||||
.mailmap export-ignore
|
||||
tests/ubuntu/ export-ignore
|
||||
|
||||
+3
-3
@@ -15,9 +15,8 @@ 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 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 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 dpkg -i ./tests/ubuntu/precise/libcpputest-dev_3.4-3_amd64.deb
|
||||
- sudo pip install msgcheck pylint
|
||||
|
||||
script:
|
||||
@@ -27,6 +26,7 @@ script:
|
||||
|
||||
after_success:
|
||||
- weechat --help
|
||||
- weechat-curses --help
|
||||
- weechat -r "/debug libs;/quit"
|
||||
|
||||
matrix:
|
||||
|
||||
+11
-5
@@ -21,8 +21,8 @@ Alphabetically:
|
||||
* Anders Bergh
|
||||
* Andrew Potter (talisein)
|
||||
* Antoine Pietri (seirl)
|
||||
* Asakura
|
||||
* Arvydas Sidorenko
|
||||
* Asakura
|
||||
* Bazerka
|
||||
* Benoit Papillault (benoit)
|
||||
* Christian Heinz
|
||||
@@ -30,8 +30,9 @@ Alphabetically:
|
||||
* David Flatz
|
||||
* Dmitry Kobylin
|
||||
* Dominik Honnef
|
||||
* Elián Hanisch (m4v)
|
||||
* Eduardo Elias
|
||||
* Elizabeth Myers (Elizacat)
|
||||
* Elián Hanisch (m4v)
|
||||
* Emanuele Giaquinta
|
||||
* Esteban I. Ruiz Moreno (Exio)
|
||||
* Felix Eckhofer
|
||||
@@ -46,21 +47,24 @@ Alphabetically:
|
||||
* Jim Ramsay (lack)
|
||||
* Jiri Golembiovsky (GolemJ)
|
||||
* Julien Louis (ptitlouis)
|
||||
* Karthik K
|
||||
* Koka El Kiwi (KiwiDash)
|
||||
* Krzysztof Koroscik (soltys)
|
||||
* Kyle Fuller (kylef)
|
||||
* Lázaro A.
|
||||
* Leonid Evdokimov
|
||||
* Lázaro A.
|
||||
* Maarten de Vries
|
||||
* Marco Paolone
|
||||
* Matt Robinson
|
||||
* Mantas Mikulėnas (grawity)
|
||||
* Marco Paolone
|
||||
* Mateusz Poszwa
|
||||
* Matt Robinson
|
||||
* Max Anton Teufel
|
||||
* Murilo Opsfelder Araujo
|
||||
* Nicolas Cavigneaux
|
||||
* Nils Görs (nils_2)
|
||||
* nyuszika7h
|
||||
* Odin
|
||||
* Ondřej Súkup
|
||||
* Patrick Steinhardt
|
||||
* Paul Komkoff
|
||||
* Pavel Shevchuk (Stalwart)
|
||||
@@ -77,10 +81,12 @@ 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)
|
||||
|
||||
+41
-33
@@ -27,14 +27,12 @@ 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")
|
||||
if(PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
|
||||
endif()
|
||||
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")
|
||||
|
||||
# version
|
||||
set(VERSION_MAJOR "1")
|
||||
set(VERSION_MINOR "1")
|
||||
set(VERSION_MINOR "3-rc1")
|
||||
set(VERSION_PATCH "")
|
||||
if(VERSION_PATCH STREQUAL "")
|
||||
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
|
||||
@@ -45,6 +43,14 @@ 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})
|
||||
@@ -73,33 +79,34 @@ 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_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_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 WEECHAT_HOME
|
||||
if(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
||||
@@ -205,7 +212,8 @@ endif()
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(doc)
|
||||
|
||||
if(ENABLE_TESTS)
|
||||
find_package(CppUTest)
|
||||
if(ENABLE_TESTS AND CPPUTEST_FOUND)
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
+268
-88
@@ -2,6 +2,8 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
:toc2:
|
||||
:max-width: 100%
|
||||
|
||||
|
||||
This document lists all changes for each version
|
||||
@@ -13,6 +15,184 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(file 'ReleaseNotes.asciidoc' in sources).
|
||||
|
||||
|
||||
== Version 1.3 (under dev)
|
||||
|
||||
=== New features
|
||||
|
||||
* core: start/stop search in buffer at current scroll position by default,
|
||||
add key key[ctrl-q] to stop search and reset scroll (issue #76, issue #393)
|
||||
* core: add option weechat.look.key_grab_delay to set the default delay when
|
||||
grabbing a key with key[alt-k]
|
||||
* core: add option weechat.look.confirm_upgrade (issue #463)
|
||||
* core: allow key[ctrl-c] to exit WeeChat when the passphrase is asked on
|
||||
startup (issue #452)
|
||||
* core: allow pointer as list name in evaluation of hdata (issue #450)
|
||||
* core: add signal "signal_sighup"
|
||||
* api: add support of evaluated sub-strings and current date/time in function
|
||||
string_eval_expression() and command /eval
|
||||
* api: add function string_eval_path_home()
|
||||
* alias: add options "add", "addcompletion" and "del" in command /alias, remove
|
||||
command /unalias (issue #458)
|
||||
* irc: evaluate content of server option "nicks"
|
||||
* logger: evaluate content of option logger.file.path (issue #388)
|
||||
* relay: display value of HTTP header "X-Real-IP" for websocket connections
|
||||
(issue #440)
|
||||
* script: rename option script.scripts.dir to script.scripts.path, evaluate
|
||||
content of option (issue #388)
|
||||
* xfer: evaluate content of options xfer.file.download_path and
|
||||
xfer.file.upload_path (issue #388)
|
||||
|
||||
=== Bugs fixed
|
||||
|
||||
* core: flush stdout/stderr after sending text directly on them
|
||||
(fix corrupted data sent to hook_process() callback) (issue #442)
|
||||
* core: allow execution of command "/input return" on a buffer which is not
|
||||
displayed in a window
|
||||
* core: allow jump from current to previous buffer with default keys
|
||||
key[alt-j,NN] (issue #466)
|
||||
* core: fix crash if a file descriptor used in hook_fd() is too high
|
||||
(> 1024 on Linux/BSD) (issue #465)
|
||||
* core: fix display of invalid UTF-8 chars in bars
|
||||
* core: fix bar item "scroll" after /buffer clear (issue #448)
|
||||
* core: fix display of time in bare display when option
|
||||
weechat.look.buffer_time_format is set to empty string (issue #441)
|
||||
* api: fix type of value returned by functions strcasestr, utf8_prev_char,
|
||||
utf8_next_char, utf8_add_offset and util_get_time_string
|
||||
* api: fix type of value returned by function strcasestr
|
||||
* fifo: fix send error on Cygwin when something is received in the pipe
|
||||
(issue #436)
|
||||
* irc: fix update of lag item when the server lag changes
|
||||
* irc: do not allow command /query with a channel name (issue #459)
|
||||
* irc: decode/encode only text in IRC messages and not the headers
|
||||
(bug #29886, issue #218, issue #451)
|
||||
* irc: fix crash with commands /allchan, /allpv and /allserv if the executed
|
||||
command closes buffers (issue #445)
|
||||
* irc: do not open auto-joined channels buffers when option "-nojoin" is used
|
||||
in command /connect (even if the option irc.look.buffer_open_before_autojoin
|
||||
is on)
|
||||
* irc: fix errors displayed on WHOX messages received (issue #376)
|
||||
* lua: add detection of Lua 5.3
|
||||
* ruby: add detection of Ruby 2.2
|
||||
* xfer: fix crash if the DCC file socket number is too high
|
||||
(> 1024 on Linux/BSD) (issue #465)
|
||||
* xfer: fix parsing of DCC chat messages (handle "\r\n" at the end of messages)
|
||||
(issue #425, issue #426)
|
||||
* doc: replace PREFIX with CMAKE_INSTALL_PREFIX in cmake instructions
|
||||
(issue #354)
|
||||
|
||||
== Version 1.2 (2015-05-10)
|
||||
|
||||
=== New features
|
||||
|
||||
* core: add signals "signal_sigterm" and "signal_sigquit" (issue #114)
|
||||
* core: use environment variable WEECHAT_HOME on startup (issue #391)
|
||||
* core: remove WeeChat version from config files (issue #407)
|
||||
* core: add options weechat.look.quote_{nick_prefix|nick_suffix|time_format} to
|
||||
customize quoted messages in cursor mode (issue #403)
|
||||
* core: add a welcome message on first WeeChat run (issue #318)
|
||||
* core: add options weechat.look.word_chars_{highlight|input}
|
||||
(issue #55, task #9459)
|
||||
* core: display a warning on startup if the locale can not be set (issue #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) (issue #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: display a warning when the option irc.look.display_away is set to
|
||||
"channel"
|
||||
* 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" (issue #281)
|
||||
* irc: add option "-noswitch" in command /query (issue #394)
|
||||
* irc: format message 008 (RPL_SNOMASK) (issue #144)
|
||||
* irc: add support of "account-notify" capability (issue #11, issue #246)
|
||||
* irc: remove server "freenode" from default config file (issue #309)
|
||||
* irc: add support of "ecdsa-nist256p-challenge" SASL mechanism (issue #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 (issue #412)
|
||||
* irc: fix display of PART messages on channels with +a (anonymous flag)
|
||||
(issue #396)
|
||||
* irc: remove useless rename of channel buffer on JOIN received with different
|
||||
case (issue #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 (issue #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 (issue #335)
|
||||
* relay: remove v4-mapped addresses in /help relay.network.allowed_ips
|
||||
(issue #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 (issue #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 (issue #405)
|
||||
|
||||
== Version 1.1.1 (2015-01-25)
|
||||
|
||||
=== Bugs fixed
|
||||
|
||||
* core: fix random error when creating symbolic link weechat-curses on
|
||||
make install with cmake (bug #40313)
|
||||
* core: fix crash when a root bar has conditions different from
|
||||
active/inactive/nicklist (issue #317)
|
||||
* irc: don't close channel buffer on second /part when option
|
||||
irc.look.part_closes_buffer is off (issue #313)
|
||||
* irc: fix /join on a channel buffer opened with autojoin but which failed to
|
||||
join
|
||||
* irc: send QUIT to server and no PART for channels when the server buffer
|
||||
is closed (issue #294)
|
||||
* irc: fix order of channel buffers opened when option irc.look.server_buffer
|
||||
is set to "independent", irc.look.buffer_open_before_autojoin to "on" and
|
||||
irc.look.new_channel_position to "near_server" (issue #303)
|
||||
* irc: fix crash in buffer close when server name is the same as a channel name
|
||||
(issue #305)
|
||||
|
||||
== Version 1.1 (2015-01-11)
|
||||
|
||||
=== New features
|
||||
@@ -21,8 +201,8 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* core: fully evaluate commands bound to keys in cursor and mouse contexts
|
||||
* core: add option weechat.completion.command_inline (task #12491)
|
||||
* core: add bar item "mouse_status", new options weechat.look.item_mouse_status
|
||||
and weechat.color.status_mouse (closes #247)
|
||||
* core: add signals "mouse_enabled" and "mouse_disabled" (closes #244)
|
||||
and weechat.color.status_mouse (issue #247)
|
||||
* core: add signals "mouse_enabled" and "mouse_disabled" (issue #244)
|
||||
* core: add hide of chars in string in evaluation of expressions
|
||||
* core: add arraylists, improve speed of completions (about 50x faster)
|
||||
* core: move bar item "scroll" between buffer name and lag in default bar items
|
||||
@@ -34,103 +214,103 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* api: add regex replace feature in function string_eval_expression()
|
||||
* api: use microseconds instead of milliseconds in functions
|
||||
util_timeval_diff() and util_timeval_add()
|
||||
* irc: add option "reorder" in command /server (closes #229)
|
||||
* irc: add option "reorder" in command /server (issue #229)
|
||||
* irc: open channel buffers before the JOIN is received from server (autojoin
|
||||
and manual joins), new options irc.look.buffer_open_before_{autojoin|join}
|
||||
(closes #216)
|
||||
(issue #216)
|
||||
* irc: add server option "sasl_fail" (continue/reconnect/disconnect if SASL
|
||||
fails) (closes #265, task #12204)
|
||||
* irc: add support for color codes 16-99 in IRC messages (closes #228), add
|
||||
fails) (issue #265, task #12204)
|
||||
* irc: add support for color codes 16-99 in IRC messages (issue #228), add
|
||||
infolist "irc_color_weechat"
|
||||
* irc: disable SSLv3 by default in server option "ssl_priorities" (closes #248)
|
||||
* irc: add support of "extended-join" capability (closes #143, closes #212)
|
||||
* irc: automatically add current channel in command /samode (closes #241)
|
||||
* irc: display own nick changes in server buffer (closes #188)
|
||||
* irc: disable SSLv3 by default in server option "ssl_priorities" (issue #248)
|
||||
* irc: add support of "extended-join" capability (issue #143, issue #212)
|
||||
* irc: automatically add current channel in command /samode (issue #241)
|
||||
* irc: display own nick changes in server buffer (issue #188)
|
||||
* irc: disable creation of temporary servers by default with command /connect,
|
||||
new option irc.look.temporary_servers
|
||||
* relay: add options "stop" and "restart" in command /relay
|
||||
* relay: add option relay.network.ssl_priorities (closes #234)
|
||||
* relay: add option relay.network.ssl_priorities (issue #234)
|
||||
* relay: add host in sender for IRC backlog PRIVMSG messages sent to clients
|
||||
* script: add option script.scripts.url_force_https (closes #253)
|
||||
* script: add option script.scripts.url_force_https (issue #253)
|
||||
* trigger: evaluate and replace regex groups at same time, new format for regex
|
||||
option in triggers (incompatible with version 1.0) (closes #224)
|
||||
option in triggers (incompatible with version 1.0) (issue #224)
|
||||
* trigger: add `${tg_displayed}` in conditions of default trigger "beep"
|
||||
* trigger: add option "restore" in command /trigger
|
||||
|
||||
=== Bugs fixed
|
||||
|
||||
* core: fix compilation of plugins with cmake >= 3.1 (closes #287)
|
||||
* core: fix compilation of plugins with cmake >= 3.1 (issue #287)
|
||||
* core: fix display bug when scrolling in buffer on a filtered line
|
||||
(closes #240)
|
||||
(issue #240)
|
||||
* core: send mouse code only one time to terminal with command
|
||||
/mouse enable|disable|toggle
|
||||
* core: fix buffer property "lines_hidden" when merging buffers or when a line
|
||||
is removed from a buffer (closes #226)
|
||||
is removed from a buffer (issue #226)
|
||||
* core: display time in bare display only if option
|
||||
weechat.look.buffer_time_format is not an empty string
|
||||
* core: fix translation of message displayed after /upgrade
|
||||
* doc: fix compilation of man pages with autotools in source directory
|
||||
* api: fix truncated process output in hook_process() (closes #266)
|
||||
* api: fix crash when reading config options with NULL value (closes #238)
|
||||
* tests: fix compilation of tests with clang (closes #275)
|
||||
* api: fix truncated process output in hook_process() (issue #266)
|
||||
* api: fix crash when reading config options with NULL value (issue #238)
|
||||
* tests: fix compilation of tests with clang (issue #275)
|
||||
* irc: defer the auto-connection to servers with a timer
|
||||
(closes #279, task #13038)
|
||||
(issue #279, task #13038)
|
||||
* irc: add missing server options "sasl_timeout" and "notify" in output of
|
||||
/server listfull
|
||||
* irc: use option irc.look.nick_mode_empty to display nick prefix in bar item
|
||||
"input_prompt"
|
||||
* irc: remove IRC color codes from buffer title in channels (closes #237)
|
||||
* irc: remove IRC color codes from buffer title in channels (issue #237)
|
||||
* irc: add tag "nick_xxx" in invite messages
|
||||
* irc: fix completion of commands /msg, /notice and /query
|
||||
* irc: fix translation of CTCP PING reply (closes #137)
|
||||
* irc: fix translation of CTCP PING reply (issue #137)
|
||||
* lua: add detection of Lua 5.2
|
||||
* python: fix Python detection with Homebrew (closes #217)
|
||||
* python: fix Python detection with Homebrew (issue #217)
|
||||
* relay: wait for message CAP END before sending join of channels and backlog
|
||||
to the client (closes #223)
|
||||
to the client (issue #223)
|
||||
* relay: send messages "_buffer_localvar_*" and "_buffer_type_changed" with
|
||||
sync "buffers" (closes #191)
|
||||
* relay: don't remove relay from config when the binding fails (closes #225)
|
||||
sync "buffers" (issue #191)
|
||||
* relay: don't remove relay from config when the binding fails (issue #225)
|
||||
* relay: use comma separator in option relay.irc.backlog_tags, check the value
|
||||
of option when it is changed with /set
|
||||
* relay: remove "::ffff:" from IPv4-mapped IPv6 client address (closes #111)
|
||||
* relay: remove "::ffff:" from IPv4-mapped IPv6 client address (issue #111)
|
||||
* trigger: fix memory leak when allocating a new trigger with several regex
|
||||
* xfer: fix freeze when accepting DCC (closes #160, closes #174)
|
||||
* xfer: bind to wildcard address when sending (closes #173)
|
||||
* xfer: fix freeze when accepting DCC (issue #160, issue #174)
|
||||
* xfer: bind to wildcard address when sending (issue #173)
|
||||
|
||||
== Version 1.0.1 (2014-09-28)
|
||||
|
||||
=== Bugs fixed
|
||||
|
||||
* core: fix crash on buffer close when option weechat.look.hotlist_remove is
|
||||
set to "merged" (closes #199)
|
||||
set to "merged" (issue #199)
|
||||
* core: fix highlight of IRC action messages when option irc.look.nick_mode is
|
||||
set to "action" or "both" (closes #206)
|
||||
set to "action" or "both" (issue #206)
|
||||
* core: fix compilation of plugin API functions (macros) when compiler
|
||||
optimizations are enabled (closes #200)
|
||||
optimizations are enabled (issue #200)
|
||||
* core: fix window/buffer pointers used in command /eval
|
||||
* core: fix modifier "weechat_print": discard only one line when several lines
|
||||
are displayed in same message (closes #171)
|
||||
are displayed in same message (issue #171)
|
||||
* api: fix bug in function hdata_move() when absolute value of count is greater
|
||||
than 1
|
||||
* tests: fix build of tests when the build directory is outside source tree
|
||||
(closes #178)
|
||||
(issue #178)
|
||||
* tests: fix memory leak in tests launcher
|
||||
* aspell: fix compilation with Enchant < 1.6.0 (closes #192)
|
||||
* aspell: fix compilation with Enchant < 1.6.0 (issue #192)
|
||||
* aspell: fix crash with command "/aspell addword" if no word is given
|
||||
(closes #164, closes #165)
|
||||
(issue #164, issue #165)
|
||||
* irc: fix display of channel exception list (348) with 6 arguments (date
|
||||
missing)
|
||||
* irc: fix type of value stored in hashtable when joining a channel
|
||||
(closes #211)
|
||||
* guile: fix compilation with Guile < 2.0.4 (closes #198)
|
||||
(issue #211)
|
||||
* guile: fix compilation with Guile < 2.0.4 (issue #198)
|
||||
* perl: fix detection of Perl >= 5.20 with autotools
|
||||
* relay: fix send of signals "relay_client_xxx" (closes #214)
|
||||
* relay: fix send of signals "relay_client_xxx" (issue #214)
|
||||
* script: fix crash on "/script update" if a script detail is displayed in
|
||||
buffer (closes #177)
|
||||
buffer (issue #177)
|
||||
* trigger: do not allow any changes on a trigger when it is currently running
|
||||
(closes #189)
|
||||
(issue #189)
|
||||
* trigger: fix regex used in default triggers to hide passwords ("\S" is not
|
||||
supported on *BSD) (closes #172)
|
||||
supported on *BSD) (issue #172)
|
||||
|
||||
== Version 1.0 (2014-08-15)
|
||||
|
||||
@@ -139,23 +319,23 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* core: add terabyte unit for size displayed
|
||||
* core: display a warning on startup if $TERM does not start with "screen"
|
||||
under screen/tmux
|
||||
* core: add option weechat.color.status_nicklist_count (closes #109,
|
||||
closes #110)
|
||||
* core: add option weechat.color.status_nicklist_count (issue #109,
|
||||
issue #110)
|
||||
* core: add option "env" in command /set (manage environment variables)
|
||||
* core: add bar item "buffer_short_name" (task #10882)
|
||||
* core: add option "send" in command /input (send text to a buffer)
|
||||
* core: add support of negated tags in filters (with "!")
|
||||
(closes #72, closes #74)
|
||||
(issue #72, issue #74)
|
||||
* core: add hidden buffers, add options hide/unhide in command /buffer
|
||||
* core: add default key key[alt--] (toggle filters in current buffer)
|
||||
(closes #17)
|
||||
(issue #17)
|
||||
* core: add non-active merged buffers with activity in hotlist (if another
|
||||
merged buffer is zoomed) (task #12845)
|
||||
* core: add text search in buffers with free content (task #13051)
|
||||
* core: add buffer property "clear"
|
||||
* core: add option weechat.look.hotlist_add_conditions, remove option
|
||||
weechat.look.hotlist_add_buffer_if_away
|
||||
* core: add option weechat.look.hotlist_remove (closes #99)
|
||||
* core: add option weechat.look.hotlist_remove (issue #99)
|
||||
* core: add options "-beep" and "-current" in command /print
|
||||
* core: add bare display mode (for easy text selection and click on URLs), new
|
||||
key: key[alt-l], new option "bare" in command /window, new options:
|
||||
@@ -177,7 +357,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* api: add option "signal" in function hook_set() to send a signal to the child
|
||||
process
|
||||
* api: add support of nested variables in function string_eval_expression() and
|
||||
command /eval (closes #35)
|
||||
command /eval (issue #35)
|
||||
* api: add support of escaped strings with format `${esc:xxx}` or `${\xxx}` in
|
||||
function string_eval_expression() and command /eval
|
||||
* api: add functions hashtable_dup(), string_replace_regex(),
|
||||
@@ -186,29 +366,29 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* alias: add default alias "msgbuf" (send text to a buffer)
|
||||
* exec: add exec plugin: new command /exec and file exec.conf
|
||||
* irc: display locally away status changes in private buffers (in addition to
|
||||
channels) (closes #117)
|
||||
channels) (issue #117)
|
||||
* irc: add value "+" for option irc.look.smart_filter_mode to use modes from
|
||||
server prefixes (this is now the default value) (closes #90)
|
||||
* irc: add bar item "irc_nick_modes" (closes #71)
|
||||
server prefixes (this is now the default value) (issue #90)
|
||||
* irc: add bar item "irc_nick_modes" (issue #71)
|
||||
* irc: add support of message 324 (channel modes) in option
|
||||
irc.look.display_join_message (closes #75)
|
||||
* irc: add option irc.look.join_auto_add_chantype (closes #65)
|
||||
irc.look.display_join_message (issue #75)
|
||||
* irc: add option irc.look.join_auto_add_chantype (issue #65)
|
||||
* irc: add tag with host ("host_xxx") in IRC messages displayed (task #12018)
|
||||
* irc: allow many fingerprints in server option ssl_fingerprint (closes #49)
|
||||
* irc: allow many fingerprints in server option ssl_fingerprint (issue #49)
|
||||
* irc: rename option irc.look.item_channel_modes_hide_key to
|
||||
irc.look.item_channel_modes_hide_args, value is now a string
|
||||
(task #12070, task #12163, closes #48)
|
||||
* irc: add option irc.color.item_nick_modes (closes #47)
|
||||
* irc: allow "$ident" in option irc.network.ban_mask_default (closes #18)
|
||||
* irc: add support of "away-notify" capability (closes #12)
|
||||
* irc: add command /remove (closes #91)
|
||||
* irc: add command /unquiet (closes #36)
|
||||
(task #12070, task #12163, issue #48)
|
||||
* irc: add option irc.color.item_nick_modes (issue #47)
|
||||
* irc: allow "$ident" in option irc.network.ban_mask_default (issue #18)
|
||||
* irc: add support of "away-notify" capability (issue #12)
|
||||
* irc: add command /remove (issue #91)
|
||||
* irc: add command /unquiet (issue #36)
|
||||
* irc: add command /allpv (task #13111)
|
||||
* irc: evaluate content of server options "username" and "realname"
|
||||
* relay: add messages "_buffer_cleared", "_buffer_hidden" and
|
||||
"_buffer_unhidden"
|
||||
* relay: add info "relay_client_count" with optional status name as argument
|
||||
* relay: add signals "relay_client_xxx" for client status changes (closes #2)
|
||||
* relay: add signals "relay_client_xxx" for client status changes (issue #2)
|
||||
* relay: add option relay.network.clients_purge_delay
|
||||
* rmodifier: remove plugin (replaced by trigger)
|
||||
* trigger: add trigger plugin: new command /trigger and file trigger.conf
|
||||
@@ -222,39 +402,39 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* core: fix memory leak when removing script files
|
||||
* core: fix result of hash function (in hashtables) on 32-bit systems
|
||||
* core: fix insert of mouse code in input line after a partial key combo
|
||||
(closes #130)
|
||||
* core: check code point value in UTF-8 check function (closes #108)
|
||||
* core: add option "-mask" in command /unset (closes #112)
|
||||
* core: fix socks5 proxy for curl downloads (closes #119)
|
||||
(issue #130)
|
||||
* core: check code point value in UTF-8 check function (issue #108)
|
||||
* core: add option "-mask" in command /unset (issue #112)
|
||||
* core: fix socks5 proxy for curl downloads (issue #119)
|
||||
* core: display curl error after a failed download
|
||||
* core: do not display content of passphrase on /secure buffer
|
||||
* core: fix potential memory leak with infolists not freed in plugins
|
||||
(debian #751108)
|
||||
* core: fix color display of last terminal color number + 1 (closes #101)
|
||||
* core: add option "-buffer" in command /command (closes #67)
|
||||
* core: fix color display of last terminal color number + 1 (issue #101)
|
||||
* core: add option "-buffer" in command /command (issue #67)
|
||||
* core: fix restoration of core buffer properties after /upgrade
|
||||
* core: fix "/buffer clear" with a name (don't clear all merged buffers with
|
||||
same number)
|
||||
* core: fix evaluation of expression with regex: when a comparison char is in
|
||||
the regex and don't evaluate the regex itself (closes #63)
|
||||
the regex and don't evaluate the regex itself (issue #63)
|
||||
* core: close .upgrade files before deleting them after /upgrade
|
||||
* core: fix refresh of bar item "buffer_zoom" on buffer switch
|
||||
* core: fix reset of attributes in bars when "resetcolor" is used (closes #41)
|
||||
* core: fix reset of attributes in bars when "resetcolor" is used (issue #41)
|
||||
* core: fix alignment of lines in merged buffers when options
|
||||
weechat.look.prefix_align and weechat.look.prefix_buffer_align are set to
|
||||
"none" (closes #43)
|
||||
"none" (issue #43)
|
||||
* core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup"
|
||||
* core: fix add of filter on OS X when regex for message is empty (filter regex
|
||||
ending with "\t")
|
||||
* core: check validity of buffer pointer when data is sent to a buffer
|
||||
(command/text from user and API function command())
|
||||
* core: fix crash when buffer is closed during execution of multiple commands
|
||||
(closes #27)
|
||||
* core: fix compilation on SmartOS (bug #40981, closes #23)
|
||||
(issue #27)
|
||||
* core: fix compilation on SmartOS (bug #40981, issue #23)
|
||||
* core: add missing \0 at the end of stderr buffer in function hook_process()
|
||||
* core: fix highlight problem with "(?-i)" and upper case letters in option
|
||||
weechat.look.highlight (closes #24)
|
||||
* core: use glibtoolize on Mac OS X (autotools) (closes #22)
|
||||
weechat.look.highlight (issue #24)
|
||||
* core: use glibtoolize on Mac OS X (autotools) (issue #22)
|
||||
* core: fix detection of terminated process in function hook_process()
|
||||
* core: set option weechat.look.buffer_search_where to prefix_message by
|
||||
default
|
||||
@@ -285,16 +465,16 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* alias: change default command for alias /beep to "/print -beep"
|
||||
* guile: fix module used after unload of a script
|
||||
* irc: fix memory leak in CTCP answer
|
||||
* irc: fix duplicate sender name in display of wallops (closes #142,
|
||||
closes #145)
|
||||
* irc: fix duplicate sender name in display of wallops (issue #142,
|
||||
issue #145)
|
||||
* irc: fix extract of channel in parser for JOIN/PART messages when there is a
|
||||
colon before the channel name (closes #83)
|
||||
* irc: fix duplicate sender name in display of notice (closes #87)
|
||||
colon before the channel name (issue #83)
|
||||
* irc: fix duplicate sender name in display of notice (issue #87)
|
||||
* irc: fix refresh of buffer name in bar items after join/part/kick/kill
|
||||
(closes #86)
|
||||
(issue #86)
|
||||
* irc: display message 936 (censored word) on channel instead of server buffer
|
||||
* irc: make reason optional in command /kill
|
||||
* irc: add alias "whois" for target buffer of messages 401/402 (closes #54)
|
||||
* irc: add alias "whois" for target buffer of messages 401/402 (issue #54)
|
||||
* irc: fix truncated read on socket with SSL (bug #41558)
|
||||
* irc: display output of CAP LIST in server buffer
|
||||
* irc: fix colors in message with CTCP reply sent to another user
|
||||
@@ -307,19 +487,19 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* lua: fix interpreter used after unload of a script
|
||||
* perl: fix context used after unload of a script
|
||||
* python: fix read of return value for callbacks returning an integer
|
||||
in Python 2.x (closes #125)
|
||||
in Python 2.x (issue #125)
|
||||
* python: fix interpreter used after unload of a script
|
||||
* relay: fix memory leak during handshake on websocket
|
||||
* relay: fix memory leak when receiving commands from client (weechat protocol)
|
||||
* relay: fix crash when an IRC "MODE" command is received from client without
|
||||
arguments
|
||||
* relay: fix number of bytes sent/received on 32-bit systems
|
||||
* relay: fix crash when closing relay buffers (closes #57, closes #78)
|
||||
* relay: fix crash when closing relay buffers (issue #57, issue #78)
|
||||
* relay: check pointers received in hdata command to prevent crashes with bad
|
||||
pointers (WeeChat protocol)
|
||||
* relay: remove warning on /reload of relay.conf when ports are defined
|
||||
* relay: fix client disconnection on empty websocket frames received (PONG)
|
||||
* relay: add support of Internet Explorer websocket (closes #73)
|
||||
* relay: add support of Internet Explorer websocket (issue #73)
|
||||
* relay: fix crash on /upgrade received from a client (weechat protocol)
|
||||
* relay: fix freeze after /upgrade when many disconnected clients still exist
|
||||
* relay: fix NULL pointer when reading buffer lines for irc backlog
|
||||
@@ -328,14 +508,14 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* script: fix display of curl errors
|
||||
* script: set option script.scripts.cache_expire to 1440 by default
|
||||
* script: fix scroll on script buffer in the detailed view of script
|
||||
(closes #6)
|
||||
(issue #6)
|
||||
* scripts: fix crash when a signal is received with type "int" and NULL pointer
|
||||
in signal_data
|
||||
* xfer: fix problem with option xfer.file.auto_accept_nicks when the server
|
||||
name contains dots
|
||||
* xfer: fix freeze/problems when sending empty files with DCC (closes #53)
|
||||
* xfer: fix connection to remote host in DCC receive on Mac OS X (closes #25)
|
||||
* xfer: remove bind on xfer.network.own_ip (closes #5)
|
||||
* xfer: fix freeze/problems when sending empty files with DCC (issue #53)
|
||||
* xfer: fix connection to remote host in DCC receive on Mac OS X (issue #25)
|
||||
* xfer: remove bind on xfer.network.own_ip (issue #5)
|
||||
|
||||
== Version 0.4.3 (2014-02-09)
|
||||
|
||||
@@ -450,7 +630,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* irc: fix ignore on a host without nick
|
||||
* irc: use color code 0x1F (`ctrl-_`) for underlined text in input line (same
|
||||
code as messages) (bug #40756)
|
||||
* irc: use color code 0x16 (`ctrl-V`) for reverse video in messages
|
||||
* irc: use color code 0x16 (`ctrl-v`) for reverse video in messages
|
||||
* irc: use option irc.network.colors_send instead of irc.network.colors_receive
|
||||
when displaying messages sent by commands /away, /me, /msg, /notice, /query
|
||||
* irc: fix memory leak when checking the value of ssl_priorities option in
|
||||
|
||||
@@ -59,6 +59,7 @@ 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 \
|
||||
|
||||
+8
-7
@@ -4,9 +4,9 @@
|
||||
:lang: en
|
||||
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
Homepage: https://weechat.org/
|
||||
|
||||
@@ -19,12 +19,13 @@ 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).
|
||||
* Customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl,
|
||||
Guile, Javascript).
|
||||
* Fully documented and translated into several languages.
|
||||
* Developed from scratch.
|
||||
* Free software, released under GPLv3.
|
||||
|
||||
image::http://static.weechat.org/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"]
|
||||
image::https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"]
|
||||
|
||||
== Install
|
||||
|
||||
@@ -43,7 +44,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
|
||||
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript)
|
||||
* for building doc: asciidoc, source-highlight
|
||||
(for man page: xsltproc, docbook-xml, docbook-xsl)
|
||||
* for building tests: C++ compiler, CppUTest
|
||||
@@ -63,7 +64,7 @@ Build with autotools requires more dependencies and is slower than with CMake.
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DPREFIX=/path/to/directory
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
|
||||
$ make
|
||||
$ make install (as root for installation in system directories)
|
||||
----
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
: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
|
||||
@@ -15,6 +17,52 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file 'ChangeLog.asciidoc' in sources).
|
||||
|
||||
|
||||
== Version 1.3 (under dev)
|
||||
|
||||
=== Alias command
|
||||
|
||||
The command `/alias` has been updated to list, add and remove aliases.
|
||||
Therefore the command `/unalias` has been removed.
|
||||
|
||||
To add an alias, the argument `add` must be used in command `/alias` before the
|
||||
name, for example:
|
||||
|
||||
----
|
||||
/alias add split /window splith
|
||||
----
|
||||
|
||||
And the alias is removed with this command:
|
||||
|
||||
----
|
||||
/alias del split
|
||||
----
|
||||
|
||||
=== Script path
|
||||
|
||||
The option 'script.scripts.dir' has been renamed to 'script.scripts.path'
|
||||
(and the content is now evaluated, see `/help eval`).
|
||||
|
||||
== Version 1.2 (2015-05-10)
|
||||
|
||||
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.
|
||||
|
||||
== Version 1.1 (2015-01-11)
|
||||
|
||||
=== New format for regex replacement in triggers
|
||||
|
||||
@@ -41,11 +41,15 @@ if(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
|
||||
OUTPUT_VARIABLE ASCIIDOC_VERSION
|
||||
)
|
||||
|
||||
if(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
|
||||
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")
|
||||
set(ASCIIDOC_FOUND TRUE)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(
|
||||
ASCIIDOC_EXECUTABLE
|
||||
ASCIIDOC_VERSION
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
#
|
||||
|
||||
# - Find CppUTest
|
||||
# This module finds if Guile is installed and determines where the include files
|
||||
# and libraries are. It also determines what the name of the library is. This
|
||||
# code sets the following variables:
|
||||
# This module finds if CppUTest is installed and determines where the include
|
||||
# files and libraries are. It also determines what the name of the library is.
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# CPPUTEST_FOUND = CppUTest is installed
|
||||
# CPPUTEST_INCLUDE_DIRS = CppUTest include directory
|
||||
@@ -33,5 +33,5 @@ endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(CPPUTEST REQUIRED cpputest)
|
||||
pkg_search_module(CPPUTEST cpputest)
|
||||
endif()
|
||||
|
||||
+1
-1
@@ -35,5 +35,5 @@ endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(LUA lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
|
||||
pkg_search_module(LUA lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
|
||||
endif()
|
||||
|
||||
@@ -33,7 +33,7 @@ endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(RUBY ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
|
||||
pkg_search_module(RUBY ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
|
||||
endif()
|
||||
|
||||
if(RUBY_FOUND)
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
#
|
||||
# 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 V8 (Google's Javascript engine)
|
||||
# This module finds if libv8 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
|
||||
)
|
||||
+69
-2
@@ -24,7 +24,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.56)
|
||||
AC_INIT(WeeChat, 1.1, flashcode@flashtux.org)
|
||||
AC_INIT(WeeChat, 1.3-rc1, flashcode@flashtux.org)
|
||||
AC_CONFIG_SRCDIR([configure.ac])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
@@ -58,7 +58,7 @@ solaris*)
|
||||
esac
|
||||
|
||||
# Gettext
|
||||
ALL_LINGUAS="fr es cs hu de ru pl it ja pt_BR tr"
|
||||
ALL_LINGUAS="cs de es fr hu it ja pl pt_BR ru tr"
|
||||
AM_GNU_GETTEXT
|
||||
AM_GNU_GETTEXT_VERSION([0.18])
|
||||
|
||||
@@ -119,6 +119,7 @@ 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])
|
||||
@@ -150,6 +151,7 @@ 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='')
|
||||
@@ -282,6 +284,7 @@ if test "x$enable_scripts" = "xno" ; then
|
||||
enable_lua="no"
|
||||
enable_tcl="no"
|
||||
enable_guile="no"
|
||||
enable_javascript="no"
|
||||
fi
|
||||
|
||||
# ---------------------------------- alias -------------------------------------
|
||||
@@ -783,6 +786,8 @@ 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
|
||||
@@ -836,6 +841,8 @@ 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
|
||||
@@ -844,6 +851,60 @@ 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
|
||||
@@ -1188,6 +1249,7 @@ gnu*)
|
||||
esac
|
||||
|
||||
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
|
||||
CPPFLAGS="$CPPFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# output Makefiles
|
||||
@@ -1212,6 +1274,7 @@ 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")
|
||||
@@ -1246,6 +1309,7 @@ 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
|
||||
@@ -1315,6 +1379,9 @@ 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
|
||||
|
||||
Vendored
+9
@@ -1,3 +1,12 @@
|
||||
weechat (1.1.1-1) unstable; urgency=medium
|
||||
|
||||
Since version 1.1, there is a new format for regexp replacement in
|
||||
triggers. This format is incompatible with version 1.0. The existing
|
||||
triggers will not be automatically updated.
|
||||
See http://www.weechat.org/files/releasenotes/ReleaseNotes-1.1.html
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 25 Jan 2015 20:41:50 +0100
|
||||
|
||||
weechat (0.3.1-1) unstable; urgency=low
|
||||
|
||||
This release introduces important changes with the usage of SSL. There
|
||||
|
||||
Vendored
+19
@@ -1,3 +1,22 @@
|
||||
weechat (1.2-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
- Enable build of javascript plugin (using v8 engine)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 11 May 2015 18:00:01 +0200
|
||||
|
||||
weechat (1.1.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #776105)
|
||||
- Add a new entry in News.Debian about new format for regex replacement
|
||||
in triggers
|
||||
* Update debian/{control,copyright,watch} to use https links with the
|
||||
upstream project resources
|
||||
* Bump Standards-Version to 3.9.6
|
||||
* Update year in debian/copyright
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 25 Jan 2015 20:27:04 +0100
|
||||
|
||||
weechat (1.0.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
|
||||
Vendored
+5
-4
@@ -18,11 +18,12 @@ Build-Depends:
|
||||
liblua5.1-0-dev,
|
||||
tcl8.5-dev,
|
||||
guile-2.0-dev,
|
||||
libv8-dev,
|
||||
libcurl4-gnutls-dev,
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 3.9.5
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
|
||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/kolter/weechat.git
|
||||
@@ -45,7 +46,7 @@ Description: Fast, light and extensible chat client
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl and Scheme scripting
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
@@ -72,7 +73,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 and Scheme scripting
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
@@ -103,7 +104,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 and Scheme scripting
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- Spell checking (thanks to aspell)
|
||||
- FIFO pipe for remote control
|
||||
|
||||
Vendored
-3
@@ -1,5 +1,2 @@
|
||||
[DEFAULT]
|
||||
upstream-branch = upstream
|
||||
debian-branch = unstable
|
||||
upstream-tag = v%(version)s
|
||||
compression = xz
|
||||
|
||||
Vendored
+4
-3
@@ -1,7 +1,8 @@
|
||||
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/fr/man1/weechat.1.gz usr/share/man/fr/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/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/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
|
||||
|
||||
Vendored
+5
-4
@@ -2,11 +2,12 @@ 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/ruby.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/ruby.so
|
||||
usr/lib/weechat/plugins/script.so
|
||||
usr/lib/weechat/plugins/tcl.so
|
||||
usr/lib/weechat/plugins/trigger.so
|
||||
|
||||
@@ -19,9 +19,31 @@
|
||||
#
|
||||
|
||||
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)
|
||||
@@ -30,5 +52,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
add_subdirectory(es)
|
||||
add_subdirectory(ru)
|
||||
add_subdirectory(ja)
|
||||
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
+8
-1
@@ -20,7 +20,14 @@
|
||||
|
||||
SUBDIRS = . en fr it de pl es ru ja
|
||||
|
||||
EXTRA_DIST = docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
|
||||
EXTRA_DIST = docgen.py \
|
||||
CMakeLists.txt \
|
||||
asciidoc.conf \
|
||||
asciidoc_toc.css \
|
||||
asciidoc_toc2.css
|
||||
|
||||
uninstall-hook:
|
||||
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
|
||||
|
||||
clean-local:
|
||||
-rm -f asciidoc_toc.css asciidoc_toc2.css
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* Custom asciidoc styles */
|
||||
|
||||
body {
|
||||
margin: 1em 2em;
|
||||
font-family: verdana, sans-serif;
|
||||
@@ -24,15 +26,18 @@ tt {
|
||||
}
|
||||
#toc {
|
||||
line-height: 1.4em;
|
||||
padding-bottom: 3em;
|
||||
}
|
||||
#toctitle {
|
||||
margin-bottom: .6em;
|
||||
color: #555;
|
||||
}
|
||||
div.toclevel0, div.toclevel1 {
|
||||
font-size: 1.1em;
|
||||
#toc .toclevel0, #toc .toclevel1 {
|
||||
display: block;
|
||||
font-size: 1em;
|
||||
}
|
||||
div.toclevel2, div.toclevel3, div.toclevel4 {
|
||||
#toc .toclevel2, #toc .toclevel3, #toc .toclevel4 {
|
||||
display: block;
|
||||
font-size: 1em;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
@@ -40,7 +45,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
}
|
||||
h1 {
|
||||
padding: 1.2em;
|
||||
border: solid 1px #c0d0ff;
|
||||
border: 1px solid #c0d0ff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 1px 1px 3px #aac;
|
||||
background: #ddeaee;
|
||||
@@ -53,7 +58,7 @@ h1 {
|
||||
}
|
||||
h2 {
|
||||
padding: .5em;
|
||||
border: solid 1px #d0d0d0;
|
||||
border: 1px solid #d0d0d0;
|
||||
border-radius: 6px;
|
||||
box-shadow: 1px 1px 2px #bbb;
|
||||
background: #f2f2f2;
|
||||
@@ -79,7 +84,7 @@ h5 {
|
||||
}
|
||||
span.command {
|
||||
padding: .2em .5em;
|
||||
border: solid 1px #ccc;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
box-shadow: 1px 1px 2px #ccc;
|
||||
margin-right: 12px;
|
||||
@@ -91,13 +96,10 @@ p.table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
div.listingblock > div.content {
|
||||
border: solid 1px #e2e2e2;
|
||||
border: 1px solid #e2e2e2;
|
||||
border-radius: 4px;
|
||||
background: #fbfbfb;
|
||||
}
|
||||
div.tableblock > table {
|
||||
border: 2px solid #888;
|
||||
}
|
||||
.listingblock pre {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
@@ -107,8 +109,11 @@ table th {
|
||||
color: #000;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.tableblock table th, .tableblock table td {
|
||||
border: solid 1px #bbb;
|
||||
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;
|
||||
@@ -125,10 +130,10 @@ dt.hdlist1 {
|
||||
}
|
||||
.key {
|
||||
padding: .1em .4em;
|
||||
border-top: solid 1px #d5d5e5;
|
||||
border-left: solid 1px #d5d5e5;
|
||||
border-bottom: solid 1px #a5a5b5;
|
||||
border-right: solid 1px #a5a5b5;
|
||||
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;
|
||||
@@ -138,40 +143,40 @@ dt.hdlist1 {
|
||||
line-height: 1.6em;
|
||||
}
|
||||
.key.ctrl {
|
||||
border-top: solid 1px #dfd0d0;
|
||||
border-left: solid 1px #dfd0d0;
|
||||
border-bottom: solid 1px #afa0a0;
|
||||
border-right: solid 1px #afa0a0;
|
||||
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: solid 1px #dfc5b4;
|
||||
border-left: solid 1px #dfc5b4;
|
||||
border-bottom: solid 1px #af9484;
|
||||
border-right: solid 1px #af9484;
|
||||
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: solid 1px #d5d5d5;
|
||||
border-left: solid 1px #d5d5d5;
|
||||
border-bottom: solid 1px #a5a5a5;
|
||||
border-right: solid 1px #a5a5a5;
|
||||
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: solid 1px #d0e0d0;
|
||||
border-left: solid 1px #d0e0d0;
|
||||
border-bottom: solid 1px #a0b0a0;
|
||||
border-right: solid 1px #a0b0a0;
|
||||
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;
|
||||
@@ -181,12 +186,12 @@ dt.hdlist1 {
|
||||
}
|
||||
.hexa {
|
||||
padding: 0 .2em;
|
||||
border: solid 1px #88b;
|
||||
border: 1px solid #88b;
|
||||
margin: 0 .2em;
|
||||
color: #007;
|
||||
font-family: monospace;
|
||||
font-size: .85em;
|
||||
}
|
||||
#footer {
|
||||
border-top: 1px solid silver;
|
||||
border-top: solid 1px silver;
|
||||
}
|
||||
@@ -0,0 +1,219 @@
|
||||
/* 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;
|
||||
}
|
||||
+19
-8
@@ -21,12 +21,13 @@ 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 ${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
|
||||
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
|
||||
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)
|
||||
@@ -38,11 +39,13 @@ 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 -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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o 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)
|
||||
@@ -51,9 +54,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
# scripting guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
|
||||
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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o 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)
|
||||
@@ -62,9 +67,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
# FAQ
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
|
||||
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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o 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)
|
||||
@@ -73,9 +80,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
# quickstart
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
|
||||
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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o 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)
|
||||
@@ -84,9 +93,11 @@ 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 -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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o 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
@@ -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)
|
||||
$(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
|
||||
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
|
||||
|
||||
# scripting guide
|
||||
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
|
||||
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
|
||||
|
||||
# FAQ
|
||||
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
|
||||
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
|
||||
|
||||
# quickstart
|
||||
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
|
||||
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
|
||||
|
||||
# tester's guide
|
||||
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
|
||||
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
|
||||
|
||||
# install man/docs
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -46,6 +50,8 @@
|
||||
|
||||
| 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,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
* 'guile_callback': Callback eines Skripts
|
||||
** Erweiterung: guile
|
||||
** Variablen:
|
||||
@@ -42,7 +46,7 @@
|
||||
*** 'limit' (integer)
|
||||
*** 'key' (string)
|
||||
*** 'join_msg_received' (hashtable)
|
||||
*** 'checking_away' (integer)
|
||||
*** 'checking_whox' (integer)
|
||||
*** 'away_message' (string)
|
||||
*** 'has_quit_server' (integer)
|
||||
*** 'cycle' (integer)
|
||||
@@ -89,6 +93,7 @@
|
||||
*** 'prefixes' (string)
|
||||
*** 'prefix' (string)
|
||||
*** 'away' (integer)
|
||||
*** 'account' (string)
|
||||
*** 'color' (string)
|
||||
*** 'prev_nick' (pointer, hdata: "irc_nick")
|
||||
*** 'next_nick' (pointer, hdata: "irc_nick")
|
||||
@@ -176,6 +181,7 @@
|
||||
*** 'nick' (string)
|
||||
*** 'nick_modes' (string)
|
||||
*** 'cap_away_notify' (integer)
|
||||
*** 'cap_account_notify' (integer)
|
||||
*** 'isupport' (string)
|
||||
*** 'prefix_modes' (string)
|
||||
*** 'prefix_chars' (string)
|
||||
@@ -220,6 +226,40 @@
|
||||
** 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:
|
||||
@@ -843,6 +883,8 @@
|
||||
*** 'version' (string)
|
||||
*** 'license' (string)
|
||||
*** 'charset' (string)
|
||||
*** 'priority' (integer)
|
||||
*** 'initialized' (integer)
|
||||
*** 'debug' (integer)
|
||||
*** 'prev_plugin' (pointer, hdata: "plugin")
|
||||
*** 'next_plugin' (pointer, hdata: "plugin")
|
||||
@@ -900,6 +942,7 @@
|
||||
*** 'scrolling' (integer)
|
||||
*** 'start_col' (integer)
|
||||
*** 'lines_after' (integer)
|
||||
*** 'text_search_start_line' (pointer, hdata: "line")
|
||||
*** 'prev_scroll' (pointer, hdata: "window_scroll")
|
||||
*** 'next_scroll' (pointer, hdata: "window_scroll")
|
||||
* 'window_tree': Baumstruktur der Fenster
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -18,7 +22,9 @@
|
||||
|
||||
| irc | irc_server | Liste der IRC-Server | Server Pointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| logger | logger_buffer | Auflistung der protokollierten Buffer | Logger Pointer (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) | -
|
||||
|
||||
| lua | lua_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -54,11 +58,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 Nummer) | -
|
||||
| weechat | version_number | WeeChat-Version (als Zahl) | -
|
||||
|
||||
| weechat | weechat_dir | WeeChat Verzeichnis | -
|
||||
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
//
|
||||
// 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)
|
||||
|
||||
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein)
|
||||
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein), "text": Text (zum Beispiel eine Nachricht von einem User), "pos_text": Index des Textes innerhalb einer Nachricht ("-1" falls Text nicht gefunden wird)
|
||||
|
||||
| irc | irc_message_split | dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,15 +1,24 @@
|
||||
//
|
||||
// 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::
|
||||
[command]*`alias`* auflisten, hinzufügen oder entfernen von Alternativnamen::
|
||||
|
||||
----
|
||||
/alias [-completion <completion>] <alias> [<command> [;<command>...]]
|
||||
/alias list [<alias>]
|
||||
add <alias> [<command>[;<command>...]]
|
||||
addcompletion <completion> <alias> [<command>[;<command>...]]
|
||||
del <alias> [<alias>...]
|
||||
|
||||
completion: optionale Vervollständigung für einen Alias-Befehl (Standardverhalten: Vervollständigung wird auf den Zielbefehl angewendet)
|
||||
Hinweis: Mit der Variablen "%%command" kann eine Vervollständigung eines vorhandenen Befehls durchgeführt werden
|
||||
alias: Name des Alias (Platzhalter "*" kann verwendet werden)
|
||||
command: Name des zuzuordnenden Befehls (WeeChat- oder IRC-Befehl ohne führenden '/', mehrere Befehle müssen durch Semikolon getrennt werden)
|
||||
|
||||
Ohne Angabe von Argumenten werden alle definierten Aliase angezeigt.
|
||||
list: listet Alternativbefehle auf (ohne Angabe von Argumenten wird diese Liste dargestellt)
|
||||
add: fügt einen Alternativbefehl hinzu
|
||||
addcompletion: fügt einen Alternativbefehl, mit einer benutzerdefinierten Vervollständigung, hinzu
|
||||
del: entfernt einen Alternativbefehl
|
||||
completion: Vervollständigung für Alternativbefehl: standardmäßig wird die Vervollständigung auf den Zielbefehl angewendet
|
||||
Hinweis: Mit der Variablen "%%command" kann eine Vervollständigung eines vorhandenen Befehls durchgeführt werden
|
||||
alias: Name des Alternativbefehls
|
||||
command: Name des zuzuordnenden Befehls, inklusive Argumenten (mehrere Befehle können durch Semikolon getrennt werden)
|
||||
|
||||
Anmerkung: Im Befehl können Variablen genutzt werden, die dann durch den entsprechenden Wert ersetzt werden:
|
||||
$n: Argument 'n' (zwischen 1 und 9)
|
||||
@@ -21,14 +30,12 @@ Anmerkung: Im Befehl können Variablen genutzt werden, die dann durch den entspr
|
||||
$var: "var" ist eine lokale Variable für den jeweiligen Buffer (siehe /buffer localvar)
|
||||
Beispiel: $nick, $channel, $server, $plugin, $name
|
||||
|
||||
Um ein Alias zu löschen wird der Befehl "/unalias" genutzt.
|
||||
|
||||
Beispiele:
|
||||
Alias "/split" wird anlegt um damit ein Fenster horizontal zu teilen:
|
||||
Alternativbefehl "/split" wird anlegt um ein Fenster horizontal zu teilen:
|
||||
/alias split /window splith
|
||||
Alias "/hallo" wird angelegt um in allen Channels, außer im #weechat Channel, den Text "Hallo" auszugeben:
|
||||
Alternativbefehl "/hallo" wird angelegt um in allen Channels, außer im #weechat Channel, den Text "Hallo" auszugeben:
|
||||
/alias hallo /allchan -exclude=#weechat msg * Hallo
|
||||
Alias "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen:
|
||||
Alternativbefehl "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen:
|
||||
/alias -completion %%sajoin forcejoin /quote forcejoin
|
||||
----
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_aspell_aspell]]
|
||||
[command]*`aspell`* Konfiguration für Aspell-Erweiterung::
|
||||
|
||||
@@ -18,6 +22,8 @@ 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_exec_exec]]
|
||||
[command]*`exec`* führe externe Befehle aus::
|
||||
|
||||
@@ -19,7 +23,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 Bufger 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 Buffer 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,6 +1,10 @@
|
||||
//
|
||||
// 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
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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::
|
||||
|
||||
@@ -100,7 +104,7 @@ Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Channel angezei
|
||||
-nojoin: Channel(s) werden nicht betreten (auch falls die Funktion "autojoin" aktiviert sein sollte)
|
||||
-switch: wechselt zur nächsten Server-Adresse
|
||||
|
||||
Um eine Verbindung zum Server zu beenden bzw. um Verbindungsversuche zu stoppen, wird der Befehl /disconnect verwendet.
|
||||
Um eine Verbindung zum Server, oder Verbindungsversuche, zu beenden wird der Befehl /disconnect verwendet.
|
||||
|
||||
Beispiele:
|
||||
/connect freenode
|
||||
@@ -547,8 +551,9 @@ Daemon2: Nachricht an diesen Daemon weiterleiten
|
||||
[command]*`query`* Eine private Nachricht an einen Nick schicken::
|
||||
|
||||
----
|
||||
/query [-server <server>] <nick>[,<nick>...] [<text>]
|
||||
/query [-noswitch] [-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
|
||||
@@ -680,17 +685,17 @@ reason: Grund der Abmeldung
|
||||
deloutq|jump|raw
|
||||
|
||||
list: listet Server auf (ohne Angabe von Argumente wird diese Liste standardmäßig ausgegeben)
|
||||
listfull: listet Server mit detaillierten Informationen über jeden einzelnen Server auf
|
||||
listfull: listet alle Server auf, mit detaillierten Informationen zu jedem einzelnen Server
|
||||
add: erstellt einen neuen Server
|
||||
server: Servername, dient der internen Nutzung und zur Darstellung
|
||||
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
|
||||
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
|
||||
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)
|
||||
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: behält den Server in der Konfigurationsdatei (ausschließlich für die Nutzung bei temporären Servern)
|
||||
keep: übernimmt den Server in die Konfigurationsdatei (nur sinnvoll bei temporär angelegten 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
|
||||
@@ -698,13 +703,12 @@ nooption: stellt die Boolean Einstellung auf "off" (Beispiel: -nossl)
|
||||
|
||||
Beispiele:
|
||||
/server listfull
|
||||
/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 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 del freenode
|
||||
/server deloutq
|
||||
----
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -364,7 +368,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 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`
|
||||
** 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`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
@@ -494,7 +498,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: away-notify, extended-join, multi-prefix, server-time, userhost-in-name (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: account-notify, away-notify, extended-join, multi-prefix, server-time, userhost-in-names (Beispiel: "away-notify,multi-prefix")`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
@@ -539,7 +543,7 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_irc.server_default.nicks]] *irc.server_default.nicks*
|
||||
** Beschreibung: `Nicknamen, die auf dem IRC-Server benutzt werden sollen (durch Komma getrennt)`
|
||||
** Beschreibung: `Nicknamen, die auf dem IRC-Server benutzt werden sollen (durch Komma getrennt) (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
@@ -568,13 +572,18 @@
|
||||
** 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, "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`
|
||||
** 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)`
|
||||
** Typ: integer
|
||||
** Werte: plain, dh-blowfish, dh-aes, external (Standardwert: `plain`)
|
||||
** Werte: plain, ecdsa-nist256p-challenge, external, dh-blowfish, dh-aes (Standardwert: `plain`)
|
||||
|
||||
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
|
||||
** Beschreibung: `Passwort für SASL Authentifikation (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
|
||||
** 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)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
@@ -584,7 +593,7 @@
|
||||
** Werte: 1 .. 3600 (Standardwert: `15`)
|
||||
|
||||
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
|
||||
** Beschreibung: `Username für SASL Authentifikation (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
|
||||
** Beschreibung: `Username für SASL Authentifikation; diese Option wird nicht für den Mechanismus "external" verwendet (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
@@ -604,7 +613,7 @@
|
||||
** Werte: 0 .. 2147483647 (Standardwert: `2048`)
|
||||
|
||||
* [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint*
|
||||
** 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")`
|
||||
** 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")`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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)::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -34,17 +38,17 @@
|
||||
** 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: `""`)
|
||||
|
||||
* [[option_logger.file.path]] *logger.file.path*
|
||||
** Beschreibung: `Pfad für WeeChat Protokolldateien; "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat"); eine Datumsspezifikation ist zulässig (siehe: man strftime)`
|
||||
** Beschreibung: `Pfad für WeeChat Protokolldateien; "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat"); eine Datumsspezifikation ist zulässig (siehe: man strftime) (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%h/logs/"`)
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_relay_relay]]
|
||||
[command]*`relay`* Relay-Kontrolle::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -79,7 +83,7 @@
|
||||
** Werte: 0 .. 65535 (Standardwert: `256`)
|
||||
|
||||
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
|
||||
** 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.*)$"`
|
||||
** 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.*)$"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
@@ -124,7 +128,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 nutzen 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 unterscheiden muss "(?-i)" dem Origin vorangestellt werden), Beispiele: "^http://(www\.)?example\.(com|org)"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_script_script]]
|
||||
[command]*`script`* WeeChat Skripten-Manager::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -178,18 +182,18 @@
|
||||
** Typ: integer
|
||||
** Werte: -1 .. 525600 (Standardwert: `1440`)
|
||||
|
||||
* [[option_script.scripts.dir]] *script.scripts.dir*
|
||||
** Beschreibung: `lokales Cache-Verzeichnis für Skripten`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%h/script"`)
|
||||
|
||||
* [[option_script.scripts.hold]] *script.scripts.hold*
|
||||
** Beschreibung: `Skripten welche "gehalten" werden sollen. Dies ist eine durch Kommata getrennte Liste von Skripten die weder aktualisiert noch entfernt werden können. Zum Beispiel: "buffers.pl,iset.pl"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_script.scripts.path]] *script.scripts.path*
|
||||
** Beschreibung: `lokales Cache-Verzeichnis für die Script-Erweiterung; "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat") (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%h/script"`)
|
||||
|
||||
* [[option_script.scripts.url]] *script.scripts.url*
|
||||
** Beschreibung: `URL für Datei mit Inhalt der unterstützten Skripten`
|
||||
** Beschreibung: `URL mit dem Dateinamen, welches die Liste der Skripten enthält; standardmäßig wird HTTPS genutzt, siehe Option script.scripts.url_force_https`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"http://weechat.org/files/plugins.xml.gz"`)
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_weechat_away]]
|
||||
[command]*`away`* Abwesenheitsstatus setzen oder entfernen::
|
||||
|
||||
@@ -40,7 +44,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
|
||||
@@ -147,7 +151,7 @@ Beispiele:
|
||||
alias: weist einer Farbzahl einen Namen zu
|
||||
unalias: entfernt einen Namen
|
||||
color: Farbnummer (>= 0, maximale Anzahl ist abhängig vom Terminal, üblicherweise 63 oder 255 Farben)
|
||||
name: Aliasname für eine Farbe (zum Beispiel: "orange")
|
||||
name: Alternativname für eine Farbe (zum Beispiel: "orange")
|
||||
reset: setzt alle Farbpaarungen zurück (nützlich falls keine Farbpaarung mehr verfügbar sein sollte und die automatische Reset-Option deaktiviert ist, siehe Einstellung: weechat.look.color_pairs_auto_reset)
|
||||
term2rgb: konvertiert eine Terminalfarbe (0-255) in eine RGB Farbe
|
||||
rgb2term: konvertiert eine RGB Farbe in eine Terminalfarbe (0-255)
|
||||
@@ -170,7 +174,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)
|
||||
----
|
||||
|
||||
@@ -190,6 +194,18 @@ 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
|
||||
@@ -232,10 +248,11 @@ infolists: zeigt Information über die Infolists an
|
||||
[command]*`eval`* evaluierter Ausdruck::
|
||||
|
||||
----
|
||||
/eval [-n] <expression>
|
||||
/eval [-n|-s] <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:
|
||||
@@ -252,7 +269,7 @@ expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${vari
|
||||
=~ stimmt mit regulärem POSIX Ausdruck überein
|
||||
!~ stimmt NICHT mit regulärem POSIX Ausdruck überein
|
||||
|
||||
Ein Ausdruck gilt als "wahr", sofern das Ergebnis nicht NULL, nicht leer und von "0" abweichend ist.
|
||||
Ein Ausdruck gilt als "wahr" sofern das Ergebnis weder NULL, leer und von "0" abweichend ist.
|
||||
Der Vergleich findet zwischen zwei Integer Werten statt, sofern die beiden Ausdrücke gültige Integer-Werte sind.
|
||||
Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrücke in Anführungszeichen gesetzt werden, zum Beispiel:
|
||||
50 > 100 ==> 0
|
||||
@@ -260,28 +277,35 @@ Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrü
|
||||
|
||||
Einige Variablen werden im Ausdruck, mittels der Formatierung ${Variable}, ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
|
||||
1. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
|
||||
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. 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.
|
||||
2. eine Zeichenkette welche Escape-Zeichen besitzt (Format: "esc:xxx" oder "\xxx")
|
||||
3. Zeichen welche in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
|
||||
4. eine Farbe (Format: color:xxx)
|
||||
5. eine Info (Format: "info:name,arguments", Argumente sind optional)
|
||||
6. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
||||
7. eine Umgebungsvariable (Format: "env:XXX")
|
||||
8. der Name einer Programmoption (Format: file.section.option)
|
||||
9. der Name einer lokalen Variablen eines Buffer
|
||||
10. 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:
|
||||
${buffer[gui_buffers].full_name}: der vollständige Name des ersten Buffers, in der verknüpften Liste aller Buffer
|
||||
${plugin[weechat_plugins].name}: Name der ersten Erweiterung, in der verknüpften Liste aller Erweiterungen
|
||||
hdata[pointer].var1.var2...: startet hdata mittels einem Pointer, zum Beispiel:
|
||||
${buffer[0x1234abcd].full_name}: vollständiger Name eines Buffers und des dazugehörigen Pointers (kann in triggern benutzt werden)
|
||||
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 ${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 ${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 ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
|
||||
Beispiele (Bedingungen):
|
||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||
@@ -354,6 +378,8 @@ 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]]
|
||||
@@ -392,13 +418,15 @@ Auflistung der möglichen Aktionen:
|
||||
return: simuliert die "enter" Taste
|
||||
complete_next: vervollständigt Wort mit nächster Komplettierung
|
||||
complete_previous: vervollständigt Word mit vorheriger Komplettierung
|
||||
search_text: sucht nach Text im Buffer
|
||||
search_text_here: Textsuche ab aktueller Position
|
||||
search_text: Textsuche im Buffer
|
||||
search_switch_case: schaltet Groß-/Kleinschreibung ein und aus
|
||||
search_switch_regex: Wechsel des Suchmodus: einfache Textsuche/reguläre Ausdrücke
|
||||
search_switch_where: wechselt Suche in Nachricht/Präfix
|
||||
search_previous: sucht vorheriger Zeile
|
||||
search_next: sucht nächste Zeile
|
||||
search_stop: suche stoppen
|
||||
search_stop_here: beendet Suche ab aktueller Position
|
||||
search_stop: suche beenden
|
||||
delete_previous_char: entfernt vorheriges Zeichen
|
||||
delete_next_char: entfernt nächstes Zeichen
|
||||
delete_previous_word: entfernt vorheriges Wort
|
||||
@@ -570,7 +598,7 @@ Beispiele:
|
||||
/plugin list|listfull [<name>]
|
||||
load <filename> [<arguments>]
|
||||
autoload [<arguments>]
|
||||
reload [<name> [<arguments>]]
|
||||
reload [<name>|* [<arguments>]]
|
||||
unload [<name>]
|
||||
|
||||
list: installierte Erweiterungen werden aufgelistet
|
||||
@@ -595,7 +623,7 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
|
||||
-beep
|
||||
|
||||
-buffer: Buffer in welchem der Text ausgegeben werden soll (standardmäßig: aktueller Buffer)
|
||||
-core: Alias für "-buffer core.weechat"
|
||||
-core: Alternativname für "-buffer core.weechat"
|
||||
-current: Text wird im aktuell genutzten Buffer ausgegeben
|
||||
-escape: Escapesequenzen werden umgewandelt (zum Beispiel \a, \07, \x07)
|
||||
-date: Datum der Nachricht, mögliche Formatierung:
|
||||
@@ -639,18 +667,18 @@ Beispiele:
|
||||
del <name>|-all
|
||||
set <name> <option> <value>
|
||||
|
||||
list: listet alle Proxys auf
|
||||
add: fügt neuen Proxy hinzu
|
||||
list: listet alle Proxys auf
|
||||
add: fügt neuen Proxy hinzu
|
||||
name: Name des neuen Proxy (der Name darf nur einmal genutzt werden)
|
||||
type: http, socks4 oder socks5
|
||||
address: IP oder Hostname
|
||||
port: Port
|
||||
username: Username (optional)
|
||||
password: Passwort (optional)
|
||||
del: entfernt einen Proxy (-all um alle Proxys zu entfernen)
|
||||
set: setzt einen Wert für Proxy
|
||||
option: Optionen die geändert werden (für eine Liste der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.proxy.<proxyname>.*)
|
||||
value: neuer Wert für Option
|
||||
type: http, socks4 oder socks5
|
||||
address: IP oder Hostname
|
||||
port: Port
|
||||
username: Username (optional)
|
||||
password: Passwort (optional)
|
||||
del: entfernt einen Proxy (-all um alle Proxys zu entfernen)
|
||||
set: setzt einen Wert für Proxy
|
||||
option: Optionen die geändert werden (für eine Liste der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.proxy.<proxyname>.*)
|
||||
value: neuer Wert für Option
|
||||
|
||||
Beispiele:
|
||||
erstellt einen HTTP-Proxy, der auf einem lokalen Host läuft und den Port 8888 nutzt:
|
||||
@@ -736,12 +764,10 @@ Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat
|
||||
Es ist möglich eine Umgebungsvariable "WEECHAT_PASSPHRASE" zu setzen um die Eingabeaufforderung beim Programmstart zu vermeiden (diese Variable wird auch von WeeChat beim /upgrade verwendet).
|
||||
|
||||
schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt werden:
|
||||
- Befehl /eval.
|
||||
- Argument in der Befehlszeile für "--run-command"
|
||||
- Einstellung weechat.startup.command_{before|after}_plugins
|
||||
- Proxy-Optionen: username, password
|
||||
- IRC Server Optionen: autojoin, command, password, sasl_{username|password}, Username, Realname
|
||||
- Einstellung relay.network.password
|
||||
- Befehl /eval.
|
||||
- weitere Optionen die Passwörter oder sensible Daten beinhalten (zum Beispiel: proxy, irc server und relay); nutze /help mit der entsprechenden Option um zu überprüfen ob die Daten evaluiert werden.
|
||||
|
||||
Beispiele:
|
||||
festlegen eine Passphrase:
|
||||
@@ -752,7 +778,7 @@ Beispiele:
|
||||
verschlüsselt oftc Passwort für nickserv:
|
||||
/secure set oftc meinPasswort
|
||||
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
|
||||
alias um den eigenen Nick zu ghosten:
|
||||
Alternativbefehl um den eigenen Nick zu ghosten:
|
||||
/alias ghost /eval /msg -server freenode nickserv ghost meinNick ${sec.data.freenode}
|
||||
----
|
||||
|
||||
@@ -815,8 +841,9 @@ Beispiele:
|
||||
[command]*`upgrade`* Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen::
|
||||
|
||||
----
|
||||
/upgrade [<path_to_binary>|-quit]
|
||||
/upgrade [-yes] [<path_to_binary>|-quit]
|
||||
|
||||
-yes: wird benötigt, sobald Option weechat.look.confirm_upgrade aktiviert ist
|
||||
path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (Standardeinstellung ist die aktuell ausführbare Datei)
|
||||
-dummy: ohne Funktion (dient lediglich dazu, um nicht versehentlich die "-quit" Funktion auszuführen)
|
||||
-quit: trennt *ALLE* Verbindungen, speichert die aktuelle Sitzung und beendet WeeChat, um den aktuellen Zustand später wiederherstellen (siehe unten)
|
||||
@@ -858,8 +885,10 @@ 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 geschrieben (in englischer Sprache)
|
||||
-ol: die Version von WeeChat wird in den aktuellen Buffer geschrieben (in der voreingestellten Landessprache)
|
||||
-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 Standardkurzbefehl /v genutzt werden (andernfalls wird der IRC Befehl /version in einem IRC Buffer ausgeführt).
|
||||
----
|
||||
|
||||
[[command_weechat_wait]]
|
||||
@@ -904,7 +933,7 @@ Beispiele:
|
||||
scroll_horiz [-window <number>] [+/-]<value>[%]
|
||||
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
|
||||
swap [-window <number>] [up|down|left|right]
|
||||
zoom[-window <number>]
|
||||
zoom [-window <number>]
|
||||
bare [<delay>]
|
||||
|
||||
list: listet die geöffneten Fenster (ohne Angabe von Argumente wird diese Liste standardmäßig ausgegeben)
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -444,7 +448,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 an gehangen); 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 angehängt); diese Einstellung wird nur angewendet sofern dem Buffer keine Position, durch Layout, zugeordnet wurde`
|
||||
** Typ: integer
|
||||
** Werte: end, first_gap (Standardwert: `end`)
|
||||
|
||||
@@ -538,6 +542,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* [[option_weechat.look.confirm_upgrade]] *weechat.look.confirm_upgrade*
|
||||
** Beschreibung: `ist diese Einstellung aktiviert, muss der "/upgrade" Befehl mit dem Argument "-yes" ausgeführt werden (siehe /help upgrade)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* [[option_weechat.look.day_change]] *weechat.look.day_change*
|
||||
** Beschreibung: `bei einem Datumswechsel wird eine entsprechende Nachricht angezeigt`
|
||||
** Typ: boolesch
|
||||
@@ -554,7 +563,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 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)`
|
||||
** 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)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
@@ -708,6 +717,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_weechat.look.key_grab_delay]] *weechat.look.key_grab_delay*
|
||||
** Beschreibung: `Standardverzögerung (in Millisekunden) um eine Tasteneingabe zu greifen (Standardtastenbelegung: alt-k); die Verzögerung kann mit dem /input Befehl angepasst werden (siehe /help input)`
|
||||
** Typ: integer
|
||||
** Werte: 1 .. 10000 (Standardwert: `800`)
|
||||
|
||||
* [[option_weechat.look.mouse]] *weechat.look.mouse*
|
||||
** Beschreibung: `Mausunterstützung einschalten`
|
||||
** Typ: boolesch
|
||||
@@ -823,6 +837,21 @@
|
||||
** 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
|
||||
@@ -908,6 +937,16 @@
|
||||
** 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -79,12 +83,12 @@
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_xfer.file.download_path]] *xfer.file.download_path*
|
||||
** Beschreibung: `Pfad in welchem die ankommenden Dateien gespeichert werden ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
|
||||
** Beschreibung: `Pfad für eingehende Dateien: "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat") (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%h/xfer"`)
|
||||
|
||||
* [[option_xfer.file.upload_path]] *xfer.file.upload_path*
|
||||
** Beschreibung: `Pfad in welchem sich die Quelldatei befindet (falls vom Anwender kein Pfad angegeben wurde) ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
|
||||
** Beschreibung: `Pfad für ausgehende Dateien (falls kein Pfad durch den Anwender angegeben wurde): "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat") (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"~"`)
|
||||
|
||||
|
||||
@@ -2,12 +2,14 @@
|
||||
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 (Voreinstellung: ~/.weechat) in
|
||||
dem die Erweiterungen, Skripten, Protokolldateien etc.pp. gesichert werden.
|
||||
legt den Konfigurationsordner für WeeChat fest in welchem die Erweiterungen,
|
||||
Skripten, Protokolldateien etc.pp. gesichert werden (Voreinstellung: ~/.weechat).
|
||||
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.
|
||||
@@ -19,14 +21,14 @@
|
||||
unterbindet das Laden der Erweiterungen beim Programmstart.
|
||||
|
||||
*-r*, *--run-command* '<command>'::
|
||||
startet einen oder mehrere Befehle, nachdem WeeChat gestartet wurde
|
||||
führt einen oder mehrere Befehle aus, 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 mittels Sitzungsdateien, die mit dem Befehl `/upgrade -quit` erstellt wurden, durch.
|
||||
führt ein WeeChat Upgrade mit Sitzungsdateien durch, die mittels dem Befehl `/upgrade -quit` erstellt wurden.
|
||||
|
||||
*-v*, *--version*::
|
||||
zeigt die Version von WeeChat an.
|
||||
|
||||
@@ -17,11 +17,9 @@ weechat - der erweiterbare Chat Client
|
||||
|
||||
== BESCHREIBUNG
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
== OPTIONEN
|
||||
|
||||
@@ -32,8 +30,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, mittels einer URL,
|
||||
verbinden lassen:
|
||||
Mittels der IRC Erweiterung kann man sich zu einen temporären Server verbinden lassen,
|
||||
indem man eine URL verwendet:
|
||||
|
||||
irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
|
||||
|
||||
@@ -91,7 +89,13 @@ $HOME/.weechat/weechat.log::
|
||||
|
||||
== AUTOREN
|
||||
|
||||
WeeChat ist programmiert von Sébastien Helleu und Beitragenden (eine vollständige Auflistung
|
||||
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
|
||||
findet man in der AUTHORS.asciidoc Datei).
|
||||
|
||||
Copyright (C) 2003-{sys:date "+%Y"} Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
@@ -3,12 +3,20 @@
|
||||
: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
|
||||
@@ -20,7 +28,7 @@ vorzugsweise immer die aktuell veröffentlichte Version von WeeChat genutzt werd
|
||||
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 dieses trifft nicht auf WeeChat zu!)
|
||||
Aber diese Bedeutung trifft nicht auf WeeChat zu!)
|
||||
|
||||
[[why_choose_weechat]]
|
||||
=== Weshalb sollte man WeeChat nutzen? - X-Chat und Irssi sind doch auch sehr gut...
|
||||
@@ -36,7 +44,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 grafischen Oberflächen findet man auf folgender Seite:
|
||||
Die verschiedenen grafischen Oberflächen findet man auf folgender Seite:
|
||||
https://weechat.org/about/features
|
||||
|
||||
[[compile_git]]
|
||||
@@ -67,7 +75,7 @@ brew info weechat
|
||||
WeeChat kann durch folgenden Befehl installiert werden:
|
||||
|
||||
----
|
||||
brew install weechat --with-python --with-perl
|
||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
||||
----
|
||||
|
||||
[[lost]]
|
||||
@@ -116,6 +124,19 @@ Für Weechat wird die Nutzung von UTF-8 locale empfohlen. Nutzt Du jedoch ISO
|
||||
oder andere locale, bitte vergewissere Dich, dass *alle* Deine Einstellungen
|
||||
(Terminal, screen, ...) sich auch auf ISO beziehen und *nicht* auf UTF-8.
|
||||
|
||||
[[unicode_chars]]
|
||||
=== Einige Unicode-Zeichen werden im Terminal angezeigt aber in WeeChat nicht, warum?
|
||||
|
||||
Dies kann durch einen Fehler in der Funktion 'wcwidth' von libc hervorgerufen werden.
|
||||
Dieser Fehler sollte durch glibc 2.22 behoben sein (vielleicht ist diese Version in der
|
||||
verwendeten Distributionen noch nicht verfügbar),
|
||||
|
||||
Es gibt folgende Übergangslösung um das Problem mit der 'wcwidth' zu umgehen:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
|
||||
Siehe diesen Fehlermeldung für weitere Informationen:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
|
||||
[[bars_background]]
|
||||
=== Weshalb haben Bars, z.B. Titel und Status, keine Hintergrundfarbe bzw. diese endet direkt nach dem Text?
|
||||
|
||||
@@ -557,10 +578,10 @@ Konfiguration des Servers, Port, SSL und dann einen Connect durchführen:
|
||||
|
||||
Einige Server, wie z.B. 'twitch', verlangen oauth für eine Verbindung.
|
||||
|
||||
Bei oauth handelt es sich lediglich um ein Passwort mit dem Format "oauth:XXXX".
|
||||
Bei oauth handelt es sich lediglich um ein Passwort in dem Format "oauth:XXXX".
|
||||
|
||||
Mit folgenden Befehlen kann man einen Server erstellen und sich mit diesem
|
||||
verbinden (Name und Adresse muss durch entsprechende Werte ersetzt werden):
|
||||
Um einen solchen Server hinzuzufügen und sich mit diesem zu Verbinden (ersetze "name"
|
||||
und Adresse durch passende Werte):
|
||||
|
||||
----
|
||||
/server add name irc.server.org -password=oauth:XXXX
|
||||
@@ -764,7 +785,8 @@ 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, Xfer (wird für DCC benötigst)
|
||||
Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Javascript, 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:
|
||||
|
||||
@@ -2,7 +2,15 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc:
|
||||
: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
|
||||
|
||||
|
||||
[[start]]
|
||||
@@ -100,12 +108,11 @@ Erweiterungen sollten aufgelistet werden.
|
||||
[[create_irc_server]]
|
||||
== Einen IRC-Server erstellen
|
||||
|
||||
Der Server 'freenode' wird standardmäßig beim ersten Programmstart erstellt.
|
||||
|
||||
Ein weiterer IRC Server kann mit dem `/server` Befehl erstellt werden. Zum Beispiel:
|
||||
Um eine Verbindung zu einem IRC Server herzustellen wird der
|
||||
`/server` Befehl verwendet. Beispiel:
|
||||
|
||||
----
|
||||
/server add oftc irc.oftc.net/6667
|
||||
/server add freenode chat.freenode.net
|
||||
----
|
||||
|
||||
Falls man nicht mehr weiter weiß, einfach die Hilfe verwenden:
|
||||
@@ -331,11 +338,18 @@ 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 Mitwirkenden) sind für WeeChat verfügbar, siehe:
|
||||
https://weechat.org/scripts
|
||||
Viele externe Skripten (von Drittprogrammierern) sind für WeeChat verfügbar. Diese
|
||||
Skripten können mittels des `/script` Befehls heruntergeladen und installiert werden:
|
||||
|
||||
Skripten können mit dem Befehl `/script` verwaltet werden (siehe `/help script` für
|
||||
weitere Informationen zur Bedienung).
|
||||
----
|
||||
/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:
|
||||
https://weechat.org/scripts
|
||||
|
||||
[[more_doc]]
|
||||
== Weitere Dokumentation
|
||||
|
||||
@@ -2,8 +2,14 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc:
|
||||
:toc2:
|
||||
: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.
|
||||
@@ -16,7 +22,7 @@ https://weechat.org/doc
|
||||
== Einleitung
|
||||
|
||||
WeeChat (Wee Enhanced Environment for Chat) ist ein freier, schneller und
|
||||
schlanker Chat-Client der für viele Betriebssysteme entwickelt wird.
|
||||
schlanker Chat-Client der für verschiedene Betriebssysteme entwickelt wird.
|
||||
|
||||
Dieses Handbuch beschreibt wie man Skripten für WeeChat schreiben kann. Dabei
|
||||
werden folgende Programmiersprachen unterstützt:
|
||||
@@ -27,9 +33,10 @@ werden folgende Programmiersprachen unterstützt:
|
||||
* lua
|
||||
* tcl
|
||||
* guile (scheme)
|
||||
* javascript
|
||||
|
||||
[NOTE]
|
||||
Beinahe alle Beispiele in dieser Dokumentation beziehen sich auf Python.
|
||||
Fast alle Beispiele in dieser Dokumentation sind für Python erstellt.
|
||||
Allerdings ist die API für alle Skriptsprachen nahezu identisch.
|
||||
|
||||
[[scripts_in_weechat]]
|
||||
@@ -81,11 +88,15 @@ 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
|
||||
|
||||
Jedes WeeChat Skript muss sich bei WeeChat "registrieren". Die "register" Funktion
|
||||
muss deshalb der erste WeeChat Befehl sein der durch das Skript genutzt wird.
|
||||
Ein WeeChat-Skript muss sich bei WeeChat "registrieren". Dazu muss das Skript
|
||||
zuerst die "register" Funktion ausführen.
|
||||
|
||||
Prototyp:
|
||||
|
||||
@@ -108,7 +119,7 @@ Argumente:
|
||||
|
||||
Beispielskripten, für jede Sprache:
|
||||
|
||||
* python:
|
||||
* Python:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
@@ -118,7 +129,7 @@ weechat.register("test_python", "FlashCode", "1.0", "GPL3", "Test Skript", "", "
|
||||
weechat.prnt("", "Hallo, von einem python Skript!")
|
||||
----
|
||||
|
||||
* perl:
|
||||
* Perl:
|
||||
|
||||
[source,perl]
|
||||
----
|
||||
@@ -126,7 +137,7 @@ weechat::register("test_perl", "FlashCode", "1.0", "GPL3", "Test Skript", "", ""
|
||||
weechat::print("", "Hallo, von einem perl Skript!");
|
||||
----
|
||||
|
||||
* ruby:
|
||||
* Ruby:
|
||||
|
||||
[source,ruby]
|
||||
----
|
||||
@@ -137,7 +148,7 @@ def weechat_init
|
||||
end
|
||||
----
|
||||
|
||||
* lua:
|
||||
* Lua:
|
||||
|
||||
[source,lua]
|
||||
----
|
||||
@@ -145,7 +156,7 @@ weechat.register("test_lua", "FlashCode", "1.0", "GPL3", "Test Skript", "", "")
|
||||
weechat.print("", "Hallo, von einem lua Skript!")
|
||||
----
|
||||
|
||||
* tcl:
|
||||
* Tcl:
|
||||
|
||||
[source,tcl]
|
||||
----
|
||||
@@ -153,12 +164,20 @@ 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 "" "Hello, from scheme 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!");
|
||||
----
|
||||
|
||||
[[load_script]]
|
||||
@@ -174,18 +193,20 @@ 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 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
|
||||
/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
|
||||
----
|
||||
|
||||
Um Skripten automatisch beim Start von WeeChat zu laden sollte man einen Link
|
||||
@@ -209,7 +230,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 dass man zwischen einer 'Erweiterung' und einem 'Skript'
|
||||
Es ist wichtig das 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
|
||||
@@ -225,7 +246,7 @@ test.py ─────► │ Skript API │ C API │ ─────► ║
|
||||
└────────────┴─────────┘ ╚═════════╧════════╝
|
||||
....
|
||||
|
||||
Gibt WeeChat einen Rückgabewert an Ihr Skript 'test.py' zurück wird der
|
||||
Gibt WeeChat einen Rückgabewert an Ihr Skript 'test.py' zurück, dann wird der
|
||||
Aufruf in umgekehrter Reihenfolge abgearbeitet:
|
||||
|
||||
....
|
||||
@@ -259,7 +280,7 @@ weechat.prnt("", "Hi!")
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
Aus Gründen der Geschwindigkeit wird in vielen Funktionen darauf verzichtet
|
||||
In vielen Funktionen wird aus Gründen der Geschwindigkeit 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 ;)
|
||||
@@ -277,7 +298,7 @@ nicht um einen Pointer).
|
||||
|
||||
callback Beispiele, für jede Skriptsprache:
|
||||
|
||||
* python:
|
||||
* Python:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
@@ -288,7 +309,7 @@ def timer_cb(data, remaining_calls):
|
||||
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
|
||||
----
|
||||
|
||||
* perl:
|
||||
* Perl:
|
||||
|
||||
[source,perl]
|
||||
----
|
||||
@@ -301,7 +322,7 @@ sub timer_cb {
|
||||
weechat::hook_timer(1000, 0, 1, "timer_cb", "test");
|
||||
----
|
||||
|
||||
* ruby:
|
||||
* Ruby:
|
||||
|
||||
[source,ruby]
|
||||
----
|
||||
@@ -313,7 +334,7 @@ end
|
||||
Weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
|
||||
----
|
||||
|
||||
* lua:
|
||||
* Lua:
|
||||
|
||||
[source,lua]
|
||||
----
|
||||
@@ -325,7 +346,7 @@ end
|
||||
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
|
||||
----
|
||||
|
||||
* tcl:
|
||||
* Tcl:
|
||||
|
||||
[source,tcl]
|
||||
----
|
||||
@@ -337,7 +358,7 @@ proc timer_cb { data remaining_calls } {
|
||||
weechat::hook_timer 1000 0 1 timer_cb test
|
||||
----
|
||||
|
||||
* guile (scheme):
|
||||
* Guile (scheme):
|
||||
|
||||
[source,lisp]
|
||||
----
|
||||
@@ -349,6 +370,18 @@ 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
|
||||
|
||||
@@ -371,7 +404,7 @@ Liste der Skript API Funktionen:
|
||||
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
|
||||
strlen_screen, string_match, string_has_highlight, string_has_highlight_regex,
|
||||
string_mask_to_regex, string_remove_color, string_is_command_char,
|
||||
string_input_for_buffer, string_eval_expression
|
||||
string_input_for_buffer, string_eval_expression, string_eval_path_home
|
||||
| Verzeichnisse |
|
||||
mkdir_home, mkdir, mkdir_parents
|
||||
| sortierte Listen |
|
||||
@@ -491,8 +524,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 dieses Buffers verwendet
|
||||
werden (Übergabe als String, siehe <<pointers,Pointer>>).
|
||||
Möchten Sie einen anderen Buffer nutzen dann muss der Pointer des entsprechenden Buffers
|
||||
verwendet werden (Übergabe als String, siehe <<pointers,Pointer>>).
|
||||
|
||||
Beispiele:
|
||||
|
||||
@@ -527,7 +560,8 @@ weechat.prnt(buffer, "Nachricht im #weechat Channel")
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Die print Funktion heißt in Perl/Ruby/Lua/Tcl `print`. In Python lautet die Funktion `prnt`.
|
||||
Die print Funktion heißt in Perl/Ruby/Lua/Tcl/Guile/Javascript `print`.
|
||||
In Python lautet die Funktion `prnt`.
|
||||
|
||||
[[buffers_send_text]]
|
||||
==== Text in einen Buffer senden
|
||||
@@ -798,7 +832,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" oder "tcl" ersetzt werden.
|
||||
# für die jeweilige Programmiersprache muss "python" durch perl/ruby/lua/tcl/guile/javascript ersetzt werden.
|
||||
----
|
||||
|
||||
[[config_options_weechat]]
|
||||
@@ -861,10 +895,10 @@ weechat.hook_signal("*,irc_in2_join", "join_cb", "")
|
||||
----
|
||||
|
||||
[[irc_modify_messages]]
|
||||
==== Modify messages
|
||||
==== Nachrichten ändern
|
||||
|
||||
Die IRC Erweiterung verschickt einen "modifier" mit Namen "irc_in_xxx" ("xxx" steht für den
|
||||
Namen des IRC Befehls) um eine Nachricht zu empfangen die dann modifiziert werden kann.
|
||||
Namen des IRC Befehls) falls eine Nachricht empfangen wurde die dann modifiziert werden kann.
|
||||
|
||||
[source,python]
|
||||
----
|
||||
@@ -884,16 +918,71 @@ Eine fehlerhafte Nachricht kann WeeChat zum Absturz bringen oder andere ernsthaf
|
||||
|
||||
_Neu seit Version 0.3.4._
|
||||
|
||||
Man kann IRC Nachrichten mittels einer info_hashtable mit dem Namen "irc_message_parse" parsen.
|
||||
Man kann IRC Nachrichten mittels einer info_hashtable mit dem Namen
|
||||
"irc_message_parse" parsen.
|
||||
|
||||
Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln
|
||||
(das Beispiel bezieht sich auf folgende IRC Nachricht:
|
||||
`@time=2015-06-27T16:40:35.000Z :nick!user@host PRIVMSG #weechat :hello!`):
|
||||
|
||||
[width="100%",cols="1,^2,10,8",options="header"]
|
||||
|===
|
||||
| Schlüssel | WeeChat version | Beschreibung | Beispiel
|
||||
|
||||
| Tags | ≥ 0.4.0 |
|
||||
Tags in der Nachricht (kann leer sein) |
|
||||
`time=2015-06-27T16:40:35.000Z`
|
||||
|
||||
| message_without_tags | ≥ 0.4.0 |
|
||||
Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags) |
|
||||
`:nick!user@host PRIVMSG #weechat :hello!`
|
||||
|
||||
| nick | ≥ 0.3.4 |
|
||||
der ursprüngliche Nick |
|
||||
`nick`
|
||||
|
||||
| host | ≥ 0.3.4 |
|
||||
der ursprüngliche Host (beinhaltet den Nick) |
|
||||
`nick!user@host`
|
||||
|
||||
| command | ≥ 0.3.4 |
|
||||
der Befehl ('PRIVMSG', 'NOTICE', ...) |
|
||||
`PRIVMSG`
|
||||
|
||||
| channel | ≥ 0.3.4 |
|
||||
der Zielchannel|
|
||||
`#weechat`
|
||||
|
||||
| arguments | ≥ 0.3.4 |
|
||||
das Argument des Befehls (beinhaltet den Channel) |
|
||||
`#weechat :hello!`
|
||||
|
||||
| text | ≥ 1.3 |
|
||||
der Text (zum Beispiel eine Nachricht eines Users) |
|
||||
`hello!`
|
||||
|
||||
| pos_text | ≥ 1.3 |
|
||||
der Index des Textes innerhalb der Nachricht ("-1" falls der Text nicht gefunden wurde) |
|
||||
`65`
|
||||
|===
|
||||
|
||||
[source,python]
|
||||
----
|
||||
dict = weechat.info_get_hashtable("irc_message_parse",
|
||||
{"message": ":nick!user@host PRIVMSG #weechat :message here"})
|
||||
weechat.prnt("", "dict: %s" % dict)
|
||||
dict = weechat.info_get_hashtable(
|
||||
"irc_message_parse",
|
||||
{"message": "@time=2015-06-27T16:40:35.000Z :nick!user@host PRIVMSG #weechat :hello!"})
|
||||
|
||||
# output:
|
||||
# dict: {'nick': 'nick', 'host': 'nick!user@host', 'command': 'PRIVMSG', 'arguments': '#weechat :message here', 'channel': '#weechat'}
|
||||
# dict == {
|
||||
# "tags": "time=2015-06-27T16:40:35.000Z",
|
||||
# "message_without_tags": ":nick!user@host PRIVMSG #weechat :hello!",
|
||||
# "nick": "nick",
|
||||
# "host": "nick!user@host",
|
||||
# "command": "PRIVMSG",
|
||||
# "channel": "#weechat",
|
||||
# "arguments": "#weechat :hello!",
|
||||
# "text": "hello!",
|
||||
# "pos_text": "65",
|
||||
# }
|
||||
----
|
||||
|
||||
[[infos]]
|
||||
@@ -919,7 +1008,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ückgabe wert *nicht* leer ist.
|
||||
aufruft. Deshalb müssen Sie prüfen ob der Rückgabewert *nicht* leer ist.
|
||||
|
||||
Um die Version als String zu erhalten:
|
||||
|
||||
@@ -964,6 +1053,6 @@ if infolist:
|
||||
----
|
||||
|
||||
[IMPORTANT]
|
||||
Vergessen Sie bitte nicht `infolist_free` aufzurufen um den Speicher wieder
|
||||
Vergewissern Sie sich `infolist_free` aufzurufen um den Speicher wieder
|
||||
frei zu geben der durch die Infoliste belegt wurde. WeeChat gibt diesen Speicher
|
||||
nicht von sich aus frei.
|
||||
nicht automatisch frei.
|
||||
|
||||
@@ -2,7 +2,14 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc:
|
||||
:toc2:
|
||||
:max-width: 100%
|
||||
|
||||
|
||||
Übersetzer:
|
||||
|
||||
* Juergen Descher <jhdl@gmx.net>, 2009
|
||||
* Nils Görs <weechatter@arcor.de>, 2009-2015
|
||||
|
||||
|
||||
[[purpose]]
|
||||
@@ -92,7 +99,7 @@ Um die Quellen zu übersetzen, wird cmake empfohlen:
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||
$ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
+238
-117
@@ -2,8 +2,14 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc:
|
||||
:toclevels: 4
|
||||
:toc2:
|
||||
: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.
|
||||
@@ -31,8 +37,9 @@ wesentliche Merkmale:
|
||||
* IRC RFCs konform http://tools.ietf.org/html/rfc1459[1459],
|
||||
http://tools.ietf.org/html/rfc2810[2810],
|
||||
http://tools.ietf.org/html/rfc2811[2811],
|
||||
http://tools.ietf.org/html/rfc2812[2812] and
|
||||
http://tools.ietf.org/html/rfc2812[2812] und
|
||||
http://tools.ietf.org/html/rfc2813[2813]
|
||||
* IRC proxy und relay für remote Schnittstellen
|
||||
* Betriebssystemunabhängig (GNU/Linux, *BSD, MacOS X, Windows und weitere)
|
||||
* 100% GPL, freie Software
|
||||
|
||||
@@ -64,11 +71,12 @@ Binärpakete sind für folgende Distributionen erhältlich:
|
||||
* Arch Linux: `pacman -S weechat`
|
||||
* Fedora Core: `yum install weechat`
|
||||
* Sourcemage: `cast weechat`
|
||||
* Cygwin (Windows): wähle das WeeChat Paket in setup.exe aus
|
||||
|
||||
zusätzliche Pakete können/sollten installiert werden. Zum Beispiel: weechat-plugins.
|
||||
zusätzliche Pakete können bzw. sollten installiert werden. Zum Beispiel: weechat-plugins.
|
||||
|
||||
Für andere Distributionen schauen Sie bitte in die jeweilige Anleitung,
|
||||
wie Pakete installiert werden können.
|
||||
wie man Pakete installiert.
|
||||
|
||||
[[source_package]]
|
||||
=== Quellpakete
|
||||
@@ -83,42 +91,93 @@ 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 | | 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 | |
|
||||
| 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
|
||||
|===
|
||||
|
||||
[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)^ 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)^ 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,
|
||||
aber nicht mit Version ≤ 2.6 oder ≥ 3.0).
|
||||
|
||||
[[compile_with_cmake]]
|
||||
@@ -139,7 +198,7 @@ $ make
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DPREFIX=/Pfad/zum/Verzeichnis
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/Pfad/zum/Verzeichnis
|
||||
$ make
|
||||
$ make install
|
||||
----
|
||||
@@ -156,7 +215,7 @@ Liste von häufig verwendeten Optionen:
|
||||
Art des builds: `Debug` (oder `RelWithDebInfo`) sollte verwendet werden, wenn meine eine Entwicklerversion
|
||||
von WeeChat nutzt.
|
||||
|
||||
| PREFIX | Verzeichnis | /usr/local |
|
||||
| CMAKE_INSTALL_PREFIX | Verzeichnis | /usr/local |
|
||||
Verzeichnis in welchem WeeChat installiert wird.
|
||||
|
||||
| WEECHAT_HOME | Verzeichnis | ~/.weechat |
|
||||
@@ -202,6 +261,9 @@ 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.
|
||||
|
||||
@@ -237,8 +299,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).
|
||||
kompiliert <<scripts_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby,
|
||||
Lua, Tcl, Guile, Javascript).
|
||||
|
||||
| ENABLE_TCL | `ON`, `OFF` | ON |
|
||||
kompiliert <<scripts_plugins,Tcl Erweiterung>>.
|
||||
@@ -270,9 +332,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. +
|
||||
Das Erstellen mittels autotools benötigt zusätzliche Pakete und es ist langsamer
|
||||
als cmake.
|
||||
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.
|
||||
|
||||
* Installation in das Systemverzeichnis (benötigt 'root' Privilegien):
|
||||
|
||||
@@ -307,7 +369,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 gewarnt!
|
||||
sich die Quellen nicht kompilieren oder der Code ist nicht stabil. Sie sind hiermit gewarnt!
|
||||
|
||||
Um die Git Quellen zu beziehen nutzen Sie folgende Befehle:
|
||||
|
||||
@@ -320,7 +382,7 @@ Folgen Sie bitte der Anleitung zur Erstellung aus Quellpaketen (siehe <<source_p
|
||||
[[report_crashes]]
|
||||
=== Abstürze melden
|
||||
|
||||
Falls es zu einem Absturz von WeeChat gekommen ist und Sie diesen Fehler melden möchten:
|
||||
Falls WeeChat abgestürzt sein sollte 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
|
||||
@@ -335,7 +397,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.
|
||||
|
||||
@@ -368,7 +430,7 @@ ulimit -c 200000
|
||||
[[gdb_backtrace]]
|
||||
==== Rückverfolgung mit gdb
|
||||
|
||||
Falls WeeChat abstürzen sollte wird auf Ihrem System eine 'core' bzw. 'core.12345' Datei
|
||||
Falls WeeChat abstürzen sollte, dann 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!).
|
||||
@@ -380,12 +442,8 @@ in '/home/xxx/'. Nun wird gdb mit folgendem Befehl aufgerufen:
|
||||
gdb /usr/bin/weechat /home/xxx/core
|
||||
----
|
||||
|
||||
[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:
|
||||
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:
|
||||
|
||||
----
|
||||
(gdb) set logging file /tmp/crash.txt
|
||||
@@ -555,13 +613,13 @@ andere Items die man nutzen kann (die aber nicht standardmäßig in einer Bar ak
|
||||
[[buffers_and_windows]]
|
||||
=== Buffer und Fenster
|
||||
|
||||
Ein 'Buffer' besteht aus einer Nummer, besitzt einem Namen, hat Zeilen die angezeigt
|
||||
Ein 'Buffer' setzt sich zusammen aus einer Nummer, besitzt einem Namen, hat Zeilen die angezeigt
|
||||
werden (und noch anderen Daten).
|
||||
|
||||
Beispiele von Buffern:
|
||||
|
||||
* Core Buffer (wird durch WeeChat beim Starten erstellt und kann nicht geschlossen werden!)
|
||||
* IRC Server (hier werden die Nachrichten ausgegeben, die der Server verschickt)
|
||||
* Core Buffer (wird durch WeeChat beim Programmstart 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)
|
||||
|
||||
@@ -569,7 +627,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`):
|
||||
@@ -667,7 +725,7 @@ Beispiele für eine vertikale und horizontale Fensteraufteilung:
|
||||
[[bars]]
|
||||
=== Bars
|
||||
|
||||
Eine 'Bar' ist ein Bereich, der neben dem Chatfenster, jedwede Art von Text enthalten kann.
|
||||
Eine 'Bar' ist ein Bereich der parallel, zum 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.
|
||||
@@ -745,9 +803,9 @@ Aufzählung von Bar-Optionen:
|
||||
==== Items
|
||||
|
||||
Die Option 'items' ist ein String, mit einer Anzahl von Bar-Items. Diese werden
|
||||
durch Komma voneinander getrennt (auf dem Bildschirm wird das Komma durch ein
|
||||
durch Kommata voneinander getrennt (auf dem Bildschirm wird das Komma durch ein
|
||||
Leerzeichen ersetzt). Möchte man die Items ohne Leerzeichen darstellen, nutzt
|
||||
man ein "+", zwischen den Items.
|
||||
man ein "+" um die Items zu trennen.
|
||||
|
||||
Eine Liste von Bar-Items kann man sich mit dem Befehl `/bar listitems` anzeigen lassen.
|
||||
|
||||
@@ -801,45 +859,45 @@ Darstellung und die Standard-Bar 'nicklist' nutzt eine 'vertical' Darstellung.
|
||||
Einige Beispiele, wie die Bar 'nicklist' dargestellt werden kann:
|
||||
|
||||
....
|
||||
┌──────────────────────────────────────────────────┐
|
||||
│Welcome to #test, this is a test channel │
|
||||
│12:54:15 peter | hey! │@carl │
|
||||
│12:55:01 +Max | hello │@jessika│
|
||||
│ │@maddy │
|
||||
│ │%Diego │
|
||||
│ │%Melody │
|
||||
│ │+Max │
|
||||
│ │ celia │
|
||||
│ │ Eva │
|
||||
│ │ freddy │
|
||||
│ │ Harold^│
|
||||
│ │ henry4 │
|
||||
│ │ jimmy17│
|
||||
│ │ jodie ▼│
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
|
||||
│[@carl] █ │
|
||||
└──────────────────────────────────────────────────┘
|
||||
filling_left_right = vertical ▲
|
||||
┌───────────────────────────────────────────────────────────────────────┐
|
||||
│Welcome to #test, this is a test channel │
|
||||
│12:54:15 peter | hey! │@carl │
|
||||
│12:55:01 +Max | hello │@jessika│
|
||||
│ │@maddy │
|
||||
│ │%Diego │
|
||||
│ │%Melody │
|
||||
│ │+Max │
|
||||
│ │ celia │
|
||||
│ │ Eva │
|
||||
│ │ freddy │
|
||||
│ │ Harold^│
|
||||
│ │ henry4 │
|
||||
│ │ jimmy17│
|
||||
│ │ jodie ▼│
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
|
||||
│[@carl] █ │
|
||||
└───────────────────────────────────────────────────────────────────────┘
|
||||
filling_left_right = vertical ▲
|
||||
|
||||
┌──────────────────────────────────────────────────┐
|
||||
│Welcome to #test, this is a test channel │
|
||||
│12:54:15 peter | hey! │@carl lee │
|
||||
│12:55:01 +Max | hello │@jessika louise │
|
||||
│ │@maddy mario │
|
||||
│ │%Diego mark │
|
||||
│ │%Melody peter │
|
||||
│ │+Max Rachel │
|
||||
│ │ celia richard│
|
||||
│ │ Eva sheryl │
|
||||
│ │ freddy Vince │
|
||||
│ │ Harold^ warren │
|
||||
│ │ henry4 zack │
|
||||
│ │ jimmy17 │
|
||||
│ │ jodie │
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
|
||||
│[@carl] █ │
|
||||
└──────────────────────────────────────────────────┘
|
||||
filling_left_right = columns_vertical ▲
|
||||
┌───────────────────────────────────────────────────────────────────────┐
|
||||
│Welcome to #test, this is a test channel │
|
||||
│12:54:15 peter | hey! │@carl lee │
|
||||
│12:55:01 +Max | hello │@jessika louise │
|
||||
│ │@maddy mario │
|
||||
│ │%Diego mark │
|
||||
│ │%Melody peter │
|
||||
│ │+Max Rachel │
|
||||
│ │ celia richard│
|
||||
│ │ Eva sheryl │
|
||||
│ │ freddy Vince │
|
||||
│ │ Harold^ warren │
|
||||
│ │ henry4 zack │
|
||||
│ │ jimmy17 │
|
||||
│ │ jodie │
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
|
||||
│[@carl] █ │
|
||||
└───────────────────────────────────────────────────────────────────────┘
|
||||
filling_left_right = columns_vertical ▲
|
||||
|
||||
┌───────────────────────────────────────────────────────────────────────┐
|
||||
│@carl %Diego celia Harold^ jodie mario Rachel Vince │
|
||||
@@ -902,8 +960,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:
|
||||
|
||||
@@ -912,11 +970,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 nicht am Ende der Zeile angeschnitten.
|
||||
* ncurses wird nicht genutzt, deshalb werden URLs am Ende der Zeile nicht abgeschnitten.
|
||||
|
||||
Der Standardtastenbefehl um den vereinfachten Textmodus zu aktivieren ist key[alt-l],
|
||||
mit dem selben Tastenbefehl wird dieser Modus wieder beendet (es kann auch mit jeder
|
||||
beliegen Tasteneingabe der Modus beendet werden, siehe Option
|
||||
mit dem selben Tastenbefehl wird dieser Modus wieder beendet (dieser Modus kann auch
|
||||
mit jeder beliegen Tasteneingabe 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
|
||||
@@ -1063,7 +1121,7 @@ Befehl festgelegt werden:
|
||||
| key[Backsp.] .2+| entfernt in der Befehlszeile das vorherige Zeichen .2+| `/input delete_previous_char`
|
||||
| key[ctrl-h]
|
||||
| key[ctrl-k] | entfernt alle Zeichen vom Cursor bis zum Ende der Zeile (Zeichenkette wird in Zwischenablage kopiert) | `/input delete_end_of_line`
|
||||
| key[ctrl-r] | Textsuche im Verlaufsspeicher des Buffers (siehe <<key_bindings_search_context,Tasten für Such-Kontext>>) | `/input search_text`
|
||||
| key[ctrl-r] | Textsuche im Verlaufsspeicher des Buffers (siehe <<key_bindings_search_context,Tasten für Such-Kontext>>) | `/input search_text_here`
|
||||
| key[ctrl-t] | Zeichen austauschen | `/input transpose_chars`
|
||||
| key[ctrl-u] | entfernt alle Zeichen vom Cursor bis zum Anfang der Zeile (Zeichenkette wird in Zwischenablage kopiert) | `/input delete_beginning_of_line`
|
||||
| key[ctrl-w] | entfernt das Wort links vom Cursor (entferntes Wort wird in Zwischenablage kopiert) | `/input delete_previous_word`
|
||||
@@ -1124,7 +1182,7 @@ Befehl festgelegt werden:
|
||||
| key[alt-j,alt-r] | wechselt zum IRC RAW Buffer | `/server raw`
|
||||
| key[alt-j,alt-s] | wechselt zum IRC Server Buffer | `/server jump`
|
||||
| key[alt-0...9] | wechselt zum Buffer mit der Nummer (0 = 10) | `/buffer *N`
|
||||
| key[alt-j,01...99] | wechselt zum Buffer mit der angegeben Nummer | `/buffer NN`
|
||||
| key[alt-j,01...99] | wechselt zum Buffer mit der angegeben Nummer | `/buffer *NN`
|
||||
| key[alt-l] | schaltet einfachen Anzeigemodus an/aus | `/window bare`
|
||||
| key[alt-m] | schaltet Mausfunktion ein/aus | `/mouse toggle`
|
||||
| key[alt-n] | springt zur nächsten Highlight Nachricht | `/window scroll_next_highlight`
|
||||
@@ -1158,9 +1216,10 @@ in einem Buffer nach einem Text zu suchen).
|
||||
| key[Tab] | wechselt Suche in: Nachricht (Standard), im Präfix, Präfix + Nachricht | `/input search_switch_where`
|
||||
| key[↑] | sucht vorheriger Zeile | `/input search_previous`
|
||||
| key[↓] | sucht nächste Zeile | `/input search_next`
|
||||
| key[Enter] .3+| Suche abbrechen .3+| `/input search_stop`
|
||||
| key[Enter] .3+| beendet Suche ab aktueller Position .3+| `/input search_stop_here`
|
||||
| key[ctrl-j]
|
||||
| key[ctrl-m]
|
||||
| key[ctrl-q] | beendet Suche und blättert zum Ende des Buffers | `/input search_stop`
|
||||
|===
|
||||
|
||||
[[key_bindings_cursor_context]]
|
||||
@@ -1764,7 +1823,7 @@ Beispiele wie man Erweiterungen lädt, entfernt und auflistet:
|
||||
|
||||
Standarderweiterungen:
|
||||
|
||||
[width="50%",cols="^1,5",options="header"]
|
||||
[width="100%",cols="^1,5",options="header"]
|
||||
|===
|
||||
| Erweiterung | Beschreibung
|
||||
| alias | definiert Alias für Befehle
|
||||
@@ -1782,6 +1841,7 @@ 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
|
||||
|===
|
||||
@@ -2175,10 +2235,9 @@ $ mkdir -p ~/.weechat/ssl
|
||||
$ wget -O ~/.weechat/ssl/CAs.pem http://www.spi-inc.org/ca/spi-cacert.crt
|
||||
----
|
||||
|
||||
Hinweis: es ist möglich mehrere Zertifikate in der Datei CAs.pem zu halten.
|
||||
Hinweis: es ist möglich mehrere Zertifikate in der Datei CAs.pem zu verwenden.
|
||||
|
||||
* In WeeChat startet man nun eine Verbindung zum "oftc" Server (der vorher angelegt
|
||||
werden musste):
|
||||
* In WeeChat, sofern der Server "oftc" schon hinzufügt wurde:
|
||||
|
||||
----
|
||||
/connect oftc
|
||||
@@ -2195,8 +2254,7 @@ $ cd ~/.weechat/ssl
|
||||
$ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem
|
||||
----
|
||||
|
||||
* In WeeChat startet man nun eine Verbindung zum "oftc" Server (der vorher angelegt
|
||||
werden musste):
|
||||
* In WeeChat, sofern der Server "oftc" schon hinzufügt wurde:
|
||||
|
||||
----
|
||||
/set irc.server.oftc.ssl_cert "%h/ssl/nick.pem"
|
||||
@@ -2212,9 +2270,10 @@ 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
|
||||
@@ -2224,8 +2283,55 @@ 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
|
||||
@@ -2247,13 +2353,13 @@ und Port müssen dabei an die eigene TOR Konfiguration angepasst werden):
|
||||
/proxy add tor socks5 127.0.0.1 9050
|
||||
----
|
||||
|
||||
Nun erstellt man einen neuen Server, zum Beispiel:
|
||||
Jetzt muss der neue Server hinzufügt werden, zum Beispiel:
|
||||
|
||||
----
|
||||
/server add freenode-tor p4fsi4ockecnea7l.onion
|
||||
----
|
||||
|
||||
Der Proxy muss für TOR angelegt werden:
|
||||
Einen Proxy für TOR anlegen:
|
||||
|
||||
----
|
||||
/set irc.server.freenode-tor.proxy "tor"
|
||||
@@ -2831,8 +2937,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 und Guile
|
||||
(scheme).
|
||||
WeeChat unterstützt sechs Skript-Erweiterungen: Python, Perl, Ruby, Lua, Tcl,
|
||||
Guile (scheme) und Javascript.
|
||||
Mit diesen Erweiterungen kann für die jeweilige Skript-Sprache, Skripten geladen, ausgeführt
|
||||
und entfernt werden.
|
||||
|
||||
@@ -2896,6 +3002,11 @@ 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
|
||||
|
||||
@@ -3211,8 +3322,18 @@ und die Daten in einer Hashtable gesichert:
|
||||
| command | string | IRC Befehl (Beispiel: "PRIVMSG", "NOTICE", ...)
|
||||
| channel | string | IRC Channel
|
||||
| arguments | string | Argumente des Befehls (Beinhaltet Wert von 'channel')
|
||||
| text | string | Text (zum Beipiel eine Nachricht eines Users)
|
||||
| pos_text | string | Der Index des Textes in einer Nachricht ("-1" falls Text nicht gefunden wurde)
|
||||
|===
|
||||
|
||||
Sofern es sich bei den Daten um einen Pointer handelt, kann die Variable `tg_signal_data`
|
||||
wie im folgenden Beispiel genutzt werden um den Inhalt von hdata zu lesen (im Beispiel
|
||||
wird der Pointer eines Buffer verwendet):
|
||||
|
||||
----
|
||||
${buffer[${tg_signal_data}].full_name}
|
||||
----
|
||||
|
||||
[[trigger_data_hsignal]]
|
||||
===== Hsignal
|
||||
|
||||
@@ -3364,7 +3485,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}$0${color:reset}=="
|
||||
/trigger add url_color modifier weechat_print "${tg_notify}" "==\S+://\S+==${color:green}${re:0}${color:reset}=="
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
|
||||
+178
-189
@@ -98,6 +98,7 @@ PLUGIN_LIST = {
|
||||
'script': 'o',
|
||||
'perl': '',
|
||||
'python': '',
|
||||
'javascript': '',
|
||||
'ruby': '',
|
||||
'lua': '',
|
||||
'tcl': '',
|
||||
@@ -136,6 +137,56 @@ 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,
|
||||
@@ -351,31 +402,21 @@ def get_irc_colors():
|
||||
return irc_colors
|
||||
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
|
||||
# pylint: disable=too-many-locals, too-many-branches, too-many-statements
|
||||
@@ -394,6 +435,7 @@ 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')
|
||||
@@ -427,37 +469,31 @@ def docgen_cmd_cb(data, buf, args):
|
||||
|
||||
# write commands
|
||||
for plugin in commands:
|
||||
filename = directory + '/user/' + plugin + '_commands.asciidoc'
|
||||
tmpfilename = filename + '.tmp'
|
||||
_file = open(tmpfilename, 'w')
|
||||
doc = AutogenDoc(directory, 'user', plugin + '_commands')
|
||||
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'])
|
||||
_file.write('[[command_{0}_{1}]]\n'.format(plugin, command))
|
||||
_file.write('[command]*`{0}`* {1}::\n\n'.format(command, desc))
|
||||
_file.write('----\n')
|
||||
doc.write('[[command_{0}_{1}]]\n'.format(plugin, command))
|
||||
doc.write('[command]*`{0}`* {1}::\n\n'.format(command, desc))
|
||||
doc.write('----\n')
|
||||
prefix = '/' + command + ' '
|
||||
if args_formats != ['']:
|
||||
for fmt in args_formats:
|
||||
_file.write(prefix + fmt + '\n')
|
||||
doc.write(prefix + fmt + '\n')
|
||||
prefix = ' ' * len(prefix)
|
||||
if args_desc:
|
||||
_file.write('\n')
|
||||
doc.write('\n')
|
||||
for line in args_desc.split('\n'):
|
||||
_file.write(line + '\n')
|
||||
_file.write('----\n\n')
|
||||
_file.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated,
|
||||
'commands')
|
||||
doc.write(line + '\n')
|
||||
doc.write('----\n\n')
|
||||
doc.update('commands', num_files, num_files_updated)
|
||||
|
||||
# write config options
|
||||
for config in options:
|
||||
filename = directory + '/user/' + config + '_options.asciidoc'
|
||||
tmpfilename = filename + '.tmp'
|
||||
_file = open(tmpfilename, 'w')
|
||||
doc = AutogenDoc(directory, 'user', config + '_options')
|
||||
for section in sorted(options[config]):
|
||||
for option in sorted(options[config][section]):
|
||||
_opt = options[config][section][option]
|
||||
@@ -500,98 +536,93 @@ def docgen_cmd_cb(data, buf, args):
|
||||
'only, not background): \"*\" for bold, '
|
||||
'\"!\" for reverse, \"/\" for italic, '
|
||||
'\"_\" for underline')
|
||||
_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))
|
||||
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))
|
||||
if null_value_allowed:
|
||||
_file.write('** {0}\n'
|
||||
''.format(
|
||||
_('undefined value allowed (null)')))
|
||||
_file.write('\n')
|
||||
_file.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated,
|
||||
'options')
|
||||
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)
|
||||
|
||||
# write infos hooked
|
||||
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')))
|
||||
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')))
|
||||
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 '-')
|
||||
_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')
|
||||
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)
|
||||
|
||||
# write infos (hashtable) hooked
|
||||
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)')))
|
||||
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)')))
|
||||
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 '-'
|
||||
_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')
|
||||
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)
|
||||
|
||||
# write infolists hooked
|
||||
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')))
|
||||
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')))
|
||||
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 '-'
|
||||
_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')
|
||||
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)
|
||||
|
||||
# write hdata hooked
|
||||
filename = directory + '/plugin_api/hdata.asciidoc'
|
||||
tmpfilename = filename + '.tmp'
|
||||
_file = open(tmpfilename, 'w')
|
||||
doc = AutogenDoc(directory, 'plugin_api', 'hdata')
|
||||
for plugin in sorted(hdata):
|
||||
for hdata_name in sorted(hdata[plugin]):
|
||||
_hda = hdata[plugin][hdata_name]
|
||||
@@ -599,110 +630,68 @@ def docgen_cmd_cb(data, buf, args):
|
||||
variables = _hda['vars']
|
||||
variables_update = _hda['vars_update']
|
||||
lists = _hda['lists']
|
||||
_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)))
|
||||
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)))
|
||||
if variables_update:
|
||||
_file.write('** {0}:\n{1}'.format(
|
||||
doc.write('** {0}:\n{1}'.format(
|
||||
_('update allowed'),
|
||||
escape(variables_update)))
|
||||
if lists:
|
||||
_file.write('** {0}:\n{1}'.format(_('lists'),
|
||||
escape(lists)))
|
||||
_file.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated,
|
||||
'hdata')
|
||||
doc.write('** {0}:\n{1}'.format(_('lists'),
|
||||
escape(lists)))
|
||||
doc.update('hdata', num_files, num_files_updated)
|
||||
|
||||
# write completions hooked
|
||||
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')))
|
||||
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')))
|
||||
for plugin in sorted(completions):
|
||||
for completion_item in sorted(completions[plugin]):
|
||||
_cmp = completions[plugin][completion_item]
|
||||
desc = translate(_cmp['description'])
|
||||
_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')
|
||||
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)
|
||||
|
||||
# write url options
|
||||
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)^'))
|
||||
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)^'))
|
||||
for option in url_options:
|
||||
constants = option['constants']
|
||||
if constants:
|
||||
constants = ' ' + constants
|
||||
_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')
|
||||
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)
|
||||
|
||||
# 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 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 counters
|
||||
weechat.prnt('',
|
||||
'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)'
|
||||
'docgen: {0}: {1} files, {2} updated'
|
||||
''.format(locale,
|
||||
num_files['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']))
|
||||
num_files_updated['total1']))
|
||||
weechat.prnt('',
|
||||
'docgen: total: {0} files, {1} updated'
|
||||
''.format(num_files['total2'], num_files_updated['total2']))
|
||||
|
||||
+28
-11
@@ -21,12 +21,13 @@ 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 ${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
|
||||
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
|
||||
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)
|
||||
@@ -38,11 +39,13 @@ 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 -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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_USER} -o 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)
|
||||
@@ -51,10 +54,12 @@ 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 -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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_API} -o 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)
|
||||
@@ -63,9 +68,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
# scripting guide
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
|
||||
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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_SCRIPTING} -o 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)
|
||||
@@ -74,9 +81,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
# FAQ
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
|
||||
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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_FAQ} -o 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)
|
||||
@@ -85,9 +94,11 @@ if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
|
||||
# quickstart
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
|
||||
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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_QUICKSTART} -o 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)
|
||||
@@ -96,9 +107,11 @@ 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 -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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_TESTER} -o 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)
|
||||
@@ -107,9 +120,11 @@ 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 -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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_RELAY} -o 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)
|
||||
@@ -118,9 +133,11 @@ 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 -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
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS ${ASCIIDOC_ARGS_DEV} -o 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
@@ -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)
|
||||
$(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
|
||||
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
|
||||
|
||||
# plugin API reference
|
||||
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
|
||||
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
|
||||
|
||||
# scripting guide
|
||||
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
|
||||
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
|
||||
|
||||
# FAQ
|
||||
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
|
||||
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
|
||||
|
||||
# quickstart
|
||||
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
|
||||
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
|
||||
|
||||
# tester's guide
|
||||
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
|
||||
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
|
||||
|
||||
# relay protocol
|
||||
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
|
||||
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
|
||||
|
||||
# developer's guide
|
||||
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
|
||||
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
|
||||
|
||||
# install man/docs
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -46,6 +50,8 @@
|
||||
|
||||
| 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,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
* 'guile_callback': callback of a script
|
||||
** plugin: guile
|
||||
** variables:
|
||||
@@ -42,7 +46,7 @@
|
||||
*** 'limit' (integer)
|
||||
*** 'key' (string)
|
||||
*** 'join_msg_received' (hashtable)
|
||||
*** 'checking_away' (integer)
|
||||
*** 'checking_whox' (integer)
|
||||
*** 'away_message' (string)
|
||||
*** 'has_quit_server' (integer)
|
||||
*** 'cycle' (integer)
|
||||
@@ -89,6 +93,7 @@
|
||||
*** 'prefixes' (string)
|
||||
*** 'prefix' (string)
|
||||
*** 'away' (integer)
|
||||
*** 'account' (string)
|
||||
*** 'color' (string)
|
||||
*** 'prev_nick' (pointer, hdata: "irc_nick")
|
||||
*** 'next_nick' (pointer, hdata: "irc_nick")
|
||||
@@ -176,6 +181,7 @@
|
||||
*** 'nick' (string)
|
||||
*** 'nick_modes' (string)
|
||||
*** 'cap_away_notify' (integer)
|
||||
*** 'cap_account_notify' (integer)
|
||||
*** 'isupport' (string)
|
||||
*** 'prefix_modes' (string)
|
||||
*** 'prefix_chars' (string)
|
||||
@@ -220,6 +226,40 @@
|
||||
** 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:
|
||||
@@ -843,6 +883,8 @@
|
||||
*** 'version' (string)
|
||||
*** 'license' (string)
|
||||
*** 'charset' (string)
|
||||
*** 'priority' (integer)
|
||||
*** 'initialized' (integer)
|
||||
*** 'debug' (integer)
|
||||
*** 'prev_plugin' (pointer, hdata: "plugin")
|
||||
*** 'next_plugin' (pointer, hdata: "plugin")
|
||||
@@ -900,6 +942,7 @@
|
||||
*** 'scrolling' (integer)
|
||||
*** 'start_col' (integer)
|
||||
*** 'lines_after' (integer)
|
||||
*** 'text_search_start_line' (pointer, hdata: "line")
|
||||
*** 'prev_scroll' (pointer, hdata: "window_scroll")
|
||||
*** 'next_scroll' (pointer, hdata: "window_scroll")
|
||||
* 'window_tree': tree of windows
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -18,6 +22,8 @@
|
||||
|
||||
| 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)
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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,8 +1,12 @@
|
||||
//
|
||||
// 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)
|
||||
|
||||
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
|
||||
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "pos_text": index of text in message ("-1" if no text found)
|
||||
|
||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,15 +1,24 @@
|
||||
//
|
||||
// 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::
|
||||
[command]*`alias`* list, add or remove command aliases::
|
||||
|
||||
----
|
||||
/alias [-completion <completion>] <alias> [<command> [;<command>...]]
|
||||
/alias list [<alias>]
|
||||
add <alias> [<command>[;<command>...]]
|
||||
addcompletion <completion> <alias> [<command>[;<command>...]]
|
||||
del <alias> [<alias>...]
|
||||
|
||||
completion: completion for alias (optional, by default completion is done with target command)
|
||||
note: you can use %%command to use completion of an existing command
|
||||
alias: name of alias (wildcard "*" is allowed)
|
||||
command: command name with arguments (many commands can be separated by semicolons)
|
||||
|
||||
Without argument, this command lists all defined alias.
|
||||
list: list aliases (without argument, this list is displayed)
|
||||
add: add an alias
|
||||
addcompletion: add an alias with a custom completion
|
||||
del: delete an alias
|
||||
completion: completion for alias: by default completion is done with target command
|
||||
note: you can use %%command to use completion of an existing command
|
||||
alias: name of alias
|
||||
command: command name with arguments (many commands can be separated by semicolons)
|
||||
|
||||
Note: in command, special variables are replaced:
|
||||
$n: argument 'n' (between 1 and 9)
|
||||
@@ -21,14 +30,12 @@ Note: in command, special variables are replaced:
|
||||
$var: where "var" is a local variable of buffer (see /buffer localvar)
|
||||
examples: $nick, $channel, $server, $plugin, $name
|
||||
|
||||
To remove an alias, use command /unalias.
|
||||
|
||||
Examples:
|
||||
alias /split to split window horizontally:
|
||||
/alias split /window splith
|
||||
/alias add split /window splith
|
||||
alias /hello to say "hello" on all channels but not on #weechat:
|
||||
/alias hello /allchan -exclude=#weechat msg * hello
|
||||
/alias add hello /allchan -exclude=#weechat msg * hello
|
||||
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
|
||||
/alias -completion %%sajoin forcejoin /quote forcejoin
|
||||
/alias addcompletion %%sajoin forcejoin /quote forcejoin
|
||||
----
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_aspell_aspell]]
|
||||
[command]*`aspell`* aspell plugin configuration::
|
||||
|
||||
@@ -22,6 +26,8 @@ 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_exec_exec]]
|
||||
[command]*`exec`* execute external commands::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_guile_guile]]
|
||||
[command]*`guile`* list/load/unload scripts::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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::
|
||||
|
||||
@@ -88,10 +92,10 @@ Without argument, this command display ban list for current channel.
|
||||
-all|-auto|-open [-nojoin] [-switch]
|
||||
|
||||
server: server name, which can be:
|
||||
- internal server name (created by /server add, recommended usage)
|
||||
- internal server name (added by /server add, recommended usage)
|
||||
- hostname/port or IP/port, port is 6667 by default
|
||||
- URL with format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
|
||||
Note: for an address/IP/URL, a temporary server is created (NOT SAVED), see /help irc.look.temporary_servers
|
||||
Note: for an address/IP/URL, a temporary server is added (NOT SAVED), see /help irc.look.temporary_servers
|
||||
option: set option for server (for boolean option, value can be omitted)
|
||||
nooption: set boolean option to 'off' (for example: -nossl)
|
||||
-all: connect to all servers defined in configuration
|
||||
@@ -547,11 +551,12 @@ daemon2: forward message to this daemon
|
||||
[command]*`query`* send a private message to a nick::
|
||||
|
||||
----
|
||||
/query [-server <server>] <nick>[,<nick>...] [<text>]
|
||||
/query [-noswitch] [-server <server>] <nick>[,<nick>...] [<text>]
|
||||
|
||||
server: send to this server (internal name)
|
||||
nick: nick
|
||||
text: text to send
|
||||
-noswitch: do not switch to new buffer
|
||||
server: send to this server (internal name)
|
||||
nick: nick
|
||||
text: text to send
|
||||
----
|
||||
|
||||
[[command_irc_quiet]]
|
||||
@@ -681,10 +686,10 @@ reason: reason
|
||||
|
||||
list: list servers (without argument, this list is displayed)
|
||||
listfull: list servers with detailed info for each server
|
||||
add: create a new server
|
||||
add: add a new server
|
||||
server: server name, for internal and display use
|
||||
hostname: name or IP address of server, with optional port (default: 6667), many addresses can be separated by a comma
|
||||
temp: create temporary server (not saved)
|
||||
temp: add a temporary server (not saved)
|
||||
option: set option for server (for boolean option, value can be omitted)
|
||||
nooption: set boolean option to 'off' (for example: -nossl)
|
||||
copy: duplicate a server
|
||||
@@ -698,13 +703,12 @@ nooption: set boolean option to 'off' (for example: -nossl)
|
||||
|
||||
Examples:
|
||||
/server listfull
|
||||
/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 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 del freenode
|
||||
/server deloutq
|
||||
----
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -354,7 +358,7 @@
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
||||
** description: `enable creation of temporary servers with command /connect`
|
||||
** description: `enable automatic addition of temporary servers with command /connect`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
@@ -494,7 +498,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: 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: account-notify, away-notify, extended-join, multi-prefix, server-time, userhost-in-names (example: "away-notify,multi-prefix")`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
@@ -539,7 +543,7 @@
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* [[option_irc.server_default.nicks]] *irc.server_default.nicks*
|
||||
** description: `nicknames to use on server (separated by comma)`
|
||||
** description: `nicknames to use on server (separated by comma) (note: content is evaluated, see /help eval)`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
@@ -568,13 +572,18 @@
|
||||
** 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, "dh-blowfish" for blowfish crypted password, "dh-aes" for AES crypted password, "external" for authentication using client side SSL cert`
|
||||
** 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)`
|
||||
** type: integer
|
||||
** values: plain, dh-blowfish, dh-aes, external (default value: `plain`)
|
||||
** values: plain, ecdsa-nist256p-challenge, external, dh-blowfish, dh-aes (default value: `plain`)
|
||||
|
||||
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
|
||||
** description: `password for SASL authentication (note: content is evaluated, see /help eval)`
|
||||
** description: `password for SASL authentication; this option is not used for mechanisms "ecdsa-nist256p-challenge" and "external" (note: content is evaluated, see /help eval)`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
@@ -584,7 +593,7 @@
|
||||
** values: 1 .. 3600 (default value: `15`)
|
||||
|
||||
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
|
||||
** description: `username for SASL authentication (note: content is evaluated, see /help eval)`
|
||||
** description: `username for SASL authentication; this option is not used for mechanism "external" (note: content is evaluated, see /help eval)`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
@@ -604,7 +613,7 @@
|
||||
** values: 0 .. 2147483647 (default value: `2048`)
|
||||
|
||||
* [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint*
|
||||
** 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")`
|
||||
** 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")`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// 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,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_logger_logger]]
|
||||
[command]*`logger`* logger plugin configuration::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -44,7 +48,7 @@
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* [[option_logger.file.path]] *logger.file.path*
|
||||
** description: `path for WeeChat log files; "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default); date specifiers are permitted (see man strftime)`
|
||||
** description: `path for WeeChat log files; "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default); date specifiers are permitted (see man strftime) (note: content is evaluated, see /help eval)`
|
||||
** type: string
|
||||
** values: any string (default value: `"%h/logs/"`)
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_lua_lua]]
|
||||
[command]*`lua`* list/load/unload scripts::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_perl_perl]]
|
||||
[command]*`perl`* list/load/unload scripts::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_python_python]]
|
||||
[command]*`python`* list/load/unload scripts::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_relay_relay]]
|
||||
[command]*`relay`* relay control::
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// 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
|
||||
@@ -79,7 +83,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); 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.*)$"`
|
||||
** 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.*)$"`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_ruby_ruby]]
|
||||
[command]*`ruby`* list/load/unload scripts::
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user