mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
Compare commits
157 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0cd736af22 | |||
| 703120bbfb | |||
| 12c4170fbf | |||
| e9138c5d55 | |||
| eb8c8641ea | |||
| bd6455d07f | |||
| 8d3180fa78 | |||
| 519ab4e7bb | |||
| 3c36fd7412 | |||
| b62c97dbe3 | |||
| f91f92b48f | |||
| 30529057c8 | |||
| a69f356182 | |||
| 1438255a87 | |||
| d15ce789a0 | |||
| 377b6da43d | |||
| 8b1b06a407 | |||
| c09c1bf2fc | |||
| c83afb9a06 | |||
| ed9535a43f | |||
| 2148829ebe | |||
| 1ca2a00255 | |||
| c737373d17 | |||
| 30230498b2 | |||
| 35699ea802 | |||
| 5e4c165dad | |||
| 23fb6bfe88 | |||
| ec03437f9e | |||
| 564ad2d5cd | |||
| f935aa3f9f | |||
| 76a7d5d3bd | |||
| f0f77e1bd9 | |||
| 8c0a3b4d81 | |||
| a4a06f255a | |||
| 5969f9faf6 | |||
| b70b484f5f | |||
| b250d71608 | |||
| 94457f8313 | |||
| 0cd0e7be6a | |||
| 2ececc1184 | |||
| b8bef1c3e1 | |||
| d9e56c3df8 | |||
| dc28050b8b | |||
| f53e7fb9ef | |||
| d34eb40187 | |||
| 2cbbb677f3 | |||
| f7267bc992 | |||
| 147d5b3f88 | |||
| da4881959e | |||
| 5e963c7546 | |||
| 41d8e06394 | |||
| 52d1245bad | |||
| 961dc515a0 | |||
| 73ec7c0641 | |||
| c60a5fde14 | |||
| 0bbae498c9 | |||
| 4c79e870af | |||
| dc4df8b9aa | |||
| 6bc11571b5 | |||
| d1b71a8562 | |||
| 19a6591410 | |||
| 25e0809c55 | |||
| e8d0399623 | |||
| c41d73e417 | |||
| 1532efea6d | |||
| 9bf2d51493 | |||
| 27ae6ca789 | |||
| 916c59d8f0 | |||
| 37bdf6586b | |||
| 13e9381e19 | |||
| b94e4af67e | |||
| 431d9ad64a | |||
| f5bbe35cfb | |||
| b82ce33c6c | |||
| 87a683ebdb | |||
| f048ea9eac | |||
| fc0fb05ec0 | |||
| 835e0b9549 | |||
| 507f172dae | |||
| fc595afd08 | |||
| 2f5305dc82 | |||
| 9f2b9c4ea9 | |||
| aea8421e49 | |||
| 81834c45ae | |||
| 01d2887b13 | |||
| 8b30d9a7d7 | |||
| 92327871d2 | |||
| b2556f99f4 | |||
| ec6372f4df | |||
| abb74ac178 | |||
| 71329fd595 | |||
| 106fe6ca7c | |||
| 630f2e2e7c | |||
| eb0b01f62a | |||
| fb00b7055c | |||
| 58b1f5c62b | |||
| d663070b02 | |||
| 8ff7d63744 | |||
| 5eb3bca47b | |||
| d0478bdc04 | |||
| d7fc65e282 | |||
| 0d737349be | |||
| dc94251b33 | |||
| 306155aa48 | |||
| 238f8cbc7e | |||
| fa043644cb | |||
| e06b3c1d7e | |||
| 5b052532ec | |||
| 18bce9e8c4 | |||
| 886042a875 | |||
| fca4ee28e0 | |||
| 7c37eced93 | |||
| a413d16038 | |||
| 440907e1cd | |||
| cb08473bdc | |||
| 71ef7e286c | |||
| 2a234b3bfe | |||
| 6442b938eb | |||
| c8d2b4448a | |||
| 3918efd8e9 | |||
| 4decd2c386 | |||
| 323ab8810e | |||
| fc6003c74e | |||
| ae54c3ef65 | |||
| b38c00bb0d | |||
| 20a7affb70 | |||
| 150e6ecd82 | |||
| 87ef578ad2 | |||
| ef5f197a4a | |||
| 250db946b0 | |||
| f0160bf5ab | |||
| 7d51a1331b | |||
| 22b335ce86 | |||
| f26f73f283 | |||
| 323c9e2bfe | |||
| 894df0e9e6 | |||
| ead76532de | |||
| da2f506f2e | |||
| e42e811c95 | |||
| 889450fb31 | |||
| 3c11e09c30 | |||
| 616daecdd0 | |||
| 9b4fd66de7 | |||
| b42f7a400e | |||
| 9e814860ae | |||
| a2a71b4d33 | |||
| 7d6b8f6943 | |||
| 3b4a5bbb09 | |||
| 58b7ec59e9 | |||
| 518b9ab381 | |||
| a9e48d33c6 | |||
| 1ff001994c | |||
| 234a37df6f | |||
| 6bcc6ef65f | |||
| d5e6c94246 | |||
| 63b6dee311 | |||
| 34697cf5ce |
+205
-184
@@ -11,6 +11,14 @@ 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
|
||||||
@@ -18,7 +26,6 @@ env:
|
|||||||
curl
|
curl
|
||||||
devscripts
|
devscripts
|
||||||
equivs
|
equivs
|
||||||
flake8
|
|
||||||
gem2deb
|
gem2deb
|
||||||
guile-3.0-dev
|
guile-3.0-dev
|
||||||
lcov
|
lcov
|
||||||
@@ -29,7 +36,7 @@ env:
|
|||||||
libcurl4-gnutls-dev
|
libcurl4-gnutls-dev
|
||||||
libgcrypt20-dev
|
libgcrypt20-dev
|
||||||
libgnutls28-dev
|
libgnutls28-dev
|
||||||
liblua5.3-dev
|
liblua5.4-dev
|
||||||
libncurses-dev
|
libncurses-dev
|
||||||
libperl-dev
|
libperl-dev
|
||||||
libphp-embed
|
libphp-embed
|
||||||
@@ -40,11 +47,8 @@ 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_ROCKYLINUX: >-
|
WEECHAT_DEPS_ROCKYLINUX: >-
|
||||||
@@ -98,10 +102,53 @@ env:
|
|||||||
sudo
|
sudo
|
||||||
tcl86
|
tcl86
|
||||||
zstd
|
zstd
|
||||||
|
WEECHAT_DEPS_MACOS: >-
|
||||||
|
asciidoctor
|
||||||
|
aspell
|
||||||
|
cjson
|
||||||
|
guile
|
||||||
|
lua
|
||||||
|
pkg-config
|
||||||
|
ruby
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
tests_ubuntu:
|
checks:
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- 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.10 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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -145,12 +192,12 @@ jobs:
|
|||||||
cxx: "clang++"
|
cxx: "clang++"
|
||||||
buildargs: "-DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
|
buildargs: "-DENABLE_CODE_COVERAGE=ON -DENABLE_FUZZ=ON"
|
||||||
|
|
||||||
name: "${{ matrix.os }} (${{ matrix.config.name }})"
|
name: "install (${{ matrix.os }}, ${{ matrix.config.name }})"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -158,19 +205,7 @@ jobs:
|
|||||||
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)
|
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||||
sudo apt-get --yes purge php8.3-imagick
|
sudo apt-get --yes purge php8.3-imagick
|
||||||
pipx install msgcheck schemathesis
|
pipx install 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:
|
||||||
@@ -218,6 +253,152 @@ 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_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: "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_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"
|
||||||
|
|
||||||
|
install_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: "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:
|
||||||
@@ -225,12 +406,11 @@ jobs:
|
|||||||
os:
|
os:
|
||||||
- ubuntu-24.04
|
- ubuntu-24.04
|
||||||
|
|
||||||
name: "${{ matrix.os }} (build Debian)"
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -256,14 +436,13 @@ 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-24.04
|
- ubuntu-24.04
|
||||||
|
|
||||||
name: "${{ matrix.os }} (CodeQL)"
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -274,7 +453,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -282,7 +461,6 @@ jobs:
|
|||||||
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)
|
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
||||||
sudo apt-get --yes purge php8.3-imagick
|
sudo apt-get --yes purge php8.3-imagick
|
||||||
pipx install msgcheck
|
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v3
|
uses: github/codeql-action/init@v3
|
||||||
@@ -296,160 +474,3 @@ 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"
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: REUSE Compliance Check
|
- name: REUSE Compliance Check
|
||||||
uses: fsfe/reuse-action@v4
|
uses: fsfe/reuse-action@v4
|
||||||
|
|||||||
+281
@@ -0,0 +1,281 @@
|
|||||||
|
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
|
||||||
+611
@@ -0,0 +1,611 @@
|
|||||||
|
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
|
||||||
|
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
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2026 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
[check]
|
||||||
|
select = [
|
||||||
|
"checks",
|
||||||
|
]
|
||||||
|
ignore = [
|
||||||
|
"brackets",
|
||||||
|
"double-quotes",
|
||||||
|
"double-words",
|
||||||
|
"header",
|
||||||
|
"html-tags",
|
||||||
|
"paths",
|
||||||
|
"punc-space-str",
|
||||||
|
"unchanged",
|
||||||
|
"unicode-ctrl",
|
||||||
|
"urls",
|
||||||
|
]
|
||||||
|
path_words = "."
|
||||||
|
langs = [
|
||||||
|
"en_US",
|
||||||
|
"fr",
|
||||||
|
]
|
||||||
+48
-1
@@ -6,11 +6,58 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
|
|
||||||
# WeeChat ChangeLog
|
# WeeChat ChangeLog
|
||||||
|
|
||||||
## Version 4.8.3 (under dev)
|
## Version 4.9.3 (under dev)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- core: fix buffer overflow in connection to SOCKS5 proxy ([#2325](https://github.com/weechat/weechat/issues/2325))
|
||||||
|
- relay/api: fix memory leak in resources "handshake", "input" and "completion"
|
||||||
|
- 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
|
### Fixed
|
||||||
|
|
||||||
- core: fix crash with `/eval` when the current buffer is closed in a command
|
- 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)
|
||||||
|
|
||||||
|
|||||||
+34
-36
@@ -28,6 +28,7 @@ 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
|
||||||
@@ -52,16 +53,8 @@ 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
|
||||||
if(COMMAND cmake_policy)
|
add_definitions(-DWEECHAT_VERSION="${VERSION}" -DWEECHAT_LICENSE="GPL3")
|
||||||
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}")
|
||||||
@@ -192,15 +185,6 @@ 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)
|
||||||
@@ -258,22 +242,29 @@ 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)
|
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()
|
||||||
|
|
||||||
@@ -283,18 +274,15 @@ 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})
|
||||||
|
|
||||||
find_library(DL_LIBRARY
|
list(APPEND EXTRA_LIBS ${CMAKE_DL_LIBS})
|
||||||
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}")
|
||||||
@@ -303,20 +291,30 @@ 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)
|
||||||
|
|
||||||
if(ENABLE_TESTS)
|
enable_testing()
|
||||||
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)
|
||||||
|
|||||||
@@ -11,10 +11,8 @@ 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)
|
||||||
|
|||||||
@@ -19,3 +19,11 @@ path = [
|
|||||||
precedence = "override"
|
precedence = "override"
|
||||||
SPDX-FileCopyrightText = "2003-2026 Sébastien Helleu <flashcode@flashtux.org>"
|
SPDX-FileCopyrightText = "2003-2026 Sébastien Helleu <flashcode@flashtux.org>"
|
||||||
SPDX-License-Identifier = "GPL-3.0-or-later"
|
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"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
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),
|
||||||
@@ -13,7 +12,7 @@ Build-Depends:
|
|||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
libaspell-dev,
|
libaspell-dev,
|
||||||
liblua5.3-dev,
|
liblua5.4-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,
|
||||||
@@ -24,7 +23,7 @@ Build-Depends:
|
|||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev,
|
||||||
libcjson-dev
|
libcjson-dev
|
||||||
Standards-Version: 4.7.2
|
Standards-Version: 4.7.3
|
||||||
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,3 +1,12 @@
|
|||||||
|
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)
|
||||||
@@ -40,6 +49,12 @@ 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,6 +1,5 @@
|
|||||||
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),
|
||||||
@@ -13,7 +12,7 @@ Build-Depends:
|
|||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
libaspell-dev,
|
libaspell-dev,
|
||||||
liblua5.3-dev,
|
liblua5.4-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,
|
||||||
@@ -24,7 +23,7 @@ Build-Depends:
|
|||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev,
|
||||||
libcjson-dev
|
libcjson-dev
|
||||||
Standards-Version: 4.7.2
|
Standards-Version: 4.7.3
|
||||||
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
|
||||||
|
|||||||
@@ -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+r]
|
Die Standardtastenbelegung lautet kbd:[Ctrl+s]
|
||||||
(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.
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ 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.
|
||||||
@@ -655,9 +656,9 @@ Example:
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Checks if a string with boolean value is valid.
|
* Check if a string with boolean value is valid.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: boolean value is valid
|
* 1: boolean value is valid
|
||||||
* 0: boolean value is NOT valid
|
* 0: boolean value is NOT valid
|
||||||
*/
|
*/
|
||||||
@@ -932,9 +933,9 @@ Example: creation of a new window (from _src/gui/gui-window.c_):
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Creates a new window.
|
* Create a new window.
|
||||||
*
|
*
|
||||||
* Returns pointer to new window, NULL if error.
|
* Return pointer to new window, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_gui_window *
|
struct t_gui_window *
|
||||||
|
|||||||
@@ -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+r] (command is: `+/input search_text_here+`).
|
The default key is kbd:[Ctrl+s] (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 ^↗^^]
|
||||||
|
|||||||
@@ -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+r] (el comando es: `+/input texto_a_buscar_aquí+`).
|
La tecla predeterminada es kbd:[Ctrl+s] (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 ^↗^^]
|
||||||
|
|||||||
@@ -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][:motdepasse]@]serveur[:port][/#canal1[,#canal2...]]
|
irc[6][s]://[[pseudo][:mot_de_passe]@]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" :
|
||||||
|
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ 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.
|
||||||
@@ -659,9 +660,9 @@ Exemple :
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Checks if a string with boolean value is valid.
|
* Check if a string with boolean value is valid.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: boolean value is valid
|
* 1: boolean value is valid
|
||||||
* 0: boolean value is NOT valid
|
* 0: boolean value is NOT valid
|
||||||
*/
|
*/
|
||||||
@@ -942,9 +943,9 @@ Exemple : création d'une nouvelle fenêtre (de _src/gui/gui-window.c_) :
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Creates a new window.
|
* Create a new window.
|
||||||
*
|
*
|
||||||
* Returns pointer to new window, NULL if error.
|
* Return pointer to new window, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_gui_window *
|
struct t_gui_window *
|
||||||
|
|||||||
@@ -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+r] (la commande est : `+/input search_text_here+`).
|
La touche par défaut est kbd:[Ctrl+s] (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 ^↗^^]
|
||||||
|
|||||||
@@ -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 motdepasse
|
/secure set libera mot_de_passe
|
||||||
----
|
----
|
||||||
|
|
||||||
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 motdepasse
|
/secure set relay mot_de_passe
|
||||||
/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:motdepasse
|
PASS serveur:mot_de_passe
|
||||||
----
|
----
|
||||||
|
|
||||||
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 "motdepasse" (ou "libera:motdepasse"
|
client IRC en utilisant le mot de passe "mot_de_passe" (ou "libera:mot_de_passe"
|
||||||
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]]
|
||||||
=== API protocol
|
=== Protocole API
|
||||||
|
|
||||||
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 "motdepasse".
|
distante en utilisant le mot de passe "mot_de_passe".
|
||||||
|
|
||||||
Pour vous connecter à un relai _api_ avec WeeChat :
|
Pour vous connecter à un relai _api_ avec WeeChat :
|
||||||
|
|
||||||
----
|
----
|
||||||
/remote add weechat http://localhost:9000 -password=motdepasse
|
/remote add weechat http://localhost:9000 -password=mot_de_passe
|
||||||
/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 "motdepasse".
|
distante en utilisant le mot de passe "mot_de_passe".
|
||||||
|
|
||||||
[[relay_websocket]]
|
[[relay_websocket]]
|
||||||
=== WebSocket
|
=== WebSocket
|
||||||
|
|||||||
@@ -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+r] (il comando è: `+/input search_text_here+`).
|
Il tasto predefinito è kbd:[Ctrl+s] (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
|
||||||
|
|||||||
@@ -140,6 +140,8 @@ 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
|
||||||
@@ -808,9 +810,9 @@ C 言語のコードを書く際には以下の基本的なルールを *必ず*
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Checks if a string with boolean value is valid.
|
* Check if a string with boolean value is valid.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: boolean value is valid
|
* 1: boolean value is valid
|
||||||
* 0: boolean value is NOT valid
|
* 0: boolean value is NOT valid
|
||||||
*/
|
*/
|
||||||
@@ -1083,9 +1085,9 @@ struct t_gui_window *gui_current_window = NULL; /* current window */
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Creates a new window.
|
* Create a new window.
|
||||||
*
|
*
|
||||||
* Returns pointer to new window, NULL if error.
|
* Return pointer to new window, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_gui_window *
|
struct t_gui_window *
|
||||||
|
|||||||
@@ -451,7 +451,7 @@ with command `/color`).
|
|||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== どうすればバッファ内の文字列を検索できますか (irssi の /lastlog の様に)。
|
=== どうすればバッファ内の文字列を検索できますか (irssi の /lastlog の様に)。
|
||||||
|
|
||||||
デフォルトのキーは kbd:[Ctrl+r] です (コマンドは: `+/input search_text_here+`)。
|
デフォルトのキーは kbd:[Ctrl+s] です (コマンドは: `+/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[ユーザーズガイド / デフォルトのキー割り当て ^↗^^]を参照してください
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
Kompletna dokumentacja na temat opcji wtyczek dostępna jest
|
Kompletna dokumentacja na temat opcji wtyczek dostępna jest
|
||||||
w https://weechat.org/doc/[WeeChat user's guide].
|
w https://weechat.org/doc/[WeeChat user's guide].
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
Używając wtyczki irc możesz połączyć się z serwerem używając URLa w poniższm formacie:
|
||||||
With irc plugin, you can connect to a server with an URL like:
|
|
||||||
|
|
||||||
irc[6][s]://[[nick][:hasło]@]serwer[:port][/#kanał1[,#kanał2...]]
|
irc[6][s]://[[nick][:hasło]@]serwer[:port][/#kanał1[,#kanał2...]]
|
||||||
|
|
||||||
|
|||||||
@@ -436,7 +436,7 @@ link:weechat_user.pl.html#colors[Poradniku użytkownika / Kolory ^↗^^].
|
|||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== Jak mogę wyszukać tekst w buforze (jak za pomocą /lastlog w irssi)?
|
=== Jak mogę wyszukać tekst w buforze (jak za pomocą /lastlog w irssi)?
|
||||||
|
|
||||||
Domyślny skrót klawiszowy to kbd:[Ctrl+r] (komenda: `+/input search_text_here+`).
|
Domyślny skrót klawiszowy to kbd:[Ctrl+s] (komenda: `+/input search_text_here+`).
|
||||||
|
|
||||||
Poruszanie się między podświetleniami: kbd:[Alt+p] / kbd:[Alt+n].
|
Poruszanie się między podświetleniami: kbd:[Alt+p] / kbd:[Alt+n].
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,7 @@
|
|||||||
// tag::plugin_options[]
|
// tag::plugin_options[]
|
||||||
За комплетну документацију у вези опција додатака, молимо вас да погледате документацију за додатке у https://weechat.org/doc/[WeeChat корисничком упутству].
|
За комплетну документацију у вези опција додатака, молимо вас да погледате документацију за додатке у https://weechat.org/doc/[WeeChat корисничком упутству].
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
Помоћу irc додатка, са сервером се повезујете URL адресом као што је:
|
||||||
With irc plugin, you can connect to a server with an URL like:
|
|
||||||
|
|
||||||
irc[6][s]://[[надимак][:лозинка]@]сервер[:порт][/#канал1[,#канал2...]]
|
irc[6][s]://[[надимак][:лозинка]@]сервер[:порт][/#канал1[,#канал2...]]
|
||||||
|
|
||||||
|
|||||||
@@ -128,6 +128,8 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
|===
|
|===
|
||||||
| Путања/фајл | Опис
|
| Путања/фајл | Опис
|
||||||
| core/ | Функције језгра: тачка улаза, интерне структуре.
|
| core/ | Функције језгра: тачка улаза, интерне структуре.
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| core-args.c | Command-line arguments.
|
||||||
| core-arraylist.c | Листе низова.
|
| core-arraylist.c | Листе низова.
|
||||||
| core-backtrace.c | Испис трага након краха.
|
| core-backtrace.c | Испис трага након краха.
|
||||||
| core-calc.c | Израчунавање резултата израза.
|
| core-calc.c | Израчунавање резултата израза.
|
||||||
@@ -651,9 +653,9 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Checks if a string with boolean value is valid.
|
* Check if a string with boolean value is valid.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: boolean value is valid
|
* 1: boolean value is valid
|
||||||
* 0: boolean value is NOT valid
|
* 0: boolean value is NOT valid
|
||||||
*/
|
*/
|
||||||
@@ -914,9 +916,9 @@ struct t_gui_window *gui_current_window = NULL; /* current window */
|
|||||||
[source,c]
|
[source,c]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Creates a new window.
|
* Create a new window.
|
||||||
*
|
*
|
||||||
* Returns pointer to new window, NULL if error.
|
* Return pointer to new window, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_gui_window *
|
struct t_gui_window *
|
||||||
|
|||||||
@@ -380,7 +380,7 @@ term screen-256color
|
|||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== Како могу да претражујем текст у баферу (као /lastlog у програму irssi)?
|
=== Како могу да претражујем текст у баферу (као /lastlog у програму irssi)?
|
||||||
|
|
||||||
Подразумевани тастер је kbd:[Ctrl+r] (команда је: `+/input овде_текст_претраге+`). И скок на истицања: kbd:[Alt+p] / kbd:[Alt+n].
|
Подразумевани тастер је kbd:[Ctrl+s] (команда је: `+/input овде_текст_претраге+`). И скок на истицања: kbd:[Alt+p] / kbd:[Alt+n].
|
||||||
|
|
||||||
За више о овој могућности, погледајте link:weechat_user.sr.html#key_bindings[Корисничко упутство / Тастерске пречице ^↗^^].
|
За више о овој могућности, погледајте link:weechat_user.sr.html#key_bindings[Корисничко упутство / Тастерске пречице ^↗^^].
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2025-10-27 08:26+0100\n"
|
"PO-Revision-Date: 2026-03-12 20:24+0100\n"
|
||||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||||
"Language: cs\n"
|
"Language: cs\n"
|
||||||
@@ -34,6 +34,159 @@ msgstr ""
|
|||||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||||
"X-Generator: Poedit 2.0.1\n"
|
"X-Generator: Poedit 2.0.1\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "%s%s: unable to connect to sender"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "%s%s: nemohu se připojit k odesílateli"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "use same nick color for channel and private"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "použít stejnou barvu přezdívky pro kanál a soukromý rozhovor"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "zobrazí WeeChat logo při spuštění"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "zobrazí WeeChat logo při spuštění"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr "příkaz spuštěný při startu WeeChat, po načtení pluginů"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr "%sChyba: nemohu uložit sezení do souboru"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat version at startup"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "zobrazí verzi WeeChat při spuštění"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "plugin pointer (optional)"
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr "ukazatel pluginu (volitelný)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat %s Copyright %s, zkompilováno %s %s\n"
|
||||||
|
"Vyvinutý Sébastienem Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "Usage: %s [option...] [plugin:option...]\n"
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "Použití: %s [volba...] [plugin:volba...]\n"
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "Chyba: chybí argument pro volbu \"%s\"\n"
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Seznam polí:"
|
msgstr "Seznam polí:"
|
||||||
|
|
||||||
@@ -142,7 +295,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%sChyba: nemohu posunout pole \"%s\""
|
msgstr "%sChyba: nemohu posunout pole \"%s\""
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr "%sChyba: bufer číslo %d je mimo rozsah (musí být mezi 1 a %d)"
|
msgstr "%sChyba: bufer číslo %d je mimo rozsah (musí být mezi 1 a %d)"
|
||||||
|
|
||||||
msgid "Buffers list:"
|
msgid "Buffers list:"
|
||||||
@@ -507,9 +660,9 @@ msgstr ""
|
|||||||
"opatření)"
|
"opatření)"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "přidána %d nová klávesa"
|
msgstr[0] "přidána %d nová klávesa (kontext: \"%s\")"
|
||||||
msgstr[1] "přidány %d nové klávesy (kontext: \"%s\")"
|
msgstr[1] "přidány %d nové klávesy (kontext: \"%s\")"
|
||||||
msgstr[2] "přidáno %d nových kláves (kontext: \"%s\")"
|
msgstr[2] "přidáno %d nových kláves (kontext: \"%s\")"
|
||||||
|
|
||||||
@@ -555,7 +708,7 @@ msgstr "%sChyba: rozložení \"%s\" pro příkaz \"%s\" už existuje"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Layout \"%s\" has been renamed to \"%s\""
|
msgid "Layout \"%s\" has been renamed to \"%s\""
|
||||||
msgstr "Rozložení \"%s\" přejmenováno na %s"
|
msgstr "Rozložení \"%s\" přejmenováno na %s"
|
||||||
|
|
||||||
msgid "Mouse enabled"
|
msgid "Mouse enabled"
|
||||||
msgstr "Myš povolena"
|
msgstr "Myš povolena"
|
||||||
@@ -1123,7 +1276,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -1608,7 +1761,7 @@ msgstr "vyhodnotit výraz"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr "[-n|-s] <výraz> || [-n] -c <výraz1> <operátor> <výraz2>"
|
msgstr "[-n|-s] <výraz> || [-n] -c <výraz1> <operátor> <výraz2>"
|
||||||
|
|
||||||
@@ -1620,6 +1773,9 @@ msgid ""
|
|||||||
"separated by semicolons)"
|
"separated by semicolons)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2158,7 +2314,7 @@ msgstr "zobrazí nápovědu k příkazům a volbám"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2221,9 +2377,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[remove]: remove current buffer from hotlist"
|
msgid "raw[remove]: remove current buffer from hotlist"
|
||||||
@@ -3110,7 +3266,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
@@ -3387,20 +3543,20 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -3659,7 +3815,7 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -4194,7 +4350,7 @@ msgid ""
|
|||||||
"Warning: you should now issue /save to write option "
|
"Warning: you should now issue /save to write option "
|
||||||
"weechat.look.save_config_on_exit in configuration file"
|
"weechat.look.save_config_on_exit in configuration file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Upozornění: měl by jste nyní provést /save pro zapsání volby "
|
"Upozornění: měl by jste nyní provést /save pro zapsání volby "
|
||||||
"weechat.look.save_config_on_exit do konfiguračního souboru"
|
"weechat.look.save_config_on_exit do konfiguračního souboru"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -5992,7 +6148,7 @@ msgstr "%sNekorektní číslo barvy \"%s\" (musí být mezi %d a %d)"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Limit for resource \"%s\" has been set to %s"
|
msgid "Limit for resource \"%s\" has been set to %s"
|
||||||
msgstr "Limit pro zdroj \"%s\" byl nastaven na %s"
|
msgstr "Limit pro zdroj \"%s\" byl nastaven na %s"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%sUnable to set resource limit \"%s\" to %s: error %d %s"
|
msgid "%sUnable to set resource limit \"%s\" to %s: error %d %s"
|
||||||
@@ -6059,8 +6215,8 @@ msgstr "zápis - proměnná"
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr "čtení - typ objektu"
|
msgstr "čtení - typ objektu"
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr "čtení - chybný typ objektu (očekáván 'object start')"
|
msgstr "čtení - chybný typ objektu (očekáván \"object start\")"
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
msgstr "čtení - id objektu"
|
msgstr "čtení - id objektu"
|
||||||
@@ -6180,102 +6336,6 @@ msgstr ""
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr "Konec příkazu '%s', vypršel časový limit (%.1fs)"
|
msgstr "Konec příkazu '%s', vypršel časový limit (%.1fs)"
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"WeeChat %s Copyright %s, zkompilováno %s %s\n"
|
|
||||||
"Vyvinutý Sébastienem Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "Použití: %s [volba...] [plugin:volba...]\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect\t\t\tvypne automatické připojení k serverům při startu\n"
|
|
||||||
" -c, --colors\t\t\t\tzobrazí výchozí barvy v terminálu\n"
|
|
||||||
" -d, --dir <cesta>\t \t\tnastaví domovský adresář WeeChat (výchozí: "
|
|
||||||
"~/.weechat)\n"
|
|
||||||
"\t\t\t\t\t\t\t(pokud není použita, weechat zkusí načíst promněnou prostředí "
|
|
||||||
"WEECHAT_HOME)\n"
|
|
||||||
" -h, --help\t\t\t\t\ttato nápověda\n"
|
|
||||||
" -l, --license\t\t\t\t\tlicence WeeChatu\n"
|
|
||||||
" -p, --no-plugin\t\t\t\tnenačítej při startu pluginy\n"
|
|
||||||
" -r, --run-command <cmd>\tspusť příkaz po startu\n"
|
|
||||||
"\t\t\t\t\t\t\t(více příkazů jde oddělit středníkem)\n"
|
|
||||||
" -s, --no-script\t\t\t\tnenačítej skripty při startu\n"
|
|
||||||
" --upgrade\t\t\t\tupgraduj WeeChat za pomocí uloženní stavu (viz /help "
|
|
||||||
"upgrade v WeeChatu)\n"
|
|
||||||
" -v, --version\t\t\t\tzobraz verzi WeeChatu\n"
|
|
||||||
" plugin:option\t\t\t\tvolba pro plugin (viz: man weechat)\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "Chyba: chybí argument pro volbu \"%s\"\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr "1 pokud se WeeChat aktualizuje (příkaz `/upgrade`)"
|
msgstr "1 pokud se WeeChat aktualizuje (příkaz `/upgrade`)"
|
||||||
@@ -7016,7 +7076,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8564,7 +8624,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s%s: nepřipojen k serveru \"%s\"!"
|
msgstr "%s%s: nepřipojen k serveru \"%s\"!"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "%s: automatické znovupřipojené je zrušeno"
|
msgstr "%s: automatické znovupřipojené je zrušeno"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -8733,6 +8793,15 @@ msgstr[0] "sekunda"
|
|||||||
msgstr[1] "sekundy"
|
msgstr[1] "sekundy"
|
||||||
msgstr[2] "sekund"
|
msgstr[2] "sekund"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "second"
|
||||||
|
#| msgid_plural "seconds"
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "sekunda"
|
||||||
|
msgstr[1] "sekundy"
|
||||||
|
msgstr[2] "sekund"
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] "minuta"
|
msgstr[0] "minuta"
|
||||||
@@ -8898,7 +8967,7 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
|
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9000,8 +9069,8 @@ msgstr "vykonat příkaz na všech kanálech všech připojených serverů"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
|
msgstr "[-current] [-exclude=<kanál>[,<kanál>...]] <příkaz> [<argumenty>]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9054,8 +9123,8 @@ msgstr "vykonat příkaz na všech připojených serverech"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr "[-exclude=<server>[,<server>...]] <příkaz> [<argumenty>]"
|
msgstr "[-exclude=<server>[,<server>...]] <příkaz> [<argumenty>]"
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
@@ -9219,7 +9288,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -11241,8 +11310,9 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -12711,7 +12781,7 @@ msgstr ""
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: timeout"
|
msgid "%s%s: timeout"
|
||||||
msgstr "%s%s: časový limit"
|
msgstr "%s%s: časový limit"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: unable to create socket"
|
msgid "%s%s: unable to create socket"
|
||||||
@@ -14551,10 +14621,9 @@ msgstr "%s%s: server \"%s\" pro příkaz \"%s\" nenalezen"
|
|||||||
msgid "%s%s: no connection to remote relay \"%s\""
|
msgid "%s%s: no connection to remote relay \"%s\""
|
||||||
msgstr "%s%s: nepřipojen k serveru \"%s\"!"
|
msgstr "%s%s: nepřipojen k serveru \"%s\"!"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "%s: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgstr ""
|
||||||
msgstr "%s: automatické znovupřipojené je zrušeno"
|
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
||||||
@@ -15501,7 +15570,7 @@ msgid "%s: script \"%s\" is not held anymore"
|
|||||||
msgstr "%s: server %s%s%s již není dočasným"
|
msgstr "%s: server %s%s%s již není dočasným"
|
||||||
|
|
||||||
msgid "Error: file not found"
|
msgid "Error: file not found"
|
||||||
msgstr "Chyba: soubor nenalezen"
|
msgstr "Chyba: soubor nenalezen"
|
||||||
|
|
||||||
msgid "Source code:"
|
msgid "Source code:"
|
||||||
msgstr "Zdrojový kód:"
|
msgstr "Zdrojový kód:"
|
||||||
@@ -16095,7 +16164,7 @@ msgid "Spell checking is enabled"
|
|||||||
msgstr "Kontrola pravopisu je zapnuta"
|
msgstr "Kontrola pravopisu je zapnuta"
|
||||||
|
|
||||||
msgid "Spell checking is disabled"
|
msgid "Spell checking is disabled"
|
||||||
msgstr "Kontrola pravopisu je vypnuta"
|
msgstr "Kontrola pravopisu je vypnuta"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Default dictionary: %s"
|
msgid "Default dictionary: %s"
|
||||||
@@ -16912,7 +16981,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s%s: \"%s\" není validní regulární výraz (%s)"
|
msgstr "%s%s: \"%s\" není validní regulární výraz (%s)"
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -16946,6 +17015,11 @@ msgid ""
|
|||||||
"truncate content)"
|
"truncate content)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -17097,8 +17171,9 @@ msgstr "nečekat na ACK při odesílání souboru"
|
|||||||
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
||||||
#| "IP is used)"
|
#| "IP is used)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"IP nebo DNS adresa použitá pro posílání souborů/rozhovorů (pokud je prázdné "
|
"IP nebo DNS adresa použitá pro posílání souborů/rozhovorů (pokud je prázdné "
|
||||||
"použije se lokální IP)"
|
"použije se lokální IP)"
|
||||||
@@ -17247,7 +17322,7 @@ msgstr "%s%s: nemohu odeslat ACK k odesílateli"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: wrong CRC32 for file %s"
|
msgid "%s%s: wrong CRC32 for file %s"
|
||||||
msgstr "%s%s: špatný kontrolní součet CRC32 souboru %s"
|
msgstr "%s%s: špatný kontrolní součet CRC32 souboru %s"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s%s: CRC32 error while resuming"
|
msgid "%s%s: CRC32 error while resuming"
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2026-03-16 13:19+0100\n"
|
"PO-Revision-Date: 2026-03-21 17:24+0100\n"
|
||||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||||
"Language: de_DE\n"
|
"Language: de_DE\n"
|
||||||
@@ -41,6 +41,169 @@ msgstr ""
|
|||||||
"X-Poedit-Bookmarks: -1,-1,180,-1,-1,-1,-1,-1,-1,-1\n"
|
"X-Poedit-Bookmarks: -1,-1,180,-1,-1,-1,-1,-1,-1,-1\n"
|
||||||
"X-Poedit-SourceCharset: utf-8\n"
|
"X-Poedit-SourceCharset: utf-8\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr ""
|
||||||
|
"deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr "zeigt die Standardfarben des Terminals an"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr "-d, --dir <Pfad>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
"legt einen Konfigurationsordner für WeeChat fest oder fünf verschiedene "
|
||||||
|
"Verzeichnisse, die durch Doppelpunkte getrennt werden (in folgender "
|
||||||
|
"Reihenfolge: Konfiguration, Daten, Zustand, Cache, Laufzeit) "
|
||||||
|
"(Umgebungsvariable WEECHAT_HOME wird genutzt, falls diese Option nicht "
|
||||||
|
"verwendet wird)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
"erstellt ein temporäres WeeChat Heimatverzeichnis, welches beim Beenden von "
|
||||||
|
"WeeChat gelöscht wird (nicht nutzbar mit Option \"-d\")"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "zeigt diese Hilfe an"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr "Build-Informationen anzeigen und beenden"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "zeigt die Lizenz von WeeChat an"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "unterbindet beim Programmstart das Laden von Erweiterungen"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr "-P, --plugins <plugins>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
"beim Programmstart, werden nur die angegebenen Erweiterungen geladen (siehe /"
|
||||||
|
"help weechat.plugin.autoload)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr "-r, --run-command <cmd>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr ""
|
||||||
|
"führt einen oder mehrere Befehle nach dem Start aus mehrere Befehle können "
|
||||||
|
"durch ein Semikolon getrennt werden und sind evaluiert, diese Option kann "
|
||||||
|
"mehrfach genutzt werden"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr "Skripts werden beim Programmstart nicht geladen"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr ""
|
||||||
|
"führt ein WeeChat-Upgrade, mittels Sitzungsdateien durch (benutze in "
|
||||||
|
"WeeChat /help upgrade)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "zeigt die Version von WeeChat an"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr "plugin:option"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr "Einstellungen für Erweiterungen (siehe man weechat)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr "--doc-gen <Pfad>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
"generiert Dateien, um die Dokumentation zu erstellen, danach Programm beenden"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
"startet WeeChat im Deamon-Modus (fork, neue Prozessgruppe, Dateideskriptor "
|
||||||
|
"geschlossen); standardmäßig blockiert WeeChat im Hintergrundmodus den "
|
||||||
|
"Prozess und gibt das Terminal nicht frei"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
"die Programmausgabe findet in der Standardausgabe an, anstatt sie in die "
|
||||||
|
"Protokolldatei zu schreiben (Option wird ignoriert, falls die Option \"--"
|
||||||
|
"daemon\" genutzt wird)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
"die Funktion dlclose wird nicht ausgeführt, nachdem Erweiterungen beendet "
|
||||||
|
"wurden"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr "deaktiviere init/deinit von gnutls"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr "deaktiviere init/deinit von gcrypt"
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat %s Copyright %s, kompiliert am %s %s\n"
|
||||||
|
"Entwickelt von Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr "Aufruf:"
|
||||||
|
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "[Option...] [Erweiterung:Option...]"
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr "Zusätzliche Optionen für den Hintergrundmodus:"
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
"Debug Optionen (für Tools wie valgrind, DIESE FUNKTIONEN SOLLTE NICHT IM "
|
||||||
|
"PRODUKTIVEM EINSATZ GENUTZT WERDEN):"
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "Fehler: fehlendes Argument für die Einstellung \"%s\"\n"
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Liste der vorhandenen Infobars:"
|
msgstr "Liste der vorhandenen Infobars:"
|
||||||
|
|
||||||
@@ -147,7 +310,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%sBar \"%s\" kann nicht gescrollt werden"
|
msgstr "%sBar \"%s\" kann nicht gescrollt werden"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%sBuffernummer %d ist außerhalb des gültigen Bereiches (es muss eine Zahl "
|
"%sBuffernummer %d ist außerhalb des gültigen Bereiches (es muss eine Zahl "
|
||||||
"zwischen 1 und %d sein)"
|
"zwischen 1 und %d sein)"
|
||||||
@@ -500,9 +663,9 @@ msgstr ""
|
|||||||
"Tastenbelegung notwendig"
|
"Tastenbelegung notwendig"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "(%d) neue Taste hinzugefügt"
|
msgstr[0] "(%d) neue Taste hinzugefügt (Kontext: \"%s\")"
|
||||||
msgstr[1] "(%d) neue Tasten hinzugefügt (Kontext: \"%s\")"
|
msgstr[1] "(%d) neue Tasten hinzugefügt (Kontext: \"%s\")"
|
||||||
|
|
||||||
msgid "Stored layouts:"
|
msgid "Stored layouts:"
|
||||||
@@ -912,7 +1075,7 @@ msgstr "%skeine Binärdatei angegeben"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Upgrading WeeChat with binary file: \"%s\"..."
|
msgid "Upgrading WeeChat with binary file: \"%s\"..."
|
||||||
msgstr "Aktualisiere WeeChat mit Binärdatei \"%s\"...."
|
msgstr "Aktualisiere WeeChat mit Binärdatei \"%s\"..."
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sUpgrade aborted"
|
msgid "%sUpgrade aborted"
|
||||||
@@ -945,10 +1108,9 @@ msgstr "kompiliert am"
|
|||||||
msgid "Windows list:"
|
msgid "Windows list:"
|
||||||
msgstr "Fensterliste:"
|
msgstr "Fensterliste:"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "%sPlugin \"%s\" not found"
|
|
||||||
msgid "%sWindow \"%s\" not found"
|
msgid "%sWindow \"%s\" not found"
|
||||||
msgstr "%sErweiterung \"%s\" wurde nicht gefunden"
|
msgstr "%sFenster \"%s\" nicht gefunden"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sInvalid window number: \"%s\""
|
msgid "%sInvalid window number: \"%s\""
|
||||||
@@ -1113,9 +1275,13 @@ msgstr "Maske: Name, wobei der Platzhalter \"*\" zulässig ist"
|
|||||||
msgid "raw[set]: set a value for a bar property"
|
msgid "raw[set]: set a value for a bar property"
|
||||||
msgstr "raw[set]: legt einen Wert für eine Bar-Eigenschaft fest"
|
msgstr "raw[set]: legt einen Wert für eine Bar-Eigenschaft fest"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| "option: option to change (for options list, look at /set weechat.bar."
|
||||||
|
#| "<barname>.*)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"option: Option die geändert werden soll (eine Liste der möglichen Optionen "
|
"option: Option die geändert werden soll (eine Liste der möglichen Optionen "
|
||||||
"findet man unter /set weechat.bar.<barname>.*)"
|
"findet man unter /set weechat.bar.<barname>.*)"
|
||||||
@@ -1182,8 +1348,8 @@ msgid ""
|
|||||||
"get <property> || jump smart|last_displayed|prev_visited|next_visited || "
|
"get <property> || jump smart|last_displayed|prev_visited|next_visited || "
|
||||||
"<id>|<number>|-|+|<name>"
|
"<id>|<number>|-|+|<name>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"list || add [-free] [-switch] <name> || clear [<number>|<name>|-merged|-all "
|
"list || add [-free] [-switch] <name> || clear [<id>|<number>|<name>|-merged|-"
|
||||||
"[<id>|<number>|<name>...]] || move <number>|-|+ || swap <id1>|<number1>|"
|
"all [<id>|<number>|<name>...]] || move <number>|-|+ || swap <id1>|<number1>|"
|
||||||
"<name1> [<id2>|<number2>|<name2>] || cycle <id>|<number>|<name>... || merge "
|
"<name1> [<id2>|<number2>|<name2>] || cycle <id>|<number>|<name>... || merge "
|
||||||
"<id>|<number>|<name> || unmerge [<number>|-all] || hide [<id>|<number>|"
|
"<id>|<number>|<name> || unmerge [<number>|-all] || hide [<id>|<number>|"
|
||||||
"<name>|-all [<id>|<number>|<name>...]] || unhide [<id>|<number>|<name>|-all "
|
"<name>|-all [<id>|<number>|<name>...]] || unhide [<id>|<number>|<name>|-all "
|
||||||
@@ -1680,10 +1846,10 @@ msgstr "evaluierter Ausdruck"
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
|
|
||||||
msgid "raw[-n]: display result without sending it to buffer (debug mode)"
|
msgid "raw[-n]: display result without sending it to buffer (debug mode)"
|
||||||
@@ -1698,6 +1864,9 @@ msgstr ""
|
|||||||
"raw[-s]: teilt Ausdrücke, bevor sie evaluiert werden (mehrere Befehle können "
|
"raw[-s]: teilt Ausdrücke, bevor sie evaluiert werden (mehrere Befehle können "
|
||||||
"durch Semikolon getrennt werden)"
|
"durch Semikolon getrennt werden)"
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr "raw[-e]: Alle Befehle vor ihrer Ausführung auswerten"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2100,7 +2269,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid " =* is matching mask, case-insensitive (wildcard \"*\" is allowed)"
|
msgid " =* is matching mask, case-insensitive (wildcard \"*\" is allowed)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
" =* stimmt mit der Maske überein, Groß- und Kleinschreibung wird nicht "
|
" =* stimmt mit der Maske überein, Groß- und Kleinschreibung wird nicht "
|
||||||
"beachtet (Platzhalter \"*\" ist zulässig)"
|
"beachtet (Platzhalter \"*\" ist zulässig)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2110,7 +2279,7 @@ msgstr ""
|
|||||||
"nicht beachtet (Platzhalter \"*\" ist zulässig)"
|
"nicht beachtet (Platzhalter \"*\" ist zulässig)"
|
||||||
|
|
||||||
msgid " ==- is included, case-sensitive"
|
msgid " ==- is included, case-sensitive"
|
||||||
msgstr " ==- ist enthalten, Groß- und Kleinschreibung wird berücksichtigt"
|
msgstr " ==- ist enthalten, Groß- und Kleinschreibung wird berücksichtigt"
|
||||||
|
|
||||||
msgid " !!- is NOT included, case-sensitive"
|
msgid " !!- is NOT included, case-sensitive"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -2348,7 +2517,7 @@ msgid "display help about commands and options"
|
|||||||
msgstr "Zeigt einen Hilfstext für Befehle und Einstellungen an"
|
msgstr "Zeigt einen Hilfstext für Befehle und Einstellungen an"
|
||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr "-list|-listfull [<plugin>...] || <command> || <option>"
|
msgstr "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2406,9 +2575,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr "raw[clear]: lösche Hotlist"
|
msgstr "raw[clear]: lösche Hotlist"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"level: \"lowest\" um die niedrigste Benachrichtigungsstufe in der Hotlist zu "
|
"level: \"lowest\" um die niedrigste Benachrichtigungsstufe in der Hotlist zu "
|
||||||
"löschen, \"highest\" um die höchste Benachrichtigungsstufe in der Hotlist zu "
|
"löschen, \"highest\" um die höchste Benachrichtigungsstufe in der Hotlist zu "
|
||||||
@@ -3460,9 +3629,13 @@ msgstr "raw[del]: entfernt einen oder mehrere Proxy"
|
|||||||
msgid "raw[set]: set a value for a proxy property"
|
msgid "raw[set]: set a value for a proxy property"
|
||||||
msgstr "raw[set]: setzt einen Wert für Proxy-Eigenschaft"
|
msgstr "raw[set]: setzt einen Wert für Proxy-Eigenschaft"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| "option: option to change (for options list, look at /set weechat.proxy."
|
||||||
|
#| "<proxyname>.*)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Option: Option, die geändert werden soll (für eine Liste der möglichen "
|
"Option: Option, die geändert werden soll (für eine Liste der möglichen "
|
||||||
"Optionen, bitte folgenden Befehl nutzen: /set weechat.proxy.<proxyname>.*)"
|
"Optionen, bitte folgenden Befehl nutzen: /set weechat.proxy.<proxyname>.*)"
|
||||||
@@ -3570,7 +3743,7 @@ msgid "> ${repeat_index}: current index (from 1 to \"count\")"
|
|||||||
msgstr "> ${repeat_index}: aktueller Index (von 1 bis \"Einheit\")"
|
msgstr "> ${repeat_index}: aktueller Index (von 1 bis \"Einheit\")"
|
||||||
|
|
||||||
msgid "> ${repeat_index0}: current index (from 0 to \"count\" - 1)"
|
msgid "> ${repeat_index0}: current index (from 0 to \"count\" - 1)"
|
||||||
msgstr "> ${repeat_index0}: aktueller Index (von 0 bis \"Einheit\" - 1)"
|
msgstr "> ${repeat_index0}: aktueller Index (von 0 bis \"Einheit\" - 1)"
|
||||||
|
|
||||||
msgid "> ${repeat_revindex}: current index from the end (from \"count\" to 1)"
|
msgid "> ${repeat_revindex}: current index from the end (from \"count\" to 1)"
|
||||||
msgstr "> ${repeat_revindex}: aktueller Index vom Ende (von \"Einheit\" bis 1)"
|
msgstr "> ${repeat_revindex}: aktueller Index vom Ende (von \"Einheit\" bis 1)"
|
||||||
@@ -3691,7 +3864,7 @@ msgid "Keys on secure buffer:"
|
|||||||
msgstr "Tastenbefehle für den secure-Buffer:"
|
msgstr "Tastenbefehle für den secure-Buffer:"
|
||||||
|
|
||||||
msgid " alt+v toggle values"
|
msgid " alt+v toggle values"
|
||||||
msgstr " alt+v, Werte werden in Klartext angezeigt bzw. verborgen"
|
msgstr " alt+v Werte werden in Klartext angezeigt bzw. verborgen"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"When a passphrase is used (data encrypted), it is asked by WeeChat on "
|
"When a passphrase is used (data encrypted), it is asked by WeeChat on "
|
||||||
@@ -3749,23 +3922,23 @@ msgstr " nutze Programm \"pass\" um die Passphrase beim Start auszulesen:"
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr " verschlüsselt libera SASL Passwort:"
|
msgstr " verschlüsselt libera SASL Passwort:"
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr " /secure set libera MeinPasswort"
|
msgstr " /secure set libera Mein_Passwort"
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr " verschlüsselt oftc Passwort für nickserv:"
|
msgstr " verschlüsselt oftc Passwort für nickserv:"
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr " /secure set oftc MeinPasswort"
|
msgstr " /secure set oftc Mein_Passwort"
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr " Alternativbefehl um den eigenen Nick zu ghosten:"
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost MeinNick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
|
|
||||||
msgid "set config options and environment variables"
|
msgid "set config options and environment variables"
|
||||||
@@ -3815,7 +3988,7 @@ msgid ""
|
|||||||
"(undefined value). This works only for some special plugin variables."
|
"(undefined value). This works only for some special plugin variables."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Hinweis: für alle Typen von Variablen kann die Zeichenkette \"null\" (ohne "
|
"Hinweis: für alle Typen von Variablen kann die Zeichenkette \"null\" (ohne "
|
||||||
"\"\") genutzt werden, um den Wert der Einstellung zu löschen (undefinierter "
|
"\"\") genutzt werden, um den Wert der Einstellung zu löschen (undefinierter "
|
||||||
"Wert). Dies kann nur auf einige besondere Variablen (Erweiterungen) "
|
"Wert). Dies kann nur auf einige besondere Variablen (Erweiterungen) "
|
||||||
"angewendet werden."
|
"angewendet werden."
|
||||||
|
|
||||||
@@ -4084,8 +4257,8 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr "Nutzt man die \"-quit\" Funktion ist die Abfolge geringfügig anders:"
|
msgstr "Nutzt man die \"-quit\" Funktion ist die Abfolge geringfügig anders:"
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr " 1. es werden *ALLE* Verbindungen getrennt (irc,xfer,relay, ...)"
|
msgstr " 1. es werden *ALLE* Verbindungen getrennt (irc,xfer,relay, etc.)"
|
||||||
|
|
||||||
msgid " 2. save session into files (*.upgrade)"
|
msgid " 2. save session into files (*.upgrade)"
|
||||||
msgstr " 2. die Sitzung wird in Dateien gesichert (*.upgrade)"
|
msgstr " 2. die Sitzung wird in Dateien gesichert (*.upgrade)"
|
||||||
@@ -4680,7 +4853,7 @@ msgstr "Veraltete Taste wurde entfernt: \"%s\""
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Legacy key converted: \"%s\" => \"%s\""
|
msgid "Legacy key converted: \"%s\" => \"%s\""
|
||||||
msgstr "Veraltete Taste konvertiert: \"%s\" => \"%s\""
|
msgstr "Veraltete Taste konvertiert: \"%s\" => \"%s\""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Command converted for key \"%s\": \"%s\" => \"%s\""
|
msgid "Command converted for key \"%s\": \"%s\" => \"%s\""
|
||||||
@@ -5230,7 +5403,7 @@ msgid ""
|
|||||||
"the highest to lowest priority)"
|
"the highest to lowest priority)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"maximale Anzahl an Nachrichtenzähler in der Hotlist, für einen Buffer: 0 = "
|
"maximale Anzahl an Nachrichtenzähler in der Hotlist, für einen Buffer: 0 = "
|
||||||
"der Nachrichtenzähler wird nicht dargestellt, nächst höhere Zahl = zeigt "
|
"der Nachrichtenzähler wird nicht dargestellt, nächst höhere Zahl = zeigt "
|
||||||
"maximal <N> Nachrichtenzähler an (von höchster zu niedrigster Priorität)"
|
"maximal <N> Nachrichtenzähler an (von höchster zu niedrigster Priorität)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -5294,8 +5467,8 @@ msgstr ""
|
|||||||
"eines Buffers (\"buffer.var\"); wird das \"-\" Zeichen vor einem Feld "
|
"eines Buffers (\"buffer.var\"); wird das \"-\" Zeichen vor einem Feld "
|
||||||
"angewendet, wird die Ausgabe umgekehrt, um bei einem Vergleich nicht "
|
"angewendet, wird die Ausgabe umgekehrt, um bei einem Vergleich nicht "
|
||||||
"zwischen Groß- und Kleinschreibung zu unterscheiden wird das Zeichen \"~\" "
|
"zwischen Groß- und Kleinschreibung zu unterscheiden wird das Zeichen \"~\" "
|
||||||
"verwendet; Beispiel: \"-priority,buffer.number\" sortiert die Hotliste nach "
|
"verwendet; Beispiel: \"-priority,buffer.number\" sortiert die Hotliste nach "
|
||||||
"Priorität, dann nach Buffernummern, \"-~buffer.full_name\" für Groß-/"
|
"Priorität, dann nach Buffernummern, \"-~buffer.full_name\" für Groß-/"
|
||||||
"Kleinschreibung und umgekehrte Sortierung nach vollständigem Buffernamen"
|
"Kleinschreibung und umgekehrte Sortierung nach vollständigem Buffernamen"
|
||||||
|
|
||||||
msgid "text displayed at the end of the hotlist"
|
msgid "text displayed at the end of the hotlist"
|
||||||
@@ -5465,10 +5638,9 @@ msgstr ""
|
|||||||
"Nicknamen enthalten sein der nicht in dieser Liste aufgeführt wird, damit "
|
"Nicknamen enthalten sein der nicht in dieser Liste aufgeführt wird, damit "
|
||||||
"eine Farbe für den Nicknamen erstellt werden kann (Beispiel: Der Nickname "
|
"eine Farbe für den Nicknamen erstellt werden kann (Beispiel: Der Nickname "
|
||||||
"lautet \"|nick|abwesend\" wobei das Zeichen \"|\" ignoriert werden soll. Die "
|
"lautet \"|nick|abwesend\" wobei das Zeichen \"|\" ignoriert werden soll. Die "
|
||||||
"Farbe für den Nicknamen wird nun für \"|nick\" anstelle von \"|nick|"
|
"Farbe für den Nicknamen wird nun für \"|nick\"); diese Option hat einen "
|
||||||
"abwesend\" erstellt); diese Option hat einen Einfluss auf die Option "
|
"Einfluss auf die Option weechat.look.nick_color_force, dort aufgeführte "
|
||||||
"weechat.look.nick_color_force, dort aufgeführte Nicks sollten keine Zeichen "
|
"Nicks sollten keine Zeichen haben, die von dieser Option ignoriert werden"
|
||||||
"haben, die von dieser Option ignoriert werden"
|
|
||||||
|
|
||||||
msgid "text to display before nick in prefix of message, example: \"<\""
|
msgid "text to display before nick in prefix of message, example: \"<\""
|
||||||
msgstr "Text, der vor dem Nick dargestellt werden soll, Beispiel: \"<\""
|
msgstr "Text, der vor dem Nick dargestellt werden soll, Beispiel: \"<\""
|
||||||
@@ -5879,7 +6051,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Textfarbe für Nicks im Chatfenster: Farbe wird für einige Server-Nachrichten "
|
"Textfarbe für Nicks im Chatfenster: Farbe wird für einige Server-Nachrichten "
|
||||||
"verwendet und als Ersatz falls eine Farbe für einen Nick nicht gefunden "
|
"verwendet und als Ersatz falls eine Farbe für einen Nick nicht gefunden "
|
||||||
"wird; normalerweise wird die Farbe von der Option "
|
"wird; normalerweise wird die Farbe von der Option "
|
||||||
"weechat.color.chat_nick_colors bereitgestellt"
|
"weechat.color.chat_nick_colors bereitgestellt"
|
||||||
|
|
||||||
#. TRANSLATORS: please do not translate "lightred:blue"
|
#. TRANSLATORS: please do not translate "lightred:blue"
|
||||||
@@ -6881,8 +7053,8 @@ msgstr "schreibe - Variable"
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr "lese - Objekt-Typ"
|
msgstr "lese - Objekt-Typ"
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr "lese - falscher Typ für Objekt ('object start' wurde erwartet)"
|
msgstr "lese - falscher Typ für Objekt (\"object start\" wurde erwartet)"
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
msgstr "lese - Objekt-ID"
|
msgstr "lese - Objekt-ID"
|
||||||
@@ -6942,15 +7114,13 @@ msgstr "Übertragungsfehler"
|
|||||||
msgid "curl error %d (%s) (URL: \"%s\")\n"
|
msgid "curl error %d (%s) (URL: \"%s\")\n"
|
||||||
msgstr "curl Fehler %d (%s) (URL: \"%s\")\n"
|
msgstr "curl Fehler %d (%s) (URL: \"%s\")\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "%sURL transfer error: %s (URL: \"%s\")"
|
|
||||||
msgid "transfer stopped (URL: \"%s\")\n"
|
msgid "transfer stopped (URL: \"%s\")\n"
|
||||||
msgstr "%sURL Transferfehler: %s (URL: \"%s\")"
|
msgstr "Übertragung abgebrochen (URL: \"%s\")\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "End of URL transfer '%s', timeout reached (%.3fs)"
|
|
||||||
msgid "transfer timeout reached (%.3fs) (URL: \"%s\")\n"
|
msgid "transfer timeout reached (%.3fs) (URL: \"%s\")\n"
|
||||||
msgstr "Ende der URL-Übertragung „%s“, Zeitüberschreitung erreicht (%.3fs)"
|
msgstr "Übertragungszeitlimit erreicht (%.3fs) (URL: \"%s\")\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sAnother command \"%s\" already exists for plugin \"%s\""
|
msgid "%sAnother command \"%s\" already exists for plugin \"%s\""
|
||||||
@@ -6998,136 +7168,9 @@ msgstr "Ende der URL-Übertragung „%s“, Zeitüberschreitung erreicht (%.3fs)
|
|||||||
msgid "%sError running thread in hook_url: %s (URL: \"%s\")"
|
msgid "%sError running thread in hook_url: %s (URL: \"%s\")"
|
||||||
msgstr "%sFehler beim Ausführen des Threads in hook_url: %s (URL: \"%s\")"
|
msgstr "%sFehler beim Ausführen des Threads in hook_url: %s (URL: \"%s\")"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "End of URL transfer '%s', timeout reached (%.3fs)"
|
|
||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr "Ende der URL-Übertragung „%s“, Zeitüberschreitung erreicht (%.3fs)"
|
msgstr "Ende der URL-Übertragung '%s', Übertragung gestoppt"
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"WeeChat %s Copyright %s, kompiliert am %s %s\n"
|
|
||||||
"Entwickelt von Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "Aufruf: %s [Option...] [Erweiterung:Option...]\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect deaktiviert das automatische Verbinden mit den "
|
|
||||||
"Servern beim Start von WeeChat\n"
|
|
||||||
" -c, --colors zeigt die Standardfarben des Terminals an\n"
|
|
||||||
" -d, --dir <Pfad> legt einen Konfigurationsordner für WeeChat fest\n"
|
|
||||||
" oder fünf verschiedene Verzeichnisse, die durch "
|
|
||||||
"Doppelpunkte getrennt werden (in folgender Reihenfolge: Konfiguration, "
|
|
||||||
"Daten, Zustand, Cache, Laufzeit)\n"
|
|
||||||
" (Umgebungsvariable WEECHAT_HOME wird genutzt, "
|
|
||||||
"falls diese Option nicht verwendet wird)\n"
|
|
||||||
" -t, --temp-dir erstellt ein temporäres WeeChat "
|
|
||||||
"Heimatverzeichnis, welches beim Beenden von WeeChat gelöscht wird\n"
|
|
||||||
" (nicht nutzbar mit Option \"-d\")\n"
|
|
||||||
" -h, --help zeigt diese Hilfe an\n"
|
|
||||||
" -i, --build-info Build-Informationen anzeigen und beenden\n"
|
|
||||||
" -l, --license zeigt die Lizenz von WeeChat an\n"
|
|
||||||
" -p, --no-plugin unterbindet beim Programmstart das Laden von "
|
|
||||||
"Erweiterungen\n"
|
|
||||||
" -P, --plugins <plugins> beim Programmstart, werden nur die angegebenen "
|
|
||||||
"Erweiterungen geladen\n"
|
|
||||||
" (siehe /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> führt einen oder mehrere Befehle nach dem Start "
|
|
||||||
"aus\n"
|
|
||||||
" mehrere Befehle können durch ein Semikolon "
|
|
||||||
"getrennt werden und sind evaluiert,\n"
|
|
||||||
" diese Option kann mehrfach genutzt werden\n"
|
|
||||||
" -s, --no-script Skripts werden beim Programmstart nicht geladen\n"
|
|
||||||
" --upgrade führt ein WeeChat-Upgrade, mittels "
|
|
||||||
"Sitzungsdateien durch (benutze in WeeChat /help upgrade)\n"
|
|
||||||
" -v, --version zeigt die Version von WeeChat an\n"
|
|
||||||
" plugin:option Einstellungen für Erweiterungen (siehe man "
|
|
||||||
"weechat)\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr "Zusätzliche Optionen für den Hintergrundmodus:\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
" --doc-gen <path> generiert Dateien, um die Dokumentation zu "
|
|
||||||
"erstellen, danach Programm beenden\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
" --daemon startet WeeChat im Deamon-Modus (fork, neue "
|
|
||||||
"Prozessgruppe, Dateideskriptor geschlossen);\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
" (standardmäßig blockiert WeeChat im "
|
|
||||||
"Hintergrundmodus den Prozess und gibt das Terminal nicht frei)\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
" --stdout die Programmausgabe findet in der Standardausgabe "
|
|
||||||
"an, anstatt sie in die Protokolldatei zu schreiben\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
" (Option wird ignoriert, falls die Option \"--"
|
|
||||||
"daemon\" genutzt wird)\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
"Debug Optionen (für Tools wie valgrind, DIESE FUNKTIONEN SOLLTE NICHT IM "
|
|
||||||
"PRODUKTIVEM EINSATZ GENUTZT WERDEN):\n"
|
|
||||||
" --no-dlclose die Funktion dlclose wird nicht ausgeführt, "
|
|
||||||
"nachdem Erweiterungen beendet wurden\n"
|
|
||||||
" --no-gnutls deaktiviere init/deinit von gnutls\n"
|
|
||||||
" --no-gcrypt deaktiviere init/deinit von gcrypt\n"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "Fehler: fehlendes Argument für die Einstellung \"%s\"\n"
|
|
||||||
|
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr "WeeChat läuft im Hintergrundmodus (ctrl-c zum Beenden)."
|
msgstr "WeeChat läuft im Hintergrundmodus (ctrl-c zum Beenden)."
|
||||||
@@ -7176,7 +7219,7 @@ msgstr ""
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sYou should add this line in the file %s: %s"
|
msgid "%sYou should add this line in the file %s: %s"
|
||||||
msgstr "%sEs sollte folgende Zeile in Datei %s eingefügt werden: %s"
|
msgstr "%sEs sollte folgende Zeile in Datei %s eingefügt werden: %s"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -7477,7 +7520,7 @@ msgstr "Neue Tastenbelegung (Kontext \"%s\"): %s%s => %s%s"
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sUnable to bind key \"%s\" in context \"%s\" (see /help key)"
|
msgid "%sUnable to bind key \"%s\" in context \"%s\" (see /help key)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%sTastenbelegung „%s“ kann nicht in diesem Kontext „%s“ zugeordnet werden "
|
"%sTastenbelegung „%s“ kann nicht in diesem Kontext „%s“ zugeordnet werden "
|
||||||
"(siehe /help key)"
|
"(siehe /help key)"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -7595,7 +7638,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid "raw[list]: list aliases (without argument, this list is displayed)"
|
msgid "raw[list]: list aliases (without argument, this list is displayed)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"raw[list]: listet Alternativbefehle auf (ohne Angabe von Argumenten wird "
|
"raw[list]: listet Alternativbefehle auf (ohne Angabe von Argumenten wird "
|
||||||
"diese Liste dargestellt)"
|
"diese Liste dargestellt)"
|
||||||
|
|
||||||
msgid "raw[add]: add an alias"
|
msgid "raw[add]: add an alias"
|
||||||
@@ -7965,8 +8008,11 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
" - ${index_displayed}: Index der Zeile die in der Bar-Item angezeigt wird "
|
||||||
|
"(beginnt bei 0, nur Buffer die dargestellt werden erhöhen diesen Index, "
|
||||||
|
"siehe Option buflist.look.display_conditions)"
|
||||||
|
|
||||||
msgid "buflist bar items"
|
msgid "buflist bar items"
|
||||||
msgstr "Buflist Bar-Items"
|
msgstr "Buflist Bar-Items"
|
||||||
@@ -9341,7 +9387,7 @@ msgstr ""
|
|||||||
"erstes von zwei Formaten um Optionen anzuzeigen, wird genutzt wenn die "
|
"erstes von zwei Formaten um Optionen anzuzeigen, wird genutzt wenn die "
|
||||||
"Option fset.look.format_number auf 1 gesetzt ist (Hinweis: der Inhalt ist "
|
"Option fset.look.format_number auf 1 gesetzt ist (Hinweis: der Inhalt ist "
|
||||||
"evaluiert, siehe /help fset); eine leere Zeichenkette nutzt die "
|
"evaluiert, siehe /help fset); eine leere Zeichenkette nutzt die "
|
||||||
"Standardeinstellung (\"${marked} ${name} ${type} ${value2}\"), dies findet "
|
"Standardeinstellung (\"${marked} ${name} ${type} ${value2}\"), dies findet "
|
||||||
"ohne eine Evaluierung statt, was wesentlich schneller ist; zwischen den "
|
"ohne eine Evaluierung statt, was wesentlich schneller ist; zwischen den "
|
||||||
"Formaten kann mittels ctrl-x umgeschaltet werden"
|
"Formaten kann mittels ctrl-x umgeschaltet werden"
|
||||||
|
|
||||||
@@ -9355,7 +9401,7 @@ msgstr ""
|
|||||||
"zweites von zwei Formaten um Optionen anzuzeigen,wird genutzt wenn die "
|
"zweites von zwei Formaten um Optionen anzuzeigen,wird genutzt wenn die "
|
||||||
"Option fset.look.format_number auf 1 gesetzt ist (Hinweis: der Inhalt ist "
|
"Option fset.look.format_number auf 1 gesetzt ist (Hinweis: der Inhalt ist "
|
||||||
"evaluiert, siehe /help fset); eine leere Zeichenkette nutzt die "
|
"evaluiert, siehe /help fset); eine leere Zeichenkette nutzt die "
|
||||||
"Standardeinstellung (\"${marked} ${name} ${type} ${value2}\"), dies findet "
|
"Standardeinstellung (\"${marked} ${name} ${type} ${value2}\"), dies findet "
|
||||||
"ohne eine Evaluierung statt, was wesentlich schneller ist; zwischen den "
|
"ohne eine Evaluierung statt, was wesentlich schneller ist; zwischen den "
|
||||||
"Formaten kann mittels ctrl-x umgeschaltet werden"
|
"Formaten kann mittels ctrl-x umgeschaltet werden"
|
||||||
|
|
||||||
@@ -9792,7 +9838,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s%s: Keine Verbindung zum Server \"%s\"!"
|
msgstr "%s%s: Keine Verbindung zum Server \"%s\"!"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "%s: automatische Wiederverbindung abgebrochen"
|
msgstr "%s: automatische Wiederverbindung abgebrochen"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -9958,6 +10004,11 @@ msgid_plural "seconds"
|
|||||||
msgstr[0] "Sekunde"
|
msgstr[0] "Sekunde"
|
||||||
msgstr[1] "Sekunden"
|
msgstr[1] "Sekunden"
|
||||||
|
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "Millisekunde"
|
||||||
|
msgstr[1] "Millisekunden"
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] "Minute"
|
msgstr[0] "Minute"
|
||||||
@@ -10098,10 +10149,10 @@ msgstr ""
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
|
|
||||||
msgid "raw[-current]: execute command for channels of current server only"
|
msgid "raw[-current]: execute command for channels of current server only"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -10190,11 +10241,11 @@ msgstr ""
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-current]: execute command for private buffers of current server only"
|
"raw[-current]: execute command for private buffers of current server only"
|
||||||
@@ -10249,11 +10300,11 @@ msgstr "führt einen Befehl aus, der zu allen verbundenen Server gesendet wird"
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -10413,7 +10464,7 @@ msgstr ""
|
|||||||
"mit \"-\" beginnt, zum Beispiel: \"-multi-prefix\")"
|
"mit \"-\" beginnt, zum Beispiel: \"-multi-prefix\")"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"raw[ack]: bestätigt eine Fähigkeit, die von Serverseite eine Bestätigung "
|
"raw[ack]: bestätigt eine Fähigkeit, die von Serverseite eine Bestätigung "
|
||||||
"erfordert"
|
"erfordert"
|
||||||
@@ -12470,14 +12521,15 @@ msgstr "links/rechts im /list Buffer scrollen (prozentual zur Breite)"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Durch Kommas getrennte Liste von Feldern zum Sortieren von Kanälen (eine "
|
"Durch Kommas getrennte Liste von Feldern zum Sortieren von Kanälen (eine "
|
||||||
"Liste von Feldern finden Sie in /help list); Zeichen „-“ kann vor dem Feld "
|
"Liste von Feldern findet man in /help list); Das Zeichen \"-\" kann vor dem "
|
||||||
"verwendet werden, um die Reihenfolge umzukehren, Zeichen „~“ kann verwendet "
|
"Feld verwendet werden, um die Reihenfolge umzukehren, Zeichen \"~\" kann "
|
||||||
"werden, um einen Vergleich ohne Berücksichtigung der Groß- und "
|
"verwendet werden, um einen Vergleich ohne Berücksichtigung der Groß- und "
|
||||||
"Kleinschreibung durchzuführen; Beispiel: „-users,~name“ führt zuerst die "
|
"Kleinschreibung durchzuführen; Beispiel: \"-users,~name2\" führt zuerst die "
|
||||||
"größten Kanäle auf, dann erfolgt die Sortierung, ohne Berücksichtigung der "
|
"größten Kanäle auf, dann erfolgt die Sortierung, ohne Berücksichtigung der "
|
||||||
"Groß- und Kleinschreibung, nach Namen"
|
"Groß- und Kleinschreibung, nach Namen"
|
||||||
|
|
||||||
@@ -15896,7 +15948,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
|
|||||||
msgstr "%s%s: keine Verbindung zum Remote-Relay \"%s\""
|
msgstr "%s%s: keine Verbindung zum Remote-Relay \"%s\""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgstr "remote[%s]: automatische Wiederverbindung abgebrochen"
|
msgstr "remote[%s]: automatische Wiederverbindung abgebrochen"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -17814,7 +17866,7 @@ msgstr "erstelle Variable"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%lu%s running command %s\"%s%s%s\"%s on buffer %s%s%s"
|
msgid "%s%lu%s running command %s\"%s%s%s\"%s on buffer %s%s%s"
|
||||||
msgstr "%s%lu%s führe Befehl %s\"%s%s%s\"%s für Buffer %s%s%s aus"
|
msgstr "%s%lu%s führe Befehl %s\"%s%s%s\"%s für Buffer %s%s%s aus"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -18479,8 +18531,8 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s%s: ungültiger regulärer Ausdruck in Trigger: \"%s\""
|
msgstr "%s%s: ungültiger regulärer Ausdruck in Trigger: \"%s\""
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr "Tippstatus:"
|
msgstr "Tippstatus: "
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"number of seconds after paused status has been set: if reached, the typing "
|
"number of seconds after paused status has been set: if reached, the typing "
|
||||||
@@ -18528,6 +18580,14 @@ msgstr ""
|
|||||||
"maximale Anzahl von Zeichen, die im Bar-Item \"typing\" angezeigt werden (0 "
|
"maximale Anzahl von Zeichen, die im Bar-Item \"typing\" angezeigt werden (0 "
|
||||||
"= Inhalt nicht abschneiden)"
|
"= Inhalt nicht abschneiden)"
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
"Text, der vor den Nicks im Bar-Element \"typing\" angezeigt werden soll; "
|
||||||
|
"falls festgelegt, wird dieser anstelle der standardmäßigen Übersetzung "
|
||||||
|
"\"Tippstatus:\" verwendet"
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr "Tippstatus von Benutzern"
|
msgstr "Tippstatus von Benutzern"
|
||||||
|
|
||||||
@@ -18667,12 +18727,14 @@ msgstr ""
|
|||||||
"beim Versenden von Daten wird nicht auf ein Bestätigungssignal (ACK) gewartet"
|
"beim Versenden von Daten wird nicht auf ein Bestätigungssignal (ACK) gewartet"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"IP- oder DNS-Adresse, die zum Senden und passiven Empfangen von Dateien/"
|
"IP- oder DNS-Adresse, die zum Senden und passiven Empfangen von Dateien/"
|
||||||
"Chats verwendet wird (falls kein Wert angegeben ist, wird die IP der lokalen "
|
"Chats verwendet wird. Falls kein Wert angegeben ist, wird die IP der lokalen "
|
||||||
"Schnittstelle verwendet)"
|
"Schnittstelle verwendet (Hinweis: Der Inhalt wird ausgewertet, siehe /help "
|
||||||
|
"eval)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"restricts outgoing files/chats and incoming/passive files to use only ports "
|
"restricts outgoing files/chats and incoming/passive files to use only ports "
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2025-10-27 08:26+0100\n"
|
"PO-Revision-Date: 2026-03-12 20:24+0100\n"
|
||||||
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
|
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
|
||||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||||
"Language: es\n"
|
"Language: es\n"
|
||||||
@@ -34,6 +34,181 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "%s%s: unable to connect to sender"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "%s%s: no es posible conectarse al transmisor"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "use same nick color for channel and private"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "usar el mismo color de apodo en el canal y conversaciones privadas"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "mostrar el logo de WeeChat en el arranque"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "mostrar el logo de WeeChat en el arranque"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| "command executed when WeeChat starts, after loading plugins; multiple "
|
||||||
|
#| "commands can be separated by semicolons (note: commands are evaluated, "
|
||||||
|
#| "see /help eval)"
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr ""
|
||||||
|
"comando ejecutado cuando WeeChat inicia, después de cargar los plugins, "
|
||||||
|
"multiples comandos pueden ser separados por puntos y comas (nota: los "
|
||||||
|
"comandos se evaluan, ver /help eval)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "%sUnable to save session in file"
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr "%sError: no se pudo guardar la sesión"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat version at startup"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "mostrar la versión de WeeChat en el arranque"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "plugin pointer (optional)"
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr "puntero del plugin (opcional)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| " (by default in headless mode WeeChat is "
|
||||||
|
#| "blocking and does not run in background)\n"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
" (por defecto en el modo de segundo plano WeeChat "
|
||||||
|
"está bloqueado y no se ejecuta)\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| " --stdout display log messages on standard output "
|
||||||
|
#| "instead of writing them in log file\n"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
" --stdout imprime los registros (logs) en salida estandar "
|
||||||
|
"en lugar de escribirlos en un archivo\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat %s Copyright %s, compilado en %s %s\n"
|
||||||
|
"Desarrollado por Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "Usage: %s [option...] [plugin:option...]\n"
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "Uso: %s [opción...] [plugin:opción...]\n"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "Extra options in headless mode:\n"
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr "Opciones extra en el modo de segundo plano:\n"
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "Error: falta un argumento para la opción \"%s\"\n"
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Lista de barras:"
|
msgstr "Lista de barras:"
|
||||||
|
|
||||||
@@ -143,15 +318,15 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%sError: no se puede desplazar la barra \"%s\""
|
msgstr "%sError: no se puede desplazar la barra \"%s\""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr "%sNúmero de buffer \"%d\" inválido (debe ser entre 1 y %d)"
|
msgstr "%sNúmero de buffer %d inválido (debe ser entre 1 y %d)"
|
||||||
|
|
||||||
msgid "Buffers list:"
|
msgid "Buffers list:"
|
||||||
msgstr "Lista de buffers:"
|
msgstr "Lista de buffers:"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid " %s[%s%d%s]%s %s%s.%s%s%s (notify: %s%s%s)%s%s"
|
msgid " %s[%s%d%s]%s %s%s.%s%s%s (notify: %s%s%s)%s%s"
|
||||||
msgstr " %s[%s%d%s]%s %s%s.%s%s%s (aviso: %s%s%s)%s%s)"
|
msgstr " %s[%s%d%s]%s %s%s.%s%s%s (aviso: %s%s%s)%s%s)"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sBuffer name \"%s\" is reserved for WeeChat"
|
msgid "%sBuffer name \"%s\" is reserved for WeeChat"
|
||||||
@@ -179,7 +354,7 @@ msgstr "%sError: el buffer principal de WeeChat no puede ser cerrado"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Notify for \"%s%s%s\": \"%s%s%s\""
|
msgid "Notify for \"%s%s%s\": \"%s%s%s\""
|
||||||
msgstr "Notificar \"%s%s%s\": \"%s%s%s\""
|
msgstr "Notificar \"%s%s%s\": \"%s%s%s\""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sUnable to set notify level \"%s\""
|
msgid "%sUnable to set notify level \"%s\""
|
||||||
@@ -511,9 +686,9 @@ msgstr ""
|
|||||||
"atajos"
|
"atajos"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "%d nuevo atajo agregado"
|
msgstr[0] "%d nuevo atajo agregado (contexto: \"%s\")"
|
||||||
msgstr[1] "%d nuevos atajos agregados (contexto: \"%s\")"
|
msgstr[1] "%d nuevos atajos agregados (contexto: \"%s\")"
|
||||||
|
|
||||||
msgid "Stored layouts:"
|
msgid "Stored layouts:"
|
||||||
@@ -1151,7 +1326,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -1648,8 +1823,12 @@ msgid "evaluate expression"
|
|||||||
msgstr "evaluar expresión"
|
msgstr "evaluar expresión"
|
||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| "[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
|
#| "<expression2>"
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-n|-s] [-d] <expresión> || [-n] [-d [-d]] -c <expresión1> <operador> "
|
"[-n|-s] [-d] <expresión> || [-n] [-d [-d]] -c <expresión1> <operador> "
|
||||||
@@ -1663,6 +1842,9 @@ msgid ""
|
|||||||
"separated by semicolons)"
|
"separated by semicolons)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2210,7 +2392,7 @@ msgstr "mostrar ayuda sobre los comandos y opciones"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opción>"
|
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opción>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2273,9 +2455,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[remove]: remove current buffer from hotlist"
|
msgid "raw[remove]: remove current buffer from hotlist"
|
||||||
@@ -3173,7 +3355,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
@@ -3447,20 +3629,20 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -3727,7 +3909,7 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -6190,8 +6372,8 @@ msgstr "escritura - variable"
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr "lectura - tipo objeto"
|
msgstr "lectura - tipo objeto"
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr "lectura - tipo de objeto incorrecto (se esperaba 'object start')"
|
msgstr "lectura - tipo de objeto incorrecto (se esperaba \"object start\")"
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
msgstr "lectura - id objeto"
|
msgstr "lectura - id objeto"
|
||||||
@@ -6312,152 +6494,6 @@ msgstr ""
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr "Fin del comando '%s', tiempo de espera alcanzado (%.1fs)"
|
msgstr "Fin del comando '%s', tiempo de espera alcanzado (%.1fs)"
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"WeeChat %s Copyright %s, compilado en %s %s\n"
|
|
||||||
"Desarrollado por Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "Uso: %s [opción...] [plugin:opción...]\n"
|
|
||||||
|
|
||||||
#
|
|
||||||
#, fuzzy
|
|
||||||
#| msgid ""
|
|
||||||
#| " -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
#| " -c, --colors display default colors in terminal\n"
|
|
||||||
#| " -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
#| " or 4 different directories separated by colons "
|
|
||||||
#| "(in this order: config, data, cache, runtime)\n"
|
|
||||||
#| " (environment variable WEECHAT_HOME is read if "
|
|
||||||
#| "this option is not given)\n"
|
|
||||||
#| " -t, --temp-dir create a temporary WeeChat homedirectory and "
|
|
||||||
#| "delete it on exit\n"
|
|
||||||
#| " (incompatible with option \"-d\")\n"
|
|
||||||
#| " -h, --help display this help\n"
|
|
||||||
#| " -l, --license display WeeChat license\n"
|
|
||||||
#| " -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
#| " -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
#| " (see /help weechat.plugin.autoload)\n"
|
|
||||||
#| " -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
#| " many commands can be separated by semicolons "
|
|
||||||
#| "and are evaluated,\n"
|
|
||||||
#| " this option can be given multiple times\n"
|
|
||||||
#| " -s, --no-script don't load any script at startup\n"
|
|
||||||
#| " --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
#| "upgrade in WeeChat)\n"
|
|
||||||
#| " -v, --version display WeeChat version\n"
|
|
||||||
#| " plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect desactivar la autoconexión de los servidores al "
|
|
||||||
"inicio\n"
|
|
||||||
" -c, --colors mostrar los colores predeterminados en la "
|
|
||||||
"terminal\n"
|
|
||||||
" -d, --dir <path> establecer el directorio raíz de WeeChat\n"
|
|
||||||
" o 4 directorios diferentes separados por dos "
|
|
||||||
"puntos (en este orden: configuración, datos, cache, ejecución)\n"
|
|
||||||
" (la variable WEECHAT_HOME es usada si esta opción "
|
|
||||||
"no es dada)\n"
|
|
||||||
" -t, --temp-dir crear un directorio raíz temporal para weechat y "
|
|
||||||
"borrarlo al salir\n"
|
|
||||||
" (incompatible con la opción \"-d\")\n"
|
|
||||||
" -h, --help mostrar esta ayuda\n"
|
|
||||||
" -l, --license mostrar la licencia de Weechat\n"
|
|
||||||
" -p, --no-plugin no cargar ningún plugin al inicio\n"
|
|
||||||
" -P, --plugins <plugins> cargar solo estos plugins al inicio\n"
|
|
||||||
" (ver /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> ejecutar un comando luego del inicio;\n"
|
|
||||||
" varios cmoandos pueden ser separados por dos "
|
|
||||||
"puntos y son evaluados\n"
|
|
||||||
" esta opción se puede usar varias veces\n"
|
|
||||||
" -s, --no-script no cargar ningún script al inicio\n"
|
|
||||||
" --upgrade actualizar WeeChat usando archivos de sesión "
|
|
||||||
"(ver /help upgrade in WeeChat)\n"
|
|
||||||
" -v, --version mostrar la versión de WeeChat\n"
|
|
||||||
" plugin:option opción para plugin (ver man weechat)\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr "Opciones extra en el modo de segundo plano:\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
" --daemon ejecuta WeeChat como un daemon (fork, nuevo grupo "
|
|
||||||
"de procesos, file descriptores cerrados);\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
" (por defecto en el modo de segundo plano WeeChat "
|
|
||||||
"está bloqueado y no se ejecuta)\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
" --stdout imprime los registros (logs) en salida estandar "
|
|
||||||
"en lugar de escribirlos en un archivo\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
" (opción ignorada si la opción \"--daemon\" es "
|
|
||||||
"indicada)\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
"Opciones de depuración (para herramientas como valgrind, NO USAR EN "
|
|
||||||
"PRODUCCIÓN):\n"
|
|
||||||
" --no-dlclose no llamar a la función dlclose luego de que los "
|
|
||||||
"plugins estén descargados\n"
|
|
||||||
" --no-gnutls desactivar init/deinit de gnutls\n"
|
|
||||||
" --no-gcrypt desactivar init/deinit de gcrypt\n"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "Error: falta un argumento para la opción \"%s\"\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "WeeChat is running in headless mode (Ctrl-C to quit)."
|
#| msgid "WeeChat is running in headless mode (Ctrl-C to quit)."
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
@@ -6506,7 +6542,7 @@ msgstr ""
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sYou should add this line in the file %s: %s"
|
msgid "%sYou should add this line in the file %s: %s"
|
||||||
msgstr "%sDeberías añadir esta línea al archivo %s: %s"
|
msgstr "%sDeberías añadir esta línea al archivo %s: %s"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -6781,7 +6817,7 @@ msgstr ""
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "New key binding (context \"%s\"): %s%s => %s%s"
|
msgid "New key binding (context \"%s\"): %s%s => %s%s"
|
||||||
msgstr "Nuevo atajo (contexto \"%s\"): %s%s => %s%s"
|
msgstr "Nuevo atajo (contexto \"%s\"): %s%s => %s%s"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
#| msgid "%sUnable to bind key \"%s\""
|
#| msgid "%sUnable to bind key \"%s\""
|
||||||
@@ -7197,7 +7233,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8761,7 +8797,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s%s: ¡no conectado al servidor \"%s\"!"
|
msgstr "%s%s: ¡no conectado al servidor \"%s\"!"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "%s: autoreconexión cancelada"
|
msgstr "%s: autoreconexión cancelada"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -8929,6 +8965,14 @@ msgid_plural "seconds"
|
|||||||
msgstr[0] "segundo"
|
msgstr[0] "segundo"
|
||||||
msgstr[1] "segundos"
|
msgstr[1] "segundos"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "second"
|
||||||
|
#| msgid_plural "seconds"
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "segundo"
|
||||||
|
msgstr[1] "segundos"
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] "minuto"
|
msgstr[0] "minuto"
|
||||||
@@ -9092,7 +9136,7 @@ msgstr ""
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
|
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9197,8 +9241,8 @@ msgstr ""
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
|
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9253,8 +9297,8 @@ msgstr "ejecuta un comando en todos los servidores conectados"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
|
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
@@ -9419,7 +9463,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -11510,8 +11554,9 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -11555,7 +11600,7 @@ msgid ""
|
|||||||
"channel/pv of server)"
|
"channel/pv of server)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"fuerza la posición de nuevos privados en la lista de buffers (none = "
|
"fuerza la posición de nuevos privados en la lista de buffers (none = "
|
||||||
"posición predeterminada (último buffer), next = buffer actual + 1, "
|
"posición predeterminada (último buffer), next = buffer actual + 1, "
|
||||||
"near_server = después del último canal/privado del server)"
|
"near_server = después del último canal/privado del server)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -12799,7 +12844,7 @@ msgstr "%s%s: no conectado al servidor \"%s\" para la redirección"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: missing argument \"%s\" for redirect"
|
msgid "%s%s: missing argument \"%s\" for redirect"
|
||||||
msgstr "%s%s: falta el argumento \"%s\" para la redirección"
|
msgstr "%s%s: falta el argumento \"%s\" para la redirección"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: redirect pattern \"%s\" not found"
|
msgid "%s%s: redirect pattern \"%s\" not found"
|
||||||
@@ -14886,10 +14931,9 @@ msgstr "%s%s: no se encontró el servidor \"%s\" para el comando \"%s\""
|
|||||||
msgid "%s%s: no connection to remote relay \"%s\""
|
msgid "%s%s: no connection to remote relay \"%s\""
|
||||||
msgstr "%s%s: ¡no conectado al servidor \"%s\"!"
|
msgstr "%s%s: ¡no conectado al servidor \"%s\"!"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "%s: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgstr ""
|
||||||
msgstr "%s: autoreconexión cancelada"
|
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
||||||
@@ -17233,7 +17277,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s%s: error al compilar la expresión regular \"%s\""
|
msgstr "%s%s: error al compilar la expresión regular \"%s\""
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -17267,6 +17311,11 @@ msgid ""
|
|||||||
"truncate content)"
|
"truncate content)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -17419,8 +17468,9 @@ msgstr "no esperar por el ACK al enviar un archivo"
|
|||||||
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
||||||
#| "IP is used)"
|
#| "IP is used)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"dirección IP o DNS usado para enviar archivos/charlas (si está vacío, se "
|
"dirección IP o DNS usado para enviar archivos/charlas (si está vacío, se "
|
||||||
"utiliza la IP de interfaz local)"
|
"utiliza la IP de interfaz local)"
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2026-03-16 13:18+0100\n"
|
"PO-Revision-Date: 2026-03-21 17:29+0100\n"
|
||||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||||
"Language: fr\n"
|
"Language: fr\n"
|
||||||
@@ -33,6 +33,164 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "désactiver l'auto-connexion aux serveurs au démarrage"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr "afficher les couleurs par défaut du terminal et quitter"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr "-d, --dir <rep>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
"forcer un unique répertoire de base pour WeeChat ou 5 répertoires différents "
|
||||||
|
"séparés par \":\" (dans cet ordre : config, data, state, cache, runtime) (la "
|
||||||
|
"variable d'environnement WEECHAT_HOME est lue si cette option n'est pas "
|
||||||
|
"donnée)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
"créer un répertoire de base WeeChat temporaire et le supprimer en quittant "
|
||||||
|
"(incompatible avec l'option \"-d\")"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "afficher cette aide et quitter"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr "afficher les informations de construction et quitter"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "afficher la licence WeeChat et quitter"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "ne charger aucune extension au démarrage"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr "-P, --plugins <exts>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
"charger uniquement ces extensions au démarrage (voir /help "
|
||||||
|
"weechat.plugin.autoload)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr "-r, --run-command <cmd>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr ""
|
||||||
|
"lancer la/les commande(s) après le démarrage ; plusieurs commandes peuvent "
|
||||||
|
"être séparées par des points-virgules et sont évaluées, cette option peut "
|
||||||
|
"être donnée plusieurs fois"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr "ne charger aucun script au démarrage"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr ""
|
||||||
|
"mettre à jour WeeChat en utilisant les fichiers de session (voir /help "
|
||||||
|
"upgrade dans WeeChat)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "afficher la version de WeeChat et quitter"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr "extension:option"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr "option pour une extension (voir man weechat)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr "--doc-gen <rep>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr "générer les fichiers pour construire la documentation et quitter"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
"lancer WeeChat comme un « daemon » (fork, nouveau groupe pour le processus, "
|
||||||
|
"fermeture des descripteurs de fichiers) ; par défaut en mode sans interface "
|
||||||
|
"WeeChat est bloquant et ne tourne pas en tâche de fond"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
"afficher les messages de log sur la sortie standard plutôt que de les écrire "
|
||||||
|
"dans le fichier de log (option ignorée si l'option \"--daemon\" est donnée)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
"ne pas appeler la fonction dlclose après le déchargement des extensions"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr "désactiver init/deinit de gnutls"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr "désactiver init/deinit de gcrypt"
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat %s Copyright %s, compilé le %s %s\n"
|
||||||
|
"Développé par Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr "Utilisation :"
|
||||||
|
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "[option...] [extension:option...]"
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr "Options supplémentaires en mode sans interface (« headless ») :"
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
"Options de debug (pour des outils comme Valgrind, NE PAS UTILISER EN "
|
||||||
|
"PRODUCTION) :"
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "Erreur : paramètre manquant pour l'option \"%s\"\n"
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Liste des barres :"
|
msgstr "Liste des barres :"
|
||||||
|
|
||||||
@@ -139,7 +297,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%sImpossible de faire défiler la barre \"%s\""
|
msgstr "%sImpossible de faire défiler la barre \"%s\""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%sLe numéro de tampon %d est en dehors des limites (il doit être entre 1 et "
|
"%sLe numéro de tampon %d est en dehors des limites (il doit être entre 1 et "
|
||||||
"%d)"
|
"%d)"
|
||||||
@@ -488,7 +646,7 @@ msgstr ""
|
|||||||
"(raison de sécurité)"
|
"(raison de sécurité)"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "%d nouvelle touche ajoutée (contexte : \"%s\")"
|
msgstr[0] "%d nouvelle touche ajoutée (contexte : \"%s\")"
|
||||||
msgstr[1] "%d nouvelles touches ajoutées (contexte : \"%s\")"
|
msgstr[1] "%d nouvelles touches ajoutées (contexte : \"%s\")"
|
||||||
@@ -1102,10 +1260,10 @@ msgstr "raw[set] : changer la valeur d'une propriété de la barre"
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"option : option à modifier (pour la liste des options, voir /set weechat.bar."
|
"option : option à modifier (pour la liste des options, voir /set weechat.bar."
|
||||||
"<nombarre>.*)"
|
"<nom_barre>.*)"
|
||||||
|
|
||||||
msgid "value: new value for option"
|
msgid "value: new value for option"
|
||||||
msgstr "valeur : nouvelle valeur pour l'option"
|
msgstr "valeur : nouvelle valeur pour l'option"
|
||||||
@@ -1172,14 +1330,14 @@ msgstr ""
|
|||||||
"list || add [-free] [-switch] <nom> || clear [<id>|<numéro>|<nom>|-merged|-"
|
"list || add [-free] [-switch] <nom> || clear [<id>|<numéro>|<nom>|-merged|-"
|
||||||
"all [<id>|<numéro>|<nom>...]] || move <numéro>|-|+ || swap <id1>|<numéro1>|"
|
"all [<id>|<numéro>|<nom>...]] || move <numéro>|-|+ || swap <id1>|<numéro1>|"
|
||||||
"<nom1> [<id2>|<numéro2>|<nom2>] || cycle <id>|<numéro>|<nom>... || merge "
|
"<nom1> [<id2>|<numéro2>|<nom2>] || cycle <id>|<numéro>|<nom>... || merge "
|
||||||
"<id>|<numéro>|<nom> || unmerge [<id>|<numéro>|-all] || hide [<id>|<numéro>|"
|
"<id>|<numéro>|<nom> || unmerge [<numéro>|-all] || hide [<id>|<numéro>|<nom>|-"
|
||||||
"<nom>|-all [<id>|<numéro>|<nom>...]] || unhide [<id>|<numéro>|<nom>|-all "
|
"all [<id>|<numéro>|<nom>...]] || unhide [<id>|<numéro>|<nom>|-all [<id>|"
|
||||||
"[<id>|<numéro>|<nom>...]] || switch [-previous] || zoom || renumber "
|
"<numéro>|<nom>...]] || switch [-previous] || zoom || renumber [<numéro1> "
|
||||||
"<numéro1> [<numéro2> [<départ>]] || close [<n1>[-<n2>]|<nom>...] || notify "
|
"[<numéro2> [<départ>]]] || close [<n1>[-<n2>]|<nom>...] || notify [<niveau>] "
|
||||||
"[<niveau>] || listvar [<id>|<numéro>|<nom>] || setvar <nom> [<valeur>] || "
|
"|| listvar [<id>|<numéro>|<nom>] || setvar <nom> [<valeur>] || delvar <nom> "
|
||||||
"delvar <nom> || set <propriété> [<valeur>] || setauto <propriété> [<valeur>] "
|
"|| set <propriété> [<valeur>] || setauto <propriété> [<valeur>] || get "
|
||||||
"|| get <propriété> || jump smart|last_displayed|prev_visited|next_visited || "
|
"<propriété> || jump smart|last_displayed|prev_visited|next_visited || <id>|"
|
||||||
"<id>|<numéro>|-|+|<nom>"
|
"<numéro>|-|+|<nom>"
|
||||||
|
|
||||||
msgid "raw[list]: list buffers (without argument, this list is displayed)"
|
msgid "raw[list]: list buffers (without argument, this list is displayed)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -1356,7 +1514,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"nom : sauter au tampon par nom (partiel) ; si le nom commence par \"(?i)\", "
|
"nom : sauter au tampon par nom (partiel) ; si le nom commence par \"(?i)\", "
|
||||||
"la recherche est insensible à la casse (par exemple \"(?i)upper\" trouvera "
|
"la recherche est insensible à la casse (par exemple \"(?i)upper\" trouvera "
|
||||||
"le tampon \"irc.libera.#UPPERCASE)"
|
"le tampon \"irc.libera.#UPPERCASE\")"
|
||||||
|
|
||||||
msgid "define color aliases and display palette of colors"
|
msgid "define color aliases and display palette of colors"
|
||||||
msgstr "définir des alias de couleurs et afficher la palette des couleurs"
|
msgstr "définir des alias de couleurs et afficher la palette des couleurs"
|
||||||
@@ -1664,11 +1822,11 @@ msgstr "évaluer une expression"
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-n|-s] [-d [-d]] <expression> || [-n] [-d] -c <expression1> <opérateur> "
|
"[-n|-s] [-e] [-d [-d]] <expression> || [-n] [-d] -c <expression1> "
|
||||||
"<expression2>"
|
"<opérateur> <expression2>"
|
||||||
|
|
||||||
msgid "raw[-n]: display result without sending it to buffer (debug mode)"
|
msgid "raw[-n]: display result without sending it to buffer (debug mode)"
|
||||||
msgstr "raw[-n] : afficher le résultat sans envoyer au tampon (mode debug)"
|
msgstr "raw[-n] : afficher le résultat sans envoyer au tampon (mode debug)"
|
||||||
@@ -1680,6 +1838,9 @@ msgstr ""
|
|||||||
"raw[-s] : découper l'expression avant de l'évaluer (plusieurs commandes "
|
"raw[-s] : découper l'expression avant de l'évaluer (plusieurs commandes "
|
||||||
"peuvent être séparées par des points-virgules)"
|
"peuvent être séparées par des points-virgules)"
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr "raw[-e] : évaluer toutes les commandes avant de les exécuter"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2140,7 +2301,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"list || enable|disable|toggle [<nom>|<masque>|@...] || add|addreplace <nom> "
|
"list || enable|disable|toggle [<nom>|<masque>|@...] || add|addreplace <nom> "
|
||||||
"<tampon>[,<tampon>...] <étiquettes> <regex> || rename <nom> <nouveau_nom> || "
|
"<tampon>[,<tampon>...] <étiquettes> <regex> || rename <nom> <nouveau_nom> || "
|
||||||
"recreate <nom>|<masque> || del <nom>|<masque>..."
|
"recreate <nom> || del <nom>|<masque>..."
|
||||||
|
|
||||||
msgid "raw[list]: list all filters"
|
msgid "raw[list]: list all filters"
|
||||||
msgstr "raw[list] : lister tous les filtres"
|
msgstr "raw[list] : lister tous les filtres"
|
||||||
@@ -2315,7 +2476,7 @@ msgid "display help about commands and options"
|
|||||||
msgstr "afficher l'aide sur les commandes et les options"
|
msgstr "afficher l'aide sur les commandes et les options"
|
||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr "-list|-listfull [<extension>...] || <commande> || <option>"
|
msgstr "-list|-listfull [<extension>...] || <commande> || <option>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2373,9 +2534,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr "raw[clear] : effacer la hotlist"
|
msgstr "raw[clear] : effacer la hotlist"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"niveau : \"lowest\" pour effacer seulement le plus petit niveau dans la "
|
"niveau : \"lowest\" pour effacer seulement le plus petit niveau dans la "
|
||||||
"hotlist, \"highest\" pour effacer seulement le niveau le plus haut dans la "
|
"hotlist, \"highest\" pour effacer seulement le niveau le plus haut dans la "
|
||||||
@@ -2751,14 +2912,14 @@ msgid ""
|
|||||||
"context \"default\")"
|
"context \"default\")"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"raw[bind] : associer une commande à une touche ou affiche la commande "
|
"raw[bind] : associer une commande à une touche ou affiche la commande "
|
||||||
"associée à la touche"
|
"associée à la touche (pour le contexte \"default\")"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[bindctxt]: bind a command to a key or display command bound to key, for "
|
"raw[bindctxt]: bind a command to a key or display command bound to key, for "
|
||||||
"given context"
|
"given context"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"raw[bindctxt] : associer une commande à une touche ou affiche la commande "
|
"raw[bindctxt] : associer une commande à une touche ou affiche la commande "
|
||||||
"associée à la touche pour le contexte donné"
|
"associée à la touche, pour le contexte donné"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"command: command (many commands can be separated by semicolons); quotes can "
|
"command: command (many commands can be separated by semicolons); quotes can "
|
||||||
@@ -2769,14 +2930,18 @@ msgstr ""
|
|||||||
"espaces au début et à la fin de la commande"
|
"espaces au début et à la fin de la commande"
|
||||||
|
|
||||||
msgid "raw[unbind]: remove a key binding (for context \"default\")"
|
msgid "raw[unbind]: remove a key binding (for context \"default\")"
|
||||||
msgstr "raw[unbind] : supprimer l'association à une touche"
|
msgstr ""
|
||||||
|
"raw[unbind] : supprimer l'association à une touche (pour le contexte "
|
||||||
|
"\"default\")"
|
||||||
|
|
||||||
msgid "raw[unbindctxt]: remove a key binding for given context"
|
msgid "raw[unbindctxt]: remove a key binding for given context"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"raw[unbindctxt] : supprimer l'association à une touche pour le contexte donné"
|
"raw[unbindctxt] : supprimer l'association à une touche pour le contexte donné"
|
||||||
|
|
||||||
msgid "raw[reset]: reset a key to default binding (for context \"default\")"
|
msgid "raw[reset]: reset a key to default binding (for context \"default\")"
|
||||||
msgstr "raw[reset] : réinitialiser une touche à son association par défaut"
|
msgstr ""
|
||||||
|
"raw[reset] : réinitialiser une touche à son association par défaut (pour le "
|
||||||
|
"contexte \"default\")"
|
||||||
|
|
||||||
msgid "raw[resetctxt]: reset a key to default binding, for given context"
|
msgid "raw[resetctxt]: reset a key to default binding, for given context"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -3153,7 +3318,7 @@ msgid ""
|
|||||||
"|| unload [<name>]"
|
"|| unload [<name>]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"list [-o|-ol|-i|-il|<nom>] || listfull [<nom>] || load <fichier> "
|
"list [-o|-ol|-i|-il|<nom>] || listfull [<nom>] || load <fichier> "
|
||||||
"[<paramètres>] || autoload [<paramètres>] || reload [<nom>|* [<paramètres]] "
|
"[<paramètres>] || autoload [<paramètres>] || reload [<nom>|* [<paramètres>]] "
|
||||||
"|| unload [<nom>]"
|
"|| unload [<nom>]"
|
||||||
|
|
||||||
msgid "raw[list]: list loaded plugins"
|
msgid "raw[list]: list loaded plugins"
|
||||||
@@ -3408,10 +3573,10 @@ msgstr "raw[set] : changer la valeur d'une propriété d'un proxy"
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"option : option à modifier (pour la liste des options, voir /set "
|
"option : option à modifier (pour la liste des options, voir /set "
|
||||||
"weechat.proxy.<proxyname>.*)"
|
"weechat.proxy.<nom_proxy>.*)"
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
msgstr " ajouter un proxy http, tournant en local, port 8888 :"
|
msgstr " ajouter un proxy http, tournant en local, port 8888 :"
|
||||||
@@ -3603,7 +3768,9 @@ msgstr "raw[-delete] : supprimer la phrase de chiffrement"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"raw[decrypt]: decrypt data still encrypted (it happens only if passphrase "
|
"raw[decrypt]: decrypt data still encrypted (it happens only if passphrase "
|
||||||
"was not given on startup)"
|
"was not given on startup)"
|
||||||
msgstr "raw[decrypt] : déchiffrer les données toujours chiffrées"
|
msgstr ""
|
||||||
|
"raw[decrypt] : déchiffrer les données toujours chiffrées (cela se produit "
|
||||||
|
"seulement si la phrase de chiffrement n'a pas été donnée au démarrage)"
|
||||||
|
|
||||||
msgid "raw[-discard]: discard all data still encrypted"
|
msgid "raw[-discard]: discard all data still encrypted"
|
||||||
msgstr "raw[-discard] : jeter toutes les données encore chiffrées"
|
msgstr "raw[-discard] : jeter toutes les données encore chiffrées"
|
||||||
@@ -3639,11 +3806,12 @@ msgid ""
|
|||||||
"of an external command like a password manager (see /help "
|
"of an external command like a password manager (see /help "
|
||||||
"sec.crypt.passphrase_command)."
|
"sec.crypt.passphrase_command)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Il est possible de définir la variable d'environnement WEECHAT_PASSPHRASE "
|
"Il est possible de définir la variable d'environnement "
|
||||||
"pour éviter la demande (cette même variable est utilisée par WeeChat sur le /"
|
"\"WEECHAT_PASSPHRASE\" pour éviter la demande (cette même variable est "
|
||||||
"upgrade) ou de définir l'option sec.crypt.passphrase_command pour lire la "
|
"utilisée par WeeChat sur le /upgrade) ou de définir l'option "
|
||||||
"phrase de chiffrement depuis la sortie d'une commande externe comme un "
|
"sec.crypt.passphrase_command pour lire la phrase de chiffrement depuis la "
|
||||||
"coffre-fort à mots de passe (voir /help sec.crypt.passphrase_command)."
|
"sortie d'une commande externe comme un coffre-fort à mots de passe (voir /"
|
||||||
|
"help sec.crypt.passphrase_command)."
|
||||||
|
|
||||||
msgid "Secured data with format ${sec.data.xxx} can be used in:"
|
msgid "Secured data with format ${sec.data.xxx} can be used in:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -3682,23 +3850,23 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr " chiffrer le mot de passe libera SASL :"
|
msgstr " chiffrer le mot de passe libera SASL :"
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr " /secure set libera motdepasse"
|
msgstr " /secure set libera mot_de_passe"
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr " chiffrer le mot de passe oftc pour nickserv :"
|
msgstr " chiffrer le mot de passe oftc pour nickserv :"
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr " /secure set oftc motdepasse"
|
msgstr " /secure set oftc mot_de_passe"
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr " alias pour ghost du pseudo \"pseudo\" :"
|
msgstr " alias pour ghost du pseudo \"andrew\" :"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost monpseudo $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
|
|
||||||
msgid "set config options and environment variables"
|
msgid "set config options and environment variables"
|
||||||
@@ -3962,9 +4130,9 @@ msgid ""
|
|||||||
"the reload of TLS sessions is currently not possible with GnuTLS. There is "
|
"the reload of TLS sessions is currently not possible with GnuTLS. There is "
|
||||||
"automatic reconnection after upgrade."
|
"automatic reconnection after upgrade."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Note : les connexions TLS sont perdues durant la mise à jour, car le "
|
"Note : les connexions TLS sont perdues durant la mise à jour (sauf avec "
|
||||||
"rechargement de session TLS n'est pas possible actuellement avec GnuTLS. Il "
|
"-save), car le rechargement de session TLS n'est pas possible actuellement "
|
||||||
"y a une reconnexion automatique après la mise à jour."
|
"avec GnuTLS. Il y a une reconnexion automatique après la mise à jour."
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Important: use of option \"-save\" can be dangerous, it is recommended to "
|
"Important: use of option \"-save\" can be dangerous, it is recommended to "
|
||||||
@@ -4002,8 +4170,8 @@ msgstr " 4. exécuter le nouveau binaire WeeChat et recharger la session."
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr "Avec l'option \"-quit\", le processus est le suivant :"
|
msgstr "Avec l'option \"-quit\", le processus est le suivant :"
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr " 1. fermer *TOUTES* les connexions"
|
msgstr " 1. fermer *TOUTES* les connexions (irc, xfer, relay, etc.)"
|
||||||
|
|
||||||
msgid " 2. save session into files (*.upgrade)"
|
msgid " 2. save session into files (*.upgrade)"
|
||||||
msgstr " 2. sauvegarder la session (fichiers *.upgrade)"
|
msgstr " 2. sauvegarder la session (fichiers *.upgrade)"
|
||||||
@@ -4205,7 +4373,9 @@ msgid "raw[balance]: balance the sizes of all windows"
|
|||||||
msgstr "raw[balance] : équilibrer la taille de toutes les fenêtres"
|
msgstr "raw[balance] : équilibrer la taille de toutes les fenêtres"
|
||||||
|
|
||||||
msgid "raw[merge]: merge window with another (raw[all] = keep only one window)"
|
msgid "raw[merge]: merge window with another (raw[all] = keep only one window)"
|
||||||
msgstr "raw[merge] : fusionner la fenêtre avec une autre"
|
msgstr ""
|
||||||
|
"raw[merge] : fusionner la fenêtre avec une autre (raw[all] = garder une "
|
||||||
|
"seule fenêtre)"
|
||||||
|
|
||||||
msgid "raw[close]: close window"
|
msgid "raw[close]: close window"
|
||||||
msgstr "raw[close] : fermer la fenêtre"
|
msgstr "raw[close] : fermer la fenêtre"
|
||||||
@@ -4762,9 +4932,10 @@ msgid ""
|
|||||||
"buffer has no layout number"
|
"buffer has no layout number"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"position d'un nouveau tampon : end = après la fin de la liste (numéro = "
|
"position d'un nouveau tampon : end = après la fin de la liste (numéro = "
|
||||||
"dernier numéro + 1), first_gap = au premier numéro disponible dans la liste "
|
"dernier numéro + 1) (par défaut), first_gap = au premier numéro disponible "
|
||||||
"(après la fin de la liste si aucun numéro n'est disponible) ; cette option "
|
"dans la liste (après la fin de la liste si aucun numéro n'est disponible) ; "
|
||||||
"est utilisée seulement si le tampon n'a pas de numéro dans le \"layout\""
|
"cette option est utilisée seulement si le tampon n'a pas de numéro dans le "
|
||||||
|
"\"layout\""
|
||||||
|
|
||||||
msgid "default text search in buffer: case-sensitive or not"
|
msgid "default text search in buffer: case-sensitive or not"
|
||||||
msgstr "recherche par défaut dans le tampon : sensible à la casse ou non"
|
msgstr "recherche par défaut dans le tampon : sensible à la casse ou non"
|
||||||
@@ -5103,12 +5274,12 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"conditions pour ajouter un tampon dans la hotlist (si le niveau de "
|
"conditions pour ajouter un tampon dans la hotlist (si le niveau de "
|
||||||
"notification est OK pour le tampon) ; vous pouvez utiliser dans ces "
|
"notification est OK pour le tampon) ; vous pouvez utiliser dans ces "
|
||||||
"conditions : \\\"window\\\" (pointeur de la fenêtre courante), \\\"buffer\\"
|
"conditions : \"window\" (pointeur de la fenêtre courante), \"buffer\" "
|
||||||
"\" (pointeur du tampon à ajouter dans la hotlist), \"priority\" (0 = faible, "
|
"(pointeur du tampon à ajouter dans la hotlist), \"priority\" (0 = faible, 1 "
|
||||||
"1 = message, 2 = privé, 3 = highlight) ; par défaut un tampon est ajouté "
|
"= message, 2 = privé, 3 = highlight) ; par défaut un tampon est ajouté dans "
|
||||||
"dans la hotlist si vous êtes absent, ou si le tampon n'est pas visible à "
|
"la hotlist si vous êtes absent, ou si le tampon n'est pas visible à l'écran "
|
||||||
"l'écran (pas affiché dans une fenêtre), ou si au moins un client relay est "
|
"(pas affiché dans une fenêtre), ou si au moins un client relay est connecté "
|
||||||
"connecté via le protocole weechat"
|
"via le protocole weechat"
|
||||||
|
|
||||||
msgid "string displayed between buffers in hotlist"
|
msgid "string displayed between buffers in hotlist"
|
||||||
msgstr "chaîne affichée entre les tampons dans la hotlist"
|
msgstr "chaîne affichée entre les tampons dans la hotlist"
|
||||||
@@ -6289,7 +6460,7 @@ msgid ""
|
|||||||
"received: %d)\n"
|
"received: %d)\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Erreur : mauvais nombre de chemin pour les répertoires personnels "
|
"Erreur : mauvais nombre de chemin pour les répertoires personnels "
|
||||||
"(attentus : 1 ou 5, reçus : %d)\n"
|
"(attendus : 1 ou 5, reçus : %d)\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -6695,7 +6866,7 @@ msgstr ""
|
|||||||
"%sLimite de ressource \"%s\" inconnue (voir /help weechat.startup.sys_rlimit)"
|
"%sLimite de ressource \"%s\" inconnue (voir /help weechat.startup.sys_rlimit)"
|
||||||
|
|
||||||
msgid "Resource limits (see \"man getrlimit\" for help):"
|
msgid "Resource limits (see \"man getrlimit\" for help):"
|
||||||
msgstr "Limites de ressource (voir \"man getrlimit' pour de l'aide) :"
|
msgstr "Limites de ressource (voir \"man getrlimit\" pour de l'aide) :"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sUnable to get resource limit \"%s\": error %d %s"
|
msgid "%sUnable to get resource limit \"%s\": error %d %s"
|
||||||
@@ -6746,8 +6917,8 @@ msgstr "écriture - variable"
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr "lecture - type d'objet"
|
msgstr "lecture - type d'objet"
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr "lecture - mauvais type d'objet ('object start' attendu)"
|
msgstr "lecture - mauvais type d'objet (\"object start\" attendu)"
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
msgstr "lecture - id objet"
|
msgstr "lecture - id objet"
|
||||||
@@ -6865,129 +7036,6 @@ msgstr "%sErreur de lancement du thread dans hook_url : %s (URL : \"%s\")"
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr "Fin du transfert d'URL '%s', transfert arrêté"
|
msgstr "Fin du transfert d'URL '%s', transfert arrêté"
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"WeeChat %s Copyright %s, compilé le %s %s\n"
|
|
||||||
"Développé par Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "Utilisation : %s [option...] [extension:option...]\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect désactiver l'auto-connexion aux serveurs au "
|
|
||||||
"démarrage\n"
|
|
||||||
" -c, --colors afficher les couleurs par défaut du terminal et "
|
|
||||||
"quitter\n"
|
|
||||||
" -d, --dir <rep> forcer un unique répertoire de base pour WeeChat\n"
|
|
||||||
" ou 5 répertoires différents séparés par \":\" "
|
|
||||||
"(dans cet ordre : config, data, state, cache, runtime)\n"
|
|
||||||
" (la variable d'environnement WEECHAT_HOME est lue "
|
|
||||||
"si cette option n'est pas donnée)\n"
|
|
||||||
" -t, --temp-dir créer un répertoire de base WeeChat temporaire et "
|
|
||||||
"le supprimer en quittant\n"
|
|
||||||
" (incompatible avec l'option \"-d\")\n"
|
|
||||||
" -h, --help afficher cette aide et quitter\n"
|
|
||||||
" -i, --build-info afficher les informations de construction et "
|
|
||||||
"quitter\n"
|
|
||||||
" -l, --license afficher la licence WeeChat et quitter\n"
|
|
||||||
" -p, --no-plugin ne charger aucune extension au démarrage\n"
|
|
||||||
" -P, --plugins <exts> charger uniquement ces extensions au démarrage\n"
|
|
||||||
" (voir /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> lancer la/les commande(s) après le démarrage ;\n"
|
|
||||||
" plusieurs commandes peuvent être séparées par des "
|
|
||||||
"points-virgules et sont évaluées,\n"
|
|
||||||
" cette option peut être donnée plusieurs fois\n"
|
|
||||||
" -s, --no-script ne charger aucun script au démarrage\n"
|
|
||||||
" --upgrade mettre à jour WeeChat en utilisant les fichiers "
|
|
||||||
"de session (voir /help upgrade dans WeeChat)\n"
|
|
||||||
" -v, --version afficher la version de WeeChat et quitter\n"
|
|
||||||
" extension:option option pour une extension (voir man weechat)\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr "Options supplémentaires en mode sans interface (« headless ») :\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
" --doc-gen <rep> générer les fichiers pour construire la "
|
|
||||||
"documentation et quitter\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
" --daemon lancer WeeChat comme un « daemon » (fork, nouveau "
|
|
||||||
"groupe pour le processus, fermeture des descripteurs de fichiers);\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
" (par défaut en mode sans interface WeeChat est "
|
|
||||||
"bloquant et ne tourne pas en tâche de fond)\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
" --stdout afficher les messages de log sur la sortie "
|
|
||||||
"standard plutôt que de les écrire dans le fichier de log\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
" (option ignorée si l'option \"--daemon\" est "
|
|
||||||
"donnée)\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
"Options de debug (pour des outils comme Valgrind, NE PAS UTILISER EN "
|
|
||||||
"PRODUCTION) :\n"
|
|
||||||
" --no-dlclose ne pas appeler la fonction dlclose après le "
|
|
||||||
"déchargement des extensions\n"
|
|
||||||
" --no-gnutls désactiver init/deinit de gnutls\n"
|
|
||||||
" --no-gcrypt désactiver init/deinit de gcrypt\n"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "Erreur : paramètre manquant pour l'option \"%s\"\n"
|
|
||||||
|
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr "WeeChat tourne sans interface (ctrl-c pour quitter)."
|
msgstr "WeeChat tourne sans interface (ctrl-c pour quitter)."
|
||||||
|
|
||||||
@@ -7814,11 +7862,11 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
" - ${index_displayed} : index de la ligne affichée dans l'objet de barre "
|
" - ${index_displayed} : index de la ligne affichée dans l'objet de barre "
|
||||||
"(démarre à 0, seuls les tampons affichés incrémentent cet index, voir "
|
"(démarre à 0, seuls les tampons affichés incrémentent cet index, voir "
|
||||||
"l'option buflist.look.display_conditions"
|
"l'option buflist.look.display_conditions)"
|
||||||
|
|
||||||
msgid "buflist bar items"
|
msgid "buflist bar items"
|
||||||
msgstr "objets de barre de buflist"
|
msgstr "objets de barre de buflist"
|
||||||
@@ -8229,7 +8277,7 @@ msgid ""
|
|||||||
"-set <id> <property> <value> || -del <id>|-all [<id>...]"
|
"-set <id> <property> <value> || -del <id>|-all [<id>...]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-"
|
"-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nom>] [-l|-o|-"
|
||||||
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] |-flush|-noflush] [-"
|
"oc|-n|-nf] [-oerr] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-"
|
||||||
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <délai>] [-name "
|
"color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <délai>] [-name "
|
||||||
"<nom>] [-pipe <commande>] [-hsignal <nom>] <commande> || -in <id> <texte> || "
|
"<nom>] [-pipe <commande>] [-hsignal <nom>] <commande> || -in <id> <texte> || "
|
||||||
"-inclose <id> [<texte>] || -signal <id> <signal> || -kill <id> || -killall "
|
"-inclose <id> [<texte>] || -signal <id> <signal> || -kill <id> || -killall "
|
||||||
@@ -8740,7 +8788,7 @@ msgid ""
|
|||||||
"value, append for a positive value)"
|
"value, append for a positive value)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"raw[-add] : ajouter \"valeur\" (qui peut être un nombre négatif) pour les "
|
"raw[-add] : ajouter \"valeur\" (qui peut être un nombre négatif) pour les "
|
||||||
"entiers, couleurs et enumérés, définir/ajouter à la valeur pour les autres "
|
"entiers, couleurs et énumérés, définir/ajouter à la valeur pour les autres "
|
||||||
"types (définir pour une valeur négative, ajouter pour un nombre positif)"
|
"types (définir pour une valeur négative, ajouter pour un nombre positif)"
|
||||||
|
|
||||||
msgid "raw[-reset]: reset the value of option"
|
msgid "raw[-reset]: reset the value of option"
|
||||||
@@ -8774,9 +8822,7 @@ msgid "raw[-mark]: toggle mark"
|
|||||||
msgstr "raw[-mark] : marquer/démarquer"
|
msgstr "raw[-mark] : marquer/démarquer"
|
||||||
|
|
||||||
msgid "raw[-format]: switch to the next available format"
|
msgid "raw[-format]: switch to the next available format"
|
||||||
msgstr ""
|
msgstr "raw[-format] : basculer vers le format disponible suivant"
|
||||||
"raw[-format] : exporter les options et valeurs affichées dans un fichier "
|
|
||||||
"(chaque ligne a le format : \"/set nom valeur\" ou \"/unset nom\")"
|
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-export]: export the options and values displayed to a file (each line "
|
"raw[-export]: export the options and values displayed to a file (each line "
|
||||||
@@ -8895,7 +8941,7 @@ msgstr " - fset.format.option2 : second format pour une option"
|
|||||||
|
|
||||||
msgid " - option data, with color and padded by spaces on the right:"
|
msgid " - option data, with color and padded by spaces on the right:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
" - données de l'option, avec couleur et alignées avec des espaces sur la "
|
" - données de l'option, avec couleur et alignées avec des espaces sur la "
|
||||||
"droite :"
|
"droite :"
|
||||||
|
|
||||||
msgid " - ${file}: configuration file (for example \"weechat\" or \"irc\")"
|
msgid " - ${file}: configuration file (for example \"weechat\" or \"irc\")"
|
||||||
@@ -9625,7 +9671,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s%s : non connecté au serveur \"%s\" !"
|
msgstr "%s%s : non connecté au serveur \"%s\" !"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "%s : la reconnexion automatique est annulée"
|
msgstr "%s : la reconnexion automatique est annulée"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -9791,6 +9837,11 @@ msgid_plural "seconds"
|
|||||||
msgstr[0] "seconde"
|
msgstr[0] "seconde"
|
||||||
msgstr[1] "secondes"
|
msgstr[1] "secondes"
|
||||||
|
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "milliseconde"
|
||||||
|
msgstr[1] "millisecondes"
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] "minute"
|
msgstr[0] "minute"
|
||||||
@@ -9873,7 +9924,7 @@ msgid ""
|
|||||||
"disconnect %s\" before."
|
"disconnect %s\" before."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%s%s : vous ne pouvez pas supprimer le serveur \"%s\" car vous êtes connecté "
|
"%s%s : vous ne pouvez pas supprimer le serveur \"%s\" car vous êtes connecté "
|
||||||
"dessus. Essayez /disconnect %s avant."
|
"dessus. Essayez \"/disconnect %s\" avant."
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: server %s%s%s has been deleted"
|
msgid "%s: server %s%s%s has been deleted"
|
||||||
@@ -9928,10 +9979,10 @@ msgstr ""
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-current] [-parted|-all] [-exclude=<canal>[,<canal>...]] <commande> || [-"
|
"[-current] [-parted|-all] [-exclude=<canal>[,<canal>...]] <commande> || [-"
|
||||||
"current] [-parted|-all] -include=<canal>[,<canal>...] <commande>"
|
"current] [-parted|-all] [-include=<canal>[,<canal>...]] <commande>"
|
||||||
|
|
||||||
msgid "raw[-current]: execute command for channels of current server only"
|
msgid "raw[-current]: execute command for channels of current server only"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -10019,8 +10070,8 @@ msgstr ""
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> || [-current] [-"
|
"[-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> || [-current] [-"
|
||||||
"include=<pseudo>[,<pseudo>...]] <commande>"
|
"include=<pseudo>[,<pseudo>...]] <commande>"
|
||||||
@@ -10076,8 +10127,8 @@ msgstr "exécuter une commande sur tous les serveurs connectés"
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-exclude=<serveur>[,<serveur>...]] <commande> || [-include=<serveur>[,"
|
"[-exclude=<serveur>[,<serveur>...]] <commande> || [-include=<serveur>[,"
|
||||||
"<serveur>...]] <commande>"
|
"<serveur>...]] <commande>"
|
||||||
@@ -10238,7 +10289,7 @@ msgstr ""
|
|||||||
"commence par \"-\", par exemple : \"-multi-prefix\")"
|
"commence par \"-\", par exemple : \"-multi-prefix\")"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"raw[ack] : accuser réception de capacités qui nécessitent un accusé de "
|
"raw[ack] : accuser réception de capacités qui nécessitent un accusé de "
|
||||||
"réception du client"
|
"réception du client"
|
||||||
@@ -10319,7 +10370,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid "raw[nooption]: set boolean option to \"off\" (for example: -notls)"
|
msgid "raw[nooption]: set boolean option to \"off\" (for example: -notls)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"raw[nooption] : définir l'option booléenne à 'off' (par exemple : -notls)"
|
"raw[nooption] : définir l'option booléenne à \"off\" (par exemple : -notls)"
|
||||||
|
|
||||||
msgid "raw[-all]: connect to all servers defined in configuration"
|
msgid "raw[-all]: connect to all servers defined in configuration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -10371,7 +10422,7 @@ msgstr "quitter et rejoindre un canal"
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid "[<channel>[,<channel>...]] [<message>]"
|
msgid "[<channel>[,<channel>...]] [<message>]"
|
||||||
msgstr "[<canal>[,<canal>...]] [message]"
|
msgstr "[<canal>[,<canal>...]] [<message>]"
|
||||||
|
|
||||||
msgid "message: part message (displayed to other users)"
|
msgid "message: part message (displayed to other users)"
|
||||||
msgstr "message : message de fin (affiché aux autres utilisateurs)"
|
msgstr "message : message de fin (affiché aux autres utilisateurs)"
|
||||||
@@ -12242,14 +12293,16 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"liste de champs séparés par des virgules pour trier les options (voir /help "
|
"liste de champs séparés par des virgules pour trier les options (voir /help "
|
||||||
"list pour la liste des champs) ; le caractère \"-\" peut être utilisé pour "
|
"list pour la liste des champs) ; le caractère \"-\" peut être utilisé pour "
|
||||||
"inverser l'ordre, le caractère \"~\" peut être utilisé pour effectuer une "
|
"inverser l'ordre, le caractère \"~\" peut être utilisé pour effectuer une "
|
||||||
"comparaison insensible à la casse ; exemple : \"-users,~name\" pour les plus "
|
"comparaison insensible à la casse ; exemple : \"-users,~name2\" pour les "
|
||||||
"gros canaux en premier puis tri insensible à la casse sur le nom"
|
"plus gros canaux en premier puis tri insensible à la casse sur le nom de "
|
||||||
|
"canal sans le préfixe"
|
||||||
|
|
||||||
msgid "strip channel topic colors in /list buffer"
|
msgid "strip channel topic colors in /list buffer"
|
||||||
msgstr "supprimer les couleurs des titres des canaux dans le tampon /list"
|
msgstr "supprimer les couleurs des titres des canaux dans le tampon /list"
|
||||||
@@ -12321,8 +12374,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"liste des pseudos (séparés par des virgules) pour lesquels les mots de passe "
|
"liste des pseudos (séparés par des virgules) pour lesquels les mots de passe "
|
||||||
"seront masqués quand un message est envoyé, par exemple pour cacher le mot "
|
"seront masqués quand un message est envoyé, par exemple pour cacher le mot "
|
||||||
"de passe dans le message affiché par \"/msg nickserv identify motdepasse\", "
|
"de passe dans le message affiché par \"/msg nickserv identify "
|
||||||
"exemple : \"nickserv,nickbot\""
|
"mot_de_passe\", exemple : \"nickserv,nickbot\""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"display notices as private messages (if auto, use private buffer if found)"
|
"display notices as private messages (if auto, use private buffer if found)"
|
||||||
@@ -14171,7 +14224,7 @@ msgid ""
|
|||||||
"strftime)"
|
"strftime)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"masque de fichier par défaut pour les fichiers de log (le format est "
|
"masque de fichier par défaut pour les fichiers de log (le format est "
|
||||||
"\"repertoire/vers/fichier\" ou \"fichier\", sans le premier \"/\" car "
|
"\"répertoire/vers/fichier\" ou \"fichier\", sans le premier \"/\" car "
|
||||||
"l'option \"path\" est utilisée pour construire le chemin complet vers le "
|
"l'option \"path\" est utilisée pour construire le chemin complet vers le "
|
||||||
"fichier) ; les variables locales du tampon sont permises (vous ne devriez "
|
"fichier) ; les variables locales du tampon sont permises (vous ne devriez "
|
||||||
"utiliser que des variables qui sont définies sur tous les tampons, donc par "
|
"utiliser que des variables qui sont définies sur tous les tampons, donc par "
|
||||||
@@ -14420,7 +14473,7 @@ msgid ""
|
|||||||
"1 if scripts are automatically loaded, 0 if the auto-load has been disabled "
|
"1 if scripts are automatically loaded, 0 if the auto-load has been disabled "
|
||||||
"by the user (option \"-s\" or \"--no-script\")"
|
"by the user (option \"-s\" or \"--no-script\")"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"1 si la les scripts sont automatiquement charés, 0 si l'auto-chargement a "
|
"1 si la les scripts sont automatiquement chargés, 0 si l'auto-chargement a "
|
||||||
"été désactivé par l'utilisateur (option \"-s\" ou \"--no-script\")"
|
"été désactivé par l'utilisateur (option \"-s\" ou \"--no-script\")"
|
||||||
|
|
||||||
msgid "buffer pointer"
|
msgid "buffer pointer"
|
||||||
@@ -15593,10 +15646,10 @@ msgstr "%s%s : le relai distant \"%s\" n'existe pas pour la commande \"%s\""
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: no connection to remote relay \"%s\""
|
msgid "%s%s: no connection to remote relay \"%s\""
|
||||||
msgstr "%s%s : non connecté au relai distant \"%s\" !"
|
msgstr "%s%s : non connecté au relai distant \"%s\""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgstr "remote[%s] : la reconnexion automatique est annulée"
|
msgstr "remote[%s] : la reconnexion automatique est annulée"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -15623,10 +15676,12 @@ msgstr ""
|
|||||||
"restart|stop <nom> || raw || tlscertkey"
|
"restart|stop <nom> || raw || tlscertkey"
|
||||||
|
|
||||||
msgid "raw[list]: list relay clients (only active relays)"
|
msgid "raw[list]: list relay clients (only active relays)"
|
||||||
msgstr "raw[list] : lister les clients pour le relai"
|
msgstr ""
|
||||||
|
"raw[list] : lister les clients pour le relai (seulement les relais actifs)"
|
||||||
|
|
||||||
msgid "raw[listfull]: list relay clients (verbose, all relays)"
|
msgid "raw[listfull]: list relay clients (verbose, all relays)"
|
||||||
msgstr "raw[listfull] : lister les clients pour le relai (verbeux)"
|
msgstr ""
|
||||||
|
"raw[listfull] : lister les clients pour le relai (verbeux, tous les relais)"
|
||||||
|
|
||||||
msgid "raw[listrelay]: list relays (name and port)"
|
msgid "raw[listrelay]: list relays (name and port)"
|
||||||
msgstr "raw[listrelay] : lister les relais (nom et port)"
|
msgstr "raw[listrelay] : lister les relais (nom et port)"
|
||||||
@@ -15697,7 +15752,7 @@ msgid " - unix: use UNIX domain socket"
|
|||||||
msgstr " - unix : utiliser un socket de domaine UNIX"
|
msgstr " - unix : utiliser un socket de domaine UNIX"
|
||||||
|
|
||||||
msgid " - protocol.name: protocol and name to relay:"
|
msgid " - protocol.name: protocol and name to relay:"
|
||||||
msgstr " - protocol.nom : protocole et nom à relayer :"
|
msgstr " - protocole.nom : protocole et nom à relayer :"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" - protocol \"irc\": name is the server to share (optional, if not given, "
|
" - protocol \"irc\": name is the server to share (optional, if not given, "
|
||||||
@@ -15706,7 +15761,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
" - protocole \"irc\" : le nom est le serveur à partager (optionnel, si "
|
" - protocole \"irc\" : le nom est le serveur à partager (optionnel, si "
|
||||||
"non donné, le nom de serveur doit être envoyé par le client dans la commande "
|
"non donné, le nom de serveur doit être envoyé par le client dans la commande "
|
||||||
"\"PASS\", avec le format : \"PASS serveur:motdepasse\")"
|
"\"PASS\", avec le format : \"PASS serveur:mot_de_passe\")"
|
||||||
|
|
||||||
msgid " - protocol \"api\" (name is not used)"
|
msgid " - protocol \"api\" (name is not used)"
|
||||||
msgstr " - protocole \"api\" (le nom n'est pas utilisé)"
|
msgstr " - protocole \"api\" (le nom n'est pas utilisé)"
|
||||||
@@ -15756,8 +15811,8 @@ msgid ""
|
|||||||
"<name> <new_name> || togglecmd"
|
"<name> <new_name> || togglecmd"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"list|listfull [<nom>] || add|addreplace <nom> <url> [-<option>[=<valeur>]] "
|
"list|listfull [<nom>] || add|addreplace <nom> <url> [-<option>[=<valeur>]] "
|
||||||
"|| connect|reconnect|disconnect|del <nom> || send <nom> <json> rename <nom> "
|
"|| connect|reconnect|disconnect|del <nom> || send <nom> <json> || rename "
|
||||||
"<nouveau_nom> || togglecmd"
|
"<nom> <nouveau_nom> || togglecmd"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[list]: list remote relay servers (without argument, this list is "
|
"raw[list]: list remote relay servers (without argument, this list is "
|
||||||
@@ -15925,7 +15980,7 @@ msgid ""
|
|||||||
"\"weechat\""
|
"\"weechat\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"ouvrir automatiquement le tampon lorsqu'un client se connecte avec l'un de "
|
"ouvrir automatiquement le tampon lorsqu'un client se connecte avec l'un de "
|
||||||
"ces protocoles (liste séparée par des virtules) ; les protocoles autorisés : "
|
"ces protocoles (liste séparée par des virgules) ; les protocoles autorisés : "
|
||||||
"\"api\", \"irc\", \"weechat\""
|
"\"api\", \"irc\", \"weechat\""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -15934,7 +15989,7 @@ msgid ""
|
|||||||
"\"weechat\""
|
"\"weechat\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"afficher des messages lorsque les clients se connectent/déconnectent du "
|
"afficher des messages lorsque les clients se connectent/déconnectent du "
|
||||||
"relai qui utilisent un de ces protocoles (liste séparée par des virfules) ; "
|
"relai qui utilisent un de ces protocoles (liste séparée par des virgules) ; "
|
||||||
"protocoles autorisés : \"api\", \"irc\", \"weechat\""
|
"protocoles autorisés : \"api\", \"irc\", \"weechat\""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -18130,8 +18185,8 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s%s : expression régulière invalide dans le trigger : \"%s\""
|
msgstr "%s%s : expression régulière invalide dans le trigger : \"%s\""
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr "Écrit :"
|
msgstr "Écrit : "
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"number of seconds after paused status has been set: if reached, the typing "
|
"number of seconds after paused status has been set: if reached, the typing "
|
||||||
@@ -18180,6 +18235,14 @@ msgstr ""
|
|||||||
"nombre maximum de caractères affichés dans l'objet de barre \"typing\" (0 = "
|
"nombre maximum de caractères affichés dans l'objet de barre \"typing\" (0 = "
|
||||||
"ne pas tronquer le contenu)"
|
"ne pas tronquer le contenu)"
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
"texte à afficher avant les pseudos dans l'objet de barre \"typing\" ; si "
|
||||||
|
"défini, il est utilisé à la place de la chaîne traduite \"Typing: \" qui est "
|
||||||
|
"utilisée par défaut"
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr "Statut d'écriture des utilisateurs"
|
msgstr "Statut d'écriture des utilisateurs"
|
||||||
|
|
||||||
@@ -18317,11 +18380,13 @@ msgid "does not wait for ACK when sending file"
|
|||||||
msgstr "n'attend pas les accusés de réception lors de l'envoi de fichier"
|
msgstr "n'attend pas les accusés de réception lors de l'envoi de fichier"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"adresse IP ou DNS utilisée pour envoyer et recevoir de manière passive les "
|
"adresse IP ou DNS utilisée pour envoyer et recevoir de manière passive les "
|
||||||
"fichiers/discussions (si non renseigné, l'interface IP locale est utilisée)"
|
"fichiers/discussions ; si non renseigné, l'interface IP locale est utilisée "
|
||||||
|
"(note : le contenu est évalué, voir /help eval)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"restricts outgoing files/chats and incoming/passive files to use only ports "
|
"restricts outgoing files/chats and incoming/passive files to use only ports "
|
||||||
@@ -18330,7 +18395,7 @@ msgid ""
|
|||||||
"use ports greater than 1024, because only root can use ports below 1024)"
|
"use ports greater than 1024, because only root can use ports below 1024)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"restreint les fichiers/discussions sortants et les fichiers entrants de "
|
"restreint les fichiers/discussions sortants et les fichiers entrants de "
|
||||||
"manière passice à utiliser des ports dans l'intervalle donné (pratique pour "
|
"manière passive à utiliser des ports dans l'intervalle donné (pratique pour "
|
||||||
"le NAT) (syntaxe : un port simple, par exemple 5000, un intervalle de ports, "
|
"le NAT) (syntaxe : un port simple, par exemple 5000, un intervalle de ports, "
|
||||||
"par exemple 5000-5015, si non renseigné tout port peut être utilisé, il est "
|
"par exemple 5000-5015, si non renseigné tout port peut être utilisé, il est "
|
||||||
"recommandé d'utiliser des ports supérieurs à 1024, car seul root peut "
|
"recommandé d'utiliser des ports supérieurs à 1024, car seul root peut "
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
|
"PO-Revision-Date: 2026-03-08 08:59+0100\n"
|
||||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||||
"Language: hu\n"
|
"Language: hu\n"
|
||||||
@@ -32,6 +32,154 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "%s DCC: nem sikerült kapcsolódni a küldőhöz\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "másik fél nevének színe privát beszélgetésben"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "WeeChat logo mutatása induláskor"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "WeeChat logo mutatása induláskor"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr "felhasználónév az IRC szerveren"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr "%s nem sikerült a folyamatot menteni\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat version at startup"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "WeeChat verziójának mutatása induláskor"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
#, fuzzy
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr " (nem található bővítőmodul)\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"%s Copyright (C) 2003-2010, fordítva: %s %s\n"
|
||||||
|
"Fejlesztő: Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Aliaszok listája:\n"
|
msgstr "Aliaszok listája:\n"
|
||||||
@@ -142,7 +290,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%s nem sikerült a modul opciókat elmenteni\n"
|
msgstr "%s nem sikerült a modul opciókat elmenteni\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Buffers list:"
|
msgid "Buffers list:"
|
||||||
@@ -493,11 +641,11 @@ msgstr ""
|
|||||||
"%s \"-yes\" paraméter megadása kötelező a billentyűparancsok "
|
"%s \"-yes\" paraméter megadása kötelező a billentyűparancsok "
|
||||||
"visszaállításához (biztonsági okokból)\n"
|
"visszaállításához (biztonsági okokból)\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "Nincs mellőzés megadva.\n"
|
msgstr[0] ""
|
||||||
msgstr[1] "Nincs mellőzés megadva.\n"
|
msgstr[1] ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Stored layouts:"
|
msgid "Stored layouts:"
|
||||||
@@ -1101,7 +1249,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -1554,7 +1702,7 @@ msgstr ""
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -1566,6 +1714,9 @@ msgid ""
|
|||||||
"separated by semicolons)"
|
"separated by semicolons)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2085,7 +2236,7 @@ msgid "display help about commands and options"
|
|||||||
msgstr "segítség megjelenítése a parancsokhoz"
|
msgstr "segítség megjelenítése a parancsokhoz"
|
||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2145,9 +2296,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[remove]: remove current buffer from hotlist"
|
msgid "raw[remove]: remove current buffer from hotlist"
|
||||||
@@ -3012,7 +3163,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
@@ -3249,20 +3400,20 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -3502,7 +3653,7 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -5746,7 +5897,7 @@ msgstr " . típus szöveg (értékek: "
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
@@ -5861,98 +6012,6 @@ msgstr ""
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, fuzzy, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"%s Copyright (C) 2003-2010, fordítva: %s %s\n"
|
|
||||||
"Fejlesztő: Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect automatikus csatlakozás a szerverekhez tiltása\n"
|
|
||||||
" -c, --config beállítófájl opcióinak mutatása\n"
|
|
||||||
" -d, --dir <path> a WeeChat saját könyvtára (alapértelmezett: "
|
|
||||||
"~/.weechat)\n"
|
|
||||||
" -f, --key-functions WeeChat billentyűparancsok mutatása\n"
|
|
||||||
" -h, --help ez a segítség\n"
|
|
||||||
" -i, --irc-commands IRC parancsok mutatása\n"
|
|
||||||
" -k, --keys alapértelmezett WeeChat billentyűk\n"
|
|
||||||
" -l, --license WeeChat licenc\n"
|
|
||||||
" -p, --no-plugin nem tölt be modulokat induláskor\n"
|
|
||||||
" -v, --version WeeChat verziójának mutatása\n"
|
|
||||||
" -w, --weechat-commands WeeChat parancsok mutatása\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, fuzzy, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n"
|
|
||||||
|
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -6656,7 +6715,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8183,7 +8242,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s nincs csatlakozva a \"%s\" szerverhez!\n"
|
msgstr "%s nincs csatlakozva a \"%s\" szerverhez!\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "automata újracsatlakozás megszakítva\n"
|
msgstr "automata újracsatlakozás megszakítva\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
@@ -8344,6 +8403,12 @@ msgid_plural "seconds"
|
|||||||
msgstr[0] "másodperc"
|
msgstr[0] "másodperc"
|
||||||
msgstr[1] "másodperc"
|
msgstr[1] "másodperc"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "másodperc"
|
||||||
|
msgstr[1] "másodperc"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
@@ -8499,7 +8564,7 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr "[alias_név [parancs [paraméterek]]]"
|
msgstr "[alias_név [parancs [paraméterek]]]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8589,8 +8654,8 @@ msgstr "CTCP üzenet küldése az összes csatlakoztatott szerver összes szobá
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr "[alias_név [parancs [paraméterek]]]"
|
msgstr "[alias_név [parancs [paraméterek]]]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8639,10 +8704,11 @@ msgid "execute a command on all connected servers"
|
|||||||
msgstr "üzenet küldése az összes csatlakoztatott szerver összes szobájába"
|
msgstr "üzenet küldése az összes csatlakoztatott szerver összes szobájába"
|
||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr ""
|
msgstr "[alias_név [parancs [paraméterek]]]"
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -8791,7 +8857,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -10763,8 +10829,9 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -13898,7 +13965,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
|
|||||||
msgstr "%s nincs csatlakozva a \"%s\" szerverhez!\n"
|
msgstr "%s nincs csatlakozva a \"%s\" szerverhez!\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgstr "automata újracsatlakozás megszakítva\n"
|
msgstr "automata újracsatlakozás megszakítva\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
@@ -16133,7 +16200,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s nincs elég memória az információs pult üzenethez\n"
|
msgstr "%s nincs elég memória az információs pult üzenethez\n"
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -16167,6 +16234,11 @@ msgid ""
|
|||||||
"truncate content)"
|
"truncate content)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -16313,8 +16385,9 @@ msgstr "nem vár ACK válaszra fájl küldésekor"
|
|||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr "kimenő dcc forgalom IP/DNS-címe (ha üres, a helyi interfész IP-címe)"
|
msgstr "kimenő dcc forgalom IP/DNS-címe (ha üres, a helyi interfész IP-címe)"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
|
"PO-Revision-Date: 2026-03-12 20:24+0100\n"
|
||||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||||
"Language: it\n"
|
"Language: it\n"
|
||||||
@@ -32,6 +32,161 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "%s%s: unable to connect to sender"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "%s%s: impossibile connettersi al mittente"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "use same nick color for channel and private"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "usa lo stesso colore del nick per canale e privato"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "mostra il logo di WeeChat all'avvio"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "mostra il logo di WeeChat all'avvio"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr ""
|
||||||
|
"comando eseguito all'avvio di WeeChat, dopo il caricamento dei plugin (nota: "
|
||||||
|
"il contenuto viene valutato, consultare /help eval)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr "%sErrore: impossibile salvare la sessione su file"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat version at startup"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "mostra la versione di WeeChat all'avvio"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "plugin pointer (optional)"
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr "puntatore al plugin (opzionale)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat %s Copyright %s, compilato il %s %s\n"
|
||||||
|
"Sviluppato da Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "Usage: %s [option...] [plugin:option...]\n"
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "Uso: %s [opzione...] [plugin:opzione...]\n"
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "Errore: argomento mancante per l'opzione \"%s\"\n"
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Elenco delle barre:"
|
msgstr "Elenco delle barre:"
|
||||||
|
|
||||||
@@ -138,9 +293,9 @@ msgstr "%sErrore: finestra non trovata per il comando \"%s\""
|
|||||||
msgid "%sUnable to scroll bar \"%s\""
|
msgid "%sUnable to scroll bar \"%s\""
|
||||||
msgstr "%sErrore: impossibile scorrere la barra \"%s\""
|
msgstr "%sErrore: impossibile scorrere la barra \"%s\""
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr "%sNumero colore \"%s\" non valido (deve essere compresto tra %d e %d)"
|
msgstr ""
|
||||||
|
|
||||||
msgid "Buffers list:"
|
msgid "Buffers list:"
|
||||||
msgstr "Elenco buffer:"
|
msgstr "Elenco buffer:"
|
||||||
@@ -496,7 +651,7 @@ msgstr ""
|
|||||||
"sicurezza)"
|
"sicurezza)"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "%d nuovo tasto aggiunto (contesto: \"%s\")"
|
msgstr[0] "%d nuovo tasto aggiunto (contesto: \"%s\")"
|
||||||
msgstr[1] "%d nuovi tasti aggiunti (contesto: \"%s\")"
|
msgstr[1] "%d nuovi tasti aggiunti (contesto: \"%s\")"
|
||||||
@@ -1119,7 +1274,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -1607,7 +1762,7 @@ msgstr ""
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-n] <espressione> || [-n] -c <espressione1> <operatore> <espressione2>"
|
"[-n] <espressione> || [-n] -c <espressione1> <operatore> <espressione2>"
|
||||||
@@ -1620,6 +1775,9 @@ msgid ""
|
|||||||
"separated by semicolons)"
|
"separated by semicolons)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2165,7 +2323,7 @@ msgstr "visualizza l'aiuto su comandi e opzioni"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opzione>"
|
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opzione>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2228,9 +2386,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[remove]: remove current buffer from hotlist"
|
msgid "raw[remove]: remove current buffer from hotlist"
|
||||||
@@ -3126,7 +3284,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
@@ -3404,20 +3562,20 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -3680,7 +3838,7 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -4808,7 +4966,7 @@ msgid ""
|
|||||||
"string used to show that some lines are filtered in current buffer (bar item "
|
"string used to show that some lines are filtered in current buffer (bar item "
|
||||||
"\"buffer_filter\")"
|
"\"buffer_filter\")"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"stringa usata per mostrare che alcune righe sono state filtrate nel buffer "
|
"stringa usata per mostrare che alcune righe sono state filtrate nel buffer "
|
||||||
"corrente (elemento barra \"buffer_filter\")"
|
"corrente (elemento barra \"buffer_filter\")"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -6182,7 +6340,7 @@ msgstr "%s sorgente: %s, riga: %d"
|
|||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s *** Please report above info to developers ***"
|
msgid "%s *** Please report above info to developers ***"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%s *** Per favore inviare le precedenti informazioni agli sviluppatori ***"
|
"%s *** Per favore inviare le precedenti informazioni agli sviluppatori ***"
|
||||||
|
|
||||||
msgid "write - object type"
|
msgid "write - object type"
|
||||||
msgstr "scrittura - tipo oggetto"
|
msgstr "scrittura - tipo oggetto"
|
||||||
@@ -6202,8 +6360,8 @@ msgstr "scrittura - variabile"
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr "lettura - tipo oggetto"
|
msgstr "lettura - tipo oggetto"
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr "lettura - tipo oggetto errato ('object start' previsto)"
|
msgstr "lettura - tipo oggetto errato (\"object start\" previsto)"
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
msgstr "lettura - id oggetto"
|
msgstr "lettura - id oggetto"
|
||||||
@@ -6323,100 +6481,6 @@ msgstr ""
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr "Fine comando '%s', timeout raggiunto (%.1fs)"
|
msgstr "Fine comando '%s', timeout raggiunto (%.1fs)"
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"WeeChat %s Copyright %s, compilato il %s %s\n"
|
|
||||||
"Sviluppato da Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "Uso: %s [opzione...] [plugin:opzione...]\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect\t disabilita la connessione automatica all'avvio\n"
|
|
||||||
" -c, --colors mostra i colori predefiniti nel terminale\n"
|
|
||||||
" -d, --dir <path> imposta la directory principale di WeeChat "
|
|
||||||
"(predefinita: ~/.weechat)\n"
|
|
||||||
" -h, --help mostra questo aiuto\n"
|
|
||||||
" -l, --license mostra la licenza di WeeChat\n"
|
|
||||||
" -p, --no-plugin non carica i plugin all'avvio\n"
|
|
||||||
" -s, --no-script non carica gli script all'avvio\n"
|
|
||||||
" -r, --run-command esegue uno o più comandi all'avvio\n"
|
|
||||||
"(più comandi vanno separati da punto e virgola)\n"
|
|
||||||
" --upgrade aggiorna WeeChat usando i file di sessione "
|
|
||||||
"(consultare /help upgrade in WeeChat)\n"
|
|
||||||
" -v. --version mostra la versione di WeeChat\n"
|
|
||||||
" plugin:opzione opzione per il plugin (consultare man weechat)\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "Errore: argomento mancante per l'opzione \"%s\"\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr "1 se si sta aggiornando WeeChat (comando `/upgrade`)"
|
msgstr "1 se si sta aggiornando WeeChat (comando `/upgrade`)"
|
||||||
@@ -7142,7 +7206,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8743,7 +8807,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s%s: non connesso al server \"%s\"!"
|
msgstr "%s%s: non connesso al server \"%s\"!"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "%s: la riconnessione automatica è annullata"
|
msgstr "%s: la riconnessione automatica è annullata"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -8913,6 +8977,14 @@ msgid_plural "seconds"
|
|||||||
msgstr[0] "secondo"
|
msgstr[0] "secondo"
|
||||||
msgstr[1] "secondi"
|
msgstr[1] "secondi"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "second"
|
||||||
|
#| msgid_plural "seconds"
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "secondo"
|
||||||
|
msgstr[1] "secondi"
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] "minuto"
|
msgstr[0] "minuto"
|
||||||
@@ -9075,7 +9147,7 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
|
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9177,8 +9249,8 @@ msgstr "esegue un comando su tutti i canali di tutti i server connessi"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
|
msgstr "[-current] [-exclude=<canale>[,<canale>...]] <comando> [<argomenti>]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9233,8 +9305,8 @@ msgstr "esegue un comando su tutti i server connessi"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr "[-exclude=<server>[,<server>...]] <comando> [<argomenti>]"
|
msgstr "[-exclude=<server>[,<server>...]] <comando> [<argomenti>]"
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
@@ -9399,7 +9471,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -11508,8 +11580,9 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -12595,7 +12668,7 @@ msgstr "%sL'argomento per %s%s%s è \"%s%s\""
|
|||||||
#. TRANSLATORS: "%s" after "on" is a date
|
#. TRANSLATORS: "%s" after "on" is a date
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sTopic set by %s%s%s%s%s%s%s%s%s on %s"
|
msgid "%sTopic set by %s%s%s%s%s%s%s%s%s on %s"
|
||||||
msgstr "%sArgomento impostato da %s%s%s%s%s%s%s%s%s il %s"
|
msgstr "%sArgomento impostato da %s%s%s%s%s%s%s%s%s il %s"
|
||||||
|
|
||||||
#. TRANSLATORS: "%s" after "on" is a date
|
#. TRANSLATORS: "%s" after "on" is a date
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -12807,7 +12880,7 @@ msgstr "%s%s: nessuna connessione al server \"%s\" per la redirezione"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: missing argument \"%s\" for redirect"
|
msgid "%s%s: missing argument \"%s\" for redirect"
|
||||||
msgstr "%s%s: argomento \"%s\" mancante per la redirezione"
|
msgstr "%s%s: argomento \"%s\" mancante per la redirezione"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: redirect pattern \"%s\" not found"
|
msgid "%s%s: redirect pattern \"%s\" not found"
|
||||||
@@ -14890,10 +14963,9 @@ msgstr "%s%s: server \"%s\" non trovato per il comando \"%s\""
|
|||||||
msgid "%s%s: no connection to remote relay \"%s\""
|
msgid "%s%s: no connection to remote relay \"%s\""
|
||||||
msgstr "%s%s: non connesso al server \"%s\"!"
|
msgstr "%s%s: non connesso al server \"%s\"!"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "%s: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgstr ""
|
||||||
msgstr "%s: la riconnessione automatica è annullata"
|
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
||||||
@@ -17296,7 +17368,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s%s: errore nella compilazione dell'espressione regolare \"%s\""
|
msgstr "%s%s: errore nella compilazione dell'espressione regolare \"%s\""
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -17330,6 +17402,11 @@ msgid ""
|
|||||||
"truncate content)"
|
"truncate content)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -17479,8 +17556,9 @@ msgstr "non attendere ACK all'invio del file"
|
|||||||
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
||||||
#| "IP is used)"
|
#| "IP is used)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Indirizzo IP o DNS per l'invio di file/chat (se vuoto, verrà usata "
|
"Indirizzo IP o DNS per l'invio di file/chat (se vuoto, verrà usata "
|
||||||
"l'interfaccia IP locale)"
|
"l'interfaccia IP locale)"
|
||||||
@@ -17773,7 +17851,7 @@ msgstr "%s%s: tipo xfer \"%s\" sconosciuto"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: unknown xfer protocol \"%s\""
|
msgid "%s%s: unknown xfer protocol \"%s\""
|
||||||
msgstr "%s%s: protocollo xfer \"%s\" sconosciuto"
|
msgstr "%s%s: protocollo xfer \"%s\" sconosciuto"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: cannot access file \"%s\""
|
msgid "%s%s: cannot access file \"%s\""
|
||||||
@@ -17808,6 +17886,5 @@ msgid ""
|
|||||||
"%s%s: unable to accept resume file \"%s\" (port: %d, start position: %llu): "
|
"%s%s: unable to accept resume file \"%s\" (port: %d, start position: %llu): "
|
||||||
"xfer not found or not ready for transfer"
|
"xfer not found or not ready for transfer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%s%s: impossibile accettare di riprendere il file \"%s\" (porta: %d, "
|
"%s%s: impossibile accettare di riprendere il file \"%s\" (porta: %d, "
|
||||||
"posizione di avvio: %llu): xfer non trovato o non pronto per il "
|
"posizione di avvio: %llu): xfer non trovato o non pronto per il trasferimento"
|
||||||
"trasferimento"
|
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2026-03-16 13:19+0100\n"
|
"PO-Revision-Date: 2026-03-16 13:22+0100\n"
|
||||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||||
"translation/ja_JP>\n"
|
"translation/ja_JP>\n"
|
||||||
@@ -33,6 +33,164 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "%s%s: unable to connect to sender"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "%s%s: 送信者に接続できません"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "use same nick color for channel and private"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "チャンネルとプライベートバッファで同じニックネーム色を利用"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "WeeChat ロゴを開始時に表示"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "WeeChat ロゴを開始時に表示"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat が実行され、プラグインのロード後に実行されるコマンド (注意: 値は評価"
|
||||||
|
"されます、/help eval を参照してください)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr "%sエラー: ファイルにセッションを保存できません"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat version at startup"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "WeeChat バージョンを開始時に表示"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "plugin pointer (optional)"
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr "プラグインポインタ (任意)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat をデーモンとして実行 (フォーク、新しいプロセスグループ、ファイルディ"
|
||||||
|
"スクリプタを閉じる); ヘッドレスモードのデフォルトでは WeeChat はプロセスをブ"
|
||||||
|
"ロックし、バックグラウンド動作しません"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr "プラグインがアンロードされた後に、dlclose 関数を呼び出さない"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr "gnutls の init/deinit を無効化"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr "gcrypt の init/deinit を無効化"
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat %s 著作権 %s、%s %s にコンパイル\n"
|
||||||
|
"開発者 Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr "使い方:"
|
||||||
|
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "[オプション...] [プラグイン:オプション...]"
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr "ヘッドレスモード用の追加オプション:"
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
"デバッグオプション (valgrind などのツールと組み合わせて使用してください、通常"
|
||||||
|
"利用中には使用しないでください):"
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "エラー: \"%s\" オプションの引数がありません\n"
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "バーのリスト:"
|
msgstr "バーのリスト:"
|
||||||
|
|
||||||
@@ -140,7 +298,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%sエラー: バー \"%s\" をスクロールできません"
|
msgstr "%sエラー: バー \"%s\" をスクロールできません"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%sエラー: %d は範囲外のバッファ番号です (1 から %d の間で指定してください)"
|
"%sエラー: %d は範囲外のバッファ番号です (1 から %d の間で指定してください)"
|
||||||
|
|
||||||
@@ -507,9 +665,9 @@ msgstr ""
|
|||||||
"由で)"
|
"由で)"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "%d 個の新しいキーを追加しました (コンテキスト: \"%s\")"
|
msgstr[0] ""
|
||||||
|
|
||||||
msgid "Stored layouts:"
|
msgid "Stored layouts:"
|
||||||
msgstr "保存されたレイアウト:"
|
msgstr "保存されたレイアウト:"
|
||||||
@@ -1129,7 +1287,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -1645,7 +1803,7 @@ msgstr "式を評価"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
|
msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
|
||||||
|
|
||||||
@@ -1663,6 +1821,9 @@ msgstr ""
|
|||||||
"正規表現置換が行われた後に条件が満足された場合に実行するコマンド (多くのコマ"
|
"正規表現置換が行われた後に条件が満足された場合に実行するコマンド (多くのコマ"
|
||||||
"ンドを実行するにはセミコロンで区切ってください)"
|
"ンドを実行するにはセミコロンで区切ってください)"
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2204,7 +2365,7 @@ msgstr "コマンドとオプションに関するヘルプを表示"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2267,9 +2428,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[remove]: remove current buffer from hotlist"
|
msgid "raw[remove]: remove current buffer from hotlist"
|
||||||
@@ -3178,7 +3339,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
@@ -3481,20 +3642,20 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -3764,7 +3925,7 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -6375,8 +6536,8 @@ msgstr "書き込み - 変数"
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr "読み込み - オブジェクト型"
|
msgstr "読み込み - オブジェクト型"
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr "書き込み - 不正なオブジェクト型 ('object start' が必要)"
|
msgstr "書き込み - 不正なオブジェクト型 (\"object start\" が必要)"
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
msgstr "読み込み - オブジェクト id"
|
msgstr "読み込み - オブジェクト id"
|
||||||
@@ -6500,121 +6661,6 @@ msgstr ""
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr "コマンド '%s' の終了、タイムアウトになりました (%.1fs)"
|
msgstr "コマンド '%s' の終了、タイムアウトになりました (%.1fs)"
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"WeeChat %s 著作権 %s、%s %s にコンパイル\n"
|
|
||||||
"開発者 Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "使い方: %s [オプション...] [プラグイン:オプション...]\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect 起動時にサーバに自動接続しない\n"
|
|
||||||
" -c, --colors 端末にデフォルトの色を表示\n"
|
|
||||||
" -d, --dir <path> WeeChat ホームディレクトリを設定 (デフォルト: "
|
|
||||||
"~/.weechat)\n"
|
|
||||||
" (このオプションが設定されていない場合、"
|
|
||||||
"WEECHAT_HOME 環境変数を読みます)\n"
|
|
||||||
" -t, --temp-dir 一時的に WeeChat ホームディレクトリを作成し、終了"
|
|
||||||
"時にこれを削除\n"
|
|
||||||
" (オプション \"-d\" と同時利用不可)\n"
|
|
||||||
" -h, --help このヘルプを表示\n"
|
|
||||||
" -l, --license WeeChat ライセンスを表示\n"
|
|
||||||
" -p, --no-plugin 起動時にプラグインをロードしない\n"
|
|
||||||
" -P, --plugins <plugins> 指定したプラグインのみを起動時にロードする\n"
|
|
||||||
" (/help weechat.plugin.autoload を参照してくださ"
|
|
||||||
"い)\n"
|
|
||||||
" -r, --run-command <cmd> 起動後にコマンドを実行;\n"
|
|
||||||
" 複数のコマンドを実行するには各コマンドをセミコロン"
|
|
||||||
"で区切って下さい\n"
|
|
||||||
" このオプションは複数回使用できます\n"
|
|
||||||
" -s, --no-script 起動時にスクリプトをロードしない\n"
|
|
||||||
" --upgrade セッションファイルを使って WeeChat をアップグレー"
|
|
||||||
"ド (WeeChat で /help upgrade を確認してください)\n"
|
|
||||||
" -v, --version WeeChat のバージョンを表示\n"
|
|
||||||
" plugin:option プラグイン用オプション (man weechat を参照してくだ"
|
|
||||||
"さい)\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr "ヘッドレスモード用の追加オプション:\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
" --daemon WeeChat をデーモンとして実行 (フォーク、新しいプロ"
|
|
||||||
"セスグループ、ファイルディスクリプタを閉じる);\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
" (ヘッドレスモードのデフォルトでは WeeChat はプロセ"
|
|
||||||
"スをブロックし、バックグラウンド動作しません)\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
"デバッグオプション (valgrind などのツールと組み合わせて使用してください、通常"
|
|
||||||
"利用中には使用しないでください):\n"
|
|
||||||
" --no-dlclose プラグインがアンロードされた後に、dlclose 関数を呼"
|
|
||||||
"び出さない\n"
|
|
||||||
" --no-gnutls gnutls の init/deinit を無効化\n"
|
|
||||||
" --no-gcrypt gcrypt の init/deinit を無効化\n"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "エラー: \"%s\" オプションの引数がありません\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "WeeChat is running in headless mode (Ctrl-C to quit)."
|
#| msgid "WeeChat is running in headless mode (Ctrl-C to quit)."
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
@@ -7365,7 +7411,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -7644,7 +7690,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"%s%s: 警告: buffers.pl スクリプトが読み込まれました。buffers.pl スクリプトは "
|
"%s%s: 警告: buffers.pl スクリプトが読み込まれました。buffers.pl スクリプトは "
|
||||||
"buflist プラグインと類似するバーリストが含まれるバーを提供しています; 必要な"
|
"buflist プラグインと類似するバーリストが含まれるバーを提供しています; 必要な"
|
||||||
"らば、buffers.pl スクリプトを削除 (/script remove buffers.pl) するか、"
|
"らば、buffers.pl スクリプトを削除 (/script remove buffers.pl) するか、"
|
||||||
"buflist プラグインを無効化/アンロードしてください; 詳しい情報は WeeChat リ"
|
"buflist プラグインを無効化/アンロードしてください; 詳しい情報は WeeChat リ"
|
||||||
"リースノートを参照してください"
|
"リースノートを参照してください"
|
||||||
|
|
||||||
@@ -9060,7 +9106,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s%s: サーバ \"%s\" に接続されていません!"
|
msgstr "%s%s: サーバ \"%s\" に接続されていません!"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "%s: 自動再接続がキャンセルされました"
|
msgstr "%s: 自動再接続がキャンセルされました"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -9228,6 +9274,13 @@ msgid "second"
|
|||||||
msgid_plural "seconds"
|
msgid_plural "seconds"
|
||||||
msgstr[0] "秒"
|
msgstr[0] "秒"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "second"
|
||||||
|
#| msgid_plural "seconds"
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "秒"
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] "分"
|
msgstr[0] "分"
|
||||||
@@ -9389,7 +9442,7 @@ msgstr "全てのサーバ、全てのチャンネルに対してコマンドを
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
"[-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>] || [-"
|
||||||
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
"current] -include=<channel>[,<channel>...] <command> [<arguments>]"
|
||||||
@@ -9492,8 +9545,8 @@ msgstr "全ての接続済みサーバの全てのプライベートバッファ
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] || [-"
|
||||||
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
"current] -include=<nick>[,<nick>...] <command> [<arguments>]"
|
||||||
@@ -9550,8 +9603,8 @@ msgstr "全ての接続済みサーバでコマンドを実行"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || "
|
"[-exclude=<server>[,<server>...]] <command> [<arguments>] || "
|
||||||
"-include=<server>[,<server>...] <command> [<arguments>]"
|
"-include=<server>[,<server>...] <command> [<arguments>]"
|
||||||
@@ -9732,7 +9785,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -11954,8 +12007,9 @@ msgstr "fset バッファの左右スクロール量 (横幅の割合)"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -12753,7 +12807,7 @@ msgstr "%s%s: サーバに接続していません"
|
|||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s%s: this buffer is not a channel!"
|
msgid "%s%s: this buffer is not a channel!"
|
||||||
msgstr "%s%s: このバッファはチャンネルではありません"
|
msgstr "%s%s: このバッファはチャンネルではありません!"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -12926,6 +12980,7 @@ msgstr "%s%s%s%s%s に kill されました"
|
|||||||
msgid "%sMode %s%s %s[%s%s%s%s%s]%s by %s%s"
|
msgid "%sMode %s%s %s[%s%s%s%s%s]%s by %s%s"
|
||||||
msgstr "%1$s%11$s%12$s がモードを変更 %2$s%3$s %4$s[%5$s%6$s%7$s%8$s%9$s]%10$s"
|
msgstr "%1$s%11$s%12$s がモードを変更 %2$s%3$s %4$s[%5$s%6$s%7$s%8$s%9$s]%10$s"
|
||||||
|
|
||||||
|
# noqa
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sUser mode %s[%s%s%s]%s by %s%s"
|
msgid "%sUser mode %s[%s%s%s]%s by %s%s"
|
||||||
msgstr "%1$s%7$s%8$s%6$s がユーザモードを変更 %2$s[%3$s%4$s%5$s]%6$s"
|
msgstr "%1$s%7$s%8$s%6$s がユーザモードを変更 %2$s[%3$s%4$s%5$s]%6$s"
|
||||||
@@ -15390,10 +15445,9 @@ msgstr "%1$s%2$s: \"%4$s\" コマンドのサーバ \"%3$s\" は見つかりま
|
|||||||
msgid "%s%s: no connection to remote relay \"%s\""
|
msgid "%s%s: no connection to remote relay \"%s\""
|
||||||
msgstr "%s%s: サーバ \"%s\" に接続されていません!"
|
msgstr "%s%s: サーバ \"%s\" に接続されていません!"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "%s: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgstr ""
|
||||||
msgstr "%s: 自動再接続がキャンセルされました"
|
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
||||||
@@ -17901,7 +17955,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s%s: トリガの正規表現が間違っています: \"%s\""
|
msgstr "%s%s: トリガの正規表現が間違っています: \"%s\""
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -17935,6 +17989,11 @@ msgid ""
|
|||||||
"truncate content)"
|
"truncate content)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -18084,8 +18143,9 @@ msgstr "ファイル送信時に肯定応答を待たない"
|
|||||||
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
||||||
#| "IP is used)"
|
#| "IP is used)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"ファイル/チャットの送信に使う IP か DNS アドレス (空の場合、ローカルインター"
|
"ファイル/チャットの送信に使う IP か DNS アドレス (空の場合、ローカルインター"
|
||||||
"フェース IP を使う)"
|
"フェース IP を使う)"
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
|
"PO-Revision-Date: 2026-03-12 20:24+0100\n"
|
||||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||||
"Language-Team: Portuguese <>\n"
|
"Language-Team: Portuguese <>\n"
|
||||||
"Language: pt\n"
|
"Language: pt\n"
|
||||||
@@ -33,6 +33,159 @@ msgstr ""
|
|||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
"X-Generator: Virtaal 0.7.1\n"
|
"X-Generator: Virtaal 0.7.1\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "%s%s: unable to connect to sender"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "%s%s: não foi possível conectar para enviar"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "use same nick color for channel and private"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "usar a mesma cor para o nick no canal e em privado"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "mostrar o logo do WeeChat ao iniciar"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "mostrar o logo do WeeChat ao iniciar"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr ""
|
||||||
|
"comando executado ao iniciar o WeeChat, depois de recarregar os plugins "
|
||||||
|
"(nota: o conteúdo é avaliado, ver /help eval)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr "%sErro: não foi possível guardar a sessão no ficheiro"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat version at startup"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "mostrar a versão do WeeChat ao iniciar"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "plugin pointer (optional)"
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr "ponteiro para plugin (opcional)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat %s Copyright %s, compilado a %s %s\n"
|
||||||
|
"Desenvolvido por Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr "Utilização:"
|
||||||
|
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "[opção...] [plugin:opção...]"
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "Erro: falta o argumento da opção \"%s\"\n"
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Lista de barras:"
|
msgstr "Lista de barras:"
|
||||||
|
|
||||||
@@ -141,7 +294,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%sErro: não foi possível deslocar a barra \"%s\""
|
msgstr "%sErro: não foi possível deslocar a barra \"%s\""
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%sErro: o buffer número %d está fora do intervalo (deve estar entre 1 e %d)"
|
"%sErro: o buffer número %d está fora do intervalo (deve estar entre 1 e %d)"
|
||||||
|
|
||||||
@@ -509,9 +662,9 @@ msgstr ""
|
|||||||
"de segurança)"
|
"de segurança)"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "%d nova tecla adicionada"
|
msgstr[0] "%d nova tecla adicionada (contexto: \"%s\")"
|
||||||
msgstr[1] "%d novas teclas adicionadas (contexto: \"%s\")"
|
msgstr[1] "%d novas teclas adicionadas (contexto: \"%s\")"
|
||||||
|
|
||||||
msgid "Stored layouts:"
|
msgid "Stored layouts:"
|
||||||
@@ -1140,7 +1293,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -1658,7 +1811,7 @@ msgstr "avaliar uma expressão"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr "[-n|-s] <expressão> || [-n] -c <expressão1> <operador> <expressão2>"
|
msgstr "[-n|-s] <expressão> || [-n] -c <expressão1> <operador> <expressão2>"
|
||||||
|
|
||||||
@@ -1676,6 +1829,9 @@ msgstr ""
|
|||||||
"comandos a executar se as condições estiverem bem, depois de substituir as "
|
"comandos a executar se as condições estiverem bem, depois de substituir as "
|
||||||
"expressões regulares (pode separar vários comandos por ponto e vírgula)"
|
"expressões regulares (pode separar vários comandos por ponto e vírgula)"
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2220,7 +2376,7 @@ msgstr "mostrar ajuda sobre comandos e opções"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opção>"
|
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opção>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2283,9 +2439,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[remove]: remove current buffer from hotlist"
|
msgid "raw[remove]: remove current buffer from hotlist"
|
||||||
@@ -3189,7 +3345,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
@@ -3495,20 +3651,20 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -3780,7 +3936,7 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -6435,8 +6591,8 @@ msgstr "escrita - variável"
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr "leitura - tipo de objeto"
|
msgstr "leitura - tipo de objeto"
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr "leitura - tipo de objeto incorreto (esperava-se 'object start')"
|
msgstr "leitura - tipo de objeto incorreto (esperava-se \"object start\")"
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
msgstr "leitura - id objeto"
|
msgstr "leitura - id objeto"
|
||||||
@@ -6557,104 +6713,6 @@ msgstr ""
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr "Fim do comando '%s', tempo limite atingido (%.1fs)"
|
msgstr "Fim do comando '%s', tempo limite atingido (%.1fs)"
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"WeeChat %s Copyright %s, compilado a %s %s\n"
|
|
||||||
"Desenvolvido por Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "Utilização: %s [opção...] [plugin:opção...]\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect desativar conexão automática aos servidores ao "
|
|
||||||
"iniciar\n"
|
|
||||||
" -c, --colors mostrar cores predefinidas no terminal\n"
|
|
||||||
" -d, --dir <path> definir o diretório do WeeChat (predefinição: "
|
|
||||||
"~/.weechat)\n"
|
|
||||||
" (a variável de ambiente WEECHAT_HOME é lida se "
|
|
||||||
"esta opção não for fornecida)\n"
|
|
||||||
" -h, --help mostrar esta ajuda\n"
|
|
||||||
" -l, --license mostrar a licença do WeeChat\n"
|
|
||||||
" -p, --no-plugin não carregar nenhum plugin ao iniciar\n"
|
|
||||||
" -r, --run-command <cmd> executar os comandos ao iniciar\n"
|
|
||||||
" (pode-se separar vários comandos por ponto e "
|
|
||||||
"vírgula)\n"
|
|
||||||
" -s, --no-script não carregar nenhum comando ao iniciar\n"
|
|
||||||
" --upgrade atualizar o WeeChat usando ficheiros de sessão "
|
|
||||||
"(ver /help upgrade no WeeChat)\n"
|
|
||||||
" -v, --version mostrar a versão do WeeChat\n"
|
|
||||||
" plugin:opção opção de um plugin (ver man weechat)\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "Erro: falta o argumento da opção \"%s\"\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr "1 se o WeeChat está a atualizar (comando `/upgrade`)"
|
msgstr "1 se o WeeChat está a atualizar (comando `/upgrade`)"
|
||||||
@@ -7410,7 +7468,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9019,7 +9077,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s%s: não está conectado ao servidor \"%s\"!"
|
msgstr "%s%s: não está conectado ao servidor \"%s\"!"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "%s: a reconexão automática foi cancelada"
|
msgstr "%s: a reconexão automática foi cancelada"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -9191,6 +9249,14 @@ msgid_plural "seconds"
|
|||||||
msgstr[0] "segundo"
|
msgstr[0] "segundo"
|
||||||
msgstr[1] "segundos"
|
msgstr[1] "segundos"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "second"
|
||||||
|
#| msgid_plural "seconds"
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "segundo"
|
||||||
|
msgstr[1] "segundos"
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] "minuto"
|
msgstr[0] "minuto"
|
||||||
@@ -9355,7 +9421,7 @@ msgstr ""
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
|
msgstr "[-current] [-exclude=<canal>[,<canal>...]] <comando> [<argumentos>]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9459,8 +9525,8 @@ msgstr ""
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr "[-current] [-exclude=<nick>[,<nick>...]] <comando> [<argumentos>]"
|
msgstr "[-current] [-exclude=<nick>[,<nick>...]] <comando> [<argumentos>]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9516,8 +9582,8 @@ msgstr "executar um comando em todos os servidores conectados"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
|
msgstr "[-exclude=<servidor>[,<servidor>...]] <comando> [<argumentos>]"
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
@@ -9688,7 +9754,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -11135,7 +11201,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"%s%s: invalid priorities string, error at this position in string: \"%s\""
|
"%s%s: invalid priorities string, error at this position in string: \"%s\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%s%s: cadeia de prioridades inválida, erro nesta posição na cadeia: \"%s\""
|
"%s%s: cadeia de prioridades inválida, erro nesta posição na cadeia: \"%s\""
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s%s: warning: invalid autojoin value \"%s\", see /help %s.%s.%s"
|
msgid "%s%s: warning: invalid autojoin value \"%s\", see /help %s.%s.%s"
|
||||||
@@ -11874,8 +11940,9 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -15280,10 +15347,9 @@ msgstr "%s%s: o servidor \"%s\" do comando \"%s\" não foi encontrado"
|
|||||||
msgid "%s%s: no connection to remote relay \"%s\""
|
msgid "%s%s: no connection to remote relay \"%s\""
|
||||||
msgstr "%s%s: não está conectado ao servidor \"%s\"!"
|
msgstr "%s%s: não está conectado ao servidor \"%s\"!"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "%s: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgstr ""
|
||||||
msgstr "%s: a reconexão automática foi cancelada"
|
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
#| msgid "%s%s: server \"%s\" already exists for \"%s\" command"
|
||||||
@@ -16189,7 +16255,7 @@ msgid ""
|
|||||||
"%s%s: too few arguments received from client %s%s%s for command \"%s\" "
|
"%s%s: too few arguments received from client %s%s%s for command \"%s\" "
|
||||||
"(received: %d arguments, expected: at least %d)"
|
"(received: %d arguments, expected: at least %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"%s%s: argumentos insuficientes recebidos do cliente %s%s%s pelo comando "
|
"%s%s: argumentos insuficientes recebidos do cliente %s%s%s pelo comando "
|
||||||
"\"%s\" (recebido: %d argumentos, esperado: pelo menos %d)"
|
"\"%s\" (recebido: %d argumentos, esperado: pelo menos %d)"
|
||||||
|
|
||||||
msgid "Support of ruby scripts"
|
msgid "Support of ruby scripts"
|
||||||
@@ -17785,7 +17851,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s%s: expressão regular inválida no acionador: \"%s\""
|
msgstr "%s%s: expressão regular inválida no acionador: \"%s\""
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -17819,6 +17885,11 @@ msgid ""
|
|||||||
"truncate content)"
|
"truncate content)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -17969,8 +18040,9 @@ msgstr "não aguardar por ACK ao enviar ficheiros"
|
|||||||
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
||||||
#| "IP is used)"
|
#| "IP is used)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"IP ou endereço DNS usado para enviar ficheiros/chats (se vazio, é usado o IP "
|
"IP ou endereço DNS usado para enviar ficheiros/chats (se vazio, é usado o IP "
|
||||||
"da interface local)"
|
"da interface local)"
|
||||||
|
|||||||
+226
-159
@@ -19,12 +19,35 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
# Common conventions used here:
|
||||||
|
# hotlist -> lista de atividade
|
||||||
|
# input -> entrada
|
||||||
|
# scroll -> rolar
|
||||||
|
# set -> definido
|
||||||
|
# buffer -> buffer (don't translate it)
|
||||||
|
# hostname -> hostname
|
||||||
|
# nick -> apelido
|
||||||
|
# op/voice -> don't translate irc specific terms (besides nick)
|
||||||
|
# feature -> característica
|
||||||
|
# don't translate weechat specific terms, like "left" when used as a option value
|
||||||
|
# merge -> mesclar
|
||||||
|
# layout -> disposição
|
||||||
|
# background -> fundo (quando se referir à cores, janelas)
|
||||||
|
# comma separated list of X -> lista de X separadas por vírgulas
|
||||||
|
# status -> status
|
||||||
|
# away -> ausent (when refers to a nick status)
|
||||||
|
# cursor -> cursor (don't translate it)
|
||||||
|
# dump -> dump (don't translate it)
|
||||||
|
# key bindings -> atalhos de teclado
|
||||||
|
# bind -> vincular
|
||||||
|
# handshake -> handshake (don't translate it when related to cryptography)
|
||||||
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
|
"PO-Revision-Date: 2026-03-12 20:19+0100\n"
|
||||||
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
|
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
|
||||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||||
"Language: pt_BR\n"
|
"Language: pt_BR\n"
|
||||||
@@ -34,6 +57,159 @@ msgstr ""
|
|||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
"X-Generator: Lokalize 1.1\n"
|
"X-Generator: Lokalize 1.1\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "%s%s: unable to connect to sender"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "%s%s: não foi possível conectar ao remetente"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "use same nick color for channel and private"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "utilizar a mesma cor de apelido para canal e privado"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "mosta o logo do WeeChat na inicialização"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "mosta o logo do WeeChat na inicialização"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr ""
|
||||||
|
"comando executado quando o WeeChat inicia, após o carregamento dos plugins "
|
||||||
|
"(nota: o conteúdo é avaliado, veja /help eval)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr "%sErro: incapaz de salvar a sessão em arquivo"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat version at startup"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "mosta a versão do WeeChat na inicialização"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "plugin pointer (optional)"
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr "pointeiro do plugin (opcional)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat %s Copyright %s, compilado em %s %s\n"
|
||||||
|
"Desenvolvido por Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr "Uso:"
|
||||||
|
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "[opção...] [plugin:opção...]"
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "Erro: faltando argumento para opção \"%s\"\n"
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Lista de barras:"
|
msgstr "Lista de barras:"
|
||||||
|
|
||||||
@@ -141,7 +317,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%sErro: não foi possível rolar a barra \"%s\""
|
msgstr "%sErro: não foi possível rolar a barra \"%s\""
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr "%sNúmero de cor inválido \"%s\" (precisa ser entre %d e %d)"
|
msgstr "%sNúmero de cor inválido \"%s\" (precisa ser entre %d e %d)"
|
||||||
|
|
||||||
msgid "Buffers list:"
|
msgid "Buffers list:"
|
||||||
@@ -504,9 +680,9 @@ msgstr ""
|
|||||||
"de segurança)"
|
"de segurança)"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "%d nova tecla adicionada"
|
msgstr[0] "%d nova tecla adicionada (context: \"%s\")"
|
||||||
msgstr[1] "%d novas teclas adicionadas (context: \"%s\")"
|
msgstr[1] "%d novas teclas adicionadas (context: \"%s\")"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -1126,7 +1302,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -1619,7 +1795,7 @@ msgstr "avaliar expressão"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
|
msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
|
||||||
|
|
||||||
@@ -1631,6 +1807,9 @@ msgid ""
|
|||||||
"separated by semicolons)"
|
"separated by semicolons)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2174,7 +2353,7 @@ msgstr "mostra a ajuda sobre comandos e opções"
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
#| msgid "-list|-listfull [<plugin> [<plugin>...]] || <command> || <option>"
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opção>"
|
msgstr "-list|-listfull [<plugin> [<plugin>...]] || <comando> || <opção>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2237,9 +2416,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[remove]: remove current buffer from hotlist"
|
msgid "raw[remove]: remove current buffer from hotlist"
|
||||||
@@ -3130,7 +3309,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
@@ -3401,20 +3580,20 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -3677,7 +3856,7 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -6082,7 +6261,7 @@ msgstr ""
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
@@ -6197,133 +6376,6 @@ msgstr ""
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
# Common conventions used here:
|
|
||||||
# hotlist -> lista de atividade
|
|
||||||
# input -> entrada
|
|
||||||
# scroll -> rolar
|
|
||||||
# set -> definido
|
|
||||||
# buffer -> buffer (don't translate it)
|
|
||||||
# hostname -> hostname
|
|
||||||
# nick -> apelido
|
|
||||||
# op/voice -> don't translate irc specific terms (besides nick)
|
|
||||||
# feature -> característica
|
|
||||||
# don't translate weechat specific terms, like "left" when used as a option value
|
|
||||||
# merge -> mesclar
|
|
||||||
# layout -> disposição
|
|
||||||
# background -> fundo (quando se referir à cores, janelas)
|
|
||||||
# comma separated list of X -> lista de X separadas por vírgulas
|
|
||||||
# status -> status
|
|
||||||
# away -> ausent (when refers to a nick status)
|
|
||||||
# cursor -> cursor (don't translate it)
|
|
||||||
# dump -> dump (don't translate it)
|
|
||||||
# key bindings -> atalhos de teclado
|
|
||||||
# bind -> vincular
|
|
||||||
# handshake -> handshake (don't translate it when related to cryptography)
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"WeeChat %s Copyright %s, compilado em %s %s\n"
|
|
||||||
"Desenvolvido por Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "Uso: %s [opção...] [plugin:opção...]\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect desabilita a auto-conexão a servidores durante a "
|
|
||||||
"inicialização\n"
|
|
||||||
" -c, --colors exibe as cores padrões no terminal\n"
|
|
||||||
" -d, --dir <path> configura diretório do WeeChat (padrão: "
|
|
||||||
"~/.weechat)\n"
|
|
||||||
" (a variável de ambiente WEECHAT_HOME é lida "
|
|
||||||
"seessa opção não for dada)\n"
|
|
||||||
" -t, --temp-dir cria um diretório temporário para o WeeChat e "
|
|
||||||
"odeleta na saída\n"
|
|
||||||
" -h, --help mostra esta ajuda\n"
|
|
||||||
" -l, --license mostra a licença do WeeChat\n"
|
|
||||||
" -p, --no-plugin não carrega nenhum plugin durante a "
|
|
||||||
"inicialização\n"
|
|
||||||
" -P, --plugins <plugins> carregue apenas esses plugins na inicialização\n"
|
|
||||||
" (veja /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> executa comandos após a inicialização;\n"
|
|
||||||
" vários comandos podem ser separados por ponto-e-"
|
|
||||||
"vírgula,\n"
|
|
||||||
" essa opção pode ser utilizada mais de uma vez\n"
|
|
||||||
" -s, --no-script não carrega nenhum script durante a "
|
|
||||||
"inicialização\n"
|
|
||||||
" --upgrade atualiza o WeeChat através dos arquivos de sessão "
|
|
||||||
"(veja /help upgrade no WeeChat)\n"
|
|
||||||
" -v, --version mostra a versão do WeeChat\n"
|
|
||||||
" plugin:option opção para o plugin (veja o manual do WeeChat)\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "Erro: faltando argumento para opção \"%s\"\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr "1 se o WeeChat está sendo atualizado (comando `/upgrade`)"
|
msgstr "1 se o WeeChat está sendo atualizado (comando `/upgrade`)"
|
||||||
@@ -7040,7 +7092,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8616,7 +8668,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -8778,6 +8830,14 @@ msgid_plural "seconds"
|
|||||||
msgstr[0] "segundo"
|
msgstr[0] "segundo"
|
||||||
msgstr[1] "segundos"
|
msgstr[1] "segundos"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "second"
|
||||||
|
#| msgid_plural "seconds"
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "segundo"
|
||||||
|
msgstr[1] "segundos"
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] "minuto"
|
msgstr[0] "minuto"
|
||||||
@@ -8922,7 +8982,7 @@ msgstr ""
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
|
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -9011,8 +9071,8 @@ msgstr ""
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
|
msgstr "<apelido>[,<apelido>...] [<contador> [<target>]]"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -9064,8 +9124,8 @@ msgstr ""
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
@@ -9213,7 +9273,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[end]: end the capability negotiation"
|
msgid "raw[end]: end the capability negotiation"
|
||||||
@@ -11126,8 +11186,9 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -14363,7 +14424,7 @@ msgstr "%s%s: sem conexão com o servidor \"%s\" para redirecionamento"
|
|||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
#| msgid "%s%s: connection refused"
|
#| msgid "%s%s: connection refused"
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgstr "%s%s: conexão recusada"
|
msgstr "%s%s: conexão recusada"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
@@ -16695,7 +16756,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s%s: erro ao compilar expressão regular \"%s\""
|
msgstr "%s%s: erro ao compilar expressão regular \"%s\""
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -16729,6 +16790,11 @@ msgid ""
|
|||||||
"truncate content)"
|
"truncate content)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -16879,8 +16945,9 @@ msgstr "não esperar por ACK quando enviar arquivo"
|
|||||||
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
#| "IP or DNS address used for sending files/chats (if empty, local interface "
|
||||||
#| "IP is used)"
|
#| "IP is used)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Endereço IP ou DNS usado para enviar arquivos/chats (se vazio, interface "
|
"Endereço IP ou DNS usado para enviar arquivos/chats (se vazio, interface "
|
||||||
"local IP é usada)"
|
"local IP é usada)"
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2025-10-27 08:27+0100\n"
|
"PO-Revision-Date: 2026-03-08 08:59+0100\n"
|
||||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||||
"Language: ru\n"
|
"Language: ru\n"
|
||||||
@@ -35,6 +35,154 @@ msgstr ""
|
|||||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||||
"X-Poedit-Bookmarks: -1,-1,608,-1,-1,-1,-1,-1,-1,-1\n"
|
"X-Poedit-Bookmarks: -1,-1,608,-1,-1,-1,-1,-1,-1,-1\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "%s DCC: не могу соединиться с отправителем\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "цвет ника собеседника в окне привата"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "отображать логотип WeeChat при запуске"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat logo at startup"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "отображать логотип WeeChat при запуске"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr "ник, используемый на IRC сервере"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
#, fuzzy
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr "%s не могу сохранить сессию в файл\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid "display WeeChat version at startup"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "отображать версию WeeChat при запуске"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
#, fuzzy
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr " (нет pluginа)\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"%s Copyright (C) 2003-2010, собран %s %s\n"
|
||||||
|
"Разработчик - Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr "Использование:"
|
||||||
|
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "[опция...] [расширение:опция...]"
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "%s нет аргумента для параметра \"%s\"\n"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Список сокращений:\n"
|
msgstr "Список сокращений:\n"
|
||||||
@@ -145,7 +293,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%s не могу сохранить конфигурационный файл pluginов\n"
|
msgstr "%s не могу сохранить конфигурационный файл pluginов\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr "%sОшибочный код цвета \"%s\" (должен быть в диапазоне от %d до %d)"
|
msgstr "%sОшибочный код цвета \"%s\" (должен быть в диапазоне от %d до %d)"
|
||||||
|
|
||||||
msgid "Buffers list:"
|
msgid "Buffers list:"
|
||||||
@@ -504,12 +652,12 @@ msgid "%sArgument \"-yes\" is required for keys reset (security reason)"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"%s аргумент \"-yes\" необходим для сброса ключей (в целях безопасности)\n"
|
"%s аргумент \"-yes\" необходим для сброса ключей (в целях безопасности)\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "Игнорирования не заданы.\n"
|
msgstr[0] ""
|
||||||
msgstr[1] "Игнорирования не заданы.\n"
|
msgstr[1] ""
|
||||||
msgstr[2] "Игнорирования не заданы.\n"
|
msgstr[2] ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Stored layouts:"
|
msgid "Stored layouts:"
|
||||||
@@ -1123,7 +1271,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -1576,7 +1724,7 @@ msgstr ""
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -1588,6 +1736,9 @@ msgid ""
|
|||||||
"separated by semicolons)"
|
"separated by semicolons)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2109,7 +2260,7 @@ msgid "display help about commands and options"
|
|||||||
msgstr "отобразить помощь по командам"
|
msgstr "отобразить помощь по командам"
|
||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2169,9 +2320,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[remove]: remove current buffer from hotlist"
|
msgid "raw[remove]: remove current buffer from hotlist"
|
||||||
@@ -3036,7 +3187,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
@@ -3273,20 +3424,20 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -3526,7 +3677,7 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -4330,7 +4481,7 @@ msgstr ""
|
|||||||
"(см. /help quit)"
|
"(см. /help quit)"
|
||||||
|
|
||||||
msgid "display special message when day changes"
|
msgid "display special message when day changes"
|
||||||
msgstr "отображать специальное сообщение при смене дня"
|
msgstr "отображать специальное сообщение при смене дня"
|
||||||
|
|
||||||
#. TRANSLATORS: string "${color:xxx}" must NOT be translated
|
#. TRANSLATORS: string "${color:xxx}" must NOT be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -5783,7 +5934,7 @@ msgstr " . строковой тип (значения: "
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
@@ -5898,99 +6049,6 @@ msgstr ""
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, fuzzy, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"%s Copyright (C) 2003-2010, собран %s %s\n"
|
|
||||||
"Разработчик - Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "Использование: %s [опция...] [расширение:опция...]\n"
|
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect не подключаться автоматически при запуске\n"
|
|
||||||
" -c, --config отобразить параметры конфигурации\n"
|
|
||||||
" -d, --dir <path> установить домашний каталог WeeChat (по умолчанию: "
|
|
||||||
"~/.weechat)\n"
|
|
||||||
" -f, --key-functions отобразить внутренние функции WeeChat для горячих "
|
|
||||||
"клавиш\n"
|
|
||||||
" -h, --help эта сравка\n"
|
|
||||||
" -i, --irc-commands отобразить команды IRC\n"
|
|
||||||
" -k, --keys отобразить клавиши по умолчанию\n"
|
|
||||||
" -l, --license отобразить лицензию WeeChat\n"
|
|
||||||
" -p, --no-plugin не загружать pluginы при запуске\n"
|
|
||||||
" -v, --version отобразить версию WeeChat\n"
|
|
||||||
" -w, --weechat-commands отобразить команды WeeChat\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, fuzzy, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "%s нет аргумента для параметра \"%s\"\n"
|
|
||||||
|
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -6697,7 +6755,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8225,7 +8283,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s не подключен к серверу \"%s\"!\n"
|
msgstr "%s не подключен к серверу \"%s\"!\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "Авто-переподключение отменено\n"
|
msgstr "Авто-переподключение отменено\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
@@ -8387,6 +8445,13 @@ msgstr[0] "секунда"
|
|||||||
msgstr[1] "секунда"
|
msgstr[1] "секунда"
|
||||||
msgstr[2] "секунда"
|
msgstr[2] "секунда"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "секунда"
|
||||||
|
msgstr[1] "секунда"
|
||||||
|
msgstr[2] "секунда"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
@@ -8545,7 +8610,7 @@ msgstr "отправить действие на все каналы всех п
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr "[сокращение [команда [аргументы]]]"
|
msgstr "[сокращение [команда [аргументы]]]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8635,8 +8700,8 @@ msgstr "отправить действие на все каналы всех п
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr "[сокращение [команда [аргументы]]]"
|
msgstr "[сокращение [команда [аргументы]]]"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -8686,8 +8751,8 @@ msgstr "отправить сообщение на все каналы всех
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
@@ -8837,7 +8902,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -10805,8 +10870,9 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@@ -13951,7 +14017,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
|
|||||||
msgstr "%s не подключен к серверу \"%s\"!\n"
|
msgstr "%s не подключен к серверу \"%s\"!\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgstr "Авто-переподключение отменено\n"
|
msgstr "Авто-переподключение отменено\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
@@ -16186,7 +16252,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s недостаточно памяти для сообщения в строке информации\n"
|
msgstr "%s недостаточно памяти для сообщения в строке информации\n"
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -16220,6 +16286,11 @@ msgid ""
|
|||||||
"truncate content)"
|
"truncate content)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -16366,8 +16437,9 @@ msgstr "не ожидать ACK при отправке файла"
|
|||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"IP адрес или домен, используемый для исходящих DCC соединений (пустое "
|
"IP адрес или домен, используемый для исходящих DCC соединений (пустое "
|
||||||
"значение означает текущий IP адрес)"
|
"значение означает текущий IP адрес)"
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2026-03-16 13:20+0100\n"
|
"PO-Revision-Date: 2026-03-21 17:26+0100\n"
|
||||||
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
||||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||||
"Language: sr\n"
|
"Language: sr\n"
|
||||||
@@ -33,6 +33,161 @@ msgstr ""
|
|||||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr "спречава аутоматско повезивање са серверима приликом покретања"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr "приказује подразумеване боје у терминалу и прекида извршавање"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr "-d, --dir <путања>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
"поставља WeeChat почетни директоријум или 5 различита директоријума "
|
||||||
|
"раздвојена тачка зарезима (у следећем редоследу: конфиг, подаци, стање, кеш, "
|
||||||
|
"дир за време извршавања) (ако се ова опција не зада, чита се WEECHAT_HOME "
|
||||||
|
"променљива окружења)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
"креира привремени WeeChat почетни директоријум и брише га приликом напуштања "
|
||||||
|
"програма (није компатибилно са опцијом „-d”)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr "приказује ову помоћ и прекида извршавање"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr "приказује информације о изградњи и прекида извршавање"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr "приказује WeeChat лиценцу и прекида извршавање"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr "приликом покретања се не учитавају додаци"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr "-P, --plugins <додаци>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
"приликом покретања се учитавају само ови додаци (погледајте /help "
|
||||||
|
"weechat.plugin.autoload)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr "-r, --run-command <ком>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr ""
|
||||||
|
"покреће команд(у/е) након покретања; можете да раздвојите више команди са "
|
||||||
|
"тачка запета и оне се израчунавају, ова опција може да се зада више пута"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr "приликом учитавања се не учитавају никакве скрипте"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr ""
|
||||||
|
"ажурира WeeChat користећи фајлове сесије (погледајте /help upgrade у "
|
||||||
|
"програму WeeChat)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr "приказује верзију програма WeeChat и прекида извршавање"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr "додатак:опција"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr "опција за додатак (погледајте man weechat)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr "--doc-gen <путања>"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr "генерише фајлове за изградњу документације и прекида извршавање"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
"покреће WeeChat као даемон (рачва, нова група процеса, затворени дескриптори "
|
||||||
|
"фајла); у режиму без интерфејса, WeeChat је подразумевано блокирајући и не "
|
||||||
|
"извршава се у позадини"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
"уместо да се лог поруке уписују у лог фајл, исписују се на стандардни излаз "
|
||||||
|
"(игнорише се ако се зада опција „--daemon”)"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr "након што се додаци уклоне из меморије, не позива се функција dlclose"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr "искључује иниц/деиниц gnutls"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr "искључује иниц/деиниц gcrypt"
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
"WeeChat %s ауторска права %s, компајлиран %s %s\n"
|
||||||
|
"Написао Себастијен Елеу <flashcode@flashtux.org> - %s"
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr "Употреба:"
|
||||||
|
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr "[опција...] [додатак:опција...]"
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr "Додатне опције у режиму без интерфејса:"
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
"Дибаг опције (за алате као што је valgrind, НЕ КОРИСТИТЕ У ПРОДУКЦИЈИ):"
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr "Грешка: недостаје аргумент за опцију „%s”\n"
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr "Листа трака:"
|
msgstr "Листа трака:"
|
||||||
|
|
||||||
@@ -138,7 +293,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr "%sТрака „%s” не може да се скролује"
|
msgstr "%sТрака „%s” не може да се скролује"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr "%sБрој бафера „%d” је ван опсега (мода бити између 1 и %d)"
|
msgstr "%sБрој бафера „%d” је ван опсега (мода бити између 1 и %d)"
|
||||||
|
|
||||||
msgid "Buffers list:"
|
msgid "Buffers list:"
|
||||||
@@ -477,7 +632,7 @@ msgstr ""
|
|||||||
"%sЗа ресетовање тастера је неопходан аргумент „-yes” (из разлога безбедности)"
|
"%sЗа ресетовање тастера је неопходан аргумент „-yes” (из разлога безбедности)"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] "додат је %d нови тастер (контекст: „%s”)"
|
msgstr[0] "додат је %d нови тастер (контекст: „%s”)"
|
||||||
msgstr[1] "додато је %d нова тастера (контекст: „%s”)"
|
msgstr[1] "додато је %d нова тастера (контекст: „%s”)"
|
||||||
@@ -1085,9 +1240,13 @@ msgstr "маска: име у којем је дозвољен џокер „*
|
|||||||
msgid "raw[set]: set a value for a bar property"
|
msgid "raw[set]: set a value for a bar property"
|
||||||
msgstr "raw[set]: поставља вредност особине траке"
|
msgstr "raw[set]: поставља вредност особине траке"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| "option: option to change (for options list, look at /set weechat.bar."
|
||||||
|
#| "<barname>.*)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"опција: опција која се мења (за листу опција, погледајте /set weechat.bar."
|
"опција: опција која се мења (за листу опција, погледајте /set weechat.bar."
|
||||||
"<иметраке>.*)"
|
"<иметраке>.*)"
|
||||||
@@ -1150,8 +1309,8 @@ msgid ""
|
|||||||
"get <property> || jump smart|last_displayed|prev_visited|next_visited || "
|
"get <property> || jump smart|last_displayed|prev_visited|next_visited || "
|
||||||
"<id>|<number>|-|+|<name>"
|
"<id>|<number>|-|+|<name>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"list || add [-free] [-switch] <име> || clear [<број>|<име>|-merged|-all "
|
"list || add [-free] [-switch] <име> || clear [<ид>|<број>|<име>|-merged|-all "
|
||||||
"[<ид><број>|<име>...]] || move <број>|-|+ || swap <ид1>|<број1>|<име1> "
|
"[<ид>|<број>|<име>...]] || move <број>|-|+ || swap <ид1>|<број1>|<име1> "
|
||||||
"[<ид2>|<број2>|<име2>] || cycle <ид>|<број>|<име>... || merge <ид>|<број>|"
|
"[<ид2>|<број2>|<име2>] || cycle <ид>|<број>|<име>... || merge <ид>|<број>|"
|
||||||
"<име> || unmerge [<број>|-all] || hide [<ид>|<број>|<име>|-all [<ид>|<број>|"
|
"<име> || unmerge [<број>|-all] || hide [<ид>|<број>|<име>|-all [<ид>|<број>|"
|
||||||
"<име>...]] || unhide [<ид>|<број>|<име>|-all [<ид>|<број>|<име>...]] || "
|
"<име>...]] || unhide [<ид>|<број>|<име>|-all [<ид>|<број>|<име>...]] || "
|
||||||
@@ -1477,9 +1636,9 @@ msgid ""
|
|||||||
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
"|| hdata [free] || time <command> || unicode <string> || whitespace"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"list || set <додатак> <ниво> || dump [<додатак>] || hooks [<маска_додатака> "
|
"list || set <додатак> <ниво> || dump [<додатак>] || hooks [<маска_додатака> "
|
||||||
"[<тип_куке>...]] || buffer|certs|color|dirs|infolists|libs|memory|tags|term|"
|
"[<тип_куке>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|"
|
||||||
"url|windows || callbacks <трајање>[<јединица>] || mouse|cursor [verbose] || "
|
"term|url|windows || callbacks <трајање>[<јединица>] || mouse|cursor "
|
||||||
"hdata [free] || time <команда> || unicode <стринг> || whitespace"
|
"[verbose] || hdata [free] || time <команда> || unicode <стринг> || whitespace"
|
||||||
|
|
||||||
msgid "raw[list]: list plugins with debug levels"
|
msgid "raw[list]: list plugins with debug levels"
|
||||||
msgstr "raw[list]: исписује додатке са дибаг нивоима"
|
msgstr "raw[list]: исписује додатке са дибаг нивоима"
|
||||||
@@ -1620,8 +1779,12 @@ msgid "evaluate expression"
|
|||||||
msgstr "израчунавање израза"
|
msgstr "израчунавање израза"
|
||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| "[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
|
#| "<expression2>"
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr "[-n|-s] [-d] <израз> || [-n] [-d [-d]] -c <израз1> <оператор> <израз2>"
|
msgstr "[-n|-s] [-d] <израз> || [-n] [-d [-d]] -c <израз1> <оператор> <израз2>"
|
||||||
|
|
||||||
@@ -1635,6 +1798,9 @@ msgstr ""
|
|||||||
"raw[-s]: дели израз пре израчунавања (многе команде могу да се раздвоје са "
|
"raw[-s]: дели израз пре израчунавања (многе команде могу да се раздвоје са "
|
||||||
"тачка запетама)"
|
"тачка запетама)"
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -2246,7 +2412,7 @@ msgid "display help about commands and options"
|
|||||||
msgstr "приказивање помоћи за команде и опције"
|
msgstr "приказивање помоћи за команде и опције"
|
||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr "-list|-listfull [<додатак>...] || <команда> || <опција>"
|
msgstr "-list|-listfull [<додатак>...] || <команда> || <опција>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2304,9 +2470,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr "raw[clear]: брише врућу листу"
|
msgstr "raw[clear]: брише врућу листу"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"ниво: „lowest” да се обрише само најнижи ниво у врућој листи, „highest” да "
|
"ниво: „lowest” да се обрише само најнижи ниво у врућој листи, „highest” да "
|
||||||
"се обрише само највиши ниво у врућој листи, или маска нивоа: цео број који "
|
"се обрише само највиши ниво у врућој листи, или маска нивоа: цео број који "
|
||||||
@@ -3045,7 +3211,7 @@ msgid ""
|
|||||||
"[<arguments>] || autoload [<arguments>] || reload [<name>|* [<arguments>]] "
|
"[<arguments>] || autoload [<arguments>] || reload [<name>|* [<arguments>]] "
|
||||||
"|| unload [<name>]"
|
"|| unload [<name>]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"list| [-o|-ol|-i|-il|<име>] || listfull [<име>] || load <имефајла> "
|
"list [-o|-ol|-i|-il|<име>] || listfull [<име>] || load <имефајла> "
|
||||||
"[<аргументи>] || autoload [<аргументи>] || reload [<име>|* [<аргументи>]] || "
|
"[<аргументи>] || autoload [<аргументи>] || reload [<име>|* [<аргументи>]] || "
|
||||||
"unload [<име>]"
|
"unload [<име>]"
|
||||||
|
|
||||||
@@ -3291,9 +3457,13 @@ msgstr "raw[del]: брише проксије"
|
|||||||
msgid "raw[set]: set a value for a proxy property"
|
msgid "raw[set]: set a value for a proxy property"
|
||||||
msgstr "raw[set]: поставља вредност особине проксија"
|
msgstr "raw[set]: поставља вредност особине проксија"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| "option: option to change (for options list, look at /set weechat.proxy."
|
||||||
|
#| "<proxyname>.*)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"опција: опција која треба да се промени (за листу опција, погледајте /set "
|
"опција: опција која треба да се промени (за листу опција, погледајте /set "
|
||||||
"weechat.proxy.<имепроксија>.*)"
|
"weechat.proxy.<имепроксија>.*)"
|
||||||
@@ -3521,7 +3691,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Можете да поставите променљиву окружења „WEECHAT_PASSPHRASE” која спречава "
|
"Можете да поставите променљиву окружења „WEECHAT_PASSPHRASE” која спречава "
|
||||||
"овај одзив (то је иста променљива коју програм WeeChat користи приликом /"
|
"овај одзив (то је иста променљива коју програм WeeChat користи приликом /"
|
||||||
"upgrade), или да поставите опцију sec.crypt.passphrase_command тако да се "
|
"upgrade), или да поставите опцију sec.crypt.passphrase_command тако да се "
|
||||||
"тајна реченица чита из излаза спољне команде као што је управљач лозинкама "
|
"тајна реченица чита из излаза спољне команде као што је управљач лозинкама "
|
||||||
"(погледајте /help sec.crypt.passphrase_command)."
|
"(погледајте /help sec.crypt.passphrase_command)."
|
||||||
|
|
||||||
@@ -3558,23 +3728,23 @@ msgstr " користи програм „pass” за читање тајне
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr " шифровање libera SASL лозинке:"
|
msgstr " шифровање libera SASL лозинке:"
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr " /secure set libera мојалозинка"
|
msgstr " /secure set libera моја_лозинка"
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr " шифровање oftc лозинке за nickserv:"
|
msgstr " шифровање oftc лозинке за nickserv:"
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr " /secure set oftc мојалозинка"
|
msgstr " /secure set oftc моја_лозинка"
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr " алијас за ghost надимка „mynick”:"
|
msgstr " алијас за ghost надимка „andrew”:"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
|
|
||||||
msgid "set config options and environment variables"
|
msgid "set config options and environment variables"
|
||||||
@@ -3878,7 +4048,9 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr "Процес са опцијом „-quit” је следећи:"
|
msgstr "Процес са опцијом „-quit” је следећи:"
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
#, fuzzy
|
||||||
|
#| msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
||||||
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr " 1. затварање *СВИХ* конекција (irc, xfer, relay, ...)"
|
msgstr " 1. затварање *СВИХ* конекција (irc, xfer, relay, ...)"
|
||||||
|
|
||||||
msgid " 2. save session into files (*.upgrade)"
|
msgid " 2. save session into files (*.upgrade)"
|
||||||
@@ -5486,7 +5658,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"листа карактера раздвојених зарезима (или опсега карактера) који се сматрају "
|
"листа карактера раздвојених зарезима (или опсега карактера) који се сматрају "
|
||||||
"за део речи које се истичу; свака ставка може бити један карактер, опсег "
|
"за део речи које се истичу; свака ставка може бити један карактер, опсег "
|
||||||
"карактера (формат је: a-z), класа широких карактера (на пример „alnum”, "
|
"карактера (формат је: a-z), класа широких карактера (на пример „alnum”, "
|
||||||
"погледајте man wctype); „!” испред ставке је чини негативном (тј. карактер "
|
"погледајте man wctype); „!” испред ставке је чини негативном (тј. карактер "
|
||||||
"се НЕ сматра као део речи); вредност „*” се подудара са било којим "
|
"се НЕ сматра као део речи); вредност „*” се подудара са било којим "
|
||||||
"карактером; дозвољени су уникод карактери у формату \\u1234, на пример "
|
"карактером; дозвољени су уникод карактери у формату \\u1234, на пример "
|
||||||
@@ -6526,8 +6698,8 @@ msgstr "упис -променљива"
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr "читање - тип објекта"
|
msgstr "читање - тип објекта"
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr "читање - лош тип објекта (очекује се 'object start')"
|
msgstr "читање - лош тип објекта (очекује се \"object start\")"
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
msgstr "читање - ид објекта"
|
msgstr "читање - ид објекта"
|
||||||
@@ -6586,15 +6758,13 @@ msgstr "грешка преноса"
|
|||||||
msgid "curl error %d (%s) (URL: \"%s\")\n"
|
msgid "curl error %d (%s) (URL: \"%s\")\n"
|
||||||
msgstr "curl грешка %d (%s) (URL: „%s”)\n"
|
msgstr "curl грешка %d (%s) (URL: „%s”)\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "%sURL transfer error: %s (URL: \"%s\")"
|
|
||||||
msgid "transfer stopped (URL: \"%s\")\n"
|
msgid "transfer stopped (URL: \"%s\")\n"
|
||||||
msgstr "%sГрешка URL трансфера: %s (URL: „%s”)"
|
msgstr "трансфер је заустављен (URL: „%s”)\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "End of URL transfer '%s', timeout reached (%.3fs)"
|
|
||||||
msgid "transfer timeout reached (%.3fs) (URL: \"%s\")\n"
|
msgid "transfer timeout reached (%.3fs) (URL: \"%s\")\n"
|
||||||
msgstr "Крај URL трансфера ’%s’, достигнут је тајмаут (%.3fs)"
|
msgstr "достигнут је тајмаут трансфера (%.3fs) (URL: „%s”)\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sAnother command \"%s\" already exists for plugin \"%s\""
|
msgid "%sAnother command \"%s\" already exists for plugin \"%s\""
|
||||||
@@ -6642,134 +6812,9 @@ msgstr "Крај URL трансфера ’%s’, достигнут је тај
|
|||||||
msgid "%sError running thread in hook_url: %s (URL: \"%s\")"
|
msgid "%sError running thread in hook_url: %s (URL: \"%s\")"
|
||||||
msgstr "%sГрешка покретања нити у hook_url: %s (URL: „%s”)"
|
msgstr "%sГрешка покретања нити у hook_url: %s (URL: „%s”)"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "End of URL transfer '%s', timeout reached (%.3fs)"
|
|
||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr "Крај URL трансфера ’%s’, достигнут је тајмаут (%.3fs)"
|
msgstr "Крај URL трансфера ’%s’, трансфер је заустављен"
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
"WeeChat %s ауторска права %s, компајлиран %s %s\n"
|
|
||||||
"Написао Себастијен Елеу <flashcode@flashtux.org> - %s"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr "Употреба: %s [опција...] [додатак:опција...]\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
" -a, --no-connect спречава аутоматско повезивање са серверима "
|
|
||||||
"приликом покретања\n"
|
|
||||||
" -c, --colors приказује подразумеване боје у терминалу и "
|
|
||||||
"прекида извршавање\n"
|
|
||||||
" -d, --dir <путања> поставља WeeChat почетни директоријум\n"
|
|
||||||
" или 5 различита директоријума раздвојена тачка "
|
|
||||||
"зарезима (у следећем редоследу: конфиг, подаци, стање, кеш, дир за време "
|
|
||||||
"извршавања)\n"
|
|
||||||
" (ако се ова опција не зада, чита се WEECHAT_HOME "
|
|
||||||
"променљива окружења)\n"
|
|
||||||
" -t, --temp-dir креира привремени WeeChat почетни директоријум и "
|
|
||||||
"брише га приликом напуштања програма\n"
|
|
||||||
" (није компатибилно са опцијом „-d”)\n"
|
|
||||||
" -h, --help приказује ову помоћ и прекида извршавање\n"
|
|
||||||
" -i, --build-info приказује информације о изградњи и прекида "
|
|
||||||
"извршавање\n"
|
|
||||||
" -l, --license приказује WeeChat лиценцу и прекида извршавање\n"
|
|
||||||
" -p, --no-plugin приликом покретања се не учитавају додаци\n"
|
|
||||||
" -P, --plugins <додаци> приликом покретања се учитавају само ови додаци\n"
|
|
||||||
" (погледајте /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <ком> покреће команд(у/е) након покретања;\n"
|
|
||||||
" можете да раздвојите више команди са тачка запета "
|
|
||||||
"и оне се израчунавају,\n"
|
|
||||||
" ова опција може да се зада више пута\n"
|
|
||||||
" -s, --no-script приликом учитавања се не учитавају никакве "
|
|
||||||
"скрипте\n"
|
|
||||||
" --upgrade ажурира WeeChat користећи фајлове сесије "
|
|
||||||
"(погледајте /help upgrade у програму WeeChat)\n"
|
|
||||||
" -v, --version приказује верзију програма WeeChat и прекида "
|
|
||||||
"извршавање\n"
|
|
||||||
" додатак:опција опција за додатак (погледајте man weechat)\n"
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr "Додатне опције у режиму без интерфејса:\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
" --doc-gen <путања> генерише фајлове за изградњу документације и "
|
|
||||||
"прекида извршавање\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
" --daemon покреће WeeChat као даемон (рачва, нова група "
|
|
||||||
"процеса, затворени дескриптори фајла);\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
" (у режиму без интерфејса, WeeChat је "
|
|
||||||
"подразумевано блокирајући и не извршава се у позадини)\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
" --stdout уместо да се лог поруке уписују у лог фајл, "
|
|
||||||
"исписују се на стандардни излаз\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
" (игнорише се ако се зада опција „--daemon”)\n"
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
"Дибаг опције (за алате као што је valgrind, НЕ КОРИСТИТЕ У ПРОДУКЦИЈИ):\n"
|
|
||||||
" --no-dlclose након што се додаци уклоне из меморије, не позива "
|
|
||||||
"се функција dlclose\n"
|
|
||||||
" --no-gnutls искључује иниц/деиниц gnutls\n"
|
|
||||||
" --no-gcrypt искључује иниц/деиниц gcrypt\n"
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr "Грешка: недостаје аргумент за опцију „%s”\n"
|
|
||||||
|
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr "WeeChat се извршава у режиму без интерфејса (ctrl-c за излаз)."
|
msgstr "WeeChat се извршава у режиму без интерфејса (ctrl-c за излаз)."
|
||||||
@@ -7389,9 +7434,9 @@ msgid ""
|
|||||||
" - window data, where the bar item is displayed (there's no window in root "
|
" - window data, where the bar item is displayed (there's no window in root "
|
||||||
"bars, see hdata \"window\" in API doc for a complete list), for example:"
|
"bars, see hdata \"window\" in API doc for a complete list), for example:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
" - подаци о прозору, у коме се трака приказује (не постоји прозор у кореним "
|
" - подаци о прозору у коме се приказује ставка траке (не постоји прозор у "
|
||||||
"тракама, погледајте hdata „window” у документацији API за комплетну листу), "
|
"кореним тракама, погледајте hdata „window” у документацији API за комплетну "
|
||||||
"на пример:"
|
"листу), на пример:"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
|
" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
|
||||||
@@ -7565,8 +7610,11 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
" - ${index_displayed}: индекс линије која се приказује у ставци траке "
|
||||||
|
"(почиње од 0, овај индекс увећавају само приказани бафери, погледајте опцију "
|
||||||
|
"buflist.look.display_conditions)"
|
||||||
|
|
||||||
msgid "buflist bar items"
|
msgid "buflist bar items"
|
||||||
msgstr "ставке buflist траке"
|
msgstr "ставке buflist траке"
|
||||||
@@ -9313,7 +9361,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr "%s%s: не постоји веза са сервером „%s”!"
|
msgstr "%s%s: не постоји веза са сервером „%s”!"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr "%s: отказано је аутоматско поновно успостављање везе"
|
msgstr "%s: отказано је аутоматско поновно успостављање везе"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -9474,6 +9522,12 @@ msgstr[0] "секунда"
|
|||||||
msgstr[1] "секунде"
|
msgstr[1] "секунде"
|
||||||
msgstr[2] "секунди"
|
msgstr[2] "секунди"
|
||||||
|
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] "милисекунда"
|
||||||
|
msgstr[1] "милисекунде"
|
||||||
|
msgstr[2] "милисекунди"
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] "минут"
|
msgstr[0] "минут"
|
||||||
@@ -9613,10 +9667,10 @@ msgstr "извршавање команде на свим каналима св
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-current] [-parted|-all] [-exclude=<канал>[,<канал>...]] <команда> || [-"
|
"[-current] [-parted|-all] [-exclude=<канал>[,<канал>...]] <команда> || [-"
|
||||||
"current] [-parted|-all] -include=<канал>[,<канал>...] <команда>"
|
"current] [-parted|-all] [-include=<канал>[,<канал>...]] <команда>"
|
||||||
|
|
||||||
msgid "raw[-current]: execute command for channels of current server only"
|
msgid "raw[-current]: execute command for channels of current server only"
|
||||||
msgstr "raw[-current]: команда се извршава само за канале текућег сервера"
|
msgstr "raw[-current]: команда се извршава само за канале текућег сервера"
|
||||||
@@ -9696,11 +9750,11 @@ msgstr "извршавање команде у свим приватним ба
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-current] [-exclude=<надимак>[,<надимак>...]] <команда> || [-current] "
|
"[-current] [-exclude=<надимак>[,<надимак>...]] <команда> || [-current] [-"
|
||||||
"-include=<надимак>[,<надимак>...] <команда>"
|
"include=<надимак>[,<надимак>...]] <команда>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-current]: execute command for private buffers of current server only"
|
"raw[-current]: execute command for private buffers of current server only"
|
||||||
@@ -9748,11 +9802,11 @@ msgstr "извршавање команде на свим повезаним с
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-exclude=<сервер>[,<сервер>...]] <команда> || -include=<сервер>[,"
|
"[-exclude=<сервер>[,<сервер>...]] <команда> || [-include=<сервер>[,"
|
||||||
"<сервер>...] <команда>"
|
"<сервер>...]] <команда>"
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -9899,7 +9953,7 @@ msgstr ""
|
|||||||
"пример: „-multi-prefix”)"
|
"пример: „-multi-prefix”)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"raw[ack]: прихвата могућности које захтевају потврду са клијентске стране"
|
"raw[ack]: прихвата могућности које захтевају потврду са клијентске стране"
|
||||||
|
|
||||||
@@ -10266,7 +10320,7 @@ msgid ""
|
|||||||
"[<percent>] || -go <line>|end || -join || -export <filename>"
|
"[<percent>] || -go <line>|end || -join || -export <filename>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[-server <сервер>] [<канал>[,<канал>...]] [<циљ>] || [-server <сервер>] [-"
|
"[-server <сервер>] [<канал>[,<канал>...]] [<циљ>] || [-server <сервер>] [-"
|
||||||
"raw *|<рег_изр>] -up|-down [<број>] || -left|-right [<проценат>] || -go "
|
"raw *|<рег_изр>] || -up|-down [<број>] || -left|-right [<проценат>] || -go "
|
||||||
"<линија>|end || -join || -export <имефајла>"
|
"<линија>|end || -join || -export <имефајла>"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -10806,7 +10860,7 @@ msgstr ""
|
|||||||
"„xxx”, користећи следеће променљиве: излаз функције irc_message_parse (као "
|
"„xxx”, користећи следеће променљиве: излаз функције irc_message_parse (као "
|
||||||
"nick, command, channel, text, итд., погледајте функцију info_get_hashtable у "
|
"nick, command, channel, text, итд., погледајте функцију info_get_hashtable у "
|
||||||
"референтном приручнику API додатака да видите комплетну листу променљивих), "
|
"референтном приручнику API додатака да видите комплетну листу променљивих), "
|
||||||
"date (формат: \"%FT%T.%f\", погледајте функцију util_strftimeval у "
|
"date (формат: \"%FT%T.%f\", погледајте функцију util_strftimeval у "
|
||||||
"референтном приручнику API додатака), server, recv, sent, modified, "
|
"референтном приручнику API додатака), server, recv, sent, modified, "
|
||||||
"redirected"
|
"redirected"
|
||||||
|
|
||||||
@@ -11852,17 +11906,19 @@ msgstr ""
|
|||||||
msgid "left/right scroll in /list buffer (percent of width)"
|
msgid "left/right scroll in /list buffer (percent of width)"
|
||||||
msgstr "скроловање у лево/десно у /list баферу (проценат ширине)"
|
msgstr "скроловање у лево/десно у /list баферу (проценат ширине)"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"листа поља за сортирање канала раздвојених запетама (погледајте /help list "
|
"листа поља за сортирање канала раздвојених запетама (погледајте /help list "
|
||||||
"за листу поља); карактер „-” може да се користи испред поља чиме се обрће "
|
"за листу поља); карактер „-” може да се користи испред поља чиме се обрће "
|
||||||
"редослед, карактер „~” може да се употреби за поређење које не прави разлику "
|
"редослед, карактер „~” може да се употреби за поређење које не прави разлику "
|
||||||
"у величини слова; пример: „-users,~name” за поређење које не прави разлику у "
|
"у величини слова; пример: „-users,~name2” за поређење које не прави разлику "
|
||||||
"величини слова и обрнуто сортирање по имену опције"
|
"у величини слова и обрнуто сортирање по имену опције"
|
||||||
|
|
||||||
msgid "strip channel topic colors in /list buffer"
|
msgid "strip channel topic colors in /list buffer"
|
||||||
msgstr "уклањање боја теме канала у /list баферу"
|
msgstr "уклањање боја теме канала у /list баферу"
|
||||||
@@ -15142,7 +15198,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
|
|||||||
msgstr "%s%s: не постоји веза са релејем удаљених „%s”"
|
msgstr "%s%s: не постоји веза са релејем удаљених „%s”"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgstr "удаљени[%s]: отказано је аутоматско поновно успостављање везе"
|
msgstr "удаљени[%s]: отказано је аутоматско поновно успостављање везе"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -16748,7 +16804,7 @@ msgid ""
|
|||||||
"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
|
"enable|disable|toggle || listdict || setdict -|<dict>[,<dict>...] || deldict "
|
||||||
"|| addword [<dict>] <word>"
|
"|| addword [<dict>] <word>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"enable|disable|toggle || listdict || setdict <речн>[,<речн>...] || deldict "
|
"enable|disable|toggle || listdict || setdict -|<речн>[,<речн>...] || deldict "
|
||||||
"|| addword [<речн>] <реч>"
|
"|| addword [<речн>] <реч>"
|
||||||
|
|
||||||
msgid "raw[enable]: enable spell checker"
|
msgid "raw[enable]: enable spell checker"
|
||||||
@@ -17595,8 +17651,8 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr "%s%s: неважећи регуларни израз у окидачу: „%s”"
|
msgstr "%s%s: неважећи регуларни израз у окидачу: „%s”"
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr "Куцање:"
|
msgstr "Куцање: "
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"number of seconds after paused status has been set: if reached, the typing "
|
"number of seconds after paused status has been set: if reached, the typing "
|
||||||
@@ -17641,6 +17697,11 @@ msgstr ""
|
|||||||
"макс број карактера који се приказује у ставци траке \"typing\" (0 = садржај "
|
"макс број карактера који се приказује у ставци траке \"typing\" (0 = садржај "
|
||||||
"се не одсеца)"
|
"се не одсеца)"
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr "Статус куцања корисника"
|
msgstr "Статус куцања корисника"
|
||||||
|
|
||||||
@@ -17773,9 +17834,14 @@ msgstr "величина блока за слање пакета, у бајто
|
|||||||
msgid "does not wait for ACK when sending file"
|
msgid "does not wait for ACK when sending file"
|
||||||
msgstr "не чека се на ACK када се шаље фајл"
|
msgstr "не чека се на ACK када се шаље фајл"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#| msgid ""
|
||||||
|
#| "IP or DNS address used for sending and passively receiving files/chats "
|
||||||
|
#| "(if empty, local interface IP is used)"
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"IP или DNS адреса која се користи за слање и пасивно примање фајлова/"
|
"IP или DNS адреса која се користи за слање и пасивно примање фајлова/"
|
||||||
"разговора (ако је празно, користи се IP локалног интерфејса)"
|
"разговора (ако је празно, користи се IP локалног интерфејса)"
|
||||||
|
|||||||
+180
-107
@@ -23,7 +23,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WeeChat\n"
|
"Project-Id-Version: WeeChat\n"
|
||||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||||
"POT-Creation-Date: 2026-03-16 13:17+0100\n"
|
"POT-Creation-Date: 2026-03-21 17:24+0100\n"
|
||||||
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
|
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
|
||||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||||
@@ -32,6 +32,141 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-a", "--no-connect"
|
||||||
|
msgid "disable auto-connect to servers at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-c", "--colors"
|
||||||
|
msgid "display default colors in terminal and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "-d, --dir <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-d", "--dir <path>"
|
||||||
|
msgid ""
|
||||||
|
"force a single WeeChat home directory or 5 different directories separated "
|
||||||
|
"by colons (in this order: config, data, state, cache, runtime) (environment "
|
||||||
|
"variable WEECHAT_HOME is read if this option is not given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-t", "--temp-dir"
|
||||||
|
msgid ""
|
||||||
|
"create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-h", "--help"
|
||||||
|
msgid "display this help and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-i", "--build-info"
|
||||||
|
msgid "display build information and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-l", "--license"
|
||||||
|
msgid "display WeeChat license and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-p", "--no-plugin"
|
||||||
|
msgid "don't load any plugin at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<plugins>" may be translated
|
||||||
|
msgid "-P, --plugins <plugins>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-P", "--plugins <plugins>"
|
||||||
|
msgid "load only these plugins at startup (see /help weechat.plugin.autoload)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<cmd>" may be translated (please keep it short)
|
||||||
|
msgid "-r, --run-command <cmd>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-r", "--run-command <cmd>"
|
||||||
|
msgid ""
|
||||||
|
"run command(s) after startup; many commands can be separated by semicolons "
|
||||||
|
"and are evaluated, this option can be given multiple times"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-s", "--no-script"
|
||||||
|
msgid "don't load any script at startup"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--upgrade"
|
||||||
|
msgid "upgrade WeeChat using session files (see /help upgrade in WeeChat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "-v", "--version"
|
||||||
|
msgid "display WeeChat version and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option: "plugin" and "option" may be translated
|
||||||
|
msgid "plugin:option"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "plugin:option"
|
||||||
|
msgid "option for plugin (see man weechat)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: only "<path>" may be translated
|
||||||
|
msgid "--doc-gen <path>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--doc-gen <path>"
|
||||||
|
msgid "generate files to build documentation and exit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--daemon"
|
||||||
|
msgid ""
|
||||||
|
"run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in "
|
||||||
|
"background"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--stdout"
|
||||||
|
msgid ""
|
||||||
|
"display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-dlclose"
|
||||||
|
msgid "do not call function dlclose after plugins are unloaded"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gnutls"
|
||||||
|
msgid "disable init/deinit of gnutls"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: command line option "--no-gcrypt"
|
||||||
|
msgid "disable init/deinit of gcrypt"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Usage:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "[option...] [plugin:option...]"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Extra options in headless mode:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, c-format
|
||||||
|
msgid "Error: missing argument for \"%s\" option\n"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "List of bars:"
|
msgid "List of bars:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -136,7 +271,7 @@ msgid "%sUnable to scroll bar \"%s\""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%sBuffer number \"%d\" is out of range (it must be between 1 and %d)"
|
msgid "%sBuffer number %d is out of range (it must be between 1 and %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Buffers list:"
|
msgid "Buffers list:"
|
||||||
@@ -465,7 +600,7 @@ msgid "%sArgument \"-yes\" is required for keys reset (security reason)"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d new key added"
|
msgid "%d new key added (context: \"%s\")"
|
||||||
msgid_plural "%d new keys added (context: \"%s\")"
|
msgid_plural "%d new keys added (context: \"%s\")"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
@@ -1026,7 +1161,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.bar."
|
"option: option to change (for options list, look at /set weechat.bar."
|
||||||
"<barname>.*)"
|
"<bar_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "value: new value for option"
|
msgid "value: new value for option"
|
||||||
@@ -1464,7 +1599,7 @@ msgstr ""
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-n|-s] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
"[-n|-s] [-e] [-d] <expression> || [-n] [-d [-d]] -c <expression1> <operator> "
|
||||||
"<expression2>"
|
"<expression2>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -1476,6 +1611,9 @@ msgid ""
|
|||||||
"separated by semicolons)"
|
"separated by semicolons)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "raw[-e]: evaluate all commands before executing them"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
"raw[-d]: display debug output after evaluation (with two -d: more verbose "
|
||||||
"debug)"
|
"debug)"
|
||||||
@@ -1968,7 +2106,7 @@ msgid "display help about commands and options"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid "-list|-listfull [<plugin>...]] || <command> || <option>"
|
msgid "-list|-listfull [<plugin>...] || <command> || <option>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2019,9 +2157,9 @@ msgid "raw[clear]: clear hotlist"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"level: \"lowest\" to clear only lowest level in hotlist, highest\" to clear "
|
"level: \"lowest\" to clear only lowest level in hotlist, \"highest\" to "
|
||||||
"only highest level in hotlist, or level mask: integer which is a combination "
|
"clear only highest level in hotlist, or level mask: integer which is a "
|
||||||
"of 1=join/part, 2=message, 4=private, 8=highlight"
|
"combination of 1=join/part, 2=message, 4=private, 8=highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[remove]: remove current buffer from hotlist"
|
msgid "raw[remove]: remove current buffer from hotlist"
|
||||||
@@ -2833,7 +2971,7 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"option: option to change (for options list, look at /set weechat.proxy."
|
"option: option to change (for options list, look at /set weechat.proxy."
|
||||||
"<proxyname>.*)"
|
"<proxy_name>.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " add a http proxy, running on local host, port 8888:"
|
msgid " add a http proxy, running on local host, port 8888:"
|
||||||
@@ -3059,20 +3197,20 @@ msgstr ""
|
|||||||
msgid " encrypt libera SASL password:"
|
msgid " encrypt libera SASL password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set libera mypassword"
|
msgid " /secure set libera my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " encrypt oftc password for nickserv:"
|
msgid " encrypt oftc password for nickserv:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " /secure set oftc mypassword"
|
msgid " /secure set oftc my_password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " alias to ghost the nick \"mynick\":"
|
msgid " alias to ghost the nick \"andrew\":"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
" /alias add ghost /eval /msg -server libera nickserv ghost mynick $"
|
" /alias add ghost /eval /msg -server libera nickserv ghost andrew $"
|
||||||
"{sec.data.libera}"
|
"{sec.data.libera}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -3303,7 +3441,7 @@ msgstr ""
|
|||||||
msgid "With option \"-quit\", the process is:"
|
msgid "With option \"-quit\", the process is:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 1. close *ALL* connections (irc, xfer, relay, ...)"
|
msgid " 1. close *ALL* connections (irc, xfer, relay, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid " 2. save session into files (*.upgrade)"
|
msgid " 2. save session into files (*.upgrade)"
|
||||||
@@ -5357,7 +5495,7 @@ msgstr ""
|
|||||||
msgid "read - object type"
|
msgid "read - object type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "read - bad object type ('object start' expected)"
|
msgid "read - bad object type (\"object start\" expected)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "read - object id"
|
msgid "read - object id"
|
||||||
@@ -5468,83 +5606,6 @@ msgstr ""
|
|||||||
msgid "End of URL transfer '%s', transfer stopped"
|
msgid "End of URL transfer '%s', transfer stopped"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> - %s"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
|
||||||
" -c, --colors display default colors in terminal and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated by colons "
|
|
||||||
"(in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is read if "
|
|
||||||
"this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home directory and "
|
|
||||||
"delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by semicolons and "
|
|
||||||
"are evaluated,\n"
|
|
||||||
" this option can be given multiple times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files (see /help "
|
|
||||||
"upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Extra options in headless mode:\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --doc-gen <path> generate files to build documentation and exit\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --daemon run WeeChat as a daemon (fork, new process group, "
|
|
||||||
"file descriptors closed);\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (by default in headless mode WeeChat is blocking "
|
|
||||||
"and does not run in background)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" --stdout display log messages on standard output instead "
|
|
||||||
"of writing them in log file\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
" (option ignored if option \"--daemon\" is given)\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid ""
|
|
||||||
"Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after plugins are "
|
|
||||||
"unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "Error: missing argument for \"%s\" option\n"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
msgid "WeeChat is running in headless mode (ctrl-c to quit)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -6212,7 +6273,7 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
" - ${index_displayed}: index of line displayed in the bar item (starts at "
|
||||||
"0, only buffers displayed increment this index, see option "
|
"0, only buffers displayed increment this index, see option "
|
||||||
"buflist.look.display_conditions"
|
"buflist.look.display_conditions)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "buflist bar items"
|
msgid "buflist bar items"
|
||||||
@@ -7642,7 +7703,7 @@ msgid "%s%s: not connected to server \"%s\"!"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: auto-reconnection is cancelled"
|
msgid "%s: auto-reconnection is canceled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -7801,6 +7862,11 @@ msgid_plural "seconds"
|
|||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
|
msgid "millisecond"
|
||||||
|
msgid_plural "milliseconds"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
@@ -7933,7 +7999,7 @@ msgstr ""
|
|||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
"[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-"
|
||||||
"current] [-parted|-all] -include=<channel>[,<channel>...] <command>"
|
"current] [-parted|-all] [-include=<channel>[,<channel>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[-current]: execute command for channels of current server only"
|
msgid "raw[-current]: execute command for channels of current server only"
|
||||||
@@ -8007,8 +8073,8 @@ msgstr ""
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] "
|
"[-current] [-exclude=<nick>[,<nick>...]] <command> || [-current] [-"
|
||||||
"-include=<nick>[,<nick>...] <command>"
|
"include=<nick>[,<nick>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -8054,8 +8120,8 @@ msgstr ""
|
|||||||
|
|
||||||
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
#. TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated
|
||||||
msgid ""
|
msgid ""
|
||||||
"[-exclude=<server>[,<server>...]] <command> || -include=<server>[,"
|
"[-exclude=<server>[,<server>...]] <command> || [-include=<server>[,"
|
||||||
"<server>...] <command>"
|
"<server>...]] <command>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
msgid "raw[-exclude]: exclude some servers (wildcard \"*\" is allowed)"
|
||||||
@@ -8179,7 +8245,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"raw[ack]: acknowledge capabilities which require client-side acknowledgement"
|
"raw[ack]: acknowledge capabilities which require client-side acknowledgment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "raw[end]: end the capability negotiation"
|
msgid "raw[end]: end the capability negotiation"
|
||||||
@@ -9793,8 +9859,9 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"comma-separated list of fields to sort channels (see /help list for a list "
|
"comma-separated list of fields to sort channels (see /help list for a list "
|
||||||
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
"of fields); char \"-\" can be used before field to reverse order, char \"~\" "
|
||||||
"can be used to do a case-insensitive comparison; example: \"-users,~name\" "
|
"can be used to do a case-insensitive comparison; example: \"-users,~name2\" "
|
||||||
"for biggest channels first then case-insensitive sort on name"
|
"for biggest channels first then case-insensitive sort on channel name "
|
||||||
|
"without prefix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "strip channel topic colors in /list buffer"
|
msgid "strip channel topic colors in /list buffer"
|
||||||
@@ -12716,7 +12783,7 @@ msgid "%s%s: no connection to remote relay \"%s\""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "remote[%s]: auto-reconnection is cancelled"
|
msgid "remote[%s]: auto-reconnection is canceled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@@ -14781,7 +14848,7 @@ msgid "%s%s: invalid regular expression in trigger: \"%s\""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
#. TRANSLATORS: this text is displayed before the list of nicks typing in the bar item "typing", it must be as short as possible
|
||||||
msgid "Typing:"
|
msgid "Typing: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -14815,6 +14882,11 @@ msgid ""
|
|||||||
"truncate content)"
|
"truncate content)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"text to display before the nicks in the bar item \"typing\"; if set, it is "
|
||||||
|
"used instead of the translated string \"Typing: \" which is used by default"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Typing status of users"
|
msgid "Typing status of users"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -14942,8 +15014,9 @@ msgid "does not wait for ACK when sending file"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"IP or DNS address used for sending and passively receiving files/chats (if "
|
"IP or DNS address used for sending and passively receiving files/chats; if "
|
||||||
"empty, local interface IP is used)"
|
"empty, local interface IP is used (note: content is evaluated, see /help "
|
||||||
|
"eval)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2025-2026 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
line-length = 120
|
||||||
|
|
||||||
|
[lint]
|
||||||
|
select = ["ALL"]
|
||||||
|
ignore = [
|
||||||
|
"D203", # incorrect-blank-line-before-class
|
||||||
|
"D213", # multi-line-summary-second-line
|
||||||
|
]
|
||||||
|
|
||||||
|
[lint.pylint]
|
||||||
|
max-args = 10
|
||||||
+1
-16
@@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
set(LIB_CORE_SRC
|
set(LIB_CORE_SRC
|
||||||
weechat.c weechat.h
|
weechat.c weechat.h
|
||||||
|
core-args.c core-args.h
|
||||||
core-arraylist.c core-arraylist.h
|
core-arraylist.c core-arraylist.h
|
||||||
core-backtrace.c core-backtrace.h
|
core-backtrace.c core-backtrace.h
|
||||||
core-calc.c core-calc.h
|
core-calc.c core-calc.h
|
||||||
@@ -81,22 +82,6 @@ set(LIB_CORE_SRC
|
|||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
check_symbol_exists(flock "sys/file.h" HAVE_FLOCK)
|
check_symbol_exists(flock "sys/file.h" HAVE_FLOCK)
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
|
||||||
find_library(EXECINFO_LIB_PATH execinfo /usr/local/lib)
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES "${EXECINFO_LIB_PATH}")
|
|
||||||
check_function_exists(backtrace HAVE_BACKTRACE)
|
|
||||||
else()
|
|
||||||
check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(ENABLE_ZSTD)
|
|
||||||
include_directories(${LIBZSTD_INCLUDE_DIRS})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(ENABLE_CJSON)
|
|
||||||
include_directories(${LIBCJSON_INCLUDE_DIRS})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include_directories("${CMAKE_BINARY_DIR}")
|
include_directories("${CMAKE_BINARY_DIR}")
|
||||||
add_library(weechat_core OBJECT ${LIB_CORE_SRC})
|
add_library(weechat_core OBJECT ${LIB_CORE_SRC})
|
||||||
target_link_libraries(weechat_core coverage_config)
|
target_link_libraries(weechat_core coverage_config)
|
||||||
|
|||||||
@@ -0,0 +1,414 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2003-2026 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*
|
||||||
|
* This file is part of WeeChat, the extensible chat client.
|
||||||
|
*
|
||||||
|
* WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WeeChat is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Function for command-line arguments */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <getopt.h>
|
||||||
|
|
||||||
|
#include "weechat.h"
|
||||||
|
#include "core-debug.h"
|
||||||
|
#include "core-list.h"
|
||||||
|
#include "core-string.h"
|
||||||
|
#include "core-utf8.h"
|
||||||
|
#include "core-version.h"
|
||||||
|
#include "../gui/gui-color.h"
|
||||||
|
#include "../plugins/plugin.h"
|
||||||
|
|
||||||
|
/* some command line options */
|
||||||
|
#define OPTION_DOCGEN 1000
|
||||||
|
#define OPTION_NO_DLCLOSE 1001
|
||||||
|
#define OPTION_NO_GNUTLS 1002
|
||||||
|
#define OPTION_NO_GCRYPT 1003
|
||||||
|
|
||||||
|
char *weechat_args_common[][2] = {
|
||||||
|
{
|
||||||
|
"-a, --no-connect",
|
||||||
|
/* TRANSLATORS: command line option "-a", "--no-connect" */
|
||||||
|
N_("disable auto-connect to servers at startup"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"-c, --colors",
|
||||||
|
/* TRANSLATORS: command line option "-c", "--colors" */
|
||||||
|
N_("display default colors in terminal and exit"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/* TRANSLATORS: only "<path>" may be translated */
|
||||||
|
N_("-d, --dir <path>"),
|
||||||
|
/* TRANSLATORS: command line option "-d", "--dir <path>" */
|
||||||
|
N_("force a single WeeChat home directory or 5 different directories "
|
||||||
|
"separated by colons (in this order: config, data, state, cache, runtime) "
|
||||||
|
"(environment variable WEECHAT_HOME is read if this option is not given)"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"-t, --temp-dir",
|
||||||
|
/* TRANSLATORS: command line option "-t", "--temp-dir" */
|
||||||
|
N_("create a temporary WeeChat home directory and delete it on exit "
|
||||||
|
"(incompatible with option \"-d\")"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"-h, --help",
|
||||||
|
/* TRANSLATORS: command line option "-h", "--help" */
|
||||||
|
N_("display this help and exit"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"-i, --build-info",
|
||||||
|
/* TRANSLATORS: command line option "-i", "--build-info" */
|
||||||
|
N_("display build information and exit"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"-l, --license",
|
||||||
|
/* TRANSLATORS: command line option "-l", "--license" */
|
||||||
|
N_("display WeeChat license and exit"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"-p, --no-plugin",
|
||||||
|
/* TRANSLATORS: command line option "-p", "--no-plugin" */
|
||||||
|
N_("don't load any plugin at startup"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/* TRANSLATORS: only "<plugins>" may be translated */
|
||||||
|
N_("-P, --plugins <plugins>"),
|
||||||
|
/* TRANSLATORS: command line option "-P", "--plugins <plugins>" */
|
||||||
|
N_("load only these plugins at startup (see /help weechat.plugin.autoload)"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/* TRANSLATORS: only "<cmd>" may be translated (please keep it short) */
|
||||||
|
N_("-r, --run-command <cmd>"),
|
||||||
|
/* TRANSLATORS: command line option "-r", "--run-command <cmd>" */
|
||||||
|
N_("run command(s) after startup; many commands can be separated "
|
||||||
|
"by semicolons and are evaluated, this option can be given multiple times"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"-s, --no-script",
|
||||||
|
/* TRANSLATORS: command line option "-s", "--no-script" */
|
||||||
|
N_("don't load any script at startup"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"--upgrade",
|
||||||
|
/* TRANSLATORS: command line option "--upgrade" */
|
||||||
|
N_("upgrade WeeChat using session files (see /help upgrade in WeeChat)"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"-v, --version",
|
||||||
|
/* TRANSLATORS: command line option "-v", "--version" */
|
||||||
|
N_("display WeeChat version and exit"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/* TRANSLATORS: command line option: "plugin" and "option" may be translated */
|
||||||
|
N_("plugin:option"),
|
||||||
|
/* TRANSLATORS: command line option "plugin:option" */
|
||||||
|
N_("option for plugin (see man weechat)"),
|
||||||
|
},
|
||||||
|
{ NULL, NULL },
|
||||||
|
};
|
||||||
|
char *weechat_args_headless[][2] = {
|
||||||
|
{
|
||||||
|
/* TRANSLATORS: only "<path>" may be translated */
|
||||||
|
N_("--doc-gen <path>"),
|
||||||
|
/* TRANSLATORS: command line option "--doc-gen <path>" */
|
||||||
|
N_("generate files to build documentation and exit"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"--daemon",
|
||||||
|
/* TRANSLATORS: command line option "--daemon" */
|
||||||
|
N_("run WeeChat as a daemon (fork, new process group, file descriptors closed); "
|
||||||
|
"by default in headless mode WeeChat is blocking and does not run in background"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"--stdout",
|
||||||
|
/* TRANSLATORS: command line option "--stdout" */
|
||||||
|
N_("display log messages on standard output instead of writing them in log file "
|
||||||
|
"(option ignored if option \"--daemon\" is given)"),
|
||||||
|
},
|
||||||
|
{ NULL, NULL },
|
||||||
|
};
|
||||||
|
char *weechat_args_debug[][2] = {
|
||||||
|
{
|
||||||
|
"--no-dlclose",
|
||||||
|
/* TRANSLATORS: command line option "--no-dlclose" */
|
||||||
|
N_("do not call function dlclose after plugins are unloaded"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"--no-gnutls",
|
||||||
|
/* TRANSLATORS: command line option "--no-gnutls" */
|
||||||
|
N_("disable init/deinit of gnutls"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"--no-gcrypt",
|
||||||
|
/* TRANSLATORS: command line option "--no-gcrypt" */
|
||||||
|
N_("disable init/deinit of gcrypt"),
|
||||||
|
},
|
||||||
|
{ NULL, NULL },
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Display WeeChat copyright on standard output.
|
||||||
|
*/
|
||||||
|
|
||||||
|
void
|
||||||
|
args_display_copyright (void)
|
||||||
|
{
|
||||||
|
string_fprintf (stdout, "\n");
|
||||||
|
string_fprintf (
|
||||||
|
stdout,
|
||||||
|
/* TRANSLATORS: "%s %s" after "compiled on" is date and time */
|
||||||
|
_("WeeChat %s Copyright %s, compiled on %s %s\n"
|
||||||
|
"Developed by Sébastien Helleu <flashcode@flashtux.org> "
|
||||||
|
"- %s"),
|
||||||
|
version_get_version_with_git (),
|
||||||
|
WEECHAT_COPYRIGHT_DATE,
|
||||||
|
version_get_compilation_date (),
|
||||||
|
version_get_compilation_time (),
|
||||||
|
WEECHAT_WEBSITE);
|
||||||
|
string_fprintf (stdout, "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
args_display_list_args (char *args[][2])
|
||||||
|
{
|
||||||
|
int i, j, length, length_fill, max_length_screen;
|
||||||
|
const char *ptr_text;
|
||||||
|
|
||||||
|
max_length_screen = 0;
|
||||||
|
for (i = 0; args[i][0]; i++)
|
||||||
|
{
|
||||||
|
length = utf8_strlen_screen (_(args[i][0]));
|
||||||
|
if (length > max_length_screen)
|
||||||
|
max_length_screen = length;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i = 0; args[i][0]; i++)
|
||||||
|
{
|
||||||
|
ptr_text = _(args[i][0]);
|
||||||
|
length = utf8_strlen_screen (ptr_text);
|
||||||
|
length_fill = max_length_screen - length;
|
||||||
|
string_fprintf (stdout, " %s", ptr_text);
|
||||||
|
for (j = 0; j < length_fill; j++)
|
||||||
|
{
|
||||||
|
string_fprintf (stdout, " ");
|
||||||
|
}
|
||||||
|
string_fprintf (stdout, " %s\n", _(args[i][1]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Display WeeChat help on standard output.
|
||||||
|
*/
|
||||||
|
|
||||||
|
void
|
||||||
|
args_display_help (void)
|
||||||
|
{
|
||||||
|
args_display_copyright ();
|
||||||
|
string_fprintf (stdout, "\n");
|
||||||
|
string_fprintf (stdout,
|
||||||
|
"%s %s %s\n\n",
|
||||||
|
_("Usage:"),
|
||||||
|
weechat_argv0,
|
||||||
|
_("[option...] [plugin:option...]"));
|
||||||
|
args_display_list_args (weechat_args_common);
|
||||||
|
string_fprintf (stdout, "\n");
|
||||||
|
|
||||||
|
/* extra options in headless mode */
|
||||||
|
if (weechat_headless)
|
||||||
|
{
|
||||||
|
string_fprintf (stdout, "%s\n",
|
||||||
|
_("Extra options in headless mode:"));
|
||||||
|
args_display_list_args (weechat_args_headless);
|
||||||
|
string_fprintf (stdout, "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
/* debug options */
|
||||||
|
string_fprintf (stdout, "%s\n",
|
||||||
|
_("Debug options (for tools like valgrind, "
|
||||||
|
"DO NOT USE IN PRODUCTION):"));
|
||||||
|
args_display_list_args (weechat_args_debug);
|
||||||
|
string_fprintf (stdout, "\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Parse command line arguments.
|
||||||
|
*
|
||||||
|
* Arguments argc and argv come from main() function.
|
||||||
|
*/
|
||||||
|
|
||||||
|
void
|
||||||
|
args_parse (int argc, char *argv[])
|
||||||
|
{
|
||||||
|
int opt;
|
||||||
|
struct option long_options[] = {
|
||||||
|
/* standard options */
|
||||||
|
{ "no-connect", no_argument, NULL, 'a' },
|
||||||
|
{ "colors", no_argument, NULL, 'c' },
|
||||||
|
{ "dir", required_argument, NULL, 'd' },
|
||||||
|
{ "temp-dir", no_argument, NULL, 't' },
|
||||||
|
{ "help", no_argument, NULL, 'h' },
|
||||||
|
{ "build-info", no_argument, NULL, 'i' },
|
||||||
|
{ "license", no_argument, NULL, 'l' },
|
||||||
|
{ "no-plugin", no_argument, NULL, 'p' },
|
||||||
|
{ "plugins", required_argument, NULL, 'P' },
|
||||||
|
{ "run-command", required_argument, NULL, 'r' },
|
||||||
|
{ "no-script", no_argument, NULL, 's' },
|
||||||
|
{ "upgrade", no_argument, NULL, 'u' },
|
||||||
|
{ "doc-gen", required_argument, NULL, OPTION_DOCGEN },
|
||||||
|
{ "version", no_argument, NULL, 'v' },
|
||||||
|
/* debug options */
|
||||||
|
{ "no-dlclose", no_argument, NULL, OPTION_NO_DLCLOSE },
|
||||||
|
{ "no-gnutls", no_argument, NULL, OPTION_NO_GNUTLS },
|
||||||
|
{ "no-gcrypt", no_argument, NULL, OPTION_NO_GCRYPT },
|
||||||
|
{ NULL, 0, NULL, 0 },
|
||||||
|
};
|
||||||
|
|
||||||
|
weechat_argv0 = (argv[0]) ? strdup (argv[0]) : NULL;
|
||||||
|
weechat_upgrading = 0;
|
||||||
|
weechat_home_force = NULL;
|
||||||
|
weechat_home_temp = 0;
|
||||||
|
weechat_home_delete_on_exit = 0;
|
||||||
|
weechat_server_cmd_line = 0;
|
||||||
|
weechat_force_plugin_autoload = NULL;
|
||||||
|
weechat_doc_gen = 0;
|
||||||
|
weechat_plugin_no_dlclose = 0;
|
||||||
|
|
||||||
|
optind = 0;
|
||||||
|
opterr = 0;
|
||||||
|
|
||||||
|
while ((opt = getopt_long (argc, argv,
|
||||||
|
":acd:thilpP:r:sv",
|
||||||
|
long_options, NULL)) != -1)
|
||||||
|
{
|
||||||
|
switch (opt)
|
||||||
|
{
|
||||||
|
case 'a': /* -a / --no-connect */
|
||||||
|
/* option ignored, it will be used by plugins/scripts */
|
||||||
|
break;
|
||||||
|
case 'c': /* -c / --colors */
|
||||||
|
gui_color_display_terminal_colors ();
|
||||||
|
weechat_shutdown (EXIT_SUCCESS, 0);
|
||||||
|
break;
|
||||||
|
case 'd': /* -d / --dir */
|
||||||
|
weechat_home_temp = 0;
|
||||||
|
free (weechat_home_force);
|
||||||
|
weechat_home_force = strdup (optarg);
|
||||||
|
break;
|
||||||
|
case 't': /* -t / --temp-dir */
|
||||||
|
weechat_home_temp = 1;
|
||||||
|
if (weechat_home_force)
|
||||||
|
{
|
||||||
|
free (weechat_home_force);
|
||||||
|
weechat_home_force = NULL;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 'h': /* -h / --help */
|
||||||
|
args_display_help ();
|
||||||
|
weechat_shutdown (EXIT_SUCCESS, 0);
|
||||||
|
break;
|
||||||
|
case 'i': /* -i / --build-info */
|
||||||
|
debug_build_info ();
|
||||||
|
weechat_shutdown (EXIT_SUCCESS, 0);
|
||||||
|
break;
|
||||||
|
case 'l': /* -l / --license */
|
||||||
|
args_display_copyright ();
|
||||||
|
string_fprintf (stdout, "\n");
|
||||||
|
string_fprintf (stdout, "%s%s", WEECHAT_LICENSE_TEXT);
|
||||||
|
weechat_shutdown (EXIT_SUCCESS, 0);
|
||||||
|
break;
|
||||||
|
case 'p': /* -p / --no-plugin */
|
||||||
|
free (weechat_force_plugin_autoload);
|
||||||
|
weechat_force_plugin_autoload = strdup ("!*");
|
||||||
|
break;
|
||||||
|
case 'P': /* -P / --plugins */
|
||||||
|
free (weechat_force_plugin_autoload);
|
||||||
|
weechat_force_plugin_autoload = strdup (optarg);
|
||||||
|
break;
|
||||||
|
case 'r': /* -r / --run-command */
|
||||||
|
if (!weechat_startup_commands)
|
||||||
|
weechat_startup_commands = weelist_new ();
|
||||||
|
weelist_add (weechat_startup_commands, optarg,
|
||||||
|
WEECHAT_LIST_POS_END, NULL);
|
||||||
|
break;
|
||||||
|
case 's': /* -s / --no-script */
|
||||||
|
/* option ignored, it will be used by the scripting plugins */
|
||||||
|
break;
|
||||||
|
case 'u': /* --upgrade */
|
||||||
|
weechat_upgrading = 1;
|
||||||
|
break;
|
||||||
|
case OPTION_DOCGEN: /* --doc-gen */
|
||||||
|
if (weechat_headless)
|
||||||
|
{
|
||||||
|
weechat_doc_gen = 1;
|
||||||
|
weechat_doc_gen_path = strdup (optarg);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 'v': /* -v / --version */
|
||||||
|
string_fprintf (stdout, version_get_version ());
|
||||||
|
fprintf (stdout, "\n");
|
||||||
|
weechat_shutdown (EXIT_SUCCESS, 0);
|
||||||
|
break;
|
||||||
|
case OPTION_NO_DLCLOSE: /* --no-dlclose */
|
||||||
|
/*
|
||||||
|
* Valgrind works better when dlclose() is not done after
|
||||||
|
* plugins are unloaded, it can display stack for plugins,*
|
||||||
|
* otherwise you'll see "???" in stack for functions of
|
||||||
|
* unloaded plugins.
|
||||||
|
* This option disables the call to dlclose(),
|
||||||
|
* it must NOT be used for other purposes!
|
||||||
|
*/
|
||||||
|
weechat_plugin_no_dlclose = 1;
|
||||||
|
break;
|
||||||
|
case OPTION_NO_GNUTLS: /* --no-gnutls */
|
||||||
|
/*
|
||||||
|
* Electric-fence is not working fine when gnutls loads
|
||||||
|
* certificates and Valgrind reports many memory errors with
|
||||||
|
* gnutls.
|
||||||
|
* This option disables the init/deinit of gnutls,
|
||||||
|
* it must NOT be used for other purposes!
|
||||||
|
*/
|
||||||
|
weechat_no_gnutls = 1;
|
||||||
|
break;
|
||||||
|
case OPTION_NO_GCRYPT: /* --no-gcrypt */
|
||||||
|
/*
|
||||||
|
* Valgrind reports many memory errors with gcrypt.
|
||||||
|
* This option disables the init/deinit of gcrypt,
|
||||||
|
* it must NOT be used for other purposes!
|
||||||
|
*/
|
||||||
|
weechat_no_gcrypt = 1;
|
||||||
|
break;
|
||||||
|
case ':':
|
||||||
|
string_fprintf (stderr,
|
||||||
|
_("Error: missing argument for \"%s\" option\n"),
|
||||||
|
argv[optind - 1]);
|
||||||
|
weechat_shutdown (EXIT_FAILURE, 0);
|
||||||
|
break;
|
||||||
|
case '?':
|
||||||
|
/* ignore any unknown option; plugins can use them */
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
/* ignore any other error */
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2026 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*
|
||||||
|
* This file is part of WeeChat, the extensible chat client.
|
||||||
|
*
|
||||||
|
* WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* WeeChat is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef WEECHAT_ARGS_H
|
||||||
|
#define WEECHAT_ARGS_H
|
||||||
|
|
||||||
|
extern void args_display_help (void);
|
||||||
|
extern void args_parse (int argc, char *argv[]);
|
||||||
|
|
||||||
|
#endif /* WEECHAT_ARGS_H */
|
||||||
+26
-27
@@ -35,10 +35,9 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two arraylist entries (default comparator).
|
* Compare two arraylist entries (default comparator: compare pointers only).
|
||||||
* It just compares pointers.
|
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* -1: pointer1 < pointer2
|
* -1: pointer1 < pointer2
|
||||||
* 0: pointer1 == pointer2
|
* 0: pointer1 == pointer2
|
||||||
* 1: pointer1 > pointer2
|
* 1: pointer1 > pointer2
|
||||||
@@ -60,9 +59,9 @@ arraylist_cmp_default_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new arraylist.
|
* Create a new arraylist.
|
||||||
*
|
*
|
||||||
* Returns pointer to arraylist, NULL if error.
|
* Return pointer to arraylist, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_arraylist *
|
struct t_arraylist *
|
||||||
@@ -114,7 +113,7 @@ arraylist_new (int initial_size,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the size of an arraylist (number of elements).
|
* Return the size of an arraylist (number of elements).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -127,7 +126,7 @@ arraylist_size (struct t_arraylist *arraylist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the pointer to an arraylist element, by index.
|
* Return the pointer to an arraylist element, by index.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -140,11 +139,11 @@ arraylist_get (struct t_arraylist *arraylist, int index)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adjusts the allocated size of arraylist to add one element (if needed),
|
* Adjust the allocated size of arraylist to add one element (if needed),
|
||||||
* so that the list has enough allocated data to store (current_size + 1)
|
* so that the list has enough allocated data to store (current_size + 1)
|
||||||
* elements.
|
* elements.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -180,11 +179,11 @@ arraylist_grow (struct t_arraylist *arraylist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adjusts the allocated size of arraylist to remove one element (if needed),
|
* Adjust the allocated size of arraylist to remove one element (if needed),
|
||||||
* so that the list has enough allocated data to store (current size - 1)
|
* so that the list has enough allocated data to store (current size - 1)
|
||||||
* elements.
|
* elements.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -230,7 +229,7 @@ arraylist_shrink (struct t_arraylist *arraylist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Performs a binary search in the arraylist to find an element
|
* Perform a binary search in the arraylist to find an element
|
||||||
* (this function must be called only if the arraylist is sorted).
|
* (this function must be called only if the arraylist is sorted).
|
||||||
*
|
*
|
||||||
* If "index" is not NULL, it is set with the index of element found (or -1 if
|
* If "index" is not NULL, it is set with the index of element found (or -1 if
|
||||||
@@ -239,7 +238,7 @@ arraylist_shrink (struct t_arraylist *arraylist)
|
|||||||
* If "index_insert" is not NULL, it is set with the index that must be used to
|
* If "index_insert" is not NULL, it is set with the index that must be used to
|
||||||
* insert the element in the arraylist (to keep arraylist sorted).
|
* insert the element in the arraylist (to keep arraylist sorted).
|
||||||
*
|
*
|
||||||
* Returns pointer to element found, NULL if not found.
|
* Return pointer to element found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -398,7 +397,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Performs a standard search in the arraylist to find an element
|
* Perform a standard search in the arraylist to find an element
|
||||||
* (this function must be called only if the arraylist is NOT sorted).
|
* (this function must be called only if the arraylist is NOT sorted).
|
||||||
*
|
*
|
||||||
* If "index" is not NULL, it is set with the index of element found (or -1 if
|
* If "index" is not NULL, it is set with the index of element found (or -1 if
|
||||||
@@ -407,7 +406,7 @@ end:
|
|||||||
* If "index_insert" is not NULL, it is set to -1 (elements are always added
|
* If "index_insert" is not NULL, it is set to -1 (elements are always added
|
||||||
* at the end of list when it is not sorted).
|
* at the end of list when it is not sorted).
|
||||||
*
|
*
|
||||||
* Returns pointer to element found, NULL if not found.
|
* Return pointer to element found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -442,7 +441,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches an element in the arraylist.
|
* Search an element in the arraylist.
|
||||||
*
|
*
|
||||||
* If "index" is not NULL, it is set with the index of element found (or -1 if
|
* If "index" is not NULL, it is set with the index of element found (or -1 if
|
||||||
* element was not found).
|
* element was not found).
|
||||||
@@ -450,7 +449,7 @@ end:
|
|||||||
* If "index_insert" is not NULL, it is set with the index that must be used to
|
* If "index_insert" is not NULL, it is set with the index that must be used to
|
||||||
* insert the element in the arraylist (to keep arraylist sorted).
|
* insert the element in the arraylist (to keep arraylist sorted).
|
||||||
*
|
*
|
||||||
* Returns pointer to element found, NULL if not found.
|
* Return pointer to element found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -478,7 +477,7 @@ arraylist_search (struct t_arraylist *arraylist, void *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Inserts an element at a given index (and shifts next elements by one
|
* Insert an element at a given index (and shifts next elements by one
|
||||||
* position), or at automatic index if the arraylist is sorted.
|
* position), or at automatic index if the arraylist is sorted.
|
||||||
*
|
*
|
||||||
* If the index is negative and that the arraylist is not sorted, the element
|
* If the index is negative and that the arraylist is not sorted, the element
|
||||||
@@ -487,7 +486,7 @@ arraylist_search (struct t_arraylist *arraylist, void *pointer,
|
|||||||
* If the arraylist is sorted, the argument "index" is ignored (the element
|
* If the arraylist is sorted, the argument "index" is ignored (the element
|
||||||
* will be inserted at appropriate position, to keep arraylist sorted).
|
* will be inserted at appropriate position, to keep arraylist sorted).
|
||||||
*
|
*
|
||||||
* Returns the index of the new element (>= 0) or -1 if error.
|
* Return the index of the new element (>= 0) or -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -559,10 +558,10 @@ arraylist_insert (struct t_arraylist *arraylist, int index, void *pointer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds an element at the end of arraylist (or in the middle if the arraylist
|
* Add an element at the end of arraylist (or in the middle if the arraylist
|
||||||
* is sorted).
|
* is sorted).
|
||||||
*
|
*
|
||||||
* Returns the index of the new element (>= 0) or -1 if error.
|
* Return the index of the new element (>= 0) or -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -575,9 +574,9 @@ arraylist_add (struct t_arraylist *arraylist, void *pointer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes one element from the arraylist.
|
* Remove one element from the arraylist.
|
||||||
*
|
*
|
||||||
* Returns the index removed or -1 if error.
|
* Return the index removed or -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -614,9 +613,9 @@ arraylist_remove (struct t_arraylist *arraylist, int index)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes all elements in the arraylist.
|
* Remove all elements in the arraylist.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -669,7 +668,7 @@ arraylist_clear (struct t_arraylist *arraylist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees an arraylist.
|
* Free an arraylist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -694,7 +693,7 @@ arraylist_free (struct t_arraylist *arraylist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints an arraylist in WeeChat log file (usually for crash dump).
|
* Print an arraylist in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a backtrace line on standard error output and in WeeChat log.
|
* Display a backtrace line on standard error output and in WeeChat log.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -65,7 +65,7 @@ weechat_backtrace_printf (const char *message, ...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays function name and line with a backtrace address.
|
* Display function name and line with a backtrace address.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -147,7 +147,7 @@ weechat_backtrace_addr2line (int number, void *address, const char *symbol)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays backtrace (function called when a SIGSEGV is received).
|
* Display backtrace (function called when a SIGSEGV is received).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ calc_list_free_cb (void *data, struct t_arraylist *arraylist, void *pointer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the precedence of an operator:
|
* Return the precedence of an operator:
|
||||||
* - '*' and '/': 2
|
* - '*' and '/': 2
|
||||||
* - '+' and '-': 1
|
* - '+' and '-': 1
|
||||||
* - any other: 0
|
* - any other: 0
|
||||||
@@ -91,7 +91,7 @@ calc_operator_precedence (const char *oper)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Pops an integer value from the stack of values.
|
* Pop an integer value from the stack of values.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
double
|
double
|
||||||
@@ -117,7 +117,7 @@ calc_pop_value (struct t_arraylist *list_values)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calculates result of an operation using an operator and two values.
|
* Calculate result of an operation using an operator and two values.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
double
|
double
|
||||||
@@ -151,7 +151,7 @@ calc_operation (const char *oper, double value1, double value2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calculates result of an operation using the operator on the operators stack
|
* Calculate result of an operation using the operator on the operators stack
|
||||||
* and the two values on the values stack.
|
* and the two values on the values stack.
|
||||||
*
|
*
|
||||||
* The result is pushed on values stack.
|
* The result is pushed on values stack.
|
||||||
@@ -187,7 +187,7 @@ calc_operation_stacks (struct t_arraylist *list_values,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sanitizes a decimal number: removes any thousands separator and replaces
|
* Sanitize a decimal number: remove any thousands separator and replace
|
||||||
* the decimal separator by a dot.
|
* the decimal separator by a dot.
|
||||||
*
|
*
|
||||||
* The string is updated in-place, the result has always a length shorter or
|
* The string is updated in-place, the result has always a length shorter or
|
||||||
@@ -203,7 +203,7 @@ calc_operation_stacks (struct t_arraylist *list_values,
|
|||||||
* 1,234,567.89 --> 1234567.89
|
* 1,234,567.89 --> 1234567.89
|
||||||
* -2.345,67 --> -2345.67
|
* -2.345,67 --> -2345.67
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: the number has decimal part
|
* 1: the number has decimal part
|
||||||
* 0: the number has no decimal part
|
* 0: the number has no decimal part
|
||||||
*/
|
*/
|
||||||
@@ -279,7 +279,7 @@ calc_sanitize_decimal_number (char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Formats the result as a decimal number (locale independent): remove any
|
* Format the result as a decimal number (locale independent): remove any
|
||||||
* extra "0" at the and the decimal point if needed.
|
* extra "0" at the and the decimal point if needed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -314,7 +314,7 @@ calc_format_result (double value, char *result, int max_size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calculates an expression, which can contain:
|
* Calculate an expression, which can contain:
|
||||||
* - integer and decimal numbers (ie 2 or 2.5)
|
* - integer and decimal numbers (ie 2 or 2.5)
|
||||||
* - operators:
|
* - operators:
|
||||||
* +: addition
|
* +: addition
|
||||||
|
|||||||
+242
-190
@@ -101,7 +101,7 @@ void command_set_display_option (struct t_config_option *option,
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/allbuf": executes a command on all buffers.
|
* Callback for command "/allbuf": execute a command on all buffers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(allbuf)
|
COMMAND_CALLBACK(allbuf)
|
||||||
@@ -158,7 +158,7 @@ COMMAND_CALLBACK(allbuf)
|
|||||||
COMMAND_EMPTY(away)
|
COMMAND_EMPTY(away)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a list of bars.
|
* Display a list of bars.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -234,7 +234,7 @@ command_bar_list (int full)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/bar": manages bars.
|
* Callback for command "/bar": manage bars.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(bar)
|
COMMAND_CALLBACK(bar)
|
||||||
@@ -599,11 +599,11 @@ COMMAND_CALLBACK(bar)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if the buffer number is valid (in range 1 to GUI_BUFFER_NUMBER_MAX).
|
* Check if the buffer number is valid (in range 1 to GUI_BUFFER_NUMBER_MAX).
|
||||||
*
|
*
|
||||||
* If the number is not valid, a warning is displayed.
|
* If the number is not valid, a warning is displayed.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: buffer number is valid
|
* 1: buffer number is valid
|
||||||
* 0: buffer number is invalid
|
* 0: buffer number is invalid
|
||||||
*/
|
*/
|
||||||
@@ -615,7 +615,7 @@ command_buffer_check_number (long number)
|
|||||||
{
|
{
|
||||||
/* invalid number */
|
/* invalid number */
|
||||||
gui_chat_printf (NULL,
|
gui_chat_printf (NULL,
|
||||||
_("%sBuffer number \"%d\" is out of range "
|
_("%sBuffer number %d is out of range "
|
||||||
"(it must be between 1 and %d)"),
|
"(it must be between 1 and %d)"),
|
||||||
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
|
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
|
||||||
number,
|
number,
|
||||||
@@ -628,7 +628,7 @@ command_buffer_check_number (long number)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a local variable for a buffer.
|
* Display a local variable for a buffer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -659,7 +659,7 @@ command_buffer_display_localvar (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/buffer": manages buffers.
|
* Callback for command "/buffer": manage buffers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(buffer)
|
COMMAND_CALLBACK(buffer)
|
||||||
@@ -1646,7 +1646,7 @@ COMMAND_CALLBACK(buffer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/color": defines custom colors and displays palette of
|
* Callback for command "/color": define custom colors and displays palette of
|
||||||
* colors.
|
* colors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1845,7 +1845,7 @@ COMMAND_CALLBACK(color)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/command": launches explicit WeeChat or plugin command.
|
* Callback for command "/command": launch explicit WeeChat or plugin command.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(command)
|
COMMAND_CALLBACK(command)
|
||||||
@@ -2036,7 +2036,7 @@ COMMAND_CALLBACK(cursor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/debug": controls debug for core/plugins.
|
* Callback for command "/debug": control debug for core/plugins.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(debug)
|
COMMAND_CALLBACK(debug)
|
||||||
@@ -2313,7 +2313,7 @@ COMMAND_CALLBACK(debug)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints eval debug output.
|
* Print eval debug output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -2342,16 +2342,17 @@ command_eval_print_debug (const char *debug)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/eval": evaluates an expression and sends result to
|
* Callback for command "/eval": evaluate an expression and send result to buffer.
|
||||||
* buffer.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(eval)
|
COMMAND_CALLBACK(eval)
|
||||||
{
|
{
|
||||||
int i, rc, print_only, split_command, condition, debug, error;
|
int i, rc, print_only, split_command, eval_first, condition, debug, error;
|
||||||
char *result, *ptr_args, **commands, **ptr_command, str_debug[32];
|
char *result, *ptr_args, **commands, **ptr_command, str_debug[32];
|
||||||
const char *debug_output;
|
const char *debug_output;
|
||||||
struct t_hashtable *pointers, *options;
|
struct t_hashtable *pointers, *options;
|
||||||
|
struct t_weelist *list_commands;
|
||||||
|
struct t_weelist_item *ptr_item;
|
||||||
|
|
||||||
/* make C compiler happy */
|
/* make C compiler happy */
|
||||||
(void) pointer;
|
(void) pointer;
|
||||||
@@ -2361,6 +2362,7 @@ COMMAND_CALLBACK(eval)
|
|||||||
rc = WEECHAT_RC_OK;
|
rc = WEECHAT_RC_OK;
|
||||||
print_only = 0;
|
print_only = 0;
|
||||||
split_command = 0;
|
split_command = 0;
|
||||||
|
eval_first = 0;
|
||||||
condition = 0;
|
condition = 0;
|
||||||
debug = 0;
|
debug = 0;
|
||||||
error = 0;
|
error = 0;
|
||||||
@@ -2380,6 +2382,11 @@ COMMAND_CALLBACK(eval)
|
|||||||
split_command = 1;
|
split_command = 1;
|
||||||
ptr_args = argv_eol[i + 1];
|
ptr_args = argv_eol[i + 1];
|
||||||
}
|
}
|
||||||
|
else if (string_strcmp (argv[i], "-e") == 0)
|
||||||
|
{
|
||||||
|
eval_first = 1;
|
||||||
|
ptr_args = argv_eol[i + 1];
|
||||||
|
}
|
||||||
else if (string_strcmp (argv[i], "-c") == 0)
|
else if (string_strcmp (argv[i], "-c") == 0)
|
||||||
{
|
{
|
||||||
condition = 1;
|
condition = 1;
|
||||||
@@ -2397,97 +2404,89 @@ COMMAND_CALLBACK(eval)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ptr_args)
|
if (!ptr_args)
|
||||||
|
return rc;
|
||||||
|
|
||||||
|
pointers = hashtable_new (32,
|
||||||
|
WEECHAT_HASHTABLE_STRING,
|
||||||
|
WEECHAT_HASHTABLE_POINTER,
|
||||||
|
NULL,
|
||||||
|
NULL);
|
||||||
|
if (pointers)
|
||||||
{
|
{
|
||||||
pointers = hashtable_new (32,
|
hashtable_set (pointers, "window",
|
||||||
WEECHAT_HASHTABLE_STRING,
|
gui_window_search_with_buffer (buffer));
|
||||||
WEECHAT_HASHTABLE_POINTER,
|
hashtable_set (pointers, "buffer", buffer);
|
||||||
NULL,
|
}
|
||||||
NULL);
|
|
||||||
if (pointers)
|
|
||||||
{
|
|
||||||
hashtable_set (pointers, "window",
|
|
||||||
gui_window_search_with_buffer (buffer));
|
|
||||||
hashtable_set (pointers, "buffer", buffer);
|
|
||||||
}
|
|
||||||
|
|
||||||
options = NULL;
|
options = NULL;
|
||||||
if (condition || debug)
|
if (condition || debug)
|
||||||
|
{
|
||||||
|
options = hashtable_new (32,
|
||||||
|
WEECHAT_HASHTABLE_STRING,
|
||||||
|
WEECHAT_HASHTABLE_STRING,
|
||||||
|
NULL,
|
||||||
|
NULL);
|
||||||
|
if (options)
|
||||||
{
|
{
|
||||||
options = hashtable_new (32,
|
if (condition)
|
||||||
WEECHAT_HASHTABLE_STRING,
|
hashtable_set (options, "type", "condition");
|
||||||
WEECHAT_HASHTABLE_STRING,
|
if (debug > 0)
|
||||||
NULL,
|
|
||||||
NULL);
|
|
||||||
if (options)
|
|
||||||
{
|
{
|
||||||
if (condition)
|
snprintf (str_debug, sizeof (str_debug), "%d", debug);
|
||||||
hashtable_set (options, "type", "condition");
|
hashtable_set (options, "debug", str_debug);
|
||||||
if (debug > 0)
|
|
||||||
{
|
|
||||||
snprintf (str_debug, sizeof (str_debug), "%d", debug);
|
|
||||||
hashtable_set (options, "debug", str_debug);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (print_only)
|
if (print_only)
|
||||||
|
{
|
||||||
|
result = eval_expression (ptr_args, pointers, NULL, options);
|
||||||
|
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t>> %s", ptr_args);
|
||||||
|
if (result)
|
||||||
{
|
{
|
||||||
result = eval_expression (ptr_args, pointers, NULL, options);
|
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s[%s%s%s]",
|
||||||
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t>> %s", ptr_args);
|
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
||||||
if (result)
|
GUI_COLOR(GUI_COLOR_CHAT),
|
||||||
{
|
result,
|
||||||
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s[%s%s%s]",
|
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS));
|
||||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
free (result);
|
||||||
GUI_COLOR(GUI_COLOR_CHAT),
|
|
||||||
result,
|
|
||||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS));
|
|
||||||
free (result);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s<%s%s%s>",
|
|
||||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
|
||||||
GUI_COLOR(GUI_COLOR_CHAT),
|
|
||||||
_("error"),
|
|
||||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS));
|
|
||||||
}
|
|
||||||
if (options && debug)
|
|
||||||
{
|
|
||||||
debug_output = hashtable_get (options,
|
|
||||||
"debug_output");
|
|
||||||
if (debug_output)
|
|
||||||
command_eval_print_debug (debug_output);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (split_command)
|
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s<%s%s%s>",
|
||||||
|
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
||||||
|
GUI_COLOR(GUI_COLOR_CHAT),
|
||||||
|
_("error"),
|
||||||
|
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS));
|
||||||
|
}
|
||||||
|
if (options && debug)
|
||||||
|
{
|
||||||
|
debug_output = hashtable_get (options,
|
||||||
|
"debug_output");
|
||||||
|
if (debug_output)
|
||||||
|
command_eval_print_debug (debug_output);
|
||||||
|
}
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (split_command)
|
||||||
|
{
|
||||||
|
commands = string_split_command (ptr_args, ';');
|
||||||
|
if (commands)
|
||||||
|
{
|
||||||
|
if (eval_first)
|
||||||
{
|
{
|
||||||
commands = string_split_command (ptr_args, ';');
|
list_commands = weelist_new ();
|
||||||
if (commands)
|
if (list_commands)
|
||||||
{
|
{
|
||||||
|
/* first build a list of all evaluated commands */
|
||||||
for (ptr_command = commands; *ptr_command; ptr_command++)
|
for (ptr_command = commands; *ptr_command; ptr_command++)
|
||||||
{
|
{
|
||||||
if (!gui_buffer_valid (buffer))
|
result = eval_expression (*ptr_command, pointers, NULL, options);
|
||||||
{
|
|
||||||
buffer = gui_current_window->buffer;
|
|
||||||
if (pointers)
|
|
||||||
{
|
|
||||||
hashtable_set (pointers, "window",
|
|
||||||
gui_window_search_with_buffer (buffer));
|
|
||||||
hashtable_set (pointers, "buffer", buffer);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
result = eval_expression (*ptr_command, pointers, NULL,
|
|
||||||
options);
|
|
||||||
if (result)
|
if (result)
|
||||||
{
|
{
|
||||||
(void) input_data (buffer,
|
weelist_add (list_commands, result, WEECHAT_LIST_POS_END, NULL);
|
||||||
result,
|
|
||||||
NULL,
|
|
||||||
0, /* split_newline */
|
|
||||||
0); /* user_data */
|
|
||||||
free (result);
|
free (result);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -2502,52 +2501,103 @@ COMMAND_CALLBACK(eval)
|
|||||||
command_eval_print_debug (debug_output);
|
command_eval_print_debug (debug_output);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
string_free_split_command (commands);
|
/* execute evaluated commands */
|
||||||
|
for (ptr_item = list_commands->items; ptr_item;
|
||||||
|
ptr_item = ptr_item->next_item)
|
||||||
|
{
|
||||||
|
if (!gui_buffer_valid (buffer))
|
||||||
|
buffer = gui_current_window->buffer;
|
||||||
|
(void) input_data (buffer,
|
||||||
|
ptr_item->data,
|
||||||
|
NULL,
|
||||||
|
0, /* split_newline */
|
||||||
|
0); /* user_data */
|
||||||
|
}
|
||||||
|
weelist_free (list_commands);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
result = eval_expression (ptr_args, pointers, NULL, options);
|
for (ptr_command = commands; *ptr_command; ptr_command++)
|
||||||
if (result)
|
|
||||||
{
|
{
|
||||||
(void) input_data (buffer,
|
if (!gui_buffer_valid (buffer))
|
||||||
result,
|
{
|
||||||
NULL,
|
buffer = gui_current_window->buffer;
|
||||||
0, /* split_newline */
|
if (pointers)
|
||||||
0); /* user_data */
|
{
|
||||||
free (result);
|
hashtable_set (pointers, "window",
|
||||||
}
|
gui_window_search_with_buffer (buffer));
|
||||||
else
|
hashtable_set (pointers, "buffer", buffer);
|
||||||
{
|
}
|
||||||
error = 1;
|
}
|
||||||
}
|
result = eval_expression (*ptr_command, pointers, NULL,
|
||||||
if (options && debug)
|
options);
|
||||||
{
|
if (result)
|
||||||
debug_output = hashtable_get (options,
|
{
|
||||||
"debug_output");
|
(void) input_data (buffer,
|
||||||
if (debug_output)
|
result,
|
||||||
command_eval_print_debug (debug_output);
|
NULL,
|
||||||
|
0, /* split_newline */
|
||||||
|
0); /* user_data */
|
||||||
|
free (result);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
error = 1;
|
||||||
|
}
|
||||||
|
if (options && debug)
|
||||||
|
{
|
||||||
|
debug_output = hashtable_get (options,
|
||||||
|
"debug_output");
|
||||||
|
if (debug_output)
|
||||||
|
command_eval_print_debug (debug_output);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
string_free_split_command (commands);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (error)
|
|
||||||
{
|
|
||||||
gui_chat_printf (NULL,
|
|
||||||
_("%sError in expression to evaluate"),
|
|
||||||
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
|
|
||||||
rc = WEECHAT_RC_ERROR;
|
|
||||||
}
|
|
||||||
|
|
||||||
hashtable_free (pointers);
|
|
||||||
hashtable_free (options);
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
result = eval_expression (ptr_args, pointers, NULL, options);
|
||||||
|
if (result)
|
||||||
|
{
|
||||||
|
(void) input_data (buffer,
|
||||||
|
result,
|
||||||
|
NULL,
|
||||||
|
0, /* split_newline */
|
||||||
|
0); /* user_data */
|
||||||
|
free (result);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
error = 1;
|
||||||
|
}
|
||||||
|
if (options && debug)
|
||||||
|
{
|
||||||
|
debug_output = hashtable_get (options,
|
||||||
|
"debug_output");
|
||||||
|
if (debug_output)
|
||||||
|
command_eval_print_debug (debug_output);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (error)
|
||||||
|
{
|
||||||
|
gui_chat_printf (NULL,
|
||||||
|
_("%sError in expression to evaluate"),
|
||||||
|
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
|
||||||
|
rc = WEECHAT_RC_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
hashtable_free (pointers);
|
||||||
|
hashtable_free (options);
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays one filter.
|
* Display one filter.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -2570,7 +2620,7 @@ command_filter_display (struct t_gui_filter *filter)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/filter": manages message filters.
|
* Callback for command "/filter": manage message filters.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(filter)
|
COMMAND_CALLBACK(filter)
|
||||||
@@ -2917,7 +2967,7 @@ COMMAND_CALLBACK(filter)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays help for commands of a plugin (or core commands if plugin is NULL).
|
* Display help for commands of a plugin (or core commands if plugin is NULL).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -3062,7 +3112,7 @@ command_help_list_plugin_commands (struct t_weechat_plugin *plugin,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays help for commands.
|
* Display help for commands.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -3082,7 +3132,7 @@ command_help_list_commands (int verbose)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns translated help text for values of a color option.
|
* Return translated help text for values of a color option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -3103,7 +3153,7 @@ command_help_option_color_values (void)
|
|||||||
"\"_\" for underline");
|
"\"_\" for underline");
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Callback for command "/help": displays help about commands and options.
|
* Callback for command "/help": display help about commands and options.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(help)
|
COMMAND_CALLBACK(help)
|
||||||
@@ -3474,7 +3524,7 @@ COMMAND_CALLBACK(help)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/history": displays command history for current buffer.
|
* Callback for command "/history": display command history for current buffer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(history)
|
COMMAND_CALLBACK(history)
|
||||||
@@ -3536,7 +3586,7 @@ COMMAND_CALLBACK(history)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/hotlist": manages hotlist.
|
* Callback for command "/hotlist": manage hotlist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(hotlist)
|
COMMAND_CALLBACK(hotlist)
|
||||||
@@ -3789,7 +3839,7 @@ COMMAND_CALLBACK(input)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/item": manages custom bar items
|
* Callback for command "/item": manage custom bar items
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(item)
|
COMMAND_CALLBACK(item)
|
||||||
@@ -3990,7 +4040,7 @@ COMMAND_CALLBACK(item)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a key binding.
|
* Display a key binding.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4020,7 +4070,7 @@ command_key_display (struct t_gui_key *key, struct t_gui_key *default_key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a list of keys.
|
* Display a list of keys.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4050,7 +4100,7 @@ command_key_display_list (const char *message_no_key,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays differences between default and current keys (keys added, redefined
|
* Display differences between default and current keys (keys added, redefined
|
||||||
* or removed).
|
* or removed).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -4133,7 +4183,7 @@ command_key_display_listdiff (int context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Resets a key in the given context.
|
* Reset a key in the given context.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -4199,7 +4249,7 @@ command_key_reset (int context, const char *key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/key": binds/unbinds keys.
|
* Callback for command "/key": bind/unbind keys.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(key)
|
COMMAND_CALLBACK(key)
|
||||||
@@ -4484,8 +4534,9 @@ COMMAND_CALLBACK(key)
|
|||||||
keys_added = (gui_keys_count[context] > old_keys_count) ?
|
keys_added = (gui_keys_count[context] > old_keys_count) ?
|
||||||
gui_keys_count[context] - old_keys_count : 0;
|
gui_keys_count[context] - old_keys_count : 0;
|
||||||
gui_chat_printf (NULL,
|
gui_chat_printf (NULL,
|
||||||
NG_("%d new key added", "%d new keys added "
|
NG_("%d new key added (context: \"%s\")",
|
||||||
"(context: \"%s\")", keys_added),
|
"%d new keys added (context: \"%s\")",
|
||||||
|
keys_added),
|
||||||
keys_added,
|
keys_added,
|
||||||
gui_key_context_string[context]);
|
gui_key_context_string[context]);
|
||||||
}
|
}
|
||||||
@@ -4519,7 +4570,7 @@ COMMAND_CALLBACK(key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a tree of windows.
|
* Display a tree of windows.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4563,7 +4614,7 @@ command_layout_display_tree (struct t_gui_layout_window *layout_window,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets arguments for /layout command (if option is store/apply/del).
|
* Get arguments for /layout command (if option is store/apply/del).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4600,7 +4651,7 @@ command_layout_get_arguments (int argc, char **argv,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/layout": manages layouts.
|
* Callback for command "/layout": manage layouts.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(layout)
|
COMMAND_CALLBACK(layout)
|
||||||
@@ -4833,7 +4884,7 @@ command_mouse_timer (const char *delay)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/mouse": controls mouse.
|
* Callback for command "/mouse": control mouse.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(mouse)
|
COMMAND_CALLBACK(mouse)
|
||||||
@@ -4892,7 +4943,7 @@ COMMAND_CALLBACK(mouse)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/mute": silently executes a command.
|
* Callback for command "/mute": silently execute a command.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(mute)
|
COMMAND_CALLBACK(mute)
|
||||||
@@ -4980,9 +5031,9 @@ COMMAND_CALLBACK(mute)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Opens a file in write mode to redirect messages.
|
* Open a file in write mode to redirect messages.
|
||||||
*
|
*
|
||||||
* Returns a pointer to the file, NULL if error.
|
* Return a pointer to the file, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
FILE *
|
FILE *
|
||||||
@@ -5234,7 +5285,7 @@ COMMAND_CALLBACK(pipe)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a list of loaded plugins.
|
* Display a list of loaded plugins.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -5303,9 +5354,9 @@ command_plugin_list (const char *name, int full)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Lists loaded plugins in input.
|
* List loaded plugins in input.
|
||||||
*
|
*
|
||||||
* Sends input to buffer if send_to_buffer == 1.
|
* Send input to buffer if send_to_buffer == 1.
|
||||||
* String is translated if translated == 1 (otherwise it's English).
|
* String is translated if translated == 1 (otherwise it's English).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -5383,7 +5434,7 @@ command_plugin_list_input (struct t_gui_buffer *buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/plugin": lists/loads/unloads WeeChat plugins.
|
* Callback for command "/plugin": list/load/unload WeeChat plugins.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(plugin)
|
COMMAND_CALLBACK(plugin)
|
||||||
@@ -5766,7 +5817,7 @@ COMMAND_CALLBACK(print)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a list of proxies.
|
* Display a list of proxies.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -5820,7 +5871,7 @@ command_proxy_list (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/proxy": manages proxies.
|
* Callback for command "/proxy": manage proxies.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(proxy)
|
COMMAND_CALLBACK(proxy)
|
||||||
@@ -5959,7 +6010,7 @@ COMMAND_CALLBACK(proxy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/quit": quits WeeChat.
|
* Callback for command "/quit": quit WeeChat.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(quit)
|
COMMAND_CALLBACK(quit)
|
||||||
@@ -6014,7 +6065,7 @@ COMMAND_CALLBACK(quit)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reloads a configuration file.
|
* Reload a configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -6046,7 +6097,7 @@ command_reload_file (struct t_config_file *config_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/reload": reloads a configuration file.
|
* Callback for command "/reload": reload a configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(reload)
|
COMMAND_CALLBACK(reload)
|
||||||
@@ -6097,7 +6148,7 @@ COMMAND_CALLBACK(reload)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a repeated command.
|
* Execute a repeated command.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -6198,7 +6249,7 @@ command_repeat_timer_cb (const void *pointer, void *data, int remaining_calls)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/repeat": executes a command several times.
|
* Callback for command "/repeat": execute a command several times.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(repeat)
|
COMMAND_CALLBACK(repeat)
|
||||||
@@ -6280,7 +6331,7 @@ COMMAND_CALLBACK(repeat)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Resets one option.
|
* Reset one option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -6307,7 +6358,7 @@ command_reset_option (struct t_config_option *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/reset": resets configuration options.
|
* Callback for command "/reset": reset configuration options.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(reset)
|
COMMAND_CALLBACK(reset)
|
||||||
@@ -6390,7 +6441,7 @@ COMMAND_CALLBACK(reset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Saves a configuration file to disk.
|
* Save a configuration file to disk.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -6412,7 +6463,7 @@ command_save_file (struct t_config_file *config_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/save": saves configuration files to disk.
|
* Callback for command "/save": save configuration files to disk.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(save)
|
COMMAND_CALLBACK(save)
|
||||||
@@ -6651,7 +6702,7 @@ COMMAND_CALLBACK(secure)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a configuration section.
|
* Display a configuration section.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -6670,7 +6721,7 @@ command_set_display_section (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a configuration option.
|
* Display a configuration option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -6756,9 +6807,9 @@ command_set_display_option (struct t_config_option *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a list of options.
|
* Display a list of options.
|
||||||
*
|
*
|
||||||
* Returns the number of options displayed.
|
* Return the number of options displayed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -6827,12 +6878,12 @@ command_set_display_option_list (const char *message, const char *search,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays multiple lists of options.
|
* Display multiple lists of options.
|
||||||
*
|
*
|
||||||
* If display_only_changed == 1, then it will display only options with value
|
* If display_only_changed == 1, then display only options with value changed
|
||||||
* changed (different from default value).
|
* (different from default value).
|
||||||
*
|
*
|
||||||
* Returns the total number of options displayed.
|
* Return the total number of options displayed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -6916,7 +6967,7 @@ command_set_display_option_lists (char **argv, int arg_start, int arg_end,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/set": displays or sets configuration options.
|
* Callback for command "/set": display or set configuration options.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(set)
|
COMMAND_CALLBACK(set)
|
||||||
@@ -7186,7 +7237,7 @@ COMMAND_CALLBACK(sys)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/toggle": toggles value of configuration option.
|
* Callback for command "/toggle": toggle value of configuration option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(toggle)
|
COMMAND_CALLBACK(toggle)
|
||||||
@@ -7268,7 +7319,7 @@ COMMAND_CALLBACK(toggle)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unsets/resets one option.
|
* Unset/reset one option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -7301,7 +7352,7 @@ command_unset_option (struct t_config_option *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/unset": unsets/resets configuration options.
|
* Callback for command "/unset": unset/reset configuration options.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(unset)
|
COMMAND_CALLBACK(unset)
|
||||||
@@ -7392,7 +7443,7 @@ COMMAND_CALLBACK(unset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays the number of upgrades done and the date of first/last start.
|
* Display the number of upgrades done and the date of first/last start.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -7474,7 +7525,7 @@ command_upgrade_display (struct t_gui_buffer *buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/upgrade": upgrades WeeChat.
|
* Callback for command "/upgrade": upgrade WeeChat.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(upgrade)
|
COMMAND_CALLBACK(upgrade)
|
||||||
@@ -7725,7 +7776,7 @@ COMMAND_CALLBACK(upgrade)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/uptime": displays WeeChat uptime.
|
* Callback for command "/uptime": display WeeChat uptime.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(uptime)
|
COMMAND_CALLBACK(uptime)
|
||||||
@@ -7806,7 +7857,7 @@ COMMAND_CALLBACK(uptime)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays WeeChat version.
|
* Display WeeChat version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -7850,7 +7901,7 @@ command_version_display (struct t_gui_buffer *buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/version": displays WeeChat version.
|
* Callback for command "/version": display WeeChat version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(version)
|
COMMAND_CALLBACK(version)
|
||||||
@@ -7895,7 +7946,7 @@ COMMAND_CALLBACK(version)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/wait": schedules a command execution in future.
|
* Callback for command "/wait": schedule a command execution in future.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(wait)
|
COMMAND_CALLBACK(wait)
|
||||||
@@ -7922,7 +7973,7 @@ COMMAND_CALLBACK(wait)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for command "/window": manages windows.
|
* Callback for command "/window": manage windows.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
COMMAND_CALLBACK(window)
|
COMMAND_CALLBACK(window)
|
||||||
@@ -8331,7 +8382,7 @@ COMMAND_CALLBACK(window)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks WeeChat core commands.
|
* Hook WeeChat core commands.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -8405,7 +8456,7 @@ command_init (void)
|
|||||||
N_("mask: name where wildcard \"*\" is allowed"),
|
N_("mask: name where wildcard \"*\" is allowed"),
|
||||||
N_("raw[set]: set a value for a bar property"),
|
N_("raw[set]: set a value for a bar property"),
|
||||||
N_("option: option to change (for options list, look at /set "
|
N_("option: option to change (for options list, look at /set "
|
||||||
"weechat.bar.<barname>.*)"),
|
"weechat.bar.<bar_name>.*)"),
|
||||||
N_("value: new value for option"),
|
N_("value: new value for option"),
|
||||||
N_("raw[hide]: hide a bar"),
|
N_("raw[hide]: hide a bar"),
|
||||||
N_("raw[show]: show an hidden bar"),
|
N_("raw[show]: show an hidden bar"),
|
||||||
@@ -8755,12 +8806,13 @@ command_init (void)
|
|||||||
NULL, "eval",
|
NULL, "eval",
|
||||||
N_("evaluate expression"),
|
N_("evaluate expression"),
|
||||||
/* TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated */
|
/* TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated */
|
||||||
N_("[-n|-s] [-d] <expression>"
|
N_("[-n|-s] [-e] [-d] <expression>"
|
||||||
" || [-n] [-d [-d]] -c <expression1> <operator> <expression2>"),
|
" || [-n] [-d [-d]] -c <expression1> <operator> <expression2>"),
|
||||||
CMD_ARGS_DESC(
|
CMD_ARGS_DESC(
|
||||||
N_("raw[-n]: display result without sending it to buffer (debug mode)"),
|
N_("raw[-n]: display result without sending it to buffer (debug mode)"),
|
||||||
N_("raw[-s]: split expression before evaluating it "
|
N_("raw[-s]: split expression before evaluating it "
|
||||||
"(many commands can be separated by semicolons)"),
|
"(many commands can be separated by semicolons)"),
|
||||||
|
N_("raw[-e]: evaluate all commands before executing them"),
|
||||||
N_("raw[-d]: display debug output after evaluation "
|
N_("raw[-d]: display debug output after evaluation "
|
||||||
"(with two -d: more verbose debug)"),
|
"(with two -d: more verbose debug)"),
|
||||||
N_("raw[-c]: evaluate as condition: use operators and parentheses, "
|
N_("raw[-c]: evaluate as condition: use operators and parentheses, "
|
||||||
@@ -9031,7 +9083,7 @@ command_init (void)
|
|||||||
NULL, "help",
|
NULL, "help",
|
||||||
N_("display help about commands and options"),
|
N_("display help about commands and options"),
|
||||||
/* TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated */
|
/* TRANSLATORS: only text between angle brackets (eg: "<name>") may be translated */
|
||||||
N_("-list|-listfull [<plugin>...]] || <command> || <option>"),
|
N_("-list|-listfull [<plugin>...] || <command> || <option>"),
|
||||||
CMD_ARGS_DESC(
|
CMD_ARGS_DESC(
|
||||||
N_("raw[-list]: list commands, by plugin (without argument, this list is "
|
N_("raw[-list]: list commands, by plugin (without argument, this list is "
|
||||||
"displayed)"),
|
"displayed)"),
|
||||||
@@ -9067,7 +9119,7 @@ command_init (void)
|
|||||||
"are NOT checked)"),
|
"are NOT checked)"),
|
||||||
N_("raw[clear]: clear hotlist"),
|
N_("raw[clear]: clear hotlist"),
|
||||||
N_("level: \"lowest\" to clear only lowest level in hotlist, "
|
N_("level: \"lowest\" to clear only lowest level in hotlist, "
|
||||||
"highest\" to clear only highest level in hotlist, or level mask: "
|
"\"highest\" to clear only highest level in hotlist, or level mask: "
|
||||||
"integer which is a combination of 1=join/part, 2=message, "
|
"integer which is a combination of 1=join/part, 2=message, "
|
||||||
"4=private, 8=highlight"),
|
"4=private, 8=highlight"),
|
||||||
N_("raw[remove]: remove current buffer from hotlist"),
|
N_("raw[remove]: remove current buffer from hotlist"),
|
||||||
@@ -9601,7 +9653,7 @@ command_init (void)
|
|||||||
N_("mask: name where wildcard \"*\" is allowed"),
|
N_("mask: name where wildcard \"*\" is allowed"),
|
||||||
N_("raw[set]: set a value for a proxy property"),
|
N_("raw[set]: set a value for a proxy property"),
|
||||||
N_("option: option to change (for options list, look at /set "
|
N_("option: option to change (for options list, look at /set "
|
||||||
"weechat.proxy.<proxyname>.*)"),
|
"weechat.proxy.<proxy_name>.*)"),
|
||||||
N_("value: new value for option"),
|
N_("value: new value for option"),
|
||||||
"",
|
"",
|
||||||
N_("Examples:"),
|
N_("Examples:"),
|
||||||
@@ -9764,13 +9816,13 @@ command_init (void)
|
|||||||
N_(" use program \"pass\" to read the passphrase on startup:"),
|
N_(" use program \"pass\" to read the passphrase on startup:"),
|
||||||
AI(" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase\""),
|
AI(" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase\""),
|
||||||
N_(" encrypt libera SASL password:"),
|
N_(" encrypt libera SASL password:"),
|
||||||
N_(" /secure set libera mypassword"),
|
N_(" /secure set libera my_password"),
|
||||||
AI(" /set irc.server.libera.sasl_password \"${sec.data.libera}\""),
|
AI(" /set irc.server.libera.sasl_password \"${sec.data.libera}\""),
|
||||||
N_(" encrypt oftc password for nickserv:"),
|
N_(" encrypt oftc password for nickserv:"),
|
||||||
N_(" /secure set oftc mypassword"),
|
N_(" /secure set oftc my_password"),
|
||||||
AI(" /set irc.server.oftc.command \"/msg nickserv identify ${sec.data.oftc}\""),
|
AI(" /set irc.server.oftc.command \"/msg nickserv identify ${sec.data.oftc}\""),
|
||||||
N_(" alias to ghost the nick \"mynick\":"),
|
N_(" alias to ghost the nick \"andrew\":"),
|
||||||
N_(" /alias add ghost /eval /msg -server libera nickserv ghost mynick "
|
N_(" /alias add ghost /eval /msg -server libera nickserv ghost andrew "
|
||||||
"${sec.data.libera}")),
|
"${sec.data.libera}")),
|
||||||
"passphrase -delete"
|
"passphrase -delete"
|
||||||
" || decrypt -discard"
|
" || decrypt -discard"
|
||||||
@@ -9942,7 +9994,7 @@ command_init (void)
|
|||||||
N_(" 4. execute new WeeChat binary and reload session."),
|
N_(" 4. execute new WeeChat binary and reload session."),
|
||||||
"",
|
"",
|
||||||
N_("With option \"-quit\", the process is:"),
|
N_("With option \"-quit\", the process is:"),
|
||||||
N_(" 1. close *ALL* connections (irc, xfer, relay, ...)"),
|
N_(" 1. close *ALL* connections (irc, xfer, relay, etc.)"),
|
||||||
N_(" 2. save session into files (*.upgrade)"),
|
N_(" 2. save session into files (*.upgrade)"),
|
||||||
N_(" 3. unload all plugins"),
|
N_(" 3. unload all plugins"),
|
||||||
N_(" 4. save WeeChat configuration"),
|
N_(" 4. save WeeChat configuration"),
|
||||||
@@ -10127,7 +10179,7 @@ command_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a list of commands (separated by ";").
|
* Execute a list of commands (separated by ";").
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -10159,7 +10211,7 @@ command_exec_list (const char *command_list)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes commands at startup.
|
* Execute commands at startup.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+53
-53
@@ -65,7 +65,7 @@ extern char **environ;
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a word with quotes around to completion list.
|
* Add a word with quotes around to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -82,7 +82,7 @@ completion_list_add_quoted_word (struct t_gui_completion *completion,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds bar names to completion list.
|
* Add bar names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -109,7 +109,7 @@ completion_list_add_bars_names_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds bar items to completion list.
|
* Add bar items to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -137,7 +137,7 @@ completion_list_add_bars_items_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds custom bar items names to completion list.
|
* Add custom bar items names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -165,7 +165,7 @@ completion_list_add_custom_bar_items_names_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds custom bar item conditions to completion list.
|
* Add custom bar item conditions to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -190,7 +190,7 @@ completion_list_add_custom_bar_item_conditions_cb (const void *pointer, void *da
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds custom bar item contents to completion list.
|
* Add custom bar item contents to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -215,7 +215,7 @@ completion_list_add_custom_bar_item_contents_cb (const void *pointer, void *data
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds arguments for commands that add a custom bar item.
|
* Add arguments for commands that add a custom bar item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -283,7 +283,7 @@ completion_list_add_custom_bar_item_add_arguments_cb (const void *pointer, void
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds bar options to completion list.
|
* Add bar options to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -310,7 +310,7 @@ completion_list_add_bars_options_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds buffer names to completion list.
|
* Add buffer names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -338,7 +338,7 @@ completion_list_add_buffers_names_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds buffer numbers to completion list.
|
* Add buffer numbers to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -368,7 +368,7 @@ completion_list_add_buffers_numbers_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds plugin+buffer names to completion list.
|
* Add plugin+buffer names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -396,7 +396,7 @@ completion_list_add_buffers_plugins_names_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a buffer local variable to completions list.
|
* Add a buffer local variable to completions list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -414,7 +414,7 @@ completion_list_map_buffer_local_variable_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds buffer local variables to completion list.
|
* Add buffer local variables to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -437,7 +437,7 @@ completion_list_add_buffer_local_variables_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds buffer local variable value to completion list.
|
* Add buffer local variable value to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -487,7 +487,7 @@ completion_list_add_buffer_local_variable_value_cb (const void *pointer, void *d
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds buffer properties (that can be set) to completion list.
|
* Add buffer properties (that can be set) to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -515,7 +515,7 @@ completion_list_add_buffer_properties_set_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a buffer local variable to completions list (for `/buffer setauto`).
|
* Add a buffer local variable to completions list (for `/buffer setauto`).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -538,7 +538,7 @@ completion_list_map_buffer_local_variable_setauto_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds buffer properties (that can be set), local variables and key bindings
|
* Add buffer properties (that can be set), local variables and key bindings
|
||||||
* to completion list.
|
* to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -585,7 +585,7 @@ completion_list_add_buffer_properties_setauto_cb (const void *pointer, void *dat
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds buffer properties (that can be read) to completion list.
|
* Add buffer properties (that can be read) to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -625,7 +625,7 @@ completion_list_add_buffer_properties_get_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds window numbers to completion list.
|
* Add window numbers to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -654,7 +654,7 @@ completion_list_add_windows_numbers_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds colors to completion list.
|
* Add colors to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -711,7 +711,7 @@ completion_list_add_colors_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a palette color to completion list.
|
* Add a palette color to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -729,7 +729,7 @@ completion_list_map_add_palette_color_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds palette colors to completion list.
|
* Add palette colors to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -752,7 +752,7 @@ completion_list_add_palette_colors_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds configuration files to completion list.
|
* Add configuration files to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -780,7 +780,7 @@ completion_list_add_config_files_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds path/filename to completion list.
|
* Add path/filename to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -923,7 +923,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds filter names to completion list.
|
* Add filter names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -951,7 +951,7 @@ completion_list_add_filters_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds disabled filter names to completion list.
|
* Add disabled filter names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -982,7 +982,7 @@ completion_list_add_filters_disabled_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds enabled filter names to completion list.
|
* Add enabled filter names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1013,7 +1013,7 @@ completion_list_add_filters_enabled_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds command hook types to completion list.
|
* Add command hook types to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1040,7 +1040,7 @@ completion_list_add_hook_types_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds command hooks to completion list.
|
* Add command hooks to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1091,7 +1091,7 @@ completion_list_add_commands_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds info hooks to completion list.
|
* Add info hooks to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1123,7 +1123,7 @@ completion_list_add_infos_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds infolist hooks to completion list.
|
* Add infolist hooks to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1155,7 +1155,7 @@ completion_list_add_infolists_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds nicks to completion list.
|
* Add nicks to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1206,7 +1206,7 @@ completion_list_add_nicks_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds configuration options to completion list.
|
* Add configuration options to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1254,7 +1254,7 @@ completion_list_add_config_options_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds plugin names to completion list.
|
* Add plugin names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1282,7 +1282,7 @@ completion_list_add_plugins_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a plugin installed to completion list.
|
* Add a plugin installed to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1317,7 +1317,7 @@ completion_list_add_plugins_installed_exec_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds plugins installed to completion list.
|
* Add plugins installed to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1384,7 +1384,7 @@ completion_list_add_plugins_installed_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds plugin commands to completion list.
|
* Add plugin commands to completion list.
|
||||||
*
|
*
|
||||||
* The plugin name is read in previous argument.
|
* The plugin name is read in previous argument.
|
||||||
*/
|
*/
|
||||||
@@ -1472,7 +1472,7 @@ completion_list_add_plugins_commands_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds value of option to completion list.
|
* Add value of option to completion list.
|
||||||
*
|
*
|
||||||
* The option name is read in previous argument.
|
* The option name is read in previous argument.
|
||||||
*/
|
*/
|
||||||
@@ -1688,7 +1688,7 @@ completion_list_add_config_option_values_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds WeeChat commands to completion list.
|
* Add WeeChat commands to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1740,7 +1740,7 @@ completion_list_add_weechat_commands_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds proxy names to completion list.
|
* Add proxy names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1768,7 +1768,7 @@ completion_list_add_proxies_names_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds proxy options to completion list.
|
* Add proxy options to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1795,7 +1795,7 @@ completion_list_add_proxies_options_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds key contexts to completion list.
|
* Add key contexts to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1822,7 +1822,7 @@ completion_list_add_keys_contexts_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds keys to completion list.
|
* Add keys to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1853,7 +1853,7 @@ completion_list_add_keys_codes_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds keys that can be reset (keys added, redefined or removed) to completion
|
* Add keys that can be reset (keys added, redefined or removed) to completion
|
||||||
* list.
|
* list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1905,7 +1905,7 @@ completion_list_add_keys_codes_for_reset_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds areas for free cursor movement ("chat" and bar names) to completion
|
* Add areas for free cursor movement ("chat" and bar names) to completion
|
||||||
* list.
|
* list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1947,7 +1947,7 @@ completion_list_add_cursor_areas_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds layout names to completion list.
|
* Add layout names to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1975,7 +1975,7 @@ completion_list_add_layouts_names_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a secured data to completion list.
|
* Add a secured data to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1993,7 +1993,7 @@ completion_list_map_add_secured_data_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds secured data to completion list.
|
* Add secured data to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2016,7 +2016,7 @@ completion_list_add_secured_data_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds environment variables to completion list.
|
* Add environment variables to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2052,7 +2052,7 @@ completion_list_add_env_vars_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds value of an environment variable to completion list.
|
* Add value of an environment variable to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2099,7 +2099,7 @@ completion_list_add_env_value_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a buffer local variable for /eval to completions list.
|
* Add a buffer local variable for /eval to completions list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -2122,7 +2122,7 @@ completion_list_map_eval_buffer_local_variable_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds /eval variables to completion list.
|
* Add /eval variables to completion list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2225,7 +2225,7 @@ completion_list_add_eval_variables_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds hooks for completions done by WeeChat core.
|
* Add hooks for completions done by WeeChat core.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+123
-124
@@ -65,9 +65,9 @@ void config_file_option_free_data (struct t_config_option *option);
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a configuration file pointer is valid.
|
* Check if a configuration file pointer is valid.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: configuration file exists
|
* 1: configuration file exists
|
||||||
* 0: configuration file does not exist
|
* 0: configuration file does not exist
|
||||||
*/
|
*/
|
||||||
@@ -92,7 +92,7 @@ config_file_valid (struct t_config_file *config_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a configuration file.
|
* Search for a configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_file *
|
struct t_config_file *
|
||||||
@@ -119,7 +119,7 @@ config_file_search (const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for position of configuration file (to keep configuration files
|
* Search for position of configuration file (to keep configuration files
|
||||||
* sorted by name).
|
* sorted by name).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@ config_file_find_pos (const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Inserts a configuration file (keeping files sorted by name).
|
* Insert a configuration file (keeping files sorted by name).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -188,9 +188,9 @@ config_file_config_insert (struct t_config_file *config_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new configuration file.
|
* Create a new configuration file.
|
||||||
*
|
*
|
||||||
* Returns pointer to new configuration file, NULL if error.
|
* Return pointer to new configuration file, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_file *
|
struct t_config_file *
|
||||||
@@ -250,10 +250,10 @@ config_file_new (struct t_weechat_plugin *plugin, const char *name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets configuration file version and a callback to update config
|
* Set configuration file version and a callback to update config
|
||||||
* sections/options on-the-fly when the config is read.
|
* sections/options on-the-fly when the config is read.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -282,10 +282,10 @@ config_file_set_version (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two configuration files to sort them by priority (highest priority
|
* Compare two configuration files to sort them by priority (highest priority
|
||||||
* at beginning of list).
|
* at beginning of list).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* -1: config1 has higher priority than config2
|
* -1: config1 has higher priority than config2
|
||||||
* 1: config1 has same or lower priority than config2
|
* 1: config1 has same or lower priority than config2
|
||||||
*/
|
*/
|
||||||
@@ -308,7 +308,7 @@ config_file_arraylist_cmp_config_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns an arraylist with pointers to configuration files, sorted by
|
* Return an arraylist with pointers to configuration files, sorted by
|
||||||
* priority (from highest to lowest).
|
* priority (from highest to lowest).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -339,7 +339,7 @@ config_file_get_configs_by_priority (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for position of section in configuration file (to keep sections
|
* Search for position of section in configuration file (to keep sections
|
||||||
* sorted by name).
|
* sorted by name).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -364,9 +364,9 @@ config_file_section_find_pos (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new section in a configuration file.
|
* Create a new section in a configuration file.
|
||||||
*
|
*
|
||||||
* Returns pointer to new section, NULL if error.
|
* Return pointer to new section, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_section *
|
struct t_config_section *
|
||||||
@@ -459,9 +459,9 @@ config_file_new_section (struct t_config_file *config_file, const char *name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a section in a configuration file.
|
* Search for a section in a configuration file.
|
||||||
*
|
*
|
||||||
* Returns pointer to section found, NULL if not found.
|
* Return pointer to section found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_section *
|
struct t_config_section *
|
||||||
@@ -485,7 +485,7 @@ config_file_search_section (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Builds full name for an option, using format: "file.section.option".
|
* Build full name for an option, using format: "file.section.option".
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -508,7 +508,7 @@ config_file_option_full_name (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes hook_config for modified option.
|
* Execute hook_config for modified option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -561,7 +561,7 @@ config_file_hook_config_exec (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for position of option in section (to keep options sorted by name).
|
* Search for position of option in section (to keep options sorted by name).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_option *
|
struct t_config_option *
|
||||||
@@ -583,7 +583,7 @@ config_file_option_find_pos (struct t_config_section *section, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Inserts an option in section (keeping options sorted by name).
|
* Insert an option in section (keeping options sorted by name).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -629,9 +629,9 @@ config_file_option_insert_in_section (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocates memory for a new option and initializes it.
|
* Allocate memory for a new option and initializes it.
|
||||||
*
|
*
|
||||||
* Returns pointer to new option, NULL if error.
|
* Return pointer to new option, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_option *
|
struct t_config_option *
|
||||||
@@ -672,9 +672,9 @@ config_file_option_malloc (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new option.
|
* Create a new option.
|
||||||
*
|
*
|
||||||
* Returns pointer to new option, NULL if error.
|
* Return pointer to new option, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_option *
|
struct t_config_option *
|
||||||
@@ -977,9 +977,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for an option in a configuration file or section.
|
* Search for an option in a configuration file or section.
|
||||||
*
|
*
|
||||||
* Returns pointer to option found, NULL if error.
|
* Return pointer to option found, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_option *
|
struct t_config_option *
|
||||||
@@ -1028,9 +1028,9 @@ config_file_search_option (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for an option in a configuration file or section.
|
* Search for an option in a configuration file or section.
|
||||||
*
|
*
|
||||||
* Returns section/option found (in section_found/option_found), NULL if not
|
* Return section/option found (in section_found/option_found), NULL if not
|
||||||
* found.
|
* found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1090,7 +1090,7 @@ config_file_search_section_option (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a file/section/option using a full name of option (format:
|
* Search for a file/section/option using a full name of option (format:
|
||||||
* "file.section.option").
|
* "file.section.option").
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1165,7 +1165,7 @@ config_file_search_with_string (const char *option_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer to parent option, NULL if the option has no parent.
|
* Get pointer to parent option, NULL if the option has no parent.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_option *
|
struct t_config_option *
|
||||||
@@ -1187,9 +1187,9 @@ config_file_get_parent_option (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string with boolean value is valid.
|
* Check if a string with boolean value is valid.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: boolean value is valid
|
* 1: boolean value is valid
|
||||||
* 0: boolean value is NOT valid
|
* 0: boolean value is NOT valid
|
||||||
*/
|
*/
|
||||||
@@ -1219,9 +1219,9 @@ config_file_string_boolean_is_valid (const char *text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts string to boolean value.
|
* Convert string to boolean value.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: boolean value is true
|
* 1: boolean value is true
|
||||||
* 0: boolean value is false
|
* 0: boolean value is false
|
||||||
*/
|
*/
|
||||||
@@ -1244,9 +1244,9 @@ config_file_string_to_boolean (const char *text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Resets an option to its default value.
|
* Reset an option to its default value.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
||||||
@@ -1392,9 +1392,9 @@ config_file_option_reset (struct t_config_option *option, int run_callback)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets the value for an option.
|
* Set the value for an option.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
||||||
@@ -1718,9 +1718,9 @@ config_file_option_set (struct t_config_option *option, const char *value,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Toggles value of an option.
|
* Toggle value of an option.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
||||||
@@ -1825,9 +1825,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets null (undefined) value for an option.
|
* Set null (undefined) value for an option.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
||||||
@@ -1875,9 +1875,9 @@ config_file_option_set_null (struct t_config_option *option, int run_callback)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets the default value for an option.
|
* Set the default value for an option.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, default value has been changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, default value has been changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, default value not changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, default value not changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
||||||
@@ -2190,9 +2190,9 @@ config_file_option_set_default (struct t_config_option *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unsets/resets an option.
|
* Unset/reset an option.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET: OK, value has not been reset
|
* WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET: OK, value has not been reset
|
||||||
* WEECHAT_CONFIG_OPTION_UNSET_OK_RESET: OK, value has been reset
|
* WEECHAT_CONFIG_OPTION_UNSET_OK_RESET: OK, value has been reset
|
||||||
* WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED: OK, value has been removed
|
* WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED: OK, value has been removed
|
||||||
@@ -2265,7 +2265,7 @@ config_file_option_unset (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Renames an option.
|
* Rename an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -2340,7 +2340,7 @@ config_file_option_rename (struct t_config_option *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Builds a string with the value or default value of option,
|
* Build a string with the value or default value of option,
|
||||||
* depending on the type of option.
|
* depending on the type of option.
|
||||||
*
|
*
|
||||||
* According to default_value:
|
* According to default_value:
|
||||||
@@ -2435,7 +2435,7 @@ config_file_option_value_to_string (struct t_config_option *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets a string value of an option property.
|
* Get a string value of an option property.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -2462,7 +2462,7 @@ config_file_option_get_string (struct t_config_option *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets a pointer on an option property.
|
* Get a pointer on an option property.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -2503,9 +2503,9 @@ config_file_option_get_pointer (struct t_config_option *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if an option has a null value.
|
* Check if an option has a null value.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: value of option is null
|
* 1: value of option is null
|
||||||
* 0: value of option is not null
|
* 0: value of option is not null
|
||||||
*/
|
*/
|
||||||
@@ -2520,9 +2520,9 @@ config_file_option_is_null (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if an option has a null default value.
|
* Check if an option has a null default value.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: default value of option is null
|
* 1: default value of option is null
|
||||||
* 0: default value of option is not null
|
* 0: default value of option is not null
|
||||||
*/
|
*/
|
||||||
@@ -2537,9 +2537,9 @@ config_file_option_default_is_null (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if an option has changed (current value different from default value).
|
* Check if an option has changed (current value different from default value).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: option has changed
|
* 1: option has changed
|
||||||
* 0: option has default value
|
* 0: option has default value
|
||||||
*/
|
*/
|
||||||
@@ -2580,10 +2580,10 @@ int config_file_option_has_changed (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets the value for an option using a full name of option (format:
|
* Set the value for an option using a full name of option (format:
|
||||||
* "file.section.option").
|
* "file.section.option").
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_CHANGED: OK, value has been changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
* WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE: OK, value not changed
|
||||||
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
* WEECHAT_CONFIG_OPTION_SET_ERROR: error
|
||||||
@@ -2632,9 +2632,9 @@ config_file_option_set_with_string (const char *option_name, const char *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns boolean value of an option.
|
* Return boolean value of an option.
|
||||||
*
|
*
|
||||||
* Returns 1 if value is true, 0 if it is false.
|
* Return 1 if value is true, 0 if it is false.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2647,9 +2647,9 @@ config_file_option_boolean (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns default boolean value of an option.
|
* Return default boolean value of an option.
|
||||||
*
|
*
|
||||||
* Returns 1 if default value is true, 0 if it is false.
|
* Return 1 if default value is true, 0 if it is false.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2662,11 +2662,11 @@ config_file_option_boolean_default (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns inherited boolean value of an option: value of option if not NULL,
|
* Return inherited boolean value of an option: value of option if not NULL,
|
||||||
* or value of the parent option (if option inherits from another option).
|
* or value of the parent option (if option inherits from another option).
|
||||||
*
|
*
|
||||||
* If the parent option is not found, returns the default value of the option.
|
* If the parent option is not found, return the default value of the option.
|
||||||
* If the parent value is NULL, returns the default value of the parent option.
|
* If the parent value is NULL, return the default value of the parent option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2690,7 +2690,7 @@ config_file_option_boolean_inherited (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns integer value of an option.
|
* Return integer value of an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2721,7 +2721,7 @@ config_file_option_integer (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns default integer value of an option.
|
* Return default integer value of an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2752,11 +2752,11 @@ config_file_option_integer_default (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns inherited integer value of an option: value of option if not NULL,
|
* Return inherited integer value of an option: value of option if not NULL,
|
||||||
* or value of the parent option (if option inherits from another option).
|
* or value of the parent option (if option inherits from another option).
|
||||||
*
|
*
|
||||||
* If the parent option is not found, returns the default value of the option.
|
* If the parent option is not found, return the default value of the option.
|
||||||
* If the parent value is NULL, returns the default value of the parent option.
|
* If the parent value is NULL, return the default value of the parent option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2780,7 +2780,7 @@ config_file_option_integer_inherited (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns string value of an option.
|
* Return string value of an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -2811,7 +2811,7 @@ config_file_option_string (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns default string value of an option.
|
* Return default string value of an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -2842,11 +2842,11 @@ config_file_option_string_default (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns inherited string value of an option: value of option if not NULL,
|
* Return inherited string value of an option: value of option if not NULL,
|
||||||
* or value of the parent option (if option inherits from another option).
|
* or value of the parent option (if option inherits from another option).
|
||||||
*
|
*
|
||||||
* If the parent option is not found, returns the default value of the option.
|
* If the parent option is not found, return the default value of the option.
|
||||||
* If the parent value is NULL, returns the default value of the parent option.
|
* If the parent value is NULL, return the default value of the parent option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -2870,7 +2870,7 @@ config_file_option_string_inherited (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns color value of an option.
|
* Return color value of an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -2883,7 +2883,7 @@ config_file_option_color (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns default color value of an option.
|
* Return default color value of an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -2896,11 +2896,11 @@ config_file_option_color_default (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns inherited color value of an option: value of option if not NULL,
|
* Return inherited color value of an option: value of option if not NULL,
|
||||||
* or value of the parent option (if option inherits from another option).
|
* or value of the parent option (if option inherits from another option).
|
||||||
*
|
*
|
||||||
* If the parent option is not found, returns the default value of the option.
|
* If the parent option is not found, return the default value of the option.
|
||||||
* If the parent value is NULL, returns the default value of the parent option.
|
* If the parent value is NULL, return the default value of the parent option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -2922,7 +2922,7 @@ config_file_option_color_inherited (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns enum value of an option.
|
* Return enum value of an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2953,7 +2953,7 @@ config_file_option_enum (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns default enum value of an option.
|
* Return default enum value of an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2984,11 +2984,11 @@ config_file_option_enum_default (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns inherited enum value of an option: value of option if not NULL,
|
* Return inherited enum value of an option: value of option if not NULL,
|
||||||
* or value of the parent option (if option inherits from another option).
|
* or value of the parent option (if option inherits from another option).
|
||||||
*
|
*
|
||||||
* If the parent option is not found, returns the default value of the option.
|
* If the parent option is not found, return the default value of the option.
|
||||||
* If the parent value is NULL, returns the default value of the parent option.
|
* If the parent value is NULL, return the default value of the parent option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -3012,9 +3012,9 @@ config_file_option_enum_inherited (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a char to add before the name of option to escape it.
|
* Return a char to add before the name of option to escape it.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* "\": name must be escaped with "\" (if names begins with # [ \)
|
* "\": name must be escaped with "\" (if names begins with # [ \)
|
||||||
* "": name must not be escaped
|
* "": name must not be escaped
|
||||||
*/
|
*/
|
||||||
@@ -3034,9 +3034,9 @@ config_file_option_escape (const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes an option in a configuration file.
|
* Write an option in a configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -3102,11 +3102,11 @@ config_file_write_option (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes a line in a configuration file.
|
* Write a line in a configuration file.
|
||||||
*
|
*
|
||||||
* If value is NULL, then writes a section with [ ] around.
|
* If value is NULL, write a section with `[` and `]` around.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -3142,9 +3142,9 @@ config_file_write_line (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes a configuration file (this function must not be called directly).
|
* Write a configuration file (this function must not be called directly).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_WRITE_OK: OK
|
* WEECHAT_CONFIG_WRITE_OK: OK
|
||||||
* WEECHAT_CONFIG_WRITE_ERROR: error
|
* WEECHAT_CONFIG_WRITE_ERROR: error
|
||||||
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
|
||||||
@@ -3357,9 +3357,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes a configuration file.
|
* Write a configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_WRITE_OK: OK
|
* WEECHAT_CONFIG_WRITE_OK: OK
|
||||||
* WEECHAT_CONFIG_WRITE_ERROR: error
|
* WEECHAT_CONFIG_WRITE_ERROR: error
|
||||||
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
|
||||||
@@ -3372,9 +3372,9 @@ config_file_write (struct t_config_file *config_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parses configuration version.
|
* Parse configuration version.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* >= 1: configuration version
|
* >= 1: configuration version
|
||||||
* -1: error
|
* -1: error
|
||||||
*/
|
*/
|
||||||
@@ -3397,8 +3397,7 @@ config_file_parse_version (const char *version)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Backups a configuration file if its version is unsupported and cannot be
|
* Backup a configuration file if its version is unsupported and cannot be loaded.
|
||||||
* loaded.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -3457,13 +3456,13 @@ config_file_backup (const char *filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Updates data read from config file: either section or option + value.
|
* Update data read from config file: either section or option + value.
|
||||||
* The update callback (if defined in config) is called if the config version
|
* The update callback (if defined in config) is called if the config version
|
||||||
* read in file is less than to the current config version.
|
* read in file is less than to the current config version.
|
||||||
*
|
*
|
||||||
* Parameters "section", "option" and "value" are updated in place: if the
|
* Parameters "section", "option" and "value" are updated in place: if the
|
||||||
* callback gives a new value, they are first freed and allocated again with
|
* callback gives a new value, they are first freed and allocated again with
|
||||||
* the new value (or set to NULL for the value if the callback returns
|
* the new value (or set to NULL for the value if the callback return
|
||||||
* special key "value_null").
|
* special key "value_null").
|
||||||
*
|
*
|
||||||
* Section can be updated only if option and value are NULL (ie if we are
|
* Section can be updated only if option and value are NULL (ie if we are
|
||||||
@@ -3590,9 +3589,9 @@ config_file_update_data_read (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a configuration file (this function must not be called directly).
|
* Read a configuration file (this function must not be called directly).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_READ_OK: OK
|
* WEECHAT_CONFIG_READ_OK: OK
|
||||||
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
||||||
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
||||||
@@ -3920,9 +3919,9 @@ end_file:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a configuration file.
|
* Read a configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_READ_OK: OK
|
* WEECHAT_CONFIG_READ_OK: OK
|
||||||
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
||||||
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
||||||
@@ -3935,9 +3934,9 @@ config_file_read (struct t_config_file *config_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reloads a configuration file.
|
* Reload a configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_READ_OK: OK
|
* WEECHAT_CONFIG_READ_OK: OK
|
||||||
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
||||||
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
||||||
@@ -3991,7 +3990,7 @@ config_file_reload (struct t_config_file *config_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in an option.
|
* Free data in an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4009,7 +4008,7 @@ config_file_option_free_data (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees an option.
|
* Free an option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4057,7 +4056,7 @@ config_file_option_free (struct t_config_option *option, int run_callback)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees options in a section.
|
* Free options in a section.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4073,7 +4072,7 @@ config_file_section_free_options (struct t_config_section *section)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a section.
|
* Free a section.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4116,7 +4115,7 @@ config_file_section_free (struct t_config_section *section)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a configuration file.
|
* Free a configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4159,7 +4158,7 @@ config_file_free (struct t_config_file *config_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees all configuration files.
|
* Free all configuration files.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4172,7 +4171,7 @@ config_file_free_all (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees all configuration files for a plugin.
|
* Free all configuration files for a plugin.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4193,7 +4192,7 @@ config_file_free_all_plugin (struct t_weechat_plugin *plugin)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for structure t_config_file.
|
* Return hdata for structure t_config_file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -4230,7 +4229,7 @@ config_file_hdata_config_file_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for structure t_config_section.
|
* Return hdata for structure t_config_section.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -4275,7 +4274,7 @@ config_file_hdata_config_section_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for structure t_config_option.
|
* Return hdata for structure t_config_option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -4321,9 +4320,9 @@ config_file_hdata_config_option_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a configuration option in an infolist.
|
* Add a configuration option in an infolist.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -4463,9 +4462,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds configuration options in an infolist.
|
* Add configuration options in an infolist.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -4506,7 +4505,7 @@ config_file_add_to_infolist (struct t_infolist *infolist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints configuration file in WeeChat log file (usually for crash dump).
|
* Print configuration file in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+47
-50
@@ -404,7 +404,7 @@ config_change_sys_rlimit (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks option "weechat.look.config_permissions".
|
* Check option "weechat.look.config_permissions".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -507,7 +507,7 @@ config_change_window_title (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets word chars array with a word chars option.
|
* Set word chars array with a word chars option.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -762,7 +762,7 @@ config_change_buffer_time_same (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Computes the "prefix_max_length" on all buffers.
|
* Compute the "prefix_max_length" on all buffers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -781,7 +781,7 @@ config_compute_prefix_max_length_all_buffers (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets nick colors using option "weechat.color.chat_nick_colors".
|
* Set nick colors using option "weechat.color.chat_nick_colors".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -859,8 +859,7 @@ config_change_look_nick_color_force (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets eval syntax highlighting colors using option
|
* Set eval syntax highlighting colors using option "weechat.color.eval_syntax_colors".
|
||||||
* "weechat.color.eval_syntax_colors".
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1176,7 +1175,7 @@ config_change_item_time_format (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets the current time formatted for the bar item status.
|
* Get the current time formatted for the bar item status.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1265,7 +1264,7 @@ config_change_prefix_align_min (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks option "weechat.look.prefix_align_more".
|
* Check option "weechat.look.prefix_align_more".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1282,7 +1281,7 @@ config_check_prefix_align_more (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks option "weechat.look.prefix_buffer_align_more".
|
* Check option "weechat.look.prefix_buffer_align_more".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1299,7 +1298,7 @@ config_check_prefix_buffer_align_more (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks options "weechat.look.separator_{horizontal|vertical}".
|
* Check options "weechat.look.separator_{horizontal|vertical}".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1316,7 +1315,7 @@ config_check_separator (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks options "weechat.look.whitespace_char" and
|
* Check options "weechat.look.whitespace_char" and
|
||||||
* "weechat.look.tab_whitespace_char".
|
* "weechat.look.tab_whitespace_char".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1473,8 +1472,7 @@ config_change_completion_nick_ignore_words (const void *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for changes on option
|
* Callback for changes on option "weechat.completion.partial_completion_templates".
|
||||||
* "weechat.completion.partial_completion_templates".
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1542,7 +1540,7 @@ config_change_network_gnutls_ca (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks option "weechat.network.proxy_curl".
|
* Check option "weechat.network.proxy_curl".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1602,9 +1600,9 @@ config_change_plugin_extension (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Timer called each minute: checks if the day has changed, and if yes:
|
* Timer called each minute: check if the day has changed, and if yes:
|
||||||
* - refreshes screen (if needed)
|
* - refresh screen (if needed)
|
||||||
* - sends signal "day_changed"
|
* - send signal "day_changed"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1652,7 +1650,7 @@ config_day_change_timer_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes some things after reading/reloading WeeChat configuration file.
|
* Initialize some things after reading/reloading WeeChat configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1701,7 +1699,7 @@ config_weechat_init_after_read (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Updates options in configuration file while reading the file.
|
* Update options in configuration file while reading the file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hashtable *
|
struct t_hashtable *
|
||||||
@@ -1939,9 +1937,9 @@ config_weechat_update_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reloads WeeChat configuration file.
|
* Reload WeeChat configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_READ_OK: OK
|
* WEECHAT_CONFIG_READ_OK: OK
|
||||||
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
||||||
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
||||||
@@ -1994,7 +1992,7 @@ config_weechat_reload_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets debug level for a plugin (or "core").
|
* Get debug level for a plugin (or "core").
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_option *
|
struct t_config_option *
|
||||||
@@ -2006,8 +2004,7 @@ config_weechat_debug_get (const char *plugin_name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets debug level for "core" and all plugins, using values from section
|
* Set debug level for "core" and all plugins, using values from section "debug".
|
||||||
* "debug".
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -2129,7 +2126,7 @@ config_weechat_debug_delete_option_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets debug level for a plugin (or "core").
|
* Set debug level for a plugin (or "core").
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2266,7 +2263,7 @@ config_weechat_palette_delete_option_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a proxy option in WeeChat configuration file.
|
* Read a proxy option in WeeChat configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2345,7 +2342,7 @@ config_weechat_proxy_read_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a bar option in WeeChat configuration file.
|
* Read a bar option in WeeChat configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2425,7 +2422,7 @@ config_weechat_bar_read_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a custom bar item option in WeeChat configuration file.
|
* Read a custom bar item option in WeeChat configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2515,7 +2512,7 @@ config_weechat_custom_bar_item_read_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a layout option in WeeChat configuration file.
|
* Read a layout option in WeeChat configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2646,9 +2643,9 @@ config_weechat_layout_read_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes layout of windows in WeeChat configuration file.
|
* Write layout of windows in WeeChat configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: write error
|
* 0: write error
|
||||||
*/
|
*/
|
||||||
@@ -2689,7 +2686,7 @@ config_weechat_layout_write_tree (struct t_config_file *config_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes section "layout" in WeeChat configuration file.
|
* Write section "layout" in WeeChat configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -2749,7 +2746,7 @@ config_weechat_layout_write_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Applies a buffer option to all matching buffers.
|
* Apply a buffer option to all matching buffers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -2871,9 +2868,9 @@ config_weechat_buffer_create_option_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets a buffer property.
|
* Set a buffer property.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -3024,12 +3021,12 @@ config_weechat_notify_delete_option_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets a notify level for a buffer.
|
* Set a notify level for a buffer.
|
||||||
*
|
*
|
||||||
* A negative value resets notify for buffer to its default value (and
|
* A negative value resets notify for buffer to its default value (and
|
||||||
* removes buffer from config file).
|
* removes buffer from config file).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -3054,7 +3051,7 @@ config_weechat_notify_set (struct t_gui_buffer *buffer, const char *notify)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a filter option in WeeChat configuration file.
|
* Read a filter option in WeeChat configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -3098,7 +3095,7 @@ config_weechat_filter_read_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes section "filter" in WeeChat configuration file.
|
* Write section "filter" in WeeChat configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -3132,9 +3129,9 @@ config_weechat_filter_write_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches key context with the section pointer.
|
* Search key context with the section pointer.
|
||||||
*
|
*
|
||||||
* Returns key context, -1 if not found.
|
* Return key context, -1 if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -3223,9 +3220,9 @@ config_weechat_key_delete_option_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates options in WeeChat configuration.
|
* Create options in WeeChat configuration.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -5599,9 +5596,9 @@ config_weechat_init_options (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes WeeChat configuration.
|
* Initialize WeeChat configuration.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -5661,9 +5658,9 @@ config_weechat_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads WeeChat configuration file.
|
* Read WeeChat configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_READ_OK: OK
|
* WEECHAT_CONFIG_READ_OK: OK
|
||||||
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
||||||
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
||||||
@@ -5684,9 +5681,9 @@ config_weechat_read (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes WeeChat configuration file.
|
* Write WeeChat configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_WRITE_OK: OK
|
* WEECHAT_CONFIG_WRITE_OK: OK
|
||||||
* WEECHAT_CONFIG_WRITE_ERROR: error
|
* WEECHAT_CONFIG_WRITE_ERROR: error
|
||||||
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
|
||||||
@@ -5699,7 +5696,7 @@ config_weechat_write (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees WeeChat configuration file and variables.
|
* Free WeeChat configuration file and variables.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+26
-20
@@ -46,6 +46,9 @@
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#define BE_INT64 htonll
|
#define BE_INT64 htonll
|
||||||
|
#elif defined(__HAIKU__)
|
||||||
|
#include <ByteOrder.h>
|
||||||
|
#define BE_INT64 B_HOST_TO_BENDIAN_INT64
|
||||||
#else
|
#else
|
||||||
#define BE_INT64 htobe64
|
#define BE_INT64 htobe64
|
||||||
#endif
|
#endif
|
||||||
@@ -123,7 +126,7 @@ int weecrypto_cipher[] = {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the hash algorithm with the name, or GCRY_MD_NONE if not found.
|
* Return the hash algorithm with the name, or GCRY_MD_NONE if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -144,7 +147,7 @@ weecrypto_get_hash_algo (const char *hash_algo)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the cipher with the name, or GCRY_CIPHER_NONE if not found.
|
* Return the cipher with the name, or GCRY_CIPHER_NONE if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -165,7 +168,7 @@ weecrypto_get_cipher (const char *cipher)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Computes hash of data using the given hash algorithm.
|
* Compute hash of data using the given hash algorithm.
|
||||||
*
|
*
|
||||||
* The hash size depends on the algorithm, common ones are:
|
* The hash size depends on the algorithm, common ones are:
|
||||||
*
|
*
|
||||||
@@ -196,7 +199,7 @@ weecrypto_get_cipher (const char *cipher)
|
|||||||
* If hash_size is not NULL, the length of hash is stored in *hash_size
|
* If hash_size is not NULL, the length of hash is stored in *hash_size
|
||||||
* (in bytes).
|
* (in bytes).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -255,7 +258,7 @@ hash_end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Computes hash of file using the given hash algorithm.
|
* Compute hash of file using the given hash algorithm.
|
||||||
*
|
*
|
||||||
* The hash size depends on the algorithm, common ones are:
|
* The hash size depends on the algorithm, common ones are:
|
||||||
*
|
*
|
||||||
@@ -286,7 +289,7 @@ hash_end:
|
|||||||
* If hash_size is not NULL, the length of hash is stored in *hash_size
|
* If hash_size is not NULL, the length of hash is stored in *hash_size
|
||||||
* (in bytes).
|
* (in bytes).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -361,7 +364,7 @@ hash_end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Computes PKCS#5 Passphrase Based Key Derivation Function number 2 (PBKDF2)
|
* Compute PKCS#5 Passphrase Based Key Derivation Function number 2 (PBKDF2)
|
||||||
* hash of data.
|
* hash of data.
|
||||||
*
|
*
|
||||||
* The hash size depends on the algorithm, common ones are:
|
* The hash size depends on the algorithm, common ones are:
|
||||||
@@ -375,7 +378,7 @@ hash_end:
|
|||||||
* If hash_size is not NULL, the length of hash is stored in *hash_size
|
* If hash_size is not NULL, the length of hash is stored in *hash_size
|
||||||
* (in bytes).
|
* (in bytes).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -419,7 +422,7 @@ hash_pbkdf2_end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Computes keyed-hash message authentication code (HMAC).
|
* Compute keyed-hash message authentication code (HMAC).
|
||||||
*
|
*
|
||||||
* The hash size depends on the algorithm, common ones are:
|
* The hash size depends on the algorithm, common ones are:
|
||||||
*
|
*
|
||||||
@@ -450,7 +453,7 @@ hash_pbkdf2_end:
|
|||||||
* If hash_size is not NULL, the length of hash is stored in *hash_size
|
* If hash_size is not NULL, the length of hash is stored in *hash_size
|
||||||
* (in bytes).
|
* (in bytes).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -514,10 +517,10 @@ hmac_end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates a Time-based One-Time Password (TOTP), as described
|
* Generate a Time-based One-Time Password (TOTP), as described
|
||||||
* in the RFC 6238.
|
* in the RFC 6238.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -556,10 +559,10 @@ weecrypto_totp_generate_internal (const char *secret, int length_secret,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates a Time-based One-Time Password (TOTP), as described
|
* Generate a Time-based One-Time Password (TOTP), as described
|
||||||
* in the RFC 6238.
|
* in the RFC 6238.
|
||||||
*
|
*
|
||||||
* Returns the password as string, NULL if error.
|
* Return the password as string, NULL if error.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -615,9 +618,9 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Validates a Time-based One-Time Password (TOTP).
|
* Validate a Time-based One-Time Password (TOTP).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OTP is OK
|
* 1: OTP is OK
|
||||||
* 0: OTP is invalid
|
* 0: OTP is invalid
|
||||||
*/
|
*/
|
||||||
@@ -657,15 +660,18 @@ weecrypto_totp_validate (const char *secret_base32, time_t totp_time,
|
|||||||
|
|
||||||
otp_ok = 0;
|
otp_ok = 0;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Compare in constant time and never break early: a non-constant
|
||||||
|
* compare and an early exit on match would let an observer measure
|
||||||
|
* how many digits of the expected OTP they got right and which
|
||||||
|
* time-window offset matched.
|
||||||
|
*/
|
||||||
for (i = moving_factor - window; i <= moving_factor + window; i++)
|
for (i = moving_factor - window; i <= moving_factor + window; i++)
|
||||||
{
|
{
|
||||||
rc = weecrypto_totp_generate_internal (secret, length_secret,
|
rc = weecrypto_totp_generate_internal (secret, length_secret,
|
||||||
i, digits, str_otp);
|
i, digits, str_otp);
|
||||||
if (rc && (strcmp (str_otp, otp) == 0))
|
if (rc && (string_memcmp_constant_time (str_otp, otp, digits) == 0))
|
||||||
{
|
|
||||||
otp_ok = 1;
|
otp_ok = 1;
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
free (secret);
|
free (secret);
|
||||||
|
|||||||
+15
-16
@@ -91,7 +91,7 @@ long long debug_long_callbacks = 0; /* callbacks taking more than */
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays build information on stdout.
|
* Display build information on stdout.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -149,7 +149,7 @@ debug_build_info (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes dump of data to WeeChat log file.
|
* Write dump of data to WeeChat log file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -226,7 +226,7 @@ debug_dump_cb (const void *pointer, void *data,
|
|||||||
/*
|
/*
|
||||||
* Callback for system signal SIGSEGV handler.
|
* Callback for system signal SIGSEGV handler.
|
||||||
*
|
*
|
||||||
* Writes dump of data and backtrace to WeeChat log file, then exit.
|
* Write dump of data and backtrace to WeeChat log file, then exit.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -271,7 +271,7 @@ debug_sigsegv_cb (int signo)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays tree of windows (this function must not be called directly).
|
* Display tree of windows (this function must not be called directly).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -341,7 +341,7 @@ debug_windows_tree_display (struct t_gui_window_tree *tree, int indent)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays tree of windows.
|
* Display tree of windows.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -353,7 +353,7 @@ debug_windows_tree (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays information about dynamic memory allocation.
|
* Display information about dynamic memory allocation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -499,7 +499,7 @@ debug_hdata_map_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a list of hdata in memory.
|
* Display a list of hdata in memory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -517,7 +517,7 @@ debug_hdata (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays info about hooks.
|
* Display info about hooks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -538,7 +538,7 @@ debug_hooks (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays info about hooks for one or multiple plugins matching a mask.
|
* Display info about hooks for one or multiple plugins matching a mask.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -657,7 +657,7 @@ debug_hooks_plugin_types (const char *plugin_mask, const char **hook_types)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a list of infolists in memory.
|
* Display a list of infolists in memory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -748,7 +748,7 @@ debug_infolists (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Callback for signal "debug_libs": displays infos about external libraries
|
* Callback for signal "debug_libs": display infos about external libraries
|
||||||
* used (called when command "/debug libs" is issued).
|
* used (called when command "/debug libs" is issued).
|
||||||
*
|
*
|
||||||
* Note: this function displays libraries for WeeChat core only: plugins can
|
* Note: this function displays libraries for WeeChat core only: plugins can
|
||||||
@@ -821,7 +821,7 @@ debug_libs_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays WeeChat directories.
|
* Display WeeChat directories.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -859,8 +859,7 @@ debug_directories (void)
|
|||||||
/*
|
/*
|
||||||
* Display time elapsed between two times.
|
* Display time elapsed between two times.
|
||||||
*
|
*
|
||||||
* If display is 1, the message is displayed in core buffer, otherwise it's
|
* If display is 1, display message in core buffer, otherwise write in log file.
|
||||||
* written in log file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1032,7 +1031,7 @@ debug_unicode (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes debug.
|
* Initialize debug.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1048,7 +1047,7 @@ debug_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ends debug.
|
* End debug.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+41
-41
@@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the path to a temporary directory, the first valid directory in
|
* Return the path to a temporary directory, the first valid directory in
|
||||||
* this list:
|
* this list:
|
||||||
* - content of environment variable "TMPDIR"
|
* - content of environment variable "TMPDIR"
|
||||||
* - P_tmpdir (from stdio.h)
|
* - P_tmpdir (from stdio.h)
|
||||||
@@ -100,9 +100,9 @@ dir_get_temp_dir (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a directory in WeeChat home.
|
* Create a directory in WeeChat home.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -175,9 +175,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a directory.
|
* Create a directory.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -198,9 +198,9 @@ dir_mkdir (const char *directory, int mode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a directory and makes parent directories as needed.
|
* Create a directory and make parent directories as needed.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -257,9 +257,9 @@ dir_mkdir_parents (const char *directory, int mode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unlinks a file or directory; callback called by function dir_rmtree().
|
* Unlink a file or directory; callback called by function dir_rmtree().
|
||||||
*
|
*
|
||||||
* Returns the return code of remove():
|
* Return the return code of remove():
|
||||||
* 0: OK
|
* 0: OK
|
||||||
* -1: error
|
* -1: error
|
||||||
*/
|
*/
|
||||||
@@ -277,9 +277,9 @@ dir_unlink_cb (const char *fpath, const struct stat *sb, int typeflag,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes a directory and all files inside recursively.
|
* Remove a directory and all files inside recursively.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -298,12 +298,12 @@ dir_rmtree (const char *directory)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Uses one or four different paths for WeeChat home directories.
|
* Use one or four different paths for WeeChat home directories.
|
||||||
*
|
*
|
||||||
* If 4 paths are given, they must be separated by colons and given in this
|
* If 4 paths are given, they must be separated by colons and given in this
|
||||||
* order: config, data, cache, runtime.
|
* order: config, data, cache, runtime.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -374,9 +374,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates WeeChat temporary home directory (deleted on exit).
|
* Create WeeChat temporary home directory (deleted on exit).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -435,9 +435,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Finds XDG directories.
|
* Find XDG directories.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -592,10 +592,10 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Finds WeeChat home directories: it can be either XDG directories or the
|
* Find WeeChat home directories: it can be either XDG directories or the
|
||||||
* same directory for all files (like the legacy directory ~/.weechat).
|
* same directory for all files (like the legacy directory ~/.weechat).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -673,7 +673,7 @@ use_xdg:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes trailing separators in path, which is modified in place
|
* Remove trailing separators in path, which is modified in place
|
||||||
* (each trailing separator is replaced by NUL char).
|
* (each trailing separator is replaced by NUL char).
|
||||||
*
|
*
|
||||||
* Example on Linux: "/home/xxx/" => "/home/xxx".
|
* Example on Linux: "/home/xxx/" => "/home/xxx".
|
||||||
@@ -696,9 +696,9 @@ dir_remove_trailing_separators (char *path)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a home directory.
|
* Create a home directory.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -733,7 +733,7 @@ dir_create_home_dir (char *path)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates WeeChat home directories.
|
* Create WeeChat home directories.
|
||||||
*
|
*
|
||||||
* Any error in this function (or a sub function called) is fatal: WeeChat
|
* Any error in this function (or a sub function called) is fatal: WeeChat
|
||||||
* cannot run at all without the home directories.
|
* cannot run at all without the home directories.
|
||||||
@@ -770,7 +770,7 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes WeeChat home directories (called when -t / --temp-dir is given).
|
* Remove WeeChat home directories (called when -t / --temp-dir is given).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -788,7 +788,7 @@ dir_remove_home_dirs (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a string with home directories separated by colons, in this order:
|
* Return a string with home directories separated by colons, in this order:
|
||||||
* config_dir, data_dir, state_dir, cache_dir, runtime_dir.
|
* config_dir, data_dir, state_dir, cache_dir, runtime_dir.
|
||||||
*
|
*
|
||||||
* Example of value returned:
|
* Example of value returned:
|
||||||
@@ -815,7 +815,7 @@ dir_get_string_home_dirs (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Finds files in a directory and executes a function on each file.
|
* Find files in a directory and execute a function on each file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -863,10 +863,10 @@ dir_exec_on_files (const char *directory, int recurse_subdirs,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for the full name of a WeeChat library with name and extension
|
* Search for the full name of a WeeChat library with name and extension
|
||||||
* (searches first in WeeChat user's dir, then WeeChat global lib directory).
|
* (searches first in WeeChat user's dir, then WeeChat global lib directory).
|
||||||
*
|
*
|
||||||
* Returns name of library found, NULL if not found.
|
* Return name of library found, NULL if not found.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use (if not NULL).
|
* Note: result must be freed after use (if not NULL).
|
||||||
*/
|
*/
|
||||||
@@ -933,7 +933,7 @@ dir_search_full_lib_name_ext (const char *filename, const char *extension,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for the full name of a WeeChat library with name.
|
* Search for the full name of a WeeChat library with name.
|
||||||
*
|
*
|
||||||
* All extensions listed in option "weechat.plugin.extension" are tested.
|
* All extensions listed in option "weechat.plugin.extension" are tested.
|
||||||
*
|
*
|
||||||
@@ -986,9 +986,9 @@ dir_search_full_lib_name (const char *filename, const char *plugins_dir)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads content of a file.
|
* Read content of a file.
|
||||||
*
|
*
|
||||||
* Returns an allocated buffer with the content of file, NULL if error.
|
* Return an allocated buffer with the content of file, NULL if error.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1042,9 +1042,9 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copies a file to another location.
|
* Copy a file to another location.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -1097,13 +1097,13 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compresses a file with gzip.
|
* Compress a file with gzip.
|
||||||
*
|
*
|
||||||
* Notes:
|
* Notes:
|
||||||
* - the output file must not exist
|
* - the output file must not exist
|
||||||
* - compression_level is an integer between 1 and 9
|
* - compression_level is an integer between 1 and 9
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -1203,13 +1203,13 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compresses a file with zstandard.
|
* Compress a file with zstandard.
|
||||||
*
|
*
|
||||||
* Notes:
|
* Notes:
|
||||||
* - the output file must not exist
|
* - the output file must not exist
|
||||||
* - compression_level is an integer between 1 and 19
|
* - compression_level is an integer between 1 and 19
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -1387,7 +1387,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compresses a file with gzip or zstandard.
|
* Compress a file with gzip or zstandard.
|
||||||
*
|
*
|
||||||
* The output file must not exist.
|
* The output file must not exist.
|
||||||
*
|
*
|
||||||
@@ -1398,7 +1398,7 @@ end:
|
|||||||
* Parameter "compression_level" is the compression level as percentage:
|
* Parameter "compression_level" is the compression level as percentage:
|
||||||
* from 1 (fast, low compression) to 100 (slow, best compression).
|
* from 1 (fast, low compression) to 100 (slow, best compression).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -1433,14 +1433,14 @@ dir_file_compress (const char *filename_input,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares the content of two files (the attributes of the files like the
|
* Compare the content of two files (the attributes of the files like the
|
||||||
* permissions or timestamp are ignored).
|
* permissions or timestamp are ignored).
|
||||||
*
|
*
|
||||||
* Comparison is done like this:
|
* Comparison is done like this:
|
||||||
* 1. if sizes are different, return 1 (different content)
|
* 1. if sizes are different, return 1 (different content)
|
||||||
* 2. if sizes are the same, read both files until a difference is found
|
* 2. if sizes are the same, read both files until a difference is found
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 0: both files exist and their content is exactly the same
|
* 0: both files exist and their content is exactly the same
|
||||||
* 1: content is different
|
* 1: content is different
|
||||||
* 2: other error (file not found, read error)
|
* 2: other error (file not found, read error)
|
||||||
|
|||||||
+52
-52
@@ -61,7 +61,7 @@ char *string_escaped[32];
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Escapes a string to display in a table: replace "|" by "\|".
|
* Escape a string to display in a table: replace "|" by "\|".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
@@ -74,7 +74,7 @@ doc_gen_escape_table (const char *message)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Escapes a string to be used as anchor link: replace ",", "@" and "*" by "-".
|
* Escape a string to be used as anchor link: replace ",", "@" and "*" by "-".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
@@ -94,13 +94,13 @@ doc_gen_escape_anchor_link (const char *message)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Opens a file for write using:
|
* Open a file for write using:
|
||||||
* - path
|
* - path
|
||||||
* - doc: "api" or "user"
|
* - doc: "api" or "user"
|
||||||
* - name
|
* - name
|
||||||
* - language (eg: "fr")
|
* - language (eg: "fr")
|
||||||
*
|
*
|
||||||
* Returns the file opened, NULL if error.
|
* Return the file opened, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
FILE *
|
FILE *
|
||||||
@@ -135,13 +135,13 @@ doc_gen_open_file (const char *path, const char *doc, const char *name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Closes the file and renames it without ".temp" suffix, if the target name
|
* Close the file and rename it without ".temp" suffix, if the target name
|
||||||
* does not exist or if it exists with a different (obsolete) content.
|
* does not exist or if it exists with a different (obsolete) content.
|
||||||
*
|
*
|
||||||
* If the target name exists with same content it's kept as-is (so the
|
* If the target name exists with same content, keep it as-is (so the
|
||||||
* timestamp does not change) and the temporary file is just deleted.
|
* timestamp does not change) and just delete the temporary file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: target file has been updated
|
* 1: target file has been updated
|
||||||
* 0: target file unchanged
|
* 0: target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -183,7 +183,7 @@ doc_gen_close_file (const char *path, const char *doc, const char *name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a command must be documented or not: all commands are documented
|
* Check if a command must be documented or not: all commands are documented
|
||||||
* except the default aliases (that create commands).
|
* except the default aliases (that create commands).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -195,7 +195,7 @@ doc_gen_check_command (const char *plugin, const char *command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two hooks "command" to sort by plugin / command.
|
* Compare two hooks "command" to sort by plugin / command.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -221,9 +221,9 @@ doc_gen_hook_command_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with commands.
|
* Generate files with commands.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -366,7 +366,7 @@ doc_gen_user_commands (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if an option must be documented or not.
|
* Check if an option must be documented or not.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -395,7 +395,7 @@ doc_gen_check_option (struct t_config_option *option)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two options to sort by plugin / command.
|
* Compare two options to sort by plugin / command.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -425,9 +425,9 @@ doc_gen_option_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with commands.
|
* Generate files with commands.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -588,9 +588,9 @@ doc_gen_user_options (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with default aliases.
|
* Generate files with default aliases.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -638,9 +638,9 @@ doc_gen_user_default_aliases (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with IRC colors.
|
* Generate files with IRC colors.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -684,7 +684,7 @@ doc_gen_user_irc_colors (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two hooks "info" to sort by plugin / info.
|
* Compare two hooks "info" to sort by plugin / info.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -710,9 +710,9 @@ doc_gen_hook_info_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with infos.
|
* Generate files with infos.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -773,7 +773,7 @@ doc_gen_api_infos (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two hooks "info_hashtable" to sort by plugin / info.
|
* Compare two hooks "info_hashtable" to sort by plugin / info.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -799,9 +799,9 @@ doc_gen_hook_info_hashtable_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with infos_hashtable.
|
* Generate files with infos_hashtable.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -864,7 +864,7 @@ doc_gen_api_infos_hashtable (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two hooks "infolist" to sort by plugin / infolist.
|
* Compare two hooks "infolist" to sort by plugin / infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -890,9 +890,9 @@ doc_gen_hook_infolist_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with infolists.
|
* Generate files with infolists.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -955,7 +955,7 @@ doc_gen_api_infolists (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two hooks "hdata" to sort by plugin / hdata.
|
* Compare two hooks "hdata" to sort by plugin / hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -981,7 +981,7 @@ doc_gen_hook_hdata_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two hooks lists to sort by name (and lists beginning with "last_"
|
* Compare two hooks lists to sort by name (and lists beginning with "last_"
|
||||||
* at the end).
|
* at the end).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1009,7 +1009,7 @@ doc_gen_hdata_list_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two hooks hdata keys to sort by offset.
|
* Compare two hooks hdata keys to sort by offset.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1030,7 +1030,7 @@ doc_gen_hdata_key_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates content of a hdata.
|
* Generate content of a hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1172,9 +1172,9 @@ doc_gen_api_hdata_content (FILE *file, struct t_hdata *hdata)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with hdata.
|
* Generate files with hdata.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -1250,7 +1250,7 @@ doc_gen_api_hdata (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two hooks "completion" to sort by plugin / completion.
|
* Compare two hooks "completion" to sort by plugin / completion.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1276,9 +1276,9 @@ doc_gen_hook_completion_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with completions.
|
* Generate files with completions.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -1337,9 +1337,9 @@ doc_gen_api_completions (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with URL options.
|
* Generate files with URL options.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -1397,7 +1397,7 @@ doc_gen_api_url_options (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two plugins to sort by priority (descending).
|
* Compare two plugins to sort by priority (descending).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1421,9 +1421,9 @@ doc_gen_plugin_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with plugins priority.
|
* Generate files with plugins priority.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -1483,7 +1483,7 @@ doc_gen_api_plugins_priority (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two configurations to sort by priority (descending).
|
* Compare two configurations to sort by priority (descending).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1507,9 +1507,9 @@ doc_gen_config_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with config priority.
|
* Generate files with config priority.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -1569,9 +1569,9 @@ doc_gen_api_config_priority (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with scripting API functions.
|
* Generate files with scripting API functions.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -1602,9 +1602,9 @@ doc_gen_scripting_functions (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates files with scripting API constants.
|
* Generate files with scripting API constants.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK, target file updated
|
* 1: OK, target file updated
|
||||||
* 0: OK, target file unchanged
|
* 0: OK, target file unchanged
|
||||||
* -1: error
|
* -1: error
|
||||||
@@ -1664,9 +1664,9 @@ doc_gen_scripting_constants (const char *path, const char *lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates WeeChat files used to build documentation.
|
* Generate WeeChat files used to build documentation.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
|
|||||||
+43
-43
@@ -96,7 +96,7 @@ char *eval_expression_condition (const char *expr,
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a debug message in the debug output.
|
* Add a debug message in the debug output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -142,7 +142,7 @@ eval_debug_message (struct t_eval_context *eval_context, int debug_id,
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a debug message in the debug output, with variable arguments.
|
* Add a debug message in the debug output, with variable arguments.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -159,10 +159,10 @@ eval_debug_message_vargs (struct t_eval_context *eval_context, int debug_id,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a value is true: a value is true if string is non-NULL, non-empty
|
* Check if a value is true: a value is true if string is non-NULL, non-empty
|
||||||
* and different from "0".
|
* and different from "0".
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: value is true
|
* 1: value is true
|
||||||
* 0: value is false
|
* 0: value is false
|
||||||
*/
|
*/
|
||||||
@@ -174,7 +174,7 @@ eval_is_true (const char *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches a string in another at same level (skip sub-expressions between
|
* Search a string in another at same level (skip sub-expressions between
|
||||||
* prefix/suffix).
|
* prefix/suffix).
|
||||||
*
|
*
|
||||||
* If escape is 1, the prefix can be escaped with '\' (and then is ignored).
|
* If escape is 1, the prefix can be escaped with '\' (and then is ignored).
|
||||||
@@ -184,7 +184,7 @@ eval_is_true (const char *value)
|
|||||||
* will return a pointer on "|| z" (because the first "||" is
|
* will return a pointer on "|| z" (because the first "||" is
|
||||||
* in a sub-expression, which is skipped).
|
* in a sub-expression, which is skipped).
|
||||||
*
|
*
|
||||||
* Returns pointer to string found, or NULL if not found.
|
* Return pointer to string found, or NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -267,7 +267,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Evaluates a condition and returns boolean result:
|
* Evaluate a condition and return boolean result:
|
||||||
* "0" if false
|
* "0" if false
|
||||||
* "1" if true
|
* "1" if true
|
||||||
*
|
*
|
||||||
@@ -287,7 +287,7 @@ eval_string_eval_cond (const char *text, struct t_eval_context *eval_context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds range of chars.
|
* Add range of chars.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -350,7 +350,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hides chars in a string.
|
* Hide chars in a string.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -391,7 +391,7 @@ eval_string_hide (const char *text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Cuts string.
|
* Cut string.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -444,7 +444,7 @@ eval_string_cut (const char *text, int screen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Repeats string.
|
* Repeat string.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -477,12 +477,12 @@ eval_string_repeat (const char *text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Splits string.
|
* Split string.
|
||||||
*
|
*
|
||||||
* Format: number,separators,flags,string
|
* Format: number,separators,flags,string
|
||||||
*
|
*
|
||||||
* If number == "count", returns the number of items after split.
|
* If number == "count", return the number of items after split.
|
||||||
* If number == "random", returns a random item.
|
* If number == "random", return a random item.
|
||||||
* If number > 0, return this index (empty string if not enough items).
|
* If number > 0, return this index (empty string if not enough items).
|
||||||
* If number < 0, return this index starting from the end (-1 = last item,
|
* If number < 0, return this index starting from the end (-1 = last item,
|
||||||
* -2 = penultimate item, etc.).
|
* -2 = penultimate item, etc.).
|
||||||
@@ -642,12 +642,12 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Splits shell arguments.
|
* Split shell arguments.
|
||||||
*
|
*
|
||||||
* Format: number,string
|
* Format: number,string
|
||||||
*
|
*
|
||||||
* If number == "count", returns the number of arguments.
|
* If number == "count", return the number of arguments.
|
||||||
* If number == "random", returns a random argument.
|
* If number == "random", return a random argument.
|
||||||
* If number > 0, return this index (empty string if not enough arguments).
|
* If number > 0, return this index (empty string if not enough arguments).
|
||||||
* If number < 0, return this index starting from the end (-1 = last argument,
|
* If number < 0, return this index starting from the end (-1 = last argument,
|
||||||
* -2 = penultimate argument, etc.).
|
* -2 = penultimate argument, etc.).
|
||||||
@@ -738,7 +738,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a regex group captured.
|
* Return a regex group captured.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -790,7 +790,7 @@ eval_string_regex_group (const char *text, struct t_eval_context *eval_context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a string with color code.
|
* Return a string with color code.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -809,7 +809,7 @@ eval_string_color (const char *text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a string modified by a modifier.
|
* Return a string modified by a modifier.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -844,7 +844,7 @@ eval_string_modifier (const char *text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns an info.
|
* Return an info.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -878,7 +878,7 @@ eval_string_info (const char *text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encodes a string in base 16, 32, or 64.
|
* Encode a string in base 16, 32, or 64.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -921,7 +921,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decodes a string encoded in base 16, 32, or 64.
|
* Decode a string encoded in base 16, 32, or 64.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -962,7 +962,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a date.
|
* Return a date.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -982,7 +982,7 @@ eval_string_date (const char *text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Evaluates a condition and returns evaluated if/else clause.
|
* Evaluate a condition and return evaluated if/else clause.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1050,7 +1050,7 @@ eval_string_if (const char *text, struct t_eval_context *eval_context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a random integer number.
|
* Return a random integer number.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1103,7 +1103,7 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Translates text.
|
* Translate text.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1122,7 +1122,7 @@ eval_string_translate (const char *text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defines a variable.
|
* Define a variable.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1144,7 +1144,7 @@ eval_string_define (const char *text, struct t_eval_context *eval_context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns count of items in a hdata, as a string.
|
* Return count of items in a hdata, as a string.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1218,7 +1218,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets value of hdata using "path" to a variable.
|
* Get value of hdata using "path" to a variable.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1411,7 +1411,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a string using hdata.
|
* Return a string using hdata.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1519,7 +1519,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns text with syntax highlighting (using markers, to be replaced by
|
* Return text with syntax highlighting (using markers, to be replaced by
|
||||||
* colors later).
|
* colors later).
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
@@ -1546,7 +1546,7 @@ eval_syntax_highlight_add_markers (const char *prefix, const char *text,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Replaces raw highlight markers with color codes defined in option
|
* Replace raw highlight markers with color codes defined in option
|
||||||
* weechat.color.eval_syntax_colors.
|
* weechat.color.eval_syntax_colors.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
@@ -1603,7 +1603,7 @@ eval_syntax_highlight_colorize (const char *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds syntax highlighting in text.
|
* Add syntax highlighting in text.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1625,7 +1625,7 @@ eval_syntax_highlight (const char *text, struct t_eval_context *eval_context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Replaces variables, which can be, by order of priority:
|
* Replace variables, which can be, by order of priority:
|
||||||
* - ${raw_hl:string}: the string itself without evaluation but with syntax highlighting
|
* - ${raw_hl:string}: the string itself without evaluation but with syntax highlighting
|
||||||
* - ${raw:string}: the string itself without evaluation
|
* - ${raw:string}: the string itself without evaluation
|
||||||
* - ${hl:string}: the string with syntax highlighting
|
* - ${hl:string}: the string with syntax highlighting
|
||||||
@@ -2088,7 +2088,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Replaces variables in a string.
|
* Replace variables in a string.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -2131,15 +2131,15 @@ eval_replace_vars (const char *expr, struct t_eval_context *eval_context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two expressions.
|
* Compare two expressions.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* "1": comparison is true
|
* "1": comparison is true
|
||||||
* "0": comparison is false
|
* "0": comparison is false
|
||||||
*
|
*
|
||||||
* Examples:
|
* Examples:
|
||||||
* "15 > 2": returns "1"
|
* "15 > 2": return "1"
|
||||||
* "abc == def": returns "0"
|
* "abc == def": return "0"
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -2275,7 +2275,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Evaluates a condition (this function must not be called directly).
|
* Evaluate a condition (this function must not be called directly).
|
||||||
*
|
*
|
||||||
* For return value, see function eval_expression().
|
* For return value, see function eval_expression().
|
||||||
*
|
*
|
||||||
@@ -2498,7 +2498,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Replaces text in a string using a regular expression and replacement text.
|
* Replace text in a string using a regular expression and replacement text.
|
||||||
*
|
*
|
||||||
* The argument "regex" is a pointer to a regex compiled with WeeChat function
|
* The argument "regex" is a pointer to a regex compiled with WeeChat function
|
||||||
* string_regcomp (or function regcomp).
|
* string_regcomp (or function regcomp).
|
||||||
@@ -2637,7 +2637,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Evaluates an expression.
|
* Evaluate an expression.
|
||||||
*
|
*
|
||||||
* The hashtable "pointers" must have string for keys, pointer for values.
|
* The hashtable "pointers" must have string for keys, pointer for values.
|
||||||
* The hashtable "extra_vars" must have string for keys and values.
|
* The hashtable "extra_vars" must have string for keys and values.
|
||||||
|
|||||||
+53
-53
@@ -50,9 +50,9 @@ char *hashtable_type_string[HASHTABLE_NUM_TYPES] =
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a hashtable type.
|
* Search for a hashtable type.
|
||||||
*
|
*
|
||||||
* Returns index of type in enum t_hashtable_type, -1 if type is not found.
|
* Return index of type in enum t_hashtable_type, -1 if type is not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -74,9 +74,9 @@ hashtable_get_type (const char *type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hashes a string using a variant of djb2 hash.
|
* Hash a string using a variant of djb2 hash.
|
||||||
*
|
*
|
||||||
* Returns the hash of the string.
|
* Return the hash of the string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned long long
|
unsigned long long
|
||||||
@@ -98,9 +98,9 @@ hashtable_hash_key_djb2 (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hashes a key (default callback).
|
* Hash a key (default callback).
|
||||||
*
|
*
|
||||||
* Returns the hash of the key, depending on the type.
|
* Return the hash of the key, depending on the type.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned long long
|
unsigned long long
|
||||||
@@ -135,9 +135,9 @@ hashtable_hash_key_default_cb (struct t_hashtable *hashtable, const void *key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two keys (default callback).
|
* Compare two keys (default callback).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* < 0: key1 < key2
|
* < 0: key1 < key2
|
||||||
* 0: key1 == key2
|
* 0: key1 == key2
|
||||||
* > 0: key1 > key2
|
* > 0: key1 > key2
|
||||||
@@ -200,14 +200,14 @@ hashtable_keycmp_default_cb (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new hashtable.
|
* Create a new hashtable.
|
||||||
*
|
*
|
||||||
* The size is NOT a limit for number of items in hashtable. It is the size of
|
* The size is NOT a limit for number of items in hashtable. It is the size of
|
||||||
* internal array to store hashed keys: a high value uses more memory, but has
|
* internal array to store hashed keys: a high value uses more memory, but has
|
||||||
* better performance because this reduces the collisions of hashed keys and
|
* better performance because this reduces the collisions of hashed keys and
|
||||||
* then reduces length of linked lists.
|
* then reduce length of linked lists.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hashtable, NULL if error.
|
* Return pointer to new hashtable, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hashtable *
|
struct t_hashtable *
|
||||||
@@ -266,7 +266,7 @@ hashtable_new (int size,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocates space for a key or value.
|
* Allocate space for a key or value.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -334,7 +334,7 @@ hashtable_alloc_type (enum t_hashtable_type type,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees space used by a key.
|
* Free space used by a key.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -366,7 +366,7 @@ hashtable_free_key (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees space used by a value.
|
* Free space used by a value.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -399,11 +399,11 @@ hashtable_free_value (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets value for a key in hashtable.
|
* Set value for a key in hashtable.
|
||||||
*
|
*
|
||||||
* The size arguments are used only for type "buffer".
|
* The size arguments are used only for type "buffer".
|
||||||
*
|
*
|
||||||
* Returns pointer to item created/updated, NULL if error.
|
* Return pointer to item created/updated, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hashtable_item *
|
struct t_hashtable_item *
|
||||||
@@ -490,12 +490,12 @@ hashtable_set_with_size (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets value for a key in hashtable.
|
* Set value for a key in hashtable.
|
||||||
*
|
*
|
||||||
* Note: this function can be called *only* if key AND value are *not* of type
|
* Note: this function can be called *only* if key AND value are *not* of type
|
||||||
* "buffer".
|
* "buffer".
|
||||||
*
|
*
|
||||||
* Returns pointer to item created/updated, NULL if error.
|
* Return pointer to item created/updated, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hashtable_item *
|
struct t_hashtable_item *
|
||||||
@@ -506,9 +506,9 @@ hashtable_set (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for an item in hashtable.
|
* Search for an item in hashtable.
|
||||||
*
|
*
|
||||||
* If hash is non NULL, then it is set with hash value of key (even if key is
|
* If hash is non NULL, then set it with hash value of key (even if key is
|
||||||
* not found).
|
* not found).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -541,9 +541,9 @@ hashtable_get_item (struct t_hashtable *hashtable, const void *key,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets value for a key in hashtable.
|
* Get value for a key in hashtable.
|
||||||
*
|
*
|
||||||
* Returns pointer to value for key, NULL if key is not found.
|
* Return pointer to value for key, NULL if key is not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -557,9 +557,9 @@ hashtable_get (struct t_hashtable *hashtable, const void *key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a key exists in the hashtable.
|
* Check if a key exists in the hashtable.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: key exists
|
* 1: key exists
|
||||||
* 0: key does not exist
|
* 0: key does not exist
|
||||||
*/
|
*/
|
||||||
@@ -571,9 +571,9 @@ hashtable_has_key (struct t_hashtable *hashtable, const void *key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts a value (from any type) to a string.
|
* Convert a value (from any type) to a string.
|
||||||
*
|
*
|
||||||
* Returns pointer to a static buffer (for type string, returns pointer to
|
* Return pointer to a static buffer (for type string, return pointer to
|
||||||
* string itself), which must be used immediately, it is overwritten by
|
* string itself), which must be used immediately, it is overwritten by
|
||||||
* subsequent calls to this function.
|
* subsequent calls to this function.
|
||||||
*/
|
*/
|
||||||
@@ -611,7 +611,7 @@ hashtable_to_string (enum t_hashtable_type type, const void *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calls a function on all hashtable entries.
|
* Call a function on all hashtable entries.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -639,7 +639,7 @@ hashtable_map (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calls a function on all hashtable entries (sends keys and values as strings).
|
* Call a function on all hashtable entries (sends keys and values as strings).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -680,7 +680,7 @@ hashtable_map_string (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Duplicates key/value in another hashtable (callback called for each variable
|
* Duplicate key/value in another hashtable (callback called for each variable
|
||||||
* in hashtable).
|
* in hashtable).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -700,9 +700,9 @@ hashtable_duplicate_map_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Duplicates a hashtable.
|
* Duplicate a hashtable.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hashtable, NULL if error.
|
* Return pointer to new hashtable, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hashtable *
|
struct t_hashtable *
|
||||||
@@ -731,7 +731,7 @@ hashtable_dup (struct t_hashtable *hashtable)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Builds sorted list of keys (callback called for each variable in hashtable).
|
* Build sorted list of keys (callback called for each variable in hashtable).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -752,7 +752,7 @@ hashtable_get_list_keys_map_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets list with sorted keys of hashtable.
|
* Get list with sorted keys of hashtable.
|
||||||
*
|
*
|
||||||
* Note: list must be freed after use.
|
* Note: list must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -772,7 +772,7 @@ hashtable_get_list_keys (struct t_hashtable *hashtable)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets a hashtable property as integer.
|
* Get a hashtable property as integer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -790,7 +790,7 @@ hashtable_get_integer (struct t_hashtable *hashtable, const char *property)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Computes length of all keys (callback called for each variable in hashtable).
|
* Compute length of all keys (callback called for each variable in hashtable).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -812,7 +812,7 @@ hashtable_compute_length_keys_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Computes length of all values (callback called for each variable in
|
* Compute length of all values (callback called for each variable in
|
||||||
* hashtable).
|
* hashtable).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -842,7 +842,7 @@ hashtable_compute_length_values_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Computes length of all keys + values (callback called for each variable in
|
* Compute length of all keys + values (callback called for each variable in
|
||||||
* hashtable).
|
* hashtable).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -856,7 +856,7 @@ hashtable_compute_length_keys_values_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Builds a string with all keys (callback called for each variable in
|
* Build a string with all keys (callback called for each variable in
|
||||||
* hashtable).
|
* hashtable).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -882,7 +882,7 @@ hashtable_build_string_keys_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Builds a string with all values (callback called for each variable in
|
* Build a string with all values (callback called for each variable in
|
||||||
* hashtable).
|
* hashtable).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -915,7 +915,7 @@ hashtable_build_string_values_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Builds a string with all keys + values (callback called for each variable in
|
* Build a string with all keys + values (callback called for each variable in
|
||||||
* hashtable).
|
* hashtable).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -951,9 +951,9 @@ hashtable_build_string_keys_values_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets keys and/or values of hashtable as string.
|
* Get keys and/or values of hashtable as string.
|
||||||
*
|
*
|
||||||
* Returns a string with one of these formats:
|
* Return a string with one of these formats:
|
||||||
* if keys == 1 and values == 0: "key1,key2,key3"
|
* if keys == 1 and values == 0: "key1,key2,key3"
|
||||||
* if keys == 0 and values == 1: "value1,value2,value3"
|
* if keys == 0 and values == 1: "value1,value2,value3"
|
||||||
* if keys == 1 and values == 1: "key1:value1,key2:value2,key3:value3"
|
* if keys == 1 and values == 1: "key1:value1,key2:value2,key3:value3"
|
||||||
@@ -1028,7 +1028,7 @@ hashtable_get_keys_values (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets a hashtable property as string.
|
* Get a hashtable property as string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -1056,7 +1056,7 @@ hashtable_get_string (struct t_hashtable *hashtable, const char *property)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets a hashtable property (pointer).
|
* Set a hashtable property (pointer).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1073,9 +1073,9 @@ hashtable_set_pointer (struct t_hashtable *hashtable, const char *property,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds hashtable keys and values in an infolist.
|
* Add hashtable keys and values in an infolist.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -1148,9 +1148,9 @@ hashtable_add_to_infolist (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds hashtable keys and values from an infolist.
|
* Add hashtable keys and values from an infolist.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -1238,7 +1238,7 @@ hashtable_add_from_infolist (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes an item from hashtable.
|
* Remove an item from hashtable.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1277,7 +1277,7 @@ hashtable_remove_item (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes an item from hashtable (searches it with key).
|
* Remove an item from hashtable (searches it with key).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1295,7 +1295,7 @@ hashtable_remove (struct t_hashtable *hashtable, const void *key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes all items from hashtable.
|
* Remove all items from hashtable.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1316,7 +1316,7 @@ hashtable_remove_all (struct t_hashtable *hashtable)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a hashtable: removes all items and frees hashtable.
|
* Free a hashtable: removes all items and frees hashtable.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1332,7 +1332,7 @@ hashtable_free (struct t_hashtable *hashtable)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints hashtable in WeeChat log file (usually for crash dump).
|
* Print hashtable in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+55
-55
@@ -46,7 +46,7 @@ char *hdata_type_string[WEECHAT_NUM_HDATA_TYPES] =
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a hdata variable.
|
* Free a hdata variable.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -68,7 +68,7 @@ hdata_free_var_cb (struct t_hashtable *hashtable, const void *key, void *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a hdata list.
|
* Free a hdata list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -82,9 +82,9 @@ hdata_free_list_cb (struct t_hashtable *hashtable, const void *key, void *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new hdata.
|
* Create a new hdata.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hdata, NULL if error.
|
* Return pointer to new hdata, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -133,7 +133,7 @@ hdata_new (struct t_weechat_plugin *plugin, const char *hdata_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a new variable in a hdata.
|
* Add a new variable in a hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -172,7 +172,7 @@ hdata_new_var (struct t_hdata *hdata, const char *name, int offset, int type,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a new list pointer in a hdata.
|
* Add a new list pointer in a hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -194,7 +194,7 @@ hdata_new_list (struct t_hdata *hdata, const char *name, void *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets offset of variable in hdata.
|
* Get offset of variable in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -213,7 +213,7 @@ hdata_get_var_offset (struct t_hdata *hdata, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets type of variable in hdata (as integer).
|
* Get type of variable in hdata (as integer).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -232,7 +232,7 @@ hdata_get_var_type (struct t_hdata *hdata, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets type of variable in hdata (as string).
|
* Get type of variable in hdata (as string).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -251,9 +251,9 @@ hdata_get_var_type_string (struct t_hdata *hdata, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets size of array for a variable (if variable is an array).
|
* Get size of array for a variable (if variable is an array).
|
||||||
*
|
*
|
||||||
* Returns size of array, -1 if variable is not an array (or if error).
|
* Return size of array, -1 if variable is not an array (or if error).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -351,7 +351,7 @@ hdata_get_var_array_size (struct t_hdata *hdata, void *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets size of array for variable as string.
|
* Get size of array for variable as string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -374,9 +374,9 @@ hdata_get_var_array_size_string (struct t_hdata *hdata, void *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets hdata name for a variable.
|
* Get hdata name for a variable.
|
||||||
*
|
*
|
||||||
* Returns hdata name, NULL if variable has no hdata.
|
* Return hdata name, NULL if variable has no hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -395,7 +395,7 @@ hdata_get_var_hdata (struct t_hdata *hdata, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer to content of variable using hdata variable name.
|
* Get pointer to content of variable using hdata variable name.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -414,7 +414,7 @@ hdata_get_var (struct t_hdata *hdata, void *pointer, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer to content of variable using hdata variable offset.
|
* Get pointer to content of variable using hdata variable offset.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -427,7 +427,7 @@ hdata_get_var_at_offset (struct t_hdata *hdata, void *pointer, int offset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets a list pointer in hdata.
|
* Get a list pointer in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -446,9 +446,9 @@ hdata_get_list (struct t_hdata *hdata, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a pointer is in the list.
|
* Check if a pointer is in the list.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: pointer exists in list
|
* 1: pointer exists in list
|
||||||
* 0: pointer does not exist
|
* 0: pointer does not exist
|
||||||
*/
|
*/
|
||||||
@@ -476,7 +476,7 @@ hdata_check_pointer_in_list (struct t_hdata *hdata, void *list, void *pointer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a pointer is in a list with flag "check_pointers".
|
* Check if a pointer is in a list with flag "check_pointers".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -513,14 +513,14 @@ hdata_check_pointer_map_cb (void *data, struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a pointer is valid for a given hdata/list.
|
* Check if a pointer is valid for a given hdata/list.
|
||||||
*
|
*
|
||||||
* If argument "list" is NULL, the check is made with all lists in hdata
|
* If argument "list" is NULL, the check is made with all lists in hdata
|
||||||
* that have flag "check_pointers". If no list is defined with this flag,
|
* that have flag "check_pointers". If no list is defined with this flag,
|
||||||
* the pointer is considered valid (so this function returns 1); if the
|
* the pointer is considered valid (so this function return 1); if the
|
||||||
* pointer is not found in any list, this function returns 0.
|
* pointer is not found in any list, this function return 0.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: pointer exists in the given list (or a list with check_pointers flag)
|
* 1: pointer exists in the given list (or a list with check_pointers flag)
|
||||||
* 0: pointer does not exist
|
* 0: pointer does not exist
|
||||||
*/
|
*/
|
||||||
@@ -553,7 +553,7 @@ hdata_check_pointer (struct t_hdata *hdata, void *list, void *pointer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Moves pointer to another element in list.
|
* Move pointer to another element in list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -579,9 +579,9 @@ hdata_move (struct t_hdata *hdata, void *pointer, int count)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for an element in list using expression.
|
* Search for an element in list using expression.
|
||||||
*
|
*
|
||||||
* Returns pointer to element found, NULL if not found.
|
* Return pointer to element found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -659,7 +659,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns number of item in this hdata, starting at "pointer".
|
* Return number of item in this hdata, starting at "pointer".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -680,7 +680,7 @@ hdata_count (struct t_hdata *hdata, void *pointer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extracts index from name of a variable.
|
* Extract index from name of a variable.
|
||||||
*
|
*
|
||||||
* A name can contain index with this format: "NNN|name" (where NNN is an
|
* A name can contain index with this format: "NNN|name" (where NNN is an
|
||||||
* integer >= 0).
|
* integer >= 0).
|
||||||
@@ -723,7 +723,7 @@ hdata_get_index_and_name (const char *name, int *index, const char **ptr_name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets char value of a variable in hdata.
|
* Get char value of a variable in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char
|
char
|
||||||
@@ -757,7 +757,7 @@ hdata_char (struct t_hdata *hdata, void *pointer, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets integer value of a variable in hdata.
|
* Get integer value of a variable in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -791,7 +791,7 @@ hdata_integer (struct t_hdata *hdata, void *pointer, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets long value of a variable in hdata.
|
* Get long value of a variable in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
long
|
long
|
||||||
@@ -825,7 +825,7 @@ hdata_long (struct t_hdata *hdata, void *pointer, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets "long long" value of a variable in hdata.
|
* Get "long long" value of a variable in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
long long
|
long long
|
||||||
@@ -859,7 +859,7 @@ hdata_longlong (struct t_hdata *hdata, void *pointer, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets string value of a variable in hdata.
|
* Get string value of a variable in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -896,7 +896,7 @@ hdata_string (struct t_hdata *hdata, void *pointer, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer value of a variable in hdata.
|
* Get pointer value of a variable in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -930,7 +930,7 @@ hdata_pointer (struct t_hdata *hdata, void *pointer, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets time value of a variable in hdata.
|
* Get time value of a variable in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
time_t
|
time_t
|
||||||
@@ -964,7 +964,7 @@ hdata_time (struct t_hdata *hdata, void *pointer, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets hashtable value of a variable in hdata.
|
* Get hashtable value of a variable in hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hashtable *
|
struct t_hashtable *
|
||||||
@@ -998,11 +998,11 @@ hdata_hashtable (struct t_hdata *hdata, void *pointer, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares a hdata variable of two objects.
|
* Compare a hdata variable of two objects.
|
||||||
*
|
*
|
||||||
* If case_sensitive == 1, the comparison of strings is case-sensitive.
|
* If case_sensitive == 1, the comparison of strings is case-sensitive.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* -1: variable1 < variable2
|
* -1: variable1 < variable2
|
||||||
* 0: variable1 == variable2
|
* 0: variable1 == variable2
|
||||||
* 1: variable1 > variable2
|
* 1: variable1 > variable2
|
||||||
@@ -1230,13 +1230,13 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets value for a variable in hdata.
|
* Set value for a variable in hdata.
|
||||||
*
|
*
|
||||||
* WARNING: this is dangerous, and only some variables can be set by this
|
* WARNING: this is dangerous, and only some variables can be set by this
|
||||||
* function (this depends on hdata, see API doc for more info) and this
|
* function (this depends on hdata, see API doc for more info) and this
|
||||||
* function can be called *ONLY* in an "update" callback (in hdata).
|
* function can be called *ONLY* in an "update" callback (in hdata).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK (value set)
|
* 1: OK (value set)
|
||||||
* 0: error (or not allowed)
|
* 0: error (or not allowed)
|
||||||
*/
|
*/
|
||||||
@@ -1338,7 +1338,7 @@ hdata_set (struct t_hdata *hdata, void *pointer, const char *name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Updates some data in hdata.
|
* Update some data in hdata.
|
||||||
*
|
*
|
||||||
* The hashtable contains keys with new values.
|
* The hashtable contains keys with new values.
|
||||||
* A special key "__delete" can be used to delete the whole structure at
|
* A special key "__delete" can be used to delete the whole structure at
|
||||||
@@ -1347,8 +1347,8 @@ hdata_set (struct t_hdata *hdata, void *pointer, const char *name,
|
|||||||
* WARNING: this is dangerous, and only some data can be updated by this
|
* WARNING: this is dangerous, and only some data can be updated by this
|
||||||
* function (this depends on hdata, see API doc for more info).
|
* function (this depends on hdata, see API doc for more info).
|
||||||
*
|
*
|
||||||
* Returns number of variables updated, 0 if nothing has been updated.
|
* Return number of variables updated, 0 if nothing has been updated.
|
||||||
* In case of deletion, returns 1 if OK, 0 if error.
|
* In case of deletion, return 1 if OK, 0 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1390,7 +1390,7 @@ hdata_update (struct t_hdata *hdata, void *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets a hdata property as string.
|
* Get a hdata property as string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -1420,7 +1420,7 @@ hdata_get_string (struct t_hdata *hdata, const char *property)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a hdata.
|
* Free a hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1439,7 +1439,7 @@ hdata_free (struct t_hdata *hdata)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees hdata for a plugin (callback called for each hdata in memory).
|
* Free hdata for a plugin (callback called for each hdata in memory).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1455,7 +1455,7 @@ hdata_free_all_plugin_map_cb (void *data, struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees all hdata created by a plugin.
|
* Free all hdata created by a plugin.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1465,7 +1465,7 @@ hdata_free_all_plugin (struct t_weechat_plugin *plugin)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees all hdata.
|
* Free all hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1475,7 +1475,7 @@ hdata_free_all (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints variable of a hdata in WeeChat log file (callback called for each
|
* Print variable of a hdata in WeeChat log file (callback called for each
|
||||||
* variable in hdata).
|
* variable in hdata).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1501,7 +1501,7 @@ hdata_print_log_var_map_cb (void *data, struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints hdata in WeeChat log file (callback called for each hdata in memory).
|
* Print hdata in WeeChat log file (callback called for each hdata in memory).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1538,7 +1538,7 @@ hdata_print_log_map_cb (void *data, struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints hdata in WeeChat log file (usually for crash dump).
|
* Print hdata in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1548,7 +1548,7 @@ hdata_print_log (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a hdata in hashtable "weechat_hdata".
|
* Free a hdata in hashtable "weechat_hdata".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1563,7 +1563,7 @@ hdata_free_hdata_cb (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes hdata: creates a hashtable with hdata.
|
* Initialize hdata: creates a hashtable with hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1578,7 +1578,7 @@ hdata_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees all hdata and hashtable with hdata.
|
* Free all hdata and hashtable with hdata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+27
-27
@@ -158,7 +158,7 @@ t_callback_hook *hook_callback_print_log[HOOK_NUM_TYPES] =
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes hooks.
|
* Initialize hooks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -214,9 +214,9 @@ hook_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a hook type.
|
* Search for a hook type.
|
||||||
*
|
*
|
||||||
* Returns index of type in enum t_hook_type, -1 if type is not found.
|
* Return index of type in enum t_hook_type, -1 if type is not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -238,7 +238,7 @@ hook_search_type (const char *type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for position of hook in list (to keep hooks sorted).
|
* Search for position of hook in list (to keep hooks sorted).
|
||||||
*
|
*
|
||||||
* Hooks are sorted by priority, except commands which are sorted by command
|
* Hooks are sorted by priority, except commands which are sorted by command
|
||||||
* name, and then priority.
|
* name, and then priority.
|
||||||
@@ -283,7 +283,7 @@ hook_find_pos (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a hook to list.
|
* Add a hook to list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -330,7 +330,7 @@ hook_add_to_list (struct t_hook *new_hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes a hook from list.
|
* Remove a hook from list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -366,7 +366,7 @@ hook_remove_from_list (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes hooks marked as "deleted" from list.
|
* Remove hooks marked as "deleted" from list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -395,7 +395,7 @@ hook_remove_deleted (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes a new hook with default values.
|
* Initialize a new hook with default values.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -426,9 +426,9 @@ hook_init_data (struct t_hook *hook, struct t_weechat_plugin *plugin,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a hook pointer is valid.
|
* Check if a hook pointer is valid.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: hook exists
|
* 1: hook exists
|
||||||
* 0: hook does not exist
|
* 0: hook does not exist
|
||||||
*/
|
*/
|
||||||
@@ -457,7 +457,7 @@ hook_valid (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Starts a hook exec.
|
* Start a hook exec.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -467,7 +467,7 @@ hook_exec_start (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ends a hook_exec.
|
* End a hook_exec.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -481,7 +481,7 @@ hook_exec_end (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Starts execution of a hook callback.
|
* Start execution of a hook callback.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -504,7 +504,7 @@ hook_callback_start (struct t_hook *hook, struct t_hook_exec_cb *hook_exec_cb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ends execution of a hook callback.
|
* End execution of a hook callback.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -541,7 +541,7 @@ hook_callback_end (struct t_hook *hook, struct t_hook_exec_cb *hook_exec_cb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -553,7 +553,7 @@ hook_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets a hook property (string).
|
* Set a hook property (string).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -691,7 +691,7 @@ hook_schedule_clean_process (pid_t pid)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unhooks something.
|
* Unhook something.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -743,7 +743,7 @@ unhook (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unhooks everything for a plugin/subplugin.
|
* Unhook everything for a plugin/subplugin.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -773,7 +773,7 @@ unhook_all_plugin (struct t_weechat_plugin *plugin, const char *subplugin)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unhooks everything.
|
* Unhook everything.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -795,7 +795,7 @@ unhook_all (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for hook.
|
* Return hdata for hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -839,9 +839,9 @@ hook_hdata_hook_cb (const void *pointer, void *data, const char *hdata_name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a hook in an infolist.
|
* Add a hook in an infolist.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -890,9 +890,9 @@ hook_add_to_infolist_pointer (struct t_infolist *infolist, struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds hooks of a type in an infolist.
|
* Add hooks of a type in an infolist.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -930,11 +930,11 @@ hook_add_to_infolist_type (struct t_infolist *infolist, int type,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds hooks in an infolist.
|
* Add hooks in an infolist.
|
||||||
*
|
*
|
||||||
* Argument "arguments" can be a hook type with optional comma + name after.
|
* Argument "arguments" can be a hook type with optional comma + name after.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -982,7 +982,7 @@ hook_add_to_infolist (struct t_infolist *infolist, struct t_hook *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints hooks in WeeChat log file (usually for crash dump).
|
* Print hooks in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+33
-33
@@ -43,9 +43,9 @@ char *infolist_type_char_string[INFOLIST_NUM_TYPES] = {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new infolist.
|
* Create a new infolist.
|
||||||
*
|
*
|
||||||
* Returns pointer to infolist, NULL if error.
|
* Return pointer to infolist, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist *
|
struct t_infolist *
|
||||||
@@ -74,9 +74,9 @@ infolist_new (struct t_weechat_plugin *plugin)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if an infolist pointer is valid.
|
* Check if an infolist pointer is valid.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: infolist exists
|
* 1: infolist exists
|
||||||
* 0: infolist is not found
|
* 0: infolist is not found
|
||||||
*/
|
*/
|
||||||
@@ -101,9 +101,9 @@ infolist_valid (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new item in an infolist.
|
* Create a new item in an infolist.
|
||||||
*
|
*
|
||||||
* Returns pointer to new item, NULL if error.
|
* Return pointer to new item, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist_item *
|
struct t_infolist_item *
|
||||||
@@ -131,9 +131,9 @@ infolist_new_item (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new integer variable in an item.
|
* Create a new integer variable in an item.
|
||||||
*
|
*
|
||||||
* Returns pointer to new variable, NULL if error.
|
* Return pointer to new variable, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist_var *
|
struct t_infolist_var *
|
||||||
@@ -168,9 +168,9 @@ infolist_new_var_integer (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new string variable in an item.
|
* Create a new string variable in an item.
|
||||||
*
|
*
|
||||||
* Returns pointer to new variable, NULL if error.
|
* Return pointer to new variable, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist_var *
|
struct t_infolist_var *
|
||||||
@@ -203,9 +203,9 @@ infolist_new_var_string (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new pointer variable in an item.
|
* Create a new pointer variable in an item.
|
||||||
*
|
*
|
||||||
* Returns pointer to new variable, NULL if error.
|
* Return pointer to new variable, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist_var *
|
struct t_infolist_var *
|
||||||
@@ -238,9 +238,9 @@ infolist_new_var_pointer (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new buffer variable in an item.
|
* Create a new buffer variable in an item.
|
||||||
*
|
*
|
||||||
* Returns pointer to new variable, NULL if error.
|
* Return pointer to new variable, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist_var *
|
struct t_infolist_var *
|
||||||
@@ -285,9 +285,9 @@ infolist_new_var_buffer (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new time variable in an item.
|
* Create a new time variable in an item.
|
||||||
*
|
*
|
||||||
* Returns pointer to new variable, NULL if error.
|
* Return pointer to new variable, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist_var *
|
struct t_infolist_var *
|
||||||
@@ -322,9 +322,9 @@ infolist_new_var_time (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets next item for an infolist.
|
* Get next item for an infolist.
|
||||||
*
|
*
|
||||||
* If pointer is NULL, returns first item of infolist.
|
* If pointer is NULL, return first item of infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist_item *
|
struct t_infolist_item *
|
||||||
@@ -343,9 +343,9 @@ infolist_next (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets previous item for an infolist.
|
* Get previous item for an infolist.
|
||||||
*
|
*
|
||||||
* If pointer is NULL, returns last item of infolist.
|
* If pointer is NULL, return last item of infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist_item *
|
struct t_infolist_item *
|
||||||
@@ -364,7 +364,7 @@ infolist_prev (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Resets pointer to current item in infolist.
|
* Reset pointer to current item in infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -377,7 +377,7 @@ infolist_reset_item_cursor (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a variable in current infolist item.
|
* Search for a variable in current infolist item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist_var *
|
struct t_infolist_var *
|
||||||
@@ -400,7 +400,7 @@ infolist_search_var (struct t_infolist *infolist, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets list of fields for current infolist item.
|
* Get list of fields for current infolist item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -434,7 +434,7 @@ infolist_fields (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets integer value for a variable in current infolist item.
|
* Get integer value for a variable in current infolist item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -462,7 +462,7 @@ infolist_integer (struct t_infolist *infolist, const char *var)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets string value for a variable in current infolist item.
|
* Get string value for a variable in current infolist item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -490,7 +490,7 @@ infolist_string (struct t_infolist *infolist, const char *var)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer value for a variable in current infolist item.
|
* Get pointer value for a variable in current infolist item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -518,7 +518,7 @@ infolist_pointer (struct t_infolist *infolist, const char *var)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets buffer value for a variable in current infolist item.
|
* Get buffer value for a variable in current infolist item.
|
||||||
*
|
*
|
||||||
* Argument "size" is set with the size of buffer.
|
* Argument "size" is set with the size of buffer.
|
||||||
*/
|
*/
|
||||||
@@ -552,7 +552,7 @@ infolist_buffer (struct t_infolist *infolist, const char *var,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets time value for a variable in current infolist item.
|
* Get time value for a variable in current infolist item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
time_t
|
time_t
|
||||||
@@ -580,7 +580,7 @@ infolist_time (struct t_infolist *infolist, const char *var)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a variable in item.
|
* Free a variable in item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -623,7 +623,7 @@ infolist_var_free (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees an item in infolist.
|
* Free an item in infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -662,7 +662,7 @@ infolist_item_free (struct t_infolist *infolist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees an infolist.
|
* Free an infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -699,7 +699,7 @@ infolist_free (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees all infolists created by a plugin.
|
* Free all infolists created by a plugin.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -718,7 +718,7 @@ infolist_free_all_plugin (struct t_weechat_plugin *plugin)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints infolists in WeeChat log file (usually for crash dump).
|
* Print infolists in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -45,9 +45,9 @@ char **input_commands_allowed = NULL;
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sends data to buffer input callback.
|
* Send data to buffer input callback.
|
||||||
*
|
*
|
||||||
* Returns the return code of buffer callback, or WEECHAT_RC_ERROR if the
|
* Return the return code of buffer callback, or WEECHAT_RC_ERROR if the
|
||||||
* buffer has no input callback.
|
* buffer has no input callback.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -72,9 +72,9 @@ input_exec_data (struct t_gui_buffer *buffer, const char *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a command.
|
* Execute a command.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_RC_OK: command executed
|
* WEECHAT_RC_OK: command executed
|
||||||
* WEECHAT_RC_ERROR: error, command not executed
|
* WEECHAT_RC_ERROR: error, command not executed
|
||||||
*/
|
*/
|
||||||
@@ -228,12 +228,12 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sends data to a buffer's callback.
|
* Send data to a buffer's callback.
|
||||||
*
|
*
|
||||||
* If split_newline = 1 and if buffer input_multiline = 0, the string
|
* If split_newline = 1 and if buffer input_multiline = 0, the string
|
||||||
* is split on "\n" and multiple commands can then be executed.
|
* is split on "\n" and multiple commands can then be executed.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_RC_OK: data properly sent (or command executed successfully)
|
* WEECHAT_RC_OK: data properly sent (or command executed successfully)
|
||||||
* WEECHAT_RC_ERROR: error
|
* WEECHAT_RC_ERROR: error
|
||||||
*/
|
*/
|
||||||
@@ -399,12 +399,12 @@ input_data_timer_cb (const void *pointer, void *data, int remaining_calls)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sends data to a buffer's callback with an optional delay (in milliseconds).
|
* Send data to a buffer's callback with an optional delay (in milliseconds).
|
||||||
*
|
*
|
||||||
* If delay < 1, the command is executed immediately.
|
* If delay < 1, the command is executed immediately.
|
||||||
* If delay >= 1, the command is scheduled for execution in this number of ms.
|
* If delay >= 1, the command is scheduled for execution in this number of ms.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_RC_OK: data properly sent or scheduled for execution
|
* WEECHAT_RC_OK: data properly sent or scheduled for execution
|
||||||
* WEECHAT_RC_ERROR: error
|
* WEECHAT_RC_ERROR: error
|
||||||
*/
|
*/
|
||||||
|
|||||||
+27
-27
@@ -36,9 +36,9 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new list.
|
* Create a new list.
|
||||||
*
|
*
|
||||||
* Returns pointer to new list, NULL if error.
|
* Return pointer to new list, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_weelist *
|
struct t_weelist *
|
||||||
@@ -57,7 +57,7 @@ weelist_new (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for position of data (to keep list sorted).
|
* Search for position of data (to keep list sorted).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_weelist_item *
|
struct t_weelist_item *
|
||||||
@@ -79,7 +79,7 @@ weelist_find_pos (struct t_weelist *weelist, const char *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Inserts an element in the list (keeping list sorted).
|
* Insert an element in the list (keeping list sorted).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -140,9 +140,9 @@ weelist_insert (struct t_weelist *weelist, struct t_weelist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates new data and add it to the list.
|
* Create new data and add it to the list.
|
||||||
*
|
*
|
||||||
* Returns pointer to new item, NULL if error.
|
* Return pointer to new item, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_weelist_item *
|
struct t_weelist_item *
|
||||||
@@ -166,9 +166,9 @@ weelist_add (struct t_weelist *weelist, const char *data, const char *where,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for data in a list (case-sensitive).
|
* Search for data in a list (case-sensitive).
|
||||||
*
|
*
|
||||||
* Returns pointer to item found, NULL if not found.
|
* Return pointer to item found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_weelist_item *
|
struct t_weelist_item *
|
||||||
@@ -190,9 +190,9 @@ weelist_search (struct t_weelist *weelist, const char *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for data in a list (case-sensitive).
|
* Search for data in a list (case-sensitive).
|
||||||
*
|
*
|
||||||
* Returns position of item found (>= 0), -1 if not found.
|
* Return position of item found (>= 0), -1 if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -217,9 +217,9 @@ weelist_search_pos (struct t_weelist *weelist, const char *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for data in a list (case-insensitive).
|
* Search for data in a list (case-insensitive).
|
||||||
*
|
*
|
||||||
* Returns pointer to item found, NULL if not found.
|
* Return pointer to item found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_weelist_item *
|
struct t_weelist_item *
|
||||||
@@ -241,9 +241,9 @@ weelist_casesearch (struct t_weelist *weelist, const char *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for data in a list (case-insensitive).
|
* Search for data in a list (case-insensitive).
|
||||||
*
|
*
|
||||||
* Returns position of item found (>= 0), -1 if not found.
|
* Return position of item found (>= 0), -1 if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -268,7 +268,7 @@ weelist_casesearch_pos (struct t_weelist *weelist, const char *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets an item in a list by position (0 is first element).
|
* Get an item in a list by position (0 is first element).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_weelist_item *
|
struct t_weelist_item *
|
||||||
@@ -294,7 +294,7 @@ weelist_get (struct t_weelist *weelist, int position)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets a new value for an item.
|
* Set a new value for an item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -308,9 +308,9 @@ weelist_set (struct t_weelist_item *item, const char *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets next item.
|
* Get next item.
|
||||||
*
|
*
|
||||||
* Returns NULL if end of list has been reached.
|
* Return NULL if end of list has been reached.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_weelist_item *
|
struct t_weelist_item *
|
||||||
@@ -323,9 +323,9 @@ weelist_next (struct t_weelist_item *item)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets previous item.
|
* Get previous item.
|
||||||
*
|
*
|
||||||
* Returns NULL if beginning of list has been reached.
|
* Return NULL if beginning of list has been reached.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_weelist_item *
|
struct t_weelist_item *
|
||||||
@@ -338,7 +338,7 @@ weelist_prev (struct t_weelist_item *item)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets string pointer to item data.
|
* Get string pointer to item data.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -351,7 +351,7 @@ weelist_string (struct t_weelist_item *item)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets user data pointer to item data.
|
* Get user data pointer to item data.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void *
|
||||||
@@ -364,7 +364,7 @@ weelist_user_data (struct t_weelist_item *item)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets size of list.
|
* Get size of list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -377,7 +377,7 @@ weelist_size (struct t_weelist *weelist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes an item from a list.
|
* Remove an item from a list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -411,7 +411,7 @@ weelist_remove (struct t_weelist *weelist, struct t_weelist_item *item)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes all items from a list.
|
* Remove all items from a list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -427,7 +427,7 @@ weelist_remove_all (struct t_weelist *weelist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a list.
|
* Free a list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -441,7 +441,7 @@ weelist_free (struct t_weelist *weelist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints list in WeeChat log file (usually for crash dump).
|
* Print list in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+7
-7
@@ -54,9 +54,9 @@ int weechat_log_use_time = 1; /* 0 to temporary disable time in log, */
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Opens the WeeChat log file.
|
* Open the WeeChat log file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -116,7 +116,7 @@ log_open (const char *filename, const char *mode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes the WeeChat log file.
|
* Initialize the WeeChat log file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -140,7 +140,7 @@ log_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes a message in WeeChat log file.
|
* Write a message in WeeChat log file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -193,7 +193,7 @@ log_printf (const char *message, ...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Dumps a string as hexa data in WeeChat log file.
|
* Dump a string as hexa data in WeeChat log file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -227,7 +227,7 @@ log_printf_hexa (const char *spaces, const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Closes the WeeChat log file.
|
* Close the WeeChat log file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -252,7 +252,7 @@ log_close (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Renames the WeeChat log file (when crashing).
|
* Rename the WeeChat log file (when crashing).
|
||||||
*
|
*
|
||||||
* The file "weechat.log" is renamed to "weechat_crash_YYYYMMDD_NNNN.log",
|
* The file "weechat.log" is renamed to "weechat_crash_YYYYMMDD_NNNN.log",
|
||||||
* where YYYYMMDD is the current date and NNNN the PID of WeeChat process.
|
* where YYYYMMDD is the current date and NNNN the PID of WeeChat process.
|
||||||
|
|||||||
+51
-33
@@ -72,7 +72,7 @@ gnutls_certificate_credentials_t gnutls_xcred; /* GnuTLS client credentials */
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes gcrypt.
|
* Initialize gcrypt.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -87,7 +87,7 @@ network_init_gcrypt (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocates credentials structure.
|
* Allocate credentials structure.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -101,9 +101,9 @@ network_allocate_credentials (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Loads system's default trusted certificate authorities.
|
* Load system's default trusted certificate authorities.
|
||||||
*
|
*
|
||||||
* Returns the number of certificates loaded.
|
* Return the number of certificates loaded.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -143,7 +143,7 @@ network_load_system_ca_file (int force_display)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Loads user's trusted certificate authorities.
|
* Load user's trusted certificate authorities.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -229,7 +229,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Loads system's default and user's trusted certificate authorities.
|
* Load system's default and user's trusted certificate authorities.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -247,7 +247,7 @@ network_load_ca_files (int force_display)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reloads system's default and user's trusted certificate authorities.
|
* Reload system's default and user's trusted certificate authorities.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -271,7 +271,7 @@ network_reload_ca_files (int force_display)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes GnuTLS.
|
* Initialize GnuTLS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -288,7 +288,7 @@ network_init_gnutls (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ends network.
|
* End network.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -306,9 +306,9 @@ network_end (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string contains a valid IP address (IPv4 or IPv6).
|
* Check if a string contains a valid IP address (IPv4 or IPv6).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: string is a valid IPv4 or IPv6
|
* 1: string is a valid IPv4 or IPv6
|
||||||
* 0: string is not a valid IP address
|
* 0: string is not a valid IP address
|
||||||
*/
|
*/
|
||||||
@@ -335,12 +335,12 @@ network_is_ip_address (const char *address)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sends data on a socket with retry.
|
* Send data on a socket with retry.
|
||||||
*
|
*
|
||||||
* WARNING: this function is blocking, it must be called only in a forked
|
* WARNING: this function is blocking, it must be called only in a forked
|
||||||
* process.
|
* process.
|
||||||
*
|
*
|
||||||
* Returns number of bytes sent, -1 if error.
|
* Return number of bytes sent, -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -367,12 +367,12 @@ network_send_with_retry (int sock, const void *buffer, int length, int flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Receives data on a socket with retry.
|
* Receive data on a socket with retry.
|
||||||
*
|
*
|
||||||
* WARNING: this function is blocking, it must be called only in a forked
|
* WARNING: this function is blocking, it must be called only in a forked
|
||||||
* process.
|
* process.
|
||||||
*
|
*
|
||||||
* Returns number of bytes received, -1 if error.
|
* Return number of bytes received, -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -399,12 +399,12 @@ network_recv_with_retry (int sock, void *buffer, int length, int flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Establishes a connection and authenticates with a HTTP proxy.
|
* Establish a connection and authenticates with a HTTP proxy.
|
||||||
*
|
*
|
||||||
* WARNING: this function is blocking, it must be called only in a forked
|
* WARNING: this function is blocking, it must be called only in a forked
|
||||||
* process.
|
* process.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -463,9 +463,9 @@ network_pass_httpproxy (struct t_proxy *proxy, int sock, const char *address,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Resolves a hostname to its IP address (works with IPv4 and IPv6).
|
* Resolve a hostname to its IP address (works with IPv4 and IPv6).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -510,14 +510,14 @@ network_resolve (const char *hostname, char *ip, int *version)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Establishes a connection and authenticates with a socks4 proxy.
|
* Establish a connection and authenticates with a socks4 proxy.
|
||||||
*
|
*
|
||||||
* The socks4 protocol is explained here: https://en.wikipedia.org/wiki/SOCKS
|
* The socks4 protocol is explained here: https://en.wikipedia.org/wiki/SOCKS
|
||||||
*
|
*
|
||||||
* WARNING: this function is blocking, it must be called only in a forked
|
* WARNING: this function is blocking, it must be called only in a forked
|
||||||
* process.
|
* process.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -563,7 +563,7 @@ network_pass_socks4proxy (struct t_proxy *proxy, int sock, const char *address,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Establishes a connection and authenticates with a socks5 proxy.
|
* Establish a connection and authenticates with a socks5 proxy.
|
||||||
*
|
*
|
||||||
* The socks5 protocol is explained in RFC 1928.
|
* The socks5 protocol is explained in RFC 1928.
|
||||||
* The socks5 authentication with username/pass is explained in RFC 1929.
|
* The socks5 authentication with username/pass is explained in RFC 1929.
|
||||||
@@ -571,7 +571,7 @@ network_pass_socks4proxy (struct t_proxy *proxy, int sock, const char *address,
|
|||||||
* WARNING: this function is blocking, it must be called only in a forked
|
* WARNING: this function is blocking, it must be called only in a forked
|
||||||
* process.
|
* process.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -581,7 +581,13 @@ network_pass_socks5proxy (struct t_proxy *proxy, int sock, const char *address,
|
|||||||
int port)
|
int port)
|
||||||
{
|
{
|
||||||
struct t_network_socks5 socks5;
|
struct t_network_socks5 socks5;
|
||||||
unsigned char buffer[288];
|
/*
|
||||||
|
* buffer must be large enough for the username/password authentication
|
||||||
|
* request, which is the longest message sent/received here; according to
|
||||||
|
* RFC 1929 it is: version (1) + username length (1) + username (max 255)
|
||||||
|
* + password length (1) + password (max 255)
|
||||||
|
*/
|
||||||
|
unsigned char buffer[2 + 255 + 1 + 255];
|
||||||
int username_len, password_len, addr_len, addr_buffer_len;
|
int username_len, password_len, addr_len, addr_buffer_len;
|
||||||
unsigned char *addr_buffer;
|
unsigned char *addr_buffer;
|
||||||
char *username, *password;
|
char *username, *password;
|
||||||
@@ -630,6 +636,18 @@ network_pass_socks5proxy (struct t_proxy *proxy, int sock, const char *address,
|
|||||||
username_len = strlen (username);
|
username_len = strlen (username);
|
||||||
password_len = strlen (password);
|
password_len = strlen (password);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* username and password length are each stored on a single byte
|
||||||
|
* (RFC 1929), so they cannot exceed 255 bytes: reject longer values,
|
||||||
|
* otherwise the memcpy calls below would overflow the buffer
|
||||||
|
*/
|
||||||
|
if ((username_len > 255) || (password_len > 255))
|
||||||
|
{
|
||||||
|
free (username);
|
||||||
|
free (password);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* make username/password buffer */
|
/* make username/password buffer */
|
||||||
buffer[0] = 1;
|
buffer[0] = 1;
|
||||||
buffer[1] = (unsigned char) username_len;
|
buffer[1] = (unsigned char) username_len;
|
||||||
@@ -734,12 +752,12 @@ network_pass_socks5proxy (struct t_proxy *proxy, int sock, const char *address,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Establishes a connection and authenticates with a proxy.
|
* Establish a connection and authenticates with a proxy.
|
||||||
*
|
*
|
||||||
* WARNING: this function is blocking, it must be called only in a forked
|
* WARNING: this function is blocking, it must be called only in a forked
|
||||||
* process.
|
* process.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -772,12 +790,12 @@ network_pass_proxy (const char *proxy, int sock, const char *address, int port)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Connects to a remote host and wait for connection if socket is non blocking.
|
* Connect to a remote host and wait for connection if socket is non blocking.
|
||||||
*
|
*
|
||||||
* WARNING: this function is blocking, it must be called only in a forked
|
* WARNING: this function is blocking, it must be called only in a forked
|
||||||
* process.
|
* process.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -822,12 +840,12 @@ network_connect (int sock, const struct sockaddr *addr, socklen_t addrlen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Connects to a remote host.
|
* Connect to a remote host.
|
||||||
*
|
*
|
||||||
* WARNING: this function is blocking, it must be called only in a forked
|
* WARNING: this function is blocking, it must be called only in a forked
|
||||||
* process.
|
* process.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* >= 0: connected socket fd
|
* >= 0: connected socket fd
|
||||||
* -1: error
|
* -1: error
|
||||||
*/
|
*/
|
||||||
@@ -913,7 +931,7 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Connects to peer in a child process.
|
* Connect to peer in a child process.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1563,7 +1581,7 @@ network_connect_gnutls_handshake_timer_cb (const void *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads connection progress from child process.
|
* Read connection progress from child process.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -1784,7 +1802,7 @@ network_connect_child_read_cb (const void *pointer, void *data, int fd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Connects with fork (called by hook_connect() only!).
|
* Connect with fork (called by hook_connect() only!).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+27
-27
@@ -56,9 +56,9 @@ struct t_proxy *last_weechat_temp_proxy = NULL; /* reading configuration */
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a proxy option.
|
* Search for a proxy option.
|
||||||
*
|
*
|
||||||
* Returns index of option in enum t_proxy_option, -1 if option is not found.
|
* Return index of option in enum t_proxy_option, -1 if option is not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -80,9 +80,9 @@ proxy_search_option (const char *option_name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a proxy type.
|
* Search for a proxy type.
|
||||||
*
|
*
|
||||||
* Returns index of option in enum t_proxy_type, -1 if type is not found.
|
* Return index of option in enum t_proxy_type, -1 if type is not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -104,9 +104,9 @@ proxy_search_type (const char *type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a proxy pointer is valid.
|
* Check if a proxy pointer is valid.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: proxy exists
|
* 1: proxy exists
|
||||||
* 0: proxy does not exist
|
* 0: proxy does not exist
|
||||||
*/
|
*/
|
||||||
@@ -131,9 +131,9 @@ proxy_valid (struct t_proxy *proxy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a proxy by name.
|
* Search for a proxy by name.
|
||||||
*
|
*
|
||||||
* Returns pointer to proxy found, NULL if not found.
|
* Return pointer to proxy found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_proxy *
|
struct t_proxy *
|
||||||
@@ -156,7 +156,7 @@ proxy_search (const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets name for a proxy.
|
* Set name for a proxy.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -193,9 +193,9 @@ proxy_set_name (struct t_proxy *proxy, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets a property for a proxy.
|
* Set a property for a proxy.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -246,9 +246,9 @@ proxy_set (struct t_proxy *proxy, const char *property, const char *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates an option for a proxy.
|
* Create an option for a proxy.
|
||||||
*
|
*
|
||||||
* Returns pointer to new option, NULL if error.
|
* Return pointer to new option, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_config_option *
|
struct t_config_option *
|
||||||
@@ -330,7 +330,7 @@ proxy_create_option (const char *proxy_name, int index_option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates an option for a temporary proxy (when reading configuration file).
|
* Create an option for a temporary proxy (when reading configuration file).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -347,9 +347,9 @@ proxy_create_option_temp (struct t_proxy *temp_proxy, int index_option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocates and initializes a new proxy structure.
|
* Allocate and initialize a new proxy structure.
|
||||||
*
|
*
|
||||||
* Returns pointer to new proxy, NULL if error.
|
* Return pointer to new proxy, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_proxy *
|
struct t_proxy *
|
||||||
@@ -374,9 +374,9 @@ proxy_alloc (const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a new proxy with options.
|
* Add a new proxy with options.
|
||||||
*
|
*
|
||||||
* Returns pointer to new proxy, NULL if error.
|
* Return pointer to new proxy, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_proxy *
|
struct t_proxy *
|
||||||
@@ -415,9 +415,9 @@ proxy_new_with_options (const char *name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a new proxy.
|
* Add a new proxy.
|
||||||
*
|
*
|
||||||
* Returns pointer to new proxy, NULL if error.
|
* Return pointer to new proxy, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_proxy *
|
struct t_proxy *
|
||||||
@@ -470,7 +470,7 @@ proxy_new (const char *name, const char *type, const char *ipv6,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Uses temporary proxies (added by reading configuration file).
|
* Use temporary proxies (added by reading configuration file).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -532,7 +532,7 @@ proxy_use_temp_proxies (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a proxy.
|
* Free a proxy.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -564,7 +564,7 @@ proxy_free (struct t_proxy *proxy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees all proxies.
|
* Free all proxies.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -577,7 +577,7 @@ proxy_free_all (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for proxy.
|
* Return hdata for proxy.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -605,9 +605,9 @@ proxy_hdata_proxy_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds a proxy in an infolist.
|
* Add a proxy in an infolist.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -645,7 +645,7 @@ proxy_add_to_infolist (struct t_infolist *infolist, struct t_proxy *proxy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints proxies in WeeChat log file (usually for crash dump).
|
* Print proxies in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ int secure_buffer_display_values = 0;
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays a secured data.
|
* Display a secured data.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -83,7 +83,7 @@ secure_buffer_display_data (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays content of secured data buffer.
|
* Display content of secured data buffer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -195,7 +195,7 @@ secure_buffer_close_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Assigns secured data buffer to pointer if it is not yet set.
|
* Assign secured data buffer to pointer if it is not yet set.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -213,7 +213,7 @@ secure_buffer_assign (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Opens a buffer to display secured data.
|
* Open a buffer to display secured data.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ int secure_config_loading = 0;
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets passphrase from user and puts it in variable "secure_passphrase".
|
* Get passphrase from user and put it in variable "secure_passphrase".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -103,9 +103,9 @@ secure_config_get_passphrase_from_user (const char *error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets passphrase from a command.
|
* Get passphrase from a command.
|
||||||
*
|
*
|
||||||
* Returns passphrase from command output (only the first line with max length
|
* Return passphrase from command output (only the first line with max length
|
||||||
* of SECURE_PASSPHRASE_MAX_LENGTH chars), or NULL if error.
|
* of SECURE_PASSPHRASE_MAX_LENGTH chars), or NULL if error.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
@@ -144,9 +144,9 @@ secure_config_get_passphrase_from_command (const char *command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reloads secured data configuration file.
|
* Reload secured data configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_READ_OK: OK
|
* WEECHAT_CONFIG_READ_OK: OK
|
||||||
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
||||||
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
||||||
@@ -212,7 +212,7 @@ secure_config_check_crypt_option_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a data option in secured data configuration file.
|
* Read a data option in secured data configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -371,7 +371,7 @@ secure_config_data_read_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encrypts data and writes it in secured data configuration file.
|
* Encrypt data and write it in secured data configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -464,7 +464,7 @@ secure_config_data_write_map_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes already encrypted data in secured data configuration file.
|
* Write already encrypted data in secured data configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -484,7 +484,7 @@ secure_config_data_write_map_encrypted_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes section "data" in secured data configuration file.
|
* Write section "data" in secured data configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -536,9 +536,9 @@ secure_config_data_write_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates options in secured data configuration.
|
* Create options in secured data configuration.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -631,9 +631,9 @@ secure_config_init_options (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads secured data configuration file.
|
* Read secured data configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_READ_OK: OK
|
* WEECHAT_CONFIG_READ_OK: OK
|
||||||
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_READ_MEMORY_ERROR: not enough memory
|
||||||
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
* WEECHAT_CONFIG_READ_FILE_NOT_FOUND: file not found
|
||||||
@@ -654,9 +654,9 @@ secure_config_read (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes secured data configuration file.
|
* Write secured data configuration file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_CONFIG_WRITE_OK: OK
|
* WEECHAT_CONFIG_WRITE_OK: OK
|
||||||
* WEECHAT_CONFIG_WRITE_ERROR: error
|
* WEECHAT_CONFIG_WRITE_ERROR: error
|
||||||
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
|
* WEECHAT_CONFIG_WRITE_MEMORY_ERROR: not enough memory
|
||||||
@@ -669,9 +669,9 @@ secure_config_write (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes secured data configuration.
|
* Initialize secured data configuration.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -693,7 +693,7 @@ secure_config_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees secured data file and variables.
|
* Free secured data file and variables.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+13
-13
@@ -56,9 +56,9 @@ int secure_data_encrypted = 0;
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Derives a key from salt + passphrase (using a hash).
|
* Derive a key from salt + passphrase (using a hash).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -101,9 +101,9 @@ secure_derive_key (const char *salt, const char *passphrase,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encrypts data using a hash algorithm + cipher + passphrase.
|
* Encrypt data using a hash algorithm + cipher + passphrase.
|
||||||
*
|
*
|
||||||
* Following actions are performed:
|
* The following actions are performed:
|
||||||
* 1. derive a key from the passphrase (with optional salt)
|
* 1. derive a key from the passphrase (with optional salt)
|
||||||
* 2. compute hash of data
|
* 2. compute hash of data
|
||||||
* 3. store hash + data in a buffer
|
* 3. store hash + data in a buffer
|
||||||
@@ -124,7 +124,7 @@ secure_derive_key (const char *salt, const char *passphrase,
|
|||||||
* \_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _/
|
* \_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _/
|
||||||
* encrypted data
|
* encrypted data
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 0: OK
|
* 0: OK
|
||||||
* -1: not enough memory
|
* -1: not enough memory
|
||||||
* -2: key derive error
|
* -2: key derive error
|
||||||
@@ -260,13 +260,13 @@ encrypt_end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decrypts data using a hash algorithm + cipher + passphrase.
|
* Decrypt data using a hash algorithm + cipher + passphrase.
|
||||||
*
|
*
|
||||||
* The buffer must contain:
|
* The buffer must contain:
|
||||||
* - salt (8 bytes, used to derive a key from the passphrase)
|
* - salt (8 bytes, used to derive a key from the passphrase)
|
||||||
* - encrypted hash(data) + data
|
* - encrypted hash(data) + data
|
||||||
*
|
*
|
||||||
* Following actions are performed:
|
* The following actions are performed:
|
||||||
* 1. check length of buffer (it must have at least salt + hash + some data)
|
* 1. check length of buffer (it must have at least salt + hash + some data)
|
||||||
* 2. derive a key from the passphrase using salt (at beginning of buffer)
|
* 2. derive a key from the passphrase using salt (at beginning of buffer)
|
||||||
* 3. decrypt hash + data in a buffer
|
* 3. decrypt hash + data in a buffer
|
||||||
@@ -274,7 +274,7 @@ encrypt_end:
|
|||||||
* 5. check that decrypted hash is equal to hash of data
|
* 5. check that decrypted hash is equal to hash of data
|
||||||
* 6. return decrypted data
|
* 6. return decrypted data
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 0: OK
|
* 0: OK
|
||||||
* -1: not enough memory
|
* -1: not enough memory
|
||||||
* -2: buffer is not long enough
|
* -2: buffer is not long enough
|
||||||
@@ -410,10 +410,10 @@ decrypt_end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decrypts data still encrypted (data that could not be decrypted when reading
|
* Decrypt data still encrypted (data that could not be decrypted when reading
|
||||||
* secured data configuration file (because no passphrase was given).
|
* secured data configuration file (because no passphrase was given).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* >= 0: number of decrypted data
|
* >= 0: number of decrypted data
|
||||||
* -1: error decrypting data (bad passphrase)
|
* -1: error decrypting data (bad passphrase)
|
||||||
* -2: unsupported hash algorithm
|
* -2: unsupported hash algorithm
|
||||||
@@ -494,9 +494,9 @@ secure_decrypt_data_not_decrypted (const char *passphrase)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes secured data.
|
* Initialize secured data.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -539,7 +539,7 @@ secure_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees all allocated data.
|
* Free all allocated data.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+12
-12
@@ -128,10 +128,10 @@ signal_sigusr2_cb (int signo)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets a signal index with a signal number; only some commonly used signal
|
* Get a signal index with a signal number; only some commonly used signal
|
||||||
* names are supported here (see declaration of signal_list[]).
|
* names are supported here (see declaration of signal_list[]).
|
||||||
*
|
*
|
||||||
* Returns the index of signal in structure string_signal, -1 if not found.
|
* Return the index of signal in structure string_signal, -1 if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -150,10 +150,10 @@ signal_search_number (int signal_number)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets a signal number with a name; only some commonly used signal names are
|
* Get a signal number with a name; only some commonly used signal names are
|
||||||
* supported here (see declaration of signal_list[]).
|
* supported here (see declaration of signal_list[]).
|
||||||
*
|
*
|
||||||
* Returns the signal number, -1 if not found.
|
* Return the signal number, -1 if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -175,7 +175,7 @@ signal_search_name (const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Catches a system signal.
|
* Catch a system signal.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -190,9 +190,9 @@ signal_catch (int signum, void (*handler)(int))
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sends a WeeChat signal on a system signal received.
|
* Send a WeeChat signal on a system signal received.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* WEECHAT_RC_OK: the WeeChat handler must be executed
|
* WEECHAT_RC_OK: the WeeChat handler must be executed
|
||||||
* WEECHAT_RC_OK_EAT: signal eaten, the WeeChat handler must NOT be executed
|
* WEECHAT_RC_OK_EAT: signal eaten, the WeeChat handler must NOT be executed
|
||||||
*/
|
*/
|
||||||
@@ -215,7 +215,7 @@ signal_send_to_weechat (int signal_index)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Evaluates and executes the command bound to a signal.
|
* Evaluate and execute the command bound to a signal.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -253,7 +253,7 @@ signal_exec_command (int signal_index, const char *command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Handles a specific signal received:
|
* Handle a specific signal received.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -278,7 +278,7 @@ signal_handle_number (int signal_number, int count, const char *command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Handles signals received: sends WeeChat signal and executes the configured
|
* Handle signals received: sends WeeChat signal and execute the configured
|
||||||
* command (is signal not eaten).
|
* command (is signal not eaten).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -312,7 +312,7 @@ signal_handle (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Suspends WeeChat process.
|
* Suspend WeeChat process.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -323,7 +323,7 @@ signal_suspend (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes signal.
|
* Initialize signal.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+166
-126
@@ -72,13 +72,13 @@ char **string_concat_buffer[STRING_NUM_CONCAT_BUFFERS];
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Formats a message in a string allocated by the function.
|
* Format a message in a string allocated by the function.
|
||||||
*
|
*
|
||||||
* This function is defined for systems where the GNU function `asprintf()`
|
* This function is defined for systems where the GNU function `asprintf()`
|
||||||
* is not available.
|
* is not available.
|
||||||
* The behavior is almost the same except that `*result` is set to NULL on error.
|
* The behavior is almost the same except that `*result` is set to NULL on error.
|
||||||
*
|
*
|
||||||
* Returns the number of bytes in the resulting string, negative value in case
|
* Return the number of bytes in the resulting string, negative value in case
|
||||||
* of error.
|
* of error.
|
||||||
*
|
*
|
||||||
* Value of `*result` is allocated with the result string (NULL if error),
|
* Value of `*result` is allocated with the result string (NULL if error),
|
||||||
@@ -127,7 +127,7 @@ string_asprintf (char **result, const char *fmt, ...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defines a "strndup" function for systems where this function does not exist
|
* Define a "strndup" function for systems where this function does not exist
|
||||||
* (FreeBSD and maybe others).
|
* (FreeBSD and maybe others).
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
@@ -155,7 +155,7 @@ string_strndup (const char *string, int bytes)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Cuts a string after max "length" chars, adds an optional suffix
|
* Cut a string after max "length" chars, adds an optional suffix
|
||||||
* after the string if it is cut.
|
* after the string if it is cut.
|
||||||
*
|
*
|
||||||
* If count_suffix == 1, the length of suffix is counted in the max length.
|
* If count_suffix == 1, the length of suffix is counted in the max length.
|
||||||
@@ -224,7 +224,7 @@ string_cut (const char *string, int length, int count_suffix, int screen,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reverses a string.
|
* Reverse a string.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -266,7 +266,7 @@ string_reverse (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reverses a string for screen: color codes are not reversed.
|
* Reverse a string for screen: color codes are not reversed.
|
||||||
* For example: reverse of "<red>test" is "test<red>" where the color code
|
* For example: reverse of "<red>test" is "test<red>" where the color code
|
||||||
* "<red>" is kept as-is, so it is still valid (this is not the case with
|
* "<red>" is kept as-is, so it is still valid (this is not the case with
|
||||||
* function string_reverse).
|
* function string_reverse).
|
||||||
@@ -328,7 +328,7 @@ string_reverse_screen (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Repeats a string a given number of times.
|
* Repeat a string a given number of times.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -371,7 +371,7 @@ string_repeat (const char *string, int count)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts string to lowercase (locale dependent).
|
* Convert string to lowercase (locale dependent).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
@@ -414,7 +414,7 @@ string_tolower (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts string to uppercase (locale dependent).
|
* Convert string to uppercase (locale dependent).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
@@ -457,7 +457,7 @@ string_toupper (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts string to lower case (using a range of chars).
|
* Convert string to lower case (using a range of chars).
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -489,7 +489,7 @@ string_tolower_range (const char *string, int range)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts string to upper case (using a range of char).
|
* Convert string to upper case (using a range of char).
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -521,9 +521,9 @@ string_toupper_range (const char *string, int range)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two chars (case-sensitive).
|
* Compare two chars (case-sensitive).
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the first UTF-8 char in string2
|
* Return: arithmetic result of subtracting the first UTF-8 char in string2
|
||||||
* from the first UTF-8 char in string1:
|
* from the first UTF-8 char in string1:
|
||||||
* < 0: string1 < string2
|
* < 0: string1 < string2
|
||||||
* 0: string1 == string2
|
* 0: string1 == string2
|
||||||
@@ -537,9 +537,9 @@ string_charcmp (const char *string1, const char *string2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two chars (case-insensitive).
|
* Compare two chars (case-insensitive).
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the first UTF-8 char in string2
|
* Return: arithmetic result of subtracting the first UTF-8 char in string2
|
||||||
* (converted to lowercase) from the first UTF-8 char in string1 (converted
|
* (converted to lowercase) from the first UTF-8 char in string1 (converted
|
||||||
* to lowercase):
|
* to lowercase):
|
||||||
* < 0: string1 < string2
|
* < 0: string1 < string2
|
||||||
@@ -576,7 +576,7 @@ string_charcasecmp (const char *string1, const char *string2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two chars (case-insensitive using a range).
|
* Compare two chars (case-insensitive using a range).
|
||||||
*
|
*
|
||||||
* The range is the number of chars which can be converted from upper to lower
|
* The range is the number of chars which can be converted from upper to lower
|
||||||
* case. For example 26 = all letters of alphabet, 29 = all letters + 3 chars.
|
* case. For example 26 = all letters of alphabet, 29 = all letters + 3 chars.
|
||||||
@@ -587,7 +587,7 @@ string_charcasecmp (const char *string1, const char *string2)
|
|||||||
* - range = 30: A-Z [ \ ] ^ ==> a-z { | } ~
|
* - range = 30: A-Z [ \ ] ^ ==> a-z { | } ~
|
||||||
* (ranges 29 and 30 are used by some protocols like IRC)
|
* (ranges 29 and 30 are used by some protocols like IRC)
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
* Return: arithmetic result of subtracting the last compared UTF-8 char in
|
||||||
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
||||||
* string1 (converted to lowercase):
|
* string1 (converted to lowercase):
|
||||||
* < 0: string1 < string2
|
* < 0: string1 < string2
|
||||||
@@ -612,9 +612,9 @@ string_charcasecmp_range (const char *string1, const char *string2, int range)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two strings (case-sensitive).
|
* Compare two strings (case-sensitive).
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
* Return: arithmetic result of subtracting the last compared UTF-8 char in
|
||||||
* string2 from the last compared UTF-8 char in string1:
|
* string2 from the last compared UTF-8 char in string1:
|
||||||
* < 0: string1 < string2
|
* < 0: string1 < string2
|
||||||
* 0: string1 == string2
|
* 0: string1 == string2
|
||||||
@@ -646,9 +646,9 @@ string_strcmp (const char *string1, const char *string2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two strings with max length (case-sensitive).
|
* Compare two strings with max length (case-sensitive).
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
* Return: arithmetic result of subtracting the last compared UTF-8 char in
|
||||||
* string2 from the last compared UTF-8 char in string1:
|
* string2 from the last compared UTF-8 char in string1:
|
||||||
* < 0: string1 < string2
|
* < 0: string1 < string2
|
||||||
* 0: string1 == string2
|
* 0: string1 == string2
|
||||||
@@ -685,9 +685,9 @@ string_strncmp (const char *string1, const char *string2, int max)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two strings (case-insensitive).
|
* Compare two strings (case-insensitive).
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
* Return: arithmetic result of subtracting the last compared UTF-8 char in
|
||||||
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
||||||
* string1 (converted to lowercase):
|
* string1 (converted to lowercase):
|
||||||
* < 0: string1 < string2
|
* < 0: string1 < string2
|
||||||
@@ -720,7 +720,7 @@ string_strcasecmp (const char *string1, const char *string2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two strings (case-insensitive using a range).
|
* Compare two strings (case-insensitive using a range).
|
||||||
*
|
*
|
||||||
* The range is the number of chars which can be converted from upper to lower
|
* The range is the number of chars which can be converted from upper to lower
|
||||||
* case. For example 26 = all letters of alphabet, 29 = all letters + 3 chars.
|
* case. For example 26 = all letters of alphabet, 29 = all letters + 3 chars.
|
||||||
@@ -731,7 +731,7 @@ string_strcasecmp (const char *string1, const char *string2)
|
|||||||
* - range = 30: A-Z [ \ ] ^ ==> a-z { | } ~
|
* - range = 30: A-Z [ \ ] ^ ==> a-z { | } ~
|
||||||
* (ranges 29 and 30 are used by some protocols like IRC)
|
* (ranges 29 and 30 are used by some protocols like IRC)
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
* Return: arithmetic result of subtracting the last compared UTF-8 char in
|
||||||
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
||||||
* string1 (converted to lowercase):
|
* string1 (converted to lowercase):
|
||||||
* < 0: string1 < string2
|
* < 0: string1 < string2
|
||||||
@@ -764,9 +764,9 @@ string_strcasecmp_range (const char *string1, const char *string2, int range)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two strings with max length (case-insensitive).
|
* Compare two strings with max length (case-insensitive).
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
* Return: arithmetic result of subtracting the last compared UTF-8 char in
|
||||||
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
||||||
* string1 (converted to lowercase):
|
* string1 (converted to lowercase):
|
||||||
* < 0: string1 < string2
|
* < 0: string1 < string2
|
||||||
@@ -804,7 +804,7 @@ string_strncasecmp (const char *string1, const char *string2, int max)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two strings with max length (case-insensitive using a range).
|
* Compare two strings with max length (case-insensitive using a range).
|
||||||
*
|
*
|
||||||
* The range is the number of chars which can be converted from upper to lower
|
* The range is the number of chars which can be converted from upper to lower
|
||||||
* case. For example 26 = all letters of alphabet, 29 = all letters + 3 chars.
|
* case. For example 26 = all letters of alphabet, 29 = all letters + 3 chars.
|
||||||
@@ -815,7 +815,7 @@ string_strncasecmp (const char *string1, const char *string2, int max)
|
|||||||
* - range = 30: A-Z [ \ ] ^ ==> a-z { | } ~
|
* - range = 30: A-Z [ \ ] ^ ==> a-z { | } ~
|
||||||
* (ranges 29 and 30 are used by some protocols like IRC)
|
* (ranges 29 and 30 are used by some protocols like IRC)
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
* Return: arithmetic result of subtracting the last compared UTF-8 char in
|
||||||
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
* string2 (converted to lowercase) from the last compared UTF-8 char in
|
||||||
* string1 (converted to lowercase):
|
* string1 (converted to lowercase):
|
||||||
* < 0: string1 < string2
|
* < 0: string1 < string2
|
||||||
@@ -854,9 +854,9 @@ string_strncasecmp_range (const char *string1, const char *string2, int max,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two strings, ignoring some chars.
|
* Compare two strings, ignoring some chars.
|
||||||
*
|
*
|
||||||
* Returns: arithmetic result of subtracting the last compared UTF-8 char in
|
* Return: arithmetic result of subtracting the last compared UTF-8 char in
|
||||||
* string2 (converted to lowercase if case_sensitive is set to 0) from the last
|
* string2 (converted to lowercase if case_sensitive is set to 0) from the last
|
||||||
* compared UTF-8 char in string1 (converted to lowercase if case_sensitive is
|
* compared UTF-8 char in string1 (converted to lowercase if case_sensitive is
|
||||||
* set to 0):
|
* set to 0):
|
||||||
@@ -923,9 +923,46 @@ string_strcmp_ignore_chars (const char *string1, const char *string2,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a string in another string (locale and case independent).
|
* Compare two memory areas of the same size in constant time.
|
||||||
*
|
*
|
||||||
* Returns pointer to string found, or NULL if not found.
|
* Use to compare secrets (e.g. password hashes, MACs) without leaking
|
||||||
|
* information through the comparison's running time. The loop always
|
||||||
|
* walks the full "size" bytes and uses only bitwise operations on the
|
||||||
|
* data, so the execution time depends on "size" alone, not on the
|
||||||
|
* position of the first differing byte.
|
||||||
|
*
|
||||||
|
* If either pointer is NULL, the areas are considered different (the
|
||||||
|
* NULL check itself is not constant time but does not look at any
|
||||||
|
* secret content).
|
||||||
|
*
|
||||||
|
* Return:
|
||||||
|
* 0: areas are equal
|
||||||
|
* 1: areas differ
|
||||||
|
*/
|
||||||
|
|
||||||
|
int
|
||||||
|
string_memcmp_constant_time (const void *area1, const void *area2, size_t size)
|
||||||
|
{
|
||||||
|
const unsigned char *p1, *p2;
|
||||||
|
unsigned char diff;
|
||||||
|
size_t i;
|
||||||
|
|
||||||
|
if (!area1 || !area2)
|
||||||
|
return (area1 == area2) ? 0 : 1;
|
||||||
|
|
||||||
|
p1 = (const unsigned char *)area1;
|
||||||
|
p2 = (const unsigned char *)area2;
|
||||||
|
diff = 0;
|
||||||
|
for (i = 0; i < size; i++)
|
||||||
|
diff |= p1[i] ^ p2[i];
|
||||||
|
|
||||||
|
return (diff == 0) ? 0 : 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Search for a string in another string (locale and case independent).
|
||||||
|
*
|
||||||
|
* Return pointer to string found, or NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -950,12 +987,12 @@ string_strcasestr (const char *string, const char *search)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string matches a mask.
|
* Check if a string matches a mask.
|
||||||
*
|
*
|
||||||
* The mask can contain wildcards ("*"), each wildcard matches 0 or more chars
|
* The mask can contain wildcards ("*"), each wildcard matches 0 or more chars
|
||||||
* in the string.
|
* in the string.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: string matches mask
|
* 1: string matches mask
|
||||||
* 0: string does not match mask
|
* 0: string does not match mask
|
||||||
*/
|
*/
|
||||||
@@ -1080,7 +1117,7 @@ string_match (const char *string, const char *mask, int case_sensitive)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string matches a list of masks. Negative masks are allowed
|
* Check if a string matches a list of masks. Negative masks are allowed
|
||||||
* with "!mask" to exclude this mask and have higher priority than standard
|
* with "!mask" to exclude this mask and have higher priority than standard
|
||||||
* masks.
|
* masks.
|
||||||
*
|
*
|
||||||
@@ -1090,7 +1127,7 @@ string_match (const char *string, const char *mask, int case_sensitive)
|
|||||||
* forbidden:
|
* forbidden:
|
||||||
* "*", "!toto", "!abc"
|
* "*", "!toto", "!abc"
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: string matches list of masks
|
* 1: string matches list of masks
|
||||||
* 0: string does not match list of masks
|
* 0: string does not match list of masks
|
||||||
*/
|
*/
|
||||||
@@ -1122,7 +1159,7 @@ string_match_list (const char *string, const char **masks, int case_sensitive)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Expands home in a path.
|
* Expand home in a path.
|
||||||
*
|
*
|
||||||
* Example: "~/file.txt" => "/home/user/file.txt"
|
* Example: "~/file.txt" => "/home/user/file.txt"
|
||||||
*
|
*
|
||||||
@@ -1158,7 +1195,7 @@ string_expand_home (const char *path)
|
|||||||
* 2. "~" by user home directory (call to string_expand_home)
|
* 2. "~" by user home directory (call to string_expand_home)
|
||||||
* 3. evaluated variables (see /help eval)
|
* 3. evaluated variables (see /help eval)
|
||||||
*
|
*
|
||||||
* Returns the evaluated path, NULL if error.
|
* Return the evaluated path, NULL if error.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1225,7 +1262,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes quotes at beginning/end of string (ignores spaces if there are before
|
* Remove quotes at beginning/end of string (ignores spaces if there are before
|
||||||
* first quote or after last quote).
|
* first quote or after last quote).
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
@@ -1268,7 +1305,7 @@ string_remove_quotes (const char *string, const char *quotes)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Strips chars at beginning/end of string.
|
* Strip chars at beginning/end of string.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1311,7 +1348,7 @@ string_strip (const char *string, int left, int right, const char *chars)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts escaped chars to their values.
|
* Convert escaped chars to their values.
|
||||||
*
|
*
|
||||||
* Following escaped chars are supported:
|
* Following escaped chars are supported:
|
||||||
* \" double quote
|
* \" double quote
|
||||||
@@ -1472,9 +1509,9 @@ string_convert_escaped_chars (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if first char of string is a whitespace (space, tab, newline or carriage return).
|
* Check if first char of string is a whitespace (space, tab, newline or carriage return).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: first char is whitespace
|
* 1: first char is whitespace
|
||||||
* 0: first char is not whitespace
|
* 0: first char is not whitespace
|
||||||
*/
|
*/
|
||||||
@@ -1490,11 +1527,11 @@ string_is_whitespace_char (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if first char of string is a "word char".
|
* Check if first char of string is a "word char".
|
||||||
*
|
*
|
||||||
* The word chars are customizable with options "weechat.look.word_chars_*".
|
* The word chars are customizable with options "weechat.look.word_chars_*".
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: first char is a word char
|
* 1: first char is a word char
|
||||||
* 0: first char is not a word char
|
* 0: first char is not a word char
|
||||||
*/
|
*/
|
||||||
@@ -1540,12 +1577,12 @@ string_is_word_char (const char *string,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if first char of string is a "word char" (for highlight).
|
* Check if first char of string is a "word char" (for highlight).
|
||||||
*
|
*
|
||||||
* The word chars for highlights are customizable with option
|
* The word chars for highlights are customizable with option
|
||||||
* "weechat.look.word_chars_highlight".
|
* "weechat.look.word_chars_highlight".
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: first char is a word char
|
* 1: first char is a word char
|
||||||
* 0: first char is not a word char
|
* 0: first char is not a word char
|
||||||
*/
|
*/
|
||||||
@@ -1559,12 +1596,12 @@ string_is_word_char_highlight (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if first char of string is a "word char" (for input).
|
* Check if first char of string is a "word char" (for input).
|
||||||
*
|
*
|
||||||
* The word chars for input are customizable with option
|
* The word chars for input are customizable with option
|
||||||
* "weechat.look.word_chars_input".
|
* "weechat.look.word_chars_input".
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: first char is a word char
|
* 1: first char is a word char
|
||||||
* 0: first char is not a word char
|
* 0: first char is not a word char
|
||||||
*/
|
*/
|
||||||
@@ -1578,7 +1615,7 @@ string_is_word_char_input (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts a mask (string with only "*" as wildcard) to a regex, paying
|
* Convert a mask (string with only "*" as wildcard) to a regex, paying
|
||||||
* attention to special chars in a regex.
|
* attention to special chars in a regex.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
@@ -1630,7 +1667,7 @@ string_mask_to_regex (const char *mask)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extracts flags and regex from a string.
|
* Extract flags and regex from a string.
|
||||||
*
|
*
|
||||||
* Format of flags is: (?eins-eins)string
|
* Format of flags is: (?eins-eins)string
|
||||||
* Flags are:
|
* Flags are:
|
||||||
@@ -1706,10 +1743,10 @@ string_regex_flags (const char *regex, int default_flags, int *flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compiles a regex using optional flags at beginning of string (for format of
|
* Compile a regex using optional flags at beginning of string (for format of
|
||||||
* flags in regex, see string_regex_flags()).
|
* flags in regex, see string_regex_flags()).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 0: successful compilation
|
* 0: successful compilation
|
||||||
* other value: compilation failed
|
* other value: compilation failed
|
||||||
*
|
*
|
||||||
@@ -1733,9 +1770,9 @@ string_regcomp (void *preg, const char *regex, int default_flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string has a highlight (using list of words to highlight).
|
* Check if a string has a highlight (using list of words to highlight).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: string has a highlight
|
* 1: string has a highlight
|
||||||
* 0: string has no highlight
|
* 0: string has no highlight
|
||||||
*/
|
*/
|
||||||
@@ -1840,7 +1877,7 @@ string_has_highlight (const char *string, const char *highlight_words)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string has a highlight using a compiled regular expression (any
|
* Check if a string has a highlight using a compiled regular expression (any
|
||||||
* match in string must be surrounded by delimiters).
|
* match in string must be surrounded by delimiters).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1889,7 +1926,7 @@ string_has_highlight_regex_compiled (const char *string, regex_t *regex)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string has a highlight using a regular expression (any match in
|
* Check if a string has a highlight using a regular expression (any match in
|
||||||
* string must be surrounded by delimiters).
|
* string must be surrounded by delimiters).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1913,7 +1950,7 @@ string_has_highlight_regex (const char *string, const char *regex)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Replaces a string by new one in a string.
|
* Replace a string by new one in a string.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -1928,6 +1965,9 @@ string_replace (const char *string, const char *search, const char *replace)
|
|||||||
if (!string || !search || !replace)
|
if (!string || !search || !replace)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
if (!search[0])
|
||||||
|
return strdup (string);
|
||||||
|
|
||||||
length1 = strlen (search);
|
length1 = strlen (search);
|
||||||
length2 = strlen (replace);
|
length2 = strlen (replace);
|
||||||
|
|
||||||
@@ -2140,7 +2180,7 @@ string_replace_regex_get_replace (const char *string, regmatch_t *regex_match,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Replaces text in a string using a regular expression and replacement text.
|
* Replace text in a string using a regular expression and replacement text.
|
||||||
*
|
*
|
||||||
* The argument "regex" is a pointer to a regex compiled with WeeChat function
|
* The argument "regex" is a pointer to a regex compiled with WeeChat function
|
||||||
* string_regcomp (or function regcomp).
|
* string_regcomp (or function regcomp).
|
||||||
@@ -2262,7 +2302,7 @@ string_replace_regex (const char *string, void *regex, const char *replace,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Translates chars by other ones in a string.
|
* Translate chars by other ones in a string.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -2314,7 +2354,7 @@ string_translate_chars (const char *string,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Splits a string according to separators.
|
* Split a string according to separators.
|
||||||
*
|
*
|
||||||
* This function must not be called directly (call string_split or
|
* This function must not be called directly (call string_split or
|
||||||
* string_split_shared instead).
|
* string_split_shared instead).
|
||||||
@@ -2607,7 +2647,7 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Splits a string according to separators.
|
* Split a string according to separators.
|
||||||
*
|
*
|
||||||
* For full description, see function string_split_internal.
|
* For full description, see function string_split_internal.
|
||||||
*/
|
*/
|
||||||
@@ -2622,7 +2662,7 @@ string_split (const char *string, const char *separators,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Splits a string according to separators, and use shared strings for the
|
* Split a string according to separators, and use shared strings for the
|
||||||
* strings in the array returned.
|
* strings in the array returned.
|
||||||
*
|
*
|
||||||
* For full description, see function string_split_internal.
|
* For full description, see function string_split_internal.
|
||||||
@@ -2638,7 +2678,7 @@ string_split_shared (const char *string, const char *separators,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Splits a string like the shell does for a command with arguments.
|
* Split a string like the shell does for a command with arguments.
|
||||||
*
|
*
|
||||||
* This function is a C conversion of Python class "shlex"
|
* This function is a C conversion of Python class "shlex"
|
||||||
* (file: Lib/shlex.py in Python repository)
|
* (file: Lib/shlex.py in Python repository)
|
||||||
@@ -2836,7 +2876,7 @@ string_split_shell (const char *string, int *num_items)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a split string.
|
* Free a split string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -2853,7 +2893,7 @@ string_free_split (char **split_string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a split string (using shared strings).
|
* Free a split string (using shared strings).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -2870,7 +2910,7 @@ string_free_split_shared (char **split_string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Rebuilds a split string using a delimiter and optional index of start/end
|
* Rebuild a split string using a delimiter and optional index of start/end
|
||||||
* string.
|
* string.
|
||||||
*
|
*
|
||||||
* If index_end < 0, then all arguments are used until NULL is found.
|
* If index_end < 0, then all arguments are used until NULL is found.
|
||||||
@@ -2914,7 +2954,7 @@ string_rebuild_split_string (const char **split_string,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Splits a list of commands separated by 'separator' and escaped with '\'.
|
* Split a list of commands separated by 'separator' and escaped with '\'.
|
||||||
* Empty commands are removed, spaces on the left of each commands are stripped.
|
* Empty commands are removed, spaces on the left of each commands are stripped.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use with function
|
* Note: result must be freed after use with function
|
||||||
@@ -3005,7 +3045,7 @@ string_split_command (const char *command, char separator)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a command split.
|
* Free a command split.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -3022,7 +3062,7 @@ string_free_split_command (char **split_command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Splits tags in an array of tags.
|
* Split tags in an array of tags.
|
||||||
*
|
*
|
||||||
* The format of tags is a list of tags separated by commas (logical OR),
|
* The format of tags is a list of tags separated by commas (logical OR),
|
||||||
* and for each item, multiple tags can be separated by "+" (logical AND).
|
* and for each item, multiple tags can be separated by "+" (logical AND).
|
||||||
@@ -3074,7 +3114,7 @@ string_split_tags (const char *tags, int *num_tags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees tags split.
|
* Free tags split.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -3091,7 +3131,7 @@ string_free_split_tags (char ***split_tags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts a string to another charset.
|
* Convert a string to another charset.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -3207,7 +3247,7 @@ string_iconv (int from_utf8, const char *from_code, const char *to_code,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts a string to WeeChat internal storage charset (UTF-8).
|
* Convert a string to WeeChat internal storage charset (UTF-8).
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -3247,7 +3287,7 @@ string_iconv_to_internal (const char *charset, const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts internal string to terminal charset, for display or write of
|
* Convert internal string to terminal charset, for display or write of
|
||||||
* configuration files.
|
* configuration files.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
@@ -3289,9 +3329,9 @@ string_iconv_from_internal (const char *charset, const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encodes a string to terminal charset and calls fprintf.
|
* Encode a string to terminal charset and calls fprintf.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -3321,7 +3361,7 @@ string_fprintf (FILE *file, const char *data, ...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Formats a string with size and unit name (bytes, KB, MB, GB).
|
* Format a string with size and unit name (bytes, KB, MB, GB).
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -3375,7 +3415,7 @@ string_format_size (unsigned long long size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parses a string with a size and returns the size in bytes.
|
* Parse a string with a size and return the size in bytes.
|
||||||
*
|
*
|
||||||
* The format is "123" or "123x" or "123 x" where "123" is any positive
|
* The format is "123" or "123x" or "123 x" where "123" is any positive
|
||||||
* integer number and "x" the unit, which can be one of (lower or upper case
|
* integer number and "x" the unit, which can be one of (lower or upper case
|
||||||
@@ -3387,7 +3427,7 @@ string_format_size (unsigned long long size)
|
|||||||
* g gigabytes (1g = 1000m = 1,000,000,000 bytes)
|
* g gigabytes (1g = 1000m = 1,000,000,000 bytes)
|
||||||
* t terabytes (1t = 1000g = 1,000,000,000,000 bytes)
|
* t terabytes (1t = 1000g = 1,000,000,000,000 bytes)
|
||||||
*
|
*
|
||||||
* Returns the parsed size, 0 if error.
|
* Return the parsed size, 0 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned long long
|
unsigned long long
|
||||||
@@ -3465,12 +3505,12 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encodes a string in base16 (hexadecimal).
|
* Encode a string in base16 (hexadecimal).
|
||||||
*
|
*
|
||||||
* Argument "length" is number of bytes in "from" to convert (commonly
|
* Argument "length" is number of bytes in "from" to convert (commonly
|
||||||
* strlen(from)).
|
* strlen(from)).
|
||||||
*
|
*
|
||||||
* Returns length of string in "*to" (it does not count final \0),
|
* Return length of string in "*to" (it does not count final \0),
|
||||||
* -1 if error.
|
* -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -3496,9 +3536,9 @@ string_base16_encode (const char *from, int length, char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decodes a base16 string (hexadecimal).
|
* Decode a base16 string (hexadecimal).
|
||||||
*
|
*
|
||||||
* Returns length of string in "*to" (it does not count final \0),
|
* Return length of string in "*to" (it does not count final \0),
|
||||||
* -1 if error.
|
* -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -3543,7 +3583,7 @@ string_base16_decode (const char *from, char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encodes a string in base32.
|
* Encode a string in base32.
|
||||||
*
|
*
|
||||||
* Argument "length" is number of bytes in "from" to convert (commonly
|
* Argument "length" is number of bytes in "from" to convert (commonly
|
||||||
* strlen(from)).
|
* strlen(from)).
|
||||||
@@ -3568,7 +3608,7 @@ string_base16_decode (const char *from, char *to)
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
* Returns length of string in "*to" (it does not count final \0),
|
* Return length of string in "*to" (it does not count final \0),
|
||||||
* -1 if error.
|
* -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -3624,7 +3664,7 @@ string_base32_encode (const char *from, int length, char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decodes a base32 string.
|
* Decode a base32 string.
|
||||||
*
|
*
|
||||||
* This function is inspired by:
|
* This function is inspired by:
|
||||||
* https://github.com/google/google-authenticator-libpam/blob/master/src/base32.c
|
* https://github.com/google/google-authenticator-libpam/blob/master/src/base32.c
|
||||||
@@ -3647,7 +3687,7 @@ string_base32_encode (const char *from, int length, char *to)
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Returns length of string in "*to" (it does not count final \0),
|
* Return length of string in "*to" (it does not count final \0),
|
||||||
* -1 if error.
|
* -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -3704,7 +3744,7 @@ string_base32_decode (const char *from, char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts 3 bytes of 8 bits in 4 bytes of 6 bits.
|
* Convert 3 bytes of 8 bits in 4 bytes of 6 bits.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -3725,7 +3765,7 @@ string_convbase64_8x3_to_6x4 (int url, const char *from, char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encodes a string in base64.
|
* Encode a string in base64.
|
||||||
*
|
*
|
||||||
* If url == 1, base64url is decoded, otherwise standard base64.
|
* If url == 1, base64url is decoded, otherwise standard base64.
|
||||||
*
|
*
|
||||||
@@ -3737,7 +3777,7 @@ string_convbase64_8x3_to_6x4 (int url, const char *from, char *to)
|
|||||||
* Argument "length" is number of bytes in "from" to convert (commonly
|
* Argument "length" is number of bytes in "from" to convert (commonly
|
||||||
* strlen(from)).
|
* strlen(from)).
|
||||||
*
|
*
|
||||||
* Returns length of string in "*to" (it does not count final \0),
|
* Return length of string in "*to" (it does not count final \0),
|
||||||
* -1 if error.
|
* -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -3802,7 +3842,7 @@ string_base64_encode (int url, const char *from, int length, char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts 4 bytes of 6 bits to 3 bytes of 8 bits.
|
* Convert 4 bytes of 6 bits to 3 bytes of 8 bits.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -3814,7 +3854,7 @@ string_convbase64_6x4_to_8x3 (const unsigned char *from, unsigned char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decodes a base64 string.
|
* Decode a base64 string.
|
||||||
*
|
*
|
||||||
* If url == 1, base64url is decoded, otherwise standard base64.
|
* If url == 1, base64url is decoded, otherwise standard base64.
|
||||||
*
|
*
|
||||||
@@ -3823,7 +3863,7 @@ string_convbase64_6x4_to_8x3 (const unsigned char *from, unsigned char *to)
|
|||||||
* "/" --> “_” (underline)
|
* "/" --> “_” (underline)
|
||||||
* no padding char ("=")
|
* no padding char ("=")
|
||||||
*
|
*
|
||||||
* Returns length of string in "*to" (it does not count final \0),
|
* Return length of string in "*to" (it does not count final \0),
|
||||||
* -1 if error.
|
* -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -3892,14 +3932,14 @@ string_base64_decode (int url, const char *from, char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encodes a string, according to "base" parameter:
|
* Encode a string, according to "base" parameter:
|
||||||
* - "16": base16
|
* - "16": base16
|
||||||
* - "32": base32
|
* - "32": base32
|
||||||
* - "64": base64
|
* - "64": base64
|
||||||
* - "64url": base64url: same as base64 with no padding ("="), chars replaced:
|
* - "64url": base64url: same as base64 with no padding ("="), chars replaced:
|
||||||
* “+” --> “-” and "/" --> “_”
|
* “+” --> “-” and "/" --> “_”
|
||||||
*
|
*
|
||||||
* Returns length of string in "*to" (it does not count final \0),
|
* Return length of string in "*to" (it does not count final \0),
|
||||||
* -1 if error.
|
* -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -3925,14 +3965,14 @@ string_base_encode (const char *base, const char *from, int length, char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decodes a string, according to "base" parameter:
|
* Decode a string, according to "base" parameter:
|
||||||
* - "16": base16
|
* - "16": base16
|
||||||
* - "32": base32
|
* - "32": base32
|
||||||
* - "64": base64
|
* - "64": base64
|
||||||
* - "64url": base64url: same as base64 with no padding ("="), chars replaced:
|
* - "64url": base64url: same as base64 with no padding ("="), chars replaced:
|
||||||
* “+” --> “-” and "/" --> “_”
|
* “+” --> “-” and "/" --> “_”
|
||||||
*
|
*
|
||||||
* Returns length of string in "*to" (it does not count final \0),
|
* Return length of string in "*to" (it does not count final \0),
|
||||||
* -1 if error.
|
* -1 if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -3958,7 +3998,7 @@ string_base_decode (const char *base, const char *from, char *to)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Dumps a data buffer as hexadecimal + ascii.
|
* Dump a data buffer as hexadecimal + ascii.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -4059,9 +4099,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string is a command.
|
* Check if a string is a command.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: first char of string is a command char
|
* 1: first char of string is a command char
|
||||||
* 0: string is not a command
|
* 0: string is not a command
|
||||||
*/
|
*/
|
||||||
@@ -4092,9 +4132,9 @@ string_is_command_char (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer to input text for buffer.
|
* Get pointer to input text for buffer.
|
||||||
*
|
*
|
||||||
* Returns pointer inside "string" argument or NULL if it's a command (by
|
* Return pointer inside "string" argument or NULL if it's a command (by
|
||||||
* default a command starts with a single '/').
|
* default a command starts with a single '/').
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -4159,7 +4199,7 @@ string_input_for_buffer (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the number of bytes in common between two strings (this function
|
* Return the number of bytes in common between two strings (this function
|
||||||
* works with bytes and not UTF-8 chars).
|
* works with bytes and not UTF-8 chars).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -4184,7 +4224,7 @@ string_get_common_bytes_count (const char *string1, const char *string2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the distance between two strings using the Levenshtein algorithm.
|
* Return the distance between two strings using the Levenshtein algorithm.
|
||||||
* See: https://en.wikipedia.org/wiki/Levenshtein_distance
|
* See: https://en.wikipedia.org/wiki/Levenshtein_distance
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -4244,7 +4284,7 @@ string_levenshtein (const char *string1, const char *string2,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Replaces ${vars} using a callback that returns replacement value (this value
|
* Replace ${vars} using a callback that return replacement value (this value
|
||||||
* must be newly allocated because it will be freed in this function).
|
* must be newly allocated because it will be freed in this function).
|
||||||
*
|
*
|
||||||
* Nested variables are supported, for example: "${var1:${var2}}".
|
* Nested variables are supported, for example: "${var1:${var2}}".
|
||||||
@@ -4425,7 +4465,7 @@ string_replace_with_callback (const char *string,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extracts priority and name from a string.
|
* Extract priority and name from a string.
|
||||||
*
|
*
|
||||||
* String can be:
|
* String can be:
|
||||||
* - a simple name like "test":
|
* - a simple name like "test":
|
||||||
@@ -4471,10 +4511,10 @@ string_get_priority_and_name (const char *string,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hashes a shared string.
|
* Hash a shared string.
|
||||||
* The string starts after the reference count, which is skipped.
|
* The string starts after the reference count, which is skipped.
|
||||||
*
|
*
|
||||||
* Returns the hash of the shared string (variant of djb2).
|
* Return the hash of the shared string (variant of djb2).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned long long
|
unsigned long long
|
||||||
@@ -4488,10 +4528,10 @@ string_shared_hash_key (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two shared strings.
|
* Compare two shared strings.
|
||||||
* Each string starts after the reference count, which is skipped.
|
* Each string starts after the reference count, which is skipped.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* < 0: key1 < key2
|
* < 0: key1 < key2
|
||||||
* 0: key1 == key2
|
* 0: key1 == key2
|
||||||
* > 0: key1 > key2
|
* > 0: key1 > key2
|
||||||
@@ -4509,7 +4549,7 @@ string_shared_keycmp (struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a shared string.
|
* Free a shared string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4522,7 +4562,7 @@ string_shared_free_key (struct t_hashtable *hashtable, void *key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets a pointer to a shared string.
|
* Get a pointer to a shared string.
|
||||||
*
|
*
|
||||||
* A shared string is an entry in the hashtable "string_hashtable_shared", with:
|
* A shared string is an entry in the hashtable "string_hashtable_shared", with:
|
||||||
* - key: reference count (unsigned integer on 32 bits) + string
|
* - key: reference count (unsigned integer on 32 bits) + string
|
||||||
@@ -4531,7 +4571,7 @@ string_shared_free_key (struct t_hashtable *hashtable, void *key)
|
|||||||
* The initial reference count is set to 1 and is incremented each time this
|
* The initial reference count is set to 1 and is incremented each time this
|
||||||
* function is called for a same string (string content, not the pointer).
|
* function is called for a same string (string content, not the pointer).
|
||||||
*
|
*
|
||||||
* Returns the pointer to the shared string (start of string in key, after the
|
* Return the pointer to the shared string (start of string in key, after the
|
||||||
* reference count), NULL if error.
|
* reference count), NULL if error.
|
||||||
* The string returned has exactly same content as string received in argument,
|
* The string returned has exactly same content as string received in argument,
|
||||||
* but the pointer to the string is different.
|
* but the pointer to the string is different.
|
||||||
@@ -4597,7 +4637,7 @@ string_shared_get (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a shared string.
|
* Free a shared string.
|
||||||
*
|
*
|
||||||
* The reference count of the string is decremented. If it becomes 0, then the
|
* The reference count of the string is decremented. If it becomes 0, then the
|
||||||
* shared string is removed from the hashtable (and then the string is really
|
* shared string is removed from the hashtable (and then the string is really
|
||||||
@@ -4621,12 +4661,12 @@ string_shared_free (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocates a dynamic string (with a variable length).
|
* Allocate a dynamic string (with a variable length).
|
||||||
*
|
*
|
||||||
* The parameter size_alloc is the initial allocated size, which must be
|
* The parameter size_alloc is the initial allocated size, which must be
|
||||||
* greater than zero.
|
* greater than zero.
|
||||||
*
|
*
|
||||||
* Returns the pointer to the allocated string, which is initialized as empty
|
* Return the pointer to the allocated string, which is initialized as empty
|
||||||
* string.
|
* string.
|
||||||
*
|
*
|
||||||
* The string returned can be used with following restrictions:
|
* The string returned can be used with following restrictions:
|
||||||
@@ -4667,14 +4707,14 @@ string_dyn_alloc (int size_alloc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copies "new_string" into a dynamic string and replaces its current content
|
* Copy "new_string" into a dynamic string and replaces its current content
|
||||||
* (adjusts its size accordingly).
|
* (adjusts its size accordingly).
|
||||||
*
|
*
|
||||||
* The string pointer (*string) is updated with the new allocated string
|
* The string pointer (*string) is updated with the new allocated string
|
||||||
* if the string had to be extended, or the same pointer if there was enough
|
* if the string had to be extended, or the same pointer if there was enough
|
||||||
* size to copy the new string.
|
* size to copy the new string.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -4718,7 +4758,7 @@ string_dyn_copy (char **string, const char *new_string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Concatenates a string to a dynamic string and adjusts its size accordingly.
|
* Concatenate a string to a dynamic string and adjusts its size accordingly.
|
||||||
*
|
*
|
||||||
* The parameter "bytes" is the max number of bytes to concatenate
|
* The parameter "bytes" is the max number of bytes to concatenate
|
||||||
* (a terminating null byte '\0' is automatically added); value -1 means
|
* (a terminating null byte '\0' is automatically added); value -1 means
|
||||||
@@ -4728,7 +4768,7 @@ string_dyn_copy (char **string, const char *new_string)
|
|||||||
* if the string had to be extended, or the same pointer if there was enough
|
* if the string had to be extended, or the same pointer if there was enough
|
||||||
* size to concatenate the new string.
|
* size to concatenate the new string.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -4783,7 +4823,7 @@ string_dyn_concat (char **string, const char *add, int bytes)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a dynamic string.
|
* Free a dynamic string.
|
||||||
*
|
*
|
||||||
* The argument "string" is a pointer on a string returned by function
|
* The argument "string" is a pointer on a string returned by function
|
||||||
* string_dyn_alloc or a string pointer modified by string_dyn_concat.
|
* string_dyn_alloc or a string pointer modified by string_dyn_concat.
|
||||||
@@ -4795,7 +4835,7 @@ string_dyn_concat (char **string, const char *add, int bytes)
|
|||||||
* Be careful, the pointer in *string may change after this call because
|
* Be careful, the pointer in *string may change after this call because
|
||||||
* the string can be reallocated to its exact size.
|
* the string can be reallocated to its exact size.
|
||||||
*
|
*
|
||||||
* Returns the pointer to the string if "free_string" is 0 (string
|
* Return the pointer to the string if "free_string" is 0 (string
|
||||||
* pointer is still valid), or NULL if "free_string" is 1 (string
|
* pointer is still valid), or NULL if "free_string" is 1 (string
|
||||||
* has been freed).
|
* has been freed).
|
||||||
*/
|
*/
|
||||||
@@ -4835,7 +4875,7 @@ string_dyn_free (char **string, int free_string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Concatenates strings, using a separator (which can be NULL or empty string
|
* Concatenate strings, using a separator (which can be NULL or empty string
|
||||||
* to not use any separator).
|
* to not use any separator).
|
||||||
*
|
*
|
||||||
* Last argument must be NULL to terminate the variable list of arguments.
|
* Last argument must be NULL to terminate the variable list of arguments.
|
||||||
@@ -4882,7 +4922,7 @@ string_concat (const char *separator, ...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes string.
|
* Initialize string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -4897,7 +4937,7 @@ string_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees all allocated data.
|
* Free all allocated data.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -69,6 +69,8 @@ extern int string_strcmp_ignore_chars (const char *string1,
|
|||||||
const char *string2,
|
const char *string2,
|
||||||
const char *chars_ignored,
|
const char *chars_ignored,
|
||||||
int case_sensitive);
|
int case_sensitive);
|
||||||
|
extern int string_memcmp_constant_time (const void *area1, const void *area2,
|
||||||
|
size_t size);
|
||||||
extern const char *string_strcasestr (const char *string, const char *search);
|
extern const char *string_strcasestr (const char *string, const char *search);
|
||||||
extern int string_match (const char *string, const char *mask,
|
extern int string_match (const char *string, const char *mask,
|
||||||
int case_sensitive);
|
int case_sensitive);
|
||||||
|
|||||||
+5
-5
@@ -104,7 +104,7 @@ struct t_rlimit_resource rlimit_resource[] =
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets resource limit.
|
* Set resource limit.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_SYS_RESOURCE_H
|
#ifdef HAVE_SYS_RESOURCE_H
|
||||||
@@ -174,7 +174,7 @@ sys_setrlimit_resource (const char *resource_name, long long limit)
|
|||||||
#endif /* HAVE_SYS_RESOURCE_H */
|
#endif /* HAVE_SYS_RESOURCE_H */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets resource limits using value of option "weechat.startup.sys_rlimit".
|
* Set resource limits using value of option "weechat.startup.sys_rlimit".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -220,7 +220,7 @@ sys_setrlimit (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays resource limits.
|
* Display resource limits.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -278,7 +278,7 @@ sys_display_rlimit (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays resource usage.
|
* Display resource usage.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -346,7 +346,7 @@ sys_display_rusage (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calls waitpid() to acknowledge the end of forked processes, thus preventing
|
* Call waitpid() to acknowledge the end of forked processes, thus preventing
|
||||||
* them to become zombies.
|
* them to become zombies.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ struct t_upgrade_file *last_upgrade_file = NULL;
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays an error with upgrade.
|
* Display an error with upgrade.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -85,9 +85,9 @@ upgrade_file_error (struct t_upgrade_file *upgrade_file, char *message1,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes an integer value in upgrade file.
|
* Write an integer value in upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -102,9 +102,9 @@ upgrade_file_write_integer (struct t_upgrade_file *upgrade_file, int value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes a time value in upgrade file.
|
* Write a time value in upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -119,9 +119,9 @@ upgrade_file_write_time (struct t_upgrade_file *upgrade_file, time_t date)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes a string in upgrade file.
|
* Write a string in upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -150,9 +150,9 @@ upgrade_file_write_string (struct t_upgrade_file *upgrade_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes a buffer in upgrade file.
|
* Write a buffer in upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -178,11 +178,11 @@ upgrade_file_write_buffer (struct t_upgrade_file *upgrade_file, void *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates an upgrade file.
|
* Create an upgrade file.
|
||||||
*
|
*
|
||||||
* If write == 1, then opens in write mode, otherwise in read mode.
|
* If write == 1, then opens in write mode, otherwise in read mode.
|
||||||
*
|
*
|
||||||
* Returns pointer to new upgrade file, NULL if error.
|
* Return pointer to new upgrade file, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_upgrade_file *
|
struct t_upgrade_file *
|
||||||
@@ -255,9 +255,9 @@ upgrade_file_new (const char *filename,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes an object in upgrade file.
|
* Write an object in upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -414,9 +414,9 @@ upgrade_file_write_object (struct t_upgrade_file *upgrade_file, int object_id,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads an integer in upgrade file.
|
* Read an integer in upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -441,9 +441,9 @@ upgrade_file_read_integer (struct t_upgrade_file *upgrade_file, int *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a string in upgrade file.
|
* Read a string in upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -491,9 +491,9 @@ upgrade_file_read_string (struct t_upgrade_file *upgrade_file, char **string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a buffer in upgrade file.
|
* Read a buffer in upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -537,9 +537,9 @@ upgrade_file_read_buffer (struct t_upgrade_file *upgrade_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads time in upgrade file.
|
* Read time in upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -565,9 +565,9 @@ upgrade_file_read_time (struct t_upgrade_file *upgrade_file, time_t *time)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads an object in upgrade file and calls read callback.
|
* Read an object in upgrade file and calls read callback.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -600,7 +600,7 @@ upgrade_file_read_object (struct t_upgrade_file *upgrade_file)
|
|||||||
|
|
||||||
if (type != UPGRADE_TYPE_OBJECT_START)
|
if (type != UPGRADE_TYPE_OBJECT_START)
|
||||||
{
|
{
|
||||||
UPGRADE_ERROR(_("read - bad object type ('object start' expected)"), "");
|
UPGRADE_ERROR(_("read - bad object type (\"object start\" expected)"), "");
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -716,9 +716,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads an upgrade file.
|
* Read an upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -758,7 +758,7 @@ upgrade_file_read (struct t_upgrade_file *upgrade_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Closes and frees an upgrade file.
|
* Close and frees an upgrade file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+23
-23
@@ -59,10 +59,10 @@ struct t_gui_layout *upgrade_layout = NULL;
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Saves history in WeeChat upgrade file (from last to first, to restore it in
|
* Save history in WeeChat upgrade file (from last to first, to restore it in
|
||||||
* good order).
|
* good order).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -113,9 +113,9 @@ upgrade_weechat_save_history (struct t_upgrade_file *upgrade_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Saves buffers in WeeChat upgrade file.
|
* Save buffers in WeeChat upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -202,9 +202,9 @@ upgrade_weechat_save_buffers (struct t_upgrade_file *upgrade_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Saves miscellaneous info in WeeChat upgrade file.
|
* Save miscellaneous info in WeeChat upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -251,9 +251,9 @@ upgrade_weechat_save_misc (struct t_upgrade_file *upgrade_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Saves hotlist in WeeChat upgrade file.
|
* Save hotlist in WeeChat upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -288,9 +288,9 @@ upgrade_weechat_save_hotlist (struct t_upgrade_file *upgrade_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Saves tree with layout for windows in WeeChat upgrade file.
|
* Save tree with layout for windows in WeeChat upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -338,9 +338,9 @@ upgrade_weechat_save_layout_window_tree (struct t_upgrade_file *upgrade_file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Saves layout for windows in WeeChat upgrade file.
|
* Save layout for windows in WeeChat upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -370,9 +370,9 @@ upgrade_weechat_save_layout_window (struct t_upgrade_file *upgrade_file)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Saves WeeChat upgrade file.
|
* Save WeeChat upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -401,7 +401,7 @@ upgrade_weechat_save (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a buffer from infolist.
|
* Read a buffer from infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -647,7 +647,7 @@ upgrade_weechat_read_buffer (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a buffer line from infolist.
|
* Read a buffer line from infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -704,7 +704,7 @@ upgrade_weechat_read_buffer_line (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads a nicklist from infolist.
|
* Read a nicklist from infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -781,7 +781,7 @@ upgrade_weechat_read_nicklist (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads hotlist from infolist.
|
* Read hotlist from infolist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -832,7 +832,7 @@ upgrade_weechat_read_hotlist (struct t_infolist *infolist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads WeeChat upgrade file.
|
* Read WeeChat upgrade file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -898,9 +898,9 @@ upgrade_weechat_read_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Loads WeeChat upgrade file.
|
* Load WeeChat upgrade file.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -956,7 +956,7 @@ upgrade_weechat_load (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes a .upgrade file (callback called for each .upgrade file in WeeChat
|
* Remove a .upgrade file (callback called for each .upgrade file in WeeChat
|
||||||
* home directory).
|
* home directory).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -975,7 +975,7 @@ upgrade_weechat_remove_file_cb (void *data, const char *filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes *.upgrade files after upgrade and send signal "weechat_upgrade_done".
|
* Remove *.upgrade files after upgrade and send signal "weechat_upgrade_done".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+21
-17
@@ -89,12 +89,14 @@ struct t_url_constant url_protocols[] =
|
|||||||
URL_DEF_CONST(PROTO, SMTP),
|
URL_DEF_CONST(PROTO, SMTP),
|
||||||
URL_DEF_CONST(PROTO, SMTPS),
|
URL_DEF_CONST(PROTO, SMTPS),
|
||||||
URL_DEF_CONST(PROTO, RTSP),
|
URL_DEF_CONST(PROTO, RTSP),
|
||||||
|
#if LIBCURL_VERSION_NUM < 0x081400 /* < 8.20.0 */
|
||||||
URL_DEF_CONST(PROTO, RTMP),
|
URL_DEF_CONST(PROTO, RTMP),
|
||||||
URL_DEF_CONST(PROTO, RTMPT),
|
URL_DEF_CONST(PROTO, RTMPT),
|
||||||
URL_DEF_CONST(PROTO, RTMPE),
|
URL_DEF_CONST(PROTO, RTMPE),
|
||||||
URL_DEF_CONST(PROTO, RTMPTE),
|
URL_DEF_CONST(PROTO, RTMPTE),
|
||||||
URL_DEF_CONST(PROTO, RTMPS),
|
URL_DEF_CONST(PROTO, RTMPS),
|
||||||
URL_DEF_CONST(PROTO, RTMPTS),
|
URL_DEF_CONST(PROTO, RTMPTS),
|
||||||
|
#endif
|
||||||
URL_DEF_CONST(PROTO, GOPHER),
|
URL_DEF_CONST(PROTO, GOPHER),
|
||||||
URL_DEF_CONST(PROTO, SMB),
|
URL_DEF_CONST(PROTO, SMB),
|
||||||
URL_DEF_CONST(PROTO, SMBS),
|
URL_DEF_CONST(PROTO, SMBS),
|
||||||
@@ -123,7 +125,9 @@ struct t_url_constant url_auth[] =
|
|||||||
URL_DEF_CONST(AUTH, NTLM),
|
URL_DEF_CONST(AUTH, NTLM),
|
||||||
URL_DEF_CONST(AUTH, ANY),
|
URL_DEF_CONST(AUTH, ANY),
|
||||||
URL_DEF_CONST(AUTH, ANYSAFE),
|
URL_DEF_CONST(AUTH, ANYSAFE),
|
||||||
|
#if LIBCURL_VERSION_NUM < 0x081500 /* < 8.21.0 */
|
||||||
URL_DEF_CONST(AUTH, DIGEST_IE),
|
URL_DEF_CONST(AUTH, DIGEST_IE),
|
||||||
|
#endif
|
||||||
URL_DEF_CONST(AUTH, ONLY),
|
URL_DEF_CONST(AUTH, ONLY),
|
||||||
#if LIBCURL_VERSION_NUM < 0x080800 /* < 8.8.0 */
|
#if LIBCURL_VERSION_NUM < 0x080800 /* < 8.8.0 */
|
||||||
URL_DEF_CONST(AUTH, NTLM_WB),
|
URL_DEF_CONST(AUTH, NTLM_WB),
|
||||||
@@ -681,9 +685,9 @@ struct t_url_option url_options[] =
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a constant in array of constants.
|
* Search for a constant in array of constants.
|
||||||
*
|
*
|
||||||
* Returns index of constant, -1 if not found.
|
* Return index of constant, -1 if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -707,7 +711,7 @@ weeurl_search_constant (struct t_url_constant *constants, const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets value of mask using constants.
|
* Get value of mask using constants.
|
||||||
*
|
*
|
||||||
* Argument "string_mask" has format: "const1+const2+const3".
|
* Argument "string_mask" has format: "const1+const2+const3".
|
||||||
*/
|
*/
|
||||||
@@ -750,9 +754,9 @@ weeurl_get_mask_value (struct t_url_constant *constants,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for an URL option in table of options.
|
* Search for an URL option in table of options.
|
||||||
*
|
*
|
||||||
* Returns index of option, -1 if not found.
|
* Return index of option, -1 if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -776,7 +780,7 @@ weeurl_search_option (const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads data from a file (callback called to read a file).
|
* Read data from a file (callback called to read a file).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
@@ -786,7 +790,7 @@ weeurl_read_stream (void *buffer, size_t size, size_t nmemb, void *stream)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Writes data in a file (callback called to write a file).
|
* Write data in a file (callback called to write a file).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
@@ -796,7 +800,7 @@ weeurl_write_stream (void *buffer, size_t size, size_t nmemb, void *stream)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds data to a dynamic string (callback called to catch stdout).
|
* Add data to a dynamic string (callback called to catch stdout).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
@@ -811,7 +815,7 @@ weeurl_write_string (void *buffer, size_t size, size_t nmemb, void *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets option in CURL easy handle (callback called for each option in hashtable
|
* Set option in CURL easy handle (callback called for each option in hashtable
|
||||||
* "options").
|
* "options").
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -918,7 +922,7 @@ weeurl_option_map_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets proxy in CURL easy handle.
|
* Set proxy in CURL easy handle.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -966,7 +970,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Downloads URL using options.
|
* Download URL using options.
|
||||||
*
|
*
|
||||||
* If output is not NULL, it must be a hashtable with keys and values of type
|
* If output is not NULL, it must be a hashtable with keys and values of type
|
||||||
* "string". The following keys may be added in the hashtable,
|
* "string". The following keys may be added in the hashtable,
|
||||||
@@ -980,7 +984,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
|
|||||||
* error | error message (set only in case of error)
|
* error | error message (set only in case of error)
|
||||||
*
|
*
|
||||||
* If timeout is 0, the function blocks until the end of the transfer.
|
* If timeout is 0, the function blocks until the end of the transfer.
|
||||||
* If timeout (in milliseconds) is > 0, the function returns an error in the
|
* If timeout (in milliseconds) is > 0, the function return an error in the
|
||||||
* output hashtable if the timeout is reached while the transfer is still
|
* output hashtable if the timeout is reached while the transfer is still
|
||||||
* active.
|
* active.
|
||||||
*
|
*
|
||||||
@@ -988,7 +992,7 @@ weeurl_set_proxy (CURL *curl, struct t_proxy *proxy)
|
|||||||
* pointed integer becomes different from 0 (set by the caller of this function),
|
* pointed integer becomes different from 0 (set by the caller of this function),
|
||||||
* the download is immediately stopped with an error.
|
* the download is immediately stopped with an error.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 0: OK
|
* 0: OK
|
||||||
* 1: invalid URL
|
* 1: invalid URL
|
||||||
* 2: error downloading URL
|
* 2: error downloading URL
|
||||||
@@ -1259,9 +1263,9 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds an URL option in an infolist.
|
* Add an URL option in an infolist.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -1317,7 +1321,7 @@ weeurl_option_add_to_infolist (struct t_infolist *infolist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes URL.
|
* Initialize URL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1327,7 +1331,7 @@ weeurl_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ends URL.
|
* End URL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+38
-38
@@ -44,7 +44,7 @@ int local_utf8 = 0;
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes UTF-8 in WeeChat.
|
* Initialize UTF-8 in WeeChat.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -54,9 +54,9 @@ utf8_init (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string has some 8-bit chars.
|
* Check if a string has some 8-bit chars.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: string has 8-bit chars
|
* 1: string has 8-bit chars
|
||||||
* 0: string has only 7-bit chars
|
* 0: string has only 7-bit chars
|
||||||
*/
|
*/
|
||||||
@@ -74,12 +74,12 @@ utf8_has_8bits (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a string is UTF-8 valid.
|
* Check if a string is UTF-8 valid.
|
||||||
*
|
*
|
||||||
* If length is <= 0, checks whole string.
|
* If length is <= 0, checks whole string.
|
||||||
* If length is > 0, checks only this number of chars (not bytes).
|
* If length is > 0, checks only this number of chars (not bytes).
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: string is UTF-8 valid
|
* 1: string is UTF-8 valid
|
||||||
* 0: string it not UTF-8 valid, and then if error is not NULL, it is set
|
* 0: string it not UTF-8 valid, and then if error is not NULL, it is set
|
||||||
* with first non valid UTF-8 char in string
|
* with first non valid UTF-8 char in string
|
||||||
@@ -167,7 +167,7 @@ invalid:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Normalizes an string: removes non UTF-8 chars and replaces them by a
|
* Normalize an string: removes non UTF-8 chars and replaces them by a
|
||||||
* "replacement" char.
|
* "replacement" char.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -186,9 +186,9 @@ utf8_normalize (char *string, char replacement)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer to previous UTF-8 char in a string.
|
* Get pointer to previous UTF-8 char in a string.
|
||||||
*
|
*
|
||||||
* Returns pointer to previous UTF-8 char, NULL if not found (for example
|
* Return pointer to previous UTF-8 char, NULL if not found (for example
|
||||||
* "string_start" was reached).
|
* "string_start" was reached).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -234,9 +234,9 @@ utf8_prev_char (const char *string_start, const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer to next UTF-8 char in a string.
|
* Get pointer to next UTF-8 char in a string.
|
||||||
*
|
*
|
||||||
* Returns pointer to next UTF-8 char, NULL if string was NULL.
|
* Return pointer to next UTF-8 char, NULL if string was NULL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -277,9 +277,9 @@ utf8_next_char (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer to the beginning of the UTF-8 line in a string.
|
* Get pointer to the beginning of the UTF-8 line in a string.
|
||||||
*
|
*
|
||||||
* Returns pointer to the beginning of the UTF-8 line, NULL if string was NULL.
|
* Return pointer to the beginning of the UTF-8 line, NULL if string was NULL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -300,9 +300,9 @@ utf8_beginning_of_line (const char *string_start, const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets pointer to the end of the UTF-8 line in a string.
|
* Get pointer to the end of the UTF-8 line in a string.
|
||||||
*
|
*
|
||||||
* Returns pointer to the end of the UTF-8 line, NULL if string was NULL.
|
* Return pointer to the end of the UTF-8 line, NULL if string was NULL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -320,9 +320,9 @@ utf8_end_of_line (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets UTF-8 char as an integer.
|
* Get UTF-8 char as an integer.
|
||||||
*
|
*
|
||||||
* Returns the UTF-8 char as integer number.
|
* Return the UTF-8 char as integer number.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -377,7 +377,7 @@ utf8_char_int (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts a unicode char (as unsigned integer) to a string.
|
* Convert a unicode char (as unsigned integer) to a string.
|
||||||
*
|
*
|
||||||
* The string must have a size >= 5
|
* The string must have a size >= 5
|
||||||
* (4 bytes for the UTF-8 char + the final '\0').
|
* (4 bytes for the UTF-8 char + the final '\0').
|
||||||
@@ -385,7 +385,7 @@ utf8_char_int (const char *string)
|
|||||||
* In case of error (if unicode value is > 0x1FFFFF), the string is set to an
|
* In case of error (if unicode value is > 0x1FFFFF), the string is set to an
|
||||||
* empty string (string[0] == '\0').
|
* empty string (string[0] == '\0').
|
||||||
*
|
*
|
||||||
* Returns the number of bytes in the UTF-8 char (not counting the final '\0').
|
* Return the number of bytes in the UTF-8 char (not counting the final '\0').
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -443,9 +443,9 @@ utf8_int_string (unsigned int unicode_value, char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets size of UTF-8 char (in bytes).
|
* Get size of UTF-8 char (in bytes).
|
||||||
*
|
*
|
||||||
* Returns an integer between 0 and 4.
|
* Return an integer between 0 and 4.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -464,10 +464,10 @@ utf8_char_size (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets length of an UTF-8 string in number of chars (not bytes).
|
* Get length of an UTF-8 string in number of chars (not bytes).
|
||||||
* Result is <= strlen (string).
|
* Result is <= strlen (string).
|
||||||
*
|
*
|
||||||
* Returns length of string (>= 0).
|
* Return length of string (>= 0).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -488,9 +488,9 @@ utf8_strlen (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets length of an UTF-8 string for N bytes max in string.
|
* Get length of an UTF-8 string for N bytes max in string.
|
||||||
*
|
*
|
||||||
* Returns length of string (>= 0).
|
* Return length of string (>= 0).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -513,9 +513,9 @@ utf8_strnlen (const char *string, int bytes)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets number of chars needed on screen to display the UTF-8 char.
|
* Get number of chars needed on screen to display the UTF-8 char.
|
||||||
*
|
*
|
||||||
* Returns the number of chars (>= 0).
|
* Return the number of chars (>= 0).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -552,9 +552,9 @@ utf8_char_size_screen (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets number of chars needed on screen to display the UTF-8 string.
|
* Get number of chars needed on screen to display the UTF-8 string.
|
||||||
*
|
*
|
||||||
* Returns the number of chars (>= 0).
|
* Return the number of chars (>= 0).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -584,9 +584,9 @@ utf8_strlen_screen (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Moves forward N chars in an UTF-8 string.
|
* Move forward N chars in an UTF-8 string.
|
||||||
*
|
*
|
||||||
* Returns pointer to the new position in string.
|
* Return pointer to the new position in string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -604,13 +604,13 @@ utf8_add_offset (const char *string, int offset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets real position in UTF-8 string, in bytes.
|
* Get real position in UTF-8 string, in bytes.
|
||||||
*
|
*
|
||||||
* Argument "pos" is a number of chars (not bytes).
|
* Argument "pos" is a number of chars (not bytes).
|
||||||
*
|
*
|
||||||
* Example: ("déca", 2) returns 3.
|
* Example: ("déca", 2) return 3.
|
||||||
*
|
*
|
||||||
* Returns the real position (>= 0).
|
* Return the real position (>= 0).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -635,13 +635,13 @@ utf8_real_pos (const char *string, int pos)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets position in UTF-8 string, in chars.
|
* Get position in UTF-8 string, in chars.
|
||||||
*
|
*
|
||||||
* Argument "real_pos" is a number of bytes (not chars).
|
* Argument "real_pos" is a number of bytes (not chars).
|
||||||
*
|
*
|
||||||
* Example: ("déca", 3) returns 2.
|
* Example: ("déca", 3) return 2.
|
||||||
*
|
*
|
||||||
* Returns the position in string.
|
* Return the position in string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -664,7 +664,7 @@ utf8_pos (const char *string, int real_pos)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Duplicates an UTF-8 string, with max N chars.
|
* Duplicate an UTF-8 string, with max N chars.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -688,7 +688,7 @@ utf8_strndup (const char *string, int length)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copies max N chars from a string to another and adds null byte at the end.
|
* Copy max N chars from a string to another and adds null byte at the end.
|
||||||
*
|
*
|
||||||
* Note: the target string "dest" must be long enough.
|
* Note: the target string "dest" must be long enough.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+21
-21
@@ -50,12 +50,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parses an integer.
|
* Parse an integer.
|
||||||
*
|
*
|
||||||
* If result is not NULL, *result is set with the parsed integer in case
|
* If result is not NULL, *result is set with the parsed integer in case
|
||||||
* there is no error.
|
* there is no error.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -88,12 +88,12 @@ util_parse_int (const char *string, int base, int *result)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parses a long integer.
|
* Parse a long integer.
|
||||||
*
|
*
|
||||||
* If result is not NULL, *result is set with the parsed long integer in case
|
* If result is not NULL, *result is set with the parsed long integer in case
|
||||||
* there is no error.
|
* there is no error.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -125,12 +125,12 @@ util_parse_long (const char *string, int base, long *result)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parses a long long integer.
|
* Parse a long long integer.
|
||||||
*
|
*
|
||||||
* If result is not NULL, *result is set with the parsed long integer in case
|
* If result is not NULL, *result is set with the parsed long integer in case
|
||||||
* there is no error.
|
* there is no error.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -162,9 +162,9 @@ util_parse_longlong (const char *string, int base, long long *result)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares two timeval structures.
|
* Compare two timeval structures.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* -1: tv1 < tv2
|
* -1: tv1 < tv2
|
||||||
* 0: tv1 == tv2
|
* 0: tv1 == tv2
|
||||||
* 1: tv1 > tv2
|
* 1: tv1 > tv2
|
||||||
@@ -188,9 +188,9 @@ util_timeval_cmp (struct timeval *tv1, struct timeval *tv2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calculates difference between two timeval structures.
|
* Calculate difference between two timeval structures.
|
||||||
*
|
*
|
||||||
* Returns difference in microseconds.
|
* Return difference in microseconds.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
long long
|
long long
|
||||||
@@ -208,7 +208,7 @@ util_timeval_diff (struct timeval *tv1, struct timeval *tv2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds interval (in microseconds) to a timeval structure.
|
* Add interval (in microseconds) to a timeval structure.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -231,7 +231,7 @@ util_timeval_add (struct timeval *tv, long long interval)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts microseconds to a string, using format: "H:MM:SS.mmmmmm"
|
* Convert microseconds to a string, using format: "H:MM:SS.mmmmmm"
|
||||||
* where: H=hours, MM=minutes, SS=seconds, mmmmmm=microseconds
|
* where: H=hours, MM=minutes, SS=seconds, mmmmmm=microseconds
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
@@ -256,7 +256,7 @@ util_get_microseconds_string (unsigned long long microseconds)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Converts date to a string, using format of option "weechat.look.time_format"
|
* Convert date to a string, using format of option "weechat.look.time_format"
|
||||||
* (can be localized).
|
* (can be localized).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -279,7 +279,7 @@ util_get_time_string (const time_t *date)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Formats date and time like strftime (but with timeval structure as input)
|
* Format date and time like strftime (but with timeval structure as input)
|
||||||
* and adds extra specifiers:
|
* and adds extra specifiers:
|
||||||
* - "%@": return the date expressed in Coordinated Universal Time (UTC)
|
* - "%@": return the date expressed in Coordinated Universal Time (UTC)
|
||||||
* instead of date relative to the user's specified timezone
|
* instead of date relative to the user's specified timezone
|
||||||
@@ -383,7 +383,7 @@ util_strftimeval (char *string, int max, const char *format, struct timeval *tv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parses a date/time string, which can be one of these formats:
|
* Parse a date/time string, which can be one of these formats:
|
||||||
*
|
*
|
||||||
* Format | Example
|
* Format | Example
|
||||||
* -------------------------------------+----------------------------------
|
* -------------------------------------+----------------------------------
|
||||||
@@ -399,7 +399,7 @@ util_strftimeval (char *string, int max, const char *format, struct timeval *tv)
|
|||||||
* UTC time | 19:04:55.123456Z
|
* UTC time | 19:04:55.123456Z
|
||||||
* Timestamp date | 1756580695.123456
|
* Timestamp date | 1756580695.123456
|
||||||
*
|
*
|
||||||
* Notes :
|
* Notes:
|
||||||
*
|
*
|
||||||
* - For ISO 8601, characters `T' and `Z` can be used in lower case: `t` and `z`.
|
* - For ISO 8601, characters `T' and `Z` can be used in lower case: `t` and `z`.
|
||||||
* - The timezone offset format is `[+/-]hh:mm`, `[+/-]hhmm` or `[+/-]hh`.
|
* - The timezone offset format is `[+/-]hh:mm`, `[+/-]hhmm` or `[+/-]hh`.
|
||||||
@@ -408,7 +408,7 @@ util_strftimeval (char *string, int max, const char *format, struct timeval *tv)
|
|||||||
* A dot (`.`) or comma (`,`) can be used to separate seconds from the other
|
* A dot (`.`) or comma (`,`) can be used to separate seconds from the other
|
||||||
* digits.
|
* digits.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -676,7 +676,7 @@ util_parse_time (const char *datetime, struct timeval *tv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns difference between two times.
|
* Return difference between two times.
|
||||||
*
|
*
|
||||||
* The following variables are set, if pointer is not NULL:
|
* The following variables are set, if pointer is not NULL:
|
||||||
* - number of total seconds between the two times (basic subtraction)
|
* - number of total seconds between the two times (basic subtraction)
|
||||||
@@ -705,7 +705,7 @@ util_get_time_diff (time_t time1, time_t time2,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Parses a string with a delay and optional unit, returns the delay in
|
* Parse a string with a delay and optional unit, return the delay in
|
||||||
* microseconds.
|
* microseconds.
|
||||||
*
|
*
|
||||||
* The delay is a number followed by a unit which can be:
|
* The delay is a number followed by a unit which can be:
|
||||||
@@ -722,7 +722,7 @@ util_get_time_diff (time_t time1, time_t time2,
|
|||||||
* - 60000000: minutes
|
* - 60000000: minutes
|
||||||
* - 3600000000: hours
|
* - 3600000000: hours
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -794,7 +794,7 @@ util_parse_delay (const char *string_delay, unsigned long long default_factor,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets version number (integer) with a version as string.
|
* Get version number (integer) with a version as string.
|
||||||
*
|
*
|
||||||
* Non-digit chars like "-dev" are ignored.
|
* Non-digit chars like "-dev" are ignored.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns package name ("weechat").
|
* Return package name ("weechat").
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -40,7 +40,7 @@ version_get_name (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the WeeChat version.
|
* Return the WeeChat version.
|
||||||
*
|
*
|
||||||
* Examples:
|
* Examples:
|
||||||
* 0.3.9-dev
|
* 0.3.9-dev
|
||||||
@@ -55,7 +55,7 @@ version_get_version (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the package name ("weechat") + WeeChat version.
|
* Return the package name ("weechat") + WeeChat version.
|
||||||
*
|
*
|
||||||
* Examples:
|
* Examples:
|
||||||
* weechat 0.3.9-dev
|
* weechat 0.3.9-dev
|
||||||
@@ -70,7 +70,7 @@ version_get_name_version (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the output of "git describe" (non-empty only for a devel version,
|
* Return the output of "git describe" (non-empty only for a devel version,
|
||||||
* if compilation was made using the git repository, if git command was found).
|
* if compilation was made using the git repository, if git command was found).
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
@@ -84,7 +84,7 @@ version_get_git (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the WeeChat version + the git version (between brackets, and only if
|
* Return the WeeChat version + the git version (between brackets, and only if
|
||||||
* it is not empty).
|
* it is not empty).
|
||||||
*
|
*
|
||||||
* Examples:
|
* Examples:
|
||||||
@@ -112,7 +112,7 @@ version_get_version_with_git (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns date of WeeChat compilation.
|
* Return date of WeeChat compilation.
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* Dec 16 2012
|
* Dec 16 2012
|
||||||
@@ -125,7 +125,7 @@ version_get_compilation_date (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns time of WeeChat compilation.
|
* Return time of WeeChat compilation.
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* 18:10:22
|
* 18:10:22
|
||||||
@@ -138,7 +138,7 @@ version_get_compilation_time (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns date/time of WeeChat compilation.
|
* Return date/time of WeeChat compilation.
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* Dec 16 2012 18:10:22
|
* Dec 16 2012 18:10:22
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -51,9 +51,9 @@ hook_command_run_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a command when it's run by WeeChat.
|
* Hook a command when it's run by WeeChat.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -98,7 +98,7 @@ hook_command_run (struct t_weechat_plugin *plugin,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a command_run hook.
|
* Execute a command_run hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -185,7 +185,7 @@ hook_command_run_exec (struct t_gui_buffer *buffer, const char *command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a command_run hook.
|
* Free data in a command_run hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -205,7 +205,7 @@ hook_command_run_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for command_run hook.
|
* Return hdata for command_run hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -229,9 +229,9 @@ hook_command_run_hdata_hook_command_run_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds command_run hook data in the infolist item.
|
* Add command_run hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -254,7 +254,7 @@ hook_command_run_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints command_run hook data in WeeChat log file (usually for crash dump).
|
* Print command_run hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -56,9 +56,9 @@ hook_command_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a command hook in list.
|
* Search for a command hook in list.
|
||||||
*
|
*
|
||||||
* Returns pointer to hook found, NULL if not found.
|
* Return pointer to hook found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -83,7 +83,7 @@ hook_command_search (struct t_weechat_plugin *plugin, const char *command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Builds variables/arrays that will be used for completion of commands
|
* Build variables/arrays that will be used for completion of commands
|
||||||
* arguments.
|
* arguments.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -273,7 +273,7 @@ hook_command_build_completion (struct t_hook_command *hook_command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Removes all raw markers from a string: converts "raw[xxx]" to "xxx".
|
* Remove all raw markers from a string: converts "raw[xxx]" to "xxx".
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -318,7 +318,7 @@ hook_command_remove_raw_markers (const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees an argument description.
|
* Free an argument description.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -333,7 +333,7 @@ hook_command_arraylist_arg_desc_free (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Formats and translates arguments description of a command.
|
* Format and translates arguments description of a command.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -500,9 +500,9 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a command.
|
* Hook a command.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -576,9 +576,9 @@ hook_command (struct t_weechat_plugin *plugin, const char *command,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a command hook.
|
* Execute a command hook.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* HOOK_COMMAND_EXEC_OK: command executed successfully
|
* HOOK_COMMAND_EXEC_OK: command executed successfully
|
||||||
* HOOK_COMMAND_EXEC_ERROR: command executed and failed
|
* HOOK_COMMAND_EXEC_ERROR: command executed and failed
|
||||||
* HOOK_COMMAND_EXEC_NOT_FOUND: command not found
|
* HOOK_COMMAND_EXEC_NOT_FOUND: command not found
|
||||||
@@ -768,12 +768,12 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets relevance for cmd2 (existing command) compared to cmd1 (non-existing
|
* Get relevance for cmd2 (existing command) compared to cmd1 (non-existing
|
||||||
* command).
|
* command).
|
||||||
*
|
*
|
||||||
* Both commands are in lower case.
|
* Both commands are in lower case.
|
||||||
*
|
*
|
||||||
* Returns a number based on the Levenshtein distance between two commands,
|
* Return a number based on the Levenshtein distance between two commands,
|
||||||
* lower is better.
|
* lower is better.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -812,7 +812,7 @@ hook_command_similar_get_relevance (const char *cmd1, int length_cmd1,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compares similar commands to sort them by relevance (lower number first:
|
* Compare similar commands to sort them by relevance (lower number first:
|
||||||
* best relevance).
|
* best relevance).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -839,7 +839,7 @@ hook_command_similar_cmp_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees a similar command.
|
* Free a similar command.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -854,7 +854,7 @@ hook_command_similar_free_cb (void *data, struct t_arraylist *arraylist,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Builds an arraylist with similar commands.
|
* Build an arraylist with similar commands.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -906,7 +906,7 @@ hook_command_build_list_similar_commands (const char *command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays an error on unknown command, with a list of existing similar
|
* Display an error on unknown command, with a list of existing similar
|
||||||
* command names.
|
* command names.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -971,7 +971,7 @@ hook_command_display_error_unknown (const char *command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a command hook.
|
* Free data in a command hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1049,7 +1049,7 @@ hook_command_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for command hook.
|
* Return hdata for command hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -1084,9 +1084,9 @@ hook_command_hdata_hook_command_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds command hook data in the infolist item.
|
* Add command hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -1141,7 +1141,7 @@ hook_command_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints command hook data in WeeChat log file (usually for crash dump).
|
* Print command hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -51,9 +51,9 @@ hook_completion_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a completion.
|
* Hook a completion.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -101,7 +101,7 @@ hook_completion (struct t_weechat_plugin *plugin, const char *completion_item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a completion hook.
|
* Execute a completion hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -158,7 +158,7 @@ hook_completion_exec (struct t_weechat_plugin *plugin,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a completion hook.
|
* Free data in a completion hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -183,7 +183,7 @@ hook_completion_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for completion hook.
|
* Return hdata for completion hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -207,9 +207,9 @@ hook_completion_hdata_hook_completion_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds completion hook data in the infolist item.
|
* Add completion hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -237,7 +237,7 @@ hook_completion_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints completion hook data in WeeChat log file (usually for crash dump).
|
* Print completion hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -50,9 +50,9 @@ hook_config_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a configuration option.
|
* Hook a configuration option.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -95,7 +95,7 @@ hook_config (struct t_weechat_plugin *plugin, const char *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a config hook.
|
* Execute a config hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -132,7 +132,7 @@ hook_config_exec (const char *option, const char *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a config hook.
|
* Free data in a config hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -152,7 +152,7 @@ hook_config_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for config hook.
|
* Return hdata for config hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -175,9 +175,9 @@ hook_config_hdata_hook_config_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds config hook data in the infolist item.
|
* Add config hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -198,7 +198,7 @@ hook_config_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints config hook data in WeeChat log file (usually for crash dump).
|
* Print config hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -63,9 +63,9 @@ hook_connect_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a connection to a peer (using fork).
|
* Hook a connection to a peer (using fork).
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -140,7 +140,7 @@ hook_connect (struct t_weechat_plugin *plugin, const char *proxy,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Verifies certificates.
|
* Verify certificates.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -173,7 +173,7 @@ hook_connect_gnutls_verify_certificates (gnutls_session_t tls_session)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets certificates.
|
* Set certificates.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -210,7 +210,7 @@ hook_connect_gnutls_set_certificates (gnutls_session_t tls_session,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a connect hook.
|
* Free data in a connect hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -314,7 +314,7 @@ hook_connect_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for connect hook.
|
* Return hdata for connect hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -360,9 +360,9 @@ hook_connect_hdata_hook_connect_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds connect hook data in the infolist item.
|
* Add connect hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -421,7 +421,7 @@ hook_connect_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints connect hook data in WeeChat log file (usually for crash dump).
|
* Print connect hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+14
-14
@@ -45,7 +45,7 @@ int hook_fd_pollfd_count = 0; /* number of file descriptors */
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -67,9 +67,9 @@ hook_fd_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Searches for a fd hook in list.
|
* Search for a fd hook in list.
|
||||||
*
|
*
|
||||||
* Returns pointer to hook found, NULL if not found.
|
* Return pointer to hook found, NULL if not found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -89,7 +89,7 @@ hook_fd_search (int fd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reallocates the "struct pollfd" array for poll().
|
* Reallocate the "struct pollfd" array for poll().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -150,9 +150,9 @@ hook_fd_remove_cb (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a fd event.
|
* Hook a fd event.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -199,9 +199,9 @@ hook_fd (struct t_weechat_plugin *plugin, int fd, int flag_read,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes fd hooks:
|
* Execute fd hooks:
|
||||||
* - poll() on fie descriptors
|
* - poll() on fie descriptors
|
||||||
* - call of hook fd callbacks if needed.
|
* - call of hook fd callbacks if needed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -300,7 +300,7 @@ hook_fd_exec (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a fd hook.
|
* Free data in a fd hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -314,7 +314,7 @@ hook_fd_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for fd hook.
|
* Return hdata for fd hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -338,9 +338,9 @@ hook_fd_hdata_hook_fd_cb (const void *pointer, void *data, const char *hdata_nam
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds fd hook data in the infolist item.
|
* Add fd hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -365,7 +365,7 @@ hook_fd_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints fd hook data in WeeChat log file (usually for crash dump).
|
* Print fd hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+11
-11
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -51,9 +51,9 @@ hook_focus_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a focus.
|
* Hook a focus.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -96,7 +96,7 @@ hook_focus (struct t_weechat_plugin *plugin,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds keys of a hashtable into another.
|
* Add keys of a hashtable into another.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -116,7 +116,7 @@ hook_focus_hashtable_map_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds keys of a hashtable into another (adding suffix "2" to keys).
|
* Add keys of a hashtable into another (adding suffix "2" to keys).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -143,7 +143,7 @@ hook_focus_hashtable_map2_cb (void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets data for focus on (x,y) on screen.
|
* Get data for focus on (x,y) on screen.
|
||||||
*
|
*
|
||||||
* Argument hashtable_focus2 is not NULL only for a mouse gesture (it's for
|
* Argument hashtable_focus2 is not NULL only for a mouse gesture (it's for
|
||||||
* point where mouse button has been released).
|
* point where mouse button has been released).
|
||||||
@@ -276,7 +276,7 @@ hook_focus_get_data (struct t_hashtable *hashtable_focus1,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a focus hook.
|
* Free data in a focus hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -296,7 +296,7 @@ hook_focus_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for focus hook.
|
* Return hdata for focus hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -319,9 +319,9 @@ hook_focus_hdata_hook_focus_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds focus hook data in the infolist item.
|
* Add focus hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -342,7 +342,7 @@ hook_focus_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints focus hook data in WeeChat log file (usually for crash dump).
|
* Print focus hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -51,9 +51,9 @@ hook_hdata_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a hdata.
|
* Hook a hdata.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -98,7 +98,7 @@ hook_hdata (struct t_weechat_plugin *plugin, const char *hdata_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets hdata via hdata hook.
|
* Get hdata via hdata hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -153,7 +153,7 @@ hook_hdata_get (struct t_weechat_plugin *plugin, const char *hdata_name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a hdata hook.
|
* Free data in a hdata hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -178,7 +178,7 @@ hook_hdata_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for hdata hook.
|
* Return hdata for hdata hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -202,9 +202,9 @@ hook_hdata_hdata_hook_hdata_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds hdata hook data in the infolist item.
|
* Add hdata hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -232,7 +232,7 @@ hook_hdata_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints hdata hook data in WeeChat log file (usually for crash dump).
|
* Print hdata hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -52,9 +52,9 @@ hook_hsignal_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a hsignal (signal with hashtable).
|
* Hook a hsignal (signal with hashtable).
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -103,10 +103,10 @@ hook_hsignal (struct t_weechat_plugin *plugin, const char *signal,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a hooked hsignal matches a signal sent: it matches if at least
|
* Check if a hooked hsignal matches a signal sent: it matches if at least
|
||||||
* one of the signal masks are matching the signal sent.
|
* one of the signal masks are matching the signal sent.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: hook matches signal sent
|
* 1: hook matches signal sent
|
||||||
* 0: hook does not match signal sent
|
* 0: hook does not match signal sent
|
||||||
*/
|
*/
|
||||||
@@ -126,7 +126,7 @@ hook_hsignal_match (const char *signal, struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sends a hsignal (signal with hashtable).
|
* Send a hsignal (signal with hashtable).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -185,7 +185,7 @@ hook_hsignal_send (const char *signal, struct t_hashtable *hashtable)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a hsignal hook.
|
* Free data in a hsignal hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -206,7 +206,7 @@ hook_hsignal_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for hsignal hook.
|
* Return hdata for hsignal hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -230,9 +230,9 @@ hook_hsignal_hdata_hook_hsignal_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds hsignal hook data in the infolist item.
|
* Add hsignal hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -264,7 +264,7 @@ hook_hsignal_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints hsignal hook data in WeeChat log file (usually for crash dump).
|
* Print hsignal hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -50,9 +50,9 @@ hook_info_hashtable_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks an info using hashtable.
|
* Hook an info using hashtable.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -102,7 +102,7 @@ hook_info_hashtable (struct t_weechat_plugin *plugin, const char *info_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets info (as hashtable) via info hook.
|
* Get info (as hashtable) via info hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hashtable *
|
struct t_hashtable *
|
||||||
@@ -152,7 +152,7 @@ hook_info_get_hashtable (struct t_weechat_plugin *plugin, const char *info_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in an info_hashtable hook.
|
* Free data in an info_hashtable hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -187,7 +187,7 @@ hook_info_hashtable_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for info_hashtable hook.
|
* Return hdata for info_hashtable hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -214,9 +214,9 @@ hook_info_hashtable_hdata_hook_info_hashtable_cb (const void *pointer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds info_hashtable hook data in the infolist item.
|
* Add info_hashtable hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -258,7 +258,7 @@ hook_info_hashtable_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints info_hashtable hook data in WeeChat log file (usually for crash dump).
|
* Print info_hashtable hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -50,9 +50,9 @@ hook_info_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks an info.
|
* Hook an info.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -99,7 +99,7 @@ hook_info (struct t_weechat_plugin *plugin, const char *info_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets info (as string) via info hook.
|
* Get info (as string) via info hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -151,7 +151,7 @@ hook_info_get (struct t_weechat_plugin *plugin, const char *info_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in an info hook.
|
* Free data in an info hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -181,7 +181,7 @@ hook_info_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for info hook.
|
* Return hdata for info hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -206,9 +206,9 @@ hook_info_hdata_hook_info_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds info hook data in the infolist item.
|
* Add info hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -243,7 +243,7 @@ hook_info_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints info hook data in WeeChat log file (usually for crash dump).
|
* Print info hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -50,9 +50,9 @@ hook_infolist_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks an infolist.
|
* Hook an infolist.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -102,7 +102,7 @@ hook_infolist (struct t_weechat_plugin *plugin, const char *infolist_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Gets an infolist via infolist hook.
|
* Get an infolist via infolist hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_infolist *
|
struct t_infolist *
|
||||||
@@ -153,7 +153,7 @@ hook_infolist_get (struct t_weechat_plugin *plugin, const char *infolist_name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in an infolist hook.
|
* Free data in an infolist hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -188,7 +188,7 @@ hook_infolist_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for infolist hook.
|
* Return hdata for infolist hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -214,9 +214,9 @@ hook_infolist_hdata_hook_infolist_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds infolist hook data in the infolist item.
|
* Add infolist hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -258,7 +258,7 @@ hook_infolist_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints infolist hook data in WeeChat log file (usually for crash dump).
|
* Print infolist hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -61,9 +61,9 @@ hook_line_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a line added in a buffer.
|
* Hook a line added in a buffer.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -121,7 +121,7 @@ hook_line (struct t_weechat_plugin *plugin, const char *buffer_type,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a line hook and updates the line data.
|
* Execute a line hook and updates the line data.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -212,7 +212,7 @@ hook_line_exec (struct t_gui_line *line)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a line hook.
|
* Free data in a line hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -237,7 +237,7 @@ hook_line_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for line hook.
|
* Return hdata for line hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -264,9 +264,9 @@ hook_line_hdata_hook_line_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds line hook data in the infolist item.
|
* Add line hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -295,7 +295,7 @@ hook_line_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints line hook data in WeeChat log file (usually for crash dump).
|
* Print line hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -50,9 +50,9 @@ hook_modifier_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a modifier.
|
* Hook a modifier.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -94,7 +94,7 @@ hook_modifier (struct t_weechat_plugin *plugin, const char *modifier,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a modifier hook.
|
* Execute a modifier hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -164,7 +164,7 @@ hook_modifier_exec (struct t_weechat_plugin *plugin, const char *modifier,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a modifier hook.
|
* Free data in a modifier hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -184,7 +184,7 @@ hook_modifier_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for modifier hook.
|
* Return hdata for modifier hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -207,9 +207,9 @@ hook_modifier_hdata_hook_modifier_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds modifier hook data in the infolist item.
|
* Add modifier hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -230,7 +230,7 @@ hook_modifier_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints modifier hook data in WeeChat log file (usually for crash dump).
|
* Print modifier hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -73,9 +73,9 @@ hook_print_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a message printed by WeeChat.
|
* Hook a message printed by WeeChat.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -118,7 +118,7 @@ hook_print (struct t_weechat_plugin *plugin, struct t_gui_buffer *buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes a print hook.
|
* Execute a print hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -190,7 +190,7 @@ hook_print_exec (struct t_gui_buffer *buffer, struct t_gui_line *line)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a print hook.
|
* Free data in a print hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -215,7 +215,7 @@ hook_print_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for print hook.
|
* Return hdata for print hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -242,9 +242,9 @@ hook_print_hdata_hook_print_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds print hook data in the infolist item.
|
* Add print hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -273,7 +273,7 @@ hook_print_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints print hook data in WeeChat log file (usually for crash dump).
|
* Print print hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ void hook_process_run (struct t_hook *hook_process);
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -72,9 +72,9 @@ hook_process_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a process (using fork) with options in hashtable.
|
* Hook a process (using fork) with options in hashtable.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -188,9 +188,9 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a process (using fork).
|
* Hook a process (using fork).
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -206,7 +206,7 @@ hook_process (struct t_weechat_plugin *plugin,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Child process for hook process: executes command and returns string result
|
* Child process for hook process: execute command and return string result
|
||||||
* into pipe for WeeChat process.
|
* into pipe for WeeChat process.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -379,7 +379,7 @@ hook_process_child (struct t_hook *hook_process)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sends buffers (stdout/stderr) to callback.
|
* Send buffers (stdout/stderr) to callback.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -412,7 +412,7 @@ hook_process_send_buffers (struct t_hook *hook_process, int callback_rc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds some data to buffer (stdout or stderr).
|
* Add some data to buffer (stdout or stderr).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -429,7 +429,7 @@ hook_process_add_to_buffer (struct t_hook *hook_process, int index_buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads process output (stdout or stderr) from child process.
|
* Read process output (stdout or stderr) from child process.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -462,7 +462,7 @@ hook_process_child_read (struct t_hook *hook_process, int fd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads process output (stdout) from child process.
|
* Read process output (stdout) from child process.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -481,7 +481,7 @@ hook_process_child_read_stdout_cb (const void *pointer, void *data, int fd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads process output (stderr) from child process.
|
* Read process output (stderr) from child process.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -500,7 +500,7 @@ hook_process_child_read_stderr_cb (const void *pointer, void *data, int fd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reads process output from child process until EOF
|
* Read process output from child process until EOF
|
||||||
* (called when the child process has ended).
|
* (called when the child process has ended).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -576,7 +576,7 @@ hook_process_child_read_until_eof (struct t_hook *hook_process)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if child process is still alive.
|
* Check if child process is still alive.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -635,8 +635,7 @@ hook_process_timer_cb (const void *pointer, void *data, int remaining_calls)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes process command in child, and read data in current process,
|
* Execute process command in child, and read data in current process, with fd hook.
|
||||||
* with fd hook.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -788,7 +787,7 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes all process commands pending.
|
* Execute all process commands pending.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -822,7 +821,7 @@ hook_process_exec (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a process hook.
|
* Free data in a process hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -918,7 +917,7 @@ hook_process_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for process hook.
|
* Return hdata for process hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -952,9 +951,9 @@ hook_process_hdata_hook_process_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds process hook data in the infolist item.
|
* Add process hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -1003,7 +1002,7 @@ hook_process_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints process hook data in WeeChat log file (usually for crash dump).
|
* Print process hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+12
-12
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -51,9 +51,9 @@ hook_signal_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a signal.
|
* Hook a signal.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -102,10 +102,10 @@ hook_signal (struct t_weechat_plugin *plugin, const char *signal,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if a hooked signal matches a signal sent: it matches if at least
|
* Check if a hooked signal matches a signal sent: it matches if at least
|
||||||
* one of the signal masks are matching the signal sent.
|
* one of the signal masks are matching the signal sent.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: hook matches signal sent
|
* 1: hook matches signal sent
|
||||||
* 0: hook does not match signal sent
|
* 0: hook does not match signal sent
|
||||||
*/
|
*/
|
||||||
@@ -125,7 +125,7 @@ hook_signal_match (const char *signal, struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extracts flags from signal and returns flags and pointer to start of signal.
|
* Extract flags from signal and return flags and pointer to start of signal.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -176,7 +176,7 @@ hook_signal_extract_flags (const char *signal, const char **ptr_signal,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sends a signal.
|
* Send a signal.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -236,7 +236,7 @@ hook_signal_send (const char *signal, const char *type_data, void *signal_data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a signal hook.
|
* Free data in a signal hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -257,7 +257,7 @@ hook_signal_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for signal hook.
|
* Return hdata for signal hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -281,9 +281,9 @@ hook_signal_hdata_hook_signal_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds signal hook data in the infolist item.
|
* Add signal hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -315,7 +315,7 @@ hook_signal_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints signal hook data in WeeChat log file (usually for crash dump).
|
* Print signal hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+13
-13
@@ -43,7 +43,7 @@ time_t hook_last_system_time = 0; /* used to detect system clock skew */
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -80,7 +80,7 @@ hook_timer_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes a timer hook.
|
* Initialize a timer hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -136,9 +136,9 @@ hook_timer_init (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a timer.
|
* Hook a timer.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -180,8 +180,8 @@ hook_timer (struct t_weechat_plugin *plugin, long interval, int align_second,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if system clock is older than previous call to this function (that
|
* Check if system clock is older than previous call to this function (that
|
||||||
* means new time is lower than in past). If yes, adjusts all timers to current
|
* means new time is lower than in past). If yes, adjust all timers to current
|
||||||
* time.
|
* time.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -222,7 +222,7 @@ hook_timer_check_system_clock (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns time until next timeout (in milliseconds).
|
* Return time until next timeout (in milliseconds).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -300,7 +300,7 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Executes timer hooks.
|
* Execute timer hooks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -361,7 +361,7 @@ hook_timer_exec (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a timer hook.
|
* Free data in a timer hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -375,7 +375,7 @@ hook_timer_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for timer hook.
|
* Return hdata for timer hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -404,9 +404,9 @@ hook_timer_hdata_hook_timer_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds timer hook data in the infolist item.
|
* Add timer hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -442,7 +442,7 @@ hook_timer_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints timer hook data in WeeChat log file (usually for crash dump).
|
* Print timer hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+12
-12
@@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns description of hook.
|
* Return description of hook.
|
||||||
*
|
*
|
||||||
* Note: result must be freed after use.
|
* Note: result must be freed after use.
|
||||||
*/
|
*/
|
||||||
@@ -66,7 +66,7 @@ hook_url_get_description (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays keys and values of a hashtable.
|
* Display keys and values of a hashtable.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -83,7 +83,7 @@ hook_url_hashtable_map_cb (void *data, struct t_hashtable *hashtable,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Runs callback of url hook.
|
* Run callback of url hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -154,7 +154,7 @@ hook_url_transfer_thread (void *hook_pointer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if thread is still alive.
|
* Check if thread is still alive.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
@@ -218,7 +218,7 @@ hook_url_timer_cb (const void *pointer, void *data, int remaining_calls)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Starts transfer for an URL hook.
|
* Start transfer for an URL hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -286,9 +286,9 @@ hook_url_transfer (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Hooks a URL.
|
* Hook a URL.
|
||||||
*
|
*
|
||||||
* Returns pointer to new hook, NULL if error.
|
* Return pointer to new hook, NULL if error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hook *
|
struct t_hook *
|
||||||
@@ -358,7 +358,7 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Frees data in a url hook.
|
* Free data in a url hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -422,7 +422,7 @@ hook_url_free_data (struct t_hook *hook)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns hdata for url hook.
|
* Return hdata for url hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct t_hdata *
|
struct t_hdata *
|
||||||
@@ -452,9 +452,9 @@ hook_url_hdata_hook_url_cb (const void *pointer, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds url hook data in the infolist item.
|
* Add url hook data in the infolist item.
|
||||||
*
|
*
|
||||||
* Returns:
|
* Return:
|
||||||
* 1: OK
|
* 1: OK
|
||||||
* 0: error
|
* 0: error
|
||||||
*/
|
*/
|
||||||
@@ -489,7 +489,7 @@ hook_url_add_to_infolist (struct t_infolist_item *item,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prints url hook data in WeeChat log file (usually for crash dump).
|
* Print url hook data in WeeChat log file (usually for crash dump).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+11
-286
@@ -46,7 +46,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <getopt.h>
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@@ -58,6 +57,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "weechat.h"
|
#include "weechat.h"
|
||||||
|
#include "core-args.h"
|
||||||
#include "core-command.h"
|
#include "core-command.h"
|
||||||
#include "core-completion.h"
|
#include "core-completion.h"
|
||||||
#include "core-config.h"
|
#include "core-config.h"
|
||||||
@@ -79,7 +79,6 @@
|
|||||||
#include "core-url.h"
|
#include "core-url.h"
|
||||||
#include "core-utf8.h"
|
#include "core-utf8.h"
|
||||||
#include "core-util.h"
|
#include "core-util.h"
|
||||||
#include "core-version.h"
|
|
||||||
#include "../gui/gui-chat.h"
|
#include "../gui/gui-chat.h"
|
||||||
#include "../gui/gui-color.h"
|
#include "../gui/gui-color.h"
|
||||||
#include "../gui/gui-completion.h"
|
#include "../gui/gui-completion.h"
|
||||||
@@ -90,12 +89,6 @@
|
|||||||
#include "../plugins/plugin.h"
|
#include "../plugins/plugin.h"
|
||||||
#include "../plugins/plugin-api.h"
|
#include "../plugins/plugin-api.h"
|
||||||
|
|
||||||
/* some command line options */
|
|
||||||
#define OPTION_DOCGEN 1000
|
|
||||||
#define OPTION_NO_DLCLOSE 1001
|
|
||||||
#define OPTION_NO_GNUTLS 1002
|
|
||||||
#define OPTION_NO_GCRYPT 1003
|
|
||||||
|
|
||||||
int weechat_headless = 0; /* 1 if running headless (no GUI) */
|
int weechat_headless = 0; /* 1 if running headless (no GUI) */
|
||||||
int weechat_daemon = 0; /* 1 if daemonized (no foreground) */
|
int weechat_daemon = 0; /* 1 if daemonized (no foreground) */
|
||||||
int weechat_log_stdout = 0; /* 1 to log messages on stdout */
|
int weechat_log_stdout = 0; /* 1 to log messages on stdout */
|
||||||
@@ -140,275 +133,7 @@ int weechat_auto_load_scripts = 1; /* auto-load scripts */
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays WeeChat copyright on standard output.
|
* Display WeeChat startup message.
|
||||||
*/
|
|
||||||
|
|
||||||
void
|
|
||||||
weechat_display_copyright (void)
|
|
||||||
{
|
|
||||||
string_fprintf (stdout, "\n");
|
|
||||||
string_fprintf (
|
|
||||||
stdout,
|
|
||||||
/* TRANSLATORS: "%s %s" after "compiled on" is date and time */
|
|
||||||
_("WeeChat %s Copyright %s, compiled on %s %s\n"
|
|
||||||
"Developed by Sébastien Helleu <flashcode@flashtux.org> "
|
|
||||||
"- %s"),
|
|
||||||
version_get_version_with_git (),
|
|
||||||
WEECHAT_COPYRIGHT_DATE,
|
|
||||||
version_get_compilation_date (),
|
|
||||||
version_get_compilation_time (),
|
|
||||||
WEECHAT_WEBSITE);
|
|
||||||
string_fprintf (stdout, "\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Displays WeeChat usage on standard output.
|
|
||||||
*/
|
|
||||||
|
|
||||||
void
|
|
||||||
weechat_display_usage (void)
|
|
||||||
{
|
|
||||||
weechat_display_copyright ();
|
|
||||||
string_fprintf (stdout, "\n");
|
|
||||||
string_fprintf (stdout,
|
|
||||||
_("Usage: %s [option...] [plugin:option...]\n"),
|
|
||||||
weechat_argv0);
|
|
||||||
string_fprintf (stdout, "\n");
|
|
||||||
string_fprintf (
|
|
||||||
stdout,
|
|
||||||
_(" -a, --no-connect disable auto-connect to servers at "
|
|
||||||
"startup\n"
|
|
||||||
" -c, --colors display default colors in terminal "
|
|
||||||
"and exit\n"
|
|
||||||
" -d, --dir <path> force a single WeeChat home directory\n"
|
|
||||||
" or 5 different directories separated "
|
|
||||||
"by colons (in this order: config, data, state, cache, runtime)\n"
|
|
||||||
" (environment variable WEECHAT_HOME is "
|
|
||||||
"read if this option is not given)\n"
|
|
||||||
" -t, --temp-dir create a temporary WeeChat home "
|
|
||||||
"directory and delete it on exit\n"
|
|
||||||
" (incompatible with option \"-d\")\n"
|
|
||||||
" -h, --help display this help and exit\n"
|
|
||||||
" -i, --build-info display build information and exit\n"
|
|
||||||
" -l, --license display WeeChat license and exit\n"
|
|
||||||
" -p, --no-plugin don't load any plugin at startup\n"
|
|
||||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
|
||||||
" (see /help weechat.plugin.autoload)\n"
|
|
||||||
" -r, --run-command <cmd> run command(s) after startup;\n"
|
|
||||||
" many commands can be separated by "
|
|
||||||
"semicolons and are evaluated,\n"
|
|
||||||
" this option can be given multiple "
|
|
||||||
"times\n"
|
|
||||||
" -s, --no-script don't load any script at startup\n"
|
|
||||||
" --upgrade upgrade WeeChat using session files "
|
|
||||||
"(see /help upgrade in WeeChat)\n"
|
|
||||||
" -v, --version display WeeChat version and exit\n"
|
|
||||||
" plugin:option option for plugin (see man weechat)\n"));
|
|
||||||
string_fprintf (stdout, "\n");
|
|
||||||
|
|
||||||
/* extra options in headless mode */
|
|
||||||
if (weechat_headless)
|
|
||||||
{
|
|
||||||
string_fprintf (stdout, _("Extra options in headless mode:\n"));
|
|
||||||
string_fprintf (
|
|
||||||
stdout,
|
|
||||||
_(" --doc-gen <path> generate files to build "
|
|
||||||
"documentation and exit\n"));
|
|
||||||
string_fprintf (
|
|
||||||
stdout,
|
|
||||||
_(" --daemon run WeeChat as a daemon (fork, "
|
|
||||||
"new process group, file descriptors closed);\n"));
|
|
||||||
string_fprintf (
|
|
||||||
stdout,
|
|
||||||
_(" (by default in headless mode "
|
|
||||||
"WeeChat is blocking and does not run in background)\n"));
|
|
||||||
string_fprintf (
|
|
||||||
stdout,
|
|
||||||
_(" --stdout display log messages on standard "
|
|
||||||
"output instead of writing them in log file\n"));
|
|
||||||
string_fprintf (
|
|
||||||
stdout,
|
|
||||||
_(" (option ignored if option "
|
|
||||||
"\"--daemon\" is given)\n"));
|
|
||||||
string_fprintf (stdout, "\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* debug options */
|
|
||||||
string_fprintf (
|
|
||||||
stdout,
|
|
||||||
_("Debug options (for tools like valgrind, DO NOT USE IN PRODUCTION):\n"
|
|
||||||
" --no-dlclose do not call function dlclose after "
|
|
||||||
"plugins are unloaded\n"
|
|
||||||
" --no-gnutls disable init/deinit of gnutls\n"
|
|
||||||
" --no-gcrypt disable init/deinit of gcrypt\n"));
|
|
||||||
string_fprintf (stdout, "\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Parses command line arguments.
|
|
||||||
*
|
|
||||||
* Arguments argc and argv come from main() function.
|
|
||||||
*/
|
|
||||||
|
|
||||||
void
|
|
||||||
weechat_parse_args (int argc, char *argv[])
|
|
||||||
{
|
|
||||||
int opt;
|
|
||||||
struct option long_options[] = {
|
|
||||||
/* standard options */
|
|
||||||
{ "no-connect", no_argument, NULL, 'a' },
|
|
||||||
{ "colors", no_argument, NULL, 'c' },
|
|
||||||
{ "dir", required_argument, NULL, 'd' },
|
|
||||||
{ "temp-dir", no_argument, NULL, 't' },
|
|
||||||
{ "help", no_argument, NULL, 'h' },
|
|
||||||
{ "build-info", no_argument, NULL, 'i' },
|
|
||||||
{ "license", no_argument, NULL, 'l' },
|
|
||||||
{ "no-plugin", no_argument, NULL, 'p' },
|
|
||||||
{ "plugins", required_argument, NULL, 'P' },
|
|
||||||
{ "run-command", required_argument, NULL, 'r' },
|
|
||||||
{ "no-script", no_argument, NULL, 's' },
|
|
||||||
{ "upgrade", no_argument, NULL, 'u' },
|
|
||||||
{ "doc-gen", required_argument, NULL, OPTION_DOCGEN },
|
|
||||||
{ "version", no_argument, NULL, 'v' },
|
|
||||||
/* debug options */
|
|
||||||
{ "no-dlclose", no_argument, NULL, OPTION_NO_DLCLOSE },
|
|
||||||
{ "no-gnutls", no_argument, NULL, OPTION_NO_GNUTLS },
|
|
||||||
{ "no-gcrypt", no_argument, NULL, OPTION_NO_GCRYPT },
|
|
||||||
{ NULL, 0, NULL, 0 },
|
|
||||||
};
|
|
||||||
|
|
||||||
weechat_argv0 = (argv[0]) ? strdup (argv[0]) : NULL;
|
|
||||||
weechat_upgrading = 0;
|
|
||||||
weechat_home_force = NULL;
|
|
||||||
weechat_home_temp = 0;
|
|
||||||
weechat_home_delete_on_exit = 0;
|
|
||||||
weechat_server_cmd_line = 0;
|
|
||||||
weechat_force_plugin_autoload = NULL;
|
|
||||||
weechat_doc_gen = 0;
|
|
||||||
weechat_plugin_no_dlclose = 0;
|
|
||||||
|
|
||||||
optind = 0;
|
|
||||||
opterr = 0;
|
|
||||||
|
|
||||||
while ((opt = getopt_long (argc, argv,
|
|
||||||
":acd:thilpP:r:sv",
|
|
||||||
long_options, NULL)) != -1)
|
|
||||||
{
|
|
||||||
switch (opt)
|
|
||||||
{
|
|
||||||
case 'a': /* -a / --no-connect */
|
|
||||||
/* option ignored, it will be used by plugins/scripts */
|
|
||||||
break;
|
|
||||||
case 'c': /* -c / --colors */
|
|
||||||
gui_color_display_terminal_colors ();
|
|
||||||
weechat_shutdown (EXIT_SUCCESS, 0);
|
|
||||||
break;
|
|
||||||
case 'd': /* -d / --dir */
|
|
||||||
weechat_home_temp = 0;
|
|
||||||
free (weechat_home_force);
|
|
||||||
weechat_home_force = strdup (optarg);
|
|
||||||
break;
|
|
||||||
case 't': /* -t / --temp-dir */
|
|
||||||
weechat_home_temp = 1;
|
|
||||||
if (weechat_home_force)
|
|
||||||
{
|
|
||||||
free (weechat_home_force);
|
|
||||||
weechat_home_force = NULL;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'h': /* -h / --help */
|
|
||||||
weechat_display_usage ();
|
|
||||||
weechat_shutdown (EXIT_SUCCESS, 0);
|
|
||||||
break;
|
|
||||||
case 'i': /* -i / --build-info */
|
|
||||||
debug_build_info ();
|
|
||||||
weechat_shutdown (EXIT_SUCCESS, 0);
|
|
||||||
break;
|
|
||||||
case 'l': /* -l / --license */
|
|
||||||
weechat_display_copyright ();
|
|
||||||
string_fprintf (stdout, "\n");
|
|
||||||
string_fprintf (stdout, "%s%s", WEECHAT_LICENSE_TEXT);
|
|
||||||
weechat_shutdown (EXIT_SUCCESS, 0);
|
|
||||||
break;
|
|
||||||
case 'p': /* -p / --no-plugin */
|
|
||||||
free (weechat_force_plugin_autoload);
|
|
||||||
weechat_force_plugin_autoload = strdup ("!*");
|
|
||||||
break;
|
|
||||||
case 'P': /* -P / --plugins */
|
|
||||||
free (weechat_force_plugin_autoload);
|
|
||||||
weechat_force_plugin_autoload = strdup (optarg);
|
|
||||||
break;
|
|
||||||
case 'r': /* -r / --run-command */
|
|
||||||
if (!weechat_startup_commands)
|
|
||||||
weechat_startup_commands = weelist_new ();
|
|
||||||
weelist_add (weechat_startup_commands, optarg,
|
|
||||||
WEECHAT_LIST_POS_END, NULL);
|
|
||||||
break;
|
|
||||||
case 's': /* -s / --no-script */
|
|
||||||
/* option ignored, it will be used by the scripting plugins */
|
|
||||||
break;
|
|
||||||
case 'u': /* --upgrade */
|
|
||||||
weechat_upgrading = 1;
|
|
||||||
break;
|
|
||||||
case OPTION_DOCGEN: /* --doc-gen */
|
|
||||||
if (weechat_headless)
|
|
||||||
{
|
|
||||||
weechat_doc_gen = 1;
|
|
||||||
weechat_doc_gen_path = strdup (optarg);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'v': /* -v / --version */
|
|
||||||
string_fprintf (stdout, version_get_version ());
|
|
||||||
fprintf (stdout, "\n");
|
|
||||||
weechat_shutdown (EXIT_SUCCESS, 0);
|
|
||||||
break;
|
|
||||||
case OPTION_NO_DLCLOSE: /* --no-dlclose */
|
|
||||||
/*
|
|
||||||
* Valgrind works better when dlclose() is not done after
|
|
||||||
* plugins are unloaded, it can display stack for plugins,*
|
|
||||||
* otherwise you'll see "???" in stack for functions of
|
|
||||||
* unloaded plugins.
|
|
||||||
* This option disables the call to dlclose(),
|
|
||||||
* it must NOT be used for other purposes!
|
|
||||||
*/
|
|
||||||
weechat_plugin_no_dlclose = 1;
|
|
||||||
break;
|
|
||||||
case OPTION_NO_GNUTLS: /* --no-gnutls */
|
|
||||||
/*
|
|
||||||
* Electric-fence is not working fine when gnutls loads
|
|
||||||
* certificates and Valgrind reports many memory errors with
|
|
||||||
* gnutls.
|
|
||||||
* This option disables the init/deinit of gnutls,
|
|
||||||
* it must NOT be used for other purposes!
|
|
||||||
*/
|
|
||||||
weechat_no_gnutls = 1;
|
|
||||||
break;
|
|
||||||
case OPTION_NO_GCRYPT: /* --no-gcrypt */
|
|
||||||
/*
|
|
||||||
* Valgrind reports many memory errors with gcrypt.
|
|
||||||
* This option disables the init/deinit of gcrypt,
|
|
||||||
* it must NOT be used for other purposes!
|
|
||||||
*/
|
|
||||||
weechat_no_gcrypt = 1;
|
|
||||||
break;
|
|
||||||
case ':':
|
|
||||||
string_fprintf (stderr,
|
|
||||||
_("Error: missing argument for \"%s\" option\n"),
|
|
||||||
argv[optind - 1]);
|
|
||||||
weechat_shutdown (EXIT_FAILURE, 0);
|
|
||||||
break;
|
|
||||||
case '?':
|
|
||||||
/* ignore any unknown option; plugins can use them */
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
/* ignore any other error */
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Displays WeeChat startup message.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -480,10 +205,10 @@ weechat_startup_message (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays warnings about $TERM if it is detected as wrong.
|
* Display warnings about $TERM if it is detected as wrong.
|
||||||
*
|
*
|
||||||
* If $TERM is different from "screen" or "screen-256color" and that $STY is
|
* If $TERM is different from "screen" or "screen-256color" and that $STY is
|
||||||
* set (GNU screen) or $TMUX is set (tmux), then a warning is displayed.
|
* set (GNU screen) or $TMUX is set (tmux), then display a warning.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -550,8 +275,8 @@ weechat_term_check (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Displays warning about wrong locale ($LANG and $LC_*) if they are detected
|
* Display warning about wrong locale ($LANG and $LC_*) if they are detected as
|
||||||
* as wrong.
|
* wrong.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -568,7 +293,7 @@ weechat_locale_check (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Shutdowns WeeChat.
|
* Shut down WeeChat.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -607,7 +332,7 @@ weechat_shutdown (int return_code, int crash)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes gettext.
|
* Initialize gettext.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -629,7 +354,7 @@ weechat_init_gettext (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initializes WeeChat.
|
* Initialize WeeChat.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -661,7 +386,7 @@ weechat_init (int argc, char *argv[], void (*gui_init_cb)(void))
|
|||||||
weechat_shutdown (EXIT_FAILURE, 0);
|
weechat_shutdown (EXIT_FAILURE, 0);
|
||||||
if (!config_weechat_init ()) /* init WeeChat options (weechat.*) */
|
if (!config_weechat_init ()) /* init WeeChat options (weechat.*) */
|
||||||
weechat_shutdown (EXIT_FAILURE, 0);
|
weechat_shutdown (EXIT_FAILURE, 0);
|
||||||
weechat_parse_args (argc, argv); /* parse command line args */
|
args_parse (argc, argv); /* parse command line args */
|
||||||
dir_create_home_dirs (); /* create WeeChat home directories */
|
dir_create_home_dirs (); /* create WeeChat home directories */
|
||||||
log_init (); /* init log file */
|
log_init (); /* init log file */
|
||||||
plugin_api_init (); /* create some hooks (info,hdata,..)*/
|
plugin_api_init (); /* create some hooks (info,hdata,..)*/
|
||||||
@@ -701,7 +426,7 @@ weechat_init (int argc, char *argv[], void (*gui_init_cb)(void))
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ends WeeChat.
|
* End WeeChat.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user