mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +02:00
Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b452be6417 | |||
| 0fbb99763d | |||
| 65ef552251 | |||
| 05f9129e65 | |||
| 113f72f70e | |||
| 0987e12e83 | |||
| 097862e0f0 | |||
| 6b3398fcb5 | |||
| 52c53d6985 | |||
| 608038374e | |||
| 7f3ad1c054 | |||
| 5d4546eb85 | |||
| 00b7a656a7 | |||
| 3520c9af0f | |||
| a76bfb1f26 |
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
# SPDX-FileCopyrightText: 2024 Emil Velikov <emil.l.velikov@gmail.com>
|
# SPDX-FileCopyrightText: 2024 Emil Velikov <emil.l.velikov@gmail.com>
|
||||||
# SPDX-FileCopyrightText: 2024-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2013-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2013-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2019-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2023-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2020-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2020-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2023-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2023-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
+193
-259
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2020-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2020-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -11,14 +11,6 @@ on:
|
|||||||
- cron: '22 9 * * 2'
|
- cron: '22 9 * * 2'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CHECK_DEPS_UBUNTU: >-
|
|
||||||
curl
|
|
||||||
gettext
|
|
||||||
hunspell
|
|
||||||
hunspell-en-us
|
|
||||||
hunspell-fr
|
|
||||||
pipx
|
|
||||||
shellcheck
|
|
||||||
WEECHAT_DEPS_UBUNTU: >-
|
WEECHAT_DEPS_UBUNTU: >-
|
||||||
asciidoctor
|
asciidoctor
|
||||||
build-essential
|
build-essential
|
||||||
@@ -26,6 +18,7 @@ env:
|
|||||||
curl
|
curl
|
||||||
devscripts
|
devscripts
|
||||||
equivs
|
equivs
|
||||||
|
flake8
|
||||||
gem2deb
|
gem2deb
|
||||||
guile-3.0-dev
|
guile-3.0-dev
|
||||||
lcov
|
lcov
|
||||||
@@ -36,7 +29,7 @@ env:
|
|||||||
libcurl4-gnutls-dev
|
libcurl4-gnutls-dev
|
||||||
libgcrypt20-dev
|
libgcrypt20-dev
|
||||||
libgnutls28-dev
|
libgnutls28-dev
|
||||||
liblua5.4-dev
|
liblua5.3-dev
|
||||||
libncurses-dev
|
libncurses-dev
|
||||||
libperl-dev
|
libperl-dev
|
||||||
libphp-embed
|
libphp-embed
|
||||||
@@ -47,11 +40,14 @@ env:
|
|||||||
php-dev
|
php-dev
|
||||||
pipx
|
pipx
|
||||||
pkgconf
|
pkgconf
|
||||||
|
pylint
|
||||||
|
python3-bandit
|
||||||
python3-dev
|
python3-dev
|
||||||
ruby-pygments.rb
|
ruby-pygments.rb
|
||||||
|
shellcheck
|
||||||
tcl8.6-dev
|
tcl8.6-dev
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
WEECHAT_DEPS_REDHAT: >-
|
WEECHAT_DEPS_ROCKYLINUX: >-
|
||||||
asciidoctor
|
asciidoctor
|
||||||
aspell-devel
|
aspell-devel
|
||||||
cjson-devel
|
cjson-devel
|
||||||
@@ -102,58 +98,15 @@ env:
|
|||||||
sudo
|
sudo
|
||||||
tcl86
|
tcl86
|
||||||
zstd
|
zstd
|
||||||
WEECHAT_DEPS_MACOS: >-
|
|
||||||
asciidoctor
|
|
||||||
aspell
|
|
||||||
cjson
|
|
||||||
guile
|
|
||||||
lua
|
|
||||||
pkg-config
|
|
||||||
ruby
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
checks:
|
tests_ubuntu:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-26.04
|
- ubuntu-24.04
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update -qq
|
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.CHECK_DEPS_UBUNTU }}
|
|
||||||
pipx install msgcheck ruff
|
|
||||||
cargo install --version 0.0.11 poexam
|
|
||||||
|
|
||||||
- name: Check gettext files (msgcheck)
|
|
||||||
run: msgcheck po/*.po
|
|
||||||
|
|
||||||
- name: Check gettext files (poexam)
|
|
||||||
run: poexam check --file-stats --rule-stats
|
|
||||||
|
|
||||||
- name: Check shell and Python scripts
|
|
||||||
run: ./tools/check_scripts.sh
|
|
||||||
|
|
||||||
- name: Check Python stub file
|
|
||||||
run: ./tools/generate_python_stub.py | diff src/plugins/python/weechat.pyi -
|
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
||||||
install:
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- ubuntu-26.04
|
|
||||||
config:
|
config:
|
||||||
- name: "gcc"
|
- name: "gcc"
|
||||||
cc: "gcc"
|
cc: "gcc"
|
||||||
@@ -192,21 +145,32 @@ jobs:
|
|||||||
cxx: "clang++"
|
cxx: "clang++"
|
||||||
buildargs: "-DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
|
buildargs: "-DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
|
||||||
|
|
||||||
name: "install (${{ matrix.os }}, ${{ matrix.config.name }})"
|
name: "${{ matrix.os }} (${{ matrix.config.name }})"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
|
||||||
PHP_INI_SCAN_DIR: /tmp/php-noscan # embed PHP loads no add-on extensions (see #2009)
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- 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_DEPS_UBUNTU }}
|
||||||
mkdir -p /tmp/php-noscan
|
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||||
pipx install schemathesis
|
sudo apt-get --yes purge php8.3-imagick
|
||||||
|
pipx install msgcheck schemathesis
|
||||||
|
|
||||||
|
- name: Check gettext files
|
||||||
|
run: msgcheck po/*.po
|
||||||
|
|
||||||
|
- name: Check shell and Python scripts
|
||||||
|
run: ./tools/check_scripts.sh
|
||||||
|
|
||||||
|
- name: Check Python stub file
|
||||||
|
run: ./tools/generate_python_stub.py | diff src/plugins/python/weechat.pyi -
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
- name: Build and run tests
|
- name: Build and run tests
|
||||||
env:
|
env:
|
||||||
@@ -254,210 +218,19 @@ 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'
|
||||||
|
|
||||||
install_fedora:
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- ubuntu-26.04
|
|
||||||
config:
|
|
||||||
- name: "gcc"
|
|
||||||
cc: "gcc"
|
|
||||||
cxx: "g++"
|
|
||||||
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON"
|
|
||||||
- name: "clang"
|
|
||||||
cc: "clang"
|
|
||||||
cxx: "clang++"
|
|
||||||
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON -DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
|
|
||||||
|
|
||||||
name: "install (fedora:43, ${{ matrix.config.name }})"
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
container:
|
|
||||||
image: fedora:43
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: dnf install -y ${{ env.WEECHAT_DEPS_REDHAT }}
|
|
||||||
|
|
||||||
- name: Build and run tests
|
|
||||||
env:
|
|
||||||
CC: ${{ matrix.config.cc }}
|
|
||||||
CXX: ${{ matrix.config.cxx }}
|
|
||||||
run: ./tools/build_test.sh ${{ matrix.config.buildargs }}
|
|
||||||
|
|
||||||
- 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"
|
|
||||||
|
|
||||||
install_rockylinux:
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- ubuntu-26.04
|
|
||||||
config:
|
|
||||||
- name: "gcc"
|
|
||||||
cc: "gcc"
|
|
||||||
cxx: "g++"
|
|
||||||
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON"
|
|
||||||
- name: "clang"
|
|
||||||
cc: "clang"
|
|
||||||
cxx: "clang++"
|
|
||||||
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON -DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
|
|
||||||
|
|
||||||
name: "install (rockylinux:9, ${{ matrix.config.name }})"
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
container:
|
|
||||||
image: rockylinux:9
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
dnf install -y epel-release dnf-plugins-core
|
|
||||||
dnf config-manager --set-enabled crb
|
|
||||||
# pin a working ruby stream (ruby:4.0 has broken module metadata on Rocky 9.8)
|
|
||||||
dnf module enable -y ruby:3.3
|
|
||||||
dnf install -y ${{ env.WEECHAT_DEPS_REDHAT }}
|
|
||||||
|
|
||||||
- name: Build and run tests
|
|
||||||
env:
|
|
||||||
CC: ${{ matrix.config.cc }}
|
|
||||||
CXX: ${{ matrix.config.cxx }}
|
|
||||||
run: ./tools/build_test.sh ${{ matrix.config.buildargs }}
|
|
||||||
|
|
||||||
- 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"
|
|
||||||
|
|
||||||
install_freebsd:
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- ubuntu-26.04
|
|
||||||
config:
|
|
||||||
# - name: "gcc"
|
|
||||||
# cc: "gcc"
|
|
||||||
# cxx: "g++"
|
|
||||||
# buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON"
|
|
||||||
- name: "clang"
|
|
||||||
cc: "clang"
|
|
||||||
cxx: "clang++"
|
|
||||||
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON -DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
|
|
||||||
|
|
||||||
name: "install (freebsd, ${{ matrix.config.name }})"
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
|
||||||
|
|
||||||
- name: Install dependencies, build and run tests, run WeeChat
|
|
||||||
uses: vmactions/freebsd-vm@v1
|
|
||||||
env:
|
|
||||||
CC: ${{ matrix.config.cc }}
|
|
||||||
CXX: ${{ matrix.config.cxx }}
|
|
||||||
TERM: xterm-256color
|
|
||||||
with:
|
|
||||||
envs: "CC CXX TERM"
|
|
||||||
usesh: true
|
|
||||||
prepare: pkg install -y ${{ env.WEECHAT_DEPS_FREEBSD }}
|
|
||||||
run: |
|
|
||||||
./tools/build_test.sh ${{ matrix.config.buildargs }}
|
|
||||||
weechat --help
|
|
||||||
weechat-curses --help
|
|
||||||
weechat --version
|
|
||||||
weechat --build-info
|
|
||||||
weechat --colors
|
|
||||||
weechat --license
|
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
|
||||||
|
|
||||||
install_macos:
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- macos-14
|
|
||||||
config:
|
|
||||||
- name: "gcc"
|
|
||||||
cc: "gcc"
|
|
||||||
cxx: "g++"
|
|
||||||
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_DOC_INCOMPLETE=ON -DENABLE_PHP=OFF -DENABLE_TESTS=OFF"
|
|
||||||
- name: "clang"
|
|
||||||
cc: "clang"
|
|
||||||
cxx: "clang++"
|
|
||||||
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_DOC_INCOMPLETE=ON -DENABLE_PHP=OFF -DENABLE_TESTS=OFF"
|
|
||||||
|
|
||||||
name: "install (${{ matrix.os }}, ${{ matrix.config.name }})"
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Setup Homebrew
|
|
||||||
id: setup-homebrew
|
|
||||||
uses: Homebrew/actions/setup-homebrew@main
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
brew update
|
|
||||||
brew install ${{ env.WEECHAT_DEPS_MACOS }}
|
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
env:
|
|
||||||
CC: ${{ matrix.config.cc }}
|
|
||||||
CXX: ${{ matrix.config.cxx }}
|
|
||||||
RUN_TESTS: "0"
|
|
||||||
JOBS: "2"
|
|
||||||
run: ./tools/build_test.sh ${{ matrix.config.buildargs }}
|
|
||||||
|
|
||||||
- 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"
|
|
||||||
|
|
||||||
build_debian:
|
build_debian:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-26.04
|
- ubuntu-24.04
|
||||||
|
|
||||||
|
name: "${{ matrix.os }} (build Debian)"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -483,13 +256,14 @@ jobs:
|
|||||||
weechat --build-info
|
weechat --build-info
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
codeql_analysis:
|
codeql-analysis:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-26.04
|
- ubuntu-24.04
|
||||||
|
|
||||||
|
name: "${{ matrix.os }} (CodeQL)"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -500,12 +274,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- 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_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
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v3
|
uses: github/codeql-action/init@v3
|
||||||
@@ -519,3 +296,160 @@ jobs:
|
|||||||
uses: github/codeql-action/analyze@v3
|
uses: github/codeql-action/analyze@v3
|
||||||
with:
|
with:
|
||||||
category: "/language:cpp"
|
category: "/language:cpp"
|
||||||
|
|
||||||
|
tests_rockylinux:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-24.04
|
||||||
|
config:
|
||||||
|
- name: "gcc"
|
||||||
|
cc: "gcc"
|
||||||
|
cxx: "g++"
|
||||||
|
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON"
|
||||||
|
- name: "clang"
|
||||||
|
cc: "clang"
|
||||||
|
cxx: "clang++"
|
||||||
|
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON -DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
|
||||||
|
|
||||||
|
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 }}
|
||||||
|
run: ./tools/build_test.sh ${{ matrix.config.buildargs }}
|
||||||
|
|
||||||
|
- 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: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON"
|
||||||
|
- name: "clang"
|
||||||
|
cc: "clang"
|
||||||
|
cxx: "clang++"
|
||||||
|
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON -DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
|
||||||
|
|
||||||
|
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 }}
|
||||||
|
TERM: xterm-256color
|
||||||
|
with:
|
||||||
|
envs: "CC CXX TERM"
|
||||||
|
usesh: true
|
||||||
|
prepare: pkg install -y ${{ env.WEECHAT_DEPS_FREEBSD }}
|
||||||
|
run: |
|
||||||
|
./tools/build_test.sh ${{ matrix.config.buildargs }}
|
||||||
|
weechat --help
|
||||||
|
weechat-curses --help
|
||||||
|
weechat --version
|
||||||
|
weechat --build-info
|
||||||
|
weechat --colors
|
||||||
|
weechat --license
|
||||||
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
|
tests_macos:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- macos-14
|
||||||
|
config:
|
||||||
|
- name: "gcc"
|
||||||
|
cc: "gcc"
|
||||||
|
cxx: "g++"
|
||||||
|
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_DOC_INCOMPLETE=ON -DENABLE_PHP=OFF -DENABLE_TESTS=OFF"
|
||||||
|
- name: "clang"
|
||||||
|
cc: "clang"
|
||||||
|
cxx: "clang++"
|
||||||
|
buildargs: "-DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_DOC_INCOMPLETE=ON -DENABLE_PHP=OFF -DENABLE_TESTS=OFF"
|
||||||
|
|
||||||
|
name: "${{ matrix.os }} (${{ matrix.config.name }})"
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Setup Homebrew
|
||||||
|
id: setup-homebrew
|
||||||
|
uses: Homebrew/actions/setup-homebrew@master
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
brew update
|
||||||
|
# temporary fix, see: https://github.com/actions/setup-python/issues/577
|
||||||
|
rm -f \
|
||||||
|
/usr/local/bin/2to3 \
|
||||||
|
/usr/local/bin/idle3 \
|
||||||
|
/usr/local/bin/pydoc3 \
|
||||||
|
/usr/local/bin/python3 \
|
||||||
|
/usr/local/bin/python3-config \
|
||||||
|
/usr/local/bin/2to3-3.11 \
|
||||||
|
/usr/local/bin/idle3.11 \
|
||||||
|
/usr/local/bin/pydoc3.11 \
|
||||||
|
/usr/local/bin/python3.11 \
|
||||||
|
/usr/local/bin/python3.11-config \
|
||||||
|
;
|
||||||
|
brew install asciidoctor aspell cjson guile lua pkg-config ruby
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.config.cc }}
|
||||||
|
CXX: ${{ matrix.config.cxx }}
|
||||||
|
RUN_TESTS: "0"
|
||||||
|
JOBS: "2"
|
||||||
|
run: ./tools/build_test.sh ${{ matrix.config.buildargs }}
|
||||||
|
|
||||||
|
- 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"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2025-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: REUSE Compliance Check
|
- name: REUSE Compliance Check
|
||||||
uses: fsfe/reuse-action@v4
|
uses: fsfe/reuse-action@v4
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2007-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2007-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2014-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2014-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
-281
@@ -1,281 +0,0 @@
|
|||||||
Atheme
|
|
||||||
Autojoin
|
|
||||||
Charset
|
|
||||||
Diffie-Hellman
|
|
||||||
Esc
|
|
||||||
FlashCode
|
|
||||||
GnuTLS
|
|
||||||
Hashtable
|
|
||||||
Helleu
|
|
||||||
IPs
|
|
||||||
Sébastien
|
|
||||||
WeeChat
|
|
||||||
Xfer
|
|
||||||
abc
|
|
||||||
ack
|
|
||||||
acks
|
|
||||||
addcompletion
|
|
||||||
addinput
|
|
||||||
addoff
|
|
||||||
addraw
|
|
||||||
addreplace
|
|
||||||
addreplacecompletion
|
|
||||||
addword
|
|
||||||
algo
|
|
||||||
allchan
|
|
||||||
allpv
|
|
||||||
alnum
|
|
||||||
andrew
|
|
||||||
ansi
|
|
||||||
api
|
|
||||||
args
|
|
||||||
argsN
|
|
||||||
aspell
|
|
||||||
autoconnect
|
|
||||||
autojoin
|
|
||||||
autoload
|
|
||||||
autoloaded
|
|
||||||
autoreconnect
|
|
||||||
autorejoin
|
|
||||||
bg
|
|
||||||
bindctxt
|
|
||||||
bitlbee
|
|
||||||
bkl
|
|
||||||
blocksize
|
|
||||||
bool
|
|
||||||
buflist
|
|
||||||
cJSON
|
|
||||||
calc
|
|
||||||
ccc
|
|
||||||
charset
|
|
||||||
charsets
|
|
||||||
chghost
|
|
||||||
chmod
|
|
||||||
cleartext
|
|
||||||
clientinfo
|
|
||||||
cmd
|
|
||||||
codepoint
|
|
||||||
concat
|
|
||||||
cond
|
|
||||||
config
|
|
||||||
crypted
|
|
||||||
ctcp
|
|
||||||
ctrl
|
|
||||||
ctrl-
|
|
||||||
ctrl-c
|
|
||||||
ctrl-h
|
|
||||||
ctrl-n
|
|
||||||
ctrl-x
|
|
||||||
ctrl-y
|
|
||||||
cutscr
|
|
||||||
cxx
|
|
||||||
darkgray
|
|
||||||
deinit
|
|
||||||
deldict
|
|
||||||
deloutq
|
|
||||||
delvar
|
|
||||||
dhkey
|
|
||||||
dirs
|
|
||||||
dlclose
|
|
||||||
eg
|
|
||||||
enum
|
|
||||||
enums
|
|
||||||
env
|
|
||||||
esc
|
|
||||||
eval
|
|
||||||
fd
|
|
||||||
ffff
|
|
||||||
fg
|
|
||||||
fifo
|
|
||||||
flashcode
|
|
||||||
flashtux
|
|
||||||
freebsd
|
|
||||||
fset
|
|
||||||
fsync
|
|
||||||
gcrypt
|
|
||||||
getrlimit
|
|
||||||
getrusage
|
|
||||||
gnutls
|
|
||||||
grayscale
|
|
||||||
gui
|
|
||||||
gzip
|
|
||||||
halfop
|
|
||||||
halfops
|
|
||||||
hashtable
|
|
||||||
hdata
|
|
||||||
hh
|
|
||||||
horiz
|
|
||||||
hostname
|
|
||||||
hostnames
|
|
||||||
hotlist
|
|
||||||
hsignal
|
|
||||||
http
|
|
||||||
https
|
|
||||||
hup
|
|
||||||
ident
|
|
||||||
ie
|
|
||||||
il
|
|
||||||
inclose
|
|
||||||
infolist
|
|
||||||
infolists
|
|
||||||
infos
|
|
||||||
installremove
|
|
||||||
irc
|
|
||||||
ison
|
|
||||||
javascript
|
|
||||||
json
|
|
||||||
kf
|
|
||||||
kickban
|
|
||||||
killall
|
|
||||||
lengthscr
|
|
||||||
libera
|
|
||||||
libgcrypt
|
|
||||||
libs
|
|
||||||
lightblue
|
|
||||||
lightcyan
|
|
||||||
lightgreen
|
|
||||||
lightmagenta
|
|
||||||
lightred
|
|
||||||
linux
|
|
||||||
listdefault
|
|
||||||
listdict
|
|
||||||
listdiff
|
|
||||||
listfull
|
|
||||||
listitems
|
|
||||||
listrelay
|
|
||||||
listvar
|
|
||||||
lua
|
|
||||||
mallinfo
|
|
||||||
malloc
|
|
||||||
mirc
|
|
||||||
modelist
|
|
||||||
msg
|
|
||||||
msgN
|
|
||||||
msgbuffer
|
|
||||||
multiline
|
|
||||||
ncurses
|
|
||||||
newbuffer
|
|
||||||
nf
|
|
||||||
nickbot
|
|
||||||
nicklist
|
|
||||||
nickserv
|
|
||||||
nl
|
|
||||||
noautoload
|
|
||||||
nobg
|
|
||||||
nocl
|
|
||||||
noflush
|
|
||||||
nohelp
|
|
||||||
nojoin
|
|
||||||
noln
|
|
||||||
nonblock
|
|
||||||
nooption
|
|
||||||
norc
|
|
||||||
nostdin
|
|
||||||
nosw
|
|
||||||
noswitch
|
|
||||||
notls
|
|
||||||
num
|
|
||||||
oc
|
|
||||||
oerr
|
|
||||||
oftc
|
|
||||||
ok
|
|
||||||
ol
|
|
||||||
osinfo
|
|
||||||
outqueue
|
|
||||||
ovh
|
|
||||||
paramN
|
|
||||||
params
|
|
||||||
perl
|
|
||||||
permessage-deflate
|
|
||||||
pgdn
|
|
||||||
pgup
|
|
||||||
pid
|
|
||||||
prev
|
|
||||||
privmsg
|
|
||||||
ptr
|
|
||||||
pv
|
|
||||||
py
|
|
||||||
quickstart
|
|
||||||
rc
|
|
||||||
realname
|
|
||||||
recv
|
|
||||||
reinitializing
|
|
||||||
reop
|
|
||||||
resetall
|
|
||||||
resetctxt
|
|
||||||
revindex
|
|
||||||
revscr
|
|
||||||
rgb
|
|
||||||
rlimit
|
|
||||||
rusage
|
|
||||||
rw-rw-r--
|
|
||||||
sasl
|
|
||||||
setauto
|
|
||||||
setdict
|
|
||||||
setname
|
|
||||||
setnew
|
|
||||||
setrlimit
|
|
||||||
setvar
|
|
||||||
signon
|
|
||||||
skipempty
|
|
||||||
sockaddr
|
|
||||||
splith
|
|
||||||
splitv
|
|
||||||
stderr
|
|
||||||
stdin
|
|
||||||
stdout
|
|
||||||
strcasecmp
|
|
||||||
strftime
|
|
||||||
strftimeval
|
|
||||||
strlen
|
|
||||||
sublist
|
|
||||||
subplugin
|
|
||||||
sw
|
|
||||||
sys
|
|
||||||
tThe
|
|
||||||
tcl
|
|
||||||
tg
|
|
||||||
tls
|
|
||||||
tlscertkey
|
|
||||||
toggleautoload
|
|
||||||
togglecmd
|
|
||||||
toto
|
|
||||||
totp
|
|
||||||
truncature
|
|
||||||
un
|
|
||||||
unalias
|
|
||||||
unban
|
|
||||||
unbindctxt
|
|
||||||
undef
|
|
||||||
unescaped
|
|
||||||
unhide
|
|
||||||
unhold
|
|
||||||
unicode
|
|
||||||
unix
|
|
||||||
unmark
|
|
||||||
unmerge
|
|
||||||
unzoom
|
|
||||||
uptime
|
|
||||||
url
|
|
||||||
urlserver
|
|
||||||
usec
|
|
||||||
userhost-in-names
|
|
||||||
usr
|
|
||||||
util
|
|
||||||
valgrind
|
|
||||||
versiongit
|
|
||||||
waitpid
|
|
||||||
wcswidth
|
|
||||||
wctype
|
|
||||||
wcwidth
|
|
||||||
websocket
|
|
||||||
websockets
|
|
||||||
weechat
|
|
||||||
whois
|
|
||||||
www
|
|
||||||
xdigit
|
|
||||||
xfer
|
|
||||||
xyz
|
|
||||||
yy
|
|
||||||
zlib
|
|
||||||
zstd
|
|
||||||
-612
@@ -1,612 +0,0 @@
|
|||||||
Atheme
|
|
||||||
Autojoin
|
|
||||||
Curl
|
|
||||||
Curses
|
|
||||||
Debug
|
|
||||||
Dec
|
|
||||||
Diffie-Hellman
|
|
||||||
Filter
|
|
||||||
FlashCode
|
|
||||||
GnuTLS
|
|
||||||
Guile
|
|
||||||
Helleu
|
|
||||||
IPs
|
|
||||||
Lag
|
|
||||||
Ping
|
|
||||||
Protocol
|
|
||||||
Relay
|
|
||||||
Remote
|
|
||||||
Reop
|
|
||||||
Tab
|
|
||||||
Trigger
|
|
||||||
Triggers
|
|
||||||
Typing
|
|
||||||
URLs
|
|
||||||
Wallops
|
|
||||||
WeeChat
|
|
||||||
Xfer
|
|
||||||
account
|
|
||||||
account-
|
|
||||||
account-notify
|
|
||||||
account-tag
|
|
||||||
ack
|
|
||||||
acks
|
|
||||||
add
|
|
||||||
addcompletion
|
|
||||||
addinput
|
|
||||||
addoff
|
|
||||||
addraw
|
|
||||||
addreplace
|
|
||||||
addreplacecompletion
|
|
||||||
addresse
|
|
||||||
addword
|
|
||||||
align
|
|
||||||
all
|
|
||||||
allchan
|
|
||||||
allow
|
|
||||||
allowed
|
|
||||||
allpv
|
|
||||||
alnum
|
|
||||||
alt
|
|
||||||
alt-c
|
|
||||||
alt-k
|
|
||||||
alt-s
|
|
||||||
alt-v
|
|
||||||
alt-z
|
|
||||||
andrew
|
|
||||||
ansi
|
|
||||||
apply
|
|
||||||
area
|
|
||||||
args
|
|
||||||
argsN
|
|
||||||
aspell
|
|
||||||
attributes
|
|
||||||
auth
|
|
||||||
autoconnect
|
|
||||||
autojoin
|
|
||||||
autoload
|
|
||||||
autorejoin
|
|
||||||
away
|
|
||||||
away-notify
|
|
||||||
backspace
|
|
||||||
bare
|
|
||||||
bash
|
|
||||||
beep
|
|
||||||
before
|
|
||||||
beginning
|
|
||||||
beyond
|
|
||||||
bg
|
|
||||||
bin
|
|
||||||
bind
|
|
||||||
bindctxt
|
|
||||||
bitlbee
|
|
||||||
bkl
|
|
||||||
blue
|
|
||||||
bold
|
|
||||||
bool
|
|
||||||
boolean
|
|
||||||
both
|
|
||||||
bottom
|
|
||||||
bracketed
|
|
||||||
brown
|
|
||||||
buflist
|
|
||||||
cJSON
|
|
||||||
calc
|
|
||||||
callbacks
|
|
||||||
cap-notify
|
|
||||||
capabilities
|
|
||||||
capability
|
|
||||||
ccc
|
|
||||||
cert
|
|
||||||
certs
|
|
||||||
changed
|
|
||||||
channel
|
|
||||||
charset
|
|
||||||
charsets
|
|
||||||
check
|
|
||||||
chghost
|
|
||||||
chmod
|
|
||||||
cipher
|
|
||||||
clear
|
|
||||||
clientinfo
|
|
||||||
clipboard
|
|
||||||
cmd
|
|
||||||
color
|
|
||||||
colors
|
|
||||||
command
|
|
||||||
commands
|
|
||||||
complete
|
|
||||||
completion
|
|
||||||
concat
|
|
||||||
cond
|
|
||||||
confirm
|
|
||||||
connect
|
|
||||||
connected
|
|
||||||
connecting
|
|
||||||
control
|
|
||||||
copy
|
|
||||||
core
|
|
||||||
count
|
|
||||||
crypt
|
|
||||||
ctcp
|
|
||||||
ctrl
|
|
||||||
ctrl-
|
|
||||||
ctrl-c
|
|
||||||
ctrl-h
|
|
||||||
ctrl-n
|
|
||||||
ctrl-x
|
|
||||||
ctrl-y
|
|
||||||
curl
|
|
||||||
current
|
|
||||||
cursor
|
|
||||||
cut
|
|
||||||
cutscr
|
|
||||||
cxx
|
|
||||||
d'ignore
|
|
||||||
d'infolist
|
|
||||||
daemon
|
|
||||||
darkgray
|
|
||||||
days
|
|
||||||
debug
|
|
||||||
decode
|
|
||||||
decrypt
|
|
||||||
default
|
|
||||||
define
|
|
||||||
deinit
|
|
||||||
del
|
|
||||||
deldict
|
|
||||||
delete
|
|
||||||
deloutq
|
|
||||||
delvar
|
|
||||||
desc
|
|
||||||
describe
|
|
||||||
dhkey
|
|
||||||
dict
|
|
||||||
diff
|
|
||||||
dim
|
|
||||||
dir
|
|
||||||
dirs
|
|
||||||
disable
|
|
||||||
discard
|
|
||||||
disconnect
|
|
||||||
disconnected
|
|
||||||
display
|
|
||||||
displayed
|
|
||||||
dlclose
|
|
||||||
doc-gen
|
|
||||||
down
|
|
||||||
download
|
|
||||||
draft
|
|
||||||
dummy
|
|
||||||
dump
|
|
||||||
eat
|
|
||||||
echo-message
|
|
||||||
edge
|
|
||||||
emphasized
|
|
||||||
empty
|
|
||||||
enable
|
|
||||||
enabled
|
|
||||||
end
|
|
||||||
enum
|
|
||||||
error
|
|
||||||
esc
|
|
||||||
eval
|
|
||||||
example
|
|
||||||
exclude
|
|
||||||
exec
|
|
||||||
extended-join
|
|
||||||
external
|
|
||||||
exts
|
|
||||||
fail
|
|
||||||
failed
|
|
||||||
fast
|
|
||||||
fd
|
|
||||||
ffff
|
|
||||||
fifo
|
|
||||||
filter
|
|
||||||
fingerprint
|
|
||||||
first
|
|
||||||
flashcode
|
|
||||||
flashtux
|
|
||||||
foo
|
|
||||||
formatted
|
|
||||||
free
|
|
||||||
freebsd
|
|
||||||
fset
|
|
||||||
fsync
|
|
||||||
gcrypt
|
|
||||||
get
|
|
||||||
getrlimit
|
|
||||||
getrusage
|
|
||||||
ghost
|
|
||||||
giga-octets
|
|
||||||
git
|
|
||||||
glitch
|
|
||||||
gnutls
|
|
||||||
grab
|
|
||||||
group
|
|
||||||
gzip
|
|
||||||
halfop
|
|
||||||
halfops
|
|
||||||
handshake
|
|
||||||
hash
|
|
||||||
hashtable
|
|
||||||
hdata
|
|
||||||
he
|
|
||||||
headless
|
|
||||||
help
|
|
||||||
here
|
|
||||||
hexa
|
|
||||||
hh
|
|
||||||
hidden
|
|
||||||
hide
|
|
||||||
highest
|
|
||||||
highlight
|
|
||||||
highlights
|
|
||||||
history
|
|
||||||
hold
|
|
||||||
hook
|
|
||||||
hooks
|
|
||||||
horiz
|
|
||||||
host
|
|
||||||
hotlist
|
|
||||||
hsignal
|
|
||||||
hup
|
|
||||||
ident
|
|
||||||
identify
|
|
||||||
ids
|
|
||||||
ignored
|
|
||||||
inclose
|
|
||||||
include
|
|
||||||
indent
|
|
||||||
infolist
|
|
||||||
infolistes
|
|
||||||
infolists
|
|
||||||
init
|
|
||||||
install
|
|
||||||
installremove
|
|
||||||
int
|
|
||||||
integer
|
|
||||||
interval
|
|
||||||
invite-notify
|
|
||||||
irc
|
|
||||||
ison
|
|
||||||
iterations
|
|
||||||
javascript
|
|
||||||
join
|
|
||||||
json
|
|
||||||
jump
|
|
||||||
keep
|
|
||||||
key
|
|
||||||
keys
|
|
||||||
kf
|
|
||||||
kickban
|
|
||||||
kill
|
|
||||||
killall
|
|
||||||
l'autojoin
|
|
||||||
l'id
|
|
||||||
lag
|
|
||||||
last
|
|
||||||
layout
|
|
||||||
leave
|
|
||||||
left
|
|
||||||
legacy
|
|
||||||
length
|
|
||||||
lengthscr
|
|
||||||
level
|
|
||||||
lib
|
|
||||||
libera
|
|
||||||
libgcrypt
|
|
||||||
libs
|
|
||||||
lightblue
|
|
||||||
lightcyan
|
|
||||||
lightgreen
|
|
||||||
lightmagenta
|
|
||||||
lightred
|
|
||||||
limit
|
|
||||||
line
|
|
||||||
lines
|
|
||||||
linux
|
|
||||||
list
|
|
||||||
listdefault
|
|
||||||
listdict
|
|
||||||
listdiff
|
|
||||||
listen
|
|
||||||
listfull
|
|
||||||
listitems
|
|
||||||
listrelay
|
|
||||||
listvar
|
|
||||||
load
|
|
||||||
logger
|
|
||||||
loggers
|
|
||||||
lower
|
|
||||||
lowest
|
|
||||||
ls
|
|
||||||
lua
|
|
||||||
mallinfo
|
|
||||||
malloc
|
|
||||||
marked
|
|
||||||
mask
|
|
||||||
memory
|
|
||||||
merge
|
|
||||||
merged
|
|
||||||
meta
|
|
||||||
meta-
|
|
||||||
method
|
|
||||||
mirc
|
|
||||||
missing
|
|
||||||
modified
|
|
||||||
mouse
|
|
||||||
move
|
|
||||||
msg
|
|
||||||
msgN
|
|
||||||
msgbuffer
|
|
||||||
multi-prefix
|
|
||||||
multiline
|
|
||||||
my
|
|
||||||
n-
|
|
||||||
name
|
|
||||||
names
|
|
||||||
ncurses
|
|
||||||
near
|
|
||||||
network
|
|
||||||
newbuffer
|
|
||||||
newline
|
|
||||||
next
|
|
||||||
nf
|
|
||||||
nick
|
|
||||||
nickbot
|
|
||||||
nicklist
|
|
||||||
nicks
|
|
||||||
nickserv
|
|
||||||
no-connect
|
|
||||||
noautoload
|
|
||||||
nobg
|
|
||||||
nocl
|
|
||||||
noflush
|
|
||||||
nohelp
|
|
||||||
nojoin
|
|
||||||
noln
|
|
||||||
nonblock
|
|
||||||
nooption
|
|
||||||
norc
|
|
||||||
nosh
|
|
||||||
nostdin
|
|
||||||
nosw
|
|
||||||
noswitch
|
|
||||||
notify
|
|
||||||
notls
|
|
||||||
null
|
|
||||||
num
|
|
||||||
number
|
|
||||||
numeric
|
|
||||||
object
|
|
||||||
oerr
|
|
||||||
of
|
|
||||||
offline
|
|
||||||
oftc
|
|
||||||
ok
|
|
||||||
ol
|
|
||||||
ops
|
|
||||||
osinfo
|
|
||||||
ovh
|
|
||||||
paramN
|
|
||||||
params
|
|
||||||
parted
|
|
||||||
pass
|
|
||||||
passphrase
|
|
||||||
password
|
|
||||||
password-store
|
|
||||||
paste
|
|
||||||
path
|
|
||||||
paused
|
|
||||||
pct
|
|
||||||
pending
|
|
||||||
perl
|
|
||||||
permessage-deflate
|
|
||||||
pgdn
|
|
||||||
pgup
|
|
||||||
pid
|
|
||||||
ping
|
|
||||||
pong
|
|
||||||
pos
|
|
||||||
prefix
|
|
||||||
prev
|
|
||||||
previous
|
|
||||||
print
|
|
||||||
priority
|
|
||||||
private
|
|
||||||
privmsg
|
|
||||||
property
|
|
||||||
ptr
|
|
||||||
py
|
|
||||||
quit
|
|
||||||
quoted
|
|
||||||
rafraichie
|
|
||||||
rafraichir
|
|
||||||
rafraichissement
|
|
||||||
random
|
|
||||||
raw
|
|
||||||
rc
|
|
||||||
realname
|
|
||||||
reconnect
|
|
||||||
recreate
|
|
||||||
recv
|
|
||||||
red
|
|
||||||
redirected
|
|
||||||
redo
|
|
||||||
refresh
|
|
||||||
regex
|
|
||||||
register
|
|
||||||
relay
|
|
||||||
reload
|
|
||||||
remote
|
|
||||||
remove
|
|
||||||
rename
|
|
||||||
renumber
|
|
||||||
reorder
|
|
||||||
rep
|
|
||||||
repeat
|
|
||||||
reply
|
|
||||||
req
|
|
||||||
reset
|
|
||||||
resetall
|
|
||||||
resetctxt
|
|
||||||
resize
|
|
||||||
restart
|
|
||||||
restore
|
|
||||||
return
|
|
||||||
rev
|
|
||||||
revindex
|
|
||||||
revscr
|
|
||||||
rgb
|
|
||||||
right
|
|
||||||
rlimit
|
|
||||||
root
|
|
||||||
ruby
|
|
||||||
run
|
|
||||||
run-command
|
|
||||||
runtime
|
|
||||||
rusage
|
|
||||||
rw-rw-r--
|
|
||||||
réinit
|
|
||||||
safe
|
|
||||||
sasl
|
|
||||||
save
|
|
||||||
scheme
|
|
||||||
screen
|
|
||||||
scroll
|
|
||||||
search
|
|
||||||
secure
|
|
||||||
selected
|
|
||||||
send
|
|
||||||
server
|
|
||||||
server-time
|
|
||||||
setauto
|
|
||||||
setdict
|
|
||||||
setname
|
|
||||||
setnew
|
|
||||||
setrlimit
|
|
||||||
setvar
|
|
||||||
sh
|
|
||||||
share
|
|
||||||
shift
|
|
||||||
shift-
|
|
||||||
shift-Tab
|
|
||||||
size
|
|
||||||
skipempty
|
|
||||||
sockaddr
|
|
||||||
sorted
|
|
||||||
space
|
|
||||||
speaking
|
|
||||||
spell
|
|
||||||
split
|
|
||||||
splith
|
|
||||||
splitv
|
|
||||||
ss
|
|
||||||
start
|
|
||||||
status
|
|
||||||
stderr
|
|
||||||
stdin
|
|
||||||
stdout
|
|
||||||
str
|
|
||||||
strcasecmp
|
|
||||||
strftime
|
|
||||||
strftimeval
|
|
||||||
strip
|
|
||||||
strlen
|
|
||||||
sucks
|
|
||||||
suffix
|
|
||||||
suggest
|
|
||||||
sum
|
|
||||||
sw
|
|
||||||
switch
|
|
||||||
sys
|
|
||||||
tLe
|
|
||||||
tab
|
|
||||||
target
|
|
||||||
tcl
|
|
||||||
term
|
|
||||||
text
|
|
||||||
tg
|
|
||||||
time
|
|
||||||
timeout
|
|
||||||
timer
|
|
||||||
tiny
|
|
||||||
title
|
|
||||||
tls
|
|
||||||
tlscertkey
|
|
||||||
to
|
|
||||||
toggle
|
|
||||||
toggleautoload
|
|
||||||
togglecmd
|
|
||||||
topic
|
|
||||||
totp
|
|
||||||
trigger
|
|
||||||
triggers
|
|
||||||
trim
|
|
||||||
typing
|
|
||||||
téra-octets
|
|
||||||
unalias
|
|
||||||
unavailable
|
|
||||||
unban
|
|
||||||
unbind
|
|
||||||
unbindctxt
|
|
||||||
undef
|
|
||||||
undo
|
|
||||||
unhide
|
|
||||||
unicode
|
|
||||||
unix
|
|
||||||
unload
|
|
||||||
unmerge
|
|
||||||
unread
|
|
||||||
unset
|
|
||||||
up
|
|
||||||
update
|
|
||||||
upper
|
|
||||||
url
|
|
||||||
urlserver
|
|
||||||
usec
|
|
||||||
userhost-in-names
|
|
||||||
username
|
|
||||||
users
|
|
||||||
usr
|
|
||||||
util
|
|
||||||
valer
|
|
||||||
valgrind
|
|
||||||
verbose
|
|
||||||
verify
|
|
||||||
versiongit
|
|
||||||
visited
|
|
||||||
voice
|
|
||||||
wait
|
|
||||||
waiting
|
|
||||||
waitpid
|
|
||||||
wallops
|
|
||||||
wcswidth
|
|
||||||
wctype
|
|
||||||
wcwidth
|
|
||||||
websocket
|
|
||||||
websockets
|
|
||||||
weechat
|
|
||||||
where
|
|
||||||
white
|
|
||||||
whitespace
|
|
||||||
whois
|
|
||||||
width
|
|
||||||
window
|
|
||||||
windows
|
|
||||||
without
|
|
||||||
word
|
|
||||||
words
|
|
||||||
xdigit
|
|
||||||
xfer
|
|
||||||
xxx
|
|
||||||
xyz
|
|
||||||
yellow
|
|
||||||
yes
|
|
||||||
yy
|
|
||||||
zero
|
|
||||||
zlib
|
|
||||||
zstd
|
|
||||||
Échap
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
# SPDX-FileCopyrightText: 2026 Sébastien Helleu <flashcode@flashtux.org>
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
[check]
|
|
||||||
select = [
|
|
||||||
"checks",
|
|
||||||
]
|
|
||||||
ignore = [
|
|
||||||
"acronyms",
|
|
||||||
"brackets",
|
|
||||||
"double-quotes",
|
|
||||||
"double-words",
|
|
||||||
"functions",
|
|
||||||
"html-tags",
|
|
||||||
"paths",
|
|
||||||
"unchanged",
|
|
||||||
"urls",
|
|
||||||
]
|
|
||||||
path_words = "."
|
|
||||||
langs = [
|
|
||||||
"en_US",
|
|
||||||
"fr",
|
|
||||||
]
|
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
-->
|
-->
|
||||||
|
|||||||
+1
-81
@@ -1,91 +1,11 @@
|
|||||||
<!--
|
<!--
|
||||||
SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# WeeChat ChangeLog
|
# WeeChat ChangeLog
|
||||||
|
|
||||||
## Version 4.10.0 (under dev)
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- core: add condition on connected relay api clients in default value of option weechat.look.hotlist_add_conditions
|
|
||||||
- core: add `/mute` in default command for key `Alt`+`=` (toggle filters)
|
|
||||||
- api: change type of parameter "pos_option_name" to "const char **" in function config_search_with_string
|
|
||||||
- relay/api: add field "last_read_line_id" in GET /api/buffers
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- relay/api: add resource `GET /api/scripts`
|
|
||||||
- relay: add option relay.network.unix_socket_permissions ([#2317](https://github.com/weechat/weechat/issues/2317))
|
|
||||||
- script: add info "script_languages"
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- core: fix option weechat.look.color_real_white not applied when color is "white" on 16+ colors terminals ([#1742](https://github.com/weechat/weechat/issues/1742))
|
|
||||||
- core: fix buffer overflow in connection to SOCKS5 proxy ([#2325](https://github.com/weechat/weechat/issues/2325))
|
|
||||||
- api: fix infinite loop in function string_replace when the search string is empty
|
|
||||||
- irc: fix tag in message with list of names when joining a channel
|
|
||||||
- fset: remove error displayed in core buffer when clicking with the mouse below the last option displayed
|
|
||||||
- irc: limit size of data received from the server to prevent memory exhaustion
|
|
||||||
- irc: fix out-of-bounds read on incoming DCC command with a quoted filename ending the message ([#2322](https://github.com/weechat/weechat/issues/2322))
|
|
||||||
- relay: limit size of decompressed websocket frame with permessage-deflate to prevent memory exhaustion ([GHSA-v2v4-45wm-5cr3](https://github.com/weechat/weechat/security/advisories/GHSA-v2v4-45wm-5cr3), [CVE-2026-53524](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53524))
|
|
||||||
- relay: limit size of received websocket frame and HTTP body to prevent memory exhaustion
|
|
||||||
- relay: limit size of partial message received while reading an HTTP request to prevent memory exhaustion
|
|
||||||
- relay: fix timing attack on password authentication ([GHSA-vhv8-g2r9-cwcc](https://github.com/weechat/weechat/security/advisories/GHSA-vhv8-g2r9-cwcc), [CVE-2026-53525](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53525))
|
|
||||||
- relay: fix out-of-bounds read in dump of data ([#2324](https://github.com/weechat/weechat/issues/2324))
|
|
||||||
- relay/api: fix memory leak in resources "handshake", "input" and "completion"
|
|
||||||
- api, relay: fix timing attack on TOTP validation ([GHSA-vhv8-g2r9-cwcc](https://github.com/weechat/weechat/security/advisories/GHSA-vhv8-g2r9-cwcc), [CVE-2026-53525](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53525))
|
|
||||||
- xfer: replace directory separator in remote nick by underscore in download filename to prevent writing the file outside the download directory ([#2321](https://github.com/weechat/weechat/issues/2321))
|
|
||||||
- xfer: fix out-of-bounds read when receiving empty line in DCC chat ([#2323](https://github.com/weechat/weechat/issues/2323))
|
|
||||||
- xfer: fix out-of-bounds write in xfer file transfer resume ([#2326](https://github.com/weechat/weechat/issues/2326))
|
|
||||||
|
|
||||||
## Version 4.9.2 (2026-06-07)
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- api: fix infinite loop in function string_replace when the search string is empty
|
|
||||||
- irc: limit size of data received from the server to prevent memory exhaustion
|
|
||||||
- irc: fix out-of-bounds read on incoming DCC command with a quoted filename ending the message ([#2322](https://github.com/weechat/weechat/issues/2322))
|
|
||||||
- relay: limit size of received websocket frame and HTTP body to prevent memory exhaustion
|
|
||||||
- relay: limit size of partial message received while reading an HTTP request to prevent memory exhaustion
|
|
||||||
- relay: fix out-of-bounds read in dump of data ([#2324](https://github.com/weechat/weechat/issues/2324))
|
|
||||||
- xfer: replace directory separator in remote nick by underscore in download filename to prevent writing the file outside the download directory ([#2321](https://github.com/weechat/weechat/issues/2321))
|
|
||||||
- xfer: fix out-of-bounds read when receiving empty line in DCC chat ([#2323](https://github.com/weechat/weechat/issues/2323))
|
|
||||||
|
|
||||||
## Version 4.9.1 (2026-05-31)
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- core: fix option weechat.look.color_real_white not applied when color is "white" on 16+ colors terminals ([#1742](https://github.com/weechat/weechat/issues/1742))
|
|
||||||
- irc: fix tag in message with list of names when joining a channel
|
|
||||||
- relay: limit size of decompressed websocket frame with permessage-deflate to prevent memory exhaustion ([GHSA-v2v4-45wm-5cr3](https://github.com/weechat/weechat/security/advisories/GHSA-v2v4-45wm-5cr3), [CVE-2026-53524](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53524))
|
|
||||||
- relay: fix timing attack on password authentication ([GHSA-vhv8-g2r9-cwcc](https://github.com/weechat/weechat/security/advisories/GHSA-vhv8-g2r9-cwcc), [CVE-2026-53525](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53525))
|
|
||||||
- api, relay: fix timing attack on TOTP validation ([GHSA-vhv8-g2r9-cwcc](https://github.com/weechat/weechat/security/advisories/GHSA-vhv8-g2r9-cwcc), [CVE-2026-53525](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53525))
|
|
||||||
|
|
||||||
## Version 4.9.0 (2026-03-29)
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- core: add option `-e` to evaluate all commands before executing them in command `/eval`
|
|
||||||
- xfer: evaluate option xfer.network.own_ip
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- typing: add option typing.look.item_text ([#2305](https://github.com/weechat/weechat/issues/2305))
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- core: fix crash with `/eval` when the current buffer is closed in a command
|
|
||||||
- core: fix buffer size in function util_parse_time, causing buffer overflow error in unit tests
|
|
||||||
- irc: fix display of CTCP query sent multiple times to the same user when capability echo-message is enabled ([#2309](https://github.com/weechat/weechat/issues/2309))
|
|
||||||
- irc: fix unit of server option `anti_flood` from seconds to milliseconds in output of `/server listfull`
|
|
||||||
- irc: fix creation of irc.msgbuffer option without a server name
|
|
||||||
- irc: ignore self join if the channel is already joined ([#2291](https://github.com/weechat/weechat/issues/2291))
|
|
||||||
- relay/api: fix memory leaks in resources "ping" and "sync"
|
|
||||||
- relay/api: fix memory leak in receive of message from remote WeeChat
|
|
||||||
|
|
||||||
## Version 4.8.2 (2026-03-06)
|
## Version 4.8.2 (2026-03-06)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
+38
-36
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# SPDX-FileCopyrightText: 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
# SPDX-FileCopyrightText: 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||||
# SPDX-FileCopyrightText: 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# SPDX-FileCopyrightText: 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -28,7 +28,6 @@ project(weechat C)
|
|||||||
# CMake options
|
# CMake options
|
||||||
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
|
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
|
||||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
||||||
set(CMAKE_SKIP_RPATH ON)
|
set(CMAKE_SKIP_RPATH ON)
|
||||||
|
|
||||||
# compiler options
|
# compiler options
|
||||||
@@ -53,8 +52,16 @@ else()
|
|||||||
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
|
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# license
|
||||||
|
set(LICENSE "GPL3")
|
||||||
|
|
||||||
# add definitions for version and license
|
# add definitions for version and license
|
||||||
add_definitions(-DWEECHAT_VERSION="${VERSION}" -DWEECHAT_LICENSE="GPL3")
|
if(COMMAND cmake_policy)
|
||||||
|
cmake_policy(SET CMP0005 NEW)
|
||||||
|
add_definitions(-DWEECHAT_VERSION="${VERSION}" -DWEECHAT_LICENSE="${LICENSE}")
|
||||||
|
else()
|
||||||
|
add_definitions(-DWEECHAT_VERSION='"${VERSION}"' -DWEECHAT_LICENSE='"${LICENSE}"')
|
||||||
|
endif()
|
||||||
|
|
||||||
# package string
|
# package string
|
||||||
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||||
@@ -185,6 +192,15 @@ set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
|||||||
FORCE)
|
FORCE)
|
||||||
mark_as_advanced(CLEAR WEECHAT_HOME)
|
mark_as_advanced(CLEAR WEECHAT_HOME)
|
||||||
|
|
||||||
|
if(COMMAND cmake_policy)
|
||||||
|
if(POLICY CMP0003)
|
||||||
|
cmake_policy(SET CMP0003 NEW)
|
||||||
|
endif()
|
||||||
|
if(POLICY CMP0017)
|
||||||
|
cmake_policy(SET CMP0017 NEW)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
add_definitions(-DHAVE_CONFIG_H)
|
add_definitions(-DHAVE_CONFIG_H)
|
||||||
|
|
||||||
include(FindPkgConfig)
|
include(FindPkgConfig)
|
||||||
@@ -242,29 +258,22 @@ list(APPEND EXTRA_LIBS ${GNUTLS_LDFLAGS})
|
|||||||
|
|
||||||
# Check for zlib
|
# Check for zlib
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
list(APPEND EXTRA_LIBS ${ZLIB_LIBRARY})
|
|
||||||
|
|
||||||
# Check for zstd
|
# Check for zstd
|
||||||
if(ENABLE_ZSTD)
|
if(ENABLE_ZSTD)
|
||||||
pkg_check_modules(LIBZSTD REQUIRED libzstd>=1.4.0)
|
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
||||||
include_directories(${LIBZSTD_INCLUDE_DIRS})
|
|
||||||
list(APPEND EXTRA_LIBS ${LIBZSTD_LDFLAGS})
|
|
||||||
add_definitions(-DHAVE_ZSTD)
|
add_definitions(-DHAVE_ZSTD)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Check for cJSON
|
# Check for cJSON
|
||||||
if(ENABLE_CJSON)
|
if(ENABLE_CJSON)
|
||||||
pkg_check_modules(LIBCJSON REQUIRED libcjson)
|
pkg_check_modules(LIBCJSON REQUIRED libcjson)
|
||||||
include_directories(${LIBCJSON_INCLUDE_DIRS})
|
|
||||||
add_definitions(-DHAVE_CJSON)
|
add_definitions(-DHAVE_CJSON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Check for iconv
|
# Check for iconv
|
||||||
find_package(Iconv)
|
find_package(Iconv)
|
||||||
if(ICONV_FOUND)
|
if(ICONV_FOUND)
|
||||||
if(ICONV_LIBRARY)
|
|
||||||
list(APPEND EXTRA_LIBS ${ICONV_LIBRARY})
|
|
||||||
endif()
|
|
||||||
add_definitions(-DHAVE_ICONV)
|
add_definitions(-DHAVE_ICONV)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -274,15 +283,18 @@ pkg_check_modules(LIBCURL REQUIRED libcurl>=7.68.0)
|
|||||||
include_directories(${LIBCURL_INCLUDE_DIRS})
|
include_directories(${LIBCURL_INCLUDE_DIRS})
|
||||||
list(APPEND EXTRA_LIBS ${LIBCURL_LDFLAGS})
|
list(APPEND EXTRA_LIBS ${LIBCURL_LDFLAGS})
|
||||||
|
|
||||||
list(APPEND EXTRA_LIBS ${CMAKE_DL_LIBS})
|
find_library(DL_LIBRARY
|
||||||
|
NAMES dl
|
||||||
|
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
|
||||||
|
)
|
||||||
|
if(DL_LIBRARY)
|
||||||
|
list(APPEND EXTRA_LIBS ${DL_LIBRARY})
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(icons)
|
add_subdirectory(icons)
|
||||||
|
|
||||||
if(ENABLE_NLS)
|
if(ENABLE_NLS)
|
||||||
find_package(Gettext REQUIRED)
|
find_package(Gettext REQUIRED)
|
||||||
if(LIBINTL_LIBRARY)
|
|
||||||
list(APPEND EXTRA_LIBS ${LIBINTL_LIBRARY})
|
|
||||||
endif()
|
|
||||||
find_package(Intl REQUIRED)
|
find_package(Intl REQUIRED)
|
||||||
include_directories(${Intl_INCLUDE_DIRS})
|
include_directories(${Intl_INCLUDE_DIRS})
|
||||||
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
|
||||||
@@ -291,30 +303,20 @@ else()
|
|||||||
add_custom_target(translations COMMAND true)
|
add_custom_target(translations COMMAND true)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
|
||||||
find_library(EXECINFO_LIB_PATH execinfo /usr/local/lib)
|
|
||||||
check_function_exists(backtrace HAVE_BACKTRACE)
|
|
||||||
list(APPEND EXTRA_LIBS "execinfo")
|
|
||||||
else()
|
|
||||||
check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Haiku")
|
|
||||||
list(APPEND EXTRA_LIBS "network")
|
|
||||||
else()
|
|
||||||
list(APPEND EXTRA_LIBS "pthread")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
|
|
||||||
list(APPEND EXTRA_LIBS "socket" "nsl")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
list(APPEND EXTRA_LIBS "m")
|
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(doc)
|
add_subdirectory(doc)
|
||||||
|
|
||||||
enable_testing()
|
if(ENABLE_TESTS)
|
||||||
|
find_package(CppUTest)
|
||||||
|
if(CPPUTEST_FOUND)
|
||||||
|
enable_testing()
|
||||||
|
else()
|
||||||
|
message(SEND_ERROR "CppUTest not found")
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
enable_testing()
|
||||||
|
add_test(NAME notests COMMAND true)
|
||||||
|
endif()
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
|
||||||
configure_file(config.h.cmake config.h @ONLY)
|
configure_file(config.h.cmake config.h @ONLY)
|
||||||
|
|||||||
+3
-2
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
SPDX-FileCopyrightText: 2014-2026 Sébastien Helleu <flashcode@flashtux.org>
|
SPDX-FileCopyrightText: 2014-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
-->
|
-->
|
||||||
@@ -19,7 +19,8 @@ First, some basic things:
|
|||||||
|
|
||||||
### Security reports
|
### Security reports
|
||||||
|
|
||||||
Please **DO NOT** file a GitHub issue for security related problems; see [SECURITY.md](SECURITY.md) instead.
|
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
|
### Required info
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
-->
|
-->
|
||||||
@@ -11,8 +11,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
[](https://hostux.social/@weechat)
|
[](https://hostux.social/@weechat)
|
||||||
|
[](https://diasp.eu/u/weechat)
|
||||||
[](https://x.com/WeeChatClient)
|
[](https://x.com/WeeChatClient)
|
||||||
[](https://blog.weechat.org/)
|
[](https://blog.weechat.org/)
|
||||||
|
[](https://www.slant.co/topics/1323/~best-irc-clients-for-linux)
|
||||||
[](https://weechat.org/donate/)
|
[](https://weechat.org/donate/)
|
||||||
|
|
||||||
[](https://github.com/weechat/weechat/actions)
|
[](https://github.com/weechat/weechat/actions)
|
||||||
@@ -27,11 +29,11 @@ Homepage: [https://weechat.org/](https://weechat.org/)
|
|||||||
## Features
|
## 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.
|
- **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 (WSL and Cygwin).
|
- **Multi-platform**: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
||||||
- **Multi-protocol**: WeeChat is designed to support multiple protocols via plugins, like IRC.
|
- **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).
|
- **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.
|
- **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/)).
|
- **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.
|
- **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.
|
- **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).
|
- **Free software**: WeeChat is released under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html).
|
||||||
@@ -49,12 +51,12 @@ For detailed instructions, please check the [WeeChat user's guide](https://weech
|
|||||||
|
|
||||||
## Semantic versioning
|
## Semantic versioning
|
||||||
|
|
||||||
WeeChat follows "practical" semantic versioning; see [CONTRIBUTING.md](CONTRIBUTING.md#semantic-versioning).
|
WeeChat is following a "practical" semantic versioning, see file [CONTRIBUTING.md](CONTRIBUTING.md#semantic-versioning).
|
||||||
|
|
||||||
## Copyright
|
## Copyright
|
||||||
|
|
||||||
<!-- REUSE-IgnoreStart -->
|
<!-- REUSE-IgnoreStart -->
|
||||||
Copyright © 2003-2026 [Sébastien Helleu](https://github.com/flashcode)
|
Copyright © 2003-2025 [Sébastien Helleu](https://github.com/flashcode)
|
||||||
|
|
||||||
This file is part of WeeChat, the extensible chat client.
|
This file is part of WeeChat, the extensible chat client.
|
||||||
|
|
||||||
|
|||||||
+2
-10
@@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2025-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -17,13 +17,5 @@ path = [
|
|||||||
"weechat.pc.in",
|
"weechat.pc.in",
|
||||||
]
|
]
|
||||||
precedence = "override"
|
precedence = "override"
|
||||||
SPDX-FileCopyrightText = "2003-2026 Sébastien Helleu <flashcode@flashtux.org>"
|
SPDX-FileCopyrightText = "2003-2025 Sébastien Helleu <flashcode@flashtux.org>"
|
||||||
SPDX-License-Identifier = "GPL-3.0-or-later"
|
|
||||||
|
|
||||||
[[annotations]]
|
|
||||||
path = [
|
|
||||||
".poexam/*.dic",
|
|
||||||
]
|
|
||||||
precedence = "override"
|
|
||||||
SPDX-FileCopyrightText = "2026 Sébastien Helleu <flashcode@flashtux.org>"
|
|
||||||
SPDX-License-Identifier = "GPL-3.0-or-later"
|
SPDX-License-Identifier = "GPL-3.0-or-later"
|
||||||
|
|||||||
-26
@@ -1,26 +0,0 @@
|
|||||||
<!--
|
|
||||||
SPDX-FileCopyrightText: 2026 Sébastien Helleu <flashcode@flashtux.org>
|
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
-->
|
|
||||||
|
|
||||||
# Security Policy
|
|
||||||
|
|
||||||
## Supported versions
|
|
||||||
|
|
||||||
Only the latest stable version of WeeChat is supported.
|
|
||||||
|
|
||||||
| Version | Supported | Notes |
|
|
||||||
| -------------- | ------------------ | --------------------------------------------------- |
|
|
||||||
| Latest stable | :white_check_mark: | Fully supported. |
|
|
||||||
| Older releases | :x: | Not supported. Contact us in case of specific need. |
|
|
||||||
|
|
||||||
However, we may help to backport fixes on older versions, especially when they are used in released distributions with no way to upgrade to the latest stable release (please contact us).
|
|
||||||
|
|
||||||
## Reporting a vulnerability
|
|
||||||
|
|
||||||
Please report security issues using <https://github.com/weechat/weechat/security/advisories/new>.
|
|
||||||
|
|
||||||
Alternatively, if you are not able to use this form, you can send an email to [security@weechat.org](mailto:security@weechat.org) instead.
|
|
||||||
|
|
||||||
We will investigate all legitimate reports and do our best to quickly fix the problem.
|
|
||||||
+1
-14
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
-->
|
-->
|
||||||
@@ -13,19 +13,6 @@ When upgrading from version X to Y, please read and apply all instructions from
|
|||||||
|
|
||||||
For a list of all changes in each version, please see [CHANGELOG.md](CHANGELOG.md).
|
For a list of all changes in each version, please see [CHANGELOG.md](CHANGELOG.md).
|
||||||
|
|
||||||
## Version 4.10.0
|
|
||||||
|
|
||||||
### Command on mouse click in fset buffer
|
|
||||||
|
|
||||||
The command executed when clicking in the fset buffer has been updated to prevent
|
|
||||||
errors on the core buffer when the click is done below the last option.
|
|
||||||
|
|
||||||
To reset the key and use the new default command:
|
|
||||||
|
|
||||||
```text
|
|
||||||
/reset weechat.key_mouse.@chat(fset.fset):button1
|
|
||||||
```
|
|
||||||
|
|
||||||
## Version 4.8.0
|
## Version 4.8.0
|
||||||
|
|
||||||
### IRC temporary servers
|
### IRC temporary servers
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2014-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2014-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# SPDX-FileCopyrightText: 2007 Julien Louis <ptitlouis@sysif.net>
|
# SPDX-FileCopyrightText: 2007 Julien Louis <ptitlouis@sysif.net>
|
||||||
# SPDX-FileCopyrightText: 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# SPDX-FileCopyrightText: 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2011-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2017 Adam Saponara <as@php.net>
|
# SPDX-FileCopyrightText: 2017 Adam Saponara <as@php.net>
|
||||||
# SPDX-FileCopyrightText: 2017-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2017-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2015-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2015-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
SPDX-FileCopyrightText: 2007-2026 Sébastien Helleu <flashcode@flashtux.org>
|
SPDX-FileCopyrightText: 2007-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
Source: weechat-devel
|
Source: weechat-devel
|
||||||
Section: net
|
Section: net
|
||||||
|
Priority: optional
|
||||||
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
@@ -12,7 +13,7 @@ Build-Depends:
|
|||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
libaspell-dev,
|
libaspell-dev,
|
||||||
liblua5.4-dev,
|
liblua5.3-dev,
|
||||||
tcl8.6-dev,
|
tcl8.6-dev,
|
||||||
guile-3.0-dev,
|
guile-3.0-dev,
|
||||||
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
||||||
@@ -23,7 +24,7 @@ Build-Depends:
|
|||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev,
|
||||||
libcjson-dev
|
libcjson-dev
|
||||||
Standards-Version: 4.7.3
|
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
|
||||||
|
|||||||
@@ -1,12 +1,3 @@
|
|||||||
weechat (4.8.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Bump Standards-Version to 4.7.3
|
|
||||||
* Update debian/copyright file (new year)
|
|
||||||
* Remove redundant priority optional field from debian/control
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 23 Jan 2026 22:02:31 +0000
|
|
||||||
|
|
||||||
weechat (4.7.2-1) unstable; urgency=medium
|
weechat (4.7.2-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release (Closes: #1119787)
|
* New upstream release (Closes: #1119787)
|
||||||
@@ -49,12 +40,6 @@ weechat (4.4.2-1) unstable; urgency=medium
|
|||||||
* New upstream release
|
* New upstream release
|
||||||
- fix crash where exiting (Closes: #1076532)
|
- fix crash where exiting (Closes: #1076532)
|
||||||
- fix a minor security issue (Closes: #1081942)
|
- fix a minor security issue (Closes: #1081942)
|
||||||
* Fix possible privacy breach with html documentation which includes
|
|
||||||
stylesheets and fonts (font-awesome) hosted on remote CDN (Cloudflare)
|
|
||||||
by replacing them during build process by the ones provided in
|
|
||||||
fonts-font-awesome package (also added as dependency on weechat-doc).
|
|
||||||
* Refresh weechat-doc with minor changes and add some documentation in
|
|
||||||
Serbian and Czech.
|
|
||||||
* Bump Standards-Version to 4.7.0
|
* Bump Standards-Version to 4.7.0
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 22 Sep 2024 13:08:28 +0000
|
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 22 Sep 2024 13:08:28 +0000
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
Source: weechat
|
Source: weechat
|
||||||
Section: net
|
Section: net
|
||||||
|
Priority: optional
|
||||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
@@ -12,7 +13,7 @@ Build-Depends:
|
|||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
libaspell-dev,
|
libaspell-dev,
|
||||||
liblua5.4-dev,
|
liblua5.3-dev,
|
||||||
tcl8.6-dev,
|
tcl8.6-dev,
|
||||||
guile-3.0-dev,
|
guile-3.0-dev,
|
||||||
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
||||||
@@ -23,7 +24,7 @@ Build-Depends:
|
|||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev,
|
||||||
libcjson-dev
|
libcjson-dev
|
||||||
Standards-Version: 4.7.3
|
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
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
|||||||
Source: https://weechat.org/
|
Source: https://weechat.org/
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2003-2026, Sébastien Helleu <flashcode@flashtux.org>
|
Copyright: 2003-2025, Sébastien Helleu <flashcode@flashtux.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-command.c
|
Files: src/core/core-command.c
|
||||||
|
|||||||
+12
-37
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
# SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# SPDX-FileCopyrightText: 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# SPDX-FileCopyrightText: 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -30,37 +30,12 @@ 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 sr)
|
set(RELAY_API_LANG en fr)
|
||||||
set(RELAY_WEECHAT_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)
|
||||||
if(ASCIIDOCTOR_FOUND)
|
if(ASCIIDOCTOR_FOUND)
|
||||||
# Asciidoctor embeds the light style automatically; the dark stylesheet
|
|
||||||
# is generated below and scoped via @media in docinfo.html.in.
|
|
||||||
set(PYGMENTS_LIGHT_STYLE "default")
|
|
||||||
set(PYGMENTS_DARK_STYLE "monokai")
|
|
||||||
find_program(PYGMENTIZE_EXECUTABLE pygmentize)
|
|
||||||
set(PYGMENTS_DARK_CSS "")
|
|
||||||
if(PYGMENTIZE_EXECUTABLE)
|
|
||||||
execute_process(
|
|
||||||
COMMAND "${PYGMENTIZE_EXECUTABLE}" -O "classprefix=tok-" -f html -a "pre.pygments" -S "${PYGMENTS_DARK_STYLE}"
|
|
||||||
OUTPUT_VARIABLE PYGMENTS_DARK_CSS
|
|
||||||
RESULT_VARIABLE _pygmentize_result
|
|
||||||
)
|
|
||||||
if(NOT _pygmentize_result EQUAL 0)
|
|
||||||
message(WARNING "Failed to generate pygments CSS for dark theme (style: ${PYGMENTS_DARK_STYLE}); doc will be built without dark theme syntax highlighting")
|
|
||||||
set(PYGMENTS_DARK_CSS "")
|
|
||||||
endif()
|
|
||||||
else()
|
|
||||||
message(WARNING "pygmentize not found (install python3-pygments); doc will be built without syntax highlighting colors")
|
|
||||||
endif()
|
|
||||||
configure_file(
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html.in"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/docinfo.html"
|
|
||||||
@ONLY
|
|
||||||
)
|
|
||||||
|
|
||||||
# common asciidoctor arguments
|
# common asciidoctor arguments
|
||||||
set(ASCIIDOCTOR_ARGS
|
set(ASCIIDOCTOR_ARGS
|
||||||
-v
|
-v
|
||||||
@@ -71,8 +46,8 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
-a revnumber="${VERSION}"
|
-a revnumber="${VERSION}"
|
||||||
-a sectanchors
|
-a sectanchors
|
||||||
-a source-highlighter=pygments
|
-a source-highlighter=pygments
|
||||||
-a pygments-style=${PYGMENTS_LIGHT_STYLE}
|
-a pygments-style=native
|
||||||
-a docinfodir="${CMAKE_CURRENT_BINARY_DIR}"
|
-a docinfodir="${CMAKE_CURRENT_SOURCE_DIR}"
|
||||||
-a autogendir="${CMAKE_CURRENT_BINARY_DIR}/autogen"
|
-a autogendir="${CMAKE_CURRENT_BINARY_DIR}/autogen"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -230,7 +205,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_user.${lang}.html"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_user.${lang}.html"
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_USER_ARGS} -o "weechat_user.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_USER_ARGS} -o "weechat_user.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_BINARY_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/attributes-${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
||||||
@@ -251,7 +226,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.${lang}.html"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.${lang}.html"
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_PLUGIN_API_ARGS} -o "weechat_plugin_api.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_PLUGIN_API_ARGS} -o "weechat_plugin_api.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_BINARY_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"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
doc-autogen
|
doc-autogen
|
||||||
@@ -275,7 +250,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.${lang}.html"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.${lang}.html"
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_SCRIPTING_ARGS} -o "weechat_scripting.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_SCRIPTING_ARGS} -o "weechat_scripting.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_BINARY_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"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
doc-autogen
|
doc-autogen
|
||||||
@@ -293,7 +268,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.${lang}.html"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.${lang}.html"
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_FAQ_ARGS} -o "weechat_faq.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_FAQ_ARGS} -o "weechat_faq.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_BINARY_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"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
@@ -308,7 +283,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.${lang}.html"
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_QUICKSTART_ARGS} -o "weechat_quickstart.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_QUICKSTART_ARGS} -o "weechat_quickstart.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_BINARY_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"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
@@ -323,7 +298,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${lang}.html"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_api.${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_API_ARGS} -o "weechat_relay_api.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_BINARY_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_api.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
||||||
@@ -339,7 +314,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_weechat.${lang}.html"
|
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"
|
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
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
|
"${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/attributes-${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
||||||
@@ -355,7 +330,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.${lang}.html"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.${lang}.html"
|
||||||
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_DEV_ARGS} -o "weechat_dev.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
COMMAND "${ASCIIDOCTOR_EXECUTABLE}" ARGS ${ASCIIDOCTOR_ARGS} ${ASCIIDOCTOR_DEV_ARGS} -o "weechat_dev.${lang}.html" "${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_BINARY_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"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2005-2011 Jiri Golembiovsky <golemj@gmail.com>
|
// SPDX-FileCopyrightText: 2005-2011 Jiri Golembiovsky <golemj@gmail.com>
|
||||||
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2005-2011 Jiri Golembiovsky <golemj@gmail.com>
|
// SPDX-FileCopyrightText: 2005-2011 Jiri Golembiovsky <golemj@gmail.com>
|
||||||
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
//
|
//
|
||||||
@@ -107,7 +107,7 @@ WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je
|
|||||||
souboru AUTHORS.md).
|
souboru AUTHORS.md).
|
||||||
|
|
||||||
// REUSE-IgnoreStart
|
// REUSE-IgnoreStart
|
||||||
Copyright (C) 2003-2026 {author}
|
Copyright (C) 2003-2025 {author}
|
||||||
// REUSE-IgnoreEnd
|
// REUSE-IgnoreEnd
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2005-2011 Jiri Golembiovsky <golemj@gmail.com>
|
// SPDX-FileCopyrightText: 2005-2011 Jiri Golembiovsky <golemj@gmail.com>
|
||||||
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2005-2011 Jiri Golembiovsky <golemj@gmail.com>
|
// SPDX-FileCopyrightText: 2005-2011 Jiri Golembiovsky <golemj@gmail.com>
|
||||||
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
// SPDX-FileCopyrightText: 2015-2017 Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009-2025 Nils Görs <weechatter@arcor.de>
|
// SPDX-FileCopyrightText: 2009-2025 Nils Görs <weechatter@arcor.de>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009-2025 Nils Görs <weechatter@arcor.de>
|
// SPDX-FileCopyrightText: 2009-2025 Nils Görs <weechatter@arcor.de>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -105,7 +105,7 @@ WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine v
|
|||||||
findet man in der AUTHORS.md Datei).
|
findet man in der AUTHORS.md Datei).
|
||||||
|
|
||||||
// REUSE-IgnoreStart
|
// REUSE-IgnoreStart
|
||||||
Copyright (C) 2003-2026 {author}
|
Copyright (C) 2003-2025 {author}
|
||||||
// REUSE-IgnoreEnd
|
// REUSE-IgnoreEnd
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2010-2025 Nils Görs <weechatter@arcor.de>
|
// SPDX-FileCopyrightText: 2010-2025 Nils Görs <weechatter@arcor.de>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2010-2025 Nils Görs <weechatter@arcor.de>
|
// SPDX-FileCopyrightText: 2010-2025 Nils Görs <weechatter@arcor.de>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009 Juergen Descher <jhdl@gmx.net>
|
// SPDX-FileCopyrightText: 2009 Juergen Descher <jhdl@gmx.net>
|
||||||
// SPDX-FileCopyrightText: 2009-2025 Nils Görs <weechatter@arcor.de>
|
// SPDX-FileCopyrightText: 2009-2025 Nils Görs <weechatter@arcor.de>
|
||||||
//
|
//
|
||||||
@@ -458,7 +458,7 @@ für weitere Informationen die das Farbmanagement betreffen.
|
|||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
|
=== Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
|
||||||
|
|
||||||
Die Standardtastenbelegung lautet kbd:[Ctrl+s]
|
Die Standardtastenbelegung lautet kbd:[Ctrl+r]
|
||||||
(der dazugehörige Befehl: `+/input search_text_here+`).
|
(der dazugehörige Befehl: `+/input search_text_here+`).
|
||||||
Um zu Highlight-Nachrichten zu springen:
|
Um zu Highlight-Nachrichten zu springen:
|
||||||
kbd:[Alt+p] für vorherige, kbd:[Alt+n] für die nächste Nachricht.
|
kbd:[Alt+p] für vorherige, kbd:[Alt+n] für die nächste Nachricht.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2006 Frank Zacharias <frank_zacharias@web.de>
|
// SPDX-FileCopyrightText: 2006 Frank Zacharias <frank_zacharias@web.de>
|
||||||
// SPDX-FileCopyrightText: 2009 Juergen Descher <jhdl@gmx.net>
|
// SPDX-FileCopyrightText: 2009 Juergen Descher <jhdl@gmx.net>
|
||||||
// SPDX-FileCopyrightText: 2009-2025 Nils Görs <weechatter@arcor.de>
|
// SPDX-FileCopyrightText: 2009-2025 Nils Görs <weechatter@arcor.de>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2010-2025 Nils Görs <weechatter@arcor.de>
|
// SPDX-FileCopyrightText: 2010-2025 Nils Görs <weechatter@arcor.de>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2010-2025 Nils Görs <weechatter@arcor.de>
|
// SPDX-FileCopyrightText: 2010-2025 Nils Görs <weechatter@arcor.de>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -212,7 +212,7 @@ WeeChat optional sind:
|
|||||||
| asciidoctor | ≥ 1.5.4
|
| asciidoctor | ≥ 1.5.4
|
||||||
| zum Erstellen der man page und der Dokumentation.
|
| zum Erstellen der man page und der Dokumentation.
|
||||||
|
|
||||||
| python3-pygments, ruby-pygments.rb |
|
| ruby-pygments.rb |
|
||||||
| Build Dokumentation.
|
| Build Dokumentation.
|
||||||
|
|
||||||
| libcpputest-dev | ≥ 3.4
|
| libcpputest-dev | ≥ 3.4
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
SPDX-FileCopyrightText: 2016-2026 Sébastien Helleu <flashcode@flashtux.org>
|
SPDX-FileCopyrightText: 2016-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
-->
|
-->
|
||||||
@@ -26,6 +26,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
--header-details-color: #aaa;
|
--header-details-color: #aaa;
|
||||||
--border: 1px solid #444;
|
--border: 1px solid #444;
|
||||||
--code-bg-color: #252525;
|
--code-bg-color: #252525;
|
||||||
|
--pre-color: #ddd;
|
||||||
|
--pre-bg-color: #202020;
|
||||||
|
--pre-code-bg-color: #202020;
|
||||||
--keyseq-color: #777;
|
--keyseq-color: #777;
|
||||||
--kbd-bg-color: #252525;
|
--kbd-bg-color: #252525;
|
||||||
--kbd-border: 1px solid #333;
|
--kbd-border: 1px solid #333;
|
||||||
@@ -36,11 +39,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
--icon-caution-color: #bf3400;
|
--icon-caution-color: #bf3400;
|
||||||
--icon-important-color: #f44336;
|
--icon-important-color: #f44336;
|
||||||
--mark-bg-color: #007;
|
--mark-bg-color: #007;
|
||||||
--pre-bevel-light: #3e3e3e;
|
|
||||||
--pre-bevel-dark: #2a2a2a;
|
|
||||||
--pre-bevel-bg: #1f1f1f;
|
|
||||||
}
|
}
|
||||||
@PYGMENTS_DARK_CSS@
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (not (prefers-color-scheme: dark)), (prefers-color-scheme: light) {
|
@media (not (prefers-color-scheme: dark)), (prefers-color-scheme: light) {
|
||||||
@@ -60,6 +59,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
--border: 1px solid #dddddf;
|
--border: 1px solid #dddddf;
|
||||||
--code-bg-color: #f7f7f8;
|
--code-bg-color: #f7f7f8;
|
||||||
--keyseq-color: #333c;
|
--keyseq-color: #333c;
|
||||||
|
--pre-color: #353535;
|
||||||
|
--pre-bg-color: #f7f7f8;
|
||||||
|
--pre-code-bg-color: #202020;
|
||||||
--kbd-bg-color: #f7f7f7;
|
--kbd-bg-color: #f7f7f7;
|
||||||
--kbd-border: 1px solid #ccc;
|
--kbd-border: 1px solid #ccc;
|
||||||
--kbd-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), inset 0 0 0 .1em #fff;
|
--kbd-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), inset 0 0 0 .1em #fff;
|
||||||
@@ -69,9 +71,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
--icon-caution-color: #ff0000;
|
--icon-caution-color: #ff0000;
|
||||||
--icon-important-color: #bf0000;
|
--icon-important-color: #bf0000;
|
||||||
--mark-bg-color: #9df;
|
--mark-bg-color: #9df;
|
||||||
--pre-bevel-light: #e5e5e7;
|
|
||||||
--pre-bevel-dark: #b4b4b8;
|
|
||||||
--pre-bevel-bg: #f6f6f7;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -146,10 +145,6 @@ code, .prettyprint {
|
|||||||
|
|
||||||
pre {
|
pre {
|
||||||
color: var(--pre-color) !important;
|
color: var(--pre-color) !important;
|
||||||
border: 1px solid;
|
|
||||||
border-color: var(--pre-bevel-light) var(--pre-bevel-dark) var(--pre-bevel-dark) var(--pre-bevel-light);
|
|
||||||
border-radius: 3px;
|
|
||||||
line-height: 1.25;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pre > code {
|
pre > code {
|
||||||
@@ -167,8 +162,8 @@ kbd {
|
|||||||
color: var(--body-color);
|
color: var(--body-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.literalblock pre, .listingblock > .content > pre:not(.highlight), .listingblock > .content > pre[class="highlight"], .listingblock > .content > pre[class^="highlight "], pre.pygments {
|
.literalblock pre, .listingblock > .content > pre:not(.highlight), .listingblock > .content > pre[class="highlight"], .listingblock > .content > pre[class^="highlight "] {
|
||||||
background-color: var(--pre-bg-color, var(--pre-bevel-bg));
|
background-color: var(--pre-bg-color);
|
||||||
color: var(--body-color);
|
color: var(--body-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -205,6 +200,24 @@ mark {
|
|||||||
color: var(--body-color);
|
color: var(--body-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* syntax highlighting tuning */
|
||||||
|
|
||||||
|
pre.pygments {
|
||||||
|
color: #ddd !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.pygments .tok-cp {
|
||||||
|
color: #44cfaf;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.pygments .tok-nc, pre.pygments .tok-nf {
|
||||||
|
color: #649fef;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.pygments .tok-gu, pre.pygments .tok-nc, pre.pygments .tok-nn {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* asciidoctor styles tuning */
|
/* asciidoctor styles tuning */
|
||||||
|
|
||||||
#header, #content, #footnotes, #footer {
|
#header, #content, #footnotes, #footer {
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -105,7 +105,7 @@ WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
|||||||
the AUTHORS.md file).
|
the AUTHORS.md file).
|
||||||
|
|
||||||
// REUSE-IgnoreStart
|
// REUSE-IgnoreStart
|
||||||
Copyright (C) 2003-2026 {author}
|
Copyright (C) 2003-2025 {author}
|
||||||
// REUSE-IgnoreEnd
|
// REUSE-IgnoreEnd
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -128,7 +128,6 @@ WeeChat "core" is located in following directories:
|
|||||||
|===
|
|===
|
||||||
| Path/file | Description
|
| Path/file | Description
|
||||||
| core/ | Core functions: entry point, internal structures.
|
| core/ | Core functions: entry point, internal structures.
|
||||||
| core-args.c | Command-line arguments.
|
|
||||||
| core-arraylist.c | Array lists.
|
| core-arraylist.c | Array lists.
|
||||||
| core-backtrace.c | Display a backtrace after a crash.
|
| core-backtrace.c | Display a backtrace after a crash.
|
||||||
| core-calc.c | Calculate result of expressions.
|
| core-calc.c | Calculate result of expressions.
|
||||||
@@ -616,7 +615,7 @@ Example in C:
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2026 Your Name <your@email.com>
|
* SPDX-FileCopyrightText: 2025 Your Name <your@email.com>
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*
|
*
|
||||||
@@ -656,9 +655,9 @@ Example:
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Check if a string with boolean value is valid.
|
* Checks if a string with boolean value is valid.
|
||||||
*
|
*
|
||||||
* Return:
|
* Returns:
|
||||||
* 1: boolean value is valid
|
* 1: boolean value is valid
|
||||||
* 0: boolean value is NOT valid
|
* 0: boolean value is NOT valid
|
||||||
*/
|
*/
|
||||||
@@ -933,9 +932,9 @@ Example: creation of a new window (from _src/gui/gui-window.c_):
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Create a new window.
|
* Creates a new window.
|
||||||
*
|
*
|
||||||
* Return pointer to new window, NULL if error.
|
* Returns pointer to new window, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_gui_window *
|
struct t_gui_window *
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -441,7 +441,7 @@ for more information about colors management.
|
|||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== How can I search text in buffer (like /lastlog in irssi)?
|
=== How can I search text in buffer (like /lastlog in irssi)?
|
||||||
|
|
||||||
The default key is kbd:[Ctrl+s] (command is: `+/input search_text_here+`).
|
The default key is kbd:[Ctrl+r] (command is: `+/input search_text_here+`).
|
||||||
And jump to highlights: kbd:[Alt+p] / kbd:[Alt+n].
|
And jump to highlights: kbd:[Alt+p] / kbd:[Alt+n].
|
||||||
|
|
||||||
See link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^^]
|
See link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^^]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -4348,7 +4348,7 @@ Prototype:
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir_home (const char *directory, int mode);
|
int weechat_mkdir_home (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
@@ -4395,7 +4395,7 @@ Prototype:
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir (const char *directory, int mode);
|
int weechat_mkdir (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
@@ -4436,7 +4436,7 @@ Prototype:
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir_parents (const char *directory, int mode);
|
int weechat_mkdir_parents (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
@@ -7709,7 +7709,7 @@ void weechat_config_search_with_string (const char *option_name,
|
|||||||
struct t_config_file **config_file,
|
struct t_config_file **config_file,
|
||||||
struct t_config_section **section,
|
struct t_config_section **section,
|
||||||
struct t_config_option **option,
|
struct t_config_option **option,
|
||||||
const char **pos_option_name);
|
char **pos_option_name);
|
||||||
----
|
----
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
@@ -7731,7 +7731,7 @@ C example:
|
|||||||
struct t_config_file *ptr_config_file;
|
struct t_config_file *ptr_config_file;
|
||||||
struct t_config_section *ptr_section;
|
struct t_config_section *ptr_section;
|
||||||
struct t_config_option *ptr_option;
|
struct t_config_option *ptr_option;
|
||||||
const char *option_name;
|
char *option_name;
|
||||||
|
|
||||||
weechat_config_search_with_string ("file.section.option",
|
weechat_config_search_with_string ("file.section.option",
|
||||||
&ptr_config_file,
|
&ptr_config_file,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -541,8 +541,7 @@ HTTP/1.1 200 OK
|
|||||||
"plugin": "core",
|
"plugin": "core",
|
||||||
"name": "weechat"
|
"name": "weechat"
|
||||||
},
|
},
|
||||||
"keys": [],
|
"keys": []
|
||||||
"last_read_line_id": -1
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 1709932823423765,
|
"id": 1709932823423765,
|
||||||
@@ -572,8 +571,7 @@ HTTP/1.1 200 OK
|
|||||||
"tls_version": "TLS1.3",
|
"tls_version": "TLS1.3",
|
||||||
"host": "~alice@example.com"
|
"host": "~alice@example.com"
|
||||||
},
|
},
|
||||||
"keys": [],
|
"keys": []
|
||||||
"last_read_line_id": -1
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 1709932823649069,
|
"id": 1709932823649069,
|
||||||
@@ -601,8 +599,7 @@ HTTP/1.1 200 OK
|
|||||||
"nick": "alice",
|
"nick": "alice",
|
||||||
"host": "~alice@example.com"
|
"host": "~alice@example.com"
|
||||||
},
|
},
|
||||||
"keys": [],
|
"keys": []
|
||||||
"last_read_line_id": -1
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
----
|
----
|
||||||
@@ -658,8 +655,7 @@ HTTP/1.1 200 OK
|
|||||||
"message": "Plugins loaded: alias, buflist, charset, exec, fifo, fset, guile, irc, javascript, logger, lua, perl, php, python, relay, ruby, script, spell, tcl, trigger, typing, xfer",
|
"message": "Plugins loaded: alias, buflist, charset, exec, fifo, fset, guile, irc, javascript, logger, lua, perl, php, python, relay, ruby, script, spell, tcl, trigger, typing, xfer",
|
||||||
"tags": []
|
"tags": []
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"last_read_line_id": -1
|
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -706,7 +702,6 @@ HTTP/1.1 200 OK
|
|||||||
"host": "~alice@example.com"
|
"host": "~alice@example.com"
|
||||||
},
|
},
|
||||||
"keys": [],
|
"keys": [],
|
||||||
"last_read_line_id": -1,
|
|
||||||
"nicklist_root": {
|
"nicklist_root": {
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"parent_group_id": -1,
|
"parent_group_id": -1,
|
||||||
@@ -905,8 +900,7 @@ HTTP/1.1 200 OK
|
|||||||
"key": "up",
|
"key": "up",
|
||||||
"command": "/fset -up"
|
"command": "/fset -up"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"last_read_line_id": -1
|
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1179,51 +1173,6 @@ HTTP/1.1 200 OK
|
|||||||
]
|
]
|
||||||
----
|
----
|
||||||
|
|
||||||
[[resource_scripts]]
|
|
||||||
=== Scripts
|
|
||||||
|
|
||||||
Return loaded scripts (all languages).
|
|
||||||
|
|
||||||
Endpoint:
|
|
||||||
|
|
||||||
----
|
|
||||||
GET /api/scripts
|
|
||||||
----
|
|
||||||
|
|
||||||
Request example:
|
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
|
||||||
curl -L -u 'plain:secret_password' 'https://localhost:9000/api/scripts'
|
|
||||||
----
|
|
||||||
|
|
||||||
Response:
|
|
||||||
|
|
||||||
[source,http]
|
|
||||||
----
|
|
||||||
HTTP/1.1 200 OK
|
|
||||||
----
|
|
||||||
|
|
||||||
[source,json]
|
|
||||||
----
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"name": "highmon.pl",
|
|
||||||
"version": "2.7",
|
|
||||||
"description": "Highlight Monitor",
|
|
||||||
"author": "KenjiE20",
|
|
||||||
"license": "GPL3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "go.py",
|
|
||||||
"version": "3.1.1",
|
|
||||||
"description": "Quick jump to buffers",
|
|
||||||
"author": "Sébastien Helleu <flashcode@flashtux.org>",
|
|
||||||
"license": "GPL3"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
----
|
|
||||||
|
|
||||||
[[resource_input]]
|
[[resource_input]]
|
||||||
=== Input
|
=== Input
|
||||||
|
|
||||||
@@ -1555,7 +1504,6 @@ Body types that can be returned:
|
|||||||
* `nick_group` (object)
|
* `nick_group` (object)
|
||||||
* `nick` (object)
|
* `nick` (object)
|
||||||
* `hotlist` (object)
|
* `hotlist` (object)
|
||||||
* `scripts` (array)
|
|
||||||
* `ping` (object)
|
* `ping` (object)
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -210,7 +210,7 @@ WeeChat:
|
|||||||
| asciidoctor | ≥ 1.5.4
|
| asciidoctor | ≥ 1.5.4
|
||||||
| Build man page and documentation.
|
| Build man page and documentation.
|
||||||
|
|
||||||
| python3-pygments, ruby-pygments.rb |
|
| ruby-pygments.rb |
|
||||||
| Build documentation.
|
| Build documentation.
|
||||||
|
|
||||||
| libcpputest-dev | ≥ 3.4
|
| libcpputest-dev | ≥ 3.4
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2021 Victorhck <victorhck.mailbox.org>
|
// SPDX-FileCopyrightText: 2021 Victorhck <victorhck.mailbox.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -454,7 +454,7 @@ información sobre la gestión de los colores.
|
|||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== ¿Cómo busco texto en un buffer (como /lastlog en irssi)?
|
=== ¿Cómo busco texto en un buffer (como /lastlog en irssi)?
|
||||||
|
|
||||||
La tecla predeterminada es kbd:[Ctrl+s] (el comando es: `+/input texto_a_buscar_aquí+`).
|
La tecla predeterminada es kbd:[Ctrl+r] (el comando es: `+/input texto_a_buscar_aquí+`).
|
||||||
Y para saltar a los textos resaltados: kbd:[Alt+p] / kbd:[Alt+n].
|
Y para saltar a los textos resaltados: kbd:[Alt+p] / kbd:[Alt+n].
|
||||||
|
|
||||||
Vea la link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^^]
|
Vea la link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^^]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2012 Lázaro A. <uranio-235@myopera.com>
|
// SPDX-FileCopyrightText: 2012 Lázaro A. <uranio-235@myopera.com>
|
||||||
// SPDX-FileCopyrightText: 2021 Victorhck <victorhck@mailbox.org>
|
// SPDX-FileCopyrightText: 2021 Victorhck <victorhck@mailbox.org>
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ https://weechat.org/doc/[guide utilisateur de WeeChat].
|
|||||||
|
|
||||||
Avec l'extension irc, vous pouvez vous connecter à un serveur avec une URL, comme ceci :
|
Avec l'extension irc, vous pouvez vous connecter à un serveur avec une URL, comme ceci :
|
||||||
|
|
||||||
irc[6][s]://[[pseudo][:mot_de_passe]@]serveur[:port][/#canal1[,#canal2...]]
|
irc[6][s]://[[pseudo][:motdepasse]@]serveur[:port][/#canal1[,#canal2...]]
|
||||||
|
|
||||||
Pour rejoindre le canal IRC de support WeeChat avec le pseudo "monpseudo" :
|
Pour rejoindre le canal IRC de support WeeChat avec le pseudo "monpseudo" :
|
||||||
|
|
||||||
@@ -106,7 +106,7 @@ WeeChat est écrit par Sébastien Helleu et des contributeurs (la liste complèt
|
|||||||
est dans le fichier AUTHORS.md).
|
est dans le fichier AUTHORS.md).
|
||||||
|
|
||||||
// REUSE-IgnoreStart
|
// REUSE-IgnoreStart
|
||||||
Copyright (C) 2003-2026 {author}
|
Copyright (C) 2003-2025 {author}
|
||||||
// REUSE-IgnoreEnd
|
// REUSE-IgnoreEnd
|
||||||
|
|
||||||
WeeChat est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier
|
WeeChat est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -129,7 +129,6 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
|===
|
|===
|
||||||
| Chemin/fichier | Description
|
| Chemin/fichier | Description
|
||||||
| core/ | Fonctions du cœur : point d'entrée, structures internes.
|
| core/ | Fonctions du cœur : point d'entrée, structures internes.
|
||||||
| core-args.c | Paramètres de ligne de commande.
|
|
||||||
| core-arraylist.c | Listes avec tableau (« arraylists »).
|
| core-arraylist.c | Listes avec tableau (« arraylists »).
|
||||||
| core-backtrace.c | Afficher une trace après un plantage.
|
| core-backtrace.c | Afficher une trace après un plantage.
|
||||||
| core-calc.c | Calcul du résultat d'expressions.
|
| core-calc.c | Calcul du résultat d'expressions.
|
||||||
@@ -617,7 +616,7 @@ Exemple en C :
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2026 Your Name <your@email.com>
|
* SPDX-FileCopyrightText: 2025 Your Name <your@email.com>
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*
|
*
|
||||||
@@ -660,9 +659,9 @@ Exemple :
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Check if a string with boolean value is valid.
|
* Checks if a string with boolean value is valid.
|
||||||
*
|
*
|
||||||
* Return:
|
* Returns:
|
||||||
* 1: boolean value is valid
|
* 1: boolean value is valid
|
||||||
* 0: boolean value is NOT valid
|
* 0: boolean value is NOT valid
|
||||||
*/
|
*/
|
||||||
@@ -943,9 +942,9 @@ Exemple : création d'une nouvelle fenêtre (de _src/gui/gui-window.c_) :
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Create a new window.
|
* Creates a new window.
|
||||||
*
|
*
|
||||||
* Return pointer to new window, NULL if error.
|
* Returns pointer to new window, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_gui_window *
|
struct t_gui_window *
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -457,7 +457,7 @@ pour plus d'information sur la gestion des couleurs.
|
|||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== Comment puis-je chercher du texte dans le tampon (comme /lastlog dans irssi) ?
|
=== Comment puis-je chercher du texte dans le tampon (comme /lastlog dans irssi) ?
|
||||||
|
|
||||||
La touche par défaut est kbd:[Ctrl+s] (la commande est : `+/input search_text_here+`).
|
La touche par défaut est kbd:[Ctrl+r] (la commande est : `+/input search_text_here+`).
|
||||||
Et sauter aux highlights : kbd:[Alt+p] / kbd:[Alt+n].
|
Et sauter aux highlights : kbd:[Alt+p] / kbd:[Alt+n].
|
||||||
|
|
||||||
Voir le link:weechat_user.fr.html#key_bindings[Guide utilisateur / Raccourcis clavier par défaut ^↗^^]
|
Voir le link:weechat_user.fr.html#key_bindings[Guide utilisateur / Raccourcis clavier par défaut ^↗^^]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -4424,7 +4424,7 @@ Prototype :
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir_home (const char *directory, int mode);
|
int weechat_mkdir_home (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
Paramètres :
|
Paramètres :
|
||||||
@@ -4471,7 +4471,7 @@ Prototype :
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir (const char *directory, int mode);
|
int weechat_mkdir (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
Paramètres :
|
Paramètres :
|
||||||
@@ -4512,7 +4512,7 @@ Prototype :
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir_parents (const char *directory, int mode);
|
int weechat_mkdir_parents (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
Paramètres :
|
Paramètres :
|
||||||
@@ -7838,7 +7838,7 @@ void weechat_config_search_with_string (const char *option_name,
|
|||||||
struct t_config_file **config_file,
|
struct t_config_file **config_file,
|
||||||
struct t_config_section **section,
|
struct t_config_section **section,
|
||||||
struct t_config_option **option,
|
struct t_config_option **option,
|
||||||
const char **pos_option_name);
|
char **pos_option_name);
|
||||||
----
|
----
|
||||||
|
|
||||||
Paramètres :
|
Paramètres :
|
||||||
@@ -7861,7 +7861,7 @@ Exemple en C :
|
|||||||
struct t_config_file *ptr_config_file;
|
struct t_config_file *ptr_config_file;
|
||||||
struct t_config_section *ptr_section;
|
struct t_config_section *ptr_section;
|
||||||
struct t_config_option *ptr_option;
|
struct t_config_option *ptr_option;
|
||||||
const char *option_name;
|
char *option_name;
|
||||||
|
|
||||||
weechat_config_search_with_string ("fichier.section.option",
|
weechat_config_search_with_string ("fichier.section.option",
|
||||||
&ptr_config_file,
|
&ptr_config_file,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -551,8 +551,7 @@ HTTP/1.1 200 OK
|
|||||||
"plugin": "core",
|
"plugin": "core",
|
||||||
"name": "weechat"
|
"name": "weechat"
|
||||||
},
|
},
|
||||||
"keys": [],
|
"keys": []
|
||||||
"last_read_line_id": -1
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 1709932823423765,
|
"id": 1709932823423765,
|
||||||
@@ -581,8 +580,7 @@ HTTP/1.1 200 OK
|
|||||||
"tls_version": "TLS1.3",
|
"tls_version": "TLS1.3",
|
||||||
"host": "~alice@example.com"
|
"host": "~alice@example.com"
|
||||||
},
|
},
|
||||||
"keys": [],
|
"keys": []
|
||||||
"last_read_line_id": -1
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 1709932823649069,
|
"id": 1709932823649069,
|
||||||
@@ -609,8 +607,7 @@ HTTP/1.1 200 OK
|
|||||||
"nick": "alice",
|
"nick": "alice",
|
||||||
"host": "~alice@example.com"
|
"host": "~alice@example.com"
|
||||||
},
|
},
|
||||||
"keys": [],
|
"keys": []
|
||||||
"last_read_line_id": -1
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
----
|
----
|
||||||
@@ -666,8 +663,7 @@ HTTP/1.1 200 OK
|
|||||||
"message": "Plugins loaded: alias, buflist, charset, exec, fifo, fset, guile, irc, javascript, logger, lua, perl, php, python, relay, ruby, script, spell, tcl, trigger, typing, xfer",
|
"message": "Plugins loaded: alias, buflist, charset, exec, fifo, fset, guile, irc, javascript, logger, lua, perl, php, python, relay, ruby, script, spell, tcl, trigger, typing, xfer",
|
||||||
"tags": []
|
"tags": []
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"last_read_line_id": -1
|
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -713,7 +709,6 @@ HTTP/1.1 200 OK
|
|||||||
"host": "~alice@example.com"
|
"host": "~alice@example.com"
|
||||||
},
|
},
|
||||||
"keys": [],
|
"keys": [],
|
||||||
"last_read_line_id": -1,
|
|
||||||
"nicklist_root": {
|
"nicklist_root": {
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"parent_group_id": -1,
|
"parent_group_id": -1,
|
||||||
@@ -911,8 +906,7 @@ HTTP/1.1 200 OK
|
|||||||
"key": "up",
|
"key": "up",
|
||||||
"command": "/fset -up"
|
"command": "/fset -up"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"last_read_line_id": -1
|
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1191,51 +1185,6 @@ HTTP/1.1 200 OK
|
|||||||
]
|
]
|
||||||
----
|
----
|
||||||
|
|
||||||
[[resource_scripts]]
|
|
||||||
=== Scripts
|
|
||||||
|
|
||||||
Retourner la liste des scripts chargés (tous les langages).
|
|
||||||
|
|
||||||
Point de terminaison :
|
|
||||||
|
|
||||||
----
|
|
||||||
GET /api/scripts
|
|
||||||
----
|
|
||||||
|
|
||||||
Exemple de requête :
|
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
|
||||||
curl -L -u 'plain:secret_password' 'https://localhost:9000/api/scripts'
|
|
||||||
----
|
|
||||||
|
|
||||||
Réponse :
|
|
||||||
|
|
||||||
[source,http]
|
|
||||||
----
|
|
||||||
HTTP/1.1 200 OK
|
|
||||||
----
|
|
||||||
|
|
||||||
[source,json]
|
|
||||||
----
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"name": "highmon.pl",
|
|
||||||
"version": "2.7",
|
|
||||||
"description": "Highlight Monitor",
|
|
||||||
"author": "KenjiE20",
|
|
||||||
"license": "GPL3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "go.py",
|
|
||||||
"version": "3.1.1",
|
|
||||||
"description": "Quick jump to buffers",
|
|
||||||
"author": "Sébastien Helleu <flashcode@flashtux.org>",
|
|
||||||
"license": "GPL3"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
----
|
|
||||||
|
|
||||||
[[resource_input]]
|
[[resource_input]]
|
||||||
=== Entrée
|
=== Entrée
|
||||||
|
|
||||||
@@ -1575,7 +1524,6 @@ Les types de corps qui peuvent être retournés :
|
|||||||
* `nick_group` (objet)
|
* `nick_group` (objet)
|
||||||
* `nick` (objet)
|
* `nick` (objet)
|
||||||
* `hotlist` (objet)
|
* `hotlist` (objet)
|
||||||
* `scripts` (tableau)
|
|
||||||
* `ping` (objet)
|
* `ping` (objet)
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|||||||
+10
-10
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ Le tableau suivant liste les paquets optionnels pour compiler WeeChat :
|
|||||||
| asciidoctor | ≥ 1.5.4
|
| asciidoctor | ≥ 1.5.4
|
||||||
| Construction de la page man et de la documentation.
|
| Construction de la page man et de la documentation.
|
||||||
|
|
||||||
| python3-pygments, ruby-pygments.rb |
|
| ruby-pygments.rb |
|
||||||
| Construction de la documentation.
|
| Construction de la documentation.
|
||||||
|
|
||||||
| libcpputest-dev | ≥ 3.4
|
| libcpputest-dev | ≥ 3.4
|
||||||
@@ -3351,7 +3351,7 @@ Pour ajouter une donnée sécurisée, utilisez la commande `/secure set`, par
|
|||||||
exemple un mot de passe pour le serveur IRC _libera_ :
|
exemple un mot de passe pour le serveur IRC _libera_ :
|
||||||
|
|
||||||
----
|
----
|
||||||
/secure set libera mot_de_passe
|
/secure set libera motdepasse
|
||||||
----
|
----
|
||||||
|
|
||||||
Pour plus de confort, les données sécurisées peuvent être affichées dans un
|
Pour plus de confort, les données sécurisées peuvent être affichées dans un
|
||||||
@@ -4712,7 +4712,7 @@ Il est fortement recommandé de définir un mot de passe pour le relai, avec ces
|
|||||||
commandes :
|
commandes :
|
||||||
|
|
||||||
----
|
----
|
||||||
/secure set relay mot_de_passe
|
/secure set relay motdepasse
|
||||||
/set relay.network.password "${sec.data.relay}"
|
/set relay.network.password "${sec.data.relay}"
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -4793,7 +4793,7 @@ le nom interne du serveur dans la commande IRC "PASS", avec le format
|
|||||||
(voir l'exemple ci-dessous) :
|
(voir l'exemple ci-dessous) :
|
||||||
|
|
||||||
----
|
----
|
||||||
PASS serveur:mot_de_passe
|
PASS serveur:motdepasse
|
||||||
----
|
----
|
||||||
|
|
||||||
Exemple : proxy IRC avec TLS pour tout serveur (le client choisira) :
|
Exemple : proxy IRC avec TLS pour tout serveur (le client choisira) :
|
||||||
@@ -4809,7 +4809,7 @@ Exemple : proxy IRC sans TLS seulement pour le serveur "libera" :
|
|||||||
----
|
----
|
||||||
|
|
||||||
Maintenant vous pouvez vous connecter sur le port 8000 avec n'importe quel
|
Maintenant vous pouvez vous connecter sur le port 8000 avec n'importe quel
|
||||||
client IRC en utilisant le mot de passe "mot_de_passe" (ou "libera:mot_de_passe"
|
client IRC en utilisant le mot de passe "motdepasse" (ou "libera:motdepasse"
|
||||||
si aucun serveur n'a été spécifié dans le relai).
|
si aucun serveur n'a été spécifié dans le relai).
|
||||||
|
|
||||||
Par exemple si vous utilisez WeeChat comme client IRC du relai, avec un serveur
|
Par exemple si vous utilisez WeeChat comme client IRC du relai, avec un serveur
|
||||||
@@ -4822,7 +4822,7 @@ avec ces commandes :
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[relay_api_protocol]]
|
[[relay_api_protocol]]
|
||||||
=== Protocole API
|
=== API protocol
|
||||||
|
|
||||||
L'extension Relay peut envoyer les données à un autre WeeChat ou une interface
|
L'extension Relay peut envoyer les données à un autre WeeChat ou une interface
|
||||||
distante avec un protocol HTTP de type API REST.
|
distante avec un protocol HTTP de type API REST.
|
||||||
@@ -4840,12 +4840,12 @@ Par exemple :
|
|||||||
----
|
----
|
||||||
|
|
||||||
Maintenant vous pouvez vous connecter sur le port 9000 avec une interface
|
Maintenant vous pouvez vous connecter sur le port 9000 avec une interface
|
||||||
distante en utilisant le mot de passe "mot_de_passe".
|
distante en utilisant le mot de passe "motdepasse".
|
||||||
|
|
||||||
Pour vous connecter à un relai _api_ avec WeeChat :
|
Pour vous connecter à un relai _api_ avec WeeChat :
|
||||||
|
|
||||||
----
|
----
|
||||||
/remote add weechat http://localhost:9000 -password=mot_de_passe
|
/remote add weechat http://localhost:9000 -password=motdepasse
|
||||||
/remote connect weechat
|
/remote connect weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -4882,7 +4882,7 @@ Par exemple :
|
|||||||
----
|
----
|
||||||
|
|
||||||
Maintenant vous pouvez vous connecter sur le port 9500 avec une interface
|
Maintenant vous pouvez vous connecter sur le port 9500 avec une interface
|
||||||
distante en utilisant le mot de passe "mot_de_passe".
|
distante en utilisant le mot de passe "motdepasse".
|
||||||
|
|
||||||
[[relay_websocket]]
|
[[relay_websocket]]
|
||||||
=== WebSocket
|
=== WebSocket
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009-2012 Marco Paolone <marcopaolone@gmail.com>
|
// SPDX-FileCopyrightText: 2009-2012 Marco Paolone <marcopaolone@gmail.com>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
@@ -108,7 +108,7 @@ WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
|||||||
the AUTHORS.md file).
|
the AUTHORS.md file).
|
||||||
|
|
||||||
// REUSE-IgnoreStart
|
// REUSE-IgnoreStart
|
||||||
Copyright (C) 2003-2026 {author}
|
Copyright (C) 2003-2025 {author}
|
||||||
// REUSE-IgnoreEnd
|
// REUSE-IgnoreEnd
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009-2012 Marco Paolone <marcopaolone@gmail.com>
|
// SPDX-FileCopyrightText: 2009-2012 Marco Paolone <marcopaolone@gmail.com>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009-2012 Marco Paolone <marcopaolone@gmail.com>
|
// SPDX-FileCopyrightText: 2009-2012 Marco Paolone <marcopaolone@gmail.com>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009-2013 Marco Paolone <marcopaolone@gmail.com>
|
// SPDX-FileCopyrightText: 2009-2013 Marco Paolone <marcopaolone@gmail.com>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -490,7 +490,7 @@ for more information about colors management.
|
|||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== Come posso cercare testo nel buffer (come /lastlog con irssi)?
|
=== Come posso cercare testo nel buffer (come /lastlog con irssi)?
|
||||||
|
|
||||||
Il tasto predefinito è kbd:[Ctrl+s] (il comando è: `+/input search_text_here+`).
|
Il tasto predefinito è kbd:[Ctrl+r] (il comando è: `+/input search_text_here+`).
|
||||||
E per passare alle notifiche: kbd:[Alt+p] / kbd:[Alt+n].
|
E per passare alle notifiche: kbd:[Alt+p] / kbd:[Alt+n].
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2010-2012 Marco Paolone <marcopaolone@gmail.com>
|
// SPDX-FileCopyrightText: 2010-2012 Marco Paolone <marcopaolone@gmail.com>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -4549,7 +4549,7 @@ Prototipo:
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir_home (const char *directory, int mode);
|
int weechat_mkdir_home (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
Argomenti:
|
Argomenti:
|
||||||
@@ -4597,7 +4597,7 @@ Prototipo:
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir (const char *directory, int mode);
|
int weechat_mkdir (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
Argomenti:
|
Argomenti:
|
||||||
@@ -4638,7 +4638,7 @@ Prototipo:
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir_parents (const char *directory, int mode);
|
int weechat_mkdir_parents (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
Argomenti:
|
Argomenti:
|
||||||
@@ -8011,7 +8011,7 @@ void weechat_config_search_with_string (const char *option_name,
|
|||||||
struct t_config_file **config_file,
|
struct t_config_file **config_file,
|
||||||
struct t_config_section **section,
|
struct t_config_section **section,
|
||||||
struct t_config_option **option,
|
struct t_config_option **option,
|
||||||
const char **pos_option_name);
|
char **pos_option_name);
|
||||||
----
|
----
|
||||||
|
|
||||||
Argomenti:
|
Argomenti:
|
||||||
@@ -8034,7 +8034,7 @@ Esempio in C:
|
|||||||
struct t_config_file *ptr_config_file;
|
struct t_config_file *ptr_config_file;
|
||||||
struct t_config_section *ptr_section;
|
struct t_config_section *ptr_section;
|
||||||
struct t_config_option *ptr_option;
|
struct t_config_option *ptr_option;
|
||||||
const char *option_name;
|
char *option_name;
|
||||||
|
|
||||||
weechat_config_search_with_string ("file.section.option",
|
weechat_config_search_with_string ("file.section.option",
|
||||||
&ptr_config_file,
|
&ptr_config_file,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009-2013 Marco Paolone <marcopaolone@gmail.com>
|
// SPDX-FileCopyrightText: 2009-2013 Marco Paolone <marcopaolone@gmail.com>
|
||||||
// SPDX-FileCopyrightText: 2023 Mattia Ronchi <ronchimattia03@gmail.com>
|
// SPDX-FileCopyrightText: 2023 Mattia Ronchi <ronchimattia03@gmail.com>
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2010-2013 Marco Paolone <marcopaolone@gmail.com>
|
// SPDX-FileCopyrightText: 2010-2013 Marco Paolone <marcopaolone@gmail.com>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009-2012 Marco Paolone <marcopaolone@gmail.com>
|
// SPDX-FileCopyrightText: 2009-2012 Marco Paolone <marcopaolone@gmail.com>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -245,7 +245,7 @@ WeeChat:
|
|||||||
| Build man page and documentation.
|
| Build man page and documentation.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| python3-pygments, ruby-pygments.rb |
|
| ruby-pygments.rb |
|
||||||
| Build documentation.
|
| Build documentation.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -107,7 +107,7 @@ WeeChat は Sébastien Helleu さんと貢献者によって作成されてい
|
|||||||
(完全なリストは AUTHORS.md ファイルを参照してください)。
|
(完全なリストは AUTHORS.md ファイルを参照してください)。
|
||||||
|
|
||||||
// REUSE-IgnoreStart
|
// REUSE-IgnoreStart
|
||||||
著作権 (C) 2003-2026 {author}
|
著作権 (C) 2003-2025 {author}
|
||||||
// REUSE-IgnoreEnd
|
// REUSE-IgnoreEnd
|
||||||
|
|
||||||
WeeChat はフリーソフトウェアです。あなたはこれを、フリーソフトウェア財団によって発行された
|
WeeChat はフリーソフトウェアです。あなたはこれを、フリーソフトウェア財団によって発行された
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2014-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
// SPDX-FileCopyrightText: 2014-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -140,8 +140,6 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
|===
|
|===
|
||||||
| パス/ファイル名 | 説明
|
| パス/ファイル名 | 説明
|
||||||
| core/ | コア関数: エントリポイント、内部構造体
|
| core/ | コア関数: エントリポイント、内部構造体
|
||||||
// TRANSLATION MISSING
|
|
||||||
| core-args.c | Command-line arguments.
|
|
||||||
| core-arraylist.c | 配列リスト
|
| core-arraylist.c | 配列リスト
|
||||||
| core-backtrace.c | クラッシュした際にバックトレースを表示
|
| core-backtrace.c | クラッシュした際にバックトレースを表示
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -768,7 +766,7 @@ Example in C:
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2026 Your Name <your@email.com>
|
* SPDX-FileCopyrightText: 2025 Your Name <your@email.com>
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*
|
*
|
||||||
@@ -810,9 +808,9 @@ C 言語のコードを書く際には以下の基本的なルールを *必ず*
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Check if a string with boolean value is valid.
|
* Checks if a string with boolean value is valid.
|
||||||
*
|
*
|
||||||
* Return:
|
* Returns:
|
||||||
* 1: boolean value is valid
|
* 1: boolean value is valid
|
||||||
* 0: boolean value is NOT valid
|
* 0: boolean value is NOT valid
|
||||||
*/
|
*/
|
||||||
@@ -1085,9 +1083,9 @@ struct t_gui_window *gui_current_window = NULL; /* current window */
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Create a new window.
|
* Creates a new window.
|
||||||
*
|
*
|
||||||
* Return pointer to new window, NULL if error.
|
* Returns pointer to new window, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_gui_window *
|
struct t_gui_window *
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
// SPDX-FileCopyrightText: 2012-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -451,7 +451,7 @@ with command `/color`).
|
|||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== どうすればバッファ内の文字列を検索できますか (irssi の /lastlog の様に)。
|
=== どうすればバッファ内の文字列を検索できますか (irssi の /lastlog の様に)。
|
||||||
|
|
||||||
デフォルトのキーは kbd:[Ctrl+s] です (コマンドは: `+/input search_text_here+`)。
|
デフォルトのキーは kbd:[Ctrl+r] です (コマンドは: `+/input search_text_here+`)。
|
||||||
ハイライト部分へのジャンプは: kbd:[Alt+p] / kbd:[Alt+n]
|
ハイライト部分へのジャンプは: kbd:[Alt+p] / kbd:[Alt+n]
|
||||||
|
|
||||||
この機能に関するより詳しい情報はlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て ^↗^^]を参照してください
|
この機能に関するより詳しい情報はlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て ^↗^^]を参照してください
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2014-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
// SPDX-FileCopyrightText: 2014-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
@@ -4477,7 +4477,7 @@ WeeChat ホームディレクトリの下にディレクトリを作成。
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir_home (const char *directory, int mode);
|
int weechat_mkdir_home (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
引数:
|
引数:
|
||||||
@@ -4525,7 +4525,7 @@ weechat.mkdir_home("${weechat_cache_dir}/temp", 0755)
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir (const char *directory, int mode);
|
int weechat_mkdir (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
引数:
|
引数:
|
||||||
@@ -4566,7 +4566,7 @@ weechat.mkdir("/tmp/mydir", 0755)
|
|||||||
|
|
||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
int weechat_mkdir_parents (const char *directory, int mode);
|
int weechat_mkdir_parents (char *directory, int mode);
|
||||||
----
|
----
|
||||||
|
|
||||||
引数:
|
引数:
|
||||||
@@ -7816,7 +7816,7 @@ void weechat_config_search_with_string (const char *option_name,
|
|||||||
struct t_config_file **config_file,
|
struct t_config_file **config_file,
|
||||||
struct t_config_section **section,
|
struct t_config_section **section,
|
||||||
struct t_config_option **option,
|
struct t_config_option **option,
|
||||||
const char **pos_option_name);
|
char **pos_option_name);
|
||||||
----
|
----
|
||||||
|
|
||||||
引数:
|
引数:
|
||||||
@@ -7838,7 +7838,7 @@ C 言語での使用例:
|
|||||||
struct t_config_file *ptr_config_file;
|
struct t_config_file *ptr_config_file;
|
||||||
struct t_config_section *ptr_section;
|
struct t_config_section *ptr_section;
|
||||||
struct t_config_option *ptr_option;
|
struct t_config_option *ptr_option;
|
||||||
const char *option_name;
|
char *option_name;
|
||||||
|
|
||||||
weechat_config_search_with_string ("file.section.option",
|
weechat_config_search_with_string ("file.section.option",
|
||||||
&ptr_config_file,
|
&ptr_config_file,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
// SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
// SPDX-FileCopyrightText: 2009-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
// SPDX-FileCopyrightText: 2009-2019 Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user