mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
Compare commits
136 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e6687759a | |||
| f968bb9c91 | |||
| 6b1d55203b | |||
| 65cdc2603a | |||
| 7640273c30 | |||
| e87d2b4717 | |||
| b80c58fb39 | |||
| b06e3ed68e | |||
| c3c2609acd | |||
| 6247e437c0 | |||
| 195af30e7d | |||
| dd3032171a | |||
| 2ced34f803 | |||
| 62fced3213 | |||
| da256bbad7 | |||
| 43bb20c4c3 | |||
| 86e1af7ab9 | |||
| ad66bba2f8 | |||
| 5ba6c7a0d2 | |||
| f9c3d0ae0a | |||
| 83749f491c | |||
| d79342dafd | |||
| 999ba00ac6 | |||
| df7a428454 | |||
| 1d6eb273c6 | |||
| ae93fa1fef | |||
| 7fabd8068f | |||
| a48dd9d481 | |||
| 2ee71c7699 | |||
| c7cf41c357 | |||
| 7c21c6b993 | |||
| 563654901c | |||
| 517c04ae65 | |||
| a317d0823a | |||
| a399d3f68c | |||
| b0e4e20205 | |||
| 5df21f38f3 | |||
| 90e7857e62 | |||
| 480d603eb5 | |||
| 3184bb92e6 | |||
| 753a2adffc | |||
| 020c8145b6 | |||
| a33f0d2132 | |||
| 7a3ae654be | |||
| 64403cefc1 | |||
| 9621c4381b | |||
| 0ff08971aa | |||
| 19bb049325 | |||
| e33da6292d | |||
| be6b27c8f9 | |||
| 2d9b133c77 | |||
| 6c36836182 | |||
| 15214f9538 | |||
| 7f13bdb51a | |||
| 49bbc53d7c | |||
| eb17fa24ee | |||
| c7d03668f1 | |||
| 8575546aa2 | |||
| 2c716e8154 | |||
| 49b1cb06b5 | |||
| 75a0755107 | |||
| 79b03d0680 | |||
| f43ed913f5 | |||
| 1fcbdb3bd9 | |||
| 1aab82f20b | |||
| 58141bde79 | |||
| 7f6e626122 | |||
| 15860532f3 | |||
| 8b7513e883 | |||
| 2566fca78c | |||
| a82bfa0e7e | |||
| 48d33521dc | |||
| e3f6dab366 | |||
| 1a05f89586 | |||
| c811072bdf | |||
| 4ae396825c | |||
| 87e47894e6 | |||
| ad75786e15 | |||
| 39fdb1b564 | |||
| c5eb982424 | |||
| e7bf09f4e8 | |||
| 27972b9c5d | |||
| ab7b51db72 | |||
| 647d7033cf | |||
| 4fe1ba7016 | |||
| 29db9b95ee | |||
| 270d64cfa1 | |||
| 4eabcdf840 | |||
| 77911680bb | |||
| bc5b287622 | |||
| 7c0b16df81 | |||
| f3bc66b255 | |||
| a23d8f2198 | |||
| f4c6caabb3 | |||
| f416688e84 | |||
| 1dc7ae6b68 | |||
| b06e09d00b | |||
| 89090b10e8 | |||
| fad7231f90 | |||
| cf1e073446 | |||
| b4fc345a13 | |||
| b2cd9d002b | |||
| 9312211d49 | |||
| 2ad27b41a5 | |||
| ef68312393 | |||
| 7aa490e360 | |||
| 36ea983d04 | |||
| a4e7e18c14 | |||
| ea934864d4 | |||
| 6e7fe96046 | |||
| 82daed8076 | |||
| bcc061292d | |||
| 3b26d6750e | |||
| 71f8c2ba17 | |||
| 2d91845d53 | |||
| ed67f4bf0a | |||
| e311564387 | |||
| 2781f38052 | |||
| 6c9ff45e5c | |||
| 3203ee8f05 | |||
| b71af61581 | |||
| 2304029d61 | |||
| b06edae3e3 | |||
| 7d78be3a1b | |||
| 1107205059 | |||
| bd9978e467 | |||
| b4d999010a | |||
| 9939f939aa | |||
| 929d6fd452 | |||
| db117f34dd | |||
| f546796b49 | |||
| dd3277adbb | |||
| cb7647a3ea | |||
| 21292f7464 | |||
| 3c433b5106 | |||
| b578a0a4b9 |
@@ -1,25 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a bug report (please do not report security issues here)
|
||||||
|
labels: bug
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Please do not report any security issue here, see file Contributing.adoc -->
|
||||||
|
|
||||||
|
## Bug summary
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Steps to reproduce
|
||||||
|
|
||||||
|
1.
|
||||||
|
2.
|
||||||
|
3.
|
||||||
|
|
||||||
|
## Current behavior
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Expected behavior
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Suggested solutions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Additional information
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- MANDATORY INFO: -->
|
||||||
|
|
||||||
|
- WeeChat version:
|
||||||
|
- OS, distribution and version:
|
||||||
|
- Terminal:
|
||||||
|
- Terminal multiplexer (screen/tmux/…/none):
|
||||||
@@ -1,110 +0,0 @@
|
|||||||
name: Bug report
|
|
||||||
description: Create a bug report
|
|
||||||
labels: ["bug"]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
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/main/CONTRIBUTING.md#security-reports).
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: bug-description
|
|
||||||
attributes:
|
|
||||||
label: Describe the bug
|
|
||||||
description: A clear and concise description of what the bug is.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: steps-to-reproduce
|
|
||||||
attributes:
|
|
||||||
label: Steps to reproduce
|
|
||||||
description: |
|
|
||||||
Steps to reproduce the issue.
|
|
||||||
If possible, please try to reproduce with a default configuration and no scripts loaded (`weechat -t`). If the issue is related to a script, please mention the list of all scripts loaded.
|
|
||||||
placeholder: |
|
|
||||||
|
|
||||||
1.
|
|
||||||
2.
|
|
||||||
3.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: current-behavior
|
|
||||||
attributes:
|
|
||||||
label: Current behavior
|
|
||||||
description: |
|
|
||||||
What currently happens.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: expected-behavior
|
|
||||||
attributes:
|
|
||||||
label: Expected behavior
|
|
||||||
description: What is actually supposed to happen.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: suggested-solutions
|
|
||||||
attributes:
|
|
||||||
label: Suggested solutions
|
|
||||||
description: How you think this issue can be resolved.
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: additional-information
|
|
||||||
attributes:
|
|
||||||
label: Additional information
|
|
||||||
description: |
|
|
||||||
For a crash, please include a backtrace from gdb, see the [User's guide](https://weechat.org/doc/weechat/user/#report_crashes).
|
|
||||||
For a display issue, please add a screenshot if it makes sense.
|
|
||||||
Please mention if other versions are affected as well and if some versions are not affected (regression?).
|
|
||||||
And any additional information you deem relevant.
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: weechat-version
|
|
||||||
attributes:
|
|
||||||
label: WeeChat version
|
|
||||||
description: |
|
|
||||||
For a stable release: output of `weechat --version`.
|
|
||||||
For the development version: output of command `/v` in WeeChat.
|
|
||||||
placeholder: "4.1.1"
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: os-version
|
|
||||||
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, ...
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: terminal
|
|
||||||
attributes:
|
|
||||||
label: On which terminal are you running WeeChat?
|
|
||||||
description: The name of terminal if you think it can be related to the issue (mainly for display issues).
|
|
||||||
placeholder: Terminator, Xterm, GNOME Terminal, Urxvt, ...
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: terminal-multiplexer
|
|
||||||
attributes:
|
|
||||||
label: Which terminal multiplexer are you using?
|
|
||||||
description: The name of the terminal multiplexer if you think it can be related to the issue (mainly for display issues).
|
|
||||||
placeholder: none, tmux, screen, ...
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Request a new feature / enhancement
|
||||||
|
labels: feature
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Feature description
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
name: Feature request
|
|
||||||
description: Request a new feature / enhancement
|
|
||||||
labels: ["feature"]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
Before submitting a feature request, please check that it has not already been reported by searching in [open and closed feature requests](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Afeature).
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: feature
|
|
||||||
attributes:
|
|
||||||
label: Feature description
|
|
||||||
description: A description of the feature you would like.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
name: Question
|
||||||
|
about: >
|
||||||
|
Ask a question (please read first FAQ and docs and ask on #weechat channel
|
||||||
|
before opening any question issue)
|
||||||
|
labels: question
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Please read first FAQ/docs and ask on #weechat channel before opening any question issue -->
|
||||||
|
|
||||||
|
## Question
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
- WeeChat version:
|
||||||
|
- OS, distribution and version:
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
name: Question
|
|
||||||
description: Ask a question
|
|
||||||
labels: ["question"]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
Before opening an issue with a question:
|
|
||||||
- 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:
|
|
||||||
label: Question
|
|
||||||
description: Your question.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
+54
-290
@@ -1,131 +1,41 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
- push
|
||||||
pull_request:
|
- pull_request
|
||||||
schedule:
|
|
||||||
- cron: '22 9 * * 2'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WEECHAT_DEPS_UBUNTU: >-
|
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-3.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php-dev libphp-embed libargon2-dev libsodium-dev flake8 pylint python3-bandit asciidoctor ruby-pygments.rb shellcheck
|
||||||
asciidoctor
|
|
||||||
build-essential
|
|
||||||
cmake
|
|
||||||
curl
|
|
||||||
devscripts
|
|
||||||
equivs
|
|
||||||
flake8
|
|
||||||
gem2deb
|
|
||||||
guile-3.0-dev
|
|
||||||
lcov
|
|
||||||
libargon2-dev
|
|
||||||
libaspell-dev
|
|
||||||
libcjson-dev
|
|
||||||
libcpputest-dev
|
|
||||||
libcurl4-gnutls-dev
|
|
||||||
libgcrypt20-dev
|
|
||||||
libgnutls28-dev
|
|
||||||
liblua5.3-dev
|
|
||||||
libncurses-dev
|
|
||||||
libperl-dev
|
|
||||||
libphp-embed
|
|
||||||
libsodium-dev
|
|
||||||
libv8-dev
|
|
||||||
libzstd-dev
|
|
||||||
ninja-build
|
|
||||||
php-dev
|
|
||||||
pipx
|
|
||||||
pkgconf
|
|
||||||
pylint
|
|
||||||
python3-bandit
|
|
||||||
python3-dev
|
|
||||||
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:
|
jobs:
|
||||||
|
|
||||||
tests_ubuntu:
|
tests_linux:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-24.04
|
- ubuntu-22.04
|
||||||
config:
|
config:
|
||||||
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
||||||
- { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" }
|
- { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" }
|
||||||
- { name: "gcc_no_nls", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_NLS=OFF -DENABLE_DOC=OFF" }
|
- { name: "gcc_no_nls", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_NLS=OFF -DENABLE_DOC=OFF" }
|
||||||
- { name: "gcc_no_zstd", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_ZSTD=OFF -DENABLE_DOC=OFF" }
|
|
||||||
- { name: "gcc_no_cjson", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CJSON=OFF -DENABLE_DOC=OFF" }
|
|
||||||
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
||||||
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
||||||
|
|
||||||
name: "${{ matrix.os }} (${{ matrix.config.name }})"
|
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPS_UBUNTU }}
|
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)
|
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||||
sudo apt-get --yes purge php8.3-imagick
|
sudo apt-get --yes purge php8.1-imagick
|
||||||
pipx install msgcheck
|
sudo -H pip3 install --ignore-installed msgcheck
|
||||||
|
|
||||||
- name: Check gettext files
|
- name: Check gettext files
|
||||||
run: msgcheck po/*.po
|
run: msgcheck po/*.po
|
||||||
@@ -134,7 +44,7 @@ jobs:
|
|||||||
run: ./tools/check_scripts.sh
|
run: ./tools/check_scripts.sh
|
||||||
|
|
||||||
- name: Check Python stub file
|
- name: Check Python stub file
|
||||||
run: ./tools/generate_python_stub.py | diff src/plugins/python/weechat.pyi -
|
run: ./doc/python_stub.py | diff src/plugins/python/weechat.pyi -
|
||||||
|
|
||||||
- name: Check Curl symbols
|
- name: Check Curl symbols
|
||||||
run: curl --silent --show-error --fail --retry 10 https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
|
run: curl --silent --show-error --fail --retry 10 https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
|
||||||
@@ -152,28 +62,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
weechat --help
|
weechat --help
|
||||||
weechat-curses --help
|
weechat-curses --help
|
||||||
weechat --version
|
|
||||||
weechat --build-info
|
|
||||||
weechat --colors
|
weechat --colors
|
||||||
weechat --license
|
weechat --license
|
||||||
|
weechat --version
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
- name: Test Relay OpenAPI
|
|
||||||
if: ${{ matrix.config.name == 'gcc' }}
|
|
||||||
env:
|
|
||||||
RELAY_PASSWORD: test
|
|
||||||
run: |
|
|
||||||
pipx install schemathesis==3.39.16
|
|
||||||
weechat-headless \
|
|
||||||
--dir /tmp/weechat-test-api \
|
|
||||||
--run-command '/set relay.network.password "${{ env.RELAY_PASSWORD }}"' \
|
|
||||||
--run-command '/relay add api 9000' \
|
|
||||||
--daemon \
|
|
||||||
;
|
|
||||||
sleep 5
|
|
||||||
./tools/test_relay_api.sh http://localhost:9000
|
|
||||||
echo '*/quit' >/tmp/weechat-test-api/weechat_fifo_*
|
|
||||||
|
|
||||||
- name: Code coverage
|
- name: Code coverage
|
||||||
if: ${{ matrix.config.name == 'gcc_coverage' }}
|
if: ${{ matrix.config.name == 'gcc_coverage' }}
|
||||||
env:
|
env:
|
||||||
@@ -185,185 +78,22 @@ jobs:
|
|||||||
lcov --list coverage.info
|
lcov --list coverage.info
|
||||||
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
|
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:
|
tests_macos:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- macos-14
|
- macos-12
|
||||||
config:
|
config:
|
||||||
- { name: "gcc", cc: "gcc", cxx: "g++" }
|
- { name: "gcc", cc: "gcc", cxx: "g++" }
|
||||||
- { name: "clang", cc: "clang", cxx: "clang++" }
|
- { name: "clang", cc: "clang", cxx: "clang++" }
|
||||||
|
|
||||||
name: "${{ matrix.os }} (${{ matrix.config.name }})"
|
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Setup Homebrew
|
- uses: actions/checkout@v2
|
||||||
id: setup-homebrew
|
|
||||||
uses: Homebrew/actions/setup-homebrew@master
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -381,9 +111,7 @@ jobs:
|
|||||||
/usr/local/bin/python3.11 \
|
/usr/local/bin/python3.11 \
|
||||||
/usr/local/bin/python3.11-config \
|
/usr/local/bin/python3.11-config \
|
||||||
;
|
;
|
||||||
brew install asciidoctor aspell cjson guile lua pkg-config ruby
|
brew install asciidoctor guile lua pkg-config ruby
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
@@ -401,8 +129,44 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
weechat --help
|
weechat --help
|
||||||
weechat-curses --help
|
weechat-curses --help
|
||||||
weechat --version
|
|
||||||
weechat --build-info
|
|
||||||
weechat --colors
|
weechat --colors
|
||||||
weechat --license
|
weechat --license
|
||||||
|
weechat --version
|
||||||
|
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 --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|||||||
+161
@@ -0,0 +1,161 @@
|
|||||||
|
= WeeChat Authors
|
||||||
|
:author: Sébastien Helleu
|
||||||
|
:email: flashcode@flashtux.org
|
||||||
|
:lang: en
|
||||||
|
|
||||||
|
|
||||||
|
== Developers
|
||||||
|
|
||||||
|
* General code
|
||||||
|
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
|
||||||
|
* Scripts plugins, debian packager
|
||||||
|
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
|
||||||
|
|
||||||
|
== Contributors
|
||||||
|
|
||||||
|
Alphabetically:
|
||||||
|
|
||||||
|
* Adam Saponara (adsr)
|
||||||
|
* Adrian Bjugård
|
||||||
|
* Ailin Nemui (Nei)
|
||||||
|
* Aleksey V Zapparov
|
||||||
|
* Alex Tarkovsky
|
||||||
|
* Anders Bergh
|
||||||
|
* Andrew Potter (talisein)
|
||||||
|
* Antoine Pietri (seirl)
|
||||||
|
* Arvydas Sidorenko
|
||||||
|
* Asakura
|
||||||
|
* Bazerka
|
||||||
|
* Benoit Papillault (benoit)
|
||||||
|
* Chris Hills
|
||||||
|
* Christian Duerr
|
||||||
|
* Christian Heinz
|
||||||
|
* Christopher O'Neill (deltafire)
|
||||||
|
* coypoop
|
||||||
|
* Danilo Spinella
|
||||||
|
* David Flatz
|
||||||
|
* Dmitry Kobylin
|
||||||
|
* Dominik Honnef
|
||||||
|
* Dominique Martinet
|
||||||
|
* dotflac
|
||||||
|
* Eduardo Elias
|
||||||
|
* Eli Schwartz
|
||||||
|
* Elizabeth Myers (Elizacat)
|
||||||
|
* Elián Hanisch (m4v)
|
||||||
|
* Emanuele Giaquinta
|
||||||
|
* Emir Sarı
|
||||||
|
* emk
|
||||||
|
* Érico Nogueira
|
||||||
|
* Esteban I. Ruiz Moreno (Exio)
|
||||||
|
* Evgeny Shmarnev
|
||||||
|
* Felix Eckhofer
|
||||||
|
* Frank Zacharias
|
||||||
|
* Fredrik Fornwall
|
||||||
|
* Grant Wu
|
||||||
|
* Gu1ll4um3r0m41n
|
||||||
|
* Guido Berhoerster
|
||||||
|
* Gwenn
|
||||||
|
* Hasan Kiran (turgay)
|
||||||
|
* Ivan Pešić
|
||||||
|
* Ivan Sichmann Freitas
|
||||||
|
* Jakub Jirutka
|
||||||
|
* Jan Palus
|
||||||
|
* Jason A. Donenfeld (zx2c4)
|
||||||
|
* JD Horelick (jdhore)
|
||||||
|
* jesopo
|
||||||
|
* Jim Ramsay (lack)
|
||||||
|
* Jiri Golembiovsky (GolemJ)
|
||||||
|
* Joey Pabalinas (alyptik)
|
||||||
|
* Johan Rylander
|
||||||
|
* Joram Schrijver
|
||||||
|
* Jos Ahrens
|
||||||
|
* Joseph Kichline
|
||||||
|
* Juan Francisco Cantero Hurtado
|
||||||
|
* Julien Louis (ptitlouis)
|
||||||
|
* Karthik K
|
||||||
|
* Koka El Kiwi (KiwiDash)
|
||||||
|
* Krzysztof Koroscik (soltys)
|
||||||
|
* Kyle Fuller (kylef)
|
||||||
|
* Kyle Sabo
|
||||||
|
* Latchezar Tzvetkoff
|
||||||
|
* Lázaro A.
|
||||||
|
* Leonid Evdokimov
|
||||||
|
* Linus Heckemann
|
||||||
|
* Maarten de Vries
|
||||||
|
* Mantas Mikulėnas (grawity)
|
||||||
|
* Marco Paolone
|
||||||
|
* Marco Sirabella
|
||||||
|
* Mateusz Poszwa
|
||||||
|
* Matt Robinson
|
||||||
|
* Matthew Horan
|
||||||
|
* Matthew Martin
|
||||||
|
* Matti Virkkunen
|
||||||
|
* Max Anton Teufel
|
||||||
|
* Maxim Baz
|
||||||
|
* Michael Siegel
|
||||||
|
* Miroslav Koskar
|
||||||
|
* Murilo Opsfelder Araujo
|
||||||
|
* Neui
|
||||||
|
* Nick (SolitaryCipher)
|
||||||
|
* Nicolas Cavigneaux
|
||||||
|
* Nils Görs (nils_2)
|
||||||
|
* nyuszika7h
|
||||||
|
* Odin
|
||||||
|
* Ondřej Súkup
|
||||||
|
* Patrick Steinhardt
|
||||||
|
* Patrik Janoušek
|
||||||
|
* Paul Komkoff
|
||||||
|
* Pavel Shevchuk (Stalwart)
|
||||||
|
* Peter Boström (pbos)
|
||||||
|
* Phillip Sz
|
||||||
|
* Pierre Carru
|
||||||
|
* Piotr Szymaniak
|
||||||
|
* Pistos
|
||||||
|
* Quentin Glidic (SardemFF7)
|
||||||
|
* Quentin Pradet
|
||||||
|
* Quico Noizeux
|
||||||
|
* rafasc
|
||||||
|
* Raghavendra Prabhu
|
||||||
|
* raspbeguy
|
||||||
|
* Rettub
|
||||||
|
* Rob Campbell
|
||||||
|
* Romero B. de S. Malaquias
|
||||||
|
* Rudolf Polzer (divVerent)
|
||||||
|
* Ruslan Bekenev
|
||||||
|
* Ryan Farley
|
||||||
|
* Ryan Qian
|
||||||
|
* Ryuunosuke Ayanokouzi
|
||||||
|
* scumjr
|
||||||
|
* Sergio Durigan Junior
|
||||||
|
* Shane McCarron
|
||||||
|
* Shawn Smith
|
||||||
|
* Shun Sakai
|
||||||
|
* Simmo Saan (sim642)
|
||||||
|
* Simon Arlott
|
||||||
|
* Simon Kuhnle
|
||||||
|
* Simon Ser
|
||||||
|
* Stefano Pigozzi
|
||||||
|
* Stfn
|
||||||
|
* Sven Knurr (Cthulhux)
|
||||||
|
* Tim D. Smith
|
||||||
|
* Tim Harder
|
||||||
|
* Tobias Stoeckmann
|
||||||
|
* Tom Alsberg
|
||||||
|
* Tom Fitzhenry
|
||||||
|
* Tomoe Mami
|
||||||
|
* Tor Hveem (xt)
|
||||||
|
* Trevor Bergeron
|
||||||
|
* Valentin Lorentz (progval)
|
||||||
|
* Vasco Almeida
|
||||||
|
* Victorhck
|
||||||
|
* Voroskoi
|
||||||
|
* wfrsk
|
||||||
|
* Wojciech Kwolek
|
||||||
|
* W. Trevor King
|
||||||
|
* Yannick Palanque
|
||||||
|
* ZethJack
|
||||||
|
* Ørjan Malde
|
||||||
|
|
||||||
|
== Contact
|
||||||
|
|
||||||
|
See the https://weechat.org/about/support/[support page].
|
||||||
-167
@@ -1,167 +0,0 @@
|
|||||||
# WeeChat Authors
|
|
||||||
|
|
||||||
## Developers
|
|
||||||
|
|
||||||
- General code
|
|
||||||
- [Sébastien Helleu](https://github.com/flashcode) (FlashCode)
|
|
||||||
- Scripts plugins, debian packager
|
|
||||||
- [Emmanuel Bouthenot](https://github.com/k0lter) (kolter)
|
|
||||||
|
|
||||||
## Contributors
|
|
||||||
|
|
||||||
Alphabetically:
|
|
||||||
|
|
||||||
- Adam Saponara (adsr)
|
|
||||||
- Adrian Bjugård
|
|
||||||
- Ailin Nemui (Nei)
|
|
||||||
- Aleksey V Zapparov
|
|
||||||
- Alex Tarkovsky
|
|
||||||
- Anders Bergh
|
|
||||||
- Andrew Potter (talisein)
|
|
||||||
- Antoine Pietri (seirl)
|
|
||||||
- Arvydas Sidorenko
|
|
||||||
- Asakura
|
|
||||||
- Bazerka
|
|
||||||
- Benoit Papillault (benoit)
|
|
||||||
- Chris Hills
|
|
||||||
- Christian Duerr
|
|
||||||
- Christian Heinz
|
|
||||||
- Christopher O'Neill (deltafire)
|
|
||||||
- coypoop
|
|
||||||
- Daniel Lublin
|
|
||||||
- Danilo Spinella
|
|
||||||
- David Flatz
|
|
||||||
- Dmitry Kobylin
|
|
||||||
- Dominik Honnef
|
|
||||||
- Dominique Martinet
|
|
||||||
- dotflac
|
|
||||||
- Eduardo Elias
|
|
||||||
- Eli Schwartz
|
|
||||||
- Elizabeth Myers (Elizacat)
|
|
||||||
- Elián Hanisch (m4v)
|
|
||||||
- Emanuele Giaquinta
|
|
||||||
- Emil Velikov
|
|
||||||
- Emir Sarı
|
|
||||||
- emk
|
|
||||||
- Érico Nogueira
|
|
||||||
- Esteban I. Ruiz Moreno (Exio)
|
|
||||||
- Evgeny Shmarnev
|
|
||||||
- Felix Eckhofer
|
|
||||||
- Frank Zacharias
|
|
||||||
- Fredrik Fornwall
|
|
||||||
- Grant Wu
|
|
||||||
- Gu1ll4um3r0m41n
|
|
||||||
- Guido Berhoerster
|
|
||||||
- Gwenn
|
|
||||||
- Hasan Kiran (turgay)
|
|
||||||
- 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
|
|
||||||
- Koka El Kiwi (KiwiDash)
|
|
||||||
- Krzysztof Koroscik (soltys)
|
|
||||||
- Kyle Fuller (kylef)
|
|
||||||
- Kyle Sabo
|
|
||||||
- Latchezar Tzvetkoff
|
|
||||||
- Lázaro A.
|
|
||||||
- Leonid Evdokimov
|
|
||||||
- Linus Heckemann
|
|
||||||
- LuK1337
|
|
||||||
- Maarten de Vries
|
|
||||||
- Mantas Mikulėnas (grawity)
|
|
||||||
- Marco Paolone
|
|
||||||
- Marco Sirabella
|
|
||||||
- Mario Campos
|
|
||||||
- Mateusz Poszwa
|
|
||||||
- Matt Robinson
|
|
||||||
- Matthew Horan
|
|
||||||
- Matthew Martin
|
|
||||||
- Matti Virkkunen
|
|
||||||
- Max Anton Teufel
|
|
||||||
- Maxim Baz
|
|
||||||
- Michael Siegel
|
|
||||||
- Miko
|
|
||||||
- Miroslav Koskar
|
|
||||||
- Murilo Opsfelder Araujo
|
|
||||||
- Neui
|
|
||||||
- Nick (SolitaryCipher)
|
|
||||||
- Nicolas Cavigneaux
|
|
||||||
- Nils Görs (nils_2)
|
|
||||||
- nyuszika7h
|
|
||||||
- Odin
|
|
||||||
- Ondřej Súkup
|
|
||||||
- Patrick Steinhardt
|
|
||||||
- Patrik Janoušek
|
|
||||||
- Paul Komkoff
|
|
||||||
- Pavel Shevchuk (Stalwart)
|
|
||||||
- Peter Boström (pbos)
|
|
||||||
- Phillip Sz
|
|
||||||
- Pierre Carru
|
|
||||||
- Piotr Szymaniak
|
|
||||||
- Pistos
|
|
||||||
- Quentin Glidic (SardemFF7)
|
|
||||||
- Quentin Pradet
|
|
||||||
- Quico Noizeux
|
|
||||||
- rafasc
|
|
||||||
- Raghavendra Prabhu
|
|
||||||
- raspbeguy
|
|
||||||
- Rettub
|
|
||||||
- Rob Campbell
|
|
||||||
- Romero B. de S. Malaquias
|
|
||||||
- Rudolf Polzer (divVerent)
|
|
||||||
- Ruslan Bekenev
|
|
||||||
- Ryan Farley
|
|
||||||
- Ryan Qian
|
|
||||||
- Ryuunosuke Ayanokouzi
|
|
||||||
- scumjr
|
|
||||||
- Sergio Durigan Junior
|
|
||||||
- Shane McCarron
|
|
||||||
- Shawn Smith
|
|
||||||
- Shun Sakai
|
|
||||||
- Simmo Saan (sim642)
|
|
||||||
- Simon Arlott
|
|
||||||
- Simon Kuhnle
|
|
||||||
- Simon Ser
|
|
||||||
- Stefano Pigozzi
|
|
||||||
- Stfn
|
|
||||||
- Sven Knurr (Cthulhux)
|
|
||||||
- Tim D. Smith
|
|
||||||
- Tim Harder
|
|
||||||
- Tobias Stoeckmann
|
|
||||||
- Tom Alsberg
|
|
||||||
- Tom Fitzhenry
|
|
||||||
- Tomoe Mami
|
|
||||||
- Tor Hveem (xt)
|
|
||||||
- Trevor Bergeron
|
|
||||||
- Valentin Lorentz (progval)
|
|
||||||
- Vasco Almeida
|
|
||||||
- Victorhck
|
|
||||||
- Voroskoi
|
|
||||||
- wfrsk
|
|
||||||
- Wojciech Kwolek
|
|
||||||
- W. Trevor King
|
|
||||||
- Yannick Palanque
|
|
||||||
- Yiheng Cao
|
|
||||||
- ZethJack
|
|
||||||
- Ørjan Malde
|
|
||||||
|
|
||||||
## Contact
|
|
||||||
|
|
||||||
See the [support page](https://weechat.org/about/support/).
|
|
||||||
-4421
File diff suppressed because it is too large
Load Diff
+26
-66
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.18)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
|
|
||||||
project(weechat C)
|
project(weechat C)
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
|
|||||||
set(CMAKE_SKIP_RPATH ON)
|
set(CMAKE_SKIP_RPATH ON)
|
||||||
|
|
||||||
# compiler options
|
# compiler options
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration -Wformat -Werror=format-security")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
|
||||||
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
||||||
# extra options specific to gcc/g++
|
# extra options specific to gcc/g++
|
||||||
@@ -99,8 +99,6 @@ option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
|
|||||||
option(ENABLE_HEADLESS "Compile the headless binary" ON)
|
option(ENABLE_HEADLESS "Compile the headless binary" ON)
|
||||||
option(ENABLE_NLS "Enable Native Language Support" ON)
|
option(ENABLE_NLS "Enable Native Language Support" ON)
|
||||||
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||||
option(ENABLE_ZSTD "Enable Zstandard compression" ON)
|
|
||||||
option(ENABLE_CJSON "Enable cJSON support" ON)
|
|
||||||
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||||
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
||||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||||
@@ -166,16 +164,6 @@ if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
|
|||||||
message(FATAL_ERROR "Headless mode is required for tests.")
|
message(FATAL_ERROR "Headless mode is required for tests.")
|
||||||
endif()
|
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
|
# option WEECHAT_HOME
|
||||||
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
||||||
STRING "Force a single WeeChat home directory for config, logs, scripts, etc."
|
STRING "Force a single WeeChat home directory for config, logs, scripts, etc."
|
||||||
@@ -198,68 +186,37 @@ include(FindPkgConfig)
|
|||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
include(CheckFunctionExists)
|
include(CheckFunctionExists)
|
||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
include(CheckLibraryExists)
|
|
||||||
|
|
||||||
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
||||||
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
||||||
|
|
||||||
check_include_files("malloc.h" HAVE_MALLOC_H)
|
|
||||||
check_symbol_exists("malloc_trim" "malloc.h" HAVE_MALLOC_TRIM)
|
|
||||||
|
|
||||||
check_function_exists(mallinfo HAVE_MALLINFO)
|
check_function_exists(mallinfo HAVE_MALLINFO)
|
||||||
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
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_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
|
# Check for Large File Support
|
||||||
if(ENABLE_LARGEFILE)
|
if(ENABLE_LARGEFILE)
|
||||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
|
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
|
||||||
endif()
|
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
|
# Check for libgcrypt
|
||||||
pkg_check_modules(LIBGCRYPT REQUIRED libgcrypt)
|
find_package(GCRYPT REQUIRED)
|
||||||
include_directories(${LIBGCRYPT_INCLUDE_DIRS})
|
add_definitions(-DHAVE_GCRYPT)
|
||||||
list(APPEND EXTRA_LIBS ${LIBGCRYPT_LDFLAGS})
|
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
|
||||||
|
|
||||||
# Check for GnuTLS
|
# Check for GnuTLS
|
||||||
pkg_check_modules(GNUTLS REQUIRED gnutls>=3.3.0)
|
find_package(GnuTLS REQUIRED)
|
||||||
include_directories(${GNUTLS_INCLUDE_DIRS})
|
string(REGEX REPLACE "/[^/]*$" "" GNUTLS_LIBRARY_PATH "${GNUTLS_LIBRARY}")
|
||||||
list(APPEND EXTRA_LIBS ${GNUTLS_LDFLAGS})
|
include_directories(${GNUTLS_INCLUDE_PATH})
|
||||||
|
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${GNUTLS_LIBRARY_PATH}")
|
||||||
|
list(APPEND EXTRA_LIBS gnutls)
|
||||||
|
|
||||||
# Check for zlib
|
# Check for zlib
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
|
|
||||||
# Check for zstd
|
# Check for zstd
|
||||||
if(ENABLE_ZSTD)
|
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
||||||
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
|
||||||
add_definitions(-DHAVE_ZSTD)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for cJSON
|
|
||||||
if(ENABLE_CJSON)
|
|
||||||
pkg_check_modules(LIBCJSON REQUIRED libcjson)
|
|
||||||
add_definitions(-DHAVE_CJSON)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for iconv
|
# Check for iconv
|
||||||
find_package(Iconv)
|
find_package(Iconv)
|
||||||
@@ -268,25 +225,28 @@ if(ICONV_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Check for CURL
|
# Check for CURL
|
||||||
# NOTE: keep version in sync with tools/check_curl_symbols.py
|
find_package(CURL REQUIRED)
|
||||||
pkg_check_modules(LIBCURL REQUIRED libcurl>=7.47.0)
|
|
||||||
include_directories(${LIBCURL_INCLUDE_DIRS})
|
# weechat_gui_common MUST be the first lib in the list
|
||||||
list(APPEND EXTRA_LIBS ${LIBCURL_LDFLAGS})
|
set(STATIC_LIBS weechat_gui_common)
|
||||||
|
|
||||||
find_library(DL_LIBRARY
|
find_library(DL_LIBRARY
|
||||||
NAMES dl
|
NAMES dl
|
||||||
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
|
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
|
||||||
)
|
)
|
||||||
|
list(APPEND STATIC_LIBS weechat_plugins)
|
||||||
if(DL_LIBRARY)
|
if(DL_LIBRARY)
|
||||||
list(APPEND EXTRA_LIBS ${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)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(icons)
|
add_subdirectory(icons)
|
||||||
|
|
||||||
if(ENABLE_NLS)
|
if(ENABLE_NLS)
|
||||||
find_package(Gettext REQUIRED)
|
find_package(Gettext REQUIRED)
|
||||||
|
add_definitions(-DENABLE_NLS)
|
||||||
find_package(Intl REQUIRED)
|
find_package(Intl REQUIRED)
|
||||||
include_directories(${Intl_INCLUDE_DIRS})
|
|
||||||
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
||||||
add_subdirectory(po)
|
add_subdirectory(po)
|
||||||
else()
|
else()
|
||||||
@@ -347,11 +307,11 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in" "${CMAKE_CURRENT
|
|||||||
# install some files (only on Cygwin)
|
# install some files (only on Cygwin)
|
||||||
if(CYGWIN)
|
if(CYGWIN)
|
||||||
install(FILES
|
install(FILES
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.md"
|
"${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG.md"
|
"${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/CONTRIBUTING.md"
|
"${CMAKE_CURRENT_SOURCE_DIR}/Contributing.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/README.md"
|
"${CMAKE_CURRENT_SOURCE_DIR}/README.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/UPGRADING.md"
|
"${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.adoc"
|
||||||
DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}"
|
DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
-109
@@ -1,109 +0,0 @@
|
|||||||
# Contributing to WeeChat
|
|
||||||
|
|
||||||
## Reporting bugs
|
|
||||||
|
|
||||||
First, some basic things:
|
|
||||||
|
|
||||||
- Use only English to communicate with developers.
|
|
||||||
- Search in issues if the same problem or feature request has already been
|
|
||||||
reported (a duplicate is waste of time for you and the developers!).
|
|
||||||
- If you can, please check if the problem has been fixed in development version
|
|
||||||
(if you are using a stable release or old version).
|
|
||||||
- Report only one bug or feature request per issue.
|
|
||||||
|
|
||||||
### Security reports
|
|
||||||
|
|
||||||
Please **DO NOT** file a GitHub issue for security related problems, but send an
|
|
||||||
email to [security@weechat.org](mailto:security@weechat.org) instead.
|
|
||||||
|
|
||||||
### Required info
|
|
||||||
|
|
||||||
When reporting [issues](https://github.com/weechat/weechat/issues) on GitHub,
|
|
||||||
please include:
|
|
||||||
|
|
||||||
- Your **WeeChat version**: the output of `/v` in WeeChat, for example:
|
|
||||||
`WeeChat 1.7-dev (git: v1.6-6-g997f47f)`.\
|
|
||||||
If WeeChat does not start at all, please include the version displayed by
|
|
||||||
`weechat --help` (or the version installed with your package manager).
|
|
||||||
- Your **operating system**: its name and version (examples: Linux Debian Bookworm,
|
|
||||||
FreeBSD 13.0, Windows/Cygwin 64-bit, Windows/Ubuntu 64-bit…).
|
|
||||||
- The **steps to reproduce**: if possible, please include a reproducible example:
|
|
||||||
explain the steps which led you to the problem.\
|
|
||||||
It's even better if you can reproduce the problem with a new config (and no
|
|
||||||
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
|
|
||||||
problem here.
|
|
||||||
- The **gdb's backtrace** (only for a crash): if you can reproduce the crash
|
|
||||||
(or if you have a core file), please include the backtrace from gdb (look at
|
|
||||||
[User's guide](https://weechat.org/doc/weechat/user/#report_crashes) for more info).
|
|
||||||
- The **actual result**.
|
|
||||||
- The **expected result**: the correct result you are expecting.
|
|
||||||
|
|
||||||
> [!IMPORTANT]
|
|
||||||
> Most of times, the WeeChat crash log file (_weechat_crash_YYYYMMDD_xxx.log_)
|
|
||||||
is **NOT USEFUL** to fix the bug, so please report this file **ONLY** if a developer
|
|
||||||
asked you to send it (and be extremely careful, this file can contain personal
|
|
||||||
data like passwords and contents of your chats).
|
|
||||||
|
|
||||||
### Scripts related issues
|
|
||||||
|
|
||||||
If you are using scripts, they can cause problems/crashes. To check if the
|
|
||||||
problem is related to one script, try to unload them one by one (using
|
|
||||||
command `/script unload <name>`).
|
|
||||||
|
|
||||||
Many issues reported are in fact related to bugs in scripts, so please first
|
|
||||||
check that before reporting any issue on WeeChat itself.
|
|
||||||
|
|
||||||
If you think the problem comes from a specific script, please report the issue
|
|
||||||
in the [scripts git repository](https://github.com/weechat/scripts/issues) instead.
|
|
||||||
|
|
||||||
## Translations
|
|
||||||
|
|
||||||
Pull requests on GitHub for fixes or new translations are welcome at any
|
|
||||||
time, for [WeeChat](https://github.com/weechat/weechat) and the website
|
|
||||||
[weechat.org](https://github.com/weechat/weechat.org).
|
|
||||||
|
|
||||||
To start a translation in a new language (not yet supported), please look at
|
|
||||||
[translations](https://weechat.org/doc/weechat/dev/#translations)
|
|
||||||
in Developer's guide.
|
|
||||||
|
|
||||||
## Feature requests
|
|
||||||
|
|
||||||
WeeChat is under active development, so your idea may already have been
|
|
||||||
implemented, or scheduled for a future version (you can check in
|
|
||||||
[roadmap](https://weechat.org/dev/) or
|
|
||||||
[milestones](https://github.com/weechat/weechat/milestones) on GitHub.
|
|
||||||
|
|
||||||
Pull requests on GitHub are welcome for minor new features.
|
|
||||||
|
|
||||||
For major new features, it's better to discuss about it in IRC
|
|
||||||
(server: `irc.libera.chat`, channel `#weechat`).
|
|
||||||
|
|
||||||
Before submitting any pull request, be sure you have read the
|
|
||||||
[coding rules](https://weechat.org/doc/weechat/dev/#coding_rules)
|
|
||||||
in Developer's guide, which contains info about styles used, naming convention
|
|
||||||
and other useful info.
|
|
||||||
|
|
||||||
## Semantic versioning
|
|
||||||
|
|
||||||
Since version 4.0.0, WeeChat is following a "practical" semantic versioning.
|
|
||||||
|
|
||||||
It is based on [Semantic Versioning](https://semver.org/) but in a less strict way:
|
|
||||||
breaking changes in API with low user impact don't bump the major version.
|
|
||||||
|
|
||||||
The version number is on three digits `X.Y.Z`, where:
|
|
||||||
|
|
||||||
- `X` is the major version
|
|
||||||
- `Y` is the minor version
|
|
||||||
- `Z` is the patch version.
|
|
||||||
|
|
||||||
Rules to increment the version number:
|
|
||||||
|
|
||||||
- the **major version** number (`X`) is incremented only when intentional breaking changes
|
|
||||||
target feature areas that are actively consumed by users, scripts or C plugin API
|
|
||||||
- the **minor version** number (`Y`) is incremented for any new release of WeeChat
|
|
||||||
that includes new features and bug fixes, possibly breaking API with low impact on users
|
|
||||||
- the **patch version** number (`Z`) is reserved for releases that address severe bugs
|
|
||||||
or security issues found after the release.
|
|
||||||
|
|
||||||
For more information, see the
|
|
||||||
[specification](https://specs.weechat.org/specs/2023-003-practical-semantic-versioning.html).
|
|
||||||
+3816
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,109 @@
|
|||||||
|
= Contributing to WeeChat
|
||||||
|
:author: Sébastien Helleu
|
||||||
|
:email: flashcode@flashtux.org
|
||||||
|
:lang: en
|
||||||
|
|
||||||
|
|
||||||
|
== Reporting bugs
|
||||||
|
|
||||||
|
First, some basic things:
|
||||||
|
|
||||||
|
* Use only English to communicate with developers.
|
||||||
|
* Search in issues if the same problem or feature request has already been
|
||||||
|
reported (a duplicate is waste of time for you and the developers!).
|
||||||
|
* If you can, please check if the problem has been fixed in development version
|
||||||
|
(if you are using a stable release or old version).
|
||||||
|
* Report only one bug or feature request per issue.
|
||||||
|
|
||||||
|
=== Security reports
|
||||||
|
|
||||||
|
Please *DO NOT* file a GitHub issue for security related problems, but send an
|
||||||
|
email to <security@weechat.org> instead.
|
||||||
|
|
||||||
|
=== Required info
|
||||||
|
|
||||||
|
When reporting https://github.com/weechat/weechat/issues[issues] on GitHub,
|
||||||
|
please include:
|
||||||
|
|
||||||
|
* Your *WeeChat version*: the output of `/v` in WeeChat, for example:
|
||||||
|
_WeeChat 1.7-dev (git: v1.6-6-g997f47f)_. +
|
||||||
|
If WeeChat does not start at all, please include the version displayed by
|
||||||
|
`weechat --help` (or the version installed with your package manager).
|
||||||
|
* Your *operating system*: its name and version (examples: Linux Debian Bookworm,
|
||||||
|
FreeBSD 13.0, Windows/Cygwin 64-bit, Windows/Ubuntu 64-bit...).
|
||||||
|
* The *steps to reproduce*: if possible, please include a reproducible example:
|
||||||
|
explain the steps which led you to the problem. +
|
||||||
|
It's even better if you can reproduce the problem with a new config (and no
|
||||||
|
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
|
||||||
|
problem here.
|
||||||
|
* The *gdb's backtrace* (only for a crash): if you can reproduce the crash
|
||||||
|
(or if you have a core file), please include the backtrace from gdb (look at
|
||||||
|
https://weechat.org/doc/weechat/user/#report_crashes[User's guide] for more info).
|
||||||
|
* The *actual result*.
|
||||||
|
* The *expected result*: the correct result you are expecting.
|
||||||
|
|
||||||
|
[IMPORTANT]
|
||||||
|
Most of times, the WeeChat crash log file (_weechat_crash_YYYYMMDD_xxx.log_) is
|
||||||
|
*NOT USEFUL* to fix the bug, so please report this file *ONLY* if a developer
|
||||||
|
asked you to send it (and be extremely careful, this file can contain personal
|
||||||
|
data like passwords and contents of your chats).
|
||||||
|
|
||||||
|
=== Scripts related issues
|
||||||
|
|
||||||
|
If you are using scripts, they can cause problems/crashes. To check if the
|
||||||
|
problem is related to one script, try to unload them one by one (using
|
||||||
|
command `/script unload <name>`).
|
||||||
|
|
||||||
|
Many issues reported are in fact related to bugs in scripts, so please first
|
||||||
|
check that before reporting any issue on WeeChat itself.
|
||||||
|
|
||||||
|
If you think the problem comes from a specific script, please report the issue
|
||||||
|
in the https://github.com/weechat/scripts/issues[scripts git repository]
|
||||||
|
instead.
|
||||||
|
|
||||||
|
== Translations
|
||||||
|
|
||||||
|
Pull requests on GitHub for fixes or new translations are welcome at any
|
||||||
|
time, for https://github.com/weechat/weechat[WeeChat] and the website
|
||||||
|
https://github.com/weechat/weechat.org[weechat.org].
|
||||||
|
|
||||||
|
To start a translation in a new language (not yet supported), please look at
|
||||||
|
https://weechat.org/doc/weechat/dev/#translations[translations]
|
||||||
|
in Developer's guide.
|
||||||
|
|
||||||
|
== Feature requests
|
||||||
|
|
||||||
|
WeeChat is under active development, so your idea may already have been
|
||||||
|
implemented, or scheduled for a future version (you can check in
|
||||||
|
https://weechat.org/dev/[roadmap] or
|
||||||
|
https://github.com/weechat/weechat/milestones[milestones] on GitHub.
|
||||||
|
|
||||||
|
Pull requests on GitHub are welcome for minor new features.
|
||||||
|
|
||||||
|
For major new features, it's better to discuss about it in IRC
|
||||||
|
(server: _irc.libera.chat_, channel _#weechat_).
|
||||||
|
|
||||||
|
Before submitting any pull request, be sure you have read the
|
||||||
|
https://weechat.org/doc/weechat/dev/#coding_rules[coding rules]
|
||||||
|
in Developer's guide, which contains info about styles used, naming convention
|
||||||
|
and other useful info.
|
||||||
|
|
||||||
|
== Semantic versioning
|
||||||
|
|
||||||
|
Since version 4.0.0, WeeChat is following a "practical" semantic versioning.
|
||||||
|
|
||||||
|
It is based on https://semver.org/[Semantic Versioning] but in a less strict way: breaking changes in API with low user impact don't bump the major version.
|
||||||
|
|
||||||
|
The version number is on three digits `X.Y.Z`, where:
|
||||||
|
|
||||||
|
* `X` is the major version
|
||||||
|
* `Y` is the minor version
|
||||||
|
* `Z` is the patch version.
|
||||||
|
|
||||||
|
Rules to increment the version number:
|
||||||
|
|
||||||
|
* the *major version* number (`X`) is incremented only when intentional breaking changes target feature areas that are actively consumed by users, scripts or C plugin API
|
||||||
|
* the *minor version* number (`Y`) is incremented for any new release of WeeChat that includes new features and bug fixes, possibly breaking API with low impact on users
|
||||||
|
* the *patch version* number (`Z`) is reserved for releases that address severe bugs or security issues found after the release.
|
||||||
|
|
||||||
|
For more information, see the https://specs.weechat.org/specs/2023-003-practical-semantic-versioning.html[specification].
|
||||||
+67
@@ -0,0 +1,67 @@
|
|||||||
|
:author: Sébastien Helleu
|
||||||
|
:email: flashcode@flashtux.org
|
||||||
|
:lang: en
|
||||||
|
|
||||||
|
|
||||||
|
pass:[<p align="center">] image:https://weechat.org/media/images/weechat_logo_large.png[align="center"] pass:[</p>]
|
||||||
|
|
||||||
|
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
||||||
|
image:https://img.shields.io/badge/mastodon-follow-blue.svg["Mastodon", link="https://hostux.social/@weechat"]
|
||||||
|
image:https://img.shields.io/badge/twitter-follow-blue.svg["Twitter", link="https://twitter.com/WeeChatClient"]
|
||||||
|
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="https://blog.weechat.org/"]
|
||||||
|
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="https://www.slant.co/topics/1323/~best-irc-clients-for-linux"]
|
||||||
|
image:https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg["Donate", link="https://weechat.org/donate/"]
|
||||||
|
|
||||||
|
image:https://github.com/weechat/weechat/workflows/CI/badge.svg["CI", link="https://github.com/weechat/weechat/actions"]
|
||||||
|
image:https://codecov.io/gh/weechat/weechat/branch/master/graph/badge.svg["Code coverage", link="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.
|
||||||
|
|
||||||
|
Homepage: https://weechat.org/
|
||||||
|
|
||||||
|
== Features
|
||||||
|
|
||||||
|
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/doc/weechat/user/#plugins[plugins]. All plugins (including https://weechat.org/doc/weechat/user/#irc[IRC]) are independent and can be unloaded.
|
||||||
|
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
||||||
|
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
||||||
|
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://datatracker.ietf.org/doc/html/rfc1459[1459], https://datatracker.ietf.org/doc/html/rfc2810[2810], https://datatracker.ietf.org/doc/html/rfc2811[2811], https://datatracker.ietf.org/doc/html/rfc2812[2812], https://datatracker.ietf.org/doc/html/rfc2813[2813] and https://datatracker.ietf.org/doc/html/rfc7194[7194].
|
||||||
|
* *Small, fast, and very light*: the core is and should stay as light and fast as possible.
|
||||||
|
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/language/perl/[Perl], https://weechat.org/scripts/language/python/[Python], https://weechat.org/scripts/language/ruby[Ruby], https://weechat.org/scripts/language/lua/[Lua], https://weechat.org/scripts/language/tcl/[Tcl], https://weechat.org/scripts/language/guile/[Scheme], https://weechat.org/scripts/language/javascript/[JavaScript] and https://weechat.org/scripts/language/php/[PHP]).
|
||||||
|
* *Fully documented*: there is comprehensive https://weechat.org/doc/weechat/[documentation], which is https://weechat.org/doc/weechat/dev/#translations[translated] into several languages.
|
||||||
|
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
|
||||||
|
* *Free software*: WeeChat is released under https://www.gnu.org/licenses/gpl-3.0.html[GPLv3].
|
||||||
|
|
||||||
|
pass:[<p align="center">] image:https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"] pass:[</p>]
|
||||||
|
|
||||||
|
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
|
||||||
|
|
||||||
|
== Installation
|
||||||
|
|
||||||
|
WeeChat can be installed using your favorite package manager (recommended) or by compiling it yourself.
|
||||||
|
|
||||||
|
For detailed instructions, please check the https://weechat.org/doc/weechat/user/#install[WeeChat user's guide].
|
||||||
|
|
||||||
|
== Semantic versioning
|
||||||
|
|
||||||
|
WeeChat is following a "practical" semantic versioning, see file link:Contributing.adoc#semantic-versioning[Contributing.adoc].
|
||||||
|
|
||||||
|
== Copyright
|
||||||
|
|
||||||
|
Copyright (C) 2003-2023 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/>.
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
# WeeChat
|
|
||||||
|
|
||||||
<p align="center">
|
|
||||||
<img src="https://weechat.org/media/images/weechat_logo_large.png" alt="WeeChat" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
[](https://hostux.social/@weechat)
|
|
||||||
[](https://diasp.eu/u/weechat)
|
|
||||||
[](https://x.com/WeeChatClient)
|
|
||||||
[](https://blog.weechat.org/)
|
|
||||||
[](https://www.slant.co/topics/1323/~best-irc-clients-for-linux)
|
|
||||||
[](https://weechat.org/donate/)
|
|
||||||
|
|
||||||
[](https://github.com/weechat/weechat/actions)
|
|
||||||
[](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.
|
|
||||||
|
|
||||||
Homepage: [https://weechat.org/](https://weechat.org/)
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- **Modular chat client**: WeeChat has a lightweight core and optional [plugins](https://weechat.org/doc/weechat/user/#plugins). All plugins (including [IRC](https://weechat.org/doc/weechat/user/#irc)) are independent and can be unloaded.
|
|
||||||
- **Multi-platform**: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
|
||||||
- **Multi-protocols**: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
|
||||||
- **Standards-compliant**: the IRC plugin is compliant with RFCs [1459](https://datatracker.ietf.org/doc/html/rfc1459), [2810](https://datatracker.ietf.org/doc/html/rfc2810), [2811](https://datatracker.ietf.org/doc/html/rfc2811), [2812](https://datatracker.ietf.org/doc/html/rfc2812), [2813](https://datatracker.ietf.org/doc/html/rfc2813) and [7194](https://datatracker.ietf.org/doc/html/rfc7194).
|
|
||||||
- **Small, fast, and very light**: the core is and should stay as light and fast as possible.
|
|
||||||
- **Customizable and extensible**: there are a lot of options to customize WeeChat, and it is extensible with C plugins and [scripts](https://weechat.org/scripts/) ([Perl](https://weechat.org/scripts/language/perl/), [Python](https://weechat.org/scripts/language/python/), [Ruby](https://weechat.org/scripts/language/ruby), [Lua](https://weechat.org/scripts/language/lua/), [Tcl](https://weechat.org/scripts/language/tcl/), [Scheme](https://weechat.org/scripts/language/guile/), [JavaScript](https://weechat.org/scripts/language/javascript/) and [PHP](https://weechat.org/scripts/language/php/)).
|
|
||||||
- **Fully documented**: there is comprehensive [documentation](https://weechat.org/doc/weechat/), which is [translated](https://weechat.org/doc/weechat/dev/#translations) into several languages.
|
|
||||||
- **Developed from scratch**: WeeChat was built from scratch and is not based on any other client.
|
|
||||||
- **Free software**: WeeChat is released under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html).
|
|
||||||
|
|
||||||
<p align="center">
|
|
||||||
<img src="https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png" alt="WeeChat" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
On WeeChat's website you can find [more screenshots](https://weechat.org/about/screenshots/).
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
WeeChat can be installed using your favorite package manager (recommended) or by compiling it yourself.\
|
|
||||||
For detailed instructions, please check the [WeeChat user's guide](https://weechat.org/doc/weechat/user/#install).
|
|
||||||
|
|
||||||
## Semantic versioning
|
|
||||||
|
|
||||||
WeeChat is following a "practical" semantic versioning, see file [CONTRIBUTING.md](CONTRIBUTING.md#semantic-versioning).
|
|
||||||
|
|
||||||
## Copyright
|
|
||||||
|
|
||||||
Copyright © 2003-2025 [Sébastien Helleu](https://github.com/flashcode)
|
|
||||||
|
|
||||||
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/>.
|
|
||||||
+1391
-1205
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2014-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2014-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -0,0 +1,53 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2023 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 Gcrypt
|
||||||
|
# This module finds if libgcrypt is installed and determines where
|
||||||
|
# the include files and libraries are.
|
||||||
|
#
|
||||||
|
# This code sets the following variables:
|
||||||
|
#
|
||||||
|
# GCRYPT_CFLAGS = cflags to use to compile
|
||||||
|
# GCRYPT_LDFLAGS = ldflags to use to compile
|
||||||
|
#
|
||||||
|
|
||||||
|
find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
|
||||||
|
|
||||||
|
set(GCRYPT_LDFLAGS)
|
||||||
|
set(GCRYPT_CFLAGS)
|
||||||
|
|
||||||
|
if(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||||
|
|
||||||
|
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --libs RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
|
||||||
|
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --cflags RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
|
||||||
|
|
||||||
|
if(NOT DEFINED ${GCRYPT_CFLAGS})
|
||||||
|
set(GCRYPT_CFLAGS " ")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
|
||||||
|
# all listed variables are TRUE
|
||||||
|
include(FindPackageHandleStandardArgs)
|
||||||
|
find_package_handle_standard_args(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
|
||||||
|
|
||||||
|
if(GCRYPT_FOUND)
|
||||||
|
mark_as_advanced(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
|
||||||
|
endif()
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -0,0 +1,75 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2023 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-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -35,5 +35,5 @@ endif()
|
|||||||
|
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
if(PKG_CONFIG_FOUND)
|
if(PKG_CONFIG_FOUND)
|
||||||
pkg_search_module(LUA lua lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50)
|
pkg_search_module(LUA lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-4
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
||||||
# Copyright (C) 2017-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2017-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
@@ -29,8 +29,6 @@ endif()
|
|||||||
|
|
||||||
if(NOT PHP_FOUND)
|
if(NOT PHP_FOUND)
|
||||||
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
||||||
php-config8.4 php-config84
|
|
||||||
php-config8.3 php-config83
|
|
||||||
php-config8.2 php-config82
|
php-config8.2 php-config82
|
||||||
php-config8.1 php-config81
|
php-config8.1 php-config81
|
||||||
php-config8.0 php-config80
|
php-config8.0 php-config80
|
||||||
@@ -50,7 +48,7 @@ if(NOT PHP_FOUND)
|
|||||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
if(${PHP_VERSION} MATCHES "^[78]")
|
if(${PHP_VERSION} MATCHES "^[78]")
|
||||||
find_library(PHP_LIB
|
find_library(PHP_LIB
|
||||||
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
|
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
|
||||||
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
|
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
|
||||||
)
|
)
|
||||||
if(PHP_LIB)
|
if(PHP_LIB)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2023 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()
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2023 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-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2015-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,39 +1,3 @@
|
|||||||
#cmakedefine01 ENABLE_NCURSES
|
|
||||||
#cmakedefine01 ENABLE_HEADLESS
|
|
||||||
#cmakedefine01 ENABLE_NLS
|
|
||||||
#cmakedefine01 ENABLE_LARGEFILE
|
|
||||||
#cmakedefine01 ENABLE_ZSTD
|
|
||||||
#cmakedefine01 ENABLE_CJSON
|
|
||||||
#cmakedefine01 ENABLE_ALIAS
|
|
||||||
#cmakedefine01 ENABLE_BUFLIST
|
|
||||||
#cmakedefine01 ENABLE_CHARSET
|
|
||||||
#cmakedefine01 ENABLE_EXEC
|
|
||||||
#cmakedefine01 ENABLE_FIFO
|
|
||||||
#cmakedefine01 ENABLE_FSET
|
|
||||||
#cmakedefine01 ENABLE_IRC
|
|
||||||
#cmakedefine01 ENABLE_LOGGER
|
|
||||||
#cmakedefine01 ENABLE_RELAY
|
|
||||||
#cmakedefine01 ENABLE_SCRIPT
|
|
||||||
#cmakedefine01 ENABLE_SCRIPTS
|
|
||||||
#cmakedefine01 ENABLE_PERL
|
|
||||||
#cmakedefine01 ENABLE_PYTHON
|
|
||||||
#cmakedefine01 ENABLE_RUBY
|
|
||||||
#cmakedefine01 ENABLE_LUA
|
|
||||||
#cmakedefine01 ENABLE_TCL
|
|
||||||
#cmakedefine01 ENABLE_GUILE
|
|
||||||
#cmakedefine01 ENABLE_JAVASCRIPT
|
|
||||||
#cmakedefine01 ENABLE_PHP
|
|
||||||
#cmakedefine01 ENABLE_SPELL
|
|
||||||
#cmakedefine01 ENABLE_ENCHANT
|
|
||||||
#cmakedefine01 ENABLE_TRIGGER
|
|
||||||
#cmakedefine01 ENABLE_TYPING
|
|
||||||
#cmakedefine01 ENABLE_XFER
|
|
||||||
#cmakedefine01 ENABLE_MAN
|
|
||||||
#cmakedefine01 ENABLE_DOC
|
|
||||||
#cmakedefine01 ENABLE_DOC_INCOMPLETE
|
|
||||||
#cmakedefine01 ENABLE_TESTS
|
|
||||||
#cmakedefine01 ENABLE_CODE_COVERAGE
|
|
||||||
|
|
||||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||||
#cmakedefine HAVE_FLOCK
|
#cmakedefine HAVE_FLOCK
|
||||||
#cmakedefine HAVE_LANGINFO_CODESET
|
#cmakedefine HAVE_LANGINFO_CODESET
|
||||||
@@ -41,17 +5,10 @@
|
|||||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||||
#cmakedefine HAVE_MALLINFO
|
#cmakedefine HAVE_MALLINFO
|
||||||
#cmakedefine HAVE_MALLINFO2
|
#cmakedefine HAVE_MALLINFO2
|
||||||
#cmakedefine HAVE_MALLOC_H
|
|
||||||
#cmakedefine HAVE_MALLOC_TRIM
|
|
||||||
#cmakedefine HAVE_HTONLL
|
|
||||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||||
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
||||||
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
||||||
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
|
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
|
||||||
|
|
||||||
#define CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
|
|
||||||
#define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
|
|
||||||
|
|
||||||
#define PACKAGE_VERSION "@VERSION@"
|
#define PACKAGE_VERSION "@VERSION@"
|
||||||
#define PACKAGE "@PROJECT_NAME@"
|
#define PACKAGE "@PROJECT_NAME@"
|
||||||
#define PACKAGE_NAME "@PROJECT_NAME@"
|
#define PACKAGE_NAME "@PROJECT_NAME@"
|
||||||
|
|||||||
@@ -6,9 +6,8 @@ Build-Depends:
|
|||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
ruby-pygments.rb,
|
ruby-pygments.rb,
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake,
|
cmake, pkg-config,
|
||||||
pkgconf,
|
libncursesw5-dev,
|
||||||
libncurses-dev,
|
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
@@ -22,9 +21,8 @@ Build-Depends:
|
|||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev
|
||||||
libcjson-dev
|
Standards-Version: 4.6.0.1
|
||||||
Standards-Version: 4.7.2
|
|
||||||
Homepage: https://weechat.org/
|
Homepage: https://weechat.org/
|
||||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||||
|
|||||||
@@ -16,5 +16,8 @@ override_dh_auto_configure:
|
|||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
|
override_dh_installchangelogs:
|
||||||
|
dh_installchangelogs ChangeLog.adoc
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --builddirectory=$(BUILDDIR)
|
dh $@ --builddirectory=$(BUILDDIR)
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
tar-ignore = ".git"
|
|
||||||
tar-ignore = "build"
|
|
||||||
tar-ignore = "release"
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-dev-sr
|
|
||||||
Title: WeeChat developer's guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat internals and
|
|
||||||
how to contribute to WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_dev.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_dev.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-sr
|
|
||||||
Title: WeeChat FAQ (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-plugin-sr
|
|
||||||
Title: WeeChat plugin API reference (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document describes the API to create plugins
|
|
||||||
for WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_plugin_api.sr.html
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-cs
|
|
||||||
Title: WeeChat quick start guide (Czech)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Czech version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.cs.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.cs.html
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-sr
|
|
||||||
Title: WeeChat quick start guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_quickstart.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-api-en
|
|
||||||
Title: WeeChat Relay "api" protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
|
||||||
remote GUI or WeeChat to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-api-fr
|
|
||||||
Title: WeeChat Relay "api" protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
|
||||||
remote GUI or WeeChat to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-en
|
||||||
|
Title: WeeChat Relay protocol (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.en.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-fr
|
||||||
|
Title: WeeChat Relay protocol (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.fr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-ja
|
||||||
|
Title: WeeChat Relay protocol (Japanese)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (Japanese version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.ja.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_protocol.ja.html
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-en
|
|
||||||
Title: WeeChat Relay "weechat" protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.en.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-fr
|
|
||||||
Title: WeeChat Relay "weechat" protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.fr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-ja
|
|
||||||
Title: WeeChat Relay "weechat" protocol (Japanese)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.ja.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-sr
|
|
||||||
Title: WeeChat Relay "weechat" protocol (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_weechat.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-sr
|
|
||||||
Title: WeeChat scripting guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document describes the API to create scripts
|
|
||||||
for WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_scripting.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-sr
|
|
||||||
Title: WeeChat user's guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes how to use the WeeChat
|
|
||||||
IRC client (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_user.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_user.sr.html
|
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
weechat (2.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
This release introduces a new headless client and a new PHP plugin for
|
||||||
|
scripting (respectively weechat-headless and weechat-php binary
|
||||||
|
packages).
|
||||||
|
To avoid at least unnecessary dependencies, each plugin has its own
|
||||||
|
separate binary package:
|
||||||
|
weechat-{perl,python,ruby,lua,guile,javascript,php}
|
||||||
|
Depending on your needs about scripting with weechat you should consider
|
||||||
|
to install the missing packages.
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 21 Mar 2018 07:53:40 +0100
|
||||||
|
|
||||||
|
weechat (1.1.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
Since version 1.1, there is a new format for regexp replacement in
|
||||||
|
triggers. This format is incompatible with version 1.0. The existing
|
||||||
|
triggers will not be automatically updated.
|
||||||
|
See https://weechat.org/files/releasenotes/ReleaseNotes-1.1.html
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 25 Jan 2015 20:41:50 +0100
|
||||||
|
|
||||||
|
weechat (0.3.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
This release introduces important changes with the usage of SSL. There
|
||||||
|
are stronger checks while connecting with SSL. By default, if a connection
|
||||||
|
is not fully trusted it will fail.
|
||||||
|
You can find more information on how to handle this new behaviour here:
|
||||||
|
https://blog.weechat.org/post/2009/12/01/SSL-certificates
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
|
||||||
|
|
||||||
|
weechat (0.3.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
This release introduces major changes. Large part of code was
|
||||||
|
rewritten without keeping compatibility with older versions.
|
||||||
|
|
||||||
|
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
|
||||||
|
for more information on upgrade from a version 0.2.x to 0.3.x.
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
|
||||||
+4
-51
@@ -1,50 +1,3 @@
|
|||||||
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)
|
|
||||||
- fix FTBFS against libgcrypt 1.11 (Closes: #1071960)
|
|
||||||
* Add build dependency on libcjson-dev
|
|
||||||
* Replace pkg-config build dependency by pkgconf
|
|
||||||
* Minor updates in debian/copyright
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 01 Jun 2024 14:21:02 +0000
|
|
||||||
|
|
||||||
weechat (4.1.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release (Closes: #1055278)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 03 Nov 2023 20:23:37 +0000
|
|
||||||
|
|
||||||
weechat (4.0.5-1) unstable; urgency=medium
|
weechat (4.0.5-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
@@ -559,7 +512,7 @@ weechat (0.3.6-1) unstable; urgency=low
|
|||||||
documentation when weechat-doc is installed (Closes: #632621)
|
documentation when weechat-doc is installed (Closes: #632621)
|
||||||
* Add a Suggest on weechat-doc for weechat and weechat-curses. Thanks to
|
* Add a Suggest on weechat-doc for weechat and weechat-curses. Thanks to
|
||||||
Jonathan Nieder for the proposal.
|
Jonathan Nieder for the proposal.
|
||||||
* Fix the cmake invocation from debian/rules (cflags and ldflags)
|
* Fix the cmake invokation from debian/rules (cflags and ldflags)
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 26 Oct 2011 20:10:09 +0000
|
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 26 Oct 2011 20:10:09 +0000
|
||||||
|
|
||||||
@@ -781,7 +734,7 @@ weechat (0.2.3-1) unstable; urgency=low
|
|||||||
* New upstream release
|
* New upstream release
|
||||||
* Bump lua build-dependency to liblua5.1-0-dev
|
* Bump lua build-dependency to liblua5.1-0-dev
|
||||||
* Add pkg-config to Build-Depends
|
* Add pkg-config to Build-Depends
|
||||||
* Remove some duplicated changelog entries.
|
* Remove some duplited changelog entries.
|
||||||
* Improve weechat-plugins description
|
* Improve weechat-plugins description
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Fri, 12 Jan 2007 09:01:46 +0100
|
-- Julien Louis <ptitlouis@sysif.net> Fri, 12 Jan 2007 09:01:46 +0100
|
||||||
@@ -789,7 +742,7 @@ weechat (0.2.3-1) unstable; urgency=low
|
|||||||
weechat (0.2.1-1) unstable; urgency=low
|
weechat (0.2.1-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
* Override lintian menu-icon-missing warning
|
* Overrive lintian menu-icon-missing warning
|
||||||
since the icon is in the weechat-common package.
|
since the icon is in the weechat-common package.
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Mon, 2 Oct 2006 15:30:06 +0200
|
-- Julien Louis <ptitlouis@sysif.net> Mon, 2 Oct 2006 15:30:06 +0200
|
||||||
@@ -934,7 +887,7 @@ weechat (0.1.1-2) unstable; urgency=low
|
|||||||
|
|
||||||
* debian/control:
|
* debian/control:
|
||||||
- Add myself to uploaders.
|
- Add myself to uploaders.
|
||||||
- Remove unnecessary dependency on weechat-gtk (Closes: #308287).
|
- Remove unecessary dependency on weechat-gtk (Closes: #308287).
|
||||||
|
|
||||||
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
|
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,8 @@ Build-Depends:
|
|||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
ruby-pygments.rb,
|
ruby-pygments.rb,
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake,
|
cmake, pkg-config,
|
||||||
pkgconf,
|
libncursesw5-dev,
|
||||||
libncurses-dev,
|
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
@@ -22,9 +21,8 @@ Build-Depends:
|
|||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev
|
||||||
libcjson-dev
|
Standards-Version: 4.6.1.0
|
||||||
Standards-Version: 4.7.2
|
|
||||||
Homepage: https://weechat.org/
|
Homepage: https://weechat.org/
|
||||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||||
|
|||||||
+13
-13
@@ -4,26 +4,26 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
|||||||
Source: https://weechat.org/
|
Source: https://weechat.org/
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2003-2025, Sébastien Helleu <flashcode@flashtux.org>
|
Copyright: 2003-2023, Sébastien Helleu <flashcode@flashtux.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-command.c
|
Files: src/core/wee-command.c
|
||||||
src/core/core-command.h
|
src/core/wee-command.h
|
||||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-config-file.c
|
Files: src/core/wee-config-file.c
|
||||||
src/core/core-config-file.h
|
src/core/wee-config-file.h
|
||||||
src/core/core-config.c
|
src/core/wee-config.c
|
||||||
src/core/core-config.h
|
src/core/wee-config.h
|
||||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/hook/hook-connect.c
|
Files: src/core/hook/wee-hook-connect.c
|
||||||
Copyright: 2012, Simon Arlott
|
Copyright: 2012, Simon Arlott
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/hook/hook-connect.h
|
Files: src/core/hook/wee-hook-connect.h
|
||||||
Copyright: 2012, Simon Arlott
|
Copyright: 2012, Simon Arlott
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
@@ -31,9 +31,9 @@ Files: src/gui/gui-history.c
|
|||||||
Copyright: 2005, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-completion.c
|
Files: src/core/wee-completion.c
|
||||||
src/core/core-log.c
|
src/core/wee-log.c
|
||||||
src/core/core-utf8.c
|
src/core/wee-utf8.c
|
||||||
src/core/weechat.h
|
src/core/weechat.h
|
||||||
src/plugins/spell/spell-config.c
|
src/plugins/spell/spell-config.c
|
||||||
src/plugins/spell/spell-config.h
|
src/plugins/spell/spell-config.h
|
||||||
@@ -45,7 +45,7 @@ Files: src/core/core-completion.c
|
|||||||
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-network.c
|
Files: src/core/wee-network.c
|
||||||
Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
2010, Gu1ll4um3r0m41n <aeroxteam@gmail.com>
|
2010, Gu1ll4um3r0m41n <aeroxteam@gmail.com>
|
||||||
2012, Simon Arlott
|
2012, Simon Arlott
|
||||||
|
|||||||
@@ -16,5 +16,8 @@ override_dh_auto_configure:
|
|||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||||
|
|
||||||
|
override_dh_installchangelogs:
|
||||||
|
dh_installchangelogs ChangeLog.adoc
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --builddirectory=$(BUILDDIR)
|
dh $@ --builddirectory=$(BUILDDIR)
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
tar-ignore = ".git"
|
|
||||||
tar-ignore = "build"
|
|
||||||
tar-ignore = "release"
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
AUTHORS.md
|
AUTHORS.adoc
|
||||||
CHANGELOG.md
|
Contributing.adoc
|
||||||
CONTRIBUTING.md
|
README.adoc
|
||||||
README.md
|
ReleaseNotes.adoc
|
||||||
UPGRADING.md
|
|
||||||
|
|||||||
@@ -7,4 +7,3 @@ usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
|
|||||||
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
|
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
|
||||||
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
|
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
|
||||||
usr/share/man/ru/man1/weechat.1.gz usr/share/man/ru/man1/weechat-curses.1.gz
|
usr/share/man/ru/man1/weechat.1.gz usr/share/man/ru/man1/weechat-curses.1.gz
|
||||||
usr/share/man/sr/man1/weechat.1.gz usr/share/man/sr/man1/weechat-curses.1.gz
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-api-en
|
|
||||||
Title: WeeChat Relay "api" protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
|
||||||
remote GUI or WeeChat to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-api-fr
|
|
||||||
Title: WeeChat Relay "api" protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "api" protocol, used by
|
|
||||||
remote GUI or WeeChat to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_relay_api.fr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-dev-sr
|
|
||||||
Title: WeeChat developer's guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat internals and
|
|
||||||
how to contribute to WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_dev.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_dev.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-sr
|
|
||||||
Title: WeeChat FAQ (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-plugin-sr
|
|
||||||
Title: WeeChat plugin API reference (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document describes the API to create plugins
|
|
||||||
for WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.sr.html
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-cs
|
|
||||||
Title: WeeChat quick start guide (Czech)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Czech version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.cs.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.cs.html
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
Document: weechat-quickstart-sr
|
|
||||||
Title: WeeChat quick start guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: A short HowTo for new WeeChat users (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_quickstart.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_quickstart.sr.html
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-en
|
||||||
|
Title: WeeChat Relay protocol (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-fr
|
||||||
|
Title: WeeChat Relay protocol (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-relay-protocol-ja
|
||||||
|
Title: WeeChat Relay protocol (Japanese)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This manual describes WeeChat Relay Protocol, used by
|
||||||
|
remote GUI to communicate with Relay plugin (Japanese version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-en
|
|
||||||
Title: WeeChat Relay "weechat" protocol (English)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (English version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.en.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.en.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-fr
|
|
||||||
Title: WeeChat Relay "weechat" protocol (French)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (French version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.fr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.fr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-ja
|
|
||||||
Title: WeeChat Relay "weechat" protocol (Japanese)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Japanese version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.ja.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.ja.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-relay-weechat-sr
|
|
||||||
Title: WeeChat Relay "weechat" protocol (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes WeeChat Relay "weechat" protocol, used by
|
|
||||||
remote GUI to communicate with Relay plugin (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_relay_weechat.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-scripting-sr
|
|
||||||
Title: WeeChat scripting guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document describes the API to create scripts
|
|
||||||
for WeeChat (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_scripting.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_scripting.sr.html
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-user-sr
|
|
||||||
Title: WeeChat user's guide (Serbian)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This manual describes how to use the WeeChat
|
|
||||||
IRC client (Serbian version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_user.sr.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_user.sr.html
|
|
||||||
+61
-52
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -28,8 +28,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
set(SCRIPTING_LANG de en fr it ja pl sr)
|
set(SCRIPTING_LANG de en fr it ja pl sr)
|
||||||
set(FAQ_LANG de en es fr it ja pl sr)
|
set(FAQ_LANG de en es fr it ja pl sr)
|
||||||
set(QUICKSTART_LANG cs de en es fr it ja pl ru sr)
|
set(QUICKSTART_LANG cs de en es fr it ja pl ru sr)
|
||||||
set(RELAY_API_LANG en fr)
|
set(RELAY_LANG en fr ja sr)
|
||||||
set(RELAY_WEECHAT_LANG en fr ja sr)
|
|
||||||
set(DEV_LANG en fr ja sr)
|
set(DEV_LANG en fr ja sr)
|
||||||
|
|
||||||
find_package(Asciidoctor)
|
find_package(Asciidoctor)
|
||||||
@@ -40,6 +39,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
-a reproducible
|
-a reproducible
|
||||||
-a "prewrap!"
|
-a "prewrap!"
|
||||||
-a "webfonts!"
|
-a "webfonts!"
|
||||||
|
-a icons=font
|
||||||
-a revnumber="${VERSION}"
|
-a revnumber="${VERSION}"
|
||||||
-a sectanchors
|
-a sectanchors
|
||||||
-a source-highlighter=pygments
|
-a source-highlighter=pygments
|
||||||
@@ -93,17 +93,8 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
-a docinfo1
|
-a docinfo1
|
||||||
)
|
)
|
||||||
|
|
||||||
# asciidoctor arguments for relay "api"
|
# asciidoctor arguments for relay protocol
|
||||||
set(ASCIIDOCTOR_RELAY_API_ARGS
|
set(ASCIIDOCTOR_RELAY_ARGS
|
||||||
-a toc=left
|
|
||||||
-a toclevels=3
|
|
||||||
-a sectnums
|
|
||||||
-a sectnumlevels=2
|
|
||||||
-a docinfo1
|
|
||||||
)
|
|
||||||
|
|
||||||
# asciidoctor arguments for relay "weechat"
|
|
||||||
set(ASCIIDOCTOR_RELAY_WEECHAT_ARGS
|
|
||||||
-a toc=left
|
-a toc=left
|
||||||
-a toclevels=3
|
-a toclevels=3
|
||||||
-a sectnums
|
-a sectnums
|
||||||
@@ -120,6 +111,54 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
-a docinfo1
|
-a docinfo1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# sed arguments used to replace links in ChangeLog and release notes
|
||||||
|
set(SED_LINKS_ARGS
|
||||||
|
-e "'s/issue #\\([0-9][0-9]*\\)/https:\\/\\/github.com\\/weechat\\/weechat\\/issues\\/\\1[issue #\\1^]/g'"
|
||||||
|
-e "'s/bug #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/bugs\\/?\\1[bug #\\1^]/g'"
|
||||||
|
-e "'s/task #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/task\\/?\\1[task #\\1^]/g'"
|
||||||
|
-e "'s/patch #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/patch\\/?\\1[patch #\\1^]/g'"
|
||||||
|
-e "'s/debian #\\([0-9][0-9]*\\)/http:\\/\\/bugs.debian.org\\/cgi-bin\\/bugreport.cgi?bug=\\1[debian bug #\\1^]/g'"
|
||||||
|
-e "'s/\\(CVE-[0-9][0-9]*-[0-9][0-9]*\\)/https:\\/\\/cve.mitre.org\\/cgi-bin\\/cvename.cgi?name=\\1[\\1^]/g'"
|
||||||
|
)
|
||||||
|
|
||||||
|
# ChangeLog
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc"
|
||||||
|
COMMAND sed ARGS ${SED_LINKS_ARGS} "${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc" > "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc"
|
||||||
|
DEPENDS
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc"
|
||||||
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
|
)
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html"
|
||||||
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -o ChangeLog.html "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc"
|
||||||
|
DEPENDS
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc"
|
||||||
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
|
COMMENT "Building ChangeLog.html"
|
||||||
|
)
|
||||||
|
add_custom_target(changelog DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html")
|
||||||
|
|
||||||
|
# Release notes
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc"
|
||||||
|
COMMAND sed ARGS ${SED_LINKS_ARGS} "${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc" > "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc"
|
||||||
|
DEPENDS
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc"
|
||||||
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
|
)
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html"
|
||||||
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} -o ReleaseNotes.html "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc"
|
||||||
|
DEPENDS
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc"
|
||||||
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
|
COMMENT "Building ReleaseNotes.html"
|
||||||
|
)
|
||||||
|
add_custom_target(rn DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html")
|
||||||
|
|
||||||
if(ENABLE_DOC)
|
if(ENABLE_DOC)
|
||||||
set(AUTOGEN_FILES "")
|
set(AUTOGEN_FILES "")
|
||||||
foreach(lang ${AUTOGEN_LANG})
|
foreach(lang ${AUTOGEN_LANG})
|
||||||
@@ -138,9 +177,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_default_aliases.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_default_aliases.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_irc_colors.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_irc_colors.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_options.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_options.${lang}.adoc"
|
||||||
# scripting duide
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
|
||||||
)
|
)
|
||||||
endforeach()
|
endforeach()
|
||||||
add_custom_target(doc-autogen ALL
|
add_custom_target(doc-autogen ALL
|
||||||
@@ -204,7 +240,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
"${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"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
||||||
doc-autogen
|
doc-autogen
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
||||||
@@ -225,7 +260,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
doc-autogen
|
doc-autogen
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_config_priority.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_config_priority.${lang}.adoc"
|
||||||
@@ -249,10 +283,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
"${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"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_scripting.${lang}.html"
|
COMMENT "Building weechat_scripting.${lang}.html"
|
||||||
)
|
)
|
||||||
@@ -267,7 +297,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_faq.${lang}.html"
|
COMMENT "Building weechat_faq.${lang}.html"
|
||||||
)
|
)
|
||||||
@@ -282,44 +311,25 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_quickstart.${lang}.html"
|
COMMENT "Building weechat_quickstart.${lang}.html"
|
||||||
)
|
)
|
||||||
add_custom_target(doc-quickstart-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html")
|
add_custom_target(doc-quickstart-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html")
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||||
endforeach()
|
endforeach()
|
||||||
# relay "api"
|
# relay protocol
|
||||||
foreach(lang ${RELAY_API_LANG})
|
foreach(lang ${RELAY_LANG})
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${lang}.html"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.${lang}.html"
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_RELAY_API_ARGS} -o "weechat_relay_api.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_RELAY_ARGS} -o "weechat_relay_protocol.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_protocol.${lang}.adoc"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_protocol.${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}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_relay_api.${lang}.html"
|
COMMENT "Building weechat_relay_protocol.${lang}.html"
|
||||||
)
|
)
|
||||||
add_custom_target(doc-relay-api-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${lang}.html")
|
add_custom_target(doc-relay-protocol-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.${lang}.html")
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
||||||
endforeach()
|
|
||||||
# relay "weechat"
|
|
||||||
foreach(lang ${RELAY_WEECHAT_LANG})
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html"
|
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_RELAY_WEECHAT_ARGS} -o "weechat_relay_weechat.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
|
|
||||||
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"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-relay-weechat-${lang} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html")
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html" DESTINATION "${DATAROOTDIR}/doc/${PROJECT_NAME}")
|
|
||||||
endforeach()
|
endforeach()
|
||||||
# developer's guide
|
# developer's guide
|
||||||
foreach(lang ${DEV_LANG})
|
foreach(lang ${DEV_LANG})
|
||||||
@@ -329,7 +339,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_dev.${lang}.html"
|
COMMENT "Building weechat_dev.${lang}.html"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
// 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í
|
|
||||||
@@ -39,10 +39,6 @@
|
|||||||
*-h*, *--help*::
|
*-h*, *--help*::
|
||||||
Zobrazí nápovědu.
|
Zobrazí nápovědu.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
*-i*, *--build-info*::
|
|
||||||
Display build information and exit.
|
|
||||||
|
|
||||||
*-l*, *--license*::
|
*-l*, *--license*::
|
||||||
Zobrazí licenci WeeChatu.
|
Zobrazí licenci WeeChatu.
|
||||||
|
|
||||||
|
|||||||
@@ -97,9 +97,9 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
|
|
||||||
// tag::copyright[]
|
// tag::copyright[]
|
||||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||||
souboru AUTHORS.md).
|
souboru AUTHORS.adoc).
|
||||||
|
|
||||||
Copyright (C) 2003-2025 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: cs
|
:lang: cs
|
||||||
include::includes/attributes-cs.adoc[]
|
|
||||||
|
|
||||||
[[start]]
|
[[start]]
|
||||||
== Spuštění WeeChatu
|
== Spuštění WeeChatu
|
||||||
@@ -13,9 +12,8 @@ klávesových zkratek.
|
|||||||
|
|
||||||
Spustění z Vašeho shellu:
|
Spustění z Vašeho shellu:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
weechat
|
$ weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[help]]
|
[[help]]
|
||||||
@@ -287,7 +285,7 @@ Close a server, channel or private buffer (`/close` is an alias for
|
|||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
[CAUTION]
|
[WARNING]
|
||||||
Closing the server buffer will close all channel/private buffers.
|
Closing the server buffer will close all channel/private buffers.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
// 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
|
|
||||||
@@ -35,9 +35,6 @@
|
|||||||
*-h*, *--help*::
|
*-h*, *--help*::
|
||||||
zeigt einen Hilfstext an.
|
zeigt einen Hilfstext an.
|
||||||
|
|
||||||
*-i*, *--build-info*::
|
|
||||||
Build-Informationen anzeigen und beenden.
|
|
||||||
|
|
||||||
*-l*, *--license*::
|
*-l*, *--license*::
|
||||||
zeigt die Lizenz von WeeChat an.
|
zeigt die Lizenz von WeeChat an.
|
||||||
|
|
||||||
|
|||||||
@@ -98,9 +98,9 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
|
|
||||||
// tag::copyright[]
|
// tag::copyright[]
|
||||||
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
||||||
findet man in der AUTHORS.md Datei).
|
findet man in der AUTHORS.adoc Datei).
|
||||||
|
|
||||||
Copyright (C) 2003-2025 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+36
-98
@@ -2,7 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: de
|
:lang: de
|
||||||
include::includes/attributes-de.adoc[]
|
:toc-title: Inhaltsverzeichnis
|
||||||
|
|
||||||
Übersetzer:
|
Übersetzer:
|
||||||
|
|
||||||
@@ -54,14 +54,12 @@ Wenn Sie weiterhin Probleme haben, melden Sie diese bitte den Entwicklern.
|
|||||||
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew ^↗^^] genutzt wird.
|
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew ^↗^^] genutzt wird.
|
||||||
Hilfe erhält man mittels:
|
Hilfe erhält man mittels:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
brew info weechat
|
brew info weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
WeeChat kann durch folgenden Befehl installiert werden:
|
WeeChat kann durch folgenden Befehl installiert werden:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
brew install weechat
|
brew install weechat
|
||||||
----
|
----
|
||||||
@@ -333,14 +331,11 @@ 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]
|
Im Normalfall erfolgt die Markierung des Textes mittels der Tasten kbd:[Ctrl+Alt]
|
||||||
in Verbindung mit der Auswahl durch die Maus.
|
in Verbindung mit der Auswahl durch die Maus.
|
||||||
|
|
||||||
Die Nickliste kann umgeschaltet und nur bei Bedarf sichtbar gemacht werden, mit der Taste kbd:[Alt+Shift+N].
|
|
||||||
|
|
||||||
Eine weitere Möglichkeit besteht darin,
|
Eine weitere Möglichkeit besteht darin,
|
||||||
die Benutzerliste am oberen oder unteren Rand des WeeChat-Bildschirmes zu positionieren:
|
die Benutzerliste am oberen oder unteren Rand des WeeChat-Bildschirmes zu positionieren:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
/set weechat.bar.nicklist.size_max 8
|
|
||||||
----
|
----
|
||||||
|
|
||||||
[[urls]]
|
[[urls]]
|
||||||
@@ -350,13 +345,10 @@ Dazu kann man den vereinfachten Anzeigemodus nutzen (Standardtaste: kbd:[Alt+l]
|
|||||||
|
|
||||||
Um URLs einfacher zu öffnen, können alternativ folgende Optionen gesetzt werden:
|
Um URLs einfacher zu öffnen, können alternativ folgende Optionen gesetzt werden:
|
||||||
|
|
||||||
* Nickliste umschalten und nur bei Bedarf darstellen, mit dem Tastenkurzbefehl kbd:[Alt+Shift+N]
|
|
||||||
|
|
||||||
* Die Benutzerliste am oberen Bildschirmbereich positionieren.
|
* Die Benutzerliste am oberen Bildschirmbereich positionieren.
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
/set weechat.bar.nicklist.size_max 8
|
|
||||||
----
|
----
|
||||||
|
|
||||||
* Die Ausrichtung bei einem Zeilenumbruch innerhalb eines Wortes deaktivieren.
|
* Die Ausrichtung bei einem Zeilenumbruch innerhalb eines Wortes deaktivieren.
|
||||||
@@ -407,7 +399,6 @@ Umgebungsvariable `TZ` muss auf einen entsprechenden Wert eingestellt werden.
|
|||||||
Am Besten machen Sie dies in Ihrer Shell-Initialisierungsdatei oder in der
|
Am Besten machen Sie dies in Ihrer Shell-Initialisierungsdatei oder in der
|
||||||
Befehlszeile, bevor Sie WeeChat starten:
|
Befehlszeile, bevor Sie WeeChat starten:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
export TZ=Europe/Berlin
|
export TZ=Europe/Berlin
|
||||||
----
|
----
|
||||||
@@ -622,30 +613,6 @@ Sollte die macOS Terminal Applikation genutzt werden, empfiehlt es sich,
|
|||||||
die Option "Use option as meta key" in den Menü-Einstellungen zu aktivieren.
|
die Option "Use option as meta key" in den Menü-Einstellungen zu aktivieren.
|
||||||
Dadurch kann man die kbd:[Option] Taste als Meta-Taste verwenden.
|
Dadurch kann man die kbd:[Option] Taste als Meta-Taste verwenden.
|
||||||
|
|
||||||
[[enter_key]]
|
|
||||||
=== Einige Tasten, einschließlich Enter, funktionieren nicht. Weshalb?
|
|
||||||
|
|
||||||
Wenn eine WeeChat Version < 4.0.0 mit Konfigurationsdateien ausgeführt wird,
|
|
||||||
die von einer Weechat Version ≥ 4.0.0 erstellt wurde, sind die Tastennamen ungültig und viele Tasten funktionieren überhaupt nicht mehr. +
|
|
||||||
Um dies zu reparieren, muss WeeChat beendet und alle Einträge aus dem Abschnitt `[key*]` innerhalb der weechat.conf entfernt werden.
|
|
||||||
Wenn WeeChat erneut gestartet wird, wird die Standardtastenbelegung neu erstellt.
|
|
||||||
|
|
||||||
[[key_f11]]
|
|
||||||
=== Die Taste F11 maximiert das Terminalfenster. Wie kann ich aber in der Nicklist nach oben scrollen?
|
|
||||||
|
|
||||||
Die kbd:[F11] Taste wird häufig von Terminals verwendet, um das Fenster zu maximieren. Aber
|
|
||||||
kbd:[F11]/kbd:[F12] sind ebenso die Standardtasten, in WeeChat, um in der Nickliste zu scrollen.
|
|
||||||
|
|
||||||
Man kann andere Tasten nutzen, zum Beispiel kbd:[Shift+F11] und kbd:[Shift+F12],
|
|
||||||
mit WeeChat ≥ 4.0.0:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Eine andere Möglichkeit besteht darin, die Maus zu aktivieren (Taste: kbd:[Alt+m]) und mit dem Mausrad zu scrollen (siehe auch Fragen zu <<mouse,mouse>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== Wie kann ich die Tastaturbelegung anpassen?
|
=== Wie kann ich die Tastaturbelegung anpassen?
|
||||||
|
|
||||||
@@ -676,12 +643,6 @@ werden um dann z.B. mit einem Kurzbefehl `/123` zum Buffer #123 zu springen:
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
Um einfach von einem Buffer zu einem anderen zu springen, kann man das _go.py_ Skript installieren:
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen?
|
=== Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen?
|
||||||
|
|
||||||
@@ -722,9 +683,8 @@ Entsprechend der ausgegebenen Information, wird ggf. eine Maus nicht unterstütz
|
|||||||
Um zu testen ob eine Mausunterstützung vom Terminal bereitgestellt wird, sollte
|
Um zu testen ob eine Mausunterstützung vom Terminal bereitgestellt wird, sollte
|
||||||
man folgende Zeile im Terminal eingeben:
|
man folgende Zeile im Terminal eingeben:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
printf '\033[?1002h'
|
$ printf '\033[?1002h'
|
||||||
----
|
----
|
||||||
|
|
||||||
Jetzt klickt man mit der Maus auf das erste Zeichen im Terminal (linke obere
|
Jetzt klickt man mit der Maus auf das erste Zeichen im Terminal (linke obere
|
||||||
@@ -732,9 +692,8 @@ Ecke). Als Ergebnis sollte man folgende Zeichenkette erhalten: " !!#!!".
|
|||||||
|
|
||||||
Um die Mausunterstützung im Terminal zu beenden:
|
Um die Mausunterstützung im Terminal zu beenden:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
printf '\033[?1002l'
|
$ printf '\033[?1002l'
|
||||||
----
|
----
|
||||||
|
|
||||||
[[mouse_coords]]
|
[[mouse_coords]]
|
||||||
@@ -801,7 +760,7 @@ Man sollte versuchen, eine andere Priorität zu nutzen; Im folgenden Beispiel
|
|||||||
muss "xxx" durch den betroffenen Servernamen ersetzt werden:
|
muss "xxx" durch den betroffenen Servernamen ersetzt werden:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
|
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_tls_libera]]
|
[[irc_tls_libera]]
|
||||||
@@ -1028,19 +987,35 @@ die Buffer-Eigenschaft genutzt werden, um das maximale Hotlist-Level für einige
|
|||||||
oder pro Gruppe von Buffern (wie IRC-Server).
|
oder pro Gruppe von Buffern (wie IRC-Server).
|
||||||
|
|
||||||
Um nun Highlights (Hervorhebungen) für bestimmte Nicks zu deaktivieren, muss
|
Um nun Highlights (Hervorhebungen) für bestimmte Nicks zu deaktivieren, muss
|
||||||
man die entsprechende Eigenschaft auf 2 setzen.
|
man die entsprechende Eigenschaft auf 2 setzen:
|
||||||
|
|
||||||
Für den aktuellen Buffer:
|
|
||||||
----
|
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
|
||||||
----
|
|
||||||
|
|
||||||
Für alle Kanäle auf dem Server "libera":
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
|
Diese Buffereigenschaft wird aber nicht permanent in der Konfiguration
|
||||||
|
gespeichert. Um diese Eigenschaften permanent zu verwenden, muss man
|
||||||
|
das Skript _buffer_autoset.py_ nutzen:
|
||||||
|
|
||||||
|
----
|
||||||
|
/script install buffer_autoset.py
|
||||||
|
----
|
||||||
|
|
||||||
|
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Kanal
|
||||||
|
#weechat auf dem IRC Server libera zu deaktivieren:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Um dies auf den kompletten libera Server anzuwenden:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Für weitere Beispiele, siehe `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
|
=== Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
|
||||||
|
|
||||||
@@ -1078,9 +1053,8 @@ Als erstes sollte das Kapitel über TLS Verbindungen in dieser FAQ gelesen werde
|
|||||||
Wenn das nicht hilft, sollte die Skriptliste von Hand gelöscht werden. Dazu
|
Wenn das nicht hilft, sollte die Skriptliste von Hand gelöscht werden. Dazu
|
||||||
folgenden Befehl in der Shell ausführen:
|
folgenden Befehl in der Shell ausführen:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
rm ~/.cache/weechat/script/plugins.xml.gz
|
$ rm ~/.cache/weechat/script/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1104,17 +1078,15 @@ Das bedeutet aber auch, dass die Skripten von Hand aktuell gehalten werden müss
|
|||||||
|
|
||||||
* und in der Shell, mit installiertem curl:
|
* und in der Shell, mit installiertem curl:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
cd ~/.cache/weechat/script
|
$ cd ~/.cache/weechat/script
|
||||||
curl -O https://weechat.org/files/plugins.xml.gz
|
$ curl -O https://weechat.org/files/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
Wenn Sie macOS ausführen und die heruntergeladene Datei eine Größe von 0 Byte hat,
|
Wenn Sie macOS ausführen und die heruntergeladene Datei eine Größe von 0 Byte hat,
|
||||||
versuchen Sie, diese Variable in Ihrer Shell-Initialisierungsdatei oder auf der
|
versuchen Sie, diese Variable in Ihrer Shell-Initialisierungsdatei oder auf der
|
||||||
Befehlszeile zu setzen. Bevor Sie WeeChat starten:
|
Befehlszeile zu setzen. Bevor Sie WeeChat starten:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||||
----
|
----
|
||||||
@@ -1176,8 +1148,7 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
|||||||
Man sollte sich die Tipps zum <<memory_usage,Speicherverbrauch>> ansehen
|
Man sollte sich die Tipps zum <<memory_usage,Speicherverbrauch>> ansehen
|
||||||
und zusätzlich diese Tipps beherzigen:
|
und zusätzlich diese Tipps beherzigen:
|
||||||
|
|
||||||
* "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist` (Taste: kbd:[Alt+Shift+N]).
|
* "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist`
|
||||||
* deaktiviere "buflist": `/buflist disable` (Taste: kbd:[Alt+Shift+B]).
|
|
||||||
* die Sekundenanzeigen in der Statusbar sollte deaktiviert werden:
|
* die Sekundenanzeigen in der Statusbar sollte deaktiviert werden:
|
||||||
`+/set weechat.look.item_time_format "%H:%M"+` (dies ist die Standardeinstellung)
|
`+/set weechat.look.item_time_format "%H:%M"+` (dies ist die Standardeinstellung)
|
||||||
* die Echtzeit Rechtschreibkorrektur sollte deaktiviert werden (falls sie aktiviert wurde):
|
* die Echtzeit Rechtschreibkorrektur sollte deaktiviert werden (falls sie aktiviert wurde):
|
||||||
@@ -1199,19 +1170,14 @@ Deaktiviere die automatische Antwort für alle CTCP Anfragen:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
Mit WeeChat < 4.1.0 wurden andere CTCP-Anfragen standardmäßig beantwortet und müssen ebenfalls deaktiviert werden:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
Entferne und deaktiviere das automatische Ausführen der "xfer"-Erweiterung, die beispielsweise für "IRC DCC" verantwortlich ist:
|
Entferne und deaktiviere das automatische Ausführen der "xfer"-Erweiterung, die beispielsweise für "IRC DCC" verantwortlich ist:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1247,32 +1213,6 @@ Kennwörter (sofern sie nicht mit dem Befehl `/secure` in _sec.conf_ gesichert w
|
|||||||
Siehe link:weechat_user.de.html#files_and_directories[Benutzerhandbuch / Dateien und Verzeichnisse ^↗^^]
|
Siehe link:weechat_user.de.html#files_and_directories[Benutzerhandbuch / Dateien und Verzeichnisse ^↗^^]
|
||||||
für weitere Informationen über Konfigurationsdateien.
|
für weitere Informationen über Konfigurationsdateien.
|
||||||
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== Ich möchte mein WeeChat auf ein anderes Gerät verschieben und meine Konfiguration behalten. Was muss ich kopieren?
|
|
||||||
|
|
||||||
Überprüfen Sie zunächst die von WeeChat verwendeten Verzeichnisse mit diesem Befehl: `/debug dirs`. +
|
|
||||||
Die Verzeichnisse home/config und home/data müssen kopiert werden (alle Dateien und Unterverzeichnisse).
|
|
||||||
|
|
||||||
Falls beispielsweise XDG-Verzeichnisse verwendet werden (Standard bei WeeChat ≥ 3.2), sollten die
|
|
||||||
Verzeichnisse `$HOME/.config/weechat` und `$HOME/.local/share/weechat` lauten. +
|
|
||||||
Sollte ein einzelnes Verzeichnis verwenden werden (Standard bei WeeChat < 3.2), sollte das Verzeichnis
|
|
||||||
`$HOME/.weechat` lauuten.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
Die WeeChat-Version auf dem Zielgerät muss größer oder gleich der Version sein des Ausganggerätes. +
|
|
||||||
Ein Downgrade der WeeChat-Konfiguration wird *NICHT UNTERSTÜTZT* und kann zu Schäden führen und ein
|
|
||||||
unbrauchbares WeeChat verursachen.
|
|
||||||
|
|
||||||
Schritte:
|
|
||||||
|
|
||||||
. Weechat beenden: `/quit` (oder `/upgrade -quit`, falls eine Sitzung fortgesetzt werden soll,
|
|
||||||
einschließlich des Inhalts aller Buffer).
|
|
||||||
. Kopieren Sie alle Verzeichnisse, Unterverzeichnisse und Dateien auf das neue Gerät und behalten Sie die
|
|
||||||
Namen und Berechtigungen bei.
|
|
||||||
. Optional: Kopieren Sie alle Dateien außerhalb dieser Verzeichnisse, die auf Ihre Konfiguration verweisen
|
|
||||||
(es wird nicht empfohlen, Dateien außerhalb von WeeChat-Verzeichnissen zu verwenden).
|
|
||||||
. WeeChat auf dem neuen Gerät starten: `weechat` (oder `weechat --upgrade`, falls die Sitzung gesichert wurde).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== Entwicklung
|
== Entwicklung
|
||||||
|
|
||||||
@@ -1286,7 +1226,6 @@ siehe https://weechat.org/about/support/[this page ^↗^^].
|
|||||||
|
|
||||||
Falls man WeeChat in gdb ausführt, kann folgende Fehlermeldung erscheinen:
|
Falls man WeeChat in gdb ausführt, kann folgende Fehlermeldung erscheinen:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
$ gdb /Pfad/zu/weechat
|
$ gdb /Pfad/zu/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1297,7 +1236,6 @@ Cannot find new threads: generic error
|
|||||||
Um diesen Fehler zu beheben, sollte man gdb wie folgt aufrufen (der Pfad zu
|
Um diesen Fehler zu beheben, sollte man gdb wie folgt aufrufen (der Pfad zu
|
||||||
libpthread und WeeChat muss natürlich an das eigene System angepasst werden):
|
libpthread und WeeChat muss natürlich an das eigene System angepasst werden):
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
|
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1306,7 +1244,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
|
|||||||
[[supported_os]]
|
[[supported_os]]
|
||||||
=== Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssysteme portiert?
|
=== 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, macOS und
|
WeeChat läuft auf den meisten Linux/BSD-Distributionen, GNU/Hurd, Mac OS und
|
||||||
Windows (Cygwin und Windows Subsystem für Linux) einwandfrei.
|
Windows (Cygwin und Windows Subsystem für Linux) einwandfrei.
|
||||||
|
|
||||||
Wir geben unser Bestes, WeeChat auf möglichst viele Plattformen zu portieren.
|
Wir geben unser Bestes, WeeChat auf möglichst viele Plattformen zu portieren.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: de
|
:lang: de
|
||||||
include::includes/attributes-de.adoc[]
|
:toc-title: Inhaltsverzeichnis
|
||||||
|
|
||||||
Übersetzer:
|
Übersetzer:
|
||||||
|
|
||||||
@@ -19,9 +19,8 @@ keine Probleme mit der Standard Tastaturbelegung.
|
|||||||
|
|
||||||
Programmstart aus deiner Shell:
|
Programmstart aus deiner Shell:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
weechat
|
$ weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[help]]
|
[[help]]
|
||||||
@@ -301,7 +300,7 @@ Einen Buffer schließen (Server, Channel, privater Buffer);
|
|||||||
/close
|
/close
|
||||||
----
|
----
|
||||||
|
|
||||||
[CAUTION]
|
[WARNING]
|
||||||
Wird ein Server-Buffer geschlossen,
|
Wird ein Server-Buffer geschlossen,
|
||||||
schließt WeeChat ebenfalls alle zum Server
|
schließt WeeChat ebenfalls alle zum Server
|
||||||
gehörenden Channels und privaten Buffer.
|
gehörenden Channels und privaten Buffer.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: de
|
:lang: de
|
||||||
include::includes/attributes-de.adoc[]
|
:toc-title: Inhaltsverzeichnis
|
||||||
|
|
||||||
Übersetzer:
|
Ü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`
|
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
|
||||||
importiert werden muss. +
|
importiert werden muss. +
|
||||||
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
|
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
|
||||||
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||||
|
|
||||||
[[python_functions]]
|
[[python_functions]]
|
||||||
===== Funktionen
|
===== Funktionen
|
||||||
@@ -373,10 +373,9 @@ anlegen, der in das Verzeichnis _Skriptsprache/autoload_ zeigt.
|
|||||||
|
|
||||||
Ein Beispiel für ein Python-Skript:
|
Ein Beispiel für ein Python-Skript:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
cd ~/.local/share/weechat/python/autoload
|
$ cd ~/.local/share/weechat/python/autoload
|
||||||
ln -s ../script.py
|
$ ln -s ../script.py
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -565,14 +564,315 @@ lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^
|
|||||||
|
|
||||||
Liste der Skript API Funktionen:
|
Liste der Skript API Funktionen:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_functions.de.adoc[tag=functions]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Kategorie | Funktionen
|
||||||
|
|
||||||
|
| Allgemein
|
||||||
|
| register
|
||||||
|
|
||||||
|
| Erweiterungen
|
||||||
|
| plugin_get_name
|
||||||
|
|
||||||
|
| Strings
|
||||||
|
| charset_set +
|
||||||
|
iconv_to_internal +
|
||||||
|
iconv_from_internal +
|
||||||
|
gettext +
|
||||||
|
ngettext +
|
||||||
|
strlen_screen +
|
||||||
|
string_match +
|
||||||
|
string_match_list +
|
||||||
|
string_has_highlight +
|
||||||
|
string_has_highlight_regex +
|
||||||
|
string_mask_to_regex +
|
||||||
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
|
string_color_code_size +
|
||||||
|
string_remove_color +
|
||||||
|
string_is_command_char +
|
||||||
|
string_input_for_buffer +
|
||||||
|
string_eval_expression +
|
||||||
|
string_eval_path_home
|
||||||
|
|
||||||
|
| Verzeichnisse
|
||||||
|
| mkdir_home +
|
||||||
|
mkdir +
|
||||||
|
mkdir_parents
|
||||||
|
|
||||||
|
| sortierte Listen
|
||||||
|
| list_new +
|
||||||
|
list_add +
|
||||||
|
list_search +
|
||||||
|
list_search_pos +
|
||||||
|
list_casesearch +
|
||||||
|
list_casesearch_pos +
|
||||||
|
list_get +
|
||||||
|
list_set +
|
||||||
|
list_next +
|
||||||
|
list_prev +
|
||||||
|
list_string +
|
||||||
|
list_size +
|
||||||
|
list_remove +
|
||||||
|
list_remove_all +
|
||||||
|
list_free
|
||||||
|
|
||||||
|
| Konfigurationsdatei
|
||||||
|
| config_new +
|
||||||
|
config_new_section +
|
||||||
|
config_search_section +
|
||||||
|
config_new_option +
|
||||||
|
config_search_option +
|
||||||
|
config_string_to_boolean +
|
||||||
|
config_option_reset +
|
||||||
|
config_option_set +
|
||||||
|
config_option_set_null +
|
||||||
|
config_option_unset +
|
||||||
|
config_option_rename +
|
||||||
|
config_option_is_null +
|
||||||
|
config_option_default_is_null +
|
||||||
|
config_boolean +
|
||||||
|
config_boolean_default +
|
||||||
|
config_integer +
|
||||||
|
config_integer_default +
|
||||||
|
config_string +
|
||||||
|
config_string_default +
|
||||||
|
config_color +
|
||||||
|
config_color_default +
|
||||||
|
config_write_option +
|
||||||
|
config_write_line +
|
||||||
|
config_write +
|
||||||
|
config_read +
|
||||||
|
config_reload +
|
||||||
|
config_option_free +
|
||||||
|
config_section_free_options +
|
||||||
|
config_section_free +
|
||||||
|
config_free +
|
||||||
|
config_get +
|
||||||
|
config_get_plugin +
|
||||||
|
config_is_set_plugin +
|
||||||
|
config_set_plugin +
|
||||||
|
config_set_desc_plugin +
|
||||||
|
config_unset_plugin
|
||||||
|
|
||||||
|
| Tastenbelegung
|
||||||
|
| key_bind +
|
||||||
|
key_unbind
|
||||||
|
|
||||||
|
| Ausgabe
|
||||||
|
| prefix +
|
||||||
|
color +
|
||||||
|
print (für Python: prnt) +
|
||||||
|
print_date_tags (für Python: prnt_date_tags) +
|
||||||
|
print_y (für Python: prnt_y) +
|
||||||
|
print_y_date_tags (für Python: prnt_y_date_tags) +
|
||||||
|
log_print
|
||||||
|
|
||||||
|
| Hooks
|
||||||
|
| hook_command +
|
||||||
|
hook_command_run +
|
||||||
|
hook_timer +
|
||||||
|
hook_fd +
|
||||||
|
hook_process +
|
||||||
|
hook_process_hashtable +
|
||||||
|
hook_connect +
|
||||||
|
hook_line +
|
||||||
|
hook_print +
|
||||||
|
hook_signal +
|
||||||
|
hook_signal_send +
|
||||||
|
hook_hsignal +
|
||||||
|
hook_hsignal_send +
|
||||||
|
hook_config +
|
||||||
|
hook_completion +
|
||||||
|
hook_modifier +
|
||||||
|
hook_modifier_exec +
|
||||||
|
hook_info +
|
||||||
|
hook_info_hashtable +
|
||||||
|
hook_infolist +
|
||||||
|
hook_focus +
|
||||||
|
hook_set +
|
||||||
|
unhook +
|
||||||
|
unhook_all
|
||||||
|
|
||||||
|
| Buffer
|
||||||
|
| buffer_new +
|
||||||
|
buffer_new_props +
|
||||||
|
current_buffer +
|
||||||
|
buffer_search +
|
||||||
|
buffer_search_main +
|
||||||
|
buffer_clear +
|
||||||
|
buffer_close +
|
||||||
|
buffer_merge +
|
||||||
|
buffer_unmerge +
|
||||||
|
buffer_get_integer +
|
||||||
|
buffer_get_string +
|
||||||
|
buffer_get_pointer +
|
||||||
|
buffer_set +
|
||||||
|
buffer_string_replace_local_var +
|
||||||
|
buffer_match_list
|
||||||
|
|
||||||
|
| Fenster
|
||||||
|
| current_window +
|
||||||
|
window_search_with_buffer +
|
||||||
|
window_get_integer +
|
||||||
|
window_get_string +
|
||||||
|
window_get_pointer +
|
||||||
|
window_set_title
|
||||||
|
|
||||||
|
| Nickliste
|
||||||
|
| nicklist_add_group +
|
||||||
|
nicklist_search_group +
|
||||||
|
nicklist_add_nick +
|
||||||
|
nicklist_search_nick +
|
||||||
|
nicklist_remove_group +
|
||||||
|
nicklist_remove_nick +
|
||||||
|
nicklist_remove_all +
|
||||||
|
nicklist_group_get_integer +
|
||||||
|
nicklist_group_get_string +
|
||||||
|
nicklist_group_get_pointer +
|
||||||
|
nicklist_group_set +
|
||||||
|
nicklist_nick_get_integer +
|
||||||
|
nicklist_nick_get_string +
|
||||||
|
nicklist_nick_get_pointer +
|
||||||
|
nicklist_nick_set
|
||||||
|
|
||||||
|
| Bars
|
||||||
|
| bar_item_search +
|
||||||
|
bar_item_new +
|
||||||
|
bar_item_update +
|
||||||
|
bar_item_remove +
|
||||||
|
bar_search +
|
||||||
|
bar_new +
|
||||||
|
bar_set +
|
||||||
|
bar_update +
|
||||||
|
bar_remove
|
||||||
|
|
||||||
|
| Befehle
|
||||||
|
| command +
|
||||||
|
command_options
|
||||||
|
|
||||||
|
| Vervollständigung
|
||||||
|
| completion_new +
|
||||||
|
completion_search +
|
||||||
|
completion_get_string +
|
||||||
|
completion_list_add +
|
||||||
|
completion_free
|
||||||
|
|
||||||
|
| Informationen
|
||||||
|
| info_get +
|
||||||
|
info_get_hashtable
|
||||||
|
|
||||||
|
| Infolisten
|
||||||
|
| infolist_new +
|
||||||
|
infolist_new_item +
|
||||||
|
infolist_new_var_integer +
|
||||||
|
infolist_new_var_string +
|
||||||
|
infolist_new_var_pointer +
|
||||||
|
infolist_new_var_time +
|
||||||
|
infolist_get +
|
||||||
|
infolist_next +
|
||||||
|
infolist_prev +
|
||||||
|
infolist_reset_item_cursor +
|
||||||
|
infolist_search_var +
|
||||||
|
infolist_fields +
|
||||||
|
infolist_integer +
|
||||||
|
infolist_string +
|
||||||
|
infolist_pointer +
|
||||||
|
infolist_time +
|
||||||
|
infolist_free
|
||||||
|
|
||||||
|
| hdata
|
||||||
|
| hdata_get +
|
||||||
|
hdata_get_var_offset +
|
||||||
|
hdata_get_var_type_string +
|
||||||
|
hdata_get_var_array_size +
|
||||||
|
hdata_get_var_array_size_string +
|
||||||
|
hdata_get_var_hdata +
|
||||||
|
hdata_get_list +
|
||||||
|
hdata_check_pointer +
|
||||||
|
hdata_move +
|
||||||
|
hdata_search +
|
||||||
|
hdata_char +
|
||||||
|
hdata_integer +
|
||||||
|
hdata_long +
|
||||||
|
hdata_string +
|
||||||
|
hdata_pointer +
|
||||||
|
hdata_time +
|
||||||
|
hdata_hashtable +
|
||||||
|
hdata_compare +
|
||||||
|
hdata_update +
|
||||||
|
hdata_get_string
|
||||||
|
|
||||||
|
| Upgrade
|
||||||
|
| upgrade_new +
|
||||||
|
upgrade_write_object +
|
||||||
|
upgrade_read +
|
||||||
|
upgrade_close
|
||||||
|
|===
|
||||||
|
|
||||||
[[script_api_constants]]
|
[[script_api_constants]]
|
||||||
=== Konstanten
|
=== Konstanten
|
||||||
|
|
||||||
Liste der Konstanten in Skript API:
|
Liste der Konstanten in Skript API:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_constants.de.adoc[tag=constants]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Kategorie | Konstanten
|
||||||
|
|
||||||
|
| return codes
|
||||||
|
| `WEECHAT_RC_OK` (integer) +
|
||||||
|
`WEECHAT_RC_OK_EAT` (integer) +
|
||||||
|
`WEECHAT_RC_ERROR` (integer)
|
||||||
|
|
||||||
|
| Konfigurationsdatei
|
||||||
|
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||||
|
|
||||||
|
| sortierte Listen
|
||||||
|
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||||
|
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||||
|
`WEECHAT_LIST_POS_END` (string)
|
||||||
|
|
||||||
|
| Hotlist
|
||||||
|
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||||
|
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||||
|
|
||||||
|
| hook Prozesse
|
||||||
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||||
|
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||||
|
|
||||||
|
| hook Connect
|
||||||
|
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||||
|
|
||||||
|
| hook Signal
|
||||||
|
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||||
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
== Gemeinschaftsaufgabe
|
== Gemeinschaftsaufgabe
|
||||||
|
|||||||
+391
-652
File diff suppressed because it is too large
Load Diff
+1
-5
@@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
Custom styles for Asciidoctor
|
Custom styles for Asciidoctor
|
||||||
Copyright (C) 2016-2025 Sébastien Helleu <flashcode@flashtux.org>
|
Copyright (C) 2016-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
-->
|
-->
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
@@ -198,10 +198,6 @@ mark {
|
|||||||
|
|
||||||
/* syntax highlighting tuning */
|
/* syntax highlighting tuning */
|
||||||
|
|
||||||
pre.pygments {
|
|
||||||
color: #ddd !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre.pygments .tok-cp {
|
pre.pygments .tok-cp {
|
||||||
color: #44cfaf;
|
color: #44cfaf;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
// 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
|
|
||||||
@@ -35,9 +35,6 @@
|
|||||||
*-h*, *--help*::
|
*-h*, *--help*::
|
||||||
Display help.
|
Display help.
|
||||||
|
|
||||||
*-i*, *--build-info*::
|
|
||||||
Display build information and exit.
|
|
||||||
|
|
||||||
*-l*, *--license*::
|
*-l*, *--license*::
|
||||||
Display WeeChat license.
|
Display WeeChat license.
|
||||||
|
|
||||||
|
|||||||
@@ -98,9 +98,9 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
|
|
||||||
// tag::copyright[]
|
// tag::copyright[]
|
||||||
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
||||||
the AUTHORS.md file).
|
the AUTHORS.adoc file).
|
||||||
|
|
||||||
Copyright (C) 2003-2025 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
// tag::diagram[]
|
|
||||||
....
|
|
||||||
┌──────────┐ Workstation
|
|
||||||
┌────────┐ ┌───┤ client 1 │ (Linux, Windows,
|
|
||||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └──────────┘ BSD, macOS, …)
|
|
||||||
└────────┘ └──╢ │ ║◄───┘ ┌──────────┐
|
|
||||||
...... ║ WeeChat │ Relay ║◄───────┤ client 2 │ Mobile device
|
|
||||||
┌────────┐ ┌──╢ │ ║◄───┐ └──────────┘ (Android, iPhone, …)
|
|
||||||
│ jabber │◄──┘ ╚═══════════╧═══════╝ │ ......
|
|
||||||
└────────┘ │ ┌──────────┐
|
|
||||||
...... └───┤ client N │ Other devices
|
|
||||||
└──────────┘
|
|
||||||
|
|
||||||
|
|
||||||
└────────────┘ └───────────────────┘╘══════╛└────────────────────────────────┘
|
|
||||||
network servers ncurses interface relay remote interfaces
|
|
||||||
....
|
|
||||||
// end::diagram[]
|
|
||||||
+367
-426
@@ -2,7 +2,6 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
include::includes/attributes-en.adoc[]
|
|
||||||
|
|
||||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||||
|
|
||||||
@@ -113,97 +112,95 @@ WeeChat "core" is located in following directories:
|
|||||||
|
|
||||||
[width="100%",cols="2m,3",options="header"]
|
[width="100%",cols="2m,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Path/file | Description
|
| Path/file | Description
|
||||||
| core/ | Core functions: entry point, internal structures.
|
| core/ | Core functions: entry point, internal structures.
|
||||||
| core-arraylist.c | Array lists.
|
| wee-arraylist.c | Array lists.
|
||||||
| core-backtrace.c | Display a backtrace after a crash.
|
| wee-backtrace.c | Display a backtrace after a crash.
|
||||||
| core-calc.c | Calculate result of expressions.
|
| wee-calc.c | Calculate result of expressions.
|
||||||
| core-command.c | WeeChat core commands.
|
| wee-command.c | WeeChat core commands.
|
||||||
| core-completion.c | Default completions.
|
| wee-completion.c | Default completions.
|
||||||
| core-config-file.c | Configuration file management.
|
| wee-config-file.c | Configuration file management.
|
||||||
| core-config.c | Configuration options for WeeChat core (file weechat.conf).
|
| wee-config.c | Configuration options for WeeChat core (file weechat.conf).
|
||||||
| core-crypto.c | Cryptographic functions.
|
| wee-crypto.c | Cryptographic functions.
|
||||||
| core-debug.c | Some debug functions.
|
| wee-debug.c | Some debug functions.
|
||||||
| core-doc.c | Build of files for documentation.
|
| wee-doc.c | Build of files for documentation.
|
||||||
| core-dir.c | Directory/file functions.
|
| wee-dir.c | Directory/file functions.
|
||||||
| core-eval.c | Evaluation of expressions with references to internal vars.
|
| wee-eval.c | Evaluation of expressions with references to internal vars.
|
||||||
| core-hashtable.c | Hashtables.
|
| wee-hashtable.c | Hashtables.
|
||||||
| core-hdata.c | Hdata (direct access to data using hashtables).
|
| wee-hdata.c | Hdata (direct access to data using hashtables).
|
||||||
| core-hook.c | Hooks.
|
| wee-hook.c | Hooks.
|
||||||
| core-infolist.c | Infolists (lists with objects data).
|
| wee-infolist.c | Infolists (lists with objects data).
|
||||||
| core-input.c | Input of commands/text.
|
| wee-input.c | Input of commands/text.
|
||||||
| core-list.c | Sorted lists.
|
| wee-list.c | Sorted lists.
|
||||||
| core-log.c | Write to WeeChat log file (weechat.log).
|
| wee-log.c | Write to WeeChat log file (weechat.log).
|
||||||
| core-network.c | Network functions (connection to servers/proxies).
|
| wee-network.c | Network functions (connection to servers/proxies).
|
||||||
| core-proxy.c | Proxy management.
|
| wee-proxy.c | Proxy management.
|
||||||
| core-secure.c | Secured data functions.
|
| wee-secure.c | Secured data functions.
|
||||||
| core-secure-buffer.c | Secured data buffer.
|
| wee-secure-buffer.c | Secured data buffer.
|
||||||
| core-secure-config.c | Secured data options (file sec.conf).
|
| wee-secure-config.c | Secured data options (file sec.conf).
|
||||||
| core-signal.c | Signal functions.
|
| wee-signal.c | Signal functions.
|
||||||
| core-string.c | Functions on strings.
|
| wee-string.c | Functions on strings.
|
||||||
| core-sys.c | System functions.
|
| wee-upgrade-file.c | Internal upgrade system.
|
||||||
| core-upgrade-file.c | Internal upgrade system.
|
| wee-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...).
|
||||||
| core-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...).
|
| wee-url.c | URL transfer (using libcurl).
|
||||||
| core-url.c | URL transfer (using libcurl).
|
| wee-utf8.c | UTF-8 functions.
|
||||||
| core-utf8.c | UTF-8 functions.
|
| wee-util.c | Some other functions.
|
||||||
| core-util.c | Some other functions.
|
| wee-version.c | Functions for WeeChat version.
|
||||||
| core-version.c | Functions for WeeChat version.
|
| weechat.c | Main functions: command line options, startup.
|
||||||
| weechat.c | Main functions: command line options, startup.
|
| hook/ | Hook functions.
|
||||||
| hook/ | Hook functions.
|
| wee-hook-command-run.c | Hook "command_run".
|
||||||
| hook-command-run.c | Hook "command_run".
|
| wee-hook-command.c | Hook "command".
|
||||||
| hook-command.c | Hook "command".
|
| wee-hook-completion.c | Hook "completion".
|
||||||
| hook-completion.c | Hook "completion".
|
| wee-hook-config.c | Hook "config".
|
||||||
| hook-config.c | Hook "config".
|
| wee-hook-connect.c | Hook "connect".
|
||||||
| hook-connect.c | Hook "connect".
|
| wee-hook-fd.c | Hook "fd".
|
||||||
| hook-fd.c | Hook "fd".
|
| wee-hook-focus.c | Hook "focus".
|
||||||
| hook-focus.c | Hook "focus".
|
| wee-hook-hdata.c | Hook "hdata".
|
||||||
| hook-hdata.c | Hook "hdata".
|
| wee-hook-hsignal.c | Hook "hsignal".
|
||||||
| hook-hsignal.c | Hook "hsignal".
|
| wee-hook-info-hashtable.c | Hook "info_hashtable".
|
||||||
| hook-info-hashtable.c | Hook "info_hashtable".
|
| wee-hook-info.c | Hook "info".
|
||||||
| hook-info.c | Hook "info".
|
| wee-hook-infolist.c | Hook "infolist".
|
||||||
| hook-infolist.c | Hook "infolist".
|
| wee-hook-line.c | Hook "line".
|
||||||
| hook-line.c | Hook "line".
|
| wee-hook-modifier.c | Hook "modifier".
|
||||||
| hook-modifier.c | Hook "modifier".
|
| wee-hook-print.c | Hook "print".
|
||||||
| hook-print.c | Hook "print".
|
| wee-hook-process.c | Hook "process".
|
||||||
| hook-process.c | Hook "process".
|
| wee-hook-signal.c | Hook "signal".
|
||||||
| hook-signal.c | Hook "signal".
|
| wee-hook-timer.c | Hook "timer".
|
||||||
| hook-timer.c | Hook "timer".
|
| gui/ | Functions for buffers, windows, ... (used by all interfaces).
|
||||||
| hook-url.c | Hook "url".
|
| gui-bar-item.c | Bar items.
|
||||||
| gui/ | Functions for buffers, windows, ... (used by all interfaces).
|
| gui-bar-window.c | Bar windows.
|
||||||
| gui-bar-item.c | Bar items.
|
| gui-bar.c | Bars.
|
||||||
| gui-bar-window.c | Bar windows.
|
| gui-buffer.c | Buffers.
|
||||||
| gui-bar.c | Bars.
|
| gui-chat.c | Chat functions (display message, ...).
|
||||||
| gui-buffer.c | Buffers.
|
| gui-color.c | Color functions.
|
||||||
| gui-chat.c | Chat functions (display message, ...).
|
| gui-completion.c | Completion on command line.
|
||||||
| gui-color.c | Color functions.
|
| gui-cursor.c | Cursor mode (free movement of cursor).
|
||||||
| gui-completion.c | Completion on command line.
|
| gui-filter.c | Filters.
|
||||||
| gui-cursor.c | Cursor mode (free movement of cursor).
|
| gui-focus.c | Functions about focus (for cursor mode and mouse).
|
||||||
| gui-filter.c | Filters.
|
| gui-history.c | Commands/text saved in buffers.
|
||||||
| gui-focus.c | Functions about focus (for cursor mode and mouse).
|
| gui-hotlist.c | Hotlist management (list of buffers with activity).
|
||||||
| gui-history.c | Commands/text saved in buffers.
|
| gui-input.c | Input functions (input bar).
|
||||||
| gui-hotlist.c | Hotlist management (list of buffers with activity).
|
| gui-key.c | Keyboard functions.
|
||||||
| gui-input.c | Input functions (input bar).
|
| gui-layout.c | Layout.
|
||||||
| gui-key.c | Keyboard functions.
|
| gui-line.c | Lines in buffers.
|
||||||
| gui-layout.c | Layout.
|
| gui-mouse.c | Mouse.
|
||||||
| gui-line.c | Lines in buffers.
|
| gui-nick.c | Nick functions.
|
||||||
| gui-mouse.c | Mouse.
|
| gui-nicklist.c | Nicklist in buffers.
|
||||||
| gui-nick.c | Nick functions.
|
| gui-window.c | Windows.
|
||||||
| gui-nicklist.c | Nicklist in buffers.
|
| curses/ | Curses interface.
|
||||||
| gui-window.c | Windows.
|
| gui-curses-bar-window.c | Display in bar windows.
|
||||||
| curses/ | Curses interface.
|
| gui-curses-chat.c | Display in chat area (messages).
|
||||||
| gui-curses-bar-window.c | Display in bar windows.
|
| gui-curses-color.c | Color functions.
|
||||||
| gui-curses-chat.c | Display in chat area (messages).
|
| gui-curses-key.c | Keyboard functions (default keys, read of input).
|
||||||
| gui-curses-color.c | Color functions.
|
| gui-curses-main.c | WeeChat main loop (waiting for keyboard/network events).
|
||||||
| gui-curses-key.c | Keyboard functions (default keys, read of input).
|
| gui-curses-mouse.c | Mouse.
|
||||||
| gui-curses-main.c | WeeChat main loop (waiting for keyboard/network events).
|
| gui-curses-term.c | Functions about terminal.
|
||||||
| gui-curses-mouse.c | Mouse.
|
| gui-curses-window.c | Windows.
|
||||||
| gui-curses-term.c | Functions about terminal.
|
| headless/ | Headless mode (no interface).
|
||||||
| gui-curses-window.c | Windows.
|
| main.c | Entry point for headless mode.
|
||||||
| headless/ | Headless mode (no interface).
|
| ncurses-fake.c | Fake ncurses library.
|
||||||
| main.c | Entry point for headless mode.
|
| normal/ | Curses interface.
|
||||||
| ncurses-fake.c | Fake ncurses library.
|
| main.c | Entry point for Curses interface.
|
||||||
| normal/ | Curses interface.
|
|
||||||
| main.c | Entry point for Curses interface.
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[sources_plugins]]
|
[[sources_plugins]]
|
||||||
@@ -211,190 +208,178 @@ WeeChat "core" is located in following directories:
|
|||||||
|
|
||||||
[width="100%",cols="2m,3",options="header"]
|
[width="100%",cols="2m,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Path/file | Description
|
| Path/file | Description
|
||||||
| plugins/ | Root of plugins.
|
| plugins/ | Root of plugins.
|
||||||
| plugin.c | Plugins management (load/unload dynamic C libraries).
|
| plugin.c | Plugins management (load/unload dynamic C libraries).
|
||||||
| plugin-api.c | Extra functions for plugin API (wrapper around WeeChat core functions).
|
| plugin-api.c | Extra functions for plugin API (wrapper around WeeChat core functions).
|
||||||
| plugin-api-info.c | Extra info/infolist functions for plugin API.
|
| plugin-api-info.c | Extra info/infolist functions for plugin API.
|
||||||
| plugin-config.c | Plugin configuration options (file plugins.conf).
|
| plugin-config.c | Plugin configuration options (file plugins.conf).
|
||||||
| plugin-script.c | Common functions used by script plugins.
|
| plugin-script.c | Common functions used by script plugins.
|
||||||
| plugin-script-api.c | Script API functions: wrappers around some plugin API functions.
|
| plugin-script-api.c | Script API functions: wrappers around some plugin API functions.
|
||||||
| plugin-script-config.c | Script plugin configuration options (files python.conf, perl.conf, ...).
|
| plugin-script-config.c | Script plugin configuration options (files python.conf, perl.conf, ...).
|
||||||
| weechat-plugin.h | Header designed to be distributed with WeeChat plugins, in order to compile them.
|
| weechat-plugin.h | Header designed to be distributed with WeeChat plugins, in order to compile them.
|
||||||
| alias/ | Alias plugin.
|
| alias/ | Alias plugin.
|
||||||
| alias.c | Main alias functions.
|
| alias.c | Main alias functions.
|
||||||
| alias-command.c | Alias commands.
|
| alias-command.c | Alias commands.
|
||||||
| alias-completion.c | Alias completions.
|
| alias-completion.c | Alias completions.
|
||||||
| alias-config.c | Alias config options (file alias.conf).
|
| alias-config.c | Alias config options (file alias.conf).
|
||||||
| alias-info.c | Alias info/infolists/hdata.
|
| alias-info.c | Alias info/infolists/hdata.
|
||||||
| spell/ | Spell checker plugin.
|
| spell/ | Spell checker plugin.
|
||||||
| spell.c | Main spell checker functions.
|
| spell.c | Main spell checker functions.
|
||||||
| spell-bar-item.c | Spell checker bar items.
|
| spell-bar-item.c | Spell checker bar items.
|
||||||
| spell-command.c | Spell checker commands.
|
| spell-command.c | Spell checker commands.
|
||||||
| spell-completion.c | Spell checker completions.
|
| spell-completion.c | Spell checker completions.
|
||||||
| spell-config.c | Spell checker config options (file spell.conf).
|
| spell-config.c | Spell checker config options (file spell.conf).
|
||||||
| spell-info.c | Spell checker info/infolists/hdata.
|
| spell-info.c | Spell checker info/infolists/hdata.
|
||||||
| spell-speller.c | Spellers management.
|
| spell-speller.c | Spellers management.
|
||||||
| buflist/ | Buflist plugin.
|
| buflist/ | Buflist plugin.
|
||||||
| buflist.c | Main buflist functions.
|
| buflist.c | Main buflist functions.
|
||||||
| buflist-bar-item.c | Buflist bar items.
|
| buflist-bar-item.c | Buflist bar items.
|
||||||
| buflist-command.c | Buflist commands.
|
| buflist-command.c | Buflist commands.
|
||||||
| buflist-completion.c | Buflist completions.
|
| buflist-config.c | Buflist config options (file buflist.conf).
|
||||||
| buflist-config.c | Buflist config options (file buflist.conf).
|
| buflist-info.c | Buflist info/infolists/hdata.
|
||||||
| buflist-info.c | Buflist info/infolists/hdata.
|
| buflist-mouse.c | Buflist mouse actions.
|
||||||
| buflist-mouse.c | Buflist mouse actions.
|
| charset/ | Charset plugin.
|
||||||
| charset/ | Charset plugin.
|
| charset.c | Charset functions.
|
||||||
| charset.c | Charset functions.
|
| exec/ | Exec plugin.
|
||||||
| exec/ | Exec plugin.
|
| exec.c | Main exec functions.
|
||||||
| exec.c | Main exec functions.
|
| exec-buffer.c | Exec buffer.
|
||||||
| exec-buffer.c | Exec buffer.
|
| exec-command.c | Exec commands.
|
||||||
| exec-command.c | Exec commands.
|
| exec-completion.c | Exec completions.
|
||||||
| exec-completion.c | Exec completions.
|
| exec-config.c | Exec config options (file exec.conf).
|
||||||
| exec-config.c | Exec config options (file exec.conf).
|
| fifo/ | Fifo plugin.
|
||||||
| fifo/ | Fifo plugin.
|
| fifo.c | Main fifo functions.
|
||||||
| fifo.c | Main fifo functions.
|
| fifo-command.c | Fifo commands.
|
||||||
| fifo-command.c | Fifo commands.
|
| fifo-config.c | Fifo config options (file fifo.conf).
|
||||||
| fifo-config.c | Fifo config options (file fifo.conf).
|
| fifo-info.c | Fifo info/infolists/hdata.
|
||||||
| fifo-info.c | Fifo info/infolists/hdata.
|
| fset/ | Fset plugin.
|
||||||
| fset/ | Fset plugin.
|
| fset.c | Main fset functions.
|
||||||
| fset.c | Main fset functions.
|
| fset-bar-item.c | Fset bar items.
|
||||||
| fset-bar-item.c | Fset bar items.
|
| fset-buffer.c | Fset buffer.
|
||||||
| fset-buffer.c | Fset buffer.
|
| fset-command.c | Fset commands.
|
||||||
| fset-command.c | Fset commands.
|
| fset-completion.c | Fset completions.
|
||||||
| fset-completion.c | Fset completions.
|
| fset-config.c | Fset config options (file fset.conf).
|
||||||
| fset-config.c | Fset config options (file fset.conf).
|
| fset-info.c | Fset info/infolists/hdata.
|
||||||
| fset-info.c | Fset info/infolists/hdata.
|
| fset-mouse.c | Fset mouse actions.
|
||||||
| fset-mouse.c | Fset mouse actions.
|
| fset-option.c | Fset options management.
|
||||||
| fset-option.c | Fset options management.
|
| guile/ | Guile (scheme) plugin.
|
||||||
| guile/ | Guile (scheme) plugin.
|
| weechat-guile.c | Main guile functions (load/unload scripts, execute guile code).
|
||||||
| weechat-guile.c | Main guile functions (load/unload scripts, execute guile code).
|
| weechat-guile-api.c | Guile scripting API functions.
|
||||||
| weechat-guile-api.c | Guile scripting API functions.
|
| irc/ | IRC (Internet Relay Chat) plugin.
|
||||||
| irc/ | IRC (Internet Relay Chat) plugin.
|
| irc.c | Main IRC functions.
|
||||||
| irc.c | Main IRC functions.
|
| irc-bar-item.c | IRC bar items.
|
||||||
| irc-bar-item.c | IRC bar items.
|
| irc-batch.c | IRC batched events.
|
||||||
| irc-batch.c | IRC batched events.
|
| irc-buffer.c | IRC buffers.
|
||||||
| irc-buffer.c | IRC buffers.
|
| irc-channel.c | IRC channels.
|
||||||
| irc-channel.c | IRC channels.
|
| irc-color.c | IRC colors.
|
||||||
| irc-color.c | IRC colors.
|
| irc-command.c | IRC commands.
|
||||||
| irc-command.c | IRC commands.
|
| irc-completion.c | IRC completions.
|
||||||
| irc-completion.c | IRC completions.
|
| irc-config.c | IRC config options (file irc.conf).
|
||||||
| irc-config.c | IRC config options (file irc.conf).
|
| irc-ctcp.c | IRC CTCP.
|
||||||
| irc-ctcp.c | IRC CTCP.
|
| irc-debug.c | IRC debug functions.
|
||||||
| irc-debug.c | IRC debug functions.
|
| irc-ignore.c | IRC Ignore.
|
||||||
| irc-ignore.c | IRC Ignore.
|
| irc-info.c | IRC info/infolists/hdata.
|
||||||
| irc-info.c | IRC info/infolists/hdata.
|
| irc-input.c | Input of commands/text.
|
||||||
| irc-input.c | Input of commands/text.
|
| irc-join.c | Functions for list of channels to join.
|
||||||
| irc-join.c | Functions for list of channels to join.
|
| irc-message.c | Functions to manipulate IRC messages.
|
||||||
| irc-list.c | Buffer for reply to /list command.
|
| irc-mode.c | Functions about channel/nick modes.
|
||||||
| irc-message.c | Functions to manipulate IRC messages.
|
| irc-modelist.c | IRC channel mode lists (+b, +e, +I, ...).
|
||||||
| irc-mode.c | Functions about channel/nick modes.
|
| irc-msgbuffer.c | Target buffer for IRC messages.
|
||||||
| irc-modelist.c | IRC channel mode lists (+b, +e, +I, ...).
|
| irc-nick.c | IRC nicks.
|
||||||
| irc-msgbuffer.c | Target buffer for IRC messages.
|
| irc-notify.c | IRC notify lists.
|
||||||
| irc-nick.c | IRC nicks.
|
| irc-protocol.c | IRC protocol (RFCs 1459/2810/2811/2812/2813/7194).
|
||||||
| irc-notify.c | IRC notify lists.
|
| irc-raw.c | IRC raw buffer.
|
||||||
| irc-protocol.c | IRC protocol (RFCs 1459/2810/2811/2812/2813/7194).
|
| irc-redirect.c | Redirection of IRC command output.
|
||||||
| irc-raw.c | IRC raw buffer.
|
| irc-sasl.c | SASL authentication with IRC server.
|
||||||
| irc-redirect.c | Redirection of IRC command output.
|
| irc-server.c | I/O communication with IRC server.
|
||||||
| irc-sasl.c | SASL authentication with IRC server.
|
| irc-tag.c | Functions to manipulate IRC message tags.
|
||||||
| irc-server.c | I/O communication with IRC server.
|
| irc-typing.c | Typing status.
|
||||||
| irc-tag.c | Functions to manipulate IRC message tags.
|
| irc-upgrade.c | Save/restore of IRC data when upgrading WeeChat.
|
||||||
| irc-typing.c | Typing status.
|
| javascript/ | JavaScript plugin.
|
||||||
| irc-upgrade.c | Save/restore of IRC data when upgrading WeeChat.
|
| weechat-js.cpp | Main JavaScript functions (load/unload scripts, execute JavaScript code).
|
||||||
| javascript/ | JavaScript plugin.
|
| weechat-js-api.cpp | JavaScript scripting API functions.
|
||||||
| weechat-js.cpp | Main JavaScript functions (load/unload scripts, execute JavaScript code).
|
| weechat-js-v8.cpp | JavaScript v8 functions.
|
||||||
| weechat-js-api.cpp | JavaScript scripting API functions.
|
| logger/ | Logger plugin.
|
||||||
| weechat-js-v8.cpp | JavaScript v8 functions.
|
| logger.c | Main logger functions.
|
||||||
| logger/ | Logger plugin.
|
| logger-backlog.c | Logger backlog functions.
|
||||||
| logger.c | Main logger functions.
|
| logger-buffer.c | Logger buffer list management.
|
||||||
| logger-backlog.c | Logger backlog functions.
|
| logger-command.c | Logger commands.
|
||||||
| logger-buffer.c | Logger buffer list management.
|
| logger-config.c | Logger config options (file logger.conf).
|
||||||
| logger-command.c | Logger commands.
|
| logger-info.c | Logger info/infolists/hdata.
|
||||||
| logger-config.c | Logger config options (file logger.conf).
|
| logger-tail.c | Functions to get last lines of a file.
|
||||||
| logger-info.c | Logger info/infolists/hdata.
|
| lua/ | Lua plugin.
|
||||||
| logger-tail.c | Functions to get last lines of a file.
|
| weechat-lua.c | Main lua functions (load/unload scripts, execute lua code).
|
||||||
| lua/ | Lua plugin.
|
| weechat-lua-api.c | Lua scripting API functions.
|
||||||
| weechat-lua.c | Main lua functions (load/unload scripts, execute lua code).
|
| perl/ | Perl plugin.
|
||||||
| weechat-lua-api.c | Lua scripting API functions.
|
| weechat-perl.c | Main perl functions (load/unload scripts, execute perl code).
|
||||||
| perl/ | Perl plugin.
|
| weechat-perl-api.c | Perl scripting API functions.
|
||||||
| weechat-perl.c | Main perl functions (load/unload scripts, execute perl code).
|
| php/ | PHP plugin.
|
||||||
| weechat-perl-api.c | Perl scripting API functions.
|
| weechat-php.c | Main PHP functions (load/unload scripts, execute PHP code).
|
||||||
| php/ | PHP plugin.
|
| weechat-php-api.c | PHP scripting API functions.
|
||||||
| weechat-php.c | Main PHP functions (load/unload scripts, execute PHP code).
|
| python/ | Python plugin.
|
||||||
| weechat-php-api.c | PHP scripting API functions.
|
| weechat-python.c | Main python functions (load/unload scripts, execute python code).
|
||||||
| python/ | Python plugin.
|
| weechat-python-api.c | Python scripting API functions.
|
||||||
| weechat-python.c | Main python functions (load/unload scripts, execute python code).
|
| relay/ | Relay plugin (IRC proxy and relay for remote interfaces).
|
||||||
| weechat-python-api.c | Python scripting API functions.
|
| relay.c | Main relay functions.
|
||||||
| relay/ | Relay plugin (IRC proxy and relay for remote interfaces).
|
| relay-auth.c | Clients authentication.
|
||||||
| relay.c | Main relay functions.
|
| relay-buffer.c | Relay buffer.
|
||||||
| relay-auth.c | Clients authentication.
|
| relay-client.c | Clients of relay.
|
||||||
| relay-bar-item.c | Relay bar items.
|
| relay-command.c | Relay commands.
|
||||||
| relay-buffer.c | Relay buffer.
|
| relay-completion.c | Relay completions.
|
||||||
| relay-client.c | Clients of relay.
|
| relay-config.c | Relay config options (file relay.conf).
|
||||||
| relay-command.c | Relay commands.
|
| relay-info.c | Relay info/infolists/hdata.
|
||||||
| relay-completion.c | Relay completions.
|
| relay-network.c | Network functions for relay.
|
||||||
| relay-config.c | Relay config options (file relay.conf).
|
| relay-raw.c | Relay raw buffer.
|
||||||
| relay-http.c | HTTP functions.
|
| relay-server.c | Relay server.
|
||||||
| relay-info.c | Relay info/infolists/hdata.
|
| relay-upgrade.c | Save/restore of relay data when upgrading WeeChat.
|
||||||
| relay-network.c | Network functions for relay.
|
| relay-websocket.c | WebSocket server functions (RFC 6455).
|
||||||
| relay-raw.c | Relay raw buffer.
|
| irc/ | IRC proxy.
|
||||||
| relay-remote.c | Relay remote.
|
| relay-irc.c | Main IRC proxy functions.
|
||||||
| relay-server.c | Relay server.
|
| weechat/ | Relay for remote interfaces.
|
||||||
| relay-upgrade.c | Save/restore of relay data when upgrading WeeChat.
|
| relay-weechat.c | Relay for remote interfaces (main functions).
|
||||||
| relay-websocket.c | WebSocket server functions (RFC 6455).
|
| relay-weechat-msg.c | Send binary messages to clients.
|
||||||
| api/ | Relay for remote interfaces (using HTTP REST API).
|
| relay-weechat-nicklist.c | Nicklist functions.
|
||||||
| relay-api.c | Main API functions for HTTP REST API.
|
| relay-weechat-protocol.c | Read commands from clients.
|
||||||
| relay-api-msg.c | Send JSON messages to clients.
|
| ruby/ | Ruby plugin.
|
||||||
| relay-api-protocol.c | HTTP REST API protocol.
|
| weechat-ruby.c | Main ruby functions (load/unload scripts, execute ruby code).
|
||||||
| remote/ | Relay remote functions, specific to API.
|
| weechat-ruby-api.c | Ruby scripting API functions.
|
||||||
| relay-remote-event.c | Process events received from relay remote.
|
| script/ | Script manager.
|
||||||
| relay-remote-network.c | Network functions for relay remote.
|
| script.c | Main functions for script manager.
|
||||||
| irc/ | IRC proxy.
|
| script-action.c | Actions on scripts (load/unload, install/remove, ...).
|
||||||
| relay-irc.c | Main IRC proxy functions.
|
| script-buffer.c | Buffer for script manager.
|
||||||
| weechat/ | Relay for remote interfaces (using "weechat" binary protocol).
|
| script-command.c | Commands for script manager.
|
||||||
| relay-weechat.c | Relay for remote interfaces (main functions).
|
| script-completion.c | Completions for script manager.
|
||||||
| relay-weechat-msg.c | Send binary messages to clients.
|
| script-config.c | Config options for script manager (file script.conf).
|
||||||
| relay-weechat-nicklist.c | Nicklist functions.
|
| script-info.c | Script manager info/infolists/hdata.
|
||||||
| relay-weechat-protocol.c | Read commands from clients.
|
| script-mouse.c | Script mouse actions.
|
||||||
| ruby/ | Ruby plugin.
|
| script-repo.c | Download and read repository file.
|
||||||
| weechat-ruby.c | Main ruby functions (load/unload scripts, execute ruby code).
|
| tcl/ | Tcl plugin.
|
||||||
| weechat-ruby-api.c | Ruby scripting API functions.
|
| weechat-tcl.c | Main tcl functions (load/unload scripts, execute tcl code).
|
||||||
| script/ | Script manager.
|
| weechat-tcl-api.c | Tcl scripting API functions.
|
||||||
| script.c | Main functions for script manager.
|
| trigger/ | Trigger plugin.
|
||||||
| script-action.c | Actions on scripts (load/unload, install/remove, ...).
|
| trigger.c | Main trigger functions.
|
||||||
| script-buffer.c | Buffer for script manager.
|
| trigger-buffer.c | Trigger buffer.
|
||||||
| script-command.c | Commands for script manager.
|
| trigger-callback.c | Trigger callbacks.
|
||||||
| script-completion.c | Completions for script manager.
|
| trigger-command.c | Trigger commands.
|
||||||
| script-config.c | Config options for script manager (file script.conf).
|
| trigger-completion.c | Trigger completions.
|
||||||
| script-info.c | Script manager info/infolists/hdata.
|
| trigger-config.c | Trigger config options (file trigger.conf).
|
||||||
| script-mouse.c | Script mouse actions.
|
| typing/ | Typing plugin.
|
||||||
| script-repo.c | Download and read repository file.
|
| typing.c | Main typing functions.
|
||||||
| tcl/ | Tcl plugin.
|
| typing-bar-item.c | Typing bar items.
|
||||||
| weechat-tcl.c | Main tcl functions (load/unload scripts, execute tcl code).
|
| typing-config.c | Typing config options (file typing.conf).
|
||||||
| weechat-tcl-api.c | Tcl scripting API functions.
|
| typing-status.c | Messages typing status on buffers.
|
||||||
| trigger/ | Trigger plugin.
|
| xfer/ | Xfer plugin (IRC DCC file/chat).
|
||||||
| trigger.c | Main trigger functions.
|
| xfer.c | Main xfer functions.
|
||||||
| trigger-buffer.c | Trigger buffer.
|
| xfer-buffer.c | Xfer buffer.
|
||||||
| trigger-callback.c | Trigger callbacks.
|
| xfer-chat.c | DCC chat.
|
||||||
| trigger-command.c | Trigger commands.
|
| xfer-command.c | Xfer commands.
|
||||||
| trigger-completion.c | Trigger completions.
|
| xfer-completion.c | Xfer completions.
|
||||||
| trigger-config.c | Trigger config options (file trigger.conf).
|
| xfer-config.c | Xfer config options (file xfer.conf).
|
||||||
| typing/ | Typing plugin.
|
| xfer-dcc.c | DCC file transfer.
|
||||||
| typing.c | Main typing functions.
|
| xfer-file.c | File functions for xfer.
|
||||||
| typing-bar-item.c | Typing bar items.
|
| xfer-info.c | Xfer info/infolists/hdata.
|
||||||
| typing-config.c | Typing config options (file typing.conf).
|
| xfer-network.c | Network functions for xfer.
|
||||||
| typing-status.c | Messages typing status on buffers.
|
| xfer-upgrade.c | Save/restore of xfer data when upgrading WeeChat.
|
||||||
| xfer/ | Xfer plugin (IRC DCC file/chat).
|
|
||||||
| xfer.c | Main xfer functions.
|
|
||||||
| xfer-buffer.c | Xfer buffer.
|
|
||||||
| xfer-chat.c | DCC chat.
|
|
||||||
| xfer-command.c | Xfer commands.
|
|
||||||
| xfer-completion.c | Xfer completions.
|
|
||||||
| xfer-config.c | Xfer config options (file xfer.conf).
|
|
||||||
| xfer-dcc.c | DCC file transfer.
|
|
||||||
| xfer-file.c | File functions for xfer.
|
|
||||||
| xfer-info.c | Xfer info/infolists/hdata.
|
|
||||||
| xfer-network.c | Network functions for xfer.
|
|
||||||
| xfer-upgrade.c | Save/restore of xfer data when upgrading WeeChat.
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[sources_tests]]
|
[[sources_tests]]
|
||||||
@@ -402,121 +387,81 @@ WeeChat "core" is located in following directories:
|
|||||||
|
|
||||||
[width="100%",cols="2m,3",options="header"]
|
[width="100%",cols="2m,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Path/file | Description
|
| Path/file | Description
|
||||||
| tests/ | Root of tests.
|
| tests/ | Root of tests.
|
||||||
| tests.cpp | Program used to run all tests.
|
| tests.cpp | Program used to run all tests.
|
||||||
| tests-record.cpp | Record and search in messages displayed.
|
| tests-record.cpp | Record and search in messages displayed.
|
||||||
| scripts/ | Root of scripting API tests.
|
| scripts/ | Root of scripting API tests.
|
||||||
| test-scripts.cpp | Program used to run the scripting API tests.
|
| test-scripts.cpp | Program used to run the scripting API tests.
|
||||||
| python/ | Python scripts to generate and run the scripting API tests.
|
| python/ | Python scripts to generate and run the scripting API tests.
|
||||||
| testapigen.py | Python script generating scripts in all languages to test the scripting API.
|
| testapigen.py | Python script generating scripts in all languages to test the scripting API.
|
||||||
| testapi.py | Python script with scripting API tests, used by script testapigen.py.
|
| testapi.py | Python script with scripting API tests, used by script testapigen.py.
|
||||||
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
||||||
| unit/ | Root of unit tests.
|
| unit/ | Root of unit tests.
|
||||||
| test-plugins.cpp | Tests: plugins.
|
| test-plugins.cpp | Tests: plugins.
|
||||||
| test-plugin-api-info.cpp | Tests: plugin API info functions.
|
| core/ | Root of unit tests for core.
|
||||||
| test-plugin-config.cpp | Tests: plugin config functions.
|
| test-core-arraylist.cpp | Tests: arraylists.
|
||||||
| core/ | Root of unit tests for core.
|
| test-core-calc.cpp | Tests: calculation of expressions.
|
||||||
| test-core-arraylist.cpp | Tests: arraylists.
|
| test-core-command.cpp | Tests: commands.
|
||||||
| test-core-calc.cpp | Tests: calculation of expressions.
|
| test-core-config-file.cpp | Tests: configuration files.
|
||||||
| test-core-command.cpp | Tests: commands.
|
| test-core-crypto.cpp | Tests: cryptographic functions.
|
||||||
| test-core-config-file.cpp | Tests: configuration files.
|
| test-core-dir.cpp | Tests: directory/file functions.
|
||||||
| test-core-crypto.cpp | Tests: cryptographic functions.
|
| test-core-eval.cpp | Tests: evaluation of expressions.
|
||||||
| test-core-dir.cpp | Tests: directory/file functions.
|
| test-core-hashtble.cpp | Tests: hashtables.
|
||||||
| test-core-eval.cpp | Tests: evaluation of expressions.
|
| test-core-hdata.cpp | Tests: hdata.
|
||||||
| test-core-hashtable.cpp | Tests: hashtables.
|
| test-core-hook.cpp | Tests: hooks.
|
||||||
| test-core-hdata.cpp | Tests: hdata.
|
| test-core-infolist.cpp | Tests: infolists.
|
||||||
| test-core-hook.cpp | Tests: hooks.
|
| test-core-list.cpp | Tests: lists.
|
||||||
| test-core-infolist.cpp | Tests: infolists.
|
| test-core-network.cpp | Tests: network functions.
|
||||||
| test-core-input.cpp | Tests: input functions.
|
| test-core-secure.cpp | Tests: secured data.
|
||||||
| test-core-list.cpp | Tests: lists.
|
| test-core-signal.cpp | Tests: signals.
|
||||||
| test-core-network.cpp | Tests: network functions.
|
| test-core-string.cpp | Tests: strings.
|
||||||
| test-core-secure.cpp | Tests: secured data.
|
| test-core-url.cpp | Tests: URLs.
|
||||||
| test-core-signal.cpp | Tests: signals.
|
| test-core-utf8.cpp | Tests: UTF-8.
|
||||||
| test-core-string.cpp | Tests: strings.
|
| test-core-util.cpp | Tests: utility functions.
|
||||||
| test-core-url.cpp | Tests: URLs.
|
| gui/ | Root of unit tests for interfaces.
|
||||||
| test-core-utf8.cpp | Tests: UTF-8.
|
| test-gui-bar-window.cpp | Tests: bar window functions.
|
||||||
| test-core-util.cpp | Tests: utility functions.
|
| test-gui-buffer.cpp | Tests: buffer functions.
|
||||||
| test-core-sys.cpp | Tests: system functions.
|
| test-gui-chat.cpp | Tests: chat functions.
|
||||||
| hook/ | Root of unit tests for hooks.
|
| test-gui-color.cpp | Tests: colors.
|
||||||
| test-hook-command.cpp | Tests: hooks "command".
|
| test-gui-filter.cpp | Tests: filters.
|
||||||
| test-hook-command-run.cpp | Tests: hooks "command_run".
|
| test-gui-input.cpp | Tests: input functions.
|
||||||
| test-hook-completion.cpp | Tests: hooks "completion".
|
| test-gui-key.cpp | Tests: keys.
|
||||||
| test-hook-config.cpp | Tests: hooks "config".
|
| test-gui-line.cpp | Tests: lines.
|
||||||
| test-hook-connect.cpp | Tests: hooks "connect".
|
| test-gui-nick.cpp | Tests: nicks.
|
||||||
| test-hook-fd.cpp | Tests: hooks "fd".
|
| plugins/ | Root of unit tests for plugins.
|
||||||
| test-hook-focus.cpp | Tests: hooks "focus".
|
| irc/ | Root of unit tests for IRC plugin.
|
||||||
| test-hook-hdata.cpp | Tests: hooks "hdata".
|
| test-irc-batch.cpp | Tests: IRC batched events.
|
||||||
| test-hook-hsignal.cpp | Tests: hooks "hsignal".
|
| test-irc-buffer.cpp | Tests: IRC buffers.
|
||||||
| test-hook-info-hashtable.cpp | Tests: hooks "info_hashtable".
|
| test-irc-channel.cpp | Tests: IRC channels.
|
||||||
| test-hook-info.cpp | Tests: hooks "info".
|
| test-irc-color.cpp | Tests: IRC colors.
|
||||||
| test-hook-infolist.cpp | Tests: hooks "infolist".
|
| test-irc-config.cpp | Tests: IRC configuration.
|
||||||
| test-hook-line.cpp | Tests: hooks "line".
|
| test-irc-ignore.cpp | Tests: IRC ignores.
|
||||||
| test-hook-modifier.cpp | Tests: hooks "modifier".
|
| test-irc-join.cpp | Tests: IRC join functions.
|
||||||
| test-hook-print.cpp | Tests: hooks "print".
|
| test-irc-message.cpp | Tests: IRC messages.
|
||||||
| test-hook-process.cpp | Tests: hooks "process".
|
| test-irc-mode.cpp | Tests: IRC modes.
|
||||||
| test-hook-signal.cpp | Tests: hooks "signal".
|
| test-irc-nick.cpp | Tests: IRC nicks.
|
||||||
| test-hook-timer.cpp | Tests: hooks "timer".
|
| test-irc-protocol.cpp | Tests: IRC protocol.
|
||||||
| test-hook-url.cpp | Tests: hooks "url".
|
| test-irc-sasl.cpp | Tests: SASL authentication with IRC protocol.
|
||||||
| gui/ | Root of unit tests for interfaces.
|
| test-irc-server.cpp | Tests: IRC server.
|
||||||
| test-gui-bar-window.cpp | Tests: bar window functions.
|
| test-irc-tag.cpp | Tests: IRC message tags.
|
||||||
| test-gui-buffer.cpp | Tests: buffer functions.
|
| logger/ | Root of unit tests for logger plugin.
|
||||||
| test-gui-chat.cpp | Tests: chat functions.
|
| test-logger.cpp | Tests: logger.
|
||||||
| test-gui-color.cpp | Tests: colors.
|
| test-logger-backlog.cpp | Tests: logger backlog.
|
||||||
| test-gui-filter.cpp | Tests: filters.
|
| test-logger-tail.cpp | Tests: logger tail functions.
|
||||||
| test-gui-hotlist.cpp | Tests: hotlist functions.
|
| trigger/ | Root of unit tests for trigger plugin.
|
||||||
| test-gui-input.cpp | Tests: input functions.
|
| test-trigger.cpp | Tests: triggers.
|
||||||
| test-gui-key.cpp | Tests: keys.
|
| test-trigger-config.cpp | Tests: trigger configuration.
|
||||||
| test-gui-line.cpp | Tests: lines.
|
| typing/ | Root of unit tests for typing plugin.
|
||||||
| test-gui-nick.cpp | Tests: nicks.
|
| test-typing.cpp | Tests: typing.
|
||||||
| test-gui-nicklist.cpp | Tests: nicklist functions.
|
| test-typing-status.cpp | Tests: typing status.
|
||||||
| curses/ | Root of unit tests for Curses interface.
|
| relay/ | Root of unit tests for Relay plugin.
|
||||||
| test-gui-curses-mouse.cpp | Tests: mouse (Curses interface).
|
| test-relay-auth.cpp | Tests: clients authentication.
|
||||||
| plugins/ | Root of unit tests for plugins.
|
| irc/ | Root of unit tests for Relay "irc" protocol.
|
||||||
| irc/ | Root of unit tests for IRC plugin.
|
| test-relay-irc.cpp | Tests: Relay "irc" protocol.
|
||||||
| test-irc-batch.cpp | Tests: IRC batched events.
|
| xfer/ | Root of unit tests for Xfer plugin.
|
||||||
| test-irc-buffer.cpp | Tests: IRC buffers.
|
| test-xfer-file.cpp | Tests: file functions.
|
||||||
| test-irc-channel.cpp | Tests: IRC channels.
|
| test-xfer-network.cpp | Tests: network functions.
|
||||||
| test-irc-color.cpp | Tests: IRC colors.
|
|
||||||
| test-irc-command.cpp | Tests: IRC commands.
|
|
||||||
| test-irc-config.cpp | Tests: IRC configuration.
|
|
||||||
| test-irc-ctcp.cpp | Tests: IRC CTCP.
|
|
||||||
| test-irc-ignore.cpp | Tests: IRC ignores.
|
|
||||||
| test-irc-info.cpp | Tests: IRC info.
|
|
||||||
| test-irc-join.cpp | Tests: IRC join functions.
|
|
||||||
| test-irc-list.cpp | Tests: IRC buffer for reply to /list command.
|
|
||||||
| test-irc-message.cpp | Tests: IRC messages.
|
|
||||||
| test-irc-mode.cpp | Tests: IRC modes.
|
|
||||||
| test-irc-nick.cpp | Tests: IRC nicks.
|
|
||||||
| test-irc-protocol.cpp | Tests: IRC protocol.
|
|
||||||
| test-irc-sasl.cpp | Tests: SASL authentication with IRC protocol.
|
|
||||||
| test-irc-server.cpp | Tests: IRC server.
|
|
||||||
| test-irc-tag.cpp | Tests: IRC message tags.
|
|
||||||
| logger/ | Root of unit tests for logger plugin.
|
|
||||||
| test-logger.cpp | Tests: logger.
|
|
||||||
| test-logger-backlog.cpp | Tests: logger backlog.
|
|
||||||
| test-logger-tail.cpp | Tests: logger tail functions.
|
|
||||||
| trigger/ | Root of unit tests for trigger plugin.
|
|
||||||
| test-trigger.cpp | Tests: triggers.
|
|
||||||
| test-trigger-config.cpp | Tests: trigger configuration.
|
|
||||||
| typing/ | Root of unit tests for typing plugin.
|
|
||||||
| test-typing.cpp | Tests: typing.
|
|
||||||
| test-typing-status.cpp | Tests: typing status.
|
|
||||||
| relay/ | Root of unit tests for Relay plugin.
|
|
||||||
| test-relay-auth.cpp | Tests: clients authentication.
|
|
||||||
| test-relay-http.cpp | Tests: HTTP functions for Relay plugin.
|
|
||||||
| test-relay-raw.cpp | Tests: raw messages functions for Relay plugin.
|
|
||||||
| test-relay-remote.cpp | Tests: remote functions for Relay plugin.
|
|
||||||
| test-relay-websocket.cpp | Tests: websocket functions for Relay plugin.
|
|
||||||
| api/ | Root of unit tests for Relay "api" protocol.
|
|
||||||
| test-relay-api.cpp | Tests: Relay "api" protocol: general functions.
|
|
||||||
| test-relay-api-msg.cpp | Tests: Relay "api" protocol: messages.
|
|
||||||
| test-relay-api-protocol.cpp | Tests: Relay "api" protocol: protocol.
|
|
||||||
| irc/ | Root of unit tests for Relay "irc" protocol.
|
|
||||||
| test-relay-irc.cpp | Tests: Relay "irc" protocol.
|
|
||||||
| xfer/ | Root of unit tests for Xfer plugin.
|
|
||||||
| test-xfer-file.cpp | Tests: file functions.
|
|
||||||
| test-xfer-network.cpp | Tests: network functions.
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[documentation_translations]]
|
[[documentation_translations]]
|
||||||
@@ -535,8 +480,7 @@ Documentation files:
|
|||||||
| weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ ^↗^^].
|
| weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ ^↗^^].
|
||||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.en.html[Plugin API reference ^↗^^].
|
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.en.html[Plugin API reference ^↗^^].
|
||||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.en.html[Quickstart guide ^↗^^].
|
| weechat_quickstart.XX.adoc | link:weechat_quickstart.en.html[Quickstart guide ^↗^^].
|
||||||
| weechat_relay_api.XX.adoc | link:weechat_relay_api.en.html[Relay "api" protocol ^↗^^] (for remote interfaces).
|
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.en.html[Relay protocol ^↗^^] (for remote interfaces).
|
||||||
| weechat_relay_weechat.XX.adoc | link:weechat_relay_weechat.en.html[Relay "weechat" protocol ^↗^^] (for remote interfaces).
|
|
||||||
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide ^↗^^].
|
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide ^↗^^].
|
||||||
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide ^↗^^].
|
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide ^↗^^].
|
||||||
| includes/ | Files included in documentation.
|
| includes/ | Files included in documentation.
|
||||||
@@ -577,7 +521,7 @@ Example in C:
|
|||||||
/*
|
/*
|
||||||
* weechat.c - core functions for WeeChat
|
* weechat.c - core functions for WeeChat
|
||||||
*
|
*
|
||||||
* Copyright (C) 2025 Your Name <your@email.com>
|
* Copyright (C) 2023 Your Name <your@email.com>
|
||||||
*
|
*
|
||||||
* This file is part of WeeChat, the extensible chat client.
|
* This file is part of WeeChat, the extensible chat client.
|
||||||
*
|
*
|
||||||
@@ -601,8 +545,9 @@ Example in C:
|
|||||||
|
|
||||||
Some basic rules you *must* follow when you write C code:
|
Some basic rules you *must* follow when you write C code:
|
||||||
|
|
||||||
* Use 4 spaces for indentation (no tabs).
|
* Use 4 spaces for indentation. Don't use tabs, they are evil.
|
||||||
* Try to not exceed 80 chars by line, except if this is needed to increase readability.
|
* Try to not exceed 80 chars by line, except if this is needed to increase
|
||||||
|
readability.
|
||||||
* Use comments `+/* comment */+` (not C99-style comments like `+// comment+`).
|
* Use comments `+/* comment */+` (not C99-style comments like `+// comment+`).
|
||||||
* Add a comment before any function, to explain what it does (always use a
|
* Add a comment before any function, to explain what it does (always use a
|
||||||
multi-line comment, even if description is very short).
|
multi-line comment, even if description is very short).
|
||||||
@@ -814,7 +759,7 @@ Examples:
|
|||||||
[width="100%",cols="2m,3",options="header"]
|
[width="100%",cols="2m,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Directory | Files
|
| Directory | Files
|
||||||
| src/core/ | weechat.c, core-backtrace.c, core-command.c, ...
|
| src/core/ | weechat.c, wee-backtrace.c, wee-command.c, ...
|
||||||
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
||||||
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
||||||
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
||||||
@@ -822,8 +767,8 @@ Examples:
|
|||||||
| src/plugins/python/ | weechat-python.c, weechat-python-api.c, ...
|
| src/plugins/python/ | weechat-python.c, weechat-python-api.c, ...
|
||||||
|===
|
|===
|
||||||
|
|
||||||
The headers of C files have same name as file, for example _core-command.h_ for
|
The headers of C files have same name as file, for example _wee-command.h_ for
|
||||||
file _core-command.c_.
|
file _wee-command.c_.
|
||||||
|
|
||||||
[[naming_convention_structures]]
|
[[naming_convention_structures]]
|
||||||
==== Structures
|
==== Structures
|
||||||
@@ -1050,16 +995,16 @@ _src/gui/gui-color.h_):
|
|||||||
| 14 | weechat.color.chat_nick
|
| 14 | weechat.color.chat_nick
|
||||||
| 15 | weechat.color.chat_nick_self
|
| 15 | weechat.color.chat_nick_self
|
||||||
| 16 | weechat.color.chat_nick_other
|
| 16 | weechat.color.chat_nick_other
|
||||||
| 17 | _(not used anymore since WeeChat 0.3.4)_
|
| 17 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 18 | _(not used anymore since WeeChat 0.3.4)_
|
| 18 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 19 | _(not used anymore since WeeChat 0.3.4)_
|
| 19 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 20 | _(not used anymore since WeeChat 0.3.4)_
|
| 20 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 21 | _(not used anymore since WeeChat 0.3.4)_
|
| 21 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 22 | _(not used anymore since WeeChat 0.3.4)_
|
| 22 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 23 | _(not used anymore since WeeChat 0.3.4)_
|
| 23 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 24 | _(not used anymore since WeeChat 0.3.4)_
|
| 24 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 25 | _(not used anymore since WeeChat 0.3.4)_
|
| 25 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 26 | _(not used anymore since WeeChat 0.3.4)_
|
| 26 | _(not used any more since WeeChat 0.3.4)_
|
||||||
| 27 | weechat.color.chat_host
|
| 27 | weechat.color.chat_host
|
||||||
| 28 | weechat.color.chat_delimiters
|
| 28 | weechat.color.chat_delimiters
|
||||||
| 29 | weechat.color.chat_highlight
|
| 29 | weechat.color.chat_highlight
|
||||||
@@ -1175,7 +1120,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
|||||||
|
|
||||||
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^].
|
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^].
|
||||||
|
|
||||||
Any patch for bug or new feature must be done on branch `main`, preferred way
|
Any patch for bug or new feature must be done on master branch, preferred way
|
||||||
is a GitHub pull request. A patch can also be sent by e-mail
|
is a GitHub pull request. A patch can also be sent by e-mail
|
||||||
(made with `git diff` or `git format-patch`).
|
(made with `git diff` or `git format-patch`).
|
||||||
|
|
||||||
@@ -1192,15 +1137,15 @@ Where _component_ is one of following:
|
|||||||
| Component | Files | Description
|
| Component | Files | Description
|
||||||
|
|
||||||
| core
|
| core
|
||||||
| AUTHORS.md +
|
| AUTHORS.adoc +
|
||||||
CHANGELOG.md +
|
ChangeLog.adoc +
|
||||||
CONTRIBUTING.md +
|
Contributing.adoc +
|
||||||
.github/FUNDING.yml +
|
.github/FUNDING.yml +
|
||||||
.github/ISSUE_TEMPLATE/* +
|
.github/ISSUE_TEMPLATE/* +
|
||||||
icons/* +
|
icons/* +
|
||||||
po/* +
|
po/* +
|
||||||
README.md +
|
README.adoc +
|
||||||
UPGRADING.md +
|
ReleaseNotes.adoc +
|
||||||
src/core/* +
|
src/core/* +
|
||||||
src/gui/* +
|
src/gui/* +
|
||||||
version.sh +
|
version.sh +
|
||||||
@@ -1257,9 +1202,8 @@ Where _component_ is one of following:
|
|||||||
| Plugin API reference
|
| Plugin API reference
|
||||||
|
|
||||||
| doc/relay
|
| doc/relay
|
||||||
| doc/xx/weechat_relay_api.xx.adoc +
|
| doc/xx/weechat_relay_protocol.xx.adoc
|
||||||
doc/xx/weechat_relay_weechat.xx.adoc
|
| Relay protocol
|
||||||
| Relay protocols
|
|
||||||
|
|
||||||
| doc/dev
|
| doc/dev
|
||||||
| doc/xx/weechat_dev.en.adoc
|
| doc/xx/weechat_dev.en.adoc
|
||||||
@@ -1303,10 +1247,9 @@ Gettext files are in directory _po/_.
|
|||||||
If you want to initialize a new language, use command `msginit`. For example to
|
If you want to initialize a new language, use command `msginit`. For example to
|
||||||
create a file which is ready to translate to Dutch:
|
create a file which is ready to translate to Dutch:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
cd po
|
$ cd po
|
||||||
msginit -i weechat.pot -l nl_NL -o nl.po
|
$ msginit -i weechat.pot -l nl_NL -o nl.po
|
||||||
----
|
----
|
||||||
|
|
||||||
Base language for WeeChat is English, so you must of course perfectly understand
|
Base language for WeeChat is English, so you must of course perfectly understand
|
||||||
@@ -1315,9 +1258,8 @@ English in order to translate to your language.
|
|||||||
After changes in sources, you can regenerate all translations files: run this
|
After changes in sources, you can regenerate all translations files: run this
|
||||||
command in the CMake "build" directory:
|
command in the CMake "build" directory:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
make translations && make update-po
|
$ make translations && make update-po
|
||||||
----
|
----
|
||||||
|
|
||||||
Then you can edit .po files (if you can translate in a language).
|
Then you can edit .po files (if you can translate in a language).
|
||||||
@@ -1325,9 +1267,8 @@ Then you can edit .po files (if you can translate in a language).
|
|||||||
When done, you *have* to check your file with
|
When done, you *have* to check your file with
|
||||||
https://github.com/flashcode/msgcheck[msgcheck ^↗^^]:
|
https://github.com/flashcode/msgcheck[msgcheck ^↗^^]:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
msgcheck.py xx.po
|
$ msgcheck.py xx.po
|
||||||
----
|
----
|
||||||
|
|
||||||
And then you can recompile WeeChat to use the new translations.
|
And then you can recompile WeeChat to use the new translations.
|
||||||
@@ -1364,5 +1305,5 @@ warnings, ... These words must be kept unchanged:
|
|||||||
When there is a name after `+<<link_name>>+`, then you must translate it:
|
When there is a name after `+<<link_name>>+`, then you must translate it:
|
||||||
|
|
||||||
----
|
----
|
||||||
<<link_name,this text should be translated>>
|
<<link_name,this text must be translated>>
|
||||||
----
|
----
|
||||||
|
|||||||
+33
-102
@@ -2,7 +2,6 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
include::includes/attributes-en.adoc[]
|
|
||||||
|
|
||||||
[[general]]
|
[[general]]
|
||||||
== General
|
== General
|
||||||
@@ -49,14 +48,12 @@ If you still have issues, please report them to the developers.
|
|||||||
It is recommended to use https://brew.sh/[Homebrew ^↗^^],
|
It is recommended to use https://brew.sh/[Homebrew ^↗^^],
|
||||||
you can get help with:
|
you can get help with:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
brew info weechat
|
brew info weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
You can install WeeChat with this command:
|
You can install WeeChat with this command:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
brew install weechat
|
brew install weechat
|
||||||
----
|
----
|
||||||
@@ -269,7 +266,7 @@ for more info about the hotlist.
|
|||||||
[[input_bar_size]]
|
[[input_bar_size]]
|
||||||
=== How to use command line with more than one line?
|
=== How to use command line with more than one line?
|
||||||
|
|
||||||
The option _size_ in input bar can be set to a value greater than 1 (for fixed
|
The option _size_ in input bar can be set to a value higher than 1 (for fixed
|
||||||
size, default size is 1) or 0 for dynamic size, and then option _size_max_ will
|
size, default size is 1) or 0 for dynamic size, and then option _size_max_ will
|
||||||
set the max size (0 = no limit).
|
set the max size (0 = no limit).
|
||||||
|
|
||||||
@@ -316,14 +313,10 @@ You can use a terminal with rectangular selection (like rxvt-unicode,
|
|||||||
konsole, gnome-terminal, etc.). Key is usually kbd:[Ctrl] + kbd:[Alt] + mouse
|
konsole, gnome-terminal, etc.). Key is usually kbd:[Ctrl] + kbd:[Alt] + mouse
|
||||||
selection.
|
selection.
|
||||||
|
|
||||||
You can toggle nicklist and make it visible only when needed, with key
|
|
||||||
kbd:[Alt+Shift+N].
|
|
||||||
|
|
||||||
Another solution is to move nicklist to top or bottom, for example:
|
Another solution is to move nicklist to top or bottom, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
/set weechat.bar.nicklist.size_max 8
|
|
||||||
----
|
----
|
||||||
|
|
||||||
[[urls]]
|
[[urls]]
|
||||||
@@ -333,13 +326,10 @@ You can use the bare display (default key: kbd:[Alt+l] (`L`)).
|
|||||||
|
|
||||||
To make opening URLs easier, you can:
|
To make opening URLs easier, you can:
|
||||||
|
|
||||||
* toggle nicklist and make it visible only when needed, with key kbd:[Alt+Shift+N]
|
|
||||||
|
|
||||||
* move nicklist to top:
|
* move nicklist to top:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.bar.nicklist.position top
|
/set weechat.bar.nicklist.position top
|
||||||
/set weechat.bar.nicklist.size_max 8
|
|
||||||
----
|
----
|
||||||
|
|
||||||
* disable alignment for multiline words:
|
* disable alignment for multiline words:
|
||||||
@@ -389,7 +379,6 @@ There is no option in WeeChat to change the timezone, the environment variable
|
|||||||
|
|
||||||
In your shell initialization file or on command line, before starting WeeChat:
|
In your shell initialization file or on command line, before starting WeeChat:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
export TZ=America/New_York
|
export TZ=America/New_York
|
||||||
----
|
----
|
||||||
@@ -594,31 +583,6 @@ If you are using the macOS Terminal app, enable the option
|
|||||||
"Use option as meta key" in menu Settings/Keyboard after which you can use the
|
"Use option as meta key" in menu Settings/Keyboard after which you can use the
|
||||||
kbd:[Option] key as meta key.
|
kbd:[Option] key as meta key.
|
||||||
|
|
||||||
[[enter_key]]
|
|
||||||
=== Some keys including Enter are not working, why?
|
|
||||||
|
|
||||||
If you run a WeeChat < 4.0.0 with configuration files created by any
|
|
||||||
version ≥ 4.0.0, the keys names become invalid and many keys won't work at all. +
|
|
||||||
To repair them, exit WeeChat, remove all sections `[key*]` from weechat.conf
|
|
||||||
and start WeeChat again: all default keys will be created.
|
|
||||||
|
|
||||||
[[key_f11]]
|
|
||||||
=== Key F11 maximizes the terminal window, how can I scroll up the nicklist?
|
|
||||||
|
|
||||||
The key kbd:[F11] is commonly used by terminals to maximize the window, and
|
|
||||||
kbd:[F11]/kbd:[F12] are the default keys in WeeChat to scroll the nicklist.
|
|
||||||
|
|
||||||
You can bind other keys, for example kbd:[Shift+F11] and kbd:[Shift+F12],
|
|
||||||
with WeeChat ≥ 4.0.0:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Other solution is to enable mouse (key: kbd:[Alt+m]) and scroll with the mouse
|
|
||||||
wheel (see also questions about <<mouse,mouse>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== How can I customize key bindings?
|
=== How can I customize key bindings?
|
||||||
|
|
||||||
@@ -648,12 +612,6 @@ commands like `/123` to jump to buffer #123:
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
For an easy jump to buffers, you can also install the _go.py_ script:
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== How to use global history (instead of buffer history) with up and down keys?
|
=== How to use global history (instead of buffer history) with up and down keys?
|
||||||
|
|
||||||
@@ -693,18 +651,16 @@ According to terminfo used, mouse may not be supported.
|
|||||||
|
|
||||||
You can test mouse support in terminal:
|
You can test mouse support in terminal:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
printf '\033[?1002h'
|
$ printf '\033[?1002h'
|
||||||
----
|
----
|
||||||
|
|
||||||
And then click on first char of terminal (upper left). You should see " !!#!!".
|
And then click on first char of terminal (upper left). You should see " !!#!!".
|
||||||
|
|
||||||
To disable mouse in terminal:
|
To disable mouse in terminal:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
printf '\033[?1002l'
|
$ printf '\033[?1002l'
|
||||||
----
|
----
|
||||||
|
|
||||||
[[mouse_coords]]
|
[[mouse_coords]]
|
||||||
@@ -759,7 +715,7 @@ should be, you can specify the fingerprint (SHA-512, SHA-256 or SHA-1):
|
|||||||
You can try a different priority string, replace "xxx" by your server name:
|
You can try a different priority string, replace "xxx" by your server name:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
|
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_tls_libera]]
|
[[irc_tls_libera]]
|
||||||
@@ -963,20 +919,35 @@ link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^
|
|||||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||||
or per group of buffers (like IRC servers).
|
or per group of buffers (like IRC servers).
|
||||||
|
|
||||||
To only disable highlights, you'd have to set it to 2.
|
To only disable highlights, you'd have to set it to 2:
|
||||||
|
|
||||||
For the current buffer:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
For all channels on server "libera":
|
This buffer property isn't stored in the configuration though.
|
||||||
|
To automatically reapply these buffer properties, you would need the
|
||||||
|
_buffer_autoset.py_ script:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
/script install buffer_autoset.py
|
||||||
----
|
----
|
||||||
|
|
||||||
|
For example, to permanently disable highlights from "mike" on #weechat
|
||||||
|
on the IRC server libera:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
To apply it to the entire libera server instead:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
For more examples, see `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== How can I change target buffer for commands on merged buffers (like buffer with servers)?
|
=== How can I change target buffer for commands on merged buffers (like buffer with servers)?
|
||||||
|
|
||||||
@@ -1006,15 +977,14 @@ for help).
|
|||||||
Scripts are not compatible with other IRC clients.
|
Scripts are not compatible with other IRC clients.
|
||||||
|
|
||||||
[[scripts_update]]
|
[[scripts_update]]
|
||||||
=== The command "/script update" cannot read scripts, how to fix that?
|
=== The command "/script update" can not read scripts, how to fix that?
|
||||||
|
|
||||||
First check questions about TLS connection in this FAQ.
|
First check questions about TLS connection in this FAQ.
|
||||||
|
|
||||||
If still not working, try to manually delete the scripts file (in your shell):
|
If still not working, try to manually delete the scripts file (in your shell):
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
rm ~/.cache/weechat/script/plugins.xml.gz
|
$ rm ~/.cache/weechat/script/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1038,17 +1008,15 @@ have to update manually the file yourself to get updates):
|
|||||||
|
|
||||||
* in your shell, with curl installed:
|
* in your shell, with curl installed:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
cd ~/.cache/weechat/script
|
$ cd ~/.cache/weechat/script
|
||||||
curl -O https://weechat.org/files/plugins.xml.gz
|
$ curl -O https://weechat.org/files/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
If you're running macOS and the downloaded file has a size of 0 bytes,
|
If you're running macOS and the downloaded file has a size of 0 bytes,
|
||||||
try to set this variable in your shell initialization file or on command line,
|
try to set this variable in your shell initialization file or on command line,
|
||||||
before starting WeeChat:
|
before starting WeeChat:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||||
----
|
----
|
||||||
@@ -1106,8 +1074,7 @@ You can try following tips to consume less memory:
|
|||||||
|
|
||||||
You can follow same tips as for <<memory_usage,memory>>, and these ones:
|
You can follow same tips as for <<memory_usage,memory>>, and these ones:
|
||||||
|
|
||||||
* Hide "nicklist" bar: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
|
* Hide "nicklist" bar: `/bar hide nicklist`.
|
||||||
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
|
|
||||||
* Remove display of seconds in status bar time:
|
* Remove display of seconds in status bar time:
|
||||||
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value).
|
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value).
|
||||||
* Disable real time check of misspelled words in command line (if you enabled it):
|
* Disable real time check of misspelled words in command line (if you enabled it):
|
||||||
@@ -1129,20 +1096,14 @@ Disable answers to all CTCP queries:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
|
|
||||||
disabled as well:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1177,34 +1138,6 @@ stored in _sec.conf_ with the `/secure` command).
|
|||||||
See the link:weechat_user.en.html#files_and_directories[User's guide / Files and directories ^↗^^]
|
See the link:weechat_user.en.html#files_and_directories[User's guide / Files and directories ^↗^^]
|
||||||
for more information about configuration files.
|
for more information about configuration files.
|
||||||
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== I want to move my WeeChat to another device and keep my config, what should I copy?
|
|
||||||
|
|
||||||
First check directories used by WeeChat with this command: `/debug dirs`. +
|
|
||||||
Directories home/config and home/data must be copied (all files and sub-directories).
|
|
||||||
|
|
||||||
For example if you're using XDG directories (default with WeeChat ≥ 3.2),
|
|
||||||
the directories should be `$HOME/.config/weechat` and `$HOME/.local/share/weechat`. +
|
|
||||||
If you're using a single directory (default with WeeChat < 3.2), the directory
|
|
||||||
should be `$HOME/.weechat`.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
The WeeChat version on the new device must be greater than or equal to the version
|
|
||||||
on the initial device. +
|
|
||||||
Downgrading WeeChat configuration is *NOT SUPPORTED* and can break it,
|
|
||||||
leading to unusable WeeChat.
|
|
||||||
|
|
||||||
Steps:
|
|
||||||
|
|
||||||
. Quit Weechat: `/quit` (or `/upgrade -quit` if you want to resume the session,
|
|
||||||
which includes content of all buffers).
|
|
||||||
. Copy all directories, sub-directories and files to the new device, keeping
|
|
||||||
same names and permissions.
|
|
||||||
. Optional: copy any file outside these directories that you refer to in your
|
|
||||||
configuration (it's not recommended to use files outside WeeChat directories).
|
|
||||||
. Start WeeChat on the new device: `weechat` (or `weechat --upgrade` if you
|
|
||||||
saved the session).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== Development
|
== Development
|
||||||
|
|
||||||
@@ -1218,7 +1151,6 @@ See https://weechat.org/about/support/[this page ^↗^^].
|
|||||||
|
|
||||||
When you run WeeChat under gdb, you may have this error:
|
When you run WeeChat under gdb, you may have this error:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
$ gdb /path/to/weechat
|
$ gdb /path/to/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1229,7 +1161,6 @@ Cannot find new threads: generic error
|
|||||||
To fix that, you can run gdb with this command (replace path to libpthread and
|
To fix that, you can run gdb with this command (replace path to libpthread and
|
||||||
WeeChat with paths on your system):
|
WeeChat with paths on your system):
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
||||||
(gdb) run
|
(gdb) run
|
||||||
@@ -1238,7 +1169,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
|||||||
[[supported_os]]
|
[[supported_os]]
|
||||||
=== What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
|
=== 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, macOS and Windows
|
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, Mac OS and Windows
|
||||||
(Cygwin and Windows Subsystem for Linux).
|
(Cygwin and Windows Subsystem for Linux).
|
||||||
|
|
||||||
We do our best to run on as many platforms as possible. Help is welcome for
|
We do our best to run on as many platforms as possible. Help is welcome for
|
||||||
|
|||||||
+280
-1373
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,6 @@
|
|||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: en
|
:lang: en
|
||||||
include::includes/attributes-en.adoc[]
|
|
||||||
|
|
||||||
[[start]]
|
[[start]]
|
||||||
== Start WeeChat
|
== Start WeeChat
|
||||||
@@ -12,9 +11,8 @@ It has good UTF-8 support and works well with WeeChat's default key bindings.
|
|||||||
|
|
||||||
Run from your shell:
|
Run from your shell:
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
----
|
||||||
weechat
|
$ weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[help]]
|
[[help]]
|
||||||
@@ -267,7 +265,7 @@ Close a server, channel or private buffer (`/close` is an alias for
|
|||||||
/close
|
/close
|
||||||
----
|
----
|
||||||
|
|
||||||
[CAUTION]
|
[WARNING]
|
||||||
Closing the server buffer will close all channel/private buffers.
|
Closing the server buffer will close all channel/private buffers.
|
||||||
|
|
||||||
Disconnect from server, on the server buffer:
|
Disconnect from server, on the server buffer:
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user