1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

Compare commits

...

50 Commits

Author SHA1 Message Date
Sébastien Helleu dc692fd04a core, relay: fix include directory of libzstd 2024-05-26 23:54:34 +02:00
Sébastien Helleu 61e9fcb36b irc: fix crash in split of IRC message containing a newline if the server is not given 2024-05-25 19:54:53 +02:00
Sébastien Helleu 720a7e5a99 python: fix truncation of unsigned long long integer returned by function string_parse_size 2024-02-25 17:10:32 +01:00
Sébastien Helleu 33a6c852b7 tcl: fix truncation of long integer returned by function hdata_long 2024-02-25 16:16:02 +01:00
Sébastien Helleu 53fdd3458b core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3" 2024-02-25 13:46:24 +01:00
Sébastien Helleu 32c66a10a5 script: always display list of scripts when searching scripts with /script search (issue #2077) 2024-02-21 21:39:03 +01:00
Sébastien Helleu 134b639782 script: fix default mouse keys (issue #2076)
Some parameters of command `/script` were renamed in commit
85b5bacfe3 but the default mouse keys were not
changed and still using the old parameters names.
2024-02-21 21:16:25 +01:00
Sébastien Helleu 3ac74b94db trigger: fix memory leak when adding a new trigger with /trigger command 2024-02-10 17:58:24 +01:00
Faisal N Jawdat 769b64fb5b ruby: add detection of Ruby 3.3 2024-02-04 14:14:34 +01:00
Sébastien Helleu 870ae139a8 ci: remove tests on macOS 11 2024-02-04 14:07:08 +01:00
Sébastien Helleu 1eeb76a9ad Version 4.1.4-dev 2024-02-04 14:06:50 +01:00
Sébastien Helleu ad4529dc39 Version 4.1.3 2024-01-20 09:18:02 +01:00
Sébastien Helleu aff7a19339 core: add release notes for next version 2024-01-20 09:12:35 +01:00
Sébastien Helleu 1eed2d0e50 core: add version 4.0.8 in ChangeLog and release notes 2024-01-20 09:11:53 +01:00
Sébastien Helleu 5cb0f201f5 irc: check if arguments are not NULL in some infos
Affected infos:

- irc_server_isupport
- irc_server_isupport_value
- irc_server_cap
- irc_server_cap_value
2024-01-12 18:02:54 +01:00
Sébastien Helleu 4cd22e470c irc: fix info "irc_is_message_ignored" (issue #2059) 2024-01-12 18:02:31 +01:00
Sébastien Helleu 97b9d4b26e irc: fix display of self messages in case of message split failure
When the message sends inconsistent max lengths in message 005, the split of
self message fails and causes a display issue: the channel name is displayed
with the message:

  nick | #channel :this is a test

instead of:

  nick | this is a test
2024-01-05 21:35:29 +01:00
Sébastien Helleu f0394bf486 core: fix crash on plugin reload when using musl libc (issue #2052) 2023-12-15 23:02:27 +01:00
Sébastien Helleu 94616b4294 core: fix infinite loop in display when the chat area is too small (issue #2053) 2023-12-14 23:21:08 +01:00
Sébastien Helleu 1ade7c54a2 Version 4.1.3-dev 2023-12-14 23:20:28 +01:00
Sébastien Helleu 14b8518ae2 Version 4.1.2 2023-12-03 19:17:25 +01:00
Sébastien Helleu 4dbae51568 core: add version 4.0.7 in ChangeLog and release notes 2023-12-03 19:12:59 +01:00
Sébastien Helleu 19a1b4145b irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued 2023-11-26 18:57:21 +01:00
Sébastien Helleu f6912518b3 tests: add tests on IRC message 337 2023-11-07 21:59:22 +01:00
Sébastien Helleu 5115bebb27 irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time") 2023-11-07 21:50:55 +01:00
Sébastien Helleu ceaaab3866 core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached 2023-11-04 17:02:08 +01:00
Sébastien Helleu 4865087019 relay: close properly connection with the IRC client in case of server disconnection (issue #2038) 2023-11-04 09:05:39 +01:00
Sébastien Helleu 532f2ce683 core: remove incorrect warning when binding keys F10 to F20 (issue #2039) 2023-11-04 08:37:36 +01:00
Sébastien Helleu 67bcbf5256 core, plugins: set error to NULL before calling strtol()
This is not strictly necessary, just in case the function strtol() doesn't
update the pointer.
2023-11-01 14:17:15 +01:00
Sébastien Helleu 08fbfcc203 core: fix memory leak when config version is invalid or not supported 2023-10-30 23:30:01 +01:00
Sébastien Helleu fad3f0c942 core: check that buffer is not NULL in function gui_chat_printf_date_tags_internal 2023-10-30 23:29:25 +01:00
Sébastien Helleu 8c55f87fb2 core: fix use NULL pointer when a config file has no options 2023-10-30 23:29:17 +01:00
Sébastien Helleu 8fae2fd927 logger: remove dead assignment 2023-10-30 23:29:13 +01:00
Sébastien Helleu 53f1eb9b28 xfer: fix use of uninitialized variable when adding a new xfer 2023-10-30 23:29:05 +01:00
Sébastien Helleu 3e78d55495 xfer: fix use of NULL pointer in strrchr() 2023-10-30 23:28:51 +01:00
Sébastien Helleu aa5c03334a core: fix crash when "config_version" is present in a configuration file without a value 2023-10-30 23:28:07 +01:00
Sébastien Helleu 8e6647c7c9 core: display an error on startup if environment variable "HOME" is not set 2023-10-30 23:27:20 +01:00
Sébastien Helleu e140f3cf8e tests: check that environment variable "HOME" is set before using it 2023-10-30 23:26:01 +01:00
Sébastien Helleu 60b2b03f9a ruby: fix use of NULL variable when displaying exception 2023-10-30 23:25:51 +01:00
Sébastien Helleu 1769ce1814 Version 4.1.2-dev 2023-10-30 23:24:34 +01:00
Sébastien Helleu fbd579eb61 ci: uninstall php8.1-imagick before build (issue #2009)
When php imagick is installed and when WeeChat is compiled with gcc, there's a
crash when the php plugin is loaded.  Newer versions of gcc should fix the
issue, but as in CI we can't easily use them, uninstalling imagick avoids the
crash.
2023-10-28 09:21:00 +02:00
Sébastien Helleu 0e97de4293 Version 4.1.1 2023-10-26 21:13:53 +02:00
Sébastien Helleu 097dc1f48f Version 4.1.1-dev 2023-10-26 21:12:39 +02:00
Sébastien Helleu c3dba4496b core: add version 4.0.6 in ChangeLog and release notes 2023-10-26 21:11:07 +02:00
Sébastien Helleu 7d854c84de core: fix crash when a custom bar item name is already used by a default bar item (issue #2034) 2023-10-23 13:11:02 +02:00
Sébastien Helleu a9c410ff23 core: fix random timeouts when a lot of concurrent processes are launched with hook_process (issue #2033) 2023-10-22 21:05:45 +02:00
Sébastien Helleu 8c4ff51beb core: update translations (issue #194, issue #2032) 2023-10-19 23:57:25 +02:00
Sébastien Helleu 6ca604938f irc: revert compute of nick colors to case sensitive way, deprecate again IRC nick color infos (issue #194, issue #2032) 2023-10-19 23:31:49 +02:00
Sébastien Helleu 252f787fcf core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031) 2023-10-15 14:58:26 +02:00
Sébastien Helleu 839148e9d4 core: update French translations 2023-10-15 15:47:04 +02:00
121 changed files with 1277 additions and 557 deletions
+2 -1
View File
@@ -34,6 +34,8 @@ jobs:
run: | run: |
sudo apt-get update -qq sudo apt-get update -qq
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }} sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
sudo apt-get --yes purge php8.1-imagick
sudo -H pip3 install --ignore-installed msgcheck sudo -H pip3 install --ignore-installed msgcheck
- name: Check gettext files - name: Check gettext files
@@ -83,7 +85,6 @@ jobs:
matrix: matrix:
os: os:
- macos-12 - macos-12
- macos-11
config: config:
- { name: "gcc", cc: "gcc", cxx: "g++" } - { name: "gcc", cc: "gcc", cxx: "g++" }
- { name: "clang", cc: "clang", cxx: "clang++" } - { name: "clang", cc: "clang", cxx: "clang++" }
+2 -4
View File
@@ -250,10 +250,8 @@ add_subdirectory(icons)
if(ENABLE_NLS) if(ENABLE_NLS)
find_package(Gettext REQUIRED) find_package(Gettext REQUIRED)
add_definitions(-DENABLE_NLS) add_definitions(-DENABLE_NLS)
find_package(Intl) find_package(Intl REQUIRED)
if(Intl_FOUND) list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
endif()
add_subdirectory(po) add_subdirectory(po)
else() else()
add_custom_target(translations COMMAND true) add_custom_target(translations COMMAND true)
+97
View File
@@ -10,6 +10,63 @@ This document lists all the changes for each version. +
For a list of important changes that require manual actions, please look at release notes. For a list of important changes that require manual actions, please look at release notes.
[[v4.1.4]]
== Version 4.1.4 (under dev)
Bug fixes::
* core, relay: fix include directory of libzstd
* core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3"
* irc: fix crash in split of IRC message containing a newline if the server is not given
* python: fix truncation of unsigned long long integer returned by function string_parse_size
* script: always display list of scripts when searching scripts with `/script search` (issue #2077)
* script: fix default mouse keys (issue #2076)
* tcl: fix truncation of long integer returned by function hdata_long
* trigger: fix memory leak when adding a new trigger with `/trigger` command
Build::
* ruby: add detection of Ruby 3.3
[[v4.1.3]]
== Version 4.1.3 (2024-01-20)
Bug fixes::
* core: fix crash on plugin reload when using musl libc (issue #2052)
* core: fix infinite loop in display when the chat area is too small (issue #2053)
* irc: check if arguments are not NULL in some infos
* irc: fix info "irc_is_message_ignored" (issue #2059)
* irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005
[[v4.1.2]]
== Version 4.1.2 (2023-12-03)
Bug fixes::
* core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached
* core: remove incorrect warning when binding keys kbd:[F10] to kbd:[F20] (issue #2039)
* core: fix memory leak when config version is invalid or not supported
* core: fix crash when "config_version" is present in a configuration file without a value
* core: display an error on startup if environment variable "HOME" is not set
* irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
* irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
* relay: close properly connection with the IRC client in case of server disconnection (issue #2038)
* ruby: fix use of NULL variable when displaying exception
[[v4.1.1]]
== Version 4.1.1 (2023-10-26)
Bug fixes::
* core: fix crash when a custom bar item name is already used by a default bar item (issue #2034)
* core: fix random timeouts when a lot of concurrent processes are launched with hook_process (issue #2033)
* irc: revert compute of nick colors to case sensitive way, deprecate again infos "irc_nick_color" and "irc_nick_color_name" (issue #194, issue #2032)
Build::
* core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031)
[[v4.1.0]] [[v4.1.0]]
== Version 4.1.0 (2023-10-15) == Version 4.1.0 (2023-10-15)
@@ -81,6 +138,46 @@ Build::
* core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (issue #2026) * core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (issue #2026)
* core, logger, relay: make zstd dependency optional (issue #2024) * core, logger, relay: make zstd dependency optional (issue #2024)
[[v4.0.8]]
== Version 4.0.8 (2024-01-20)
Bug fixes::
* core: fix crash on plugin reload when using musl libc (issue #2052)
* core: fix infinite loop in display when the chat area is too small (issue #2053)
* irc: check if arguments are not NULL in some infos
* irc: fix info "irc_is_message_ignored" (issue #2059)
* irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005
[[v4.0.7]]
== Version 4.0.7 (2023-12-03)
Bug fixes::
* core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached
* core: remove incorrect warning when binding keys kbd:[F10] to kbd:[F20] (issue #2039)
* core: fix memory leak when config version is invalid or not supported
* core: fix crash when "config_version" is present in a configuration file without a value
* core: display an error on startup if environment variable "HOME" is not set
* irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
* irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
* relay: close properly connection with the IRC client in case of server disconnection (issue #2038)
* ruby: fix use of NULL variable when displaying exception
[[v4.0.6]]
== Version 4.0.6 (2023-10-26)
Bug fixes::
* core: fix crash when a custom bar item name is already used by a default bar item (issue #2034)
* core: fix generation of TOTP on Big Endian systems (issue #2021)
* irc: move value `-all` at the end of completions for command `/ignore del`
* irc: fix memory leak when joining channels with keys
Build::
* core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (issue #2026, issue #2031)
[[v4.0.5]] [[v4.0.5]]
== Version 4.0.5 (2023-09-24) == Version 4.0.5 (2023-09-24)
+72
View File
@@ -11,6 +11,55 @@ It is recommended to read it when upgrading to a new stable version. +
For a complete list of changes, please look at ChangeLog. For a complete list of changes, please look at ChangeLog.
[[v4.1.4]]
== Version 4.1.4 (under dev)
[[v4.1.4_script_keys]]
=== Script keys
Some arguments to the `/script` command were renamed in version 4.1.0, but the
keys using these arguments were not changed at same time.
They're now using the new arguments by default, but you must reset manually
the keys with the following commands:
----
/reset weechat.key_mouse.@chat(script.scripts):button1
/reset weechat.key_mouse.@chat(script.scripts):button2
/reset weechat.key_mouse.@chat(script.scripts):wheeldown
/reset weechat.key_mouse.@chat(script.scripts):wheelup
----
[[v4.1.3]]
== Version 4.1.3 (2024-01-20)
No release notes.
[[v4.1.2]]
== Version 4.1.2 (2023-12-03)
No release notes.
[[v4.1.1]]
== Version 4.1.1 (2023-10-26)
[[v4.1.1_custom_bar_items]]
=== Custom bar items
Custom bar items must now have a different name than default bar items
(for example the custom bar item name `time` is now forbidden).
If you have such names in your config, WeeChat will now fail to load them
(this should not happen anyway, since such bar items can not be properly used
or can cause a crash of WeeChat).
[[v4.1.1_nick_color_infos]]
=== Nick color infos
The infos irc_nick_color and irc_nick_color_name are deprecated again, and the
algorithm to compute IRC nick colors has been reverted to case sensitive. +
The server name has been removed from arguments.
[[v4.1.0]] [[v4.1.0]]
== Version 4.1.0 (2023-10-15) == Version 4.1.0 (2023-10-15)
@@ -120,6 +169,29 @@ You can reset it with this command:
/reset weechat.key_mouse.@chat(fset.fset):button1 /reset weechat.key_mouse.@chat(fset.fset):button1
---- ----
[[v4.0.8]]
== Version 4.0.8 (2024-01-20)
No release notes.
[[v4.0.7]]
== Version 4.0.7 (2023-12-03)
No release notes.
[[v4.0.6]]
== Version 4.0.6 (2023-10-26)
[[v4.0.6_custom_bar_items]]
=== Custom bar items
Custom bar items must now have a different name than default bar items
(for example the custom bar item name `time` is now forbidden).
If you have such names in your config, WeeChat will now fail to load them
(this should not happen anyway, since such bar items can not be properly used
and can cause a crash of WeeChat).
[[v4.0.5]] [[v4.0.5]]
== Version 4.0.5 (2023-09-24) == Version 4.0.5 (2023-09-24)
+22 -20
View File
@@ -45,26 +45,28 @@ set(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
check_include_files(libintl.h HAVE_LIBINTL_H) check_include_files(libintl.h HAVE_LIBINTL_H)
if(HAVE_LIBINTL_H) if(NOT HAVE_LIBINTL_H)
check_function_exists(dgettext LIBC_HAS_DGETTEXT) message(SEND_ERROR "Header libintl.h not found, required if ENABLE_NLS is enabled")
if(LIBC_HAS_DGETTEXT) endif()
set(GETTEXT_FOUND TRUE)
else() check_function_exists(dgettext LIBC_HAS_DGETTEXT)
find_library(LIBINTL_LIBRARY NAMES intl if(LIBC_HAS_DGETTEXT)
PATHS set(GETTEXT_FOUND TRUE)
/usr/local/lib else()
/usr/lib find_library(LIBINTL_LIBRARY NAMES intl
) PATHS
if(LIBINTL_LIBRARY) /usr/local/lib
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") /usr/lib
set(CMAKE_REQUIRED_LIBRARIES "iconv") )
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT) if(LIBINTL_LIBRARY)
else() if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT) set(CMAKE_REQUIRED_LIBRARIES "iconv")
endif() check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
if(LIBINTL_HAS_DGETTEXT) else()
set(GETTEXT_FOUND TRUE) check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
endif() endif()
if(LIBINTL_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
endif() endif()
endif() endif()
endif() endif()
+1 -1
View File
@@ -37,7 +37,7 @@ if(PKG_CONFIG_FOUND)
# set specific search path for macOS # set specific search path for macOS
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig") set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig")
endif() endif()
pkg_search_module(RUBY 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) 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") if(RUBY_FOUND AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# FIXME: weird hack: hardcoding the Ruby lib location on macOS # FIXME: weird hack: hardcoding the Ruby lib location on macOS
set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib") set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib")
-1
View File
@@ -1,4 +1,3 @@
#cmakedefine HAVE_LIBINTL_H
#cmakedefine HAVE_SYS_RESOURCE_H #cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_FLOCK #cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET #cmakedefine HAVE_LANGINFO_CODESET
+6 -6
View File
@@ -1806,10 +1806,10 @@ wurde (Befehl: `+/mouse toggle+`).
| kbd:[▼] | - | chat: /list buffer | gehe fünf Zeilen im /list-Buffer nach unten. | `+/list -down 5+` | kbd:[▼] | - | chat: /list buffer | gehe fünf Zeilen im /list-Buffer nach unten. | `+/list -down 5+`
| kbd:[■ □ □] | - | chat: /list buffer | Zeile im /list-Buffer auswählen. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat: /list buffer | Zeile im /list-Buffer auswählen. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: /list buffer | tritt dem IRC-Kanal, in der ausgewählten Zeile, bei. | `+hsignal:irc_list_mouse+` | kbd:[□ □ ■] | - | chat: /list buffer | tritt dem IRC-Kanal, in der ausgewählten Zeile, bei. | `+hsignal:irc_list_mouse+`
| kbd:[▲] | - | chat: script buffer | fünf Zeilen nach oben blättern, im Script-Buffer. | `+/script up 5+` | kbd:[▲] | - | chat: script buffer | fünf Zeilen nach oben blättern, im Script-Buffer. | `+/script -up 5+`
| kbd:[▼] | - | chat: script buffer | fünf Zeilen nach unten blättern, im Script-Buffer. | `+/script down 5+` | kbd:[▼] | - | chat: script buffer | fünf Zeilen nach unten blättern, im Script-Buffer. | `+/script -down 5+`
| kbd:[■ □ □] | - | chat: script buffer | wählt einen Eintrag im Script-Buffer aus. | `+/script go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat: script buffer | wählt einen Eintrag im Script-Buffer aus. | `+/script -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: script buffer | installiert/entfernt ein Skript. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[□ □ ■] | - | chat: script buffer | installiert/entfernt ein Skript. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `+buflist_mouse+`. | kbd:[■ □ □] | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `+buflist_mouse+`.
@@ -1927,8 +1927,8 @@ Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<script_manage
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|=== |===
| Taste | Action ^(1)^ | Beschreibung | Befehl | Taste | Action ^(1)^ | Beschreibung | Befehl
| kbd:[↑] | | eine Zeile nach oben. | `+/script up+` | kbd:[↑] | | eine Zeile nach oben. | `+/script -up+`
| kbd:[↓] | | eine Zeile nach unten. | `+/script down+` | kbd:[↓] | | eine Zeile nach unten. | `+/script -down+`
| kbd:[PgUp] | | eine Seite hoch blättern. | `+/window page_up+` | kbd:[PgUp] | | eine Seite hoch blättern. | `+/window page_up+`
| kbd:[PgDn] | | eine Seite nach unten blättern. | `+/window page_down+` | kbd:[PgDn] | | eine Seite nach unten blättern. | `+/window page_down+`
| kbd:[Alt+i] | `i` | Skript installieren. | `+/script install+` | kbd:[Alt+i] | `i` | Skript installieren. | `+/script install+`
+6 -6
View File
@@ -1793,10 +1793,10 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
| kbd:[▼] | - | chat: /list buffer | Move five lines down in /list buffer. | `+/list -down 5+` | kbd:[▼] | - | chat: /list buffer | Move five lines down in /list buffer. | `+/list -down 5+`
| kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+` | kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+`
| kbd:[▲] | - | chat: script buffer | Move five lines up in script buffer. | `+/script up 5+` | kbd:[▲] | - | chat: script buffer | Move five lines up in script buffer. | `+/script -up 5+`
| kbd:[▼] | - | chat: script buffer | Move five lines down in script buffer. | `+/script down 5+` | kbd:[▼] | - | chat: script buffer | Move five lines down in script buffer. | `+/script -down 5+`
| kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | down / right | buflist | Move buffer to a higher number. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | down / right | buflist | Move buffer to a higher number. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `+buflist_mouse+`. | kbd:[■ □ □] | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `+buflist_mouse+`.
@@ -1914,8 +1914,8 @@ These keys and actions are used on the script buffer (see <<script_manager,scrip
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|=== |===
| Key | Action ^(1)^ | Description | Command | Key | Action ^(1)^ | Description | Command
| kbd:[↑] | | Move one line up. | `+/script up+` | kbd:[↑] | | Move one line up. | `+/script -up+`
| kbd:[↓] | | Move one line down. | `+/script down+` | kbd:[↓] | | Move one line down. | `+/script -down+`
| kbd:[PgUp] | | Move one page up. | `+/window page_up+` | kbd:[PgUp] | | Move one page up. | `+/window page_up+`
| kbd:[PgDn] | | Move one page down. | `+/window page_down+` | kbd:[PgDn] | | Move one page down. | `+/window page_down+`
| kbd:[Alt+i] | `i` | Install script. | `+/script install+` | kbd:[Alt+i] | `i` | Install script. | `+/script install+`
+6 -6
View File
@@ -1828,10 +1828,10 @@ avec la touche kbd:[Alt+m] (commande : `+/mouse toggle+`).
| kbd:[▼] | - | chat : tampon /list | Descendre de cinq lignes dans le tampon /list. | `+/list -down 5+` | kbd:[▼] | - | chat : tampon /list | Descendre de cinq lignes dans le tampon /list. | `+/list -down 5+`
| kbd:[■ □ □] | - | chat : tampon /list | Sélectionner la ligne dans le tampon /list. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat : tampon /list | Sélectionner la ligne dans le tampon /list. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat : tampon /list | Rejoindre le canal IRC sur la ligne sélectionnée. | `+hsignal:irc_list_mouse+` | kbd:[□ □ ■] | - | chat : tampon /list | Rejoindre le canal IRC sur la ligne sélectionnée. | `+hsignal:irc_list_mouse+`
| kbd:[▲] | - | chat : tampon script | Monter de 5 lignes dans le tampon script. | `+/script up 5+` | kbd:[▲] | - | chat : tampon script | Monter de 5 lignes dans le tampon script. | `+/script -up 5+`
| kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script down 5+` | kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script -down 5+`
| kbd:[■ □ □] | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat : tampon script | Installer/supprimer un script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[□ □ ■] | - | chat : tampon script | Installer/supprimer un script. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | haut / gauche | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | haut / gauche | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | bas / droit | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | bas / droit | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | buflist | Aller au tampon (tampon précédent dans la liste des tampons visités si le tampon est le courant). | Signal `+buflist_mouse+`. | kbd:[■ □ □] | - | buflist | Aller au tampon (tampon précédent dans la liste des tampons visités si le tampon est le courant). | Signal `+buflist_mouse+`.
@@ -1952,8 +1952,8 @@ Ces touches et actions sont utilisées sur le tampon script
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|=== |===
| Touche | Action ^(1)^ | Description | Commande | Touche | Action ^(1)^ | Description | Commande
| kbd:[↑] | | Monter d'une ligne. | `+/script up+` | kbd:[↑] | | Monter d'une ligne. | `+/script -up+`
| kbd:[↓] | | Descendre d'une ligne. | `+/script down+` | kbd:[↓] | | Descendre d'une ligne. | `+/script -down+`
| kbd:[PgUp] | | Monter d'une page. | `+/window page_up+` | kbd:[PgUp] | | Monter d'une page. | `+/window page_up+`
| kbd:[PgDn] | | Descendre d'une page. | `+/window page_down+` | kbd:[PgDn] | | Descendre d'une page. | `+/window page_down+`
| kbd:[Alt+i] | `i` | Installer le script. | `+/script install+` | kbd:[Alt+i] | `i` | Installer le script. | `+/script install+`
+6 -6
View File
@@ -1990,13 +1990,13 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+` | kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+`
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[▲] | - | chat: script buffer | Move 5 lines up in script buffer. | `+/script up 5+` | kbd:[▲] | - | chat: script buffer | Move 5 lines up in script buffer. | `+/script -up 5+`
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[▼] | - | chat: script buffer | Move 5 lines down in script buffer. | `+/script down 5+` | kbd:[▼] | - | chat: script buffer | Move 5 lines down in script buffer. | `+/script -down 5+`
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script -go ${_chat_line_y}+`
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[■ □ □] | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`.
// TRANSLATION MISSING // TRANSLATION MISSING
@@ -2129,8 +2129,8 @@ These keys and actions are used on the script buffer (see <<script_manager,scrip
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|=== |===
| Key | Action ^(1)^ | Description | Command | Key | Action ^(1)^ | Description | Command
| kbd:[↑] | | Move one line up. | `+/script up+` | kbd:[↑] | | Move one line up. | `+/script -up+`
| kbd:[↓] | | Move one line down. | `+/script down+` | kbd:[↓] | | Move one line down. | `+/script -down+`
| kbd:[PgUp] | | Move one page up. | `+/window page_up+` | kbd:[PgUp] | | Move one page up. | `+/window page_up+`
| kbd:[PgDn] | | Move one page down. | `+/window page_down+` | kbd:[PgDn] | | Move one page down. | `+/window page_down+`
| kbd:[Alt+i] | `i` | Install script. | `+/script install+` | kbd:[Alt+i] | `i` | Install script. | `+/script install+`
+6 -6
View File
@@ -1938,10 +1938,10 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
| kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+` | kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+`
| kbd:[▲] | - | チャット: スクリプトバッファ | スクリプトバッファを 5 行上方向にスクロール | `+/script up 5+` | kbd:[▲] | - | チャット: スクリプトバッファ | スクリプトバッファを 5 行上方向にスクロール | `+/script -up 5+`
| kbd:[▼] | - | チャット: スクリプトバッファ | スクリプトバッファで 5 行下方向にスクロール | `+/script down 5+` | kbd:[▼] | - | チャット: スクリプトバッファ | スクリプトバッファで 5 行下方向にスクロール | `+/script -down 5+`
| kbd:[■ □ □] | - | チャット: スクリプトバッファ | スクリプトバッファで行選択 | `+/script go ${_chat_line_y}+` | kbd:[■ □ □] | - | チャット: スクリプトバッファ | スクリプトバッファで行選択 | `+/script -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | チャット: スクリプトバッファ | スクリプトのインストール `+/ 削除 | /script go ${_chat_line_y};/script installremove ${script_name_with_extension}+` | kbd:[□ □ ■] | - | チャット: スクリプトバッファ | スクリプトのインストール `+/ 削除 | /script -go ${_chat_line_y};/script installremove ${script_name_with_extension}+`
| kbd:[■ □ □] | 上 / 左 | バッファリスト | 指定したバッファを下の番号に移動 | `+buflist_mouse+` シグナル | kbd:[■ □ □] | 上 / 左 | バッファリスト | 指定したバッファを下の番号に移動 | `+buflist_mouse+` シグナル
| kbd:[■ □ □] | 下 / 右 | バッファリスト | 指定したバッファを上の番号に移動 | `+buflist_mouse+` シグナル | kbd:[■ □ □] | 下 / 右 | バッファリスト | 指定したバッファを上の番号に移動 | `+buflist_mouse+` シグナル
| kbd:[■ □ □] | - | バッファリスト | 指定したバッファに切り替える (現在のバッファを指定した場合、バッファ切り替え履歴で前のバッファに切り替える) | `+buflist_mouse+` シグナル | kbd:[■ □ □] | - | バッファリスト | 指定したバッファに切り替える (現在のバッファを指定した場合、バッファ切り替え履歴で前のバッファに切り替える) | `+buflist_mouse+` シグナル
@@ -2068,8 +2068,8 @@ These keys and actions are used on the script buffer (see <<script_manager,scrip
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|=== |===
| Key | Action ^(1)^ | Description | Command | Key | Action ^(1)^ | Description | Command
| kbd:[↑] | | Move one line up. | `+/script up+` | kbd:[↑] | | Move one line up. | `+/script -up+`
| kbd:[↓] | | Move one line down. | `+/script down+` | kbd:[↓] | | Move one line down. | `+/script -down+`
| kbd:[PgUp] | | Move one page up. | `+/window page_up+` | kbd:[PgUp] | | Move one page up. | `+/window page_up+`
| kbd:[PgDn] | | Move one page down. | `+/window page_down+` | kbd:[PgDn] | | Move one page down. | `+/window page_down+`
| kbd:[Alt+i] | `i` | Install script. | `+/script install+` | kbd:[Alt+i] | `i` | Install script. | `+/script install+`
+6 -6
View File
@@ -1823,10 +1823,10 @@ za pomocą skrótu kbd:[Alt+m] (komenda: `+/mouse toggle+`).
| kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
// TRANSLATION MISSING // TRANSLATION MISSING
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+` | kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+`
| kbd:[▲] | - | chat: bufor skryptów | Przejdź 5 linii w górę w buforze skryptów. | `+/script up 5+` | kbd:[▲] | - | chat: bufor skryptów | Przejdź 5 linii w górę w buforze skryptów. | `+/script -up 5+`
| kbd:[▼] | - | chat: bufor skryptów | Przejdź 5 linii w dół w buforze skryptów. | `+/script down 5+` | kbd:[▼] | - | chat: bufor skryptów | Przejdź 5 linii w dół w buforze skryptów. | `+/script -down 5+`
| kbd:[■ □ □] | - | chat: bufor skryptów | Zaznacz linię w buforze skryptów. | `+/script go ${_chat_line_y}+` | kbd:[■ □ □] | - | chat: bufor skryptów | Zaznacz linię w buforze skryptów. | `+/script -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | chat: bufor skryptów | Zainstaluj/usuń skrypt. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[□ □ ■] | - | chat: bufor skryptów | Zainstaluj/usuń skrypt. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | góra / lewo | buflist | Przenieś bufor na niższy numer. | Sygnał `+buflist_mouse+`. | kbd:[■ □ □] | góra / lewo | buflist | Przenieś bufor na niższy numer. | Sygnał `+buflist_mouse+`.
| kbd:[■ □ □] | dół / prawo | buflist | Przenieś bufor na wyższy numer. | Sygnał `+buflist_mouse+`. | kbd:[■ □ □] | dół / prawo | buflist | Przenieś bufor na wyższy numer. | Sygnał `+buflist_mouse+`.
| kbd:[■ □ □] | - | buflist | Przełącz na bufor (poprzednio odwiedzony bufor, jeśli jest to obecny bufor). | Sygnał `+buflist_mouse+`. | kbd:[■ □ □] | - | buflist | Przełącz na bufor (poprzednio odwiedzony bufor, jeśli jest to obecny bufor). | Sygnał `+buflist_mouse+`.
@@ -1948,8 +1948,8 @@ Te skróty klawiszowe i akcje mogą zostać użyte w buforze skryptów (zobacz <
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"] [width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|=== |===
| Skrót | Akcja ^(1)^ | Opis | Komenda | Skrót | Akcja ^(1)^ | Opis | Komenda
| kbd:[↑] | | Przejdź linię wyżej. | `+/script up+` | kbd:[↑] | | Przejdź linię wyżej. | `+/script -up+`
| kbd:[↓] | | Przejdź linię niżej. | `+/script down+` | kbd:[↓] | | Przejdź linię niżej. | `+/script -down+`
| kbd:[PgUp] | | Przewiń stronę do góry. | `+/window page_up+` | kbd:[PgUp] | | Przewiń stronę do góry. | `+/window page_up+`
| kbd:[PgDn] | | Przewiń stronę w dół. | `+/window page_down+` | kbd:[PgDn] | | Przewiń stronę w dół. | `+/window page_down+`
| kbd:[Alt+i] | `i` | Zainstaluj skrypt. | `+/script install+` | kbd:[Alt+i] | `i` | Zainstaluj skrypt. | `+/script install+`
+6 -6
View File
@@ -1713,10 +1713,10 @@ WeeChat нуди доста подразумеваних тастерских п
| kbd:[▼] | - | чет: /list бафер | Помера за пет линија наниже у /list баферу. | `+/list -down 5+` | kbd:[▼] | - | чет: /list бафер | Помера за пет линија наниже у /list баферу. | `+/list -down 5+`
| kbd:[■ □ □] | - | чет: /list бафер | Бира линију у /list баферу. | `+/window ${_window_number};/list -go ${_chat_line_y}+` | kbd:[■ □ □] | - | чет: /list бафер | Бира линију у /list баферу. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | чет: /list бафер | Приступа IRC каналу на изабраној линији. | `+hsignal:irc_list_mouse+` | kbd:[□ □ ■] | - | чет: /list бафер | Приступа IRC каналу на изабраној линији. | `+hsignal:irc_list_mouse+`
| kbd:[▲] | - | чет: script бафер | Помера за пет линија навише у script баферу. | `+/script up 5+` | kbd:[▲] | - | чет: script бафер | Помера за пет линија навише у script баферу. | `+/script -up 5+`
| kbd:[▼] | - | чет: script бафер | Помера за пет линија наниже у script баферу. | `+/script down 5+` | kbd:[▼] | - | чет: script бафер | Помера за пет линија наниже у script баферу. | `+/script -down 5+`
| kbd:[■ □ □] | - | чет: script бафер | Бира линију у script баферу. | `+/script go ${_chat_line_y}+` | kbd:[■ □ □] | - | чет: script бафер | Бира линију у script баферу. | `+/script -go ${_chat_line_y}+`
| kbd:[□ □ ■] | - | чет: script бафер | Инсталира/уклања скрипту. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+` | kbd:[□ □ ■] | - | чет: script бафер | Инсталира/уклања скрипту. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
| kbd:[■ □ □] | горе / лево | листа бафера | Помера бафер на нижи број. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | горе / лево | листа бафера | Помера бафер на нижи број. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | доле / десно | листа бафера | Помера бафер на виши број. | Signal `+buflist_mouse+`. | kbd:[■ □ □] | доле / десно | листа бафера | Помера бафер на виши број. | Signal `+buflist_mouse+`.
| kbd:[■ □ □] | - | листа бафера | Пребацивање на бафер (претходно посећени багер ако је бафер текући). | Signal `+buflist_mouse+`. | kbd:[■ □ □] | - | листа бафера | Пребацивање на бафер (претходно посећени багер ако је бафер текући). | Signal `+buflist_mouse+`.
@@ -1834,8 +1834,8 @@ kbd:[▼]: точкић доле
[width="100%", cols="^.^3,^.^2,.^8,.^5", options="header"] [width="100%", cols="^.^3,^.^2,.^8,.^5", options="header"]
|=== |===
| Тастер | Акција ^(1)^ | Опис | Команда | Тастер | Акција ^(1)^ | Опис | Команда
| kbd:[↑] | | Помера једну линију навише. | `+/script up+` | kbd:[↑] | | Помера једну линију навише. | `+/script -up+`
| kbd:[↓] | | Помера једну линију наниже. | `+/script down+` | kbd:[↓] | | Помера једну линију наниже. | `+/script -down+`
| kbd:[PgUp] | | Помера једну страну навише. | `+/window page_up+` | kbd:[PgUp] | | Помера једну страну навише. | `+/window page_up+`
| kbd:[PgDn] | | Помера једну страну наниже. | `+/window page_down+` | kbd:[PgDn] | | Помера једну страну наниже. | `+/window page_down+`
| kbd:[Alt+i] | `i` | Инсталира скрипту. | `+/script install+` | kbd:[Alt+i] | `i` | Инсталира скрипту. | `+/script install+`
+20 -12
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -52,8 +52,9 @@ msgstr "%sChyba: neznámý příkaz \"%s\" (napište /help pro nápovědu)"
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "" msgstr ""
#, c-format #, fuzzy, c-format
msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "Konec příkazu '%s', vypršel časový limit (%.1fs)" msgstr "Konec příkazu '%s', vypršel časový limit (%.1fs)"
#, c-format #, c-format
@@ -68,7 +69,7 @@ msgstr "chyba curlu %d (%s) (URL: \"%s\")\n"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "Konec příkazu '%s', vypršel časový limit (%.1fs)" msgstr "Konec příkazu '%s', vypršel časový limit (%.1fs)"
#, c-format #, c-format
@@ -4707,6 +4708,11 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n" "Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: nemohu vytvořit adresář pro logy (\"%s\")" msgstr "%s%s: nemohu vytvořit adresář pro logy (\"%s\")"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Proměnná prostředí \"%s\" není definována"
#, fuzzy, c-format #, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Chyba: domovský adresář (%s) není adresářem\n" msgstr "Chyba: domovský adresář (%s) není adresářem\n"
@@ -10028,17 +10034,19 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "IRC host (jako `:nick!name@server.com`)" msgstr "IRC host (jako `:nick!name@server.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
#| msgid "nick"
#| msgid_plural "nicks"
msgid "nickname"
msgstr "přezdívka"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
+50 -36
View File
@@ -26,7 +26,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-10-11 07:51+0200\n" "PO-Revision-Date: 2023-10-11 07:51+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n" "Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -64,8 +64,9 @@ msgstr ""
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sBad file descriptor (%d) wurde in Funktion \"hook_fd\" genutzt" msgstr "%sBad file descriptor (%d) wurde in Funktion \"hook_fd\" genutzt"
#, c-format #, fuzzy, c-format
msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "Befehl '%s' beendet, Zeit ist verstrichen (%.1fs)" msgstr "Befehl '%s' beendet, Zeit ist verstrichen (%.1fs)"
#, c-format #, c-format
@@ -77,8 +78,9 @@ msgstr ""
msgid "%sURL transfer error: %s (URL: \"%s\")" msgid "%sURL transfer error: %s (URL: \"%s\")"
msgstr "%sURL Transferfehler: %s (URL: \"%s\")" msgstr "%sURL Transferfehler: %s (URL: \"%s\")"
#, c-format #, fuzzy, c-format
msgid "End of URL transfer '%s', timeout reached (%.1fs)" #| msgid "End of URL transfer '%s', timeout reached (%.1fs)"
msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "Ende der URL-Übertragung „%s“, Zeitüberschreitung erreicht (%.1fs)" msgstr "Ende der URL-Übertragung „%s“, Zeitüberschreitung erreicht (%.1fs)"
#, c-format #, c-format
@@ -3520,13 +3522,6 @@ msgstr ""
msgid "system actions" msgid "system actions"
msgstr "Systemaktionen" msgstr "Systemaktionen"
#| msgid ""
#| " get: display system info\n"
#| " rlimit: display resource limits (see /help weechat.startup.sys_rlimit "
#| "and \"man getrlimit\")\n"
#| " rusage: display resource usage (see \"man getrusage\")\n"
#| "suspend: suspend WeeChat and go back to the shell, by sending signal "
#| "SIGTSTP to the WeeChat process"
msgid "" msgid ""
" get: display system info\n" " get: display system info\n"
" rlimit: display resource limits (see /help weechat.startup.sys_rlimit and " " rlimit: display resource limits (see /help weechat.startup.sys_rlimit and "
@@ -3543,8 +3538,8 @@ msgstr ""
" rusage: Ressourcennutzung anzeigen (siehe \"man getrusage\")\n" " rusage: Ressourcennutzung anzeigen (siehe \"man getrusage\")\n"
"suspend: Beendet WeeChat und kehrt zur Shell zurück, indem das Signal " "suspend: Beendet WeeChat und kehrt zur Shell zurück, indem das Signal "
"SIGTSTP an den WeeChat-Prozess gesendet wird\n" "SIGTSTP an den WeeChat-Prozess gesendet wird\n"
"waitpid: Bestätigt das Ende untergeordneter Prozesse (um „Zombie“ Prozesse zu" "waitpid: Bestätigt das Ende untergeordneter Prozesse (um „Zombie“ Prozesse "
" verhindern)" "zu verhindern)"
msgid "toggle value of a config option" msgid "toggle value of a config option"
msgstr "den Wert einer Konfigurationsoption umschalten" msgstr "den Wert einer Konfigurationsoption umschalten"
@@ -5923,6 +5918,11 @@ msgstr ""
"Fehler: es kann kein temporäres Heimatverzeichnis angelegt werden (mit " "Fehler: es kann kein temporäres Heimatverzeichnis angelegt werden (mit "
"Befehl: \"%s\")\n" "Befehl: \"%s\")\n"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Umgebungsvariable \"%s\" ist nicht definiert"
#, c-format #, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Fehler: \"%s\" ist kein Verzeichnis\n" msgstr "Fehler: \"%s\" ist kein Verzeichnis\n"
@@ -12447,28 +12447,20 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "IRC host (in der Form `:nick!name@server.com`)" msgstr "IRC host (in der Form `:nick!name@server.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
"Hole den Farbcode des Nicks, Groß- und Kleinschreibung wird ignoriert (dies "
"ruft die Funktion„nick_color_name_ignore_case“ mit entsprechendem Bereich " #, fuzzy
"auf, dabei wird der Wert des CASEMAPPING auf dem Serverberücksichtigt, " #| msgid "nick"
"standardmäßig wird auf „rfc1459“ zurückgegriffen, wenn derServer nicht " #| msgid_plural "nicks"
"angegeben wurde)" msgid "nickname"
msgstr "Nick"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
"Hole den Farbnamen des Nicks, Groß- und Kleinschreibung wird ignoriert (dies "
"ruft die Funktion„nick_color_name_ignore_case“ mit entsprechendem Bereich "
"auf, dabei wird der Wert des CASEMAPPING auf dem Serverberücksichtigt, "
"standardmäßig wird auf „rfc1459“ zurückgegriffen, wenn derServer nicht "
"angegeben wurde)"
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
msgstr "holt Buffer Pointer für einen IRC Server/Kanal/Nick" msgstr "holt Buffer Pointer für einen IRC Server/Kanal/Nick"
@@ -16691,8 +16683,7 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat"
msgid "" msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> " "<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<" "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
"all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del " "all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del "
@@ -16701,8 +16692,7 @@ msgid ""
msgstr "" msgstr ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> " "<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<" "[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-"
"all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del " "all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del "
@@ -17631,5 +17621,29 @@ msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "" msgstr ""
"%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)" "%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)"
#~ msgid ""
#~ "get nick color code, ignoring case (this calls the info "
#~ "\"nick_color_ignore_case\" with appropriate range, according to the value "
#~ "of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is "
#~ "not given)"
#~ msgstr ""
#~ "Hole den Farbcode des Nicks, Groß- und Kleinschreibung wird ignoriert "
#~ "(dies ruft die Funktion„nick_color_name_ignore_case“ mit entsprechendem "
#~ "Bereich auf, dabei wird der Wert des CASEMAPPING auf dem "
#~ "Serverberücksichtigt, standardmäßig wird auf „rfc1459“ zurückgegriffen, "
#~ "wenn derServer nicht angegeben wurde)"
#~ msgid ""
#~ "get nick color name, ignoring case (this calls the info "
#~ "\"nick_color_name_ignore_case\" with appropriate range, according to the "
#~ "value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the "
#~ "server is not given)"
#~ msgstr ""
#~ "Hole den Farbnamen des Nicks, Groß- und Kleinschreibung wird ignoriert "
#~ "(dies ruft die Funktion„nick_color_name_ignore_case“ mit entsprechendem "
#~ "Bereich auf, dabei wird der Wert des CASEMAPPING auf dem "
#~ "Serverberücksichtigt, standardmäßig wird auf „rfc1459“ zurückgegriffen, "
#~ "wenn derServer nicht angegeben wurde)"
#~ msgid "hash algorithm used to check the decrypted data" #~ msgid "hash algorithm used to check the decrypted data"
#~ msgstr "Hash-Algorithmus zur Überprüfung der verschlüsselten Daten" #~ msgstr "Hash-Algorithmus zur Überprüfung der verschlüsselten Daten"
+20 -12
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -52,8 +52,9 @@ msgstr "%sError: comando \"%s\" desconocido (use /help para ver la ayuda)"
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sError: mal descriptor de archivo (%d) usado en hook_fd" msgstr "%sError: mal descriptor de archivo (%d) usado en hook_fd"
#, c-format #, fuzzy, c-format
msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "Fin del comando '%s', tiempo de espera alcanzado (%.1fs)" msgstr "Fin del comando '%s', tiempo de espera alcanzado (%.1fs)"
#, c-format #, c-format
@@ -68,7 +69,7 @@ msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "Fin del comando '%s', tiempo de espera alcanzado (%.1fs)" msgstr "Fin del comando '%s', tiempo de espera alcanzado (%.1fs)"
#, c-format #, c-format
@@ -5340,6 +5341,11 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n" "Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: imposible crear directorio para registros (\"%s\")" msgstr "%s%s: imposible crear directorio para registros (\"%s\")"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Variable \"%s\" no definida"
#, fuzzy, c-format #, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Error: home (%s) no es un directorio\n" msgstr "Error: home (%s) no es un directorio\n"
@@ -10756,17 +10762,19 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "IRC host (como `:apodo!nombre@servidor.com`)" msgstr "IRC host (como `:apodo!nombre@servidor.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
#| msgid "nick"
#| msgid_plural "nicks"
msgid "nickname"
msgstr "apodo"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
+42 -22
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-10-10 19:22+0200\n" "PO-Revision-Date: 2023-10-30 23:27+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n" "Language: fr\n"
@@ -56,8 +56,8 @@ msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sMauvais descripteur de fichier (%d) utilisé dans hook_fd" msgstr "%sMauvais descripteur de fichier (%d) utilisé dans hook_fd"
#, c-format #, c-format
msgid "End of command '%s', timeout reached (%.1fs)" msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "Fin de la commande '%s', temps maximum atteint (%.1fs)" msgstr "Fin de la commande '%s', temps maximum atteint (%.3fs)"
#, c-format #, c-format
msgid "System clock skew detected (%+ld seconds), reinitializing all timers" msgid "System clock skew detected (%+ld seconds), reinitializing all timers"
@@ -70,8 +70,8 @@ msgid "%sURL transfer error: %s (URL: \"%s\")"
msgstr "%sErreur de transfert d'URL : %s (URL : \"%s\")" msgstr "%sErreur de transfert d'URL : %s (URL : \"%s\")"
#, c-format #, c-format
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "Fin du transfert d'URL '%s', temps maximum atteint (%.1fs)" msgstr "Fin du transfert d'URL '%s', temps maximum atteint (%.3fs)"
#, c-format #, c-format
msgid "%sError running thread in hook_url: %s (URL: \"%s\")" msgid "%sError running thread in hook_url: %s (URL: \"%s\")"
@@ -5788,6 +5788,9 @@ msgstr ""
"Erreur : impossible de créer le répertoire de base temporaire (en utilisant " "Erreur : impossible de créer le répertoire de base temporaire (en utilisant "
"le modèle : \"%s\")\n" "le modèle : \"%s\")\n"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Erreur : la variable d'environnement \"HOME\" n'est pas définie\n"
#, c-format #, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Erreur : \"%s\" n'est pas un répertoire\n" msgstr "Erreur : \"%s\" n'est pas un répertoire\n"
@@ -12209,26 +12212,21 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "host IRC (comme `:pseudo!nom@serveur.com`)" msgstr "host IRC (comme `:pseudo!nom@serveur.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
"retourne le code couleur du pseudo, en ignorant la casse (cela appelle " "retourne le code couleur du pseudo (*obsolète* depuis la version 1.5, "
"l'info \"nick_color_ignore_case\" avec l'intervalle approprié, selon la " "remplacé par \"nick_color\")"
"valeur de CASEMAPPING sur le serveur, par défaut \"rfc1459\" si le serveur "
"n'est pas fourni)" msgid "nickname"
msgstr "pseudo"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
"retourne le nom de la couleur du pseudo, en ignorant la casse (cela appelle " "retourne le nom de la couleur du pseudo (*obsolète* depuis la version 1.5, "
"l'info \"nick_color_name_ignore_case\" avec l'intervalle approprié, selon la " "remplacé par \"nick_color_name\")"
"valeur de CASEMAPPING sur le serveur, par défaut \"rfc1459\" si le serveur "
"n'est pas fourni)"
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
msgstr "retourne le pointeur vers le tampon pour un serveur/canal/pseudo IRC" msgstr "retourne le pointeur vers le tampon pour un serveur/canal/pseudo IRC"
@@ -17318,3 +17316,25 @@ msgstr "%s%s : délai d'attente dépassé pour \"%s\" avec %s"
#, c-format #, c-format
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)" msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)"
#~ msgid ""
#~ "get nick color code, ignoring case (this calls the info "
#~ "\"nick_color_ignore_case\" with appropriate range, according to the value "
#~ "of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is "
#~ "not given)"
#~ msgstr ""
#~ "retourne le code couleur du pseudo, en ignorant la casse (cela appelle "
#~ "l'info \"nick_color_ignore_case\" avec l'intervalle approprié, selon la "
#~ "valeur de CASEMAPPING sur le serveur, par défaut \"rfc1459\" si le "
#~ "serveur n'est pas fourni)"
#~ msgid ""
#~ "get nick color name, ignoring case (this calls the info "
#~ "\"nick_color_name_ignore_case\" with appropriate range, according to the "
#~ "value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the "
#~ "server is not given)"
#~ msgstr ""
#~ "retourne le nom de la couleur du pseudo, en ignorant la casse (cela "
#~ "appelle l'info \"nick_color_name_ignore_case\" avec l'intervalle "
#~ "approprié, selon la valeur de CASEMAPPING sur le serveur, par défaut "
#~ "\"rfc1459\" si le serveur n'est pas fourni)"
+15 -11
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -51,7 +51,7 @@ msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "" msgstr ""
#, c-format #, c-format
msgid "End of command '%s', timeout reached (%.1fs)" msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -63,7 +63,7 @@ msgid "%sURL transfer error: %s (URL: \"%s\")"
msgstr "" msgstr ""
#, c-format #, c-format
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -4236,6 +4236,10 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n" "Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s nem sikerült a szervert létrehozni\n" msgstr "%s nem sikerült a szervert létrehozni\n"
#, fuzzy
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr " . típus: szám\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "%s nem sikerült a \"%s\" könyvtárat létrehozni\n" msgstr "%s nem sikerült a \"%s\" könyvtárat létrehozni\n"
@@ -9441,17 +9445,17 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "" msgstr ""
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
msgid "nickname"
msgstr "név"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
+19 -12
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -50,8 +50,9 @@ msgstr "%sErrore: comando \"%s\" sconosciuto (digita /help per l'aiuto)"
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sErrore: descrittore file errato (%d) usato in hook_fd" msgstr "%sErrore: descrittore file errato (%d) usato in hook_fd"
#, c-format #, fuzzy, c-format
msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "Fine comando '%s', timeout raggiunto (%.1fs)" msgstr "Fine comando '%s', timeout raggiunto (%.1fs)"
#, c-format #, c-format
@@ -66,7 +67,7 @@ msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "Fine comando '%s', timeout raggiunto (%.1fs)" msgstr "Fine comando '%s', timeout raggiunto (%.1fs)"
#, c-format #, c-format
@@ -4976,6 +4977,10 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n" "Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: impossibile creare la directory per i log (\"%s\")" msgstr "%s%s: impossibile creare la directory per i log (\"%s\")"
#, fuzzy
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Variabili"
#, fuzzy, c-format #, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Errore: home (%s) non è una directory\n" msgstr "Errore: home (%s) non è una directory\n"
@@ -10485,17 +10490,19 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "host IRC (come `:nick!nome@server.com`)" msgstr "host IRC (come `:nick!nome@server.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
#| msgid "nick"
#| msgid_plural "nicks"
msgid "nickname"
msgstr "nick"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
+20 -12
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -53,8 +53,9 @@ msgstr "%sエラー: 未定義のコマンド \"%s\" (ヘルプを見るには /
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sエラー: hook_fd で不正なファイルディスクリプタ (%d) が使われました" msgstr "%sエラー: hook_fd で不正なファイルディスクリプタ (%d) が使われました"
#, c-format #, fuzzy, c-format
msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "コマンド '%s' の終了、タイムアウトになりました (%.1fs)" msgstr "コマンド '%s' の終了、タイムアウトになりました (%.1fs)"
#, c-format #, c-format
@@ -70,7 +71,7 @@ msgstr "curl エラー %d (%s) (URL: \"%s\")\n"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "コマンド '%s' の終了、タイムアウトになりました (%.1fs)" msgstr "コマンド '%s' の終了、タイムアウトになりました (%.1fs)"
#, c-format #, c-format
@@ -5625,6 +5626,11 @@ msgid ""
msgstr "" msgstr ""
"エラー: 一時的なホームディレクリ (テンプレート: \"%s\") を作成できません\n" "エラー: 一時的なホームディレクリ (テンプレート: \"%s\") を作成できません\n"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "環境変数 \"%s\" が定義されていません"
#, fuzzy, c-format #, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "エラー: ホーム (%s) はディレクトリではありません\n" msgstr "エラー: ホーム (%s) はディレクトリではありません\n"
@@ -11740,17 +11746,19 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "IRC ホスト (例: `:nick!name@server.com`)" msgstr "IRC ホスト (例: `:nick!name@server.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
#| msgid "nick"
#| msgid_plural "nicks"
msgid "nickname"
msgstr "ニックネーム"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
+20 -12
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n" "Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -56,8 +56,9 @@ msgstr "%sNieznana komenda \"%s\" (wpisz /help , aby uzyskać pomoc)"
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sZły deskryptor pliku (%d) użyty w hook_fd" msgstr "%sZły deskryptor pliku (%d) użyty w hook_fd"
#, c-format #, fuzzy, c-format
msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "Kończenie komendy '%s', przekroczono dopuszczalny czas (%.1fs)" msgstr "Kończenie komendy '%s', przekroczono dopuszczalny czas (%.1fs)"
#, c-format #, c-format
@@ -73,7 +74,7 @@ msgstr "błąd curl %d (%s) (URL: \"%s\")\n"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "Kończenie komendy '%s', przekroczono dopuszczalny czas (%.1fs)" msgstr "Kończenie komendy '%s', przekroczono dopuszczalny czas (%.1fs)"
#, c-format #, c-format
@@ -6197,6 +6198,11 @@ msgstr ""
"Błąd: nie można utworzyć tymczasowego katalogu domowego (używając szablonu: " "Błąd: nie można utworzyć tymczasowego katalogu domowego (używając szablonu: "
"\"%s\")\n" "\"%s\")\n"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Zmienna środowiskowa \"%s\" nie jest zdefiniowana"
#, c-format #, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Błąd: „%s” nie jest katalogiem\n" msgstr "Błąd: „%s” nie jest katalogiem\n"
@@ -12954,17 +12960,19 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "Host IRC (jak `:nick!nazwa@serwer.com`)" msgstr "Host IRC (jak `:nick!nazwa@serwer.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
#| msgid "nick"
#| msgid_plural "nicks"
msgid "nickname"
msgstr "nick"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
+20 -12
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n" "Language-Team: Portuguese <>\n"
@@ -51,8 +51,9 @@ msgstr "%sErro: comando desconhecido: \"%s\" (escreva /help para obter ajuda)"
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sErro: descritor de ficheiro incorreto (%d) usado em hook_fd" msgstr "%sErro: descritor de ficheiro incorreto (%d) usado em hook_fd"
#, c-format #, fuzzy, c-format
msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "Fim do comando '%s', tempo limite atingido (%.1fs)" msgstr "Fim do comando '%s', tempo limite atingido (%.1fs)"
#, c-format #, c-format
@@ -68,7 +69,7 @@ msgstr "erro curl %d (%s) (URL: \"%s\")\n"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "Fim do comando '%s', tempo limite atingido (%.1fs)" msgstr "Fim do comando '%s', tempo limite atingido (%.1fs)"
#, c-format #, c-format
@@ -5614,6 +5615,11 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n" "Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: não foi possível criar diretório para registos (\"%s\")" msgstr "%s%s: não foi possível criar diretório para registos (\"%s\")"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "A variável de ambiente \"%s\" não está definida"
#, fuzzy, c-format #, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Erro: a base (%s) não é um diretório\n" msgstr "Erro: a base (%s) não é um diretório\n"
@@ -11441,17 +11447,19 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "host de IRC (tal como `:nick!nome@servidor.com`)" msgstr "host de IRC (tal como `:nick!nome@servidor.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
#| msgid "nick"
#| msgid_plural "nicks"
msgid "nickname"
msgstr "nick"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
+17 -11
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -53,7 +53,7 @@ msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sDescritor de arquivo ruim (%d) usado em hook_fd" msgstr "%sDescritor de arquivo ruim (%d) usado em hook_fd"
#, c-format #, c-format
msgid "End of command '%s', timeout reached (%.1fs)" msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -67,7 +67,7 @@ msgid "%sURL transfer error: %s (URL: \"%s\")"
msgstr "" msgstr ""
#, c-format #, c-format
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -4981,6 +4981,10 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n" "Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s%s: não foi possível criar diretório para registros (\"%s\")" msgstr "%s%s: não foi possível criar diretório para registros (\"%s\")"
#, fuzzy
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Variáveis"
#, fuzzy, c-format #, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Erro: (%s) não é um diretório\n" msgstr "Erro: (%s) não é um diretório\n"
@@ -10027,17 +10031,19 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "host IRC (exemplo: `:apelido!nome@servidor.com`)" msgstr "host IRC (exemplo: `:apelido!nome@servidor.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
#| msgid "nick"
#| msgid_plural "nicks"
msgid "nickname"
msgstr "apelido"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
+15 -11
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -54,7 +54,7 @@ msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "" msgstr ""
#, c-format #, c-format
msgid "End of command '%s', timeout reached (%.1fs)" msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -66,7 +66,7 @@ msgid "%sURL transfer error: %s (URL: \"%s\")"
msgstr "" msgstr ""
#, c-format #, c-format
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -4266,6 +4266,10 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n" "Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "%s не могу создать сервер \"%s\"\n" msgstr "%s не могу создать сервер \"%s\"\n"
#, fuzzy
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr " . тип: целочисленный\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "%s домашний каталог (%s) не является директорией\n" msgstr "%s домашний каталог (%s) не является директорией\n"
@@ -9480,17 +9484,17 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "" msgstr ""
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
msgid "nickname"
msgstr "ник"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
#, fuzzy #, fuzzy
+42 -20
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -55,8 +55,9 @@ msgstr ""
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sУ hook_fd је употребљен лош дескриптор фајла (%d)" msgstr "%sУ hook_fd је употребљен лош дескриптор фајла (%d)"
#, c-format #, fuzzy, c-format
msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "Крај команде ’%s’, достигнут је тајмаут (%.1fs)" msgstr "Крај команде ’%s’, достигнут је тајмаут (%.1fs)"
#, c-format #, c-format
@@ -72,7 +73,7 @@ msgstr "curl грешка %d (%s) (URL: „%s”)\n"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "Крај команде ’%s’, достигнут је тајмаут (%.1fs)" msgstr "Крај команде ’%s’, достигнут је тајмаут (%.1fs)"
#, c-format #, c-format
@@ -5705,6 +5706,11 @@ msgstr ""
"Грешка: не може да се креира привремени почетни директоријум (користећи " "Грешка: не може да се креира привремени почетни директоријум (користећи "
"шаблон: \"%s\")\n" "шаблон: \"%s\")\n"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Није дефинисана променљива окружења „%s”"
#, c-format #, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Грешка: „%s” није директоријум\n" msgstr "Грешка: „%s” није директоријум\n"
@@ -12038,26 +12044,20 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "IRC хост (као `:надимак!име@сервер.com`)" msgstr "IRC хост (као `:надимак!име@сервер.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
"враћа код боје надимка, без разликовања величине слова (ово позива инфо "
"„nick_color_ignore_case” са одговарајућим опсегом, у сагласности са " #, fuzzy
"вредношћу CASEMAPPING на серверу, узимајући подразумевану вредност „rfc1459” " #| msgid "nick"
"ако се сервер не наведе)" #| msgid_plural "nicks"
msgid "nickname"
msgstr "надимак"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
"враћа име боје надимка, без разликовања величине слова (ово позива инфо "
"„nick_color_name_ignore_case” са одговарајућим опсегом, у сагласности са "
"вредношћу CASEMAPPING на серверу, узимајући подразумевану вредност „rfc1459” "
"ако се сервер не наведе)"
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
msgstr "враћа показивач на бафер за IRC сервер/канал/надимак" msgstr "враћа показивач на бафер за IRC сервер/канал/надимак"
@@ -17132,5 +17132,27 @@ msgstr "%s%s: тајмаут за „%s” са %s"
msgid "%s%s: unable to connect: unexpected error (%d)" msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: повезивање није успело: неочекивана грешка (%d)" msgstr "%s%s: повезивање није успело: неочекивана грешка (%d)"
#~ msgid ""
#~ "get nick color code, ignoring case (this calls the info "
#~ "\"nick_color_ignore_case\" with appropriate range, according to the value "
#~ "of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is "
#~ "not given)"
#~ msgstr ""
#~ "враћа код боје надимка, без разликовања величине слова (ово позива инфо "
#~ "„nick_color_ignore_case” са одговарајућим опсегом, у сагласности са "
#~ "вредношћу CASEMAPPING на серверу, узимајући подразумевану вредност "
#~ "„rfc1459” ако се сервер не наведе)"
#~ msgid ""
#~ "get nick color name, ignoring case (this calls the info "
#~ "\"nick_color_name_ignore_case\" with appropriate range, according to the "
#~ "value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the "
#~ "server is not given)"
#~ msgstr ""
#~ "враћа име боје надимка, без разликовања величине слова (ово позива инфо "
#~ "„nick_color_name_ignore_case” са одговарајућим опсегом, у сагласности са "
#~ "вредношћу CASEMAPPING на серверу, узимајући подразумевану вредност "
#~ "„rfc1459” ако се сервер не наведе)"
#~ msgid "hash algorithm used to check the decrypted data" #~ msgid "hash algorithm used to check the decrypted data"
#~ msgstr "хеш алгоритам који се користи за проверу дешифрованих података" #~ msgstr "хеш алгоритам који се користи за проверу дешифрованих података"
+20 -12
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n" "PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -51,8 +51,9 @@ msgstr "%s Bilinmeyen komut \"%s\" (yardım için /help yazın)"
msgid "%sBad file descriptor (%d) used in hook_fd" msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "%sHatalı dosya açıklayıcısı (%d) hook_fd içinde kullanılmış" msgstr "%sHatalı dosya açıklayıcısı (%d) hook_fd içinde kullanılmış"
#, c-format #, fuzzy, c-format
msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "'%s' komutu sonu, zaman aşımına ulaşıldı (%.1fs)" msgstr "'%s' komutu sonu, zaman aşımına ulaşıldı (%.1fs)"
#, c-format #, c-format
@@ -67,7 +68,7 @@ msgstr "curl hatası %d (%s) (URL: \"%s\")\n"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "End of command '%s', timeout reached (%.1fs)" #| msgid "End of command '%s', timeout reached (%.1fs)"
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "'%s' komutu sonu, zaman aşımına ulaşıldı (%.1fs)" msgstr "'%s' komutu sonu, zaman aşımına ulaşıldı (%.1fs)"
#, c-format #, c-format
@@ -5757,6 +5758,11 @@ msgid ""
msgstr "" msgstr ""
"Hata: Geçici bir ev dizini oluşturulamıyor (kullanılan şablon: \"%s\")\n" "Hata: Geçici bir ev dizini oluşturulamıyor (kullanılan şablon: \"%s\")\n"
#, fuzzy
#| msgid "Environment variable \"%s\" is not defined"
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr "Ortam değişkeni \"%s\" tanımlanmamış"
#, c-format #, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "Hata: \"%s\" bir dizin değil\n" msgstr "Hata: \"%s\" bir dizin değil\n"
@@ -12440,17 +12446,19 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "IRC makinesi (örneğin: `:nick!name@server.com`)" msgstr "IRC makinesi (örneğin: `:nick!name@server.com`)"
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not "
"given)"
msgstr "" msgstr ""
#, fuzzy
#| msgid "nick"
#| msgid_plural "nicks"
msgid "nickname"
msgstr "takma ad"
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
+13 -11
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-10-10 19:22+0200\n" "POT-Creation-Date: 2023-10-30 23:26+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -51,7 +51,7 @@ msgid "%sBad file descriptor (%d) used in hook_fd"
msgstr "" msgstr ""
#, c-format #, c-format
msgid "End of command '%s', timeout reached (%.1fs)" msgid "End of command '%s', timeout reached (%.3fs)"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -63,7 +63,7 @@ msgid "%sURL transfer error: %s (URL: \"%s\")"
msgstr "" msgstr ""
#, c-format #, c-format
msgid "End of URL transfer '%s', timeout reached (%.1fs)" msgid "End of URL transfer '%s', timeout reached (%.3fs)"
msgstr "" msgstr ""
#, c-format #, c-format
@@ -3882,6 +3882,9 @@ msgid ""
"Error: unable to create a temporary home directory (using template: \"%s\")\n" "Error: unable to create a temporary home directory (using template: \"%s\")\n"
msgstr "" msgstr ""
msgid "Error: environment variable \"HOME\" is not defined\n"
msgstr ""
#, c-format #, c-format
msgid "Error: \"%s\" is not a directory\n" msgid "Error: \"%s\" is not a directory\n"
msgstr "" msgstr ""
@@ -8497,17 +8500,16 @@ msgid "IRC host (like `:nick!name@server.com`)"
msgstr "" msgstr ""
msgid "" msgid ""
"get nick color code, ignoring case (this calls the info " "get nick color code (*deprecated* since version 1.5, replaced by "
"\"nick_color_ignore_case\" with appropriate range, according to the value of " "\"nick_color\")"
"CASEMAPPING on the server, defaulting to \"rfc1459\" if the server is not " msgstr ""
"given)"
msgid "nickname"
msgstr "" msgstr ""
msgid "" msgid ""
"get nick color name, ignoring case (this calls the info " "get nick color name (*deprecated* since version 1.5, replaced by "
"\"nick_color_name_ignore_case\" with appropriate range, according to the " "\"nick_color_name\")"
"value of CASEMAPPING on the server, defaulting to \"rfc1459\" if the server "
"is not given)"
msgstr "" msgstr ""
msgid "get buffer pointer for an IRC server/channel/nick" msgid "get buffer pointer for an IRC server/channel/nick"
+1 -1
View File
@@ -92,7 +92,7 @@ include_directories(${GNUTLS_INCLUDE_PATH})
include_directories(${CURL_INCLUDE_DIRS}) include_directories(${CURL_INCLUDE_DIRS})
if(ENABLE_ZSTD) if(ENABLE_ZSTD)
include_directories(${ZSTD_INCLUDE_DIRS}) include_directories(${LIBZSTD_INCLUDE_DIRS})
endif() endif()
include_directories("${CMAKE_BINARY_DIR}") include_directories("${CMAKE_BINARY_DIR}")
+1 -1
View File
@@ -270,7 +270,7 @@ hook_connect_free_data (struct t_hook *hook)
if (HOOK_CONNECT(hook, child_pid) > 0) if (HOOK_CONNECT(hook, child_pid) > 0)
{ {
kill (HOOK_CONNECT(hook, child_pid), SIGKILL); kill (HOOK_CONNECT(hook, child_pid), SIGKILL);
hook_schedule_clean_children (); hook_schedule_clean_process (HOOK_CONNECT(hook, child_pid));
HOOK_CONNECT(hook, child_pid) = 0; HOOK_CONNECT(hook, child_pid) = 0;
} }
if (HOOK_CONNECT(hook, child_read) != -1) if (HOOK_CONNECT(hook, child_read) != -1)
+2 -1
View File
@@ -146,6 +146,7 @@ hook_process_hashtable (struct t_weechat_plugin *plugin,
ptr_value = hashtable_get (options, "buffer_flush"); ptr_value = hashtable_get (options, "buffer_flush");
if (ptr_value && ptr_value[0]) if (ptr_value && ptr_value[0])
{ {
error = NULL;
number = strtol (ptr_value, &error, 10); number = strtol (ptr_value, &error, 10);
if (error && !error[0] if (error && !error[0]
&& (number >= 1) && (number <= HOOK_PROCESS_BUFFER_SIZE)) && (number >= 1) && (number <= HOOK_PROCESS_BUFFER_SIZE))
@@ -862,7 +863,7 @@ hook_process_free_data (struct t_hook *hook)
if (HOOK_PROCESS(hook, child_pid) > 0) if (HOOK_PROCESS(hook, child_pid) > 0)
{ {
kill (HOOK_PROCESS(hook, child_pid), SIGKILL); kill (HOOK_PROCESS(hook, child_pid), SIGKILL);
hook_schedule_clean_children (); hook_schedule_clean_process (HOOK_PROCESS(hook, child_pid));
HOOK_PROCESS(hook, child_pid) = 0; HOOK_PROCESS(hook, child_pid) = 0;
} }
if (HOOK_PROCESS(hook, child_read[HOOK_PROCESS_STDIN]) != -1) if (HOOK_PROCESS(hook, child_read[HOOK_PROCESS_STDIN]) != -1)
+3
View File
@@ -739,6 +739,7 @@ COMMAND_CALLBACK(buffer)
else else
{ {
ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]); ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]);
error = NULL;
(void) strtol (argv[i], &error, 10); (void) strtol (argv[i], &error, 10);
clear_number = (error && !error[0]); clear_number = (error && !error[0]);
} }
@@ -974,6 +975,7 @@ COMMAND_CALLBACK(buffer)
ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]); ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]);
if (ptr_buffer) if (ptr_buffer)
{ {
error = NULL;
(void) strtol (argv[i], &error, 10); (void) strtol (argv[i], &error, 10);
if (error && !error[0]) if (error && !error[0])
{ {
@@ -1012,6 +1014,7 @@ COMMAND_CALLBACK(buffer)
ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]); ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]);
if (ptr_buffer) if (ptr_buffer)
{ {
error = NULL;
(void) strtol (argv[i], &error, 10); (void) strtol (argv[i], &error, 10);
if (error && !error[0]) if (error && !error[0])
{ {
+12
View File
@@ -3255,6 +3255,10 @@ config_file_parse_version (const char *version)
long number; long number;
char *error; char *error;
if (!version)
return -1;
error = NULL;
number = strtoll (version, &error, 10); number = strtoll (version, &error, 10);
if (!error || error[0]) if (!error || error[0])
return -1; return -1;
@@ -3667,6 +3671,10 @@ config_file_read_internal (struct t_config_file *config_file, int reload)
filename, line_number, filename, line_number,
line); line);
config_file_backup (filename); config_file_backup (filename);
if (option)
free (option);
if (value)
free (value);
goto end_file; goto end_file;
} }
else else
@@ -3684,6 +3692,10 @@ config_file_read_internal (struct t_config_file *config_file, int reload)
config_file->version_read, config_file->version_read,
config_file->version); config_file->version);
config_file_backup (filename); config_file_backup (filename);
if (option)
free (option);
if (value)
free (value);
goto end_file; goto end_file;
} }
} }
+20 -10
View File
@@ -2197,17 +2197,20 @@ config_weechat_custom_bar_item_read_cb (const void *pointer, void *data,
if (!ptr_temp_item) if (!ptr_temp_item)
{ {
/* create new temporary custom bar item */ /* create new temporary custom bar item */
ptr_temp_item = gui_bar_item_custom_alloc (item_name); if (gui_bar_item_search_default (item_name) < 0)
if (ptr_temp_item)
{ {
/* add new custom bar item at the end */ ptr_temp_item = gui_bar_item_custom_alloc (item_name);
ptr_temp_item->prev_item = last_gui_temp_custom_bar_item; if (ptr_temp_item)
ptr_temp_item->next_item = NULL; {
if (last_gui_temp_custom_bar_item) /* add new custom bar item at the end */
last_gui_temp_custom_bar_item->next_item = ptr_temp_item; ptr_temp_item->prev_item = last_gui_temp_custom_bar_item;
else ptr_temp_item->next_item = NULL;
gui_temp_custom_bar_items = ptr_temp_item; if (last_gui_temp_custom_bar_item)
last_gui_temp_custom_bar_item = ptr_temp_item; last_gui_temp_custom_bar_item->next_item = ptr_temp_item;
else
gui_temp_custom_bar_items = ptr_temp_item;
last_gui_temp_custom_bar_item = ptr_temp_item;
}
} }
} }
@@ -2228,6 +2231,13 @@ config_weechat_custom_bar_item_read_cb (const void *pointer, void *data,
section->name, option_name, value); section->name, option_name, value);
} }
} }
else
{
gui_chat_printf (NULL,
_("%sUnable to add custom bar item \"%s\""),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
item_name);
}
free (item_name); free (item_name);
+16 -5
View File
@@ -442,6 +442,9 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
*runtime_dir = NULL; *runtime_dir = NULL;
ptr_home = getenv ("HOME"); ptr_home = getenv ("HOME");
if (!ptr_home)
goto error_home;
xdg_config_home = getenv ("XDG_CONFIG_HOME"); xdg_config_home = getenv ("XDG_CONFIG_HOME");
xdg_data_home = getenv ("XDG_DATA_HOME"); xdg_data_home = getenv ("XDG_DATA_HOME");
xdg_cache_home = getenv ("XDG_CACHE_HOME"); xdg_cache_home = getenv ("XDG_CACHE_HOME");
@@ -462,7 +465,7 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
} }
*config_dir = strdup (path); *config_dir = strdup (path);
if (!*config_dir) if (!*config_dir)
goto error; goto error_memory;
/* set data dir: $XDG_DATA_HOME/weechat or $HOME/.local/share/weechat */ /* set data dir: $XDG_DATA_HOME/weechat or $HOME/.local/share/weechat */
if (xdg_data_home && xdg_data_home[0]) if (xdg_data_home && xdg_data_home[0])
@@ -480,7 +483,7 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
} }
*data_dir = strdup (path); *data_dir = strdup (path);
if (!*data_dir) if (!*data_dir)
goto error; goto error_memory;
/* set cache dir: $XDG_CACHE_HOME/weechat or $HOME/.cache/weechat */ /* set cache dir: $XDG_CACHE_HOME/weechat or $HOME/.cache/weechat */
if (xdg_cache_home && xdg_cache_home[0]) if (xdg_cache_home && xdg_cache_home[0])
@@ -497,7 +500,7 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
} }
*cache_dir = strdup (path); *cache_dir = strdup (path);
if (!*cache_dir) if (!*cache_dir)
goto error; goto error_memory;
/* set runtime dir: $XDG_RUNTIME_DIR/weechat or same as cache dir */ /* set runtime dir: $XDG_RUNTIME_DIR/weechat or same as cache dir */
if (xdg_runtime_dir && xdg_runtime_dir[0]) if (xdg_runtime_dir && xdg_runtime_dir[0])
@@ -512,10 +515,19 @@ dir_find_xdg_dirs (char **config_dir, char **data_dir, char **cache_dir,
*runtime_dir = strdup (*cache_dir); *runtime_dir = strdup (*cache_dir);
} }
if (!*runtime_dir) if (!*runtime_dir)
goto error; goto error_memory;
return 1; return 1;
error_home:
string_fprintf (stderr,
_("Error: environment variable \"HOME\" is not defined\n"));
goto error;
error_memory:
string_fprintf (stderr, _("Error: not enough memory\n"));
goto error;
error: error:
if (*config_dir) if (*config_dir)
{ {
@@ -537,7 +549,6 @@ error:
free (*runtime_dir); free (*runtime_dir);
*runtime_dir = NULL; *runtime_dir = NULL;
} }
string_fprintf (stderr, _("Error: not enough memory\n"));
return 0; return 0;
} }
+9 -4
View File
@@ -598,10 +598,13 @@ doc_gen_user_options (const char *path, const char *lang)
free (default_value); free (default_value);
} }
string_fprintf ( if (old_config)
file, {
"// end::%s_options[]\n", string_fprintf (
old_config->name); file,
"// end::%s_options[]\n",
old_config->name);
}
arraylist_free (list_options); arraylist_free (list_options);
@@ -1658,9 +1661,11 @@ doc_generate (const char *path)
* (this is used to generate documentation without installing WeeChat, * (this is used to generate documentation without installing WeeChat,
* that means no need to run `make install`) * that means no need to run `make install`)
*/ */
#ifdef ENABLE_NLS
localedir = getenv ("WEECHAT_DOCGEN_LOCALEDIR"); localedir = getenv ("WEECHAT_DOCGEN_LOCALEDIR");
if (localedir && localedir[0]) if (localedir && localedir[0])
bindtextdomain (PACKAGE, localedir); bindtextdomain (PACKAGE, localedir);
#endif /* ENABLE_NLS */
for (i = 0; locales[i]; i++) for (i = 0; locales[i]; i++)
{ {
+11
View File
@@ -413,6 +413,7 @@ eval_string_cut (const char *text, int screen)
if (!tmp) if (!tmp)
return strdup (""); return strdup ("");
error = NULL;
number = strtol (tmp, &error, 10); number = strtol (tmp, &error, 10);
if (!error || error[0] || (number < 0)) if (!error || error[0] || (number < 0))
{ {
@@ -453,6 +454,7 @@ eval_string_repeat (const char *text)
if (!tmp) if (!tmp)
return strdup (""); return strdup ("");
error = NULL;
number = strtol (tmp, &error, 10); number = strtol (tmp, &error, 10);
if (!error || error[0] || (number < 0)) if (!error || error[0] || (number < 0))
{ {
@@ -538,6 +540,7 @@ eval_string_split (const char *text)
} }
else else
{ {
error = NULL;
number = strtol (str_number, &error, 10); number = strtol (str_number, &error, 10);
if (!error || error[0] || (number == 0)) if (!error || error[0] || (number == 0))
goto end; goto end;
@@ -578,6 +581,7 @@ eval_string_split (const char *text)
} }
else if (strncmp (list_flags[i], "max_items=", 10) == 0) else if (strncmp (list_flags[i], "max_items=", 10) == 0)
{ {
error = NULL;
max_items = strtol (list_flags[i] + 10, &error, 10); max_items = strtol (list_flags[i] + 10, &error, 10);
if (!error || error[0] || (max_items < 0)) if (!error || error[0] || (max_items < 0))
goto end; goto end;
@@ -686,6 +690,7 @@ eval_string_split_shell (const char *text)
} }
else else
{ {
error = NULL;
number = strtol (str_number, &error, 10); number = strtol (str_number, &error, 10);
if (!error || error[0] || (number == 0)) if (!error || error[0] || (number == 0))
goto end; goto end;
@@ -766,6 +771,7 @@ eval_string_regex_group (const char *text, struct t_eval_context *eval_context)
} }
else else
{ {
error = NULL;
number = strtol (text, &error, 10); number = strtol (text, &error, 10);
if (!error || error[0]) if (!error || error[0])
number = -1; number = -1;
@@ -897,6 +903,7 @@ eval_string_base_encode (const char *text)
if (!base) if (!base)
goto end; goto end;
error = NULL;
number = strtol (base, &error, 10); number = strtol (base, &error, 10);
if (!error || error[0]) if (!error || error[0])
goto end; goto end;
@@ -946,6 +953,7 @@ eval_string_base_decode (const char *text)
if (!base) if (!base)
goto end; goto end;
error = NULL;
number = strtol (base, &error, 10); number = strtol (base, &error, 10);
if (!error || error[0]) if (!error || error[0])
goto end; goto end;
@@ -1087,6 +1095,7 @@ eval_string_random (const char *text)
tmp = string_strndup (text, pos - text); tmp = string_strndup (text, pos - text);
if (!tmp) if (!tmp)
goto error; goto error;
error = NULL;
min_number = strtoll (tmp, &error, 10); min_number = strtoll (tmp, &error, 10);
if (!error || error[0]) if (!error || error[0])
{ {
@@ -1095,6 +1104,7 @@ eval_string_random (const char *text)
} }
free (tmp); free (tmp);
error = NULL;
max_number = strtoll (pos + 1, &error, 10); max_number = strtoll (pos + 1, &error, 10);
if (!error || error[0]) if (!error || error[0])
goto error; goto error;
@@ -2616,6 +2626,7 @@ eval_expression (const char *expr, struct t_hashtable *pointers,
ptr_value = hashtable_get (options, "debug"); ptr_value = hashtable_get (options, "debug");
if (ptr_value && ptr_value[0]) if (ptr_value && ptr_value[0])
{ {
error = NULL;
number = strtol (ptr_value, &error, 10); number = strtol (ptr_value, &error, 10);
if (error && !error[0] && (number >= 1)) if (error && !error[0] && (number >= 1))
{ {
+16 -8
View File
@@ -28,6 +28,7 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/wait.h>
#include <errno.h> #include <errno.h>
#include "weechat.h" #include "weechat.h"
@@ -38,7 +39,6 @@
#include "wee-log.h" #include "wee-log.h"
#include "wee-signal.h" #include "wee-signal.h"
#include "wee-string.h" #include "wee-string.h"
#include "wee-sys.h"
#include "wee-util.h" #include "wee-util.h"
#include "../gui/gui-chat.h" #include "../gui/gui-chat.h"
#include "../plugins/plugin.h" #include "../plugins/plugin.h"
@@ -629,20 +629,19 @@ hook_set (struct t_hook *hook, const char *property, const char *value)
} }
/* /*
* Callback used to clean all children (forked processes) by acknowledging * Callback used to clean a process (forked processes) by acknowledging its end.
* their end.
*/ */
int int
hook_timer_clean_children_cb (const void *pointer, void *data, hook_timer_clean_process_cb (const void *pointer, void *data,
int remaining_calls) int remaining_calls)
{ {
/* make C compiler happy */ /* make C compiler happy */
(void) pointer; (void) pointer;
(void) data; (void) data;
(void) remaining_calls; (void) remaining_calls;
sys_waitpid (); waitpid (*((pid_t *)data), NULL, WNOHANG);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
@@ -652,9 +651,18 @@ hook_timer_clean_children_cb (const void *pointer, void *data,
*/ */
void void
hook_schedule_clean_children () hook_schedule_clean_process (pid_t pid)
{ {
hook_timer (NULL, 100, 0, 1, &hook_timer_clean_children_cb, NULL, NULL); pid_t *temp_pid;
/* temp_pid will be freed when the timer is removed */
temp_pid = malloc (sizeof (*temp_pid));
if (temp_pid)
{
*temp_pid = pid;
hook_timer (NULL, 100, 0, 1,
&hook_timer_clean_process_cb, NULL, temp_pid);
}
} }
/* /*
+1 -1
View File
@@ -146,7 +146,7 @@ extern void hook_callback_end (struct t_hook *hook,
extern char *hook_get_description (struct t_hook *hook); extern char *hook_get_description (struct t_hook *hook);
extern void hook_set (struct t_hook *hook, const char *property, extern void hook_set (struct t_hook *hook, const char *property,
const char *value); const char *value);
extern void hook_schedule_clean_children (); extern void hook_schedule_clean_process (pid_t pid);
extern void unhook (struct t_hook *hook); extern void unhook (struct t_hook *hook);
extern void unhook_all_plugin (struct t_weechat_plugin *plugin, extern void unhook_all_plugin (struct t_weechat_plugin *plugin,
const char *subplugin); const char *subplugin);
+1
View File
@@ -3343,6 +3343,7 @@ string_parse_size (const char *size)
if (!str_number) if (!str_number)
goto end; goto end;
error = NULL;
number = strtoll (str_number, &error, 10); number = strtoll (str_number, &error, 10);
if (!error || error[0]) if (!error || error[0])
goto end; goto end;
+1 -5
View File
@@ -33,11 +33,7 @@
#include <locale.h> #include <locale.h>
#if defined(ENABLE_NLS) && !defined(_) #if defined(ENABLE_NLS) && !defined(_)
#ifdef HAVE_LIBINTL_H #include <libintl.h>
#include <libintl.h>
#else
#include "../../intl/libintl.h"
#endif /* HAVE_LIBINTL_H */
#define _(string) gettext(string) #define _(string) gettext(string)
#define NG_(single,plural,number) ngettext(single,plural,number) #define NG_(single,plural,number) ngettext(single,plural,number)
#ifdef gettext_noop #ifdef gettext_noop
+4
View File
@@ -643,6 +643,8 @@ gui_chat_display_word (struct t_gui_window *window,
nick_offline); nick_offline);
} }
ptr_data[pos_saved_char] = saved_char; ptr_data[pos_saved_char] = saved_char;
if (pos_saved_char == 0)
break;
ptr_data += pos_saved_char; ptr_data += pos_saved_char;
} }
else else
@@ -664,6 +666,8 @@ gui_chat_display_word (struct t_gui_window *window,
apply_style_inactive, apply_style_inactive,
nick_offline); nick_offline);
} }
if (!ptr_data[0])
break;
ptr_data += strlen (ptr_data); ptr_data += strlen (ptr_data);
} }
+2
View File
@@ -74,6 +74,8 @@ char *gui_mouse_button_codes[][2] =
{ "*", "alt-button2" }, { "*", "alt-button2" },
{ ")", "alt-button3" }, { ")", "alt-button3" },
{ "8", "alt-ctrl-button1" }, { "8", "alt-ctrl-button1" },
{ ":", "alt-ctrl-button2" },
{ "9", "alt-ctrl-button3" },
{ NULL, NULL } }; { NULL, NULL } };
+63 -20
View File
@@ -439,31 +439,46 @@ gui_bar_item_custom_new (const char *name, const char *conditions,
if (gui_bar_item_custom_search (name)) if (gui_bar_item_custom_search (name))
return NULL; return NULL;
if (gui_bar_item_search_default (name) >= 0)
return NULL;
option_conditions = NULL;
option_content = NULL;
new_bar_item_custom = NULL;
option_conditions = gui_bar_item_custom_create_option ( option_conditions = gui_bar_item_custom_create_option (
name, name,
GUI_BAR_ITEM_CUSTOM_OPTION_CONDITIONS, GUI_BAR_ITEM_CUSTOM_OPTION_CONDITIONS,
conditions); conditions);
if (!option_conditions) if (!option_conditions)
return NULL; goto error;
option_content = gui_bar_item_custom_create_option ( option_content = gui_bar_item_custom_create_option (
name, name,
GUI_BAR_ITEM_CUSTOM_OPTION_CONTENT, GUI_BAR_ITEM_CUSTOM_OPTION_CONTENT,
content); content);
if (!option_content) if (!option_content)
{ goto error;
config_file_option_free (option_conditions, 0);
return NULL;
}
new_bar_item_custom = gui_bar_item_custom_new_with_options ( new_bar_item_custom = gui_bar_item_custom_new_with_options (
name, name,
option_conditions, option_conditions,
option_content); option_content);
if (!new_bar_item_custom)
goto error;
gui_bar_item_custom_create_bar_item (new_bar_item_custom);
if (!new_bar_item_custom->bar_item)
goto error;
gui_bar_item_update (name);
return new_bar_item_custom;
error:
if (new_bar_item_custom) if (new_bar_item_custom)
{ {
gui_bar_item_custom_create_bar_item (new_bar_item_custom); gui_bar_item_custom_free (new_bar_item_custom);
gui_bar_item_update (name);
} }
else else
{ {
@@ -472,8 +487,7 @@ gui_bar_item_custom_new (const char *name, const char *conditions,
if (option_content) if (option_content)
config_file_option_free (option_content, 0); config_file_option_free (option_content, 0);
} }
return NULL;
return new_bar_item_custom;
} }
/* /*
@@ -483,12 +497,13 @@ gui_bar_item_custom_new (const char *name, const char *conditions,
void void
gui_bar_item_custom_use_temp_items () gui_bar_item_custom_use_temp_items ()
{ {
struct t_gui_bar_item_custom *ptr_temp_item; struct t_gui_bar_item_custom *ptr_temp_item, *ptr_next_temp_item;
int i; int i;
for (ptr_temp_item = gui_temp_custom_bar_items; ptr_temp_item; ptr_temp_item = gui_temp_custom_bar_items;
ptr_temp_item = ptr_temp_item->next_item) while (ptr_temp_item)
{ {
ptr_next_temp_item = ptr_temp_item->next_item;
for (i = 0; i < GUI_BAR_ITEM_CUSTOM_NUM_OPTIONS; i++) for (i = 0; i < GUI_BAR_ITEM_CUSTOM_NUM_OPTIONS; i++)
{ {
if (!ptr_temp_item->options[i]) if (!ptr_temp_item->options[i])
@@ -500,6 +515,20 @@ gui_bar_item_custom_use_temp_items ()
} }
} }
gui_bar_item_custom_create_bar_item (ptr_temp_item); gui_bar_item_custom_create_bar_item (ptr_temp_item);
if (!ptr_temp_item->bar_item)
{
if (ptr_temp_item->prev_item)
(ptr_temp_item->prev_item)->next_item = ptr_temp_item->next_item;
if (ptr_temp_item->next_item)
(ptr_temp_item->next_item)->prev_item = ptr_temp_item->prev_item;
if (gui_temp_custom_bar_items == ptr_temp_item)
gui_temp_custom_bar_items = ptr_temp_item->next_item;
if (last_gui_temp_custom_bar_item == ptr_temp_item)
last_gui_temp_custom_bar_item = ptr_temp_item->prev_item;
gui_bar_item_custom_free_data (ptr_temp_item);
free (ptr_temp_item);
}
ptr_temp_item = ptr_next_temp_item;
} }
/* remove any existing custom bar item */ /* remove any existing custom bar item */
@@ -534,6 +563,9 @@ gui_bar_item_custom_rename (struct t_gui_bar_item_custom *item,
if (gui_bar_item_custom_search (new_name)) if (gui_bar_item_custom_search (new_name))
return 0; return 0;
if (gui_bar_item_search_default (new_name) >= 0)
return 0;
old_name = strdup (item->name); old_name = strdup (item->name);
if (!old_name) if (!old_name)
return 0; return 0;
@@ -570,6 +602,24 @@ gui_bar_item_custom_rename (struct t_gui_bar_item_custom *item,
return 1; return 1;
} }
/*
* Frees data in a custom bar item.*
*/
void
gui_bar_item_custom_free_data (struct t_gui_bar_item_custom *item)
{
int i;
if (item->name)
free (item->name);
for (i = 0; i < GUI_BAR_ITEM_CUSTOM_NUM_OPTIONS; i++)
{
if (item->options[i])
config_file_option_free (item->options[i], 1);
}
}
/* /*
* Deletes a custom bar item. * Deletes a custom bar item.
*/ */
@@ -578,7 +628,6 @@ void
gui_bar_item_custom_free (struct t_gui_bar_item_custom *item) gui_bar_item_custom_free (struct t_gui_bar_item_custom *item)
{ {
char *name; char *name;
int i;
if (!item) if (!item)
return; return;
@@ -599,13 +648,7 @@ gui_bar_item_custom_free (struct t_gui_bar_item_custom *item)
last_gui_custom_bar_item = item->prev_item; last_gui_custom_bar_item = item->prev_item;
/* free data */ /* free data */
if (item->name) gui_bar_item_custom_free_data (item);
free (item->name);
for (i = 0; i < GUI_BAR_ITEM_CUSTOM_NUM_OPTIONS; i++)
{
if (item->options[i])
config_file_option_free (item->options[i], 1);
}
free (item); free (item);
+1
View File
@@ -69,6 +69,7 @@ extern struct t_gui_bar_item_custom *gui_bar_item_custom_new (const char *name,
extern void gui_bar_item_custom_use_temp_items (); extern void gui_bar_item_custom_use_temp_items ();
extern int gui_bar_item_custom_rename (struct t_gui_bar_item_custom *item, extern int gui_bar_item_custom_rename (struct t_gui_bar_item_custom *item,
const char *new_name); const char *new_name);
extern void gui_bar_item_custom_free_data (struct t_gui_bar_item_custom *item);
extern void gui_bar_item_custom_free (struct t_gui_bar_item_custom *item); extern void gui_bar_item_custom_free (struct t_gui_bar_item_custom *item);
extern void gui_bar_item_custom_free_all (); extern void gui_bar_item_custom_free_all ();
+24
View File
@@ -99,6 +99,30 @@ gui_bar_item_valid (struct t_gui_bar_item *bar_item)
return 0; return 0;
} }
/*
* Searches for a default bar item by name.
*
* Returns index in gui_bar_item_names[], -1 if not found.
*/
int
gui_bar_item_search_default (const char *item_name)
{
int i;
if (!item_name || !item_name[0])
return -1;
for (i = 0; i < GUI_BAR_NUM_ITEMS; i++)
{
if (strcmp (gui_bar_item_names[i], item_name) == 0)
return i;
}
/* default bar item not found */
return -1;
}
/* /*
* Searches for a bar item by name. * Searches for a bar item by name.
*/ */
+1
View File
@@ -89,6 +89,7 @@ extern char *gui_bar_item_names[];
/* functions */ /* functions */
extern int gui_bar_item_valid (struct t_gui_bar_item *bar_item); extern int gui_bar_item_valid (struct t_gui_bar_item *bar_item);
extern int gui_bar_item_search_default (const char *item_name);
extern struct t_gui_bar_item *gui_bar_item_search (const char *name); extern struct t_gui_bar_item *gui_bar_item_search (const char *name);
extern int gui_bar_item_used_in_bar (struct t_gui_bar *bar, extern int gui_bar_item_used_in_bar (struct t_gui_bar *bar,
const char *item_name, const char *item_name,
+4
View File
@@ -2213,6 +2213,7 @@ gui_buffer_set_unread (struct t_gui_buffer *buffer, const char *argument)
else if (argument[0] == '-') else if (argument[0] == '-')
{ {
/* move the unread marker N lines towards the first line */ /* move the unread marker N lines towards the first line */
error = NULL;
number = strtol (argument, &error, 10); number = strtol (argument, &error, 10);
if (error && !error[0] && (number < 0)) if (error && !error[0] && (number < 0))
{ {
@@ -2240,6 +2241,7 @@ gui_buffer_set_unread (struct t_gui_buffer *buffer, const char *argument)
else if (argument[0] == '+') else if (argument[0] == '+')
{ {
/* move the unread marker N lines towards the last line */ /* move the unread marker N lines towards the last line */
error = NULL;
number = strtol (argument, &error, 10); number = strtol (argument, &error, 10);
if (error && !error[0] && (number > 0)) if (error && !error[0] && (number > 0))
{ {
@@ -2265,6 +2267,7 @@ gui_buffer_set_unread (struct t_gui_buffer *buffer, const char *argument)
else else
{ {
/* move the unread marker N lines from the end towards the first line */ /* move the unread marker N lines from the end towards the first line */
error = NULL;
number = strtol (argument, &error, 10); number = strtol (argument, &error, 10);
if (error && !error[0] && (number > 0)) if (error && !error[0] && (number > 0))
{ {
@@ -2953,6 +2956,7 @@ gui_buffer_search_by_number_or_name (const char *string)
ptr_buffer = NULL; ptr_buffer = NULL;
error = NULL;
number = strtol (string, &error, 10); number = strtol (string, &error, 10);
if (error && !error[0]) if (error && !error[0])
{ {
+4
View File
@@ -597,6 +597,9 @@ gui_chat_printf_date_tags_internal (struct t_gui_buffer *buffer,
char *modifier_data, *string, *new_string, *pos_newline; char *modifier_data, *string, *new_string, *pos_newline;
struct t_gui_line *new_line; struct t_gui_line *new_line;
if (!buffer)
return;
new_line = NULL; new_line = NULL;
string = NULL; string = NULL;
modifier_data = NULL; modifier_data = NULL;
@@ -1076,6 +1079,7 @@ gui_chat_hsignal_quote_line_cb (const void *pointer, void *data,
hashtable_get (hashtable, "_chat_line_date") : NULL; hashtable_get (hashtable, "_chat_line_date") : NULL;
if (date) if (date)
{ {
error = NULL;
number = strtol (date, &error, 10); number = strtol (date, &error, 10);
if (error && !error[0]) if (error && !error[0])
{ {
+1 -1
View File
@@ -88,7 +88,7 @@ gui_history_buffer_add (struct t_gui_buffer *buffer, const char *string)
free (buffer->last_history->text); free (buffer->last_history->text);
free (buffer->last_history); free (buffer->last_history);
buffer->last_history = ptr_history; buffer->last_history = ptr_history;
buffer->num_history++; buffer->num_history--;
} }
} }
} }
+2 -2
View File
@@ -75,8 +75,8 @@ char *gui_key_modifier_list[] =
{ "meta-", "ctrl-", "shift-", NULL }; { "meta-", "ctrl-", "shift-", NULL };
char *gui_key_alias_list[] = char *gui_key_alias_list[] =
{ "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "f11", { "f10", "f11", "f12", "f13", "f14", "f15", "f16", "f17", "f18", "f19", "f20",
"f12", "f13", "f14", "f15", "f16", "f17", "f18", "f19", "f20", "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9",
"home", "insert", "delete", "end", "backspace", "pgup", "pgdn", "home", "insert", "delete", "end", "backspace", "pgup", "pgdn",
"up", "down", "right", "left", "tab", "return", "comma", "space", NULL }; "up", "down", "right", "left", "tab", "return", "comma", "space", NULL };
+1
View File
@@ -765,6 +765,7 @@ buflist_bar_item_end ()
for (i = 0; i < BUFLIST_BAR_NUM_ITEMS; i++) for (i = 0; i < BUFLIST_BAR_NUM_ITEMS; i++)
{ {
weechat_bar_item_remove (buflist_bar_item_buflist[i]); weechat_bar_item_remove (buflist_bar_item_buflist[i]);
buflist_bar_item_buflist[i] = NULL;
} }
weechat_hashtable_free (buflist_hashtable_pointers); weechat_hashtable_free (buflist_hashtable_pointers);
+10
View File
@@ -844,6 +844,7 @@ buflist_config_free ()
int i; int i;
weechat_config_free (buflist_config_file); weechat_config_free (buflist_config_file);
buflist_config_file = NULL;
if (buflist_config_signals_refresh) if (buflist_config_signals_refresh)
buflist_config_free_signals_refresh (); buflist_config_free_signals_refresh ();
@@ -859,9 +860,18 @@ buflist_config_free ()
} }
if (buflist_config_format_buffer_eval) if (buflist_config_format_buffer_eval)
{
free (buflist_config_format_buffer_eval); free (buflist_config_format_buffer_eval);
buflist_config_format_buffer_eval = NULL;
}
if (buflist_config_format_buffer_current_eval) if (buflist_config_format_buffer_current_eval)
{
free (buflist_config_format_buffer_current_eval); free (buflist_config_format_buffer_current_eval);
buflist_config_format_buffer_current_eval = NULL;
}
if (buflist_config_format_hotlist_eval) if (buflist_config_format_hotlist_eval)
{
free (buflist_config_format_hotlist_eval); free (buflist_config_format_hotlist_eval);
buflist_config_format_hotlist_eval = NULL;
}
} }
+3
View File
@@ -62,6 +62,7 @@ buflist_focus_cb (const void *pointer, void *data, struct t_hashtable *info)
ptr_bar_item_line = weechat_hashtable_get (info, "_bar_item_line"); ptr_bar_item_line = weechat_hashtable_get (info, "_bar_item_line");
if (!ptr_bar_item_line) if (!ptr_bar_item_line)
goto end; goto end;
error = NULL;
item_line = strtol (ptr_bar_item_line, &error, 10); item_line = strtol (ptr_bar_item_line, &error, 10);
if (!error || error[0]) if (!error || error[0])
goto end; goto end;
@@ -250,9 +251,11 @@ buflist_hsignal_cb (const void *pointer, void *data, const char *signal,
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
ptr_buffer = (struct t_gui_buffer *)value; ptr_buffer = (struct t_gui_buffer *)value;
error = NULL;
number = strtol (ptr_number, &error, 10); number = strtol (ptr_number, &error, 10);
if (!error || error[0]) if (!error || error[0])
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
error = NULL;
number2 = strtol (ptr_number2, &error, 10); number2 = strtol (ptr_number2, &error, 10);
if (!error || error[0]) if (!error || error[0])
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
+7
View File
@@ -534,5 +534,12 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
buflist_config_write (); buflist_config_write ();
buflist_config_free (); buflist_config_free ();
buflist_hdata_window = NULL;
buflist_hdata_buffer = NULL;
buflist_hdata_hotlist = NULL;
buflist_hdata_bar = NULL;
buflist_hdata_bar_item = NULL;
buflist_hdata_bar_window = NULL;
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+7
View File
@@ -638,11 +638,18 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
charset_config_write (); charset_config_write ();
weechat_config_free (charset_config_file); weechat_config_free (charset_config_file);
charset_config_file = NULL;
if (charset_terminal) if (charset_terminal)
{
free (charset_terminal); free (charset_terminal);
charset_terminal = NULL;
}
if (charset_internal) if (charset_internal)
{
free (charset_internal); free (charset_internal);
charset_internal = NULL;
}
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+1
View File
@@ -206,6 +206,7 @@ void
exec_config_free () exec_config_free ()
{ {
weechat_config_free (exec_config_file); weechat_config_free (exec_config_file);
exec_config_file = NULL;
if (exec_config_cmd_options) if (exec_config_cmd_options)
{ {
+1
View File
@@ -157,4 +157,5 @@ void
fifo_config_free () fifo_config_free ()
{ {
weechat_config_free (fifo_config_file); weechat_config_free (fifo_config_file);
fifo_config_file = NULL;
} }
+3
View File
@@ -367,6 +367,9 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_plugin = plugin; weechat_plugin = plugin;
fifo_quiet = 0;
fifo_fd = -1;
if (!fifo_config_init ()) if (!fifo_config_init ())
return WEECHAT_RC_ERROR; return WEECHAT_RC_ERROR;
+1
View File
@@ -248,4 +248,5 @@ void
fset_bar_item_end () fset_bar_item_end ()
{ {
weechat_bar_item_remove (fset_bar_item_fset); weechat_bar_item_remove (fset_bar_item_fset);
fset_bar_item_fset = NULL;
} }
+16 -4
View File
@@ -1654,9 +1654,21 @@ fset_buffer_init ()
void void
fset_buffer_end () fset_buffer_end ()
{ {
weechat_hashtable_free (fset_buffer_hashtable_pointers); if (fset_buffer)
fset_buffer_hashtable_pointers = NULL; {
weechat_buffer_close (fset_buffer);
fset_buffer = NULL;
}
weechat_hashtable_free (fset_buffer_hashtable_extra_vars); if (fset_buffer_hashtable_pointers)
fset_buffer_hashtable_extra_vars = NULL; {
weechat_hashtable_free (fset_buffer_hashtable_pointers);
fset_buffer_hashtable_pointers = NULL;
}
if (fset_buffer_hashtable_extra_vars)
{
weechat_hashtable_free (fset_buffer_hashtable_extra_vars);
fset_buffer_hashtable_extra_vars = NULL;
}
} }
+1
View File
@@ -1186,6 +1186,7 @@ void
fset_config_free () fset_config_free ()
{ {
weechat_config_free (fset_config_file); weechat_config_free (fset_config_file);
fset_config_file = NULL;
if (fset_config_auto_refresh) if (fset_config_auto_refresh)
{ {
+5
View File
@@ -1934,4 +1934,9 @@ fset_option_end ()
weechat_hashtable_free (fset_option_timer_options_changed); weechat_hashtable_free (fset_option_timer_options_changed);
fset_option_timer_options_changed = NULL; fset_option_timer_options_changed = NULL;
} }
if (fset_option_timer_hook)
{
weechat_unhook (fset_option_timer_hook);
fset_option_timer_hook = NULL;
}
} }
+15
View File
@@ -1258,6 +1258,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_guile_plugin = plugin; weechat_guile_plugin = plugin;
guile_quiet = 0;
guile_eval_mode = 0;
guile_eval_send_input = 0;
guile_eval_exec_commands = 0;
/* set interpreter name and version */ /* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name", weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name); plugin->name);
@@ -1354,12 +1359,22 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
/* free some data */ /* free some data */
if (guile_action_install_list) if (guile_action_install_list)
{
free (guile_action_install_list); free (guile_action_install_list);
guile_action_install_list = NULL;
}
if (guile_action_remove_list) if (guile_action_remove_list)
{
free (guile_action_remove_list); free (guile_action_remove_list);
guile_action_remove_list = NULL;
}
if (guile_action_autoload_list) if (guile_action_autoload_list)
{
free (guile_action_autoload_list); free (guile_action_autoload_list);
guile_action_autoload_list = NULL;
}
weechat_string_dyn_free (guile_buffer_output, 1); weechat_string_dyn_free (guile_buffer_output, 1);
guile_buffer_output = NULL;
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+2 -2
View File
@@ -247,8 +247,7 @@ irc_config_compute_nick_colors ()
{ {
if (ptr_nick->color) if (ptr_nick->color)
free (ptr_nick->color); free (ptr_nick->color);
ptr_nick->color = irc_nick_find_color (ptr_server, ptr_nick->color = irc_nick_find_color (ptr_nick->name);
ptr_nick->name);
} }
} }
if (ptr_channel->pv_remote_nick_color) if (ptr_channel->pv_remote_nick_color)
@@ -4008,6 +4007,7 @@ void
irc_config_free () irc_config_free ()
{ {
weechat_config_free (irc_config_file); weechat_config_free (irc_config_file);
irc_config_file = NULL;
if (irc_config_hook_config_nick_color_options) if (irc_config_hook_config_nick_color_options)
{ {
+2 -3
View File
@@ -1397,7 +1397,7 @@ irc_ctcp_recv (struct t_irc_server *server, time_t date,
if (ptr_nick) if (ptr_nick)
nick_color = strdup (ptr_nick->color); nick_color = strdup (ptr_nick->color);
else if (nick) else if (nick)
nick_color = irc_nick_find_color (server, nick); nick_color = irc_nick_find_color (nick);
else else
nick_color = strdup (IRC_COLOR_CHAT_NICK); nick_color = strdup (IRC_COLOR_CHAT_NICK);
if (irc_server_prefix_char_statusmsg (server, target[0])) if (irc_server_prefix_char_statusmsg (server, target[0]))
@@ -1492,8 +1492,7 @@ irc_ctcp_recv (struct t_irc_server *server, time_t date,
"%s%s%s%s%s%s", "%s%s%s%s%s%s",
weechat_prefix ("action"), weechat_prefix ("action"),
(nick_is_me) ? (nick_is_me) ?
IRC_COLOR_CHAT_NICK_SELF : irc_nick_color_for_pv (server, IRC_COLOR_CHAT_NICK_SELF : irc_nick_color_for_pv (ptr_channel,
ptr_channel,
nick), nick),
nick, nick,
(pos_args) ? IRC_COLOR_RESET : "", (pos_args) ? IRC_COLOR_RESET : "",
+21 -49
View File
@@ -197,10 +197,6 @@ irc_info_info_irc_nick_color_cb (const void *pointer, void *data,
const char *info_name, const char *info_name,
const char *arguments) const char *arguments)
{ {
char *pos_comma, *server;
const char *pos_nick;
struct t_irc_server *ptr_server;
/* make C compiler happy */ /* make C compiler happy */
(void) pointer; (void) pointer;
(void) data; (void) data;
@@ -209,21 +205,7 @@ irc_info_info_irc_nick_color_cb (const void *pointer, void *data,
if (!arguments || !arguments[0]) if (!arguments || !arguments[0])
return NULL; return NULL;
ptr_server = NULL; return irc_nick_find_color (arguments);
pos_nick = arguments;
pos_comma = strchr (arguments, ',');
if (pos_comma)
{
pos_nick = pos_comma + 1;
server = weechat_strndup (arguments, pos_comma - arguments);
if (server)
{
ptr_server = irc_server_search (server);
free (server);
}
}
return irc_nick_find_color (ptr_server, pos_nick);
} }
/* /*
@@ -235,10 +217,6 @@ irc_info_info_irc_nick_color_name_cb (const void *pointer, void *data,
const char *info_name, const char *info_name,
const char *arguments) const char *arguments)
{ {
char *pos_comma, *server;
const char *pos_nick;
struct t_irc_server *ptr_server;
/* make C compiler happy */ /* make C compiler happy */
(void) pointer; (void) pointer;
(void) data; (void) data;
@@ -247,21 +225,7 @@ irc_info_info_irc_nick_color_name_cb (const void *pointer, void *data,
if (!arguments || !arguments[0]) if (!arguments || !arguments[0])
return NULL; return NULL;
ptr_server = NULL; return irc_nick_find_color_name (arguments);
pos_nick = arguments;
pos_comma = strchr (arguments, ',');
if (pos_comma)
{
pos_nick = pos_comma + 1;
server = weechat_strndup (arguments, pos_comma - arguments);
if (server)
{
ptr_server = irc_server_search (server);
free (server);
}
}
return irc_nick_find_color_name (ptr_server, pos_nick);
} }
/* /*
@@ -380,6 +344,9 @@ irc_info_info_irc_server_isupport_cb (const void *pointer, void *data,
(void) data; (void) data;
(void) info_name; (void) info_name;
if (!arguments || !arguments[0])
return NULL;
isupport_value = NULL; isupport_value = NULL;
pos_comma = strchr (arguments, ','); pos_comma = strchr (arguments, ',');
if (pos_comma) if (pos_comma)
@@ -418,6 +385,9 @@ irc_info_info_irc_server_isupport_value_cb (const void *pointer, void *data,
(void) data; (void) data;
(void) info_name; (void) info_name;
if (!arguments || !arguments[0])
return NULL;
isupport_value = NULL; isupport_value = NULL;
pos_comma = strchr (arguments, ','); pos_comma = strchr (arguments, ',');
if (pos_comma) if (pos_comma)
@@ -456,6 +426,9 @@ irc_info_info_irc_server_cap_cb (const void *pointer, void *data,
(void) data; (void) data;
(void) info_name; (void) info_name;
if (!arguments || !arguments[0])
return NULL;
has_cap = 0; has_cap = 0;
pos_comma = strchr (arguments, ','); pos_comma = strchr (arguments, ',');
if (pos_comma) if (pos_comma)
@@ -494,6 +467,9 @@ irc_info_info_irc_server_cap_value_cb (const void *pointer, void *data,
(void) data; (void) data;
(void) info_name; (void) info_name;
if (!arguments || !arguments[0])
return NULL;
cap_value = NULL; cap_value = NULL;
pos_comma = strchr (arguments, ','); pos_comma = strchr (arguments, ',');
if (pos_comma) if (pos_comma)
@@ -1259,19 +1235,15 @@ irc_info_init ()
&irc_info_info_irc_nick_from_host_cb, NULL, NULL); &irc_info_info_irc_nick_from_host_cb, NULL, NULL);
weechat_hook_info ( weechat_hook_info (
"irc_nick_color", "irc_nick_color",
N_("get nick color code, ignoring case (this calls the info " N_("get nick color code "
"\"nick_color_ignore_case\" with appropriate range, according " "(*deprecated* since version 1.5, replaced by \"nick_color\")"),
"to the value of CASEMAPPING on the server, " N_("nickname"),
"defaulting to \"rfc1459\" if the server is not given)"),
N_("server,nickname (server is optional)"),
&irc_info_info_irc_nick_color_cb, NULL, NULL); &irc_info_info_irc_nick_color_cb, NULL, NULL);
weechat_hook_info ( weechat_hook_info (
"irc_nick_color_name", "irc_nick_color_name",
N_("get nick color name, ignoring case (this calls the info " N_("get nick color name "
"\"nick_color_name_ignore_case\" with appropriate range, according " "(*deprecated* since version 1.5, replaced by \"nick_color_name\")"),
"to the value of CASEMAPPING on the server, " N_("nickname"),
"defaulting to \"rfc1459\" if the server is not given)"),
N_("server,nickname (server is optional)"),
&irc_info_info_irc_nick_color_name_cb, NULL, NULL); &irc_info_info_irc_nick_color_name_cb, NULL, NULL);
weechat_hook_info ( weechat_hook_info (
"irc_buffer", "irc_buffer",
@@ -1302,7 +1274,7 @@ irc_info_init ()
"irc_is_message_ignored", "irc_is_message_ignored",
N_("1 if the nick is ignored (message is not displayed)"), N_("1 if the nick is ignored (message is not displayed)"),
N_("server,message (message is the raw IRC message)"), N_("server,message (message is the raw IRC message)"),
&irc_info_info_irc_is_channel_cb, NULL, NULL); &irc_info_info_irc_is_message_ignored_cb, NULL, NULL);
/* info_hashtable hooks */ /* info_hashtable hooks */
weechat_hook_info_hashtable ( weechat_hook_info_hashtable (
+5
View File
@@ -281,6 +281,7 @@ irc_list_channel_match_filter (struct t_irc_server *server,
else if (strncmp (server->list->filter, "u:>", 3) == 0) else if (strncmp (server->list->filter, "u:>", 3) == 0)
{ {
/* filter by users (> N)*/ /* filter by users (> N)*/
error = NULL;
number = strtol (server->list->filter + 3, &error, 10); number = strtol (server->list->filter + 3, &error, 10);
if (error && !error[0] && channel->users > (int)number) if (error && !error[0] && channel->users > (int)number)
return 1; return 1;
@@ -288,6 +289,7 @@ irc_list_channel_match_filter (struct t_irc_server *server,
else if (strncmp (server->list->filter, "u:<", 3) == 0) else if (strncmp (server->list->filter, "u:<", 3) == 0)
{ {
/* filter by users (< N)*/ /* filter by users (< N)*/
error = NULL;
number = strtol (server->list->filter + 3, &error, 10); number = strtol (server->list->filter + 3, &error, 10);
if (error && !error[0] && channel->users < (int)number) if (error && !error[0] && channel->users < (int)number)
return 1; return 1;
@@ -295,6 +297,7 @@ irc_list_channel_match_filter (struct t_irc_server *server,
else if (strncmp (server->list->filter, "u:", 2) == 0) else if (strncmp (server->list->filter, "u:", 2) == 0)
{ {
/* filter by users */ /* filter by users */
error = NULL;
number = strtol (server->list->filter + 2, &error, 10); number = strtol (server->list->filter + 2, &error, 10);
if (error && !error[0] && channel->users >= (int)number) if (error && !error[0] && channel->users >= (int)number)
return 1; return 1;
@@ -437,6 +440,7 @@ irc_list_parse_messages (struct t_irc_server *server, const char *output)
ptr_name++; ptr_name++;
} }
channel->name2 = strdup (ptr_name); channel->name2 = strdup (ptr_name);
error = NULL;
number = strtol (params[2], &error, 10); number = strtol (params[2], &error, 10);
channel->users = (error && !error[0]) ? number : 0; channel->users = (error && !error[0]) ? number : 0;
channel->topic = (num_params > 3) ? channel->topic = (num_params > 3) ?
@@ -1336,4 +1340,5 @@ irc_list_end ()
weechat_hashtable_free (irc_list_filter_hashtable_options); weechat_hashtable_free (irc_list_filter_hashtable_options);
irc_list_filter_hashtable_options = NULL; irc_list_filter_hashtable_options = NULL;
} }
irc_list_hdata_list_channel = NULL;
} }
+14 -8
View File
@@ -625,6 +625,7 @@ irc_message_parse_cap_multiline_value (struct t_irc_server *server,
ptr_value = (const char *)weechat_hashtable_get (values, "max-bytes"); ptr_value = (const char *)weechat_hashtable_get (values, "max-bytes");
if (ptr_value) if (ptr_value)
{ {
error = NULL;
number = strtol (ptr_value, &error, 10); number = strtol (ptr_value, &error, 10);
if (error && !error[0]) if (error && !error[0])
server->multiline_max_bytes = number; server->multiline_max_bytes = number;
@@ -633,6 +634,7 @@ irc_message_parse_cap_multiline_value (struct t_irc_server *server,
ptr_value = (const char *)weechat_hashtable_get (values, "max-lines"); ptr_value = (const char *)weechat_hashtable_get (values, "max-lines");
if (ptr_value) if (ptr_value)
{ {
error = NULL;
number = strtol (ptr_value, &error, 10); number = strtol (ptr_value, &error, 10);
if (error && !error[0]) if (error && !error[0])
server->multiline_max_lines = number; server->multiline_max_lines = number;
@@ -1053,9 +1055,6 @@ irc_message_split_string (struct t_irc_message_split_context *context,
if (suffix) if (suffix)
max_length -= strlen (suffix); max_length -= strlen (suffix);
if (max_length < 2)
return 0;
/* debug message */ /* debug message */
if (weechat_irc_plugin->debug >= 2) if (weechat_irc_plugin->debug >= 2)
{ {
@@ -1067,17 +1066,23 @@ irc_message_split_string (struct t_irc_message_split_context *context,
max_length); max_length);
} }
if (!arguments || !arguments[0]) if ((max_length < 2) || !arguments || !arguments[0])
{ {
snprintf (message, sizeof (message), "%s%s%s %s%s%s%s", /*
* max length is not known (server probably sent values that are not
* consistent), or no arguments => in this case, we just return message
* as-is (no split)
*/
snprintf (message, sizeof (message), "%s%s%s %s%s%s%s%s",
(host) ? host : "", (host) ? host : "",
(host) ? " " : "", (host) ? " " : "",
command, command,
(target) ? target : "", (target) ? target : "",
(target && target[0]) ? " " : "", (target && target[0]) ? " " : "",
(prefix) ? prefix : "", (prefix) ? prefix : "",
(arguments) ? arguments : "",
(suffix) ? suffix : ""); (suffix) ? suffix : "");
irc_message_split_add (context, tags, message, ""); irc_message_split_add (context, tags, message, (arguments) ? arguments : "");
(context->number)++; (context->number)++;
return 1; return 1;
} }
@@ -1678,8 +1683,9 @@ irc_message_split (struct t_irc_server *server, const char *message)
} }
multiline = ( multiline = (
((weechat_strcasecmp (command, "privmsg") == 0) server
|| (weechat_strcasecmp (command, "notice") == 0)) && ((weechat_strcasecmp (command, "privmsg") == 0)
|| (weechat_strcasecmp (command, "notice") == 0))
&& message && message
&& strchr (message, '\n') && strchr (message, '\n')
&& (index_args + 1 <= argc - 1) && (index_args + 1 <= argc - 1)
+11 -38
View File
@@ -139,22 +139,9 @@ irc_nick_is_nick (struct t_irc_server *server, const char *string)
*/ */
char * char *
irc_nick_find_color (struct t_irc_server *server, const char *nickname) irc_nick_find_color (const char *nickname)
{ {
char str_args[4096]; return weechat_info_get ("nick_color", nickname);
int casemapping, range;
casemapping = (server) ? server->casemapping : -1;
if ((casemapping < 0) || (casemapping >= IRC_SERVER_NUM_CASEMAPPING))
casemapping = IRC_SERVER_CASEMAPPING_RFC1459;
range = irc_server_casemapping_range[casemapping];
snprintf (str_args, sizeof (str_args),
"%s;%d",
(nickname) ? nickname : "",
range);
return weechat_info_get ("nick_color_ignore_case", str_args);
} }
/* /*
@@ -164,22 +151,9 @@ irc_nick_find_color (struct t_irc_server *server, const char *nickname)
*/ */
char * char *
irc_nick_find_color_name (struct t_irc_server *server, const char *nickname) irc_nick_find_color_name (const char *nickname)
{ {
char str_args[4096]; return weechat_info_get ("nick_color_name", nickname);
int casemapping, range;
casemapping = (server) ? server->casemapping : -1;
if ((casemapping < 0) || (casemapping >= IRC_SERVER_NUM_CASEMAPPING))
casemapping = IRC_SERVER_CASEMAPPING_RFC1459;
range = irc_server_casemapping_range[casemapping];
snprintf (str_args, sizeof (str_args),
"%s;%d",
(nickname) ? nickname: "",
range);
return weechat_info_get ("nick_color_name_ignore_case", str_args);
} }
/* /*
@@ -422,7 +396,7 @@ irc_nick_get_color_for_nicklist (struct t_irc_server *server,
if (irc_server_strcasecmp (server, nick->name, server->nick) == 0) if (irc_server_strcasecmp (server, nick->name, server->nick) == 0)
return strdup (nick_color_self); return strdup (nick_color_self);
else else
return irc_nick_find_color_name (server, nick->name); return irc_nick_find_color_name (nick->name);
} }
return strdup (nick_color_bar_fg); return strdup (nick_color_bar_fg);
@@ -620,7 +594,7 @@ irc_nick_new (struct t_irc_server *server, struct t_irc_channel *channel,
if (irc_server_strcasecmp (server, new_nick->name, server->nick) == 0) if (irc_server_strcasecmp (server, new_nick->name, server->nick) == 0)
new_nick->color = strdup (IRC_COLOR_CHAT_NICK_SELF); new_nick->color = strdup (IRC_COLOR_CHAT_NICK_SELF);
else else
new_nick->color = irc_nick_find_color (server, new_nick->name); new_nick->color = irc_nick_find_color (new_nick->name);
/* add nick to end of list */ /* add nick to end of list */
new_nick->prev_nick = channel->last_nick; new_nick->prev_nick = channel->last_nick;
@@ -669,7 +643,7 @@ irc_nick_change (struct t_irc_server *server, struct t_irc_channel *channel,
if (nick_is_me) if (nick_is_me)
nick->color = strdup (IRC_COLOR_CHAT_NICK_SELF); nick->color = strdup (IRC_COLOR_CHAT_NICK_SELF);
else else
nick->color = irc_nick_find_color (server, nick->name); nick->color = irc_nick_find_color (nick->name);
/* add nick in nicklist */ /* add nick in nicklist */
irc_nick_nicklist_add (server, channel, nick); irc_nick_nicklist_add (server, channel, nick);
@@ -1011,7 +985,7 @@ irc_nick_as_prefix (struct t_irc_server *server, struct t_irc_nick *nick,
else if (nick) else if (nick)
color = strdup (nick->color); color = strdup (nick->color);
else if (nickname) else if (nickname)
color = irc_nick_find_color (server, nickname); color = irc_nick_find_color (nickname);
else else
color = strdup (IRC_COLOR_CHAT_NICK); color = strdup (IRC_COLOR_CHAT_NICK);
@@ -1054,7 +1028,7 @@ irc_nick_color_for_msg (struct t_irc_server *server, int server_message,
{ {
return IRC_COLOR_CHAT_NICK_SELF; return IRC_COLOR_CHAT_NICK_SELF;
} }
color_found = irc_nick_find_color (server, nickname); color_found = irc_nick_find_color (nickname);
index_color = (index_color + 1) % 16; index_color = (index_color + 1) % 16;
snprintf (color[index_color], sizeof (color[index_color]), snprintf (color[index_color], sizeof (color[index_color]),
"%s", "%s",
@@ -1072,13 +1046,12 @@ irc_nick_color_for_msg (struct t_irc_server *server, int server_message,
*/ */
const char * const char *
irc_nick_color_for_pv (struct t_irc_server *server, irc_nick_color_for_pv (struct t_irc_channel *channel, const char *nickname)
struct t_irc_channel *channel, const char *nickname)
{ {
if (weechat_config_boolean (irc_config_look_color_pv_nick_like_channel)) if (weechat_config_boolean (irc_config_look_color_pv_nick_like_channel))
{ {
if (!channel->pv_remote_nick_color) if (!channel->pv_remote_nick_color)
channel->pv_remote_nick_color = irc_nick_find_color (server, nickname); channel->pv_remote_nick_color = irc_nick_find_color (nickname);
if (channel->pv_remote_nick_color) if (channel->pv_remote_nick_color)
return channel->pv_remote_nick_color; return channel->pv_remote_nick_color;
} }
+3 -6
View File
@@ -49,10 +49,8 @@ struct t_irc_nick
extern int irc_nick_valid (struct t_irc_channel *channel, extern int irc_nick_valid (struct t_irc_channel *channel,
struct t_irc_nick *nick); struct t_irc_nick *nick);
extern int irc_nick_is_nick (struct t_irc_server *server, const char *string); extern int irc_nick_is_nick (struct t_irc_server *server, const char *string);
extern char *irc_nick_find_color (struct t_irc_server *server, extern char *irc_nick_find_color (const char *nickname);
const char *nickname); extern char *irc_nick_find_color_name (const char *nickname);
extern char *irc_nick_find_color_name (struct t_irc_server *server,
const char *nickname);
extern void irc_nick_set_host (struct t_irc_nick *nick, const char *host); extern void irc_nick_set_host (struct t_irc_nick *nick, const char *host);
extern int irc_nick_is_op_or_higher (struct t_irc_server *server, extern int irc_nick_is_op_or_higher (struct t_irc_server *server,
struct t_irc_nick *nick); struct t_irc_nick *nick);
@@ -103,8 +101,7 @@ extern const char *irc_nick_color_for_msg (struct t_irc_server *server,
int server_message, int server_message,
struct t_irc_nick *nick, struct t_irc_nick *nick,
const char *nickname); const char *nickname);
extern const char * irc_nick_color_for_pv (struct t_irc_server *server, extern const char * irc_nick_color_for_pv (struct t_irc_channel *channel,
struct t_irc_channel *channel,
const char *nickname); const char *nickname);
extern char *irc_nick_default_ban_mask (struct t_irc_nick *nick); extern char *irc_nick_default_ban_mask (struct t_irc_nick *nick);
extern struct t_hdata *irc_nick_hdata_nick_cb (const void *pointer, extern struct t_hdata *irc_nick_hdata_nick_cb (const void *pointer,
+9
View File
@@ -1288,9 +1288,18 @@ void
irc_notify_end () irc_notify_end ()
{ {
if (irc_notify_timer_ison) if (irc_notify_timer_ison)
{
weechat_unhook (irc_notify_timer_ison); weechat_unhook (irc_notify_timer_ison);
irc_notify_timer_ison = NULL;
}
if (irc_notify_timer_whois) if (irc_notify_timer_whois)
{
weechat_unhook (irc_notify_timer_whois); weechat_unhook (irc_notify_timer_whois);
irc_notify_timer_whois = NULL;
}
if (irc_notify_hsignal) if (irc_notify_hsignal)
{
weechat_unhook (irc_notify_hsignal); weechat_unhook (irc_notify_hsignal);
irc_notify_hsignal = NULL;
}
} }
+11 -11
View File
@@ -341,6 +341,7 @@ irc_protocol_parse_time (const char *time)
pos = strchr (time2, ','); pos = strchr (time2, ',');
if (pos) if (pos)
pos[0] = '\0'; pos[0] = '\0';
error = NULL;
value = strtol (time2, &error, 10); value = strtol (time2, &error, 10);
if (error && !error[0] && (value >= 0)) if (error && !error[0] && (value >= 0))
time_value = (int)value; time_value = (int)value;
@@ -2310,8 +2311,8 @@ IRC_PROTOCOL_CALLBACK(nick)
{ {
if (weechat_config_boolean (irc_config_look_color_pv_nick_like_channel)) if (weechat_config_boolean (irc_config_look_color_pv_nick_like_channel))
{ {
old_color = irc_nick_find_color (server, nick); old_color = irc_nick_find_color (nick);
new_color = irc_nick_find_color (server, params[0]); new_color = irc_nick_find_color (params[0]);
} }
else else
{ {
@@ -3193,7 +3194,6 @@ IRC_PROTOCOL_CALLBACK(privmsg)
else else
{ {
color = irc_nick_find_color_name ( color = irc_nick_find_color_name (
server,
(ptr_nick) ? ptr_nick->name : nick); (ptr_nick) ? ptr_nick->name : nick);
str_color = irc_color_for_tags (color); str_color = irc_color_for_tags (color);
if (color) if (color)
@@ -3308,7 +3308,7 @@ IRC_PROTOCOL_CALLBACK(privmsg)
{ {
if (weechat_config_boolean (irc_config_look_color_pv_nick_like_channel)) if (weechat_config_boolean (irc_config_look_color_pv_nick_like_channel))
{ {
color = irc_nick_find_color_name (server, nick); color = irc_nick_find_color_name (nick);
str_color = irc_color_for_tags (color); str_color = irc_color_for_tags (color);
if (color) if (color)
free (color); free (color);
@@ -3361,8 +3361,7 @@ IRC_PROTOCOL_CALLBACK(privmsg)
irc_nick_as_prefix ( irc_nick_as_prefix (
server, NULL, nick, server, NULL, nick,
(nick_is_me) ? (nick_is_me) ?
IRC_COLOR_CHAT_NICK_SELF : irc_nick_color_for_pv (server, IRC_COLOR_CHAT_NICK_SELF : irc_nick_color_for_pv (ptr_channel,
ptr_channel,
nick)), nick)),
(msg_args2) ? msg_args2 : msg_args); (msg_args2) ? msg_args2 : msg_args);
} }
@@ -3457,7 +3456,7 @@ IRC_PROTOCOL_CALLBACK(quit)
_("%s%s%s%s%s%s%s%s%s%s has quit %s(%s%s%s)"), _("%s%s%s%s%s%s%s%s%s%s has quit %s(%s%s%s)"),
weechat_prefix ("quit"), weechat_prefix ("quit"),
(ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE) ? (ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE) ?
irc_nick_color_for_pv (server, ptr_channel, nick) : irc_nick_color_for_pv (ptr_channel, nick) :
irc_nick_color_for_msg (server, 1, ptr_nick, nick), irc_nick_color_for_msg (server, 1, ptr_nick, nick),
nick, nick,
IRC_COLOR_CHAT_DELIMITERS, IRC_COLOR_CHAT_DELIMITERS,
@@ -3492,7 +3491,7 @@ IRC_PROTOCOL_CALLBACK(quit)
_("%s%s%s%s%s%s%s%s%s%s has quit"), _("%s%s%s%s%s%s%s%s%s%s has quit"),
weechat_prefix ("quit"), weechat_prefix ("quit"),
(ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE) ? (ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE) ?
irc_nick_color_for_pv (server, ptr_channel, nick) : irc_nick_color_for_pv (ptr_channel, nick) :
irc_nick_color_for_msg (server, 1, ptr_nick, nick), irc_nick_color_for_msg (server, 1, ptr_nick, nick),
nick, nick,
IRC_COLOR_CHAT_DELIMITERS, IRC_COLOR_CHAT_DELIMITERS,
@@ -6322,7 +6321,7 @@ IRC_PROTOCOL_CALLBACK(353)
} }
else else
{ {
color = irc_nick_find_color (server, nickname); color = irc_nick_find_color (nickname);
weechat_string_dyn_concat (str_nicks, color, -1); weechat_string_dyn_concat (str_nicks, color, -1);
if (color) if (color)
free (color); free (color);
@@ -6610,7 +6609,7 @@ irc_protocol_get_string_channel_nicks (struct t_irc_server *server,
} }
else else
{ {
color = irc_nick_find_color (server, nickname); color = irc_nick_find_color (nickname);
weechat_string_dyn_concat (str_nicks, color, -1); weechat_string_dyn_concat (str_nicks, color, -1);
if (color) if (color)
free (color); free (color);
@@ -8036,7 +8035,8 @@ irc_protocol_recv_command (struct t_irc_server *server,
IRCB(331, 1, 0, 331), /* no topic for channel */ IRCB(331, 1, 0, 331), /* no topic for channel */
IRCB(332, 0, 1, 332), /* topic of channel */ IRCB(332, 0, 1, 332), /* topic of channel */
IRCB(333, 1, 0, 333), /* topic info (nick/date) */ IRCB(333, 1, 0, 333), /* topic info (nick/date) */
IRCB(335, 1, 0, whois_nick_msg), /* is a bot on */ IRCB(335, 1, 0, whois_nick_msg), /* whois (is a bot on) */
IRCB(337, 1, 0, whois_nick_msg), /* whois (is hiding idle time) */
IRCB(338, 1, 0, 338), /* whois (host) */ IRCB(338, 1, 0, 338), /* whois (host) */
IRCB(341, 1, 0, 341), /* inviting */ IRCB(341, 1, 0, 341), /* inviting */
IRCB(343, 1, 0, 330_343), /* is opered as */ IRCB(343, 1, 0, 330_343), /* is opered as */
+5
View File
@@ -673,6 +673,11 @@ irc_raw_end ()
{ {
irc_raw_message_free_all (); irc_raw_message_free_all ();
if (irc_raw_buffer)
{
weechat_buffer_close (irc_raw_buffer);
irc_raw_buffer = NULL;
}
if (irc_raw_filter) if (irc_raw_filter)
{ {
free (irc_raw_filter); free (irc_raw_filter);
+4
View File
@@ -462,6 +462,7 @@ irc_redirect_new_with_commands (struct t_irc_server *server,
if (pos) if (pos)
{ {
pos[0] = '\0'; pos[0] = '\0';
error = NULL;
value = strtol (pos + 1, &error, 10); value = strtol (pos + 1, &error, 10);
if (!error || error[0]) if (!error || error[0])
value = -1; value = -1;
@@ -1309,6 +1310,7 @@ irc_redirect_pattern_hsignal_cb (const void *pointer, void *data,
timeout = 0; timeout = 0;
if (str_timeout && str_timeout[0]) if (str_timeout && str_timeout[0])
{ {
error = NULL;
number = (int)strtol (str_timeout, &error, 10); number = (int)strtol (str_timeout, &error, 10);
if (error && !error[0]) if (error && !error[0])
timeout = number; timeout = number;
@@ -1379,6 +1381,7 @@ irc_redirect_command_hsignal_cb (const void *pointer, void *data,
count = 1; count = 1;
if (str_count && str_count[0]) if (str_count && str_count[0])
{ {
error = NULL;
number = (int)strtol (str_count, &error, 10); number = (int)strtol (str_count, &error, 10);
if (error && !error[0]) if (error && !error[0])
count = number; count = number;
@@ -1387,6 +1390,7 @@ irc_redirect_command_hsignal_cb (const void *pointer, void *data,
timeout = 0; timeout = 0;
if (str_timeout && str_timeout[0]) if (str_timeout && str_timeout[0])
{ {
error = NULL;
number = (int)strtol (str_timeout, &error, 10); number = (int)strtol (str_timeout, &error, 10);
if (error && !error[0]) if (error && !error[0])
timeout = number; timeout = number;
+4 -2
View File
@@ -2850,11 +2850,10 @@ irc_server_outqueue_send (struct t_irc_server *server)
'\r'); '\r');
if (pos) if (pos)
pos[0] = '\0'; pos[0] = '\0';
irc_raw_print (server, IRC_RAW_FLAG_SEND | irc_raw_print (server, IRC_RAW_FLAG_SEND |
((server->outqueue[priority]->modified) ? IRC_RAW_FLAG_MODIFIED : 0), ((server->outqueue[priority]->modified) ? IRC_RAW_FLAG_MODIFIED : 0),
server->outqueue[priority]->message_after_mod); server->outqueue[priority]->message_after_mod);
if (pos)
pos[0] = '\r';
/* send signal with command that will be sent to server */ /* send signal with command that will be sent to server */
(void) irc_server_send_signal ( (void) irc_server_send_signal (
@@ -2872,6 +2871,9 @@ irc_server_outqueue_send (struct t_irc_server *server)
if (tags_to_send) if (tags_to_send)
free (tags_to_send); free (tags_to_send);
if (pos)
pos[0] = '\r';
/* send command */ /* send command */
irc_server_send ( irc_server_send (
server, server->outqueue[priority]->message_after_mod, server, server->outqueue[priority]->message_after_mod,
+6
View File
@@ -193,6 +193,9 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_plugin = plugin; weechat_plugin = plugin;
irc_signal_quit_received = 0;
irc_signal_upgrade_received = 0;
if (!irc_config_init ()) if (!irc_config_init ())
return WEECHAT_RC_ERROR; return WEECHAT_RC_ERROR;
@@ -314,7 +317,10 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
(void) plugin; (void) plugin;
if (irc_hook_timer) if (irc_hook_timer)
{
weechat_unhook (irc_hook_timer); weechat_unhook (irc_hook_timer);
irc_hook_timer = NULL;
}
if (irc_signal_upgrade_received) if (irc_signal_upgrade_received)
{ {
+14
View File
@@ -930,6 +930,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_js_plugin = plugin; weechat_js_plugin = plugin;
js_quiet = 0;
js_eval_mode = 0;
js_eval_send_input = 0;
js_eval_exec_commands = 0;
/* set interpreter name and version */ /* set interpreter name and version */
snprintf (str_interpreter, sizeof (str_interpreter), snprintf (str_interpreter, sizeof (str_interpreter),
"%s (v8)", plugin->name); "%s (v8)", plugin->name);
@@ -980,11 +985,20 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
/* free some data */ /* free some data */
if (js_action_install_list) if (js_action_install_list)
{
free (js_action_install_list); free (js_action_install_list);
js_action_install_list = NULL;
}
if (js_action_remove_list) if (js_action_remove_list)
{
free (js_action_remove_list); free (js_action_remove_list);
js_action_remove_list = NULL;
}
if (js_action_autoload_list) if (js_action_autoload_list)
{
free (js_action_autoload_list); free (js_action_autoload_list);
js_action_autoload_list = NULL;
}
/* weechat_string_dyn_free (js_buffer_output, 1); */ /* weechat_string_dyn_free (js_buffer_output, 1); */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
-1
View File
@@ -261,7 +261,6 @@ logger_backlog_file (struct t_gui_buffer *buffer, const char *filename,
struct t_arraylist *last_lines, *messages; struct t_arraylist *last_lines, *messages;
int i, num_msgs, old_input_multiline; int i, num_msgs, old_input_multiline;
num_msgs = 0;
last_lines = logger_tail_file (filename, lines); last_lines = logger_tail_file (filename, lines);
if (!last_lines) if (!last_lines)
return; return;
+1
View File
@@ -780,4 +780,5 @@ void
logger_config_free () logger_config_free ()
{ {
weechat_config_free (logger_config_file); weechat_config_free (logger_config_file);
logger_config_file = NULL;
} }
+15
View File
@@ -1243,6 +1243,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_lua_plugin = plugin; weechat_lua_plugin = plugin;
lua_quiet = 0;
lua_eval_mode = 0;
lua_eval_send_input = 0;
lua_eval_exec_commands = 0;
/* set interpreter name and version */ /* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name", weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name); plugin->name);
@@ -1304,12 +1309,22 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
/* free some data */ /* free some data */
if (lua_action_install_list) if (lua_action_install_list)
{
free (lua_action_install_list); free (lua_action_install_list);
lua_action_install_list = NULL;
}
if (lua_action_remove_list) if (lua_action_remove_list)
{
free (lua_action_remove_list); free (lua_action_remove_list);
lua_action_remove_list = NULL;
}
if (lua_action_autoload_list) if (lua_action_autoload_list)
{
free (lua_action_autoload_list); free (lua_action_autoload_list);
lua_action_autoload_list = NULL;
}
weechat_string_dyn_free (lua_buffer_output, 1); weechat_string_dyn_free (lua_buffer_output, 1);
lua_buffer_output = NULL;
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+15
View File
@@ -1264,6 +1264,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_perl_plugin = plugin; weechat_perl_plugin = plugin;
perl_quiet = 0;
perl_eval_mode = 0;
perl_eval_send_input = 0;
perl_eval_exec_commands = 0;
/* set interpreter name and version */ /* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name", weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name); plugin->name);
@@ -1368,12 +1373,22 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
/* free some data */ /* free some data */
if (perl_action_install_list) if (perl_action_install_list)
{
free (perl_action_install_list); free (perl_action_install_list);
perl_action_install_list = NULL;
}
if (perl_action_remove_list) if (perl_action_remove_list)
{
free (perl_action_remove_list); free (perl_action_remove_list);
perl_action_remove_list = NULL;
}
if (perl_action_autoload_list) if (perl_action_autoload_list)
{
free (perl_action_autoload_list); free (perl_action_autoload_list);
perl_action_autoload_list = NULL;
}
weechat_string_dyn_free (perl_buffer_output, 1); weechat_string_dyn_free (perl_buffer_output, 1);
perl_buffer_output = NULL;
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+14
View File
@@ -1311,6 +1311,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_php_plugin = plugin; weechat_php_plugin = plugin;
php_quiet = 0;
php_eval_mode = 0;
php_eval_send_input = 0;
php_eval_exec_commands = 0;
/* set interpreter name and version */ /* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name", weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name); plugin->name);
@@ -1385,11 +1390,20 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
php_embed_shutdown (); php_embed_shutdown ();
if (php_action_install_list) if (php_action_install_list)
{
free (php_action_install_list); free (php_action_install_list);
php_action_install_list = NULL;
}
if (php_action_remove_list) if (php_action_remove_list)
{
free (php_action_remove_list); free (php_action_remove_list);
php_action_remove_list = NULL;
}
if (php_action_autoload_list) if (php_action_autoload_list)
{
free (php_action_autoload_list); free (php_action_autoload_list);
php_action_autoload_list = NULL;
}
/* weechat_string_dyn_free (php_buffer_output, 1); */ /* weechat_string_dyn_free (php_buffer_output, 1); */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
+2
View File
@@ -877,6 +877,7 @@ plugin_api_info_nick_color_ignore_case_cb (const void *pointer, void *data,
case_range = -1; case_range = -1;
if (num_items >= 2) if (num_items >= 2)
{ {
error = NULL;
number = strtol (items[1], &error, 10); number = strtol (items[1], &error, 10);
if (error && !error[0]) if (error && !error[0])
case_range = (int)number; case_range = (int)number;
@@ -916,6 +917,7 @@ plugin_api_info_nick_color_name_ignore_case_cb (const void *pointer, void *data,
case_range = -1; case_range = -1;
if (num_items >= 2) if (num_items >= 2)
{ {
error = NULL;
number = strtol (items[1], &error, 10); number = strtol (items[1], &error, 10);
if (error && !error[0]) if (error && !error[0])
case_range = (int)number; case_range = (int)number;
+1
View File
@@ -1796,6 +1796,7 @@ plugin_script_end (struct t_weechat_plugin *weechat_plugin,
/* write config file (file: "<language>.conf") */ /* write config file (file: "<language>.conf") */
weechat_config_write (*(plugin_data->config_file)); weechat_config_write (*(plugin_data->config_file));
weechat_config_free (*(plugin_data->config_file)); weechat_config_free (*(plugin_data->config_file));
*(plugin_data->config_file) = NULL;
} }
/* /*
+5 -5
View File
@@ -80,8 +80,8 @@
return PyLong_FromLong((long)__int) return PyLong_FromLong((long)__int)
#define API_RETURN_LONG(__long) \ #define API_RETURN_LONG(__long) \
return PyLong_FromLong(__long) return PyLong_FromLong(__long)
#define API_RETURN_LONGLONG(__longlong) \ #define API_RETURN_ULONGLONG(__ulonglong) \
return PyLong_FromLongLong(__longlong) return PyLong_FromUnsignedLongLong(__ulonglong)
/* /*
@@ -376,14 +376,14 @@ API_FUNC(string_parse_size)
char *size; char *size;
unsigned long long value; unsigned long long value;
API_INIT_FUNC(1, "string_parse_size", API_RETURN_LONGLONG(0)); API_INIT_FUNC(1, "string_parse_size", API_RETURN_ULONGLONG(0));
size = NULL; size = NULL;
if (!PyArg_ParseTuple (args, "s", &size)) if (!PyArg_ParseTuple (args, "s", &size))
API_WRONG_ARGS(API_RETURN_LONGLONG(0)); API_WRONG_ARGS(API_RETURN_ULONGLONG(0));
value = weechat_string_parse_size (size); value = weechat_string_parse_size (size);
API_RETURN_LONGLONG(value); API_RETURN_ULONGLONG(value);
} }
API_FUNC(string_color_code_size) API_FUNC(string_color_code_size)
+15
View File
@@ -1471,6 +1471,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_python_plugin = plugin; weechat_python_plugin = plugin;
python_quiet = 0;
python_eval_mode = 0;
python_eval_send_input = 0;
python_eval_exec_commands = 0;
/* set interpreter name and version */ /* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name", weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name); plugin->name);
@@ -1582,12 +1587,22 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
/* free some data */ /* free some data */
if (python_action_install_list) if (python_action_install_list)
{
free (python_action_install_list); free (python_action_install_list);
python_action_install_list = NULL;
}
if (python_action_remove_list) if (python_action_remove_list)
{
free (python_action_remove_list); free (python_action_remove_list);
python_action_remove_list = NULL;
}
if (python_action_autoload_list) if (python_action_autoload_list)
{
free (python_action_autoload_list); free (python_action_autoload_list);
python_action_autoload_list = NULL;
}
weechat_string_dyn_free (python_buffer_output, 1); weechat_string_dyn_free (python_buffer_output, 1);
python_buffer_output = NULL;
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+1 -1
View File
@@ -51,7 +51,7 @@ list(APPEND LINK_LIBS ${GCRYPT_LDFLAGS})
list(APPEND LINK_LIBS ${ZLIB_LIBRARY}) list(APPEND LINK_LIBS ${ZLIB_LIBRARY})
if(ENABLE_ZSTD) if(ENABLE_ZSTD)
include_directories(${ZSTD_INCLUDE_DIRS}) include_directories(${LIBZSTD_INCLUDE_DIRS})
list(APPEND LINK_LIBS ${LIBZSTD_LDFLAGS}) list(APPEND LINK_LIBS ${LIBZSTD_LDFLAGS})
endif() endif()
+7
View File
@@ -616,6 +616,13 @@ relay_irc_signal_irc_disc_cb (const void *pointer, void *data,
if (strcmp ((char *)signal_data, client->protocol_args) == 0) if (strcmp ((char *)signal_data, client->protocol_args) == 0)
{ {
relay_irc_sendf (client,
":%s ERROR :WeeChat: disconnected from server \"%s\"",
RELAY_IRC_DATA(client, address),
client->protocol_args);
relay_irc_sendf (client,
":%s ERROR :Closing Link",
RELAY_IRC_DATA(client, address));
relay_client_set_status (client, RELAY_STATUS_DISCONNECTED); relay_client_set_status (client, RELAY_STATUS_DISCONNECTED);
} }
+1
View File
@@ -247,6 +247,7 @@ relay_auth_parse_pbkdf2 (const char *parameters,
} }
/* parameter 2: iterations */ /* parameter 2: iterations */
error = NULL;
*iterations = (int)strtol (argv[1], &error, 10); *iterations = (int)strtol (argv[1], &error, 10);
if (!error || error[0]) if (!error || error[0])
*iterations = 0; *iterations = 0;
+1
View File
@@ -1460,6 +1460,7 @@ void
relay_config_free () relay_config_free ()
{ {
weechat_config_free (relay_config_file); weechat_config_free (relay_config_file);
relay_config_file = NULL;
if (relay_config_regex_allowed_ips) if (relay_config_regex_allowed_ips)
{ {
+3
View File
@@ -162,6 +162,9 @@ relay_network_set_priority ()
void void
relay_network_init () relay_network_init ()
{ {
relay_network_init_ok = 0;
relay_network_init_tls_cert_key_ok = 0;
/* credentials */ /* credentials */
gnutls_certificate_allocate_credentials (&relay_gnutls_x509_cred); gnutls_certificate_allocate_credentials (&relay_gnutls_x509_cred);
relay_network_set_tls_cert_key (0); relay_network_set_tls_cert_key (0);
+9
View File
@@ -203,6 +203,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_plugin = plugin; weechat_plugin = plugin;
relay_signal_upgrade_received = 0;
if (!relay_config_init ()) if (!relay_config_init ())
return WEECHAT_RC_ERROR; return WEECHAT_RC_ERROR;
@@ -240,7 +242,10 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
(void) plugin; (void) plugin;
if (relay_hook_timer) if (relay_hook_timer)
{
weechat_unhook (relay_hook_timer); weechat_unhook (relay_hook_timer);
relay_hook_timer = NULL;
}
relay_config_write (); relay_config_write ();
@@ -254,7 +259,11 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
relay_server_free_all (); relay_server_free_all ();
if (relay_buffer) if (relay_buffer)
{
weechat_buffer_close (relay_buffer); weechat_buffer_close (relay_buffer);
relay_buffer = NULL;
}
relay_buffer_selected_line = 0;
relay_client_free_all (); relay_client_free_all ();
+16 -1
View File
@@ -287,7 +287,7 @@ weechat_ruby_print_exception (VALUE err)
err_class = StringValuePtr (class_name); err_class = StringValuePtr (class_name);
} }
if (strcmp (err_class, "SyntaxError") == 0) if (err_class && (strcmp (err_class, "SyntaxError") == 0))
{ {
tmp3 = rb_inspect (err); tmp3 = rb_inspect (err);
weechat_printf (NULL, weechat_printf (NULL,
@@ -1336,6 +1336,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_ruby_plugin = plugin; weechat_ruby_plugin = plugin;
ruby_quiet = 0;
ruby_eval_mode = 0;
ruby_eval_send_input = 0;
ruby_eval_exec_commands = 0;
/* set interpreter name and version */ /* set interpreter name and version */
weechat_hashtable_set (plugin->variables, "interpreter_name", weechat_hashtable_set (plugin->variables, "interpreter_name",
plugin->name); plugin->name);
@@ -1439,12 +1444,22 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
/* free some data */ /* free some data */
if (ruby_action_install_list) if (ruby_action_install_list)
{
free (ruby_action_install_list); free (ruby_action_install_list);
ruby_action_install_list = NULL;
}
if (ruby_action_remove_list) if (ruby_action_remove_list)
{
free (ruby_action_remove_list); free (ruby_action_remove_list);
ruby_action_remove_list = NULL;
}
if (ruby_action_autoload_list) if (ruby_action_autoload_list)
{
free (ruby_action_autoload_list); free (ruby_action_autoload_list);
ruby_action_autoload_list = NULL;
}
weechat_string_dyn_free (ruby_buffer_output, 1); weechat_string_dyn_free (ruby_buffer_output, 1);
ruby_buffer_output = NULL;
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+5
View File
@@ -1371,6 +1371,11 @@ script_action_run_all ()
script_buffer_open (); script_buffer_open ();
script_buffer_refresh (1); script_buffer_refresh (1);
} }
if (script_buffer_detail_script)
{
/* back to list of scripts */
script_buffer_show_detail_script (NULL);
}
weechat_buffer_set (script_buffer, "display", "1"); weechat_buffer_set (script_buffer, "display", "1");
} }
else if (weechat_strcmp (argv[0], "list") == 0) else if (weechat_strcmp (argv[0], "list") == 0)
+1
View File
@@ -840,4 +840,5 @@ void
script_config_free () script_config_free ()
{ {
weechat_config_free (script_config_file); weechat_config_free (script_config_file);
script_config_file = NULL;
} }
+4 -4
View File
@@ -135,21 +135,21 @@ script_mouse_init ()
weechat_hashtable_set ( weechat_hashtable_set (
keys, keys,
"@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):button1", "@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):button1",
"/window ${_window_number};/script go ${_chat_line_y}"); "/window ${_window_number};/script -go ${_chat_line_y}");
weechat_hashtable_set ( weechat_hashtable_set (
keys, keys,
"@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):button2", "@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):button2",
"/window ${_window_number};" "/window ${_window_number};"
"/script go ${_chat_line_y};" "/script -go ${_chat_line_y};"
"/script installremove -q ${script_name_with_extension}"); "/script installremove -q ${script_name_with_extension}");
weechat_hashtable_set ( weechat_hashtable_set (
keys, keys,
"@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):wheelup", "@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):wheelup",
"/script up 5"); "/script -up 5");
weechat_hashtable_set ( weechat_hashtable_set (
keys, keys,
"@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):wheeldown", "@chat(" SCRIPT_PLUGIN_NAME "." SCRIPT_BUFFER_NAME "):wheeldown",
"/script down 5"); "/script -down 5");
weechat_hashtable_set (keys, "__quiet", "1"); weechat_hashtable_set (keys, "__quiet", "1");
weechat_key_bind ("mouse", keys); weechat_key_bind ("mouse", keys);
+27
View File
@@ -386,6 +386,27 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
/* make C compiler happy */ /* make C compiler happy */
(void) plugin; (void) plugin;
if (script_loaded)
{
weechat_hashtable_free (script_loaded);
script_loaded = NULL;
}
if (script_timer_refresh)
{
weechat_unhook (script_timer_refresh);
script_timer_refresh = NULL;
}
if (script_buffer)
{
weechat_buffer_close (script_buffer);
script_buffer = NULL;
}
script_buffer_selected_line = 0;
script_buffer_detail_script = NULL;
script_buffer_detail_script_last_line = 0;
script_buffer_detail_script_line_diff = -1;
script_mouse_end (); script_mouse_end ();
script_config_write (); script_config_write ();
@@ -393,10 +414,16 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
script_repo_remove_all (); script_repo_remove_all ();
if (script_repo_filter) if (script_repo_filter)
{
free (script_repo_filter); free (script_repo_filter);
script_repo_filter = NULL;
}
if (script_loaded) if (script_loaded)
{
weechat_hashtable_free (script_loaded); weechat_hashtable_free (script_loaded);
script_loaded = NULL;
}
script_config_free (); script_config_free ();
+7
View File
@@ -654,9 +654,16 @@ void
spell_config_free () spell_config_free ()
{ {
weechat_config_free (spell_config_file); weechat_config_free (spell_config_file);
spell_config_file = NULL;
if (spell_commands_to_check) if (spell_commands_to_check)
{
weechat_string_free_split (spell_commands_to_check); weechat_string_free_split (spell_commands_to_check);
spell_commands_to_check = NULL;
}
if (spell_length_commands_to_check) if (spell_length_commands_to_check)
{
free (spell_length_commands_to_check); free (spell_length_commands_to_check);
spell_length_commands_to_check = NULL;
}
} }
+3
View File
@@ -501,5 +501,8 @@ void
spell_speller_end () spell_speller_end ()
{ {
weechat_hashtable_free (spell_spellers); weechat_hashtable_free (spell_spellers);
spell_spellers = NULL;
weechat_hashtable_free (spell_speller_buffer); weechat_hashtable_free (spell_speller_buffer);
spell_speller_buffer = NULL;
} }

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