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

Compare commits

...

54 Commits

Author SHA1 Message Date
Sébastien Helleu 89afeb5aa2 Version 4.4.4 2024-11-30 09:03:02 +01:00
Sébastien Helleu a4fd1df891 debian: update changelog 2024-11-30 08:52:21 +01:00
Sébastien Helleu bff4ab7808 ci: fix macOS CI
This is a workaround for https://github.com/actions/runner-images/issues/10984
2024-11-26 07:44:03 +01:00
Sébastien Helleu ef1b6a27f1 core: update ChangeLog (issue #2214, issue #2215) 2024-11-26 07:44:03 +01:00
Trygve Aaberge e6cdd40056 script: don't try to display the old line if it's NULL
This fixes a crash which would happen if you scrolled the script buffer
and then did a search which got fewer search results than the index of
the selected line before the search. E.g. press page down to go to the
second page and then search for `test`.
2024-11-26 07:44:03 +01:00
Sébastien Helleu e0b01d3628 perl: add midding #define of __USE_XOPEN to call wcwidth defined in wchar.h 2024-11-26 07:44:03 +01:00
Sébastien Helleu 3fce54e0ca core: update ChangeLog (issue #2213) 2024-11-25 21:28:48 +01:00
Trygve Aaberge fb7a84589d perl: only set Perl locale if the locale is broken
It turns out that Debian has reverted the commit in Perl that broke the
locale in their 5.38 branch, so it did not have the issue. However, the
workaround we added to fix the locale apparently makes the version
Debian/Ubuntu has crash on perl_destruct. I'm not sure why it makes it
crash, but since it doesn't crash on newer Perl versions, I'm assuming
that it's another bug with the locale handling in that Perl version.

To avoid the crash, make sure to only set the locale if we detect that
it has been broken by Perl. We do this by checking if the value returned
by wcwidth (160) (the first non-ascii printable character) has changed.
If this value is not the same after the call to perl_construct, the
locale has been broken.

I moved the call to Perl_setlocale to right after perl_construct, as the
call to perl_construct is what breaks the locale.
2024-11-25 21:27:42 +01:00
Sébastien Helleu c7017f2fce core: update ChangeLog (issue #2209) 2024-11-24 16:25:28 +01:00
Trygve Aaberge a8c1725566 Fix crash when unloading Perl scripts with Perl 5.38
Apparently the issue with the locale being reset with Perl 5.38 can
cause a crash when unloading the scripts on some systems (at least
Ubuntu 24.04). There was a workaround added in commit f4b9cad72, but it
doesn't work to avoid the crash. However if we set LC_ALL instead of
LC_CTYPE the crash doesn't occur.

Fixes #2187
2024-11-24 16:25:09 +01:00
Sébastien Helleu f8c7ed65e6 build: remove our own Ruby detection and rely on CMake detection, require CMake 3.18 (issue #1156)
This fixes the detection of Ruby on macOS 14.
2024-11-05 11:12:28 +01:00
Sébastien Helleu 712227da38 ci: switch from macOS 12 to 14 2024-11-05 10:19:23 +01:00
LuK1337 c079852deb tests: migrate away from removed ast features
See https://github.com/python/cpython/pull/119563.
2024-11-04 18:49:13 +01:00
Sébastien Helleu aab657bcfd core: remove use of arraylist in function gui_buffer_merge 2024-11-04 18:40:29 +01:00
Sébastien Helleu aa2153827e core: send signal "buffer_moved" only when the buffer number changes (issue #2097) 2024-11-04 18:40:27 +01:00
Sébastien Helleu f9660feb94 core: fix too many sorts of hotlist when buffers are moved (issue #2097)
A performance issue was happening when buffers are moved to another position
and when the hotlist contains a lot of buffers: each time a signal
"buffer_moved" is sent, the hotlist is sorted again.

This fix delays the resort of hotlist after all the moves are done using a
timer with a very small delay (one millisecond).
2024-11-03 23:42:23 +01:00
Sébastien Helleu 5ab0ff656f relay, xfer: fix letters with actions displayed on top of buffer
Since WeeChat 4.0.0, the actions are now case sensitive and must be typed as
lower case.

This fixes the help line displayed on top of relay and xfer buffers: letters
for actions are now displayed with lower case instead of upper case.
2024-10-31 20:38:39 +01:00
Sébastien Helleu 53aa046476 build: add a retry build mechanism on make in Debian packaging
When the environment variable `RETRY_BUILD` is set to `1`, the file
`debian/rules` is patched to run `dh_auto_build` multiple times, until the
build succeeds.

This is a workaround for an issue with the build in an arm64 chroot, where the
compiler randomly segfaults.
2024-10-30 14:10:51 +01:00
Sébastien Helleu c51be0a6a8 Version 4.4.4-dev 2024-10-30 12:44:58 +01:00
Sébastien Helleu eb446f099d Version 4.4.3 2024-10-30 12:13:22 +01:00
Sébastien Helleu 4edbbddf2c build: fix check of WeeChat git repository
The `.git` directory can also be a regular file in a git worktree.
2024-10-30 08:00:00 +01:00
Sébastien Helleu 276990699a debian: update changelog 2024-10-30 07:47:22 +01:00
Sébastien Helleu 8dc7bb409d doc: replace font-awesome icons by translated captions
This removes use of a remote CDN (Cloudflare), as font-awesome is no longer
used.
2024-10-30 07:47:16 +01:00
Sébastien Helleu 410ffb2418 debian: bump Standards-Version to 4.7.0 2024-10-30 07:47:07 +01:00
Sébastien Helleu 1ba3e3530b debian: add file CHANGELOG.md in weechat-core.docs 2024-10-30 07:47:04 +01:00
Sébastien Helleu 36332d11c8 doc: rename git branch master to main in URLs 2024-10-16 20:39:15 +02:00
Sébastien Helleu 53da9df883 tests: fix URL to Python unparser 2024-10-16 20:38:03 +02:00
Sébastien Helleu 956befb655 core: always send the signal "buffer_switch", even when the buffer is opening (issue #2198) 2024-10-06 21:00:50 +02:00
Sébastien Helleu 03bd118854 core: remove extra parenthesis in ChangeLog 2024-10-05 14:08:18 +02:00
Sébastien Helleu 57224f4cee irc: fix crash on /list buffer when a filter is set (issue #2197) 2024-10-05 09:17:55 +02:00
Sébastien Helleu 39ea49b9c5 core: set max version for Curl symbol CURLAUTH_NTLM_WB 2024-09-25 21:13:48 +02:00
Sébastien Helleu ccc45c9284 core: add CVE id in ChangeLog 2024-09-25 20:41:20 +02:00
Sébastien Helleu 639c05dd36 core: update ChangeLog (issue #2180) 2024-09-10 07:27:44 +02:00
Fredrik Fornwall f9eb31d517 core: Fix build on Android to define htobe64 2024-09-10 07:26:52 +02:00
Sébastien Helleu bcd3594b38 Version 4.4.3-dev 2024-09-08 11:56:54 +02:00
Sébastien Helleu 26da6bda4d Version 4.4.2 2024-09-08 11:49:21 +02:00
Sébastien Helleu 1abeb71603 core: update ChangeLog (issue #2178) 2024-09-07 10:54:01 +02:00
Sébastien Helleu 172d383fd1 trigger: fix integer overflow in loop (issue #2178) 2024-09-07 10:53:01 +02:00
Sébastien Helleu de30a87a21 relay: fix integer overflow in loops (issue #2178) 2024-09-07 10:52:59 +02:00
Sébastien Helleu 70cd508cf0 irc: fix integer overflow in loops (issue #2178) 2024-09-07 10:52:57 +02:00
Sébastien Helleu 0973fe0ad4 core: fix integer overflow in loops (issue #2178) 2024-09-07 10:52:54 +02:00
Yiheng Cao db65071db5 core: fix integer overflow in string_free_split functions (issue #2178) 2024-09-07 10:52:52 +02:00
Sébastien Helleu 90ba9264de tests: add tests on function string_rebuild_split_string with empty items 2024-09-07 10:52:48 +02:00
Sébastien Helleu 82a425d226 core, plugins: add missing parentheses when dereferencing a pointer with an array index 2024-09-07 10:52:39 +02:00
Sébastien Helleu af2b48c69e core: fix typo in French translation 2024-09-07 10:51:41 +02:00
Sébastien Helleu 8dfd54ae3d doc/faq: fix suggested value for option irc.server.xxx.tls_priorities 2024-09-07 09:18:54 +02:00
Sébastien Helleu aeb973fdbe doc: fix color of text with syntax highlighting and light theme 2024-09-07 09:17:57 +02:00
Sébastien Helleu 677efe8184 build: replace deprecated "DEPEND" by "BUILD_REQUIRES" in Cygwin packaging 2024-09-07 09:17:02 +02:00
Sébastien Helleu 9b30137dd4 build: add license in Cygwin packaging 2024-09-07 09:16:57 +02:00
Sébastien Helleu 230c637565 Version 4.4.2-dev 2024-08-19 20:00:40 +02:00
Sébastien Helleu e3c76cd7e6 Version 4.4.1 2024-08-19 19:57:29 +02:00
LuK1337 4f45828fd6 cmake: find 'lua' first
On Fedora, `lua` is an up to date package.
2024-08-17 11:29:00 +02:00
LuK1337 25809ff592 lua: fix broken LUA_VERSION check
/usr/include/lua-5.1/lua.h:19:25: error: token ""Lua 5.1"" is not valid
in preprocessor expressions
2024-08-17 10:10:53 +02:00
Sébastien Helleu 1d620ce7c7 Version 4.4.1-dev 2024-08-17 09:22:19 +02:00
140 changed files with 1090 additions and 673 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ body:
Before submitting a bug, please check that it has not already been reported by searching in [open and closed bugs](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Abug).
If you don't use the latest version, please try if possible with the latest stable release to be sure the issue is still present and report the issue on this version.
**IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/master/CONTRIBUTING.md#security-reports).
**IMPORTANT**: please do not report any security issue here, see [CONTRIBUTING.md](https://github.com/weechat/weechat/blob/main/CONTRIBUTING.md#security-reports).
- type: textarea
id: bug-description
+4 -2
View File
@@ -138,7 +138,7 @@ jobs:
strategy:
matrix:
os:
- macos-12
- macos-14
config:
- { name: "gcc", cc: "gcc", cxx: "g++" }
- { name: "clang", cc: "clang", cxx: "clang++" }
@@ -168,7 +168,9 @@ jobs:
/usr/local/bin/python3.11 \
/usr/local/bin/python3.11-config \
;
brew install asciidoctor cjson guile lua pkg-config ruby
# workaround for https://github.com/actions/runner-images/issues/10984
brew uninstall --ignore-dependencies --force pkg-config@0.29.2
brew install asciidoctor aspell cjson guile lua ruby
- uses: actions/checkout@v2
+30
View File
@@ -1,5 +1,35 @@
# WeeChat ChangeLog
## Version 4.4.4 (2024-11-30)
### Fixed
- script: fix crash on /script buffer when a filter is set ([#2214](https://github.com/weechat/weechat/issues/2214), [#2215](https://github.com/weechat/weechat/issues/2215))
- core: fix too many sorts of hotlist when buffers are moved ([#2097](https://github.com/weechat/weechat/issues/2097))
- relay, xfer: fix letters with actions displayed on top of buffer
- build: fix detection of Ruby on macOS 14, require CMake ≥ 3.18 ([#1156](https://github.com/weechat/weechat/issues/1156))
- perl: fix crash when unloading Perl scripts with Perl 5.38 ([#2209](https://github.com/weechat/weechat/issues/2209), [#2213](https://github.com/weechat/weechat/issues/2213))
## Version 4.4.3 (2024-10-30)
### Fixed
- irc: fix crash on /list buffer when a filter is set ([#2197](https://github.com/weechat/weechat/issues/2197))
- core: always send the signal "buffer_switch", even when the buffer is opening ([#2198](https://github.com/weechat/weechat/issues/2198))
- core: fix build on Android ([#2180](https://github.com/weechat/weechat/issues/2180))
## Version 4.4.2 (2024-09-08)
### Fixed
- core, plugins: fix integer overflow in loops ([#2178](https://github.com/weechat/weechat/issues/2178), [CVE-2024-46613](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46613))
## Version 4.4.1 (2024-08-19)
### Fixed
- lua: fix compilation on Fedora with Lua < 5.2.0 ([#2173](https://github.com/weechat/weechat/issues/2173), [#2174](https://github.com/weechat/weechat/issues/2174))
## Version 4.4.0 (2024-08-17)
### Changed
+1 -1
View File
@@ -19,7 +19,7 @@
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.18)
project(weechat C)
+1 -1
View File
@@ -12,7 +12,7 @@
[![Donate](https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg)](https://weechat.org/donate/)
[![CI](https://github.com/weechat/weechat/workflows/CI/badge.svg)](https://github.com/weechat/weechat/actions)
[![Code coverage](https://codecov.io/gh/weechat/weechat/branch/master/graph/badge.svg)](https://codecov.io/gh/weechat/weechat)
[![Code coverage](https://codecov.io/gh/weechat/weechat/branch/main/graph/badge.svg)](https://codecov.io/gh/weechat/weechat)
**WeeChat** (Wee Enhanced Environment for Chat) is a free chat client, fast and light, designed for many operating systems.\
It is highly customizable and extensible with scripts.
+1 -1
View File
@@ -35,5 +35,5 @@ endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(LUA lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
pkg_search_module(LUA lua lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50)
endif()
-45
View File
@@ -1,45 +0,0 @@
#
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Ruby
# This module finds if Ruby is installed and determines where the include files
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# RUBY_INCLUDE_DIRS = C flags to compile with ruby
# RUBY_LIBRARY_DIRS = linker flags to compile with ruby (found with pkg-config)
# RUBY_LIB = ruby library (found without pkg-config)
if(RUBY_FOUND)
# Already in cache, be silent
set(RUBY_FIND_QUIETLY TRUE)
endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# set specific search path for macOS
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig")
endif()
pkg_search_module(RUBY ruby-3.3 ruby-3.2 ruby-3.1 ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby)
if(RUBY_FOUND AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# FIXME: weird hack: hardcoding the Ruby lib location on macOS
set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib")
endif()
endif()
+1 -1
View File
@@ -24,7 +24,7 @@ Build-Depends:
libzstd-dev,
zlib1g-dev,
libcjson-dev
Standards-Version: 4.6.2
Standards-Version: 4.7.0
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
-3
View File
@@ -16,8 +16,5 @@ override_dh_auto_configure:
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.md
%:
dh $@ --builddirectory=$(BUILDDIR)
+18
View File
@@ -1,3 +1,21 @@
weechat (4.4.3-1) unstable; urgency=medium
* New upstream release
* Remove (fixed upstream) the fix for a possible privacy breach with html
documentation which includes stylesheets and fonts (font-awesome) hosted
on remote CDN (Cloudflare).
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 06 Nov 2024 21:27:08 +0000
weechat (4.4.2-1) unstable; urgency=medium
* New upstream release
- fix crash where exiting (Closes: #1076532)
- fix a minor security issue (Closes: #1081942)
* Bump Standards-Version to 4.7.0
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 22 Sep 2024 13:08:28 +0000
weechat (4.3.1-1) unstable; urgency=medium
* New upstream release (Closes: #1067608)
+1 -1
View File
@@ -24,7 +24,7 @@ Build-Depends:
libzstd-dev,
zlib1g-dev,
libcjson-dev
Standards-Version: 4.6.2
Standards-Version: 4.7.0
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
-3
View File
@@ -16,8 +16,5 @@ override_dh_auto_configure:
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.md
%:
dh $@ --builddirectory=$(BUILDDIR)
+1
View File
@@ -1,4 +1,5 @@
AUTHORS.md
CHANGELOG.md
CONTRIBUTING.md
README.md
UPGRADING.md
+8 -1
View File
@@ -40,7 +40,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
-a reproducible
-a "prewrap!"
-a "webfonts!"
-a icons=font
-a revnumber="${VERSION}"
-a sectanchors
-a source-highlighter=pygments
@@ -205,6 +204,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
doc-autogen
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
@@ -225,6 +225,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
doc-autogen
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_config_priority.${lang}.adoc"
@@ -248,6 +249,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
doc-autogen
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
@@ -265,6 +267,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "Building weechat_faq.${lang}.html"
)
@@ -279,6 +282,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "Building weechat_quickstart.${lang}.html"
)
@@ -293,6 +297,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "Building weechat_relay_api.${lang}.html"
@@ -308,6 +313,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "Building weechat_relay_weechat.${lang}.html"
@@ -323,6 +329,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
DEPENDS
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "Building weechat_dev.${lang}.html"
)
+23
View File
@@ -0,0 +1,23 @@
// czech translation, for reference only; matches the built-in behavior of core
:appendix-caption: Příloha
:appendix-refsig: {appendix-caption}
:caution-caption: Upozornění
:chapter-signifier: Kapitola
:chapter-refsig: {chapter-signifier}
:example-caption: Příklad
:figure-caption: Obrázek
:important-caption: Důležité
:last-update-label: Změněno
ifdef::listing-caption[:listing-caption: Seznam]
ifdef::manname-title[:manname-title: Název]
:note-caption: Poznámka
:part-signifier: Část
:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: Úvod]
:section-refsig: Oddíl
:table-caption: Tabulka
:tip-caption: Tip
:toc-title: Obsah
:untitled-label: Nepojmenovaný
:version-label: Verze
:warning-caption: Varování
+1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: cs
include::includes/attributes-cs.adoc[]
[[start]]
== Spuštění WeeChatu
+23
View File
@@ -0,0 +1,23 @@
// German translation, courtesy of Florian Wilhelm
:appendix-caption: Anhang
:appendix-refsig: {appendix-caption}
:caution-caption: Achtung
:chapter-signifier: Kapitel
:chapter-refsig: {chapter-signifier}
:example-caption: Beispiel
:figure-caption: Abbildung
:important-caption: Wichtig
:last-update-label: Zuletzt aktualisiert
ifdef::listing-caption[:listing-caption: Listing]
ifdef::manname-title[:manname-title: Bezeichnung]
:note-caption: Anmerkung
:part-signifier: Teil
:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: Vorwort]
:section-refsig: Abschnitt
:table-caption: Tabelle
:tip-caption: Hinweis
:toc-title: Inhaltsverzeichnis
:untitled-label: Ohne Titel
:version-label: Version
:warning-caption: Warnung
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: de
:toc-title: Inhaltsverzeichnis
include::includes/attributes-de.adoc[]
Übersetzer:
@@ -804,7 +804,7 @@ Man sollte versuchen, eine andere Priorität zu nutzen; Im folgenden Beispiel
muss "xxx" durch den betroffenen Servernamen ersetzt werden:
----
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
----
[[irc_tls_libera]]
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: de
:toc-title: Inhaltsverzeichnis
include::includes/attributes-de.adoc[]
Übersetzer:
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: de
:toc-title: Inhaltsverzeichnis
include::includes/attributes-de.adoc[]
Übersetzer:
@@ -73,7 +73,7 @@ und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
importiert werden muss. +
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
[[python_functions]]
===== Funktionen
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: de
:toc-title: Inhaltsverzeichnis
include::includes/attributes-de.adoc[]
Übersetzer:
@@ -827,7 +827,7 @@ weechat --upgrade
==== Hinweise zum Upgrade
Nach einem Upgrade, wird *dringend empfohlen* das Dokukment
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
zu lesen. Dieses Dokument enthält wichtige Informationen zu wichtigen Änderungen und
einige manuelle Aktionen, die erforderlich sein könnten.
+4
View File
@@ -198,6 +198,10 @@ mark {
/* syntax highlighting tuning */
pre.pygments {
color: #ddd !important;
}
pre.pygments .tok-cp {
color: #44cfaf;
}
+23
View File
@@ -0,0 +1,23 @@
// English translation, for reference only; matches the built-in behavior of core
:appendix-caption: Appendix
:appendix-refsig: {appendix-caption}
:caution-caption: Caution
:chapter-signifier: Chapter
:chapter-refsig: {chapter-signifier}
:example-caption: Example
:figure-caption: Figure
:important-caption: Important
:last-update-label: Last updated
ifdef::listing-caption[:listing-caption: Listing]
ifdef::manname-title[:manname-title: Name]
:note-caption: Note
:part-signifier: Part
:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: Preface]
:section-refsig: Section
:table-caption: Table
:tip-caption: Tip
:toc-title: Table of Contents
:untitled-label: Untitled
:version-label: Version
:warning-caption: Warning
+2 -1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
include::includes/attributes-en.adoc[]
This manual documents WeeChat chat client, it is part of WeeChat.
@@ -1172,7 +1173,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^].
Any patch for bug or new feature must be done on master branch, preferred way
Any patch for bug or new feature must be done on branch `main`, preferred way
is a GitHub pull request. A patch can also be sent by e-mail
(made with `git diff` or `git format-patch`).
+2 -1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
include::includes/attributes-en.adoc[]
[[general]]
== General
@@ -758,7 +759,7 @@ should be, you can specify the fingerprint (SHA-512, SHA-256 or SHA-1):
You can try a different priority string, replace "xxx" by your server name:
----
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
----
[[irc_tls_libera]]
+1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
include::includes/attributes-en.adoc[]
This manual documents WeeChat chat client, it is part of WeeChat.
+1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
include::includes/attributes-en.adoc[]
[[start]]
== Start WeeChat
+1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
include::includes/attributes-en.adoc[]
[[introduction]]
== Introduction
+1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
include::includes/attributes-en.adoc[]
[[introduction]]
== Introduction
+2 -1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
include::includes/attributes-en.adoc[]
This manual documents WeeChat chat client, it is part of WeeChat.
@@ -67,7 +68,7 @@ link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
A Python stub for WeeChat API is available in the repository:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
[[python_functions]]
===== Functions
+2 -1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
include::includes/attributes-en.adoc[]
This manual documents WeeChat chat client, it is part of WeeChat.
@@ -817,7 +818,7 @@ weechat --upgrade
==== Upgrading notes
After an upgrade, it is *strongly recommended* to read the file
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
which contains important information about breaking changes and some
manual actions that could be required.
+23
View File
@@ -0,0 +1,23 @@
// Spanish translation, courtesy of Eddú Meléndez <eddu.melendez@gmail.com> with updates from Fede Mendez <federicomh@gmail.com>
:appendix-caption: Apéndice
:appendix-refsig: {appendix-caption}
:caution-caption: Precaución
:chapter-signifier: Capítulo
:chapter-refsig: {chapter-signifier}
:example-caption: Ejemplo
:figure-caption: Figura
:important-caption: Importante
:last-update-label: Ultima actualización
ifdef::listing-caption[:listing-caption: Lista]
ifdef::manname-title[:manname-title: Nombre]
:note-caption: Nota
:part-signifier: Parte
:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: Prefacio]
:section-refsig: Sección
:table-caption: Tabla
:tip-caption: Sugerencia
:toc-title: Tabla de Contenido
:untitled-label: Sin título
:version-label: Versión
:warning-caption: Aviso
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: es
:toc-title: Índice
include::includes/attributes-es.adoc[]
Traductores
@@ -780,7 +780,7 @@ Puede intentar una cadena de prioridad diferente, reemplace "xxx" por el nombre
de su servidor:
----
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
----
[[irc_tls_libera]]
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: es
:toc-title: Índice
include::includes/attributes-es.adoc[]
Traductores:
+23
View File
@@ -0,0 +1,23 @@
// French translation, courtesy of Nicolas Comet <nicolas.comet@gmail.com> with updates from Maheva Bagard Laursen <mblaursen@gbif.org>
:appendix-caption: Annexe
:appendix-refsig: {appendix-caption}
:caution-caption: Attention
:chapter-signifier: Chapitre
:chapter-refsig: {chapter-signifier}
:example-caption: Exemple
:figure-caption: Figure
:important-caption: Important
:last-update-label: Dernière mise à jour
ifdef::listing-caption[:listing-caption: Liste]
ifdef::manname-title[:manname-title: Nom]
:note-caption: Note
:part-signifier: Partie
:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: Préface]
:section-refsig: Section
:table-caption: Tableau
:tip-caption: Astuce
:toc-title: Table des matières
:untitled-label: Sans titre
:version-label: Version
:warning-caption: Avertissement
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: fr
:toc-title: Table des matières
include::includes/attributes-fr.adoc[]
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
partie de WeeChat.
@@ -1192,7 +1192,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
Le dépôt Git est sur https://github.com/weechat/weechat[GitHub ^↗^^].
Tout patch pour un bug ou une nouvelle fonctionnalité doit être effectué sur la
branche master, le format préféré étant une "pull request" sur GitHub. Un patch
branche `main`, le format préféré étant une "pull request" sur GitHub. Un patch
peut aussi être envoyé par e-mail (fait avec `git diff` ou `git format-patch`).
Le format du message de commit est le suivant (avec fermeture automatique
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: fr
:toc-title: Table des matières
include::includes/attributes-fr.adoc[]
== Général
@@ -785,7 +785,7 @@ Vous pouvez essayer une chaîne de priorité différente, remplacez "xxx" par
le nom de votre serveur :
----
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
----
[[irc_tls_libera]]
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: fr
:toc-title: Table des matières
include::includes/attributes-fr.adoc[]
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
partie de WeeChat.
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: fr
:toc-title: Table des matières
include::includes/attributes-fr.adoc[]
[[start]]
== Démarrer WeeChat
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: fr
:toc-title: Table des matières
include::includes/attributes-fr.adoc[]
[[introduction]]
== Introduction
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: fr
:toc-title: Table des matières
include::includes/attributes-fr.adoc[]
[[introduction]]
== Introduction
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: fr
:toc-title: Table des matières
include::includes/attributes-fr.adoc[]
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
partie de WeeChat.
@@ -73,7 +73,7 @@ link:weechat_plugin_api.fr.html#_hook_process[Référence API extension WeeChat
WeeChat définit un module `weechat` qui doit être importé avec `import weechat`. +
Un "stub" Python pour l'API WeeChat est disponible dans le dépôt :
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
[[python_functions]]
===== Fonctions
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: fr
:toc-title: Table des matières
include::includes/attributes-fr.adoc[]
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
partie de WeeChat.
@@ -829,7 +829,7 @@ weechat --upgrade
==== Notes de mise à jour
Après une mise à jour, il est *fortement recommandé* de lire le fichier
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
qui contient des informations importantes sur les changements majeurs et
quelques actions manuelles qui pourraient être nécessaires.
+23
View File
@@ -0,0 +1,23 @@
// Italian translation, courtesy of Marco Ciampa <ciampix@posteo.net>
:appendix-caption: Appendice
:appendix-refsig: {appendix-caption}
:caution-caption: Attenzione
:chapter-signifier: Capitolo
:chapter-refsig: {chapter-signifier}
:example-caption: Esempio
:figure-caption: Figura
:important-caption: Importante
:last-update-label: Ultimo aggiornamento
ifdef::listing-caption[:listing-caption: Elenco]
ifdef::manname-title[:manname-title: Nome]
:note-caption: Nota
:part-signifier: Parte
:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: Prefazione]
:section-refsig: Sezione
:table-caption: Tabella
:tip-caption: Suggerimento
:toc-title: Indice
:untitled-label: Senza titolo
:version-label: Versione
:warning-caption: Attenzione
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: it
:toc-title: Indice
include::includes/attributes-it.adoc[]
// TRANSLATION MISSING
Translators:
@@ -832,7 +832,7 @@ should be, you can specify the fingerprint (SHA-512, SHA-256 or SHA-1):
Provare una stringa di priorità diversa, sostituendo "xxx" con il nome del server:
----
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
----
[[irc_tls_libera]]
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: it
:toc-title: Indice
include::includes/attributes-it.adoc[]
// TRANSLATION MISSING
Translators:
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: it
:toc-title: Indice
include::includes/attributes-it.adoc[]
Traduttori:
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: it
:toc-title: Indice
include::includes/attributes-it.adoc[]
// TRANSLATION MISSING
Translators:
@@ -77,7 +77,7 @@ link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference ^↗
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
A Python stub for WeeChat API is available in the repository:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
// TRANSLATION MISSING
[[python_functions]]
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: it
:toc-title: Indice
include::includes/attributes-it.adoc[]
// TRANSLATION MISSING
Translators:
@@ -899,7 +899,7 @@ weechat --upgrade
// TRANSLATION MISSING
After an upgrade, it is *strongly recommended* to read the file
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
which contains important information about breaking changes and some
manual actions that could be required.
+23
View File
@@ -0,0 +1,23 @@
// Japanese translation, courtesy of Takayuki Konishi <seannos.takayuki@gmail.com>
:appendix-caption: 付録
:appendix-refsig: {appendix-caption}
:caution-caption: 注意
//:chapter-signifier: ???
//:chapter-refsig: {chapter-signifier}
:example-caption: 例
:figure-caption: 図
:important-caption: 重要
:last-update-label: 最終更新
ifdef::listing-caption[:listing-caption: リスト]
ifdef::manname-title[:manname-title: 名前]
:note-caption: 注記
//:part-signifier: ???
//:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: まえがき]
//:section-refsig: ???
:table-caption: 表
:tip-caption: ヒント
:toc-title: 目次
:untitled-label: 無題
:version-label: バージョン
:warning-caption: 警告
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: ja-jp
:toc-title: 目次
include::includes/attributes-ja.adoc[]
翻訳者:
@@ -1309,7 +1309,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
// TRANSLATION MISSING
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^^].
バグや新機能のパッチは必ず master ブランチに対して適用できるものを作成し、GitHub の pull
バグや新機能のパッチは必ず `main` ブランチに対して適用できるものを作成し、GitHub の pull
リクエストを使って提出することを推奨します。パッチは電子メールで送信することも可能です
(`git diff` または `git format-patch` で作成してください)。
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: ja-jp
:toc-title: 目次
include::includes/attributes-ja.adoc[]
翻訳者:
@@ -779,7 +779,7 @@ gnutls ハンドシェイクに関するエラーの場合、Diffie-Hellman キ
You can try a different priority string, replace "xxx" by your server name:
----
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
----
[[irc_tls_libera]]
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: ja-jp
:toc-title: 目次
include::includes/attributes-ja.adoc[]
翻訳者:
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: ja-jp
:toc-title: 目次
include::includes/attributes-ja.adoc[]
翻訳者:
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: ja-jp
:toc-title: 目次
include::includes/attributes-ja.adoc[]
翻訳者:
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: ja-jp
:toc-title: 目次
include::includes/attributes-ja.adoc[]
翻訳者:
@@ -74,7 +74,7 @@ link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リフ
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
A Python stub for WeeChat API is available in the repository:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
// TRANSLATION MISSING
[[python_functions]]
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: ja-jp
:toc-title: 目次
include::includes/attributes-ja.adoc[]
翻訳者:
@@ -875,7 +875,7 @@ weechat --upgrade
// TRANSLATION MISSING
After an upgrade, it is *strongly recommended* to read the file
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
which contains important information about breaking changes and some
manual actions that could be required.
+23
View File
@@ -0,0 +1,23 @@
// Polish translation, courtesy of Łukasz Dziedziul <l.dziedziul@gmail.com> with updates via Matthew Blissett <mblissett@gbif.org>
:appendix-caption: Dodatek
:appendix-refsig: {appendix-caption}
:caution-caption: Uwaga
:chapter-signifier: Rozdział
:chapter-refsig: {chapter-signifier}
:example-caption: Przykład
:figure-caption: Rysunek
:important-caption: Ważne
:last-update-label: Ostatnio zmodyfikowany
ifdef::listing-caption[:listing-caption: Listing]
ifdef::manname-title[:manname-title: Nazwa]
:note-caption: Notka
:part-signifier: Część
:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: Wstęp]
:section-refsig: Sekcja
:table-caption: Tabela
:tip-caption: Sugestia
:toc-title: Spis treści
:untitled-label: Bez tytułu
:version-label: Wersja
:warning-caption: Ostrzeżenie
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: pl
:toc-title: Spis treści
include::includes/attributes-pl.adoc[]
Tłumaczenie:
@@ -761,7 +761,7 @@ możesz podać sumę kontrolną (SHA-512, SHA-256 lub SHA-1):
Możesz spróbować innego ciągu priorytetu, zamień "xxx" nazwą serwera:
----
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
----
[[irc_tls_libera]]
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: pl
:toc-title: Spis treści
include::includes/attributes-pl.adoc[]
Tłumaczenie:
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: pl
:toc-title: Spis treści
include::includes/attributes-pl.adoc[]
Tłumaczenie:
@@ -72,7 +72,7 @@ link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat ^↗^^]
WeeChat definiuje moduł `weechat`, który należy zaimportowac poprzez `import weechat`. +
Szkielet API WeeChat dla języka Python dostępny jest w repozytorium:
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
[[python_functions]]
===== Funkcje
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: pl
:toc-title: Spis treści
include::includes/attributes-pl.adoc[]
Tłumaczenie:
@@ -821,7 +821,7 @@ weechat --upgrade
==== Informacje o aktualizacji
Po aktualizacji *zaleca się* zapoznanie z plikiem
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^],
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^],
który zawiera ważne informacje o niekompatybilnych zmianach i czynnościach,
jakie mogą być wymagane.
+23
View File
@@ -0,0 +1,23 @@
// Russian translation, courtesy of Alexander Zobkov <alexander.zobkov@gmail.com>
:appendix-caption: Приложение
:appendix-refsig: {appendix-caption}
:caution-caption: Внимание
:chapter-signifier: Глава
:chapter-refsig: {chapter-signifier}
:example-caption: Пример
:figure-caption: Рисунок
:important-caption: Важно
:last-update-label: Последнее обновление
ifdef::listing-caption[:listing-caption: Листинг]
ifdef::manname-title[:manname-title: Название]
:note-caption: Примечание
:part-signifier: Часть
:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: Предисловие]
:section-refsig: Раздел
:table-caption: Таблица
:tip-caption: Подсказка
:toc-title: Содержание
:untitled-label: Без названия
:version-label: Версия
:warning-caption: Предупреждение
+1
View File
@@ -2,6 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: ru
include::includes/attributes-ru.adoc[]
Переводчики:
+23
View File
@@ -0,0 +1,23 @@
// Serbian Cyrillic translation, courtesy of Bojan Stipic <bojan-7@live.com>
:appendix-caption: Додатак
:appendix-refsig: {appendix-caption}
:caution-caption: Опрез
:chapter-signifier: Поглавље
:chapter-refsig: {chapter-signifier}
:example-caption: Пример
:figure-caption: Слика
:important-caption: Важно
:last-update-label: Последње ажурирано
ifdef::listing-caption[:listing-caption: Листинг]
ifdef::manname-title[:manname-title: Назив]
:note-caption: Белешка
:part-signifier: Део
:part-refsig: {part-signifier}
ifdef::preface-title[:preface-title: Предговор]
:section-refsig: Секција
:table-caption: Табела
:tip-caption: Савет
:toc-title: Садржај
:untitled-label: Без назива
:version-label: Верзија
:warning-caption: Упозорење
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: sr
:toc-title: Садржај
include::includes/attributes-sr.adoc[]
Превод:
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: sr
:toc-title: Садржај
include::includes/attributes-sr.adoc[]
Превод:
@@ -680,7 +680,7 @@ printf '\033[?1002l'
Можете да покушате са другачијим стрингом приоритета, замените „xxx” са именом вашег сервера:
----
/set irc.server.xxx.tls_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
/set irc.server.xxx.tls_priorities "NORMAL:%COMPAT"
----
[[irc_tls_libera]]
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: sr
:toc-title: Садржај
include::includes/attributes-sr.adoc[]
Превод:
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: sr
:toc-title: Садржај
include::includes/attributes-sr.adoc[]
Превод:
+1 -1
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: sr
:toc-title: Садржај
include::includes/attributes-sr.adoc[]
Превод:
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: sr
:toc-title: Садржај
include::includes/attributes-sr.adoc[]
Превод:
@@ -61,7 +61,7 @@ Almost all examples in this doc are written in Python, but API is the same for o
===== Модул
Програм WeeChat дефинише `weechat` модул који мора да се увезе командом `import weechat`. +
Python стаб за WeeChat API је соступан у репозиторијуму: https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
Python стаб за WeeChat API је соступан у репозиторијуму: https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
[[python_functions]]
===== Функције
+2 -2
View File
@@ -2,7 +2,7 @@
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: sr
:toc-title: Садржај
include::includes/attributes-sr.adoc[]
Превод:
@@ -773,7 +773,7 @@ weechat --upgrade
==== Напомене у вези са ажурирањем
Након ажурирања, *снажно се препоручује* да прочитате фајл
https://github.com/weechat/weechat/blob/master/UPGRADING.md[UPGRADING.md ^↗^^]
https://github.com/weechat/weechat/blob/main/UPGRADING.md[UPGRADING.md ^↗^^]
који садржи важне информације у вези са изменама које могу да покваре понашање и
неке ручне акције које могу да буду неопходне.
+14 -14
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:24+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: cs\n"
@@ -14016,17 +14016,17 @@ msgstr "%s%s: nedostatek paměti pro rozdělení zprávy"
msgid "Actions (letter+enter):"
msgstr "Akce (písmeno+enter):"
msgid " [D] Disconnect"
msgstr " [D] Odpojit"
msgid " [d] Disconnect"
msgstr " [d] Odpojit"
msgid " [R] Remove"
msgstr " [R] Odebrat"
msgid " [r] Remove"
msgstr " [r] Odebrat"
msgid " [P] Purge finished"
msgstr " [P] Pročistit ukončené"
msgid " [p] Purge finished"
msgstr " [p] Pročistit ukončené"
msgid " [Q] Close this buffer"
msgstr " [Q] Zavřít tento buffer"
msgid " [q] Close this buffer"
msgstr " [q] Zavřít tento buffer"
#, fuzzy, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -16618,11 +16618,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid " [A] Accept"
msgstr " [A] Akceptovat"
msgid " [a] Accept"
msgstr " [a] Akceptovat"
msgid " [C] Cancel"
msgstr " [C] Storno"
msgid " [c] Cancel"
msgstr " [c] Storno"
msgid "xfer chat"
msgstr "xfer chat"
+14 -14
View File
@@ -26,8 +26,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-13 09:42+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:25+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de_DE\n"
@@ -15401,17 +15401,17 @@ msgstr "%s%s: Nicht genug Speicher vorhanden um Nachricht zu parsen"
msgid "Actions (letter+enter):"
msgstr "Aktion (Zeichen+Enter):"
msgid " [D] Disconnect"
msgstr " [D] Verbindung trennen"
msgid " [d] Disconnect"
msgstr " [d] Verbindung trennen"
msgid " [R] Remove"
msgstr " [R] Entfernen"
msgid " [r] Remove"
msgstr " [r] Entfernen"
msgid " [P] Purge finished"
msgstr " [P] beendete Aufträge aufräumen"
msgid " [p] Purge finished"
msgstr " [p] beendete Aufträge aufräumen"
msgid " [Q] Close this buffer"
msgstr " [Q] diesen Buffer schließen"
msgid " [q] Close this buffer"
msgstr " [q] diesen Buffer schließen"
#, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -18217,11 +18217,11 @@ msgstr ""
"maximale Anzahl von Zeichen, die im Bar-Item \"typing\" angezeigt werden (0 "
"= Inhalt nicht abschneiden)"
msgid " [A] Accept"
msgstr " [A] annehmen"
msgid " [a] Accept"
msgstr " [a] annehmen"
msgid " [C] Cancel"
msgstr " [C] abbrechen"
msgid " [c] Cancel"
msgstr " [c] abbrechen"
msgid "xfer chat"
msgstr "Transfer (xfer) Chat"
+14 -14
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:30+0100\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: es\n"
@@ -14356,17 +14356,17 @@ msgstr "%s%s: memoria insuficiente para analizar el mensaje"
msgid "Actions (letter+enter):"
msgstr "Acciones (letra+enter):"
msgid " [D] Disconnect"
msgstr " [D] Desconectar"
msgid " [d] Disconnect"
msgstr " [d] Desconectar"
msgid " [R] Remove"
msgstr " [R] Eliminar"
msgid " [r] Remove"
msgstr " [r] Eliminar"
msgid " [P] Purge finished"
msgstr " [P] Purgar terminados"
msgid " [p] Purge finished"
msgstr " [p] Purgar terminados"
msgid " [Q] Close this buffer"
msgstr " [Q] Cerrar este buffer"
msgid " [q] Close this buffer"
msgstr " [q] Cerrar este buffer"
#, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -16931,11 +16931,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid " [A] Accept"
msgstr " [A] Aceptar"
msgid " [a] Accept"
msgstr " [a] Aceptar"
msgid " [C] Cancel"
msgstr " [C] Cancelar"
msgid " [c] Cancel"
msgstr " [c] Cancelar"
msgid "xfer chat"
msgstr "conversación de transferencia"
+15 -15
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:31+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -12145,7 +12145,7 @@ msgstr ""
"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 "
"de passe dans le message affiché par \"/msg nickserv identify motdepasse\", "
"exemple : \"nickserv|nickbot\""
"exemple : \"nickserv,nickbot\""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
@@ -15091,17 +15091,17 @@ msgstr "%s%s : pas assez de mémoire pour analyser le message"
msgid "Actions (letter+enter):"
msgstr "Actions (lettre+entrée) :"
msgid " [D] Disconnect"
msgstr " [D] Déconnecter"
msgid " [d] Disconnect"
msgstr " [d] Déconnecter"
msgid " [R] Remove"
msgstr " [R] Retirer"
msgid " [r] Remove"
msgstr " [r] Retirer"
msgid " [P] Purge finished"
msgstr " [P] Purger terminés"
msgid " [p] Purge finished"
msgstr " [p] Purger terminés"
msgid " [Q] Close this buffer"
msgstr " [Q] Fermer ce tampon"
msgid " [q] Close this buffer"
msgstr " [q] Fermer ce tampon"
#, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -17863,11 +17863,11 @@ msgstr ""
"nombre maximum de caractères affichés dans l'objet de barre \"typing\" (0 = "
"ne pas tronquer le contenu)"
msgid " [A] Accept"
msgstr " [A] Accepter"
msgid " [a] Accept"
msgstr " [a] Accepter"
msgid " [C] Cancel"
msgstr " [C] Annuler"
msgid " [c] Cancel"
msgstr " [c] Annuler"
msgid "xfer chat"
msgstr "discussion xfer"
+13 -13
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:31+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: hu\n"
@@ -13422,19 +13422,19 @@ msgstr "%s nincs elegendő memória a fogadott IRC üzenet számára\n"
msgid "Actions (letter+enter):"
msgstr ""
msgid " [D] Disconnect"
msgid " [d] Disconnect"
msgstr ""
msgid " [R] Remove"
msgstr " [R] Eltávolítás"
msgid " [r] Remove"
msgstr " [r] Eltávolítás"
#, fuzzy
msgid " [P] Purge finished"
msgstr " [P] Régi DCC törlése"
msgid " [p] Purge finished"
msgstr " [p] Régi DCC törlése"
#, fuzzy
msgid " [Q] Close this buffer"
msgstr " [Q] DCC nézet bezárása"
msgid " [q] Close this buffer"
msgstr " [q] DCC nézet bezárása"
#, fuzzy, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -15882,11 +15882,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid " [A] Accept"
msgstr " [A] Elfogadás"
msgid " [a] Accept"
msgstr " [a] Elfogadás"
msgid " [C] Cancel"
msgstr " [C] Mégsem"
msgid " [c] Cancel"
msgstr " [c] Mégsem"
msgid "xfer chat"
msgstr ""
+14 -14
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:32+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: it\n"
@@ -14368,17 +14368,17 @@ msgstr "%s%s: memoria non sufficiente per verificare il messaggio"
msgid "Actions (letter+enter):"
msgstr "Azioni (lettera+invio):"
msgid " [D] Disconnect"
msgstr " [D] Disconnetti"
msgid " [d] Disconnect"
msgstr " [d] Disconnetti"
msgid " [R] Remove"
msgstr " [R] Rimuovi"
msgid " [r] Remove"
msgstr " [r] Rimuovi"
msgid " [P] Purge finished"
msgstr " [P] Rimuovi completati"
msgid " [p] Purge finished"
msgstr " [p] Rimuovi completati"
msgid " [Q] Close this buffer"
msgstr " [Q] Chiudi questo buffer"
msgid " [q] Close this buffer"
msgstr " [q] Chiudi questo buffer"
#, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -17003,11 +17003,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid " [A] Accept"
msgstr " [A] Accetta"
msgid " [a] Accept"
msgstr " [a] Accetta"
msgid " [C] Cancel"
msgstr " [C] Annulla"
msgid " [c] Cancel"
msgstr " [c] Annulla"
msgid "xfer chat"
msgstr "chat xfer"
+14 -14
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:32+0100\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
"translation/ja_JP>\n"
@@ -14805,17 +14805,17 @@ msgstr "%s%s: メッセージ解析用のメモリが足りません"
msgid "Actions (letter+enter):"
msgstr "Actions (文字+enter):"
msgid " [D] Disconnect"
msgstr " [D] 切断"
msgid " [d] Disconnect"
msgstr " [d] 切断"
msgid " [R] Remove"
msgstr " [R] 削除"
msgid " [r] Remove"
msgstr " [r] 削除"
msgid " [P] Purge finished"
msgstr " [P] パージ完了"
msgid " [p] Purge finished"
msgstr " [p] パージ完了"
msgid " [Q] Close this buffer"
msgstr " [Q] バッファを閉じる"
msgid " [q] Close this buffer"
msgstr " [q] バッファを閉じる"
#, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -17525,11 +17525,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid " [A] Accept"
msgstr " [A] 受け入れる"
msgid " [a] Accept"
msgstr " [a] 受け入れる"
msgid " [C] Cancel"
msgstr " [C] キャンセル"
msgid " [c] Cancel"
msgstr " [c] キャンセル"
msgid "xfer chat"
msgstr "xfer チャット"
+14 -14
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:33+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pl\n"
@@ -14714,17 +14714,17 @@ msgstr "%s%s: za mało pamięci na przetworzenie otrzymanych wiadomości"
msgid "Actions (letter+enter):"
msgstr "Akcje (litera+enter):"
msgid " [D] Disconnect"
msgstr " [D] Rozłącz"
msgid " [d] Disconnect"
msgstr " [d] Rozłącz"
msgid " [R] Remove"
msgstr " [R] Usuń"
msgid " [r] Remove"
msgstr " [r] Usuń"
msgid " [P] Purge finished"
msgstr " [P] Wyczyść skończone"
msgid " [p] Purge finished"
msgstr " [p] Wyczyść skończone"
msgid " [Q] Close this buffer"
msgstr " [Q] Zamknij ten bufor"
msgid " [q] Close this buffer"
msgstr " [q] Zamknij ten bufor"
#, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -17442,11 +17442,11 @@ msgstr ""
"maksymalna ilość znaków wyświetlana w elemencie paska \"typing\" (0 = nie "
"ograniczaj zawartości)"
msgid " [A] Accept"
msgstr " [A] Akceptuj"
msgid " [a] Accept"
msgstr " [a] Akceptuj"
msgid " [C] Cancel"
msgstr " [C] Anuluj"
msgid " [c] Cancel"
msgstr " [c] Anuluj"
msgid "xfer chat"
msgstr "rozmowa xfer"
+14 -14
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:33+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
"Language: pt\n"
@@ -14713,17 +14713,17 @@ msgstr "%s%s: memória insuficiente para analisar a mensagem"
msgid "Actions (letter+enter):"
msgstr "Ações (letra+enter):"
msgid " [D] Disconnect"
msgstr " [D] Desconectar"
msgid " [d] Disconnect"
msgstr " [d] Desconectar"
msgid " [R] Remove"
msgstr " [R] Remover"
msgid " [r] Remove"
msgstr " [r] Remover"
msgid " [P] Purge finished"
msgstr " [P] Purga concluída"
msgid " [p] Purge finished"
msgstr " [p] Purga concluída"
msgid " [Q] Close this buffer"
msgstr " [Q] Fechar este buffer"
msgid " [q] Close this buffer"
msgstr " [q] Fechar este buffer"
#, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -17437,11 +17437,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid " [A] Accept"
msgstr " [A] Aceitar"
msgid " [a] Accept"
msgstr " [a] Aceitar"
msgid " [C] Cancel"
msgstr " [C] Cancelar"
msgid " [c] Cancel"
msgstr " [c] Cancelar"
msgid "xfer chat"
msgstr "chat xfer"
+14 -14
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:34+0100\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pt_BR\n"
@@ -13877,17 +13877,17 @@ msgstr "%s%s: memória insuficiente para interpretar mensagem"
msgid "Actions (letter+enter):"
msgstr "Ações (letra+ENTER):"
msgid " [D] Disconnect"
msgstr " [D] Desconectar"
msgid " [d] Disconnect"
msgstr " [d] Desconectar"
msgid " [R] Remove"
msgstr " [R] Remover"
msgid " [r] Remove"
msgstr " [r] Remover"
msgid " [P] Purge finished"
msgstr " [P] Excluir finalizados"
msgid " [p] Purge finished"
msgstr " [p] Excluir finalizados"
msgid " [Q] Close this buffer"
msgstr " [Q] Fechar este buffer"
msgid " [q] Close this buffer"
msgstr " [q] Fechar este buffer"
#, fuzzy, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -16435,11 +16435,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid " [A] Accept"
msgstr " [A] Aceitar"
msgid " [a] Accept"
msgstr " [a] Aceitar"
msgid " [C] Cancel"
msgstr " [C] Cancelar"
msgid " [c] Cancel"
msgstr " [c] Cancelar"
msgid "xfer chat"
msgstr "chat de transferência"
+13 -13
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:35+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: ru\n"
@@ -13475,19 +13475,19 @@ msgstr "%s недостаточно памяти для полученного
msgid "Actions (letter+enter):"
msgstr ""
msgid " [D] Disconnect"
msgid " [d] Disconnect"
msgstr ""
msgid " [R] Remove"
msgstr " [R] Удалить"
msgid " [r] Remove"
msgstr " [r] Удалить"
#, fuzzy
msgid " [P] Purge finished"
msgstr " [P] Очистить список"
msgid " [p] Purge finished"
msgstr " [p] Очистить список"
#, fuzzy
msgid " [Q] Close this buffer"
msgstr " [Q] Закрыть окно"
msgid " [q] Close this buffer"
msgstr " [q] Закрыть окно"
#, fuzzy, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -15935,11 +15935,11 @@ msgid ""
"truncate content)"
msgstr ""
msgid " [A] Accept"
msgstr " [A] Принять"
msgid " [a] Accept"
msgstr " [a] Принять"
msgid " [C] Cancel"
msgstr " [C] Отменить"
msgid " [c] Cancel"
msgstr " [c] Отменить"
msgid "xfer chat"
msgstr ""
+14 -14
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:36+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:35+0100\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: sr\n"
@@ -14693,17 +14693,17 @@ msgstr "%s%s: нема довољно слободне меморије за п
msgid "Actions (letter+enter):"
msgstr "Акције (слово+ентер):"
msgid " [D] Disconnect"
msgstr " [D] Прекид везе"
msgid " [d] Disconnect"
msgstr " [d] Прекид везе"
msgid " [R] Remove"
msgstr " [R] Уклањање"
msgid " [r] Remove"
msgstr " [r] Уклањање"
msgid " [P] Purge finished"
msgstr " [P] Завршено чишћење"
msgid " [p] Purge finished"
msgstr " [p] Завршено чишћење"
msgid " [Q] Close this buffer"
msgstr " [Q] Затварање овог бафера"
msgid " [q] Close this buffer"
msgstr " [q] Затварање овог бафера"
#, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -17397,11 +17397,11 @@ msgstr ""
"макс број карактера који се приказује у ставци траке \"typing\" (0 = садржај "
"се не одсеца)"
msgid " [A] Accept"
msgstr " [A] Прихвати"
msgid " [a] Accept"
msgstr " [a] Прихвати"
msgid " [C] Cancel"
msgstr " [C] Откажи"
msgid " [c] Cancel"
msgstr " [c] Откажи"
msgid "xfer chat"
msgstr "xfer разговор"
+14 -14
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:36+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2024-10-31 20:36+0100\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: tr\n"
@@ -14977,17 +14977,17 @@ msgstr "%s%s: ayrıştırma iletisi için bellek yetersiz"
msgid "Actions (letter+enter):"
msgstr "Eylemler (harf+enter):"
msgid " [D] Disconnect"
msgstr " [D] Bağlantıyı kes"
msgid " [d] Disconnect"
msgstr " [d] Bağlantıyı kes"
msgid " [R] Remove"
msgstr " [R] Kaldır"
msgid " [r] Remove"
msgstr " [r] Kaldır"
msgid " [P] Purge finished"
msgstr " [P] Biteni temizle"
msgid " [p] Purge finished"
msgstr " [p] Biteni temizle"
msgid " [Q] Close this buffer"
msgstr " [Q] Bu arabelleği kapat"
msgid " [q] Close this buffer"
msgstr " [q] Bu arabelleği kapat"
#, c-format
msgid "%s%s[%s%s%s%s] %s, received: %s, sent: %s"
@@ -17777,11 +17777,11 @@ msgstr ""
"\"yazıyor\" çubuk ögesinde görüntülenecek en çok karakter sayısı (0 = "
"içeriği kısaltma)"
msgid " [A] Accept"
msgstr " [A] Kabul et"
msgid " [a] Accept"
msgstr " [a] Kabul et"
msgid " [C] Cancel"
msgstr " [C] İptal"
msgid " [c] Cancel"
msgstr " [c] İptal"
msgid "xfer chat"
msgstr "xfer sohbeti"
+7 -7
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"POT-Creation-Date: 2024-10-31 20:22+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12278,16 +12278,16 @@ msgstr ""
msgid "Actions (letter+enter):"
msgstr ""
msgid " [D] Disconnect"
msgid " [d] Disconnect"
msgstr ""
msgid " [R] Remove"
msgid " [r] Remove"
msgstr ""
msgid " [P] Purge finished"
msgid " [p] Purge finished"
msgstr ""
msgid " [Q] Close this buffer"
msgid " [q] Close this buffer"
msgstr ""
#, c-format
@@ -14562,10 +14562,10 @@ msgid ""
"truncate content)"
msgstr ""
msgid " [A] Accept"
msgid " [a] Accept"
msgstr ""
msgid " [C] Cancel"
msgid " [c] Cancel"
msgstr ""
msgid "xfer chat"
+25 -24
View File
@@ -334,8 +334,9 @@ char *
calc_expression (const char *expr)
{
struct t_arraylist *list_values, *list_ops;
const char *ptr_expr, *ptr_expr2;
char str_result[64], *ptr_operator, *operator;
int i, i2, index_op, decimals;
int index_op, decimals;
enum t_calc_symbol last_symbol;
double value, factor, *ptr_value;
@@ -363,21 +364,21 @@ calc_expression (const char *expr)
goto end;
last_symbol = CALC_SYMBOL_NONE;
for (i = 0; expr[i]; i++)
for (ptr_expr = expr; ptr_expr[0]; ptr_expr++)
{
if (expr[i] == ' ')
if (ptr_expr[0] == ' ')
{
/* ignore spaces */
continue;
}
else if (expr[i] == '(')
else if (ptr_expr[0] == '(')
{
ptr_operator = string_strndup (expr + i, 1);
ptr_operator = string_strndup (ptr_expr, 1);
arraylist_add (list_ops, ptr_operator);
last_symbol = CALC_SYMBOL_PARENTHESIS_OPEN;
}
else if (isdigit ((unsigned char)expr[i]) || (expr[i] == '.')
|| ((expr[i] == '-')
else if (isdigit ((unsigned char)ptr_expr[0]) || (ptr_expr[0] == '.')
|| ((ptr_expr[0] == '-')
&& ((last_symbol == CALC_SYMBOL_NONE)
|| (last_symbol == CALC_SYMBOL_PARENTHESIS_OPEN)
|| (last_symbol == CALC_SYMBOL_OPERATOR))))
@@ -385,15 +386,15 @@ calc_expression (const char *expr)
value = 0;
decimals = 0;
factor = 1;
if (expr[i] == '-')
if (ptr_expr[0] == '-')
{
factor = -1;
i++;
ptr_expr++;
}
while (expr[i]
&& (isdigit ((unsigned char)expr[i]) || (expr[i] == '.')))
while (ptr_expr[0]
&& (isdigit ((unsigned char)ptr_expr[0]) || (ptr_expr[0] == '.')))
{
if (expr[i] == '.')
if (ptr_expr[0] == '.')
{
if (decimals == 0)
decimals = 10;
@@ -402,24 +403,24 @@ calc_expression (const char *expr)
{
if (decimals)
{
value = value + (((double)(expr[i] - '0')) / decimals);
value = value + (((double)(ptr_expr[0] - '0')) / decimals);
decimals *= 10;
}
else
{
value = (value * 10) + (expr[i] - '0');
value = (value * 10) + (ptr_expr[0] - '0');
}
}
i++;
ptr_expr++;
}
i--;
ptr_expr--;
value *= factor;
ptr_value = malloc (sizeof (value));
*ptr_value = value;
arraylist_add (list_values, ptr_value);
last_symbol = CALC_SYMBOL_VALUE;
}
else if (expr[i] == ')')
else if (ptr_expr[0] == ')')
{
index_op = arraylist_size (list_ops) - 1;
while (index_op >= 0)
@@ -439,15 +440,15 @@ calc_expression (const char *expr)
else
{
/* operator */
i2 = i + 1;
while (expr[i2] && (expr[i2] != ' ') && (expr[i2] != '(')
&& (expr[i2] != ')') && (expr[i2] != '.')
&& (expr[i2] != '-') && !isdigit ((unsigned char)expr[i2]))
ptr_expr2 = ptr_expr + 1;
while (ptr_expr2[0] && (ptr_expr2[0] != ' ') && (ptr_expr2[0] != '(')
&& (ptr_expr2[0] != ')') && (ptr_expr2[0] != '.')
&& (ptr_expr2[0] != '-') && !isdigit ((unsigned char)ptr_expr2[0]))
{
i2++;
ptr_expr2++;
}
operator = string_strndup (expr + i, i2 - i);
i = i2 - 1;
operator = string_strndup (ptr_expr, ptr_expr2 - ptr_expr);
ptr_expr = ptr_expr2 - 1;
if (operator)
{
index_op = arraylist_size (list_ops) - 1;
+12 -12
View File
@@ -1841,8 +1841,8 @@ COMMAND_CALLBACK(color)
COMMAND_CALLBACK(command)
{
int i, length, index_args, any_plugin;
char *command, **commands;
int length, index_args, any_plugin;
char *command, **commands, **ptr_command;
struct t_weechat_plugin *ptr_plugin;
struct t_gui_buffer *ptr_buffer;
@@ -1862,10 +1862,10 @@ COMMAND_CALLBACK(command)
commands = string_split_command (argv_eol[2], ';');
if (commands)
{
for (i = 0; commands[i]; i++)
for (ptr_command = commands; *ptr_command; ptr_command++)
{
(void) input_data (buffer,
commands[i],
*ptr_command,
NULL,
0, /* split_newline */
0); /* user_data */
@@ -2328,7 +2328,7 @@ command_eval_print_debug (const char *debug)
COMMAND_CALLBACK(eval)
{
int i, rc, print_only, split_command, condition, debug, error;
char *result, *ptr_args, **commands, str_debug[32];
char *result, *ptr_args, **commands, **ptr_command, str_debug[32];
const char *debug_output;
struct t_hashtable *pointers, *options;
@@ -2446,9 +2446,9 @@ COMMAND_CALLBACK(eval)
commands = string_split_command (ptr_args, ';');
if (commands)
{
for (i = 0; commands[i]; i++)
for (ptr_command = commands; *ptr_command; ptr_command++)
{
result = eval_expression (commands[i], pointers, NULL,
result = eval_expression (*ptr_command, pointers, NULL,
options);
if (result)
{
@@ -5059,7 +5059,7 @@ command_plugin_list_input (struct t_gui_buffer *buffer,
for (ptr_item = list->items; ptr_item;
ptr_item = ptr_item->next_item)
{
if (*buf[0])
if ((*buf)[0])
{
string_dyn_concat (buf, ", ", -1);
}
@@ -5074,7 +5074,7 @@ command_plugin_list_input (struct t_gui_buffer *buffer,
string_dyn_concat (buf, ptr_item->data, -1);
}
if (!*buf[0])
if (!(*buf)[0])
{
string_dyn_concat (
buf,
@@ -6645,7 +6645,7 @@ command_set_display_option_lists (char **argv, int arg_start, int arg_end,
COMMAND_CALLBACK(set)
{
char *value;
char *value, **ptr_environ;
const char *ptr_string;
int i, number_found, rc, display_only_changed, arg_option_start;
int arg_option_end, list_size;
@@ -6667,9 +6667,9 @@ COMMAND_CALLBACK(set)
list = weelist_new ();
if (!list)
COMMAND_ERROR;
for (i = 0; environ[i]; i++)
for (ptr_environ = environ; *ptr_environ; ptr_environ++)
{
weelist_add (list, environ[i], WEECHAT_LIST_POS_SORT, NULL);
weelist_add (list, *ptr_environ, WEECHAT_LIST_POS_SORT, NULL);
}
list_size = weelist_size (list);
for (i = 0; i < list_size; i++)
+9 -9
View File
@@ -1471,9 +1471,9 @@ completion_list_add_config_option_values_cb (const void *pointer, void *data,
struct t_gui_completion *completion)
{
char *pos_space, *option_full_name, *pos_section, *pos_option;
char *file, *section, *value_string;
char *file, *section, *value_string, **ptr_value;
const char *color_name;
int length, i;
int length;
struct t_config_file *ptr_config;
struct t_config_section *ptr_section, *section_found;
struct t_config_option *option_found;
@@ -1631,10 +1631,11 @@ completion_list_add_config_option_values_cb (const void *pointer, void *data,
}
break;
case CONFIG_OPTION_TYPE_ENUM:
for (i = 0; option_found->string_values[i]; i++)
for (ptr_value = option_found->string_values;
*ptr_value; ptr_value++)
{
gui_completion_list_add (completion,
option_found->string_values[i],
*ptr_value,
0, WEECHAT_LIST_POS_SORT);
}
gui_completion_list_add (completion, "++1",
@@ -2015,8 +2016,7 @@ completion_list_add_env_vars_cb (const void *pointer, void *data,
struct t_gui_buffer *buffer,
struct t_gui_completion *completion)
{
int i;
char *pos, *name;
char *pos, *name, **ptr_environ;
/* make C compiler happy */
(void) pointer;
@@ -2024,12 +2024,12 @@ completion_list_add_env_vars_cb (const void *pointer, void *data,
(void) completion_item;
(void) buffer;
for (i = 0; environ[i]; i++)
for (ptr_environ = environ; *ptr_environ; ptr_environ++)
{
pos = strchr (environ[i], '=');
pos = strchr (*ptr_environ, '=');
if (pos)
{
name = string_strndup (environ[i], pos - environ[i]);
name = string_strndup (*ptr_environ, pos - *ptr_environ);
if (name)
{
gui_completion_list_add (completion, name,
+5 -6
View File
@@ -976,8 +976,7 @@ void
config_change_emphasized_attributes (const void *pointer, void *data,
struct t_config_option *option)
{
int i;
const char *ptr_attr;
const char *ptr_attributes, *ptr_attr;
/* make C compiler happy */
(void) pointer;
@@ -986,12 +985,12 @@ config_change_emphasized_attributes (const void *pointer, void *data,
config_emphasized_attributes = 0;
ptr_attr = CONFIG_STRING(config_look_emphasized_attributes);
if (ptr_attr)
ptr_attributes = CONFIG_STRING(config_look_emphasized_attributes);
if (ptr_attributes)
{
for (i = 0; ptr_attr[i]; i++)
for (ptr_attr = ptr_attributes; *ptr_attr; ptr_attr++)
{
config_emphasized_attributes |= gui_color_attr_get_flag (ptr_attr[i]);
config_emphasized_attributes |= gui_color_attr_get_flag (*ptr_attr);
}
}
+6
View File
@@ -31,6 +31,12 @@
#include <math.h>
#include <gcrypt.h>
#ifdef __ANDROID__
/* Bring in htobe64 */
#define _BSD_SOURCE
#include <endian.h>
#endif
#include "weechat.h"
#include "core-crypto.h"
#include "core-config-file.h"
+11 -11
View File
@@ -506,8 +506,8 @@ char *
eval_string_split (const char *text)
{
char *pos, *pos2, *pos3, *str_number, *separators, **items, *value, *error;
char str_value[32], *str_flags, **list_flags, *strip_items;
int i, num_items, count_items, random_item, flags;
char str_value[32], *str_flags, **list_flags, *strip_items, **ptr_flag;
int num_items, count_items, random_item, flags;
long number, max_items;
str_number = NULL;
@@ -564,25 +564,25 @@ eval_string_split (const char *text)
list_flags = string_split (str_flags, "+", NULL, 0, 0, NULL);
if (list_flags)
{
for (i = 0; list_flags[i]; i++)
for (ptr_flag = list_flags; *ptr_flag; ptr_flag++)
{
if (strcmp (list_flags[i], "strip_left") == 0)
if (strcmp (*ptr_flag, "strip_left") == 0)
flags |= WEECHAT_STRING_SPLIT_STRIP_LEFT;
else if (strcmp (list_flags[i], "strip_right") == 0)
else if (strcmp (*ptr_flag, "strip_right") == 0)
flags |= WEECHAT_STRING_SPLIT_STRIP_RIGHT;
else if (strcmp (list_flags[i], "collapse_seps") == 0)
else if (strcmp (*ptr_flag, "collapse_seps") == 0)
flags |= WEECHAT_STRING_SPLIT_COLLAPSE_SEPS;
else if (strcmp (list_flags[i], "keep_eol") == 0)
else if (strcmp (*ptr_flag, "keep_eol") == 0)
flags |= WEECHAT_STRING_SPLIT_KEEP_EOL;
else if (strncmp (list_flags[i], "strip_items=", 12) == 0)
else if (strncmp (*ptr_flag, "strip_items=", 12) == 0)
{
free (strip_items);
strip_items = strdup (list_flags[i] + 12);
strip_items = strdup (*ptr_flag + 12);
}
else if (strncmp (list_flags[i], "max_items=", 10) == 0)
else if (strncmp (*ptr_flag, "max_items=", 10) == 0)
{
error = NULL;
max_items = strtol (list_flags[i] + 10, &error, 10);
max_items = strtol (*ptr_flag + 10, &error, 10);
if (!error || error[0] || (max_items < 0))
goto end;
}
+1 -1
View File
@@ -410,7 +410,7 @@ infolist_fields (struct t_infolist *infolist)
for (ptr_var = infolist->ptr_item->vars; ptr_var; ptr_var = ptr_var->next_var)
{
if (*fields[0])
if ((*fields)[0])
string_dyn_concat (fields, ",", -1);
string_dyn_concat (fields, infolist_type_char_string[ptr_var->type], -1);
string_dyn_concat (fields, ":", -1);
+29 -46
View File
@@ -1093,20 +1093,20 @@ string_match (const char *string, const char *mask, int case_sensitive)
int
string_match_list (const char *string, const char **masks, int case_sensitive)
{
int match, i;
const char *ptr_mask;
int match;
const char **ptr_mask, *ptr_mask2;
if (!string || !masks)
return 0;
match = 0;
for (i = 0; masks[i]; i++)
for (ptr_mask = masks; *ptr_mask; ptr_mask++)
{
ptr_mask = (masks[i][0] == '!') ? masks[i] + 1 : masks[i];
if (string_match (string, ptr_mask, case_sensitive))
ptr_mask2 = ((*ptr_mask)[0] == '!') ? *ptr_mask + 1 : *ptr_mask;
if (string_match (string, ptr_mask2, case_sensitive))
{
if (masks[i][0] == '!')
if ((*ptr_mask)[0] == '!')
return 0;
else
match = 1;
@@ -2849,12 +2849,12 @@ string_split_shell (const char *string, int *num_items)
void
string_free_split (char **split_string)
{
int i;
char **ptr;
if (split_string)
{
for (i = 0; split_string[i]; i++)
free (split_string[i]);
for (ptr = split_string; *ptr; ptr++)
free (*ptr);
free (split_string);
}
}
@@ -2866,12 +2866,12 @@ string_free_split (char **split_string)
void
string_free_split_shared (char **split_string)
{
int i;
char **ptr;
if (split_string)
{
for (i = 0; split_string[i]; i++)
string_shared_free (split_string[i]);
for (ptr = split_string; *ptr; ptr++)
string_shared_free (*ptr);
free (split_string);
}
}
@@ -2891,8 +2891,9 @@ string_rebuild_split_string (const char **split_string,
const char *separator,
int index_start, int index_end)
{
int i, length, length_separator;
char *result;
const char **ptr_string;
char **result;
int i;
if (!split_string || (index_start < 0)
|| ((index_end >= 0) && (index_end < index_start)))
@@ -2900,39 +2901,23 @@ string_rebuild_split_string (const char **split_string,
return NULL;
}
length = 0;
length_separator = (separator) ? strlen (separator) : 0;
result = string_dyn_alloc (256);
for (i = 0; split_string[i]; i++)
for (ptr_string = split_string, i = 0; *ptr_string; ptr_string++, i++)
{
if ((index_end >= 0) && (i > index_end))
break;
if (i >= index_start)
length += strlen (split_string[i]) + length_separator;
}
if (length == 0)
return strdup ("");
result = malloc (length + 1);
if (!result)
return NULL;
result[0] = '\0';
for (i = index_start; split_string[i]; i++)
{
if ((index_end >= 0) && (i > index_end))
break;
strcat (result, split_string[i]);
if (separator && ((index_end < 0) || (i + 1 <= index_end))
&& split_string[i + 1])
{
strcat (result, separator);
if (i > index_start)
string_dyn_concat (result, separator, -1);
string_dyn_concat (result, *ptr_string, -1);
}
if (i == INT_MAX)
break;
}
return result;
return string_dyn_free (result, 0);
}
/*
@@ -3033,12 +3018,12 @@ string_split_command (const char *command, char separator)
void
string_free_split_command (char **split_command)
{
int i;
char **ptr;
if (split_command)
{
for (i = 0; split_command[i]; i++)
free (split_command[i]);
for (ptr = split_command; *ptr; ptr++)
free (*ptr);
free (split_command);
}
}
@@ -3102,14 +3087,12 @@ string_split_tags (const char *tags, int *num_tags)
void
string_free_split_tags (char ***split_tags)
{
int i;
char ***ptr;
if (split_tags)
{
for (i = 0; split_tags[i]; i++)
{
string_free_split_shared (split_tags[i]);
}
for (ptr = split_tags; *ptr; ptr++)
string_free_split_shared (*ptr);
free (split_tags);
}
}
+1 -1
View File
@@ -148,7 +148,7 @@ struct t_url_constant url_auth[] =
#if LIBCURL_VERSION_NUM >= 0x071503 /* 7.21.3 */
URL_DEF_CONST(AUTH, ONLY),
#endif
#if LIBCURL_VERSION_NUM >= 0x071600 /* 7.22.0 */
#if LIBCURL_VERSION_NUM >= 0x071600 && LIBCURL_VERSION_NUM < 0x080800 /* 7.22.0 < 8.8.0 */
URL_DEF_CONST(AUTH, NTLM_WB),
#endif
#if LIBCURL_VERSION_NUM >= 0x070A06 && LIBCURL_VERSION_NUM < 0x072600 /* 7.10.6 < 7.38.0 */
+4 -5
View File
@@ -271,6 +271,7 @@ hook_line_add_to_infolist (struct t_infolist_item *item,
void
hook_line_print_log (struct t_hook *hook)
{
char **ptr_tag;
int i, j;
if (!hook || !hook->hook_data)
@@ -292,12 +293,10 @@ hook_line_print_log (struct t_hook *hook)
{
for (i = 0; i < HOOK_LINE(hook, tags_count); i++)
{
for (j = 0; HOOK_LINE(hook, tags_array)[i][j]; j++)
for (ptr_tag = HOOK_LINE(hook, tags_array)[i], j = 0; *ptr_tag;
ptr_tag++, j++)
{
log_printf (" tags_array[%03d][%03d]: '%s'",
i,
j,
HOOK_LINE(hook, tags_array)[i][j]);
log_printf (" tags_array[%03d][%03d]: '%s'", i, j, *ptr_tag);
}
}
}
+4 -5
View File
@@ -248,6 +248,7 @@ hook_print_add_to_infolist (struct t_infolist_item *item,
void
hook_print_print_log (struct t_hook *hook)
{
char **ptr_tag;
int i, j;
if (!hook || !hook->hook_data)
@@ -262,12 +263,10 @@ hook_print_print_log (struct t_hook *hook)
{
for (i = 0; i < HOOK_PRINT(hook, tags_count); i++)
{
for (j = 0; HOOK_PRINT(hook, tags_array)[i][j]; j++)
for (ptr_tag = HOOK_PRINT(hook, tags_array)[i], j = 0; *ptr_tag;
ptr_tag++, j++)
{
log_printf (" tags_array[%03d][%03d]: '%s'",
i,
j,
HOOK_PRINT(hook, tags_array)[i][j]);
log_printf (" tags_array[%03d][%03d]: '%s'", i, j, *ptr_tag);
}
}
}
+4 -3
View File
@@ -210,7 +210,7 @@ hook_process (struct t_weechat_plugin *plugin,
void
hook_process_child (struct t_hook *hook_process)
{
char **exec_args, *arg0, str_arg[64];
char **exec_args, *arg0, str_arg[64], **ptr_exec_arg;
const char *ptr_url, *ptr_arg;
int rc, i, num_args;
FILE *f;
@@ -352,9 +352,10 @@ hook_process_child (struct t_hook *hook_process)
{
log_printf ("hook_process, command='%s'",
HOOK_PROCESS(hook_process, command));
for (i = 0; exec_args[i]; i++)
for (ptr_exec_arg = exec_args, i = 0; *ptr_exec_arg;
ptr_exec_arg++, i++)
{
log_printf (" args[%02d] == '%s'", i, exec_args[i]);
log_printf (" args[%d] == '%s'", i, *ptr_exec_arg);
}
}
execvp (exec_args[0], exec_args);
+3 -3
View File
@@ -369,10 +369,10 @@ gui_color_get_pairs_arrays (short **foregrounds, short **backgrounds)
*foregrounds = NULL;
*backgrounds = NULL;
*foregrounds = malloc (sizeof (*foregrounds[0]) * (gui_color_num_pairs + 1));
*foregrounds = malloc (sizeof ((*foregrounds)[0]) * (gui_color_num_pairs + 1));
if (!*foregrounds)
goto error;
*backgrounds = malloc (sizeof (*backgrounds[0]) * (gui_color_num_pairs + 1));
*backgrounds = malloc (sizeof ((*backgrounds)[0]) * (gui_color_num_pairs + 1));
if (!*backgrounds)
goto error;
@@ -609,7 +609,7 @@ gui_color_build (int number, int foreground, int background)
/* allocate color */
if (!gui_color[number])
{
gui_color[number] = malloc (sizeof (*gui_color[number]));
gui_color[number] = malloc (sizeof ((*gui_color)[number]));
if (!gui_color[number])
return;
}
+28 -2
View File
@@ -71,6 +71,7 @@ char *gui_bar_item_names[GUI_BAR_NUM_ITEMS] =
};
struct t_gui_bar_item_hook *gui_bar_item_hooks = NULL;
struct t_hook *gui_bar_item_timer = NULL;
struct t_hook *gui_bar_item_timer_hotlist_resort = NULL;
/*
@@ -1874,7 +1875,7 @@ gui_bar_item_buffer_nicklist_cb (const void *pointer, void *data,
&& buffer->nicklist_display_groups
&& ptr_group->visible))
{
if (*nicklist[0])
if ((*nicklist)[0])
string_dyn_concat (nicklist, "\n", -1);
if (ptr_nick)
@@ -2275,6 +2276,25 @@ gui_bar_item_timer_cb (const void *pointer, void *data, int remaining_calls)
return WEECHAT_RC_OK;
}
/*
* Timer callback for resorting hotlist.
*/
int
gui_bar_item_timer_hotlist_resort_cb (const void *pointer, void *data,
int remaining_calls)
{
/* make C compiler happy */
(void) pointer;
(void) data;
(void) remaining_calls;
gui_hotlist_resort ();
gui_bar_item_timer_hotlist_resort = NULL;
return WEECHAT_RC_OK;
}
/*
* Callback when a signal is received: rebuilds an item.
*/
@@ -2298,7 +2318,13 @@ gui_bar_item_signal_cb (const void *pointer, void *data,
if ((strcmp (item, "hotlist") == 0)
&& (strcmp (signal, "hotlist_changed") != 0))
{
gui_hotlist_resort ();
if (!gui_bar_item_timer_hotlist_resort)
{
gui_bar_item_timer_hotlist_resort = hook_timer (
NULL,
1, 0, 1,
&gui_bar_item_timer_hotlist_resort_cb, NULL, NULL);
}
}
gui_bar_item_update (item);
}

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