mirror of
https://github.com/weechat/weechat.git
synced 2026-06-13 06:34:47 +02:00
Compare commits
36 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f4e075f213 | |||
| 89afeb5aa2 | |||
| a4fd1df891 | |||
| bff4ab7808 | |||
| ef1b6a27f1 | |||
| e6cdd40056 | |||
| e0b01d3628 | |||
| 3fce54e0ca | |||
| fb7a84589d | |||
| c7017f2fce | |||
| a8c1725566 | |||
| f8c7ed65e6 | |||
| 712227da38 | |||
| c079852deb | |||
| aab657bcfd | |||
| aa2153827e | |||
| f9660feb94 | |||
| 5ab0ff656f | |||
| 53aa046476 | |||
| c51be0a6a8 | |||
| eb446f099d | |||
| 4edbbddf2c | |||
| 276990699a | |||
| 8dc7bb409d | |||
| 410ffb2418 | |||
| 1ba3e3530b | |||
| 36332d11c8 | |||
| 53da9df883 | |||
| 956befb655 | |||
| 03bd118854 | |||
| 57224f4cee | |||
| 39ea49b9c5 | |||
| ccc45c9284 | |||
| 639c05dd36 | |||
| f9eb31d517 | |||
| bcd3594b38 |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+19
-1
@@ -1,10 +1,28 @@
|
||||
# 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))
|
||||
- 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)
|
||||
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
[](https://weechat.org/donate/)
|
||||
|
||||
[](https://github.com/weechat/weechat/actions)
|
||||
[](https://codecov.io/gh/weechat/weechat)
|
||||
[](https://codecov.io/gh/weechat/weechat)
|
||||
|
||||
**WeeChat** (Wee Enhanced Environment for Chat) is a free chat client, fast and light, designed for many operating systems.\
|
||||
It is highly customizable and extensible with scripts.
|
||||
|
||||
@@ -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()
|
||||
@@ -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
|
||||
|
||||
@@ -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,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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -16,8 +16,5 @@ override_dh_auto_configure:
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs CHANGELOG.md
|
||||
|
||||
%:
|
||||
dh $@ --builddirectory=$(BUILDDIR)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
AUTHORS.md
|
||||
CHANGELOG.md
|
||||
CONTRIBUTING.md
|
||||
README.md
|
||||
UPGRADING.md
|
||||
|
||||
+8
-1
@@ -40,7 +40,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
-a reproducible
|
||||
-a "prewrap!"
|
||||
-a "webfonts!"
|
||||
-a icons=font
|
||||
-a revnumber="${VERSION}"
|
||||
-a sectanchors
|
||||
-a source-highlighter=pygments
|
||||
@@ -205,6 +204,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_user.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/cmdline_options.${lang}.adoc"
|
||||
doc-autogen
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_commands.${lang}.adoc"
|
||||
@@ -225,6 +225,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_plugin_api.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
doc-autogen
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_completions.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_api_config_priority.${lang}.adoc"
|
||||
@@ -248,6 +249,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
doc-autogen
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
||||
@@ -265,6 +267,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_faq.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_faq.${lang}.html"
|
||||
)
|
||||
@@ -279,6 +282,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_quickstart.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_quickstart.${lang}.html"
|
||||
)
|
||||
@@ -293,6 +297,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_api.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_relay_api.${lang}.html"
|
||||
@@ -308,6 +313,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_relay_weechat.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/relay.${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_relay_weechat.${lang}.html"
|
||||
@@ -323,6 +329,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
||||
DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_dev.${lang}.adoc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/includes/attributes-${lang}.adoc"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
COMMENT "Building weechat_dev.${lang}.html"
|
||||
)
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// czech translation, for reference only; matches the built-in behavior of core
|
||||
:appendix-caption: Příloha
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Upozornění
|
||||
:chapter-signifier: Kapitola
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Příklad
|
||||
:figure-caption: Obrázek
|
||||
:important-caption: Důležité
|
||||
:last-update-label: Změněno
|
||||
ifdef::listing-caption[:listing-caption: Seznam]
|
||||
ifdef::manname-title[:manname-title: Název]
|
||||
:note-caption: Poznámka
|
||||
:part-signifier: Část
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Úvod]
|
||||
:section-refsig: Oddíl
|
||||
:table-caption: Tabulka
|
||||
:tip-caption: Tip
|
||||
:toc-title: Obsah
|
||||
:untitled-label: Nepojmenovaný
|
||||
:version-label: Verze
|
||||
:warning-caption: Varování
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: cs
|
||||
include::includes/attributes-cs.adoc[]
|
||||
|
||||
[[start]]
|
||||
== Spuštění WeeChatu
|
||||
|
||||
@@ -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,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
include::includes/attributes-de.adoc[]
|
||||
|
||||
Übersetzer:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
include::includes/attributes-de.adoc[]
|
||||
|
||||
Übersetzer:
|
||||
|
||||
|
||||
@@ -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,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.
|
||||
|
||||
|
||||
@@ -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,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,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
[[general]]
|
||||
== General
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
[[start]]
|
||||
== Start WeeChat
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
include::includes/attributes-en.adoc[]
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
|
||||
@@ -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,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.
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Spanish translation, courtesy of Eddú Meléndez <eddu.melendez@gmail.com> with updates from Fede Mendez <federicomh@gmail.com>
|
||||
:appendix-caption: Apéndice
|
||||
:appendix-refsig: {appendix-caption}
|
||||
:caution-caption: Precaución
|
||||
:chapter-signifier: Capítulo
|
||||
:chapter-refsig: {chapter-signifier}
|
||||
:example-caption: Ejemplo
|
||||
:figure-caption: Figura
|
||||
:important-caption: Importante
|
||||
:last-update-label: Ultima actualización
|
||||
ifdef::listing-caption[:listing-caption: Lista]
|
||||
ifdef::manname-title[:manname-title: Nombre]
|
||||
:note-caption: Nota
|
||||
:part-signifier: Parte
|
||||
:part-refsig: {part-signifier}
|
||||
ifdef::preface-title[:preface-title: Prefacio]
|
||||
:section-refsig: Sección
|
||||
:table-caption: Tabla
|
||||
:tip-caption: Sugerencia
|
||||
:toc-title: Tabla de Contenido
|
||||
:untitled-label: Sin título
|
||||
:version-label: Versión
|
||||
:warning-caption: Aviso
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: es
|
||||
:toc-title: Índice
|
||||
include::includes/attributes-es.adoc[]
|
||||
|
||||
Traductores
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: es
|
||||
:toc-title: Índice
|
||||
include::includes/attributes-es.adoc[]
|
||||
|
||||
Traductores:
|
||||
|
||||
|
||||
@@ -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,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,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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
[[introduction]]
|
||||
== Introduction
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: fr
|
||||
:toc-title: Table des matières
|
||||
include::includes/attributes-fr.adoc[]
|
||||
|
||||
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
@@ -73,7 +73,7 @@ link:weechat_plugin_api.fr.html#_hook_process[Référence API extension WeeChat
|
||||
|
||||
WeeChat définit un module `weechat` qui doit être importé avec `import weechat`. +
|
||||
Un "stub" Python pour l'API WeeChat est disponible dans le dépôt :
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
https://raw.githubusercontent.com/weechat/weechat/main/src/plugins/python/weechat.pyi[weechat.pyi ^↗^^].
|
||||
|
||||
[[python_functions]]
|
||||
===== Fonctions
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: it
|
||||
:toc-title: Indice
|
||||
include::includes/attributes-it.adoc[]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Translators:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: it
|
||||
:toc-title: Indice
|
||||
include::includes/attributes-it.adoc[]
|
||||
|
||||
Traduttori:
|
||||
|
||||
|
||||
@@ -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,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.
|
||||
|
||||
|
||||
@@ -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,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,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ja-jp
|
||||
:toc-title: 目次
|
||||
include::includes/attributes-ja.adoc[]
|
||||
|
||||
翻訳者:
|
||||
|
||||
|
||||
@@ -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,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.
|
||||
|
||||
|
||||
@@ -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,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,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,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,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.
|
||||
|
||||
|
||||
@@ -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: Предупреждение
|
||||
@@ -2,6 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: ru
|
||||
include::includes/attributes-ru.adoc[]
|
||||
|
||||
Переводчики:
|
||||
|
||||
|
||||
@@ -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: Упозорење
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: sr
|
||||
:toc-title: Садржај
|
||||
include::includes/attributes-sr.adoc[]
|
||||
|
||||
Превод:
|
||||
|
||||
|
||||
@@ -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,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 ^↗^^]
|
||||
који садржи важне информације у вези са изменама које могу да покваре понашање и
|
||||
неке ручне акције које могу да буду неопходне.
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-08-24 11:22+0200\n"
|
||||
"PO-Revision-Date: 2024-09-02 18:47+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"
|
||||
@@ -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"
|
||||
|
||||
@@ -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 ""
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 チャット"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
@@ -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 ""
|
||||
|
||||
@@ -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 разговор"
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
+1
-1
@@ -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 */
|
||||
|
||||
+27
-1
@@ -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;
|
||||
|
||||
|
||||
/*
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
+64
-30
@@ -36,7 +36,6 @@
|
||||
#include <ctype.h>
|
||||
|
||||
#include "../core/weechat.h"
|
||||
#include "../core/core-arraylist.h"
|
||||
#include "../core/core-config.h"
|
||||
#include "../core/core-eval.h"
|
||||
#include "../core/core-hashtable.h"
|
||||
@@ -95,8 +94,8 @@ char *gui_buffer_notify_string[GUI_BUFFER_NUM_NOTIFY] =
|
||||
{ "none", "highlight", "message", "all" };
|
||||
|
||||
char *gui_buffer_properties_get_integer[] =
|
||||
{ "opening", "number", "layout_number", "layout_number_merge_order", "type",
|
||||
"notify", "num_displayed", "active", "hidden", "zoomed",
|
||||
{ "opening", "number", "old_number", "layout_number", "layout_number_merge_order",
|
||||
"type", "notify", "num_displayed", "active", "hidden", "zoomed",
|
||||
"print_hooks_enabled", "day_change", "clear", "filter", "closing",
|
||||
"lines_hidden", "prefix_max_length", "next_line_id", "time_for_each_line",
|
||||
"nicklist", "nicklist_case_sensitive", "nicklist_max_length",
|
||||
@@ -184,7 +183,8 @@ gui_buffer_search_notify (const char *notify)
|
||||
}
|
||||
|
||||
/*
|
||||
* Sends a buffer signal (only if the buffer is completely opened.
|
||||
* Sends a buffer signal, only if the buffer is completely opened or if
|
||||
* the signal is "buffer_switch".
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -192,8 +192,10 @@ gui_buffer_send_signal (struct t_gui_buffer *buffer,
|
||||
const char *signal,
|
||||
const char *type_data, void *signal_data)
|
||||
{
|
||||
return (buffer->opening) ?
|
||||
WEECHAT_RC_OK : hook_signal_send (signal, type_data, signal_data);
|
||||
if (buffer->opening && (string_strcmp (signal, "buffer_switch") != 0))
|
||||
return WEECHAT_RC_OK;
|
||||
|
||||
return hook_signal_send (signal, type_data, signal_data);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -448,7 +450,8 @@ gui_buffer_find_pos (struct t_gui_buffer *buffer)
|
||||
*/
|
||||
|
||||
void
|
||||
gui_buffer_shift_numbers (struct t_gui_buffer *buffer)
|
||||
gui_buffer_shift_numbers (struct t_gui_buffer *buffer,
|
||||
int send_signal_buffer_moved)
|
||||
{
|
||||
struct t_gui_buffer *ptr_buffer;
|
||||
|
||||
@@ -460,10 +463,13 @@ gui_buffer_shift_numbers (struct t_gui_buffer *buffer)
|
||||
break;
|
||||
}
|
||||
ptr_buffer->number++;
|
||||
(void) gui_buffer_send_signal (ptr_buffer,
|
||||
"buffer_moved",
|
||||
WEECHAT_HOOK_SIGNAL_POINTER,
|
||||
ptr_buffer);
|
||||
if (send_signal_buffer_moved)
|
||||
{
|
||||
(void) gui_buffer_send_signal (ptr_buffer,
|
||||
"buffer_moved",
|
||||
WEECHAT_HOOK_SIGNAL_POINTER,
|
||||
ptr_buffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -557,7 +563,11 @@ gui_buffer_insert (struct t_gui_buffer *buffer)
|
||||
gui_buffers = buffer;
|
||||
pos_buffer->prev_buffer = buffer;
|
||||
if (buffer->number == pos_buffer->number)
|
||||
gui_buffer_shift_numbers (pos_buffer);
|
||||
{
|
||||
gui_buffer_shift_numbers (
|
||||
pos_buffer,
|
||||
1); /* send_signal_buffer_moved */
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -4225,6 +4235,16 @@ gui_buffer_move_to_number (struct t_gui_buffer *buffer, int number)
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* save old buffer numbers to send signal "buffer_moved" for each buffer
|
||||
* really moved, after the move operation
|
||||
*/
|
||||
for (ptr_buffer = gui_buffers; ptr_buffer;
|
||||
ptr_buffer = ptr_buffer->next_buffer)
|
||||
{
|
||||
ptr_buffer->old_number = ptr_buffer->number;
|
||||
}
|
||||
|
||||
/* remove buffer(s) from list */
|
||||
if (ptr_first_buffer->prev_buffer)
|
||||
(ptr_first_buffer->prev_buffer)->next_buffer = ptr_last_buffer->next_buffer;
|
||||
@@ -4277,7 +4297,9 @@ gui_buffer_move_to_number (struct t_gui_buffer *buffer, int number)
|
||||
if (ptr_last_buffer->next_buffer
|
||||
&& (ptr_last_buffer->next_buffer->number == number))
|
||||
{
|
||||
gui_buffer_shift_numbers (ptr_last_buffer->next_buffer);
|
||||
gui_buffer_shift_numbers (
|
||||
ptr_last_buffer->next_buffer,
|
||||
0); /* send_signal_buffer_moved */
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -4300,9 +4322,16 @@ gui_buffer_move_to_number (struct t_gui_buffer *buffer, int number)
|
||||
last_gui_buffer = ptr_last_buffer;
|
||||
}
|
||||
|
||||
(void) gui_buffer_send_signal (buffer,
|
||||
"buffer_moved",
|
||||
WEECHAT_HOOK_SIGNAL_POINTER, buffer);
|
||||
for (ptr_buffer = gui_buffers; ptr_buffer;
|
||||
ptr_buffer = ptr_buffer->next_buffer)
|
||||
{
|
||||
if (ptr_buffer->number != ptr_buffer->old_number)
|
||||
{
|
||||
(void) gui_buffer_send_signal (ptr_buffer,
|
||||
"buffer_moved",
|
||||
WEECHAT_HOOK_SIGNAL_POINTER, ptr_buffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -4412,8 +4441,6 @@ gui_buffer_merge (struct t_gui_buffer *buffer,
|
||||
struct t_gui_buffer *target_buffer)
|
||||
{
|
||||
struct t_gui_buffer *ptr_buffer, *ptr_first_buffer[2], *ptr_last_buffer[2];
|
||||
struct t_arraylist *buffers_moved;
|
||||
int i, list_size;
|
||||
|
||||
if (!buffer || !target_buffer)
|
||||
return;
|
||||
@@ -4458,9 +4485,15 @@ gui_buffer_merge (struct t_gui_buffer *buffer,
|
||||
if (!ptr_first_buffer[1] || !ptr_last_buffer[1])
|
||||
return;
|
||||
|
||||
buffers_moved = arraylist_new (32, 0, 1, NULL, NULL, NULL, NULL);
|
||||
if (!buffers_moved)
|
||||
return;
|
||||
/*
|
||||
* save old buffer numbers to send signal "buffer_moved" for each buffer
|
||||
* really moved, after the merge operation
|
||||
*/
|
||||
for (ptr_buffer = gui_buffers; ptr_buffer;
|
||||
ptr_buffer = ptr_buffer->next_buffer)
|
||||
{
|
||||
ptr_buffer->old_number = ptr_buffer->number;
|
||||
}
|
||||
|
||||
/* remove buffer(s) to merge from list */
|
||||
if (ptr_first_buffer[0]->prev_buffer)
|
||||
@@ -4478,7 +4511,6 @@ gui_buffer_merge (struct t_gui_buffer *buffer,
|
||||
for (ptr_buffer = ptr_last_buffer[0]->next_buffer; ptr_buffer;
|
||||
ptr_buffer = ptr_buffer->next_buffer)
|
||||
{
|
||||
arraylist_add (buffers_moved, ptr_buffer);
|
||||
ptr_buffer->number--;
|
||||
}
|
||||
}
|
||||
@@ -4497,7 +4529,6 @@ gui_buffer_merge (struct t_gui_buffer *buffer,
|
||||
ptr_buffer = ptr_buffer->next_buffer)
|
||||
{
|
||||
ptr_buffer->number = target_buffer->number;
|
||||
arraylist_add (buffers_moved, ptr_buffer);
|
||||
if (ptr_buffer == ptr_last_buffer[0])
|
||||
break;
|
||||
}
|
||||
@@ -4516,19 +4547,16 @@ gui_buffer_merge (struct t_gui_buffer *buffer,
|
||||
"buffer_merged",
|
||||
WEECHAT_HOOK_SIGNAL_POINTER, buffer);
|
||||
|
||||
list_size = arraylist_size (buffers_moved);
|
||||
for (i = 0; i < list_size; i++)
|
||||
for (ptr_buffer = gui_buffers; ptr_buffer;
|
||||
ptr_buffer = ptr_buffer->next_buffer)
|
||||
{
|
||||
ptr_buffer = (struct t_gui_buffer *)arraylist_get (buffers_moved, i);
|
||||
if (ptr_buffer)
|
||||
if (ptr_buffer->number != ptr_buffer->old_number)
|
||||
{
|
||||
(void) gui_buffer_send_signal (ptr_buffer,
|
||||
"buffer_moved",
|
||||
WEECHAT_HOOK_SIGNAL_POINTER, ptr_buffer);
|
||||
}
|
||||
}
|
||||
|
||||
arraylist_free (buffers_moved);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -4648,7 +4676,9 @@ gui_buffer_unmerge (struct t_gui_buffer *buffer, int number)
|
||||
if (buffer->next_buffer
|
||||
&& (buffer->next_buffer->number == number))
|
||||
{
|
||||
gui_buffer_shift_numbers (buffer->next_buffer);
|
||||
gui_buffer_shift_numbers (
|
||||
buffer->next_buffer,
|
||||
1); /* send_signal_buffer_moved */
|
||||
}
|
||||
|
||||
gui_buffer_compute_num_displayed ();
|
||||
@@ -5243,6 +5273,7 @@ gui_buffer_hdata_buffer_cb (const void *pointer, void *data,
|
||||
HDATA_VAR(struct t_gui_buffer, plugin, POINTER, 0, NULL, "plugin");
|
||||
HDATA_VAR(struct t_gui_buffer, plugin_name_for_upgrade, STRING, 0, NULL, NULL);
|
||||
HDATA_VAR(struct t_gui_buffer, number, INTEGER, 0, NULL, NULL);
|
||||
HDATA_VAR(struct t_gui_buffer, old_number, INTEGER, 0, NULL, NULL);
|
||||
HDATA_VAR(struct t_gui_buffer, layout_number, INTEGER, 0, NULL, NULL);
|
||||
HDATA_VAR(struct t_gui_buffer, layout_number_merge_order, INTEGER, 0, NULL, NULL);
|
||||
HDATA_VAR(struct t_gui_buffer, name, STRING, 0, NULL, NULL);
|
||||
@@ -5441,6 +5472,8 @@ gui_buffer_add_to_infolist (struct t_infolist *infolist,
|
||||
return 0;
|
||||
if (!infolist_new_var_integer (ptr_item, "number", buffer->number))
|
||||
return 0;
|
||||
if (!infolist_new_var_integer (ptr_item, "old_number", buffer->old_number))
|
||||
return 0;
|
||||
if (!infolist_new_var_integer (ptr_item, "layout_number", buffer->layout_number))
|
||||
return 0;
|
||||
if (!infolist_new_var_integer (ptr_item, "layout_number_merge_order", buffer->layout_number_merge_order))
|
||||
@@ -5703,6 +5736,7 @@ gui_buffer_print_log ()
|
||||
ptr_buffer->plugin, gui_buffer_get_plugin_name (ptr_buffer));
|
||||
log_printf (" plugin_name_for_upgrade : '%s'", ptr_buffer->plugin_name_for_upgrade);
|
||||
log_printf (" number. . . . . . . . . : %d", ptr_buffer->number);
|
||||
log_printf (" old_number. . . . . . . : %d", ptr_buffer->old_number);
|
||||
log_printf (" layout_number . . . . . : %d", ptr_buffer->layout_number);
|
||||
log_printf (" layout_number_merge_order: %d", ptr_buffer->layout_number_merge_order);
|
||||
log_printf (" name. . . . . . . . . . : '%s'", ptr_buffer->name);
|
||||
|
||||
@@ -111,6 +111,7 @@ struct t_gui_buffer
|
||||
char *plugin_name_for_upgrade; /* plugin name when upgrading */
|
||||
|
||||
int number; /* buffer number (first is 1) */
|
||||
int old_number; /* internally used when moving buffer*/
|
||||
int layout_number; /* number of buffer stored in layout */
|
||||
int layout_number_merge_order; /* order in merge for layout */
|
||||
char *name; /* buffer name */
|
||||
|
||||
@@ -506,6 +506,12 @@ irc_list_display_line (struct t_irc_server *server, int line)
|
||||
ptr_channel = (struct t_irc_list_channel *)weechat_arraylist_get (
|
||||
server->list->filter_channels, line);
|
||||
|
||||
if (!ptr_channel)
|
||||
{
|
||||
weechat_printf_y (server->list->buffer, line, "");
|
||||
return;
|
||||
}
|
||||
|
||||
/* line color */
|
||||
if (line == server->list->selected_line)
|
||||
{
|
||||
|
||||
@@ -22,6 +22,16 @@
|
||||
|
||||
#undef _
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* for wcwidth in wchar.h */
|
||||
#ifndef __USE_XOPEN
|
||||
#define __USE_XOPEN
|
||||
#endif
|
||||
#include <wchar.h>
|
||||
|
||||
#include <locale.h>
|
||||
#include <EXTERN.h>
|
||||
#include <perl.h>
|
||||
@@ -507,7 +517,9 @@ weechat_perl_load (const char *filename, const char *code)
|
||||
struct stat buf;
|
||||
char *perl_code;
|
||||
int length;
|
||||
#ifndef MULTIPLICITY
|
||||
#ifdef MULTIPLICITY
|
||||
int wcwidth160;
|
||||
#else
|
||||
char pkgname[64];
|
||||
#endif /* MULTIPLICITY */
|
||||
|
||||
@@ -564,14 +576,18 @@ weechat_perl_load (const char *filename, const char *code)
|
||||
PERL_PLUGIN_NAME);
|
||||
|
||||
PERL_SET_CONTEXT (perl_current_interpreter);
|
||||
wcwidth160 = wcwidth (160);
|
||||
perl_construct (perl_current_interpreter);
|
||||
|
||||
if (wcwidth (160) != wcwidth160)
|
||||
{
|
||||
/* restore the locale that's broken in some versions of Perl */
|
||||
Perl_setlocale (LC_ALL, "");
|
||||
}
|
||||
|
||||
temp_script.interpreter = (PerlInterpreter *) perl_current_interpreter;
|
||||
perl_parse (perl_current_interpreter, weechat_perl_api_init,
|
||||
perl_args_count, perl_args, NULL);
|
||||
#if PERL_REVISION >= 6 || (PERL_REVISION == 5 && PERL_VERSION >= 38)
|
||||
/* restore the locale that could be changed by Perl >= 5.38 */
|
||||
Perl_setlocale (LC_CTYPE, "");
|
||||
#endif
|
||||
length = strlen (perl_weechat_code) + strlen (str_warning) +
|
||||
strlen (str_error) - 2 + 4 + strlen ((code) ? code : filename) + 4 + 1;
|
||||
perl_code = malloc (length);
|
||||
@@ -1248,6 +1264,9 @@ int
|
||||
weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
|
||||
{
|
||||
int old_perl_quiet;
|
||||
#ifndef MULTIPLICITY
|
||||
int wcwidth160;
|
||||
#endif /* MULTIPLICITY */
|
||||
|
||||
#ifdef PERL_SYS_INIT3
|
||||
int a;
|
||||
@@ -1298,13 +1317,17 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
|
||||
return WEECHAT_RC_ERROR;
|
||||
}
|
||||
|
||||
wcwidth160 = wcwidth (160);
|
||||
perl_construct (perl_main);
|
||||
|
||||
if (wcwidth (160) != wcwidth160)
|
||||
{
|
||||
/* restore the locale that's broken in some versions of Perl */
|
||||
Perl_setlocale (LC_ALL, "");
|
||||
}
|
||||
|
||||
perl_parse (perl_main, weechat_perl_api_init, perl_args_count,
|
||||
perl_args, NULL);
|
||||
#if PERL_REVISION >= 6 || (PERL_REVISION == 5 && PERL_VERSION >= 38)
|
||||
/* restore the locale that could be changed by Perl >= 5.38 */
|
||||
Perl_setlocale (LC_CTYPE, "");
|
||||
#endif
|
||||
#endif /* MULTIPLICITY */
|
||||
|
||||
perl_data.config_file = &perl_config_file;
|
||||
|
||||
@@ -79,15 +79,15 @@ relay_buffer_refresh (const char *hotlist)
|
||||
/* disconnect */
|
||||
(client_selected
|
||||
&& !RELAY_STATUS_HAS_ENDED(client_selected->status)) ?
|
||||
_(" [D] Disconnect") : "",
|
||||
_(" [d] Disconnect") : "",
|
||||
/* remove */
|
||||
(client_selected
|
||||
&& RELAY_STATUS_HAS_ENDED(client_selected->status)) ?
|
||||
_(" [R] Remove") : "",
|
||||
_(" [r] Remove") : "",
|
||||
/* purge old */
|
||||
_(" [P] Purge finished"),
|
||||
_(" [p] Purge finished"),
|
||||
/* quit */
|
||||
_(" [Q] Close this buffer"));
|
||||
_(" [q] Close this buffer"));
|
||||
for (ptr_client = relay_clients; ptr_client;
|
||||
ptr_client = ptr_client->next_client)
|
||||
{
|
||||
|
||||
@@ -28,8 +28,8 @@ if(RUBY_FOUND)
|
||||
# caused by Ruby headers (with Ruby ≥ 3.1.0)
|
||||
# see: https://github.com/ruby/ruby/pull/7085
|
||||
add_definitions(-Wno-unused-parameter)
|
||||
include_directories(${RUBY_INCLUDE_DIRS})
|
||||
target_link_libraries(ruby ${RUBY_LDFLAGS} weechat_plugins_scripts coverage_config)
|
||||
include_directories(${Ruby_INCLUDE_DIRS})
|
||||
target_link_libraries(ruby ${Ruby_LIBRARIES} weechat_plugins_scripts coverage_config)
|
||||
endif(RUBY_FOUND)
|
||||
|
||||
install(TARGETS ruby LIBRARY DESTINATION "${WEECHAT_LIBDIR}/plugins")
|
||||
|
||||
@@ -818,14 +818,17 @@ void
|
||||
script_buffer_set_current_line (int line)
|
||||
{
|
||||
int old_line;
|
||||
struct t_script_repo *old_script;
|
||||
|
||||
if ((line >= 0) && (line < script_repo_count_displayed))
|
||||
{
|
||||
old_line = script_buffer_selected_line;
|
||||
script_buffer_selected_line = line;
|
||||
|
||||
script_buffer_display_line_script (old_line,
|
||||
script_repo_search_displayed_by_number (old_line));
|
||||
old_script = script_repo_search_displayed_by_number (old_line);
|
||||
if (old_script)
|
||||
script_buffer_display_line_script (old_line, old_script);
|
||||
|
||||
script_buffer_display_line_script (script_buffer_selected_line,
|
||||
script_repo_search_displayed_by_number (script_buffer_selected_line));
|
||||
}
|
||||
|
||||
@@ -63,19 +63,19 @@ xfer_buffer_refresh (const char *hotlist)
|
||||
/* accept */
|
||||
(xfer_selected && XFER_IS_RECV(xfer_selected->type)
|
||||
&& (xfer_selected->status == XFER_STATUS_WAITING)) ?
|
||||
_(" [A] Accept") : "",
|
||||
_(" [a] Accept") : "",
|
||||
/* cancel */
|
||||
(xfer_selected
|
||||
&& !XFER_HAS_ENDED(xfer_selected->status)) ?
|
||||
_(" [C] Cancel") : "",
|
||||
_(" [c] Cancel") : "",
|
||||
/* remove */
|
||||
(xfer_selected
|
||||
&& XFER_HAS_ENDED(xfer_selected->status)) ?
|
||||
_(" [R] Remove") : "",
|
||||
_(" [r] Remove") : "",
|
||||
/* purge old */
|
||||
_(" [P] Purge finished"),
|
||||
_(" [p] Purge finished"),
|
||||
/* quit */
|
||||
_(" [Q] Close this buffer"));
|
||||
_(" [q] Close this buffer"));
|
||||
for (ptr_xfer = xfer_list; ptr_xfer; ptr_xfer = ptr_xfer->next_xfer)
|
||||
{
|
||||
suffix[0] = '\0';
|
||||
|
||||
@@ -144,8 +144,8 @@ class WeechatScript(object): # pylint: disable=too-many-instance-attributes
|
||||
}
|
||||
# replace variables
|
||||
for node in ast.walk(self.tree):
|
||||
if isinstance(node, ast.Str) and node.s in variables:
|
||||
node.s = variables[node.s]
|
||||
if isinstance(node, ast.Constant) and node.value in variables:
|
||||
node.value = variables[node.value]
|
||||
|
||||
def write_header(self, output):
|
||||
"""Generate script header (just comments by default)."""
|
||||
@@ -336,8 +336,8 @@ def update_nodes(tree):
|
||||
output = StringIO()
|
||||
unparsed = UnparsePython(output=output)
|
||||
unparsed.add(node.args[0])
|
||||
node.args.append(ast.Str(output.getvalue()))
|
||||
node.args.append(ast.Str(str(node.func.lineno)))
|
||||
node.args.append(ast.Constant(output.getvalue()))
|
||||
node.args.append(ast.Constant(str(node.func.lineno)))
|
||||
|
||||
|
||||
def get_tests(path):
|
||||
|
||||
@@ -42,8 +42,8 @@ class UnparsePython(object):
|
||||
"""
|
||||
Unparse AST to generate Python script code.
|
||||
|
||||
This class is inspired from unparse.py in cpython:
|
||||
https://github.com/python/cpython/blob/master/Tools/parser/unparse.py
|
||||
This class is inspired from _Unparser class in cpython:
|
||||
https://github.com/python/cpython/blob/main/Lib/ast.py
|
||||
|
||||
Note: only part of AST types are supported (just the types used by
|
||||
the script to test WeeChat scripting API).
|
||||
@@ -147,7 +147,7 @@ class UnparsePython(object):
|
||||
@staticmethod
|
||||
def is_number(node):
|
||||
"""Check if the node is a number."""
|
||||
return (isinstance(node, ast.Num) or
|
||||
return ((isinstance(node, ast.Constant) and isinstance(node.value, int)) or
|
||||
(isinstance(node, ast.UnaryOp) and
|
||||
isinstance(node.op, (ast.UAdd, ast.USub))))
|
||||
|
||||
@@ -201,7 +201,7 @@ class UnparsePython(object):
|
||||
|
||||
def _ast_constant(self, node):
|
||||
"""Add an AST Constant in output."""
|
||||
self.add(repr(node.s))
|
||||
self.add(repr(node.value))
|
||||
|
||||
def _ast_dict(self, node):
|
||||
"""Add an AST Dict in output."""
|
||||
@@ -214,7 +214,7 @@ class UnparsePython(object):
|
||||
|
||||
def _ast_expr(self, node):
|
||||
"""Add an AST Expr in output."""
|
||||
if not isinstance(node.value, ast.Str): # ignore docstrings
|
||||
if not isinstance(node.value, ast.Constant): # ignore docstrings
|
||||
self.add(
|
||||
self.fill,
|
||||
node.value,
|
||||
@@ -283,7 +283,6 @@ class UnparsePython(object):
|
||||
|
||||
def _ast_num(self, node):
|
||||
"""Add an AST Num in output."""
|
||||
# note: deprecated since Python 3.8, replaced by ast.Constant
|
||||
self.add(repr(node.n))
|
||||
|
||||
def _ast_pass(self, node): # pylint: disable=unused-argument
|
||||
@@ -298,7 +297,6 @@ class UnparsePython(object):
|
||||
|
||||
def _ast_str(self, node):
|
||||
"""Add an AST Str in output."""
|
||||
# note: deprecated since Python 3.8, replaced by ast.Constant
|
||||
self._ast_constant(node)
|
||||
|
||||
def _ast_subscript(self, node):
|
||||
@@ -405,11 +403,11 @@ class UnparsePerl(UnparsePython):
|
||||
def _ast_constant(self, node):
|
||||
"""Add an AST Constant in output."""
|
||||
if isinstance(node.value, str):
|
||||
self.add('"%s"' % node.s.replace('$', '\\$').replace('@', '\\@'))
|
||||
self.add('"%s"' % node.value.replace('$', '\\$').replace('@', '\\@'))
|
||||
elif node.value is None:
|
||||
self.add('undef')
|
||||
else:
|
||||
self.add(repr(node.s))
|
||||
self.add(repr(node.value))
|
||||
|
||||
def _ast_dict(self, node):
|
||||
"""Add an AST Dict in output."""
|
||||
@@ -422,7 +420,7 @@ class UnparsePerl(UnparsePython):
|
||||
|
||||
def _ast_expr(self, node):
|
||||
"""Add an AST Expr in output."""
|
||||
if not isinstance(node.value, ast.Str): # ignore docstrings
|
||||
if not isinstance(node.value, ast.Constant): # ignore docstrings
|
||||
self.add(
|
||||
self.fill,
|
||||
node.value,
|
||||
@@ -512,8 +510,7 @@ class UnparsePerl(UnparsePython):
|
||||
|
||||
def _ast_str(self, node):
|
||||
"""Add an AST Str in output."""
|
||||
# note: deprecated since Python 3.8, replaced by ast.Constant
|
||||
self.add('"%s"' % node.s.replace('$', '\\$').replace('@', '\\@'))
|
||||
self._ast_constant(node)
|
||||
|
||||
def _ast_subscript(self, node):
|
||||
"""Add an AST Subscript in output."""
|
||||
@@ -548,11 +545,11 @@ class UnparseRuby(UnparsePython):
|
||||
def _ast_constant(self, node):
|
||||
"""Add an AST Constant in output."""
|
||||
if isinstance(node.value, str):
|
||||
self.add('"%s"' % node.s.replace('#{', '\\#{'))
|
||||
self.add('"%s"' % node.value.replace('#{', '\\#{'))
|
||||
elif node.value is None:
|
||||
self.add('nil')
|
||||
else:
|
||||
self.add(repr(node.s))
|
||||
self.add(repr(node.value))
|
||||
|
||||
def _ast_dict(self, node):
|
||||
"""Add an AST Dict in output."""
|
||||
@@ -619,8 +616,7 @@ class UnparseRuby(UnparsePython):
|
||||
|
||||
def _ast_str(self, node):
|
||||
"""Add an AST Str in output."""
|
||||
# note: deprecated since Python 3.8, replaced by ast.Constant
|
||||
self.add('"%s"' % node.s)
|
||||
self._ast_constant(node)
|
||||
|
||||
|
||||
class UnparseLua(UnparsePython):
|
||||
@@ -663,7 +659,7 @@ class UnparseLua(UnparsePython):
|
||||
if node.value is None:
|
||||
self.add('nil')
|
||||
else:
|
||||
self.add(repr(node.s))
|
||||
self.add(repr(node.value))
|
||||
|
||||
def _ast_dict(self, node):
|
||||
"""Add an AST Dict in output."""
|
||||
@@ -744,7 +740,7 @@ class UnparseTcl(UnparsePython):
|
||||
|
||||
def _ast_assign(self, node):
|
||||
"""Add an AST Assign in output."""
|
||||
exclude_types = (ast.Dict, ast.List, ast.Str, ast.Subscript)
|
||||
exclude_types = (ast.Dict, ast.List, ast.Constant, ast.Subscript)
|
||||
self.add(
|
||||
self.fill,
|
||||
'set ',
|
||||
@@ -821,11 +817,11 @@ class UnparseTcl(UnparsePython):
|
||||
def _ast_constant(self, node):
|
||||
"""Add an AST Constant in output."""
|
||||
if isinstance(node.value, str):
|
||||
self.add('"%s"' % node.s.replace('$', '\\$'))
|
||||
self.add('"%s"' % node.value.replace('$', '\\$'))
|
||||
elif node.value is None:
|
||||
self.add('$::weechat::WEECHAT_NULL')
|
||||
else:
|
||||
self.add(repr(node.s))
|
||||
self.add(repr(node.value))
|
||||
|
||||
def _ast_dict(self, node):
|
||||
"""Add an AST Dict in output."""
|
||||
@@ -903,8 +899,7 @@ class UnparseTcl(UnparsePython):
|
||||
|
||||
def _ast_str(self, node):
|
||||
"""Add an AST Str in output."""
|
||||
# note: deprecated since Python 3.8, replaced by ast.Constant
|
||||
self.add('"%s"' % node.s.replace('$', '\\$'))
|
||||
self._ast_constant(node)
|
||||
|
||||
def _ast_subscript(self, node):
|
||||
"""Add an AST Subscript in output."""
|
||||
@@ -965,8 +960,8 @@ class UnparseGuile(UnparsePython):
|
||||
def _ast_binop(self, node):
|
||||
"""Add an AST BinOp in output."""
|
||||
if isinstance(node.op, ast.Add) and \
|
||||
(isinstance(node.left, (ast.Name, ast.Str)) or
|
||||
isinstance(node.right, (ast.Name, ast.Str))):
|
||||
(isinstance(node.left, (ast.Name, ast.Constant)) or
|
||||
isinstance(node.right, (ast.Name, ast.Constant))):
|
||||
self.add(
|
||||
'(string-append ',
|
||||
node.left,
|
||||
@@ -1014,12 +1009,12 @@ class UnparseGuile(UnparsePython):
|
||||
|
||||
def _ast_constant(self, node):
|
||||
"""Add an AST Constant in output."""
|
||||
if isinstance(node.s, str):
|
||||
self.add('"%s"' % node.s)
|
||||
if isinstance(node.value, str):
|
||||
self.add('"%s"' % node.value)
|
||||
elif node.value is None:
|
||||
self.add('#nil')
|
||||
else:
|
||||
self.add(repr(node.s))
|
||||
self.add(repr(node.value))
|
||||
|
||||
def _ast_dict(self, node):
|
||||
"""Add an AST Dict in output."""
|
||||
@@ -1111,8 +1106,7 @@ class UnparseGuile(UnparsePython):
|
||||
|
||||
def _ast_str(self, node):
|
||||
"""Add an AST Str in output."""
|
||||
# note: deprecated since Python 3.8, replaced by ast.Constant
|
||||
self.add('"%s"' % node.s)
|
||||
self._ast_constant(node)
|
||||
|
||||
def _ast_subscript(self, node):
|
||||
"""Add an AST Subscript in output."""
|
||||
@@ -1149,7 +1143,7 @@ class UnparseJavascript(UnparsePython):
|
||||
if node.value is None:
|
||||
self.add('null')
|
||||
else:
|
||||
self.add(repr(node.s))
|
||||
self.add(repr(node.value))
|
||||
|
||||
def _ast_functiondef(self, node):
|
||||
"""Add an AST FunctionDef in output."""
|
||||
@@ -1227,8 +1221,8 @@ class UnparsePhp(UnparsePython):
|
||||
def _ast_binop(self, node):
|
||||
"""Add an AST BinOp in output."""
|
||||
if isinstance(node.op, ast.Add) and \
|
||||
(isinstance(node.left, (ast.Name, ast.Str)) or
|
||||
isinstance(node.right, (ast.Name, ast.Str))):
|
||||
(isinstance(node.left, (ast.Name, ast.Constant)) or
|
||||
isinstance(node.right, (ast.Name, ast.Constant))):
|
||||
str_op = '.'
|
||||
else:
|
||||
str_op = self.binop[node.op.__class__.__name__]
|
||||
@@ -1253,12 +1247,12 @@ class UnparsePhp(UnparsePython):
|
||||
|
||||
def _ast_constant(self, node):
|
||||
"""Add an AST Constant in output."""
|
||||
if isinstance(node.s, str):
|
||||
self.add('"%s"' % node.s.replace('$', '\\$'))
|
||||
if isinstance(node.value, str):
|
||||
self.add('"%s"' % node.value.replace('$', '\\$'))
|
||||
elif node.value is None:
|
||||
self.add('NULL')
|
||||
else:
|
||||
self.add(repr(node.s))
|
||||
self.add(repr(node.value))
|
||||
|
||||
def _ast_dict(self, node):
|
||||
"""Add an AST Dict in output."""
|
||||
@@ -1271,7 +1265,7 @@ class UnparsePhp(UnparsePython):
|
||||
|
||||
def _ast_expr(self, node):
|
||||
"""Add an AST Expr in output."""
|
||||
if not isinstance(node.value, ast.Str): # ignore docstrings
|
||||
if not isinstance(node.value, ast.Constant): # ignore docstrings
|
||||
self.add(
|
||||
self.fill,
|
||||
node.value,
|
||||
@@ -1353,8 +1347,7 @@ class UnparsePhp(UnparsePython):
|
||||
|
||||
def _ast_str(self, node):
|
||||
"""Add an AST Str in output."""
|
||||
# note: deprecated since Python 3.8, replaced by ast.Constant
|
||||
self.add('"%s"' % node.s.replace('$', '\\$'))
|
||||
self._ast_constant(node)
|
||||
|
||||
def _ast_subscript(self, node):
|
||||
"""Add an AST Subscript in output."""
|
||||
|
||||
+19
-1
@@ -51,6 +51,10 @@
|
||||
# PACKAGER_EMAIL E-mail of packager (for debian/changelog)
|
||||
# JOBS Number of simultaneous jobs (for dpkg-buildpackage)
|
||||
# (numeric or "auto" for dpkg >= 1.17.10)
|
||||
# RETRY_BUILD Retry build with `make` multiple times in case of failure
|
||||
# (default is 0: do not retry and exit with error);
|
||||
# when set, this patches the file debian/rules to run
|
||||
# dh_auto_build multiple times in case of failure
|
||||
#
|
||||
|
||||
set -o errexit
|
||||
@@ -59,6 +63,7 @@ set -o errexit
|
||||
default_packager_name="Sébastien Helleu"
|
||||
default_packager_email="flashcode@flashtux.org"
|
||||
default_jobs=""
|
||||
default_retry_build="0"
|
||||
|
||||
usage ()
|
||||
{
|
||||
@@ -132,9 +137,12 @@ fi
|
||||
# simultaneous jobs for compilation (dpkg-buildpackage -jN)
|
||||
[ -z "${JOBS}" ] && JOBS="${default_jobs}"
|
||||
|
||||
# retry build
|
||||
[ -z "${RETRY_BUILD}" ] && RETRY_BUILD="${default_retry_build}"
|
||||
|
||||
# check git repository
|
||||
root_dir=$(git rev-parse --show-toplevel)
|
||||
if [ -z "${root_dir}" ] || [ ! -d "${root_dir}/.git" ] || [ ! -d "${root_dir}/debian-stable" ]; then
|
||||
if [ -z "${root_dir}" ] || [ ! -e "${root_dir}/.git" ] || [ ! -d "${root_dir}/debian-stable" ]; then
|
||||
error "this script must be run from WeeChat git repository."
|
||||
fi
|
||||
cd "${root_dir}"
|
||||
@@ -244,6 +252,16 @@ fi
|
||||
echo " - Updating changelog: ${DEB_NAME} ${DEB_VERSION} (${DCH_DISTRO}, ${DCH_URGENCY}), ${PACKAGER_NAME} <${PACKAGER_EMAIL}>: ${DCH_CHANGELOG}"
|
||||
DEBFULLNAME="${PACKAGER_NAME}" DEBEMAIL="${PACKAGER_EMAIL}" dch "${DCH_CREATE}" --package "${DEB_NAME}" --newversion "${DEB_VERSION}" --distribution "${DCH_DISTRO}" --urgency "${DCH_URGENCY}" "${DCH_CHANGELOG}"
|
||||
|
||||
# if retry build is enabled, patch debian/rules to run dh_auto_build
|
||||
# multiple times if needed
|
||||
if [ "${RETRY_BUILD}" != "0" ]; then
|
||||
cat <<EOF >> debian/rules
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build || dh_auto_build || dh_auto_build || dh_auto_build || dh_auto_build || dh_auto_build
|
||||
EOF
|
||||
fi
|
||||
|
||||
# build packages (without debug symbols)
|
||||
DEB_BUILD_OPTIONS="noddebs" dpkg-buildpackage -us -uc --jobs="${JOBS}"
|
||||
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 5d15a3548..0786637b9 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -19,7 +19,7 @@
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
-cmake_minimum_required(VERSION 3.18)
|
||||
+cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(weechat C)
|
||||
|
||||
diff --git a/debian-devel/rules b/debian-devel/rules
|
||||
index cab713c93..d2756333b 100755
|
||||
index 086056f76..559ccfffb 100755
|
||||
--- a/debian-devel/rules
|
||||
+++ b/debian-devel/rules
|
||||
@@ -8,6 +8,7 @@ override_dh_auto_configure:
|
||||
@@ -11,7 +24,7 @@ index cab713c93..d2756333b 100755
|
||||
-DENABLE_MAN:BOOL=ON \
|
||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
||||
diff --git a/debian-stable/rules b/debian-stable/rules
|
||||
index cab713c93..d2756333b 100755
|
||||
index 086056f76..559ccfffb 100755
|
||||
--- a/debian-stable/rules
|
||||
+++ b/debian-stable/rules
|
||||
@@ -8,6 +8,7 @@ override_dh_auto_configure:
|
||||
@@ -22,3 +35,18 @@ index cab713c93..d2756333b 100755
|
||||
-DENABLE_DOC:BOOL=ON \
|
||||
-DENABLE_MAN:BOOL=ON \
|
||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
||||
diff --git a/src/plugins/ruby/CMakeLists.txt b/src/plugins/ruby/CMakeLists.txt
|
||||
index 9f921fde8..2860f7d6d 100644
|
||||
--- a/src/plugins/ruby/CMakeLists.txt
|
||||
+++ b/src/plugins/ruby/CMakeLists.txt
|
||||
@@ -28,8 +28,8 @@ if(RUBY_FOUND)
|
||||
# caused by Ruby headers (with Ruby ≥ 3.1.0)
|
||||
# see: https://github.com/ruby/ruby/pull/7085
|
||||
add_definitions(-Wno-unused-parameter)
|
||||
- include_directories(${Ruby_INCLUDE_DIRS})
|
||||
- target_link_libraries(ruby ${Ruby_LIBRARIES} weechat_plugins_scripts coverage_config)
|
||||
+ include_directories(${RUBY_INCLUDE_DIRS})
|
||||
+ target_link_libraries(ruby ${RUBY_LIBRARY} weechat_plugins_scripts coverage_config)
|
||||
endif(RUBY_FOUND)
|
||||
|
||||
install(TARGETS ruby LIBRARY DESTINATION "${WEECHAT_LIBDIR}/plugins")
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ error ()
|
||||
|
||||
# check git repository
|
||||
root_dir=$(git rev-parse --show-toplevel)
|
||||
if [ -z "${root_dir}" ] || [ ! -d "${root_dir}/.git" ]; then
|
||||
if [ -z "${root_dir}" ] || [ ! -e "${root_dir}/.git" ]; then
|
||||
error "this script must be run from WeeChat git repository."
|
||||
fi
|
||||
cd "${root_dir}"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user