1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-13 14:44:46 +02:00

Compare commits

..

134 Commits

Author SHA1 Message Date
Sébastien Helleu 7477845205 Version 2.6 2019-09-08 08:13:58 +02:00
Sébastien Helleu ea139e7fdb doc: update Polish auto-generated files 2019-09-07 16:04:57 +02:00
Krzysztof Korościk 2d2d349d3c update polish translation 2019-09-07 15:54:13 +02:00
Sébastien Helleu 948caf0857 Version 2.6-rc2 2019-09-01 11:27:07 +02:00
Sébastien Helleu f24538646f core: update python dependency from python2-devel to python3-devel in cygport file 2019-08-31 20:49:42 +02:00
Sébastien Helleu 1beebdf01e core: fix compilation with autotools on FreeBSD 12.0 2019-08-31 14:18:55 +02:00
Sébastien Helleu 8bb4549494 core: fix compilation of Python plugin on FreeBSD 12.0 (closes #1398) 2019-08-31 14:13:58 +02:00
Sébastien Helleu 63902ef52d debian: add Python version in description of python plugin package 2019-08-30 18:34:31 +02:00
Sébastien Helleu 93775de7ff Version 2.6-rc1 2019-08-27 22:31:43 +02:00
Sébastien Helleu 62944b7168 core: disable option "-Werror-implicit-function-declaration" for C++ compiler
This option is valid for C compiler only.
2019-08-27 22:26:57 +02:00
Sébastien Helleu f0001ed670 doc: update German auto-generated file 2019-08-25 21:01:46 +02:00
Nils Görs e11f6e3046 core: update German translations 2019-08-25 20:05:18 +02:00
Sébastien Helleu 68d6f1b415 api: add infos "term_colors" and "term_color_pairs" 2019-08-25 19:10:32 +02:00
Sébastien Helleu f0685dd1b1 ruby: remove unused variable "ruby_hide_errors" 2019-08-25 07:14:42 +02:00
Sébastien Helleu 0884c9b33c core: move "Python 3 by default" as first item in the release notes 2019-08-24 17:43:49 +02:00
Sébastien Helleu 3938328375 doc: update German auto-generated file 2019-08-24 08:36:52 +02:00
Nils Görs 16592fdbbb core: update German translations 2019-08-24 08:06:44 +02:00
Sébastien Helleu bad8db720e irc: fix parsing of message 346, 348 and 728 when there is a colon before the timestamp (issue #1396)
IRC Messages:
- 346: invite list
- 348: exception list
- 728: quiet list
2019-08-24 07:19:01 +02:00
Sébastien Helleu 61c5d08320 fset: add filters "h=xxx" and "he=xxx" to filter options by description (translated or in English) 2019-08-24 07:13:34 +02:00
Sébastien Helleu 04162214d4 doc: update German auto-generated file 2019-08-22 07:45:10 +02:00
Nils Görs 2fa33b102b core: update German translations 2019-08-21 21:58:47 +02:00
iwalkalone 1e7232b8c2 irc: fix parsing of message 367 (banlist) when there is a colon before the timestamp (closes #1396) 2019-08-21 08:21:07 +02:00
Sébastien Helleu 608ec9f483 core: add values djb2_32 and sum_32 for option weechat.look.nick_color_hash (issue #1394) 2019-08-20 21:20:33 +02:00
Sébastien Helleu 21dca71ee0 ruby: fix compilation with Ruby < 2.3 2019-08-20 07:57:01 +02:00
Sébastien Helleu 7f62985f89 core: use fixed-width integer for computing hashtable DJB2 key hash (closes #1394) 2019-08-19 23:29:22 +02:00
Sébastien Helleu 80f103b68a core: use fixed-width integer for computing nick hash (issue #1394) 2019-08-19 23:27:11 +02:00
Sébastien Helleu 156d855787 ruby: fix conversion of big integers on 32bit architecture (closes #1395) 2019-08-19 23:21:12 +02:00
Sébastien Helleu bf21ca072d buflist: use extra variables in option buflist.look.display_conditions (closes #1393) 2019-08-17 08:57:40 +02:00
Sébastien Helleu a3e8163f37 Revert "buflist: mention variables available for option buflist.look.display_conditions in its help and in /help buflist (closes #1393)"
This reverts commit 39e5b0574c.
2019-08-17 08:43:22 +02:00
Nils Görs ceb579653f doc: update German documentation 2019-08-17 08:28:27 +02:00
Sébastien Helleu 39e5b0574c buflist: mention variables available for option buflist.look.display_conditions in its help and in /help buflist (closes #1393) 2019-08-17 08:17:11 +02:00
Sébastien Helleu 05744f3b61 doc: translate new Freenode Tor Hidden Service (user's guide) 2019-08-15 23:09:39 +02:00
Alfredo Ramos 783aebfd53 doc: use the new Freenode Tor Hidden Service (user's guide)
And add a note for users using an old version of Tor
2019-08-15 23:09:35 +02:00
Sébastien Helleu c411ee475a core: create or update option weechat.notify.xxx when function buffer_set is called with "notify" property (closes #1390) 2019-08-10 17:48:34 +02:00
Sébastien Helleu a409080d8b doc: update German auto-generated file 2019-08-10 17:33:59 +02:00
weechatter b1ae6ad1c6 core: update German translations 2019-08-10 17:22:00 +02:00
Andrew Potter 0957231d30 api: add function list_user_data (issue #666) 2019-08-10 12:55:43 +02:00
Sébastien Helleu 464d31155a core: update ChangeLog (issue #615) 2019-08-10 11:23:51 +02:00
Sébastien Helleu 5f1b895f27 irc: replace calls to strcpy and strcat with a call to snprintf 2019-08-10 11:20:43 +02:00
Sébastien Helleu dfcbb6b058 irc: rename variable vars_replaced to command2, remove fallback on *ptr_command 2019-08-10 11:16:21 +02:00
Sébastien Helleu dd133af522 Merge remote-tracking branch 'origin/pr/615' 2019-08-10 11:12:13 +02:00
Sébastien Helleu befa97ea81 core: mention there's no fallback on the other Python version in release notes 2019-08-10 10:42:53 +02:00
Sébastien Helleu a906afc3d7 core: replace python-dev by python3-dev in dependencies (user's guide) 2019-08-06 22:48:59 +02:00
Sébastien Helleu b4215ee466 tests: add tests on IRC function irc_nick_is_nick 2019-08-06 22:13:10 +02:00
Sébastien Helleu 210e864899 irc: fix memory leak when removing a server 2019-08-05 20:58:24 +02:00
Sébastien Helleu 47010dd9c6 doc: update auto-generated files with hdata 2019-08-04 16:43:48 +02:00
Sébastien Helleu b6cc5ef70f irc: fix length of user/nick/host in split of messages (closes #1387) 2019-08-04 16:39:18 +02:00
Sébastien Helleu 59ba378eec tests: add missing space after name of function 2019-08-04 14:39:58 +02:00
Sébastien Helleu 0bf5a5ae9c irc: add variables "user_max_length" and "host_max_length" in server structure (issue #1387) 2019-08-04 14:39:58 +02:00
Sébastien Helleu 4fa62a83f1 tests: add unit tests on IRC functions irc_message_split* (issue #1387) 2019-08-04 14:39:58 +02:00
Sébastien Helleu 067f237ec3 tests: add unit tests on IRC function irc_message_convert_charset 2019-08-04 14:04:45 +02:00
Sébastien Helleu fbc022a77a core: return NULL immediately if string is NULL in function hook_modifier_exec 2019-08-04 13:30:53 +02:00
Sébastien Helleu c46255b1d0 tests: add unit tests on IRC functions irc_message_parse and irc_message_parse_to_hashtable 2019-08-03 13:57:50 +02:00
Sébastien Helleu d79e0cbd31 tests: add unit tests on IRC function irc_message_replace_vars 2019-08-03 11:34:42 +02:00
Sébastien Helleu 28d79d0c93 tests: add unit tests on IRC functions irc_message_get_{nick,address}_from_host 2019-08-03 11:30:35 +02:00
Sébastien Helleu 478ca22054 irc: return NULL in function irc_message_get_address_from_host if the received host is NULL 2019-08-03 10:53:17 +02:00
Sébastien Helleu 1f52101a41 doc: update German auto-generated files 2019-08-03 10:52:58 +02:00
Sébastien Helleu 9be225b201 core: fix description of changes on Python build in release notes
There's no fallback on the other Python version:
- with no option: build with Python 3 only
- with option ENABLE_PYTHON2: build with Python 2 only.
2019-08-03 08:31:57 +02:00
weechatter 07878046d2 doc: update German documentation 2019-08-01 18:45:49 +02:00
Sébastien Helleu 2e07121457 core: update ChangeLog (issue #1384) 2019-07-31 22:55:40 +02:00
Sébastien Helleu f8b8669d2e Merge pull request #1384 from l2dy/memory
core: fix memory leak in case of error
2019-07-31 22:51:12 +02:00
Sébastien Helleu f3426f4388 doc: update note on Python recommended version in user's guide 2019-07-31 22:42:38 +02:00
Sébastien Helleu ad64fd16e1 core: update ChangeLog (issue #1382) 2019-07-31 22:17:28 +02:00
Sébastien Helleu 99bb662bc5 core: add contributor in AUTHORS.adoc 2019-07-31 22:16:42 +02:00
Sébastien Helleu 8bc5725278 core: remove obsolete checks of old Python version in configure, properly set Python version (issue #1382) 2019-07-31 21:53:16 +02:00
Sébastien Helleu 8897e04c0d core: fix help on python to build with Python 2 (issue #1382) 2019-07-31 21:24:36 +02:00
Eli Schwartz 4744c3fa41 work around broken travis environment variables
See: https://github.com/travis-ci/travis-ci/issues/5301
2019-07-31 20:46:02 +02:00
Eli Schwartz ad7d16a5b3 build: use pkg-config to properly link python
fixes incorrect (non)detection of libpython3.Ym.so due to PEP 3149 since
python's officially exported build flags know how to correctly link to
python.
2019-07-31 20:45:59 +02:00
weechatter b8d69307ee core: update German translations 2019-07-30 22:56:52 +02:00
Sébastien Helleu 015ec85f10 core: add some missing default keys in /help cursor 2019-07-29 22:49:29 +02:00
Zero King acbf021330 core: fix memory leak in case of error 2019-07-27 18:51:29 +00:00
Sébastien Helleu 93cd05bdd8 core: fix French translations on IRC ignores 2019-07-24 18:46:25 +02:00
Sébastien Helleu 5eeb98e40c buflist: use existing variable buflist_hdata_buffer to check buffer pointers in infolist "buflist" 2019-07-13 22:16:25 +02:00
Sébastien Helleu f6bc6fec2e doc: add function "register" in the plugin API reference 2019-07-11 21:12:33 +02:00
Sébastien Helleu c463b84421 doc: add Python prototype for function window_get_string (plugin API reference) 2019-07-11 20:51:52 +02:00
Sébastien Helleu 6461aefcae doc: fix return value of function window_get_string (plugin API reference) 2019-07-11 20:51:48 +02:00
Sébastien Helleu 643376fc1d core: update translations (issue #1375) 2019-07-11 07:30:01 +02:00
Sébastien Helleu 26c0b1270f core: update ChangeLog (issue #1375) 2019-07-11 07:29:56 +02:00
Sébastien Helleu ccaf99ff40 buflist: check validity of buffer pointers in info "buflist" (issue #1375) 2019-07-11 07:29:54 +02:00
Simmo Saan 0fdf2c13a5 buflist: add infolist "buflist" (issue #1375) 2019-07-11 07:29:46 +02:00
Sébastien Helleu fd592c2323 irc: quote NICK command argument sent to the server only if there's a ":" in the nick (closes #1376, issue #1319) 2019-07-11 07:08:36 +02:00
Sébastien Helleu 82a92bd4e9 irc: add unit tests on ignore functions 2019-07-10 19:20:09 +02:00
Sébastien Helleu 162ca1fade irc: split function irc_ignore_check into three functions 2019-07-10 19:19:35 +02:00
Sébastien Helleu e56c7e8c9b debian: disable Javascript plugin on Debian Buster/Bullseye (closes #1374) 2019-07-08 18:29:50 +02:00
Sébastien Helleu 5e9efeb2e3 debian: switch from Lua 5.1 to 5.3 in Debian build 2019-07-07 14:14:37 +02:00
Sébastien Helleu 965173ded5 doc: fix typos in examples of function hook_process_hashtable (plugin API reference) 2019-07-06 20:39:02 +02:00
Sébastien Helleu 768c0d9acc core: move line from "New features" to "Bug fixes" in ChangeLog 2019-07-05 08:43:29 +02:00
Sébastien Helleu 15ce4b2be5 irc: return all arguments in the PONG response to a PING (closes #1369) 2019-07-04 18:48:46 +02:00
Sébastien Helleu 789fa972f8 core: add Python 3 in release notes 2019-07-01 22:16:23 +02:00
Sébastien Helleu 179b00b4a3 doc: update auto-generated files with hdata 2019-07-01 22:09:58 +02:00
Sébastien Helleu 45fc8f1012 doc: rename option ENABLE_PYTHON3 to ENABLE_PYTHON2 in user's guide 2019-07-01 22:04:02 +02:00
Sébastien Helleu c99dd0f611 core: remove pyenv in Travis CI 2019-07-01 21:28:33 +02:00
Sébastien Helleu ab81128a7a core: compile with Python 3 by default
The CMake option ENABLE_PYTHON3 is renamed to ENABLE_PYTHON2, to use Python 2
first then fallback on Python 3.

In the same way, the configure option --enable-python3 is renamed to
--enable-python2, to use Python 2 first then fallback on Python 3.
2019-07-01 21:28:33 +02:00
Sébastien Helleu f9b6f359dd doc: update chapter on colors in user's guide (issue #1343, issue #1345) 2019-06-28 20:58:00 +02:00
Sébastien Helleu a9a1066e63 core: update ChangeLog (closes #1343, closes #1345) 2019-06-28 20:47:07 +02:00
Sébastien Helleu d540ea91ae Merge remote-tracking branch 'origin/pr/1345' 2019-06-28 20:43:21 +02:00
Sébastien Helleu b1ab2a0c50 doc: add description of arguments sent to the weechat_plugin_init plugin function (plugin API reference) 2019-06-26 21:20:01 +02:00
Sébastien Helleu 33ee803609 core: send command line parameter to plugins only if the name starts with the plugin name followed by a colon 2019-06-26 21:13:36 +02:00
Sébastien Helleu 1d6714e428 core: auto disable upgrade process (command line option "--upgrade") if the file weechat.upgrade is not found 2019-06-24 21:35:37 +02:00
Sébastien Helleu 98b5e90469 doc: update German auto-generated file 2019-06-22 08:43:24 +02:00
Sébastien Helleu b0ad684f6b irc: fix help of /connect command: the server is optional 2019-06-22 08:42:38 +02:00
weechatter ca73fabc72 core: update German translations 2019-06-18 19:15:15 +02:00
Sébastien Helleu f15a24b2ec core: add option "close" in command /window (closes #853) 2019-06-17 21:08:07 +02:00
Sébastien Helleu e5f963f78a doc: update auto-generated files with URL options 2019-06-16 23:03:48 +02:00
Sébastien Helleu 087d4c7af3 core: add Curl options for versions 7.53.0 to 7.63.0 2019-06-16 22:28:08 +02:00
Sébastien Helleu 07a8c4a0ec doc: update German auto-generated file 2019-06-16 16:13:17 +02:00
weechatter eb2535982c core: update German translations 2019-06-16 14:10:11 +02:00
Sébastien Helleu fe90a5ed4e core: replace newlines by spaces in argument "completion" of function hook_command (closes #538) 2019-06-16 08:14:24 +02:00
Sébastien Helleu 60c61c3962 irc: disable server reconnection when the server buffer is closed (closes #236) 2019-06-15 22:46:14 +02:00
Sébastien Helleu 0d9b7ec954 irc: strip spaces at beginning/end of addresses in server option "addresses" (closes #195) 2019-06-15 20:50:48 +02:00
Sébastien Helleu 9178156354 api: add argument "strip_items" in function string_split 2019-06-15 20:47:14 +02:00
Sébastien Helleu 866a29c7e6 core: check that string pointer is not NULL in function "string_shared_get" 2019-06-15 17:21:06 +02:00
Sébastien Helleu 95cbf3a48b irc: remove capability from cap_list when a client capability is disabled (issue #151) 2019-06-15 08:56:48 +02:00
Sébastien Helleu b6c304ac87 irc: fix display of enabled/disabled client capabilities received in command CAP ACK (closes #151) 2019-06-15 08:14:22 +02:00
Sébastien Helleu 31d0742aed doc: remove obsolete options for "brew install" command (user's guide) 2019-06-12 23:37:17 +02:00
Sébastien Helleu 7d24dd5a6c core: add contributor in AUTHORS.adoc 2019-06-12 23:34:36 +02:00
Johan Rylander 6c114bbba7 doc: remove obsolete options for "brew install" command (FAQ) 2019-06-12 23:33:33 +02:00
Sébastien Helleu 4b90549b86 doc: improve tree with log files in user's guide 2019-06-12 23:07:32 +02:00
Sébastien Helleu 04fd587fff exec: evaluate option exec.command.shell, change default value to "${env:SHELL}" (closes #1356) 2019-06-12 18:29:07 +02:00
Sébastien Helleu eb216de9b8 core: add contributor in AUTHORS.adoc 2019-06-07 21:36:58 +02:00
Sébastien Helleu 4d8785289d core: update ChangeLog 2019-06-07 21:36:28 +02:00
jesopo 4ea193c981 alias: remove default aliases /AME and /AMSG 2019-06-07 21:35:15 +02:00
Sébastien Helleu 7aa82db471 core: replace char "," by "~" in color codes to separate foreground from background (closes #1264) 2019-06-07 21:29:05 +02:00
Sébastien Helleu f065b43b71 doc: replace "cmake" by "CMake" 2019-06-07 21:14:17 +02:00
Sébastien Helleu 96d1276446 Version 2.6-dev 2019-06-06 21:03:56 +02:00
Simmo Saan 5988d17d2d gui: simplify and revert FindNcurses using PATH_SUFFIXES for system default search 2019-05-13 14:18:02 +00:00
Simmo Saan 980d26956f gui: fix wide ncurses header on FreeBSD (issue #1343) 2019-05-13 13:48:39 +00:00
Simmo Saan 5910bcf3c8 gui: fix wbkgrndset for non-wide ncurses by fallback to wbkgdset (issue #1343)
cchar_t, setcchar and wbkgrndset are actually widec ncurses features,
not ext-colors features, but NCURSES_WIDECHAR doesn't accurately reflect
their existence so NCURSES_EXT_COLORS is used instead.
2019-05-04 14:31:11 +03:00
Simmo Saan c7b242ffd9 gui: readd color buffer table zero padding and dashes (issue #1343) 2019-05-02 21:16:57 +03:00
Simmo Saan bf1462d7a1 gui: change command line option "-c" color pairs table to match (issue #1343) 2019-05-02 21:06:42 +03:00
Simmo Saan f5f6cf028c gui: change color buffer pairs table to only show allocated pairs (issue #1343) 2019-05-02 19:30:22 +03:00
Simmo Saan d392b406c5 gui: increase ncurses color pair limit from 255 to 32767 (issue #1343) 2019-05-02 19:30:22 +03:00
Simmo Saan 08719963de gui: replace ncurses COLOR_PAIR attribute usage with special functions (issue #1343) 2019-05-02 19:30:22 +03:00
Simmo Saan d12e29620b irc: make command characters optional in server's command option 2017-06-17 18:38:37 +03:00
244 changed files with 6059 additions and 1807 deletions
+6 -4
View File
@@ -8,11 +8,11 @@ compiler:
env:
- BUILDTOOL="cmake" BUILDARGS=""
# - BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON"
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON2=ON"
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF"
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
- BUILDTOOL="autotools" BUILDARGS=""
# - BUILDTOOL="autotools" BUILDARGS="--enable-python3"
- BUILDTOOL="autotools" BUILDARGS="--enable-python2"
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
matrix:
@@ -22,14 +22,16 @@ matrix:
env: BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
before_script:
# Workaround https://github.com/travis-ci/travis-ci/issues/5326
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
- rm -rf "$HOME/.pyenv"
- sudo rm -rf /opt/pyenv
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
- travis_retry sudo apt-get update -qq
- travis_retry sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls-dev zlib1g-dev curl libcpputest-dev php7.0-dev libphp7.0-embed
- travis_retry sudo gem install asciidoctor
- travis_retry sudo -H pip install --ignore-installed msgcheck pylint
- phpenv local system
# work around broken travis environment variables, see https://github.com/travis-ci/travis-ci/issues/5301
- unset PYTHON_CFLAGS
script:
- ./tools/build-test.sh
+3
View File
@@ -36,6 +36,7 @@ Alphabetically:
* Dominik Honnef
* Dominique Martinet
* Eduardo Elias
* Eli Schwartz
* Elizabeth Myers (Elizacat)
* Elián Hanisch (m4v)
* Emanuele Giaquinta
@@ -54,9 +55,11 @@ Alphabetically:
* Jakub Jirutka
* Jason A. Donenfeld (zx2c4)
* JD Horelick (jdhore)
* jesopo
* Jim Ramsay (lack)
* Jiri Golembiovsky (GolemJ)
* Joey Pabalinas (alyptik)
* Johan Rylander
* Jos Ahrens
* Joseph Kichline
* Juan Francisco Cantero Hurtado
+2 -2
View File
@@ -28,7 +28,7 @@ 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} -fsigned-char -Wall -Wextra -Werror-implicit-function-declaration")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -Wall -Wextra -Werror-implicit-function-declaration")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -Wall -Wextra")
# version
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
@@ -102,7 +102,7 @@ option(ENABLE_SCRIPT "Enable Script plugin (script 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 because many \"official\" scripts won't work)" OFF)
option(ENABLE_PYTHON2 "Use Python 2 instead of Python 3" 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)
+65 -17
View File
@@ -15,6 +15,54 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources).
[[v2.6]]
== Version 2.6 (2019-09-08)
New features::
* core: add support of 32767 color pairs (issue #1343, issue #1345)
* core: add option "close" in command /window (issue #853)
* api: add infos "term_colors" and "term_color_pairs"
* api: add function list_user_data (issue #666)
* api: add argument "strip_items" in function string_split
* buflist: add infolist "buflist" with list of buffer pointers (issue #1375)
* exec: evaluate option exec.command.shell, change default value to "${env:SHELL}" (issue #1356)
* fset: add filters "h=xxx" and "he=xxx" to filter options by description (translated or in English)
* irc: make command char optional in server option "command" (issue #615)
* irc: add variables "user_max_length" and "host_max_length" in server structure (issue #1387)
Bug fixes::
* core: use fixed-width integer for computing nick and hashtable DJB2 key hashes, add values "djb2_32" and "sum_32" for option weechat.look.nick_color_hash (issue #1394)
* core: create or update option weechat.notify.xxx when function buffer_set is called with "notify" property (issue #1390)
* core: fix memory leak in case of error when building content of bar item for display (issue #1384)
* core: send command line parameter to plugins only if the name starts with the plugin name followed by a colon
* core: auto disable upgrade process (command line option "--upgrade") if the file weechat.upgrade is not found
* core: replace newlines by spaces in argument "completion" of function hook_command (issue #538)
* core: replace char "," by "~" in color codes to separate foreground from background (issue #1264)
* alias: remove default aliases /AME and /AMSG (issue #1355)
* buflist: use extra variables in option buflist.look.display_conditions (issue #1393)
* irc: fix parsing of messages 346 (invite list), 348 (exception list), 367 (ban list) and 728 (quiet list) when there is a colon before the timestamp (issue #1396)
* irc: fix memory leak when removing a server
* irc: fix length of user/nick/host in split of messages (issue #1387)
* irc: quote NICK command argument sent to the server only if there's a ":" in the nick (issue #1376, issue #1319)
* irc: return all arguments in the PONG response to a PING (issue #1369)
* irc: disable server reconnection when the server buffer is closed (issue #236)
* irc: strip spaces at beginning/end of addresses in server option "addresses" (issue #195)
* irc: fix display of enabled/disabled client capabilities received in command CAP ACK (issue #151)
* ruby: fix conversion of big integers on 32bit architecture (issue #1395)
Tests::
* unit: add tests on IRC ignore, message and nick functions
Build::
* core: fix compilation with autotools on FreeBSD 12.0
* debian: disable Javascript plugin on Debian Buster/Bullseye (issue #1374)
* python: compile with Python 3 by default
* python: use pkg-config to detect Python (issue #1382)
[[v2.5]]
== Version 2.5 (2019-06-06)
@@ -432,7 +480,7 @@ Bug fixes::
Build::
* core, irc, xfer: fix compilation on macOS (add link with resolv) (issue #276)
* core: add build of xz package with make dist (cmake)
* core: add build of xz package with make dist (CMake)
* tests: fix compilation of tests on FreeBSD 11.0
[[v1.6]]
@@ -618,7 +666,7 @@ Bug fixes::
Documentation::
* replace PREFIX with CMAKE_INSTALL_PREFIX in cmake instructions (issue #354)
* replace PREFIX with CMAKE_INSTALL_PREFIX in CMake instructions (issue #354)
Build::
@@ -697,7 +745,7 @@ Bug fixes::
Build::
* core: fix random error when creating symbolic link weechat-curses on make install with cmake (bug #40313)
* core: fix random error when creating symbolic link weechat-curses on make install with CMake (bug #40313)
[[v1.1]]
== Version 1.1 (2015-01-11)
@@ -761,7 +809,7 @@ Bug fixes::
Build::
* core: fix compilation of man pages with autotools in source directory
* core: fix compilation of plugins with cmake >= 3.1 (issue #287)
* core: fix compilation of plugins with CMake >= 3.1 (issue #287)
* lua: add detection of Lua 5.2
* python: fix Python detection with Homebrew (issue #217)
* tests: fix compilation of tests with clang (issue #275)
@@ -949,7 +997,7 @@ Bug fixes::
Build::
* core: fix cmake warning CMP0007 on "make uninstall" (bug #41528)
* core: fix CMake warning CMP0007 on "make uninstall" (bug #41528)
* core: use glibtoolize on macOS (autotools) (issue #22)
* ruby: add detection of Ruby 2.1
@@ -1138,8 +1186,8 @@ Documentation::
Build::
* core: add CA_FILE option in cmake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
* core: disable build of doc by default, add cmake option ENABLE_MAN to compile man page (off by default)
* core: add CA_FILE option in CMake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
* core: disable build of doc by default, add CMake option ENABLE_MAN to compile man page (off by default)
* xfer: fix compilation on OpenBSD (bug #39071)
[[v0.4.1]]
@@ -1221,7 +1269,7 @@ Bug fixes::
Build::
* core: install icon file (patch #7972)
* core: fix detection of iconv with cmake on macOS (bug #38321)
* core: fix detection of iconv with CMake on macOS (bug #38321)
* guile: fix compilation with Guile 2.0
* python: fix detection of Python on Ubuntu Raring
* script: fix compilation on GNU/Hurd (patch #7977)
@@ -1309,7 +1357,7 @@ Bug fixes::
Build::
* core: add git version in build, display it in "weechat-curses --help" and /version
* core: stop cmake if gcrypt lib is not found (bug #37671)
* core: stop CMake if gcrypt lib is not found (bug #37671)
* guile: fix detection of Guile in configure
* script: fix compilation on macOS
@@ -1407,10 +1455,10 @@ Documentation::
Build::
* core: move the set of cmake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311)
* core: move the set of CMake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311)
* core: fix names of cache variables in configure.in (bug #36971)
* core: add cmake option "MANDIR" (bug #36776)
* guile: fix path of Guile include dirs in cmake build (patch #7790)
* core: add CMake option "MANDIR" (bug #36776)
* guile: fix path of Guile include dirs in CMake build (patch #7790)
* lua: add support of Lua 5.2
* python: fix detection of Python (first try "python2.x" and then "python") (bug #36835)
* ruby: add detection of Ruby 1.9.3
@@ -1561,8 +1609,8 @@ Documentation::
Build::
* core: add library "pthread" in cmake file for link on OpenBSD
* core: add WEECHAT_HOME option in cmake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
* core: add library "pthread" in CMake file for link on OpenBSD
* core: add WEECHAT_HOME option in CMake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
* core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727)
* core: fix compilation error with "pid_t" on macOS (bug #34639)
@@ -1801,7 +1849,7 @@ Bug fixes::
Build::
* core: add support of Python 2.7 in cmake and configure (debian #606989)
* core: add support of Python 2.7 in CMake and configure (debian #606989)
* ruby: fix compilation with Ruby 1.9.2 (patch #7316)
[[v0.3.3]]
@@ -1980,7 +2028,7 @@ Bug fixes::
Build::
* core: fix cmake directories: let user customize lib, share, locale and include directories (patch #6922)
* core: fix CMake directories: let user customize lib, share, locale and include directories (patch #6922)
* ruby: add support of Ruby >= 1.9.1 (patch #6989)
[[v0.3.0]]
@@ -2157,7 +2205,7 @@ Bug fixes::
Build::
* add cmake for weechat compilation (patch #5943)
* add CMake for weechat compilation (patch #5943)
[[v0.2.4]]
== Version 0.2.4 (2007-03-29)
+38 -3
View File
@@ -17,6 +17,41 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file _ChangeLog.adoc_ in sources).
[[v2.6]]
== Version 2.6 (2019-09-08)
[[v2.6_python3_default]]
=== Python 3 by default
Python 3 is now used by default to compile the "python" plugin (no fallback
on Python 2).
The CMake option `ENABLE_PYTHON3` has been renamed to `ENABLE_PYTHON2`
(configure option `--enable-python2`). If this option is enabled, the "python"
plugin is built with Python 2 (no fallback on Python 3).
[[v2.6_nick_colors]]
=== Nick colors
The function to compute the colors based on the nick letters has been fixed
(now the function uses only a 64-bit integer even if the underlying architecture
is 32-bit).
If you're running WeeChat on a 32-bit architecture and want to keep same colors
as the previous releases, you can use one of the two new hash values.
If you were using "djb2", you can switch to "djb2_32":
----
/set weechat.look.nick_color_hash djb2_32
----
If you were using "sum", you can switch to "sum_32":
----
/set weechat.look.nick_color_hash sum_32
----
[[v2.5]]
== Version 2.5 (2019-06-06)
@@ -1076,17 +1111,17 @@ accordingly).
[NOTE]
For packagers: you should create the link `weechat-curses` -> `weechat` if it's
not automatically created in the package (both cmake and configure are creating
not automatically created in the package (both CMake and configure are creating
this link on make install).
[[v0.4.2_man_page_documentation]]
=== Man page / documentation
Documentation is not built by default any more, you have to use option
`-DENABLE_DOC=ON` in cmake to enable it.
`-DENABLE_DOC=ON` in cmake command to enable it.
The man page is now built with asciidoc and translated in several
languages. A new cmake option `ENABLE_MAN` has been added to compile man page
languages. A new CMake option `ENABLE_MAN` has been added to compile man page
(`OFF` by default).
[[v0.4.2_aspell_colors]]
+2 -3
View File
@@ -23,9 +23,8 @@ endif()
find_path(NCURSES_INCLUDE_PATH
NAMES ncurses.h curses.h
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
PATH_SUFFIXES ncursesw ncurses
PATHS /usr/include /usr/local/include /usr/pkg/include
)
find_library(NCURSESW_LIBRARY
+7 -73
View File
@@ -24,80 +24,14 @@
# code sets the following variables:
#
# PYTHON_EXECUTABLE = full path to the python binary
# PYTHON_INCLUDE_PATH = path to where python.h can be found
# PYTHON_LIBRARY = path to where libpython.so* can be found
# PYTHON_LFLAGS = python compiler options for linking
# PYTHON_INCLUDE_DIRS = path to where python.h can be found
# PYTHON_LIBRARIES = path to where libpython.so* can be found
# PYTHON_LDFLAGS = python compiler options for linking
if(PYTHON_FOUND)
# Already in cache, be silent
set(PYTHON_FIND_QUIETLY TRUE)
endif()
include(FindPkgConfig)
if(ENABLE_PYTHON3)
find_program(PYTHON_EXECUTABLE
NAMES python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
if(ENABLE_PYTHON2)
pkg_check_modules(PYTHON python2)
else()
find_program(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
endif()
if(PYTHON_EXECUTABLE)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
OUTPUT_VARIABLE PYTHON_INC_DIR
)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBPL'))"
OUTPUT_VARIABLE PYTHON_POSSIBLE_LIB_PATH
)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBS') + ' ' + get_config_var('LINKFORSHARED'))"
OUTPUT_VARIABLE PYTHON_LFLAGS
)
find_path(PYTHON_INCLUDE_PATH
NAMES Python.h
HINTS ${PYTHON_INC_DIR}
)
if(ENABLE_PYTHON3)
find_library(PYTHON_LIBRARY
NAMES python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
)
else()
find_library(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
)
endif()
if(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
OUTPUT_VARIABLE PYTHON_VERSION
)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"
OUTPUT_VARIABLE PYTHON_OLD_VERSION
)
if(${PYTHON_OLD_VERSION} STREQUAL "True")
message("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
else()
set(PYTHON_FOUND TRUE)
endif()
endif()
mark_as_advanced(
PYTHON_EXECUTABLE
PYTHON_INCLUDE_PATH
PYTHON_LIBRARY
PYTHON_LFLAGS
)
pkg_check_modules(PYTHON python3)
endif()
+8 -54
View File
@@ -37,6 +37,7 @@ AC_PROG_MAKE_SET
AC_GNU_SOURCE
AC_PROG_LN_S
AM_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG
# Files to generate
AC_CONFIG_FILES([weechat.pc])
@@ -153,7 +154,7 @@ AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (d
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
AC_ARG_ENABLE(python3, [ --enable-python3 use Python 3.x if found (NOT recommended because many "official" scripts won't work) (default=off)],enable_python3=$enableval,enable_python3=no)
AC_ARG_ENABLE(python2, [ --enable-python2 use Python 2 instead of Python 3 (default=off)],enable_python2=$enableval,enable_python2=no)
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
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)
@@ -473,66 +474,18 @@ fi
PYTHON_VERSION=
if test "x$enable_python" = "xyes" ; then
if test "x$enable_python3" = "xyes" ; then
AC_PATH_PROGS(PYTHON, python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python2 python)
if test "x$enable_python2" = "xyes" ; then
PKG_CHECK_MODULES(PYTHON, [python2], [PYTHON_FOUND=yes; PYTHON_VERSION=`$PKGCONFIG --modversion python2`], [PYTHON_FOUND=no])
else
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
PKG_CHECK_MODULES(PYTHON, [python3], [PYTHON_FOUND=yes; PYTHON_VERSION=`$PKGCONFIG --modversion python3`], [PYTHON_FOUND=no])
fi
if test -z $PYTHON ; then
if test "x$PYTHON_FOUND" != "xyes" ; then
AC_MSG_WARN([
*** Python must be installed on your system but python interpreter couldn't be found in path.
*** Please check that python is in path, or install it with your software package manager.
*** WeeChat will be built without Python support.])
enable_python="no"
not_found="$not_found python"
else
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; sys.stdout.write("%s" % sys.prefix)'`
PYTHON_VERSION=`$PYTHON -c 'import sys; sys.stdout.write(sys.version[[:3]])'`
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('INCLUDEPY'))"`
PYTHON_OLD_VERSION=`$PYTHON -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"`
if test "x$PYTHON_OLD_VERSION" = "xTrue" ; then
AC_MSG_WARN([
*** Python >= 2.5 is needed to build Python plugin, version found: $PYTHON_VERSION.
*** WeeChat will be built without Python support.])
enable_python="no"
not_found="$not_found python"
else
AC_MSG_CHECKING(for Python header files)
if test -r "$PYTHON_INCLUDE/Python.h"; then
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
AC_MSG_RESULT(found)
PYTHON_LIB=`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBPL'))"`
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED'))"`
AC_MSG_CHECKING(for Python library)
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.dll.a"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
else
AC_MSG_WARN([
*** Python library couldn't be found on your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Python support.])
enable_python="no"
not_found="$not_found python"
fi
else
AC_MSG_WARN([
*** Python header files couldn't be found on your system.
*** Try to install them with your software package manager.
*** WeeChat will be built without Python support.])
enable_python="no"
not_found="$not_found python"
fi
fi
fi
else
not_asked="$not_asked python"
@@ -540,7 +493,8 @@ fi
if test "x$enable_python" = "xyes" ; then
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_LFLAGS)
AC_SUBST(PYTHON_LIBS)
AC_SUBST(PYTHON_VERSION)
AC_DEFINE(PLUGIN_PYTHON)
fi
+4 -4
View File
@@ -9,9 +9,9 @@ Build-Depends:
libncursesw5-dev,
gem2deb,
libperl-dev,
python-dev,
python3-dev,
libaspell-dev,
liblua5.1-0-dev,
liblua5.3-dev,
tcl8.6-dev,
guile-2.0-dev,
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
@@ -162,11 +162,11 @@ Depends:
${shlibs:Depends},
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
Conflicts: weechat-python
Description: Fast, light and extensible chat client - Python plugin
Description: Fast, light and extensible chat client - Python 3 plugin
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides the Python scripting API plugin.
This package provides the Python 3 scripting API plugin.
Package: weechat-devel-perl
Architecture: any
+4 -4
View File
@@ -9,9 +9,9 @@ Build-Depends:
libncursesw5-dev,
gem2deb,
libperl-dev,
python-dev,
python3-dev,
libaspell-dev,
liblua5.1-0-dev,
liblua5.3-dev,
tcl8.6-dev,
guile-2.0-dev,
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
@@ -156,11 +156,11 @@ Depends:
${misc:Depends},
${shlibs:Depends},
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
Description: Fast, light and extensible chat client - Python plugin
Description: Fast, light and extensible chat client - Python 3 plugin
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides the Python scripting API plugin.
This package provides the Python 3 scripting API plugin.
Package: weechat-perl
Architecture: any
+3
View File
@@ -252,6 +252,8 @@ _isupport_   (string) +
_prefix_modes_   (string) +
_prefix_chars_   (string) +
_nick_max_length_   (integer) +
_user_max_length_   (integer) +
_host_max_length_   (integer) +
_casemapping_   (integer) +
_chantypes_   (string) +
_chanmodes_   (string) +
@@ -970,6 +972,7 @@ _charset_   (string) +
_priority_   (integer) +
_initialized_   (integer) +
_debug_   (integer) +
_upgrading_   (integer) +
_variables_   (hashtable) +
_prev_plugin_   (pointer, hdata: "plugin") +
_next_plugin_   (pointer, hdata: "plugin") +
+2
View File
@@ -10,6 +10,8 @@
| alias | alias_default | Liste der standardmäßigen Aliase | - | -
| buflist | buflist | Liste der Buffer in buflist Bar-Item | - | buflist Bar-Item Name (optional)
| fset | fset_option | Auflistung der fset Optionen | fset Option-Pointer (optional) | Name einer Einstellung (Platzhalter "*" kann verwendet werden) (optional)
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
+4
View File
@@ -108,6 +108,10 @@
| weechat | pid | WeeChat PID (Prozess-ID) | -
| weechat | term_color_pairs | Anzahl der Farbpaare die durch das Terminal unterstützt werden | -
| weechat | term_colors | Anzahl der Farben die durch das Terminal unterstützt werden | -
| weechat | term_height | Höhe des Terminals | -
| weechat | term_width | Breite des Terminals | -
+34 -8
View File
@@ -62,6 +62,8 @@
| unix_socket_path | string |
| abstract_unix_socket | string |
| path_as_is | long |
| proxy_service_name | string |
@@ -72,15 +74,21 @@
| tcp_fastopen | long |
| socks5_auth | long |
| haproxyprotocol | long |
| doh_url | string |
| netrc | long | ignored, optional, required
| userpwd | string |
| proxyuserpwd | string |
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| netrc_file | string |
@@ -104,6 +112,8 @@
| login_options | string |
| disallow_username_in_url | long |
| autoreferer | long |
| followlocation | long |
@@ -114,8 +124,6 @@
| postfields | string |
| httppost | list |
| referer | string |
| useragent | string |
@@ -170,6 +178,8 @@
| stream_weight | long |
| request_target | string |
| mail_from | string |
| mail_rcpt | list |
@@ -258,6 +268,10 @@
| maxfilesize_large | long long |
| timevalue_large | long long |
| upload_buffersize | long |
| timeout | long |
| low_speed_limit | long |
@@ -300,9 +314,15 @@
| connect_to | list |
| happy_eyeballs_timeout_ms | long |
| dns_shuffle_addresses | long |
| upkeep_interval_ms | long |
| sslcert | string |
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| ssl_verifypeer | long |
@@ -342,7 +362,7 @@
| gssapi_delegation | long | none, policy_flag, flag
| ssl_options | long | allow_beast, no_revoke
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| ssl_enable_alpn | long |
@@ -372,11 +392,11 @@
| proxy_sslkeytype | string |
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| proxy_ssl_cipher_list | list |
| proxy_ssl_options | long | allow_beast, no_revoke
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| proxy_ssl_verifyhost | long |
@@ -388,6 +408,10 @@
| proxy_tlsauth_username | string |
| tls13_ciphers | list |
| proxy_tls13_ciphers | list |
| ssh_auth_types | mask | none, policy_flag, flag
| ssh_public_keyfile | string |
@@ -398,6 +422,8 @@
| ssh_knownhosts | string |
| ssh_compression | long |
| new_file_perms | long |
| new_directory_perms | long |
@@ -7,8 +7,6 @@
| Alias | Befehl | Vervollständigung
| /AAWAY | /allserv /away | -
| /AME | /allchan /me | -
| /AMSG | /allchan /msg * | -
| /ANICK | /allserv /nick | -
| /BEEP | /print -beep | -
| /BYE | /quit | -
@@ -35,8 +33,9 @@
| /UMODE | /mode $nick | -
| /V | /command core version | -
| /W | /who | -
| /WC | /window merge | -
| /WC | /window close | -
| /WI | /whois | -
| /WII | /whois $1 $1 | -
| /WM | /window merge | -
| /WW | /whowas | -
|===
+1 -1
View File
@@ -32,7 +32,7 @@ Die folgenden Variablen können in den obigen Optionen genutzt werden:
- ${format_buffer}: der evaluierte Wert der Option buflist.format.buffer; dies kann in der Option buflist.format.buffer_current genutzt werden um zum Beispiel die Hintergrundfarbe zu verändern
- ${current_buffer}: ein Boolean ("0" oder "1"), "1" falls es sich um den aktuellen Buffer handelt; dies kann in einer Bedingung verwendet werden: ${if:${current_buffer}?...:...}
- ${merged}: ein Boolean ("0" oder "1"), "1" wenn der Buffer mit einem anderen zusammengefügt ist; kann innerhalb einer Bedingung genutzt werden: ${if:${merged}?...:...}
- ${format_number}: eingerückte Numer mit Trennzeichen (evaluiert aus Option buflist.format.number)
- ${format_number}: eingerückte Nummer mit Trennzeichen (evaluiert aus Option buflist.format.number)
- ${number}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt; bei zusammengefügten Buffern enthält die Variable für den ersten Buffer die entsprechende Nummer, die weiteren Buffer enthalten ein Leerzeichen anstelle der Nummer
- ${number2}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt
- ${number_displayed}: "1" falls Nummer angezeigt wird, ansonsten "0"
+2 -2
View File
@@ -27,7 +27,7 @@
** Standardwert: `+0+`
* [[option_exec.command.shell]] *exec.command.shell*
** Beschreibung: pass:none[shell welche für den Befehl "/exec -sh" genutzt werden soll; hierbei kann es sich um den Namen der shell handeln der über PATH gefunden wird (zum Beispiel "bash") oder man nutzt eine absolute Pfadangabe zur Binärdatei (zum Beispiel "/bin/bash")]
** Beschreibung: pass:none[shell welche für den Befehl "/exec -sh" genutzt werden soll; hierbei kann es sich um den Namen der shell handeln der über PATH gefunden wird (zum Beispiel "bash") oder man nutzt eine absolute Pfadangabe zur Binärdatei (zum Beispiel "/bin/bash"); wenn kein Wert angegeben ist, wird "sh" genutzt (Hinweis: Inhalt ist evaluiert, siehe /help eval)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"sh"+`
** Standardwert: `+"${env:SHELL}"+`
+5 -3
View File
@@ -51,6 +51,8 @@
d:xxx zeigt nur Optionen die verändert wurden und "xxx" im Namen haben
d=xxx zeigt nur veränderte Optionen, die "xxx" als Wert haben
d==xxx zeigt nur veränderte Optionen die exakt "xxx" als Wert haben
h=xxx zeigt alle Optionen, die den Text "xxx" in der Beschreibung enthalten (in der Übersetzung)
he=xxx zeigt alle Optionen, die den Text "xxx" in der Beschreibung enthalten (in der englischen Beschreibung)
=xxx zeigt nur Optionen mit "xxx" als Wert
==xxx zeigt nur Optionen die exakt "xxx" als Wert haben
c:xxx zeigt nur Optionen auf die die evaluierte Bedingung "xxx" zutrifft, folgende Variable können verwendet werden: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
@@ -60,14 +62,14 @@ Zeilen werden mittels evaluierten Ausdrücken dargestellt (siehe /help eval für
- fset.format.option2: zweites Format für eine Option
Die nachfolgenden Variablen können in den Optionen genutzt werden:
- Optionsdaten, mit Farbe und durch Leerzeichen auf der rechten Seite aufgefüllt:
- Optionsdaten, mit Farbe und durch Leerzeichen auf der rechten Seite aufgefüllt:
- ${file}: Konfigurationsdatei (zum Beispiel "weechat" oder "irc")
- ${section}: Sektion
- ${option}: Name der Option
- ${name}: vollständiger Name der Option (file.section.option)
- ${parent_name}: übergeordneter Name der Option
- ${type}: Optionstyp (übersetzt)
- ${type_en}: Optionstyp (auf englisch)
- ${type_en}: Optionstyp (auf englisch)
- ${type_short}: Optionstyp Kurzform (bool/int/str/col)
- ${type_tiny}: Optionstyp klein (b/i/s/c)
- ${default_value}: Standardwert einer Option
@@ -145,7 +147,7 @@ Mausaktionen im fset Buffer:
Hinweis: Leerzeichen am Anfang der Eingabezeile werden ignoriert und der folgende Text wird als Filter verwendet. Ein Beispiel: "q" schließt den fset Buffer wobei hingegen " q" alle Optionen anzeigt die ein "q" im Namen beinhalten.
Beispiele:
zeigt alle IRC Optionen an die verändert wurden:
zeigt alle IRC Optionen an, die verändert wurden:
/fset d:irc.*
zeigt alle Optionen die "nicklist" im Namen tragen:
/fset nicklist
+1 -1
View File
@@ -124,7 +124,7 @@ Beispiele:
* `+connect+`: Mit IRC-Server(n) verbinden
----
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
/connect [<server> [<server>...]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: Name des Servers, folgende Möglichkeiten bestehen:
+1 -1
View File
@@ -6,7 +6,7 @@
** Beschreibung: pass:none[durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
** Standardwert: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** Beschreibung: pass:none[Voreingestelltes Wörterbuch (oder durch Kommata getrennte Liste der Wörterbücher) welche(s) genutzt werden soll, sofern kein Wörterbuch für einen Buffer definiert wurde (wird kein Wörterbuch angegeben dann ist die Rechtschreibprüfung in allen Buffer deaktiviert, außer es wird für einen Buffer explizit ein Wörterbuch angegeben)]
+16 -7
View File
@@ -203,9 +203,9 @@ 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
m zitiere Nachricht
q zitiere Präfix + Nachricht
Q zitiere Zeit + Präfix + Nachricht
Standardtastenbefehle in Nickliste:
b banne Nick (/ban)
@@ -214,6 +214,11 @@ Standardtastenbefehle in Nickliste:
q öffne private Unterhaltung mit Nick (/query)
w hole Informationen über Anwender (/whois)
weitere Standardtasten im Cursor-Modus:
Pfeiltasten bewege Cursor
alt+Pfeiltasten bewege Cursor zum nächsten Bereich
enter beendet den Cursor-Modus
Beispiele:
gehe zur Benutzerliste:
/cursor go nicklist
@@ -974,6 +979,7 @@ Beispiele:
resize [-window <number>] [h|v][+|-]<pct>
balance
merge [-window <number>] [all]
close [-window <number>]
page_up|page_down [-window <number>]
refresh
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
@@ -998,6 +1004,7 @@ Beispiele:
wird "h" oder "v" angegeben, findet eine Größenanpassung des Stammfenster statt, sofern es vom selben Typ ist (horizontal/vertikal)
balance: passt die Größe aller Fenster an
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
close: Fenster wird geschlossen
page_up: scrollt eine Seite nach oben
page_down: scrollt eine Seite nach unten
refresh: Seite wird neu aufgebaut
@@ -1010,19 +1017,19 @@ scroll_bottom: scrollt zum Ende des Buffers
scroll_beyond_end: scrollt über das Ende des Buffers hinaus
scroll_previous_highlight: scrollt zum vorherigen Hightlight
scroll_next_highlight: scrollt zum nächsten Highlight
scroll_unread: springt zur ersten ungelesenen Zeile in einem Buffer
scroll_unread: scrollt zur ersten ungelesenen Zeile in einem Buffer
swap: tauscht die Buffer von zwei Fenstern (mit optionaler Angabe für das Zielfenster)
zoom: vergrößert ein Fenster auf 100%
bare: wechselt zum einfachen Anzeigemodus (optional kann eine Wartezeit, in Sekunden, angegeben werden, wann zum Standardmodus zurück gewechselt werden soll)
bare: wechselt zum einfachen Anzeigemodus (optional kann eine Wartezeit in Sekunden angegeben werden, wann wieder zum Standardmodus zurück gewechselt werden soll)
Bei splith und splitv gibt "pct" die neue Größe des Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde ein Wert von 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters besitzt.
Für splith und splitv gibt "pct" die Größe des neuen Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde ein Wert von 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters besitzt.
Beispiele:
springt zum Fenster mit dem Buffer #1:
/window b1
scrollt zwei Zeilen hoch:
/window scroll -2
scrollt zwei Tage hoch: /window scroll -2d
scrollt zwei Tage hoch:
/window scroll -2d
scrollt zum Beginn des aktuellen Tages:
/window scroll -d
@@ -1036,6 +1043,8 @@ Beispiele:
/window resize v+10
eine Teilung wird rückgängig gemacht:
/window merge
das aktuelle Fenster wird geschlossen:
/window close
aktiviert den einfachen Anzeigemodus für zwei Sekunden:
/window bare 2
----
+2 -2
View File
@@ -921,9 +921,9 @@
** Standardwert: `+""+`
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
** Beschreibung: pass:none[Gibt an welcher Hash-Algorithmus zur Farbauswahl für Nicks genutzt werden soll: djb2 = Variante des djb2 (Position der Buchstaben innerhalb des Nicks werden berücksichtigt: Anagramme eines Nick erhalten eine andere Farbe), sum = hier ist nur die Anzahl der Buchstaben maßgeblich]
** Beschreibung: pass:none[Gibt an welcher Hash-Algorithmus zur Farbauswahl für Nicks genutzt werden soll: djb2 = Variante des djb2 (Position der Buchstaben innerhalb des Nicks werden berücksichtigt: Anagramme eines Nick erhalten eine andere Farbe), djb2_32 = Variante von djb2 wobei 32-Bit anstelle von 64-Bit Integer genutzt wird, sum = hier ist nur die Anzahl der Buchstaben maßgeblich, sum_32 = wie sum, nur das 32-Bit anstelle von 64-Bit Integer genutzt wird]
** Typ: integer
** Werte: djb2, sum
** Werte: djb2, sum, djb2_32, sum_32
** Standardwert: `+djb2+`
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
+3 -3
View File
@@ -52,12 +52,12 @@ https://weechat.org/about/interfaces
[[compile_git]]
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[cmake] zum
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[CMake] zum
kompilieren von WeeChat zu nutzen.
Falls Du WeeChat mit Hilfe der
link:weechat_user.de.html#compile_with_autotools[autotools] kompilieren solltest
(dich also nicht für cmake entscheidest), stelle sicher, dass Du die neueste
(dich also nicht für CMake entscheidest), stelle sicher, dass Du die neueste
Version von autoconf und automake besitzt.
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren, denn dies
@@ -79,7 +79,7 @@ brew info weechat
WeeChat kann durch folgenden Befehl installiert werden:
----
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
brew install weechat
----
[[lost]]
+2 -2
View File
@@ -97,7 +97,7 @@ $ tar xvjf weechat-devel.tar.bz2
$ cd weechat-devel
----
Um die Quellen zu übersetzen, wird cmake empfohlen:
Um die Quellen zu übersetzen, wird CMake empfohlen:
----
$ mkdir build
@@ -107,7 +107,7 @@ $ make
$ make install
----
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
Falls Du CMake nicht hast, ist es auch möglich die autotools zu nutzen:
----
$ ./autogen.sh
+54 -49
View File
@@ -85,12 +85,11 @@ wie man Pakete installiert.
[[source_package]]
=== Quellpakete
WeeChat kann mittels cmake oder autotools kompiliert werden (cmake sollte dabei die bevorzugte Methode sein).
WeeChat kann mittels CMake oder autotools kompiliert werden (CMake sollte dabei die bevorzugte Methode sein).
[NOTE]
Unter macOS kann https://brew.sh/[Homebrew] verwendet werden:
`brew install weechat --with-python --with-perl`
(für Hilfe: `brew info weechat`).
`brew install weechat` (für Hilfe: `brew info weechat`).
[[dependencies]]
==== Abhängigkeiten
@@ -104,7 +103,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
| C compiler
(gcc, clang, ...) | | *ja* | zum Erstellen der Binärdatei.
| C++ compiler | | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
| cmake | ≥ 3.0 | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen).
| cmake | ≥ 3.0 | *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.
@@ -115,7 +114,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
| ca-certificates | | | Zertifikate für SSL Verbindungen.
| libaspell-dev
∥ libenchant-dev | | | Spell Erweiterung.
| python-dev | ≥ 2.6 ^(4)^ | | Python Erweiterung.
| python3-dev | ^(4)^ | | Python Erweiterung.
| libperl-dev | | | Perl Erweiterung.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby Erweiterung.
| liblua5.3-dev | | | Lua Erweiterung.
@@ -139,8 +138,8 @@ aber dies wird *NICHT* empfohlen:
Es können Darstellungsfehler mit breiten Zeichen auftreten. +
^(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.7 oder ≥ 3.0).
^(4)^ standardmäßig wird Python 3.x verwendet. Wird die Option `ENABLE_PYTHON2` aktiviert
(siehe unten), sollte die Version 2.7 von Python genutzt werden.
Falls eine Debian/Ubuntu basierte Distribution genutzt wird und man einen
"deb-src" Quelleintrag in _/etc/apt/sources.list_ eingetragen hat, dann ist
@@ -152,7 +151,7 @@ installieren:
----
[[compile_with_cmake]]
==== Kompilieren mit cmake
==== Kompilieren mit CMake
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
@@ -174,7 +173,7 @@ $ make
$ make install
----
Optionen für cmake können mit dem Format, "-DOPTION=VALUE", genutzt werden.
Optionen für CMake können mit dem Format, "-DOPTION=VALUE", genutzt werden.
Liste von häufig verwendeten Optionen:
@@ -213,7 +212,7 @@ Liste von häufig verwendeten Optionen:
erstellt die HTML Dokumentation.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
kompiliert <<spell_plugin,Spell plugin>> mittels Enchant.
kompiliert <<spell_plugin,Spell Erweiterung>> mittels Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
kompiliert <<exec_plugin,Exec Erweiterung>>.
@@ -260,12 +259,8 @@ Liste von häufig verwendeten Optionen:
| ENABLE_PYTHON | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Python Erweiterung>>.
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
kompiliert <<scripts_plugins,Python plugin>> mit Python 3. +
Diese Option wird zur Zeit nicht empfohlen, da die meisten Skripten noch
nicht kompatible mit Python 3 sind. +
Den Fortschritt der Python 3 Unterstützung kann man auf dieser Seite verfolgen:
https://weechat.org/scripts/python3/
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
kompiliert <<scripts_plugins,Python Erweiterung>> nutzt Python 2 anstelle von Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
kompiliert <<relay_plugin,Relay Erweiterung>>.
@@ -316,10 +311,10 @@ $ ccmake ..
==== Kompilieren mit autotools
[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. +
Ausschließlich das Kompilieren mittels CMake wird offiziell unterstützt. Autotools
sollte nur verwendet werden falls man keine Möglichkeit hat CMake zu nutzen. +
Für die Erstellung mittels autotools werden zusätzliche Pakete benötigt und es ist
zeitintensiver als cmake.
zeitintensiver als CMake.
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
@@ -358,13 +353,13 @@ Folgende Pakete werden *benötigt* um Tests zu kompilieren:
* libcpputest-dev
* C++ compiler
Tests muss aktiviert werden wenn WeeChat kompiliert wird (mittels cmake):
Tests muss aktiviert werden wenn WeeChat kompiliert wird (mittels CMake):
----
$ cmake .. -DENABLE_TESTS=ON
----
Nach der Kompilierung wird die Testumgebung im build-Verzeichnis (bei cmake) ausgeführt:
Nach der Kompilierung wird die Testumgebung im build-Verzeichnis (bei CMake) ausgeführt:
----
$ ctest -V
@@ -396,7 +391,7 @@ Falls WeeChat abgestürzt sein sollte und Sie diesen Fehler melden möchten:
[[debug_info]]
==== Debug info
Bei der Kompilierung mit cmake muss folgende Option gesetzt werden:
Bei der Kompilierung mit CMake muss folgende Option gesetzt werden:
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
@@ -817,7 +812,7 @@ mittels der Option <<option_irc.color.mirc_remap,irc.color.mirc_remap>>.
[[colors]]
=== Farben
WeeChat kann bis zu 256 Farbpaarungen nutzen um einen Text in Bars oder im
WeeChat kann bis zu 32767 Farbpaarungen nutzen um einen Text in Bars oder im
Chatbereich darzustellen (der Terminal muss natürlich 256 Farben unterstützten).
Gemäß der Einstellung in der _TERM_-Umgebungsvariable bestehen folgende Einschränkungen
@@ -826,12 +821,12 @@ was die Farbdarstellung in WeeChat betrifft:
[width="50%",cols="8,>2,>2",options="header"]
|===
| $TERM | Farben | Paare
| "rxvt-unicode", "xterm", ... | 88 | 256
| "rxvt-256color", "xterm-256color", ... | 256 | 256
| "rxvt-unicode", "xterm", ... | 88 | 32767
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
| "screen" | 8 | 64
| "screen-256color" | 256 | 256
| "screen-256color" | 256 | 32767
| "tmux" | 8 | 64
| "tmux-256color" | 256 | 256
| "tmux-256color" | 256 | 32767
|===
Mittels `weechat --colors` oder dem internen WeeChat-Befehl `/color` kann man sich
@@ -2659,9 +2654,13 @@ und Port müssen dabei an die eigene TOR Konfiguration angepasst werden):
Jetzt muss der neue Server hinzufügt werden, zum Beispiel:
----
/server add freenode-tor freenodeok2gncmy.onion
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
----
[NOTE]
Sollte eine alte Version (vor 0.3.5) von TOR verwendet werden, muss diese
Adresse, `freenodeok2gncmy.onion`, genutzt werden.
Einen Proxy für TOR anlegen:
----
@@ -3057,16 +3056,21 @@ Datumsspezifikationen in der Maske genutzt werden (siehe
Erstellt eine Struktur in folgender Form:
....
~/.weechat/
|--- logs/
|--- 2010/
|--- 11/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
|--- 2010/
|--- 12/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
~/.weechat
└── logs
├── 2010
│ ├── 11
├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
│ └── 12
│ ├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
├── 2011
│ ├── 01
│ │ ├── irc.server.freenode.weechatlog
│ │ └── irc.freenode.#weechat.weechatlog
│ ├── 02
...
....
[[logger_irc_files_by_server_channel]]
@@ -3082,17 +3086,18 @@ einer Protokolldatei für jeden Channel:
Erstellt eine Struktur in folgender Form:
....
~/.weechat/
|--- logs/
|--- irc/
|--- freenode/
| freenode.weechatlog
| #weechat.weechatlog
| #mychan.weechatlog
|--- oftc/
| oftc.weechatlog
| #chan1.weechatlog
| #chan2.weechatlog
~/.weechat
└── logs
└── irc
├── freenode
│ ├── freenode.weechatlog
│ ├── #weechat.weechatlog
│ └── #mychan.weechatlog
├── oftc
│ ├── oftc.weechatlog
│ ├── #chan1.weechatlog
│ └── #chan2.weechatlog
...
....
[[logger_commands]]
+3
View File
@@ -252,6 +252,8 @@ _isupport_   (string) +
_prefix_modes_   (string) +
_prefix_chars_   (string) +
_nick_max_length_   (integer) +
_user_max_length_   (integer) +
_host_max_length_   (integer) +
_casemapping_   (integer) +
_chantypes_   (string) +
_chanmodes_   (string) +
@@ -970,6 +972,7 @@ _charset_   (string) +
_priority_   (integer) +
_initialized_   (integer) +
_debug_   (integer) +
_upgrading_   (integer) +
_variables_   (hashtable) +
_prev_plugin_   (pointer, hdata: "plugin") +
_next_plugin_   (pointer, hdata: "plugin") +
+2
View File
@@ -10,6 +10,8 @@
| alias | alias_default | list of default aliases | - | -
| buflist | buflist | list of buffers in a buflist bar item | - | buflist bar item name (optional)
| fset | fset_option | list of fset options | fset option pointer (optional) | option name (wildcard "*" is allowed) (optional)
| guile | guile_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
+4
View File
@@ -108,6 +108,10 @@
| weechat | pid | WeeChat PID (process ID) | -
| weechat | term_color_pairs | number of color pairs supported in terminal | -
| weechat | term_colors | number of colors supported in terminal | -
| weechat | term_height | height of terminal | -
| weechat | term_width | width of terminal | -
+34 -8
View File
@@ -62,6 +62,8 @@
| unix_socket_path | string |
| abstract_unix_socket | string |
| path_as_is | long |
| proxy_service_name | string |
@@ -72,15 +74,21 @@
| tcp_fastopen | long |
| socks5_auth | long |
| haproxyprotocol | long |
| doh_url | string |
| netrc | long | ignored, optional, required
| userpwd | string |
| proxyuserpwd | string |
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| netrc_file | string |
@@ -104,6 +112,8 @@
| login_options | string |
| disallow_username_in_url | long |
| autoreferer | long |
| followlocation | long |
@@ -114,8 +124,6 @@
| postfields | string |
| httppost | list |
| referer | string |
| useragent | string |
@@ -170,6 +178,8 @@
| stream_weight | long |
| request_target | string |
| mail_from | string |
| mail_rcpt | list |
@@ -258,6 +268,10 @@
| maxfilesize_large | long long |
| timevalue_large | long long |
| upload_buffersize | long |
| timeout | long |
| low_speed_limit | long |
@@ -300,9 +314,15 @@
| connect_to | list |
| happy_eyeballs_timeout_ms | long |
| dns_shuffle_addresses | long |
| upkeep_interval_ms | long |
| sslcert | string |
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| ssl_verifypeer | long |
@@ -342,7 +362,7 @@
| gssapi_delegation | long | none, policy_flag, flag
| ssl_options | long | allow_beast, no_revoke
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| ssl_enable_alpn | long |
@@ -372,11 +392,11 @@
| proxy_sslkeytype | string |
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| proxy_ssl_cipher_list | list |
| proxy_ssl_options | long | allow_beast, no_revoke
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| proxy_ssl_verifyhost | long |
@@ -388,6 +408,10 @@
| proxy_tlsauth_username | string |
| tls13_ciphers | list |
| proxy_tls13_ciphers | list |
| ssh_auth_types | mask | none, policy_flag, flag
| ssh_public_keyfile | string |
@@ -398,6 +422,8 @@
| ssh_knownhosts | string |
| ssh_compression | long |
| new_file_perms | long |
| new_directory_perms | long |
@@ -7,8 +7,6 @@
| Alias | Command | Completion
| /AAWAY | /allserv /away | -
| /AME | /allchan /me | -
| /AMSG | /allchan /msg * | -
| /ANICK | /allserv /nick | -
| /BEEP | /print -beep | -
| /BYE | /quit | -
@@ -35,8 +33,9 @@
| /UMODE | /mode $nick | -
| /V | /command core version | -
| /W | /who | -
| /WC | /window merge | -
| /WC | /window close | -
| /WI | /whois | -
| /WII | /whois $1 $1 | -
| /WM | /window merge | -
| /WW | /whowas | -
|===
+2 -2
View File
@@ -27,7 +27,7 @@
** default value: `+0+`
* [[option_exec.command.shell]] *exec.command.shell*
** description: pass:none[shell to use with command "/exec -sh"; it can be just the name of shell if it is in PATH (for example "bash") or the absolute path to the shell (for example "/bin/bash")]
** description: pass:none[shell to use with command "/exec -sh"; it can be just the name of shell if it is in PATH (for example "bash") or the absolute path to the shell (for example "/bin/bash"); if value is empty, "sh" is used (note: content is evaluated, see /help eval)]
** type: string
** values: any string
** default value: `+"sh"+`
** default value: `+"${env:SHELL}"+`
+2
View File
@@ -51,6 +51,8 @@
d:xxx show only changed options with "xxx" in name
d=xxx show only changed options with "xxx" in value
d==xxx show only changed options with exact value "xxx"
h=xxx show only options with "xxx" in description (translated)
he=xxx show only options with "xxx" in description (in English)
=xxx show only options with "xxx" in value
==xxx show only options with exact value "xxx"
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
+1 -1
View File
@@ -124,7 +124,7 @@ Examples:
* `+connect+`: connect to IRC server(s)
----
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
/connect [<server> [<server>...]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: server name, which can be:
+1 -1
View File
@@ -6,7 +6,7 @@
** description: pass:none[comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)]
** type: string
** values: any string
** default value: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
** default value: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** description: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
+10 -1
View File
@@ -214,6 +214,11 @@ Default keys in cursor mode on nicklist:
q open query with nick (/query)
w query information about user (/whois)
Other default keys in cursor mode:
arrow move cursor
alt+arrow move cursor to the next area
enter exit cursor mode
Examples:
go to nicklist:
/cursor go nicklist
@@ -974,6 +979,7 @@ Examples:
resize [-window <number>] [h|v][+|-]<pct>
balance
merge [-window <number>] [all]
close [-window <number>]
page_up|page_down [-window <number>]
refresh
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
@@ -998,6 +1004,7 @@ Examples:
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
balance: balance the sizes of all windows
merge: merge window with another (all = keep only one window)
close: close window
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
@@ -1034,8 +1041,10 @@ Examples:
/window resize 75
resize vertical split, add 10% in size:
/window resize v+10
remove the split:
remove the split, keep the current window:
/window merge
close the current window:
/window close
enable bare display for 2 seconds:
/window bare 2
----
+2 -2
View File
@@ -921,9 +921,9 @@
** default value: `+""+`
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
** description: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), sum = sum of letters]
** description: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), djb2_32 = variant of djb2 using 32-bit instead of 64-bit integer, sum = sum of letters, sum_32 = sum of letters using 32-bit instead of 64-bit integer]
** type: integer
** values: djb2, sum
** values: djb2, sum, djb2_32, sum_32
** default value: `+djb2+`
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
+46 -27
View File
@@ -236,6 +236,7 @@ WeeChat "core" is located in following directories:
|       buflist-bar-item.c | Buflist bar items.
|       buflist-command.c | Buflist commands.
|       buflist-config.c | Buflist config options (file buflist.conf).
|       buflist-info.c | Buflist info/infolists/hdata.
|       buflist-mouse.c | Buflist mouse actions.
|    charset/ | Charset plugin.
|       charset.c | Charset functions.
@@ -400,9 +401,15 @@ WeeChat "core" is located in following directories:
|          test-core-util.cpp | Tests: utility functions.
|       gui/ | Root of unit tests for interfaces.
|          test-gui-line.cpp | Tests: lines.
|          test-gui-nick.cpp | Tests: nicks.
|       plugins/ | Root of unit tests for plugins.
|          irc/ | Root of unit tests for IRC plugin.
|             test-irc-color.cpp | Tests: IRC colors.
|             test-irc-config.cpp | Tests: IRC configuration.
|             test-irc-ignore.cpp | Tests: IRC ignores.
|             test-irc-message.cpp | Tests: IRC messages.
|             test-irc-mode.cpp | Tests: IRC modes.
|             test-irc-nick.cpp | Tests: IRC nicks.
|             test-irc-protocol.cpp | Tests: IRC protocol.
|===
@@ -873,34 +880,46 @@ All combinations are summarized in this table:
[width="100%",cols="4,2,2,8",options="header"]
|===
| Code | Example | Areas | Description
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | Set attributes and color using option, see table below.
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Set color with a ncurses pair (used only on `/color` buffer).
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | Set foreground (WeeChat color).
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | Set foreground (extended color).
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | Set background (WeeChat color).
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
| [hex]#19# + "*" + (A)STD + "," + STD | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
| [hex]#19# + "*" + (A)STD + "," + EXT | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
| [hex]#19# + "*" + (A)EXT + "," + STD | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
| [hex]#19# + "*" + (A)EXT + "," + EXT | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | Set bar foreground color.
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | Set bar delimiter color.
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | Set bar background color.
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | Start item.
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | bars | Start line item.
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | Emphasize text _(WeeChat ≥ 0.4.2)_.
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | Reset color (keep attributes).
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | Set attribute.
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | Remove attribute.
| [hex]#1C# | [hex]#1C# | chat + bars | Reset attributes and color.
| Code | Example | Areas | Description
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | Set attributes and color using option, see table below.
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Set color with a ncurses pair (used only on `/color` buffer).
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | Set foreground (WeeChat color).
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | Set foreground (extended color).
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | Set background (WeeChat color).
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + bars | Set foreground/background (WeeChat colors).
| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + bars | Set foreground/background (extended colors).
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | Set bar foreground color.
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | Set bar delimiter color.
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | Set bar background color.
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | Start item.
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | bars | Start line item.
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | Emphasize text _(WeeChat ≥ 0.4.2)_.
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | Reset color (keep attributes).
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | Set attribute.
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | Remove attribute.
| [hex]#1C# | [hex]#1C# | chat + bars | Reset attributes and color.
|===
[NOTE]
^(1)^ The use of comma as separator was used until WeeChat 2.5. +
With WeeChat ≥ 2.6, a tilde is used to separate foreground from background
color. If you are developing a WeeChat relay client and want to be compatible
with all WeeChat versions, you should support both separators (for example if a
user with WeeChat ≤ 2.5 runs `/upgrade` to a version ≥ 2.6, both separators
could be used at same time in buffers).
Color codes using options (see _t_gui_color_enum_, in file
_src/gui/gui-color.h_):
@@ -1086,7 +1105,7 @@ Examples of commit messages:
irc: add command /unquiet (closes #36)
core: add callback "nickcmp" for nick comparison in buffers
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
ruby: add detection of ruby version 1.9.3 in cmake
ruby: add detection of ruby version 1.9.3 in CMake
python: fix crash when unloading a script without pointer to interpreter
core: update Japanese translations (patch #7783)
----
+3 -3
View File
@@ -47,10 +47,10 @@ https://weechat.org/about/interfaces
=== I can't compile WeeChat after cloning git repository, why?
The recommended way to compile WeeChat is with
link:weechat_user.en.html#compile_with_cmake[cmake].
link:weechat_user.en.html#compile_with_cmake[CMake].
If you're compiling with link:weechat_user.en.html#compile_with_autotools[autotools]
(and not cmake), check that you have latest version of autoconf and automake.
(and not CMake), check that you have latest version of autoconf and automake.
The other way is to install the "devel package", which needs less dependencies.
This package is built almost every day using git repository. Note that this
@@ -69,7 +69,7 @@ brew info weechat
You can install WeeChat with this command:
----
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
brew install weechat
----
[[lost]]
+115 -12
View File
@@ -94,14 +94,39 @@ Arguments:
* _plugin_: pointer to WeeChat plugin structure, used to initialize the
convenience global pointer `weechat_plugin`
* _argc_: number of arguments for plugin (given on command line by user)
* _argv_: arguments for plugin
* _argc_: number of arguments for plugin
* _argv_: arguments for plugin (see below)
Return value:
* _WEECHAT_RC_OK_ if successful (plugin will be loaded)
* _WEECHAT_RC_ERROR_ if error (plugin will NOT be loaded)
[[plugin_arguments]]
===== Plugin arguments
When the plugin is loaded by WeeChat, it receives the list of arguments
in parameter `argv` and the number of arguments in `argc`.
The arguments can be:
* command line arguments when running the WeeChat binary,
* arguments given to the command `/plugin load xxx`, when the plugin is manually
loaded by the user.
When the arguments come from the command line, only these arguments are sent to
the plugin:
*-a*, *--no-connect*::
Disable auto-connect to servers when WeeChat is starting.
*-s*, *--no-script*::
Disable scripts auto-load.
*plugin:option*::
Option for a plugin: only the plugin-related options are sent, for example
only the options starting with `irc:` are sent to the plugin called "irc".
[[plugin_priority]]
===== Plugin priority
@@ -248,6 +273,29 @@ For each function, we give:
* C example,
* example in Python script (syntax for other scripting languages is similar).
[[registering]]
=== Registering
Functions to register a script: used only by scripting API, not the C API.
==== register
Register the script.
For more information, see the
link:weechat_scripting.en.html#register_function[WeeChat scripting guide].
Script (Python):
[source,python]
----
# prototype
weechat.register(name, author, version, license, description, shutdown_function, charset)
----
[NOTE]
This function is not available in the C API.
[[plugins]]
=== Plugins
@@ -1483,7 +1531,7 @@ This function is not available in scripting API.
==== string_split
_Updated in 2.5._
_Updated in 2.5, 2.6._
Split a string according to one or more delimiter(s).
@@ -1492,13 +1540,16 @@ Prototype:
[source,C]
----
char **weechat_string_split (const char *string, const char *separators,
int flags, int num_items_max, int *num_items);
const char *strip_items, int flags,
int num_items_max, int *num_items);
----
Arguments:
* _string_: string to split
* _separators_: delimiters used for split
* _strip_items_: chars to strip from returned items (left/right);
optional, can be NULL
* _flags_: combination values to change the default behavior; if the value is 0,
the default behavior is used (no strip of separators at beginning/end of string,
multiple separators are kept as-is so empty strings can be returned);
@@ -1536,7 +1587,7 @@ C example:
char **argv;
int argc;
argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
argv = weechat_string_split ("abc de fghi ", " ", NULL, 0, 0, &argc);
/* result: argv[0] == "abc"
argv[1] == "de"
argv[2] == ""
@@ -1547,7 +1598,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
@@ -1560,7 +1611,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
@@ -1574,7 +1625,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
| WEECHAT_STRING_SPLIT_KEEP_EOL,
@@ -1586,6 +1637,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
argc == 3
*/
weechat_string_free_split (argv);
argv = weechat_string_split (" abc, de,, fghi ", ",", " ",
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
0, &argc);
/* result: argv[0] == "abc"
argv[1] == "de"
argv[2] == "fghi"
argv[3] == NULL
argc == 3
*/
weechat_string_free_split (argv);
----
[NOTE]
@@ -4007,6 +4071,37 @@ value = weechat.list_string(item)
weechat.prnt("", "value of item: %s" % weechat.list_string(item))
----
==== list_user_data
_WeeChat ≥ 2.6._
Return pointer to the user data of an item.
Prototype:
[source,C]
----
void *weechat_list_user_data (struct t_weelist_item *item);
----
Arguments:
* _item_: item pointer
Return value:
* pointer to the user data of item
C example:
[source,C]
----
weechat_printf (NULL, "user data of item: 0x%lx", weechat_list_user_data (item));
----
[NOTE]
This function is not available in scripting API.
==== list_size
Return size of list (number of items).
@@ -8928,7 +9023,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
NULL);
if (options_url1)
{
weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
weechat_hashtable_set (options_url1, "file_out", "/tmp/weechat.org.html");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
options_url1,
20000,
@@ -8944,7 +9039,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
NULL);
if (options_url2)
{
weechat_hashtable_set (options, "httpheader",
weechat_hashtable_set (options_url2, "httpheader",
"Header1: value1\n"
"Header2: value2");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
@@ -13032,8 +13127,8 @@ Prototype:
[source,C]
----
int weechat_window_get_string (struct t_gui_window *window,
const char *property);
const char *weechat_window_get_string (struct t_gui_window *window,
const char *property);
----
Arguments:
@@ -13045,6 +13140,14 @@ Return value:
* string value of property
Script (Python):
[source,python]
----
# prototype
value = weechat.window_get_string(window, property)
----
==== window_get_pointer
Return pointer value of a window property.
+2 -2
View File
@@ -83,7 +83,7 @@ $ tar xvjf weechat-devel.tar.bz2
$ cd weechat-devel
----
To build sources, cmake is recommended:
To build sources, CMake is recommended:
----
$ mkdir build
@@ -93,7 +93,7 @@ $ make
$ make install
----
If you don't have cmake, it's still possible to use autotools:
If you don't have CMake, it's still possible to use autotools:
----
$ ./autogen.sh
+53 -48
View File
@@ -79,12 +79,11 @@ instructions.
[[source_package]]
=== Source package
WeeChat can be compiled with cmake or autotools (cmake is recommended way).
WeeChat can be compiled with CMake or autotools (CMake is recommended way).
[NOTE]
On macOS, you can use https://brew.sh/[Homebrew]:
`brew install weechat --with-python --with-perl`
(for help: `brew info weechat`).
`brew install weechat` (for help: `brew info weechat`).
[[dependencies]]
==== Dependencies
@@ -98,7 +97,7 @@ compile WeeChat.
| C compiler
(gcc, clang, ...) | | *yes* | Build.
| C++ compiler | | | Build and run tests, JavaScript plugin.
| cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but cmake is recommended).
| cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but CMake is recommended).
| pkg-config | | *yes* | Detect installed libraries.
| libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface.
| libcurl4-gnutls-dev | | *yes* | URL transfer.
@@ -109,7 +108,7 @@ compile WeeChat.
| ca-certificates | | | Certificates for SSL connections.
| libaspell-dev
∥ libenchant-dev | | | Spell plugin.
| python-dev | ≥ 2.6 ^(4)^ | | Python plugin.
| python3-dev | ^(4)^ | | Python plugin.
| libperl-dev | | | Perl plugin.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby plugin.
| liblua5.3-dev | | | Lua plugin.
@@ -132,8 +131,8 @@ important). WeeChat can compile with libncurses5-dev, but it is *NOT* recommende
you may experience display bugs with wide chars. +
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
ECDSA-NIST256P-CHALLENGE. +
^(4)^ Recommended Python version is 2.7 (all scripts run fine with version 2.7,
but not with versions < 2.7 or ≥ 3.0).
^(4)^ By default Python 3.x is used. If you enable option `ENABLE_PYTHON2` (see
below), only the version 2.7 of Python is recommended.
If you are using a Debian/Ubuntu based distribution, and if you have some
"deb-src" source entries in your file _/etc/apt/sources.list_, you can install
@@ -144,7 +143,7 @@ all dependencies with the command:
----
[[compile_with_cmake]]
==== Compile with cmake
==== Compile with CMake
* Installation in system directories (requires _root_ privileges):
@@ -166,7 +165,7 @@ $ make
$ make install
----
Options can be used for cmake, with format: "-DOPTION=VALUE".
Options can be used for CMake, with format: "-DOPTION=VALUE".
List of commonly used options:
@@ -252,12 +251,8 @@ List of commonly used options:
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Python plugin>>.
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,Python plugin>> using Python 3. +
This option is not recommended because many scripts are not yet compatible
with Python 3. +
You can follow the progress of Python 3 transition on this page:
https://weechat.org/scripts/python3/
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Compile <<relay_plugin,Relay plugin>>.
@@ -308,9 +303,9 @@ $ ccmake ..
==== Compile with autotools
[WARNING]
Only cmake is officially supported to build WeeChat. You should use autotools
only if you are not able to use cmake. +
Build with autotools requires more dependencies and is slower than with cmake.
Only CMake is officially supported to build WeeChat. You should use autotools
only if you are not able to use CMake. +
Build with autotools requires more dependencies and is slower than with CMake.
* Installation in system directories (requires _root_ privileges):
@@ -349,13 +344,13 @@ Following packages are *required* to compile tests:
* libcpputest-dev
* C++ compiler
Tests must be enabled when compiling WeeChat (with cmake):
Tests must be enabled when compiling WeeChat (with CMake):
----
$ cmake .. -DENABLE_TESTS=ON
----
They can be launched after compilation from the build directory (with cmake):
They can be launched after compilation from the build directory (with CMake):
----
$ ctest -V
@@ -389,7 +384,7 @@ you have to:
[[debug_info]]
==== Debug info
If you're compiling with cmake:
If you're compiling with CMake:
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
@@ -809,7 +804,7 @@ In irc plugin, you can remap these colors using option
[[colors]]
=== Colors
WeeChat can use up to 256 color pairs to display text in bars and chat area
WeeChat can use up to 32767 color pairs to display text in bars and chat area
(your terminal must support 256 colors to use them in WeeChat).
According to value of _TERM_ environment variable, you may have following limits
@@ -818,12 +813,12 @@ for colors in WeeChat:
[width="50%",cols="8,>2,>2",options="header"]
|===
| $TERM | Colors | Pairs
| "rxvt-unicode", "xterm", ... | 88 | 256
| "rxvt-256color", "xterm-256color", ... | 256 | 256
| "rxvt-unicode", "xterm", ... | 88 | 32767
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
| "screen" | 8 | 64
| "screen-256color" | 256 | 256
| "screen-256color" | 256 | 32767
| "tmux" | 8 | 64
| "tmux-256color" | 256 | 256
| "tmux-256color" | 256 | 32767
|===
You can run `weechat --colors` or use command `/color` in WeeChat to
@@ -2602,9 +2597,13 @@ port depend on your TOR configuration):
Now, add a new server, for example:
----
/server add freenode-tor freenodeok2gncmy.onion
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
----
[NOTE]
If you are using an old version of TOR (before 0.3.5) you should use the address
`freenodeok2gncmy.onion` instead.
Set proxy for TOR:
----
@@ -2991,16 +2990,21 @@ To have log files by date, you can use date/time specifiers in mask (see
You'll have following files:
....
~/.weechat/
|--- logs/
|--- 2010/
|--- 11/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
|--- 2010/
|--- 12/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
~/.weechat
└── logs
├── 2010
│ ├── 11
├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
│ └── 12
│ ├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
├── 2011
│ ├── 01
│ │ ├── irc.server.freenode.weechatlog
│ │ └── irc.freenode.#weechat.weechatlog
│ ├── 02
...
....
[[logger_irc_files_by_server_channel]]
@@ -3015,17 +3019,18 @@ If you want one directory by IRC server and one file by channel inside:
You'll have following files:
....
~/.weechat/
|--- logs/
|--- irc/
|--- freenode/
| freenode.weechatlog
| #weechat.weechatlog
| #mychan.weechatlog
|--- oftc/
| oftc.weechatlog
| #chan1.weechatlog
| #chan2.weechatlog
~/.weechat
└── logs
└── irc
├── freenode
│ ├── freenode.weechatlog
│ ├── #weechat.weechatlog
│ └── #mychan.weechatlog
├── oftc
│ ├── oftc.weechatlog
│ ├── #chan1.weechatlog
│ └── #chan2.weechatlog
...
....
[[logger_commands]]
+3
View File
@@ -252,6 +252,8 @@ _isupport_   (string) +
_prefix_modes_   (string) +
_prefix_chars_   (string) +
_nick_max_length_   (integer) +
_user_max_length_   (integer) +
_host_max_length_   (integer) +
_casemapping_   (integer) +
_chantypes_   (string) +
_chanmodes_   (string) +
@@ -970,6 +972,7 @@ _charset_   (string) +
_priority_   (integer) +
_initialized_   (integer) +
_debug_   (integer) +
_upgrading_   (integer) +
_variables_   (hashtable) +
_prev_plugin_   (pointer, hdata: "plugin") +
_next_plugin_   (pointer, hdata: "plugin") +
+2
View File
@@ -10,6 +10,8 @@
| alias | alias_default | liste des alias par défaut | - | -
| buflist | buflist | liste des tampons dans un objet de barre buflist | - | nom d'objet de barre buflist (optionnel)
| fset | fset_option | liste des options fset | pointeur vers l'option fset (optionnel) | nom d'option (le caractère joker "*" est autorisé) (optionnel)
| guile | guile_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
+4
View File
@@ -108,6 +108,10 @@
| weechat | pid | PID (ID de processus) de WeeChat | -
| weechat | term_color_pairs | nombre de paires de couleurs supportées dans le terminal | -
| weechat | term_colors | nombre de couleurs supportées dans le terminal | -
| weechat | term_height | hauteur du terminal | -
| weechat | term_width | largeur du terminal | -
+34 -8
View File
@@ -62,6 +62,8 @@
| unix_socket_path | string |
| abstract_unix_socket | string |
| path_as_is | long |
| proxy_service_name | string |
@@ -72,15 +74,21 @@
| tcp_fastopen | long |
| socks5_auth | long |
| haproxyprotocol | long |
| doh_url | string |
| netrc | long | ignored, optional, required
| userpwd | string |
| proxyuserpwd | string |
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| netrc_file | string |
@@ -104,6 +112,8 @@
| login_options | string |
| disallow_username_in_url | long |
| autoreferer | long |
| followlocation | long |
@@ -114,8 +124,6 @@
| postfields | string |
| httppost | list |
| referer | string |
| useragent | string |
@@ -170,6 +178,8 @@
| stream_weight | long |
| request_target | string |
| mail_from | string |
| mail_rcpt | list |
@@ -258,6 +268,10 @@
| maxfilesize_large | long long |
| timevalue_large | long long |
| upload_buffersize | long |
| timeout | long |
| low_speed_limit | long |
@@ -300,9 +314,15 @@
| connect_to | list |
| happy_eyeballs_timeout_ms | long |
| dns_shuffle_addresses | long |
| upkeep_interval_ms | long |
| sslcert | string |
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| ssl_verifypeer | long |
@@ -342,7 +362,7 @@
| gssapi_delegation | long | none, policy_flag, flag
| ssl_options | long | allow_beast, no_revoke
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| ssl_enable_alpn | long |
@@ -372,11 +392,11 @@
| proxy_sslkeytype | string |
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| proxy_ssl_cipher_list | list |
| proxy_ssl_options | long | allow_beast, no_revoke
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| proxy_ssl_verifyhost | long |
@@ -388,6 +408,10 @@
| proxy_tlsauth_username | string |
| tls13_ciphers | list |
| proxy_tls13_ciphers | list |
| ssh_auth_types | mask | none, policy_flag, flag
| ssh_public_keyfile | string |
@@ -398,6 +422,8 @@
| ssh_knownhosts | string |
| ssh_compression | long |
| new_file_perms | long |
| new_directory_perms | long |
@@ -7,8 +7,6 @@
| Alias | Commande | Complétion
| /AAWAY | /allserv /away | -
| /AME | /allchan /me | -
| /AMSG | /allchan /msg * | -
| /ANICK | /allserv /nick | -
| /BEEP | /print -beep | -
| /BYE | /quit | -
@@ -35,8 +33,9 @@
| /UMODE | /mode $nick | -
| /V | /command core version | -
| /W | /who | -
| /WC | /window merge | -
| /WC | /window close | -
| /WI | /whois | -
| /WII | /whois $1 $1 | -
| /WM | /window merge | -
| /WW | /whowas | -
|===
+2 -2
View File
@@ -27,7 +27,7 @@
** valeur par défaut: `+0+`
* [[option_exec.command.shell]] *exec.command.shell*
** description: pass:none[shell à utiliser avec la commande "/exec -sh" ; cela peut être seulement le nom du shell s'il est dans le PATH (par exemple "bash") ou le chemin absolu vers le shell (par exemple "/bin/bash")]
** description: pass:none[shell à utiliser avec la commande "/exec -sh" ; cela peut être seulement le nom du shell s'il est dans le PATH (par exemple "bash") ou le chemin absolu vers le shell (par exemple "/bin/bash"); si la valeur est vide, "sh" est utilisé (note : le contenu est évalué, voir /help eval)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"sh"+`
** valeur par défaut: `+"${env:SHELL}"+`
+2
View File
@@ -51,6 +51,8 @@
d:xxx afficher seulement les options changées avec "xxx" dans le nom
d=xxx afficher seulement les options changées avec "xxx" dans la valeur
d==xxx afficher seulement les options changées avec la valeur exacte "xxx"
h=xxx afficher seulement les options avec "xxx" dans la description (traduite)
he=xxx afficher seulement les options avec "xxx" dans la description (en Anglais)
=xxx afficher seulement les options avec "xxx" dans la valeur
==xxx afficher seulement les options avec la valeur exacte "xxx"
c:xxx afficher seulement les options qui correspondent à la condition évaluée "xxx", en utilisant les variables suivantes : file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
+3 -3
View File
@@ -124,7 +124,7 @@ Exemples :
* `+connect+`: se connecter à un/plusieurs serveur(s) IRC
----
/connect [<serveur> [<serveur>...] [-<option>[=<valeur>]] [-no<option>] [-nojoin] [-switch]
/connect [<serveur> [<serveur>...]] [-<option>[=<valeur>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
serveur : nom du serveur, qui peut être :
@@ -274,8 +274,8 @@ pseudo : pseudo ou masque (le caractère joker "*" est autorisé)
del : supprimer un ignore
numéro : numéro du ignore à supprimer (voir la liste des ignore pour le trouver)
-all : supprimer tous les ignores
serveur : nom de serveur interne où le ignore fonctionnera
canal : canal où le ignore fonctionnera
serveur : nom de serveur interne où l'ignore fonctionnera
canal : canal où l'ignore fonctionnera
Note : l'expression régulière peut commencer par "(?-i)" pour devenir sensible à la casse.
+1 -1
View File
@@ -6,7 +6,7 @@
** description: pass:none[liste de commandes (séparées par des virgules) pour lesquelles la vérification orthographique est activée (la vérification est désactivée pour toutes les autres commandes)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
** valeur par défaut: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** description: pass:none[dictionnaire par défaut (ou liste de dictionnaires séparés par une virgule) à utiliser quand le tampon courant n'a pas de dictionnaire défini (laissez blanc pour désactiver le vérificateur d'orthographe sur les tampons pour lesquels vous ne l'avez pas explicitement activé)]
+10 -1
View File
@@ -214,6 +214,11 @@ Touches par défaut dans le mode curseur sur la liste de pseudos :
q ouvrir une discussion privée avec le pseudo (/query)
w demander les informations sur l'utilisateur (/whois)
Autres touches par défaut dans le mode curseur :
flèche déplacer le curseur
alt+flèche déplacer le curseur vers la zone suivante
entrée sortir du mode curseur
Exemples :
aller dans la liste des pseudos :
/cursor go nicklist
@@ -974,6 +979,7 @@ Exemples :
resize [-window <numéro>] [h|v][+|-]<pct>
balance
merge [-window <numéro>] [all]
close [-window <numéro>]
page_up|page_down [-window <numéro>]
refresh
scroll [-window <numéro>] [+|-]<valeur>[s|m|h|d|M|y]
@@ -998,6 +1004,7 @@ Exemples :
si "h" ou "v" est spécifié, le redimensionnement affecte la fenêtre parente la plus proche avec un découpage de ce type (horizontal/vertical)
balance : équilibrer la taille de toutes les fenêtres
merge : fusionner la fenêtre avec une autre
close : fermer la fenêtre
page_up : faire défiler d'une page vers le haut
page_down : faire défiler d'une page vers le bas
refresh : redessiner l'écran
@@ -1034,8 +1041,10 @@ Exemples :
/window resize 75
redimensionner le découpage vertical, ajouter 10% dans la taille :
/window resize v+10
supprimer l'éclatement :
supprimer l'éclatement, garder la fenêtre courante :
/window merge
fermer la fenêtre courante :
/window close
activer le mode d'affichage dépouillé pendant 2 secondes :
/window bare 2
----
+2 -2
View File
@@ -921,9 +921,9 @@
** valeur par défaut: `+""+`
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
** description: pass:none[algorithme de hash utilisé pour trouver la couleur du pseudo : djb2 = variante de djb2 (la position des lettres compte : les anagrammes d'un pseudo ont une couleur différente), sum = somme des lettres]
** description: pass:none[algorithme de hash utilisé pour trouver la couleur du pseudo : djb2 = variante de djb2 (la position des lettres compte : les anagrammes d'un pseudo ont une couleur différente), sum = somme des lettres, djb2_32 = variante de djb2 en utilisant un entier sur 32 bits au lieu de 64 bits, sum_32 = somme des lettres en utilisant un entier sur 32 bits au lieu de 64 bits]
** type: entier
** valeurs: djb2, sum
** valeurs: djb2, sum, djb2_32, sum_32
** valeur par défaut: `+djb2+`
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
+48 -27
View File
@@ -238,6 +238,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|       buflist-bar-item.c | Objets de barre Buflist.
|       buflist-command.c | Commandes pour Buflist.
|       buflist-config.c | Options de configuration pour Buflist (fichier buflist.conf).
|       buflist-info.c | Info/infolists/hdata pour Buflist.
|       buflist-mouse.c | Actions souris pour Buflist.
|    charset/ | Extension Charset.
|       charset.c | Fonctions pour Charset.
@@ -402,9 +403,15 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|          test-core-util.cpp | Tests : fonctions utiles.
|       gui/ | Racine des tests unitaires pour les interfaces.
|          test-gui-line.cpp | Tests : lignes.
|          test-gui-nick.cpp | Tests : pseudos.
|       plugins/ | Racine des tests unitaires pour les extensions.
|          irc/ | Racine des tests unitaires pour l'extension IRC.
|             test-irc-color.cpp | Tests : couleurs IRC.
|             test-irc-config.cpp | Tests : configuration IRC.
|             test-irc-ignore.cpp | Tests : ignores IRC.
|             test-irc-message.cpp | Tests : messages IRC.
|             test-irc-mode.cpp | Tests : modes IRC.
|             test-irc-nick.cpp | Tests : pseudos IRC.
|             test-irc-protocol.cpp | Tests : protocole IRC.
|===
@@ -888,34 +895,48 @@ Toutes les combinaisons sont résumées dans ce tableau :
[width="100%",cols="4,2,2,8",options="header"]
|===
| Code | Exemple | Aires | Description
| [hex]#19# + STD | [hex]#19# `+01+` | chat + barres | Définir les attributs et la couleur en utilisant une option, voir le tableau ci-dessous.
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Définir une couleur avec la paire ncurses (utilisé seulement sur le tampon `/color`).
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + barres | Définir la couleur de fond (couleur WeeChat).
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + barres | Définir le couleur de fond (couleur étendue).
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
| [hex]#19# + "*" + (A)STD + "," + STD | [hex]#19# `+*08,05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
| [hex]#19# + "*" + (A)STD + "," + EXT | [hex]#19# `+*01,@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
| [hex]#19# + "*" + (A)EXT + "," + STD | [hex]#19# `+*@00214,05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
| [hex]#19# + "*" + (A)EXT + "," + EXT | [hex]#19# `+*@00214,@00017+` | chat + barres | Définir la couleur de texte/fond (couleurs étendues).
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | barres | Définir la couleur de texte de la barre.
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | barres | Définir la couleur du délimiteur de la barre.
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | barres | Définir la couleur de fond de la barre.
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | barre input | Caractère de démarrage dans l'entrée (utilisé seulement dans l'objet "input_text").
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | barre input | Caractère de démarrage caché dans l'entrée (utilisé seulement dans l'objet "input_text").
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | barre input | Caractère deplacement du curseur (utilisé seulement dans l'objet "input_text").
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | barres | Début d'objet.
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | barres | Ligne de démarrage d'objet.
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + barres | Texte mis en valeur _(WeeChat ≥ 0.4.2)_.
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + barres | Réinitialiser la couleur (garder les attributs).
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + barres | Activer un attribut.
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + barres | Supprimer un attribut.
| [hex]#1C# | [hex]#1C# | chat + barres | Réinitialiser les attributs et la couleur.
| Code | Exemple | Aires | Description
| [hex]#19# + STD | [hex]#19# `+01+` | chat + barres | Définir les attributs et la couleur en utilisant une option, voir le tableau ci-dessous.
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Définir une couleur avec la paire ncurses (utilisé seulement sur le tampon `/color`).
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + barres | Définir la couleur de fond (couleur WeeChat).
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + barres | Définir le couleur de fond (couleur étendue).
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + barres | Définir la couleur de texte/fond (couleurs étendues).
| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + barres | Définir la couleur de texte/fond (couleurs étendues).
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | barres | Définir la couleur de texte de la barre.
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | barres | Définir la couleur dulimiteur de la barre.
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | barres | Définir la couleur de fond de la barre.
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | barre input | Caractère de démarrage dans l'entrée (utilisé seulement dans l'objet "input_text").
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | barre input | Caractère de démarrage caché dans l'entrée (utilisé seulement dans l'objet "input_text").
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | barre input | Caractère de déplacement du curseur (utilisé seulement dans l'objet "input_text").
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | barres | Début d'objet.
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | barres | Ligne de démarrage d'objet.
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + barres | Texte mis en valeur _(WeeChat ≥ 0.4.2)_.
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + barres | Réinitialiser la couleur (garder les attributs).
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + barres | Activer un attribut.
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + barres | Supprimer un attribut.
| [hex]#1C# | [hex]#1C# | chat + barres | Réinitialiser les attributs et la couleur.
|===
[NOTE]
^(1)^ L'utilisation de virgule comme séparateur était utilisé jusqu'à
WeeChat 2.5. +
Avec WeeChat WeeChat ≥ 2.6, un tilde est utilisé pour séparer la
couleur du texte et du fond. Si vous développez un client WeeChat relay et
voulez être compatible avec toutes les versions de WeeChat, vous devriez
supporter les deux séparateurs (par exemple si un utilisateur avec WeeChat ≤ 2.5
lance `/upgrade` vers une version ≥ 2.6, les deux séparateurs pourront être
utilisés au même moment dans les tampons).
Les codes couleur utilisant des options (voir _t_gui_color_enum_, dans le
fichier _src/gui/gui-color.h_) :
@@ -1102,7 +1123,7 @@ Exemples de messages de commit :
irc: add command /unquiet (closes #36)
core: add callback "nickcmp" for nick comparison in buffers
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
ruby: add detection of ruby version 1.9.3 in cmake
ruby: add detection of ruby version 1.9.3 in CMake
python: fix crash when unloading a script without pointer to interpreter
core: update Japanese translations (patch #7783)
----
+3 -3
View File
@@ -48,10 +48,10 @@ distantes : https://weechat.org/about/interfaces
=== Je ne peux pas compiler WeeChat après avoir cloné la base git, pourquoi ?
La méthode recommandée pour compiler WeeChat est d'utiliser
link:weechat_user.fr.html#compile_with_cmake[cmake].
link:weechat_user.fr.html#compile_with_cmake[CMake].
Si vous compilez avec les link:weechat_user.fr.html#compile_with_autotools[autotools]
(et non cmake), vérifiez que vous avez bien la dernière version d'autoconf et
(et non CMake), vérifiez que vous avez bien la dernière version d'autoconf et
automake.
Une autre façon de faire est de compiler le "paquet devel", qui nécessite moins
@@ -73,7 +73,7 @@ brew info weechat
Vous pouvez installer WeeChat avec cette commande :
----
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
brew install weechat
----
[[lost]]
+123 -17
View File
@@ -97,15 +97,40 @@ Paramètres :
* _plugin_ : pointeur vers la structure d'extension WeeChat, utilisé pour
initialiser le pointeur global `weechat_plugin`
* _argc_ : nombre de paramètres pour l'extension (donnés sur la ligne de
commande par l'utilisateur)
* _argv_ : paramètres pour l'extension
* _argc_ : nombre de paramètres pour l'extension
* _argv_ : paramètres pour l'extension (voir ci-dessous)
Valeur de retour :
* _WEECHAT_RC_OK_ si ok (l'extension sera chargée)
* _WEECHAT_RC_ERROR_ si erreur (l'extension ne sera PAS chargée)
[[plugin_arguments]]
===== Paramètres de l'extension
Lorsque l'extension est chargée par WeeChat, elle reçoit la liste des
paramètres dans `argv` et le nombre de paramètres dans `argc`.
Les paramètres peuvent être :
* les paramètres de ligne de commande lors du lancement du binaire WeeChat,
* les paramètres donnés à la commande `/plugin load xxx`, lorsque l'extension
est chargée manuellement par l'utilisateur.
Lorsque les paramètres proviennent de la ligne de commande, seulement ces
paramètres sont envoyés à l'extension :
*-a*, *--no-connect*::
Supprimer la connexion automatique aux serveurs lors du démarrage.
*-s*, *--no-script*::
Supprimer le chargement automatique des scripts au démarrage.
*extension:option*::
Option pour une extension : seulement les options liées à l'extension sont
envoyées, par exemple seulement les options démarrant par `irc:` sont
envoyées à l'extension "irc".
[[plugin_priority]]
===== Priorité de l'extension
@@ -255,6 +280,31 @@ Pour chaque fonction, on donne :
* un exemple en script Python (la syntaxe pour les autres langages de script est
similaire).
// TRANSLATION MISSING
[[registering]]
=== Enregistrement
Functions pour enregistrer un script : utilisées seulement par l'API script,
pas l'API C.
==== register
Enregistrer le script.
Pour plus d'informations, voir le
link:weechat_scripting.fr.html#register_function[Guide pour scripts WeeChat].
Script (Python) :
[source,python]
----
# prototype
weechat.register(name, author, version, license, description, shutdown_function, charset)
----
[NOTE]
Cette fonction n'est pas disponible dans l'API C.
[[plugins]]
=== Extensions
@@ -1509,7 +1559,7 @@ Cette fonction n'est pas disponible dans l'API script.
==== string_split
_Mis à jour dans la 2.5._
_Mis à jour dans la 2.5, 2.6._
Découper une chaîne à l'aide de délimiteur(s).
@@ -1518,13 +1568,16 @@ Prototype :
[source,C]
----
char **weechat_string_split (const char *string, const char *separators,
int flags, int num_items_max, int *num_items);
const char *strip_items, int flags,
int num_items_max, int *num_items);
----
Paramètres :
* _string_ : chaîne à découper
* _separators_ : délimiteurs utilisés pour le découpage
* _strip_items_ : caractères à supprimer des chaînes retournées (gauche/droite) ;
optionnel, peut être NULL
* _flags_ : combinaison de valeurs pour changer le comportement par défaut ;
si la valeur est 0, le comportement par défaut est utilisé (pas de suppression
des séparateurs en début/fin de chaîne, plusieurs séparateurs consécutifs
@@ -1564,7 +1617,7 @@ Exemples en C :
char **argv;
int argc;
argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
argv = weechat_string_split ("abc de fghi ", " ", NULL, 0, 0, &argc);
/* résultat : argv[0] == "abc"
argv[1] == "de"
argv[2] == ""
@@ -1575,7 +1628,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
@@ -1588,7 +1641,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
@@ -1602,7 +1655,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
| WEECHAT_STRING_SPLIT_KEEP_EOL,
@@ -1614,6 +1667,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
argc == 3
*/
weechat_string_free_split (argv);
argv = weechat_string_split (" abc, de,, fghi ", ",", " ",
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
0, &argc);
/* résultat : argv[0] == "abc"
argv[1] == "de"
argv[2] == "fghi"
argv[3] == NULL
argc == 3
*/
weechat_string_free_split (argv);
----
[NOTE]
@@ -4057,7 +4123,7 @@ Exemple en C :
[source,C]
----
weechat_printf (NULL, "valeur de l'item : %s", weechat_list_string (item));
weechat_printf (NULL, "valeur de l'élément : %s", weechat_list_string (item));
----
Script (Python) :
@@ -4068,9 +4134,41 @@ Script (Python) :
value = weechat.list_string(item)
# exemple
weechat.prnt("", "valeur de l'item : %s" % weechat.list_string(item))
weechat.prnt("", "valeur de l'élément : %s" % weechat.list_string(item))
----
==== list_user_data
_WeeChat ≥ 2.6._
// TRANSLATION MISSING
Retourner le pointeur vers les données utilisateur de l'élément.
Prototype :
[source,C]
----
void *weechat_list_user_data (struct t_weelist_item *item);
----
Paramètres :
* _item_ : pointeur vers l'élément
Valeur de retour :
* pointeur vers les données utilisateur de l'élément
Exemple en C :
[source,C]
----
weechat_printf (NULL, "données utilisateur de l'élément : 0x%lx", weechat_list_user_data (item));
----
[NOTE]
Cette fonction n'est pas disponible dans l'API script.
==== list_size
Retourner la taille de la liste (nombre d'éléments).
@@ -4350,7 +4448,7 @@ Exemple en C :
[source,C]
----
void *pointer = weechat_arraylist_get (arraylist, 0); /* first item */
void *pointer = weechat_arraylist_get (arraylist, 0); /* premier élément */
----
[NOTE]
@@ -4697,7 +4795,7 @@ Paramètres :
Valeur de retour :
* pointeur vers l'item créé/mis à jour, NULL en cas d'erreur
* pointeur vers l'entrée créée/mise à jour, NULL en cas d'erreur
Exemple en C :
@@ -9099,7 +9197,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
NULL);
if (options_url1)
{
weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
weechat_hashtable_set (options_url1, "file_out", "/tmp/weechat.org.html");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
options_url1,
20000,
@@ -9115,7 +9213,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
NULL);
if (options_url2)
{
weechat_hashtable_set (options, "httpheader",
weechat_hashtable_set (options_url2, "httpheader",
"Header1: valeur1\n"
"Header2: valeur2");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
@@ -13327,8 +13425,8 @@ Prototype :
[source,C]
----
int weechat_window_get_string (struct t_gui_window *window,
const char *property);
const char *weechat_window_get_string (struct t_gui_window *window,
const char *property);
----
Paramètres :
@@ -13340,6 +13438,14 @@ Valeur de retour :
* valeur de la propriété, sous forme de chaîne
Script (Python) :
[source,python]
----
# prototype
value = weechat.window_get_string(buffer, property)
----
==== window_get_pointer
Retourner la valeur d'une propriété, sous forme d'un pointeur.
+2 -2
View File
@@ -89,7 +89,7 @@ $ tar xvjf weechat-devel.tar.bz2
$ cd weechat-devel
----
Pour compiler les sources, cmake est recommandé :
Pour compiler les sources, CMake est recommandé :
----
$ mkdir build
@@ -99,7 +99,7 @@ $ make
$ make install
----
Si vous n'avez pas cmake, il est toujours possible d'utiliser les autotools :
Si vous n'avez pas CMake, il est toujours possible d'utiliser les autotools :
----
$ ./autogen.sh
+55 -48
View File
@@ -81,13 +81,12 @@ la distribution pour la méthode d'installation.
[[source_package]]
=== Paquet source
WeeChat peut être compilé avec cmake ou les autotools (cmake est la méthode
WeeChat peut être compilé avec CMake ou les autotools (CMake est la méthode
recommandée).
[NOTE]
Sous macOS, vous pouvez utiliser https://brew.sh/[Homebrew] :
`brew install weechat --with-python --with-perl`
(pour l'aide : `brew info weechat`).
`brew install weechat` (pour l'aide : `brew info weechat`).
[[dependencies]]
==== Dépendances
@@ -101,7 +100,7 @@ compiler WeeChat.
| compilateur C
(gcc, clang, ...) | | *oui* | Construction.
| compilateur C++ | | | Construction et lancement des tests, extension JavaScript.
| cmake | ≥ 3.0 | *oui* | Construction (autotools toujours possible, mais cmake est recommandé).
| cmake | ≥ 3.0 | *oui* | Construction (autotools toujours possible, mais CMake est recommandé).
| pkg-config | | *oui* | Détection des bibliothèques installées.
| libncursesw5-dev ^(2)^ | | *oui* | Interface ncurses.
| libcurl4-gnutls-dev | | *oui* | Transfert d'URL.
@@ -112,7 +111,7 @@ compiler WeeChat.
| ca-certificates | | | Certificats pour les connexions SSL.
| libaspell-dev
∥ libenchant-dev | | | Extension spell.
| python-dev | ≥ 2.6 ^(4)^ | | Extension python.
| python3-dev | ^(4)^ | | Extension python.
| libperl-dev | | | Extension perl.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Extension ruby.
| liblua5.3-dev | | | Extension lua.
@@ -136,8 +135,9 @@ recommandé : vous pourriez avoir des bugs d'affichage avec les caractères
larges. +
^(3)^ GnuTLS ≥ 3.0.21 est requis pour l'authentification SASL avec le mécanisme
ECDSA-NIST256P-CHALLENGE. +
^(4)^ La version recommandée de Python est 2.7 (tous les scripts tournent bien
avec la version 2.7, mais pas avec les versions < 2.7 ou ≥ 3.0).
^(4)^ Par défaut Python 3.x est utilisé. Si vous activez l'option
`ENABLE_PYTHON2` (voir ci-dessous), seule la version 2.7 de Python est
recommandée.
Si vous utilisez une distribution basée sur Debian ou Ubuntu, et si vous avez
des entrées source "deb-src" dans votre fichier _/etc/apt/sources.list_, vous
@@ -148,7 +148,7 @@ pouvez installer toutes les dépendances avec la commande :
----
[[compile_with_cmake]]
==== Compilation avec cmake
==== Compilation avec CMake
* Installation dans les répertoires systèmes (nécessite les droits _root_) :
@@ -170,7 +170,7 @@ $ make
$ make install
----
Des options peuvent être utilisées pour cmake, avec le format : "-DOPTION=VALUE".
Des options peuvent être utilisées pour CMake, avec le format : "-DOPTION=VALUE".
Liste des options couramment utilisées :
@@ -256,12 +256,9 @@ Liste des options couramment utilisées :
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Python>>.
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
Compiler <<scripts_plugins,l'extension Python>> en utilisant Python 3. +
Cette option n'est pas recommandée car beaucoup de scripts ne sont pas encore
compatibles avec Python 3. +
Vous pouvez suivre l'avancement de la transition vers Python 3 sur cette page :
https://weechat.org/scripts/python3/
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compiler <<scripts_plugins,l'extension Python>> avec Python 2 au lieu de
Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Compiler <<relay_plugin,l'extension Relay>>.
@@ -313,11 +310,11 @@ $ ccmake ..
==== Compilation avec autotools
[WARNING]
Seulement cmake est officiellement supporté pour construire WeeChat. Vous ne
Seulement CMake est officiellement supporté pour construire WeeChat. Vous ne
devriez utiliser les autotools que si vous n'avez pas la possibilité d'utiliser
cmake. +
CMake. +
La compilation avec les autotools requiert plus de dépendances et est plus lente
qu'avec cmake.
qu'avec CMake.
* Installation dans les répertoires systèmes (nécessite les droits _root_) :
@@ -356,14 +353,14 @@ Les paquets suivants sont nécessaires pour compiler les tests :
* libcpputest-dev
* C++ compiler
Les tests doivent être activés pour compiler WeeChat (avec cmake) :
Les tests doivent être activés pour compiler WeeChat (avec CMake) :
----
$ cmake .. -DENABLE_TESTS=ON
----
Ils peuvent être lancés après compilation depuis le répertoire de construction
(avec cmake) :
(avec CMake) :
----
$ ctest -V
@@ -398,7 +395,7 @@ futur de WeeChat, vous devez :
[[debug_info]]
==== Infos de debug
Si vous compilez avec cmake :
Si vous compilez avec CMake :
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
@@ -826,7 +823,7 @@ Dans l'extension irc, vous pouvez réassigner les couleurs en utilisant l'option
[[colors]]
=== Couleurs
WeeChat peut utiliser jusqu'à 256 paires de couleur pour afficher le texte dans
WeeChat peut utiliser jusqu'à 32767 paires de couleur pour afficher le texte dans
les barres et la zone de discussion (votre terminal doit supporter 256 couleurs
pour pouvoir les utiliser dans WeeChat).
@@ -836,12 +833,12 @@ limites suivantes pour les couleurs dans WeeChat :
[width="50%",cols="8,>2,>2",options="header"]
|===
| $TERM | Couleurs | Paires
| "rxvt-unicode", "xterm", ... | 88 | 256
| "rxvt-256color", "xterm-256color", ... | 256 | 256
| "rxvt-unicode", "xterm", ... | 88 | 32767
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
| "screen" | 8 | 64
| "screen-256color" | 256 | 256
| "screen-256color" | 256 | 32767
| "tmux" | 8 | 64
| "tmux-256color" | 256 | 256
| "tmux-256color" | 256 | 32767
|===
Vous pouvez lancer `weechat --colors` ou utiliser la commande `/color`
@@ -2694,9 +2691,13 @@ et port dépend de votre configuration de TOR) :
Maintenant, ajoutez un nouveau serveur, par exemple :
----
/server add freenode-tor freenodeok2gncmy.onion
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
----
[NOTE]
Si vous utilisez une ancienne version de TOR (avant 0.3.5) vous devriez plutôt
utiliser l'adresse `freenodeok2gncmy.onion`.
Définissez le proxy pour TOR :
----
@@ -3089,16 +3090,21 @@ dans le masque (voir `man strftime` pour le format), par exemple :
Vous obtiendrez les fichiers suivants :
....
~/.weechat/
|--- logs/
|--- 2010/
|--- 11/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
|--- 2010/
|--- 12/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
~/.weechat
└── logs
├── 2010
│ ├── 11
├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
│ └── 12
│ ├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
├── 2011
│ ├── 01
│ │ ├── irc.server.freenode.weechatlog
│ │ └── irc.freenode.#weechat.weechatlog
│ ├── 02
...
....
[[logger_irc_files_by_server_channel]]
@@ -3113,17 +3119,18 @@ Si vous voulez un répertoire par serveur IRC et un fichier par canal dedans :
Vous obtiendrez les fichiers suivants :
....
~/.weechat/
|--- logs/
|--- irc/
|--- freenode/
| freenode.weechatlog
| #weechat.weechatlog
| #mychan.weechatlog
|--- oftc/
| oftc.weechatlog
| #chan1.weechatlog
| #chan2.weechatlog
~/.weechat
└── logs
└── irc
├── freenode
│ ├── freenode.weechatlog
│ ├── #weechat.weechatlog
│ └── #mychan.weechatlog
├── oftc
│ ├── oftc.weechatlog
│ ├── #chan1.weechatlog
│ └── #chan2.weechatlog
...
....
[[logger_commands]]
+3
View File
@@ -252,6 +252,8 @@ _isupport_   (string) +
_prefix_modes_   (string) +
_prefix_chars_   (string) +
_nick_max_length_   (integer) +
_user_max_length_   (integer) +
_host_max_length_   (integer) +
_casemapping_   (integer) +
_chantypes_   (string) +
_chanmodes_   (string) +
@@ -970,6 +972,7 @@ _charset_   (string) +
_priority_   (integer) +
_initialized_   (integer) +
_debug_   (integer) +
_upgrading_   (integer) +
_variables_   (hashtable) +
_prev_plugin_   (pointer, hdata: "plugin") +
_next_plugin_   (pointer, hdata: "plugin") +
+2
View File
@@ -10,6 +10,8 @@
| alias | alias_default | list of default aliases | - | -
| buflist | buflist | list of buffers in a buflist bar item | - | buflist bar item name (optional)
| fset | fset_option | list of fset options | fset option pointer (optional) | option name (wildcard "*" is allowed) (optional)
| guile | guile_script | elenco degli script | puntatore allo script (opzionale) | script name (wildcard "*" is allowed) (optional)
+4
View File
@@ -108,6 +108,10 @@
| weechat | pid | WeeChat PID (process ID) | -
| weechat | term_color_pairs | number of color pairs supported in terminal | -
| weechat | term_colors | number of colors supported in terminal | -
| weechat | term_height | height of terminal | -
| weechat | term_width | width of terminal | -
+34 -8
View File
@@ -62,6 +62,8 @@
| unix_socket_path | string |
| abstract_unix_socket | string |
| path_as_is | long |
| proxy_service_name | string |
@@ -72,15 +74,21 @@
| tcp_fastopen | long |
| socks5_auth | long |
| haproxyprotocol | long |
| doh_url | string |
| netrc | long | ignored, optional, required
| userpwd | string |
| proxyuserpwd | string |
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| netrc_file | string |
@@ -104,6 +112,8 @@
| login_options | string |
| disallow_username_in_url | long |
| autoreferer | long |
| followlocation | long |
@@ -114,8 +124,6 @@
| postfields | string |
| httppost | list |
| referer | string |
| useragent | string |
@@ -170,6 +178,8 @@
| stream_weight | long |
| request_target | string |
| mail_from | string |
| mail_rcpt | list |
@@ -258,6 +268,10 @@
| maxfilesize_large | long long |
| timevalue_large | long long |
| upload_buffersize | long |
| timeout | long |
| low_speed_limit | long |
@@ -300,9 +314,15 @@
| connect_to | list |
| happy_eyeballs_timeout_ms | long |
| dns_shuffle_addresses | long |
| upkeep_interval_ms | long |
| sslcert | string |
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| ssl_verifypeer | long |
@@ -342,7 +362,7 @@
| gssapi_delegation | long | none, policy_flag, flag
| ssl_options | long | allow_beast, no_revoke
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| ssl_enable_alpn | long |
@@ -372,11 +392,11 @@
| proxy_sslkeytype | string |
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| proxy_ssl_cipher_list | list |
| proxy_ssl_options | long | allow_beast, no_revoke
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| proxy_ssl_verifyhost | long |
@@ -388,6 +408,10 @@
| proxy_tlsauth_username | string |
| tls13_ciphers | list |
| proxy_tls13_ciphers | list |
| ssh_auth_types | mask | none, policy_flag, flag
| ssh_public_keyfile | string |
@@ -398,6 +422,8 @@
| ssh_knownhosts | string |
| ssh_compression | long |
| new_file_perms | long |
| new_directory_perms | long |
@@ -7,8 +7,6 @@
| Alias | Command | Completion
| /AAWAY | /allserv /away | -
| /AME | /allchan /me | -
| /AMSG | /allchan /msg * | -
| /ANICK | /allserv /nick | -
| /BEEP | /print -beep | -
| /BYE | /quit | -
@@ -35,8 +33,9 @@
| /UMODE | /mode $nick | -
| /V | /command core version | -
| /W | /who | -
| /WC | /window merge | -
| /WC | /window close | -
| /WI | /whois | -
| /WII | /whois $1 $1 | -
| /WM | /window merge | -
| /WW | /whowas | -
|===
+2 -2
View File
@@ -27,7 +27,7 @@
** valore predefinito: `+0+`
* [[option_exec.command.shell]] *exec.command.shell*
** descrizione: pass:none[shell to use with command "/exec -sh"; it can be just the name of shell if it is in PATH (for example "bash") or the absolute path to the shell (for example "/bin/bash")]
** descrizione: pass:none[shell to use with command "/exec -sh"; it can be just the name of shell if it is in PATH (for example "bash") or the absolute path to the shell (for example "/bin/bash"); if value is empty, "sh" is used (note: content is evaluated, see /help eval)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"sh"+`
** valore predefinito: `+"${env:SHELL}"+`
+2
View File
@@ -51,6 +51,8 @@
d:xxx show only changed options with "xxx" in name
d=xxx show only changed options with "xxx" in value
d==xxx show only changed options with exact value "xxx"
h=xxx show only options with "xxx" in description (translated)
he=xxx show only options with "xxx" in description (in English)
=xxx show only options with "xxx" in value
==xxx show only options with exact value "xxx"
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
+1 -1
View File
@@ -124,7 +124,7 @@ Examples:
* `+connect+`: connette ad uno o più server IRC
----
/connect <server> [<server>...] [-<opzione>[=<valore>]] [-no<option>] [-nojoin] [-switch]
/connect [<server> [<server>...]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: server name, which can be:
+1 -1
View File
@@ -6,7 +6,7 @@
** descrizione: pass:none[elenco separato da virgole di comandi per cui il controllo ortografico è abilitato (il controllo ortografico è disabilitato per tutti gli altri comandi)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
** valore predefinito: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** descrizione: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
+10 -1
View File
@@ -214,6 +214,11 @@ Default keys in cursor mode on nicklist:
q open query with nick (/query)
w query information about user (/whois)
Other default keys in cursor mode:
arrow move cursor
alt+arrow move cursor to the next area
enter exit cursor mode
Examples:
go to nicklist:
/cursor go nicklist
@@ -974,6 +979,7 @@ Examples:
resize [-window <number>] [h|v][+|-]<pct>
balance
merge [-window <number>] [all]
close [-window <number>]
page_up|page_down [-window <number>]
refresh
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
@@ -998,6 +1004,7 @@ Examples:
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
balance: balance the sizes of all windows
merge: merge window with another (all = keep only one window)
close: close window
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
@@ -1034,8 +1041,10 @@ Examples:
/window resize 75
resize vertical split, add 10% in size:
/window resize v+10
remove the split:
remove the split, keep the current window:
/window merge
close the current window:
/window close
enable bare display for 2 seconds:
/window bare 2
----
+2 -2
View File
@@ -921,9 +921,9 @@
** valore predefinito: `+""+`
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
** descrizione: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), sum = sum of letters]
** descrizione: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), djb2_32 = variant of djb2 using 32-bit instead of 64-bit integer, sum = sum of letters, sum_32 = sum of letters using 32-bit instead of 64-bit integer]
** tipo: intero
** valori: djb2, sum
** valori: djb2, sum, djb2_32, sum_32
** valore predefinito: `+djb2+`
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
+3 -3
View File
@@ -56,10 +56,10 @@ https://weechat.org/about/interfaces
=== Non è possibile compilare WeeChat dopo aver clonato il repository git, perché?
Il metodo raccomandato per compilare WeeChat è utilizzando
link:weechat_user.it.html#compile_with_cmake[cmake].
link:weechat_user.it.html#compile_with_cmake[CMake].
Se si sta compilando con link:weechat_user.it.html#compile_with_autotools[autotools]
(e non cmake), verificare che siano installate le ultime versioni di autoconf e
(e non CMake), verificare che siano installate le ultime versioni di autoconf e
automake.
L'altro metodo è installare il "pacchetto di sviluppo", che richiede meno
@@ -83,7 +83,7 @@ brew info weechat
You can install WeeChat with this command:
----
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
brew install weechat
----
[[lost]]
+121 -13
View File
@@ -106,9 +106,9 @@ Argomenti:
// TRANSLATION MISSING
* _plugin_: puntatore alla struttura del plugin di WeeChat, used to initialize
the convenience global pointer `weechat_plugin`
* _argc_: numero di argomenti per il plugin (fornito dalla riga di comando
dall'utente)
* _argv_: argomenti per il plugin
* _argc_: numero di argomenti per il plugin
// TRANSLATION MISSING
* _argv_: argomenti per il plugin (see below)
Valori restituiti:
@@ -117,6 +117,32 @@ Valori restituiti:
* _WEECHAT_RC_ERROR_ se c'è un errore (il plugin NON
verrà caricato)
// TRANSLATION MISSING
[[plugin_arguments]]
===== Plugin arguments
When the plugin is loaded by WeeChat, it receives the list of arguments
in parameter `argv` and the number of arguments in `argc`.
The arguments can be:
* command line arguments when running the WeeChat binary,
* arguments given to the command `/plugin load xxx`, when the plugin is manually
loaded by the user.
When the arguments come from the command line, only these arguments are sent to
the plugin:
*-a*, *--no-connect*::
Disabilita la connessione automatica ai server all'avvio di WeeChat.
*-s*, *--no-script*::
Disabilita il caricamento automatico dei script.
*plugin:option*::
Option for a plugin: only the plugin-related options are sent, for example
only the options starting with `irc:` are sent to the plugin called "irc".
// TRANSLATION MISSING
[[plugin_priority]]
===== Plugin priority
@@ -268,6 +294,30 @@ Per ogni funzione, viene fornita:
* esempio nello script Python (la sintassi è simile per gli altri linguaggi di
scripting).
// TRANSLATION MISSING
[[registering]]
=== Registering
Functions to register a script: used only by scripting API, not the C API.
==== register
Register the script.
For more information, see the
link:weechat_scripting.it.html#register_function[WeeChat scripting guide].
Script (Python):
[source,python]
----
# prototype
weechat.register(name, author, version, license, description, shutdown_function, charset)
----
[NOTE]
This function is not available in the C API.
[[plugins]]
=== Plugin
@@ -1555,7 +1605,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
==== string_split
// TRANSLATION MISSING
_Updated in 2.5._
_Updated in 2.5, 2.6._
Divide una stringa in base a uno o più delimitatori.
@@ -1564,13 +1614,17 @@ Prototipo:
[source,C]
----
char **weechat_string_split (const char *string, const char *separators,
int flags, int num_items_max, int *num_items);
const char *strip_items, int flags,
int num_items_max, int *num_items);
----
Argomenti:
* _string_: stringa da dividere
* _separators_: delimitatori usati per dividere
// TRANSLATION MISSING
* _strip_items_: chars to strip from returned items (left/right);
optional, can be NULL
* _flags_: combination values to change the default behavior; if the value is 0,
the default behavior is used (no strip of separators at beginning/end of string,
multiple separators are kept as-is so empty strings can be returned);
@@ -1609,7 +1663,7 @@ Esempi:
char **argv;
int argc;
argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
argv = weechat_string_split ("abc de fghi ", " ", NULL, 0, 0, &argc);
/* result: argv[0] == "abc"
argv[1] == "de"
argv[2] = ""
@@ -1620,7 +1674,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
@@ -1633,7 +1687,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
@@ -1647,7 +1701,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
| WEECHAT_STRING_SPLIT_KEEP_EOL,
@@ -1659,6 +1713,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
argc == 3
*/
weechat_string_free_split (argv);
argv = weechat_string_split (" abc, de,, fghi ", ",", " ",
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
0, &argc);
/* result: argv[0] == "abc"
argv[1] == "de"
argv[2] == "fghi"
argv[3] == NULL
argc == 3
*/
weechat_string_free_split (argv);
----
[NOTE]
@@ -4163,6 +4230,39 @@ value = weechat.list_string(item)
weechat.prnt("", "valore dell'elemento: %s" % weechat.list_string(item))
----
==== list_user_data
_WeeChat ≥ 2.6._
// TRANSLATION MISSING
Return pointer to the user data of an item.
Prototipo:
[source,C]
----
void *weechat_list_user_data (struct t_weelist_item *item);
----
Argomenti:
* _item_: puntatore all'elemento
Valore restituito:
// TRANSLATION MISSING
* pointer to the user data of item
Esempio in C:
[source,C]
----
weechat_printf (NULL, "user data of item: 0x%lx", weechat_list_user_data (item));
----
[NOTE]
Questa funzione non è disponibile nelle API per lo scripting.
==== list_size
Restituisce la dimensione della lista (numero di elementi).
@@ -9225,7 +9325,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
NULL);
if (options_url1)
{
weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
weechat_hashtable_set (options_url1, "file_out", "/tmp/weechat.org.html");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
options_url1,
20000,
@@ -9241,7 +9341,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
NULL);
if (options_url2)
{
weechat_hashtable_set (options, "httpheader",
weechat_hashtable_set (options_url2, "httpheader",
"Header1: value1\n"
"Header2: value2");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
@@ -13579,8 +13679,8 @@ Prototipo:
[source,C]
----
int weechat_window_get_string (struct t_gui_window *window,
const char *property);
const char *weechat_window_get_string (struct t_gui_window *window,
const char *property);
----
Argomenti:
@@ -13592,6 +13692,14 @@ Valore restituito:
* valore stringa della proprietà
Script (Python):
[source,python]
----
# prototipo
value = weechat.window_get_string(buffer, property)
----
==== window_get_pointer
Restituisce il valore puntatore della proprietà di una finestra.
+2 -2
View File
@@ -94,7 +94,7 @@ $ tar xvjf weechat-devel.tar.bz2
$ cd weechat-devel
----
Per compilare i sorgenti, si raccomanda cmake:
Per compilare i sorgenti, si raccomanda CMake:
----
$ mkdir build
@@ -104,7 +104,7 @@ $ make
$ make install
----
Se cmake non è installato, è ancora possibile usare gli autotools:
Se CMake non è installato, è ancora possibile usare gli autotools:
----
$ ./autogen.sh
+57 -49
View File
@@ -93,14 +93,13 @@ installazione.
[[source_package]]
=== Sorgenti
WeeChat può essere compilato con cmake oppure autotools
(tuttavia si raccomanda cmake).
WeeChat può essere compilato con CMake oppure autotools
(tuttavia si raccomanda CMake).
// TRANSLATION MISSING
[NOTE]
On macOS, you can use https://brew.sh/[Homebrew]:
`brew install weechat --with-python --with-perl`
(for help: `brew info weechat`).
`brew install weechat` (for help: `brew info weechat`).
[[dependencies]]
==== Dipendenze
@@ -116,7 +115,7 @@ compilare WeeChat.
(gcc, clang, ...) | | *sì* | Build.
// TRANSLATION MISSING
| C++ compiler | | | Build and run tests, plugin JavaScript.
| cmake | ≥ 3.0 | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda cmake).
| cmake | ≥ 3.0 | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda CMake).
// TRANSLATION MISSING
| pkg-config | | *sì* | Detect installed libraries.
| libncursesw5-dev ^(2)^ | | *sì* | Interfaccia ncurses.
@@ -131,7 +130,7 @@ compilare WeeChat.
| ca-certificates | | | Certificati per le connessioni SSL.
| libaspell-dev
∥ libenchant-dev | | | Plugin spell.
| python-dev | ≥ 2.6 ^(4)^ | | Plugin python.
| python3-dev | ^(4)^ | | Plugin python.
| libperl-dev | | | Plugin perl.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Plugin ruby.
| liblua5.3-dev | | | Plugin lua.
@@ -161,8 +160,9 @@ you may experience display bugs with wide chars. +
// TRANSLATION MISSING
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
ECDSA-NIST256P-CHALLENGE. +
^(4)^ La versione raccomandata di Python è la 2.7 (tutti gli script funzionano
correttamente con la versione 2.7, ma non con le versioni < 2.7 o ≥ 3.0).
// TRANSLATION MISSING
^(4)^ By default Python 3.x is used. If you enable option `ENABLE_PYTHON2` (see
below), only the version 2.7 of Python is recommended.
// TRANSLATION MISSING
If you are using a Debian/Ubuntu based distribution, and if you have some
@@ -174,7 +174,7 @@ all dependencies with the command:
----
[[compile_with_cmake]]
==== Compilazione con cmake
==== Compilazione con CMake
* Installazione nelle directory di sistema (richiede privilegi di _root_):
@@ -198,7 +198,7 @@ $ make install
----
// TRANSLATION MISSING
Options can be used for cmake, with format: "-DOPTION=VALUE".
Options can be used for CMake, with format: "-DOPTION=VALUE".
// TRANSLATION MISSING
List of commonly used options:
@@ -286,12 +286,9 @@ List of commonly used options:
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Python plugin>>.
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,Python plugin>> using Python 3. +
This option is not recommended because many scripts are not yet compatible
with Python 3. +
You can follow the progress of Python 3 transition on this page:
https://weechat.org/scripts/python3/
// TRANSLATION MISSING
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Compile <<relay_plugin,Relay plugin>>.
@@ -343,9 +340,9 @@ $ ccmake ..
// TRANSLATION MISSING
[WARNING]
Only cmake is officially supported to build WeeChat. You should use autotools
only if you are not able to use cmake. +
Build with autotools requires more dependencies and is slower than with cmake.
Only CMake is officially supported to build WeeChat. You should use autotools
only if you are not able to use CMake. +
Build with autotools requires more dependencies and is slower than with CMake.
* Installazione nelle directory di sistema (richiede privilegi di _root_):
@@ -387,13 +384,13 @@ Following packages are *required* to compile tests:
* libcpputest-dev
* C++ compiler
Tests must be enabled when compiling WeeChat (with cmake):
Tests must be enabled when compiling WeeChat (with CMake):
----
$ cmake .. -DENABLE_TESTS=ON
----
They can be launched after compilation from the build directory (with cmake):
They can be launched after compilation from the build directory (with CMake):
----
$ ctest -V
@@ -428,7 +425,7 @@ futuro di WeeChat, è necessario:
[[debug_info]]
==== Informazioni di debug
Se si compila con cmake:
Se si compila con CMake:
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
@@ -874,7 +871,7 @@ Nel plugin irc, si possono riorganizzare i colori usando l'opzione
[[colors]]
=== Colori
WeeChat può usare fino a 256 coppie di colore per visualizzare il testo nelle barre e
WeeChat può usare fino a 32767 coppie di colore per visualizzare il testo nelle barre e
nell'area di chat(il terminale deve supportare 256 colori per essere utilizzati in WeeChat).
In base al valore della variabile di ambiente _TERM_, potrebbero verificarsi i
@@ -883,12 +880,12 @@ seguenti limiti per i colori in WeeChat:
[width="50%",cols="8,>2,>2",options="header"]
|===
| $TERM | Colori | Coppie
| "rxvt-unicode", "xterm", ... | 88 | 256
| "rxvt-256color", "xterm-256color", ... | 256 | 256
| "rxvt-unicode", "xterm", ... | 88 | 32767
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
| "screen" | 8 | 64
| "screen-256color" | 256 | 256
| "screen-256color" | 256 | 32767
| "tmux" | 8 | 64
| "tmux-256color" | 256 | 256
| "tmux-256color" | 256 | 32767
|===
È possibile eseguire `weechat --colors` o utilizzare il comando `/color` in
@@ -2783,9 +2780,14 @@ host/IP e porta dipendono dalla propria configurazione di TOR):
Now, add a new server, for example:
----
/server add freenode-tor freenodeok2gncmy.onion
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
----
// TRANSLATION MISSING
[NOTE]
If you are using an old version of TOR (before 0.3.5) you should use the address
`freenodeok2gncmy.onion` instead.
Impostare il proxy per TOR:
----
@@ -3194,16 +3196,21 @@ nei mask (consultare `man stfrtime` per i formati), ad esempio:
Si avranno i seguenti file:
....
~/.weechat/
|--- logs/
|--- 2010/
|--- 11/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
|--- 2010/
|--- 12/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
~/.weechat
└── logs
├── 2010
│ ├── 11
├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
│ └── 12
│ ├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
├── 2011
│ ├── 01
│ │ ├── irc.server.freenode.weechatlog
│ │ └── irc.freenode.#weechat.weechatlog
│ ├── 02
...
....
[[logger_irc_files_by_server_channel]]
@@ -3219,17 +3226,18 @@ al suo interno:
Si avranno i seguenti file:
....
~/.weechat/
|--- logs/
|--- irc/
|--- freenode/
| freenode.weechatlog
| #weechat.weechatlog
| #mychan.weechatlog
|--- oftc/
| oftc.weechatlog
| #chan1.weechatlog
| #chan2.weechatlog
~/.weechat
└── logs
└── irc
├── freenode
│ ├── freenode.weechatlog
│ ├── #weechat.weechatlog
│ └── #mychan.weechatlog
├── oftc
│ ├── oftc.weechatlog
│ ├── #chan1.weechatlog
│ └── #chan2.weechatlog
...
....
[[logger_commands]]
+3
View File
@@ -252,6 +252,8 @@ _isupport_   (string) +
_prefix_modes_   (string) +
_prefix_chars_   (string) +
_nick_max_length_   (integer) +
_user_max_length_   (integer) +
_host_max_length_   (integer) +
_casemapping_   (integer) +
_chantypes_   (string) +
_chanmodes_   (string) +
@@ -970,6 +972,7 @@ _charset_   (string) +
_priority_   (integer) +
_initialized_   (integer) +
_debug_   (integer) +
_upgrading_   (integer) +
_variables_   (hashtable) +
_prev_plugin_   (pointer, hdata: "plugin") +
_next_plugin_   (pointer, hdata: "plugin") +
+2
View File
@@ -10,6 +10,8 @@
| alias | alias_default | デフォルトで定義された別名のリスト | - | -
| buflist | buflist | list of buffers in a buflist bar item | - | buflist bar item name (optional)
| fset | fset_option | fset オプションのリスト | fset オプションポインタ (任意) | オプション名 (ワイルドカード "*" を使うことができます) (任意)
| guile | guile_script | スクリプトのリスト | スクリプトポインタ (任意) | スクリプト名 (ワイルドカード "*" を使うことができます) (任意)
+4
View File
@@ -108,6 +108,10 @@
| weechat | pid | WeeChat の PID (プロセス ID) | -
| weechat | term_color_pairs | number of color pairs supported in terminal | -
| weechat | term_colors | number of colors supported in terminal | -
| weechat | term_height | 端末の高さ | -
| weechat | term_width | 端末の幅 | -
+34 -8
View File
@@ -62,6 +62,8 @@
| unix_socket_path | string |
| abstract_unix_socket | string |
| path_as_is | long |
| proxy_service_name | string |
@@ -72,15 +74,21 @@
| tcp_fastopen | long |
| socks5_auth | long |
| haproxyprotocol | long |
| doh_url | string |
| netrc | long | ignored, optional, required
| userpwd | string |
| proxyuserpwd | string |
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| netrc_file | string |
@@ -104,6 +112,8 @@
| login_options | string |
| disallow_username_in_url | long |
| autoreferer | long |
| followlocation | long |
@@ -114,8 +124,6 @@
| postfields | string |
| httppost | list |
| referer | string |
| useragent | string |
@@ -170,6 +178,8 @@
| stream_weight | long |
| request_target | string |
| mail_from | string |
| mail_rcpt | list |
@@ -258,6 +268,10 @@
| maxfilesize_large | long long |
| timevalue_large | long long |
| upload_buffersize | long |
| timeout | long |
| low_speed_limit | long |
@@ -300,9 +314,15 @@
| connect_to | list |
| happy_eyeballs_timeout_ms | long |
| dns_shuffle_addresses | long |
| upkeep_interval_ms | long |
| sslcert | string |
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| ssl_verifypeer | long |
@@ -342,7 +362,7 @@
| gssapi_delegation | long | none, policy_flag, flag
| ssl_options | long | allow_beast, no_revoke
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| ssl_enable_alpn | long |
@@ -372,11 +392,11 @@
| proxy_sslkeytype | string |
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| proxy_ssl_cipher_list | list |
| proxy_ssl_options | long | allow_beast, no_revoke
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| proxy_ssl_verifyhost | long |
@@ -388,6 +408,10 @@
| proxy_tlsauth_username | string |
| tls13_ciphers | list |
| proxy_tls13_ciphers | list |
| ssh_auth_types | mask | none, policy_flag, flag
| ssh_public_keyfile | string |
@@ -398,6 +422,8 @@
| ssh_knownhosts | string |
| ssh_compression | long |
| new_file_perms | long |
| new_directory_perms | long |
@@ -7,8 +7,6 @@
| 別名 | コマンド | 補完
| /AAWAY | /allserv /away | -
| /AME | /allchan /me | -
| /AMSG | /allchan /msg * | -
| /ANICK | /allserv /nick | -
| /BEEP | /print -beep | -
| /BYE | /quit | -
@@ -35,8 +33,9 @@
| /UMODE | /mode $nick | -
| /V | /command core version | -
| /W | /who | -
| /WC | /window merge | -
| /WC | /window close | -
| /WI | /whois | -
| /WII | /whois $1 $1 | -
| /WM | /window merge | -
| /WW | /whowas | -
|===
+2 -2
View File
@@ -27,7 +27,7 @@
** デフォルト値: `+0+`
* [[option_exec.command.shell]] *exec.command.shell*
** 説明: pass:none[コマンド "/exec -sh" で使うシェル; シェルの名前 (PATH に含まれるシェル、例えば "bash" など) もしくはシェルへの絶対パス (例えば "/bin/bash")]
** 説明: pass:none[shell to use with command "/exec -sh"; it can be just the name of shell if it is in PATH (for example "bash") or the absolute path to the shell (for example "/bin/bash"); if value is empty, "sh" is used (note: content is evaluated, see /help eval)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"sh"+`
** デフォルト値: `+"${env:SHELL}"+`
+121 -119
View File
@@ -23,136 +23,138 @@
-export [-help|-nohelp] <filename>
<filter>
-bar: ヘルプバーを追加します
-refresh: オプションリストを再読込した後、画面全体を再描画します (コマンド: /window refresh)
-up: 選択行を "number" 行だけ上に移動
-down: 選択行を "number" 行だけ下に移動
-left: fset バッファをその幅の "percent" だけ左にスクロール
-right: fset バッファをその幅の "percent" だけ右にスクロール
-go: 番号を使って行を選択、1 行目は 0 ("end" で最後の行を選択)
-toggle: ブール値をトグル
-add: 整数型と色の場合は "value" を追加 (負の値でも可)、その他の型の場合は値を設定または追加 (負の値を設定、正の値を追加)
-reset: オプションの値をリセット
-unset: オプションをアンセット
-set: オプションの値を編集する目的で /set コマンドを入力に追加 (カーソルを値の先頭に移動)
-setnew: オプションの新しい値を編集する目的で /set コマンドを入力に追加
-append: オプションの値に何かを追加する目的で /set コマンドを追加 (カーソルを値の末尾に移動)
-mark: マークをトグル
-format: 次の利用可能な書式に切り替える
-export: 表示されているオプションと値をファイルにエクスポート (各行の書式: "/set name value" または "/unset name")
-help: エクスポートされるファイルにオプションのヘルプを強制的に書き込む (/help fset.look.export_help_default を参照してください)
-nohelp: エクスポートされるファイルにオプションのヘルプを書き込まない (/help fset.look.export_help_default を参照してください)
filter: 表示オプションを制限するフィルタ (このフィルタを fset バッファの入力として使うことも可能です); フィルタの書式は以下の例に従ってください:
* すべてのオプションを表示します (フィルタなし)
xxx 名前に "xxx" が含まれるオプションだけを表示
f:xxx 設定ファイル "xxx" に含まれるオプションだけを表示
t:xxx 型が "xxx" (bool/int/str/col) のオプションだけを表示
d 変更されたオプションだけを表示
d:xxx 変更されたオプションかつ名前に "xxx" が含まれるものだけを表示
d=xxx 変更されたオプションかつ値に "xxx" が含まれるものだけを表示
d==xxx 変更されたオプションかつ値が "xxx" と完全に一致するものだけを表示
=xxx 値に "xxx" が含まれるオプションだけを表示
==xxx 値が "xxx" と完全に一致するオプションだけを表示
c:xxx 評価された状態が "xxx" に一致するオプションだけを表示、評価は以下の変数に対して行われます: file、section、option、name、parent_name、type、type_en、type_short (bool/int/str/col)、type_tiny (b/i/s/c)、default_value、default_value_undef、value、quoted_value、value_undef、value_changed、parent_value、min、max、description、description2、description_en、description_en2、string_values
-bar: add the help bar
-refresh: refresh list of options, then whole screen (command: /window refresh)
-up: move the selected line up by "number" lines
-down: move the selected line down by "number" lines
-left: scroll the fset buffer by "percent" of width on the left
-right: scroll the fset buffer by "percent" of width on the right
-go: select a line by number, first line number is 0 ("end" to select the last line)
-toggle: toggle the boolean value
-add: add "value" (which can be a negative number) for integers and colors, set/append to value for other types (set for a negative value, append for a positive value)
-reset: reset the value of option
-unset: unset the option
-set: add the /set command in input to edit the value of option (move the cursor at the beginning of value)
-setnew: add the /set command in input to edit a new value for the option
-append: add the /set command to append something in the value of option (move the cursor at the end of value)
-mark: toggle mark
-format: switch to the next available format
-export: export the options and values displayed in a file (each line has format: "/set name value" or "/unset name")
-help: force writing of help on options in exported file (see /help fset.look.export_help_default)
-nohelp: do not write help on options in exported file (see /help fset.look.export_help_default)
filter: set a new filter to see only matching options (this filter can be used as input in fset buffer as well); allowed formats are:
* show all options (no filter)
xxx show only options with "xxx" in name
f:xxx show only configuration file "xxx"
t:xxx show only type "xxx" (bool/int/str/col)
d show only changed options
d:xxx show only changed options with "xxx" in name
d=xxx show only changed options with "xxx" in value
d==xxx show only changed options with exact value "xxx"
h=xxx show only options with "xxx" in description (translated)
he=xxx show only options with "xxx" in description (in English)
=xxx show only options with "xxx" in value
==xxx show only options with exact value "xxx"
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
オプションの表示書式 (この書式に関しては /help eval を参照してください) を設定するには、以下のオプションを使います:
- fset.format.option1: オプションに対する 1 番目の書式
- fset.format.option2: オプションに対する 2 番目の書式
The lines with options are displayed using string evaluation (see /help eval for the format), with these options:
- fset.format.option1: first format for an option
- fset.format.option2: second format for an option
オプションの表示書式には以下の変数を使うことが可能です:
- オプションに関するデータ、色をつけたり、スペースで右寄せできます:
- ${file}: 設定ファイル名 ("weechat" "irc" など)
- ${section}: セクション名
- ${option}: オプション名
- ${name}: 完全なオプション名 (file.section.option)
- ${parent_name}: 親オプション名
- ${type}: オプション型 (翻訳済み)
- ${type_en}: オプション型 (英語)
- ${type_short}: オプション型の略称 (bool/int/str/col)
- ${type_tiny}: オプション型の短縮名 (b/i/s/c)
- ${default_value}: オプションのデフォルト値
- ${default_value_undef}: デフォルト値が null の場合に "1"、それ以外の場合に "0"
- ${value}: オプションの値
- ${value_undef}: オプションの値が null の場合に "1"、それ以外の場合に "0"
- ${value_changed}: オプションの値がデフォルト値と異なる場合に "1"、それ以外の場合に "0"
- ${value2}: オプションの値、null の場合に値は継承されます
- ${parent_value}: 親オプションの値
- ${min}: 最小値
- ${max}: 最大値
- ${description}: オプションの説明 (翻訳済み)
- ${description2}: オプションの説明 (翻訳済み)、オプションの説明がない場合は "(説明がありません)" と表示されます
- ${description_en}: オプションの説明 (英語)
- ${description_en2}: オプションの説明 (英語)、オプションの説明がない場合は "(no description)" と表示されます
- ${string_values}: 文字列で設定可能な整数型オプションで使える文字列値
- ${marked}: オプションがマークされている場合に "1"、それ以外の場合に "0"
- ${index}: オプションのリストインデックス
- オプションに関するデータ、色を付けることが可能、スペースを含めることは不可能:
- 上記変数名の前にアンダースコアを付ける、例: ${_name}${_type}...
- オプションに関するデータ、生情報 (色もスペースもつけられません):
- 上記変数名の前にアンダースコアを 2 つ付ける、例: ${__name}${__type}...
- オプションに関するデータ、スペースのみつけられます:
- 上記変数名の前に "empty_" を付ける、例: ${empty_name}${empty_type}
- その他のデータ:
- ${selected_line}: 行が選択されている場合に "1"、それ以外の場合に "0"
- ${newline}: この位置に改行を挿入します、オプションは複数行に渡って表示されます
The following variables can be used in these options:
- option data, with color and padded by spaces on the right:
- ${file}: configuration file (for example "weechat" or "irc")
- ${section}: section
- ${option}: option name
- ${name}: full option name (file.section.option)
- ${parent_name}: parent option name
- ${type}: option type (translated)
- ${type_en}: option type (in English)
- ${type_short}: short option type (bool/int/str/col)
- ${type_tiny}: tiny option type (b/i/s/c)
- ${default_value}: option default value
- ${default_value_undef}: "1" if default value is null, otherwise "0"
- ${value}: option value
- ${value_undef}: "1" if value is null, otherwise "0"
- ${value_changed}: "1" if value is different from default value, otherwise "0"
- ${value2}: option value, with inherited value if null
- ${parent_value}: parent option value
- ${min}: min value
- ${max}: max value
- ${description}: option description (translated)
- ${description2}: option description (translated), "(no description)" (translated) if there's no description
- ${description_en}: option description (in English)
- ${description_en2}: option description (in English), "(no description)" if there's no description
- ${string_values}: string values allowed for set of an integer option using strings
- ${marked}: "1" if option is marked, otherwise "0"
- ${index}: index of option in list
- option data, with color but no spaces:
- same names prefixed by underscore, for example: ${_name}, ${_type}, ...
- option data, raw format (no colors/spaces):
- same names prefixed by two underscores, for example: ${__name}, ${__type}, ...
- option data, only spaces:
- same names prefixed with "empty_", for example: ${empty_name}, ${empty_type}
- other data:
- ${selected_line}: "1" if the line is selected, otherwise "0"
- ${newline}: insert a new line at point, so the option is displayed on multiple lines
fset バッファを操作するキーと入力:
up 1 行上に移動
down 1 行下に移動
pgup 1 ページ上に移動
pgdn 1 ページ下に移動
alt-home << 最上部に移動
alt-end >> 最下部に移動
F11 < 水平左方向にスクロール
F12 > 水平右方向にスクロール
Keys and input to move in on fset buffer:
up move one line up
down move one line down
pgup move one page up
pgdn move one page down
alt-home << move to first line
alt-end >> move to last line
F11 < scroll horizontally on the left
F12 > scroll horizontally on the right
fset バッファでオプションを設定するためのキーと入力:
alt+space t ブール値をトグル
alt+'-' - 整数型および色の場合は値を 1 減らす、その他の型の場合は値を設定する
alt+'+' + 整数型および色の場合は値を 1 増やす、その他の型の場合は値を追加する
alt+f, alt+r r 値をリセット
alt+f, alt+u u 値をアンセット
alt+enter s 値を設定
alt+f, alt+n n 新しい値を設定
alt+f, alt+a a 値を追加
alt+',' , オプションをマーク/アンマーク
shift+up 上の項目に移動してオプションをマーク/アンマーク
shift+down オプションをマーク/アンマークして下の項目に移動
m:xxx フィルタ "xxx" にマッチしたことで表示されるオプションをマーク (オプションの名前や値に対する任意のフィルタが使えます、フィルタの詳細は上を参照してください)
u:xxx フィルタ "xxx" にマッチしたことで表示されるオプションをアンマーク (オプションの名前や値に対する任意のフィルタが使えます、フィルタの詳細は上を参照してください)
Keys and input to set options on fset buffer:
alt+space t toggle boolean value
alt+'-' - subtract 1 from value for integer/color, set value for other types
alt+'+' + add 1 to value for integer/color, append to value for other types
alt+f, alt+r r reset value
alt+f, alt+u u unset value
alt+enter s set value
alt+f, alt+n n set new value
alt+f, alt+a a append to value
alt+',' , mark/unmark option
shift+up move one line up and mark/unmark option
shift+down mark/unmark option and move one line down
m:xxx mark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
u:xxx unmark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
fset バッファを操作するその他のキーと入力:
ctrl+L オプションの再読込とスクリーンの再描画 (コマンド: /fset -refresh)
$ オプションの再読込 (オプションのマーク状態は変わりません)
$$ オプションの再読込 (すべてのオプションをアンマーク)
alt+p p プラグイン説明のオプションをトグル (plugins.desc.*)
alt+v v ヘルプバーをトグル
s:x,y オプションをフィールド x と y でソート (/help fset.look.sort を参照してください)
s: ソートをリセットしてデフォルトの順番に整列 (/help fset.look.sort を参照してください)
w:xxx オプションをファイル "xxx" にエクスポート
w-:xxx ヘルプを含めずに、オプションをファイル "xxx" にエクスポート
w+:xxx ヘルプを含めて、オプションをファイル "xxx" にエクスポート
ctrl+X x オプション表示用の書式を切り替える
q fset バッファを閉じる
Other keys and input on fset buffer:
ctrl+L refresh options and whole screen (command: /fset -refresh)
$ refresh options (keep marked options)
$$ refresh options (unmark all options)
alt+p p toggle plugin description options (plugins.desc.*)
alt+v v toggle help bar
s:x,y sort options by fields x,y (see /help fset.look.sort)
s: reset sort to its default value (see /help fset.look.sort)
w:xxx export options in file "xxx"
w-:xxx export options in file "xxx" without help
w+:xxx export options in file "xxx" with help
ctrl+X x switch the format used to display options
q close fset buffer
fset バッファのマウス操作:
ホイールの上下 行を上方向/下方向へスクロール
左ボタン 行をクリック位置に移動
右ボタン ブール値をトグル (オン/オフ) またはオプション値を編集
右ボタン + 左/右にドラッグ 整数型と色の場合は値を増加/減少、その他の型の場合は値を設定/追加
右ボタン + 上/下にドラッグ 複数のオプションをマーク/アンマーク
Mouse actions on fset buffer:
wheel up/down move line up/down
left button move line here
right button toggle boolean (on/off) or edit the option value
right button + drag left/right increase/decrease value for integer/color, set/append to value for other types
right button + drag up/down mark/unmark multiple options
注意: 入力の先頭に 1 文字以上のスペースがある場合、以降の文字列はフィルタと解釈されます。例えば " q" はすべてのオプションから名前に "q" が含まれるものを検索しますが、"q" は fset バッファを閉じます。
Note: if input has one or more leading spaces, the following text is interpreted as a filter, without the spaces. For example " q" searches all options with "q" inside name while "q" closes the fset buffer.
:
変更された IRC オプションを表示:
Examples:
show IRC options changed:
/fset d:irc.*
名前に "nicklist" が含まれるすべてのオプションを表示:
show all options with "nicklist" in name:
/fset nicklist
値に "red" が含まれるすべてのオプションを表示:
show all values which contain "red":
/fset =red
値が "red" と完全に一致するすべてのオプションを表示:
show all values which are exactly "red":
/fset ==red
irc プラグインから整数型のすべてのオプションを表示:
show all integer options in irc plugin:
/fset c:${file} == irc && ${type_en} == integer
----
+1 -1
View File
@@ -124,7 +124,7 @@ WeeChat がサポートする機能: account-notify、away-notify、cap-notify
* `+connect+`: IRC サーバに接続
----
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
/connect [<server> [<server>...]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: サーバ名、これは:
+1 -1
View File
@@ -6,7 +6,7 @@
** 説明: pass:none[スペルチェックを有効化するコマンドのコンマ区切りリスト (これ以外のコマンドではスペルチェックは無効)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
** デフォルト値: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** 説明: pass:none[バッファに辞書が定義されていない場合に使用されるデフォルト辞書 (または辞書のコンマ区切りリスト) (空のままであれば明示的に有効化されたバッファを除いてスペルチェックを利用しない)]
+70 -61
View File
@@ -194,30 +194,35 @@ command: 実行するコマンド (コマンドの最初に '/' が無い場合
move up|down|left|right|area_up|area_down|area_left|area_right
stop
go: チャットエリア、バー (バーの名前を使った場合)、座標 "x,y" にカーソルを移動
move: 方向を指定してカーソルを移動
stop: カーソルモードを終了
go: move cursor to chat area, a bar (using bar name) or coordinates "x,y"
move: move cursor with direction
stop: stop cursor mode
引数が無ければ、カーソルモードを切り替えます。
Without argument, this command toggles cursor mode.
マウスが有効化されていた場合 (/help mouse を参照してください)、現在のところデフォルトではセンタークリックでカーソルモードが開始されます。
When mouse is enabled (see /help mouse), by default a middle click will start cursor mode at this point.
カーソルモードにおけるチャットメッセージに対するデフォルトキー:
m メッセージの引用
q プレフィックスとメッセージを引用
Q 時間、プレフィックス、メッセージを引用
Default keys in cursor mode on chat messages:
m quote message
q quote prefix + message
Q quote time + prefix + message
カーソルモードにおけるニックネームリストに対するデフォルトキー:
b ニックネームを参加禁止にする (/ban)
k ニックネームをキックする (/kick)
K ニックネームを参加禁止にしてキックする (/kickban)
q ニックネームに送信するクエリを開く (/query)
w ユーザ情報を要求 (/whois)
Default keys in cursor mode on nicklist:
b ban nick (/ban)
k kick nick (/kick)
K kick and ban nick (/kickban)
q open query with nick (/query)
w query information about user (/whois)
:
ニックネームリストに移動:
Other default keys in cursor mode:
arrow move cursor
alt+arrow move cursor to the next area
enter exit cursor mode
Examples:
go to nicklist:
/cursor go nicklist
x=10y=5 の位置に移動:
go to coordinates x=10, y=5:
/cursor go 10,5
----
@@ -974,6 +979,7 @@ command: 実行するコマンド (コマンドが '/' で始まらない場合
resize [-window <number>] [h|v][+|-]<pct>
balance
merge [-window <number>] [all]
close [-window <number>]
page_up|page_down [-window <number>]
refresh
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
@@ -983,59 +989,62 @@ command: 実行するコマンド (コマンドが '/' で始まらない場合
zoom [-window <number>]
bare [<delay>]
list: 開けられたウィンドウのリストアップ (引数無しの場合、このリストが表示されます)
-1: 前のウィンドウに移動
+1: 次のウィンドウに移動
b#: バッファ番号 # のウィンドウに移動
up: 現在のウィンドウの上のウィンドウに移動
down: 現在のウィンドウの下のウィンドウに移動
left: 左のウィンドウに移動
right: 右のウィンドウに移動
number: ウィンドウ番号 (/window list を参照してください)
splith: 現在のウィンドウを水平分割 (/window merge で元に戻る)
splitv: 現在のウィンドウを垂直分割 (/window merge で元に戻る)
resize: ウィンドウサイズの変更、新しいサイズは親ウィンドウの <pct> パーセントで指定
"h" または "v" を指定した場合、最近接の親ウィンドウの横幅または縦幅を変更
balance: 全てのウィンドウのサイズを均等にする
merge: ウィンドウを他のものをマージする (all = 一つのウィンドウにまとめる)
page_up: 1 ページ分上方向にスクロール
page_down: 1 ページ分下方向にスクロール
refresh: 画面のリフレッシュ
scroll: 指定行数 (+/-N) か指定期間 (s=秒、m=分、h=時間、d=日、M=月、y=年) スクロール
scroll_horiz: 指定列数 (+/-N) かウィンドウサイズの割合で水平方向にスクロール (フリーコンテンツを含むバッファ以外は無効)
scroll_up: 数行分上方向にスクロール
scroll_down: 数行分下方向にスクロール
scroll_top: バッファの一番上にスクロール
scroll_bottom: バッファの一番下にスクロール
scroll_beyond_end: バッファの末尾を越えてスクロール
scroll_previous_highlight: 一つ前のハイライトにスクロール
scroll_next_highlight: 次のハイライトにスクロール
scroll_unread: 未読マーカにスクロール
swap: 2 つのウィンドウのバッファを入れ替え (ターゲットウィンドウの方向を任意指定)
zoom: ウィンドウを拡大
bare: 最小限表示を切り替える (自動的に標準表示モードに戻るまでの時間を秒単位で任意指定)
list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
number: window number (see /window list)
splith: split current window horizontally (to undo: /window merge)
splitv: split current window vertically (to undo: /window merge)
resize: resize window size, new size is <pct> percentage of parent window
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
balance: balance the sizes of all windows
merge: merge window with another (all = keep only one window)
close: close window
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content)
scroll_up: scroll a few lines up
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_beyond_end: scroll beyond the end of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
splith splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在のウィンドウサイズに対する割合で計算されます。例えば 25 は size = current_size / 4 の新しいウィンドウを作成します。
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
:
バッファ #1 を表示しているウィンドウに移動:
Examples:
jump to window displaying buffer #1:
/window b1
2 行分上方向にスクロール:
scroll 2 lines up:
/window scroll -2
2 日分上方向にスクロール:
scroll 2 days up:
/window scroll -2d
今日の最初にスクロール:
scroll to beginning of current day:
/window scroll -d
ウィンドウ #2 を拡大:
zoom on window #2:
/window zoom -window 2
ウィンドウを水平分割 (上側ウィンドウの縦幅は現在のウィンドウの縦幅の 30%):
split window horizontally using 30% of space for the window on top:
/window splith 30
ウィンドウサイズを親ウィンドウサイズの 75% に変更:
resize window to 75% of the parent window size:
/window resize 75
ウィンドウサイズの横幅を 10% 増やす:
resize vertical split, add 10% in size:
/window resize v+10
分割を元に戻す:
remove the split, keep the current window:
/window merge
最小限表示を 2 秒間有効にする:
close the current window:
/window close
enable bare display for 2 seconds:
/window bare 2
----
+2 -2
View File
@@ -921,9 +921,9 @@
** デフォルト値: `+""+`
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
** 説明: pass:none[ニックネームに対する色を見つけるハッシュアルゴリズム: djb2 = djb2 (文字の位置が重要: ニックネームに同じ色が使われにくくなる) の亜種、sum = 文字の総和]
** 説明: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), djb2_32 = variant of djb2 using 32-bit instead of 64-bit integer, sum = sum of letters, sum_32 = sum of letters using 32-bit instead of 64-bit integer]
** タイプ: 整数
** 値: djb2, sum
** 値: djb2, sum, djb2_32, sum_32
** デフォルト値: `+djb2+`
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
+53 -27
View File
@@ -242,6 +242,7 @@ WeeChat "core" は以下のディレクトリに配置されています:
|       buflist-bar-item.c | buflist バー要素
|       buflist-command.c | buflist コマンド
|       buflist-config.c | buflist 設定オプション (buflist.conf ファイル)
|       buflist-info.c | buflist の情報/インフォリスト/hdata
|       buflist-mouse.c | buflist マウス動作
|    charset/ | charset プラグイン
|       charset.c | charset 関数
@@ -406,9 +407,21 @@ WeeChat "core" は以下のディレクトリに配置されています:
|          test-core-util.cpp | テスト: ユーティリティ関数
|       gui/ | インターフェースの単体テストを収める最上位ディレクトリ
|          test-gui-line.cpp | テスト: 行
// TRANSLATION MISSING
|          test-gui-nick.cpp | テスト: nicks
|       plugins/ | プラグインの単体テストを収める最上位ディレクトリ
|          irc/ | IRC プラグインの単体テストを収める最上位ディレクトリ
// TRANSLATION MISSING
|             test-irc-color.cpp | Tests: IRC colors.
|             test-irc-config.cpp | テスト: IRC 設定
// TRANSLATION MISSING
|             test-irc-ignore.cpp | Tests: IRC ignores.
// TRANSLATION MISSING
|             test-irc-message.cpp | Tests: IRC messages.
// TRANSLATION MISSING
|             test-irc-mode.cpp | Tests: IRC modes.
// TRANSLATION MISSING
|             test-irc-nick.cpp | Tests: IRC nicks.
|             test-irc-protocol.cpp | テスト: IRC プロトコル
|===
@@ -873,34 +886,47 @@ WeeChat は文字列中に独自の色コードを使うことで、属性
[width="100%",cols="4,2,2,8",options="header"]
|===
| コード | 例 | エリア | 説明
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | オプションを使って属性と色を指定、色コードは以下の表を参照
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | ncurses ペアを使って色を指定 (`/color` バッファのみ有効)
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | 文字色 (WeeChat 色) を設定
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | 文字色 (拡張色) を設定
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | 背景色 (WeeChat 色) を設定
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | 文字色 (拡張色) を設定
| [hex]#19# + "*" + (A)STD + "," + STD | [hex]#19# `+*08,05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
| [hex]#19# + "*" + (A)STD + "," + EXT | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
| [hex]#19# + "*" + (A)EXT + "," + STD | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
| [hex]#19# + "*" + (A)EXT + "," + EXT | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | バーの文字色を設定
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | バーの区切り文字色を設定
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | バーの背景色を設定
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | 文字入力を開始 ("input_text" 要素のみで利用可)
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | 隠し文字入力を開始 ("input_text" 要素のみで利用可)
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | カーソル文字を移動 ("input_text" 要素のみで利用可)
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | 要素を開始
| [hex]#19# + "b" + "l" (小文字の L) | [hex]#19# `+bl+` | bars | 行要素を開始
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | テキストを強調 _(WeeChat バージョン 0.4.2 以上で利用可)_
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | 色をリセット (属性は保存)
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | 属性を設定
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | 属性を削除
| [hex]#1C# | [hex]#1C# | chat + bars | 属性と色をリセット
| コード | 例 | エリア | 説明
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | オプションを使って属性と色を指定、色コードは以下の表を参照
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | ncurses ペアを使って色を指定 (`/color` バッファのみ有効)
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | 文字色 (WeeChat 色) を設定
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | 文字色 (拡張色) を設定
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | 背景色 (WeeChat 色) を設定
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | 文字色 (拡張色) を設定
| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | バーの文字色を設定
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | バーの区切り文字色を設定
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | バーの背景色を設定
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | 文字入力を開始 ("input_text" 要素のみで利用可)
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | 隠し文字入力を開始 ("input_text" 要素のみで利用可)
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | カーソル文字を移動 ("input_text" 要素のみで利用可)
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | 要素を開始
| [hex]#19# + "b" + "l" (小文字の L) | [hex]#19# `+bl+` | bars | 行要素を開始
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | テキストを強調 _(WeeChat バージョン 0.4.2 以上で利用可)_
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | 色をリセット (属性は保存)
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | 属性を設定
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | 属性を削除
| [hex]#1C# | [hex]#1C# | chat + bars | 属性と色をリセット
|===
// TRANSLATION MISSING
[NOTE]
^(1)^ The use of comma as separator was used until WeeChat 2.5. +
With WeeChat ≥ 2.6, a tilde is used to separate foreground from background
color. If you are developing a WeeChat relay client and want to be compatible
with all WeeChat versions, you should support both separators (for example if a
user with WeeChat ≤ 2.5 runs `/upgrade` to a version ≥ 2.6, both separators
could be used at same time in buffers).
オプションを使う色コード
(_src/gui/gui-color.h_ ファイルの _t_gui_color_enum_ を参照):
@@ -1084,7 +1110,7 @@ _component_ には以下から 1 つ選んで記入してください:
irc: add command /unquiet (closes #36)
core: add callback "nickcmp" for nick comparison in buffers
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
ruby: add detection of ruby version 1.9.3 in cmake
ruby: add detection of ruby version 1.9.3 in CMake
python: fix crash when unloading a script without pointer to interpreter
core: update Japanese translations (patch #7783)
----
+3 -3
View File
@@ -51,10 +51,10 @@ https://weechat.org/about/interfaces
[[compile_git]]
=== git リポジトリをクローンした後に WeeChat をコンパイルできません。
WeeChat をコンパイルするには link:weechat_user.ja.html#compile_with_cmake[cmake]
WeeChat をコンパイルするには link:weechat_user.ja.html#compile_with_cmake[CMake]
を使うことが推奨されています。
link:weechat_user.ja.html#compile_with_autotools[autotools] を使って (cmake を使わずに)
link:weechat_user.ja.html#compile_with_autotools[autotools] を使って (CMake を使わずに)
コンパイルする場合、最新の autoconf と automake を使ってください。
他には「開発パッケージ」をインストール方法があります。この場合、インストールするのに必要なパッケージの数が減ります。このパッケージは
@@ -74,7 +74,7 @@ brew info weechat
以下のコマンドで WeeChat をインストールします:
----
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
brew install weechat
----
[[lost]]
+122 -12
View File
@@ -100,14 +100,41 @@ int weechat_plugin_init (struct t_weechat_plugin *plugin,
* _plugin_: WeeChat プラグイン構造体へのポインタ。これはグローバルポインタ
`weechat_plugin` を初期化する際に使われます
* _argc_: プラグインに対する引数の数 (ユーザがコマンドラインで指定)
* _argv_: プラグインに対する引数
* _argc_: プラグインに対する引数の数
// TRANSLATION MISSING
* _argv_: プラグインに対する引数 (see below)
戻り値:
* _WEECHAT_RC_OK_ 成功した場合 (プラグインをロードします)
* _WEECHAT_RC_ERROR_ エラーが起きた場合 (プラグインをロードしません)
// TRANSLATION MISSING
[[plugin_arguments]]
===== Plugin arguments
When the plugin is loaded by WeeChat, it receives the list of arguments
in parameter `argv` and the number of arguments in `argc`.
The arguments can be:
* command line arguments when running the WeeChat binary,
* arguments given to the command `/plugin load xxx`, when the plugin is manually
loaded by the user.
When the arguments come from the command line, only these arguments are sent to
the plugin:
*-a*, *--no-connect*::
WeeChat の起動時にサーバへの自動接続を行わない
*-s*, *--no-script*::
スクリプトの自動ロードを止める
*plugin:option*::
Option for a plugin: only the plugin-related options are sent, for example
only the options starting with `irc:` are sent to the plugin called "irc".
[[plugin_priority]]
===== プラグインの優先度
@@ -254,6 +281,30 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
* C 言語での使用例、
* Python スクリプトでの使用例 (他のスクリプト言語を使う場合も文法は似ています)。
// TRANSLATION MISSING
[[registering]]
=== Registering
Functions to register a script: used only by scripting API, not the C API.
==== register
Register the script.
For more information, see the
link:weechat_scripting.ja.html#register_function[WeeChat scripting guide].
スクリプト (Python) での使用例:
[source,python]
----
# プロトタイプ
weechat.register(name, author, version, license, description, shutdown_function, charset)
----
[NOTE]
This function is not available in the C API.
[[plugins]]
=== プラグイン
@@ -1489,7 +1540,7 @@ if (weechat_string_regcomp (&my_regex, "([0-9]{4})-([0-9]{2})-([0-9]{2})",
==== string_split
_WeeChat バージョン 2.5 で更新。_
_WeeChat バージョン 2.5、2.6 で更新。_
1 つ以上の区切り文字に従って文字列を分割。
@@ -1498,13 +1549,17 @@ _WeeChat バージョン 2.5 で更新。_
[source,C]
----
char **weechat_string_split (const char *string, const char *separators,
int flags, int num_items_max, int *num_items);
const char *strip_items, int flags,
int num_items_max, int *num_items);
----
引数:
* _string_: 分割する文字列
* _separators_: 分割に使う区切り文字
// TRANSLATION MISSING
* _strip_items_: chars to strip from returned items (left/right);
optional, can be NULL
* _flags_:
デフォルト動作を変更するビットフラグの組合せ値; 値が 0 の場合、デフォルト動作
(文字列の先頭と末尾にある区切り文字を削除しない、連続する区切り文字を 1 つにまとめない)
@@ -1542,7 +1597,7 @@ C 言語での使用例:
char **argv;
int argc;
argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
argv = weechat_string_split ("abc de fghi ", " ", NULL, 0, 0, &argc);
/* result: argv[0] == "abc"
argv[1] == "de"
argv[2] == ""
@@ -1553,7 +1608,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
@@ -1566,7 +1621,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
@@ -1580,7 +1635,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
*/
weechat_string_free_split (argv);
argv = weechat_string_split ("abc de fghi ", " ",
argv = weechat_string_split ("abc de fghi ", " ", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
| WEECHAT_STRING_SPLIT_KEEP_EOL,
@@ -1592,6 +1647,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
argc == 3
*/
weechat_string_free_split (argv);
argv = weechat_string_split (" abc, de,, fghi ", ",", " ",
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
0, &argc);
/* result: argv[0] == "abc"
argv[1] == "de"
argv[2] == "fghi"
argv[3] == NULL
argc == 3
*/
weechat_string_free_split (argv);
----
[NOTE]
@@ -4013,6 +4081,40 @@ value = weechat.list_string(item)
weechat.prnt("", "value of item: %s" % weechat.list_string(item))
----
==== list_user_data
_WeeChat バージョン 2.6 以上で利用可_
// TRANSLATION MISSING
Return pointer to the user data of an item.
プロトタイプ:
[source,C]
----
void *weechat_list_user_data (struct t_weelist_item *item);
----
引数:
* _item_: 要素へのポインタ
戻り値:
// TRANSLATION MISSING
* pointer to the user data of item
C 言語での使用例:
// TRANSLATION MISSING
[source,C]
----
weechat_printf (NULL, "user data of item: 0x%lx", weechat_list_user_data (item));
----
[NOTE]
スクリプト API ではこの関数を利用できません。
==== list_size
リストのサイズ (要素の個数) を返す。
@@ -8891,7 +8993,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
NULL);
if (options_url1)
{
weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
weechat_hashtable_set (options_url1, "file_out", "/tmp/weechat.org.html");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
options_url1,
20000,
@@ -8907,7 +9009,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
NULL);
if (options_url2)
{
weechat_hashtable_set (options, "httpheader",
weechat_hashtable_set (options_url2, "httpheader",
"Header1: value1\n"
"Header2: value2");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
@@ -12990,8 +13092,8 @@ weechat.prnt("", "current window is at position (x,y): (%d,%d)"
[source,C]
----
int weechat_window_get_string (struct t_gui_window *window,
const char *property);
const char *weechat_window_get_string (struct t_gui_window *window,
const char *property);
----
引数:
@@ -13003,6 +13105,14 @@ int weechat_window_get_string (struct t_gui_window *window,
* プロパティの文字列値
スクリプト (Python) での使用例:
[source,python]
----
# プロトタイプ
value = weechat.window_get_string(buffer, property)
----
==== window_get_pointer
ウィンドウプロパティのポインタ値を返す。
+2 -2
View File
@@ -87,7 +87,7 @@ $ tar xvjf weechat-devel.tar.bz2
$ cd weechat-devel
----
ソースをビルドするには cmake を使うことを推奨します:
ソースをビルドするには CMake を使うことを推奨します:
----
$ mkdir build
@@ -97,7 +97,7 @@ $ make
$ make install
----
cmake が無い場合は autotools を使うことも可能です:
CMake が無い場合は autotools を使うことも可能です:
----
$ ./autogen.sh
+57 -49
View File
@@ -84,12 +84,11 @@ WeeChat をインストールするには、以下のものが必要です:
[[source_package]]
=== ソースパッケージ
WeeChat は cmake または autotools を使ってコンパイルできます (cmake を使うことが推奨されています)。
WeeChat は CMake または autotools を使ってコンパイルできます (CMake を使うことが推奨されています)。
[NOTE]
macOS では https://brew.sh/[Homebrew] を使ってください:
`brew install weechat --with-python --with-perl`
(ヘルプを見るには: `brew info weechat`)。
`brew install weechat` (ヘルプを見るには: `brew info weechat`)。
[[dependencies]]
==== 依存関係
@@ -103,7 +102,7 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
| C コンパイラ
(gcc, clang, ...) | | *必須* | ビルド
| C++ コンパイラ | | | ビルドとテストの実行、JavaScript プラグイン
| cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、cmake を推奨します)
| cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、CMake を推奨します)
| pkg-config | | *必須* | インストール済みライブラリを検出
| libncursesw5-dev ^(2)^ | | *必須* | ncurses インターフェース
| libcurl4-gnutls-dev | | *必須* | URL 転送
@@ -114,7 +113,7 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
| ca-certificates | | | SSL 接続に必要な証明書、relay プラグインで SSL サポート
| libaspell-dev
∥ libenchant-dev | | | spell プラグイン
| python-dev | 2.6 以上 ^(4)^ | | python プラグイン
| python3-dev | ^(4)^ | | python プラグイン
| libperl-dev | | | perl プラグイン
| ruby2.5, ruby2.5-dev | 1.8 以上 | | ruby プラグイン
| liblua5.3-dev | | | lua プラグイン
@@ -137,8 +136,9 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
*されません* (ワイドキャラクタの表示にバグを生じるでしょう)。 +
^(3)^ IRC SASL 認証で ECDSA-NIST256P-CHALLENGE を使うには、GnuTLS
バージョン 3.0.21 以上が必要です。 +
^(4)^ Python のバージョンは 2.7 をお勧めします (全てのスクリプトはバージョン 2.7
で正しく動きますが、2.7 よりも低いバージョンまたは 3.0 以上のバージョンでは正しく動きません)。
// TRANSLATION MISSING
^(4)^ By default Python 3.x is used. If you enable option `ENABLE_PYTHON2` (see
below), only the version 2.7 of Python is recommended.
Debian および Ubuntu
ベースのディストリビューションを使っており、_/etc/apt/sources.list_ ファイルで "deb-src"
@@ -149,7 +149,7 @@ Debian および Ubuntu
----
[[compile_with_cmake]]
==== cmake によるコンパイル
==== CMake によるコンパイル
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
@@ -171,7 +171,7 @@ $ make
$ make install
----
cmake に対するオプションを指定するには、以下の書式を使ってください: "-DOPTION=VALUE"。
CMake に対するオプションを指定するには、以下の書式を使ってください: "-DOPTION=VALUE"。
よく利用されるオプションのリスト:
@@ -257,12 +257,9 @@ cmake に対するオプションを指定するには、以下の書式を使
| ENABLE_PYTHON | `ON`, `OFF` | ON |
<<scripts_plugins,Python プラグイン>>のコンパイル。
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
Python 3 で <<scripts_plugins,Python プラグイン>>をコンパイル。 +
このオプションの有効化は非推奨です。なぜなら、多くのスクリプトはまだ
Python 3 と互換性がないからです。 +
Python 3 への移行の進捗状況は以下のページを参照してください:
https://weechat.org/scripts/python3/
// TRANSLATION MISSING
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
<<relay_plugin,リレープラグイン>>のコンパイル。
@@ -313,9 +310,9 @@ $ ccmake ..
==== autotools によるコンパイル
[WARNING]
cmake 以外を用いた WeeChat のビルドは公式にサポートされません。cmake
CMake 以外を用いた WeeChat のビルドは公式にサポートされません。CMake
を利用できない場合のみ autotools を使ってください。 +
autotools を用いてビルドする場合、cmake よりも多くの依存パッケージとより長い時間が必要です。
autotools を用いてビルドする場合、CMake よりも多くの依存パッケージとより長い時間が必要です。
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
@@ -354,13 +351,13 @@ $ ./configure --help
* libcpputest-dev
* C++ compiler
テストは WeeChat のコンパイル時に有効化しなければいけません (cmake を使う場合):
テストは WeeChat のコンパイル時に有効化しなければいけません (CMake を使う場合):
----
$ cmake .. -DENABLE_TESTS=ON
----
コンパイル終了後、build ディレクトリでテストを起動してください (cmake を使う場合):
コンパイル終了後、build ディレクトリでテストを起動してください (CMake を使う場合):
----
$ ctest -V
@@ -394,7 +391,7 @@ WeeChat がクラッシュした場合、または WeeChat
[[debug_info]]
==== デバッグ情報
cmake でコンパイルする場合:
CMake でコンパイルする場合:
----
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
@@ -816,7 +813,7 @@ irc プラグインでは、<<option_irc.color.mirc_remap,irc.color.mirc_remap>>
[[colors]]
=== 色
WeeChat ではバーやチャットエリアにおけるテキスト表示に 256 個の色ペアを利用できます
WeeChat ではバーやチャットエリアにおけるテキスト表示に 32767 個の色ペアを利用できます
(この機能を利用するには WeeChat が実行されている端末が 256 色表示に対応している必要があります)。
_TERM_ 環境変数の値によって、WeeChat
@@ -825,12 +822,12 @@ _TERM_ 環境変数の値によって、WeeChat
[width="50%",cols="8,>2,>2",options="header"]
|===
| $TERM | 色 | ペア
| "rxvt-unicode", "xterm", ... | 88 | 256
| "rxvt-256color", "xterm-256color", ... | 256 | 256
| "screen" | 8 | 64
| "screen-256color" | 256 | 256
| "tmux" | 8 | 64
| "tmux-256color" | 256 | 256
| "rxvt-unicode", "xterm", ... | 88 | 32767
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
| "screen" | 8 | 64
| "screen-256color" | 256 | 32767
| "tmux" | 8 | 64
| "tmux-256color" | 256 | 32767
|===
`weechat --colors` を実行するか、`/color` コマンドを WeeChat
@@ -2605,9 +2602,14 @@ WeeChat で TOR サービスを使った socks5 プロキシを作成してく
そして、新しいサーバを追加します。例えば:
----
/server add freenode-tor freenodeok2gncmy.onion
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
----
// TRANSLATION MISSING
[NOTE]
If you are using an old version of TOR (before 0.3.5) you should use the address
`freenodeok2gncmy.onion` instead.
TOR プロキシを設定:
----
@@ -2991,16 +2993,21 @@ logger.file.mask
以下のファイルが作成されます:
....
~/.weechat/
|--- logs/
|--- 2010/
|--- 11/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
|--- 2010/
|--- 12/
| irc.server.freenode.weechatlog
| irc.freenode.#weechat.weechatlog
~/.weechat
└── logs
├── 2010
│ ├── 11
├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
│ └── 12
│ ├── irc.server.freenode.weechatlog
└── irc.freenode.#weechat.weechatlog
├── 2011
│ ├── 01
│ │ ├── irc.server.freenode.weechatlog
│ │ └── irc.freenode.#weechat.weechatlog
│ ├── 02
...
....
[[logger_irc_files_by_server_channel]]
@@ -3015,17 +3022,18 @@ IRC サーバ名を使ったディレクトリに、チャンネル名を使っ
以下のファイルが作成されます:
....
~/.weechat/
|--- logs/
|--- irc/
|--- freenode/
| freenode.weechatlog
| #weechat.weechatlog
| #mychan.weechatlog
|--- oftc/
| oftc.weechatlog
| #chan1.weechatlog
| #chan2.weechatlog
~/.weechat
└── logs
└── irc
├── freenode
│ ├── freenode.weechatlog
│ ├── #weechat.weechatlog
│ └── #mychan.weechatlog
├── oftc
│ ├── oftc.weechatlog
│ ├── #chan1.weechatlog
│ └── #chan2.weechatlog
...
....
[[logger_commands]]
+3
View File
@@ -252,6 +252,8 @@ _isupport_   (string) +
_prefix_modes_   (string) +
_prefix_chars_   (string) +
_nick_max_length_   (integer) +
_user_max_length_   (integer) +
_host_max_length_   (integer) +
_casemapping_   (integer) +
_chantypes_   (string) +
_chanmodes_   (string) +
@@ -970,6 +972,7 @@ _charset_   (string) +
_priority_   (integer) +
_initialized_   (integer) +
_debug_   (integer) +
_upgrading_   (integer) +
_variables_   (hashtable) +
_prev_plugin_   (pointer, hdata: "plugin") +
_next_plugin_   (pointer, hdata: "plugin") +
+2
View File
@@ -10,6 +10,8 @@
| alias | alias_default | lista domyślnych aliasów | - | -
| buflist | buflist | lista buforów w w elemencie paska buflist | - | nazwa elementu paska buflist (opcjonalne)
| fset | fset_option | lista opcji fset | wskaźnik opcji fset (opcjonalne) | nazwa opcji (wildcard "*" jest dozwolony) (opcjonalne)
| guile | guile_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu (wildcard "*" jest dozwolony) (opcjonalne)
+4
View File
@@ -108,6 +108,10 @@
| weechat | pid | WeeChat PID (ID procesu) | -
| weechat | term_color_pairs | ilość par kolorów wspieranych przez terminal | -
| weechat | term_colors | ilość kolorów wpieranych przez terminal | -
| weechat | term_height | wysokość terminala | -
| weechat | term_width | szerokość terminala | -
+34 -8
View File
@@ -62,6 +62,8 @@
| unix_socket_path | string |
| abstract_unix_socket | string |
| path_as_is | long |
| proxy_service_name | string |
@@ -72,15 +74,21 @@
| tcp_fastopen | long |
| socks5_auth | long |
| haproxyprotocol | long |
| doh_url | string |
| netrc | long | ignored, optional, required
| userpwd | string |
| proxyuserpwd | string |
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
| netrc_file | string |
@@ -104,6 +112,8 @@
| login_options | string |
| disallow_username_in_url | long |
| autoreferer | long |
| followlocation | long |
@@ -114,8 +124,6 @@
| postfields | string |
| httppost | list |
| referer | string |
| useragent | string |
@@ -170,6 +178,8 @@
| stream_weight | long |
| request_target | string |
| mail_from | string |
| mail_rcpt | list |
@@ -258,6 +268,10 @@
| maxfilesize_large | long long |
| timevalue_large | long long |
| upload_buffersize | long |
| timeout | long |
| low_speed_limit | long |
@@ -300,9 +314,15 @@
| connect_to | list |
| happy_eyeballs_timeout_ms | long |
| dns_shuffle_addresses | long |
| upkeep_interval_ms | long |
| sslcert | string |
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| ssl_verifypeer | long |
@@ -342,7 +362,7 @@
| gssapi_delegation | long | none, policy_flag, flag
| ssl_options | long | allow_beast, no_revoke
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| ssl_enable_alpn | long |
@@ -372,11 +392,11 @@
| proxy_sslkeytype | string |
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
| proxy_ssl_cipher_list | list |
| proxy_ssl_options | long | allow_beast, no_revoke
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
| proxy_ssl_verifyhost | long |
@@ -388,6 +408,10 @@
| proxy_tlsauth_username | string |
| tls13_ciphers | list |
| proxy_tls13_ciphers | list |
| ssh_auth_types | mask | none, policy_flag, flag
| ssh_public_keyfile | string |
@@ -398,6 +422,8 @@
| ssh_knownhosts | string |
| ssh_compression | long |
| new_file_perms | long |
| new_directory_perms | long |
@@ -7,8 +7,6 @@
| Alias | Komenda | Dopełnienie
| /AAWAY | /allserv /away | -
| /AME | /allchan /me | -
| /AMSG | /allchan /msg * | -
| /ANICK | /allserv /nick | -
| /BEEP | /print -beep | -
| /BYE | /quit | -
@@ -35,8 +33,9 @@
| /UMODE | /mode $nick | -
| /V | /command core version | -
| /W | /who | -
| /WC | /window merge | -
| /WC | /window close | -
| /WI | /whois | -
| /WII | /whois $1 $1 | -
| /WM | /window merge | -
| /WW | /whowas | -
|===
+2 -2
View File
@@ -27,7 +27,7 @@
** domyślna wartość: `+0+`
* [[option_exec.command.shell]] *exec.command.shell*
** opis: pass:none[powłoka używana przez komendę "/exec -sh"; może to być nazwa powłoki jeśli znajduje się ona w PATH (na przykład "bash") lub ścieżka absolutna (na przykład "/bin/bash")]
** opis: pass:none[powłoka używana przez komendę "/exec -sh"; może to być nazwa powłoki jeśli znajduje się ona w PATH (na przykład "bash") lub ścieżka absolutna (na przykład "/bin/bash"); jeśli wartość jest pusta, zostanie użyte "sh" (uwaga: zawartość jest przetwarzana, zobacz /help eval)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"sh"+`
** domyślna wartość: `+"${env:SHELL}"+`
+19 -17
View File
@@ -24,12 +24,12 @@
<filtr>
-bar: dodaj pomoc dla paska
-refresh: odświerza litę opcji, następnie cały ekran (komenda: /window refresh)
-refresh: odświeża listę opcji, następnie cały ekran (komenda: /window refresh)
-up: przesuwa linie do góry o podaną "ilość" linii
-down: przesuwa linie w dół o podaną "ilość" linii
-left: przewija bufor o "procent" szerokości w lewo
-right: przewija bufor o "procent" szerokości w prawo
-go: wybierz numer linii, pierwsza linia ma numer 0 ("end" wyiera ostatnią linię)
-go: wybierz numer linii, pierwsza linia ma numer 0 ("end" wybiera ostatnią linię)
-toggle: zmienia wartość opcji boolowskiej
-add: dodaje "wartość" (może być ujemna) do liczb i kolorów, ustawia/dodaje do wartości innych typów (ustawia, jeśli wartość jest ujemna, dodaje jeśli wartość jest pozytywna)
-reset: resetuje wartość opcji
@@ -51,9 +51,11 @@
d:xxx pokazuje tylko zmienione opcje z "xxx" w nazwie
d=xxx pokazuje tylko zmienione opcje z wartością zawierającą "xxx"
d==xxx pokazuje tylko zmienione opcje z wartością równą "xxx"
h=xxx pokazuje tylko opcje z "xxx" w opisie (przetłumaczone)
he=xxx pokazuje tylko opcje z "xxx" w opisie (po Angielsku)
=xxx pokazuje tylko opcje z wartością zawierającą "xxx"
==xxx pokazuje tylko opcje z wartością równą "xxx"
c:xxx pokazuje tylko opcje pasujące do przretworzonego warunku "xxx", używając najstępujących zmiennych: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
c:xxx pokazuje tylko opcje pasujące do przetworzonego warunku "xxx", używając następujących zmiennych: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
Linie z opcjami są wyświetlane z użyciem przetworzonych ciągów (zobacz /help eval aby poznać format), z tymi opcjami:
- fset.format.option1: pierwszy format dla opcji
@@ -75,7 +77,7 @@ Następujące zmienne mogą zostać użyte w tych opcjach:
- ${value}: wartość opcji
- ${value_undef}: "1" jeśli wartość jest pusta, inaczej "0"
- ${value_changed}: "1" jeśli wartość różni się od domyślnej, inaczej "0"
- ${value2}: wartość opcji, z odziedziczoną wartościa jeśli pusta
- ${value2}: wartość opcji, z odziedziczoną wartością jeśli pusta
- ${parent_value}: wartość nadrzędnej opcji
- ${min}: minimalna wartość
- ${max}: maksymalna wartość
@@ -94,13 +96,13 @@ Następujące zmienne mogą zostać użyte w tych opcjach:
- te same nazwy poprzedzone "empty_", na przykład: ${empty_name}, ${empty_type}
- inne dane:
- ${selected_line}: "1" jeśli linia jest zaznaczona, inaczej "0"
- ${newline}: dodaje znak nowej linii, dzięki czemu opcja wyświetlana jestw kilku liniach
- ${newline}: dodaje znak nowej linii, dzięki czemu opcja wyświetlana jest w kilku liniach
Klawisze i polecenia do poruszania się w buforze fset:
up przesuwa linię do góry
down przesuwa linie w dół
pgup przesówa stronę do góry
pgdn przesówa stronę w dół
pgup przesuwa stronę do góry
pgdn przesuwa stronę w dół
alt-home << przenosi do pierwszej linii
alt-end >> przenosi do ostatniej linii
F11 < przewija w lewo
@@ -115,29 +117,29 @@ Klawisze i polecenia do ustawiania opcji w buforze fset:
alt+enter s ustawia wartość
alt+f, alt+n n ustawia nową wartość
alt+f, alt+a a dodaje do wartości
alt+',' , zazcnacza/odznacza opcję
alt+',' , zaznacza/odznacza opcję
shift+up przesuwa jedną linię w górę oraz zaznacza/odznacza opcję
shift+down zaznacza/odznacza opcję i przesuwa jedną linię w dół
m:xxx zaznacza wyświetlane opcje pasujące do filtru "xxx" (dowolny filtr dla opcji lub wartoci, zobacz wyżej jak definiować filtry)
u:xxx odznacza wyświetlane opcje pasujące do filtru "xxx" (dowolny filtr dla opcji lub wartoci, zobacz wyżej jak definiować filtry)
m:xxx zaznacza wyświetlane opcje pasujące do filtru "xxx" (dowolny filtr dla opcji lub wartości, zobacz wyżej jak definiować filtry)
u:xxx odznacza wyświetlane opcje pasujące do filtru "xxx" (dowolny filtr dla opcji lub wartości, zobacz wyżej jak definiować filtry)
Pozostałe skróty klawiszowe i polecenia w buforze fset:
ctrl+L odświerza opcje i cały ekran (komenda: /fset -refresh)
$ odświerza opcje (pozotawia zaznaczenia)
$$ odświerza opcje (kasuje zaznaczenia)
ctrl+L odświeża opcje i cały ekran (komenda: /fset -refresh)
$ odświeża opcje (pozostawia zaznaczenia)
$$ odświeża opcje (kasuje zaznaczenia)
alt+p p przełącza opcje opisu wtyczki (plugins.desc.*)
alt+v v przełącza pasek pomocy
s:x,y sortuje opcje po wartościach x,y (zobacz /help fset.look.sort)
s: resetuje sortowanie do domyślnych wartości (zobacz /help fset.look.sort)
w:xxx eksportuje opcje do pliku "xxx"
w-:xxx eskportuje opcje do pliku "xxx" bez pomocy
w+:xxx eskportuje opcje do pliku "xxx" z pomocą
ctrl+X x przełącza format uzywany do wyświetlenia opcji
w-:xxx eksportuje opcje do pliku "xxx" bez pomocy
w+:xxx eksportuje opcje do pliku "xxx" z pomocą
ctrl+X x przełącza format używany do wyświetlenia opcji
q zamyka bufor fset
Akcje myszy w buforze fset:
rolka up/down przesuwa linie w gorę/dół
lewy przyciks przesuwa linię w wybrane miejsce
lewy przycisk przesuwa linię w wybrane miejsce
prawy przycisk przełącza wartość boolowską (on/off) lub edytuje wartość pola
prawy przycisk + przeciągnięcie w lewo/prawo zwiększa/zmniejsza wartość liczby/koloru, ustawia/dodaje wartości innych typów
prawy przycisk + przeciągnięcie w górę/dół zaznacza/odznacza wiele opcji
+1 -1
View File
@@ -124,7 +124,7 @@ Przykłady:
* `+connect+`: łączy się z serwerem(ami) IRC
----
/connect [<serwer> [<serwer>...] [-<opcja>[=<wartość>]] [-no<opcja>] [-nojoin] [-switch]
/connect [<serwer> [<serwer>...]] [-<opcja>[=<wartość>]] [-no<opcja>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
serwer: nazwa serwera, może nią być:
+1 -1
View File
@@ -6,7 +6,7 @@
** opis: pass:none[oddzielona przecinkiem lista komend, dla których sprawdzana jest poprawna pisownia (sprawdzanie pisowni jest wyłączone dla pozostałych komend)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
** domyślna wartość: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** opis: pass:none[domyślny słownik (lub oddzielona przecinkami lista słowników) używany, kiedy bufor nie ma zdefiniowanego słownika (zostaw puste, aby wyłączyć sprawdzanie pisowni w buforach, w których nie zostało to włączone)]
+13 -4
View File
@@ -211,9 +211,14 @@ Domyślne skróty dla trybu kursora na liście nicków:
b zbanuj nick (/ban)
k wykop nick (/kick)
K wykop i zbanuj nick (/kickban)
q otworz okno prywatnej rozmowy (/query)
q otwórz okno prywatnej rozmowy (/query)
w zapytaj o informacje o użytkowniku (/whois)
Pozostałe domyślne skróty w trybie kursora:
strzałka przesuwa kursor
alt+strzałka przenosi kursor do następnego obszaru
enter wyjście z trybu kursora
Przykłady:
przejdź do listy nicków:
/cursor go nicklist
@@ -974,11 +979,12 @@ Przykłady:
resize [-window <numer>] [h|v][+|-]<pct>
balance
merge [-window <numer>] [all]
close [-window <numer>]
page_up|page_down [-window <numer>]
refresh
scroll [-window <numer>] [+|-]<wartość>[s|m|h|d|M|y]
scroll_horiz [-window <numer>] [+|-]<wartość>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <numer>]
scroll_up|scroll_down|scroll_top|scroll_bottom| scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight| scroll_unread [-window <numer>]
swap [-window <numer>] [up|down|left|right]
zoom [-window <numer>]
bare [<opóźnienie>]
@@ -998,6 +1004,7 @@ Przykłady:
jeśli "h" lub "v" są podane, zmiana rozmiaru wpływa na najbliższe nadrzędne okno z podziałem tego typu (poziomy/pionowy)
balance: balansuje rozmiary pomiędzy oknami
merge: łączy okno z innym (all = posiadanie tylko jednego okna)
close: zamyka okno
page_up: przewija stronę do góry
page_down: przewija stronę w dół
refresh: odświeża ekran
@@ -1013,7 +1020,7 @@ scroll_next_highlight: przewija do następnego highlighta
scroll_unread: przewija do znacznika nie przeczytania
swap: zamienia bufory między dwoma oknami (z opcjonalnym kierunkiem dla docelowego okna)
zoom: powiększa okno
bare: przełącza niesformatowane wysiwetlanie (z opcjonalnym czasem, po jakim nastąpi automatyczny powrót do standardowego trybu)
bare: przełącza niesformatowane wyświetlanie (z opcjonalnym czasem, po jakim nastąpi automatyczny powrót do standardowego trybu)
Dla splith i splitv, pct oznacza procent reprezentujący rozmiar nowego okna, wyliczony z obecnego okna jako odniesieniem. Na przykład 25 oznacza utworzenie nowego okna o rozmiarze = obecny_rozmiar / 4
@@ -1034,8 +1041,10 @@ Przykłady:
/window resize 75
zmienia rozmiar pionowego podziału, dodaje 10% do rozmiaru:
/window resize v+10
usuń podział:
usuń podział, zachowując obecne okno:
/window merge
zamyka obecne okno:
/window close
włączenie trybu niesformatowanego na 2 sekundy:
/window bare 2
----
+2 -2
View File
@@ -921,9 +921,9 @@
** domyślna wartość: `+""+`
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
** opis: pass:none[algorytm haszujący używany do znalezienia koloru dla nicka: djb2 = odmiana djb2 (pozycja liter ma znaczenie: anagramy nicka mają różne kolory), sum = suma liter]
** opis: pass:none[algorytm haszujący używany do znalezienia koloru dla nicka: djb2 = odmiana djb2 (pozycja liter ma znaczenie: anagramy nicka mają różne kolory), djb2_32 = wariant djb2 używający 32 bitowej liczby zamiast 64 bitowej, sum = suma liter, sum_32 = suma liter używając 32 bitowej liczby zamiast 64 bitowej]
** typ: liczba
** wartości: djb2, sum
** wartości: djb2, sum, djb2_32, sum_32
** domyślna wartość: `+djb2+`
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
+3 -3
View File
@@ -52,10 +52,10 @@ https://weechat.org/about/interfaces
=== Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
Zalecaną metodą kompilacji WeeChat jest użycie
link:weechat_user.pl.html#compile_with_cmake[cmake].
link:weechat_user.pl.html#compile_with_cmake[CMake].
Jeśli kompilujesz używając link:weechat_user.pl.html#compile_with_autotools[autotools]
(nie cmake), upewnij się, że posiadasz najnowszą wersję autoconf i automake.
(nie CMake), upewnij się, że posiadasz najnowszą wersję autoconf i automake.
Innym sposobem jest zainstalowanie "paczki deweloperskiej", która wymaga mniej
zależności. Ten pakiet jest budowany prawie codziennie z użyciem repozytorium
@@ -74,7 +74,7 @@ brew info weechat
Możesz zainstalować WeeChat za pomocą komendy:
----
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
brew install weechat
----
[[lost]]

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