mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 22:24:47 +02:00
Compare commits
388 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bc3f14eacb | |||
| f07a63755c | |||
| c6f30816dd | |||
| c55b5836f0 | |||
| e93db7f99d | |||
| 22ee76cdd6 | |||
| cf2d0733d3 | |||
| 75b72e7f69 | |||
| 03a6d9306a | |||
| 398cfc473a | |||
| e5df225d9f | |||
| f5fa814fa4 | |||
| 34cbe56a6f | |||
| a17a80f1d0 | |||
| 405707d544 | |||
| 2a272a7543 | |||
| d4b15ea432 | |||
| 3a954405d7 | |||
| 42ae480f0a | |||
| f4fe63c312 | |||
| 68b017935a | |||
| 97ceefd183 | |||
| 7a757d94c0 | |||
| f07d439cec | |||
| 3f670d31fe | |||
| 558087325d | |||
| 3766d52bd3 | |||
| 2df0b3e2c3 | |||
| c1115c04d5 | |||
| e6d850daa0 | |||
| a0ffb9e5dd | |||
| 95a940294e | |||
| d49c6515e4 | |||
| 2f375b652b | |||
| 8a024dddad | |||
| 951c030082 | |||
| 5def4f72fe | |||
| 3db2f71112 | |||
| 09917a807b | |||
| 334f88ae2c | |||
| 2e14645691 | |||
| 2c0bbdf9b9 | |||
| 5839df90e7 | |||
| 6082453002 | |||
| d0568dce79 | |||
| 00a873dda0 | |||
| 18e2badfbd | |||
| 120b048efb | |||
| 600e438b90 | |||
| bf3a8628ae | |||
| 1478ecd77d | |||
| 5c9d9bc8fc | |||
| ff00323363 | |||
| 1d2e5ce700 | |||
| 2eebe241ab | |||
| e93cebf02c | |||
| c3db4946b2 | |||
| 86d4da2fd1 | |||
| e39ef93903 | |||
| 9663f79746 | |||
| e0b7d2a645 | |||
| 99bb1454a4 | |||
| caa7af253a | |||
| 36300c763d | |||
| e3ffef457f | |||
| 6d11468059 | |||
| 6b19987e7f | |||
| d91039ebd0 | |||
| 2e6249588f | |||
| 847ce17718 | |||
| 15e2da3aac | |||
| ca22e49041 | |||
| 764b309e92 | |||
| c0402bce52 | |||
| 9fe5fa23a0 | |||
| e8a335a3e3 | |||
| e9983821e7 | |||
| b25a9b11a0 | |||
| f5038bccbc | |||
| 20b2bdedc2 | |||
| 95366c37b7 | |||
| 80bb54fed8 | |||
| 68d452b559 | |||
| 357b7e0d55 | |||
| d8106f863a | |||
| 2e570c599b | |||
| 8280a3b65b | |||
| f7cf044f33 | |||
| 98aca3343a | |||
| d9ee4a3c13 | |||
| 19d84e975e | |||
| c33a28cfca | |||
| 145423c11f | |||
| 4865fe07e2 | |||
| cc163a0e7e | |||
| 17e7796669 | |||
| 83c4b940a6 | |||
| 8c1379e820 | |||
| e86e558f3f | |||
| 718a317cfb | |||
| c275f9d994 | |||
| 9285afc3e2 | |||
| c7d21a3ea6 | |||
| 1b54cd24ed | |||
| d3a9e4e74b | |||
| 8fd4a80af8 | |||
| 091a17b138 | |||
| e89d6d69ad | |||
| 3c9eb6dcac | |||
| 8e9692809d | |||
| 6388d36858 | |||
| 8198aade2e | |||
| ca6e483cdc | |||
| 547e2b934e | |||
| 07deaf97ec | |||
| daef5971ae | |||
| 04aea1bcb5 | |||
| 4b7be27028 | |||
| 68c70e5538 | |||
| 865dd61d31 | |||
| b53f3c2db8 | |||
| 56698151db | |||
| 1285a7d391 | |||
| 36b62cfc5e | |||
| d97fed80cb | |||
| 80ca209e70 | |||
| d302294723 | |||
| 60422ca6b1 | |||
| 9d3388b09e | |||
| d10af1037b | |||
| 10b4fffaca | |||
| c48dee3211 | |||
| cf726265d1 | |||
| 8b2cdf3032 | |||
| 3523b5e4e2 | |||
| c6c420c698 | |||
| cfe34388fb | |||
| 3eaa1a3a6e | |||
| de88cd3b58 | |||
| b88582c7ec | |||
| cab9496a70 | |||
| c0c837b1be | |||
| 7c30dbcf05 | |||
| d665e2d489 | |||
| 16346255f1 | |||
| 2a7f557f05 | |||
| 8e8e982af6 | |||
| 883c12dec2 | |||
| ad5fde5966 | |||
| 119664d090 | |||
| 97ede70307 | |||
| c26ff6c51b | |||
| 9e34a0e917 | |||
| befcd09d63 | |||
| 8aba934c50 | |||
| 3b88065266 | |||
| ce2c4b74a2 | |||
| d3d0948e2e | |||
| 68dce2b47a | |||
| b45d2105a5 | |||
| 74c63c0541 | |||
| 770d87c3d6 | |||
| 099e11d7b8 | |||
| 8af3a4cef8 | |||
| 7226b005e9 | |||
| 45509e1cd1 | |||
| cdb4823fad | |||
| 82f0b3b121 | |||
| e6409355b6 | |||
| e2675f5afe | |||
| e6388c1d1a | |||
| 9779f56125 | |||
| 818a4c95a9 | |||
| 8f43dceedf | |||
| 05c60a2292 | |||
| 798c7a5262 | |||
| 732f24b6ba | |||
| 0fc0071297 | |||
| e8b73aa711 | |||
| 33232f3f05 | |||
| 5e5278b6a3 | |||
| eee806370b | |||
| f8b2e1d525 | |||
| 82a2f764bc | |||
| 680e7dc95f | |||
| a0b7220d23 | |||
| 48a92276e5 | |||
| e483113345 | |||
| ea11623793 | |||
| 107650d7d7 | |||
| 2555c378a2 | |||
| 6e7df56592 | |||
| 9250d769fd | |||
| 5bdbcae892 | |||
| 11faf85402 | |||
| ca07c03bf3 | |||
| 18364586d9 | |||
| 669f1894e6 | |||
| 45a1b9b20e | |||
| a414fb9da5 | |||
| bd7c503e7b | |||
| eaace4acdb | |||
| 328aa8f202 | |||
| 244595d94f | |||
| 61d7a4c678 | |||
| 3e579c94f6 | |||
| 7184d34371 | |||
| 9a8010eead | |||
| 3fd298bfbe | |||
| 7c1586e8ff | |||
| 1c30fe9b0a | |||
| 9c016af6fb | |||
| 08d5839fa1 | |||
| b11e2b82f4 | |||
| 85b9d72e37 | |||
| 4511996b84 | |||
| 93646c0b24 | |||
| 5ddd786332 | |||
| 9731f5a8e6 | |||
| 6e19e9d8b2 | |||
| 9f6caa4e03 | |||
| 74cc16ef07 | |||
| 1fc8c551d8 | |||
| 764fb7c4ad | |||
| c1b34b0ff5 | |||
| 328fc3845e | |||
| 524c813485 | |||
| 2dea224a38 | |||
| 84f65e1339 | |||
| 24fbeaf36e | |||
| d1013b31bd | |||
| 945782195f | |||
| 06771e66fb | |||
| d83167b586 | |||
| cd4d958e82 | |||
| 254ecbf4c6 | |||
| ad6ec011bd | |||
| 26e16fdea7 | |||
| 50a9c88b79 | |||
| 97e81e197d | |||
| 488b3f8e7b | |||
| 3160d2accd | |||
| fea5b868ee | |||
| 6dccc3181a | |||
| 16dac7193b | |||
| 4503dbb013 | |||
| fb57abbadf | |||
| bc675bd270 | |||
| 0f8fede68a | |||
| 958863b4a8 | |||
| d9e1b545b4 | |||
| 1bf4e466f9 | |||
| de4231c842 | |||
| 19cb459685 | |||
| 51dfb1fb78 | |||
| fec71ae30c | |||
| 99b4f9a98d | |||
| 17fc815da9 | |||
| ba746dcb1b | |||
| 90c23ef418 | |||
| bca7c7438a | |||
| 709b2b5796 | |||
| ec78084f49 | |||
| 5eb64b2dfa | |||
| 977b3581fa | |||
| 00578a70e1 | |||
| ffd7cc90fb | |||
| 8223da0fe6 | |||
| 453e60ed23 | |||
| e29332ead6 | |||
| 139787b26f | |||
| 0bcae707fc | |||
| e0ac58a26a | |||
| 423f609828 | |||
| 94312b6622 | |||
| 66f9b1762a | |||
| c627743b29 | |||
| f482b611a1 | |||
| b450ccdb6c | |||
| d42d837924 | |||
| fc7b00562c | |||
| 0e9f841974 | |||
| 58e6e41948 | |||
| 8f2bcb1a09 | |||
| 2202cd9f85 | |||
| 7fb77aabfa | |||
| 8fee9c1778 | |||
| 17eedc35e2 | |||
| 57b19b6c74 | |||
| 7415eaa1f1 | |||
| 42c8f86533 | |||
| dcd62f7ee6 | |||
| 7f93f81a82 | |||
| 358b8ad2a6 | |||
| e1d7459660 | |||
| e3b8a6d21a | |||
| 9a7c45e7f6 | |||
| 87f2bb0a23 | |||
| 90ed422afd | |||
| aee09ad0a0 | |||
| 9f67ae369c | |||
| c0fbb5aaf5 | |||
| 67d4c96de3 | |||
| 9e5bfd70a8 | |||
| a0cac1a5dd | |||
| c30949b411 | |||
| e6cd8c9519 | |||
| 89e162fced | |||
| 4c68c4cd48 | |||
| 1aa5b46ba5 | |||
| 80def4a36b | |||
| d97467ff67 | |||
| 05464f866b | |||
| 4e0ffd18c2 | |||
| 6fdf39165a | |||
| 5e2091e802 | |||
| c28696e602 | |||
| 0505a0ff76 | |||
| 4ef3011ea9 | |||
| 08895863d9 | |||
| fd1899aa12 | |||
| 3eb4b203f2 | |||
| 969376c88a | |||
| 17381d983f | |||
| 631ca3f8df | |||
| a464135f39 | |||
| ef107fd66d | |||
| d3ceabf5de | |||
| 02ea93e88f | |||
| 824c172984 | |||
| 759ffc3d21 | |||
| 6534919868 | |||
| 02847246b2 | |||
| 2b702f21d3 | |||
| fc16a4c141 | |||
| 1cf65df089 | |||
| 01103cb02a | |||
| 6908eec160 | |||
| cfd4ab909f | |||
| 554892131d | |||
| a15ae18c81 | |||
| 7ed85f3ed3 | |||
| df4acd5d3d | |||
| bb83685ac6 | |||
| 91961433e3 | |||
| 9aa0a94156 | |||
| 970f20af31 | |||
| 62d0347d4b | |||
| 5564baf424 | |||
| 315f769ab2 | |||
| 5f62eb1f2b | |||
| 143f694fe2 | |||
| 230c436dd4 | |||
| b3f34ecf33 | |||
| 3253500d15 | |||
| fce44675c4 | |||
| 0ab7c20f0d | |||
| b36c6c2e26 | |||
| 9b969be1f9 | |||
| 954a7462c0 | |||
| 434c1ee3c4 | |||
| 6bb4d64512 | |||
| 4572e46ced | |||
| c1130446eb | |||
| 9f44a1087b | |||
| 08ad5be78d | |||
| cba7c764da | |||
| c3fd7e4e44 | |||
| 62f769e736 | |||
| d4ca32832e | |||
| c5a1744c09 | |||
| 99d42ba297 | |||
| fca21cac3f | |||
| dfef851516 | |||
| 584f54d443 | |||
| ed79b8c2e9 | |||
| 1f6a7e23ad | |||
| 452a20c05e | |||
| bf19d0482c | |||
| 27b3b50fa9 | |||
| 237955efcc | |||
| cd5ffb21cb | |||
| a79c3b6141 | |||
| e215e6b7ae | |||
| cba83f08a2 | |||
| fa2a87b2e5 | |||
| 9f3a68ed15 | |||
| 94f906fd8a |
@@ -0,0 +1,25 @@
|
||||
# To use this config on you editor, follow the instructions at:
|
||||
# https://editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
insert_final_newline = true
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
tab_width = 8
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[{*.{c,cpp,h}}]
|
||||
max_line_length = 80
|
||||
|
||||
[{CMakeLists.txt,*.cmake}]
|
||||
max_line_length = 80
|
||||
indent_size = 2
|
||||
|
||||
[*.html]
|
||||
indent_size = 2
|
||||
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
@@ -9,7 +9,7 @@ body:
|
||||
Before submitting a bug, please check that it has not already been reported by searching in [open and closed bugs](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Abug).
|
||||
If you don't use the latest version, please try if possible with the latest stable release to be sure the issue is still present and report the issue on this version.
|
||||
|
||||
**IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/master/CONTRIBUTING.md#security-reports).
|
||||
**IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/main/CONTRIBUTING.md#security-reports).
|
||||
|
||||
- type: textarea
|
||||
id: bug-description
|
||||
@@ -87,7 +87,7 @@ body:
|
||||
attributes:
|
||||
label: What OS/distribution are you using?
|
||||
description: Name of the operating system and its version.
|
||||
placeholder: Debian 12, Ubuntu 24.04, MacOS 14, ...
|
||||
placeholder: Debian 12, Ubuntu 24.04, macOS 14, ...
|
||||
validations:
|
||||
required: true
|
||||
|
||||
|
||||
@@ -10,6 +10,8 @@ body:
|
||||
- please read the [FAQ](https://weechat.org/doc/weechat/faq) and [documentation](https://weechat.org/doc/weechat/)
|
||||
- please ask on #weechat channel (on server irc.libera.chat).
|
||||
|
||||
**IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/main/CONTRIBUTING.md#security-reports).
|
||||
|
||||
- type: textarea
|
||||
id: question
|
||||
attributes:
|
||||
|
||||
+227
-88
@@ -7,8 +7,9 @@ on:
|
||||
- cron: '22 9 * * 2'
|
||||
|
||||
env:
|
||||
WEECHAT_DEPENDENCIES: >-
|
||||
WEECHAT_DEPS_UBUNTU: >-
|
||||
asciidoctor
|
||||
build-essential
|
||||
cmake
|
||||
curl
|
||||
devscripts
|
||||
@@ -33,24 +34,75 @@ env:
|
||||
libzstd-dev
|
||||
ninja-build
|
||||
php-dev
|
||||
pipx
|
||||
pkgconf
|
||||
pylint
|
||||
python3-bandit
|
||||
python3-dev
|
||||
python3-pip
|
||||
ruby-pygments.rb
|
||||
shellcheck
|
||||
tcl8.6-dev
|
||||
zlib1g-dev
|
||||
WEECHAT_DEPS_ROCKYLINUX: >-
|
||||
asciidoctor
|
||||
aspell-devel
|
||||
cjson-devel
|
||||
clang
|
||||
cmake
|
||||
cpputest-devel
|
||||
gcc
|
||||
gettext
|
||||
glibc-langpack-en
|
||||
gnutls-devel
|
||||
guile30-devel
|
||||
libcurl-devel
|
||||
libgcrypt-devel
|
||||
libzstd-devel
|
||||
lua-devel
|
||||
ncurses-devel
|
||||
perl-devel
|
||||
php-devel
|
||||
php-embedded
|
||||
python-devel
|
||||
ruby-devel
|
||||
sudo
|
||||
tcl-devel
|
||||
zlib-devel
|
||||
WEECHAT_DEPS_FREEBSD: >-
|
||||
aspell
|
||||
cmake
|
||||
cpputest
|
||||
curl
|
||||
gcc
|
||||
gettext
|
||||
git
|
||||
gnutls
|
||||
guile3
|
||||
libargon2
|
||||
libcjson
|
||||
libgcrypt
|
||||
libiconv
|
||||
llvm
|
||||
lua54
|
||||
ncurses
|
||||
perl5
|
||||
php83
|
||||
pkgconf
|
||||
python3
|
||||
ruby
|
||||
rubygem-asciidoctor
|
||||
sudo
|
||||
tcl86
|
||||
zstd
|
||||
|
||||
jobs:
|
||||
|
||||
tests_linux:
|
||||
tests_ubuntu:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
- ubuntu-24.04
|
||||
config:
|
||||
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
||||
- { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" }
|
||||
@@ -60,20 +112,20 @@ jobs:
|
||||
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
||||
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
||||
|
||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
||||
name: "${{ matrix.os }} (${{ matrix.config.name }})"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
|
||||
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||
sudo apt-get --yes purge php8.1-imagick
|
||||
sudo -H pip3 install --ignore-installed msgcheck
|
||||
sudo apt-get --yes purge php8.3-imagick
|
||||
pipx install msgcheck
|
||||
|
||||
- name: Check gettext files
|
||||
run: msgcheck po/*.po
|
||||
@@ -111,7 +163,7 @@ jobs:
|
||||
env:
|
||||
RELAY_PASSWORD: test
|
||||
run: |
|
||||
sudo -H pip3 install --ignore-installed schemathesis
|
||||
pipx install schemathesis==3.39.16
|
||||
weechat-headless \
|
||||
--dir /tmp/weechat-test-api \
|
||||
--run-command '/set relay.network.password "${{ env.RELAY_PASSWORD }}"' \
|
||||
@@ -133,17 +185,178 @@ jobs:
|
||||
lcov --list coverage.info
|
||||
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
|
||||
|
||||
build_debian:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-24.04
|
||||
|
||||
name: "${{ matrix.os }} (build Debian)"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
|
||||
|
||||
- name: Test Debian patches
|
||||
run: ./tools/build_debian.sh test-patches
|
||||
|
||||
- name: Build Debian packages
|
||||
run: ./tools/build_debian.sh devel ubuntu/noble
|
||||
|
||||
- name: Install Debian packages
|
||||
run: sudo dpkg -i ../weechat-devel*.deb
|
||||
|
||||
- name: Run WeeChat
|
||||
env:
|
||||
TERM: xterm-256color
|
||||
run: |
|
||||
weechat --help
|
||||
weechat-curses --help
|
||||
weechat --version
|
||||
weechat --build-info
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
codeql-analysis:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-24.04
|
||||
|
||||
name: "${{ matrix.os }} (CodeQL)"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
|
||||
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||
sudo apt-get --yes purge php8.3-imagick
|
||||
pipx install msgcheck
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: cpp
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:cpp"
|
||||
|
||||
tests_rockylinux:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-24.04
|
||||
config:
|
||||
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
||||
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
||||
|
||||
name: "rockylinux-9 (${{ matrix.config.name }})"
|
||||
runs-on: ${{ matrix.os }}
|
||||
container:
|
||||
image: rockylinux:9
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
dnf install -y epel-release
|
||||
dnf config-manager --set-enabled crb
|
||||
dnf install -y ${{ env.WEECHAT_DEPS_ROCKYLINUX }}
|
||||
|
||||
- name: Build and run tests
|
||||
env:
|
||||
CC: ${{ matrix.config.cc }}
|
||||
CXX: ${{ matrix.config.cxx }}
|
||||
BUILDARGS: ${{ matrix.config.buildargs }}
|
||||
run: ./tools/build_test.sh
|
||||
|
||||
- name: Run WeeChat
|
||||
env:
|
||||
TERM: xterm-256color
|
||||
run: |
|
||||
weechat --help
|
||||
weechat-curses --help
|
||||
weechat --version
|
||||
weechat --build-info
|
||||
weechat --colors
|
||||
weechat --license
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
tests_freebsd:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-24.04
|
||||
config:
|
||||
# - { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
||||
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
||||
|
||||
name: "freebsd-14 (${{ matrix.config.name }})"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies, build and run tests, run WeeChat
|
||||
uses: vmactions/freebsd-vm@v1
|
||||
env:
|
||||
CC: ${{ matrix.config.cc }}
|
||||
CXX: ${{ matrix.config.cxx }}
|
||||
BUILDARGS: ${{ matrix.config.buildargs }}
|
||||
TERM: xterm-256color
|
||||
with:
|
||||
envs: "CC CXX BUILDARGS TERM"
|
||||
usesh: true
|
||||
prepare: pkg install -y ${{ env.WEECHAT_DEPS_FREEBSD }}
|
||||
run: |
|
||||
./tools/build_test.sh
|
||||
weechat --help
|
||||
weechat-curses --help
|
||||
weechat --version
|
||||
weechat --build-info
|
||||
weechat --colors
|
||||
weechat --license
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
tests_macos:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- macos-12
|
||||
- macos-14
|
||||
config:
|
||||
- { name: "gcc", cc: "gcc", cxx: "g++" }
|
||||
- { name: "clang", cc: "clang", cxx: "clang++" }
|
||||
|
||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
||||
name: "${{ matrix.os }} (${{ matrix.config.name }})"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
@@ -168,9 +381,9 @@ jobs:
|
||||
/usr/local/bin/python3.11 \
|
||||
/usr/local/bin/python3.11-config \
|
||||
;
|
||||
brew install asciidoctor cjson guile lua pkg-config ruby
|
||||
brew install asciidoctor aspell cjson guile lua pkg-config ruby
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
@@ -193,77 +406,3 @@ jobs:
|
||||
weechat --colors
|
||||
weechat --license
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
build_debian:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-22.04
|
||||
|
||||
name: "Build Debian on ${{ matrix.os }}"
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
||||
|
||||
- name: Test Debian patches
|
||||
run: ./tools/build_debian.sh test-patches
|
||||
|
||||
- name: Build Debian packages
|
||||
run: ./tools/build_debian.sh devel ubuntu/jammy
|
||||
|
||||
- name: Install Debian packages
|
||||
run: sudo dpkg -i ../weechat-devel*.deb
|
||||
|
||||
- name: Run WeeChat
|
||||
env:
|
||||
TERM: xterm-256color
|
||||
run: |
|
||||
weechat --help
|
||||
weechat-curses --help
|
||||
weechat --version
|
||||
weechat --build-info
|
||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
codeql-analysis:
|
||||
|
||||
name: CodeQL
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
||||
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||
sudo apt-get --yes purge php8.1-imagick
|
||||
sudo -H pip3 install --ignore-installed msgcheck
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: cpp
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:cpp"
|
||||
|
||||
@@ -28,6 +28,7 @@ Alphabetically:
|
||||
- Christian Heinz
|
||||
- Christopher O'Neill (deltafire)
|
||||
- coypoop
|
||||
- Daniel Lublin
|
||||
- Danilo Spinella
|
||||
- David Flatz
|
||||
- Dmitry Kobylin
|
||||
@@ -39,6 +40,7 @@ Alphabetically:
|
||||
- Elizabeth Myers (Elizacat)
|
||||
- Elián Hanisch (m4v)
|
||||
- Emanuele Giaquinta
|
||||
- Emil Velikov
|
||||
- Emir Sarı
|
||||
- emk
|
||||
- Érico Nogueira
|
||||
@@ -55,18 +57,21 @@ Alphabetically:
|
||||
- Ivan Pešić
|
||||
- Ivan Sichmann Freitas
|
||||
- Jakub Jirutka
|
||||
- James C. Morey
|
||||
- Jan Palus
|
||||
- Jason A. Donenfeld (zx2c4)
|
||||
- JD Horelick (jdhore)
|
||||
- jesopo
|
||||
- Jim Ramsay (lack)
|
||||
- Jiri Golembiovsky (GolemJ)
|
||||
- Joe Hermaszewski
|
||||
- Joey Pabalinas (alyptik)
|
||||
- Johan Rylander
|
||||
- Johannes Kuhn
|
||||
- Joram Schrijver
|
||||
- Jos Ahrens
|
||||
- Joseph Kichline
|
||||
- Josh Soref
|
||||
- Juan Francisco Cantero Hurtado
|
||||
- Julien Louis (ptitlouis)
|
||||
- Karthik K
|
||||
@@ -153,6 +158,7 @@ Alphabetically:
|
||||
- Wojciech Kwolek
|
||||
- W. Trevor King
|
||||
- Yannick Palanque
|
||||
- Yiheng Cao
|
||||
- ZethJack
|
||||
- Ørjan Malde
|
||||
|
||||
|
||||
+187
-26
@@ -1,10 +1,171 @@
|
||||
# WeeChat ChangeLog
|
||||
|
||||
## Version 4.6.4 (under dev)
|
||||
|
||||
### Added
|
||||
|
||||
- core: add support of specifier `%@` for UTC time in function util_strftimeval
|
||||
|
||||
### Fixed
|
||||
|
||||
- core: fix buffer overflow in connection to SOCKS5 proxy ([#2325](https://github.com/weechat/weechat/issues/2325))
|
||||
- api: fix infinite loop in function string_replace when the search string is empty
|
||||
- irc: limit size of data received from the server to prevent memory exhaustion
|
||||
- irc: fix out-of-bounds read on incoming DCC command with a quoted filename ending the message ([#2322](https://github.com/weechat/weechat/issues/2322))
|
||||
- relay: limit size of received websocket frame and HTTP body to prevent memory exhaustion
|
||||
- relay: fix timing attack on password authentication ([GHSA-vhv8-g2r9-cwcc](https://github.com/weechat/weechat/security/advisories/GHSA-vhv8-g2r9-cwcc), [CVE-2026-53525](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53525))
|
||||
- api, relay: fix timing attack on TOTP validation ([GHSA-vhv8-g2r9-cwcc](https://github.com/weechat/weechat/security/advisories/GHSA-vhv8-g2r9-cwcc), [CVE-2026-53525](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53525))
|
||||
- relay: limit size of decompressed websocket frame with permessage-deflate to prevent memory exhaustion ([GHSA-v2v4-45wm-5cr3](https://github.com/weechat/weechat/security/advisories/GHSA-v2v4-45wm-5cr3), [CVE-2026-53524](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53524))
|
||||
- relay/weechat: fix empty buffers in client when WeeChat is running on Solaris/illumos
|
||||
- relay: limit size of partial message received while reading an HTTP request to prevent memory exhaustion
|
||||
- relay: fix out-of-bounds read in dump of data ([#2324](https://github.com/weechat/weechat/issues/2324))
|
||||
- xfer: replace directory separator in remote nick by underscore in download filename to prevent writing the file outside the download directory ([#2321](https://github.com/weechat/weechat/issues/2321))
|
||||
- xfer: fix out-of-bounds read when receiving empty line in DCC chat ([#2323](https://github.com/weechat/weechat/issues/2323))
|
||||
- build: fix build on Solaris/illumos (issue #2251)
|
||||
|
||||
## Version 4.6.3 (2025-05-11)
|
||||
|
||||
### Fixed
|
||||
|
||||
- core: fix integer overflow with decimal numbers in calculation of expression
|
||||
- core: fix integer overflow in base32 encoding/decoding
|
||||
- core: fix integer overflow in function util_version_number
|
||||
- core: fix buffer overflow in function util_parse_time
|
||||
- core: fix buffer overflow in function eval_syntax_highlight_colorize
|
||||
- core: fix buffer overflow in function eval_string_base_encode
|
||||
- core: fix buffer overflow in function eval_string_range_chars
|
||||
- core: fix memory leak in function util_parse_delay
|
||||
|
||||
## Version 4.6.2 (2025-04-18)
|
||||
|
||||
### Fixed
|
||||
|
||||
- core: fix write of weechat.log to stdout with `weechat-headless --stdout` ([#2247](https://github.com/weechat/weechat/issues/2247))
|
||||
- core: add refresh of window title on buffer switch, when option weechat.look.window_title is set
|
||||
|
||||
## Version 4.6.1 (2025-04-09)
|
||||
|
||||
### Fixed
|
||||
|
||||
- core: consider all keys are safe in cursor context ([#2244](https://github.com/weechat/weechat/issues/2244))
|
||||
- irc: display nick changes and quit messages when option irc.look.ignore_tag_messages is enabled ([#2241](https://github.com/weechat/weechat/issues/2241))
|
||||
- perl: fix build when multiplicity is not available ([#2243](https://github.com/weechat/weechat/issues/2243))
|
||||
|
||||
## Version 4.6.0 (2025-03-23)
|
||||
|
||||
### Changed
|
||||
|
||||
- core: add option `-v` to display upgrades in command `/version`
|
||||
- api: add property `keep_spaces_right` in function hook_set to keep trailing spaces in command arguments
|
||||
- core, irc, alias, xfer: keep spaces at the end of some commands, where trailing spaces are important
|
||||
- irc: add option `-connected` in command `/server list|listfull`
|
||||
- buflist: apply option buflist.look.nick_prefix_empty also on private and list buffers
|
||||
- xfer: compute speed and ETA with microsecond precision ([#665](https://github.com/weechat/weechat/issues/665))
|
||||
|
||||
### Added
|
||||
|
||||
- core: add command `/pipe`
|
||||
- core: add option `whitespace` in command `/debug`, add options weechat.look.whitespace_char and weechat.look.tab_whitespace_char ([#947](https://github.com/weechat/weechat/issues/947))
|
||||
- core: add option weechat.completion.nick_ignore_words ([#1143](https://github.com/weechat/weechat/issues/1143))
|
||||
- spell: add CMake options ASPELL_DICT_DIR and ENCHANT_MYSPELL_DICT_DIR to override dictionaries locations ([#1174](https://github.com/weechat/weechat/issues/1174))
|
||||
- api: add function completion_set
|
||||
- relay/api: add resource `POST /api/completion` ([#2207](https://github.com/weechat/weechat/issues/2207))
|
||||
- relay/api: add default key `Alt`+`Ctrl`+`l` (L) to toggle between remote and local commands on remote buffers, add option `togglecmd` in command `/remote`, add options relay.api.remote_input_cmd_local and relay.api.remote_input_cmd_remote ([#2148](https://github.com/weechat/weechat/issues/2148))
|
||||
|
||||
### Fixed
|
||||
|
||||
- relay: fix crash after `/upgrade` when relay clients are connected
|
||||
- core: save configuration files as UTF-8 when the locale is wrong
|
||||
- api: fix creation of empty buffer in function infolist_new_var_buffer
|
||||
- core: fix build with gcc 15 ([#2229](https://github.com/weechat/weechat/issues/2229), [#2230](https://github.com/weechat/weechat/issues/2230))
|
||||
- core: fix detection of dl library ([#2218](https://github.com/weechat/weechat/issues/2218))
|
||||
- logger: fix path displayed when the logs directory can not be created
|
||||
- perl: fix build with Perl < 5.7.29 ([#2219](https://github.com/weechat/weechat/issues/2219), [#2220](https://github.com/weechat/weechat/issues/2220))
|
||||
- python: enable subinterpreters ([#2222](https://github.com/weechat/weechat/issues/2222))
|
||||
|
||||
## Version 4.5.2 (2025-02-20)
|
||||
|
||||
### Fixed
|
||||
|
||||
- core: fix build with gcc 15 ([#2229](https://github.com/weechat/weechat/issues/2229), [#2230](https://github.com/weechat/weechat/issues/2230))
|
||||
|
||||
## Version 4.5.1 (2024-12-23)
|
||||
|
||||
### Fixed
|
||||
|
||||
- relay: fix crash after `/upgrade` when relay clients are connected
|
||||
- api: fix creation of empty buffer in function infolist_new_var_buffer
|
||||
- core: fix detection of dl library ([#2218](https://github.com/weechat/weechat/issues/2218))
|
||||
- logger: fix path displayed when the logs directory can not be created
|
||||
- perl: fix build with Perl < 5.7.29 ([#2219](https://github.com/weechat/weechat/issues/2219), [#2220](https://github.com/weechat/weechat/issues/2220))
|
||||
|
||||
## Version 4.5.0 (2024-12-15)
|
||||
|
||||
### Changed
|
||||
|
||||
- api: return the buffer input callback return code in functions command and command_options
|
||||
- api: add special value `-` (hyphen-minus) in options of function command_options to prevent execution of commands
|
||||
- api: add property `hotlist_conditions` in function buffer_set
|
||||
- api: add support of flags in functions hook_signal_send and hook_hsignal_send
|
||||
- relay/api: allow array with multiple requests in websocket frame received from client
|
||||
- relay/api: support passing authentication in sub protocol header ([#2205](https://github.com/weechat/weechat/issues/2205))
|
||||
- relay/api: combine request headers with the same name ([#2206](https://github.com/weechat/weechat/issues/2206))
|
||||
- core, plugins: simplify help on parameters that can be repeated in commands
|
||||
- core: add optional hook types in command `/debug hooks`
|
||||
- php: add detection of PHP 8.3 and 8.4
|
||||
- ruby: fix detection of Ruby on macOS 14, require CMake ≥ 3.18 ([#1156](https://github.com/weechat/weechat/issues/1156))
|
||||
- build: require Curl ≥ 7.47.0 ([#2195](https://github.com/weechat/weechat/issues/2195))
|
||||
- build: require GnuTLS ≥ 3.3.0 ([#2193](https://github.com/weechat/weechat/issues/2193))
|
||||
|
||||
### Added
|
||||
|
||||
- relay: display connection status in input prompt of remote buffers, if not connected or if fetching data from remote
|
||||
- irc: add option irc.look.notice_nicks_disable_notify
|
||||
- irc: add infos "irc_ptr_server", "irc_ptr_channel" and "irc_ptr_nick"
|
||||
|
||||
### Fixed
|
||||
|
||||
- core, plugins: fix integer overflow in loops ([#2178](https://github.com/weechat/weechat/issues/2178), [CVE-2024-46613](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46613))
|
||||
- irc: decode IRC colors only when displaying messages in buffer, store nick info with IRC colors (host, account, real name)
|
||||
- irc: do not strip trailing spaces from incoming IRC messages
|
||||
- irc: fix crash on /list buffer when a filter is set ([#2197](https://github.com/weechat/weechat/issues/2197))
|
||||
- script: fix crash on /script buffer when a filter is set ([#2214](https://github.com/weechat/weechat/issues/2214), [#2215](https://github.com/weechat/weechat/issues/2215))
|
||||
- exec: fix unexpected execution of command with `/exec -o` when the command starts with two command chars ([#2199](https://github.com/weechat/weechat/issues/2199))
|
||||
- relay/api: fix empty nicklist in remote buffers after connection or reconnection
|
||||
- relay/api: reply HTTP 400 (Bad Request) when the body received is not a dict in websocket data
|
||||
- core: fix too many sorts of hotlist when buffers are moved ([#2097](https://github.com/weechat/weechat/issues/2097))
|
||||
- core: always send the signal "buffer_switch", even when the buffer is opening ([#2198](https://github.com/weechat/weechat/issues/2198))
|
||||
- core, plugins: abort upgrade immediately if any upgrade file fails to be written
|
||||
- core: reload all plugins with command `/plugin reload *`
|
||||
- relay, xfer: fix letters with actions displayed on top of buffer
|
||||
- perl: fix crash when unloading Perl scripts with Perl 5.38 ([#2209](https://github.com/weechat/weechat/issues/2209), [#2213](https://github.com/weechat/weechat/issues/2213))
|
||||
- lua: fix compilation on Fedora with Lua < 5.2.0 ([#2173](https://github.com/weechat/weechat/issues/2173), [#2174](https://github.com/weechat/weechat/issues/2174))
|
||||
- core: fix build on Darwin ([#2216](https://github.com/weechat/weechat/issues/2216))
|
||||
- core: fix build on Android ([#2180](https://github.com/weechat/weechat/issues/2180))
|
||||
|
||||
## Version 4.4.4 (2024-11-30)
|
||||
|
||||
### Fixed
|
||||
|
||||
- script: fix crash on /script buffer when a filter is set ([#2214](https://github.com/weechat/weechat/issues/2214), [#2215](https://github.com/weechat/weechat/issues/2215))
|
||||
- core: fix too many sorts of hotlist when buffers are moved ([#2097](https://github.com/weechat/weechat/issues/2097))
|
||||
- relay, xfer: fix letters with actions displayed on top of buffer
|
||||
- build: fix detection of Ruby on macOS 14, require CMake ≥ 3.18 ([#1156](https://github.com/weechat/weechat/issues/1156))
|
||||
- perl: fix crash when unloading Perl scripts with Perl 5.38 ([#2209](https://github.com/weechat/weechat/issues/2209), [#2213](https://github.com/weechat/weechat/issues/2213))
|
||||
|
||||
## Version 4.4.3 (2024-10-30)
|
||||
|
||||
### Fixed
|
||||
|
||||
- irc: fix crash on /list buffer when a filter is set ([#2197](https://github.com/weechat/weechat/issues/2197))
|
||||
- core: always send the signal "buffer_switch", even when the buffer is opening ([#2198](https://github.com/weechat/weechat/issues/2198))
|
||||
- core: fix build on Android ([#2180](https://github.com/weechat/weechat/issues/2180))
|
||||
|
||||
## Version 4.4.2 (2024-09-08)
|
||||
|
||||
### Fixed
|
||||
|
||||
- core, plugins: fix integer overflow in loops ([#2178](https://github.com/weechat/weechat/issues/2178))
|
||||
- core, plugins: fix integer overflow in loops ([#2178](https://github.com/weechat/weechat/issues/2178), [CVE-2024-46613](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46613))
|
||||
|
||||
## Version 4.4.1 (2024-08-19)
|
||||
|
||||
@@ -95,7 +256,7 @@
|
||||
- relay/api: disconnect cleanly when the remote is quitting ([#2168](https://github.com/weechat/weechat/issues/2168))
|
||||
- relay: fix websocket permessage-deflate extension when the client doesn't send the max window bits parameters ([#1549](https://github.com/weechat/weechat/issues/1549))
|
||||
- relay: fix allocation and reinit of field "client_context_takeover" in websocket deflate structure ([#1549](https://github.com/weechat/weechat/issues/1549))
|
||||
- spell: improve error displayed when a word can not be added to the dictionary ([#2144](https://github.com/weechat/weechat/issues/2144))
|
||||
- spell: improve error displayed when a word cannot be added to the dictionary ([#2144](https://github.com/weechat/weechat/issues/2144))
|
||||
- core: fix completion of command `/item refresh`
|
||||
- lua: remote string "Lua" from Lua version in output of `/debug libs`
|
||||
- core: fix detection of libgcrypt ≥ 1.11 ([debian #1071960](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071960))
|
||||
@@ -191,7 +352,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- core: display a specific message when the value of option is unchanged after `/set` command
|
||||
- core: add variable `${highlight}` in option weechat.look.buffer_time_format ([#2079](https://github.com/weechat/weechat/issues/2079))
|
||||
- core: reintroduce help on the variables and operators in `/help eval` ([#2005](https://github.com/weechat/weechat/issues/2005))
|
||||
- core: allow case insensitive search of partial buffer name with `(?i)name` in command `/buffer`
|
||||
- core: allow case-insensitive search of partial buffer name with `(?i)name` in command `/buffer`
|
||||
- core: use function util_strftimeval in evaluation of expression `date:xxx`
|
||||
- fset: allow filename starting with "~" in command `/fset -export`
|
||||
- irc: store lag in channel and private buffers (local variable "lag"), in addition to the server buffer
|
||||
@@ -340,7 +501,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- irc: display messages 730/731 (monitored nicks online/offline) even if command `/notify` was not used ([#2049](https://github.com/weechat/weechat/issues/2049))
|
||||
- irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
|
||||
- irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
|
||||
- irc: revert compute of nick colors to case sensitive way, deprecate again infos "irc_nick_color" and "irc_nick_color_name" ([#194](https://github.com/weechat/weechat/issues/194), [#2032](https://github.com/weechat/weechat/issues/2032))
|
||||
- irc: revert compute of nick colors to case-sensitive way, deprecate again infos "irc_nick_color" and "irc_nick_color_name" ([#194](https://github.com/weechat/weechat/issues/194), [#2032](https://github.com/weechat/weechat/issues/2032))
|
||||
- relay: close properly connection with the IRC client in case of server disconnection ([#2038](https://github.com/weechat/weechat/issues/2038))
|
||||
- ruby: fix use of NULL variable when displaying exception
|
||||
|
||||
@@ -386,7 +547,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
|
||||
- core: fix crash when a custom bar item name is already used by a default bar item ([#2034](https://github.com/weechat/weechat/issues/2034))
|
||||
- core: fix random timeouts when a lot of concurrent processes are launched with hook_process ([#2033](https://github.com/weechat/weechat/issues/2033))
|
||||
- irc: revert compute of nick colors to case sensitive way, deprecate again infos "irc_nick_color" and "irc_nick_color_name" ([#194](https://github.com/weechat/weechat/issues/194), [#2032](https://github.com/weechat/weechat/issues/2032))
|
||||
- irc: revert compute of nick colors to case-sensitive way, deprecate again infos "irc_nick_color" and "irc_nick_color_name" ([#194](https://github.com/weechat/weechat/issues/194), [#2032](https://github.com/weechat/weechat/issues/2032))
|
||||
|
||||
### Build
|
||||
|
||||
@@ -418,7 +579,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- fset: allow long type name in type filter
|
||||
- irc: add count for all nick modes in output of `/names` ([#97](https://github.com/weechat/weechat/issues/97), [#2020](https://github.com/weechat/weechat/issues/2020))
|
||||
- irc: add count and mode filter in command `/names` ([#98](https://github.com/weechat/weechat/issues/98))
|
||||
- irc: compute color in case insensitive way, reintroduce infos "irc_nick_color" and "irc_nick_color_name", add support of server name ([#194](https://github.com/weechat/weechat/issues/194))
|
||||
- irc: compute color in case-insensitive way, reintroduce infos "irc_nick_color" and "irc_nick_color_name", add support of server name ([#194](https://github.com/weechat/weechat/issues/194))
|
||||
- irc: add buffer for /list reply, add options irc.color.list_buffer_line_selected, irc.color.list_buffer_line_selected_bg, irc.look.list_buffer_sort, irc.look.list_buffer_scroll_horizontal, irc.look.new_list_position, irc.look.list_buffer_topic_strip_colors ([#1972](https://github.com/weechat/weechat/issues/1972))
|
||||
- irc: display commands 716/717 in private buffer (if present) ([#146](https://github.com/weechat/weechat/issues/146))
|
||||
- irc: create default options irc.ctcp.* when file irc.conf is created ([#1974](https://github.com/weechat/weechat/issues/1974))
|
||||
@@ -619,7 +780,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- core: display similar command names when a command is unknown ([#1877](https://github.com/weechat/weechat/issues/1877))
|
||||
- core: rename option weechat.color.status_name_ssl to weechat.color.status_name_tls ([#1903](https://github.com/weechat/weechat/issues/1903))
|
||||
- core: add option weechat.color.status_name_insecure to display buffer name with a specific color when not connected with TLS to the server
|
||||
- core, plugins: make many identifiers case sensitive ([#1872](https://github.com/weechat/weechat/issues/1872), [#398](https://github.com/weechat/weechat/issues/398), [bug #32213](https://savannah.nongnu.org/bugs/?32213))
|
||||
- core, plugins: make many identifiers case-sensitive ([#1872](https://github.com/weechat/weechat/issues/1872), [#398](https://github.com/weechat/weechat/issues/398), [bug #32213](https://savannah.nongnu.org/bugs/?32213))
|
||||
- core: add item "mouse_status" in default status bar, change default color to lightgreen
|
||||
- core, trigger: add options weechat.color.chat_status_disabled and weechat.color.chat_status_enabled, remove options trigger.color.trigger and trigger.color.trigger_disabled, add enabled/disabled status color in output of `/filter list` ([#1820](https://github.com/weechat/weechat/issues/1820))
|
||||
- core: add completions "filters_names_disabled" and "filters_names_enabled", used in completion of `/filter disable` and `/filter enable`
|
||||
@@ -687,7 +848,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- irc: fix join of channels in "autojoin" server option on first connection to server if auto reconnection is performed ([#1873](https://github.com/weechat/weechat/issues/1873))
|
||||
- irc: update autojoin option with redirected channels when autojoin_dynamic is enabled ([#1898](https://github.com/weechat/weechat/issues/1898))
|
||||
- irc: update secure data when server autojoin option contains `${sec.data.xxx}` and option autojoin_dynamic is enabled ([#1934](https://github.com/weechat/weechat/issues/1934))
|
||||
- irc: don't switch to buffer of joined channel if it was not manually joined nor present in server autojoin option
|
||||
- irc: don't switch to buffer of joined channel if it was neither manually joined nor present in server autojoin option
|
||||
- irc: fix target buffer for commands 432/433 (erroneous nickname/nickname already in use) when the nickname looks like a channel
|
||||
- irc: display command 437 on server buffer when nickname cannot change while banned on channel ([#88](https://github.com/weechat/weechat/issues/88))
|
||||
- irc: add messages 415 (cannot send message to channel) and 742 (mode cannot be set)
|
||||
@@ -761,7 +922,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- core: keep terminal title unchanged when option weechat.look.window_title is set to empty value ([#1835](https://github.com/weechat/weechat/issues/1835), [#1836](https://github.com/weechat/weechat/issues/1836))
|
||||
- core: fix crash when setting invalid color in option with null value ([#1844](https://github.com/weechat/weechat/issues/1844))
|
||||
- api: do not check conditions defined in option weechat.look.hotlist_add_conditions when adding buffer in hotlist with function buffer_set
|
||||
- api: fix function strcmp_ignore_chars with case sensitive comparison and wide chars starting with the same byte
|
||||
- api: fix function strcmp_ignore_chars with case-sensitive comparison and wide chars starting with the same byte
|
||||
- api: send NULL values to config section callbacks in scripting API ([#1843](https://github.com/weechat/weechat/issues/1843))
|
||||
- api: fix function string_cut when there are non printable chars in suffix
|
||||
- api: do not expect any return value in callbacks "callback_change" and "callback_delete" of function config_new_option (scripting API)
|
||||
@@ -1196,7 +1357,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- core: add flag "input_multiline" in buffer ([#984](https://github.com/weechat/weechat/issues/984), [#1063](https://github.com/weechat/weechat/issues/1063))
|
||||
- core: add a scalable WeeChat logo (SVG) ([#1454](https://github.com/weechat/weechat/issues/1454), [#1456](https://github.com/weechat/weechat/issues/1456))
|
||||
- core: add base 16/32/64 encoding/decoding in evaluation of expressions with `base_encode:base,xxx` and `base_decode:base,xxx`
|
||||
- core: add case sensitive wildcard matching comparison operator (`+==*+` and `+!!*+`) and case sensitive/insensitive include comparison operators (`+==-+`, `+!!-+`, `+=-+`, `+!-+`) in evaluation of expressions
|
||||
- core: add case-sensitive wildcard matching comparison operator (`+==*+` and `+!!*+`) and case-sensitive/insensitive include comparison operators (`+==-+`, `+!!-+`, `+=-+`, `+!-+`) in evaluation of expressions
|
||||
- core: add default key `Alt`+`Shift`+`N` to toggle nicklist bar
|
||||
- core: add command line option `--stdout` in weechat-headless binary to log to stdout rather than ~/.weechat/weechat.log ([#1475](https://github.com/weechat/weechat/issues/1475), [#1477](https://github.com/weechat/weechat/issues/1477))
|
||||
- core: reload configuration files on SIGHUP ([#1476](https://github.com/weechat/weechat/issues/1476))
|
||||
@@ -1377,7 +1538,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- core: fix build on Alpine
|
||||
- core: remove file FindTCL.cmake
|
||||
- core: display an error on missing dependency in CMake ([#916](https://github.com/weechat/weechat/issues/916), [#956](https://github.com/weechat/weechat/issues/956))
|
||||
- debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan
|
||||
- debian: disable JavaScript plugin on Debian Sid and Ubuntu Eoan
|
||||
- debian: build with Guile 2.2
|
||||
- guile: add support of Guile 2.2, disable `/guile eval` ([#1098](https://github.com/weechat/weechat/issues/1098))
|
||||
- python: add detection of Python 3.8
|
||||
@@ -1427,7 +1588,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
### Build
|
||||
|
||||
- core: fix compilation with autotools on FreeBSD 12.0
|
||||
- debian: disable Javascript plugin on Debian Buster/Bullseye ([#1374](https://github.com/weechat/weechat/issues/1374))
|
||||
- debian: disable JavaScript plugin on Debian Buster/Bullseye ([#1374](https://github.com/weechat/weechat/issues/1374))
|
||||
- python: compile with Python 3 by default
|
||||
- python: use pkg-config to detect Python ([#1382](https://github.com/weechat/weechat/issues/1382))
|
||||
|
||||
@@ -1458,7 +1619,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- core: don't execute command scheduled by `/repeat` and `/wait` if the buffer does not exist any more
|
||||
- core: don't execute command scheduled by `/repeat` and `/wait` if the buffer does not exist anymore
|
||||
- core: set max length to 4096 for `/secure passphrase` ([#1323](https://github.com/weechat/weechat/issues/1323))
|
||||
- core: refilter only affected buffers on filter change ([#1309](https://github.com/weechat/weechat/issues/1309), [#1311](https://github.com/weechat/weechat/issues/1311))
|
||||
- fset: fix slow refresh of fset buffer during `/reload` ([#1313](https://github.com/weechat/weechat/issues/1313))
|
||||
@@ -1482,7 +1643,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- core: fix value of libdir in file weechat.pc ([#1341](https://github.com/weechat/weechat/issues/1341), [#1342](https://github.com/weechat/weechat/issues/1342))
|
||||
- core: fix generation of man page weechat-headless with autotools
|
||||
- core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options (CMake ≥ 3.0 is now required)
|
||||
- core: fix compilation on Mac OS ([#1308](https://github.com/weechat/weechat/issues/1308))
|
||||
- core: fix compilation on macOS ([#1308](https://github.com/weechat/weechat/issues/1308))
|
||||
- lua: add detection of Lua 5.3 with autotools
|
||||
- ruby: add detection of Ruby 2.6 ([#1346](https://github.com/weechat/weechat/issues/1346))
|
||||
- tests: fix compilation of tests on FreeBSD
|
||||
@@ -1739,7 +1900,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- buflist: add option buflist.look.auto_scroll ([#332](https://github.com/weechat/weechat/issues/332))
|
||||
- buflist: add keys `F1` / `F2`, `Alt`+`F1` / `Alt`+`F2` to scroll the buflist bar
|
||||
- buflist: display a warning when the script "buffers.pl" is loaded
|
||||
- buflist: add support of char "~" in option buflist.look.sort for case insensitive comparison
|
||||
- buflist: add support of char "~" in option buflist.look.sort for case-insensitive comparison
|
||||
- buflist: add variable `${format_name}` in bar item evaluation and option buflist.format.name ([#1020](https://github.com/weechat/weechat/issues/1020))
|
||||
- buflist: add variables `${current_buffer}` and `${merged}` (booleans "0" / "1") in bar item evaluation
|
||||
- relay: add option `start` in command `/relay`
|
||||
@@ -1955,7 +2116,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- irc: evaluate content of server option "addresses"
|
||||
- irc: move option irc.network.alternate_nick into servers (irc.server.xxx.nicks_alternate) ([#633](https://github.com/weechat/weechat/issues/633))
|
||||
- irc: use current channel and current server channels first in completions "irc_server_channels" and "irc_channels" ([task #12923](https://savannah.nongnu.org/task/?12923), [#260](https://github.com/weechat/weechat/issues/260), [#392](https://github.com/weechat/weechat/issues/392))
|
||||
- logger: display system error when the log file can not be written ([#541](https://github.com/weechat/weechat/issues/541))
|
||||
- logger: display system error when the log file cannot be written ([#541](https://github.com/weechat/weechat/issues/541))
|
||||
- relay: add option relay.irc.backlog_since_last_message ([#347](https://github.com/weechat/weechat/issues/347))
|
||||
- script: add option script.scripts.download_timeout
|
||||
- script: add completion with languages and extensions, support search by language/extension in `/script search`
|
||||
@@ -1964,7 +2125,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
|
||||
- core: fix execution of empty command name ("/" and "/ " are not valid commands)
|
||||
- core: fix memory leak when using multiple `-d` or `-r` in command line arguments
|
||||
- core: don't complain any more about "tmux" and "tmux-256color" $TERM values when WeeChat is running under Tmux ([#519](https://github.com/weechat/weechat/issues/519))
|
||||
- core: don't complain anymore about "tmux" and "tmux-256color" $TERM values when WeeChat is running under Tmux ([#519](https://github.com/weechat/weechat/issues/519))
|
||||
- core: fix truncated messages after a word with a length of zero on screen (for example a zero width space: U+200B) ([bug #40985](https://savannah.nongnu.org/bugs/?40985), [#502](https://github.com/weechat/weechat/issues/502))
|
||||
- api: fix handle of invalid escape in function string_convert_escaped_chars
|
||||
- alias: do not allow slashes and spaces in alias name ([#646](https://github.com/weechat/weechat/issues/646))
|
||||
@@ -2059,7 +2220,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- core: add a welcome message on first WeeChat run ([#318](https://github.com/weechat/weechat/issues/318))
|
||||
- core: add options weechat.look.word_chars_{highlight|input} ([#55](https://github.com/weechat/weechat/issues/55), [task #9459](https://savannah.nongnu.org/task/?9459))
|
||||
- core: remove WeeChat version from config files ([#407](https://github.com/weechat/weechat/issues/407))
|
||||
- core: display a warning on startup if the locale can not be set ([#373](https://github.com/weechat/weechat/issues/373))
|
||||
- core: display a warning on startup if the locale cannot be set ([#373](https://github.com/weechat/weechat/issues/373))
|
||||
- core: allow "*" as plugin name in command `/plugin reload` to reload all plugins with options
|
||||
- core: add option `-s` in command `/eval` to split expression before evaluating it (no more split by default) ([#324](https://github.com/weechat/weechat/issues/324))
|
||||
- core: add priority in plugins to initialize them in order
|
||||
@@ -2247,7 +2408,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- core: mute all buffers by default in command `/mute` (replace option -all by -core)
|
||||
- api: allow value "-1" for property "hotlist" in function buffer_set (to remove a buffer from hotlist)
|
||||
- api: add option "buffer_flush" in function hook_process_hashtable
|
||||
- api: add support of case insensitive search and search by buffer full name in function buffer_search ([bug #34318](https://savannah.nongnu.org/bugs/?34318))
|
||||
- api: add support of case-insensitive search and search by buffer full name in function buffer_search ([bug #34318](https://savannah.nongnu.org/bugs/?34318))
|
||||
- api: add option "detached" in function hook_process_hashtable
|
||||
- api: add option "signal" in function hook_set to send a signal to the child process
|
||||
- api: add support of nested variables in function string_eval_expression and command `/eval` ([#35](https://github.com/weechat/weechat/issues/35))
|
||||
@@ -2463,7 +2624,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- irc: fix groups in channel nicklist when reconnecting to a server that supports more nick prefixes than the previously connected server
|
||||
- irc: fix auto-switch to channel buffer when doing `/join channel` (without "#")
|
||||
- logger: fix memory leaks in backlog
|
||||
- logger: replace backslashs in name by logger replacement char under Cygwin ([bug #41207](https://savannah.nongnu.org/bugs/?41207))
|
||||
- logger: replace backslashes in name by logger replacement char under Cygwin ([bug #41207](https://savannah.nongnu.org/bugs/?41207))
|
||||
- lua: fix crash on calls to callbacks during load of script
|
||||
- python: fix load of scripts with Python ≥ 3.3
|
||||
- relay: fix memory leak on unload of relay plugin
|
||||
@@ -2937,7 +3098,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- irc: add options irc.look.highlight_{server|channel|pv} to customize or disable default nick highlight ([task #11128](https://savannah.nongnu.org/task/?11128))
|
||||
- irc: use redirection to get channel modes after update of modes on channel, display output of `/mode #channel`, allow `/mode` without argument (display modes of current channel or user modes on server buffer)
|
||||
- irc: add optional server in info "irc_is_channel" (before channel name) ([bug #35124](https://savannah.nongnu.org/bugs/?35124)), add optional server in info_hashtable "irc_message_parse"
|
||||
- irc: add case insensitive string comparison based on casemapping of server (rfc1459, strict-rfc1459, ascii) ([bug #34239](https://savannah.nongnu.org/bugs/?34239))
|
||||
- irc: add case-insensitive string comparison based on casemapping of server (rfc1459, strict-rfc1459, ascii) ([bug #34239](https://savannah.nongnu.org/bugs/?34239))
|
||||
- irc: add option irc.color.mirc_remap to remap mirc colors in messages to WeeChat colors
|
||||
- irc: allow URL "irc://" in command `/connect`
|
||||
- irc: use extended regex in commands `/ignore` and `/list`
|
||||
@@ -2991,7 +3152,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
|
||||
- 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](https://savannah.nongnu.org/task/?11266))
|
||||
- core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) ([bug #34727](https://savannah.nongnu.org/bugs/?34727))
|
||||
- core: fix compilation under OpenBSD 5.0 (lib utf8 not needed anymore) ([bug #34727](https://savannah.nongnu.org/bugs/?34727))
|
||||
- core: fix compilation error with "pid_t" on macOS ([bug #34639](https://savannah.nongnu.org/bugs/?34639))
|
||||
|
||||
## Version 0.3.6 (2011-10-22)
|
||||
@@ -3210,7 +3371,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- core: fix bug with message "day changed to", sometimes displayed several times wrongly
|
||||
- core: fix default value of bar items options ([bug #31422](https://savannah.nongnu.org/bugs/?31422))
|
||||
- core: fix bug with buffer name in `/bar scroll` command
|
||||
- core: optimize incremental search in buffer: do not search any more when chars are added to a text not found ([bug #31167](https://savannah.nongnu.org/bugs/?31167))
|
||||
- core: optimize incremental search in buffer: do not search anymore when chars are added to a text not found ([bug #31167](https://savannah.nongnu.org/bugs/?31167))
|
||||
- core: fix memory leaks when removing item in hashtable and when setting highlight words in buffer
|
||||
- core: use similar behavior for keys bound to local or global history ([bug #30759](https://savannah.nongnu.org/bugs/?30759))
|
||||
- alias: complete with alias value for second argument of command `/alias`
|
||||
@@ -3532,7 +3693,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- fix bug with flock when home is on NFS filesystem ([bug #20913](https://savannah.nongnu.org/bugs/?20913))
|
||||
- fix user modes in nicklist when ban and nick mode are received in the same MODE message ([bug #20870](https://savannah.nongnu.org/bugs/?20870))
|
||||
- fix IRC message 333: silently ignore message if error when parsing it
|
||||
- fix server option "command_delay": does not freeze WeeChat any more
|
||||
- fix server option "command_delay": does not freeze WeeChat anymore
|
||||
- fix bug with highlight and UTF-8 chars around word ([bug #20753](https://savannah.nongnu.org/bugs/?20753))
|
||||
- fix nick prefix display on servers that doesn't support all prefixes ([bug #20025](https://savannah.nongnu.org/bugs/?20025))
|
||||
- fix terminal encoding detection when NLS is disabled ([bug #20646](https://savannah.nongnu.org/bugs/?20646))
|
||||
@@ -3787,7 +3948,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- add hostname/IP option for connection to server
|
||||
- add `/setp` command (set plugin options)
|
||||
- aliases are executed before WeeChat/IRC commands, add `/builtin` command
|
||||
- add `/cycle` command, `/part` command does close buffer any more
|
||||
- add `/cycle` command, `/part` command does close buffer anymore
|
||||
|
||||
### Internationalization
|
||||
|
||||
@@ -3865,7 +4026,7 @@ _If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._
|
||||
- fix `/mode` command output
|
||||
- fix completion problem in private with nicks
|
||||
- script plugins now load scripts in WeeChat system share directory
|
||||
- `/msg` command does not open any buffer any more
|
||||
- `/msg` command does not open any buffer anymore
|
||||
- fix crash when using global history (when older entry is removed)
|
||||
- fix display bug with `/kill` command
|
||||
- fix bug with `/upgrade` and servers buffer
|
||||
|
||||
+42
-16
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -19,7 +19,7 @@
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.18)
|
||||
|
||||
project(weechat C)
|
||||
|
||||
@@ -166,6 +166,16 @@ if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
|
||||
message(FATAL_ERROR "Headless mode is required for tests.")
|
||||
endif()
|
||||
|
||||
# Set this to override aspell's dictionaries directory
|
||||
if(ASPELL_DICT_DIR)
|
||||
add_definitions(-DASPELL_DICT_DIR="${ASPELL_DICT_DIR}")
|
||||
endif()
|
||||
|
||||
# Set this to override the myspell dictionaries directory when using enchant
|
||||
if(ENCHANT_MYSPELL_DICT_DIR)
|
||||
add_definitions(-DENCHANT_MYSPELL_DICT_DIR="${ENCHANT_MYSPELL_DICT_DIR}")
|
||||
endif()
|
||||
|
||||
# option WEECHAT_HOME
|
||||
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
||||
STRING "Force a single WeeChat home directory for config, logs, scripts, etc."
|
||||
@@ -188,6 +198,7 @@ include(FindPkgConfig)
|
||||
include(CheckIncludeFiles)
|
||||
include(CheckFunctionExists)
|
||||
include(CheckSymbolExists)
|
||||
include(CheckLibraryExists)
|
||||
|
||||
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
||||
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
||||
@@ -198,25 +209,42 @@ check_symbol_exists("malloc_trim" "malloc.h" HAVE_MALLOC_TRIM)
|
||||
check_function_exists(mallinfo HAVE_MALLINFO)
|
||||
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
||||
|
||||
check_symbol_exists("htonll" "sys/types.h;netinet/in.h;inttypes.h" HAVE_HTONLL)
|
||||
|
||||
check_symbol_exists("eat_newline_glitch" "term.h" HAVE_EAT_NEWLINE_GLITCH)
|
||||
|
||||
# Check if res_init requires libresolv
|
||||
check_function_exists(res_init, LIBC_HAS_RES_INIT)
|
||||
if(NOT LIBC_HAS_RES_INIT)
|
||||
find_library(RESOLV_LIBRARY resolv)
|
||||
if(RESOLV_LIBRARY)
|
||||
check_library_exists("${RESOLV_LIBRARY}" res_init "" LIBRESOLV_HAS_RES_INIT)
|
||||
if(LIBRESOLV_HAS_RES_INIT)
|
||||
list(APPEND EXTRA_LIBS ${RESOLV_LIBRARY})
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Check for Large File Support
|
||||
if(ENABLE_LARGEFILE)
|
||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
|
||||
endif()
|
||||
|
||||
# _XPG4_2 is needed for macros like CMSG_SPACE
|
||||
# __EXTENSIONS__ is needed for constants like NI_MAXHOST and for struct timeval
|
||||
if(CMAKE_HOST_SOLARIS)
|
||||
add_definitions(-D_XPG4_2 -D__EXTENSIONS__)
|
||||
endif()
|
||||
|
||||
# Check for libgcrypt
|
||||
pkg_check_modules(LIBGCRYPT REQUIRED libgcrypt)
|
||||
add_definitions(-DHAVE_GCRYPT)
|
||||
include_directories(${LIBGCRYPT_INCLUDE_DIRS})
|
||||
list(APPEND EXTRA_LIBS ${LIBGCRYPT_LDFLAGS})
|
||||
|
||||
# Check for GnuTLS
|
||||
find_package(GnuTLS REQUIRED)
|
||||
string(REGEX REPLACE "/[^/]*$" "" GNUTLS_LIBRARY_PATH "${GNUTLS_LIBRARY}")
|
||||
include_directories(${GNUTLS_INCLUDE_PATH})
|
||||
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${GNUTLS_LIBRARY_PATH}")
|
||||
list(APPEND EXTRA_LIBS gnutls)
|
||||
pkg_check_modules(GNUTLS REQUIRED gnutls>=3.3.0)
|
||||
include_directories(${GNUTLS_INCLUDE_DIRS})
|
||||
list(APPEND EXTRA_LIBS ${GNUTLS_LDFLAGS})
|
||||
|
||||
# Check for zlib
|
||||
find_package(ZLIB REQUIRED)
|
||||
@@ -240,20 +268,17 @@ if(ICONV_FOUND)
|
||||
endif()
|
||||
|
||||
# Check for CURL
|
||||
find_package(CURL REQUIRED)
|
||||
|
||||
# weechat_gui_common MUST be the first lib in the list
|
||||
set(STATIC_LIBS weechat_gui_common)
|
||||
# NOTE: keep version in sync with tools/check_curl_symbols.py
|
||||
pkg_check_modules(LIBCURL REQUIRED libcurl>=7.47.0)
|
||||
include_directories(${LIBCURL_INCLUDE_DIRS})
|
||||
list(APPEND EXTRA_LIBS ${LIBCURL_LDFLAGS})
|
||||
|
||||
find_library(DL_LIBRARY
|
||||
NAMES dl
|
||||
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
|
||||
)
|
||||
list(APPEND STATIC_LIBS weechat_plugins)
|
||||
if(DL_LIBRARY)
|
||||
string(REGEX REPLACE "/[^/]*$" "" DL_LIBRARY_PATH "${DL_LIBRARY}")
|
||||
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${DL_LIBRARY_PATH}")
|
||||
list(APPEND EXTRA_LIBS dl)
|
||||
list(APPEND EXTRA_LIBS ${DL_LIBRARY})
|
||||
endif()
|
||||
|
||||
add_subdirectory(icons)
|
||||
@@ -261,6 +286,7 @@ add_subdirectory(icons)
|
||||
if(ENABLE_NLS)
|
||||
find_package(Gettext REQUIRED)
|
||||
find_package(Intl REQUIRED)
|
||||
include_directories(${Intl_INCLUDE_DIRS})
|
||||
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
||||
add_subdirectory(po)
|
||||
else()
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
[](https://weechat.org/donate/)
|
||||
|
||||
[](https://github.com/weechat/weechat/actions)
|
||||
[](https://codecov.io/gh/weechat/weechat)
|
||||
[](https://codecov.io/gh/weechat/weechat)
|
||||
|
||||
**WeeChat** (Wee Enhanced Environment for Chat) is a free chat client, fast and light, designed for many operating systems.\
|
||||
It is highly customizable and extensible with scripts.
|
||||
@@ -48,7 +48,7 @@ WeeChat is following a "practical" semantic versioning, see file [CONTRIBUTING.m
|
||||
|
||||
## Copyright
|
||||
|
||||
Copyright © 2003-2024 [Sébastien Helleu](https://github.com/flashcode)
|
||||
Copyright © 2003-2025 [Sébastien Helleu](https://github.com/flashcode)
|
||||
|
||||
This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
|
||||
+64
-43
@@ -7,6 +7,27 @@ When upgrading from version X to Y, please read and apply all instructions from
|
||||
|
||||
For a list of all changes in each version, please see [CHANGELOG.md](CHANGELOG.md).
|
||||
|
||||
## Version 4.6.3
|
||||
|
||||
### API function util_version_number
|
||||
|
||||
An integer overflow has been fixed in the function
|
||||
[util_version_number](https://weechat.org/doc/weechat/plugin/#_util_version_number)
|
||||
which now returns a version up to "127.255.255.255" (0x7FFFFFFF).
|
||||
|
||||
## Version 4.6.0
|
||||
|
||||
### Relay remote commands
|
||||
|
||||
Commands on remote buffers can now be toggled: execution on remote WeeChat or
|
||||
locally, with a new default key: `Alt`+`Ctrl`+`l` (L).
|
||||
|
||||
You can add this key with this command:
|
||||
|
||||
```text
|
||||
/key missing
|
||||
```
|
||||
|
||||
## Version 4.3.1
|
||||
|
||||
### Detection of libgcrypt
|
||||
@@ -142,13 +163,13 @@ You can add this key with this command:
|
||||
Custom bar items must now have a different name than default bar items
|
||||
(for example the custom bar item name `time` is now forbidden).\
|
||||
If you have such names in your config, WeeChat will now fail to load them
|
||||
(this should not happen anyway, since such bar items can not be properly used
|
||||
(this should not happen anyway, since such bar items cannot be properly used
|
||||
or can cause a crash of WeeChat).
|
||||
|
||||
### Nick color infos
|
||||
|
||||
The infos irc_nick_color and irc_nick_color_name are deprecated again, and the
|
||||
algorithm to compute IRC nick colors has been reverted to case sensitive.\
|
||||
algorithm to compute IRC nick colors has been reverted to case-sensitive.\
|
||||
The server name has been removed from arguments.
|
||||
|
||||
## Version 4.1.1
|
||||
@@ -158,7 +179,7 @@ The server name has been removed from arguments.
|
||||
Custom bar items must now have a different name than default bar items
|
||||
(for example the custom bar item name `time` is now forbidden).\
|
||||
If you have such names in your config, WeeChat will now fail to load them
|
||||
(this should not happen anyway, since such bar items can not be properly used
|
||||
(this should not happen anyway, since such bar items cannot be properly used
|
||||
or can cause a crash of WeeChat).
|
||||
|
||||
## Version 4.1.0
|
||||
@@ -219,8 +240,8 @@ version 1.5 are now used again, with a change in parameter: the server is now
|
||||
optional before the nick: "server,nick".\
|
||||
The nick is first converted to lower case, following the value of CASEMAPPING
|
||||
on the server, then hashed to compute the color.\
|
||||
That means the color for a nick is now case insensitive (in the way IRC servers
|
||||
are case insensitive, so with a limited range of chars only).
|
||||
That means the color for a nick is now case-insensitive (in the way IRC servers
|
||||
are case-insensitive, so with a limited range of chars only).
|
||||
|
||||
If a script was using this info with a comma in nickname (which should not happen
|
||||
anyway), this is now interpreted as the server name, and the script must be
|
||||
@@ -272,7 +293,7 @@ Custom bar items must now have a different name than default bar items
|
||||
(for example the custom bar item name `time` is now forbidden).
|
||||
|
||||
If you have such names in your config, WeeChat will now fail to load them
|
||||
(this should not happen anyway, since such bar items can not be properly used
|
||||
(this should not happen anyway, since such bar items cannot be properly used
|
||||
and can cause a crash of WeeChat).
|
||||
|
||||
## Version 4.0.1
|
||||
@@ -281,8 +302,8 @@ and can cause a crash of WeeChat).
|
||||
|
||||
The functions [config_set_plugin](https://weechat.org/doc/weechat/plugin/#_config_set_plugin)
|
||||
and [config_set_desc_plugin](https://weechat.org/doc/weechat/plugin/#_config_set_desc_plugin)
|
||||
are not converting any more the option name to lower case because since version 4.0.0,
|
||||
the name of options is case sensitive.
|
||||
are not converting anymore the option name to lower case because since version 4.0.0,
|
||||
the name of options is case-sensitive.
|
||||
|
||||
### Grab raw key and command
|
||||
|
||||
@@ -332,7 +353,7 @@ automatically upgraded to a new version:
|
||||
- weechat.conf: new key names
|
||||
(see <<v4.0.0_key_bindings_improvements,Key bindings improvements>>)
|
||||
- alias.conf: aliases converted to lower case
|
||||
(see <<v4.0.0_case_sensitive_identifiers,Case sensitive identifiers>>)
|
||||
(see <<v4.0.0_case_sensitive_identifiers,Case-sensitive identifiers>>)
|
||||
- irc.conf: options `ssl*` renamed to `tls*`
|
||||
(see <<v4.0.0_tls,TLS options and connections>>)
|
||||
- relay.conf: options and protocol `ssl*` renamed to `tls*`
|
||||
@@ -342,8 +363,8 @@ automatically upgraded to a new version:
|
||||
> Because of this new format, you must **NOT** load the new configuration
|
||||
files in any older WeeChat version < 4.0.0 once you have run any version ≥ 4.0.0
|
||||
at least one time.\
|
||||
For example the new key names make the input completely broken (you can not
|
||||
enter most chars in input any more and Enter key does not work).
|
||||
For example the new key names make the input completely broken (you cannot
|
||||
enter most chars in input anymore and Enter key does not work).
|
||||
|
||||
### Key bindings improvements
|
||||
|
||||
@@ -368,20 +389,20 @@ for more information.
|
||||
|
||||
Aliases are now used for keys, like `f1`, `home`, `return`, etc.\
|
||||
In addition, a comma is now required between different keys, for example `ctrl-cb`
|
||||
is not valid any more and must be replaced by `ctrl-c,b`.
|
||||
is not valid anymore and must be replaced by `ctrl-c,b`.
|
||||
|
||||
The keys in weechat.conf are automatically converted from legacy format on first
|
||||
run or upgrade with a legacy configuration file.
|
||||
|
||||
For keys bound in external plugins or scripts, WeeChat tries to convert them
|
||||
on-the-fly to stay compatible, but this can not work in all cases (this is a
|
||||
on-the-fly to stay compatible, but this cannot work in all cases (this is a
|
||||
breaking change).
|
||||
|
||||
The following fixes are done on keys when they are defined:
|
||||
|
||||
- transform upper case ctrl keys to lower case
|
||||
- replace space char by `space`
|
||||
- replace `meta2-` by `meta-[` (modifier `meta2-` doesn't exist any more)
|
||||
- replace `meta2-` by `meta-[` (modifier `meta2-` doesn't exist anymore)
|
||||
- mouse modifiers are now in this order: `alt-` then `ctrl-`.
|
||||
|
||||
A warning is displayed when a raw key or invalid key is added.\
|
||||
@@ -427,9 +448,9 @@ New key binding (context "default"): ctrl-q => /print test
|
||||
With older releases, upper case was mandatory and lower case letter for control
|
||||
keys were not working at all.
|
||||
|
||||
### Case sensitive identifiers
|
||||
### Case-sensitive identifiers
|
||||
|
||||
Many identifiers are made case sensitive, including among others:
|
||||
Many identifiers are made case-sensitive, including among others:
|
||||
|
||||
- configuration files, sections, options
|
||||
- commands, aliases
|
||||
@@ -441,7 +462,7 @@ Many identifiers are made case sensitive, including among others:
|
||||
- scripts
|
||||
- triggers.
|
||||
|
||||
See [Case sensitive identifiers specification](https://specs.weechat.org/specs/2023-001-case-sensitive-identifiers.html)
|
||||
See [Case-sensitive identifiers specification](https://specs.weechat.org/specs/2023-001-case-sensitive-identifiers.html)
|
||||
for more information.
|
||||
|
||||
Accordingly, default aliases are now in lower case.\
|
||||
@@ -542,7 +563,7 @@ WeeChat must now be built with CMake.
|
||||
|
||||
The auto-generated files for documentation are now built with `weechat-headless`,
|
||||
after compilation of WeeChat and the plugins (the files are not in repository
|
||||
any more).\
|
||||
anymore).\
|
||||
This implies all plugins must be compiled and loaded in order to have complete docs
|
||||
(User's guide and Plugin API reference).
|
||||
|
||||
@@ -561,7 +582,7 @@ cmake .. -DENABLE_PHP=OFF -DENABLE_DOC=ON -DENABLE_DOC_INCOMPLETE=ON
|
||||
#### Tarballs
|
||||
|
||||
The command `make dist` now builds only `.gz` and `.xz` compressed tarballs.\
|
||||
Formats `.bz2` and `.zst` are not built any more.
|
||||
Formats `.bz2` and `.zst` are not built anymore.
|
||||
|
||||
#### RPM packaging
|
||||
|
||||
@@ -641,7 +662,7 @@ compared UTF-8 char in string2 from the last compared UTF-8 char in string1:
|
||||
|
||||
In addition, the case conversion has been extended, now in addition to range
|
||||
A-Z, all chars that have a lower case version are handled.\
|
||||
That means for example the case insensitive comparison of "é" and "É" is 0
|
||||
That means for example the case-insensitive comparison of "é" and "É" is 0
|
||||
(chars are considered equal).
|
||||
|
||||
Example with WeeChat 3.8:
|
||||
@@ -693,7 +714,7 @@ _WeeChat User's guide_.
|
||||
### Remove Python 2 support
|
||||
|
||||
The CMake option `ENABLE_PYTHON2` and autotools option `--enable-python2`
|
||||
have been removed, and WeeChat can not be compiled with Python 2.x any more.
|
||||
have been removed, and WeeChat cannot be compiled with Python 2.x anymore.
|
||||
|
||||
### Callbacks of function config_new_option
|
||||
|
||||
@@ -1322,9 +1343,9 @@ Motivations:
|
||||
- GnuTLS library should be available everywhere
|
||||
- reduce complexity of code and tests of builds.
|
||||
|
||||
### The trigger "cmd_pass" does not hide any more values of /set command
|
||||
### The trigger "cmd_pass" does not hide anymore values of /set command
|
||||
|
||||
The default trigger "cmd_pass" does not hide any more values of options in `/set`
|
||||
The default trigger "cmd_pass" does not hide anymore values of options in `/set`
|
||||
command which contain "password" in the name.
|
||||
|
||||
The reason is that it was masking values of options that contains the word
|
||||
@@ -1428,7 +1449,7 @@ The command line option `-a` (or `--no-connect`), which can also be used in the
|
||||
`/plugin` command, is now used to set a new info called `auto_connect`
|
||||
(see the function [info_get](https://weechat.org/doc/weechat/plugin/#_info_get) in the Plugin API reference).
|
||||
|
||||
Therefore, the option is not sent any more to the function `weechat_plugin_init`
|
||||
Therefore, the option is not sent anymore to the function `weechat_plugin_init`
|
||||
of plugins.\
|
||||
The plugins using this option must now get the info `auto_connect` and check
|
||||
if the value is "1" (a string with just `1`).
|
||||
@@ -1461,7 +1482,7 @@ now displayed on any missing dependency, if the optional feature was enabled
|
||||
(most features are automatically enabled, except documentation, man page and
|
||||
tests).
|
||||
|
||||
Any error on a missing dependency is fatal, so WeeChat can not be compiled.
|
||||
Any error on a missing dependency is fatal, so WeeChat cannot be compiled.
|
||||
This is a new behavior compared to old versions, where any missing dependency
|
||||
was silently ignored and the compilation was possible anyway.
|
||||
|
||||
@@ -1505,7 +1526,7 @@ For more information, see the WeeChat scripting guide: chapter about strings
|
||||
received in callbacks (see also issue [#1389](https://github.com/weechat/weechat/issues/1389)).
|
||||
|
||||
Note: there are no changes for Python 2 (which is now deprecated and should not
|
||||
be used any more), the strings sent to callbacks are always of type `str`, and
|
||||
be used anymore), the strings sent to callbacks are always of type `str`, and
|
||||
may contain invalid UTF-8 data, in the cases mentioned in the WeeChat scripting
|
||||
guide.
|
||||
|
||||
@@ -1645,7 +1666,7 @@ This affects only C code, no changes are required in scripts.
|
||||
|
||||
### Nick completer
|
||||
|
||||
A space is not added automatically any more when you complete a nick at the
|
||||
A space is not added automatically anymore when you complete a nick at the
|
||||
beginning of command line.\
|
||||
Purpose of this change is to be more flexible: you can choose whether the space
|
||||
is added or not (it was always added in previous releases).
|
||||
@@ -1856,7 +1877,7 @@ sudo apt-get install weechat-devel-python weechat-devel-perl
|
||||
|
||||
### Evaluation in buflist
|
||||
|
||||
The evaluation of expressions in buflist options is not recursive any more,
|
||||
The evaluation of expressions in buflist options is not recursive anymore,
|
||||
to prevent too many evaluations, for example in buffer variables
|
||||
(see issue [#1060](https://github.com/weechat/weechat/issues/1060) for more information).\
|
||||
If you are using custom variables/options containing evaluated expressions,
|
||||
@@ -2190,7 +2211,7 @@ You can restore the default "beep" trigger with the following command:
|
||||
The API function [command](https://weechat.org/doc/weechat/plugin/#_command)
|
||||
now sends the value returned return by command callback.
|
||||
|
||||
WeeChat does not display any more an error when a command returns
|
||||
WeeChat does not display anymore an error when a command returns
|
||||
`WEECHAT_RC_ERROR`. Consequently, all plugins/scripts should display an
|
||||
explicit error message before returning `WEECHAT_RC_ERROR`.
|
||||
|
||||
@@ -2254,7 +2275,7 @@ instead of milliseconds:
|
||||
|
||||
### Channel type not added by default on /join
|
||||
|
||||
The channel type is not any more automatically added to a channel name on join
|
||||
The channel type is not anymore automatically added to a channel name on join
|
||||
(for example `/join weechat` will not send `/join #weechat`).
|
||||
|
||||
If you are lazy and want to automatically add the channel type, you can turn on
|
||||
@@ -2287,7 +2308,7 @@ You can rebind the key `Alt`+`j`, `Alt`+`l` (`L`):
|
||||
```
|
||||
|
||||
Note: the command `/input jump_last_buffer` still works for compatibility reasons,
|
||||
but it should not be used any more.
|
||||
but it should not be used anymore.
|
||||
|
||||
Similarly, a new key has been added to jump to first buffer: `Alt`+`j`, `Alt`+`f`.
|
||||
You can add it with the following command:
|
||||
@@ -2355,8 +2376,8 @@ if int(highlight):
|
||||
### Colors in messages
|
||||
|
||||
The color code for "reverse video" in IRC message has been fixed: now WeeChat
|
||||
uses 0x16 like other clients (and not 0x12 any more).\
|
||||
The code 0x12 is not decoded any more, so if it is received (for example from
|
||||
uses 0x16 like other clients (and not 0x12 anymore).\
|
||||
The code 0x12 is not decoded anymore, so if it is received (for example from
|
||||
an old WeeChat version), it is not displayed as reverse video.
|
||||
|
||||
The color code for "underlined text" in input line has been fixed: now WeeChat
|
||||
@@ -2407,7 +2428,7 @@ The default value for status bar items becomes:
|
||||
|
||||
### IRC messages on channel join
|
||||
|
||||
The names are not displayed any more by default on channel join (they are in
|
||||
The names are not displayed anymore by default on channel join (they are in
|
||||
nicklist anyway).
|
||||
|
||||
Names can be displayed with the value "353" in option
|
||||
@@ -2435,7 +2456,7 @@ You should check the value of both options and fix them if needed.
|
||||
### Day change message
|
||||
|
||||
The day change message is now dynamically displayed, and therefore is not stored
|
||||
as a line in buffer any more.
|
||||
as a line in buffer anymore.
|
||||
|
||||
Option weechat.look.day_change_time_format has been split into two options
|
||||
weechat.look.day_change_message_{1date|2dates} (color codes are allowed in
|
||||
@@ -2525,7 +2546,7 @@ creating this link on make install).
|
||||
|
||||
### Man page / documentation
|
||||
|
||||
Documentation is not built by default any more, you have to use option
|
||||
Documentation is not built by default anymore, you have to use option
|
||||
`-DENABLE_DOC=ON` in cmake command to enable it.
|
||||
|
||||
The man page is now built with asciidoc and translated in several
|
||||
@@ -2553,7 +2574,7 @@ For more info about content of message, see document _WeeChat Relay Protocol_.
|
||||
### Dynamic nick prefix/suffix
|
||||
|
||||
The nick prefix/suffix (for example: "<" and ">") are now dynamic and used on
|
||||
display (not stored any more in the line).
|
||||
display (not stored anymore in the line).
|
||||
|
||||
Options moved from irc plugin (irc.conf) to core (weechat.conf):
|
||||
|
||||
@@ -2602,7 +2623,7 @@ FlashCo+ │ test # 8, off
|
||||
After `/upgrade`, if you set new options to non-empty strings, and if old
|
||||
options were set to non-empty strings too, you will see double prefix/suffix
|
||||
on old messages, this is normal behavior (lines displayed before `/upgrade`
|
||||
have prefix/suffix saved in prefix, but new lines don't have them any more).
|
||||
have prefix/suffix saved in prefix, but new lines don't have them anymore).
|
||||
|
||||
New options in logger plugin (logger.conf):
|
||||
|
||||
@@ -2812,11 +2833,11 @@ Cygwin).
|
||||
### Extended regex
|
||||
|
||||
Extended regex is used in filters and irc ignore, so some chars that needed
|
||||
escape in past do not need any more (for example `[0-9]\+` becomes `[0-9]+`),
|
||||
escape in past do not need anymore (for example `[0-9]\+` becomes `[0-9]+`),
|
||||
filters and ignore have to be manually fixed.
|
||||
|
||||
Option weechat.look.highlight_regex becomes case insensitive by default, to
|
||||
make it case sensitive, use "(?-i)" at beginning of string, for example:
|
||||
Option weechat.look.highlight_regex becomes case-insensitive by default, to
|
||||
make it case-sensitive, use "(?-i)" at beginning of string, for example:
|
||||
"(?-i)FlashCode|flashy".
|
||||
|
||||
## Version 0.3.6
|
||||
@@ -2829,7 +2850,7 @@ If you changed the value of this option, you must set it again after upgrade.
|
||||
|
||||
### Bold in colors
|
||||
|
||||
Bold is not used any more for basic colors (used only if terminal has less than
|
||||
Bold is not used anymore for basic colors (used only if terminal has less than
|
||||
16 colors), a new option has been added to force bold if needed:
|
||||
weechat.look.color_basic_force_bold.
|
||||
|
||||
@@ -2838,7 +2859,7 @@ weechat.look.color_basic_force_bold.
|
||||
### Colors
|
||||
|
||||
If you have some colors defined in section "palette" with version 0.3.4, you
|
||||
should remove all colors defined, and add new aliases (it's not needed any more
|
||||
should remove all colors defined, and add new aliases (it's not needed anymore
|
||||
to add colors before using them).
|
||||
|
||||
Colors for nick prefixes (char for op, voice, ..) are defined in a single
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2014-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2014-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find GnuTLS
|
||||
# This module finds if libgnutls is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# GNUTLS_INCLUDE_PATH = path to where <gnutls/gnutls.h> can be found
|
||||
# GNUTLS_LIBRARY = path to where libgnutls.so* can be found
|
||||
# GNUTLS_CFLAGS = cflags to use to compile
|
||||
# GNUTLS_LDFLAGS = ldflags to use to compile
|
||||
|
||||
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
# Already in cache, be silent
|
||||
set(GNUTLS_FIND_QUIETLY TRUE)
|
||||
endif()
|
||||
|
||||
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
|
||||
|
||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
|
||||
OUTPUT_VARIABLE GNUTLS_PREFIX
|
||||
)
|
||||
|
||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
|
||||
OUTPUT_VARIABLE GNUTLS_CFLAGS
|
||||
)
|
||||
string(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_CFLAGS}")
|
||||
|
||||
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
|
||||
OUTPUT_VARIABLE GNUTLS_LDFLAGS
|
||||
)
|
||||
string(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
|
||||
|
||||
set(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
|
||||
set(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
|
||||
|
||||
find_path(GNUTLS_INCLUDE_PATH
|
||||
NAMES gnutls/gnutls.h
|
||||
PATHS GNUTLS_POSSIBLE_INCLUDE_PATH
|
||||
)
|
||||
|
||||
find_library(GNUTLS_LIBRARY
|
||||
NAMES gnutls
|
||||
PATHS GNUTLS_POSSIBLE_LIB_DIR
|
||||
)
|
||||
|
||||
if(NOT GNUTLS_INCLUDE_PATH OR NOT GNUTLS_LIBRARY)
|
||||
message(FATAL_ERROR "GnuTLS was not found")
|
||||
endif()
|
||||
|
||||
mark_as_advanced(
|
||||
GNUTLS_INCLUDE_PATH
|
||||
GNUTLS_LIBRARY
|
||||
GNUTLS_CFLAGS
|
||||
GNUTLS_LDFLAGS
|
||||
)
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2011-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+4
-2
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
||||
# Copyright (C) 2017-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2017-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -29,6 +29,8 @@ endif()
|
||||
|
||||
if(NOT PHP_FOUND)
|
||||
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
||||
php-config8.4 php-config84
|
||||
php-config8.3 php-config83
|
||||
php-config8.2 php-config82
|
||||
php-config8.1 php-config81
|
||||
php-config8.0 php-config80
|
||||
@@ -48,7 +50,7 @@ if(NOT PHP_FOUND)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
if(${PHP_VERSION} MATCHES "^[78]")
|
||||
find_library(PHP_LIB
|
||||
NAMES php8.2 php82 php8.1 php81 php8.0 php80 php8 php7.4 php74 php7.3 php73 php7.2 php72 php7.1 php71 php7.0 php70 php7 php
|
||||
NAMES php8.4 php84 php8.3 php83 php8.2 php82 php8.1 php81 php8.0 php80 php8 php7.4 php74 php7.3 php73 php7.2 php72 php7.1 php71 php7.0 php70 php7 php
|
||||
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
|
||||
)
|
||||
if(PHP_LIB)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Python
|
||||
# This module finds if Python is installed and determines where the include files
|
||||
# and libraries are. It also determines what the name of the library is. This
|
||||
# code sets the following variables:
|
||||
#
|
||||
# PYTHON_EXECUTABLE = full path to the python binary
|
||||
# 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
|
||||
|
||||
pkg_check_modules(PYTHON python3-embed IMPORTED_TARGET GLOBAL)
|
||||
if(NOT PYTHON_FOUND)
|
||||
pkg_check_modules(PYTHON python3 IMPORTED_TARGET GLOBAL)
|
||||
endif()
|
||||
@@ -1,45 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Ruby
|
||||
# This module finds if Ruby is installed and determines where the include files
|
||||
# and libraries are. It also determines what the name of the library is. This
|
||||
# code sets the following variables:
|
||||
#
|
||||
# RUBY_INCLUDE_DIRS = C flags to compile with ruby
|
||||
# RUBY_LIBRARY_DIRS = linker flags to compile with ruby (found with pkg-config)
|
||||
# RUBY_LIB = ruby library (found without pkg-config)
|
||||
|
||||
if(RUBY_FOUND)
|
||||
# Already in cache, be silent
|
||||
set(RUBY_FIND_QUIETLY TRUE)
|
||||
endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# set specific search path for macOS
|
||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig")
|
||||
endif()
|
||||
pkg_search_module(RUBY ruby-3.3 ruby-3.2 ruby-3.1 ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby)
|
||||
if(RUBY_FOUND AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# FIXME: weird hack: hardcoding the Ruby lib location on macOS
|
||||
set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib")
|
||||
endif()
|
||||
endif()
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2015-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2015-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#cmakedefine HAVE_MALLINFO2
|
||||
#cmakedefine HAVE_MALLOC_H
|
||||
#cmakedefine HAVE_MALLOC_TRIM
|
||||
#cmakedefine HAVE_HTONLL
|
||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
||||
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
||||
|
||||
@@ -24,7 +24,7 @@ Build-Depends:
|
||||
libzstd-dev,
|
||||
zlib1g-dev,
|
||||
libcjson-dev
|
||||
Standards-Version: 4.6.2
|
||||
Standards-Version: 4.7.2
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||
|
||||
@@ -16,8 +16,5 @@ override_dh_auto_configure:
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs CHANGELOG.md
|
||||
|
||||
%:
|
||||
dh $@ --builddirectory=$(BUILDDIR)
|
||||
|
||||
+35
-4
@@ -1,3 +1,34 @@
|
||||
weechat (4.6.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #1102450, #1098090)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 16 Apr 2025 20:31:07 +0000
|
||||
|
||||
weechat (4.5.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Update copyright file (new year)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 20 Jan 2025 14:39:42 +0000
|
||||
|
||||
weechat (4.4.3-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Remove (fixed upstream) the fix for a possible privacy breach with html
|
||||
documentation which includes stylesheets and fonts (font-awesome) hosted
|
||||
on remote CDN (Cloudflare).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 06 Nov 2024 21:27:08 +0000
|
||||
|
||||
weechat (4.4.2-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
- fix crash where exiting (Closes: #1076532)
|
||||
- fix a minor security issue (Closes: #1081942)
|
||||
* Bump Standards-Version to 4.7.0
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 22 Sep 2024 13:08:28 +0000
|
||||
|
||||
weechat (4.3.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #1067608)
|
||||
@@ -528,7 +559,7 @@ weechat (0.3.6-1) unstable; urgency=low
|
||||
documentation when weechat-doc is installed (Closes: #632621)
|
||||
* Add a Suggest on weechat-doc for weechat and weechat-curses. Thanks to
|
||||
Jonathan Nieder for the proposal.
|
||||
* Fix the cmake invokation from debian/rules (cflags and ldflags)
|
||||
* Fix the cmake invocation from debian/rules (cflags and ldflags)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 26 Oct 2011 20:10:09 +0000
|
||||
|
||||
@@ -750,7 +781,7 @@ weechat (0.2.3-1) unstable; urgency=low
|
||||
* New upstream release
|
||||
* Bump lua build-dependency to liblua5.1-0-dev
|
||||
* Add pkg-config to Build-Depends
|
||||
* Remove some duplited changelog entries.
|
||||
* Remove some duplicated changelog entries.
|
||||
* Improve weechat-plugins description
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 12 Jan 2007 09:01:46 +0100
|
||||
@@ -758,7 +789,7 @@ weechat (0.2.3-1) unstable; urgency=low
|
||||
weechat (0.2.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Overrive lintian menu-icon-missing warning
|
||||
* Override lintian menu-icon-missing warning
|
||||
since the icon is in the weechat-common package.
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Mon, 2 Oct 2006 15:30:06 +0200
|
||||
@@ -903,7 +934,7 @@ weechat (0.1.1-2) unstable; urgency=low
|
||||
|
||||
* debian/control:
|
||||
- Add myself to uploaders.
|
||||
- Remove unecessary dependency on weechat-gtk (Closes: #308287).
|
||||
- Remove unnecessary dependency on weechat-gtk (Closes: #308287).
|
||||
|
||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ Build-Depends:
|
||||
libzstd-dev,
|
||||
zlib1g-dev,
|
||||
libcjson-dev
|
||||
Standards-Version: 4.6.2
|
||||
Standards-Version: 4.7.2
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||
|
||||
@@ -4,7 +4,7 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Source: https://weechat.org/
|
||||
|
||||
Files: *
|
||||
Copyright: 2003-2024, Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright: 2003-2025, Sébastien Helleu <flashcode@flashtux.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/core-command.c
|
||||
|
||||
@@ -16,8 +16,5 @@ override_dh_auto_configure:
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs CHANGELOG.md
|
||||
|
||||
%:
|
||||
dh $@ --builddirectory=$(BUILDDIR)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
AUTHORS.md
|
||||
CHANGELOG.md
|
||||
CONTRIBUTING.md
|
||||
README.md
|
||||
UPGRADING.md
|
||||
|
||||
+9
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -40,7 +40,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
-a reproducible
|
||||
-a "prewrap!"
|
||||
-a "webfonts!"
|
||||
-a icons=font
|
||||
-a revnumber="${VERSION}"
|
||||
-a sectanchors
|
||||
-a source-highlighter=pygments
|
||||
@@ -205,6 +204,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
||||
doc-autogen
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
||||
@@ -225,6 +225,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
doc-autogen
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_config_priority.${lang}.adoc"
|
||||
@@ -248,6 +249,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
doc-autogen
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
||||
@@ -265,6 +267,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_faq.${lang}.html"
|
||||
)
|
||||
@@ -279,6 +282,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_quickstart.${lang}.html"
|
||||
)
|
||||
@@ -293,6 +297,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_relay_api.${lang}.html"
|
||||
@@ -308,6 +313,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_relay_weechat.${lang}.html"
|
||||
@@ -323,6 +329,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_dev.${lang}.html"
|
||||
)
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// czech translation, for reference only; matches the built-in behavior of core
|
||||
:appendix-caption: Příloha
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Upozornění
|
||||
:chapter-signifier: Kapitola
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Příklad
|
||||
:figure-caption: Obrázek
|
||||
:important-caption: Důležité
|
||||
:last-update-label: Změněno
|
||||
ifdef::listing-caption[:listing-caption: Seznam]
|
||||
ifdef::manname-title[:manname-title: Název]
|
||||
:note-caption: Poznámka
|
||||
:part-signifier: Část
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Úvod]
|
||||
:section-refsig: Oddíl
|
||||
:table-caption: Tabulka
|
||||
:tip-caption: Tip
|
||||
:toc-title: Obsah
|
||||
:untitled-label: Nepojmenovaný
|
||||
:version-label: Verze
|
||||
:warning-caption: Varování
|
||||
@@ -99,7 +99,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||
souboru AUTHORS.md).
|
||||
|
||||
Copyright (C) 2003-2024 {author}
|
||||
Copyright (C) 2003-2025 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: cs
|
||||
include::includes/attributes-cs.adoc[]
|
||||
|
||||
[[start]]
|
||||
== Spuštění WeeChatu
|
||||
@@ -286,7 +287,7 @@ Close a server, channel or private buffer (`/close` is an alias for
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Closing the server buffer will close all channel/private buffers.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// German translation, courtesy of Florian Wilhelm
|
||||
:appendix-caption: Anhang
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Achtung
|
||||
:chapter-signifier: Kapitel
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Beispiel
|
||||
:figure-caption: Abbildung
|
||||
:important-caption: Wichtig
|
||||
:last-update-label: Zuletzt aktualisiert
|
||||
ifdef::listing-caption[:listing-caption: Listing]
|
||||
ifdef::manname-title[:manname-title: Bezeichnung]
|
||||
:note-caption: Anmerkung
|
||||
:part-signifier: Teil
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Vorwort]
|
||||
:section-refsig: Abschnitt
|
||||
:table-caption: Tabelle
|
||||
:tip-caption: Hinweis
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
:untitled-label: Ohne Titel
|
||||
:version-label: Version
|
||||
:warning-caption: Warnung
|
||||
@@ -100,7 +100,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
||||
findet man in der AUTHORS.md Datei).
|
||||
|
||||
Copyright (C) 2003-2024 {author}
|
||||
Copyright (C) 2003-2025 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
include::includes/attributes-de.adoc[]
|
||||
|
||||
Übersetzer:
|
||||
|
||||
@@ -333,9 +333,7 @@ unterstützt (rxvt-unicode, konsole, gnome-terminal, ... um nur einige zu nennen
|
||||
Im Normalfall erfolgt die Markierung des Textes mittels der Tasten kbd:[Ctrl+Alt]
|
||||
in Verbindung mit der Auswahl durch die Maus.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can toggle nicklist and make it visible only when needed, with key
|
||||
kbd:[Alt+Shift+N].
|
||||
Die Nickliste kann umgeschaltet und nur bei Bedarf sichtbar gemacht werden, mit der Taste kbd:[Alt+Shift+N].
|
||||
|
||||
Eine weitere Möglichkeit besteht darin,
|
||||
die Benutzerliste am oberen oder unteren Rand des WeeChat-Bildschirmes zu positionieren:
|
||||
@@ -352,8 +350,7 @@ Dazu kann man den vereinfachten Anzeigemodus nutzen (Standardtaste: kbd:[Alt+l]
|
||||
|
||||
Um URLs einfacher zu öffnen, können alternativ folgende Optionen gesetzt werden:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* toggle nicklist and make it visible only when needed, with key kbd:[Alt+Shift+N]
|
||||
* Nickliste umschalten und nur bei Bedarf darstellen, mit dem Tastenkurzbefehl kbd:[Alt+Shift+N]
|
||||
|
||||
* Die Benutzerliste am oberen Bildschirmbereich positionieren.
|
||||
|
||||
@@ -1309,7 +1306,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
|
||||
[[supported_os]]
|
||||
=== Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssysteme portiert?
|
||||
|
||||
WeeChat läuft auf den meisten Linux/BSD-Distributionen, GNU/Hurd, Mac OS und
|
||||
WeeChat läuft auf den meisten Linux/BSD-Distributionen, GNU/Hurd, macOS und
|
||||
Windows (Cygwin und Windows Subsystem für Linux) einwandfrei.
|
||||
|
||||
Wir geben unser Bestes, WeeChat auf möglichst viele Plattformen zu portieren.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
include::includes/attributes-de.adoc[]
|
||||
|
||||
Übersetzer:
|
||||
|
||||
@@ -301,7 +301,7 @@ Einen Buffer schließen (Server, Channel, privater Buffer);
|
||||
/close
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Wird ein Server-Buffer geschlossen,
|
||||
schließt WeeChat ebenfalls alle zum Server
|
||||
gehörenden Channels und privaten Buffer.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
include::includes/attributes-de.adoc[]
|
||||
|
||||
Übersetzer:
|
||||
|
||||
@@ -73,7 +73,7 @@ und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_
|
||||
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
|
||||
importiert werden muss. +
|
||||
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
|
||||
[[python_functions]]
|
||||
===== Funktionen
|
||||
|
||||
+148
-135
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
include::includes/attributes-de.adoc[]
|
||||
|
||||
Übersetzer:
|
||||
|
||||
@@ -471,7 +471,7 @@ zum Absturz von WeeChat führt:
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Sie sollten die Adressbereinigung nur aktivieren, wenn Sie versuchen, einen
|
||||
Absturz zu provozieren. Diese Funktion wird im produktiven Einsatz nicht empfohlen.
|
||||
|
||||
@@ -611,7 +611,7 @@ include::includes/cmdline_options.de.adoc[tag=standard]
|
||||
|
||||
Einige zusätzliche Optionen sollten nur für Debug-Zwecke genutzt werden:
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
*KEINE* dieser Optionen sollte für ein Produktivsystem genutzt werden!
|
||||
|
||||
include::includes/cmdline_options.de.adoc[tag=debug]
|
||||
@@ -827,7 +827,7 @@ weechat --upgrade
|
||||
==== Hinweise zum Upgrade
|
||||
|
||||
Nach einem Upgrade, wird *dringend empfohlen* das Dokukment
|
||||
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
zu lesen. Dieses Dokument enthält wichtige Informationen zu wichtigen Änderungen und
|
||||
einige manuelle Aktionen, die erforderlich sein könnten.
|
||||
|
||||
@@ -882,7 +882,7 @@ Beispiel des WeeChat-Terminals:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* M [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ Bars "status" und "input" Bar "nicklist" ▲
|
||||
@@ -921,32 +921,34 @@ Die _status_-Bar besitzt als Standardeinträge:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Item | Beispiel | Beschreibung
|
||||
| time | `[12:55]` | Uhrzeit.
|
||||
| buffer_last_number | `[5]` | Nummer des letzten Buffers.
|
||||
| buffer_plugin | `[irc/libera]` | Erweiterung des aktuellen Buffers (IRC Erweiterung setzt den IRC Servername für den Buffer).
|
||||
| buffer_number | `2` | Aktuelle Nummer des Buffers.
|
||||
| buffer_name | `#test` | Name des aktuellen Buffers.
|
||||
| buffer_modes | `+n` | IRC Kanal-Modi.
|
||||
| buffer_nicklist_count | `{4}` | Anzahl der Nicks die in der Nickliste angezeigt werden.
|
||||
| buffer_zoom | ! | `!` bedeutet, dass ein zusammengefügter Buffer gezoomed (nur dieser Buffer wird angezeigt) wird.
|
||||
| buffer_filter | `+*+` | Filteranzeige: `+*+` bedeutet das Zeilen gefiltert (unterdrückt) werden. Ein leerer Eintrag zeigt an, dass alle Zeilen dargestellt werden.
|
||||
| scroll | `-MORE(50)-` | Scroll Indikator, zeigt an wie viele Zeilen unterhalb der zur Zeit dargestellten Zeile vorhanden sind.
|
||||
| lag | `[Lag: 2.5]` | Verzögerungsanzeige, in Sekunden (keine Anzeige falls Verzögerung gering).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | Liste der Buffer mit Aktivität (ungelesene Nachrichten) (für das Beispiel: 2 Highlights und 5 ungelesene Nachrichten im Kanal _#abc_, eine ungelesene Nachricht in Buffer #5).
|
||||
| completion | `abc(2) def(5)` | Liste von Wörtern für Vervollständigung, die Zahl zeigt an wie viele Varianten möglich sind.
|
||||
| Item | Beispiel | Beschreibung
|
||||
| time | `12:55` | Uhrzeit.
|
||||
| buffer_last_number | `5` | Nummer des letzten Buffers (kann sich unterscheiden von `buffer_count` wenn Option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> deaktiviert (`off`) ist).
|
||||
| buffer_plugin | `irc/libera` | Erweiterung des aktuellen Buffers (IRC Erweiterung setzt den IRC Servername für den Buffer).
|
||||
| buffer_number | `2` | Aktuelle Nummer des Buffers.
|
||||
| buffer_name | `#test` | Name des aktuellen Buffers.
|
||||
| buffer_modes | `+n` | IRC Kanal-Modi.
|
||||
| buffer_nicklist_count | `4` | Anzahl der Nicks die in der Nickliste angezeigt werden.
|
||||
| buffer_zoom | ! | `!` bedeutet, dass ein zusammengefügter Buffer gezoomed (nur dieser Buffer wird angezeigt) wird.
|
||||
| buffer_filter | `+*+` | Filteranzeige: `+*+` bedeutet das Zeilen gefiltert (unterdrückt) werden. Ein leerer Eintrag zeigt an, dass alle Zeilen dargestellt werden.
|
||||
| mouse_status | `M` | Mouse status (empty if mouse is disabled), see command <<command_weechat_mouse,/mouse>> and <<key_bindings_toggle_keys,Tasten zum Umschalten von Funktionen>>.
|
||||
| scroll | `-MORE(50)-` | Scroll Indikator, zeigt an wie viele Zeilen unterhalb der zur Zeit dargestellten Zeile vorhanden sind.
|
||||
| lag | `Lag: 2.5` | Verzögerungsanzeige, in Sekunden (keine Anzeige falls Verzögerung gering).
|
||||
| hotlist | `H: 3:#abc(2,5), 5` | Liste der Buffer mit Aktivität (ungelesene Nachrichten) (für das Beispiel: 2 Highlights und 5 ungelesene Nachrichten im Kanal _#abc_, eine ungelesene Nachricht in Buffer #5).
|
||||
| typing | `Typing: bob, (alice)` | Schreibbenachrichtigung, siehe <<typing_notifications,Schreibbenachrichtigung>>.
|
||||
| completion | `abc(2) def(5)` | Liste von Wörtern für Vervollständigung, die Zahl zeigt an wie viele Varianten möglich sind.
|
||||
|===
|
||||
|
||||
In der _input_ Bar lautet die Standardeinstellung:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Item | Beispiel | Beschreibung
|
||||
| input_prompt | `[@Flashy(i)]` | Input prompt, für irc: Nick und Modi (Modus "+i" bedeutet auf libera, unsichtbar).
|
||||
| away | `(away)` | Abwesenheitsanzeige.
|
||||
| input_search | `[Search lines (~ str,msg)]` | Suchindikatoren ("`~`": Groß-und Kleinschreibung ignorieren, "`==`": Groß-und Kleinschreibung berücksichtigen, "`str`": einfache Textsuche, "`regex`": suche mit regulären Ausdrücken, "`msg`": Suche in Nachrichten, "`pre`": Suche in Präfix, "`pre\|msg`": Suche in Präfix und Nachrichten).
|
||||
| input_paste | `[Paste 7 lines ? [ctrl-y] Ja [ctrl-n] Nein]` | Nachfrage, ob sieben Zeilen eingefügt werden sollen.
|
||||
| input_text | `hi peter!` | Text der eingegeben wird.
|
||||
| Item | Beispiel | Beschreibung
|
||||
| input_prompt | `@Flashy(i)` | Input prompt, für irc: Nick und Modi (Modus "+i" bedeutet auf libera, unsichtbar).
|
||||
| away | `away` | Abwesenheitsanzeige.
|
||||
| input_search | `Search lines (~ str,msg)` | Suchindikatoren ("`~`": Groß-und Kleinschreibung ignorieren, "`==`": Groß-und Kleinschreibung berücksichtigen, "`str`": einfache Textsuche, "`regex`": suche mit regulären Ausdrücken, "`msg`": Suche in Nachrichten, "`pre`": Suche in Präfix, "`pre\|msg`": Suche in Präfix und Nachrichten).
|
||||
| input_paste | `Paste 7 lines ? [ctrl-y] Ja [ctrl-n] Nein` | Nachfrage, ob sieben Zeilen eingefügt werden sollen.
|
||||
| input_text | `hi peter!` | Text der eingegeben wird.
|
||||
|===
|
||||
|
||||
Es existieren zwei Suchmodi:
|
||||
@@ -981,8 +983,7 @@ andere Items die zur Verfügung stehen (die aber nicht standardmäßig in einer
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Item | Beispiel | Beschreibung
|
||||
| buffer_count | `10` | absolute Anzahl an geöffneten Buffern.
|
||||
| buffer_last_number | `10` | Nummer des letzten Buffers (kann sich unterscheiden von `buffer_count` wenn Option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> deaktiviert (`off`) ist).
|
||||
| buffer_count | `5` | absolute Anzahl an geöffneten Buffern.
|
||||
| buffer_nicklist_count_all | `4` | Anzahl der sichtbaren Gruppen und Nicks in der Nickliste.
|
||||
| buffer_nicklist_count_groups | `0` | Anzahl der sichtbaren Gruppen in der Nickliste.
|
||||
| buffer_short_name | `#test` | Kurzname des aktuellen Buffers.
|
||||
@@ -997,7 +998,7 @@ andere Items die zur Verfügung stehen (die aber nicht standardmäßig in einer
|
||||
| irc_nick_host | `+Flashy!user@host.com+` | aktueller IRC Nick und Host.
|
||||
| irc_nick_modes | `i` | IRC Modi für den eigenen Nick.
|
||||
| irc_nick_prefix | `@` | IRC Nick-Präfix für den Kanal.
|
||||
| mouse_status | `M` | Status der Maus (keine Anzeige, falls Maus deaktiviert).
|
||||
| spacer | | spezielles Item um Text in einer Bar auszurichten, siehe <<item_spacer,Spacer item>>.
|
||||
| spell_dict | `de,en` | zeigt an welche Wörterbücher für die Rechtschreibung im aktuellen Buffer genutzt werden.
|
||||
| spell_suggest | `Glück,Glocke,Block` | Vorschläge für ein falsch geschriebenes Wort.
|
||||
| tls_version | `TLS1.3` | TLS Version die für den IRC Server genutzt wird.
|
||||
@@ -1763,11 +1764,12 @@ Sie können mit dem Befehl <<command_weechat_key,/key>> geändert und neue hinzu
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| Taste | Beschreibung | Befehl
|
||||
| kbd:[Alt+m] | schaltet Mausfunktion ein/aus. | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | Umschalten der Rechtschreibprüfung. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | schaltet Filterfunktion an/aus. | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | schaltet, für den aktuellen Buffer, Filterfunktion an/aus. | `+/filter toggle @+`
|
||||
| Taste | Beschreibung | Befehl
|
||||
| kbd:[Alt+m] | schaltet Mausfunktion ein/aus. | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | Umschalten der Rechtschreibprüfung. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | schaltet Filterfunktion an/aus. | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | schaltet, für den aktuellen Buffer, Filterfunktion an/aus. | `+/filter toggle @+`
|
||||
| kbd:[Alt+Ctrl+l] (`L`) | Umschalten zwischen Remote- und lokalen Befehlen in einem Remote-Buffer (relay "api"). | `+/remote togglecmd+`
|
||||
|===
|
||||
|
||||
[[key_bindings_search_context]]
|
||||
@@ -2037,27 +2039,27 @@ Beispiel des fset-Buffer, der Optionen anzeigt, die mit `weechat.look` beginnen
|
||||
[subs="quotes"]
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│1/121 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggle │
|
||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||
│ │hanges in input [default: on] │
|
||||
│1.weechat│7/125 | Filter: weechat.look.* | Sortierung: ~name | Taste(input): alt+Lee>>│
|
||||
│2.fset │weechat.look.bare_display_exit_on_input: beendet den einfachen Anzeigemodus │
|
||||
│ │durch Tastendruck [Standardwert: on] │
|
||||
│ │----------------------------------------------------------------------------│
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words boolean on │
|
||||
│ │ weechat.look.bar_more_down string "++" │
|
||||
│ │ weechat.look.bar_more_left string "<<" │
|
||||
│ │ weechat.look.bar_more_right string ">>" │
|
||||
│ │ weechat.look.bar_more_up string "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||
│ │ weechat.look.buffer_search_regex boolean off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||
│ │ weechat.look.buffer_time_same string "" │
|
||||
│ │ weechat.look.align_end_of_lines Aufzählung message │
|
||||
│ │ weechat.look.align_multiline_words boolesch on │
|
||||
│ │ weechat.look.bar_more_down Zeichenkette "++" │
|
||||
│ │ weechat.look.bar_more_left Zeichenkette "<<" │
|
||||
│ │ weechat.look.bar_more_right Zeichenkette ">>" │
|
||||
│ │ weechat.look.bar_more_up Zeichenkette "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input boolesch on ##│
|
||||
│ │ weechat.look.bare_display_time_format Zeichenkette "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber boolesch on │
|
||||
│ │ weechat.look.buffer_notify_default Aufzählung all │
|
||||
│ │ weechat.look.buffer_position Aufzählung end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive boolesch off │
|
||||
│ │ weechat.look.buffer_search_force_default boolesch off │
|
||||
│ │ weechat.look.buffer_search_history Aufzählung local │
|
||||
│ │ weechat.look.buffer_search_regex boolesch off │
|
||||
│ │ weechat.look.buffer_search_where Aufzählung prefix_message │
|
||||
│ │ weechat.look.buffer_time_format Zeichenkette "%H:%M:%S" │
|
||||
│ │[12:55] [2] [fset] 2:fset │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
@@ -3456,14 +3458,16 @@ Standardmäßig sind keine Server angelegt. Es gibt keine Begrenzung für die
|
||||
Anzahl von Servern. Server können mit dem Befehl <<command_irc_server,/server>>
|
||||
angelegt werden.
|
||||
|
||||
Um zum Beispiel eine TLS verschlüsselte Verbindung zu
|
||||
https://libera.chat/[libera.chat ^↗^^] herzustellen:
|
||||
Zum Beispiel für eine Verbindung zu https://libera.chat/[libera.chat ^↗^^]:
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
/server add libera irc.libera.chat
|
||||
----
|
||||
|
||||
Um WeeChat beim Start direkt mit dem Server zu verbinden:
|
||||
[NOTE]
|
||||
Der Standardport ist 6697 und TLS (verschlüsselter Datenverkehr) ist aktiviert.
|
||||
|
||||
Um WeeChat, beim Programmstart, direkt mit einem Server zu verbinden:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autoconnect on
|
||||
@@ -3480,7 +3484,7 @@ Kapitel über <<irc_sasl_authentication,SASL authentication>>):
|
||||
----
|
||||
|
||||
Wenn SASL nicht unterstützt wird, können Sie einen Befehl verwenden, um eine
|
||||
Nachricht an nickserv zu senden, um sich zu Authentifizieren:
|
||||
Nachricht an nickserv zu senden, um sich zu authentifizieren:
|
||||
|
||||
----
|
||||
/set irc.server.libera.command "/msg nickserv identify ${sec.data.libera}"
|
||||
@@ -3504,51 +3508,52 @@ Wenn Sie beispielsweise den _libera_-Server mit den obigen Befehlen erstellt hab
|
||||
sehen Sie dies mit dem Befehl `/fset libera`:
|
||||
|
||||
....
|
||||
irc.server.libera.addresses string "irc.libera.chat/6697"
|
||||
irc.server.libera.anti_flood_prio_high integer null -> 2
|
||||
irc.server.libera.anti_flood_prio_low integer null -> 2
|
||||
irc.server.libera.autoconnect boolean on
|
||||
irc.server.libera.autojoin string null -> ""
|
||||
irc.server.libera.autojoin_dynamic boolean null -> off
|
||||
irc.server.libera.autoreconnect boolean null -> on
|
||||
irc.server.libera.autoreconnect_delay integer null -> 10
|
||||
irc.server.libera.autorejoin boolean null -> off
|
||||
irc.server.libera.autorejoin_delay integer null -> 30
|
||||
irc.server.libera.away_check integer null -> 0
|
||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||
irc.server.libera.capabilities string null -> "*"
|
||||
irc.server.libera.charset_message enum null -> message
|
||||
irc.server.libera.command string null -> ""
|
||||
irc.server.libera.command_delay integer null -> 0
|
||||
irc.server.libera.connection_timeout integer null -> 60
|
||||
irc.server.libera.default_chantypes string null -> "#&"
|
||||
irc.server.libera.ipv6 boolean null -> on
|
||||
irc.server.libera.local_hostname string null -> ""
|
||||
irc.server.libera.msg_kick string null -> ""
|
||||
irc.server.libera.msg_part string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks string null -> "alice,alice1,alice2,alice3,alice4"
|
||||
irc.server.libera.nicks_alternate boolean null -> on
|
||||
irc.server.libera.notify string null -> ""
|
||||
irc.server.libera.password string null -> ""
|
||||
irc.server.libera.proxy string null -> ""
|
||||
irc.server.libera.realname string null -> ""
|
||||
irc.server.libera.sasl_fail enum null -> reconnect
|
||||
irc.server.libera.sasl_key string null -> ""
|
||||
irc.server.libera.sasl_mechanism enum null -> plain
|
||||
irc.server.libera.sasl_password string "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout integer null -> 15
|
||||
irc.server.libera.sasl_username string "alice"
|
||||
irc.server.libera.split_msg_max_length integer null -> 512
|
||||
irc.server.libera.tls boolean on
|
||||
irc.server.libera.tls_cert string null -> ""
|
||||
irc.server.libera.tls_dhkey_size integer null -> 2048
|
||||
irc.server.libera.tls_fingerprint string null -> ""
|
||||
irc.server.libera.tls_password string null -> ""
|
||||
irc.server.libera.tls_priorities string null -> "NORMAL:-VERS-SSL3.0"
|
||||
irc.server.libera.tls_verify boolean null -> on
|
||||
irc.server.libera.usermode string null -> ""
|
||||
irc.server.libera.username string null -> "alice"
|
||||
irc.server.libera.addresses Zeichenkette "irc.libera.chat"
|
||||
irc.server.libera.anti_flood integer null -> 2000
|
||||
irc.server.libera.autoconnect boolesch on
|
||||
irc.server.libera.autojoin Zeichenkette null -> ""
|
||||
irc.server.libera.autojoin_delay integer null -> 0
|
||||
irc.server.libera.autojoin_dynamic boolesch null -> off
|
||||
irc.server.libera.autoreconnect boolesch null -> on
|
||||
irc.server.libera.autoreconnect_delay integer null -> 10
|
||||
irc.server.libera.autorejoin boolesch null -> off
|
||||
irc.server.libera.autorejoin_delay integer null -> 30
|
||||
irc.server.libera.away_check integer null -> 0
|
||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||
irc.server.libera.capabilities Zeichenkette null -> "*"
|
||||
irc.server.libera.charset_message Aufzählung null -> message
|
||||
irc.server.libera.command Zeichenkette null -> ""
|
||||
irc.server.libera.command_delay integer null -> 0
|
||||
irc.server.libera.connection_timeout integer null -> 60
|
||||
irc.server.libera.default_chantypes Zeichenkette null -> "#&"
|
||||
irc.server.libera.ipv6 Aufzählung null -> auto
|
||||
irc.server.libera.local_hostname Zeichenkette null -> ""
|
||||
irc.server.libera.msg_kick Zeichenkette null -> ""
|
||||
irc.server.libera.msg_part Zeichenkette null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit Zeichenkette null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks Zeichenkette null -> "${username},${username}2,${username}3,${username}4,${username}5"
|
||||
irc.server.libera.nicks_alternate boolesch null -> on
|
||||
irc.server.libera.notify Zeichenkette null -> ""
|
||||
irc.server.libera.password Zeichenkette null -> ""
|
||||
irc.server.libera.proxy Zeichenkette null -> ""
|
||||
irc.server.libera.realname Zeichenkette null -> ""
|
||||
irc.server.libera.registered_mode Zeichenkette null -> "r"
|
||||
irc.server.libera.sasl_fail Aufzählung null -> reconnect
|
||||
irc.server.libera.sasl_key Zeichenkette null -> ""
|
||||
irc.server.libera.sasl_mechanism Aufzählung null -> plain
|
||||
irc.server.libera.sasl_password Zeichenkette "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout integer null -> 15
|
||||
irc.server.libera.sasl_username Zeichenkette "alice"
|
||||
irc.server.libera.split_msg_max_length integer null -> 512
|
||||
irc.server.libera.tls boolesch null -> on
|
||||
irc.server.libera.tls_cert Zeichenkette null -> ""
|
||||
irc.server.libera.tls_dhkey_size integer null -> 2048
|
||||
irc.server.libera.tls_fingerprint Zeichenkette null -> ""
|
||||
irc.server.libera.tls_password Zeichenkette null -> ""
|
||||
irc.server.libera.tls_priorities Zeichenkette null -> "NORMAL"
|
||||
irc.server.libera.tls_verify boolesch null -> on
|
||||
irc.server.libera.usermode Zeichenkette null -> ""
|
||||
irc.server.libera.username Zeichenkette null -> "${username}"
|
||||
....
|
||||
|
||||
Wenn Sie beispielsweise automatisch eine Verbindung zu allen von Ihnen
|
||||
@@ -4048,7 +4053,7 @@ Spezifikation: https://ircv3.net/specs/extensions/message-tags[message-tags ^
|
||||
Diese Funktion ermöglicht das Hinzufügen von Metadaten zu Nachrichten. +
|
||||
Diese Tags können mit dem Befehl `/debug tags` angezeigt werden.
|
||||
|
||||
Um diese Funktion zu verwenden, muss sie aktiviert werden: <<typing_notifications,typing notifications>>.
|
||||
Um diese Funktion zu verwenden, muss sie aktiviert werden: <<typing_notifications,Schreibbenachrichtigung>>.
|
||||
|
||||
[[irc_ircv3_monitor]]
|
||||
==== monitor
|
||||
@@ -4119,7 +4124,7 @@ Mit dieser Funktion können Sie Ihren richtigen Namen ändern, indem Sie den
|
||||
|
||||
Spezifikation: https://ircv3.net/specs/client-tags/typing[typing ^↗^^]
|
||||
|
||||
Siehe das entsprechende Kapitel <<typing_notifications,Typing notifications>>.
|
||||
Siehe das entsprechende Kapitel <<typing_notifications,Schreibbenachrichtigung>>.
|
||||
|
||||
[[irc_ircv3_userhost_in_names]]
|
||||
==== userhost-in-names
|
||||
@@ -4773,13 +4778,21 @@ Zum Beispiel:
|
||||
Jetzt kann man sich über Port 9000 mit einem WeeChat oder einer Remote-Schnittstelle
|
||||
verbinden, indem das Passwort „mypassword“ verwendet wird.
|
||||
|
||||
So stellt man mit WeeChat eine Verbindung zu einem _api_ Relay her:
|
||||
Um eine lokale Verbindung via _api_ Relay mittels WeeChat herzustelen:
|
||||
|
||||
----
|
||||
/remote add weechat http://localhost:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
Um eine entfernte Verbindung via _api_Relay mittels WeeChat herzustelen
|
||||
(TLS wird dringend empfohlen):
|
||||
|
||||
----
|
||||
/remote add weechat https://example.com:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Der Remote-WeeChat muss dieselbe API-Version wie der lokale WeeChat nutzen.
|
||||
Daher wird dringend empfohlen, auf dem Remote- und dem lokalen Client genau
|
||||
@@ -4821,7 +4834,7 @@ Ein WebSocket kann in HTML5, mit einer JavaScript Zeile, geöffnet werden:
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
websocket = new WebSocket("ws://server.com:9500/weechat");
|
||||
websocket = new WebSocket("ws://example.com:9500/weechat");
|
||||
----
|
||||
|
||||
Der Port (im Beispiel: 9500) ist der Port der in der Relay Erweiterung angegeben wurde.
|
||||
@@ -5887,7 +5900,7 @@ Aus Datenschutzgründen ist das Herunterladen von Skripten standardmäßig deakt
|
||||
Um es zu aktivieren, geben Sie diesen Befehl ein:
|
||||
|
||||
----
|
||||
/set script.scripts.download_enabled on
|
||||
/script enable
|
||||
----
|
||||
|
||||
Dann können Sie die Liste der Skripte herunterladen und in einem separaten Buffer,
|
||||
@@ -5897,33 +5910,33 @@ mit dem Befehl <<command_script_script,/script>>, anzeigen lassen:
|
||||
:x: *
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
|
||||
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
|
||||
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
||||
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
|
||||
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
|
||||
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
|
||||
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
|
||||
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
|
||||
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
|
||||
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
|
||||
│1.weechat│322/322 Skripten (Filter: {x}) | Sortierung: i,p,n | Alt+Taste/Eingabe: i=installieren, r=entfernen,>>│
|
||||
│2.scripts│{x} autosort.py 3.10 2023-12-31 | Behält die Gruppierung der Buffer nach S│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Startet einen Highlight Monitor Buffer. │
|
||||
│ │{x}ia r grep.py 0.8.6 0.8.6 2022-11-11 | Sucht nach regulären Ausdrücken in Buffe│
|
||||
│ │{x} colorize_nicks.py 32 2023-10-30 | Im Textbereich oder der Eingabezeile wir│
|
||||
│ │##{x}ia r go.py 3.0.1 3.0.1 2024-05-30 | Schneller Wechsel zu Buffern. ##│
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Macht Nachrichten Ä S T H E T I S C H an│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternative Textformatierung, nützlich f│
|
||||
│ │ alternatetz.py 0.4 2022-01-25 | Fügt der Bar-Item eine zusätzliche Zeitz│
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Fernbedienung für Amarok2 und zum anzeig│
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Schickt private Nachrichten und Highligh│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Schickt einen URL Titel an einen User od│
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Benachrichtigung von privaten Nachrichte│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Verhindert, dass ein Kennwort versehentl│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Zeigt den korrigierten Text an wenn der │
|
||||
│ │ arespond.py 0.1.2 2022-01-25 | Anfragen werden automatisch beantwortet.│
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Fügt "@" Präfix bei der Nick Tab-Vervoll│
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Zeigt an welche Musik gerade von Audacio│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatische Authentifizierung mittels S│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | Ein einfaches Abwesenheit-Skript. │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Erlaubt automatische Authentisierung, we│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Springt zu Buffern nach deren Aktivität.│
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Automatisches speichern/laden von Option│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Öffnet erneut die Server und Channel die│
|
||||
│ │ autojoin_on_invite.py 0.9 2022-10-25 | Betritt automatisch einen Kanal wenn man│
|
||||
│ │ automarkbuffer.py 1.0 2015-03-31 | Buffer werden als gelesen markiert falls│
|
||||
│ │ automerge.py 0.2 2018-03-03 | Automatische Zusammenführung neuer Buffe│
|
||||
│ │[12:55] [2] [script] 2:scripts │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<!--
|
||||
Custom styles for Asciidoctor
|
||||
Copyright (C) 2016-2024 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2016-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||
-->
|
||||
<style>
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// English translation, for reference only; matches the built-in behavior of core
|
||||
:appendix-caption: Appendix
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Caution
|
||||
:chapter-signifier: Chapter
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Example
|
||||
:figure-caption: Figure
|
||||
:important-caption: Important
|
||||
:last-update-label: Last updated
|
||||
ifdef::listing-caption[:listing-caption: Listing]
|
||||
ifdef::manname-title[:manname-title: Name]
|
||||
:note-caption: Note
|
||||
:part-signifier: Part
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Preface]
|
||||
:section-refsig: Section
|
||||
:table-caption: Table
|
||||
:tip-caption: Tip
|
||||
:toc-title: Table of Contents
|
||||
:untitled-label: Untitled
|
||||
:version-label: Version
|
||||
:warning-caption: Warning
|
||||
@@ -100,7 +100,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
||||
the AUTHORS.md file).
|
||||
|
||||
Copyright (C) 2003-2024 {author}
|
||||
Copyright (C) 2003-2025 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
+17
-14
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
@@ -326,6 +327,7 @@ WeeChat "core" is located in following directories:
|
||||
| relay/ | Relay plugin (IRC proxy and relay for remote interfaces).
|
||||
| relay.c | Main relay functions.
|
||||
| relay-auth.c | Clients authentication.
|
||||
| relay-bar-item.c | Relay bar items.
|
||||
| relay-buffer.c | Relay buffer.
|
||||
| relay-client.c | Clients of relay.
|
||||
| relay-command.c | Relay commands.
|
||||
@@ -422,10 +424,11 @@ WeeChat "core" is located in following directories:
|
||||
| test-core-crypto.cpp | Tests: cryptographic functions.
|
||||
| test-core-dir.cpp | Tests: directory/file functions.
|
||||
| test-core-eval.cpp | Tests: evaluation of expressions.
|
||||
| test-core-hashtble.cpp | Tests: hashtables.
|
||||
| test-core-hashtable.cpp | Tests: hashtables.
|
||||
| test-core-hdata.cpp | Tests: hdata.
|
||||
| test-core-hook.cpp | Tests: hooks.
|
||||
| test-core-infolist.cpp | Tests: infolists.
|
||||
| test-core-input.cpp | Tests: input functions.
|
||||
| test-core-list.cpp | Tests: lists.
|
||||
| test-core-network.cpp | Tests: network functions.
|
||||
| test-core-secure.cpp | Tests: secured data.
|
||||
@@ -574,7 +577,7 @@ Example in C:
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* Copyright (C) 2024 Your Name <your@email.com>
|
||||
* Copyright (C) 2025 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
@@ -1047,16 +1050,16 @@ _src/gui/gui-color.h_):
|
||||
| 14 | weechat.color.chat_nick
|
||||
| 15 | weechat.color.chat_nick_self
|
||||
| 16 | weechat.color.chat_nick_other
|
||||
| 17 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 18 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 19 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 20 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 21 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 22 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 23 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 24 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 25 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 26 | _(not used any more since WeeChat 0.3.4)_
|
||||
| 17 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 18 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 19 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 20 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 21 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 22 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 23 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 24 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 25 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 26 | _(not used anymore since WeeChat 0.3.4)_
|
||||
| 27 | weechat.color.chat_host
|
||||
| 28 | weechat.color.chat_delimiters
|
||||
| 29 | weechat.color.chat_highlight
|
||||
@@ -1172,7 +1175,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
|
||||
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^].
|
||||
|
||||
Any patch for bug or new feature must be done on master branch, preferred way
|
||||
Any patch for bug or new feature must be done on branch `main`, preferred way
|
||||
is a GitHub pull request. A patch can also be sent by e-mail
|
||||
(made with `git diff` or `git format-patch`).
|
||||
|
||||
@@ -1361,5 +1364,5 @@ warnings, ... These words must be kept unchanged:
|
||||
When there is a name after `+<<link_name>>+`, then you must translate it:
|
||||
|
||||
----
|
||||
<<link_name,this text must be translated>>
|
||||
<<link_name,this text should be translated>>
|
||||
----
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
[[general]]
|
||||
== General
|
||||
@@ -268,7 +269,7 @@ for more info about the hotlist.
|
||||
[[input_bar_size]]
|
||||
=== How to use command line with more than one line?
|
||||
|
||||
The option _size_ in input bar can be set to a value higher than 1 (for fixed
|
||||
The option _size_ in input bar can be set to a value greater than 1 (for fixed
|
||||
size, default size is 1) or 0 for dynamic size, and then option _size_max_ will
|
||||
set the max size (0 = no limit).
|
||||
|
||||
@@ -1005,7 +1006,7 @@ for help).
|
||||
Scripts are not compatible with other IRC clients.
|
||||
|
||||
[[scripts_update]]
|
||||
=== The command "/script update" can not read scripts, how to fix that?
|
||||
=== The command "/script update" cannot read scripts, how to fix that?
|
||||
|
||||
First check questions about TLS connection in this FAQ.
|
||||
|
||||
@@ -1237,7 +1238,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||
[[supported_os]]
|
||||
=== What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
|
||||
|
||||
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, Mac OS and Windows
|
||||
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, macOS and Windows
|
||||
(Cygwin and Windows Subsystem for Linux).
|
||||
|
||||
We do our best to run on as many platforms as possible. Help is welcome for
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
@@ -817,7 +818,7 @@ This function is not available in scripting API.
|
||||
|
||||
_WeeChat ≥ 3.8._
|
||||
|
||||
Case sensitive string comparison.
|
||||
Case-sensitive string comparison.
|
||||
|
||||
Prototype:
|
||||
|
||||
@@ -853,7 +854,7 @@ This function is not available in scripting API.
|
||||
|
||||
_WeeChat ≥ 3.8._
|
||||
|
||||
Case sensitive string comparison, for _max_ chars.
|
||||
Case-sensitive string comparison, for _max_ chars.
|
||||
|
||||
Prototype:
|
||||
|
||||
@@ -890,7 +891,7 @@ This function is not available in scripting API.
|
||||
|
||||
_Updated in 1.0, 3.8._
|
||||
|
||||
Case insensitive string comparison.
|
||||
Case-insensitive string comparison.
|
||||
|
||||
[NOTE]
|
||||
Behavior has changed in version 3.8: now all uppercase letters are properly
|
||||
@@ -979,7 +980,7 @@ This function is not available in scripting API.
|
||||
|
||||
_Updated in 1.0, 3.8._
|
||||
|
||||
Case insensitive string comparison, for _max_ chars.
|
||||
Case-insensitive string comparison, for _max_ chars.
|
||||
|
||||
[NOTE]
|
||||
Behavior has changed in version 3.8: now all uppercase letters are properly
|
||||
@@ -1084,7 +1085,7 @@ Arguments:
|
||||
* _string1_: first string for comparison
|
||||
* _string2_: second string for comparison
|
||||
* _chars_ignored_: string with chars to ignored
|
||||
* _case_sensitive_: 1 for case sensitive comparison, otherwise 0
|
||||
* _case_sensitive_: 1 for case-sensitive comparison, otherwise 0
|
||||
|
||||
[NOTE]
|
||||
Behavior has changed in version 3.8 when _case_sensitive_ is set to 0: now all
|
||||
@@ -1094,7 +1095,7 @@ uppercase letters are properly converted to lowercase (by calling function
|
||||
Return value:
|
||||
|
||||
* arithmetic result of subtracting the last compared UTF-8 char in
|
||||
_string2_ (converted to lowercase if _case_sentitive_ is set to 0) from the last
|
||||
_string2_ (converted to lowercase if _case_sensitive_ is set to 0) from the last
|
||||
compared UTF-8 char in _string1_ (converted to lowercase if _case_sensitive_ is
|
||||
set to 0):
|
||||
** < 0 if string1 < string2
|
||||
@@ -1115,7 +1116,7 @@ This function is not available in scripting API.
|
||||
|
||||
_Updated in 1.3, 3.8._
|
||||
|
||||
Case insensitive string search.
|
||||
Case-insensitive string search.
|
||||
|
||||
[NOTE]
|
||||
Behavior has changed in version 3.8: now all uppercase letters are properly
|
||||
@@ -1210,7 +1211,7 @@ Arguments:
|
||||
* _string_: string
|
||||
* _mask_: mask with wildcards (`+*+`), each wildcard matches 0 or more chars in
|
||||
the string
|
||||
* _case_sensitive_: 1 for case sensitive comparison, otherwise 0
|
||||
* _case_sensitive_: 1 for case-sensitive comparison, otherwise 0
|
||||
|
||||
[NOTE]
|
||||
Since version 1.0, wildcards are allowed inside the mask
|
||||
@@ -1272,7 +1273,7 @@ Arguments:
|
||||
* _string_: string
|
||||
* _masks_: list of masks, with a NULL after the last mask in list; each mask
|
||||
is compared to the string with the function <<_string_match,string_match>>
|
||||
* _case_sensitive_: 1 for case sensitive comparison, otherwise 0
|
||||
* _case_sensitive_: 1 for case-sensitive comparison, otherwise 0
|
||||
|
||||
[NOTE]
|
||||
Behavior has changed in version 3.8 when _case_sensitive_ is set to 0: now all
|
||||
@@ -1598,7 +1599,7 @@ Flags must be at beginning of regular expression. Format is:
|
||||
Allowed flags are:
|
||||
|
||||
* _e_: POSIX extended regular expression (_REG_EXTENDED_)
|
||||
* _i_: case insensitive (_REG_ICASE_)
|
||||
* _i_: case-insensitive (_REG_ICASE_)
|
||||
* _n_: match-any-character operators don't match a newline (_REG_NEWLINE_)
|
||||
* _s_: support for substring addressing of matches is not required (_REG_NOSUB_)
|
||||
|
||||
@@ -2791,7 +2792,7 @@ from first used to last):
|
||||
== `+1+`
|
||||
|
||||
| `+==*+` | 2.9
|
||||
| Is matching mask where "*" is allowed, case sensitive (see function <<_string_match,string_match>>)
|
||||
| Is matching mask where "*" is allowed, case-sensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def ==* a*f+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2799,7 +2800,7 @@ from first used to last):
|
||||
== `+0+`
|
||||
|
||||
| `+!!*+` | 2.9
|
||||
| Is NOT wildcard mask where "*" is allowed, case sensitive (see function <<_string_match,string_match>>)
|
||||
| Is NOT wildcard mask where "*" is allowed, case-sensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def !!* a*f+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -2807,7 +2808,7 @@ from first used to last):
|
||||
== `+1+`
|
||||
|
||||
| `+=*+` | 1.8
|
||||
| Is matching mask where "*" is allowed, case insensitive (see function <<_string_match,string_match>>)
|
||||
| Is matching mask where "*" is allowed, case-insensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def =* A*F+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2815,7 +2816,7 @@ from first used to last):
|
||||
== `+0+`
|
||||
|
||||
| `+!*+` | 1.8
|
||||
| Is NOT wildcard mask where "*" is allowed, case insensitive (see function <<_string_match,string_match>>)
|
||||
| Is NOT wildcard mask where "*" is allowed, case-insensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def !* A*F+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -2823,7 +2824,7 @@ from first used to last):
|
||||
== `+1+`
|
||||
|
||||
| `+==-+` | 2.9
|
||||
| Is included, case sensitive
|
||||
| Is included, case-sensitive
|
||||
| >> `+abc def ==- bc+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2831,7 +2832,7 @@ from first used to last):
|
||||
== `+0+`
|
||||
|
||||
| `+!!-+` | 2.9
|
||||
| Is NOT included, case sensitive
|
||||
| Is NOT included, case-sensitive
|
||||
| >> `+abc def !!- bc+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -2839,7 +2840,7 @@ from first used to last):
|
||||
== `+1+`
|
||||
|
||||
| `+=-+` | 2.9
|
||||
| Is included, case insensitive
|
||||
| Is included, case-insensitive
|
||||
| >> `+abc def =- BC+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2847,7 +2848,7 @@ from first used to last):
|
||||
== `+0+`
|
||||
|
||||
| `+!-+` | 2.9
|
||||
| Is NOT included, case insensitive
|
||||
| Is NOT included, case-insensitive
|
||||
| >> `+abc def !- BC+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -4001,7 +4002,7 @@ Arguments:
|
||||
|
||||
Return value:
|
||||
|
||||
* real potision (in bytes)
|
||||
* real position (in bytes)
|
||||
|
||||
C example:
|
||||
|
||||
@@ -4761,7 +4762,7 @@ This function is not available in scripting API.
|
||||
|
||||
==== util_strftimeval
|
||||
|
||||
_WeeChat ≥ 4.2.0, updated in 4.3.0._
|
||||
_WeeChat ≥ 4.2.0, updated in 4.3.0, 4.6.4._
|
||||
|
||||
Format date and time like function `strftime` in C library, using `struct timeval`
|
||||
as input, and supporting extra specifiers.
|
||||
@@ -4778,6 +4779,8 @@ Arguments:
|
||||
* _string_: buffer where the formatted string is stored
|
||||
* _max_: string size
|
||||
* _format_: format, the same as _strftime_ function, with these extra specifiers:
|
||||
** `%@`: return the date expressed in Coordinated Universal Time (UTC)
|
||||
instead of date relative to the user's specified timezone _(WeeChat ≥ 4.7.0)_
|
||||
** `%.N` where `N` is between 1 and 6: zero-padded microseconds on N digits
|
||||
(for example `%.3` for milliseconds)
|
||||
** `%f`: alias of `%.6`
|
||||
@@ -4794,8 +4797,8 @@ C example:
|
||||
char time[256];
|
||||
struct timeval tv;
|
||||
gettimeofday (&tv, NULL);
|
||||
weechat_util_strftimeval (time, sizeof (time), "%FT%T.%f", &tv);
|
||||
/* result: 2023-12-26T18:10:04.460509 */
|
||||
weechat_util_strftimeval (time, sizeof (time), "%@%FT%T.%fZ", &tv);
|
||||
/* result: 2023-12-26T18:10:04.460509Z */
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -6966,7 +6969,7 @@ my_section_delete_option_cb (const void *pointer, void *data,
|
||||
/* return WEECHAT_CONFIG_OPTION_UNSET_ERROR; */
|
||||
}
|
||||
|
||||
/* standard section, user can not add/delete options */
|
||||
/* standard section, user cannot add/delete options */
|
||||
struct t_config_section *new_section1 =
|
||||
weechat_config_new_section (config_file, "section1", 0, 0,
|
||||
NULL, NULL, NULL,
|
||||
@@ -8121,7 +8124,7 @@ def config_boolean_inherited(option: str) -> int: ...
|
||||
|
||||
# example
|
||||
option = weechat.config_get("irc.server.libera.autoconnect")
|
||||
autoconect = weechat.config_boolean_inherited(option)
|
||||
autoconnect = weechat.config_boolean_inherited(option)
|
||||
----
|
||||
|
||||
==== config_integer
|
||||
@@ -9422,7 +9425,7 @@ _WeeChat ≥ 0.3.6, updated in 2.0._
|
||||
|
||||
Remove key binding(s).
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
When calling this function, ensure that you will not remove a user key binding.
|
||||
|
||||
Prototype:
|
||||
@@ -10009,7 +10012,7 @@ C examples:
|
||||
[source,c]
|
||||
----
|
||||
/* hook modifier with priority = 2000 */
|
||||
/* high priority: called before other modifier calbacks */
|
||||
/* high priority: called before other modifier callbacks */
|
||||
weechat_hook_modifier ("2000|input_text_display", &modifier_cb, NULL, NULL);
|
||||
|
||||
/* hook two signals with priority = 3000 */
|
||||
@@ -10475,7 +10478,7 @@ Arguments:
|
||||
* _flag_read_: 1 = catch read event, 0 = ignore
|
||||
* _flag_write_: 1 = catch write event, 0 = ignore
|
||||
* _flag_exception_: 1 = catch exception event, 0 = ignore
|
||||
(_WeeChat ≥ 1.3_: this argument is ignored and not used any more)
|
||||
(_WeeChat ≥ 1.3_: this argument is ignored and not used anymore)
|
||||
* _callback_: function called a selected event occurs for file (or socket),
|
||||
arguments and return value:
|
||||
** _const void *pointer_: pointer
|
||||
@@ -10539,7 +10542,7 @@ _Updated in 1.5._
|
||||
Hook a process (launched with fork), and catch output.
|
||||
|
||||
[NOTE]
|
||||
Since version 0.3.9.2, the shell is not used any more to execute the command.
|
||||
Since version 0.3.9.2, the shell is not used anymore to execute the command.
|
||||
WeeChat makes an automatic split of the command and its arguments (like the
|
||||
shell does). +
|
||||
If the split is not correct (according to quotes in your command), or if you
|
||||
@@ -10980,6 +10983,11 @@ _WeeChat ≥ 4.1.0._
|
||||
|
||||
URL transfer.
|
||||
|
||||
This function is similar to <<_hook_process,hook_process>> and
|
||||
<<_hook_process_hashtable,hook_process_hashtable>> with command "url:..."
|
||||
but it uses a thread instead of new process, making it more lightweight
|
||||
and thus recommended for this usage.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,c]
|
||||
@@ -11577,7 +11585,7 @@ C example:
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_line_cb (const void *pointer, void *data, struct t_hasbtable *line)
|
||||
my_line_cb (const void *pointer, void *data, struct t_hashtable *line)
|
||||
{
|
||||
struct t_hashtable *hashtable;
|
||||
|
||||
@@ -12192,7 +12200,7 @@ List of signals sent by WeeChat and plugins:
|
||||
| String: text sent to buffer.
|
||||
| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). +
|
||||
If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q"
|
||||
can not be used any more to close the buffer.
|
||||
cannot be used anymore to close the buffer.
|
||||
|
||||
| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8
|
||||
| -
|
||||
@@ -12487,7 +12495,7 @@ hook = weechat.hook_signal("quit;upgrade", "my_signal_cb", "")
|
||||
|
||||
==== hook_signal_send
|
||||
|
||||
_Updated in 1.0._
|
||||
_Updated in 1.0, 4.5.0._
|
||||
|
||||
Send a signal.
|
||||
|
||||
@@ -12501,10 +12509,20 @@ int weechat_hook_signal_send (const char *signal, const char *type_data,
|
||||
|
||||
Arguments:
|
||||
|
||||
* _signal_: signal to send
|
||||
* _signal_: signal to send; flags are allowed before the signal name (see below)
|
||||
_(WeeChat ≥ 4.5.0)_
|
||||
* _type_data_: type of data sent with signal (see <<_hook_signal,hook_signal>>)
|
||||
* _signal_data_: data sent with signal
|
||||
|
||||
The signal name can contain flags with the following format: `[flags:xxx,yyy]signal`
|
||||
where `xxx` and `yyy` are names of flags, and `signal` the signal name. +
|
||||
The following flags are supported:
|
||||
|
||||
* _stop_on_error_: exit immediately if a callback returns WEECHAT_RC_ERROR
|
||||
(remaining callbacks are then NOT executed) _(WeeChat ≥ 4.5.0)_
|
||||
* _ignore_eat_: consider any callback returning WEECHAT_RC_OK_EAT is in fact
|
||||
WEECHAT_RC_OK and execute remaining callbacks _(WeeChat ≥ 4.5.0)_
|
||||
|
||||
Return value _(WeeChat ≥ 1.0)_:
|
||||
|
||||
* return code of last callback executed (_WEECHAT_RC_OK_ if no callback was
|
||||
@@ -12518,6 +12536,8 @@ C example:
|
||||
[source,c]
|
||||
----
|
||||
int rc = weechat_hook_signal_send ("my_signal", WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||
int rc2 = weechat_hook_signal_send ("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
@@ -12527,8 +12547,10 @@ Script (Python):
|
||||
# prototype
|
||||
def hook_signal_send(signal: str, type_data: str, signal_data: str) -> int: ...
|
||||
|
||||
# example
|
||||
# examples
|
||||
rc = weechat.hook_signal_send("my_signal", weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||
rc2 = weechat.hook_signal_send("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||
----
|
||||
|
||||
[[signal_logger_backlog]]
|
||||
@@ -12813,7 +12835,7 @@ hook = weechat.hook_hsignal("test", "my_hsignal_cb", "")
|
||||
|
||||
==== hook_hsignal_send
|
||||
|
||||
_WeeChat ≥ 0.3.4, updated in 1.0._
|
||||
_WeeChat ≥ 0.3.4, updated in 1.0, 4.5.0._
|
||||
|
||||
Send a hsignal (signal with hashtable).
|
||||
|
||||
@@ -12826,7 +12848,8 @@ int weechat_hook_hsignal_send (const char *signal, struct t_hashtable *hashtable
|
||||
|
||||
Arguments:
|
||||
|
||||
* _signal_: signal to send
|
||||
* _signal_: signal to send; flags are allowed before the signal name
|
||||
(see function <<_hook_signal_send,hook_signal_send>>) _(WeeChat ≥ 4.5.0)_
|
||||
* _hashtable_: hashtable
|
||||
|
||||
Return value _(WeeChat ≥ 1.0)_:
|
||||
@@ -12841,7 +12864,7 @@ C example:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int rc;
|
||||
int rc, rc2;
|
||||
struct t_hashtable *hashtable = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
@@ -12851,6 +12874,7 @@ if (hashtable)
|
||||
{
|
||||
weechat_hashtable_set (hashtable, "key", "value");
|
||||
rc = weechat_hook_hsignal_send ("my_hsignal", hashtable);
|
||||
rc2 = weechat_hook_hsignal_send ("[flags:stop_on_error,ignore_eat]my_hsignal2", hashtable);
|
||||
weechat_hashtable_free (hashtable);
|
||||
}
|
||||
----
|
||||
@@ -12862,8 +12886,9 @@ Script (Python):
|
||||
# prototype
|
||||
def hook_hsignal_send(signal: str, hashtable: Dict[str, str]) -> int: ...
|
||||
|
||||
# example
|
||||
# examples
|
||||
rc = weechat.hook_hsignal_send("my_hsignal", {"key": "value"})
|
||||
rc2 = weechat.hook_hsignal_send("[flags:stop_on_error,ignore_eat]my_hsignal2", {"key": "value"})
|
||||
----
|
||||
|
||||
[[hsignal_irc_redirect_command]]
|
||||
@@ -13996,6 +14021,10 @@ Properties:
|
||||
| Name of sub plugin (commonly script name, which is displayed in
|
||||
`/help command` for a hook of type _command_).
|
||||
|
||||
| keep_spaces_right | 4.6.0 | _command_, _command_run_
|
||||
| "0" or "1"
|
||||
| Keep trailing spaces in command arguments when it is executed.
|
||||
|
||||
| stdin | 0.4.3 | _process_, _process_hashtable_
|
||||
| any string
|
||||
| Send data on standard input (_stdin_) of child process.
|
||||
@@ -14407,7 +14436,7 @@ Arguments:
|
||||
** `+==id+`: the name used is the buffer unique identifier (`id`) _(WeeChat ≥ 4.3.0)_
|
||||
* _name_: name of buffer, if it is NULL or empty string, the current buffer is
|
||||
returned (buffer displayed by current window); if the name starts with
|
||||
`(?i)`, the search is case insensitive _(WeeChat ≥ 1.0)_
|
||||
`(?i)`, the search is case-insensitive _(WeeChat ≥ 1.0)_
|
||||
|
||||
Return value:
|
||||
|
||||
@@ -14658,7 +14687,7 @@ Arguments:
|
||||
** _next_line_id_: next line id in buffer _(WeeChat ≥ 3.8)_
|
||||
** _time_for_each_line_: 1 if time is displayed for each line in buffer (default), otherwise 0
|
||||
** _nicklist_: 1 if nicklist is enabled, otherwise 0
|
||||
** _nicklist_case_sensitive_: 1 if nicks are case sensitive, otherwise 0
|
||||
** _nicklist_case_sensitive_: 1 if nicks are case-sensitive, otherwise 0
|
||||
** _nicklist_max_length_: max length for a nick
|
||||
** _nicklist_display_groups_: 1 if groups are displayed, otherwise 0
|
||||
** _nicklist_count_: number of nicks and groups in nicklist
|
||||
@@ -14684,7 +14713,7 @@ Arguments:
|
||||
** _text_search_direction_: direction for search:
|
||||
*** 0: backward search (direction: oldest messages/commands)
|
||||
*** 1: forward search (direction: newest messages/commands)
|
||||
** _text_search_exact_: 1 if text search is case sensitive
|
||||
** _text_search_exact_: 1 if text search is case-sensitive
|
||||
** _text_search_regex_: 1 if searching with a regular expression
|
||||
** _text_search_where_:
|
||||
*** 0: no search at this moment
|
||||
@@ -14861,6 +14890,12 @@ Properties:
|
||||
are *NOT* checked) +
|
||||
"-1": remove buffer from hotlist _(WeeChat ≥ 1.0)_.
|
||||
|
||||
| hotlist_conditions | 4.5.0 | WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE,
|
||||
WEECHAT_HOTLIST_PRIVATE, WEECHAT_HOTLIST_HIGHLIGHT
|
||||
| priority: add buffer to hotlist with this priority
|
||||
(conditions defined in option _weechat.look.hotlist_add_conditions_
|
||||
are checked).
|
||||
|
||||
| completion_freeze | | "0" or "1"
|
||||
| "0": no freeze of completion (default value)
|
||||
(global setting, buffer pointer is not used) +
|
||||
@@ -14932,7 +14967,7 @@ Properties:
|
||||
| "0" to remove nicklist for buffer, "1" to add nicklist for buffer.
|
||||
|
||||
| nicklist_case_sensitive | | "0" or "1"
|
||||
| "0" to have case insensitive nicklist, "1" to have case sensitive nicklist.
|
||||
| "0" to have case-insensitive nicklist, "1" to have case-sensitive nicklist.
|
||||
|
||||
| nicklist_display_groups | | "0" or "1"
|
||||
| "0" to hide nicklist groups, "1" to display nicklist groups.
|
||||
@@ -15189,7 +15224,7 @@ Arguments:
|
||||
** wildcard `+*+` is allowed in name
|
||||
|
||||
[NOTE]
|
||||
Since version 4.0.0, comparison of buffer names is case sensitive.
|
||||
Since version 4.0.0, comparison of buffer names is case-sensitive.
|
||||
|
||||
Return value:
|
||||
|
||||
@@ -15495,8 +15530,8 @@ void weechat_window_set_title (const char *title);
|
||||
|
||||
Arguments:
|
||||
|
||||
* _title_: new title for terminal (NULL to reset title); string is evaluated,
|
||||
so variables like `${info:version}` can be used
|
||||
* _title_: new title for terminal; string is evaluated, so variables like
|
||||
`${info:version}` can be used
|
||||
(see <<_string_eval_expression,string_eval_expression>>)
|
||||
|
||||
C example:
|
||||
@@ -16849,7 +16884,7 @@ rc = weechat.command(weechat.buffer_search("irc", "libera.#weechat"), "/whois Fl
|
||||
|
||||
==== command_options
|
||||
|
||||
_WeeChat ≥ 2.5, updated in 4.0.0._
|
||||
_WeeChat ≥ 2.5, updated in 4.0.0, 4.5.0._
|
||||
|
||||
Execute a command or send text to buffer with options.
|
||||
|
||||
@@ -16865,13 +16900,14 @@ Arguments:
|
||||
|
||||
* _buffer_: buffer pointer (command is executed on this buffer, use NULL for
|
||||
current buffer)
|
||||
* _command_: command to execute (if beginning with a "/"), or text to send to
|
||||
buffer
|
||||
* _command_: command to execute (if beginning with a `/` or a command char),
|
||||
or text to send to buffer
|
||||
* _options_: a hashtable with some options (keys and values must be string)
|
||||
(can be NULL):
|
||||
** _commands_: a comma-separated list of commands allowed to be executed during
|
||||
this call; see function <<_string_match_list,string_match_list>> for the
|
||||
format
|
||||
this call (see function <<_string_match_list,string_match_list>> for the
|
||||
format); the special value `-` (hyphen-minus) disables the execution of commands
|
||||
and the string in _command_ is sent as-is to the buffer (_WeeChat ≥ 4.5.0_)
|
||||
** _delay_: delay to execute command, in milliseconds
|
||||
** _split_newline_: `1` to split commands on newline char (`\n`) (_WeeChat ≥ 4.0.0_)
|
||||
|
||||
@@ -16904,7 +16940,7 @@ Script (Python):
|
||||
def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ...
|
||||
|
||||
# example: allow any command except /exec
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"})
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"})
|
||||
----
|
||||
|
||||
[[completion]]
|
||||
@@ -17058,6 +17094,71 @@ def my_completion_cb(data: str, completion_item: str, buffer: str, completion: s
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_set
|
||||
|
||||
_WeeChat ≥ 4.6.0._
|
||||
|
||||
Set a completion property.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
void weechat_completion_get_string (struct t_gui_completion *completion,
|
||||
const char *property,
|
||||
const char *value);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _completion_: completion pointer
|
||||
* _property_: property name (see table below)
|
||||
* _value_: new value for property
|
||||
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,^1,4,8",options="header"]
|
||||
|===
|
||||
| Name | Min WeeChat | Value | Description
|
||||
|
||||
| add_space | 4.6.0 | "0" or "1"
|
||||
| "0": do not add space after completion +
|
||||
"1": add space after completion (default).
|
||||
|===
|
||||
|
||||
C example:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_completion_cb (const void *pointer, void *data, const char *completion_item,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_gui_completion *completion)
|
||||
{
|
||||
/* do not add space after completion */
|
||||
weechat_completion_set (completion, "add_space", "0");
|
||||
|
||||
/* ... */
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototype
|
||||
def completion_set(completion: str, property: str, value: str) -> int: ...
|
||||
|
||||
# example
|
||||
def my_completion_cb(data: str, completion_item: str, buffer: str, completion: str) -> int:
|
||||
# do not add space after completion
|
||||
weechat.completion_set(completion, "add_space", "0")
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_list_add
|
||||
|
||||
_WeeChat ≥ 2.9._
|
||||
@@ -19489,7 +19590,7 @@ Arguments:
|
||||
* _pointer2_: pointer to second WeeChat/plugin object
|
||||
* _name_: variable name or path to a variable name; for arrays, the name can be
|
||||
"N|name" where N is the index in array (starting at 0), for example: "2|name"
|
||||
* _case_sensitive_: 1 for case sensitive comparison of strings, otherwise 0
|
||||
* _case_sensitive_: 1 for case-sensitive comparison of strings, otherwise 0
|
||||
|
||||
Return value:
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
[[start]]
|
||||
== Start WeeChat
|
||||
@@ -266,7 +267,7 @@ Close a server, channel or private buffer (`/close` is an alias for
|
||||
/close
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Closing the server buffer will close all channel/private buffers.
|
||||
|
||||
Disconnect from server, on the server buffer:
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
@@ -100,7 +101,9 @@ Examples:
|
||||
[[authentication]]
|
||||
== Authentication
|
||||
|
||||
The password must be sent in the header `Authorization` with `Basic` authentication schema.
|
||||
The password must be sent in the header `Authorization` with `Basic`
|
||||
authentication schema or in the header `Sec-WebSocket-Protocol` (see details
|
||||
below).
|
||||
|
||||
The password can be sent as plain text or hashed, with one of these formats
|
||||
for user and password:
|
||||
@@ -134,8 +137,8 @@ Example:
|
||||
`hash:sha256:1706431066:dfa1db3f6bb6445d18d9ec7427c10f6421274e3a4751e6c1ffc7dd28c94eadf6`:
|
||||
`aGFzaDpzaGEyNTY6MTcwNjQzMTA2NjpkZmExZGIzZjZiYjY0NDVkMThkOWVjNzQyN2MxMGY2NDIxMjc0ZTNhNDc1MWU2YzFmZmM3ZGQyOGM5NGVhZGY2`.
|
||||
|
||||
The header `Authorization` is allowed in the first request with websocket protocol
|
||||
or any HTTP request in the other cases.
|
||||
The headers `Authorization` and `Sec-WebSocket-Protocol` are allowed in the first
|
||||
request with the websocket protocol or any HTTP request in the other cases.
|
||||
|
||||
Request example with plain text password:
|
||||
|
||||
@@ -261,6 +264,36 @@ HTTP/1.1 401 Unauthorized
|
||||
}
|
||||
----
|
||||
|
||||
[[authentication_sec_websocket_protocol]]
|
||||
=== Sec-WebSocket-Protocol
|
||||
|
||||
The JavaScript WebSocket API used in current web browsers does not support
|
||||
specifying the `Authorization` header. Therefore it's also supported to send
|
||||
the password in the `Sec-WebSocket-Protocol` header which is the only header
|
||||
possible to set with this API.
|
||||
|
||||
To use this header, you must specify the sub-protocols `api.weechat` and
|
||||
`base64url.bearer.authorization.weechat.<auth>` where `<auth>` is the base64url
|
||||
encoded string of the password in the same format as explained above.
|
||||
|
||||
Example with password `secret_password` encoded in plain text. This makes the
|
||||
string to base64url encode `plain:secret_password` which is
|
||||
`cGxhaW46c2VjcmV0X3Bhc3N3b3Jk`.
|
||||
|
||||
----
|
||||
Sec-WebSocket-Protocol: api.weechat, base64url.bearer.authorization.weechat.cGxhaW46c2VjcmV0X3Bhc3N3b3Jk
|
||||
----
|
||||
|
||||
This can be set with the JavaScript WebSocket API like this:
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
const ws = new WebSocket("wss://localhost:9000/api", [
|
||||
"api.weechat",
|
||||
"base64url.bearer.authorization.weechat.cGxhaW46c2VjcmV0X3Bhc3N3b3Jk",
|
||||
])
|
||||
----
|
||||
|
||||
[[compression]]
|
||||
== Compression
|
||||
|
||||
@@ -1151,7 +1184,7 @@ Body parameters:
|
||||
|
||||
* `buffer_id` (integer, optional): buffer unique identifier (not to be confused
|
||||
with the buffer number, which is different)
|
||||
* `buffer` (string, optional, default: `core.weechat`): buffer name
|
||||
* `buffer_name` (string, optional, default: `core.weechat`): buffer name
|
||||
* `command` (string, **required**): command or text to send to the buffer
|
||||
|
||||
Request example: say "hello!" on channel #weechat:
|
||||
@@ -1159,7 +1192,7 @@ Request example: say "hello!" on channel #weechat:
|
||||
[source,shell]
|
||||
----
|
||||
curl -L -u 'plain:secret_password' -X POST \
|
||||
-d '{"buffer": "irc.libera.#weechat", "command": "hello!"}' \
|
||||
-d '{"buffer_name": "irc.libera.#weechat", "command": "hello!"}' \
|
||||
'https://localhost:9000/api/input'
|
||||
----
|
||||
|
||||
@@ -1187,6 +1220,58 @@ Response:
|
||||
HTTP/1.1 204 No content
|
||||
----
|
||||
|
||||
[[resource_completion]]
|
||||
=== Completion
|
||||
|
||||
Complete user command or text in a buffer.
|
||||
|
||||
Endpoint:
|
||||
|
||||
----
|
||||
POST /api/completion
|
||||
----
|
||||
|
||||
Body parameters:
|
||||
|
||||
* `buffer_id` (integer, optional): buffer unique identifier (not to be confused
|
||||
with the buffer number, which is different)
|
||||
* `buffer_name` (string, optional, default: `core.weechat`): buffer name
|
||||
* `command` (string, **required**): command or text to complete
|
||||
* `position` (integer, optional, default: end of string): position in command
|
||||
(first position is 0)
|
||||
|
||||
Request example: complete command `/qu` on channel #weechat:
|
||||
|
||||
[source,shell]
|
||||
----
|
||||
curl -L -u 'plain:secret_password' -X POST \
|
||||
-d '{"buffer_name": "irc.libera.#weechat", "command": "/qu"}' \
|
||||
'https://localhost:9000/api/completion'
|
||||
----
|
||||
|
||||
Response:
|
||||
|
||||
[source,http]
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
----
|
||||
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"context": "command",
|
||||
"base_word": "qu",
|
||||
"position_replace": 1,
|
||||
"add_space": true,
|
||||
"list": [
|
||||
"query",
|
||||
"quiet",
|
||||
"quit",
|
||||
"quote"
|
||||
]
|
||||
}
|
||||
----
|
||||
|
||||
[[resource_ping]]
|
||||
=== Ping
|
||||
|
||||
@@ -1389,6 +1474,10 @@ Requests to WeeChat are made with a JSON object containing these fields:
|
||||
* `body` (object or array): the body (optional, for `POST` and `PUT` methods)
|
||||
* `request_id` (string): identifier sent back in the response
|
||||
|
||||
Multiple requests can be sent at once using an array of objects, each object
|
||||
being a separate request. +
|
||||
Requests are executed in the order received (see example below).
|
||||
|
||||
Responses to client are made with a JSON object containing these fields:
|
||||
|
||||
* `code` (integer): HTTP response code (example: `200`)
|
||||
@@ -1478,6 +1567,69 @@ Response:
|
||||
}
|
||||
----
|
||||
|
||||
Requests example: send two requests at once: get list of all buffers with lines
|
||||
and nicks, then synchronize with the remote:
|
||||
|
||||
[source,json]
|
||||
----
|
||||
[
|
||||
{
|
||||
"request": "GET /api/buffers?lines=-1000&nicks=true&colors=weechat",
|
||||
"request_id": "initial_sync"
|
||||
},
|
||||
{
|
||||
"request": "POST /api/sync",
|
||||
"body": {
|
||||
"colors": "weechat"
|
||||
}
|
||||
}
|
||||
]
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
It is recommended to send the synchronization request together with the first
|
||||
request that is fetching data, so that no events are missed.
|
||||
|
||||
First response (body with buffers is truncated for readability):
|
||||
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"code": 200,
|
||||
"message": "OK",
|
||||
"request": "GET /api/buffers?lines=-1000&nicks=true&colors=weechat",
|
||||
"request_body": null,
|
||||
"request_id": "initial_sync",
|
||||
"body_type": "buffers",
|
||||
"body": [
|
||||
{
|
||||
"id": 1709932823238637,
|
||||
"name": "core.weechat",
|
||||
"short_name": "weechat",
|
||||
"number": 1,
|
||||
"type": "formatted"
|
||||
}
|
||||
]
|
||||
}
|
||||
----
|
||||
|
||||
Second response:
|
||||
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"code": 204,
|
||||
"message": "No Content",
|
||||
"request": "POST /api/sync",
|
||||
"request_body": {
|
||||
"colors": "weechat"
|
||||
},
|
||||
"request_id": null,
|
||||
"body_type": null,
|
||||
"body": null
|
||||
}
|
||||
----
|
||||
|
||||
WeeChat pushes data to the client at any time on some events: when lines are
|
||||
displayed, buffers added/removed/changed, nicks added/removed/changed, etc.
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
@@ -978,7 +979,7 @@ Arguments:
|
||||
|
||||
Examples:
|
||||
|
||||
* Send command "/help filter" on WeeChat core bufer:
|
||||
* Send command "/help filter" on WeeChat core buffer:
|
||||
|
||||
----
|
||||
input core.weechat /help filter
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
@@ -67,7 +68,7 @@ link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗
|
||||
|
||||
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||
A Python stub for WeeChat API is available in the repository:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
|
||||
[[python_functions]]
|
||||
===== Functions
|
||||
|
||||
+118
-104
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
@@ -466,7 +467,7 @@ crash immediately in case of problem:
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
You should enable address sanitizer only if you're trying to cause a crash,
|
||||
this is not recommended in production.
|
||||
|
||||
@@ -603,7 +604,7 @@ include::includes/cmdline_options.en.adoc[tag=standard]
|
||||
|
||||
Some extra options are available for debug purposes only:
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Do *NOT* use any of these options in production!
|
||||
|
||||
include::includes/cmdline_options.en.adoc[tag=debug]
|
||||
@@ -817,7 +818,7 @@ weechat --upgrade
|
||||
==== Upgrading notes
|
||||
|
||||
After an upgrade, it is *strongly recommended* to read the file
|
||||
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
which contains important information about breaking changes and some
|
||||
manual actions that could be required.
|
||||
|
||||
@@ -876,7 +877,7 @@ Example of terminal with WeeChat:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* M [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ bars "status" and "input" bar "nicklist" ▲
|
||||
@@ -915,39 +916,41 @@ Bar _status_ has following default items:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Item | Example | Description
|
||||
| time | `[12:55]` | Time.
|
||||
| buffer_last_number | `[5]` | Number of last buffer in list.
|
||||
| buffer_plugin | `[irc/libera]` | Plugin of current buffer (irc plugin can add IRC server name used by buffer).
|
||||
| buffer_number | `2` | Current buffer number.
|
||||
| buffer_name | `#test` | Current buffer name.
|
||||
| buffer_modes | `+n` | IRC channel modes.
|
||||
| buffer_nicklist_count | `{4}` | Number of nicks displayed in nicklist.
|
||||
| buffer_zoom | ! | `!` means the merged buffer is zoomed (only this one is displayed), empty value means all merged buffers are displayed.
|
||||
| buffer_filter | `+*+` | Filtering indicator: `+*+` means some lines are filtered (hidden), empty value means all lines are displayed.
|
||||
| scroll | `-MORE(50)-` | Scroll indicator, with number of lines below last line displayed.
|
||||
| lag | `[Lag: 2.5]` | Lag indicator, in seconds (hidden if lag is low).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | List of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on _#abc_, one unread message on buffer #5).
|
||||
| completion | `abc(2) def(5)` | List of words for completion, with number of possible completions for each word.
|
||||
| Item | Example | Description
|
||||
| time | `12:55` | Time.
|
||||
| buffer_last_number | `5` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`).
|
||||
| buffer_plugin | `irc/libera` | Plugin of current buffer (irc plugin can add IRC server name used by buffer).
|
||||
| buffer_number | `2` | Current buffer number.
|
||||
| buffer_name | `#test` | Current buffer name.
|
||||
| buffer_modes | `+n` | IRC channel modes.
|
||||
| buffer_nicklist_count | `4` | Number of nicks displayed in nicklist.
|
||||
| buffer_zoom | ! | `!` means the merged buffer is zoomed (only this one is displayed), empty value means all merged buffers are displayed.
|
||||
| buffer_filter | `+*+` | Filtering indicator: `+*+` means some lines are filtered (hidden), empty value means all lines are displayed.
|
||||
| mouse_status | `M` | Mouse status (empty if mouse is disabled), see command <<command_weechat_mouse,/mouse>> and <<key_bindings_toggle_keys,toggle keys>>.
|
||||
| scroll | `-MORE(50)-` | Scroll indicator, with number of lines below last line displayed.
|
||||
| lag | `Lag: 2.5` | Lag indicator, in seconds (hidden if lag is low).
|
||||
| hotlist | `H: 3:#abc(2,5), 5` | List of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on _#abc_, one unread message on buffer #5).
|
||||
| typing | `Typing: bob, (alice)` | Typing notification, see <<typing_notifications,typing notifications>>.
|
||||
| completion | `abc(2) def(5)` | List of words for completion, with number of possible completions for each word.
|
||||
|===
|
||||
|
||||
Bar _input_ has following default items:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Item | Example | Description
|
||||
| input_prompt | `[@Flashy(i)]` | Input prompt, for irc: nick and modes (mode "+i" means invisible on libera).
|
||||
| away | `(away)` | Away indicator.
|
||||
| input_search | `[Search lines (~ str,msg)]` | Search indicator (see below)
|
||||
| input_paste | `[Paste 7 lines ? [ctrl-y] Yes [ctrl-n] No]` | Question to user for pasting lines.
|
||||
| input_text | `hi peter!` | Input text.
|
||||
| Item | Example | Description
|
||||
| input_prompt | `@Flashy(i)` | Input prompt, for irc: nick and modes (mode "+i" means invisible on libera).
|
||||
| away | `away` | Away indicator.
|
||||
| input_search | `Search lines (~ str,msg)` | Search indicator (see below)
|
||||
| input_paste | `Paste 7 lines ? [ctrl-y] Yes [ctrl-n] No` | Question to user for pasting lines.
|
||||
| input_text | `hi peter!` | Input text.
|
||||
|===
|
||||
|
||||
There are two search modes:
|
||||
|
||||
* search in lines, for example `[Search lines (~ str,msg)]`, with the following info:
|
||||
** `~`: case insensitive
|
||||
** `==`: case sensitive
|
||||
** `~`: case-insensitive
|
||||
** `==`: case-sensitive
|
||||
** `str`: search string
|
||||
** `regex`: search regular expression
|
||||
** `msg`: search in messages
|
||||
@@ -955,8 +958,8 @@ There are two search modes:
|
||||
** `pre\|msg`: search in prefixes and messages.
|
||||
* search in commands history, for example `[Search command (~ str,local)]`,
|
||||
with the following info:
|
||||
** `~`: case insensitive
|
||||
** `==`: case sensitive
|
||||
** `~`: case-insensitive
|
||||
** `==`: case-sensitive
|
||||
** `str`: search string
|
||||
** `regex`: search regular expression
|
||||
** `local`: search in buffer local history
|
||||
@@ -975,8 +978,7 @@ Other items available (not used in bars by default):
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Item | Example | Description
|
||||
| buffer_count | `10` | Total number of buffers opened.
|
||||
| buffer_last_number | `10` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`).
|
||||
| buffer_count | `5` | Total number of buffers opened.
|
||||
| buffer_nicklist_count_all | `4` | Number of visible groups and nicks in nicklist.
|
||||
| buffer_nicklist_count_groups | `0` | Number of visible groups in nicklist.
|
||||
| buffer_short_name | `#test` | Current buffer short name.
|
||||
@@ -991,7 +993,7 @@ Other items available (not used in bars by default):
|
||||
| irc_nick_host | `+Flashy!user@host.com+` | Current IRC nick and host.
|
||||
| irc_nick_modes | `i` | IRC modes for self nick.
|
||||
| irc_nick_prefix | `@` | IRC nick prefix on channel.
|
||||
| mouse_status | `M` | Mouse status (empty if mouse is disabled).
|
||||
| spacer | | Special item used to align text in bars, see <<item_spacer,Spacer item>>.
|
||||
| spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
|
||||
| spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
|
||||
| tls_version | `TLS1.3` | TLS version in use for current IRC server.
|
||||
@@ -1101,7 +1103,7 @@ data).
|
||||
|
||||
Examples of buffers:
|
||||
|
||||
* core buffer (created by WeeChat on startup, can not be closed)
|
||||
* core buffer (created by WeeChat on startup, cannot be closed)
|
||||
* irc server (displays messages from server)
|
||||
* irc channel
|
||||
* irc private messages
|
||||
@@ -1339,7 +1341,7 @@ Tags commonly used (non-exhaustive list):
|
||||
[width="100%",cols="1m,4",options="header"]
|
||||
|===
|
||||
| Tag | Description
|
||||
| no_filter | Line can not be filtered.
|
||||
| no_filter | Line cannot be filtered.
|
||||
| no_highlight | No highlight is possible on line.
|
||||
| no_log | Line is not written in log file.
|
||||
| log0 … log9 | Level of log for line (see the <<command_logger_logger,/logger>> command).
|
||||
@@ -1751,11 +1753,12 @@ They can be changed and new ones can be added with the <<command_weechat_key,/ke
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| Key | Description | Command
|
||||
| kbd:[Alt+m] | Toggle mouse. | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | Toggle spell checker. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | Toggle filters. | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | Toggle filters in current buffer. | `+/filter toggle @+`
|
||||
| Key | Description | Command
|
||||
| kbd:[Alt+m] | Toggle mouse. | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | Toggle spell checker. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | Toggle filters. | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | Toggle filters in current buffer. | `+/filter toggle @+`
|
||||
| kbd:[Alt+Ctrl+l] (`L`) | Toggle between remote and local commands on a remote buffer (relay "api"). | `+/remote togglecmd+`
|
||||
|===
|
||||
|
||||
[[key_bindings_search_context]]
|
||||
@@ -1966,9 +1969,9 @@ These keys and actions are used on the IRC /list buffer (see command <<command_i
|
||||
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/list -left+`
|
||||
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/list -right+`
|
||||
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
|
||||
| | `xxx` | Show only channels with "xxx" in name or topic (case insensitive). |
|
||||
| | `n:xxx` | Show only channels with "xxx" in name (case insensitive). |
|
||||
| | `t:xxx` | Show only channels with "xxx" in topic (case insensitive). |
|
||||
| | `xxx` | Show only channels with "xxx" in name or topic (case-insensitive). |
|
||||
| | `n:xxx` | Show only channels with "xxx" in name (case-insensitive). |
|
||||
| | `t:xxx` | Show only channels with "xxx" in topic (case-insensitive). |
|
||||
| | `u:n` | Show only channels with at least "n" users. |
|
||||
| | `u:>n` | Show only channels with more than "n" users. |
|
||||
| | `u:<n` | Show only channels with less than "n" users. |
|
||||
@@ -2025,27 +2028,27 @@ Example of fset buffer displaying options starting with `weechat.look` :
|
||||
[subs="quotes"]
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│1/121 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggle │
|
||||
│1.weechat│7/125 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggl>>│
|
||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||
│ │hanges in input [default: on] │
|
||||
│ │----------------------------------------------------------------------------│
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words boolean on │
|
||||
│ │ weechat.look.bar_more_down string "++" │
|
||||
│ │ weechat.look.bar_more_left string "<<" │
|
||||
│ │ weechat.look.bar_more_right string ">>" │
|
||||
│ │ weechat.look.bar_more_up string "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||
│ │ weechat.look.buffer_search_regex boolean off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||
│ │ weechat.look.buffer_time_same string "" │
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words boolean on │
|
||||
│ │ weechat.look.bar_more_down string "++" │
|
||||
│ │ weechat.look.bar_more_left string "<<" │
|
||||
│ │ weechat.look.bar_more_right string ">>" │
|
||||
│ │ weechat.look.bar_more_up string "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||
│ │ weechat.look.buffer_search_history enum local │
|
||||
│ │ weechat.look.buffer_search_regex boolean off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||
│ │[12:55] [2] [fset] 2:fset │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
@@ -3277,7 +3280,7 @@ Alias plugin lets you create alias for commands (from WeeChat or other
|
||||
plugins).
|
||||
|
||||
Some aliases are created by default, with name in upper case (to make them
|
||||
different from standard commands); commands are not case sensitive in WeeChat,
|
||||
different from standard commands); commands are not case-sensitive in WeeChat,
|
||||
so for example `/close` runs the alias `/CLOSE`.
|
||||
|
||||
List of default aliases:
|
||||
@@ -3399,13 +3402,15 @@ weechat irc://alice@irc.libera.chat/#weechat,#weechat-fr
|
||||
By default no servers are defined. You can add as many servers as you want with
|
||||
the <<command_irc_server,/server>> command.
|
||||
|
||||
For example to connect to https://libera.chat/[libera.chat ^↗^^]
|
||||
with TLS (encrypted trafic):
|
||||
For example to connect to https://libera.chat/[libera.chat ^↗^^]:
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
/server add libera irc.libera.chat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Default port is 6697 and TLS (encrypted traffic) is enabled.
|
||||
|
||||
You can tell WeeChat to auto-connect to this server on startup:
|
||||
|
||||
----
|
||||
@@ -3446,11 +3451,11 @@ For example if you created the _libera_ server with the commands above, you'll
|
||||
see this with the command `/fset libera`:
|
||||
|
||||
....
|
||||
irc.server.libera.addresses string "irc.libera.chat/6697"
|
||||
irc.server.libera.anti_flood_prio_high integer null -> 2
|
||||
irc.server.libera.anti_flood_prio_low integer null -> 2
|
||||
irc.server.libera.addresses string "irc.libera.chat"
|
||||
irc.server.libera.anti_flood integer null -> 2000
|
||||
irc.server.libera.autoconnect boolean on
|
||||
irc.server.libera.autojoin string null -> ""
|
||||
irc.server.libera.autojoin_delay integer null -> 0
|
||||
irc.server.libera.autojoin_dynamic boolean null -> off
|
||||
irc.server.libera.autoreconnect boolean null -> on
|
||||
irc.server.libera.autoreconnect_delay integer null -> 10
|
||||
@@ -3464,17 +3469,18 @@ irc.server.libera.command string null -> ""
|
||||
irc.server.libera.command_delay integer null -> 0
|
||||
irc.server.libera.connection_timeout integer null -> 60
|
||||
irc.server.libera.default_chantypes string null -> "#&"
|
||||
irc.server.libera.ipv6 boolean null -> on
|
||||
irc.server.libera.ipv6 enum null -> auto
|
||||
irc.server.libera.local_hostname string null -> ""
|
||||
irc.server.libera.msg_kick string null -> ""
|
||||
irc.server.libera.msg_part string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks string null -> "alice,alice1,alice2,alice3,alice4"
|
||||
irc.server.libera.nicks string null -> "${username},${username}2,${username}3,${username}4,${username}5"
|
||||
irc.server.libera.nicks_alternate boolean null -> on
|
||||
irc.server.libera.notify string null -> ""
|
||||
irc.server.libera.password string null -> ""
|
||||
irc.server.libera.proxy string null -> ""
|
||||
irc.server.libera.realname string null -> ""
|
||||
irc.server.libera.registered_mode string null -> "r"
|
||||
irc.server.libera.sasl_fail enum null -> reconnect
|
||||
irc.server.libera.sasl_key string null -> ""
|
||||
irc.server.libera.sasl_mechanism enum null -> plain
|
||||
@@ -3482,15 +3488,15 @@ irc.server.libera.sasl_password string "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout integer null -> 15
|
||||
irc.server.libera.sasl_username string "alice"
|
||||
irc.server.libera.split_msg_max_length integer null -> 512
|
||||
irc.server.libera.tls boolean on
|
||||
irc.server.libera.tls boolean null -> on
|
||||
irc.server.libera.tls_cert string null -> ""
|
||||
irc.server.libera.tls_dhkey_size integer null -> 2048
|
||||
irc.server.libera.tls_fingerprint string null -> ""
|
||||
irc.server.libera.tls_password string null -> ""
|
||||
irc.server.libera.tls_priorities string null -> "NORMAL:-VERS-SSL3.0"
|
||||
irc.server.libera.tls_priorities string null -> "NORMAL"
|
||||
irc.server.libera.tls_verify boolean null -> on
|
||||
irc.server.libera.usermode string null -> ""
|
||||
irc.server.libera.username string null -> "alice"
|
||||
irc.server.libera.username string null -> "${username}"
|
||||
....
|
||||
|
||||
For example if you want to automatically connect to all servers you define
|
||||
@@ -3612,7 +3618,7 @@ Options in servers are:
|
||||
[[irc_sasl_ecdsa_nist256p_challenge]]
|
||||
===== SASL ECDSA-NIST256P-CHALLENGE
|
||||
|
||||
You must generate a private key in order to authentify with the
|
||||
You must generate a private key in order to authenticate with the
|
||||
ECDSA-NIST256P-CHALLENGE mechanism (no password is required on connection).
|
||||
|
||||
You can generate the key with this command:
|
||||
@@ -4690,13 +4696,21 @@ For example:
|
||||
Now you can connect on port 9000 with a WeeChat or a remote interface using
|
||||
password "mypassword".
|
||||
|
||||
To connect to an _api_ relay with WeeChat:
|
||||
To connect to an _api_ relay running locally with WeeChat:
|
||||
|
||||
----
|
||||
/remote add weechat http://localhost:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
To connect to an _api_ relay running elsewhere with WeeChat
|
||||
(TLS is highly recommended):
|
||||
|
||||
----
|
||||
/remote add weechat https://example.com:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
The remote WeeChat must expose the same API version as the local WeeChat, so
|
||||
it's highly recommended to use exactly the same WeeChat version on remote
|
||||
@@ -4711,7 +4725,7 @@ You can connect with a remote interface, see
|
||||
https://weechat.org/about/interfaces/[this page ^↗^^].
|
||||
|
||||
[IMPORTANT]
|
||||
WeeChat itself can NOT connect to another WeeChat with this protocol.
|
||||
WeeChat itself cannot connect to another WeeChat with this protocol.
|
||||
|
||||
For example:
|
||||
|
||||
@@ -4737,7 +4751,7 @@ A WebSocket can be opened in a HTML5 with a single line of JavaScript:
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
websocket = new WebSocket("ws://server.com:9500/weechat");
|
||||
websocket = new WebSocket("ws://example.com:9500/weechat");
|
||||
----
|
||||
|
||||
The port (9500 in example) is the port defined in Relay plugin.
|
||||
@@ -4964,7 +4978,7 @@ A trigger has the following options (names are
|
||||
|
||||
| enabled | `on`, `off`
|
||||
| When option is `off`, the trigger is disabled and actions are not executed
|
||||
any more.
|
||||
anymore.
|
||||
|
||||
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
|
||||
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
|
||||
@@ -5778,7 +5792,7 @@ For privacy considerations, the download of scripts is disabled by default. +
|
||||
To enable it, type this command:
|
||||
|
||||
----
|
||||
/set script.scripts.download_enabled on
|
||||
/script enable
|
||||
----
|
||||
|
||||
Then you can download the list of scripts and display them in a new buffer
|
||||
@@ -5788,33 +5802,33 @@ with the <<command_script_script,/script>> command:
|
||||
:x: *
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
|
||||
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
|
||||
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
||||
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
|
||||
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
|
||||
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
|
||||
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
|
||||
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
|
||||
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
|
||||
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
|
||||
│1.weechat│322/322 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, >>│
|
||||
│2.scripts│{x} autosort.py 3.10 2023-12-31 | Automatically keep buffers grouped by se│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
||||
│ │{x}ia r grep.py 0.8.6 0.8.6 2022-11-11 | Search regular expression in buffers or │
|
||||
│ │{x} colorize_nicks.py 32 2023-10-30 | Use the weechat nick colors in the chat │
|
||||
│ │##{x}ia r go.py 3.0.1 3.0.1 2024-05-30 | Quick jump to buffers. ##│
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for re│
|
||||
│ │ alternatetz.py 0.4 2022-01-25 | Add an alternate timezone item. │
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script.│
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to │
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel│
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highl│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidental│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s│
|
||||
│ │ arespond.py 0.1.2 2022-01-25 | Simple autoresponder. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@│
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currentl│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changi│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .wee│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last │
|
||||
│ │ autojoin_on_invite.py 0.9 2022-10-25 | Auto joins channels when invited. │
|
||||
│ │ automarkbuffer.py 1.0 2015-03-31 | Mark buffers as read if there is no new │
|
||||
│ │ automerge.py 0.2 2018-03-03 | Automatically merge new buffers accordin│
|
||||
│ │[12:55] [2] [script] 2:scripts │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Spanish translation, courtesy of Eddú Meléndez <eddu.melendez@gmail.com> with updates from Fede Mendez <federicomh@gmail.com>
|
||||
:appendix-caption: Apéndice
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Precaución
|
||||
:chapter-signifier: Capítulo
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Ejemplo
|
||||
:figure-caption: Figura
|
||||
:important-caption: Importante
|
||||
:last-update-label: Ultima actualización
|
||||
ifdef::listing-caption[:listing-caption: Lista]
|
||||
ifdef::manname-title[:manname-title: Nombre]
|
||||
:note-caption: Nota
|
||||
:part-signifier: Parte
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Prefacio]
|
||||
:section-refsig: Sección
|
||||
:table-caption: Tabla
|
||||
:tip-caption: Sugerencia
|
||||
:toc-title: Tabla de Contenido
|
||||
:untitled-label: Sin título
|
||||
:version-label: Versión
|
||||
:warning-caption: Aviso
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: es
|
||||
:toc-title: Índice
|
||||
include::includes/attributes-es.adoc[]
|
||||
|
||||
Traductores
|
||||
|
||||
@@ -1280,7 +1280,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /ruta/a/weechat
|
||||
[[supported_os]]
|
||||
=== ¿Cual es la lista de plataformas para las que está disponible WeeChat? ¿Será portado a otros sistemas operativos?
|
||||
|
||||
WeeChat se ejecuta sin problemas en la mayoría de distribuciones Linux/BSD, GNU/Hurd, Mac OS y Windows
|
||||
WeeChat se ejecuta sin problemas en la mayoría de distribuciones Linux/BSD, GNU/Hurd, macOS y Windows
|
||||
(Cygwin y Windows Subsystem para Linux).
|
||||
|
||||
Hacemos todo lo posible para que pueda ser ejecutado en cuantas plataformas sea posible. La ayuda es bienvenida para
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: es
|
||||
:toc-title: Índice
|
||||
include::includes/attributes-es.adoc[]
|
||||
|
||||
Traductores:
|
||||
|
||||
@@ -283,7 +283,7 @@ Cierra un servidor, canal o buffer privado (`/close` es un alias para
|
||||
/close
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Al cerrar el buffer del servidor cerrará todos los buffer de canales/privados
|
||||
|
||||
Para desconectar del servidor, en el buffer del servidor ejecute:
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// French translation, courtesy of Nicolas Comet <nicolas.comet@gmail.com> with updates from Maheva Bagard Laursen <mblaursen@gbif.org>
|
||||
:appendix-caption: Annexe
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Attention
|
||||
:chapter-signifier: Chapitre
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Exemple
|
||||
:figure-caption: Figure
|
||||
:important-caption: Important
|
||||
:last-update-label: Dernière mise à jour
|
||||
ifdef::listing-caption[:listing-caption: Liste]
|
||||
ifdef::manname-title[:manname-title: Nom]
|
||||
:note-caption: Note
|
||||
:part-signifier: Partie
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Préface]
|
||||
:section-refsig: Section
|
||||
:table-caption: Tableau
|
||||
:tip-caption: Astuce
|
||||
:toc-title: Table des matières
|
||||
:untitled-label: Sans titre
|
||||
:version-label: Version
|
||||
:warning-caption: Avertissement
|
||||
@@ -102,7 +102,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat est écrit par Sébastien Helleu et des contributeurs (la liste complète
|
||||
est dans le fichier AUTHORS.md).
|
||||
|
||||
Copyright (C) 2003-2024 {author}
|
||||
Copyright (C) 2003-2025 {author}
|
||||
|
||||
WeeChat est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier
|
||||
sous les termes de la GNU General Public License telle que publiée par la
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
@@ -328,6 +328,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
||||
| relay/ | Extension Relay (proxy IRC et relai pour des interfaces distantes).
|
||||
| relay.c | Fonctions principales de Relay.
|
||||
| relay-auth.c | Authentification des clients.
|
||||
| relay-bar-item.c | Objets de barre Relay.
|
||||
| relay-buffer.c | Tampon Relay.
|
||||
| relay-client.c | Clients du relai.
|
||||
| relay-command.c | Commandes de Relay.
|
||||
@@ -424,10 +425,11 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
||||
| test-core-crypto.cpp | Tests : fonctions cryptographiques.
|
||||
| test-core-dir.cpp | Tests : répertoires/fichiers.
|
||||
| test-core-eval.cpp | Tests : évaluation d'expressions.
|
||||
| test-core-hashtble.cpp | Tests : tables de hachage.
|
||||
| test-core-hashtable.cpp | Tests : tables de hachage.
|
||||
| test-core-hdata.cpp | Tests : hdata.
|
||||
| test-core-hook.cpp | Tests : hooks.
|
||||
| test-core-infolist.cpp | Tests : infolists.
|
||||
| test-core-input.cpp | Tests : fonctions d'entrée.
|
||||
| test-core-list.cpp | Tests : listes.
|
||||
| test-core-network.cpp | Tests : fonctions réseau.
|
||||
| test-core-secure.cpp | Tests : données sécurisées.
|
||||
@@ -576,7 +578,7 @@ Exemple en C :
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* Copyright (C) 2024 Your Name <your@email.com>
|
||||
* Copyright (C) 2025 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
@@ -1192,7 +1194,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
Le dépôt Git est sur https://github.com/weechat/weechat[GitHub ^↗^^].
|
||||
|
||||
Tout patch pour un bug ou une nouvelle fonctionnalité doit être effectué sur la
|
||||
branche master, le format préféré étant une "pull request" sur GitHub. Un patch
|
||||
branche `main`, le format préféré étant une "pull request" sur GitHub. Un patch
|
||||
peut aussi être envoyé par e-mail (fait avec `git diff` ou `git format-patch`).
|
||||
|
||||
Le format du message de commit est le suivant (avec fermeture automatique
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
== Général
|
||||
|
||||
@@ -1288,7 +1288,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||
[[supported_os]]
|
||||
=== Quelle est la liste des plates-formes supportées par WeeChat ? Sera-t-il porté sur d'autres systèmes d'exploitation ?
|
||||
|
||||
WeeChat tourne bien sur la plupart des distributions Linux/BSD, GNU/Hurd, Mac OS
|
||||
WeeChat tourne bien sur la plupart des distributions Linux/BSD, GNU/Hurd, macOS
|
||||
et Windows (Cygwin et Windows Subsystem for Linux).
|
||||
|
||||
Nous faisons le maximum pour supporter le plus de plates-formes possible.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
@@ -4841,7 +4841,7 @@ Cette fonction n'est pas disponible dans l'API script.
|
||||
|
||||
==== util_strftimeval
|
||||
|
||||
_WeeChat ≥ 4.2.0, mis à jour dans la 4.3.0._
|
||||
_WeeChat ≥ 4.2.0, mis à jour dans la 4.3.0, 4.6.4._
|
||||
|
||||
Formatter la date et l'heure comme la fonction `strftime` de la bibliothèque C,
|
||||
en utilisant un `struct timeval` en entrée et en supportant des caractères de
|
||||
@@ -4860,6 +4860,8 @@ Paramètres :
|
||||
* _max_ : taille de la chaîne
|
||||
* _format_ : format, le même que celui de la fonction _strftime_, avec des
|
||||
caractères de conversion supplémentaires :
|
||||
** `%@` : retourner la date exprimée en Temps Universel Coordonné (UTC)
|
||||
au lieu de la date relative au fuseau horaire de l'utilisateur _(WeeChat ≥ 4.7.0)_
|
||||
** `%.N` où `N` est entre 1 and 6: microsecondes remplies avec des zéros sur
|
||||
N chiffres (par exemple `%.3` pour les millisecondes)
|
||||
** `%f` : alias de `%.6`
|
||||
@@ -4876,8 +4878,8 @@ Exemple en C :
|
||||
char time[256];
|
||||
struct timeval tv;
|
||||
gettimeofday (&tv, NULL);
|
||||
weechat_util_strftimeval (time, sizeof (time), "%FT%T.%f", &tv);
|
||||
/* résultat : 2023-12-26T18:10:04.460509 */
|
||||
weechat_util_strftimeval (time, sizeof (time), "%@%FT%T.%fZ", &tv);
|
||||
/* résultat : 2023-12-26T18:10:04.460509Z */
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -8256,7 +8258,7 @@ def config_boolean_inherited(option: str) -> int: ...
|
||||
|
||||
# exemple
|
||||
option = weechat.config_get("irc.server.libera.autoconnect")
|
||||
autoconect = weechat.config_boolean_inherited(option)
|
||||
autoconnect = weechat.config_boolean_inherited(option)
|
||||
----
|
||||
|
||||
==== config_integer
|
||||
@@ -9568,7 +9570,7 @@ _WeeChat ≥ 0.3.6, mis à jour dans la 2.0._
|
||||
|
||||
Supprimer une/des association(s) de touche(s).
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Lors de l'appel à cette fonction, assurez-vous que vous n'allez pas supprimer
|
||||
une touche définie par l'utilisateur.
|
||||
|
||||
@@ -11185,6 +11187,11 @@ _WeeChat ≥ 4.1.0._
|
||||
|
||||
Transfert d'URL.
|
||||
|
||||
Cette fonction est similaire à <<_hook_process,hook_process>> et
|
||||
<<_hook_process_hashtable,hook_process_hashtable>> avec la commande "url:..."
|
||||
mais elle utilise un thread au lieu d'un nouveau processus, la rendant plus
|
||||
légère et donc recommandée pour cet usage.
|
||||
|
||||
Prototype :
|
||||
|
||||
[source,c]
|
||||
@@ -11808,7 +11815,7 @@ Exemple en C :
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_line_cb (const void *pointer, void *data, struct t_hasbtable *line)
|
||||
my_line_cb (const void *pointer, void *data, struct t_hashtable *line)
|
||||
{
|
||||
struct t_hashtable *hashtable;
|
||||
|
||||
@@ -12740,7 +12747,7 @@ hook = weechat.hook_signal("quit;upgrade", "my_signal_cb", "")
|
||||
|
||||
==== hook_signal_send
|
||||
|
||||
_Mis à jour dans la 1.0._
|
||||
_Mis à jour dans la 1.0, 4.5.0._
|
||||
|
||||
Envoyer un signal.
|
||||
|
||||
@@ -12754,11 +12761,23 @@ int weechat_hook_signal_send (const char *signal, const char *type_data,
|
||||
|
||||
Paramètres :
|
||||
|
||||
* _signal_ : signal à envoyer
|
||||
* _signal_ : signal à envoyer ; des drapeaux sont autorisés avant le nom du signal
|
||||
(voir ci-dessous) _(WeeChat ≥ 4.5.0)_
|
||||
* _type_data_ : type de données à envoyer avec le signal (voir
|
||||
<<_hook_signal,hook_signal>>)
|
||||
* _signal_data_ : données envoyées avec le signal
|
||||
|
||||
Le nom du signal peut contenir des drapeaux avec le format suivant : `[flags:xxx,yyy]signal`
|
||||
où `xxx` et `yyy` sont des noms de drapeaux et `signal` le nom du signal. +
|
||||
Les drapeaux suivants sont supportés :
|
||||
|
||||
* _stop_on_error_ : sortir immédiatement si une fonction de rappel retourne
|
||||
WEECHAT_RC_ERROR (les autres fonctions de rappel ne sont donc PAS exécutées)
|
||||
_(WeeChat ≥ 4.5.0)_
|
||||
* _ignore_eat_ : considérer que toute fonction de rappel renvoyant WEECHAT_RC_OK_EAT
|
||||
est en fait WEECHAT_RC_OK et exécuter les fonctions de rappel restantes
|
||||
_(WeeChat ≥ 4.5.0)_
|
||||
|
||||
Valeur de retour _(WeeChat ≥ 1.0)_ :
|
||||
|
||||
* code retour de la dernière fonction de rappel exécutée (_WEECHAT_RC_OK_ si
|
||||
@@ -12772,6 +12791,8 @@ Exemple en C :
|
||||
[source,c]
|
||||
----
|
||||
int rc = weechat_hook_signal_send ("mon_signal", WEECHAT_HOOK_SIGNAL_STRING, ma_chaine);
|
||||
int rc2 = weechat_hook_signal_send ("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||
----
|
||||
|
||||
Script (Python) :
|
||||
@@ -12781,8 +12802,10 @@ Script (Python) :
|
||||
# prototype
|
||||
def hook_signal_send(signal: str, type_data: str, signal_data: str) -> int: ...
|
||||
|
||||
# exemple
|
||||
# exemples
|
||||
rc = weechat.hook_signal_send("mon_signal", weechat.WEECHAT_HOOK_SIGNAL_STRING, ma_chaine)
|
||||
rc2 = weechat.hook_signal_send("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||
----
|
||||
|
||||
[[signal_logger_backlog]]
|
||||
@@ -13076,7 +13099,7 @@ hook = weechat.hook_hsignal("test", "my_hsignal_cb", "")
|
||||
|
||||
==== hook_hsignal_send
|
||||
|
||||
_WeeChat ≥ 0.3.4, mis à jour dans la 1.0._
|
||||
_WeeChat ≥ 0.3.4, mis à jour dans la 1.0, 4.5.0._
|
||||
|
||||
Envoyer un hsignal (signal avec table de hachage).
|
||||
|
||||
@@ -13089,7 +13112,8 @@ int weechat_hook_hsignal_send (const char *signal, struct t_hashtable *hashtable
|
||||
|
||||
Paramètres :
|
||||
|
||||
* _signal_ : signal à envoyer
|
||||
* _signal_ : signal à envoyer ; des drapeaux sont autorisés avant le nom du signal
|
||||
(voir la fonction <<_hook_signal_send,hook_signal_send>>) _(WeeChat ≥ 4.5.0)_
|
||||
* _hashtable_ : table de hachage
|
||||
|
||||
Valeur de retour _(WeeChat ≥ 1.0)_ :
|
||||
@@ -13104,7 +13128,7 @@ Exemple en C :
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int rc;
|
||||
int rc, rc2;
|
||||
struct t_hashtable *hashtable = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
@@ -13114,6 +13138,7 @@ if (hashtable)
|
||||
{
|
||||
weechat_hashtable_set (hashtable, "clé", "valeur");
|
||||
rc = weechat_hook_hsignal_send ("my_hsignal", hashtable);
|
||||
rc2 = weechat_hook_hsignal_send ("[flags:stop_on_error,ignore_eat]my_hsignal2", hashtable);
|
||||
weechat_hashtable_free (hashtable);
|
||||
}
|
||||
----
|
||||
@@ -13125,8 +13150,9 @@ Script (Python) :
|
||||
# prototype
|
||||
def hook_hsignal_send(signal: str, hashtable: Dict[str, str]) -> int: ...
|
||||
|
||||
# exemple
|
||||
# exemples
|
||||
rc = weechat.hook_hsignal_send("my_hsignal", {"clé": "valeur"})
|
||||
rc2 = weechat.hook_hsignal_send("[flags:stop_on_error,ignore_eat]my_hsignal2", {"key": "value"})
|
||||
----
|
||||
|
||||
[[hsignal_irc_redirect_command]]
|
||||
@@ -14308,6 +14334,10 @@ Propriétés :
|
||||
| Nom de la sous-extension (couramment un nom de script, qui est affiché dans
|
||||
`/help commande` pour un hook de type _command_).
|
||||
|
||||
| keep_spaces_right | 4.6.0 | _command_, _command_run_
|
||||
| "0" ou "1"
|
||||
| Garder les espaces à la fin des paramètres de la commande quand elle est exécutée.
|
||||
|
||||
| stdin | 0.4.3 | _process_, _process_hashtable_ | toute chaîne
|
||||
| Envoyer les données sur l'entrée standard (_stdin_) du processus fils.
|
||||
|
||||
@@ -15180,6 +15210,12 @@ Propriétés :
|
||||
ne sont *PAS* vérifiées) +
|
||||
"-1" : supprimer ce tampon de la hotlist _(WeeChat ≥ 1.0)_.
|
||||
|
||||
| hotlist_conditions | 4.5.0 | WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE,
|
||||
WEECHAT_HOTLIST_PRIVATE, WEECHAT_HOTLIST_HIGHLIGHT
|
||||
| priorité : ajouter ce tampon dans la hotlist avec cette priorité
|
||||
(les conditions définies dans l'option _weechat.look.hotlist_add_conditions_
|
||||
sont vérifiées).
|
||||
|
||||
| completion_freeze | | "0" ou "1"
|
||||
| "0" : pas de gel de la complétion (valeur par défaut)
|
||||
(option globale, le pointeur vers le tampon n'est pas utilisé) +
|
||||
@@ -15835,9 +15871,9 @@ void weechat_window_set_title (const char *title);
|
||||
|
||||
Paramètres :
|
||||
|
||||
* _title_ : nouveau titre pour le terminal (NULL pour réinitialiser le titre) ;
|
||||
la chaîne est évaluée, donc les variables comme `${info:version}` peuvent
|
||||
être utilisées (voir <<_string_eval_expression,string_eval_expression>>)
|
||||
* _title_ : nouveau titre pour le terminal ; la chaîne est évaluée, donc les variables
|
||||
comme `${info:version}` peuvent être utilisées
|
||||
(voir <<_string_eval_expression,string_eval_expression>>)
|
||||
|
||||
Exemple en C :
|
||||
|
||||
@@ -17210,7 +17246,7 @@ rc = weechat.command(weechat.buffer_search("irc", "libera.#weechat"), "/whois Fl
|
||||
|
||||
==== command_options
|
||||
|
||||
_WeeChat ≥ 2.5, mis à jour dans la 4.0.0._
|
||||
_WeeChat ≥ 2.5, mis à jour dans la 4.0.0, 4.5.0._
|
||||
|
||||
Exécuter une commande ou envoyer du texte au tampon avec des options.
|
||||
|
||||
@@ -17226,13 +17262,15 @@ Paramètres :
|
||||
|
||||
* _buffer_ : pointeur vers le tampon (la commande est exécutée sur ce tampon,
|
||||
NULL pour le tampon courant)
|
||||
* _command_ : commande à exécuter (si elle commence par "/"), ou texte à
|
||||
envoyer au tampon
|
||||
* _command_ : commande à exécuter (si elle commence par `/` ou un caractère de
|
||||
commande), ou texte à envoyer au tampon
|
||||
* _options_ : table de hachage avec des options (les clés et valeurs doivent
|
||||
être des chaînes) (peut être NULL) :
|
||||
** _commands_ : une liste de commandes autorisées pendant l'appel, séparées par
|
||||
des virgules ; voir la fonction <<_string_match_list,string_match_list>>
|
||||
pour le format
|
||||
des virgules (voir la fonction <<_string_match_list,string_match_list>>
|
||||
pour le format) ; la valeur spéciale `-` (moins) désactive l'exécution des
|
||||
commandes et la chaîne dans _command_ est envoyée telle quelle au tampon
|
||||
(_WeeChat ≥ 4.5.0_)
|
||||
** _delay_ : délai pour exécuter la commande, en millisecondes
|
||||
** _split_newline_ : `1` pour découper les commandes sur le caractère de retour
|
||||
à la ligne (`\n`) (_WeeChat ≥ 4.0.0_)
|
||||
@@ -17266,7 +17304,7 @@ Script (Python) :
|
||||
def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ...
|
||||
|
||||
# exemple : autoriser toute commande sauf /exec
|
||||
rc = weechat.command_options("", "/une_commande paramètres", {"commands": "*,!exec"})
|
||||
rc = weechat.command_options("", "/une_commande paramètres", {"commands": "*,!exec", "delay": "2000"})
|
||||
----
|
||||
|
||||
[[completion]]
|
||||
@@ -17420,6 +17458,71 @@ def my_completion_cb(data: str, completion_item: str, buffer: str, completion: s
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_set
|
||||
|
||||
_WeeChat ≥ 4.6.0._
|
||||
|
||||
Affecter une valeur à une propriété d'une complétion.
|
||||
|
||||
Prototype :
|
||||
|
||||
[source,c]
|
||||
----
|
||||
void weechat_completion_get_string (struct t_gui_completion *completion,
|
||||
const char *property,
|
||||
const char *value);
|
||||
----
|
||||
|
||||
Paramètres :
|
||||
|
||||
* _completion_ : pointeur vers la complétion
|
||||
* _property_ : nom de la propriété (voir le tableau ci-dessous)
|
||||
* _value_ : nouvelle valeur pour la propriété
|
||||
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,^1,4,8",options="header"]
|
||||
|===
|
||||
| Name | Min WeeChat | Value | Description
|
||||
|
||||
| add_space | 4.6.0 | "0" or "1"
|
||||
| "0": do not add space after completion +
|
||||
"1": add space after completion (default).
|
||||
|===
|
||||
|
||||
Exemple en C :
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_completion_cb (const void *pointer, void *data, const char *completion_item,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_gui_completion *completion)
|
||||
{
|
||||
/* ne pas ajouter d'espace après la complétion */
|
||||
weechat_completion_set (completion, "add_space", "0");
|
||||
|
||||
/* ... */
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
----
|
||||
|
||||
Script (Python) :
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototype
|
||||
def completion_set(completion: str, property: str, value: str) -> int: ...
|
||||
|
||||
# exemple
|
||||
def my_completion_cb(data: str, completion_item: str, buffer: str, completion: str) -> int:
|
||||
# ne pas ajouter d'espace après la complétion
|
||||
weechat.completion_set(completion, "add_space", "0")
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_list_add
|
||||
|
||||
_WeeChat ≥ 2.9._
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
[[start]]
|
||||
== Démarrer WeeChat
|
||||
@@ -276,7 +276,7 @@ Fermer un tampon serveur, canal ou privé (`/close` est un alias sur
|
||||
/close
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Fermer le tampon du serveur fermera tous les tampons canaux/privés.
|
||||
|
||||
Se déconnecter du serveur, sur le tampon du serveur :
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
@@ -106,7 +106,8 @@ Exemples :
|
||||
== Authentification
|
||||
|
||||
Le mot de passe doit être envoyé dans l'en-tête `Authorization` avec le schéma
|
||||
d'authentification `Basic`.
|
||||
d'authentification `Basic` ou l'en-tête `Sec-WebSocket-Protocol` (voir les
|
||||
détails ci-dessous).
|
||||
|
||||
Le mot de passe peut être envoyé en clair ou haché, avec l'un des formats
|
||||
suivants pour l'utilisateur et le mot de passe :
|
||||
@@ -140,8 +141,9 @@ Exemple :
|
||||
`hash:sha256:1706431066:dfa1db3f6bb6445d18d9ec7427c10f6421274e3a4751e6c1ffc7dd28c94eadf6` :
|
||||
`aGFzaDpzaGEyNTY6MTcwNjQzMTA2NjpkZmExZGIzZjZiYjY0NDVkMThkOWVjNzQyN2MxMGY2NDIxMjc0ZTNhNDc1MWU2YzFmZmM3ZGQyOGM5NGVhZGY2`.
|
||||
|
||||
L'en-tête `Authorization` est autorisé dans la première requête avec le protocole
|
||||
websocket ou toute requête HTTP dans les autres cas.
|
||||
Les en-têtes `Authorization` et `Sec-WebSocket-Protocol` sont autorisés dans
|
||||
la première requête avec le protocole websocket ou toute requête HTTP dans
|
||||
les autres cas.
|
||||
|
||||
Exemple de requête avec un mot de passe en clair :
|
||||
|
||||
@@ -267,6 +269,36 @@ HTTP/1.1 401 Unauthorized
|
||||
}
|
||||
----
|
||||
|
||||
[[authentication_sec_websocket_protocol]]
|
||||
=== Sec-WebSocket-Protocol
|
||||
|
||||
L'API WebSocket de JavaScript utilisée dans les navigateurs actuels ne supporte pas
|
||||
l'utilisation de l'en-tête `Authorization`. Il est donc aussi possible d'envoyer
|
||||
le mot de passe dans l'en-tête `Sec-WebSocket-Protocol`, qui est le seul en-tête
|
||||
utilisable avec cette API.
|
||||
|
||||
Pour utiliser cet en-tête, vous devez spécifier les sous-protocoles `api.weechat`
|
||||
et `base64url.bearer.authorization.weechat.<auth>` où `<auth>` est la chaîne
|
||||
encodée en base64url avec le mot de passe, dans le même format que ci-dessus.
|
||||
|
||||
Exemple avec un mot de passe `secret_password` en clair. Cela produit une chaîne
|
||||
encodée en base64url avec le contenu `plain:secret_password` qui est
|
||||
`cGxhaW46c2VjcmV0X3Bhc3N3b3Jk`.
|
||||
|
||||
----
|
||||
Sec-WebSocket-Protocol: api.weechat, base64url.bearer.authorization.weechat.cGxhaW46c2VjcmV0X3Bhc3N3b3Jk
|
||||
----
|
||||
|
||||
Cela peut être défini avec l'API WebSocket de JavaScript comme ceci :
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
const ws = new WebSocket("wss://localhost:9000/api", [
|
||||
"api.weechat",
|
||||
"base64url.bearer.authorization.weechat.cGxhaW46c2VjcmV0X3Bhc3N3b3Jk",
|
||||
])
|
||||
----
|
||||
|
||||
[[compression]]
|
||||
== Compression
|
||||
|
||||
@@ -1164,7 +1196,7 @@ Paramètres du corps :
|
||||
|
||||
* `buffer_id` (entier, facultatif) : identifiant unique du tampon (à ne pas
|
||||
confondre avec le numéro du tampon, qui est différent)
|
||||
* `buffer_name` (chaîne, facultatif) : nom de tampon
|
||||
* `buffer_name` (chaîne, facultatif, par défaut : `core.weechat`) : nom de tampon
|
||||
* `command` (chaîne, **obligatoire**) : commande ou texte à envoyer au tampon
|
||||
|
||||
Exemple de requête : dire "hello!" sur le canal #weechat :
|
||||
@@ -1172,7 +1204,7 @@ Exemple de requête : dire "hello!" sur le canal #weechat :
|
||||
[source,shell]
|
||||
----
|
||||
curl -L -u 'plain:secret_password' -X POST \
|
||||
-d '{"buffer": "irc.libera.#weechat", "command": "hello!"}' \
|
||||
-d '{"buffer_name": "irc.libera.#weechat", "command": "hello!"}' \
|
||||
'https://localhost:9000/api/input'
|
||||
----
|
||||
|
||||
@@ -1200,6 +1232,58 @@ Réponse :
|
||||
HTTP/1.1 204 No content
|
||||
----
|
||||
|
||||
[[resource_completion]]
|
||||
=== Complétion
|
||||
|
||||
Compléter une commande ou du texte de l'utilisateur sur un tampon.
|
||||
|
||||
Point de terminaison :
|
||||
|
||||
----
|
||||
POST /api/completion
|
||||
----
|
||||
|
||||
Paramètres du corps :
|
||||
|
||||
* `buffer_id` (entier, facultatif) : identifiant unique du tampon (à ne pas
|
||||
confondre avec le numéro du tampon, qui est différent)
|
||||
* `buffer_name` (chaîne, facultatif, par défaut : `core.weechat`) : nom de tampon
|
||||
* `command` (chaîne, **obligatoire**) : commande ou texte à compléter
|
||||
* `position` (entier, facultatif, par défaut : fin de la chaîne) : position
|
||||
dans la commande (la première position est 0)
|
||||
|
||||
Exemple de requête : compléter la commande `/qu` sur le canal #weechat :
|
||||
|
||||
[source,shell]
|
||||
----
|
||||
curl -L -u 'plain:secret_password' -X POST \
|
||||
-d '{"buffer_name": "irc.libera.#weechat", "command": "/qu"}' \
|
||||
'https://localhost:9000/api/completion'
|
||||
----
|
||||
|
||||
Réponse :
|
||||
|
||||
[source,http]
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
----
|
||||
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"context": "command",
|
||||
"base_word": "qu",
|
||||
"position_replace": 1,
|
||||
"add_space": true,
|
||||
"list": [
|
||||
"query",
|
||||
"quiet",
|
||||
"quit",
|
||||
"quote"
|
||||
]
|
||||
}
|
||||
----
|
||||
|
||||
[[resource_ping]]
|
||||
=== Ping
|
||||
|
||||
@@ -1406,6 +1490,10 @@ les champs suivants :
|
||||
* `body` (objet ou tableau) : le corps (facultatif, pour les méthodes `POST` et `PUT`)
|
||||
* `request_id` (chaîne) : identifiant renvoyé dans la réponse
|
||||
|
||||
Plusieurs requêtes peuvent être envoyées simultanément avec un tableau d'objets,
|
||||
chaque objet étant une requête séparée. +
|
||||
Les requêtes sont exécutées dans l'ordre reçu (voir l'exemple ci-dessous).
|
||||
|
||||
Les réponses vers le client sont faites avec un objet JSON qui contient
|
||||
les champs suivants :
|
||||
|
||||
@@ -1499,6 +1587,69 @@ Réponse :
|
||||
}
|
||||
----
|
||||
|
||||
Exemple de requêtes : envoyer deux requêtes en même temps : obtenir la liste des
|
||||
tampons avec les lignes et les pseudos, puis se synchroniser avec le relay distant :
|
||||
|
||||
[source,json]
|
||||
----
|
||||
[
|
||||
{
|
||||
"request": "GET /api/buffers?lines=-1000&nicks=true&colors=weechat",
|
||||
"request_id": "initial_sync"
|
||||
},
|
||||
{
|
||||
"request": "POST /api/sync",
|
||||
"body": {
|
||||
"colors": "weechat"
|
||||
}
|
||||
}
|
||||
]
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Il est recommandé d'envoyer la requête de synchronisation en même temps que la
|
||||
première requête qui récupère les données, afin qu'aucun évènement ne soit manqué.
|
||||
|
||||
Première réponse (le "body" avec les tampons est tronqué pour la lisibilité) :
|
||||
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"code": 200,
|
||||
"message": "OK",
|
||||
"request": "GET /api/buffers?lines=-1000&nicks=true&colors=weechat",
|
||||
"request_body": null,
|
||||
"request_id": "initial_sync",
|
||||
"body_type": "buffers",
|
||||
"body": [
|
||||
{
|
||||
"id": 1709932823238637,
|
||||
"name": "core.weechat",
|
||||
"short_name": "weechat",
|
||||
"number": 1,
|
||||
"type": "formatted"
|
||||
}
|
||||
]
|
||||
}
|
||||
----
|
||||
|
||||
Seconde réponse :
|
||||
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"code": 204,
|
||||
"message": "No Content",
|
||||
"request": "POST /api/sync",
|
||||
"request_body": {
|
||||
"colors": "weechat"
|
||||
},
|
||||
"request_id": null,
|
||||
"body_type": null,
|
||||
"body": null
|
||||
}
|
||||
----
|
||||
|
||||
WeeChat pousse des données au client à tout moment sur des évènements : lorsque
|
||||
des lignes sont affichées, des tampons ajoutés/supprimés/changés, des pseudos
|
||||
ajoutés/supprimés/changés, etc.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
@@ -73,7 +73,7 @@ link:weechat_plugin_api.fr.html#_hook_process[Référence API extension WeeChat
|
||||
|
||||
WeeChat définit un module `weechat` qui doit être importé avec `import weechat`. +
|
||||
Un "stub" Python pour l'API WeeChat est disponible dans le dépôt :
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
|
||||
[[python_functions]]
|
||||
===== Fonctions
|
||||
|
||||
+142
-128
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
@@ -466,7 +466,7 @@ ce qui provoquera immédiatement un plantage de WeeChat en cas de problème :
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Vous ne devriez activer la vérification des adresses que si vous essayez de
|
||||
provoquer un plantage, ce qui n'est pas recommandé en production.
|
||||
|
||||
@@ -607,7 +607,7 @@ include::includes/cmdline_options.fr.adoc[tag=standard]
|
||||
|
||||
Quelques options supplémentaires sont disponibles pour du debug seulement :
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
N'utilisez *AUCUNE* de ces options in production !
|
||||
|
||||
include::includes/cmdline_options.fr.adoc[tag=debug]
|
||||
@@ -829,7 +829,7 @@ weechat --upgrade
|
||||
==== Notes de mise à jour
|
||||
|
||||
Après une mise à jour, il est *fortement recommandé* de lire le fichier
|
||||
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
qui contient des informations importantes sur les changements majeurs et
|
||||
quelques actions manuelles qui pourraient être nécessaires.
|
||||
|
||||
@@ -890,7 +890,7 @@ Exemple de terminal avec WeeChat :
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* M [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] salut peter !█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ barres "status" et "input" barre "nicklist" ▲
|
||||
@@ -930,32 +930,34 @@ La barre _status_ contient les objets (items) suivants par défaut :
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Objet (item) | Exemple | Description
|
||||
| time | `[12:55]` | Heure.
|
||||
| buffer_last_number | `[5]` | Numéro du dernier tampon de la liste.
|
||||
| buffer_plugin | `[irc/libera]` | Extension du tampon courant (l'extension irc peut afficher le nom du serveur IRC auquel est rattaché ce tampon).
|
||||
| buffer_number | `2` | Numéro du tampon courant.
|
||||
| buffer_name | `#test` | Nom du tampon courant.
|
||||
| buffer_modes | `+n` | Modes du canal IRC.
|
||||
| buffer_nicklist_count | `{4}` | Nombre de pseudos affichés dans la liste des pseudos.
|
||||
| buffer_zoom | ! | `!` signifie que le tampon mélangé est zoomé, une valeur vide signifie que tous les tampons mélangés sont affichés.
|
||||
| buffer_filter | `+*+` | Indicateur de filtrage : `+*+` signifie que des lignes sont filtrées (cachées), une valeur vide signifie que toutes les lignes sont affichées.
|
||||
| scroll | `-PLUS(50)-` | Indicateur de scroll, avec le nombre de lignes sous la dernière ligne affichée.
|
||||
| lag | `[Lag: 2.5]` | Indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag est faible).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | Liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur _#abc_, un message non lu sur le tampon numéro 5).
|
||||
| completion | `abc(2) def(5)` | Liste des mots pour la complétion, avec le nombre de complétions possibles pour chaque mot.
|
||||
| Objet (item) | Exemple | Description
|
||||
| time | `12:55` | Heure.
|
||||
| buffer_last_number | `5` | Numéro du dernier tampon (peut être différent de `buffer_count` si l'option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> est `off`).
|
||||
| buffer_plugin | `irc/libera` | Extension du tampon courant (l'extension irc peut afficher le nom du serveur IRC auquel est rattaché ce tampon).
|
||||
| buffer_number | `2` | Numéro du tampon courant.
|
||||
| buffer_name | `#test` | Nom du tampon courant.
|
||||
| buffer_modes | `+n` | Modes du canal IRC.
|
||||
| buffer_nicklist_count | `4` | Nombre de pseudos affichés dans la liste des pseudos.
|
||||
| buffer_zoom | ! | `!` signifie que le tampon mélangé est zoomé, une valeur vide signifie que tous les tampons mélangés sont affichés.
|
||||
| buffer_filter | `+*+` | Indicateur de filtrage : `+*+` signifie que des lignes sont filtrées (cachées), une valeur vide signifie que toutes les lignes sont affichées.
|
||||
| mouse_status | `M` | Statut de la souris (vide si la souris est désactivée), voir la commande <<command_weechat_mouse,/mouse>> et <<key_bindings_toggle_keys,Touches de bascule>>.
|
||||
| scroll | `-PLUS(50)-` | Indicateur de scroll, avec le nombre de lignes sous la dernière ligne affichée.
|
||||
| lag | `Lag: 2.5` | Indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag est faible).
|
||||
| hotlist | `H: 3:#abc(2,5), 5` | Liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur _#abc_, un message non lu sur le tampon numéro 5).
|
||||
| typing | `Écrit : bob, (alice)` | Notification de saisie, voir <<typing_notifications,Notifications de saisie>>.
|
||||
| completion | `abc(2) def(5)` | Liste des mots pour la complétion, avec le nombre de complétions possibles pour chaque mot.
|
||||
|===
|
||||
|
||||
La barre _input_ contient les objets (items) suivants par défaut :
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Objet (item) | Exemple | Description
|
||||
| input_prompt | `[@Flashy(i)]` | Prompt, pour irc : pseudo et modes (le mode "+i" signifie invisible sur libera).
|
||||
| away | `(absent)` | Indicateur d'absence.
|
||||
| input_search | `[Recherche lignes (~ str,msg)]` | Indicateur de recherche de texte (voir ci-dessous).
|
||||
| input_paste | `[Coller 7 lignes ? [ctrl-y] Oui [ctrl-n] Non]` | Question à l'utilisateur pour coller des lignes.
|
||||
| input_text | `salut peter !` | Texte entré.
|
||||
| Objet (item) | Exemple | Description
|
||||
| input_prompt | `@Flashy(i)` | Prompt, pour irc : pseudo et modes (le mode "+i" signifie invisible sur libera).
|
||||
| away | `absent` | Indicateur d'absence.
|
||||
| input_search | `Recherche lignes (~ str,msg)` | Indicateur de recherche de texte (voir ci-dessous).
|
||||
| input_paste | `Coller 7 lignes ? [ctrl-y] Oui [ctrl-n] Non` | Question à l'utilisateur pour coller des lignes.
|
||||
| input_text | `salut peter !` | Texte entré.
|
||||
|===
|
||||
|
||||
Il y a deux modes de recherche :
|
||||
@@ -991,8 +993,7 @@ Autres objets (non utilisés dans des barres par défaut) :
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Objet (item) | Exemple | Description
|
||||
| buffer_count | `10` | Nombre total de tampons ouverts.
|
||||
| buffer_last_number | `10` | Numéro du dernier tampon (peut être différent de `buffer_count` si l'option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> est `off`).
|
||||
| buffer_count | `5` | Nombre total de tampons ouverts.
|
||||
| buffer_nicklist_count_all | `4` | Nombre de groupes et pseudos visibles dans la liste de pseudos.
|
||||
| buffer_nicklist_count_groups | `0` | Nombre de groupes visibles dans la liste de pseudos.
|
||||
| buffer_short_name | `#test` | Nom court du tampon courant.
|
||||
@@ -1007,7 +1008,7 @@ Autres objets (non utilisés dans des barres par défaut) :
|
||||
| irc_nick_host | `+Flashy!user@host.com+` | Pseudo et hôte IRC.
|
||||
| irc_nick_modes | `i` | Modes IRC pour le pseudo.
|
||||
| irc_nick_prefix | `@` | Préfixe de pseudo IRC sur le canal.
|
||||
| mouse_status | `M` | Statut de la souris (vide si la souris est désactivée).
|
||||
| spacer | | Objet spécial utilisé pour aligner le texte dans les barres, voir <<item_spacer,Objet d'espacement>>.
|
||||
| spell_dict | `fr,en` | Dictionnaires utilisés pour la vérification de l'orthographe sur le tampon courant.
|
||||
| spell_suggest | `print,prone,prune` | Suggestions pour le mot sous le curseur (si mal orthographié).
|
||||
| tls_version | `TLS1.3` | Version de TLS utilisée sur le serveur IRC courant.
|
||||
@@ -1787,11 +1788,12 @@ Ils peuvent être modifiés et de nouveaux peuvent être ajoutés avec la comman
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| Touche | Description | Commande
|
||||
| kbd:[Alt+m] | Activer/désactiver la souris. | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | Activer/désactiver la vérification de l'orthographe. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | Activer/désactiver les filtres. | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | Activer/désactiver les filtres dans le tampon courant. | `+/filter toggle @+`
|
||||
| Touche | Description | Commande
|
||||
| kbd:[Alt+m] | Activer/désactiver la souris. | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | Activer/désactiver la vérification de l'orthographe. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | Activer/désactiver les filtres. | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | Activer/désactiver les filtres dans le tampon courant. | `+/filter toggle @+`
|
||||
| kbd:[Alt+Ctrl+l] (`L`) | Basculer entre les commandes distantes et locales sur un tampon distant (relay "api"). | `+/remote togglecmd+`
|
||||
|===
|
||||
|
||||
[[key_bindings_search_context]]
|
||||
@@ -2064,27 +2066,27 @@ Exemple de tampon fset affichant les options commençant par `weechat.look` :
|
||||
[subs="quotes"]
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│1/121 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggle │
|
||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||
│ │hanges in input [default: on] │
|
||||
│1.weechat│7/125 | Filtre : weechat.look.* | Tri : ~name | Touche(entrée) : alt+space>>│
|
||||
│2.fset │weechat.look.bare_display_exit_on_input : sortir du mode d'affichage dépouil│
|
||||
│ │lé ("bare") sur tout changement dans la ligne de commande [défaut : on] │
|
||||
│ │----------------------------------------------------------------------------│
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words boolean on │
|
||||
│ │ weechat.look.bar_more_down string "++" │
|
||||
│ │ weechat.look.bar_more_left string "<<" │
|
||||
│ │ weechat.look.bar_more_right string ">>" │
|
||||
│ │ weechat.look.bar_more_up string "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||
│ │ weechat.look.buffer_search_regex boolean off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||
│ │ weechat.look.buffer_time_same string "" │
|
||||
│ │ weechat.look.align_end_of_lines énuméré message │
|
||||
│ │ weechat.look.align_multiline_words booléen on │
|
||||
│ │ weechat.look.bar_more_down chaîne "++" │
|
||||
│ │ weechat.look.bar_more_left chaîne "<<" │
|
||||
│ │ weechat.look.bar_more_right chaîne ">>" │
|
||||
│ │ weechat.look.bar_more_up chaîne "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input booléen on ##│
|
||||
│ │ weechat.look.bare_display_time_format chaîne "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber booléen on │
|
||||
│ │ weechat.look.buffer_notify_default énuméré all │
|
||||
│ │ weechat.look.buffer_position énuméré end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive booléen off │
|
||||
│ │ weechat.look.buffer_search_force_default booléen off │
|
||||
│ │ weechat.look.buffer_search_history énuméré local │
|
||||
│ │ weechat.look.buffer_search_regex booléen off │
|
||||
│ │ weechat.look.buffer_search_where énuméré prefix_message │
|
||||
│ │ weechat.look.buffer_time_format chaîne "%H:%M:%S" │
|
||||
│ │[12:55] [2] [fset] 2:fset │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
@@ -3501,9 +3503,12 @@ Par exemple pour vous connecter à https://libera.chat/[libera.chat ^↗^^] ave
|
||||
(communications chiffrées) :
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
/server add libera irc.libera.chat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Le port par défaut est 6697 et TLS (communications chiffrées) est activé.
|
||||
|
||||
Vous pouvez demander à WeeChat de se connecter automatiquement à ce serveur
|
||||
au démarrage :
|
||||
|
||||
@@ -3546,51 +3551,52 @@ Par exemple si vous avez créé le serveur _libera_ avec les commandes ci-dessus
|
||||
vous verrez ceci avec la commande `/fset libera` :
|
||||
|
||||
....
|
||||
irc.server.libera.addresses string "irc.libera.chat/6697"
|
||||
irc.server.libera.anti_flood_prio_high integer null -> 2
|
||||
irc.server.libera.anti_flood_prio_low integer null -> 2
|
||||
irc.server.libera.autoconnect boolean on
|
||||
irc.server.libera.autojoin string null -> ""
|
||||
irc.server.libera.autojoin_dynamic boolean null -> off
|
||||
irc.server.libera.autoreconnect boolean null -> on
|
||||
irc.server.libera.autoreconnect_delay integer null -> 10
|
||||
irc.server.libera.autorejoin boolean null -> off
|
||||
irc.server.libera.autorejoin_delay integer null -> 30
|
||||
irc.server.libera.away_check integer null -> 0
|
||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||
irc.server.libera.capabilities string null -> "*"
|
||||
irc.server.libera.charset_message enum null -> message
|
||||
irc.server.libera.command string null -> ""
|
||||
irc.server.libera.command_delay integer null -> 0
|
||||
irc.server.libera.connection_timeout integer null -> 60
|
||||
irc.server.libera.default_chantypes string null -> "#&"
|
||||
irc.server.libera.ipv6 boolean null -> on
|
||||
irc.server.libera.local_hostname string null -> ""
|
||||
irc.server.libera.msg_kick string null -> ""
|
||||
irc.server.libera.msg_part string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks string null -> "alice,alice1,alice2,alice3,alice4"
|
||||
irc.server.libera.nicks_alternate boolean null -> on
|
||||
irc.server.libera.notify string null -> ""
|
||||
irc.server.libera.password string null -> ""
|
||||
irc.server.libera.proxy string null -> ""
|
||||
irc.server.libera.realname string null -> ""
|
||||
irc.server.libera.sasl_fail enum null -> reconnect
|
||||
irc.server.libera.sasl_key string null -> ""
|
||||
irc.server.libera.sasl_mechanism enum null -> plain
|
||||
irc.server.libera.sasl_password string "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout integer null -> 15
|
||||
irc.server.libera.sasl_username string "alice"
|
||||
irc.server.libera.split_msg_max_length integer null -> 512
|
||||
irc.server.libera.tls boolean on
|
||||
irc.server.libera.tls_cert string null -> ""
|
||||
irc.server.libera.tls_dhkey_size integer null -> 2048
|
||||
irc.server.libera.tls_fingerprint string null -> ""
|
||||
irc.server.libera.tls_password string null -> ""
|
||||
irc.server.libera.tls_priorities string null -> "NORMAL:-VERS-SSL3.0"
|
||||
irc.server.libera.tls_verify boolean null -> on
|
||||
irc.server.libera.usermode string null -> ""
|
||||
irc.server.libera.username string null -> "alice"
|
||||
irc.server.libera.addresses chaîne "irc.libera.chat"
|
||||
irc.server.libera.anti_flood entier null -> 2000
|
||||
irc.server.libera.autoconnect booléen on
|
||||
irc.server.libera.autojoin chaîne null -> ""
|
||||
irc.server.libera.autojoin_delay entier null -> 0
|
||||
irc.server.libera.autojoin_dynamic booléen null -> off
|
||||
irc.server.libera.autoreconnect booléen null -> on
|
||||
irc.server.libera.autoreconnect_delay entier null -> 10
|
||||
irc.server.libera.autorejoin booléen null -> off
|
||||
irc.server.libera.autorejoin_delay entier null -> 30
|
||||
irc.server.libera.away_check entier null -> 0
|
||||
irc.server.libera.away_check_max_nicks entier null -> 25
|
||||
irc.server.libera.capabilities chaîne null -> "*"
|
||||
irc.server.libera.charset_message énuméré null -> message
|
||||
irc.server.libera.command chaîne null -> ""
|
||||
irc.server.libera.command_delay entier null -> 0
|
||||
irc.server.libera.connection_timeout entier null -> 60
|
||||
irc.server.libera.default_chantypes chaîne null -> "#&"
|
||||
irc.server.libera.ipv6 énuméré null -> auto
|
||||
irc.server.libera.local_hostname chaîne null -> ""
|
||||
irc.server.libera.msg_kick chaîne null -> ""
|
||||
irc.server.libera.msg_part chaîne null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit chaîne null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks chaîne null -> "${username},${username}2,${username}3,${username}4,${username}5"
|
||||
irc.server.libera.nicks_alternate booléen null -> on
|
||||
irc.server.libera.notify chaîne null -> ""
|
||||
irc.server.libera.password chaîne null -> ""
|
||||
irc.server.libera.proxy chaîne null -> ""
|
||||
irc.server.libera.realname chaîne null -> ""
|
||||
irc.server.libera.registered_mode chaîne null -> "r"
|
||||
irc.server.libera.sasl_fail énuméré null -> reconnect
|
||||
irc.server.libera.sasl_key chaîne null -> ""
|
||||
irc.server.libera.sasl_mechanism énuméré null -> plain
|
||||
irc.server.libera.sasl_password chaîne "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout entier null -> 15
|
||||
irc.server.libera.sasl_username chaîne "alice"
|
||||
irc.server.libera.split_msg_max_length entier null -> 512
|
||||
irc.server.libera.tls booléen null -> on
|
||||
irc.server.libera.tls_cert chaîne null -> ""
|
||||
irc.server.libera.tls_dhkey_size entier null -> 2048
|
||||
irc.server.libera.tls_fingerprint chaîne null -> ""
|
||||
irc.server.libera.tls_password chaîne null -> ""
|
||||
irc.server.libera.tls_priorities chaîne null -> "NORMAL"
|
||||
irc.server.libera.tls_verify booléen null -> on
|
||||
irc.server.libera.usermode chaîne null -> ""
|
||||
irc.server.libera.username chaîne null -> "${username}"
|
||||
....
|
||||
|
||||
Par exemple si vous voulez vous connecter automatiquement à tous les serveurs
|
||||
@@ -4836,6 +4842,14 @@ Pour vous connecter à un relai _api_ avec WeeChat :
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
Pour vous connecter à un relai _api_ tournant ailleurs avec WeeChat
|
||||
(TLS est fortement recommandé) :
|
||||
|
||||
----
|
||||
/remote add weechat https://example.com:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Le WeeChat distant doit exposer exactement la même version d'API que le WeeChat
|
||||
local, il est donc fortement recommandé d'utiliser exactement la même version
|
||||
@@ -4880,7 +4894,7 @@ JavaScript :
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
websocket = new WebSocket("ws://server.com:9500/weechat");
|
||||
websocket = new WebSocket("ws://example.com:9500/weechat");
|
||||
----
|
||||
|
||||
Le port (9500 dans l'exemple) est le port défini dans l'extension Relay.
|
||||
@@ -5966,7 +5980,7 @@ désactivé par défaut. +
|
||||
Pour l'activer, tapez cette commande :
|
||||
|
||||
----
|
||||
/set script.scripts.download_enabled on
|
||||
/script enable
|
||||
----
|
||||
|
||||
Vous pouvez alors télécharger la liste des scripts et les afficher dans un tampon
|
||||
@@ -5976,33 +5990,33 @@ avec la commande <<command_script_script,/script>> :
|
||||
:x: *
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
|
||||
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
|
||||
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
||||
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
|
||||
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
|
||||
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
|
||||
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
|
||||
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
|
||||
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
|
||||
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
|
||||
│1.weechat│322/322 scripts (filtre : {x}) | Tri : i,p,n | Alt+touche/entrée : i=installer, r=supprimer, l=charg>>│
|
||||
│2.scripts│{x} autosort.py 3.10 2023-12-31 | Garder automatiquement les tampons group│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Ajouter un tampon moniteur de highlights│
|
||||
│ │{x}ia r grep.py 0.8.6 0.8.6 2022-11-11 | Recherche d'expression régulière dans le│
|
||||
│ │{x} colorize_nicks.py 32 2023-10-30 | Utiliser la couleur des pseudos weechat │
|
||||
│ │##{x}ia r go.py 3.0.1 3.0.1 2024-05-30 | Déplacement rapide dans les tampons. ##│
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Affiche des messages de manière plus E S│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Formatage de texte alternatif, pratique │
|
||||
│ │ alternatetz.py 0.4 2022-01-25 | Ajouter un objet de barre avec un fuseau│
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Contrôler et afficher la musique jouée p│
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Envoyer les messages privés et highlight│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Annoncer le titre de l'URL à l'utilisate│
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications des messages privés, highl│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Empêcher un mot de passe d'être envoyé a│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Afficher le texte corrigé quand un utili│
|
||||
│ │ arespond.py 0.1.2 2022-01-25 | Simple auto-réponse. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Complétion avec Tab des pseudos préfixés│
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Afficher la chanson actuellement jouée p│
|
||||
│ │ auth.rb 0.3 2014-05-30 | S'authentifier automatiquement avec Nick│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | Un script simple d'auto absence (away). │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Identification automatique en cas de cha│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Trier les tampons selon l'activité. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Charger/sauver automatiquement les optio│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Réouvrir les serveurs et canaux ouverts │
|
||||
│ │ autojoin_on_invite.py 0.9 2022-10-25 | Rejoindre automatiquement les canaux où │
|
||||
│ │ automarkbuffer.py 1.0 2015-03-31 | Marquer les tampons comme lus s'il n'y a│
|
||||
│ │ automerge.py 0.2 2018-03-03 | Fusionner automatiquement les tampons se│
|
||||
│ │[12:55] [2] [script] 2:scripts │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Italian translation, courtesy of Marco Ciampa <ciampix@posteo.net>
|
||||
:appendix-caption: Appendice
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Attenzione
|
||||
:chapter-signifier: Capitolo
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Esempio
|
||||
:figure-caption: Figura
|
||||
:important-caption: Importante
|
||||
:last-update-label: Ultimo aggiornamento
|
||||
ifdef::listing-caption[:listing-caption: Elenco]
|
||||
ifdef::manname-title[:manname-title: Nome]
|
||||
:note-caption: Nota
|
||||
:part-signifier: Parte
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Prefazione]
|
||||
:section-refsig: Sezione
|
||||
:table-caption: Tabella
|
||||
:tip-caption: Suggerimento
|
||||
:toc-title: Indice
|
||||
:untitled-label: Senza titolo
|
||||
:version-label: Versione
|
||||
:warning-caption: Attenzione
|
||||
@@ -103,7 +103,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
||||
the AUTHORS.md file).
|
||||
|
||||
Copyright (C) 2003-2024 {author}
|
||||
Copyright (C) 2003-2025 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: it
|
||||
:toc-title: Indice
|
||||
include::includes/attributes-it.adoc[]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Translators:
|
||||
@@ -1104,7 +1104,7 @@ Gli script non sono compatibili con altri client IRC.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[scripts_update]]
|
||||
=== The command "/script update" can not read scripts, how to fix that?
|
||||
=== The command "/script update" cannot read scripts, how to fix that?
|
||||
|
||||
First check questions about TLS connection in this FAQ.
|
||||
|
||||
@@ -1360,7 +1360,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||
=== Qual è la lista delle piattaforme supportate da WeeChat? Verrà effettuato il port su altri sistemi operativi?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, Mac OS and Windows
|
||||
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, macOS and Windows
|
||||
(Cygwin and Windows Subsystem for Linux).
|
||||
|
||||
Facciamo del nostro meglio per portarlo su più piattaforme possibili. L'aiuto
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: it
|
||||
:toc-title: Indice
|
||||
include::includes/attributes-it.adoc[]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Translators:
|
||||
@@ -872,7 +872,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
||||
_WeeChat ≥ 3.8._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case sensitive string comparison.
|
||||
Case-sensitive string comparison.
|
||||
|
||||
Prototipo:
|
||||
|
||||
@@ -912,7 +912,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
||||
_WeeChat ≥ 3.8._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case sensitive string comparison, for _max_ chars.
|
||||
Case-sensitive string comparison, for _max_ chars.
|
||||
|
||||
Prototipo:
|
||||
|
||||
@@ -953,7 +953,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
||||
_Updated in 1.0, 3.8._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case insensitive string comparison.
|
||||
Case-insensitive string comparison.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
@@ -1050,7 +1050,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
||||
_Updated in 1.0, 3.8._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case insensitive string comparison, for _max_ chars.
|
||||
Case-insensitive string comparison, for _max_ chars.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
@@ -1175,7 +1175,7 @@ uppercase letters are properly converted to lowercase (by calling function
|
||||
Return value:
|
||||
|
||||
* arithmetic result of subtracting the last compared UTF-8 char in
|
||||
_string2_ (converted to lowercase if _case_sentitive_ is set to 0) from the last
|
||||
_string2_ (converted to lowercase if _case_sensitive_ is set to 0) from the last
|
||||
compared UTF-8 char in _string1_ (converted to lowercase if _case_sensitive_ is
|
||||
set to 0):
|
||||
// TRANSLATION MISSING
|
||||
@@ -1199,7 +1199,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
||||
_Updated in 1.3, 3.8._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case insensitive string search.
|
||||
Case-insensitive string search.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
@@ -1369,7 +1369,7 @@ Argomenti:
|
||||
* _string_: string
|
||||
* _masks_: list of masks, with a NULL after the last mask in list; each mask
|
||||
is compared to the string with the function <<_string_match,string_match>>
|
||||
* _case_sensitive_: 1 for case sensitive comparison, otherwise 0
|
||||
* _case_sensitive_: 1 for case-sensitive comparison, otherwise 0
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
@@ -1709,7 +1709,7 @@ Allowed flags are:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* _e_: POSIX extended regular expression (_REG_EXTENDED_)
|
||||
* _i_: case insensitive (_REG_ICASE_)
|
||||
* _i_: case-insensitive (_REG_ICASE_)
|
||||
* _n_: match-any-character operators don_t match a newline (_REG_NEWLINE_)
|
||||
* _s_: support for substring addressing of matches is not required (_REG_NOSUB_)
|
||||
|
||||
@@ -2947,7 +2947,7 @@ from first used to last):
|
||||
== `+1+`
|
||||
|
||||
| `+==*+` | 2.9
|
||||
| Is matching mask where "*" is allowed, case sensitive (see function <<_string_match,string_match>>)
|
||||
| Is matching mask where "*" is allowed, case-sensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def ==* a*f+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2955,7 +2955,7 @@ from first used to last):
|
||||
== `+0+`
|
||||
|
||||
| `+!!*+` | 2.9
|
||||
| Is NOT wildcard mask where "*" is allowed, case sensitive (see function <<_string_match,string_match>>)
|
||||
| Is NOT wildcard mask where "*" is allowed, case-sensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def !!* a*f+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -2963,7 +2963,7 @@ from first used to last):
|
||||
== `+1+`
|
||||
|
||||
| `+=*+` | 1.8
|
||||
| Is matching mask where "*" is allowed, case insensitive (see function <<_string_match,string_match>>)
|
||||
| Is matching mask where "*" is allowed, case-insensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def =* A*F+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2971,7 +2971,7 @@ from first used to last):
|
||||
== `+0+`
|
||||
|
||||
| `+!*+` | 1.8
|
||||
| Is NOT wildcard mask where "*" is allowed, case insensitive (see function <<_string_match,string_match>>)
|
||||
| Is NOT wildcard mask where "*" is allowed, case-insensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def !* A*F+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -2979,7 +2979,7 @@ from first used to last):
|
||||
== `+1+`
|
||||
|
||||
| `+==-+` | 2.9
|
||||
| Is included, case sensitive
|
||||
| Is included, case-sensitive
|
||||
| >> `+abc def ==- bc+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2987,7 +2987,7 @@ from first used to last):
|
||||
== `+0+`
|
||||
|
||||
| `+!!-+` | 2.9
|
||||
| Is NOT included, case sensitive
|
||||
| Is NOT included, case-sensitive
|
||||
| >> `+abc def !!- bc+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -2995,7 +2995,7 @@ from first used to last):
|
||||
== `+1+`
|
||||
|
||||
| `+=-+` | 2.9
|
||||
| Is included, case insensitive
|
||||
| Is included, case-insensitive
|
||||
| >> `+abc def =- BC+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -3003,7 +3003,7 @@ from first used to last):
|
||||
== `+0+`
|
||||
|
||||
| `+!-+` | 2.9
|
||||
| Is NOT included, case insensitive
|
||||
| Is NOT included, case-insensitive
|
||||
| >> `+abc def !- BC+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -4985,7 +4985,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
||||
// TRANSLATION MISSING
|
||||
==== util_strftimeval
|
||||
|
||||
_WeeChat ≥ 4.2.0, updated in 4.3.0._
|
||||
_WeeChat ≥ 4.2.0, updated in 4.3.0, 4.6.4._
|
||||
|
||||
Format date and time like function `strftime` in C library, using `struct timeval`
|
||||
as input, and supporting extra specifiers.
|
||||
@@ -5002,6 +5002,8 @@ Arguments:
|
||||
* _string_: buffer where the formatted string is stored
|
||||
* _max_: string size
|
||||
* _format_: format, the same as _strftime_ function, with these extra specifiers:
|
||||
** `%@`: return the date expressed in Coordinated Universal Time (UTC)
|
||||
instead of date relative to the user's specified timezone _(WeeChat ≥ 4.7.0)_
|
||||
** `%.N` where `N` is between 1 and 6: zero-padded microseconds on N digits
|
||||
(for example `%.3` for milliseconds)
|
||||
** `%f`: alias of `%.6`
|
||||
@@ -5018,8 +5020,8 @@ C example:
|
||||
char time[256];
|
||||
struct timeval tv;
|
||||
gettimeofday (&tv, NULL);
|
||||
weechat_util_strftimeval (time, sizeof (time), "%FT%T.%f", &tv);
|
||||
/* result: 2023-12-26T18:10:04.460509 */
|
||||
weechat_util_strftimeval (time, sizeof (time), "%@%FT%T.%fZ", &tv);
|
||||
/* result: 2023-12-26T18:10:04.460509Z */
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -8443,7 +8445,7 @@ def config_boolean_inherited(option: str) -> int: ...
|
||||
|
||||
# esempio
|
||||
option = weechat.config_get("irc.server.libera.autoconnect")
|
||||
autoconect = weechat.config_boolean_inherited(option)
|
||||
autoconnect = weechat.config_boolean_inherited(option)
|
||||
----
|
||||
|
||||
==== config_integer
|
||||
@@ -9765,7 +9767,7 @@ _WeeChat ≥ 0.3.6, updated in 2.0._
|
||||
|
||||
Rimuove una o più associazioni tasti.
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Alla chiamata di questa funzione, assicurarsi che non venga rimossa una
|
||||
combinazione tasti definita dall'utente.
|
||||
|
||||
@@ -10395,7 +10397,7 @@ C examples:
|
||||
[source,c]
|
||||
----
|
||||
/* hook per il modificatore con priorità = 2000 */
|
||||
/* high priority: called before other modifier calbacks */
|
||||
/* high priority: called before other modifier callbacks */
|
||||
weechat_hook_modifier ("2000|input_text_display", &modifier_cb, NULL, NULL);
|
||||
|
||||
/* hook two signals with priority = 3000 */
|
||||
@@ -10866,7 +10868,7 @@ Argomenti:
|
||||
* _flag_write_: 1 = cattura l'evento scrittura (write), 0 = ignora
|
||||
// TRANSLATION MISSING
|
||||
* _flag_exception_: 1 = cattura l'eccezione evento (event), 0 = ignora
|
||||
(_WeeChat ≥ 1.3_: this argument is ignored and not used any more)
|
||||
(_WeeChat ≥ 1.3_: this argument is ignored and not used anymore)
|
||||
* _callback_: funzione che chiama un evento selezionato che si verifica
|
||||
per un file (o un socket), argomenti e valore restituito:
|
||||
** _const void *pointer_: puntatore
|
||||
@@ -10934,7 +10936,7 @@ Hook su un processo (lanciato con un fork), e cattura l'output.
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
Since version 0.3.9.2, the shell is not used any more to execute the command.
|
||||
Since version 0.3.9.2, the shell is not used anymore to execute the command.
|
||||
WeeChat makes an automatic split of command and arguments (like the shell does).
|
||||
If the split is not correct (according to quotes in your command), or if you
|
||||
want to use shell, you can use function
|
||||
@@ -11394,6 +11396,11 @@ _WeeChat ≥ 4.1.0._
|
||||
|
||||
URL transfer.
|
||||
|
||||
This function is similar to <<_hook_process,hook_process>> and
|
||||
<<_hook_process_hashtable,hook_process_hashtable>> with command "url:..."
|
||||
but it uses a thread instead of new process, making it more lightweight
|
||||
and thus recommended for this usage.
|
||||
|
||||
Prototipo:
|
||||
|
||||
[source,c]
|
||||
@@ -12004,7 +12011,7 @@ Esempio in C:
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_line_cb (const void *pointer, void *data, struct t_hasbtable *line)
|
||||
my_line_cb (const void *pointer, void *data, struct t_hashtable *line)
|
||||
{
|
||||
struct t_hashtable *hashtable;
|
||||
|
||||
@@ -12705,7 +12712,7 @@ List of signals sent by WeeChat and plugins:
|
||||
| String: text sent to buffer.
|
||||
| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). +
|
||||
If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q"
|
||||
can not be used any more to close the buffer.
|
||||
cannot be used anymore to close the buffer.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8
|
||||
@@ -13039,7 +13046,7 @@ hook = weechat.hook_signal("quit;upgrade", "my_signal_cb", "")
|
||||
==== hook_signal_send
|
||||
|
||||
// TRANSLATION MISSING
|
||||
_Updated in 1.0._
|
||||
_Updated in 1.0, 4.5.0._
|
||||
|
||||
Invia un segnale.
|
||||
|
||||
@@ -13053,10 +13060,22 @@ int weechat_hook_signal_send (const char *signal, const char *type_data,
|
||||
|
||||
Argomenti:
|
||||
|
||||
* _signal_: segnale da inviare
|
||||
// TRANSLATION MISSING
|
||||
* _signal_: segnale da inviare; flags are allowed before the signal name (see below)
|
||||
_(WeeChat ≥ 4.5.0)_
|
||||
* _type_data_: tipo di dati inviati con il segnale (consultare <<_hook_signal,hook_signal>>)
|
||||
* _signal_data_: dati inviati con il segnale
|
||||
|
||||
// TRANSLATION MISSING
|
||||
The signal name can contain flags with the following format: `[flags:xxx,yyy]signal`
|
||||
where `xxx` and `yyy` are names of flags, and `signal` the signal name. +
|
||||
The following flags are supported:
|
||||
|
||||
* _stop_on_error_: exit immediately if a callback returns WEECHAT_RC_ERROR
|
||||
(remaining callbacks are then NOT executed) _(WeeChat ≥ 4.5.0)_
|
||||
* _ignore_eat_: consider any callback returning WEECHAT_RC_OK_EAT is in fact
|
||||
WEECHAT_RC_OK and execute remaining callbacks _(WeeChat ≥ 4.5.0)_
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Return value _(WeeChat ≥ 1.0)_:
|
||||
|
||||
@@ -13072,6 +13091,8 @@ Esempio in C:
|
||||
[source,c]
|
||||
----
|
||||
int rc = weechat_hook_signal_send ("my_signal", WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||
int rc2 = weechat_hook_signal_send ("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
@@ -13083,6 +13104,8 @@ def hook_signal_send(signal: str, type_data: str, signal_data: str) -> int: ...
|
||||
|
||||
# esempio
|
||||
rc = weechat.hook_signal_send("my_signal", weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||
rc2 = weechat.hook_signal_send("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||
----
|
||||
|
||||
[[signal_logger_backlog]]
|
||||
@@ -13390,7 +13413,7 @@ hook = weechat.hook_hsignal("test", "my_hsignal_cb", "")
|
||||
==== hook_hsignal_send
|
||||
|
||||
// TRANSLATION MISSING
|
||||
_WeeChat ≥ 0.3.4, updated in 1.0._
|
||||
_WeeChat ≥ 0.3.4, updated in 1.0, 4.5.0._
|
||||
|
||||
Invia un hsignal (segnale con tabella hash).
|
||||
|
||||
@@ -13403,7 +13426,9 @@ int weechat_hook_hsignal_send (const char *signal, struct t_hashtable *hashtable
|
||||
|
||||
Argomenti:
|
||||
|
||||
* _signal_: segnale da inviare
|
||||
// TRANSLATION MISSING
|
||||
* _signal_: segnale da inviare; flags are allowed before the signal name
|
||||
(see function <<_hook_signal_send,hook_signal_send>>) _(WeeChat ≥ 4.5.0)_
|
||||
* _hashtable_: tabella hash
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -13420,7 +13445,7 @@ Esempio in C:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int rc;
|
||||
int rc, rc2;
|
||||
struct t_hashtable *hashtable = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
@@ -13430,6 +13455,7 @@ if (hashtable)
|
||||
{
|
||||
weechat_hashtable_set (hashtable, "key", "value");
|
||||
rc = weechat_hook_hsignal_send ("my_hsignal", hashtable);
|
||||
rc2 = weechat_hook_hsignal_send ("[flags:stop_on_error,ignore_eat]my_hsignal2", hashtable);
|
||||
weechat_hashtable_free (hashtable);
|
||||
}
|
||||
----
|
||||
@@ -13443,6 +13469,7 @@ def hook_hsignal_send(signal: str, hashtable: Dict[str, str]) -> int: ...
|
||||
|
||||
# esempio
|
||||
rc = weechat.hook_hsignal_send("my_hsignal", {"key": "value"})
|
||||
rc2 = weechat.hook_hsignal_send("[flags:stop_on_error,ignore_eat]my_hsignal2", {"key": "value"})
|
||||
----
|
||||
|
||||
[[hsignal_irc_redirect_command]]
|
||||
@@ -14647,11 +14674,17 @@ Properties:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| subplugin | | any type
|
||||
|
||||
| qualsiasi stringa |
|
||||
// TRANSLATION MISSING
|
||||
Name of sub plugin (commonly script name, which is displayed in
|
||||
`/help command` for a hook of type _command_).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| keep_spaces_right | 4.6.0 | _command_, _command_run_
|
||||
| "0" or "1"
|
||||
| Keep trailing spaces in command arguments when it is executed.
|
||||
|
||||
| stdin | 0.4.3 | _process_, _process_hashtable_ | qualsiasi stringa |
|
||||
// TRANSLATION MISSING
|
||||
Send data on standard input (_stdin_) of child process.
|
||||
@@ -15085,7 +15118,7 @@ Argomenti:
|
||||
// TRANSLATION MISSING
|
||||
* _name_: name of buffer, if it is NULL or empty string, the current buffer is
|
||||
returned (buffer displayed by current window); if the name starts with
|
||||
`(?i)`, the search is case insensitive _(WeeChat ≥ 1.0)_
|
||||
`(?i)`, the search is case-insensitive _(WeeChat ≥ 1.0)_
|
||||
|
||||
Valore restituito:
|
||||
|
||||
@@ -15589,6 +15622,13 @@ Properties:
|
||||
are *NOT* checked) +
|
||||
"-1": remove buffer from hotlist _(WeeChat ≥ 1.0)_.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| hotlist_conditions | 4.5.0 | WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE,
|
||||
WEECHAT_HOTLIST_PRIVATE, WEECHAT_HOTLIST_HIGHLIGHT
|
||||
| priority: add buffer to hotlist with this priority
|
||||
(conditions defined in option _weechat.look.hotlist_add_conditions_
|
||||
are checked).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| completion_freeze | | "0" oppure "1"
|
||||
| "0": no freeze of completion (default value)
|
||||
@@ -15949,7 +15989,7 @@ Argomenti:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
Since version 4.0.0, comparison of buffer names is case sensitive.
|
||||
Since version 4.0.0, comparison of buffer names is case-sensitive.
|
||||
|
||||
Valore restituito:
|
||||
|
||||
@@ -16264,8 +16304,8 @@ void weechat_window_set_title (const char *title);
|
||||
Argomenti:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* _title_: nuovo titolo per il terminale (NULL per resettarlo);
|
||||
string is evaluated, so variables like `${info:version}` can be used
|
||||
* _title_: nuovo titolo per il terminale; string is evaluated, so variables
|
||||
like `${info:version}` can be used
|
||||
(see <<_string_eval_expression,string_eval_expression>>)
|
||||
|
||||
Esempio in C:
|
||||
@@ -17670,7 +17710,7 @@ rc = weechat.command(weechat.buffer_search("irc", "libera.#weechat"), "/whois Fl
|
||||
==== command_options
|
||||
|
||||
// TRANSLATION MISSING
|
||||
_WeeChat ≥ 2.5, updated in 4.0.0._
|
||||
_WeeChat ≥ 2.5, updated in 4.0.0, 4.5.0._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Execute a command or send text to buffer with options.
|
||||
@@ -17687,14 +17727,17 @@ Argomenti:
|
||||
|
||||
* _buffer_: puntatore al buffer (il comando viene eseguito su questo buffer,
|
||||
utilizzare NULL per il buffer corrente)
|
||||
* _command_: comando da eseguire (se preceduto da "/"), oppure il testo
|
||||
viene inviato sul buffer
|
||||
// TRANSLATION MISSING
|
||||
* _command_: comando da eseguire (if beginning with a `/` or a command char),
|
||||
oppure il testo viene inviato sul buffer
|
||||
// TRANSLATION MISSING
|
||||
* _options_: a hashtable with some options (keys and values must be string)
|
||||
(can be NULL):
|
||||
// TRANSLATION MISSING
|
||||
** _commands_: a comma-separated list of commands allowed to be executed during
|
||||
this call; see function <<_string_match_list,string_match_list>> for the
|
||||
format
|
||||
this call (see function <<_string_match_list,string_match_list>> for the
|
||||
format); the special value `-` (hyphen-minus) disables the execution of commands
|
||||
and the string in _command_ is sent as-is to the buffer (_WeeChat ≥ 4.5.0_)
|
||||
** _delay_: delay to execute command, in milliseconds
|
||||
// TRANSLATION MISSING
|
||||
** _split_newline_: `1` to split commands on newline char (`\n`) (_WeeChat ≥ 4.0.0_)
|
||||
@@ -17730,7 +17773,7 @@ Script (Python):
|
||||
def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ...
|
||||
|
||||
# example: allow any command except /exec
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"})
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"})
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -17888,6 +17931,77 @@ def my_completion_cb(data: str, completion_item: str, buffer: str, completion: s
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_set
|
||||
|
||||
_Novità nella versioe 4.6.0._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Set a completion property.
|
||||
|
||||
Prototipo:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
void weechat_completion_get_string (struct t_gui_completion *completion,
|
||||
const char *property,
|
||||
const char *value);
|
||||
----
|
||||
|
||||
Argomenti:
|
||||
|
||||
* _completion_: puntatore al completamento
|
||||
// TRANSLATION MISSING
|
||||
* _property_: nome della proprietà (see table below)
|
||||
// TRANSLATION MISSING
|
||||
* _value_: new value for property
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Properties:
|
||||
|
||||
[width="100%",cols="^2,^1,4,8",options="header"]
|
||||
|===
|
||||
// TRANSLATION MISSING
|
||||
| Name | Min WeeChat | Value | Description
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| add_space | 4.6.0 | "0" or "1"
|
||||
| "0": do not add space after completion +
|
||||
"1": add space after completion (default).
|
||||
|===
|
||||
|
||||
Esempio in C:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_completion_cb (const void *pointer, void *data, const char *completion_item,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_gui_completion *completion)
|
||||
{
|
||||
/* do not add space after completion */
|
||||
weechat_completion_set (completion, "add_space", "0");
|
||||
|
||||
/* ... */
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototipo
|
||||
def completion_set(completion: str, property: str, value: str) -> int: ...
|
||||
|
||||
# esempio
|
||||
def my_completion_cb(data: str, completion_item: str, buffer: str, completion: str) -> int:
|
||||
# do not add space after completion
|
||||
weechat.completion_set(completion, "add_space", "0")
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_list_add
|
||||
|
||||
_Novità nella versioe 2.9._
|
||||
@@ -20411,7 +20525,7 @@ Argomenti:
|
||||
* _pointer2_: pointer to second WeeChat/plugin object
|
||||
* _name_: variable name or path to a variable name; for arrays, the name can be
|
||||
"N|name" where N is the index in array (starting at 0), for example: "2|name"
|
||||
* _case_sensitive_: 1 for case sensitive comparison of strings, otherwise 0
|
||||
* _case_sensitive_: 1 for case-sensitive comparison of strings, otherwise 0
|
||||
|
||||
Valore restituito:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: it
|
||||
:toc-title: Indice
|
||||
include::includes/attributes-it.adoc[]
|
||||
|
||||
Traduttori:
|
||||
|
||||
@@ -278,7 +278,7 @@ per `/buffer close`):
|
||||
/close
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Chiudere il buffer del server chiuderà tutti i canali/buffer privati.
|
||||
|
||||
Disconnette dal server:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: it
|
||||
:toc-title: Indice
|
||||
include::includes/attributes-it.adoc[]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Translators:
|
||||
@@ -77,7 +77,7 @@ link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference ^↗
|
||||
|
||||
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||
A Python stub for WeeChat API is available in the repository:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[python_functions]]
|
||||
|
||||
+154
-137
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: it
|
||||
:toc-title: Indice
|
||||
include::includes/attributes-it.adoc[]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Translators:
|
||||
@@ -523,7 +523,7 @@ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
You should enable address sanitizer only if you're trying to cause a crash,
|
||||
this is not recommended in production.
|
||||
|
||||
@@ -672,7 +672,7 @@ include::includes/cmdline_options.it.adoc[tag=standard]
|
||||
Some extra options are available for debug purposes only:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Do *NOT* use any of these options in production!
|
||||
|
||||
include::includes/cmdline_options.it.adoc[tag=debug]
|
||||
@@ -899,7 +899,7 @@ weechat --upgrade
|
||||
|
||||
// TRANSLATION MISSING
|
||||
After an upgrade, it is *strongly recommended* to read the file
|
||||
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
which contains important information about breaking changes and some
|
||||
manual actions that could be required.
|
||||
|
||||
@@ -961,7 +961,7 @@ Esempio di terminale con WeeChat:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* M [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ bars "status" and "input" bar "nicklist" ▲
|
||||
@@ -1004,37 +1004,41 @@ La barra _status_ ha i seguenti elementi predefiniti:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Elemento | Esempio | Descrizione
|
||||
| time | `[12:55]` | Ora.
|
||||
| Elemento | Esempio | Descrizione
|
||||
| time | `12:55` | Ora.
|
||||
// TRANSLATION MISSING
|
||||
| buffer_last_number | `[5]` | Number of last buffer in list.
|
||||
| buffer_plugin | `[irc/libera]` | Plugin del buffer attivo (il plugin irc può aggiungere il nome del server irc usato dal buffer).
|
||||
| buffer_number | `2` | Numero del buffer corrente.
|
||||
| buffer_name | `#test` | Nome del buffer attivo.
|
||||
| buffer_modes | `+n` | Modalità canale IRC.
|
||||
| buffer_last_number | `5` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`).
|
||||
| buffer_plugin | `irc/libera` | Plugin del buffer attivo (il plugin irc può aggiungere il nome del server irc usato dal buffer).
|
||||
| buffer_number | `2` | Numero del buffer corrente.
|
||||
| buffer_name | `#test` | Nome del buffer attivo.
|
||||
| buffer_modes | `+n` | Modalità canale IRC.
|
||||
// TRANSLATION MISSING
|
||||
| buffer_nicklist_count | `{4}` | Number of nicks displayed in nicklist.
|
||||
| buffer_nicklist_count | `4` | Number of nicks displayed in nicklist.
|
||||
// TRANSLATION MISSING
|
||||
| buffer_zoom | ! | `!` means the merged buffer is zoomed (only this one is displayed), empty value means all merged buffers are displayed.
|
||||
| buffer_filter | `+*+` | Indicatore filtraggio: `+*+` significa che alcune righe sono filtrate (nascoste), valori vuoti indicano che tutte le righe sono visualizzate.
|
||||
| scroll | `-ANCORA(50)-` | Indicatore di scorrimento, con il numero di righe sotto l'ultima riga visualizzata.
|
||||
| lag | `[Ritardo: 2.5]` | Indicatore ritardo, in secondi (nascosto se il ritardo è basso).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | Elenco dei buffer con attività (messaggi non letti) (nell'esempio, 2 notifiche e 5 messaggi non letti su #abc, un messaggio non letto sul buffer #5).
|
||||
| completion | `abc(2) def(5)` | Elenco di parole per il completamento, con il numero di completamenti possibili per ogni parola.
|
||||
| buffer_zoom | ! | `!` means the merged buffer is zoomed (only this one is displayed), empty value means all merged buffers are displayed.
|
||||
| buffer_filter | `+*+` | Indicatore filtraggio: `+*+` significa che alcune righe sono filtrate (nascoste), valori vuoti indicano che tutte le righe sono visualizzate.
|
||||
// TRANSLATION MISSING
|
||||
| mouse_status | `M` | Mouse status (empty if mouse is disabled), see command <<command_weechat_mouse,/mouse>> and <<key_bindings_toggle_keys,Toggle keys>>.
|
||||
| scroll | `-ANCORA(50)-` | Indicatore di scorrimento, con il numero di righe sotto l'ultima riga visualizzata.
|
||||
| lag | `Ritardo: 2.5` | Indicatore ritardo, in secondi (nascosto se il ritardo è basso).
|
||||
| hotlist | `H: 3:#abc(2,5), 5` | Elenco dei buffer con attività (messaggi non letti) (nell'esempio, 2 notifiche e 5 messaggi non letti su #abc, un messaggio non letto sul buffer #5).
|
||||
// TRANSLATION MISSING
|
||||
| typing | `Typing: bob, (alice)` | Typing notification, see <<typing_notifications,typing notifications>>.
|
||||
| completion | `abc(2) def(5)` | Elenco di parole per il completamento, con il numero di completamenti possibili per ogni parola.
|
||||
|===
|
||||
|
||||
La barra _input_ ha i seguenti elementi predefiniti:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Elemento | Esempio | Descrizione
|
||||
| Elemento | Esempio | Descrizione
|
||||
// TRANSLATION MISSING
|
||||
| input_prompt | `[@Flashy(i)]` | Prompt per l'input, for irc: nick and modes (mode "+i" means invisible on libera).
|
||||
| away | `(assente)` | Indicatore di assenza.
|
||||
| input_prompt | `@Flashy(i)` | Prompt per l'input, for irc: nick and modes (mode "+i" means invisible on libera).
|
||||
| away | `assente` | Indicatore di assenza.
|
||||
// TRANSLATION MISSING
|
||||
| input_search | `[Search lines (~ str,msg)]` | Search indicator (see below).
|
||||
| input_paste | `[Incollare 7 righe ? [ctrl-y] Sì [ctrl-n] No]` | Chiede all'utente se incollare le righe.
|
||||
| input_text | `ciao peter!` | Testo in input.
|
||||
| input_search | `Search lines (~ str,msg)` | Search indicator (see below).
|
||||
| input_paste | `Incollare 7 righe ? [ctrl-y] Sì [ctrl-n] No` | Chiede all'utente se incollare le righe.
|
||||
| input_text | `ciao peter!` | Testo in input.
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -1042,8 +1046,8 @@ There are two search modes:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* search in lines, for example `[Search lines (~ str,msg)]`, with the following info:
|
||||
** `~`: case insensitive
|
||||
** `==`: case sensitive
|
||||
** `~`: case-insensitive
|
||||
** `==`: case-sensitive
|
||||
** `str`: search string
|
||||
** `regex`: search regular expression
|
||||
** `msg`: search in messages
|
||||
@@ -1051,8 +1055,8 @@ There are two search modes:
|
||||
** `pre\|msg`: search in prefixes and messages.
|
||||
* search in commands history, for example `[Search command (~ str,local)]`,
|
||||
with the following info:
|
||||
** `~`: case insensitive
|
||||
** `==`: case sensitive
|
||||
** `~`: case-insensitive
|
||||
** `==`: case-sensitive
|
||||
** `str`: search string
|
||||
** `regex`: search regular expression
|
||||
** `local`: search in buffer local history
|
||||
@@ -1075,8 +1079,7 @@ Other items available (not used in bars by default):
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Item | Example | Description
|
||||
| buffer_count | `10` | Total number of buffers opened.
|
||||
| buffer_last_number | `10` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`).
|
||||
| buffer_count | `5` | Total number of buffers opened.
|
||||
| buffer_nicklist_count_all | `4` | Number of visible groups and nicks in nicklist.
|
||||
| buffer_nicklist_count_groups | `0` | Number of visible groups in nicklist.
|
||||
| buffer_short_name | `#test` | Current buffer short name.
|
||||
@@ -1093,7 +1096,8 @@ Other items available (not used in bars by default):
|
||||
| irc_nick_host | `+Flashy!user@host.com+` | Current IRC nick and host.
|
||||
| irc_nick_modes | `i` | IRC modes for self nick.
|
||||
| irc_nick_prefix | `@` | IRC nick prefix on channel.
|
||||
| mouse_status | `M` | Mouse status (empty if mouse is disabled).
|
||||
// TRANSLATION MISSING
|
||||
| spacer | | Special item used to align text in bars, see <<item_spacer,Spacer item>>.
|
||||
| spell_dict | `fr,en` | Spelling dictionaries used on current buffer.
|
||||
| spell_suggest | `print,prone,prune` | Spelling suggestions for word under cursor (if misspelled).
|
||||
| tls_version | `TLS1.3` | TLS version in use for current IRC server.
|
||||
@@ -1930,13 +1934,15 @@ They can be changed and new ones can be added with the <<command_weechat_key,/ke
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| Tasti | Descrizione | Comando
|
||||
| kbd:[Alt+m] | Abilita/disabilita. | `+/mouse toggle+`
|
||||
| Tasti | Descrizione | Comando
|
||||
| kbd:[Alt+m] | Abilita/disabilita. | `+/mouse toggle+`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+s] | Toggle spell checker. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | Attiva/disattiva filtri. | `+/filter toggle+`
|
||||
| kbd:[Alt+s] | Toggle spell checker. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | Attiva/disattiva filtri. | `+/filter toggle+`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+-] | Toggle filters in current buffer. | `+/filter toggle @+`
|
||||
| kbd:[Alt+-] | Toggle filters in current buffer. | `+/filter toggle @+`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+Ctrl+l] (`L`) | Toggle between remote and local commands on a remote buffer (relay "api"). | `+/remote togglecmd+`
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -2203,9 +2209,9 @@ These keys and actions are used on the IRC /list buffer (see command <<command_i
|
||||
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/list -left+`
|
||||
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/list -right+`
|
||||
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
|
||||
| | `xxx` | Show only channels with "xxx" in name or topic (case insensitive). |
|
||||
| | `n:xxx` | Show only channels with "xxx" in name (case insensitive). |
|
||||
| | `t:xxx` | Show only channels with "xxx" in topic (case insensitive). |
|
||||
| | `xxx` | Show only channels with "xxx" in name or topic (case-insensitive). |
|
||||
| | `n:xxx` | Show only channels with "xxx" in name (case-insensitive). |
|
||||
| | `t:xxx` | Show only channels with "xxx" in topic (case-insensitive). |
|
||||
| | `u:n` | Show only channels with at least "n" users. |
|
||||
| | `u:>n` | Show only channels with more than "n" users. |
|
||||
| | `u:<n` | Show only channels with less than "n" users. |
|
||||
@@ -2269,27 +2275,27 @@ Example of fset buffer displaying options starting with `weechat.look` :
|
||||
[subs="quotes"]
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│1/121 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggle │
|
||||
│1.weechat│7/125 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggl>>│
|
||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||
│ │hanges in input [default: on] │
|
||||
│ │hanges in input [predefinito: on] │
|
||||
│ │----------------------------------------------------------------------------│
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words boolean on │
|
||||
│ │ weechat.look.bar_more_down string "++" │
|
||||
│ │ weechat.look.bar_more_left string "<<" │
|
||||
│ │ weechat.look.bar_more_right string ">>" │
|
||||
│ │ weechat.look.bar_more_up string "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||
│ │ weechat.look.buffer_search_regex boolean off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||
│ │ weechat.look.buffer_time_same string "" │
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words bool on │
|
||||
│ │ weechat.look.bar_more_down stringa "++" │
|
||||
│ │ weechat.look.bar_more_left stringa "<<" │
|
||||
│ │ weechat.look.bar_more_right stringa ">>" │
|
||||
│ │ weechat.look.bar_more_up stringa "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input bool on ##│
|
||||
│ │ weechat.look.bare_display_time_format stringa "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber bool on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive bool off │
|
||||
│ │ weechat.look.buffer_search_force_default bool off │
|
||||
│ │ weechat.look.buffer_search_history enum local │
|
||||
│ │ weechat.look.buffer_search_regex bool off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format stringa "%H:%M:%S" │
|
||||
│ │[12:55] [2] [fset] 2:fset │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
@@ -3584,7 +3590,7 @@ plugin).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Some aliases are created by default, with name in upper case (to make them
|
||||
different from standard commands); commands are not case sensitive in WeeChat,
|
||||
different from standard commands); commands are not case-sensitive in WeeChat,
|
||||
so for example `/close` runs the alias `/CLOSE`.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -3721,13 +3727,15 @@ weechat irc://alice@irc.libera.chat/#weechat,#weechat-fr
|
||||
By default no servers are defined. You can add as many servers as you want with
|
||||
the <<command_irc_server,/server>> command.
|
||||
|
||||
For example to connect to https://libera.chat/[libera.chat ^↗^^]
|
||||
with TLS (encrypted trafic):
|
||||
For example to connect to https://libera.chat/[libera.chat ^↗^^]:
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
/server add libera irc.libera.chat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Default port is 6697 and TLS (encrypted traffic) is enabled.
|
||||
|
||||
You can tell WeeChat to auto-connect to this server on startup:
|
||||
|
||||
----
|
||||
@@ -3768,51 +3776,52 @@ For example if you created the _libera_ server with the commands above, you'll
|
||||
see this with the command `/fset libera`:
|
||||
|
||||
....
|
||||
irc.server.libera.addresses string "irc.libera.chat/6697"
|
||||
irc.server.libera.anti_flood_prio_high integer null -> 2
|
||||
irc.server.libera.anti_flood_prio_low integer null -> 2
|
||||
irc.server.libera.autoconnect boolean on
|
||||
irc.server.libera.autojoin string null -> ""
|
||||
irc.server.libera.autojoin_dynamic boolean null -> off
|
||||
irc.server.libera.autoreconnect boolean null -> on
|
||||
irc.server.libera.autoreconnect_delay integer null -> 10
|
||||
irc.server.libera.autorejoin boolean null -> off
|
||||
irc.server.libera.autorejoin_delay integer null -> 30
|
||||
irc.server.libera.away_check integer null -> 0
|
||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||
irc.server.libera.capabilities string null -> "*"
|
||||
irc.server.libera.addresses stringa "irc.libera.chat"
|
||||
irc.server.libera.anti_flood intero null -> 2000
|
||||
irc.server.libera.autoconnect bool on
|
||||
irc.server.libera.autojoin stringa null -> ""
|
||||
irc.server.libera.autojoin_delay intero null -> 0
|
||||
irc.server.libera.autojoin_dynamic bool null -> off
|
||||
irc.server.libera.autoreconnect bool null -> on
|
||||
irc.server.libera.autoreconnect_delay intero null -> 10
|
||||
irc.server.libera.autorejoin bool null -> off
|
||||
irc.server.libera.autorejoin_delay intero null -> 30
|
||||
irc.server.libera.away_check intero null -> 0
|
||||
irc.server.libera.away_check_max_nicks intero null -> 25
|
||||
irc.server.libera.capabilities stringa null -> "*"
|
||||
irc.server.libera.charset_message enum null -> message
|
||||
irc.server.libera.command string null -> ""
|
||||
irc.server.libera.command_delay integer null -> 0
|
||||
irc.server.libera.connection_timeout integer null -> 60
|
||||
irc.server.libera.default_chantypes string null -> "#&"
|
||||
irc.server.libera.ipv6 boolean null -> on
|
||||
irc.server.libera.local_hostname string null -> ""
|
||||
irc.server.libera.msg_kick string null -> ""
|
||||
irc.server.libera.msg_part string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks string null -> "alice,alice1,alice2,alice3,alice4"
|
||||
irc.server.libera.nicks_alternate boolean null -> on
|
||||
irc.server.libera.notify string null -> ""
|
||||
irc.server.libera.password string null -> ""
|
||||
irc.server.libera.proxy string null -> ""
|
||||
irc.server.libera.realname string null -> ""
|
||||
irc.server.libera.command stringa null -> ""
|
||||
irc.server.libera.command_delay intero null -> 0
|
||||
irc.server.libera.connection_timeout intero null -> 60
|
||||
irc.server.libera.default_chantypes stringa null -> "#&"
|
||||
irc.server.libera.ipv6 enum null -> auto
|
||||
irc.server.libera.local_hostname stringa null -> ""
|
||||
irc.server.libera.msg_kick stringa null -> ""
|
||||
irc.server.libera.msg_part stringa null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit stringa null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks stringa null -> "${username},${username}2,${username}3,${username}4,${username}5"
|
||||
irc.server.libera.nicks_alternate bool null -> on
|
||||
irc.server.libera.notify stringa null -> ""
|
||||
irc.server.libera.password stringa null -> ""
|
||||
irc.server.libera.proxy stringa null -> ""
|
||||
irc.server.libera.realname stringa null -> ""
|
||||
irc.server.libera.registered_mode stringa null -> "r"
|
||||
irc.server.libera.sasl_fail enum null -> reconnect
|
||||
irc.server.libera.sasl_key string null -> ""
|
||||
irc.server.libera.sasl_key stringa null -> ""
|
||||
irc.server.libera.sasl_mechanism enum null -> plain
|
||||
irc.server.libera.sasl_password string "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout integer null -> 15
|
||||
irc.server.libera.sasl_username string "alice"
|
||||
irc.server.libera.split_msg_max_length integer null -> 512
|
||||
irc.server.libera.tls boolean on
|
||||
irc.server.libera.tls_cert string null -> ""
|
||||
irc.server.libera.tls_dhkey_size integer null -> 2048
|
||||
irc.server.libera.tls_fingerprint string null -> ""
|
||||
irc.server.libera.tls_password string null -> ""
|
||||
irc.server.libera.tls_priorities string null -> "NORMAL:-VERS-SSL3.0"
|
||||
irc.server.libera.tls_verify boolean null -> on
|
||||
irc.server.libera.usermode string null -> ""
|
||||
irc.server.libera.username string null -> "alice"
|
||||
irc.server.libera.sasl_password stringa "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout intero null -> 15
|
||||
irc.server.libera.sasl_username stringa "alice"
|
||||
irc.server.libera.split_msg_max_length intero null -> 512
|
||||
irc.server.libera.tls bool null -> on
|
||||
irc.server.libera.tls_cert stringa null -> ""
|
||||
irc.server.libera.tls_dhkey_size intero null -> 2048
|
||||
irc.server.libera.tls_fingerprint stringa null -> ""
|
||||
irc.server.libera.tls_password stringa null -> ""
|
||||
irc.server.libera.tls_priorities stringa null -> "NORMAL"
|
||||
irc.server.libera.tls_verify bool null -> on
|
||||
irc.server.libera.usermode stringa null -> ""
|
||||
irc.server.libera.username stringa null -> "${username}"
|
||||
....
|
||||
|
||||
For example if you want to automatically connect to all servers you define
|
||||
@@ -5082,13 +5091,21 @@ For example:
|
||||
Now you can connect on port 9000 with a WeeChat or a remote interface using
|
||||
password "mypassword".
|
||||
|
||||
To connect to an _api_ relay with WeeChat:
|
||||
To connect to an _api_ relay running locally with WeeChat:
|
||||
|
||||
----
|
||||
/remote add weechat http://localhost:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
To connect to an _api_ relay running elsewhere with WeeChat
|
||||
(TLS is highly recommended):
|
||||
|
||||
----
|
||||
/remote add weechat https://example.com:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
The remote WeeChat must expose the same API version as the local WeeChat, so
|
||||
it's highly recommended to use exactly the same WeeChat version on remote
|
||||
@@ -5106,7 +5123,7 @@ https://weechat.org/about/interfaces/[this page ^↗^^].
|
||||
|
||||
[IMPORTANT]
|
||||
// TRANSLATION MISSING
|
||||
WeeChat itself can NOT connect to another WeeChat with this protocol.
|
||||
WeeChat itself cannot connect to another WeeChat with this protocol.
|
||||
|
||||
Ad esempio:
|
||||
|
||||
@@ -5133,7 +5150,7 @@ A WebSocket can be opened in a HTML5 with a single line of JavaScript:
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
websocket = new WebSocket("ws://server.com:9500/weechat");
|
||||
websocket = new WebSocket("ws://example.com:9500/weechat");
|
||||
----
|
||||
|
||||
The port (9500 in example) is the port defined in Relay plugin.
|
||||
@@ -5377,7 +5394,7 @@ A trigger has the following options (names are
|
||||
|
||||
| enabled | `on`, `off`
|
||||
| When option is `off`, the trigger is disabled and actions are not executed
|
||||
any more.
|
||||
anymore.
|
||||
|
||||
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
|
||||
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
|
||||
@@ -6207,7 +6224,7 @@ For privacy considerations, the download of scripts is disabled by default. +
|
||||
To enable it, type this command:
|
||||
|
||||
----
|
||||
/set script.scripts.download_enabled on
|
||||
/script enable
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -6218,33 +6235,33 @@ with the <<command_script_script,/script>> command:
|
||||
:x: *
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
|
||||
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
|
||||
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
||||
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
|
||||
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
|
||||
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
|
||||
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
|
||||
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
|
||||
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
|
||||
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
|
||||
│1.weechat│322/322 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, >>│
|
||||
│2.scripts│{x} autosort.py 3.10 2023-12-31 | Automatically keep buffers grouped by se│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Aggiunge un buffer monitor per gli event│
|
||||
│ │{x}ia r grep.py 0.8.6 0.8.6 2022-11-11 | Cerca espressione regolare nei buffer o │
|
||||
│ │{x} colorize_nicks.py 32 2023-10-30 | Usa i colori dei nick di weechat nell'ar│
|
||||
│ │##{x}ia r go.py 3.0.1 3.0.1 2024-05-30 | Passa rapidamente ai buffer. ##│
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for re│
|
||||
│ │ alternatetz.py 0.4 2022-01-25 | Aggiunge un elemento località alternativ│
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Script di controllo e riproduzione per A│
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Invia messaggi privati ed eventi ad uno │
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Annuncia il titolo URL all'utente o al c│
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highl│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidental│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s│
|
||||
│ │ arespond.py 0.1.2 2022-01-25 | Un semplice autoresponder. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@│
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Visualizza la canzone riprodotta da Auda│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | Un semplice script per l'assenza automat│
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Consente l'autenticazione automatica al │
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .wee│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Riapre server e canali aperti l'ultima v│
|
||||
│ │ autojoin_on_invite.py 0.9 2022-10-25 | Entra automaticamente nei canali quando │
|
||||
│ │ automarkbuffer.py 1.0 2015-03-31 | Mark buffers as read if there is no new │
|
||||
│ │ automerge.py 0.2 2018-03-03 | Automatically merge new buffers accordin│
|
||||
│ │[12:55] [2] [script] 2:scripts │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Japanese translation, courtesy of Takayuki Konishi <seannos.takayuki@gmail.com>
|
||||
:appendix-caption: 付録
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: 注意
|
||||
//:chapter-signifier: ???
|
||||
//:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: 例
|
||||
:figure-caption: 図
|
||||
:important-caption: 重要
|
||||
:last-update-label: 最終更新
|
||||
ifdef::listing-caption[:listing-caption: リスト]
|
||||
ifdef::manname-title[:manname-title: 名前]
|
||||
:note-caption: 注記
|
||||
//:part-signifier: ???
|
||||
//:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: まえがき]
|
||||
//:section-refsig: ???
|
||||
:table-caption: 表
|
||||
:tip-caption: ヒント
|
||||
:toc-title: 目次
|
||||
:untitled-label: 無題
|
||||
:version-label: バージョン
|
||||
:warning-caption: 警告
|
||||
@@ -100,7 +100,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat は Sébastien Helleu さんと貢献者によって作成されています
|
||||
(完全なリストは AUTHORS.md ファイルを参照してください)。
|
||||
|
||||
著作権 (C) 2003-2024 {author}
|
||||
著作権 (C) 2003-2025 {author}
|
||||
|
||||
WeeChat はフリーソフトウェアです。あなたはこれを、フリーソフトウェア財団によって発行された
|
||||
GNU 一般公衆利用許諾契約書 (バージョン 2 か、希望によってはそれ以降のバージョンのうちどれか)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
@@ -347,6 +347,8 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
||||
| relay.c | relay の主要関数
|
||||
// TRANSLATION MISSING
|
||||
| relay-auth.c | Clients authentification.
|
||||
// TRANSLATION MISSING
|
||||
| relay-bar-item.c | Relay bar items.
|
||||
| relay-buffer.c | relay バッファ
|
||||
| relay-client.c | relay クライアント
|
||||
| relay-command.c | relay コマンド
|
||||
@@ -467,10 +469,12 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
||||
// TRANSLATION MISSING
|
||||
| test-core-dir.cpp | Tests: directory/file functions.
|
||||
| test-core-eval.cpp | テスト: 式の評価
|
||||
| test-core-hashtble.cpp | テスト: ハッシュテーブル
|
||||
| test-core-hashtable.cpp | テスト: ハッシュテーブル
|
||||
| test-core-hdata.cpp | テスト: hdata
|
||||
| test-core-hook.cpp | テスト: フック
|
||||
| test-core-infolist.cpp | テスト: インフォリスト
|
||||
// TRANSLATION MISSING
|
||||
| test-core-input.cpp | Tests: input functions.
|
||||
| test-core-list.cpp | テスト: リスト
|
||||
// TRANSLATION MISSING
|
||||
| test-core-network.cpp | Tests: network functions.
|
||||
@@ -697,7 +701,7 @@ WeeChat とプラグインの翻訳は gettext で行います、ファイルは
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* Copyright (C) 2024 Your Name <your@email.com>
|
||||
* Copyright (C) 2025 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
@@ -1309,7 +1313,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
// TRANSLATION MISSING
|
||||
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^].
|
||||
|
||||
バグや新機能のパッチは必ず master ブランチに対して適用できるものを作成し、GitHub の pull
|
||||
バグや新機能のパッチは必ず `main` ブランチに対して適用できるものを作成し、GitHub の pull
|
||||
リクエストを使って提出することを推奨します。パッチは電子メールで送信することも可能です
|
||||
(`git diff` または `git format-patch` で作成してください)。
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
@@ -1282,7 +1282,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||
=== WeeChat をサポートするプラットフォームのリストを教えてください。他のオペレーティングシステムへの移植予定はありますか。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, Mac OS and Windows
|
||||
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, macOS and Windows
|
||||
(Cygwin and Windows Subsystem for Linux).
|
||||
|
||||
我々は可能な限り多くのプラットフォームに移植することに最善を尽くしています。我々が持っていない
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
@@ -845,7 +845,7 @@ int diff = weechat_string_charcasecmp ("aaa", "CCC"); /* == -2 */
|
||||
_WeeChat ≥ 3.8_
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case sensitive string comparison.
|
||||
Case-sensitive string comparison.
|
||||
|
||||
プロトタイプ:
|
||||
|
||||
@@ -884,7 +884,7 @@ int diff = weechat_strcmp ("aaa", "ccc"); /* == -2 */
|
||||
_WeeChat ≥ 3.8_
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case sensitive string comparison, for _max_ chars.
|
||||
Case-sensitive string comparison, for _max_ chars.
|
||||
|
||||
プロトタイプ:
|
||||
|
||||
@@ -924,7 +924,7 @@ int diff = weechat_strncmp ("aabb", "aacc", 2); /* == 0 */
|
||||
_WeeChat バージョン 1.0, 3.8 で更新。_
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case insensitive string comparison.
|
||||
Case-insensitive string comparison.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
@@ -1018,7 +1018,7 @@ int diff = weechat_strcasecmp_range ("nick{away}", "NICK[away]", 29); /* == 0 *
|
||||
_WeeChat バージョン 1.0, 3.8 で更新。_
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case insensitive string comparison, for _max_ chars.
|
||||
Case-insensitive string comparison, for _max_ chars.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
@@ -1141,7 +1141,7 @@ uppercase letters are properly converted to lowercase (by calling function
|
||||
Return value:
|
||||
|
||||
* arithmetic result of subtracting the last compared UTF-8 char in
|
||||
_string2_ (converted to lowercase if _case_sentitive_ is set to 0) from the last
|
||||
_string2_ (converted to lowercase if _case_sensitive_ is set to 0) from the last
|
||||
compared UTF-8 char in _string1_ (converted to lowercase if _case_sensitive_ is
|
||||
set to 0):
|
||||
// TRANSLATION MISSING
|
||||
@@ -1164,7 +1164,7 @@ int diff = weechat_strcmp_ignore_chars ("a-b", "--a-e", "-", 1); /* == -3 */
|
||||
_WeeChat バージョン 1.3, 3.8 で更新。_
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Case insensitive string search.
|
||||
Case-insensitive string search.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
@@ -2875,7 +2875,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+==*+` | 2.9
|
||||
| Is matching mask where "*" is allowed, case sensitive (see function <<_string_match,string_match>>)
|
||||
| Is matching mask where "*" is allowed, case-sensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def ==* a*f+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2884,7 +2884,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+!!*+` | 2.9
|
||||
| Is NOT wildcard mask where "*" is allowed, case sensitive (see function <<_string_match,string_match>>)
|
||||
| Is NOT wildcard mask where "*" is allowed, case-sensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def !!* a*f+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -2893,7 +2893,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+=*+` | 1.8
|
||||
| Is matching mask where "*" is allowed, case insensitive (see function <<_string_match,string_match>>)
|
||||
| Is matching mask where "*" is allowed, case-insensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def =* A*F+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2902,7 +2902,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+!*+` | 1.8
|
||||
| Is NOT wildcard mask where "*" is allowed, case insensitive (see function <<_string_match,string_match>>)
|
||||
| Is NOT wildcard mask where "*" is allowed, case-insensitive (see function <<_string_match,string_match>>)
|
||||
| >> `+abc def !* A*F+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -2911,7 +2911,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+==-+` | 2.9
|
||||
| Is included, case sensitive
|
||||
| Is included, case-sensitive
|
||||
| >> `+abc def ==- bc+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2920,7 +2920,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+!!-+` | 2.9
|
||||
| Is NOT included, case sensitive
|
||||
| Is NOT included, case-sensitive
|
||||
| >> `+abc def !!- bc+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -2929,7 +2929,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+=-+` | 2.9
|
||||
| Is included, case insensitive
|
||||
| Is included, case-insensitive
|
||||
| >> `+abc def =- BC+` +
|
||||
== `+1+` +
|
||||
+
|
||||
@@ -2938,7 +2938,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| `+!-+` | 2.9
|
||||
| Is NOT included, case insensitive
|
||||
| Is NOT included, case-insensitive
|
||||
| >> `+abc def !- BC+` +
|
||||
== `+0+` +
|
||||
+
|
||||
@@ -4898,7 +4898,7 @@ weechat_printf (NULL, "date: %s",
|
||||
// TRANSLATION MISSING
|
||||
==== util_strftimeval
|
||||
|
||||
_WeeChat ≥ 4.2.0, updated in 4.3.0._
|
||||
_WeeChat ≥ 4.2.0, updated in 4.3.0, 4.6.4._
|
||||
|
||||
Format date and time like function `strftime` in C library, using `struct timeval`
|
||||
as input, and supporting extra specifiers.
|
||||
@@ -4915,6 +4915,8 @@ Arguments:
|
||||
* _string_: buffer where the formatted string is stored
|
||||
* _max_: string size
|
||||
* _format_: format, the same as _strftime_ function, with these extra specifiers:
|
||||
** `%@`: return the date expressed in Coordinated Universal Time (UTC)
|
||||
instead of date relative to the user's specified timezone _(WeeChat ≥ 4.7.0)_
|
||||
** `%.N` where `N` is between 1 and 6: zero-padded microseconds on N digits
|
||||
(for example `%.3` for milliseconds)
|
||||
** `%f`: alias of `%.6`
|
||||
@@ -4931,8 +4933,8 @@ C example:
|
||||
char time[256];
|
||||
struct timeval tv;
|
||||
gettimeofday (&tv, NULL);
|
||||
weechat_util_strftimeval (time, sizeof (time), "%FT%T.%f", &tv);
|
||||
/* result: 2023-12-26T18:10:04.460509 */
|
||||
weechat_util_strftimeval (time, sizeof (time), "%@%FT%T.%fZ", &tv);
|
||||
/* result: 2023-12-26T18:10:04.460509Z */
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -7069,7 +7071,7 @@ my_section_delete_option_cb (const void *pointer, void *data,
|
||||
/* return WEECHAT_CONFIG_OPTION_UNSET_ERROR; */
|
||||
}
|
||||
|
||||
/* standard section, user can not add/delete options */
|
||||
/* standard section, user cannot add/delete options */
|
||||
struct t_config_section *new_section1 =
|
||||
weechat_config_new_section (config_file, "section1", 0, 0,
|
||||
NULL, NULL, NULL,
|
||||
@@ -8229,7 +8231,7 @@ def config_boolean_inherited(option: str) -> int: ...
|
||||
|
||||
# 例
|
||||
option = weechat.config_get("irc.server.libera.autoconnect")
|
||||
autoconect = weechat.config_boolean_inherited(option)
|
||||
autoconnect = weechat.config_boolean_inherited(option)
|
||||
----
|
||||
|
||||
==== config_integer
|
||||
@@ -9541,7 +9543,7 @@ _WeeChat バージョン 0.3.6 以上で利用可、バージョン 2.0 で更
|
||||
|
||||
キー割り当てを削除。
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
この関数を呼び出す際には、ユーザのキー割り当てを削除しないように注意してください。
|
||||
|
||||
プロトタイプ:
|
||||
@@ -10143,7 +10145,7 @@ C examples:
|
||||
[source,c]
|
||||
----
|
||||
/* hook modifier with priority = 2000 */
|
||||
/* high priority: called before other modifier calbacks */
|
||||
/* high priority: called before other modifier callbacks */
|
||||
weechat_hook_modifier ("2000|input_text_display", &modifier_cb, NULL, NULL);
|
||||
|
||||
/* hook two signals with priority = 3000 */
|
||||
@@ -11127,6 +11129,11 @@ _WeeChat ≥ 4.1.0._
|
||||
|
||||
URL transfer.
|
||||
|
||||
This function is similar to <<_hook_process,hook_process>> and
|
||||
<<_hook_process_hashtable,hook_process_hashtable>> with command "url:..."
|
||||
but it uses a thread instead of new process, making it more lightweight
|
||||
and thus recommended for this usage.
|
||||
|
||||
プロトタイプ:
|
||||
|
||||
[source,c]
|
||||
@@ -11735,7 +11742,7 @@ C 言語での使用例:
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_line_cb (const void *pointer, void *data, struct t_hasbtable *line)
|
||||
my_line_cb (const void *pointer, void *data, struct t_hashtable *line)
|
||||
{
|
||||
struct t_hashtable *hashtable;
|
||||
|
||||
@@ -12366,7 +12373,7 @@ WeeChat とプラグインが送信するシグナルのリスト:
|
||||
| String: text sent to buffer.
|
||||
| Text sent to a user buffer as input (sent only for buffers created with `/buffer add`). +
|
||||
If the return code of a callback is _WEECHAT_RC_OK_EAT_, then the string "q"
|
||||
can not be used any more to close the buffer.
|
||||
cannot be used anymore to close the buffer.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | [[hook_signal_buffer_user_closing_xxx]] buffer_user_closing_xxx ^(2)^ | 3.8
|
||||
@@ -12669,7 +12676,7 @@ hook = weechat.hook_signal("quit;upgrade", "my_signal_cb", "")
|
||||
|
||||
==== hook_signal_send
|
||||
|
||||
_WeeChat バージョン 1.0 で更新。_
|
||||
_WeeChat バージョン 1.0, 4.5.0 で更新。_
|
||||
|
||||
シグナルを送信。
|
||||
|
||||
@@ -12683,11 +12690,23 @@ int weechat_hook_signal_send (const char *signal, const char *type_data,
|
||||
|
||||
引数:
|
||||
|
||||
* _signal_: 送信するシグナル
|
||||
// TRANSLATION MISSING
|
||||
* _signal_: 送信するシグナル; flags are allowed before the signal name (see below)
|
||||
_(WeeChat ≥ 4.5.0)_
|
||||
* _type_data_: シグナルと一緒に送信するデータの型
|
||||
(<<_hook_signal,hook_signal>> を参照)
|
||||
* _signal_data_: シグナルと一緒に送信するデータ
|
||||
|
||||
// TRANSLATION MISSING
|
||||
The signal name can contain flags with the following format: `[flags:xxx,yyy]signal`
|
||||
where `xxx` and `yyy` are names of flags, and `signal` the signal name. +
|
||||
The following flags are supported:
|
||||
|
||||
* _stop_on_error_: exit immediately if a callback returns WEECHAT_RC_ERROR
|
||||
(remaining callbacks are then NOT executed) _(WeeChat ≥ 4.5.0)_
|
||||
* _ignore_eat_: consider any callback returning WEECHAT_RC_OK_EAT is in fact
|
||||
WEECHAT_RC_OK and execute remaining callbacks _(WeeChat ≥ 4.5.0)_
|
||||
|
||||
戻り値 _(WeeChat バージョン 1.0 以上で利用可)_:
|
||||
|
||||
* 最後に実行したコールバックの戻り値
|
||||
@@ -12701,6 +12720,8 @@ C 言語での使用例:
|
||||
[source,c]
|
||||
----
|
||||
int rc = weechat_hook_signal_send ("my_signal", WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||
int rc2 = weechat_hook_signal_send ("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||
----
|
||||
|
||||
スクリプト (Python) での使用例:
|
||||
@@ -12712,6 +12733,8 @@ def hook_signal_send(signal: str, type_data: str, signal_data: str) -> int: ...
|
||||
|
||||
# 例
|
||||
rc = weechat.hook_signal_send("my_signal", weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||
rc2 = weechat.hook_signal_send("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||
----
|
||||
|
||||
[[signal_logger_backlog]]
|
||||
@@ -12998,7 +13021,7 @@ hook = weechat.hook_hsignal("test", "my_hsignal_cb", "")
|
||||
|
||||
==== hook_hsignal_send
|
||||
|
||||
_WeeChat バージョン 0.3.4 以上で利用可、バージョン 1.0 で更新。_
|
||||
_WeeChat バージョン 0.3.4 以上で利用可、バージョン 1.0, 4.5.0 で更新。_
|
||||
|
||||
hsignal (ハッシュテーブルを持つシグナル) を送信。
|
||||
|
||||
@@ -13011,7 +13034,9 @@ int weechat_hook_hsignal_send (const char *signal, struct t_hashtable *hashtable
|
||||
|
||||
引数:
|
||||
|
||||
* _signal_: 送信するシグナル
|
||||
// TRANSLATION MISSING
|
||||
* _signal_: 送信するシグナル; flags are allowed before the signal name
|
||||
(see function <<_hook_signal_send,hook_signal_send>>) _(WeeChat ≥ 4.5.0)_
|
||||
* _hashtable_: ハッシュテーブル
|
||||
|
||||
戻り値 _(WeeChat バージョン 1.0 以上で利用可)_:
|
||||
@@ -13026,7 +13051,7 @@ C 言語での使用例:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int rc;
|
||||
int rc, rc2;
|
||||
struct t_hashtable *hashtable = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
@@ -13036,6 +13061,7 @@ if (hashtable)
|
||||
{
|
||||
weechat_hashtable_set (hashtable, "key", "value");
|
||||
rc = weechat_hook_hsignal_send ("my_hsignal", hashtable);
|
||||
rc2 = weechat_hook_hsignal_send ("[flags:stop_on_error,ignore_eat]my_hsignal2", hashtable);
|
||||
weechat_hashtable_free (hashtable);
|
||||
}
|
||||
----
|
||||
@@ -13049,6 +13075,7 @@ def hook_hsignal_send(signal: str, hashtable: Dict[str, str]) -> int: ...
|
||||
|
||||
# 例
|
||||
rc = weechat.hook_hsignal_send("my_hsignal", {"key": "value"})
|
||||
rc2 = weechat.hook_hsignal_send("[flags:stop_on_error,ignore_eat]my_hsignal2", {"key": "value"})
|
||||
----
|
||||
|
||||
[[hsignal_irc_redirect_command]]
|
||||
@@ -14218,6 +14245,11 @@ void weechat_hook_set (struct t_hook *hook, const char *property,
|
||||
| サブプラグインの名前 (通常は `/help command` で _command_
|
||||
をタイプした時のフックで表示されるスクリプト名)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| keep_spaces_right | 4.6.0 | _command_, _command_run_
|
||||
| "0" or "1"
|
||||
| Keep trailing spaces in command arguments when it is executed.
|
||||
|
||||
| stdin | 0.4.3 | _process_、_process_hashtable_ | 任意の文字列
|
||||
| 子プロセスの標準入力 (_stdin_) にデータを送信
|
||||
|
||||
@@ -15117,6 +15149,13 @@ void weechat_buffer_set (struct t_gui_buffer *buffer, const char *property,
|
||||
are *NOT* checked) +
|
||||
"-1": ホットリストからバッファを削除 _(WeeChat バージョン 1.0 以上で利用可)_
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| hotlist_conditions | 4.5.0 | WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE,
|
||||
WEECHAT_HOTLIST_PRIVATE, WEECHAT_HOTLIST_HIGHLIGHT
|
||||
| priority: add buffer to hotlist with this priority
|
||||
(conditions defined in option _weechat.look.hotlist_add_conditions_
|
||||
are checked).
|
||||
|
||||
| completion_freeze | | "0" または "1"
|
||||
| "0": 補完を止める (デフォルト)
|
||||
(グローバル設定、バッファへのポインタは使われない) +
|
||||
@@ -15450,7 +15489,7 @@ int weechat_buffer_match_list (struct t_gui_buffer *buffer, const char *string);
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
Since version 4.0.0, comparison of buffer names is case sensitive.
|
||||
Since version 4.0.0, comparison of buffer names is case-sensitive.
|
||||
|
||||
戻り値:
|
||||
|
||||
@@ -15760,8 +15799,8 @@ void weechat_window_set_title (const char *title);
|
||||
|
||||
引数:
|
||||
|
||||
* _title_: 端末の新しいタイトル (タイトルをリセットする場合は NULL);
|
||||
この文字列は評価されるため、文字列内に `${info:version}` などの変数を含めることが可能です
|
||||
* _title_: 端末の新しいタイトル; この文字列は評価されるため、文字列内に
|
||||
`${info:version}` などの変数を含めることが可能です
|
||||
(<<_string_eval_expression,string_eval_expression>> を参照)
|
||||
|
||||
C 言語での使用例:
|
||||
@@ -17133,7 +17172,7 @@ rc = weechat.command(weechat.buffer_search("irc", "libera.#weechat"), "/whois Fl
|
||||
==== command_options
|
||||
|
||||
// TRANSLATION MISSING
|
||||
_WeeChat ≥ 2.5, updated in 4.0.0._
|
||||
_WeeChat ≥ 2.5, updated in 4.0.0, 4.5.0._
|
||||
|
||||
バッファにてオプション付きでコマンドを実行またはテキストを送信
|
||||
|
||||
@@ -17149,14 +17188,17 @@ int weechat_command_options (struct t_gui_buffer *buffer, const char *command,
|
||||
|
||||
* _buffer_: バッファへのポインタ
|
||||
(コマンドは指定したバッファで実行されます、現在のバッファで実行するには NULL を指定してください)
|
||||
* _command_: 実行するコマンド ("/"
|
||||
で始まっている場合)、またはバッファに送信するテキスト
|
||||
// TRANSLATION MISSING
|
||||
* _command_: 実行するコマンド (if beginning with a `/` or a command char)、またはバッファに送信するテキスト
|
||||
* _options_: オプションを含むハッシュテーブル (キーと値は文字列です)
|
||||
(NULL は使えません):
|
||||
* _options_: a hashtable with some options (keys and values must be string)
|
||||
(can be NULL):
|
||||
// TRANSLATION MISSING
|
||||
** _commands_: 指定したコマンドの中で実行を許可するコマンドのカンマ区切りリスト、リストの書式は関数
|
||||
<<_string_match_list,string_match_list>> を参考にしてください
|
||||
<<_string_match_list,string_match_list>> を参考にしてください;
|
||||
the special value `-` (hyphen-minus) disables the execution of commands
|
||||
and the string in _command_ is sent as-is to the buffer (_WeeChat ≥ 4.5.0_)
|
||||
** _delay_: コマンド実行までの遅延時間、ミリ秒単位
|
||||
// TRANSLATION MISSING
|
||||
** _split_newline_: `1` to split commands on newline char (`\n`) (_WeeChat ≥ 4.0.0_)
|
||||
@@ -17190,7 +17232,7 @@ rc = weechat_command_options (NULL, "/some_command arguments", options);
|
||||
def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ...
|
||||
|
||||
# 例: /exec 以外のコマンド実行を許可
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"})
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"})
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -17347,6 +17389,74 @@ def my_completion_cb(data: str, completion_item: str, buffer: str, completion: s
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_set
|
||||
|
||||
_WeeChat バージョン 4.6.0 以上で利用可。_
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Set a completion property.
|
||||
|
||||
プロトタイプ:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
void weechat_completion_get_string (struct t_gui_completion *completion,
|
||||
const char *property,
|
||||
const char *value);
|
||||
----
|
||||
|
||||
引数:
|
||||
|
||||
* _completion_: 補完へのポインタ
|
||||
* _property_: プロパティ名 (以下の表を参照)
|
||||
* _value_: プロパティの新しい値
|
||||
|
||||
プロパティ:
|
||||
|
||||
[width="100%",cols="^2,^1,4,8",options="header"]
|
||||
|===
|
||||
// TRANSLATION MISSING
|
||||
| Name | Min WeeChat | Value | Description
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| add_space | 4.6.0 | "0" or "1"
|
||||
| "0": do not add space after completion +
|
||||
"1": add space after completion (default).
|
||||
|===
|
||||
|
||||
C 言語での使用例:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_completion_cb (const void *pointer, void *data, const char *completion_item,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_gui_completion *completion)
|
||||
{
|
||||
/* do not add space after completion */
|
||||
weechat_completion_set (completion, "add_space", "0");
|
||||
|
||||
/* ... */
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
----
|
||||
|
||||
スクリプト (Python) での使用例:
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototype
|
||||
def completion_set(completion: str, property: str, value: str) -> int: ...
|
||||
|
||||
# example
|
||||
def my_completion_cb(data: str, completion_item: str, buffer: str, completion: str) -> int:
|
||||
# do not add space after completion
|
||||
weechat.completion_set(completion, "add_space", "0")
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_list_add
|
||||
|
||||
_WeeChat バージョン 2.9 以上で利用可。_
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
@@ -275,7 +275,7 @@ channels configured in the "autojoin" server option.
|
||||
/close
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
`/close` を用いてサーバから切断した場合、すべてのチャンネルおよびプライベートバッファは閉じられます。
|
||||
|
||||
サーババッファ上で実行することで、サーバから切断します:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
@@ -74,7 +74,7 @@ link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リフ
|
||||
|
||||
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||
A Python stub for WeeChat API is available in the repository:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[python_functions]]
|
||||
|
||||
+152
-135
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
@@ -503,7 +503,7 @@ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
You should enable address sanitizer only if you're trying to cause a crash,
|
||||
this is not recommended in production.
|
||||
|
||||
@@ -644,7 +644,7 @@ include::includes/cmdline_options.ja.adoc[tag=standard]
|
||||
Some extra options are available for debug purposes only:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Do *NOT* use any of these options in production!
|
||||
|
||||
include::includes/cmdline_options.ja.adoc[tag=debug]
|
||||
@@ -875,7 +875,7 @@ weechat --upgrade
|
||||
|
||||
// TRANSLATION MISSING
|
||||
After an upgrade, it is *strongly recommended* to read the file
|
||||
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
|
||||
which contains important information about breaking changes and some
|
||||
manual actions that could be required.
|
||||
|
||||
@@ -936,7 +936,7 @@ WeeChat を起動した端末の例:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* M [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ "status" と "input" バー "nicklist" バー ▲
|
||||
@@ -976,34 +976,39 @@ By default, the screen is divided up into the following areas:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| 要素 | 例 | 説明
|
||||
| time | `[12:55]` | 時刻
|
||||
| buffer_last_number | `[5]` | リスト中の最後のバッファ番号
|
||||
| buffer_plugin | `[irc/libera]` | 現在のバッファのプラグイン (irc プラグインではバッファで利用されている IRC サーバ名を追加できます)
|
||||
| buffer_number | `2` | 現在のバッファの番号
|
||||
| buffer_name | `#test` | 現在のバッファの名前
|
||||
| buffer_modes | `+n` | IRC チャンネルモード
|
||||
| 要素 | 例 | 説明
|
||||
| time | `12:55` | 時刻
|
||||
// TRANSLATION MISSING
|
||||
| buffer_nicklist_count | `{4}` | Number of nicks displayed in nicklist.
|
||||
| buffer_zoom | ! | `!` はマージされたバッファがズームされている状態 (ズームされたものだけを表示する状態) を示します、空の場合はすべてのマージされたバッファが表示されていることを示します
|
||||
| buffer_filter | `+*+` | フィルタ表示: `+*+` の場合いくつかの行がフィルタされ (隠され) ます、空の場合すべての行が表示されます。
|
||||
| scroll | `-MORE(50)-` | スクロール表示、最後の行が表示されてから追加された行数を含む。
|
||||
| lag | `[Lag: 2.5]` | 遅延秒表示 (遅延が短い場合は非表示)
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | 変化のあったバッファのリスト (未読メッセージ) (例では、_#abc_ に 2 個のハイライトと 5 個の未読メッセージ、5 番目のバッファに 1 個の未読メッセージがあることを意味します。)
|
||||
| completion | `abc(2) def(5)` | 補完候補の単語リスト、各単語に対して適応される補完候補の数を含む。
|
||||
| buffer_last_number | `5` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`).
|
||||
| buffer_plugin | `irc/libera` | 現在のバッファのプラグイン (irc プラグインではバッファで利用されている IRC サーバ名を追加できます)
|
||||
| buffer_number | `2` | 現在のバッファの番号
|
||||
| buffer_name | `#test` | 現在のバッファの名前
|
||||
| buffer_modes | `+n` | IRC チャンネルモード
|
||||
// TRANSLATION MISSING
|
||||
| buffer_nicklist_count | `4` | Number of nicks displayed in nicklist.
|
||||
| buffer_zoom | ! | `!` はマージされたバッファがズームされている状態 (ズームされたものだけを表示する状態) を示します、空の場合はすべてのマージされたバッファが表示されていることを示します
|
||||
| buffer_filter | `+*+` | フィルタ表示: `+*+` の場合いくつかの行がフィルタされ (隠され) ます、空の場合すべての行が表示されます。
|
||||
// TRANSLATION MISSING
|
||||
| mouse_status | `M` | Mouse status (empty if mouse is disabled), see command <<command_weechat_mouse,/mouse>> and <<key_bindings_toggle_keys,toggle keys>>.
|
||||
| scroll | `-MORE(50)-` | スクロール表示、最後の行が表示されてから追加された行数を含む。
|
||||
| lag | `Lag: 2.5` | 遅延秒表示 (遅延が短い場合は非表示)
|
||||
| hotlist | `H: 3:#abc(2,5), 5` | 変化のあったバッファのリスト (未読メッセージ) (例では、_#abc_ に 2 個のハイライトと 5 個の未読メッセージ、5 番目のバッファに 1 個の未読メッセージがあることを意味します。)
|
||||
// TRANSLATION MISSING
|
||||
| typing | `Typing: bob, (alice)` | Typing notification, see <<typing_notifications,typing notifications>>.
|
||||
| completion | `abc(2) def(5)` | 補完候補の単語リスト、各単語に対して適応される補完候補の数を含む。
|
||||
|===
|
||||
|
||||
入力 (_input_) バーは以下の初期要素を持っています:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| 要素 | 例 | 説明
|
||||
| input_prompt | `[@Flashy]` | 入力プロンプト、irc の場合: ニックネームとモード (libera では "+i" モードは不可視状態を意味します)
|
||||
| away | `(away)` | 離席状態表示
|
||||
| 要素 | 例 | 説明
|
||||
| input_prompt | `@Flashy` | 入力プロンプト、irc の場合: ニックネームとモード (libera では "+i" モードは不可視状態を意味します)
|
||||
| away | `away` | 離席状態表示
|
||||
// TRANSLATION MISSING
|
||||
| input_search | `[Search lines (~ str,msg)]` | Search indicator (see below).
|
||||
| input_paste | `[Paste 7 lines ? [ctrl-y] Yes [ctrl-n] No]` | 行をペーストする場合にユーザへ行われる質問
|
||||
| input_text | `hi peter!` | 入力テキスト
|
||||
| input_search | `Search lines (~ str,msg)` | Search indicator (see below).
|
||||
| input_paste | `Paste 7 lines ? [ctrl-y] Yes [ctrl-n] No` | 行をペーストする場合にユーザへ行われる質問
|
||||
| input_text | `hi peter!` | 入力テキスト
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -1043,9 +1048,7 @@ There are two search modes:
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| 要素 | 例 | 説明
|
||||
| buffer_count | `10` | 開いているバッファの総数
|
||||
// TRANSLATION MISSING
|
||||
| buffer_last_number | `10` | Number of the latest buffer (can be different from `buffer_count` if option <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> is `off`).
|
||||
| buffer_count | `5` | 開いているバッファの総数
|
||||
// TRANSLATION MISSING
|
||||
| buffer_nicklist_count_all | `4` | Number of visible groups and nicks in nicklist.
|
||||
// TRANSLATION MISSING
|
||||
@@ -1071,7 +1074,8 @@ There are two search modes:
|
||||
| irc_nick_modes | `i` | 自分のニックネームに対する IRC モード
|
||||
// TRANSLATION MISSING
|
||||
| irc_nick_prefix | `@` | IRC nick prefix on channel.
|
||||
| mouse_status | `M` | マウスの状態 (マウスが無効化されている場合は空文字列)
|
||||
// TRANSLATION MISSING
|
||||
| spacer | | Special item used to align text in bars, see <<item_spacer,Spacer item>>.
|
||||
| spell_dict | `fr,en` | 現在のバッファにおけるスペリング辞書
|
||||
| spell_suggest | `print,prone,prune` | カーソル下の単語に対するスペリング候補 (スペルが間違っている場合)
|
||||
// TRANSLATION MISSING
|
||||
@@ -1890,11 +1894,13 @@ They can be changed and new ones can be added with the <<command_weechat_key,/ke
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| キー | 説明 | コマンド
|
||||
| kbd:[Alt+m] | マウスの有効無効を切り替え | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | スペルチェッカの有効無効を切り替え | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | フィルタの有効無効を切り替え | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | 現在のバッファのフィルタの有効無効を切り替え | `+/filter toggle @+`
|
||||
| キー | 説明 | コマンド
|
||||
| kbd:[Alt+m] | マウスの有効無効を切り替え | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | スペルチェッカの有効無効を切り替え | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | フィルタの有効無効を切り替え | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | 現在のバッファのフィルタの有効無効を切り替え | `+/filter toggle @+`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+Ctrl+l] (`L`) | Toggle between remote and local commands on a remote buffer (relay "api"). | `+/remote togglecmd+`
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -2144,9 +2150,9 @@ These keys and actions are used on the IRC /list buffer (see command <<command_i
|
||||
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/list -left+`
|
||||
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/list -right+`
|
||||
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
|
||||
| | `xxx` | Show only channels with "xxx" in name or topic (case insensitive). |
|
||||
| | `n:xxx` | Show only channels with "xxx" in name (case insensitive). |
|
||||
| | `t:xxx` | Show only channels with "xxx" in topic (case insensitive). |
|
||||
| | `xxx` | Show only channels with "xxx" in name or topic (case-insensitive). |
|
||||
| | `n:xxx` | Show only channels with "xxx" in name (case-insensitive). |
|
||||
| | `t:xxx` | Show only channels with "xxx" in topic (case-insensitive). |
|
||||
| | `u:n` | Show only channels with at least "n" users. |
|
||||
| | `u:>n` | Show only channels with more than "n" users. |
|
||||
| | `u:<n` | Show only channels with less than "n" users. |
|
||||
@@ -2209,27 +2215,27 @@ Example of fset buffer displaying options starting with `weechat.look` :
|
||||
[subs="quotes"]
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│1/121 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggle │
|
||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||
│ │hanges in input [default: on] │
|
||||
│1.weechat│7/125 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggl>>│
|
||||
│2.fset │weechat.look.bare_display_exit_on_input: 入力の変更に対する最小限表示モード │
|
||||
│ │を終了する [デフォルト: on] │
|
||||
│ │----------------------------------------------------------------------------│
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words boolean on │
|
||||
│ │ weechat.look.bar_more_down string "++" │
|
||||
│ │ weechat.look.bar_more_left string "<<" │
|
||||
│ │ weechat.look.bar_more_right string ">>" │
|
||||
│ │ weechat.look.bar_more_up string "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||
│ │ weechat.look.buffer_search_regex boolean off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||
│ │ weechat.look.buffer_time_same string "" │
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words ブール on │
|
||||
│ │ weechat.look.bar_more_down 文字列 "++" │
|
||||
│ │ weechat.look.bar_more_left 文字列 "<<" │
|
||||
│ │ weechat.look.bar_more_right 文字列 ">>" │
|
||||
│ │ weechat.look.bar_more_up 文字列 "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input ブール on ##│
|
||||
│ │ weechat.look.bare_display_time_format 文字列 "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber ブール on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive ブール off │
|
||||
│ │ weechat.look.buffer_search_force_default ブール off │
|
||||
│ │ weechat.look.buffer_search_history enum local │
|
||||
│ │ weechat.look.buffer_search_regex ブール off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format 文字列 "%H:%M:%S" │
|
||||
│ │[12:55] [2] [fset] 2:fset │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
@@ -3605,13 +3611,15 @@ weechat irc://alice@irc.libera.chat/#weechat,#weechat-fr
|
||||
By default no servers are defined. You can add as many servers as you want with
|
||||
the <<command_irc_server,/server>> command.
|
||||
|
||||
For example to connect to https://libera.chat/[libera.chat ^↗^^]
|
||||
with TLS (encrypted trafic):
|
||||
For example to connect to https://libera.chat/[libera.chat ^↗^^]:
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
/server add libera irc.libera.chat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Default port is 6697 and TLS (encrypted traffic) is enabled.
|
||||
|
||||
You can tell WeeChat to auto-connect to this server on startup:
|
||||
|
||||
----
|
||||
@@ -3652,51 +3660,52 @@ For example if you created the _libera_ server with the commands above, you'll
|
||||
see this with the command `/fset libera`:
|
||||
|
||||
....
|
||||
irc.server.libera.addresses string "irc.libera.chat/6697"
|
||||
irc.server.libera.anti_flood_prio_high integer null -> 2
|
||||
irc.server.libera.anti_flood_prio_low integer null -> 2
|
||||
irc.server.libera.autoconnect boolean on
|
||||
irc.server.libera.autojoin string null -> ""
|
||||
irc.server.libera.autojoin_dynamic boolean null -> off
|
||||
irc.server.libera.autoreconnect boolean null -> on
|
||||
irc.server.libera.autoreconnect_delay integer null -> 10
|
||||
irc.server.libera.autorejoin boolean null -> off
|
||||
irc.server.libera.autorejoin_delay integer null -> 30
|
||||
irc.server.libera.away_check integer null -> 0
|
||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||
irc.server.libera.capabilities string null -> "*"
|
||||
irc.server.libera.charset_message enum null -> message
|
||||
irc.server.libera.command string null -> ""
|
||||
irc.server.libera.command_delay integer null -> 0
|
||||
irc.server.libera.connection_timeout integer null -> 60
|
||||
irc.server.libera.default_chantypes string null -> "#&"
|
||||
irc.server.libera.ipv6 boolean null -> on
|
||||
irc.server.libera.local_hostname string null -> ""
|
||||
irc.server.libera.msg_kick string null -> ""
|
||||
irc.server.libera.msg_part string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks string null -> "alice,alice1,alice2,alice3,alice4"
|
||||
irc.server.libera.nicks_alternate boolean null -> on
|
||||
irc.server.libera.notify string null -> ""
|
||||
irc.server.libera.password string null -> ""
|
||||
irc.server.libera.proxy string null -> ""
|
||||
irc.server.libera.realname string null -> ""
|
||||
irc.server.libera.sasl_fail enum null -> reconnect
|
||||
irc.server.libera.sasl_key string null -> ""
|
||||
irc.server.libera.sasl_mechanism enum null -> plain
|
||||
irc.server.libera.sasl_password string "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout integer null -> 15
|
||||
irc.server.libera.sasl_username string "alice"
|
||||
irc.server.libera.split_msg_max_length integer null -> 512
|
||||
irc.server.libera.tls boolean on
|
||||
irc.server.libera.tls_cert string null -> ""
|
||||
irc.server.libera.tls_dhkey_size integer null -> 2048
|
||||
irc.server.libera.tls_fingerprint string null -> ""
|
||||
irc.server.libera.tls_password string null -> ""
|
||||
irc.server.libera.tls_priorities string null -> "NORMAL:-VERS-SSL3.0"
|
||||
irc.server.libera.tls_verify boolean null -> on
|
||||
irc.server.libera.usermode string null -> ""
|
||||
irc.server.libera.username string null -> "alice"
|
||||
irc.server.libera.addresses 文字列 "irc.libera.chat"
|
||||
irc.server.libera.anti_flood 整数 null -> 2000
|
||||
irc.server.libera.autoconnect ブール on
|
||||
irc.server.libera.autojoin 文字列 null -> ""
|
||||
irc.server.libera.autojoin_delay 整数 null -> 0
|
||||
irc.server.libera.autojoin_dynamic ブール null -> off
|
||||
irc.server.libera.autoreconnect ブール null -> on
|
||||
irc.server.libera.autoreconnect_delay 整数 null -> 10
|
||||
irc.server.libera.autorejoin ブール null -> off
|
||||
irc.server.libera.autorejoin_delay 整数 null -> 30
|
||||
irc.server.libera.away_check 整数 null -> 0
|
||||
irc.server.libera.away_check_max_nicks 整数 null -> 25
|
||||
irc.server.libera.capabilities 文字列 null -> "*"
|
||||
irc.server.libera.charset_message enum null -> message
|
||||
irc.server.libera.command 文字列 null -> ""
|
||||
irc.server.libera.command_delay 整数 null -> 0
|
||||
irc.server.libera.connection_timeout 整数 null -> 60
|
||||
irc.server.libera.default_chantypes 文字列 null -> "#&"
|
||||
irc.server.libera.ipv6 enum null -> auto
|
||||
irc.server.libera.local_hostname 文字列 null -> ""
|
||||
irc.server.libera.msg_kick 文字列 null -> ""
|
||||
irc.server.libera.msg_part 文字列 null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit 文字列 null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks 文字列 null -> "${username},${username}2,${username}3,${username}4,${username}5"
|
||||
irc.server.libera.nicks_alternate ブール null -> on
|
||||
irc.server.libera.notify 文字列 null -> ""
|
||||
irc.server.libera.password 文字列 null -> ""
|
||||
irc.server.libera.proxy 文字列 null -> ""
|
||||
irc.server.libera.realname 文字列 null -> ""
|
||||
irc.server.libera.registered_mode 文字列 null -> "r"
|
||||
irc.server.libera.sasl_fail enum null -> reconnect
|
||||
irc.server.libera.sasl_key 文字列 null -> ""
|
||||
irc.server.libera.sasl_mechanism enum null -> plain
|
||||
irc.server.libera.sasl_password 文字列 "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout 整数 null -> 15
|
||||
irc.server.libera.sasl_username 文字列 "alice"
|
||||
irc.server.libera.split_msg_max_length 整数 null -> 512
|
||||
irc.server.libera.tls ブール null -> on
|
||||
irc.server.libera.tls_cert 文字列 null -> ""
|
||||
irc.server.libera.tls_dhkey_size 整数 null -> 2048
|
||||
irc.server.libera.tls_fingerprint 文字列 null -> ""
|
||||
irc.server.libera.tls_password 文字列 null -> ""
|
||||
irc.server.libera.tls_priorities 文字列 null -> "NORMAL"
|
||||
irc.server.libera.tls_verify ブール null -> on
|
||||
irc.server.libera.usermode 文字列 null -> ""
|
||||
irc.server.libera.username 文字列 null -> "${username}"
|
||||
....
|
||||
|
||||
For example if you want to automatically connect to all servers you define
|
||||
@@ -4934,13 +4943,21 @@ For example:
|
||||
Now you can connect on port 9000 with a WeeChat or a remote interface using
|
||||
password "mypassword".
|
||||
|
||||
To connect to an _api_ relay with WeeChat:
|
||||
To connect to an _api_ relay running locally with WeeChat:
|
||||
|
||||
----
|
||||
/remote add weechat http://localhost:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
To connect to an _api_ relay running elsewhere with WeeChat
|
||||
(TLS is highly recommended):
|
||||
|
||||
----
|
||||
/remote add weechat https://example.com:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
The remote WeeChat must expose the same API version as the local WeeChat, so
|
||||
it's highly recommended to use exactly the same WeeChat version on remote
|
||||
@@ -4982,7 +4999,7 @@ HTML5 を使えばたった 1 行の JavaScript で WebSocket をオープンす
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
websocket = new WebSocket("ws://server.com:9500/weechat");
|
||||
websocket = new WebSocket("ws://example.com:9500/weechat");
|
||||
----
|
||||
|
||||
ポート番号 (例では 9500 番) は Relay プラグインで定義したものです。
|
||||
@@ -6056,7 +6073,7 @@ For privacy considerations, the download of scripts is disabled by default. +
|
||||
To enable it, type this command:
|
||||
|
||||
----
|
||||
/set script.scripts.download_enabled on
|
||||
/script enable
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
@@ -6067,33 +6084,33 @@ with the <<command_script_script,/script>> command:
|
||||
:x: *
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
|
||||
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
|
||||
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
||||
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
|
||||
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
|
||||
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
|
||||
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
|
||||
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
|
||||
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
|
||||
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
|
||||
│1.weechat│322/322 個のスクリプト (フィルタ: {x}) | ソート: i,p,n | Alt+key/input: i=インストール、r=削除、l=ロ>>│
|
||||
│2.scripts│{x} autosort.py 3.10 2023-12-31 | サーバによるグループ化と名前によるソート│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | ハイライトモニタバッファを追加。 │
|
||||
│ │{x}ia r grep.py 0.8.6 0.8.6 2022-11-11 | バッファとログファイルから正規表現で検索│
|
||||
│ │{x} colorize_nicks.py 32 2023-10-30 | チャットエリアとコマンドラインで weechat│
|
||||
│ │##{x}ia r go.py 3.0.1 3.0.1 2024-05-30 | 素早くバッファへ移動。 ##│
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L│
|
||||
│ │ aformat.py 0.2 2018-06-21 | テキスト書式を変更します、書式機能を持た│
|
||||
│ │ alternatetz.py 0.4 2022-01-25 | 代替タイムゾーン要素を追加。 │
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 の操作と現在再生中の局に関する │
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | プライベートメッセージとハイライトを AMQ│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | URL タイトルをユーザまたはチャンネルに通│
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | プライベートメッセージ、ハイライト、DCC │
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidental│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | ユーザが s/誤/正 を送信したらテキストを │
|
||||
│ │ arespond.py 0.1.2 2022-01-25 | 単純な自動応答。 │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | "@" 文字の後でニックネームのタブ補完。 │
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Audacious が現在再生中の曲を表示。 │
|
||||
│ │ auth.rb 0.3 2014-05-30 | SASL ユーザ名およびパスワードを使って Ni│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | 簡単な自動離席スクリプト。 │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | ニックネームを変更した際に自動認証を許可│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | バッファの活発さに応じて並び替える。 │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | 変更されたオプションを .weerc ファイルに│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | WeeChat の終了時に開いていたサーバとチャ│
|
||||
│ │ autojoin_on_invite.py 0.9 2022-10-25 | チャンネルに招待されたら自動的に参加。 │
|
||||
│ │ automarkbuffer.py 1.0 2015-03-31 | 特定の時間内に新しいメッセージを受け取っ│
|
||||
│ │ automerge.py 0.2 2018-03-03 | 新しいバッファを事前に定義した規則に従っ│
|
||||
│ │[12:55] [2] [script] 2:scripts │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Polish translation, courtesy of Łukasz Dziedziul <l.dziedziul@gmail.com> with updates via Matthew Blissett <mblissett@gbif.org>
|
||||
:appendix-caption: Dodatek
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Uwaga
|
||||
:chapter-signifier: Rozdział
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Przykład
|
||||
:figure-caption: Rysunek
|
||||
:important-caption: Ważne
|
||||
:last-update-label: Ostatnio zmodyfikowany
|
||||
ifdef::listing-caption[:listing-caption: Listing]
|
||||
ifdef::manname-title[:manname-title: Nazwa]
|
||||
:note-caption: Notka
|
||||
:part-signifier: Część
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Wstęp]
|
||||
:section-refsig: Sekcja
|
||||
:table-caption: Tabela
|
||||
:tip-caption: Sugestia
|
||||
:toc-title: Spis treści
|
||||
:untitled-label: Bez tytułu
|
||||
:version-label: Wersja
|
||||
:warning-caption: Ostrzeżenie
|
||||
@@ -33,9 +33,8 @@
|
||||
*-h*, *--help*::
|
||||
Wyświetla pomoc.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-i*, *--build-info*::
|
||||
Display build information and exit.
|
||||
Wyświetla informację o kompilacji.
|
||||
|
||||
*-l*, *--license*::
|
||||
Wyświetla licencję.
|
||||
|
||||
@@ -101,7 +101,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat jest tworzony przez Sébastien Helleu i społeczność (pełna lista dostępna
|
||||
jest w pliku AUTHORS.md).
|
||||
|
||||
Copyright (C) 2003-2024 {author}
|
||||
Copyright (C) 2003-2025 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: pl
|
||||
:toc-title: Spis treści
|
||||
include::includes/attributes-pl.adoc[]
|
||||
|
||||
Tłumaczenie:
|
||||
|
||||
@@ -313,8 +313,7 @@ samą zawartość obecnie wybranego okna, bez żadnego formatowania.
|
||||
Możesz użyć terminala z prostokątnym zaznaczaniem (jak rxvt-unicode,
|
||||
konsole, gnome-terminal, ...). Klawisze to zazwyczaj kbd:[Ctrl] + kbd:[Alt] + zaznaczenie myszką.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can toggle nicklist and make it visible only when needed, with key
|
||||
Możesz wyłączyć listę nicków i włączyć ją, kiedy będzie potrzebna za pomocą
|
||||
kbd:[Alt+Shift+N].
|
||||
|
||||
Innym rozwiązaniem jest przesunięcie listy nicków na górę lub dół, na przykład:
|
||||
@@ -331,8 +330,7 @@ Możesz użyć prostego trybu wyświetlania (domyślnie: kbd:[Alt+l] (`L`)).
|
||||
|
||||
Żeby operowanie na URLach było latwiejsze możesz:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* toggle nicklist and make it visible only when needed, with key kbd:[Alt+Shift+N]
|
||||
* wyłączyć listę nicków i pokazać ja tylko, kiedy będzie potrzebna, za pomocą kbd:[Alt+Shift+N]
|
||||
|
||||
* przenieść listę nicków na górę:
|
||||
|
||||
@@ -1241,7 +1239,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /ścieżka/do/weechat
|
||||
[[supported_os]]
|
||||
=== Jaka jest lista platform wspieranych przez WeeChat? Czy będzie przeportowany na inne systemy operacyjne?
|
||||
|
||||
WeeChat działa dobrze na większości systemów Linux/BSD, GNU/Hurd, Mac OS i Windowsie
|
||||
WeeChat działa dobrze na większości systemów Linux/BSD, GNU/Hurd, macOS i Windowsie
|
||||
(Cygwin i Windows Subsystem for Linux).
|
||||
|
||||
Robimy co w naszej mocy, aby WeeChat działał na tylu platformach ile to tylko
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: pl
|
||||
:toc-title: Spis treści
|
||||
include::includes/attributes-pl.adoc[]
|
||||
|
||||
Tłumaczenie:
|
||||
|
||||
@@ -271,7 +271,7 @@ Zamknij serwer, kanał albo prywatny bufor (`/close` to alias dla
|
||||
/close
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Zamknięcie buforu serwera poskutkuje zamknięciem wszystkich buforów prywatnych/kanałów.
|
||||
|
||||
Rozłączanie się z serwerem, w buforze serwera:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: pl
|
||||
:toc-title: Spis treści
|
||||
include::includes/attributes-pl.adoc[]
|
||||
|
||||
Tłumaczenie:
|
||||
|
||||
@@ -72,7 +72,7 @@ link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat ^↗^^]
|
||||
|
||||
WeeChat definiuje moduł `weechat`, który należy zaimportowac poprzez `import weechat`. +
|
||||
Szkielet API WeeChat dla języka Python dostępny jest w repozytorium:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
|
||||
[[python_functions]]
|
||||
===== Funkcje
|
||||
|
||||
+145
-134
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: pl
|
||||
:toc-title: Spis treści
|
||||
include::includes/attributes-pl.adoc[]
|
||||
|
||||
Tłumaczenie:
|
||||
|
||||
@@ -469,7 +469,7 @@ WeeChat w przypadku wystąpienia problemu:
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Powinieneś włączyć tą opcję tylko jeśli chcesz wymusić awarię aplikacji,
|
||||
nie powinno się tego używać do codziennej pracy.
|
||||
|
||||
@@ -606,7 +606,7 @@ include::includes/cmdline_options.pl.adoc[tag=standard]
|
||||
|
||||
Kilka dodatkowych opcji jest dostępne tylko do celu debugowania:
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
*NIE* używaj żadnej z nich podczas codziennej pracy!
|
||||
|
||||
include::includes/cmdline_options.pl.adoc[tag=debug]
|
||||
@@ -821,7 +821,7 @@ weechat --upgrade
|
||||
==== Informacje o aktualizacji
|
||||
|
||||
Po aktualizacji *zaleca się* zapoznanie z plikiem
|
||||
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^],
|
||||
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^],
|
||||
który zawiera ważne informacje o niekompatybilnych zmianach i czynnościach,
|
||||
jakie mogą być wymagane.
|
||||
|
||||
@@ -881,7 +881,7 @@ Przykład terminala z WeeChat:
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │ │ │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* [H: 3:#abc(2,5), 5] │
|
||||
│ │[12:55] [5] [irc/libera] 2:#test(+n){4}* M [H: 3:#abc(2,5), 5] │
|
||||
│ │[@Flashy(i)] hi peter!█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
▲ bars "status" and "input" bar "nicklist" ▲
|
||||
@@ -920,32 +920,34 @@ Pasek _status_ posiada następujące domyślne elementy:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Element | Przykład | Opis
|
||||
| time | `[12:55]` | Czas.
|
||||
| buffer_last_number | `[5]` | Numer ostatniego buforu na liście.
|
||||
| buffer_plugin | `[irc/libera]` | Wtyczka dla obecnego bufora (wtyczka irc może dodać nazwę serwera IRC używanego przez bufor).
|
||||
| buffer_number | `2` | Numer obecnego buforu.
|
||||
| buffer_name | `#test` | Nazwa obecnego buforu.
|
||||
| buffer_modes | `+n` | Tryby kanału IRC.
|
||||
| buffer_nicklist_count | `{4}` | Ilość nicków wyświetlanych na liście nicków.
|
||||
| buffer_zoom | ! | `!` oznacza, że połączony bufor jest przybliżony (tylko ten jest wyświetlany), pusta wartość oznacza, że wszystkie połączone bufory są wyświetlane.
|
||||
| buffer_filter | `+*+` | Wskaźnik filtrowania: `+*+` oznacza, że niektóre linie zostały odfiltrowywane (ukryte), pusta wartość oznacza, że wszystkie linie są wyświetlane.
|
||||
| scroll | `-Więcej(50)-` | Wskaźnik przewijania, z numerem linii poniżej ostatniej wyświetlanej.
|
||||
| lag | `[Lag: 2.5]` | Wskaźnik opóźnienia, w sekundach (ukryty dla niskich opóźnień).
|
||||
| hotlist | `[H: 3:#abc(2,5), 5]` | Lista buforów z aktywnością (nieprzeczytane wiadomości) (w przykładzie, 2 podświetlenia i 5 nieprzeczytanych wiadomości w _#abc_, jedna wiadomość w buforze #5).
|
||||
| completion | `abc(2) def(5)` | Lista słów do dopełnienia, z ilością możliwych dopełnień dla każdego słowa.
|
||||
| Element | Przykład | Opis
|
||||
| time | `12:55` | Czas.
|
||||
| buffer_last_number | `5` | Liczba najnowszych buforów (może się różnić od `buffer_count` jeśli opcja <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> jest ustawiona na `off`).
|
||||
| buffer_plugin | `irc/libera` | Wtyczka dla obecnego bufora (wtyczka irc może dodać nazwę serwera IRC używanego przez bufor).
|
||||
| buffer_number | `2` | Numer obecnego buforu.
|
||||
| buffer_name | `#test` | Nazwa obecnego buforu.
|
||||
| buffer_modes | `+n` | Tryby kanału IRC.
|
||||
| buffer_nicklist_count | `4` | Ilość nicków wyświetlanych na liście nicków.
|
||||
| buffer_zoom | ! | `!` oznacza, że połączony bufor jest przybliżony (tylko ten jest wyświetlany), pusta wartość oznacza, że wszystkie połączone bufory są wyświetlane.
|
||||
| buffer_filter | `+*+` | Wskaźnik filtrowania: `+*+` oznacza, że niektóre linie zostały odfiltrowywane (ukryte), pusta wartość oznacza, że wszystkie linie są wyświetlane.
|
||||
| mouse_status | `M` | Status obsługi myszy (pusty jeśli obsługa myszy jest wyłączona), zobacz <<command_weechat_mouse,/mouse>> i <<key_bindings_toggle_keys,Włącz/wyłącz>>.
|
||||
| scroll | `-Więcej(50)-` | Wskaźnik przewijania, z numerem linii poniżej ostatniej wyświetlanej.
|
||||
| lag | `Lag: 2.5` | Wskaźnik opóźnienia, w sekundach (ukryty dla niskich opóźnień).
|
||||
| hotlist | `H: 3:#abc(2,5), 5` | Lista buforów z aktywnością (nieprzeczytane wiadomości) (w przykładzie, 2 podświetlenia i 5 nieprzeczytanych wiadomości w _#abc_, jedna wiadomość w buforze #5).
|
||||
| typing | `Typing: bob, (alice)` | Powiadomienia o pisaniu, zobacz <<typing_notifications,Powiadomienia o pisaniu>>.
|
||||
| completion | `abc(2) def(5)` | Lista słów do dopełnienia, z ilością możliwych dopełnień dla każdego słowa.
|
||||
|===
|
||||
|
||||
Pasek _input_ posiada następujące domyślne elementy:
|
||||
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Element | Przykład | Opis
|
||||
| input_prompt | `[@Flashy(i)]` | Input prompt, dla irc: nick i tryby (tryb "+i" oznacza niewidzialny na libera).
|
||||
| away | `(away)` | Wskaźnik nieobecności.
|
||||
| input_search | `[Search lines (~ str,msg)]` | Wskaźnik wyszukiwania (zobacz poniżej).
|
||||
| input_paste | `[Wkleić 7 linii ? [ctrl-y] Tak [ctrl-n] Nie]` | Pyta użytkownika podczas wklejania kilku linii tekstu.
|
||||
| input_text | `hi peter!` | Wprowadzony tekst.
|
||||
| Element | Przykład | Opis
|
||||
| input_prompt | `@Flashy(i)` | Input prompt, dla irc: nick i tryby (tryb "+i" oznacza niewidzialny na libera).
|
||||
| away | `away` | Wskaźnik nieobecności.
|
||||
| input_search | `Search lines (~ str,msg)` | Wskaźnik wyszukiwania (zobacz poniżej).
|
||||
| input_paste | `Wkleić 7 linii ? [ctrl-y] Tak [ctrl-n] Nie` | Pyta użytkownika podczas wklejania kilku linii tekstu.
|
||||
| input_text | `hi peter!` | Wprowadzony tekst.
|
||||
|===
|
||||
|
||||
Dostępne są dwa tryby wyszukiwania:
|
||||
@@ -980,8 +982,7 @@ Inne dostępne elementy (nie używane domyślnie w paskach):
|
||||
[width="100%",cols="^3,^3,9",options="header"]
|
||||
|===
|
||||
| Element | Przykład | Opis
|
||||
| buffer_count | `10` | Liczba otwartych buforów.
|
||||
| buffer_last_number | `10` | Liczba najnowszych buforów (może się różnić od `buffer_count` jeśli opcja <<option_weechat.look.buffer_auto_renumber,weechat.look.buffer_auto_renumber>> jest ustawiona na `off`).
|
||||
| buffer_count | `5` | Liczba otwartych buforów.
|
||||
| buffer_nicklist_count_all | `4` | Liczba widocznych grup i nicków na nickliście.
|
||||
| buffer_nicklist_count_groups | `0` | Liczba widocznych grup na nickliście.
|
||||
| buffer_short_name | `#test` | Skrócona nazwa obecnego buforu.
|
||||
@@ -996,7 +997,7 @@ Inne dostępne elementy (nie używane domyślnie w paskach):
|
||||
| irc_nick_host | `+Flashy!user@host.com+` | Aktualny nick i host IRC.
|
||||
| irc_nick_modes | `i` | Atrybuty IRC dla własnego nicka.
|
||||
| irc_nick_prefix | `@` | Prefiks nicku na kanale IRC.
|
||||
| mouse_status | `M` | Status obsługi myszy (pusty jeśli obsługa myszy jest wyłączona).
|
||||
| spacer | | Specjalny element używany do wyrównania tekstu na paskach, zobacz <<item_spacer,Odstęp>>.
|
||||
| spell_dict | `fr,en` | Słowniki używane w obecnym buforze.
|
||||
| spell_suggest | `print,prone,prune` | Sugestie dla słowa pod kursorem (jeśli zawiera błąd).
|
||||
| tls_version | `TLS1.3` | Wersja TLS używana przez obecny serwer IRC.
|
||||
@@ -1760,11 +1761,12 @@ Można je zmienić oraz dodać nowe za pomocą komendy <<command_weechat_key,/ke
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| Skrót | Opis | Komenda
|
||||
| kbd:[Alt+m] | Włącz/wyłącz obsługę myszy. | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | Włącz/wyłącz sprawdzenie pisowni. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | Włącz/wyłącz filtry. | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | Włącz/wyłącz filtry w bieżącym buforze. | `+/filter toggle @+`
|
||||
| Skrót | Opis | Komenda
|
||||
| kbd:[Alt+m] | Włącz/wyłącz obsługę myszy. | `+/mouse toggle+`
|
||||
| kbd:[Alt+s] | Włącz/wyłącz sprawdzenie pisowni. | `+/mute spell toggle+`
|
||||
| kbd:[Alt+=] | Włącz/wyłącz filtry. | `+/filter toggle+`
|
||||
| kbd:[Alt+-] | Włącz/wyłącz filtry w bieżącym buforze. | `+/filter toggle @+`
|
||||
| kbd:[Alt+Ctrl+l] (`L`) | Przełącz między lokalnymi komendami a zdalnym buforem (relay "api"). | `+/remote togglecmd+`
|
||||
|===
|
||||
|
||||
[[key_bindings_search_context]]
|
||||
@@ -2034,27 +2036,27 @@ Przykład bufora fset wyświetlający opcje zaczynające się od `weechat.look`
|
||||
[subs="quotes"]
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│1/121 | Filter: weechat.look.* | Sort: ~name | Key(input): alt+space=toggle │
|
||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||
│ │hanges in input [default: on] │
|
||||
│1.weechat│7/125 | Filtr: weechat.look.* | Sortowanie: ~name | Klawisz(wejście): alt+>>│
|
||||
│2.fset │weechat.look.bare_display_exit_on_input: wyjście z trybu niesformatowanego w│
|
||||
│ │yświetlania po każdej zmianie wejścia [domyślnie: on] │
|
||||
│ │----------------------------------------------------------------------------│
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words boolean on │
|
||||
│ │ weechat.look.bar_more_down string "++" │
|
||||
│ │ weechat.look.bar_more_left string "<<" │
|
||||
│ │ weechat.look.bar_more_right string ">>" │
|
||||
│ │ weechat.look.bar_more_up string "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||
│ │ weechat.look.buffer_search_regex boolean off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||
│ │ weechat.look.buffer_time_same string "" │
|
||||
│ │ weechat.look.align_end_of_lines enum message │
|
||||
│ │ weechat.look.align_multiline_words bool on │
|
||||
│ │ weechat.look.bar_more_down ciąg "++" │
|
||||
│ │ weechat.look.bar_more_left ciąg "<<" │
|
||||
│ │ weechat.look.bar_more_right ciąg ">>" │
|
||||
│ │ weechat.look.bar_more_up ciąg "--" │
|
||||
│ │## weechat.look.bare_display_exit_on_input bool on ##│
|
||||
│ │ weechat.look.bare_display_time_format ciąg "%H:%M" │
|
||||
│ │ weechat.look.buffer_auto_renumber bool on │
|
||||
│ │ weechat.look.buffer_notify_default enum all │
|
||||
│ │ weechat.look.buffer_position enum end │
|
||||
│ │ weechat.look.buffer_search_case_sensitive bool off │
|
||||
│ │ weechat.look.buffer_search_force_default bool off │
|
||||
│ │ weechat.look.buffer_search_history enum local │
|
||||
│ │ weechat.look.buffer_search_regex bool off │
|
||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
||||
│ │ weechat.look.buffer_time_format ciąg "%H:%M:%S" │
|
||||
│ │[12:55] [2] [fset] 2:fset │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────┘
|
||||
@@ -3423,13 +3425,15 @@ weechat irc://alice@irc.libera.chat/#weechat,#weechat-fr
|
||||
Domyślnie nie są zdefiniowane żadne serwery. Możesz dodać ich tyle ile chcesz
|
||||
za pomocą polecenia <<command_irc_server,/server>>.
|
||||
|
||||
Na przykład w celu połączenia się do https://libera.chat/[libera.chat ^↗^^]
|
||||
używając TLS (szyfrowane połączenie):
|
||||
Na przykład w celu połączenia się do https://libera.chat/[libera.chat ^↗^^]:
|
||||
|
||||
----
|
||||
/server add libera irc.libera.chat/6697 -tls
|
||||
/server add libera irc.libera.chat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Domyślny port to 6697 i TLS (szyfrowanie ruchu) jest włączone.
|
||||
|
||||
Możesz powiedzieć WeeChat, aby automatycznie łączył się z tym serwerem po
|
||||
uruchomieniu:
|
||||
|
||||
@@ -3472,51 +3476,52 @@ Na przykład jeśli stworzyłeś serwer _libera_ za pomocą po wyższych komend
|
||||
zobaczysz to po wykonaniu `/fset libera`:
|
||||
|
||||
....
|
||||
irc.server.libera.addresses string "irc.libera.chat/6697"
|
||||
irc.server.libera.anti_flood_prio_high integer null -> 2
|
||||
irc.server.libera.anti_flood_prio_low integer null -> 2
|
||||
irc.server.libera.autoconnect boolean on
|
||||
irc.server.libera.autojoin string null -> ""
|
||||
irc.server.libera.autojoin_dynamic boolean null -> off
|
||||
irc.server.libera.autoreconnect boolean null -> on
|
||||
irc.server.libera.autoreconnect_delay integer null -> 10
|
||||
irc.server.libera.autorejoin boolean null -> off
|
||||
irc.server.libera.autorejoin_delay integer null -> 30
|
||||
irc.server.libera.away_check integer null -> 0
|
||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||
irc.server.libera.capabilities string null -> "*"
|
||||
irc.server.libera.charset_message enum null -> message
|
||||
irc.server.libera.command string null -> ""
|
||||
irc.server.libera.command_delay integer null -> 0
|
||||
irc.server.libera.connection_timeout integer null -> 60
|
||||
irc.server.libera.default_chantypes string null -> "#&"
|
||||
irc.server.libera.ipv6 boolean null -> on
|
||||
irc.server.libera.local_hostname string null -> ""
|
||||
irc.server.libera.msg_kick string null -> ""
|
||||
irc.server.libera.msg_part string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit string null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks string null -> "alice,alice1,alice2,alice3,alice4"
|
||||
irc.server.libera.nicks_alternate boolean null -> on
|
||||
irc.server.libera.notify string null -> ""
|
||||
irc.server.libera.password string null -> ""
|
||||
irc.server.libera.proxy string null -> ""
|
||||
irc.server.libera.realname string null -> ""
|
||||
irc.server.libera.sasl_fail enum null -> reconnect
|
||||
irc.server.libera.sasl_key string null -> ""
|
||||
irc.server.libera.sasl_mechanism enum null -> plain
|
||||
irc.server.libera.sasl_password string "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout integer null -> 15
|
||||
irc.server.libera.sasl_username string "alice"
|
||||
irc.server.libera.split_msg_max_length integer null -> 512
|
||||
irc.server.libera.tls boolean on
|
||||
irc.server.libera.tls_cert string null -> ""
|
||||
irc.server.libera.tls_dhkey_size integer null -> 2048
|
||||
irc.server.libera.tls_fingerprint string null -> ""
|
||||
irc.server.libera.tls_password string null -> ""
|
||||
irc.server.libera.tls_priorities string null -> "NORMAL:-VERS-SSL3.0"
|
||||
irc.server.libera.tls_verify boolean null -> on
|
||||
irc.server.libera.usermode string null -> ""
|
||||
irc.server.libera.username string null -> "alice"
|
||||
irc.server.libera.addresses ciąg "irc.libera.chat"
|
||||
irc.server.libera.anti_flood liczba null -> 2000
|
||||
irc.server.libera.autoconnect bool on
|
||||
irc.server.libera.autojoin ciąg null -> ""
|
||||
irc.server.libera.autojoin_delay liczba null -> 0
|
||||
irc.server.libera.autojoin_dynamic bool null -> off
|
||||
irc.server.libera.autoreconnect bool null -> on
|
||||
irc.server.libera.autoreconnect_delay liczba null -> 10
|
||||
irc.server.libera.autorejoin bool null -> off
|
||||
irc.server.libera.autorejoin_delay liczba null -> 30
|
||||
irc.server.libera.away_check liczba null -> 0
|
||||
irc.server.libera.away_check_max_nicks liczba null -> 25
|
||||
irc.server.libera.capabilities ciąg null -> "*"
|
||||
irc.server.libera.charset_message enum null -> message
|
||||
irc.server.libera.command ciąg null -> ""
|
||||
irc.server.libera.command_delay liczba null -> 0
|
||||
irc.server.libera.connection_timeout liczba null -> 60
|
||||
irc.server.libera.default_chantypes ciąg null -> "#&"
|
||||
irc.server.libera.ipv6 enum null -> auto
|
||||
irc.server.libera.local_hostname ciąg null -> ""
|
||||
irc.server.libera.msg_kick ciąg null -> ""
|
||||
irc.server.libera.msg_part ciąg null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.msg_quit ciąg null -> "WeeChat ${info:version}"
|
||||
irc.server.libera.nicks ciąg null -> "${username},${username}2,${username}3,${username}4,${username}5"
|
||||
irc.server.libera.nicks_alternate bool null -> on
|
||||
irc.server.libera.notify ciąg null -> ""
|
||||
irc.server.libera.password ciąg null -> ""
|
||||
irc.server.libera.proxy ciąg null -> ""
|
||||
irc.server.libera.realname ciąg null -> ""
|
||||
irc.server.libera.registered_mode ciąg null -> "r"
|
||||
irc.server.libera.sasl_fail enum null -> reconnect
|
||||
irc.server.libera.sasl_key ciąg null -> ""
|
||||
irc.server.libera.sasl_mechanism enum null -> plain
|
||||
irc.server.libera.sasl_password ciąg "${sec.data.libera}"
|
||||
irc.server.libera.sasl_timeout liczba null -> 15
|
||||
irc.server.libera.sasl_username ciąg "alice"
|
||||
irc.server.libera.split_msg_max_length liczba null -> 512
|
||||
irc.server.libera.tls bool null -> on
|
||||
irc.server.libera.tls_cert ciąg null -> ""
|
||||
irc.server.libera.tls_dhkey_size liczba null -> 2048
|
||||
irc.server.libera.tls_fingerprint ciąg null -> ""
|
||||
irc.server.libera.tls_password ciąg null -> ""
|
||||
irc.server.libera.tls_priorities ciąg null -> "NORMAL"
|
||||
irc.server.libera.tls_verify bool null -> on
|
||||
irc.server.libera.usermode ciąg null -> ""
|
||||
irc.server.libera.username ciąg null -> "${username}"
|
||||
....
|
||||
|
||||
Na przykład jeśli chcesz automatycznie połączyć się ze wszystkimi zdefiniowanym
|
||||
@@ -4726,17 +4731,23 @@ Na przykład:
|
||||
----
|
||||
|
||||
Możesz teraz połączyć się na porcie 9000 używając WeeChat lub zdalnym interfejsem
|
||||
używając hasła
|
||||
Now you can connect on port 9000 with a WeeChat or a remote interface using
|
||||
password "moje_hasło".
|
||||
używając hasła 'mypassword'.
|
||||
|
||||
Łączenie się z pośrednikiem _api_ z WeeChat:
|
||||
Połączenie z pośrednikiem _api_ działającym lokalnie z WeeChat:
|
||||
|
||||
----
|
||||
/remote add weechat http://localhost:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
Połączenie z pośrednikiem _api_ działającym gdzieś z WeeChat
|
||||
(TLS jest baredzo zalecany):
|
||||
|
||||
----
|
||||
/remote add weechat https://example.com:9000 -password=mypassword
|
||||
/remote connect weechat
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Zdalny WeeChat musi używać tej samej wersji API co lokalny WeeChat, zaleca się
|
||||
używanie dokładnie tych samych wersji WeeChat zarówno lokalnie jak i na zdalnej
|
||||
@@ -4778,7 +4789,7 @@ WebSocket może zostać otworzony w HTML5 za pomocą jednej linii w JavaScript:
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
websocket = new WebSocket("ws://server.com:9500/weechat");
|
||||
websocket = new WebSocket("ws://example.com:9500/weechat");
|
||||
----
|
||||
|
||||
Port (9500 w przykładzie) to port zdefiniowany we wtyczce relay.
|
||||
@@ -5834,7 +5845,7 @@ W trosce o prywatność pobieranie skryptów jest domyślnie wyłąćzone. +
|
||||
Żeby je włączyć, wpisz poniższe polecenie:
|
||||
|
||||
----
|
||||
/set script.scripts.download_enabled on
|
||||
/script enable
|
||||
----
|
||||
|
||||
Następnie możesz pobrać listę skryptów i wyświetlić je w nowym buforze
|
||||
@@ -5844,33 +5855,33 @@ za pomocą polecenia <<command_script_script,/script>>:
|
||||
:x: *
|
||||
....
|
||||
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
|
||||
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
|
||||
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
|
||||
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
|
||||
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
|
||||
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
|
||||
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
|
||||
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
|
||||
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
|
||||
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
|
||||
│1.weechat│322/322 skrypty (filtr: {x}) | Sort: i,p,n | Alt+klawisz/wejście: i=instaluj r=usuń l=załaduj L=prze>>│
|
||||
│2.scripts│{x} autosort.py 3.10 2023-12-31 | Automatycznie grupowanie buforów wg serw│
|
||||
│ │{x} highmon.pl 2.7 2020-06-21 | Dodaje bufor monitorujący higlighty. │
|
||||
│ │{x}ia r grep.py 0.8.6 0.8.6 2022-11-11 | Przeszukuje bufor lub plik z logami za p│
|
||||
│ │{x} colorize_nicks.py 32 2023-10-30 | Używaj kolorów nicków weechat w oknie ro│
|
||||
│ │##{x}ia r go.py 3.0.1 3.0.1 2024-05-30 | Szybkie przemieszczanie się pomiędzy buf##│
|
||||
│ │ aesthetic.py 1.0.6 2020-10-25 | Spraw, że wiadomości będą bardziej E S T│
|
||||
│ │ aformat.py 0.2 2018-06-21 | Alternatywne formatowanie tekstu, przyda│
|
||||
│ │ alternatetz.py 0.4 2022-01-25 | Dodaje alternatywny element strefy czaso│
|
||||
│ │ amarok2.pl 0.7 2012-05-08 | Kontrola i wyświetlanie aktualnie odtwar│
|
||||
│ │ amqp_notify.rb 0.1 2011-01-12 | Wysyła prywatne wiadomości i higlighty d│
|
||||
│ │ announce_url_title.py 19 2021-06-05 | Prezentuje tytuł URL'a użytkownikowi lub│
|
||||
│ │ anotify.py 1.0.2 2020-05-16 | Powiadomienia na ekranie dla prywatnych │
|
||||
│ │ anti_password.py 1.2.1 2021-03-13 | Zapobiega przypadkowemu wysłaniu hasła d│
|
||||
│ │ apply_corrections.py 1.3 2018-06-21 | Wyświetla poprawiony tekst, kiedy użytko│
|
||||
│ │ arespond.py 0.1.2 2022-01-25 | Prosty autoresponder. │
|
||||
│ │ atcomplete.pl 0.001 2016-10-29 | Dopełnianie tabem dla nicków poprzedzony│
|
||||
│ │ audacious.pl 0.3 2009-05-03 | Wyświetla aktualnie odtwarzany utwór prz│
|
||||
│ │ auth.rb 0.3 2014-05-30 | Automatyczne uwierzytelnianie w NickServ│
|
||||
│ │ auto_away.py 0.4 2018-11-11 | Prosty skrypt auto-away. │
|
||||
│ │ autoauth.py 1.3 2021-11-07 | Pozwala na automatyczną identyfikację po│
|
||||
│ │ autobump.py 0.1.0 2019-06-14 | Ustawia bufory według aktywności. │
|
||||
│ │ autoconf.py 0.4 2021-05-11 | Automatyczne zapisywanie/ładowanie zapis│
|
||||
│ │ autoconnect.py 0.3.3 2019-10-06 | Otwiera kanały i serwery otwarte przed o│
|
||||
│ │ autojoin_on_invite.py 0.9 2022-10-25 | Automatycznie wchodzi na kanał po otrzym│
|
||||
│ │ automarkbuffer.py 1.0 2015-03-31 | Oznacza bufor jako przeczytany jeśli nie│
|
||||
│ │ automerge.py 0.2 2018-03-03 | Automatyczna łączenie nowych buforów zgo│
|
||||
│ │[12:55] [2] [script] 2:scripts │
|
||||
│ │█ │
|
||||
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Russian translation, courtesy of Alexander Zobkov <alexander.zobkov@gmail.com>
|
||||
:appendix-caption: Приложение
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Внимание
|
||||
:chapter-signifier: Глава
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Пример
|
||||
:figure-caption: Рисунок
|
||||
:important-caption: Важно
|
||||
:last-update-label: Последнее обновление
|
||||
ifdef::listing-caption[:listing-caption: Листинг]
|
||||
ifdef::manname-title[:manname-title: Название]
|
||||
:note-caption: Примечание
|
||||
:part-signifier: Часть
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Предисловие]
|
||||
:section-refsig: Раздел
|
||||
:table-caption: Таблица
|
||||
:tip-caption: Подсказка
|
||||
:toc-title: Содержание
|
||||
:untitled-label: Без названия
|
||||
:version-label: Версия
|
||||
:warning-caption: Предупреждение
|
||||
@@ -99,7 +99,7 @@ $HOME/.local/share/weechat/weechat.log::
|
||||
WeeChat написан Sébastien Helleu и другими участниками (полный список находится
|
||||
в файле AUTHORS.md).
|
||||
|
||||
Copyright (C) 2003-2024 {author}
|
||||
Copyright (C) 2003-2025 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ru
|
||||
include::includes/attributes-ru.adoc[]
|
||||
|
||||
Переводчики:
|
||||
|
||||
@@ -291,7 +292,7 @@ channels configured in the "autojoin" server option.
|
||||
/close
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Закрытие соединения с сервером закроет все каналы/частные буферы.
|
||||
|
||||
Отключиться от сервера, на серверном буфере:
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Serbian Cyrillic translation, courtesy of Bojan Stipic <bojan-7@live.com>
|
||||
:appendix-caption: Додатак
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Опрез
|
||||
:chapter-signifier: Поглавље
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Пример
|
||||
:figure-caption: Слика
|
||||
:important-caption: Важно
|
||||
:last-update-label: Последње ажурирано
|
||||
ifdef::listing-caption[:listing-caption: Листинг]
|
||||
ifdef::manname-title[:manname-title: Назив]
|
||||
:note-caption: Белешка
|
||||
:part-signifier: Део
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Предговор]
|
||||
:section-refsig: Секција
|
||||
:table-caption: Табела
|
||||
:tip-caption: Савет
|
||||
:toc-title: Садржај
|
||||
:untitled-label: Без назива
|
||||
:version-label: Верзија
|
||||
:warning-caption: Упозорење
|
||||
@@ -20,9 +20,8 @@
|
||||
*-h*, *--help*::
|
||||
Приказује помоћ.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-i*, *--build-info*::
|
||||
Display build information and exit.
|
||||
Приказује информације о изградњи и прекида извршавање.
|
||||
|
||||
*-l*, *--license*::
|
||||
Приказује лиценцу програма WeeChat.
|
||||
|
||||
@@ -97,7 +97,7 @@ $HOME/.config/weechat/weechat.log::
|
||||
// tag::copyright[]
|
||||
Програм WeeChat је написао Себастијен Елеу и људи који су дали свој допринос (комплетна листа се налази у фајлу AUTHORS.md).
|
||||
|
||||
Ауторска права (C) 2003-2024 {author}
|
||||
Ауторска права (C) 2003-2025 {author}
|
||||
|
||||
WeeChat је слободни софтвер; можете га редистрибуирати и/или изменити под условима ГНУ Опште Јавне Лиценце коју је објавила Free Software Foundation; или верзије 3 Лиценце, или (по вашој жељи) било којој каснијој верзији.
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2021.
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2025.
|
||||
|
||||
Ово упутство описује WeeChat чет клијент и део је програма WeeChat.
|
||||
|
||||
@@ -328,6 +328,7 @@ WeeChat „језгро” се налази у следећим директо
|
||||
| relay/ | Релеј додатак (IRC прокси и релеј за удаљене интерфејсе).
|
||||
| relay.c | Главне релеј функције.
|
||||
| relay-auth.c | Аутентификација клијената.
|
||||
| relay-bar-item.c | Ставке траке Релеја.
|
||||
| relay-buffer.c | Релеј бафер.
|
||||
| relay-client.c | Клијенти релеја.
|
||||
| relay-command.c | Релеј команде.
|
||||
@@ -424,10 +425,11 @@ WeeChat „језгро” се налази у следећим директо
|
||||
| test-core-crypto.cpp | Тестови: криптографске функције.
|
||||
| test-core-dir.cpp | Тестови: функције директоријума/фајла.
|
||||
| test-core-eval.cpp | Тестови: израчунавање израза.
|
||||
| test-core-hashtble.cpp | Тестови: hashtables.
|
||||
| test-core-hashtable.cpp | Тестови: hashtables.
|
||||
| test-core-hdata.cpp | Тестови: hdata.
|
||||
| test-core-hook.cpp | Тестови: куке.
|
||||
| test-core-infolist.cpp | Тестови: infolists.
|
||||
| test-core-input.cpp | Тестови: функције за унос.
|
||||
| test-core-list.cpp | Тестови: листе.
|
||||
| test-core-network.cpp | Тестови: мрежне функције.
|
||||
| test-core-secure.cpp | Тестови: обезбеђени подаци.
|
||||
@@ -574,7 +576,7 @@ WeeChat „језгро” се налази у следећим директо
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* Copyright (C) 2024 Your Name <your@email.com>
|
||||
* Copyright (C) 2025 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2021.
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2025.
|
||||
|
||||
[[general]]
|
||||
== Опште
|
||||
@@ -264,8 +264,7 @@ _прозор_ је површина екрана која приказује б
|
||||
|
||||
Можете да користите терминал са правоугаоним избором (као rxvt-unicode, konsole, gnome-terminal, итд.). Тастер је обично kbd:[Ctrl] + kbd:[Alt] + избор мишем.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can toggle nicklist and make it visible only when needed, with key
|
||||
Листу надимака можете да укључите/искључите и да је прикажете само када је потребна, користећи пречицу
|
||||
kbd:[Alt+Shift+N].
|
||||
|
||||
Друго решење је да листу надимака померите на врх или дно, на пример:
|
||||
@@ -282,8 +281,7 @@ kbd:[Alt+Shift+N].
|
||||
|
||||
Ако желите да олакшате отварање URL адреса, можете да:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* toggle nicklist and make it visible only when needed, with key kbd:[Alt+Shift+N]
|
||||
* укључите/искључите листу надимака и да је прикажете само када је потребна, користећи пречицу kbd:[Alt+Shift+N]
|
||||
|
||||
* померите листу надимака на врх:
|
||||
|
||||
@@ -534,7 +532,7 @@ UXTerm*metaSendsEscape: true
|
||||
|
||||
Ако извршавате WeeChat < 4.0.0 са конфигурационим фајловима које је креирала било
|
||||
која верзија ≥ 4.0.0, имена тастера постану неисправна и многи тастери уопште неће радити. +
|
||||
Да бисте их поправили, напустите WeeChat, уклоните из weechat.conf све одељке `[key*]`
|
||||
Да бисте их поправили, напустите WeeChat, уклоните из weechat.conf све одељке `[key*]`
|
||||
и поново покрените WeeChat: креираће се сви подразумевани тастери.
|
||||
|
||||
[[key_f11]]
|
||||
@@ -1115,7 +1113,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /путања/до/програма/weecha
|
||||
[[supported_os]]
|
||||
=== Како изгледа листа платформи које подржава програм WeeChat? Да ли ће се портовати на друге оперативне системе?
|
||||
|
||||
WeeChat се лепо извршава на већини Linux/BSD дистрибуција, GNU/Hurd, Mac OS и Windows (Cygwin и Windows Subsystem for Linux).
|
||||
WeeChat се лепо извршава на већини Linux/BSD дистрибуција, GNU/Hurd, macOS и Windows (Cygwin и Windows Subsystem for Linux).
|
||||
|
||||
Чинимо што год можемо како би се извршавао на што више различитих платформи. Потребна нам је помоћ око неких ОС које не поседујемо, како би могли да тестирамо програм WeeChat.
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2021.
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2025.
|
||||
|
||||
Ово упутство описује WeeChat чет клијент и део је програма WeeChat.
|
||||
|
||||
@@ -3451,7 +3451,7 @@ const char *weechat_string_concat (const char *separator, ...);
|
||||
|
||||
[NOTE]
|
||||
Последњи аргумент *MUST* увек да буде NULL. +
|
||||
Може да се употреби макро `WEECHAT_STR_CONCAT`, тамо где није потребна
|
||||
Може да се употреби макро `WEECHAT_STR_CONCAT`, тамо где није потребна
|
||||
завршна NULL вредност (препоручује се уптореба овог макроа).
|
||||
|
||||
Повратна вредност:
|
||||
@@ -4624,7 +4624,7 @@ weechat_printf (NULL, "date: %s",
|
||||
|
||||
==== util_strftimeval
|
||||
|
||||
_WeeChat ≥ 4.2.0, ажурирано у 4.3.0._
|
||||
_WeeChat ≥ 4.2.0, ажурирано у 4.3.0, 4.6.4._
|
||||
|
||||
Форматира датум и време као функција `strftime` из C библиотеке, користећи `struct timeval`
|
||||
као улаз уз подршку за додатне спецификаторе.
|
||||
@@ -4641,6 +4641,9 @@ int weechat_util_strftimeval (char *string, int max, const char *format, struct
|
||||
* _string_: бафер у који се смешта форматирани стринг
|
||||
* _max_: величина стринга
|
||||
* _format_: формат, исто као за _strftime_ функцију, са следећим додатним спецификаторима:
|
||||
// TRANSLATION MISSING
|
||||
** `%@`: return the date expressed in Coordinated Universal Time (UTC)
|
||||
instead of date relative to the user's specified timezone _(WeeChat ≥ 4.7.0)_
|
||||
** `%.N` где је `N` између 1 и 6: микросекунде допуњене нулама на N цифара
|
||||
(на пример `%.3` за милисекунде)
|
||||
** `%f`: алијас за `%.6`
|
||||
@@ -4657,8 +4660,8 @@ C пример:
|
||||
char time[256];
|
||||
struct timeval tv;
|
||||
gettimeofday (&tv, NULL);
|
||||
weechat_util_strftimeval (time, sizeof (time), "%FT%T.%f", &tv);
|
||||
/* резултат: 2023-12-26T18:10:04.460509 */
|
||||
weechat_util_strftimeval (time, sizeof (time), "%@%FT%T.%fZ", &tv);
|
||||
/* резултат: 2023-12-26T18:10:04.460509Z */
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -7900,7 +7903,7 @@ def config_boolean_inherited(option: str) -> int: ...
|
||||
|
||||
# пример
|
||||
option = weechat.config_get("irc.server.libera.autoconnect")
|
||||
autoconect = weechat.config_boolean_inherited(option)
|
||||
autoconnect = weechat.config_boolean_inherited(option)
|
||||
----
|
||||
|
||||
==== config_integer
|
||||
@@ -9233,7 +9236,7 @@ _WeeChat ≥ 0.3.6, ажурирано у верзији 2.0._
|
||||
|
||||
Уклања тастерску пречицу (или више њих).
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Када се ова функција позива, обезбедите да не уклоните корисникове тастерске пречице.
|
||||
|
||||
Прототип:
|
||||
@@ -10702,6 +10705,12 @@ _WeeChat ≥ 4.1.0._
|
||||
|
||||
URL трансфер.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
This function is similar to <<_hook_process,hook_process>> and
|
||||
<<_hook_process_hashtable,hook_process_hashtable>> with command "url:..."
|
||||
but it uses a thread instead of new process, making it more lightweight
|
||||
and thus recommended for this usage.
|
||||
|
||||
Прототип:
|
||||
|
||||
[source,c]
|
||||
@@ -10878,12 +10887,9 @@ struct t_hook *weechat_hook_connect (const char *proxy,
|
||||
* _address_: име или IP адреса са којом се повезује
|
||||
* _port_: број порта
|
||||
* _ipv6_:
|
||||
// TRANSLATION MISSING
|
||||
** `WEECHAT_HOOK_CONNECT_IPV6_DISABLE` ^(1)^: disable IPv6 (use only IPv4)
|
||||
// TRANSLATION MISSING
|
||||
** `WEECHAT_HOOK_CONNECT_IPV6_AUTO` ^(1)^: use IPv6 with fallback to IPv4
|
||||
// TRANSLATION MISSING
|
||||
** `WEECHAT_HOOK_CONNECT_IPV6_FORCE` ^(1)^: force IPv6 (do not use IPv4) _(WeeChat ≥ 4.4.0)_
|
||||
** `WEECHAT_HOOK_CONNECT_IPV6_DISABLE` ^(1)^: искључује IPv6 (користи се само IPv4)
|
||||
** `WEECHAT_HOOK_CONNECT_IPV6_AUTO` ^(1)^: користи се IPv6 са преласком на IPv4 по потреби
|
||||
** `WEECHAT_HOOK_CONNECT_IPV6_FORCE` ^(1)^: форсира се IPv6 (не користи се IPv4) _(WeeChat ≥ 4.4.0)_
|
||||
* _retry_: број поновних покушаја, користи се за прелаз на IPv4 хостове ако се IPv6 хостови успостављају везу али онда не прихватају клијента
|
||||
* _gnutls_sess_: GnuTLS сесија (није обавезна)
|
||||
* _gnutls_cb_: GnuTLS функција повратног позива (није обавезна)
|
||||
@@ -10921,11 +10927,10 @@ struct t_hook *weechat_hook_connect (const char *proxy,
|
||||
* _callback_pointer_: показивач који се прослеђује функцији повратног позива када је позове програм WeeChat
|
||||
* _callback_data_: показивач који се прослеђује функцији повратног позива када је позове програм WeeChat; ако није NULL, алоцирала га је malloc (или нека слична функција) и аутоматски се ослобађа када се кука обрише
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
^(1)^ Constants for parameter _ipv6_ are available since WeeChat 4.4.0. +
|
||||
For older releases, allowed values are `1` (use IPv6 with fallback to IPv4) and
|
||||
`0` (disable IPv6, use only IPv4). +
|
||||
^(1)^ Констате за параметар _ipv6_ су доступне почевши од WeeChat 4.4.0. +
|
||||
У старијим издањима су дозвољене вредности `1` (користи се IPv6 са преласком на IPv4 у случају потребе) и
|
||||
`0` (искључује се IPv6, користи се само IPv4). +
|
||||
^(2)^ У скриптама и програмом WeeChat ≥ 2.0, аргументи функције повратног позива _status_, _gnutls_rc_ и _sock_ су цели бројеви (у програму WeeChat ≤ 1.9, били су стрингови). +
|
||||
Да би се одржала компатибилност са свим верзијама, препоручује се да аргумент пре употребе конвертујете у цео број, на пример у језику Python: `int(sock)`.
|
||||
|
||||
@@ -11273,7 +11278,7 @@ C пример:
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_line_cb (const void *pointer, void *data, struct t_hasbtable *line)
|
||||
my_line_cb (const void *pointer, void *data, struct t_hashtable *line)
|
||||
{
|
||||
struct t_hashtable *hashtable;
|
||||
|
||||
@@ -11854,8 +11859,7 @@ struct t_hook *weechat_hook_signal (const char *signal,
|
||||
|
||||
| weechat | [[hook_signal_buffer_time_for_each_line_changed]] buffer_time_for_each_line_changed | 4.4.0
|
||||
| Показивач: бафер.
|
||||
// TRANSLATION MISSING
|
||||
| Display time for each line changed.
|
||||
| Време приказа за сваку измењену линију.
|
||||
|
||||
| weechat | [[hook_signal_buffer_type_changed]] buffer_type_changed |
|
||||
| Показивач: бафер.
|
||||
@@ -11967,15 +11971,13 @@ struct t_hook *weechat_hook_signal (const char *signal,
|
||||
| Стринг: комбинација тастера.
|
||||
| Комбинација тастера у _cursor_ контексту.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | [[hook_signal_layout_buffers_applied]] layout_buffers_applied | 4.4.0
|
||||
| String: layout name.
|
||||
| Layout applied for buffers.
|
||||
| Стринг: име распореда.
|
||||
| Распоред који се примењује за бафере.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | [[hook_signal_layout_windows_applied]] layout_windows_applied | 4.4.0
|
||||
| String: layout name.
|
||||
| Layout applied for windows.
|
||||
| Стринг: име распореда.
|
||||
| Распоред који се примењује за прозоре.
|
||||
|
||||
| weechat | [[hook_signal_mouse_enabled]] mouse_enabled | 1.1
|
||||
| - |
|
||||
@@ -12170,7 +12172,7 @@ hook = weechat.hook_signal("quit;upgrade", "my_signal_cb", "")
|
||||
|
||||
==== hook_signal_send
|
||||
|
||||
_Ажурирано у верзији 1.0._
|
||||
_Ажурирано у верзији 1.0, 4.5.0._
|
||||
|
||||
Шаље сигнал.
|
||||
|
||||
@@ -12184,10 +12186,22 @@ int weechat_hook_signal_send (const char *signal, const char *type_data,
|
||||
|
||||
Аргументи:
|
||||
|
||||
* _signal_: сигнал који се шаље
|
||||
// TRANSLATION MISSING
|
||||
* _signal_: сигнал који се шаље; flags are allowed before the signal name (see below)
|
||||
_(WeeChat ≥ 4.5.0)_
|
||||
* _type_data_: тип података који се шаљу уз сигнал (погледајте <<_hook_signal,hook_signal>>)
|
||||
* _signal_data_: подаци који се шаљу уз сигнал
|
||||
|
||||
// TRANSLATION MISSING
|
||||
The signal name can contain flags with the following format: `[flags:xxx,yyy]signal`
|
||||
where `xxx` and `yyy` are names of flags, and `signal` the signal name. +
|
||||
The following flags are supported:
|
||||
|
||||
* _stop_on_error_: exit immediately if a callback returns WEECHAT_RC_ERROR
|
||||
(remaining callbacks are then NOT executed) _(WeeChat ≥ 4.5.0)_
|
||||
* _ignore_eat_: consider any callback returning WEECHAT_RC_OK_EAT is in fact
|
||||
WEECHAT_RC_OK and execute remaining callbacks _(WeeChat ≥ 4.5.0)_
|
||||
|
||||
Повратна вредност _(WeeChat ≥ 1.0)_:
|
||||
|
||||
* повратни кôд последње извршене функције повратног позива (_WEECHAT_RC_OK_ ако ниједна функција повратног позива није била извршена):
|
||||
@@ -12200,6 +12214,8 @@ C пример:
|
||||
[source,c]
|
||||
----
|
||||
int rc = weechat_hook_signal_send ("my_signal", WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||
int rc2 = weechat_hook_signal_send ("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
WEECHAT_HOOK_SIGNAL_STRING, my_string);
|
||||
----
|
||||
|
||||
Скрипта (Python):
|
||||
@@ -12209,8 +12225,10 @@ int rc = weechat_hook_signal_send ("my_signal", WEECHAT_HOOK_SIGNAL_STRING, my_s
|
||||
# прототип
|
||||
def hook_signal_send(signal: str, type_data: str, signal_data: str) -> int: ...
|
||||
|
||||
# пример
|
||||
# примери
|
||||
rc = weechat.hook_signal_send("my_signal", weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||
rc2 = weechat.hook_signal_send("[flags:stop_on_error,ignore_eat]my_signal2",
|
||||
weechat.WEECHAT_HOOK_SIGNAL_STRING, my_string)
|
||||
----
|
||||
|
||||
[[signal_logger_backlog]]
|
||||
@@ -12483,7 +12501,7 @@ hook = weechat.hook_hsignal("test", "my_hsignal_cb", "")
|
||||
|
||||
==== hook_hsignal_send
|
||||
|
||||
_WeeChat ≥ 0.3.4, ажурирано у верзији 1.0._
|
||||
_WeeChat ≥ 0.3.4, ажурирано у верзији 1.0, 4.5.0._
|
||||
|
||||
Шаље hsignal (сигнал са хеш табелом).
|
||||
|
||||
@@ -12496,7 +12514,9 @@ int weechat_hook_hsignal_send (const char *signal, struct t_hashtable *hashtable
|
||||
|
||||
Аргументи:
|
||||
|
||||
* _signal_: сигнал који се шаље
|
||||
// TRANSLATION MISSING
|
||||
* _signal_: сигнал који се шаље; flags are allowed before the signal name
|
||||
(see function <<_hook_signal_send,hook_signal_send>>) _(WeeChat ≥ 4.5.0)_
|
||||
* _hashtable_: хеш табела
|
||||
|
||||
Повратна вредност _(WeeChat ≥ 1.0)_:
|
||||
@@ -12510,7 +12530,7 @@ C пример:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int rc;
|
||||
int rc, rc2;
|
||||
struct t_hashtable *hashtable = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
@@ -12520,6 +12540,7 @@ if (hashtable)
|
||||
{
|
||||
weechat_hashtable_set (hashtable, "key", "value");
|
||||
rc = weechat_hook_hsignal_send ("my_hsignal", hashtable);
|
||||
rc2 = weechat_hook_hsignal_send ("[flags:stop_on_error,ignore_eat]my_hsignal2", hashtable);
|
||||
weechat_hashtable_free (hashtable);
|
||||
}
|
||||
----
|
||||
@@ -12531,8 +12552,9 @@ if (hashtable)
|
||||
# прототип
|
||||
def hook_hsignal_send(signal: str, hashtable: Dict[str, str]) -> int: ...
|
||||
|
||||
# пример
|
||||
# примери
|
||||
rc = weechat.hook_hsignal_send("my_hsignal", {"key": "value"})
|
||||
rc2 = weechat.hook_hsignal_send("[flags:stop_on_error,ignore_eat]my_hsignal2", {"key": "value"})
|
||||
----
|
||||
|
||||
[[hsignal_irc_redirect_command]]
|
||||
@@ -13608,6 +13630,11 @@ void weechat_hook_set (struct t_hook *hook, const char *property,
|
||||
| Име под додатка (обично је то име скрипте које се приказује у
|
||||
`/help команда` за куку типа _command_).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| keep_spaces_right | 4.6.0 | _command_, _command_run_
|
||||
| "0" or "1"
|
||||
| Keep trailing spaces in command arguments when it is executed.
|
||||
|
||||
| stdin | 0.4.3 | _process_, _process_hashtable_ | било који стринг
|
||||
| Шаље податке на стандардни улаз (_stdin_) дете процеса.
|
||||
|
||||
@@ -14446,6 +14473,12 @@ void weechat_buffer_set (struct t_gui_buffer *buffer, const char *property,
|
||||
се *НЕ* проверавају) +
|
||||
"-1": уклања бафер из вруће листе _(WeeChat ≥ 1.0)_.
|
||||
|
||||
| hotlist_conditions | 4.5.0 | WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE,
|
||||
WEECHAT_HOTLIST_PRIVATE, WEECHAT_HOTLIST_HIGHLIGHT
|
||||
| приоритет: бафер се на врућу листу додаје са овим приоритетом
|
||||
(услови дефинисани у опцији _weechat.look.hotlist_add_conditions_
|
||||
се проверавају).
|
||||
|
||||
| completion_freeze | | "0" или "1"
|
||||
| "0": нема замрзавања довршавања (подразумевана вредност)
|
||||
(глобално подешавање, не користи се показивач на бафер) +
|
||||
@@ -15074,7 +15107,9 @@ void weechat_window_set_title (const char *title);
|
||||
|
||||
Аргументи:
|
||||
|
||||
* _title_: нови наслов за терминал (NULL ако желите да ресетујете наслов); стринг се израчунава, тако да је могуће коришћење променљивих као што је `${info:version}` (погледајте <<_string_eval_expression,string_eval_expression>>)
|
||||
* _title_: нови наслов за терминал; стринг се израчунава, тако да је могуће
|
||||
коришћење променљивих као што је `${info:version}`
|
||||
(погледајте <<_string_eval_expression,string_eval_expression>>)
|
||||
|
||||
C пример:
|
||||
|
||||
@@ -16399,7 +16434,7 @@ rc = weechat.command(weechat.buffer_search("irc", "libera.#weechat"), "/whois Fl
|
||||
|
||||
==== command_options
|
||||
|
||||
_WeeChat ≥ 2.5, ажурирано у верзији 4.0.0._
|
||||
_WeeChat ≥ 2.5, ажурирано у верзији 4.0.0, 4.5.0._
|
||||
|
||||
Извршава команду или шаље текст у бафер са опцијама.
|
||||
|
||||
@@ -16414,9 +16449,12 @@ int weechat_command_options (struct t_gui_buffer *buffer, const char *command,
|
||||
Аргументи:
|
||||
|
||||
* _buffer_: показивач на бафер (команда се извршава у овом баферу, употребите NULL за текући бафер)
|
||||
* _command_: команда која се извршава (ако почиње са „/”), или текст који се шаље у бафер
|
||||
* _command_: команда која се извршава (ако почиње са `/` или командним карактером), или текст који се шаље у бафер
|
||||
* _options_: хеш табела са неким опцијама (кључеви и вредности морају бити стринг) (може да буде NULL):
|
||||
** _commands_: листа команди које смеју да се изврше током овог позива раздвојене запетама; за формат, погледајте функцију <<_string_match_list,string_match_list>>
|
||||
** _commands_: листа команди које смеју да се изврше током овог позива раздвојене запетама
|
||||
(за формат, погледајте функцију <<_string_match_list,string_match_list>>);
|
||||
специјална вредност `-` (цртица-минус) искључује извршавање команди
|
||||
и стрингу _command_ се шаље у бафер онакав какав је (_WeeChat ≥ 4.5.0_)
|
||||
** _delay_: пауза за извршавање команде, у милисекундама
|
||||
** _split_newline_: `1` да се команде поделе на карактеру прелома линије (`\n`) (_WeeChat ≥ 4.0.0_)
|
||||
|
||||
@@ -16449,7 +16487,7 @@ rc = weechat_command_options (NULL, "/some_command arguments", options);
|
||||
def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ...
|
||||
|
||||
# пример: дозвољава се било која команда осим /exec
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"})
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"})
|
||||
----
|
||||
|
||||
[[completion]]
|
||||
@@ -16602,6 +16640,73 @@ def my_completion_cb(data: str, completion_item: str, buffer: str, completion: s
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_set
|
||||
|
||||
_WeeChat ≥ 4.6.0._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Set a completion property.
|
||||
|
||||
Прототип:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
void weechat_completion_get_string (struct t_gui_completion *completion,
|
||||
const char *property,
|
||||
const char *value);
|
||||
----
|
||||
|
||||
Аргументи:
|
||||
|
||||
* _completion_: показивач на довршавање
|
||||
* _property_: име особине (погледајте табелу испод)
|
||||
* _value_: нова вредност за особину
|
||||
|
||||
Особине:
|
||||
|
||||
[width="100%",cols="^2,^1,4,8",options="header"]
|
||||
|===
|
||||
| Име | Мин WeeChat | Вредност | Опис
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| add_space | 4.6.0 | "0" or "1"
|
||||
| "0": do not add space after completion +
|
||||
"1": add space after completion (default).
|
||||
|===
|
||||
|
||||
C пример:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
int
|
||||
my_completion_cb (const void *pointer, void *data, const char *completion_item,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_gui_completion *completion)
|
||||
{
|
||||
/* do not add space after completion */
|
||||
weechat_completion_set (completion, "add_space", "0");
|
||||
|
||||
/* ... */
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
----
|
||||
|
||||
Скрипта (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# прототип
|
||||
def completion_set(completion: str, property: str, value: str) -> int: ...
|
||||
|
||||
# пример
|
||||
def my_completion_cb(data: str, completion_item: str, buffer: str, completion: str) -> int:
|
||||
# do not add space after completion
|
||||
weechat.completion_set(completion, "add_space", "0")
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----
|
||||
|
||||
==== completion_list_add
|
||||
|
||||
_WeeChat ≥ 2.9._
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2021.
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2025.
|
||||
|
||||
[[start]]
|
||||
== Покретање програма WeeChat
|
||||
@@ -238,7 +238,7 @@ WeeChat такође можете подесити да аутоматски а
|
||||
/close
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
[CAUTION]
|
||||
Затварање бафера сервера ће затворити и све бафере канала и приватне бафере.
|
||||
|
||||
Прекид везе са сервером, у баферу сервера:
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2021.
|
||||
* Иван Пешић (<ivan.pesic@gmail.com>), 2025.
|
||||
|
||||
[[introduction]]
|
||||
== Увод
|
||||
@@ -2004,8 +2004,7 @@ hda:
|
||||
|
||||
Ова порука се шаље клијенту онда када WeeChat пошаље сигнал „buffer_line_data_changed”.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Data sent as hdata: same data as <<message_buffer_line_added,_buffer_line_added>>.
|
||||
Подаци се шаљу као hdata: исти подаци као <<message_buffer_line_added,_buffer_line_added>>.
|
||||
|
||||
Пример: порука _hello!_ од надимка _FlashCode_ у баферу _irc.libera.#weechat_ је ажурирана:
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user