1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

Compare commits

...

92 Commits

Author SHA1 Message Date
Sébastien Helleu 6292416687 core: fix screenshot URL in README 2016-12-17 10:00:23 +01:00
Sébastien Helleu f2f21e14ad Version 1.0.1 2014-09-28 08:59:19 +02:00
Sébastien Helleu 8967ba37f1 core: check that data is not NULL in function string_iconv_fprintf
(cherry picked from commit 08d2b9aaeb)
2014-09-28 08:20:21 +02:00
Sébastien Helleu 066216481b relay: fix send of signals "relay_client_xxx" (closes #214)
The signals about relay client status changes were sent only when the client
has ended. Now it is went on any status change.

(cherry picked from commit c99df96ebd)
2014-09-26 04:09:40 +02:00
Sébastien Helleu 53de7764a1 core: fix crash on buffer close when option weechat.look.hotlist_remove is set to "merged" (closes #199)
(cherry picked from commit c1aa51fa9c)
2014-09-24 21:45:15 +02:00
Sébastien Helleu 782d812720 irc: fix type of value stored in hashtable when joining a channel (closes #211)
(cherry picked from commit f91f57f12c)
2014-09-22 07:44:47 +02:00
Sébastien Helleu 415414a0e7 doc: update auto-generated files 2014-09-21 16:02:43 +02:00
Sébastien Helleu 1f9432d322 Merge pull request #208 from l/1.0_translation_ja
core: update Japanese translations
2014-09-21 16:00:02 +02:00
AYANOKOUZI, Ryuunosuke 0118911849 core: update Japanese translations 2014-09-21 22:49:48 +09:00
Sébastien Helleu 87cc51e3ec core: fix highlight of IRC action messages when option irc.look.nick_mode is set to "action" or "both" (closes #206)
(cherry picked from commit 1a20ef41c0)
2014-09-21 11:53:13 +02:00
Sébastien Helleu 1ee8790e64 core: fix compilation of plugin API functions (macros) when compiler optimizations are enabled (closes #200)
(cherry picked from commit 03c0067272)
2014-09-20 17:39:12 +02:00
Nils Görs 2b6d97990e core: update German translations 2014-09-20 16:38:42 +02:00
Krzysztof Korościk 5609fb894e doc: updated polish translations 2014-09-20 16:30:45 +02:00
Krzysztof Korościk a96c65d57c core: update polish translations 2014-09-20 16:28:15 +02:00
Sébastien Helleu c6165e2dda core: fix sentence in ChangeLog
(cherry picked from commit 061f94aee9)
2014-09-20 15:46:23 +02:00
Sébastien Helleu 23deeed800 guile: fix compilation with Guile < 2.0.4 (closes #198)
(cherry picked from commit 6a2bef6fb7)
2014-09-20 15:46:06 +02:00
Sébastien Helleu ed133e51a4 trigger: do not allow any changes on a trigger when it is currently running (closes #189)
(cherry picked from commit d1b4281d20)
2014-09-20 14:59:08 +02:00
Sébastien Helleu b9ec938fab aspell: fix compilation with enchant version older than 1.6.0 (closes #192)
(cherry picked from commit 6860aa491f)
2014-09-20 11:06:26 +02:00
Sébastien Helleu c1b65bd075 core: fix window/buffer pointers used in command /eval
(cherry picked from commit 421c0752d8)
2014-08-29 19:11:30 +02:00
Sébastien Helleu 7b637f3fb5 api: fix bug in function hdata_move when absolute value of count is greater than 1
(cherry picked from commit 9fe6ce1cdc)
2014-08-27 07:35:39 +02:00
Sébastien Helleu 1ce55d8774 perl: fix detection of Perl >= 5.20 with autotools
(cherry picked from commit bf723ba7bf)
2014-08-26 07:42:17 +02:00
Sébastien Helleu 90373f22da core: fix build of tests with autotools
(cherry picked from commit 5424c5f9de)
2014-08-25 20:26:55 +02:00
Sébastien Helleu 1838314167 tests: fix build of tests when the build directory is outside source tree (closes #178)
(cherry picked from commit f39b37351c)
2014-08-25 07:39:31 +02:00
Sébastien Helleu 28fb1b1cbe core: sync debian files with debian git repository
(cherry picked from commit 8672430acd)
2014-08-24 20:00:03 +02:00
nils_2 35ddf45063 doc: update German documentation
core: update German translations
2014-08-23 21:15:59 +02:00
Sébastien Helleu cf69bfaed4 irc: remove a trailing comma in help of server capabilities option
(cherry picked from commit fa4436b262)
2014-08-23 21:11:46 +02:00
Sébastien Helleu 53cc60bb32 core: fix typo in French translation of /help set
(cherry picked from commit 285de35d21)
2014-08-23 11:33:38 +02:00
Sébastien Helleu 8af713928e irc: add "server-time" in help of server option "capabilities"
(cherry picked from commit 83ffdb9ecd)
2014-08-23 11:30:29 +02:00
Sébastien Helleu 5b8bd33a77 script: fix crash on "/script update" if a script detail is displayed in buffer (closes #177)
(cherry picked from commit 067f310be6)
2014-08-22 20:49:54 +02:00
Sébastien Helleu 73b51f9bf4 trigger: fix regex used in default triggers to hide passwords (closes #172)
"\S" is not supported on *BSD, so it is replaced by "[^ ]" (which should be
enough, since there should be no tabs or other whitespace different from
spaces in command line).

(cherry picked from commit 333253e5b9)
2014-08-22 07:40:45 +02:00
Sébastien Helleu 33a8cb5c2b doc: add tags for missing translations in Japanese developer's guide
(cherry picked from commit 4c12639f61)
2014-08-20 22:48:11 +02:00
Sébastien Helleu df748bd7d9 core: fix modifier "weechat_print": discard only one line when several lines are displayed in same message (closes #171)
When several lines are displayed in a message (separated by "\n"), the
modifier "weechat_print" will now discard just one line (if return value is
an empty string), instead of discarding the whole message.

(cherry picked from commit 7310a7e398)
2014-08-20 22:41:49 +02:00
Sébastien Helleu 4dd2ec87c7 doc: add missing files sec.conf and exec.conf in man page
(cherry picked from commit be00ef006b)
2014-08-20 22:37:47 +02:00
Sébastien Helleu ab371fb231 core: remove obsolete WeeChat version in weechat.pot
(cherry picked from commit e27083cddf)
2014-08-20 22:35:59 +02:00
Sébastien Helleu 570b74569d aspell: display an error if command "/aspell setdict" is called without a dictionary
(cherry picked from commit dac076c242)
2014-08-20 22:35:40 +02:00
Sébastien Helleu 06414d1410 core: update ChangeLog
(cherry picked from commit 2d5f563d89)
2014-08-20 22:32:38 +02:00
Sébastien Helleu 9e220a7bda aspell: remove unneeded else condition
(cherry picked from commit 3f3eb55c6d)
2014-08-20 22:31:25 +02:00
nils_2 addf755902 aspell: fix crash with command "/aspell addword" if no word is given (closes #164)
(cherry picked from commit 2629fd8c74)
2014-08-20 22:31:19 +02:00
Sébastien Helleu 52625d22da core: add gettext-devel dependency for Cygwin packaging
(cherry picked from commit 1b7352e379)
2014-08-20 22:29:10 +02:00
Sébastien Helleu 4ccfd48743 core: install extra files for Cygwin in share/doc/weechat
(cherry picked from commit 8c3b85a05b)
2014-08-20 22:28:45 +02:00
Sébastien Helleu 82eb8aef08 tests: fix memory leak in tests launcher
(cherry picked from commit bc34c3cfc2)
2014-08-20 22:22:06 +02:00
Sébastien Helleu ffca6c3bf0 Version 1.0.1-dev 2014-08-20 22:16:39 +02:00
Sébastien Helleu addc27af2c Version 1.0
Yay! \o/
2014-08-15 10:09:01 +02:00
Sébastien Helleu dcf46a2ca0 tests: read WeeChat command line arguments in environment variable "WEECHAT_TESTS_ARGS" 2014-08-14 19:15:25 +02:00
Sébastien Helleu 99b7aa9d27 tests: fix memory leaks 2014-08-14 19:13:32 +02:00
Sébastien Helleu 00e79af39c tests: add tests of function string_split_shell 2014-08-14 19:12:00 +02:00
Sébastien Helleu 328eeee5e1 tests: add partial tests of functions hashtable_set* 2014-08-14 19:09:27 +02:00
Sébastien Helleu 346fb62cf6 tests: don't install binary "tests" with autotools 2014-08-14 19:06:21 +02:00
Sébastien Helleu 181e44d126 doc: add missing file "tests.cpp" in developer's guide 2014-08-14 19:05:48 +02:00
Sébastien Helleu 11baca39b8 debian: link against libgcrypt20-dev and libgnutls28-dev 2014-08-14 19:03:18 +02:00
Sébastien Helleu 536318eafe tests: add tests of function string_replace_with_callback 2014-08-14 07:38:42 +02:00
Sébastien Helleu 8506fa95b3 core: separate new features and bugs fixed in ChangeLog 2014-08-14 07:35:04 +02:00
Sébastien Helleu 06260182b0 doc: update Polish auto-generated files 2014-08-13 22:28:40 +02:00
Krzysztof Korościk d104a1fc13 core: updated polish translations 2014-08-13 21:31:02 +02:00
Sébastien Helleu 0f363218b6 core: make argument "errors" optional in function string_replace_with_callback 2014-08-13 07:33:49 +02:00
Sébastien Helleu 3d63ed0eaf Merge pull request #161 from l/translation_ja
core: update Japanese translations
2014-08-12 21:40:51 +02:00
AYANOKOUZI, Ryuunosuke ab6df91a3e core: update Japanese translations 2014-08-12 16:43:32 +09:00
Sébastien Helleu e4fb9a4a4b doc: add example with "callback_free_key" in function hashtable_set_pointer (plugin API reference) 2014-08-12 07:32:15 +02:00
Andrew Potter 62d891aea9 core: callback_free_key shouldn't point to already free'd value 2014-08-11 22:51:20 +02:00
Sébastien Helleu 4faa227a2d core: check that callback is not NULL in function string_replace_with_callback 2014-08-11 07:47:55 +02:00
Sébastien Helleu 8ab538c0d9 Version 1.0-rc3 2014-08-10 16:54:28 +02:00
Sébastien Helleu 93d472e3d0 core: fix potential crash in case of malloc error when resetting config option 2014-08-10 15:51:35 +02:00
Sébastien Helleu e226c2e147 irc: free nick immediately in case of malloc error 2014-08-10 15:50:18 +02:00
Sébastien Helleu 890a9e54be core: remove dead assignment in function hook_process_child 2014-08-10 15:50:18 +02:00
Sébastien Helleu 15bb7656a5 core: remove dead assignment in function hook_command_exec 2014-08-10 15:50:18 +02:00
Sébastien Helleu 733eb99b17 script: fix potential crash in case of malloc error 2014-08-10 15:50:08 +02:00
Sébastien Helleu a7ea40da2c core: remove dead assignment when converting mouse code 2014-08-10 13:47:08 +02:00
Sébastien Helleu 068776b5a7 core: fix zero-length malloc of an hashtable item with type "buffer" 2014-08-10 13:42:48 +02:00
Sébastien Helleu ccf18f4bf6 core: return immediately if localtime fails in window scroll 2014-08-10 13:35:25 +02:00
Sébastien Helleu fc1571645d logger: fix memory leaks in backlog 2014-08-10 13:25:35 +02:00
Sébastien Helleu 53a9a161f4 core: fix memory leak on /upgrade when file signature in upgrade file is invalid 2014-08-10 10:52:04 +02:00
Sébastien Helleu 27dd6cf72f core: fix memory leak in completion of config options values 2014-08-09 23:17:25 +02:00
Sébastien Helleu b78b5575c3 irc: fix memory leak in CTCP answer 2014-08-09 19:54:39 +02:00
Sébastien Helleu 4e43be6d2c core: fix memory leak when removing script files 2014-08-09 18:49:06 +02:00
Sébastien Helleu fc71ce0d43 core: fix bug with several arguments for command /buffer clear|hide|unhide 2014-08-09 18:19:27 +02:00
Sébastien Helleu 9358f076a3 exec: invert a condition to make code more readable 2014-08-09 17:43:45 +02:00
Sébastien Helleu 795b9c9da9 relay: fix memory leak during handshake on websocket 2014-08-09 17:41:16 +02:00
Sébastien Helleu 7a76a959ec relay: fix memory leak when receiving several lines from client (weechat protocol) 2014-08-09 17:40:18 +02:00
Sébastien Helleu a6aee98cb1 relay: fix memory leak when receiving commands from client (weechat protocol) 2014-08-09 17:15:22 +02:00
Sébastien Helleu 4c871760d2 relay: remove dead assignment 2014-08-09 16:37:10 +02:00
Sébastien Helleu ddd7a85f2d relay: fix crash when an IRC "MODE" command is received from client without arguments 2014-08-09 16:14:44 +02:00
Sébastien Helleu a538a9c08e tests: add tests of function string_replace_regex 2014-08-09 09:08:06 +02:00
Sébastien Helleu 5597c93b64 core: check that regex is not NULL in function string_replace_regex 2014-08-08 07:33:37 +02:00
Sébastien Helleu e7b604c97e core: fix example in comment of function string_replace_regex 2014-08-07 07:48:15 +02:00
Sébastien Helleu 13fc108c6d tests: add TODO comments for missing tests 2014-08-06 07:53:04 +02:00
Sébastien Helleu aa8a1cc775 core: add C++ compiler and CppUTest for tests in README 2014-08-05 07:36:01 +02:00
Sébastien Helleu 2cc265f34e tests: add tests of functions hashtable_hash_key_djb2 and hashtable_new 2014-08-04 07:41:24 +02:00
Sébastien Helleu 3c3311bf17 core: update ChangeLog 2014-08-03 14:44:37 +02:00
Sébastien Helleu 124b2668fe core: display warning on $TERM only if it doesn't start with "screen" (under screen/tmux) 2014-08-03 14:11:58 +02:00
Sébastien Helleu 5262e05177 doc: remove trailing whitespace in Polish user's guide 2014-08-03 14:09:44 +02:00
Sébastien Helleu 6dcb1e7b10 Revert "core: use argument "-i" for sed command (don't create a temporary file)"
This reverts commit b2466aae29.

The option "-i" is not supported on FreeBSD.
2014-08-03 13:49:11 +02:00
Krzysztof Korościk dbc30707aa update polish docs 2014-08-03 12:36:05 +02:00
124 changed files with 4681 additions and 3493 deletions
+13 -2
View File
@@ -34,8 +34,8 @@ endif()
# version # version
set(VERSION_MAJOR "1") set(VERSION_MAJOR "1")
set(VERSION_MINOR "0-rc2") set(VERSION_MINOR "0")
set(VERSION_PATCH "") set(VERSION_PATCH "1")
if(VERSION_PATCH STREQUAL "") if(VERSION_PATCH STREQUAL "")
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}) set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
else() else()
@@ -241,6 +241,17 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pk
# cygport file (used to build Cygwin packages) # cygport file (used to build Cygwin packages)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
# install some files (only on Cygwin)
if(CYGWIN)
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/Contributing.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/README.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.asciidoc
DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
endif()
# icon # icon
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
+1106 -836
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -24,7 +24,7 @@ image:https://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", li
* Developed from scratch. * Developed from scratch.
* Free software, released under GPLv3. * Free software, released under GPLv3.
image::http://static.weechat.org/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"] image::https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"]
== Install == Install
@@ -46,6 +46,7 @@ Following packages are optional:
* for scripting: python, perl, ruby, lua, tcl, guile * for scripting: python, perl, ruby, lua, tcl, guile
* for building doc: asciidoc, source-highlight * for building doc: asciidoc, source-highlight
(for man page: xsltproc, docbook-xml, docbook-xsl) (for man page: xsltproc, docbook-xml, docbook-xsl)
* for building tests: C++ compiler, CppUTest
For a complete list of dependencies and versions recommended, please look at For a complete list of dependencies and versions recommended, please look at
http://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's guide]. http://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's guide].
+5 -1
View File
@@ -15,7 +15,11 @@ http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file 'ChangeLog.asciidoc' in sources). (file 'ChangeLog.asciidoc' in sources).
== Version 1.0 (under dev) == Version 1.0.1 (2014-09-28)
Bug fix and maintenance release.
== Version 1.0 (2014-08-15)
=== Channel type not added by default on /join === Channel type not added by default on /join
+3 -1
View File
@@ -42,12 +42,14 @@ find_library(ASPELL_LIBRARY
) )
if(ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY) if(ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
set(ASPELL_FOUND TRUE)
# check if function aspell_version_string() exists
set(CMAKE_REQUIRED_INCLUDES ${ASPELL_INCLUDE_PATH}) set(CMAKE_REQUIRED_INCLUDES ${ASPELL_INCLUDE_PATH})
set(CMAKE_REQUIRED_LIBRARIES ${ASPELL_LIBRARY}) set(CMAKE_REQUIRED_LIBRARIES ${ASPELL_LIBRARY})
check_symbol_exists(aspell_version_string "aspell.h" HAVE_ASPELL_VERSION_STRING) check_symbol_exists(aspell_version_string "aspell.h" HAVE_ASPELL_VERSION_STRING)
set(CMAKE_REQUIRED_INCLUDES) set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES) set(CMAKE_REQUIRED_LIBRARIES)
set(ASPELL_FOUND TRUE)
endif() endif()
mark_as_advanced( mark_as_advanced(
+7
View File
@@ -41,4 +41,11 @@ else()
mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES) mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES)
# check if function enchant_get_version() exists
set(CMAKE_REQUIRED_INCLUDES ${ENCHANT_INCLUDE_DIR})
set(CMAKE_REQUIRED_LIBRARIES ${ENCHANT_LIBRARIES})
check_symbol_exists(enchant_get_version "enchant.h" HAVE_ENCHANT_GET_VERSION)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif() endif()
+8
View File
@@ -34,4 +34,12 @@ endif()
find_package(PkgConfig) find_package(PkgConfig)
if(PKG_CONFIG_FOUND) if(PKG_CONFIG_FOUND)
pkg_search_module(GUILE guile-2.0) pkg_search_module(GUILE guile-2.0)
if(GUILE_FOUND)
# check if variable "scm_install_gmp_memory_functions" exists
set(CMAKE_REQUIRED_INCLUDES ${GUILE_INCLUDE_DIRS})
set(CMAKE_REQUIRED_LIBRARIES ${GUILE_LDFLAGS})
check_symbol_exists(scm_install_gmp_memory_functions "libguile.h" HAVE_GUILE_GMP_MEMORY_FUNCTIONS)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
endif() endif()
+2
View File
@@ -7,6 +7,8 @@
#cmakedefine HAVE_MALLINFO #cmakedefine HAVE_MALLINFO
#cmakedefine HAVE_EAT_NEWLINE_GLITCH #cmakedefine HAVE_EAT_NEWLINE_GLITCH
#cmakedefine HAVE_ASPELL_VERSION_STRING #cmakedefine HAVE_ASPELL_VERSION_STRING
#cmakedefine HAVE_ENCHANT_GET_VERSION
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
#define PACKAGE_VERSION "@VERSION@" #define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@PROJECT_NAME@" #define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@" #define PACKAGE_NAME "@PROJECT_NAME@"
+41 -3
View File
@@ -24,7 +24,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56) AC_PREREQ(2.56)
AC_INIT(WeeChat, 1.0-rc2, flashcode@flashtux.org) AC_INIT(WeeChat, 1.0.1, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([foreign]) AM_INIT_AUTOMAKE([foreign])
@@ -102,6 +102,8 @@ AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK]) AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH]) AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH])
AH_VERBATIM([HAVE_ASPELL_VERSION_STRING], [#undef HAVE_ASPELL_VERSION_STRING]) AH_VERBATIM([HAVE_ASPELL_VERSION_STRING], [#undef HAVE_ASPELL_VERSION_STRING])
AH_VERBATIM([HAVE_ENCHANT_GET_VERSION], [#undef HAVE_ENCHANT_GET_VERSION])
AH_VERBATIM([HAVE_GUILE_GMP_MEMORY_FUNCTIONS], [#undef HAVE_GUILE_GMP_MEMORY_FUNCTIONS])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS]) AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL]) AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET]) AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
@@ -307,6 +309,23 @@ if test "x$enable_aspell" = "xyes" ; then
if test "x$ac_found_enchant_lib" = "xyes" ; then if test "x$ac_found_enchant_lib" = "xyes" ; then
CFLAGS="$CFLAGS -DUSE_ENCHANT" CFLAGS="$CFLAGS -DUSE_ENCHANT"
ASPELL_LIB_USED="enchant" ASPELL_LIB_USED="enchant"
# check if function enchant_get_version() exists
ac_save_CFLAGS="$CFLAGS"
ac_save_LDFLAGS="$LDFLAGS"
CFLAGS="$CFLAGS $ENCHANT_CFLAGS"
LDFLAGS="$LDFLAGS $ENCHANT_LIBS"
AC_CACHE_CHECK([for enchant_get_version() support], ac_cv_have_enchant_get_version, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <enchant.h>]],
[[ const char *version = enchant_get_version(); ]])],
[ ac_have_enchant_get_version="yes" ],
[ ac_have_enchant_get_version="no" ])])
CFLAGS="$ac_save_CFLAGS"
LDFLAGS="$ac_save_LDFLAGS"
if test "x$ac_have_enchant_get_version" = "xyes"; then
AC_DEFINE(HAVE_ENCHANT_GET_VERSION)
fi
else else
ASPELL_CFLAGS="" ASPELL_CFLAGS=""
ASPELL_LFLAGS="" ASPELL_LFLAGS=""
@@ -327,6 +346,8 @@ if test "x$enable_aspell" = "xyes" ; then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell" ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
ASPELL_LIB_USED="aspell" ASPELL_LIB_USED="aspell"
# check if function aspell_version_string() exists
ac_save_LDFLAGS="$LDFLAGS" ac_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $ASPELL_LFLAGS" LDFLAGS="$LDFLAGS $ASPELL_LFLAGS"
AC_CACHE_CHECK([for aspell_version_string() support], ac_cv_have_aspell_version_string, [ AC_CACHE_CHECK([for aspell_version_string() support], ac_cv_have_aspell_version_string, [
@@ -444,7 +465,7 @@ if test "x$enable_perl" = "xyes" ; then
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"` PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
AC_MSG_CHECKING(for Perl headers files) AC_MSG_CHECKING(for Perl headers files)
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1` PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
if test "x$PERL_HEADER_TEST" = "x0" ; then if test "x$PERL_HEADER_TEST" = "x0" ; then
PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts` PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
@@ -794,7 +815,24 @@ if test "x$enable_guile" = "xyes" ; then
fi fi
done done
if test "x$guile_found" = "xno" ; then if test "x$guile_found" = "xyes" ; then
# check if variable "scm_install_gmp_memory_functions" exists
ac_save_CFLAGS="$CFLAGS"
ac_save_LDFLAGS="$LDFLAGS"
CFLAGS="$CFLAGS $GUILE_CFLAGS"
LDFLAGS="$LDFLAGS $GUILE_LFLAGS"
AC_CACHE_CHECK([for variable scm_install_gmp_memory_functions], ac_cv_have_guile_gmp_memory_functions, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <libguile.h>]],
[[ scm_install_gmp_memory_functions = 0; ]])],
[ ac_have_guile_gmp_memory_functions="yes" ],
[ ac_have_guile_gmp_memory_functions="no" ])])
CFLAGS="$ac_save_CFLAGS"
LDFLAGS="$ac_save_LDFLAGS"
if test "x$ac_have_guile_gmp_memory_functions" = "xyes"; then
AC_DEFINE(HAVE_GUILE_GMP_MEMORY_FUNCTIONS)
fi
else
AC_MSG_WARN([ AC_MSG_WARN([
*** Guile >= 2.0 couldn't be found on your system. *** Guile >= 2.0 couldn't be found on your system.
*** WeeChat will be built without Guile (scheme) support.]) *** WeeChat will be built without Guile (scheme) support.])
+31
View File
@@ -1,3 +1,34 @@
weechat (1.0-1) unstable; urgency=medium
* New upstream release (Closes: #758230, #751108)
- Remove the patch to fix FTBFS while building against ruby 2.1
- Fix the way to install upstream changelog
- Add new plugins (exec, trigger)
- Fix the way to install docs (upstream changes to asciidoc)
* Re-enable the build of guile plugin
* Fix various typos in packaging
* Update copyright years in debian/copyright
* Add new doc-base files (Relay Protocol in Japanese)
* Add git-buildpackage configuration
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 24 Aug 2014 17:40:36 +0200
weechat (0.4.3-4) unstable; urgency=medium
* Fix FTBFS by adding a missing Build Depends on docbook-xml
(Closes:#753166)
* Update libgnutls and libgcrypt Build Depends to libgnutls28-dev and
libgcrypt20-dev (Closes: #753167)
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 02 Jul 2014 23:42:41 +0200
weechat (0.4.3-3) unstable; urgency=medium
* Add patch (backported from upstream) to fix a FTBFS while building
against ruby 2.1 (Closes: #747708)
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 12 May 2014 12:49:14 +0200
weechat (0.4.3-2) unstable; urgency=medium weechat (0.4.3-2) unstable; urgency=medium
* Add missing symlink for Polish manpage * Add missing symlink for Polish manpage
+5 -4
View File
@@ -6,7 +6,8 @@ Build-Depends:
asciidoc (>= 8.5), asciidoc (>= 8.5),
source-highlight, source-highlight,
xsltproc, xsltproc,
docbook-xml, docbook-xsl, docbook-xsl,
docbook-xml,
debhelper (>= 9), debhelper (>= 9),
cmake, pkg-config, cmake, pkg-config,
libncursesw5-dev, libncursesw5-dev,
@@ -18,8 +19,8 @@ Build-Depends:
tcl8.5-dev, tcl8.5-dev,
guile-2.0-dev, guile-2.0-dev,
libcurl4-gnutls-dev, libcurl4-gnutls-dev,
libgcrypt11-dev, libgcrypt20-dev,
libgnutls-dev, libgnutls28-dev,
zlib1g-dev zlib1g-dev
Standards-Version: 3.9.5 Standards-Version: 3.9.5
Homepage: http://weechat.org/ Homepage: http://weechat.org/
@@ -123,7 +124,7 @@ Package: weechat-dev
Section: devel Section: devel
Architecture: all Architecture: all
Depends: ${misc:Depends} Depends: ${misc:Depends}
Description: Fast, light and extensible chat client - developement headers Description: Fast, light and extensible chat client - development headers
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard. for many operating systems. Everything can be done with a keyboard.
. .
+1 -1
View File
@@ -11,7 +11,7 @@ License: GPL-3+
Files: debian/* Files: debian/*
Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net> Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net>
2008-2012, Emmanuel Bouthenot <kolter@openics.org> 2008-2014, Emmanuel Bouthenot <kolter@openics.org>
License: GPL-3+ License: GPL-3+
License: GPL-3+ License: GPL-3+
+5
View File
@@ -0,0 +1,5 @@
[DEFAULT]
upstream-branch = upstream
debian-branch = unstable
upstream-tag = v%(version)s
compression = xz
+3
View File
@@ -23,6 +23,9 @@ override_dh_auto_configure:
# debhelper try to use it but that's not needed # debhelper try to use it but that's not needed
echo echo
override_dh_installchangelogs:
dh_installchangelogs ChangeLog.asciidoc
override_dh_strip: override_dh_strip:
dh_strip --dbg-package=weechat-dbg dh_strip --dbg-package=weechat-dbg
+1
View File
@@ -0,0 +1 @@
debian/upstream-signing-key.pgp
+2
View File
@@ -0,0 +1,2 @@
unapply-patches
abort-on-upstream-changes
+1 -1
View File
@@ -479,7 +479,7 @@
** Werte: 0 .. 1000000 (Standardwert: `25`) ** Werte: 0 .. 1000000 (Standardwert: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities* * [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** Beschreibung: `durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen. Fähigkeiten die von WeeChat unterstützt werden: multi-prefix, userhost-in-name, away-notify (Beispiel: "multi-prefix, userhost-in-name,away-notify")` ** Beschreibung: `durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen. Fähigkeiten die von WeeChat unterstützt werden: away-notify, multi-prefix, server-time, userhost-in-names (Beispiel: "away-notify,multi-prefix")`
** Typ: Zeichenkette ** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`) ** Werte: beliebige Zeichenkette (Standardwert: `""`)
+6
View File
@@ -53,6 +53,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf:: $HOME/.weechat/plugins.conf::
Konfigurationsdatei für Erweiterungen Konfigurationsdatei für Erweiterungen
$HOME/.weechat/sec.conf::
Konfigurationsdatei für sensible Daten
$HOME/.weechat/alias.conf:: $HOME/.weechat/alias.conf::
Konfigurationsdatei für 'alias' Erweiterung Konfigurationsdatei für 'alias' Erweiterung
@@ -62,6 +65,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf:: $HOME/.weechat/charset.conf::
Konfigurationsdatei für 'charset' Erweiterung Konfigurationsdatei für 'charset' Erweiterung
$HOME/.weechat/exec.conf::
Konfigurationsdatei für 'exec' Erweiterung
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
Konfigurationsdatei für 'irc' Erweiterung Konfigurationsdatei für 'irc' Erweiterung
+1 -1
View File
@@ -479,7 +479,7 @@
** values: 0 .. 1000000 (default value: `25`) ** values: 0 .. 1000000 (default value: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities* * [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** description: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: multi-prefix, userhost-in-names, away-notify (example: "multi-prefix,userhost-in-names,away-notify")` ** description: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: away-notify, multi-prefix, server-time, userhost-in-names (example: "away-notify,multi-prefix")`
** type: string ** type: string
** values: any string (default value: `""`) ** values: any string (default value: `""`)
+6
View File
@@ -52,6 +52,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf:: $HOME/.weechat/plugins.conf::
plugins configuration file plugins configuration file
$HOME/.weechat/sec.conf::
configuration file with secured data
$HOME/.weechat/alias.conf:: $HOME/.weechat/alias.conf::
configuration file for 'alias' plugin configuration file for 'alias' plugin
@@ -61,6 +64,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf:: $HOME/.weechat/charset.conf::
configuration file for 'charset' plugin configuration file for 'charset' plugin
$HOME/.weechat/exec.conf::
configuration file for 'exec' plugin
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
configuration file for 'irc' plugin configuration file for 'irc' plugin
+11 -9
View File
@@ -291,16 +291,18 @@ WeeChat "core" is located in following directories:
|=== |===
| Path/file | Description | Path/file | Description
| tests/ | Root of tests | tests/ | Root of tests
| tests.cpp | Program used to run tests
| unit/ | Root of unit tests | unit/ | Root of unit tests
| test-eval.cpp | Tests: evaluation of expressions | core/ | Root of unit tests for core
| test-hashtble.cpp | Tests: hashtables | test-eval.cpp | Tests: evaluation of expressions
| test-hdata.cpp | Tests: hdata | test-hashtble.cpp | Tests: hashtables
| test-infolist.cpp | Tests: infolists | test-hdata.cpp | Tests: hdata
| test-list.cpp | Tests: lists | test-infolist.cpp | Tests: infolists
| test-string.cpp | Tests: strings | test-list.cpp | Tests: lists
| test-url.cpp | Tests: URLs | test-string.cpp | Tests: strings
| test-utf8.cpp | Tests: UTF-8 | test-url.cpp | Tests: URLs
| test-util.cpp | Tests: util functions | test-utf8.cpp | Tests: UTF-8
| test-util.cpp | Tests: util functions
|=== |===
[[documentation_translations]] [[documentation_translations]]
+7
View File
@@ -3812,7 +3812,14 @@ my_free_value_cb (struct t_hashtable *hashtable, const void *key, void *value)
/* ... */ /* ... */
} }
void
my_free_key_cb (struct t_hashtable *hashtable, void *key)
{
/* ... */
}
weechat_hashtable_set_pointer (hashtable, "callback_free_value", &my_free_value_cb); weechat_hashtable_set_pointer (hashtable, "callback_free_value", &my_free_value_cb);
weechat_hashtable_set_pointer (hashtable, "callback_free_key", &my_free_key_cb);
---- ----
[NOTE] [NOTE]
+1 -1
View File
@@ -479,7 +479,7 @@
** valeurs: 0 .. 1000000 (valeur par défaut: `25`) ** valeurs: 0 .. 1000000 (valeur par défaut: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities* * [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** description: `liste séparée par des virgules de capacités client ("client capabilities") à activer sur le serveur si elles sont disponibles ; les capacités supportées par WeeChat sont : multi-prefix, userhost-in-names, away-notify (exemple : "multi-prefix,userhost-in-names,away-notify")` ** description: `liste séparée par des virgules de capacités client ("client capabilities") à activer sur le serveur si elles sont disponibles ; les capacités supportées par WeeChat sont : away-notify, multi-prefix, server-time, userhost-in-names (exemple : "away-notify,multi-prefix")`
** type: chaîne ** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`) ** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -784,7 +784,7 @@ Exemples :
afficher la valeur de la variable d'environnement LANG : afficher la valeur de la variable d'environnement LANG :
/set env LANG /set env LANG
modifier la variable d'environnement LANG et l'utiliser : modifier la variable d'environnement LANG et l'utiliser :
/set env LANG=fr_FR.UTF-8 /set env LANG fr_FR.UTF-8
/upgrade /upgrade
réinitialiser la variable d'environnement ABC : réinitialiser la variable d'environnement ABC :
/set env ABC "" /set env ABC ""
+6
View File
@@ -54,6 +54,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf:: $HOME/.weechat/plugins.conf::
fichier de configuration des extensions fichier de configuration des extensions
$HOME/.weechat/sec.conf::
configuration file with secured data
$HOME/.weechat/alias.conf:: $HOME/.weechat/alias.conf::
fichier de configuration pour l'extension 'alias' fichier de configuration pour l'extension 'alias'
@@ -63,6 +66,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf:: $HOME/.weechat/charset.conf::
fichier de configuration pour l'extension 'charset' fichier de configuration pour l'extension 'charset'
$HOME/.weechat/exec.conf::
fichier de configuration pour l'extension 'exec'
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
fichier de configuration pour l'extension 'irc' fichier de configuration pour l'extension 'irc'
+11 -9
View File
@@ -292,16 +292,18 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|=== |===
| Chemin/fichier | Description | Chemin/fichier | Description
| tests/ | Racine des tests | tests/ | Racine des tests
| tests.cpp | Programme utilisé pour lancer les tests
| unit/ | Racine des tests unitaires | unit/ | Racine des tests unitaires
| test-eval.cpp | Tests : évaluation d'expressions | core/ | Racine des tests unitaires pour le cœur
| test-hashtble.cpp | Tests : tables de hachage | test-eval.cpp | Tests : évaluation d'expressions
| test-hdata.cpp | Tests : hdata | test-hashtble.cpp | Tests : tables de hachage
| test-infolist.cpp | Tests : infolists | test-hdata.cpp | Tests : hdata
| test-list.cpp | Tests : listes | test-infolist.cpp | Tests : infolists
| test-string.cpp | Tests : chaînes | test-list.cpp | Tests : listes
| test-url.cpp | Tests : URLs | test-string.cpp | Tests : chaînes
| test-utf8.cpp | Tests : UTF-8 | test-url.cpp | Tests : URLs
| test-util.cpp | Tests : fonctions utiles | test-utf8.cpp | Tests : UTF-8
| test-util.cpp | Tests : fonctions utiles
|=== |===
[[documentation_translations]] [[documentation_translations]]
+7
View File
@@ -3870,7 +3870,14 @@ my_free_value_cb (struct t_hashtable *hashtable, const void *key, void *value)
/* ... */ /* ... */
} }
void
my_free_key_cb (struct t_hashtable *hashtable, void *key)
{
/* ... */
}
weechat_hashtable_set_pointer (hashtable, "callback_free_value", &my_free_value_cb); weechat_hashtable_set_pointer (hashtable, "callback_free_value", &my_free_value_cb);
weechat_hashtable_set_pointer (hashtable, "callback_free_key", &my_free_key_cb);
---- ----
[NOTE] [NOTE]
+1 -1
View File
@@ -479,7 +479,7 @@
** valori: 0 .. 1000000 (valore predefinito: `25`) ** valori: 0 .. 1000000 (valore predefinito: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities* * [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** descrizione: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: multi-prefix, userhost-in-names, away-notify (example: "multi-prefix,userhost-in-names,away-notify")` ** descrizione: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: away-notify, multi-prefix, server-time, userhost-in-names (example: "away-notify,multi-prefix")`
** tipo: stringa ** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`) ** valori: qualsiasi stringa (valore predefinito: `""`)
+7
View File
@@ -53,6 +53,10 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf:: $HOME/.weechat/plugins.conf::
plugins configuration file plugins configuration file
// TRANSLATION MISSING
$HOME/.weechat/sec.conf::
configuration file with secured data
$HOME/.weechat/alias.conf:: $HOME/.weechat/alias.conf::
configuration file for 'alias' plugin configuration file for 'alias' plugin
@@ -62,6 +66,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf:: $HOME/.weechat/charset.conf::
configuration file for 'charset' plugin configuration file for 'charset' plugin
$HOME/.weechat/exec.conf::
configuration file for 'exec' plugin
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
configuration file for 'irc' plugin configuration file for 'irc' plugin
+7
View File
@@ -3897,7 +3897,14 @@ my_free_value_cb (struct t_hashtable *hashtable, const void *key, void *value)
/* ... */ /* ... */
} }
void
my_free_key_cb (struct t_hashtable *hashtable, void *key)
{
/* ... */
}
weechat_hashtable_set_pointer (hashtable, "callback_free_value", &my_free_value_cb); weechat_hashtable_set_pointer (hashtable, "callback_free_value", &my_free_value_cb);
weechat_hashtable_set_pointer (hashtable, "callback_free_key", &my_free_key_cb);
---- ----
[NOTE] [NOTE]
+1 -1
View File
@@ -18,7 +18,7 @@ listdict: インストール済み辞書を表示
いくつかのコマンドを除いて '/' で始まる入力行はチェックされません (/set aspell.check.commands を参照)。 いくつかのコマンドを除いて '/' で始まる入力行はチェックされません (/set aspell.check.commands を参照)。
全てのバッファで aspell を有効化するには、"default_dict" オプションを設定した後に、aspell を有効化してください。例えば: 全てのバッファで aspell を有効化するには、"default_dict" オプションを設定した後に、aspell を有効化してください。例:
/set aspell.check.default_dict "en" /set aspell.check.default_dict "en"
/aspell enable /aspell enable
+1 -1
View File
@@ -684,7 +684,7 @@ listfull: 詳細情報を含めてサーバをリストアップ
hostname: サーバのホスト名か IP アドレス、ポート番号は任意 (デフォルト: 6667)、複数のアドレスはコンマで区切る hostname: サーバのホスト名か IP アドレス、ポート番号は任意 (デフォルト: 6667)、複数のアドレスはコンマで区切る
temp: 一時的なサーバを作成 (保存されない) temp: 一時的なサーバを作成 (保存されない)
option: サーバのオプションを設定 (ブールオプションでは値が無視される) option: サーバのオプションを設定 (ブールオプションでは値が無視される)
nooption: ブールオプションを 'off' に設定 (例えば: -nossl) nooption: ブールオプションを 'off' に設定 (例: -nossl)
copy: サーバを複製 copy: サーバを複製
rename: サーバをリネーム rename: サーバをリネーム
keep: 設定ファイルにサーバを保存 (一時的なサーバ用) keep: 設定ファイルにサーバを保存 (一時的なサーバ用)
+4 -4
View File
@@ -269,7 +269,7 @@
** 値: on, off (デフォルト値: `on`) ** 値: on, off (デフォルト値: `on`)
* [[option_irc.look.notice_welcome_tags]] *irc.look.notice_welcome_tags* * [[option_irc.look.notice_welcome_tags]] *irc.look.notice_welcome_tags*
** 説明: `ようこそ通知に使われ、チャンネルに転送するタグのコンマ区切りリスト、例えば: "notify_private"` ** 説明: `ようこそ通知に使われ、チャンネルに転送するタグのコンマ区切りリスト、例: "notify_private"`
** タイプ: 文字列 ** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `""`) ** 値: 未制約文字列 (デフォルト値: `""`)
@@ -279,7 +279,7 @@
** 値: 未制約文字列 (デフォルト値: `"notify_message"`) ** 値: 未制約文字列 (デフォルト値: `"notify_message"`)
* [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois* * [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois*
** 説明: `ニックネームの離席状態に変化があった場合の (whois コマンドの結果)、notify によって表示されたメッセージに使われたタグのコンマ区切りリスト、例えば: "notify_message"、"notify_private"、"notify_highlight"` ** 説明: `ニックネームの離席状態に変化があった場合の (whois コマンドの結果)、notify によって表示されたメッセージに使われたタグのコンマ区切りリスト、例: "notify_message"、"notify_private"、"notify_highlight"`
** タイプ: 文字列 ** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"notify_message"`) ** 値: 未制約文字列 (デフォルト値: `"notify_message"`)
@@ -294,7 +294,7 @@
** 値: independent, merge_by_server, merge_all (デフォルト値: `independent`) ** 値: independent, merge_by_server, merge_all (デフォルト値: `independent`)
* [[option_irc.look.pv_tags]] *irc.look.pv_tags* * [[option_irc.look.pv_tags]] *irc.look.pv_tags*
** 説明: `プライベートメッセージに使われたタグのコンマ区切りリスト、例えば: "notify_message"、"notify_private"、"notify_highlight"` ** 説明: `プライベートメッセージに使われたタグのコンマ区切りリスト、例: "notify_message"、"notify_private"、"notify_highlight"`
** タイプ: 文字列 ** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"notify_private"`) ** 値: 未制約文字列 (デフォルト値: `"notify_private"`)
@@ -479,7 +479,7 @@
** 値: 0 .. 1000000 (デフォルト値: `25`) ** 値: 0 .. 1000000 (デフォルト値: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities* * [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** 説明: `サーバで利用可能ならば有効化する "client capabilities" のコンマ区切りリスト; WeeChat で利用できる機能: multi-prefix、userhost-in-namesaway-notify (例: "multi-prefix,userhost-in-names,away-notify")` ** 説明: `サーバで利用可能ならば有効化する "client capabilities" のコンマ区切りリスト; WeeChat で利用できる機能: away-notify、multi-prefix、server-time、userhost-in-names (例: "away-notify,multi-prefix")`
** タイプ: 文字列 ** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `""`) ** 値: 未制約文字列 (デフォルト値: `""`)
@@ -147,7 +147,7 @@ localvar: 現在のバッファのローカル変数を表示
alias: ある色に別名を追加 alias: ある色に別名を追加
unalias: 別名の削除 unalias: 別名の削除
color: カラー番号 (0 以上、最大値はターミナル依存、多くの場合 63 か 255) color: カラー番号 (0 以上、最大値はターミナル依存、多くの場合 63 か 255)
name: カラーの別名 (例えば: "orange") name: カラーの別名 (例: "orange")
reset: 全てのカラーペアをリセット (自動的なリセットが無効化されており、これ以上のカラーペアが利用できない場合に必要、オプション weechat.look.color_pairs_auto_reset を参照) reset: 全てのカラーペアをリセット (自動的なリセットが無効化されており、これ以上のカラーペアが利用できない場合に必要、オプション weechat.look.color_pairs_auto_reset を参照)
term2rgb: ターミナル色 (0-255) を RGB 色に変換 term2rgb: ターミナル色 (0-255) を RGB 色に変換
rgb2term: RGB 色をターミナル色 (0-255) に変換 rgb2term: RGB 色をターミナル色 (0-255) に変換
@@ -254,7 +254,7 @@ expression: 評価する式、フォーマット、${variable} 型のフォー
式が NULL でない場合、空でない場合、"0" でない場合、式は "真" と評価されます。 式が NULL でない場合、空でない場合、"0" でない場合、式は "真" と評価されます。
両方の式が有効な整数である場合、比較は整数を使って行われます。 両方の式が有効な整数である場合、比較は整数を使って行われます。
文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例えば: 文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例:
50 > 100 ==> 0 50 > 100 ==> 0
"50" > "100" ==> 1 "50" > "100" ==> 1
@@ -936,7 +936,7 @@ scroll_unread: 未読マーカにスクロール
zoom: ウィンドウを拡大 zoom: ウィンドウを拡大
bare: 最小限表示を切り替える (自動的に標準表示モードに戻るまでの時間を秒単位で任意指定) bare: 最小限表示を切り替える (自動的に標準表示モードに戻るまでの時間を秒単位で任意指定)
splith と splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在のウィンドウサイズに対する割合で計算されます。例えば25 は size = current_size / 4 の新しいウィンドウを作成します。 splith と splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在のウィンドウサイズに対する割合で計算されます。例えば 25 は size = current_size / 4 の新しいウィンドウを作成します。
例: 例:
バッファ #1 を表示しているウィンドウに移動: バッファ #1 を表示しているウィンドウに移動:
+1 -1
View File
@@ -104,7 +104,7 @@
** 値: 0 .. 256 (デフォルト値: `20`) ** 値: 0 .. 256 (デフォルト値: `20`)
* [[option_xfer.look.pv_tags]] *xfer.look.pv_tags* * [[option_xfer.look.pv_tags]] *xfer.look.pv_tags*
** 説明: `プライベートメッセージに使われたタグのコンマ区切りリスト、例えば: "notify_message"、"notify_private"、"notify_highlight"` ** 説明: `プライベートメッセージに使われたタグのコンマ区切りリスト、例: "notify_message"、"notify_private"、"notify_highlight"`
** タイプ: 文字列 ** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"notify_private"`) ** 値: 未制約文字列 (デフォルト値: `"notify_private"`)
+6
View File
@@ -51,6 +51,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf:: $HOME/.weechat/plugins.conf::
プラグイン設定ファイル プラグイン設定ファイル
$HOME/.weechat/sec.conf::
保護されたデータを含む設定ファイル
$HOME/.weechat/alias.conf:: $HOME/.weechat/alias.conf::
'alias' プラグイン用の設定ファイル 'alias' プラグイン用の設定ファイル
@@ -60,6 +63,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf:: $HOME/.weechat/charset.conf::
'charset' プラグイン用の設定ファイル 'charset' プラグイン用の設定ファイル
$HOME/.weechat/exec.conf::
'exec' プラグイン用の設定ファイル
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
'irc' プラグイン用の設定ファイル 'irc' プラグイン用の設定ファイル
+13 -11
View File
@@ -290,17 +290,19 @@ WeeChat "core" は以下のディレクトリに配置されています:
[width="100%",cols="1v,5",options="header"] [width="100%",cols="1v,5",options="header"]
|=== |===
| パス/ファイル名 | 説明 | パス/ファイル名 | 説明
| tests/ | テストのルートディレクトリ | tests/ | テストのルートディレクトリ
| unit/ | 単体テストのルートディレクトリ | tests.cpp | テスト実行に使うプログラム
| test-eval.cpp | テスト: 式の評価 | unit/ | 単体テスト用のルートディレクトリ
| test-hashtble.cpp | テスト: ハッシュテーブル | core/ | core 向け単体テスト用のルートディレクトリ
| test-hdata.cpp | テスト: hdata | test-eval.cpp | テスト: 式の評価
| test-infolist.cpp | テスト: インフォリスト | test-hashtble.cpp | テスト: ハッシュテーブル
| test-list.cpp | テスト: リスト | test-hdata.cpp | テスト: hdata
| test-string.cpp | テスト: 文字列 | test-infolist.cpp | テスト: インフォリスト
| test-url.cpp | テスト: URL | test-list.cpp | テスト: リスト
| test-utf8.cpp | テスト: UTF-8 | test-string.cpp | テスト: 文字列
| test-util.cpp | テスト: ユーティリティ関数 | test-url.cpp | テスト: URL
| test-utf8.cpp | テスト: UTF-8
| test-util.cpp | テスト: ユーティリティ関数
|=== |===
[[documentation_translations]] [[documentation_translations]]
+7
View File
@@ -3808,7 +3808,14 @@ my_free_value_cb (struct t_hashtable *hashtable, const void *key, void *value)
/* ... */ /* ... */
} }
void
my_free_key_cb (struct t_hashtable *hashtable, void *key)
{
/* ... */
}
weechat_hashtable_set_pointer (hashtable, "callback_free_value", &my_free_value_cb); weechat_hashtable_set_pointer (hashtable, "callback_free_value", &my_free_value_cb);
weechat_hashtable_set_pointer (hashtable, "callback_free_key", &my_free_key_cb);
---- ----
[NOTE] [NOTE]
+13 -13
View File
@@ -10,7 +10,7 @@
| aspell | aspell_langs | lista wszystkich języków wspieranych przez aspell | aspell | aspell_langs | lista wszystkich języków wspieranych przez aspell
| exec | exec_commands_ids | ids (numbers and names) of executed commands | exec | exec_commands_ids | id (numery i nazwy) wykonywanych komend
| guile | guile_script | lista skryptów | guile | guile_script | lista skryptów
@@ -70,25 +70,25 @@
| tcl | tcl_script | lista skryptów | tcl | tcl_script | lista skryptów
| trigger | trigger_hook_arguments | default arguments for a hook | trigger | trigger_hook_arguments | domyślne argumenty dla hooka
| trigger | trigger_hook_command | default command for a hook | trigger | trigger_hook_command | domyślna komenda dla hooka
| trigger | trigger_hook_conditions | default conditions for a hook | trigger | trigger_hook_conditions | domyślne warunki dla hooka
| trigger | trigger_hook_rc | default return codes for hook callback | trigger | trigger_hook_rc | domyślny kod powrotu dla callbacka hooka
| trigger | trigger_hook_regex | default regular expression for a hook | trigger | trigger_hook_regex | domyślne wyrażenie regularne dla uchwytu
| trigger | trigger_hooks | hooks for triggers | trigger | trigger_hooks | hooki dla triggerów
| trigger | trigger_hooks_filter | hooks for triggers (for filter in monitor buffer) | trigger | trigger_hooks_filter | uchwyty dla triggerów (dla filtrowania w buforze monitora)
| trigger | trigger_names | triggers | trigger | trigger_names | triggery
| trigger | trigger_option_value | value of a trigger option | trigger | trigger_option_value | wartość opcji triggera
| trigger | trigger_options | options for triggers | trigger | trigger_options | opcje dla triggerów
| weechat | bars_names | nazwy pasków | weechat | bars_names | nazwy pasków
@@ -114,9 +114,9 @@
| weechat | cursor_areas | obszary ("chat" albo nazwa paska) dla wolnego przemieszczania się kursora | weechat | cursor_areas | obszary ("chat" albo nazwa paska) dla wolnego przemieszczania się kursora
| weechat | env_value | value of an environment variable | weechat | env_value | wartość zmiennej środowiskowej
| weechat | env_vars | environment variables | weechat | env_vars | zmienne środowiskowe
| weechat | filename | nazwa pliku | weechat | filename | nazwa pliku
+19 -19
View File
@@ -2,51 +2,51 @@
|=== |===
| Wtyczka | Nazwa | Opis | Wskaźnik | Argumenty | Wtyczka | Nazwa | Opis | Wskaźnik | Argumenty
| alias | alias | lista aliasów | wskaźnik aliasu (opcjonalny) | alias name (wildcard "*" is allowed) (optional) | alias | alias | lista aliasów | wskaźnik aliasu (opcjonalny) | nazwa aliasu (wildcard "*" jest dozwolony) (opcjonalne)
| guile | guile_script | lista skryptów | wskaźnik skryptu (opcjonalne) | script name (wildcard "*" is allowed) (optional) | guile | guile_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu (wildcard "*" jest dozwolony) (opcjonalne)
| irc | irc_channel | lista kanałów IRC | wskaźnik kanału (opcjonalne) | serwer,kanał (kanał jest opcjonalny) | irc | irc_channel | lista kanałów IRC | wskaźnik kanału (opcjonalne) | serwer,kanał (kanał jest opcjonalny)
| irc | irc_ignore | lista ignorów IRC | wskaźnik ignorowania (opcjonalne) | - | irc | irc_ignore | lista ignorów IRC | wskaźnik ignorowania (opcjonalne) | -
| irc | irc_nick | lista nicków na kanale IRC | wskaźnik nicka (opcjonalne) | server,channel,nick (nick is optional) | irc | irc_nick | lista nicków na kanale IRC | wskaźnik nicka (opcjonalne) | serwer,kanał,nick (nick jest opcjonalny)
| irc | irc_notify | lista powiadomień | wskaźnik powiadomienia (opcjonalne) | server name (wildcard "*" is allowed) (optional) | irc | irc_notify | lista powiadomień | wskaźnik powiadomienia (opcjonalne) | nazwa serwera (wildcard "*" jest dozwolony) (opcjonalne)
| irc | irc_server | lista serwerów IRC | wskaźnik serwera (opcjonalny) | server name (wildcard "*" is allowed) (optional) | irc | irc_server | lista serwerów IRC | wskaźnik serwera (opcjonalny) | nazwa serwera (wildcard "*" jest dozwolony) (opcjonalne)
| logger | logger_buffer | lista logowanych buforów | wskaźnik logger (opcjonalny) | - | logger | logger_buffer | lista logowanych buforów | wskaźnik logger (opcjonalny) | -
| lua | lua_script | lista skryptów | wskaźnik skryptu (opcjonalne) | script name (wildcard "*" is allowed) (optional) | lua | lua_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu (wildcard "*" jest dozwolony) (opcjonalne)
| perl | perl_script | lista skryptów | wskaźnik skryptu (opcjonalne) | script name (wildcard "*" is allowed) (optional) | perl | perl_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu (wildcard "*" jest dozwolony) (opcjonalne)
| python | python_script | lista skryptów | wskaźnik skryptu (opcjonalne) | script name (wildcard "*" is allowed) (optional) | python | python_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu (wildcard "*" jest dozwolony) (opcjonalne)
| relay | relay | lista zdalnych klientów | wskaźnik relay (opcjonalny) | - | relay | relay | lista zdalnych klientów | wskaźnik relay (opcjonalny) | -
| ruby | ruby_script | lista skryptów | wskaźnik skryptu (opcjonalne) | script name (wildcard "*" is allowed) (optional) | ruby | ruby_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu (wildcard "*" jest dozwolony) (opcjonalne)
| script | script_script | lista skryptów | wskaźnik skryptu (opcjonalne) | script name with extension (wildcard "*" is allowed) (optional) | script | script_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu z rozszerzeniem (wildcard "*" jest dozwolony) (opcjonalne)"
| tcl | tcl_script | lista skryptów | wskaźnik skryptu (opcjonalne) | script name (wildcard "*" is allowed) (optional) | tcl | tcl_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu (wildcard "*" jest dozwolony) (opcjonalne)
| weechat | bar | lista pasków | wskaźnik paska (opcjonalne) | bar name (wildcard "*" is allowed) (optional) | weechat | bar | lista pasków | wskaźnik paska (opcjonalne) | nazwa paska (wildcard "*" jest dozwolony) (opcjonalne)
| weechat | bar_item | lista elementów pasków | wskaźnik elementu paska (opcjonalne) | bar item name (wildcard "*" is allowed) (optional) | weechat | bar_item | lista elementów pasków | wskaźnik elementu paska (opcjonalne) | nazwa elementu paska (wildcard "*" jest dozwolony) (opcjonalne)
| weechat | bar_window | lista pasków okien | wskaźnik paska okna (opcjonalne) | - | weechat | bar_window | lista pasków okien | wskaźnik paska okna (opcjonalne) | -
| weechat | buffer | lista buforów | wskaźnik bufora (opcjonalne) | buffer name (wildcard "*" is allowed) (optional) | weechat | buffer | lista buforów | wskaźnik bufora (opcjonalne) | nazwa bufora (wildcard "*" jest dozwolony) (opcjonalne)
| weechat | buffer_lines | linie w buforze | wskaźnik bufora | - | weechat | buffer_lines | linie w buforze | wskaźnik bufora | -
| weechat | filter | lista filtrów | - | filter name (wildcard "*" is allowed) (optional) | weechat | filter | lista filtrów | - | nazwa filtru (wildcard "*" jest dozwolony) (opcjonalne)
| weechat | history | historia komend | wskaźnik bufora (jeśli nie ustawiony, zwraca globalną historię) (opcjonalne) | - | weechat | history | historia komend | wskaźnik bufora (jeśli nie ustawiony, zwraca globalną historię) (opcjonalne) | -
| weechat | hook | lista powiązań | wskaźnik uchwytu (opcjonalne) | type,arguments (type is command/timer/.., arguments to get only some hooks (wildcard "*" is allowed), both are optional) | weechat | hook | lista powiązań | wskaźnik uchwytu (opcjonalne) | typ,argumenty (typ to komenda/timer/.., argumenty do uzyskania tylko niektórych hooków (wildcard "*" jest dozwolony), oba są opcjonalne)
| weechat | hotlist | lista buforów w hotliście | - | - | weechat | hotlist | lista buforów w hotliście | - | -
@@ -56,11 +56,11 @@
| weechat | nicklist | nicki na liście nicków bufora | wskaźnik bufora | nick_xxx lub group_xxx w celu pozyskania tylko nick/group xxx (opcjonalne) | weechat | nicklist | nicki na liście nicków bufora | wskaźnik bufora | nick_xxx lub group_xxx w celu pozyskania tylko nick/group xxx (opcjonalne)
| weechat | option | lista opcji | - | option name (wildcard "*" is allowed) (optional) | weechat | option | lista opcji | - | nazwa opcji (wildcard "*" jest dozwolony) (opcjonalne)
| weechat | plugin | lista wtyczek | wskaźnik wtyczki (opcjonalne) | plugin name (wildcard "*" is allowed) (optional) | weechat | plugin | lista wtyczek | wskaźnik wtyczki (opcjonalne) | nazwa wtyczki (wildcard "*" jest dozwolony) (opcjonalne)
| weechat | proxy | lista pośredników | wskaźnik pośrednika (opcjonalny) | proxy name (wildcard "*" is allowed) (optional) | weechat | proxy | lista pośredników | wskaźnik pośrednika (opcjonalny) | nazwa pośrednika (wildcard "*" jest dozwolony) (opcjonalne)
| weechat | url_options | opcje dla URLi | - | - | weechat | url_options | opcje dla URLi | - | -
+4 -4
View File
@@ -26,17 +26,17 @@
| python | python2_bin | ścieżka do interpretera pythona 2.x | - | python | python2_bin | ścieżka do interpretera pythona 2.x | -
| relay | relay_client_count | number of clients for relay | status name (optional): connecting, waiting_auth, connected, auth_failed, disconnected | relay | relay_client_count | liczba podłączonych klientów | nazwa statusu (opcjonalne): łączenie, oczekiwanie na uwierzytelnienie, połączono, uwierzytelnienie nieudane, rozłączono
| weechat | charset_internal | wewnętrzne kodowanie WeeChat | - | weechat | charset_internal | wewnętrzne kodowanie WeeChat | -
| weechat | charset_terminal | kodowanie terminala | - | weechat | charset_terminal | kodowanie terminala | -
| weechat | color_ansi_regex | POSIX extended regular expression to search ANSI escape codes | - | weechat | color_ansi_regex | Rozszerzone wyrażenia regularne POSIX do wyszukiwania kodów escapującyhc ANSI | -
| weechat | color_rgb2term | RGB color converted to terminal color (0-255) | rgb,limit (limit is optional and is set to 256 by default) | weechat | color_rgb2term | kolor RGB skonwertowany na kolor terminala (0-255) | rgb,limit (limit jest opcjonalny i ustawiony domyślnie na 256)
| weechat | color_term2rgb | terminal color (0-255) converted to RGB color | color (terminal color: 0-255) | weechat | color_term2rgb | kolor terminala (0-255) skonwertowany na kolor RGB | kolor (kolor terminala: 0-255)
| weechat | cursor_mode | 1 jeśli tryb kursora jest aktywny | - | weechat | cursor_mode | 1 jeśli tryb kursora jest aktywny | -
+19 -19
View File
@@ -4,31 +4,31 @@
---- ----
/alias [-completion <dopełnienie>] <alias> [<komenda> [;<komenda>...]] /alias [-completion <dopełnienie>] <alias> [<komenda> [;<komenda>...]]
completion: completion for alias (optional, by default completion is done with target command) completion: dopełnienie dla aliasu (opcjonalne, domyślnie dopełnienie wykonuje się z docelową komendą)
note: you can use %%command to use completion of an existing command uwaga: można użyć %%komenda w celu użycia dopełnień dla istniejących komend
alias: name of alias (wildcard "*" is allowed) alias: nazwa aliasu (wildcard "*" jest dozwolony)
command: command name with arguments (many commands can be separated by semicolons) komenda: nazwa komendy (wiele komend można oddzielić za pomocą średnika)
Without argument, this command lists all defined alias. Bez podania argumentu komenda wyświetla listę wszystkich zdefiniowanych aliasów.
Note: in command, special variables are replaced: Ważne: dla komend specjalne zmienne są zastępowane odpowiednimi wartościami:
$n: argument 'n' (between 1 and 9) $n: argument 'n' (pomiędzy 1 i 9)
$-m: arguments from 1 to 'm' $-m: argumenty od 1 do 'm'
$n-: arguments from 'n' to last $n-: argumenty od 'n' do ostatniego
$n-m: arguments from 'n' to 'm' $n-m: argumenty od 'n' od 'm'
$*: all arguments $*: wszystkie argumenty
$~: last argument $~: ostatni argument
$var: where "var" is a local variable of buffer (see /buffer localvar) $var: gdzie "var" to zmienna lokalna buforu (zobacz /buffer localvar)
examples: $nick, $channel, $server, $plugin, $name przykłady: $nick, $channel, $server, $plugin, $name
To remove an alias, use command /unalias. Do usunięcia aliasu służy komenda /unalias.
Examples: Przykłady:
alias /split to split window horizontally: alias /split do poziomego podziału:
/alias split /window splith /alias split /window splith
alias /hello to say "hello" on all channels but not on #weechat: alias /hello pisze "hello" na wszystkich kanałach poza #weechat:
/alias hello /allchan -exclude=#weechat msg * hello /alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin: alias /forcejoin wysyłający komende IRC "forcejoin" z dopełnieniem dla /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin /alias -completion %%sajoin forcejoin /quote forcejoin
---- ----
+1 -1
View File
@@ -1,5 +1,5 @@
* [[option_charset.default.decode]] *charset.default.decode* * [[option_charset.default.decode]] *charset.default.decode*
** opis: `global decoding charset: charset used to decode incoming messages when they are not UTF-8 valid` ** opis: `globalne dekodowanie: kodowanie użyte do dekodowania przychodzących wiadomości, kiedy nie są one zgodne z UTF-8`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"iso-8859-1"`) ** wartości: dowolny ciąg (domyślna wartość: `"iso-8859-1"`)
+52 -52
View File
@@ -1,65 +1,65 @@
[[command_exec_exec]] [[command_exec_exec]]
[command]*`exec`* execute external commands:: [command]*`exec`* wykonywanie zewnętrznych komend::
---- ----
/exec -list /exec -list
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command> [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <nazwa>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <czas>] [-name <nazwa>] [-pipe <komenda>] [-hsignal <nazwa>] <komenda>
-in <id> <text> -in <id> <tekst>
-inclose <id> [<text>] -inclose <id> [<tekst>]
-signal <id> <signal> -signal <id> <sygnał>
-kill <id> -kill <id>
-killall -killall
-set <id> <property> <value> -set <id> <właściwość> <wartość>
-del <id>|-all [<id>...] -del <id>|-all [<id>...]
-list: list commands -list: lista komend
-sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe, see option -nosh) -sh: użyj powłoki do wykonania komendy (UWAGA: użyj tej opcji TYLKO jeśli wszystkie argumenty są bezpieczne, zobacz opcję -nosh)
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default) -nosh: nie używaj powłoki do wykonania komendy (wymagane jeśli komenda posiada niebezpieczne dane, na przykład zawartość wiadomości od innego użytkownika) (domyślne)
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-n) -bg: uruchom proces w tle: nie wyświetlaj wyjścia z procesu ani zwracanego kodu (nie kompatybilne z opcjami -o/-n)
-nobg: catch process output and display return code (default) -nobg: przechwyć całość wyjścia z procesu i wyświetl kod wyjścia (domyślne)
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose) -stdin: tworzy strumień do wysyłania danych do procesu (za pomocą /exec -in/-inclose)
-nostdin: do not create a pipe for stdin (default) -nostdin: nie twórz strumienia dla stdin (domyślne)
-buffer: display/send output of command on this buffer (if the buffer is not found, a new buffer with name "exec.exec.xxx" is created) -buffer: wyświetl/wyślij wyjście komendy do tego bufora (jeśli bufor nie zostanie znaleziony zostanie utworzony nowy bufor o nazwie "exec.exec.xxx")
-l: display locally output of command on buffer (default) -l: wyświetl lokalnie wyście z komendy w buforze (domyślne)
-o: send output of command to the buffer (not compatible with option -bg) -o: wyślij wyjście z komendy do bufora (nie kompatybilne z opcją -bg)
-n: display output of command in a new buffer (not compatible with option -bg) -n: wyświetl wyjście komendy w nowym buforze (nie kompatybilne z opcją -bg)
-nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with option -bg) -nf: wyświetl wyjście komendy w nowym buforze z wolna zawartością (brak zawijania słów, bez limitu ilości linii) (nie kompatybilne z opcją -bg)
-cl: clear the new buffer before displaying output -cl: wyczyść nowy bufor przed wyświetleniem wyjścia
-nocl: append to the new buffer without clear (default) -nocl: dodaj do nowego bufora bez czyszczenia zawartości (domyślne)
-sw: switch to the output buffer (default) -sw: przełącz na bufor wyjściowy (domyślne)
-nosw: don't switch to the output buffer -nosw: nie przełączaj na bufor wyjściowy
-ln: display line numbers (default in new buffer only) -ln: wyświetl numery linii (domyślne tylko w nowym buforze)
-noln: don't display line numbers -noln: nie wyświetlaj numerów linii
-flush: display output of command in real time (default) -flush: wyświetl wyjście z komendy w czasie rzeczywistym (domyślne)
-noflush: display output of command after its end -noflush: wyświetl wyjście z komendy po jej zakończeniu
-color: action on ANSI colors in output: -color: akcja na kolorach ANSI w wyjściu:
ansi: keep ANSI codes as-is ansi: zachowaj kody ANSI
auto: convert ANSI colors to WeeChat/IRC (default) auto: konwertuj kolory ANSI na WeeChat/IRC (domyślne)
irc: convert ANSI colors to IRC colors irc: konwertuj kolory ANSI na kolory IRC
weechat: convert ANSI colors to WeeChat colors weechat: konwertuj kolory ANSI na kolory WeeChat
strip: remove ANSI colors strip: usuń kolory ANSI
-rc: display return code (default) -rc: wyświetl kod wyjścia (domyślne)
-norc: don't display return code -norc: nie wyświetlaj kodu wyjścia
-timeout: set a timeout for the command (in seconds) -timeout: ustaw timeout dla komendy (w sekundach)
-name: set a name for the command (to name it later with /exec) -name: ustaw nazwę dla komendy (do wywołania później za pomocą /exec)
-pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-n) -pipe: wyślij wyjście do WeeChat/wtyczki (linia po linii); jeśli występują spacje w komendzie/argumentach, otocz je cudzysłowem; zmienna $line jest zastępowana przez linie (domyślnie linia jest dodawana za komendą, oddzielona spac) (nie kompatybilne z opcjami -bg/-o/-n)
-hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-n) -hsignal: wyślij wyjście jako hsignal (w celu użycia na przykład w triggerze) (nie kompatybilne z opcjami -bg/-o/-n)
command: the command to execute; if beginning with "url:", the shell is disabled and the content of URL is downloaded and sent as output komenda: komenda do wykonania; jeśli zaczyna się od "url:", powłoka jest wyłączana i zawartość URLa jest pobierana i wysyłana jako wyjście
id: command identifier: either its number or name (if set with "-name xxx") id: identyfikator komendy: numer lub nazwa (jeśli ustawiona przez "-name xxx")
-in: send text on standard input of process -in: wyślij tekst na standardowe wejście procesu
-inclose: same as -in, but stdin is closed after (and text is optional: without text, the stdin is just closed) -inclose: to samo co -in, ale stdin jest zamykane (tekst jest opcjonalny: bez niego stdin jest po prostu zamykane)
-signal: send a signal to the process; the signal can be an integer or one of these names: hup, int, quit, kill, term, usr1, usr2 -signal: wysyła sygnał do procesu; sygnał może być liczbą całkowitą lub jedna z nazw: hup, int, quit, kill, term, usr1, usr2
-kill: alias of "-signal <id> kill" -kill: alias dla "-signal <id> kill"
-killall: kill all running processes -killall: zabija wszystkie działające procesy
-set: set a hook property (see function hook_set in plugin API reference) -set: ustawia przypisaną właściwość (zobacz funkcję hook_set w opisie API wtyczek)
property: hook property właściwość: przypisana właściwość
value: new value for hook property wartość: nowa wartość
-del: delete a terminated command -del: usuń zakończoną komendę
-all: delete all terminated commands -all: usuń wszystkie zakończone komendy
Default options can be set in the option exec.command.default_options. Domyślne opcje moga być ustawione za pomocą opcji exec.command.default_options.
Examples: Przykłady:
/exec -n ls -l /tmp /exec -n ls -l /tmp
/exec -n ps xu | grep weechat /exec -n ps xu | grep weechat
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx
+4 -4
View File
@@ -1,20 +1,20 @@
* [[option_exec.color.flag_finished]] *exec.color.flag_finished* * [[option_exec.color.flag_finished]] *exec.color.flag_finished*
** opis: `text color for a finished command flag in list of commands` ** opis: `kolor tekstu dla flagi zakończonej komendy na liście komend`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightred`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightred`)
* [[option_exec.color.flag_running]] *exec.color.flag_running* * [[option_exec.color.flag_running]] *exec.color.flag_running*
** opis: `text color for a running command flag in list of commands` ** opis: `kolor dla flagi wykonywanej komendy na liście komend`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightgreen`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightgreen`)
* [[option_exec.command.default_options]] *exec.command.default_options* * [[option_exec.command.default_options]] *exec.command.default_options*
** opis: `default options for command /exec (see /help exec); example: "-nosh -bg" to run all commands in background (no output), and without using the shell` ** opis: `domyślne opcje dla komendy /exec (zobacz /help exec): przykład: "-nosh -bg" uruchomi wszystkie komendy w tle (brak wyjścia) i bez używania powłoki`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[option_exec.command.purge_delay]] *exec.command.purge_delay* * [[option_exec.command.purge_delay]] *exec.command.purge_delay*
** opis: `delay for purging finished commands (in seconds, 0 = purge commands immediately, -1 = never purge)` ** opis: `opóźnienie dla kasowania zakończonych komend (w sekundach, 0 = natychmiast, -1 = nigdy)`
** typ: liczba ** typ: liczba
** wartości: -1 .. 25920000 (domyślna wartość: `0`) ** wartości: -1 .. 25920000 (domyślna wartość: `0`)
+102 -102
View File
@@ -13,39 +13,39 @@ cel: nazwa serwera
---- ----
/allchan [-current] [-exclude=<kanał>[,<kanał>...]] <komenda> [<argumenty>] /allchan [-current] [-exclude=<kanał>[,<kanał>...]] <komenda> [<argumenty>]
-current: execute command for channels of current server only -current: wykonuje komendę tylko na kanałach obecnego serwera
-exclude: exclude some channels (wildcard "*" is allowed) -exclude: wyklucza niektóre kanały (wildcard "*" jest dozwolony)
command: command to execute komenda: komenda do wykonania
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value) argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
Examples: Przykłady:
execute '/me is testing' on all channels: wykonuje '/me testuje' na wszystkich kanałach:
/allchan me is testing /allchan me testuje
say 'hello' everywhere but not on #weechat: mówi 'witam' wszędzie tylko nie na #weechat:
/allchan -exclude=#weechat msg * hello /allchan -exclude=#weechat msg * witam
say 'hello' everywhere but not on #weechat and channels beginning with #linux: mówi 'witam' wszędzie poza #weechat oraz kanałami zaczynającymi się od #linux:
/allchan -exclude=#weechat,#linux* msg * hello /allchan -exclude=#weechat,#linux* msg * witam
---- ----
[[command_irc_allpv]] [[command_irc_allpv]]
[command]*`allpv`* execute a command on all private buffers of all connected servers:: [command]*`allpv`* wykonuje komendę na wszystkich prywatnych buforach wszystkich połączonych serwerów::
---- ----
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>] /allpv [-current] [-exclude=<nick>[,<nick>...]] <komenda> [<argumenty>]
-current: execute command for private buffers of current server only -current: wykonuje komendę tylko na prywatnych buforach obecnego serwera
-exclude: exclude some nicks (wildcard "*" is allowed) -exclude: wyklucza niektóre nicki (wildcard "*" jest dozwolony)
command: command to execute komenda: komenda do wykonania
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value) argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
Examples: Przykłady:
execute '/me is testing' on all private buffers: wykonuje '/me testuje' we wszystkich prywatnych buforach:
/allpv me is testing /allpv me is testing
say 'hello' everywhere but not for nick foo: wysyła wszędzie 'hello' tylko nie nickowi foo:
/allpv -exclude=foo msg * hello /allpv -exclude=foo msg * hello
say 'hello' everywhere but not for nick foo and nicks beginning with bar: wysyła wszędzie 'hello' tylko nie nickowi foo i nickom zaczynającym się od bar:
/allpv -exclude=foo,bar* msg * hello /allpv -exclude=foo,bar* msg * hello
close all private buffers: zamyka wszystkie prywatne bufory:
/allpv close /allpv close
---- ----
@@ -55,16 +55,16 @@ Examples:
---- ----
/allserv [-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>] /allserv [-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>]
-exclude: exclude some servers (wildcard "*" is allowed) -exclude: wyklucza niektóre serwery (wildcard "*" jest dozwolony)
command: command to execute komenda: komenda do wykonania
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value) argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
Examples: Przykłady:
change nick on all servers: zmienia nick na wszystkich serwerach:
/allserv nick newnick /allserv nick nowy_nick
set away on all servers: ustawia stan nieobecności na wszystkich serwerach:
/allserv away I'm away /allserv away Jestem nieobecny
do a whois on my nick on all servers: wykonuje whois na własnym nicku na wszystkich serwerach:
/allserv whois $nick /allserv whois $nick
---- ----
@@ -74,10 +74,10 @@ Examples:
---- ----
/ban [<kanał>] [<nick> [<nick>...]] /ban [<kanał>] [<nick> [<nick>...]]
channel: channel name kanał: nazwa kanału
nick: nick or host nick: nick lub host
Without argument, this command display ban list for current channel. Bez podania argumentu komenda wyświetla listę banów na obecnym kanale.
---- ----
[[command_irc_connect]] [[command_irc_connect]]
@@ -117,9 +117,9 @@ Przykłady:
---- ----
/ctcp <cel> <typ> [<argumenty>] /ctcp <cel> <typ> [<argumenty>]
target: nick or channel name to send CTCP to cel: nick albo kanał, na który wysłać CTCP
type: CTCP type (examples: "version", "ping", ..) typ: typ CTCP (przykłady: "version", "ping", ..)
arguments: arguments for CTCP argumenty: argumenty dla CTCP
---- ----
[[command_irc_cycle]] [[command_irc_cycle]]
@@ -128,8 +128,8 @@ arguments: arguments for CTCP
---- ----
/cycle [<kanał>[,<kanał>...]] [<wiadomość>] /cycle [<kanał>[,<kanał>...]] [<wiadomość>]
channel: channel name kanał: nazwa kanału
message: part message (displayed to other users) wiadomość: wiadomość pożegnalna (pokazywana innym użytkownikom)
---- ----
[[command_irc_dcc]] [[command_irc_dcc]]
@@ -140,12 +140,12 @@ message: part message (displayed to other users)
send <nick> <plik> send <nick> <plik>
nick: nick nick: nick
file: filename (on local host) plik: nazwa pliku (na lokalnym hoście)
Examples: Przykłady:
chat with nick "toto": rozmowa z użytkownikiem "toto":
/dcc chat toto /dcc chat toto
send file "/home/foo/bar.txt" to nick "toto": wyśle plik "/home/foo/bar.txt" użytkownikowi "toto":
/dcc send toto /home/foo/bar.txt /dcc send toto /home/foo/bar.txt
---- ----
@@ -155,8 +155,8 @@ Examples:
---- ----
/dehalfop <nick> [<nick>...] /dehalfop <nick> [<nick>...]
nick: nick or mask (wildcard "*" is allowed) nick: nick lub maska (wildcard "*" jest dozwolony)
*: remove channel half-operator status from everybody on channel except yourself *: zabiera status pół-operatora kanału wszystkim na kanale poza tobą
---- ----
[[command_irc_deop]] [[command_irc_deop]]
@@ -166,8 +166,8 @@ nick: nick or mask (wildcard "*" is allowed)
/deop <nick> [<nick>...] /deop <nick> [<nick>...]
* -yes * -yes
nick: nick or mask (wildcard "*" is allowed) nick: nick lub maska (wildcard "*" jest dozwolony)
*: remove channel operator status from everybody on channel except yourself *: zabiera status operatora kanału wszystkim na kanale poza tobą
---- ----
[[command_irc_devoice]] [[command_irc_devoice]]
@@ -177,8 +177,8 @@ nick: nick or mask (wildcard "*" is allowed)
/devoice <nick> [<nick>...] /devoice <nick> [<nick>...]
* -yes * -yes
nick: nick or mask (wildcard "*" is allowed) nick: nick lub maska (wildcard "*" jest dozwolony)
*: remove voice from everybody on channel *: odbiera głos wszystkim na kanale
---- ----
[[command_irc_die]] [[command_irc_die]]
@@ -196,10 +196,10 @@ cel: nazwa serwera
---- ----
/disconnect [<serwer>|-all|-pending [<powód>]] /disconnect [<serwer>|-all|-pending [<powód>]]
server: internal server name serwer: wewnętrzna nazwa serwera
-all: disconnect from all servers -all: rozłącza się ze wszystkimi serwerami
-pending: cancel auto-reconnection on servers currently reconnecting -pending: anuluje automatyczne łączenie dla serwerów ponownie łączących się
reason: reason for the "quit" powód: powód dla "quit"
---- ----
[[command_irc_halfop]] [[command_irc_halfop]]
@@ -209,8 +209,8 @@ cel: nazwa serwera
/halfop <nick> [<nick>...] /halfop <nick> [<nick>...]
* -yes * -yes
nick: nick or mask (wildcard "*" is allowed) nick: nick lub maska (wildcard "*" jest dozwolony)
*: give channel half-operator status to everybody on channel *: nadaje status pół-operatora kanału wszystkim na kanale
---- ----
[[command_irc_ignore]] [[command_irc_ignore]]
@@ -288,30 +288,30 @@ Przykłady:
---- ----
[[command_irc_kick]] [[command_irc_kick]]
[command]*`kick`* kick a user out of a channel:: [command]*`kick`* wyrzuca użytkownika z kanału::
---- ----
/kick [<kanał>] <nick> [<powód>] /kick [<kanał>] <nick> [<powód>]
channel: channel name kanał: nazwa kanału
nick: nick nick: nick
reason: reason (special variables $nick, $channel and $server are replaced by their value) powód: powód(specjalne zmienne jak $nick, $channel i $server są podmieniane na odpowiednie wartości)
---- ----
[[command_irc_kickban]] [[command_irc_kickban]]
[command]*`kickban`* kick a user out of a channel and ban the host:: [command]*`kickban`* wyrzuca użytkownika z kanału i banuje hosta::
---- ----
/kickban [<kanał>] <nick> [<powód>] /kickban [<kanał>] <nick> [<powód>]
channel: channel name kanał: nazwa kanału
nick: nick nick: nick
reason: reason (special variables $nick, $channel and $server are replaced by their value) powód: powód (specjalne zmienne jak $nick, $channel i $server są podmieniane na odpowiednie wartości)
It is possible to kick/ban with a mask, nick will be extracted from mask and replaced by "*". Możliwe jest kopanie/banowanie za pomocą maski, nick zostanie wyciągnięty z maski i zastąpiony "*".
Example: Przykład:
ban "*!*@host.com" and then kick "toto": zbanuje "*!*@host.com", następnie wykopie "toto":
/kickban toto!*@host.com /kickban toto!*@host.com
---- ----
@@ -319,7 +319,7 @@ Example:
[command]*`kill`* zamyka połączenie klient-serwer:: [command]*`kill`* zamyka połączenie klient-serwer::
---- ----
/kill <nick> [<reason>] /kill <nick> [<powód>]
nick: nick nick: nick
powód: powód powód: powód
@@ -461,9 +461,9 @@ nick: nowy nick
---- ----
/notice [-server <serwer>] <cel> <tekst> /notice [-server <serwer>] <cel> <tekst>
server: send to this server (internal name) serwer: wyślij do tego serwera (nazwa wewnętrzna)
target: nick or channel name cel: nick lub kanał
text: text to send tekst: wiadomość do wysłania
---- ----
[[command_irc_notify]] [[command_irc_notify]]
@@ -498,8 +498,8 @@ Przykłady:
/op <nick> [<nick>...] /op <nick> [<nick>...]
* -yes * -yes
nick: nick or mask (wildcard "*" is allowed) nick: nick lub maska (wildcard "*" jest dozwolony)
*: give channel operator status to everybody on channel *: nadaje status operatora kanału wszystkim na kanale
---- ----
[[command_irc_oper]] [[command_irc_oper]]
@@ -548,9 +548,9 @@ demon2: prześlij do tego demona
---- ----
/query [-server <serwer>] <nick>[,<nick>...] [<tekst>] /query [-server <serwer>] <nick>[,<nick>...] [<tekst>]
server: send to this server (internal name) serwer: wyślij do tego serwera (nazwa wewnętrzna)
nick: nick nick: nick
text: text to send tekst: wiadomość do wysłania
---- ----
[[command_irc_quiet]] [[command_irc_quiet]]
@@ -559,10 +559,10 @@ server: send to this server (internal name)
---- ----
/quiet [<kanał>] [<nick> [<nick>...]] /quiet [<kanał>] [<nick> [<nick>...]]
channel: channel name kanał: nazwa kanału
nick: nick or host nick: nazwa użytkownika lub host
Without argument, this command display quiet list for current channel. Bez podania argumentu komenda wyświetla listę uciszeń dla obecnego kanału.
---- ----
[[command_irc_quote]] [[command_irc_quote]]
@@ -582,10 +582,10 @@ serwer: wyślij do tego serwera (nazwa wewnętrzna)
/reconnect <serwer> [<serwer>...] [-nojoin] [-switch] /reconnect <serwer> [<serwer>...] [-nojoin] [-switch]
-all [-nojoin] [-switch] -all [-nojoin] [-switch]
server: server to reconnect (internal name) serwer: nazwa serwera do ponownego połączenia (wewnętrzna nazwa)
-all: reconnect to all servers -all: ponownie łączy się ze wszystkimi serwerami
-nojoin: do not join any channel (even if autojoin is enabled on server) -nojoin: nie wchodź na żadne kanały (nawet jeśli są zdefiniowane kanały do automatycznego wejścia dla serwera)
-switch: switch to next server address -switch: przełącza na kolejny adres serwera
---- ----
[[command_irc_rehash]] [[command_irc_rehash]]
@@ -598,14 +598,14 @@ opcje: dodatkowe opcje, dla niektórych serwerów
---- ----
[[command_irc_remove]] [[command_irc_remove]]
[command]*`remove`* force a user to leave a channel:: [command]*`remove`* zmusza użytkownika do opuszczenia kanału::
---- ----
/remove [<kanał>] <nick> [<powód>] /remove [<kanał>] <nick> [<powód>]
channel: channel name kanał: nazwa kanału
nick: nick nick: nick
reason: reason (special variables $nick, $channel and $server are replaced by their value) powód: powód(specjalne zmienne jak $nick, $channel i $server są podmieniane na odpowiednie wartości)
---- ----
[[command_irc_restart]] [[command_irc_restart]]
@@ -740,8 +740,8 @@ usługa: nazwa usługi
---- ----
/squit <serwer> <komentarz> /squit <serwer> <komentarz>
server: server name serwer: nazwa serwera
comment: comment komentarz: komentarz
---- ----
[[command_irc_stats]] [[command_irc_stats]]
@@ -780,9 +780,9 @@ cel: pobierz czas podanego serwera
---- ----
/topic [<kanał>] [<temat>|-delete] /topic [<kanał>] [<temat>|-delete]
channel: channel name kanał: nazwa kanału
topic: new topic temat: nowy temat kanału
-delete: delete channel topic -delete: kasuje temat kanału
---- ----
[[command_irc_trace]] [[command_irc_trace]]
@@ -800,18 +800,18 @@ cel: nazwa serwera
---- ----
/unban [<kanał>] <nick> [<nick> ...] /unban [<kanał>] <nick> [<nick> ...]
channel: channel name kanał: nazwa kanału
nick: nick or host nick: użytkownik lub host
---- ----
[[command_irc_unquiet]] [[command_irc_unquiet]]
[command]*`unquiet`* unquiet nicks or hosts:: [command]*`unquiet`* nicki albo hosty przestają być uciszone::
---- ----
/unquiet [<kanał>] <nick> [<nick> ...] /unquiet [<kanał>] <nick> [<nick> ...]
channel: channel name kanał: nazwa kanału
nick: nick or host nick: użytkownik lub host
---- ----
[[command_irc_userhost]] [[command_irc_userhost]]
@@ -848,8 +848,8 @@ serwer: nazwa serwera
---- ----
/voice <nick> [<nick>...] /voice <nick> [<nick>...]
nick: nick or mask (wildcard "*" is allowed) nick: nick lub maska (wildcard "*" jest dozwolony)
*: give voice to everybody on channel *: daje głos każdemu na kanale
---- ----
[[command_irc_wallchops]] [[command_irc_wallchops]]
@@ -887,14 +887,14 @@ maska: tylko informacje pasujące do maski
---- ----
/whois [<serwer>] [<nick>[,<nick>...]] /whois [<serwer>] [<nick>[,<nick>...]]
server: server name serwer: nazwa serwera
nick: nick (may be a mask) nick: nick (może być maska)
Without argument, this command will do a whois on: Bez argumentu, komenda ta wykona whois na:
- your own nick if buffer is a server/channel - twoim własnym nicki, jeśli bufor to serwer/kanał
- remote nick if buffer is a private. - zdalnym nicku, jeśli bufor to rozmowa prywatna.
If option irc.network.whois_double_nick is enabled, two nicks are sent (if only one nick is given), to get idle time in answer. Jeśli opcja irc.network.whois_double_nick jest włączona, wysyłane są dwa nicki (jeśli został podany tylko jeden), aby uzyskać czas bezczynności w odpowiedzi.
---- ----
[[command_irc_whowas]] [[command_irc_whowas]]
@@ -904,7 +904,7 @@ If option irc.network.whois_double_nick is enabled, two nicks are sent (if only
/whowas <nick>[,<nick>...] [<ilość> [<cel>]] /whowas <nick>[,<nick>...] [<ilość> [<cel>]]
nick: nick nick: nick
count: number of replies to return (full search if negative number) ilość: ilość zwracanych odpowiedzi (pełne wyszukiwanie dla numerów ujemnych)
target: reply should match this mask cel: odpowiedź powinna pasować do maski
---- ----
+14 -14
View File
@@ -24,7 +24,7 @@
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `yellow`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `yellow`)
* [[option_irc.color.item_nick_modes]] *irc.color.item_nick_modes* * [[option_irc.color.item_nick_modes]] *irc.color.item_nick_modes*
** opis: `color for nick modes in bar item "input_prompt"` ** opis: `kolor dla atrybutów nicka w elemencie paska "input_prompt"`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `default`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `default`)
@@ -39,7 +39,7 @@
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `red`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `red`)
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap* * [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
** opis: `remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, 15=white` ** opis: `zamień kolory mirca w wiadomościach używając tablicy hashy: klucze to "fg,bg" przyjmują one wartości pomiędzy -1 (nie określono) a 15, wartości to nazwy lub numery kolorów WeeChat (format: "1,-1:kolor1;2,7:kolor2"), przykład: "1,-1:darkgray;1,2:white,blue" w celu przemapowania czarnego na "darkgray" oraz czarnego na niebieskim tle na "white,blue"; domyślne kolory WeeChat dla kodów IRC: 0-=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=gray, 15=white`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"1,-1:darkgray"`) ** wartości: dowolny ciąg (domyślna wartość: `"1,-1:darkgray"`)
@@ -139,7 +139,7 @@
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message* * [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** opis: `comma-separated list of messages to display after joining a channel: 324 = channel modes, 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 353 = names on channel, 366 = names count` ** opis: `oddzielona przecinkami lista wiadomości wyświetlanych po wejściu na kanał: 324 = atrybuty kanału, 329 = data utworzenia, 332 = temat, 333 = autor/data tematu, 353 = osoby na kanale, 366 = ilość osób na kanale`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"329,332,333,366"`) ** wartości: dowolny ciąg (domyślna wartość: `"329,332,333,366"`)
@@ -174,7 +174,7 @@
** wartości: dowolny ciąg (domyślna wartość: `"$nick"`) ** wartości: dowolny ciąg (domyślna wartość: `"$nick"`)
* [[option_irc.look.highlight_tags_restrict]] *irc.look.highlight_tags_restrict* * [[option_irc.look.highlight_tags_restrict]] *irc.look.highlight_tags_restrict*
** opis: `restrict highlights to these tags on irc buffers (to have highlight on user messages but not server messages); tags must be separated by a comma and "+" can be used to make a logical "and" between tags; wildcard "*" is allowed in tags; an empty value allows highlight on any tag` ** opis: `ogranicza podświetlenia do tych tagów w buforach irc (żeby mieć podświetlenia tylko od wiadomości użytkowników ale nie serwera); tagi muszą być oddzielone przecinkami, "+" może zostać użyty w celu uzyskania logicznego "i" pomiędzy tagami; wildcard "*" jest dozwolony w tagach; pusta wartość zezwala na podświetlenia przez dowolny tag`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"irc_privmsg,irc_notice"`) ** wartości: dowolny ciąg (domyślna wartość: `"irc_privmsg,irc_notice"`)
@@ -184,7 +184,7 @@
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
* [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args* * [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args*
** opis: `hide channel modes arguments if at least one of these modes is in channel modes ("*" to always hide all arguments, empty value to never hide arguments); example: "kf" to hide arguments if "k" or "f" are in channel modes` ** opis: `ukryj atrybuty trybów kanałów jeśli przynajmniej jeden z tych trybów jest ustawiony ("*" zawsze ukrywaj argumenty, pusta wartość - nigdy nie ukrywaj); przykład: "kf" dla ukrycia argumentów, jeśli ustawiony jest tryb "k" lub "f"`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"k"`) ** wartości: dowolny ciąg (domyślna wartość: `"k"`)
@@ -194,17 +194,17 @@
** wartości: buffer_plugin, buffer_name (domyślna wartość: `buffer_plugin`) ** wartości: buffer_plugin, buffer_name (domyślna wartość: `buffer_plugin`)
* [[option_irc.look.item_nick_modes]] *irc.look.item_nick_modes* * [[option_irc.look.item_nick_modes]] *irc.look.item_nick_modes*
** opis: `display nick modes in bar item "input_prompt"` ** opis: `wyświetlaj tryby nicka w elemencie paska "input_prompt"`
** typ: bool ** typ: bool
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
* [[option_irc.look.item_nick_prefix]] *irc.look.item_nick_prefix* * [[option_irc.look.item_nick_prefix]] *irc.look.item_nick_prefix*
** opis: `display nick prefix in bar item "input_prompt"` ** opis: `wyświetlaj przedrostek nicka w elemencie paska "input_prompt"`
** typ: bool ** typ: bool
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
* [[option_irc.look.join_auto_add_chantype]] *irc.look.join_auto_add_chantype* * [[option_irc.look.join_auto_add_chantype]] *irc.look.join_auto_add_chantype*
** opis: `automatically add channel type in front of channel name on command /join if the channel name does not start with a valid channel type for the server; for example: "/join weechat" will in fact send: "/join #weechat"` ** opis: `automatycznie dodawaj typ kanału z przodu nazwy kanału dla komendy /join jeśli nazwa kanału nie zaczyna się od poprawnego typu kanału na serwerze; na przykład: "/join weechat" zostanie wysłane jako: "/join #weechat"`
** typ: bool ** typ: bool
** wartości: on, off (domyślna wartość: `off`) ** wartości: on, off (domyślna wartość: `off`)
@@ -329,7 +329,7 @@
** wartości: 0 .. 10080 (domyślna wartość: `30`) ** wartości: 0 .. 10080 (domyślna wartość: `30`)
* [[option_irc.look.smart_filter_mode]] *irc.look.smart_filter_mode* * [[option_irc.look.smart_filter_mode]] *irc.look.smart_filter_mode*
** opis: `enable smart filter for "mode" messages: "*" to filter all modes, "+" to filter all modes in server prefixes (for example "ovh"), "xyz" to filter only modes x/y/z, "-xyz" to filter all modes but not x/y/z; examples: "ovh": filter modes o/v/h, "-bkl": filter all modes but not b/k/l` ** opis: `włącz inteligentny filtr dla wiadomości "mode": "*" filtruje wszystkie tryby, "+" filtruje wszystkie tryby w prefiksach serwera (na przykład "ovh"), "xyz" filtruje tylko tryby x/y/z, "-xyz" filtruje wszystkie tryby poza x/y/z; przykład: "ovh": filtruje tryby o/v/h, "-bkl" filtruje wszystkie tryby poza b/k/l`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"+"`) ** wartości: dowolny ciąg (domyślna wartość: `"+"`)
@@ -364,7 +364,7 @@
** wartości: 0 .. 604800 (domyślna wartość: `600`) ** wartości: 0 .. 604800 (domyślna wartość: `600`)
* [[option_irc.network.ban_mask_default]] *irc.network.ban_mask_default* * [[option_irc.network.ban_mask_default]] *irc.network.ban_mask_default*
** opis: `default ban mask for commands /ban, /unban and /kickban; variables $nick, $user, $ident and $host are replaced by their values (extracted from "nick!user@host"); $ident is the same as $user if $user does not start with "~", otherwise it is set to "*"; this default mask is used only if WeeChat knows the host for the nick` ** opis: `domyślna maska dla bana dla komend /ban, /unban i /kickban; zmienne $nick, $user, $ident i $host są zastępowane odpowiednimi wartościami (pobranymi z "nick!user@host"); $ident jest taki sam jak $user, jeśli $user nie zaczyna się od "~", w przeciwnym wypadku jest ustawiany na "*"; domyślna maska używana jest tylko, kiedy WeeChat zna nazwę hosta dla nicka`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"*!$ident@$host"`) ** wartości: dowolny ciąg (domyślna wartość: `"*!$ident@$host"`)
@@ -479,7 +479,7 @@
** wartości: 0 .. 1000000 (domyślna wartość: `25`) ** wartości: 0 .. 1000000 (domyślna wartość: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities* * [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** opis: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: multi-prefix, userhost-in-names, away-notify (example: "multi-prefix,userhost-in-names,away-notify")` ** opis: `oddzielona przecinkami lista opcji klienta do włączenia dla serwera, jeśli są dostępne; opcje wspierane przez WeeChat: away-notify, multi-prefix, server-time, userhost-in-names (przykład: "away-notify,multi-prefix")`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
@@ -544,7 +544,7 @@
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[option_irc.server_default.realname]] *irc.server_default.realname* * [[option_irc.server_default.realname]] *irc.server_default.realname*
** opis: `real name to use on server (note: content is evaluated, see /help eval)` ** opis: `prawdziwa nazwa do użycia na serwerze (uwaga: zawartość jest przetwarzana, zobacz /help eval)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
@@ -584,7 +584,7 @@
** wartości: 0 .. 2147483647 (domyślna wartość: `2048`) ** wartości: 0 .. 2147483647 (domyślna wartość: `2048`)
* [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint* * [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint*
** opis: `SHA1 fingerprint of certificate which is trusted and accepted for the server (it must be exactly 40 hexadecimal digits without separators); many fingerprints can be separated by commas; if this option is set, the other checks on certificates are NOT performed (option "ssl_verify")` ** opis: `skrót SHA1 certyfikatu, który jest zaufany i akceptowany dla serwera (dokładnie 40 znaków heksadecymalnych bez separatorów); wiele skrótów można oddzielić przecinkami; jeśli ta opcja jest ustawiona, certyfikat NIE jest dalej sprawdzany (opcja "ssl_verify")`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
@@ -599,7 +599,7 @@
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
* [[option_irc.server_default.username]] *irc.server_default.username* * [[option_irc.server_default.username]] *irc.server_default.username*
** opis: `user name to use on server (note: content is evaluated, see /help eval)` ** opis: `nazwa użytkownika do użycia na serwerze (uwaga: zawartość jest przetwarzana, zobacz /help eval)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
+1 -1
View File
@@ -89,7 +89,7 @@
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[option_relay.network.clients_purge_delay]] *relay.network.clients_purge_delay* * [[option_relay.network.clients_purge_delay]] *relay.network.clients_purge_delay*
** opis: `delay for purging disconnected clients (in minutes, 0 = purge clients immediately, -1 = never purge)` ** opis: `opóźnienie, z jakim zostaną skasowane rozłączone klienty (w minutach, 0 = natychmiast, -1 nigdy)`
** typ: liczba ** typ: liczba
** wartości: -1 .. 43200 (domyślna wartość: `0`) ** wartości: -1 .. 43200 (domyślna wartość: `0`)
+63 -63
View File
@@ -1,78 +1,78 @@
[[command_trigger_trigger]] [[command_trigger_trigger]]
[command]*`trigger`* manage triggers, the Swiss Army knife for WeeChat:: [command]*`trigger`* zarządzaj triggerami, scyzorykiem WeeChat::
---- ----
/trigger list|listfull|listdefault /trigger list|listfull|listdefault
add|addoff|addreplace <name> <hook> ["<arguments>" ["<conditions>" ["<regex>" ["<command>" ["<return_code>"]]]]] add|addoff|addreplace <nazwa> <uchwyt> ["<argumenty>" ["<warunki>" ["<regex>" ["<komenda>" ["<kod powrotu>"]]]]]
addinput [<hook>] addinput [<uchwyt>]
input|output|recreate <name> input|output|recreate <nazwa>
set <name> <option> <value> set <nazwa> <opcja> <wartość>
rename|copy <name> <new_name> rename|copy <nazwa> <nowa nazwa>
enable|disable|toggle [<name>|-all [<name>...]] enable|disable|toggle [<nazwa>|-all [<nazwa>...]]
restart <name>|-all [<name>...] restart <nazwa>|-all [<nazwa>...]
show <name> show <nazwa>
del <name>|-all [<name>...] del <nazwa>|-all [<nazwa>...]
default -yes default -yes
monitor [<filter>] monitor [<filtr>]
list: list triggers (without argument, this list is displayed) list: lista triggerów (jeśli nie podano argumentu, wyświetli się ta lista)
listfull: list triggers with detailed info for each trigger listfull: lista triggerów ze szczegółowymi informacjami
listdefault: list default triggers listdefault: lista domyślnych triggerów
add: add a trigger add: dodaje trigger
addoff: add a trigger (disabled) addoff: dodaje trigger (wyłączony)
addreplace: add or replace an existing trigger addreplace: dodaje lub zastępuje istniejący trigger
name: name of trigger nazwa: nazwa triggera
hook: signal, hsignal, modifier, print, command, command_run, timer, config, focus uchwyt: signal, hsignal, modifier, print, command, command_run, timer, config, focus
arguments: arguments for the hook, depending on hook (separated by semicolons): argumenty: argumenty dla uchwytu, w zależności od jego typu (oddzielone średnikami):
signal: name(s) of signal (required) signal: nazwa(-y) signal (wymagane)
hsignal: name(s) of hsignal (required) hsignal: nazwa(-y) hsignal (wymagane)
modifier: name(s) of modifier (required) modifier: nazwa(-y) modifier (wymagane)
print: buffer, tags, message, strip colors print: bufor, tagi, wiadomość, pomiń kolory
command: command (required), description, arguments, description of arguments, completion command: komenda (wymagane), opis, argumenty, opis argumentów, dopełnienie
command_run: command(s) (required) command_run: komenda(-y) (wymagane)
timer: interval (required), align on second, max calls timer: interwał (wymagane), wyrównanie sekund, ilość wywołań
config: name(s) of option (required) config: nazwa(-y) opcji (wymagane)
focus: name(s) of area (required) focus: nazwa(-y) obszarów (wymagane)
conditions: evaluated conditions for the trigger warunki: przetwarzane warunki dla triggera
regex: one or more regular expressions to replace strings in variables regex: jedno lub więcej wyrażeń regularnych do zastępowania ciągów w zmiennych
command: command to execute (many commands can be separated by ";" komenda: komenda do wykonania (wiele komend można oddzielić ";"
return_code: return code in callback (ok (default), ok_eat, error) zwracany kod: kod zwracany w callbacku (ok (domyślne), ok_eat, error)
addinput: set input with default arguments to create a trigger addinput: ustawia wejście z domyślnymi argumentami do stworzenia triggera
input: set input with the command used to create the trigger input: ustawia wejście z komendą użytą do stworzenia triggera
output: send the command to create the trigger on the buffer output: wysyła komendę do stworzenia triggera do buforu
recreate: same as "input", with option "addreplace" instead of "add" recreate: tak samo jak "input", z opcją "addreplace" zamiast "add"
set: set an option in a trigger set: ustawia opcje triggera
option: name of option: name, hook, arguments, conditions, regex, command, return_code opcja: nazwa opcji: name, hook, arguments, conditions, regex, command, return_code
(for help on option, you can type: /help trigger.trigger.<name>.<option>) (aby uzyskać pomoc na temat opcji możesz wpisać: /help trigger.trigger.<nazwa>.<opcja>)
value: new value for the option wartość: nowa wartość dla opcji
rename: rename a trigger rename: zmienia nazwę triggera
copy: copy a trigger copy: kopiuje trigger
enable: enable trigger(s) (without arguments: enable triggers globally) enable: włącza trigger(y) (bez argumentów: włącza triggery globalnie)
disable: disable trigger(s) (without arguments: disable triggers globally) disable: wyłącza trigger(y) (bez argumentów: wyłącza triggery globalnie)
toggle: toggle trigger(s) (without arguments: toggle triggers globally) toggle: zmienia stan triggera(-ów) (bez argumentów: zmienia stan triggerów globalnie)
restart: restart trigger(s) (recreate the hooks) restart: restartuje trigger(y) (tworzy na nowo uchwyty)
show: show detailed info on a trigger (with some stats) show: pokazuje szczegółowe informacje o triggerze (z niektórymi statystykami)
del: delete a trigger del: usuwa trigger
-all: do action on all triggers -all: wykonaj akcję na wszystkich triggerach
default: restore default triggers default: przywraca domyślne triggery
monitor: open the trigger monitor buffer, with optional filter: monitor: otwiera bufor monitorowania triggerów, z opcjonalnym filtrem:
filter: filter hooks/triggers to display (a hook must start with "@", for example "@signal"), many filters can be separated by commas; wildcard "*" is allowed in each trigger name filtr: filtruje uchwyty/triggery do wyświetlenia (uchwyt musi się zaczynać od "@", na przykład "@signal"), wiele filtrów może być oddzielonych przecinkiem; dzika karta "*" jest dozwolona w nazwie każdego triggera
When a trigger callback is called, following actions are performed, in this order: Kiedy callback triggera jest wywoływany, wykonywane są następujące akcje, w kolejności:
1. check conditions; if false, exit 1. sprawdzenie warunków; jeśli nie są spełnione, wyjście
2. replace text using POSIX extended regular expression(s) (if defined in trigger) 2. zastąpienie tekstu za pomocą rozszerzonych wyrażeń regularnych POSIX (jeśli zdefiniowane)
3. execute command(s) (if defined in trigger) 3. wykonanie komend(y) (jeśli zdefiniowane)
4. exit with a return code (except for modifiers and focus) 4. wyjście z kodem wyjścia (poza modifiers i focus)
Examples (you can also look at default triggers with /trigger listdefault): Przykłady (możesz też spojrzeć na domyślne triggery za pomocą /trigger listdefault):
add text attributes *bold*, _underline_ and /italic/ (only in user messages): dodaje atrybuty tekstu *bold*, _underline_ i /italic/ (tylko w wiadomościach użytkowników):
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}$1${color:-bold}*== ==_(\S+)_==_${color:underline}$1${color:-underline}_== ==/(\S+)/==/${color:italic}$1${color:-italic}/" /trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}$1${color:-bold}*== ==_(\S+)_==_${color:underline}$1${color:-underline}_== ==/(\S+)/==/${color:italic}$1${color:-italic}/"
hide nicklist bar on small terminals: ukrywa pasek z nickami na małych terminalach:
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist" /trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist" /trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
silently save config each hour: cichy zapis plików konfiguracyjnych co każdą godzinę:
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save" /trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
open trigger monitor and show only modifiers and triggers whose name starts with "resize": otwiera monitor triggerów i pokazuje tylko modifiers i triggery, których nazwa zaczyna się od "resize":
/trigger monitor @modifier,resize* /trigger monitor @modifier,resize*
---- ----
+10 -10
View File
@@ -1,50 +1,50 @@
* [[option_trigger.color.flag_command]] *trigger.color.flag_command* * [[option_trigger.color.flag_command]] *trigger.color.flag_command*
** opis: `text color for command flag (in /trigger list)` ** opis: `kolor tekstu dla flag komend (w /trigger list)`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightgreen`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightgreen`)
* [[option_trigger.color.flag_conditions]] *trigger.color.flag_conditions* * [[option_trigger.color.flag_conditions]] *trigger.color.flag_conditions*
** opis: `text color for conditions flag (in /trigger list)` ** opis: `kolor tekstu dla flag warunków (w /trigger list)`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `yellow`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `yellow`)
* [[option_trigger.color.flag_regex]] *trigger.color.flag_regex* * [[option_trigger.color.flag_regex]] *trigger.color.flag_regex*
** opis: `text color for regex flag (in /trigger list)` ** opis: `kolor tekstu dla flag wyrażeń regularnych (w /trigger list)`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightcyan`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightcyan`)
* [[option_trigger.color.flag_return_code]] *trigger.color.flag_return_code* * [[option_trigger.color.flag_return_code]] *trigger.color.flag_return_code*
** opis: `text color for return code flag (in /trigger list)` ** opis: `kolor tekstu dla flagi zwracanego kodu (w /trigger list)`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightmagenta`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightmagenta`)
* [[option_trigger.color.regex]] *trigger.color.regex* * [[option_trigger.color.regex]] *trigger.color.regex*
** opis: `text color for regular expressions` ** opis: `kolor tekstu dla wyrażeń regularnych`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `white`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `white`)
* [[option_trigger.color.replace]] *trigger.color.replace* * [[option_trigger.color.replace]] *trigger.color.replace*
** opis: `text color for replacement text (for regular expressions)` ** opis: `kolor tekstu dla tekstu zastępczego (dla wyrażeń regularnych)`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `cyan`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `cyan`)
* [[option_trigger.color.trigger]] *trigger.color.trigger* * [[option_trigger.color.trigger]] *trigger.color.trigger*
** opis: `text color for trigger name` ** opis: `kolor tekstu dla nazwy triggera`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `green`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `green`)
* [[option_trigger.color.trigger_disabled]] *trigger.color.trigger_disabled* * [[option_trigger.color.trigger_disabled]] *trigger.color.trigger_disabled*
** opis: `text color for disabled trigger name` ** opis: `kolor tekstu dla nazwy wyłączonego triggera`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `red`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `red`)
* [[option_trigger.look.enabled]] *trigger.look.enabled* * [[option_trigger.look.enabled]] *trigger.look.enabled*
** opis: `enable trigger support` ** opis: `włącza wsparcie dla triggerów`
** typ: bool ** typ: bool
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
* [[option_trigger.look.monitor_strip_colors]] *trigger.look.monitor_strip_colors* * [[option_trigger.look.monitor_strip_colors]] *trigger.look.monitor_strip_colors*
** opis: `strip colors in hashtable values displayed on monitor buffer` ** opis: `usuń kolory w wartościach tablic haszy wyświetlanych w buforze monitorującym`
** typ: bool ** typ: bool
** wartości: on, off (domyślna wartość: `off`) ** wartości: on, off (domyślna wartość: `off`)
+379 -379
View File
@@ -65,71 +65,71 @@ Przykłady:
---- ----
/buffer list /buffer list
clear [<number>|<name>|-merged|-all [<number>|<name>...]] clear [<numer>|<nazwa>|-merged|-all [<number>|<nazwa>...]]
move <number>|-|+ move <numer>|-|+
swap <number1>|<name1> [<number2>|<name2>] swap <numer1>|<nazwa1> [<numer2>|<nazwa2>]
merge <number> merge <numer>
unmerge [<number>|-all] unmerge [<numer>|-all]
hide [<number>|<name>|-all [<number>|<name>...]] hide [<numer>|<nazwa>|-all [<numer>|<nazwa>...]]
unhide [<number>|<name>|-all [<number>|<name>...]] unhide [<numer>|<nazwa>|-all [<numer>|<nazwa>...]]
renumber [<number1> [<number2> [<start>]]] renumber [<numer1> [<numer2> [<start>]]]
close [<n1>[-<n2>]|<name>] close [<n1>[-<n2>]|<nazwa>]
notify <level> notify <poxiom>
localvar localvar
set <property> <value> set <właściwość> <wartość>
get <property> get <właściwość>
<number>|-|+|<name> <numer>|-|+|<nazwa>
list: list buffers (without argument, this list is displayed) list: wyświetla listę buforów (bez podania argumenty wyświetlana jest ta lista)
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer) clear: czyści zawartość bufora (numer bufora, -merged dla połączonych buforów, -all dla wszystkich buforów, lub nic dla obecnego bufora)
move: move buffer in the list (may be relative, for example -1); "-" = move to first buffer number, "+" = move to last buffer number + 1 move: przesuwa bufor na liście (może być względne, np -1); "-" = przesuwa na pierwszy numer, "+" = przesuwa na ostatni numer bufora +1
swap: swap two buffers (swap with current buffer if only one number/name given) swap: zamienia miejscami dwa bufory (zamienia z obecnym buforem, jeśli podano tylko jeden numer/nazwę)
merge: merge current buffer to another buffer (chat area will be mix of both buffers) merge: łączy obecny bufor z innym (obszar rozmowy zostanie pomieszany między oba bufory)
(by default ctrl-x switches between merged buffers) (domyślnie ctrl-x przełącza pomiędzy połączonymi buforami)
unmerge: unmerge buffer from other buffers which have same number unmerge: odłącza bufor od innych mających taki sam numer
hide: hide the buffer hide: ukrywa bufor
unhide: unhide the buffer unhide: przywraca ukryty bufor
renumber: renumber buffers (works only if option weechat.look.buffer_auto_renumber is off) renumber: zmienia numer bufora (działa tylko, jeśli opcja weechat.look.buffer_auto_renumber jest wyłączona)
close: close buffer (number/range or name is optional) close: zamyka bufor (numer/przedział są opcjonalne)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not: notify: ustawia poziom powiadomień dla obecnego bufora: ten poziom określa czy bufor zostanie dodany do hotlisty czy nie:
none: never none: nigdy
highlight: for highlights only highlight: tylko dla higlightów
message: for messages from users + highlights message: wiadomości od użytkowników + highlighty
all: all messages all: wszystkie wiadomości
reset: reset to default value (all) reset: przywraca wartości domyślne (all)
localvar: display local variables for current buffer localvar: wyświetla zmienne lokalne obecnego bufora
set: set a property for current buffer set: ustawia właściwość obecnego bufora
get: display a property of current buffer get: wyświetla właściwości obecnego bufora
number: jump to buffer by number, possible prefix: numer: przechodzi do bufora o numerze, dostępne prefiksy:
'+': relative jump, add number to current '+': przejście względne, dodaje numer do obecnego
'-': relative jump, sub number to current '-': przejście względne, odejmuje numer od obecnego
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer" '*': przejście do numeru, używając opcji "weechat.look.jump_current_to_previous_buffer"
-: jump to first buffer number -: przejście do pierwszego bufora
+: jump to last buffer number +: przejście do ostatniego bufora
name: jump to buffer by (partial) name nazwa: przejście do bufora o (częściowej) nazwie
Examples: Przykłady:
clear current buffer: czyści zawartość obecnego bufora:
/buffer clear /buffer clear
move buffer to number 5: przenosi bufor na numer 5:
/buffer move 5 /buffer move 5
swap buffer 1 with 3: zamienia bufor 1 z 3:
/buffer swap 1 3 /buffer swap 1 3
swap buffer #weechat with current buffer: zamienia bufor #weechat z obecnym buforem:
/buffer swap #weechat /buffer swap #weechat
merge with core buffer: łączy z głównym buforem:
/buffer merge 1 /buffer merge 1
unmerge buffer: odłącza bufory:
/buffer unmerge /buffer unmerge
close current buffer: zamyka obecny bufor:
/buffer close /buffer close
close buffers 5 to 7: zamyka bufory od 5 do 7:
/buffer close 5-7 /buffer close 5-7
jump to #weechat: przechodzi do #weechat:
/buffer #weechat /buffer #weechat
jump to next buffer: przechodzi do następnego bufora:
/buffer +1 /buffer +1
jump to last buffer number: przechodzi do ostatniego bufora:
/buffer + /buffer +
---- ----
@@ -137,29 +137,29 @@ Examples:
[command]*`color`* definiuje aliasy i wyświetla paletę kolorów:: [command]*`color`* definiuje aliasy i wyświetla paletę kolorów::
---- ----
/color alias <color> <name> /color alias <kolor> <nazwa>
unalias <color> unalias <kolor>
reset reset
term2rgb <color> term2rgb <kolor>
rgb2term <rgb> [<limit>] rgb2term <rgb> [<limit>]
-o -o
alias: add an alias for a color alias: dodaje alias dla koloru
unalias: delete an alias unalias: usuwa alias
color: color number (greater than or equal to 0, max depends on terminal, commonly 63 or 255) color: numer koloru (większy lub równy 0, maksymalna wartość zależy od terminala, zazwyczaj 63 lub 255)
name: alias name for color (for example: "orange") nazwa: nazwa aliasu dla koloru (na przykład: "orange")
reset: reset all color pairs (required when no more color pairs are available if automatic reset is disabled, see option weechat.look.color_pairs_auto_reset) reset: resetuje wszystkie pary kolorów (wymagane jeśli nie ma dostępnej większej ilości par kolorów, jeśli automatyczny reset jest wyłączony, zobacz opcję weechat.look.color_pairs_auto_reset)
term2rgb: convert a terminal color (0-255) to RGB color term2rgb: konwersja koloru terminala (0-255) na kolor RGB
rgb2term: convert a RGB color to terminal color (0-255) rgb2term: konwersja koloru RGB na kolor terminala (0-255)
limit: number of colors to use in terminal table (starting from 0); default is 256 limit: liczba kolorów w tabeli kolorów terminala (numerowane od 0); domyślnie 256
-o: send terminal/colors info to current buffer as input -o: wysyła informacje o terminalu/kolorach do obecnego bufora
Without argument, this command displays colors in a new buffer. Bez podania argumentu komenda wyświetli kolory w nowym buforze.
Examples: Przykłady:
add alias "orange" for color 214: dodaje alias "orange" dla koloru 214:
/color alias 214 orange /color alias 214 orange
delete color 214: usuwa kolor 214:
/color unalias 214 /color unalias 214
---- ----
@@ -167,11 +167,11 @@ Examples:
[command]*`command`* wywołaj wyraźnie komendę WeeChat lub wtyczki:: [command]*`command`* wywołaj wyraźnie komendę WeeChat lub wtyczki::
---- ----
/command [-buffer <name>] <plugin> <command> /command [-buffer <nazwa>] <wtyczka> <komenda>
-buffer: execute the command on this buffer -buffer: wykonaj komendę na tym buforze
plugin: execute the command from this plugin; 'core' for a WeeChat command, '*' for automatic plugin (it depends on the buffer where the command is executed) wtyczka: wykonaj komendę z tej wtyczki;'core' dla wewnętrznych komend WeeChat, '*' wykryj wtyczkę (zależy od bufora, gdzie komenda jest wykonywana)
command: command to execute (a '/' is automatically added if not found at beginning of command) komenda: komenda do wywołania ( '/' jest automatycznie dodawane jeśli nie występuje na początku komendy)
---- ----
[[command_weechat_cursor]] [[command_weechat_cursor]]
@@ -229,50 +229,50 @@ infolists: wyświetla informacje o infolistach
---- ----
[[command_weechat_eval]] [[command_weechat_eval]]
[command]*`eval`* evaluate expression:: [command]*`eval`* przetwórz wyrażenie::
---- ----
/eval [-n] <wyrażenie> /eval [-n] <wyrażenie>
[-n] -c <wyrażenie1> <operator> <wyrażenie2> [-n] -c <wyrażenie1> <operator> <wyrażenie2>
-n: display result without sending it to buffer (debug mode) -n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1") -c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca wartość logiczną ("0" lub "1")
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są zastępowane (zobacz niżej); wiele komend można oddzielić średnikami
operator: a logical or comparison operator: operator: operator logiczny lub porównania:
- logical operators: - operatory logiczne:
&& boolean "and" && boolowskie "i"
|| boolean "or" || boolowskie "lub"
- comparison operators: - operatory porównania:
== equal == równy
!= not equal != różny
<= less or equal <= mniejszy lub równy
< less < mniejszy
>= greater or equal >= większy lub równy
> greater > większy
=~ is matching POSIX extended regex =~ pasuje do rozszerzonego wyrażenia regularnego POSIX
!~ is NOT matching POSIX extended regex !~ NIE pasuje do rozszerzonego wyrażenia regularnego POSIX
An expression is considered as "true" if it is not NULL, not empty, and different from "0". Wyrażenie jest uznawane za "prawdziwe" jeśli nie jest NULL, nie jest puste, oraz różni się od "0".
The comparison is made using integers if the two expressions are valid integers. Porównania dokonuje się z użyciem liczb całkowitych jeśli oba wyrażenia są liczbami całkowitymi.
To force a string comparison, add double quotes around each expression, for example: W celu wymuszenia porównywania ciągów, należy umieścić każde wyrażenie w cudzysłowie, na przykład:
50 > 100 ==> 0 50 > 100 ==> 0
"50" > "100" ==> 1 "50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority: Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być:
1. a string with escaped chars (format: "esc:xxx" or "\xxx") 1. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx")
2. a color (format: "color:xxx") 2. kolor (format color:xxx)
3. an info (format: "info:name,arguments", arguments are optional) 3. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
4. an option (format: "file.section.option") 4. opcja (format: plik.sekcja.opcja)
5. a local variable in buffer 5. zmienna lokalna w buforze
6. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. 6. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg znaków), domyślnie "window" i "buffer" wskazują na aktualne okno/bufor.
Format for hdata can be one of following: Format dla hdata może być jednym z poniższych:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed) hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), następnie wypytuje zmienne jedna po drugiej (inne hdata mogą być następne)
hdata[list].var1.var2...: start with a hdata using a list, for example: hdata[list].zmienna1.zmienna2...: inicjuje hdata z wykorzystaniem listy, na przykład:
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers ${buffer[gui_buffers].full_name}: pełna nazwa buforu w połączonej liście buforów
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins ${plugin[weechat_plugins].name}: nazwa pierwszej wtyczki w połączonej liście wtyczek
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get". Nazwy hdata i zmiennych, można znaleźć w "Opisie API wtyczek", fukcja "weechat_hdata_get".
Examples (simple strings): Przykłady (proste ciągi):
/eval -n ${info:version} ==> 0.4.3 /eval -n ${info:version} ==> 0.4.3
/eval -n ${weechat.look.scroll_amount} ==> 3 /eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0 /eval -n ${window} ==> 0x2549aa0
@@ -281,7 +281,7 @@ Examples (simple strings):
/eval -n ${window.buffer.number} ==> 1 /eval -n ${window.buffer.number} ==> 1
/eval -n ${\t} ==> <tab> /eval -n ${\t} ==> <tab>
Examples (conditions): Przykłady (warunki):
/eval -n -c ${window.buffer.number} > 2 ==> 0 /eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1 /eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1 /eval -n -c (8 > 12) || (5 > 2) ==> 1
@@ -297,60 +297,60 @@ Examples (conditions):
---- ----
/filter list /filter list
enable|disable|toggle [<name>|@] enable|disable|toggle [<nazwa>|@]
add <name> <buffer>[,<buffer>...] <tags> <regex> add <nazwa> <bufor>[,<bufor>...] <tagi> <regex>
rename <name> <new_name> rename <nazwa> <nowa_nazwa>
del <name>|-all del <nazwa>|-all
list: list all filters list: wyświetla wszystkie filtry
enable: enable filters (filters are enabled by default) enable: włącza filtry (filtry są domyślnie włączone)
disable: disable filters disable: wyłącza filtry
toggle: toggle filters toggle: przełącza filtry
name: filter name ("@" = enable/disable all filters in current buffer) nazwa: nazwa filtru
add: add a filter add: dodaje filtr
rename: rename a filter rename: zmienia nazwę filtru
del: delete a filter del: usuwa filtr
-all: delete all filters -all: usuwa wszystkie filtry
buffer: comma separated list of buffers where filter is active: bufor: oddzielona przecinkami lisa buforów, dla których filtr jest aktywny:
- this is full name including plugin (example: "irc.freenode.#weechat") - jest to pełna nazwa zawierająca wtyczkę (przykład: "irc.freenode.#weechat")
- "*" means all buffers - "*" oznacza wszystkie bufory
- a name starting with '!' is excluded - nazwa zaczynająca się od '!' jest wykluczana
- wildcard "*" is allowed - nazwa może zaczynać się lub kończyć '*', aby dopasować wiele buforów
tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" tagi: lista tagów oddzielona przecinkiem, np: "irc_join,irc_part,irc_quit"
- logical "and": use "+" between tags (for example: "nick_toto+irc_action") - logiczne "i": użyj "+" pomiędzy tagami (na przykład: "nick_toto+irc_action")
- wildcard "*" is allowed - dozwolony jest znak "*"
- if tag starts with '!', then it is excluded and must NOT be in message - jeśli tag zaczyna się od '!', wtedy jest on wykluczony i NIE może znajdować się w wiadomości
regex: POSIX extended regular expression to search in line regex: rozszerzone wyrażenie regularne POSIX do wyszukania w linii
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|' - użyj '\t' do oddzielenia prefiksu od wiadomości, znaki specjalne jak '|' muszą zostać poprzedzone '\' np: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!') - jeśli wyrażenie zaczyna się od '!', wtedy pasujący wynik jest odwracany (użyj '\!', aby zacząć od '!')
- two regular expressions are created: one for prefix and one for message - dwa wyrażenia są tworzone: jedno dla prefiksu, drugie dla wiadomości
- regex are case insensitive, they can start by "(?-i)" to become case sensitive - wielkość znaków nie ma znaczenia dla wyrażeń, jeśli zaczynają się od "(?-i)" wielkość znaków ma znaczenie
The default key alt+'=' toggles filtering on/off. Domyślny skrót klawiszowy alt+'=' włącza/wyłącza filtrowanie.
Tags most commonly used: Najczęściej używane tagi:
no_filter, no_highlight, no_log, log0..log9 (log level), no_filter, no_highlight, no_log, log0..log9 (poziom logowania),
notify_none, notify_message, notify_private, notify_highlight, notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick), nick_xxx (xxx to nick w wiadomości), prefix_nick_ccc (ccc to kolor nicka),
host_xxx (xxx is username + host in message), host_xxx (xxx to nazwa użytkownika + host w wiadomości),
irc_xxx (xxx is command name or number, see /server raw or /debug tags), irc_xxx (xxx ito nazwa komendy lub numer, zobacz /server raw lub /debug tags),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info. irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
To see tags for lines in buffers: /debug tags Aby zobaczyć listę tagów w liniach buforów wykonaj: /debug tags
Examples: Przykłady:
use IRC smart filter on all buffers: użyj inteligentnego filtru we wszystkich buforach IRC:
/filter add irc_smart * irc_smart_filter * /filter add irc_smart * irc_smart_filter *
use IRC smart filter on all buffers except those with "#weechat" in name: użyj inteligentnego filtru we wszystkich buforach IRC poza tymi zawierającymi "#weechat" w nazwie:
/filter add irc_smart *,!*#weechat* irc_smart_filter * /filter add irc_smart *,!*#weechat* irc_smart_filter *
filter all IRC join/part/quit messages: filtruj wszystkie wiadomości IRC o join/part/quit:
/filter add joinquit * irc_join,irc_part,irc_quit * /filter add joinquit * irc_join,irc_part,irc_quit *
filter nicks displayed when joining channels or with /names: filtruj nicki wyświetlane przy wejściu na kanał albo za pomocą /names:
/filter add nicks * irc_366 * /filter add nicks * irc_366 *
filter nick "toto" on IRC channel #weechat: filtruj nick "toto" na kanale IRC #weechat:
/filter add toto irc.freenode.#weechat nick_toto * /filter add toto irc.freenode.#weechat nick_toto *
filter IRC join/action messages from nick "toto": filtruj wejścia/akcje IRC od użytkownika "toto":
/filter add toto * nick_toto+irc_join,nick_toto+irc_action * /filter add toto * nick_toto+irc_join,nick_toto+irc_action *
filter lines containing "weechat sucks" on IRC channel #weechat: filtruj linie zawierające fraze "weechat sucks" na kanale IRC #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks /filter add sucks irc.freenode.#weechat * weechat sucks
---- ----
@@ -386,58 +386,58 @@ Wartość: ilość elementów historii do pokazania
---- ----
/input <akcja> [<argumenty>] /input <akcja> [<argumenty>]
list of actions: lista akcji:
return: simulate key "enter" return: symuluje klawisz "enter"
complete_next: complete word with next completion complete_next: dopełnia słowo następnym dopełnieniem
complete_previous: complete word with previous completion complete_previous: dopełnia słowo poprzednim dopełnieniem
search_text: search text in buffer search_text: szuka tekstu w buforze
search_switch_case: switch exact case for search search_switch_case: przełącza na dokładne dopasowanie przy szukaniu
search_switch_regex: switch search type: string/regular expression search_switch_regex: przełącza typy wyszukiwania ciąg/wyrażenie regularne
search_switch_where: switch search in messages/prefixes search_switch_where: zmienia miejsce przeszukiwania na wiadomości/przedrostki
search_previous: search previous line search_previous: szuka poprzednich linii
search_next: search next line search_next: szuka następnych linii
search_stop: stop search search_stop: zatrzymuje wyszukiwanie
delete_previous_char: delete previous char delete_previous_char: usuwa poprzedni znak
delete_next_char: delete next char delete_next_char: usuwa następny znak
delete_previous_word: delete previous word delete_previous_word: usuwa poprzednie słowo
delete_next_word: delete next word delete_next_word: usuwa następne słowo
delete_beginning_of_line: delete from beginning of line until cursor delete_beginning_of_line: usuwa od początku linii do kursora
delete_end_of_line: delete from cursor until end of line delete_end_of_line: usuwa od kursora do końca linii
delete_line: delete entire line delete_line: usuwa cała lin
clipboard_paste: paste from clipboard clipboard_paste: wkleja ze schowka
transpose_chars: transpose two chars transpose_chars: zamienia dwa znaki
undo: undo last command line action undo: cofa ostatnia akcję w linii poleceń
redo: redo last command line action redo: ponownie wykonuje cofniętą akcję w linii poleceń
move_beginning_of_line: move cursor to beginning of line move_beginning_of_line: przesuwa kursor na początek linii
move_end_of_line: move cursor to end of line move_end_of_line: przesuwa kursor na koniec linii
move_previous_char: move cursor to previous char move_previous_char: przesuwa kursor do poprzedniego znaku
move_next_char: move cursor to next char move_next_char: przesuwa kursor do następnego znaku
move_previous_word: move cursor to previous word move_previous_word: przesuwa kursor do poprzedniego słowa
move_next_word: move cursor to next word move_next_word: przesuwa kursor do następnego słowa
history_previous: recall previous command in current buffer history history_previous: przywołuje poprzednia komendę z historii obecnego bufora
history_next: recall next command in current buffer history history_next: przywołuje następną komendę z historii obecnego bufora
history_global_previous: recall previous command in global history history_global_previous: przywołuje poprzednią komendę z globalnej historii
history_global_next: recall next command in global history history_global_next: przywołuje następną komendę z globalnej historii
jump_smart: jump to next buffer with activity jump_smart: przechodzi do następnego bufora z aktywnością
jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer) jump_last_buffer_displayed: przechodzi do ostatnio wyświetlanego bufora (przed ostatnim przeskoczeniem do bufora)
jump_previously_visited_buffer: jump to previously visited buffer jump_previously_visited_buffer: przeskakuje do poprzedniego bufora
jump_next_visited_buffer: jump to next visited buffer jump_next_visited_buffer: przeskakuje to następnego bufora
hotlist_clear: clear hotlist hotlist_clear: czyści hotlistę
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds) grab_key: przechwytuje klawisz (opcjonalny argument: opóźnienie końca przechwycenia, domyślnie jest to 500 milisekund)
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds) grab_key_command: przechwytuje klawisz z przypisaną komendą(opcjonalny argument: opóźnienie końca przechwycenia, domyślnie jest to 500 milisekund)
grab_mouse: grab mouse event code grab_mouse: przechwytuje kod zdarzenia myszy
grab_mouse_area: grab mouse event code with area grab_mouse_area: przechwytuje kod zdarzenia myszy z obszarem
set_unread: set unread marker for all buffers set_unread: ustawia znacznik nie przeczytania dla wszystkich buforów
set_unread_current_buffer: set unread marker for current buffer set_unread_current_buffer: ustawia znacznik nie przeczytania dla obecnego bufora
switch_active_buffer: switch to next merged buffer switch_active_buffer: przełącza do następnego połączonego buforu
switch_active_buffer_previous: switch to previous merged buffer switch_active_buffer_previous: przełącza do poprzedniego połączonego buforu
zoom_merged_buffer: zoom on merged buffer zoom_merged_buffer: zoom na połączony bufor
insert: insert text in command line (escaped chars are allowed, see /help print) insert: wkleja tekst do linii poleceń (dozwolone są wyescapowane znaki, zobacz /help print)
send: send text to the buffer send: wysyła tekst do bufora
paste_start: start paste (bracketed paste mode) paste_start: zaczyna wklejanie (tryb z rozpoznawaniem wklejanego tekstu)
paste_stop: stop paste (bracketed paste mode) paste_stop: kończy wklejanie (tryb z rozpoznawaniem wklejanego tekstu)
This command is used by key bindings or plugins. Ta komenda jest używana do przypisywania klawiszy lub przez wtyczki.
---- ----
[[command_weechat_key]] [[command_weechat_key]]
@@ -454,44 +454,44 @@ This command is used by key bindings or plugins.
resetall -yes [<kontekst>] resetall -yes [<kontekst>]
missing [<kontekst>] missing [<kontekst>]
list: list all current keys (without argument, this list is displayed) list: wyświetla wszystkie obecne skróty (bez podanego argumentu, pokazywana jest ta lista)
listdefault: list default keys listdefault: wyświetla domyślne skróty klawiszowe
listdiff: list differences between current and default keys (keys added, redefined or deleted) listdiff: wyświetla różnice pomiędzy obecnymi a domyślnymi skrótami klawiszowymi (dodane, przedefiniowane oraz usunięte)
context: name of context ("default" or "search") kontekst: nazwa kontekstu ("default" lub "search")
bind: bind a command to a key or display command bound to key (for context "default") bind: przypisuje komendę do klawisza lub wyświetla komendę przypisaną do klawisza
bindctxt: bind a command to a key or display command bound to key, for given context bindctxt: przypisuje komendę do klawiszy lub wyświetla taką komendę dla podanego kontekstu
command: command (many commands can be separated by semicolons) komenda: komenda (wiele komend może być oddzielonych średnikiem)
unbind: remove a key binding (for context "default") unbind: usuwa przypisanie dla klawisza (dla kontekstu "default")
unbindctxt: remove a key binding for given context unbindctxt: usuwa skrót klawiszowy dla podanego kontekstu
reset: reset a key to default binding (for context "default") reset: przywraca domyślne ustawienia dla klawiszy (dla kontekstu "default")
resetctxt: reset a key to default binding, for given context resetctxt:przywraca domyślne ustawienia dla klawiszy, dla podanego kontekstu
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!) resetall: przywraca przypisania do domyślnych wartości oraz kasuje WSZYSTKIE własne przypisania (używaj ostrożnie!)
missing: add missing keys (using default bindings), useful after installing new WeeChat version missing: dodaje brakujące przypisania (korzystając z domyślnych wartości), przydatne po instalacji nowej wersji WeeChat
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line. Podczas przypisania komendy do klawisza, zaleca się użycie alt+k (lub Esc następnie k), następnie wciśnięcie pożądanej kombinacji: umieści to kod klawiszowy w linii poleceń.
For context "mouse" (possible in context "cursor" too), key has format: "@area:key" or "@area1>area2:key" where area can be: Dla kontekstu "mouse" (możliwe również w kontekście "cursor"), klucz ma postać: "@obszar:klucz" lub "@obszar1>obszar2:klucz", gdzie obszar to:
*: any area on screen *: dowolny obszar na ekranie
chat: chat area (any buffer) chat: obszar rozmowy (dowolny bufor)
chat(xxx): char area for buffer with name "xxx" (full name including plugin) chat(xxx): obszar rozmowy w buforze o nazwie "xxx" (pełna nazwa włączając w to wtyczkę)
bar(*): any bar bar(*): dowolny pasek
bar(xxx): bar "xxx" bar(xxx): pasek "xxx"
item(*): any bar item item(*): dowolny element paska
item(xxx): bar item "xxx" item(xxx): element paska "xxx"
Wildcard "*" is allowed in key to match many mouse events. Klucz może zaczynać się, lub kończyć '*' aby dopasować wiele zdarzeń myszy.
A special value for command with format "hsignal:name" can be used for context mouse, this will send the hsignal "name" with the focus hashtable as argument. Specjalna wartość dla komendy o formacie "hsignal:nazwa" może być użyte dla kontekstu myszy, wyśle to hsignal "nazwa" z aktywną tablica haszy jako argumentem.
Another special value "-" can be used to disable key (it will be ignored when looking for keys). Inna specjalna wartość "-" może zostać użyta do wyłączenia klucza (zostanie on zignorowany podczas szukania kluczy).
Examples: Przykłady:
key alt-x to toggle nicklist bar: kombinacja alt-x przełączająca wyświetlanie listy nicków:
/key bind meta-x /bar toggle nicklist /key bind meta-x /bar toggle nicklist
key alt-r to jump to #weechat IRC channel: kombinacja alt-r przechodząca do kanału IRC #weechat IRCl:
/key bind meta-r /buffer #weechat /key bind meta-r /buffer #weechat
restore default binding for key alt-r: przywrócenie domyślnego przypisania dla kombinacji alt-r:
/key reset meta-r /key reset meta-r
key "tab" to stop search in buffer: przycisk "tab" zatrzyma wyszukiwanie w buforze:
/key bindctxt search ctrl-I /input search_stop /key bindctxt search ctrl-I /input search_stop
middle button of mouse on a nick to retrieve info on nick: środkowy przycisk myszy wciśnięty na nicku pozyska o nim informacje:
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick} /key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
---- ----
@@ -542,23 +542,23 @@ Przykłady:
[command]*`mute`* wykonuje komendę po cichu:: [command]*`mute`* wykonuje komendę po cichu::
---- ----
/mute [-core | -current | -buffer <name>] <command> /mute [-core | -current | -buffer <nazwa>] <komenda>
-core: no output on WeeChat core buffer -core: bez wyświetlania wyjścia w głównym buforze WeeChat
-current: no output on current buffer -current: bez wyświetlania wyjścia na obecnym kanale
-buffer: no output on specified buffer -buffer: bez wyświetlania wyjścia w podanym buforze
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat") nazwa: pełna nazwa bufora (przykłady: "irc.server.freenode", "irc.freenode.#weechat")
command: command to execute silently (a '/' is automatically added if not found at beginning of command) komenda: komenda do cichego wykonania ( '/' jest dodawane automatycznie jeśli nie znalezione na początku komendy)
If no target is specified (-core, -current or -buffer), then default is to mute all buffers. Jeżeli nie podano celu (-core, -current lub -buffer), wtedy domyślnie jest wyciszane są wszystkie bufory.
Examples: Przykłady:
config save: zapisanie konfiguracji:
/mute save /mute save
message to current IRC channel: wiadomość do obecnego kanału IRC:
/mute -current msg * hi! /mute -current msg * hej!
message to #weechat channel: wiadomość na kanał #weechat:
/mute -buffer irc.freenode.#weechat msg #weechat hi! /mute -buffer irc.freenode.#weechat msg #weechat hej!
---- ----
[[command_weechat_plugin]] [[command_weechat_plugin]]
@@ -588,43 +588,43 @@ Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
[command]*`print`* wyświetl tekst w buforze:: [command]*`print`* wyświetl tekst w buforze::
---- ----
/print [-buffer <number>|<name>] [-core] [-escape] [-date <date>] [-tags <tags>] [-action|-error|-join|-network|-quit] [<text>] /print [-buffer <numer>|<nazwa>] [-core] [-escape] [-date <data>] [-tags <tagi>] [-action|-error|-join|-network|-quit] <tekst>
-stdout|-stderr [<text>] -stdout|-stderr <tekst>
-beep -beep
-buffer: display text in this buffer (default: buffer where command is executed) -buffer: bufor, w którym zostanie wyświetlony tekst (domyślnie: obecny bufor)
-core: alias of "-buffer core.weechat" -core: alias dla bufora "-buffer core.weechat"
-current: display text on current buffer -current: wyświetl tekst w obecnym buforze
-escape: interpret escaped chars (for example \a, \07, \x07) -escape: interpretuj znaki poprzedzone \ (na przykład \a, \07, \x07)
-date: message date, format can be: -date: data wiadomości, możliwe formaty:
-n: 'n' seconds before now -n: 'n' sekund wcześniej
+n: 'n' seconds in the future +n: 'n' sekund później
n: 'n' seconds since the Epoch (see man time) n: 'n' sekund od Epoch (zobacz man time)
date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, example: 2014-01-19T04:32:55 data/czas (ISO 8601): yyyy-mm-ddThh:mm:ss, przykład: 2014-01-19T04:32:55
time: hh:mm:ss (example: 04:32:55) czas: hh:mm:ss (przykład: 04:32:55)
-tags: comma-separated list of tags (see /help filter for a list of tags most commonly used) -tags: oddzielona przecinkami lista tagów (zobacz /help filter w celu wyświetlenia listy najczęstszych tagów)
text: text to display (prefix and message must be separated by "\t", if text starts with "-", then add a "\" before) tekst: tekst do wyświetlenia (prefiks i wiadomość muszą być oddzielone za pomocą "\t", jeśli tekst zaczyna się od "-" dodaj "\" przed nim)
-stdout: display text on stdout (escaped chars are interpreted) -stdout: wyświetl tekst na standardowe wyjście (znaki poprzedzone \ są interpretowane)
-stderr: display text on stderr (escaped chars are interpreted) -stderr: wyświetl tekst na standardowe wyjście błędów (znaki poprzedzone \ są interpretowane)
-beep: alias of "-stderr \a" -beep: alias dla "-stderr \a"
The options -action ... -quit use the prefix defined in options "weechat.look.prefix_*". Opcje -action ... -quit używają prefiksów zdefiniowanych w opcjach "weechat.look.prefix_*".
Following escaped chars are supported: Wspierane znaczniki specjalne:
\" \\ \a \b \e \f \n \r \t \v \0ooo \xhh \uhhhh \Uhhhhhhhh \" \\ \a \b \e \f \n \r \t \v \0ooo \xhh \uhhhh \Uhhhhhhhh
Examples: Przykłady:
display a reminder on core buffer with a highlight: wyświetla przypomnienie w buforze głównym z higlightem:
/print -core -tags notify_highlight Reminder: buy milk /print -core -tags notify_highlight Reminder: kup mleko
display an error on core buffer: wyświetla błąd w głównym buforze:
/print -core -error Some error here /print -core -error Jakiś błąd
display message on core buffer with prefix "abc": wyświetla wiadomość w głównym buforze z prefiksem "abc":
/print -core abc\tThe message /print -core abc\tWiadomość
display a message on channel #weechat: wyświetla wiadomość na kanale #weechat:
/print -buffer irc.freenode.#weechat Message on #weechat /print -buffer irc.freenode.#weechat Message on #weechat
display a snowman (U+2603): wyświetla bałwana (U+2603):
/print -escape \u2603 /print -escape \u2603
send alert (BEL): wysyła alert (BEL):
/print -beep /print -beep
---- ----
@@ -721,72 +721,72 @@ Bez podania argumentu wszystkie pliki (WeeChat oraz wtyczki) zostaną przeładow
set <nazwa> <wartość> set <nazwa> <wartość>
del <nazwa> del <nazwa>
passphrase: change the passphrase (without passphrase, data is stored as plain text in file sec.conf) passphrase: zmienia hasło (bez hasła dane są przechowywane w postaci tekstu w pliku sec.conf)
-delete: delete passphrase -delete: kasuje hasło
decrypt: decrypt data still encrypted (it happens only if passphrase was not given on startup) decrypt: rozszyfrowuje dane będące ciągle zaszyfrowane (zdarza się to tylko jeśli hasło nie zostało podane przy uruchomieniu)
-discard: discard all data still encrypted -discard: odrzuca wszystkie nadal zaszyfrowane dane
set: add or change secured data set: dodaje lub zmienia zaszyfrowane dane
del: delete secured data del: kasuje zaszyfrowane dane
Without argument, this command displays secured data in a new buffer. Bez argumentu, komenda wyświetli zabezpieczone dane w nowym buforze.
When a passphrase is used (data encrypted), it is asked by WeeChat on startup. Jeśli używane jest hasło (dane zaszyfrowane), należy je podać podczas startu WeeChat.
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade). Jest możliwe ustawienie zmiennej środowiskowej "WEECHAT_PASSPHRASE", aby nie podawać hasła przy uruchomieniu (ta sama zmienna jest używana przez WeeChat podczas wykonywania /upgrade).
Secured data with format ${sec.data.xxx} can be used in: Zabezpieczone dane w formacie ${sec.data.xxx} można użyć w:
- command line argument "--run-command" - argumencie w linii poleceń "--run-command"
- options weechat.startup.command_{before|after}_plugins - opcjach weechat.startup.command_{before|after}_plugins
- proxy options: username, password - opcjach proxy: username, password
- irc server options: autojoin, command, password, sasl_{username|password}, username, realname - opcji serwera autojoin, command, password, sasl_{username|password}, username, realname
- option relay.network.password - opcji relay.network.password
- command /eval. - komendzie /eval.
Examples: Przykłady:
set a passphrase: ustawienie hasła:
/secure passphrase this is my passphrase /secure passphrase to jest moje hasło
encrypt freenode SASL password: zaszyfrowanie hasła dla freenode SASL:
/secure set freenode mypassword /secure set freenode mojehasło
/set irc.server.freenode.sasl_password "${sec.data.freenode}" /set irc.server.freenode.sasl_password "${sec.data.freenode}"
encrypt oftc password for nickserv: zaszyfrowanie hasła dla nickserva na serwerze oftc:
/secure set oftc mypassword /secure set oftc mojehasło
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}" /set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
alias to ghost the nick "mynick": alias dla polecenia ghost dla nicka "mójnick":
/alias ghost /eval /msg -server freenode nickserv ghost mynick ${sec.data.freenode} /alias ghost /eval /msg -server freenode nickserv ghost mójnick ${sec.data.freenode}
---- ----
[[command_weechat_set]] [[command_weechat_set]]
[command]*`set`* set config options and environment variables:: [command]*`set`* ustaw opcje konfiguracyjne i zmienne środowiskowe::
---- ----
/set [<option> [<value>]] /set [<opcja> [<wartość>]]
diff [<option> [<option>...]] diff [<opcja> [<opcja>...]]
env [<variable> [<value>]] env [<zmienna> [<wartość>]]
option: name of an option (wildcard "*" is allowed) opcja: nazwa opcji (może zawierać wildcard"*")
value: new value for option, according to type: wartość: nowa wartość opcji, zgodnie z typem:
boolean: on, off or toggle boolean: on, off lub toggle
integer: number, ++number or --number integer: numer, ++numer lub --numer
string: any string ("" for empty string) string: dowolny ciąg ("" dla pustego ciągu)
color: color name, ++number or --number color: nazwa koloru, ++numer lub --numer
Note: for all types, you can use null to remove option value (undefined value). This works only for some special plugin variables. Uwaga: dla wszystkich typów, można użyć null dla usunięcia wartości opcji (niezdefiniowana wartość). Działa to tylko z niektórymi specjalnymi zmiennymi wtyczek.
diff: display only changed options diff: wyświetla tylko zmienione opcje
env: display or set an environment variable (use value "" to unset a variable) env: wyśiwietla lub ustawia zmienne środowiskowe (użyj "" żeby skasować zmienną)
Examples: Przykłady:
display options about highlight: wyświetla opcje dotyczące podświetleń:
/set *highlight* /set *highlight*
add a word to highlight: dodaje słowo do podświetlenia:
/set weechat.look.highlight "word" /set weechat.look.highlight "słowo"
display changed options: wyświetla zmienione opcje:
/set diff /set diff
display changed options in irc plugin: wyświetla zmienione opcje dla wtyczki irc:
/set diff irc.* /set diff irc.*
display value of environment variable LANG: wyświetla wartość zmiennej środowiskowej LANG:
/set env LANG /set env LANG
set environment variable LANG and use it: ustawia zmienną środowiskową LANG i używa jej:
/set env LANG fr_FR.UTF-8 /set env LANG fr_FR.UTF-8
/upgrade /upgrade
unset environment variable ABC: kasuje zmienną środowiskową ABC:
/set env ABC "" /set env ABC ""
---- ----
@@ -794,19 +794,19 @@ Examples:
[command]*`unset`* skasuj/zresetuj zmienną konfiguracyjną:: [command]*`unset`* skasuj/zresetuj zmienną konfiguracyjną::
---- ----
/unset <option> /unset <opcja>
-mask <option> -mask <opcja>
option: name of an option opcja: nazwa opcji
-mask: use a mask in option (wildcard "*" is allowed to mass-reset options, use carefully!) -mask: używa maski w opcji (wildcard "*" jest dozwolony do masowego resetowania opcji, używaj ostrożnie!)
According to option, it's reset (for standard options) or removed (for optional settings, like server values). W zależności od opcji, jest resetowana (dla standardowych opcji) lub usuwana (dla opcjonalnych ustawień, jak wartości dotyczące serwerów).
Examples: Przykłady:
reset one option: resetowanie jednej opcji:
/unset weechat.look.item_time_format /unset weechat.look.item_time_format
reset all color options: resetowanie wszystkich opcji dotyczących kolorów:
/unset -mask weechat.color.* /unset weechat.color.*
---- ----
[[command_weechat_upgrade]] [[command_weechat_upgrade]]
@@ -890,66 +890,66 @@ Przykłady:
---- ----
/window list /window list
-1|+1|b#|up|down|left|right [-window <number>] -1|+1|b#|up|down|left|right [-window <numer>]
<number> <numer>
splith|splitv [-window <number>] [<pct>] splith|splitv [-window <numer>] [<pct>]
resize [-window <number>] [+/-]<pct> resize [-window <numer>] [+/-]<pct>
balance balance
merge [-window <number>] [all] merge [-window <numer>] [all]
page_up|page_down [-window <number>] page_up|page_down [-window <numer>]
refresh refresh
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y] scroll [-window <numer>] [+/-]<wartość>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+/-]<value>[%] scroll_horiz [-window <numer>] [+/-]<wartość>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>] scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <numer>]
swap [-window <number>] [up|down|left|right] swap [-window <numer>] [up|down|left|right]
zoom[-window <number>] zoom[-window <numer>]
bare [<delay>] bare [<opóźnienie>]
list: list opened windows (without argument, this list is displayed) list: lista otwartych okien (bez argumentu wyświetlana jest ta lista)
-1: jump to previous window -1: skok do poprzedniego okna
+1: jump to next window +1: skok do następnego okna
b#: jump to next window displaying buffer number # b#: skok do następnego okna pokazującego bufor o numerze #
up: switch to window above current one up: przełączenie na okno ponad obecnym
down: switch to window below current one down: przełączenie na okno pod obecnym
left: switch to window on the left left: przełączenie na okno po lewej
right: switch to window on the right right: przełączenie na okno po prawej
number: window number (see /window list) numer: okno numer (zobacz /window list)
splith: split current window horizontally splith: dzieli obecne okno poziomo
splitv: split current window vertically splitv: dzieli obecne okno pionowo
resize: resize window size, new size is <pct> percentage of parent window resize: zmienia rozmiar okna, nowy rozmiar to <pct> procent okna nadrzędnego
balance: balance the sizes of all windows balance: balansuje rozmiary pomiędzy oknami
merge: merge window with another (all = keep only one window) merge: łączy okno z innym (all = posiadanie tylko jednego okna)
page_up: scroll one page up page_up: przewija stronę do góry
page_down: scroll one page down page_down: przewija stronę w dół
refresh: refresh screen refresh: odświeża ekran
scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years scroll: przewija ilość linii (+/-N) lub o czas: s=sekundy, m=minuty, h=godziny, d=dni, M=miesiące, y=lata
scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content) scroll_horiz: przewija poziomo ilość kolumn (+/-N) lub procent rozmiaru okna (takie przewijanie jest możliwe tylko w buforach z wolną zawartością)
scroll_up: scroll a few lines up scroll_up: przewija kilka linii w gorę
scroll_down: scroll a few lines down scroll_down: przewija kilka linii w dół
scroll_top: scroll to top of buffer scroll_top: przewija na samą górę bufora
scroll_bottom: scroll to bottom of buffer scroll_bottom: przewija na spód bufora
scroll_beyond_end: scroll beyond the end of buffer scroll_beyond_end: przewija poza koniec bufora
scroll_previous_highlight: scroll to previous highlight scroll_previous_highlight: przewija do poprzedniego highlighta
scroll_next_highlight: scroll to next highlight scroll_next_highlight: przewija do następnego highlighta
scroll_unread: scroll to unread marker scroll_unread: przewija do znacznika nie przeczytania
swap: swap buffers of two windows (with optional direction for target window) swap: zamienia bufory między dwoma oknami (z opcjonalnym kierunkiem dla docelowego okna)
zoom: zoom on window zoom: powiększa okno
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode) bare: przełącza niesformatowane wysiwetlanie (z opcjonalnym czasem, po jakim nastąpi automatyczny powrót do standardowego trybu)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4 Dla splith i splitv, pct oznacza procent reprezentujący rozmiar nowego okna, porównany z obecnym oknem jako odniesieniem. Na przykład 25 oznacza utworzenie nowego okna o rozmiarze = obecny_rozmiar / 4
Examples: Przykłady:
jump to window displaying buffer #1: skok do okna wyświetlającego bufor #1:
/window b1 /window b1
scroll 2 lines up: przewiń 2 linie do góry:
/window scroll -2 /window scroll -2
scroll 2 days up: przewiń 2 dni do góry:
/window scroll -2d /window scroll -2d
scroll to beginning of current day: przewiń do początku obecnego dnia:
/window scroll -d /window scroll -d
zoom on window #2: powiększ okno 2 #2:
/window zoom -window 2 /window zoom -window 2
enable bare display for 2 seconds: włączenie trybu niesformatowanego na 2 sekundy:
/window bare 2 /window bare 2
---- ----
+8 -8
View File
@@ -294,7 +294,7 @@
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightgreen`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightgreen`)
* [[option_weechat.color.status_nicklist_count]] *weechat.color.status_nicklist_count* * [[option_weechat.color.status_nicklist_count]] *weechat.color.status_nicklist_count*
** opis: `text color for number of nicks in nicklist (status bar)` ** opis: `kolor tekstu dla numeru nicków w liście nicków (pasek statusu)`
** typ: kolor ** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `default`) ** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `default`)
@@ -414,12 +414,12 @@
** wartości: dowolny ciąg (domyślna wartość: `"--"`) ** wartości: dowolny ciąg (domyślna wartość: `"--"`)
* [[option_weechat.look.bare_display_exit_on_input]] *weechat.look.bare_display_exit_on_input* * [[option_weechat.look.bare_display_exit_on_input]] *weechat.look.bare_display_exit_on_input*
** opis: `exit the bare display mode on any changes in input` ** opis: `wyjście z trybu niesformatowanego wyświetlania po każdej zmianie wejścia`
** typ: bool ** typ: bool
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
* [[option_weechat.look.bare_display_time_format]] *weechat.look.bare_display_time_format* * [[option_weechat.look.bare_display_time_format]] *weechat.look.bare_display_time_format*
** opis: `time format in bare display mode (see man strftime for date/time specifiers)` ** opis: `format czasu dla trybu niesformatowanego wyświetlania (zobacz man strftime dla specyfikatorów daty/czasu)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"%H:%M"`) ** wartości: dowolny ciąg (domyślna wartość: `"%H:%M"`)
@@ -559,12 +559,12 @@
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[option_weechat.look.highlight_tags]] *weechat.look.highlight_tags* * [[option_weechat.look.highlight_tags]] *weechat.look.highlight_tags*
** opis: `comma separated list of tags to highlight; case insensitive comparison; wildcard "*" is allowed in each tag; many tags can be separated by "+" to make a logical "and" between tags; examples: "nick_flashcode" for messages from nick "FlashCode", "irc_notice+nick_toto*" for notices from a nick starting with "toto"` ** opis: `oddzielona przecinkami lista tagów do podświetleń; porównywanie bez uwzględnienia wielkości znaków; wildcard "*" jest dozwolony w każdym tagu; wiele tagów może być oddzielonych "+" jako logicznym "i" pomiędzy tagami; przykłady: "nick_flashcode" dla wiadomości od nicka "FlashCode", "irc_notice+nick_toto*" dla powiadomień od nicka zaczynającego się na "toto"`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[option_weechat.look.hotlist_add_conditions]] *weechat.look.hotlist_add_conditions* * [[option_weechat.look.hotlist_add_conditions]] *weechat.look.hotlist_add_conditions*
** opis: `conditions to add a buffer in hotlist (if notify level is OK for the buffer); you can use in these conditions: "window" (current window pointer), "buffer" (buffer pointer to add in hotlist), "priority" (0 = low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added to hotlist if you are away, or if the buffer is not visible on screen (not displayed in any window)` ** opis: `warunki dla dodania buforu na hotlistę (jeśli poziom powiadomień jest OK dla bufora); możesz użyć następujących warunków: "window" (wskaźnik obecnego okna), "buffer" (wskaźnik bufora do dodania na hotlistę), "priority" (0 = niski, 1 = wiadomość, 2 = rozmowa prywatna, 3 = highlight); domyślnie bufor jest dodawany do hotlisty jeśli jesteś niedostępny lub jeśli bufor nie jest widoczny na ekranie (nie jest wyświetlany w żadnym oknie)`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"${away} || ${buffer.num_displayed} == 0"`) ** wartości: dowolny ciąg (domyślna wartość: `"${away} || ${buffer.num_displayed} == 0"`)
@@ -609,7 +609,7 @@
** wartości: dowolny ciąg (domyślna wartość: `"H: "`) ** wartości: dowolny ciąg (domyślna wartość: `"H: "`)
* [[option_weechat.look.hotlist_remove]] *weechat.look.hotlist_remove* * [[option_weechat.look.hotlist_remove]] *weechat.look.hotlist_remove*
** opis: `remove buffers in hotlist: buffer = remove buffer by buffer, merged = remove all visible merged buffers at once` ** opis: `usuwa bufor z hotlisty: buffer = usuwa bufor po buforze, merged = usuwa wszystkie widoczne połączone bufory`
** typ: liczba ** typ: liczba
** wartości: buffer, merged (domyślna wartość: `merged`) ** wartości: buffer, merged (domyślna wartość: `merged`)
@@ -619,7 +619,7 @@
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
* [[option_weechat.look.hotlist_sort]] *weechat.look.hotlist_sort* * [[option_weechat.look.hotlist_sort]] *weechat.look.hotlist_sort*
** opis: `sort of hotlist: group_time_*: group by notify level (highlights first) then sort by time, group_number_*: group by notify level (highlights first) then sort by number, number_*: sort by number; asc = ascending sort, desc = descending sort` ** opis: `sortowanie hotlisty: group_time_*: grupuj po poziomie powiadomień (powiadomienia pierwsze) następnie sortuj po czasie, group_number_*: grupuj po poziomie powiadomień (powiadomienia pierwsze) następnie sortuj po numerze, number_*: sortuj po numerze; asc = sortowanie rosnące, desc = sortowanie malejące`
** typ: liczba ** typ: liczba
** wartości: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (domyślna wartość: `group_time_asc`) ** wartości: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (domyślna wartość: `group_time_asc`)
@@ -909,7 +909,7 @@
** wartości: dowolny ciąg (domyślna wartość: `""`) ** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[option_weechat.plugin.autoload]] *weechat.plugin.autoload* * [[option_weechat.plugin.autoload]] *weechat.plugin.autoload*
** opis: `comma separated list of plugins to load automatically at startup, "*" means all plugins found, a name beginning with "!" is a negative value to prevent a plugin from being loaded, wildcard "*" is allowed in names (examples: "*" or "*,!lua,!tcl")` ** opis: `oddzielona przecinkami lista wtyczek do automatycznego załadowania podczas startu, "*" oznacza wszystkie znalezione wtyczki, nazwa zaczynająca się od "!" powoduje nie ładowanie tej wtyczki, wildcard "*" jest dozwolony w nazwach (przykłady: "*" lub "*,!lua,!tcl")`
** typ: ciąg ** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"*"`) ** wartości: dowolny ciąg (domyślna wartość: `"*"`)
+1 -1
View File
@@ -74,7 +74,7 @@
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
* [[option_xfer.file.convert_spaces]] *xfer.file.convert_spaces* * [[option_xfer.file.convert_spaces]] *xfer.file.convert_spaces*
** opis: `convert spaces to underscores when sending and receiving files` ** opis: `zamień spacje na podkreślenia podczas wysyłania i odbierania plików`
** typ: bool ** typ: bool
** wartości: on, off (domyślna wartość: `on`) ** wartości: on, off (domyślna wartość: `on`)
+8 -4
View File
@@ -52,6 +52,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf:: $HOME/.weechat/plugins.conf::
plik konfiguracyjny wtyczek plik konfiguracyjny wtyczek
$HOME/.weechat/sec.conf::
plik konfiguracyjny z zabezpieczonymi danymi
$HOME/.weechat/alias.conf:: $HOME/.weechat/alias.conf::
plik konfiguracyjny wtyczki 'alias' plik konfiguracyjny wtyczki 'alias'
@@ -61,6 +64,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf:: $HOME/.weechat/charset.conf::
plik konfiguracyjny wtyczki 'charset' plik konfiguracyjny wtyczki 'charset'
$HOME/.weechat/exec.conf::
plik konfiguracyjny wtyczki 'exec'
$HOME/.weechat/irc.conf:: $HOME/.weechat/irc.conf::
plik konfiguracyjny wtyczki 'irc' plik konfiguracyjny wtyczki 'irc'
@@ -98,8 +104,6 @@ Pełna licencja znajduje się w pliku COPYING.
Strona www: <http://weechat.org/> Strona www: <http://weechat.org/>
// TRANSLATION MISSING == WSPARCIE / ZGŁASZANIE BŁĘDÓW
== SUPPORT / REPORTING BUGS
// TRANSLATION MISSING W celu uzyskania pomocy, lub zgłoszenia błędu zajrzyj na: <http://weechat.org/dev/support>
For help or a bug report: <http://weechat.org/dev/support>
+35 -50
View File
@@ -35,8 +35,7 @@ Więcej informacji na stronie: http://weechat.org/about/features
[[gui]] [[gui]]
=== Słyszałem o wielu GUI dla WeeChat. Jak mogę je skompilować/użyć? === Słyszałem o wielu GUI dla WeeChat. Jak mogę je skompilować/użyć?
// TRANSLATION MISSING Dostępne są zdalne interfejsy, linki można znaleźć na stronie z cechami:
Some remote GUIs are available, see the links on features page:
http://weechat.org/about/features http://weechat.org/about/features
[[compile_git]] [[compile_git]]
@@ -218,8 +217,7 @@ użyty w żadnym z pasków:
[[terminal_copy_paste]] [[terminal_copy_paste]]
=== Jak mogę kopiować/wklejać tekst bez wklejania listy nicków? === Jak mogę kopiować/wklejać tekst bez wklejania listy nicków?
// TRANSLATION MISSING W WeeChat od wersji ≥ 1.0, możesz użyć trybu niesformatowanego wyświetlania (domyślnie: key[alt-l]).
With WeeChat ≥ 1.0, you can use the bare display (default key: key[alt-l]).
Możesz użyć terminala z prostokątnym zaznaczaniem (jak rxvt-unicode, Możesz użyć terminala z prostokątnym zaznaczaniem (jak rxvt-unicode,
konsole, gnome-terminal, ...). Klawisze to zazwyczaj key[ctrl-]key[alt-] zaznaczenie myszką. konsole, gnome-terminal, ...). Klawisze to zazwyczaj key[ctrl-]key[alt-] zaznaczenie myszką.
@@ -233,8 +231,7 @@ Innym rozwiązaniem jest przesunięcie listy nicków na górę lub dół, na prz
[[urls]] [[urls]]
=== Jak mogę kliknąć na długi URL (dłuższy niż linia)? === Jak mogę kliknąć na długi URL (dłuższy niż linia)?
// TRANSLATION MISSING W WeeChat od wersji ≥ 1.0, możesz użyć trybu niesformatowanego wyświetlania (domyślnie: key[alt-l]).
With WeeChat ≥ 1.0, you can use the bare display (default key: key[alt-l]).
Domyślnie WeeChat wyświetla czas i przedrostki dla każdej linii i opcjonalne paski Domyślnie WeeChat wyświetla czas i przedrostki dla każdej linii i opcjonalne paski
dookoła obszaru rozmowy. Aby usprawnić klikanie w urle można przesunąć listę nicków dookoła obszaru rozmowy. Aby usprawnić klikanie w urle można przesunąć listę nicków
@@ -267,16 +264,14 @@ Innym rozwiązaniem jest użycie skryptu:
[[change_locale_without_quit]] [[change_locale_without_quit]]
=== Chcę zmienić język komunikatów wyświetlanych przez WeeChat, ale bez jego zamykania, czy jest to możliwe? === Chcę zmienić język komunikatów wyświetlanych przez WeeChat, ale bez jego zamykania, czy jest to możliwe?
// TRANSLATION MISSING Tak, dla wersji WeeChat ≥ 1.0:
Yes, with WeeChat ≥ 1.0:
---- ----
/set env LANG pl_PL.UTF-8 /set env LANG pl_PL.UTF-8
/upgrade /upgrade
---- ----
// TRANSLATION MISSING Dla starszych wersji WeeChat:
With older WeeChat:
---- ----
/script install shell.py /script install shell.py
@@ -305,9 +300,8 @@ Jeśli używasz screena, możesz dodać to do swojego '~/.screenrc':
term screen-256color term screen-256color
---- ----
// TRANSLATION MISSING Jeśli twoja zmienna 'TERM' posiada złą wartość i WeeChat jest już uruchomiony,
If your 'TERM' variable has wrong value and that WeeChat is already running, możesz zmienić ją za pomocą tych dwóch komend (dla wersji Weechat ≥ 1.0):
you can change it with these two commands (with WeeChat ≥ 1.0):
---- ----
/set env TERM screen-256color /set env TERM screen-256color
@@ -330,25 +324,24 @@ Poruszanie się między podświetleniami: key[alt-p] / key[alt-n].
Po więcej informacji zajrzyj do poradnika użytkownika (domyślne skróty klawiszowe). Po więcej informacji zajrzyj do poradnika użytkownika (domyślne skróty klawiszowe).
// TRANSLATION MISSING
[[terminal_focus]] [[terminal_focus]]
=== How can I execute commands when terminal gets/loses focus? === Jak mogę wykonywać komendy, kiedy terminal stanie się/przestanie być aktywny?
You must enable the focus events with a special code sent to terminal. Musisz włączyć obsługę tego zdarzenia za pomocą specjalnego kodu wysyłanego do terminala.
*Important*: *Ważne*:
* Currently, *only* 'xterm' seems to support this feature. * Obecnie *tylko* 'xterm' wspiera tą funkcję.
* It does *not* work under screen/tmux. * *Nie* działa to pod screen/tmux.
To send the code when WeeChat is starting: Żeby wysłać kod podczas uruchamiania WeeChat:
---- ----
/set weechat.startup.command_after_plugins "/print -stdout \033[?1004h\n" /set weechat.startup.command_after_plugins "/print -stdout \033[?1004h\n"
---- ----
And then you bind two keys for the focus (replace the `/print` commands by the Następnie przypisz dwie kombinacje klawiszy dla stanu aktywności (zamień komendy
commands of your choice): `/print` własnymi komendami:
---- ----
/key bind meta2-I /print -core focus /key bind meta2-I /print -core focus
@@ -469,9 +462,8 @@ key[shift]).
[[irc_ssl_connection]] [[irc_ssl_connection]]
=== Mam problemy podczas połączenia z serwerem używającym SSL, co mogę zrobić? === Mam problemy podczas połączenia z serwerem używającym SSL, co mogę zrobić?
// TRANSLATION MISSING Jeśli używasz Mac OS X, musisz zainstalować `curl-ca-bundle` i ustawić ścieżkę
If you are using Mac OS X, you must install `curl-ca-bundle` and set the path do certyfikatów w WeeChat:
to certificates in WeeChat:
---- ----
/set weechat.network.gnutls_ca_file "/usr/local/opt/curl-ca-bundle/share/ca-bundle.crt" /set weechat.network.gnutls_ca_file "/usr/local/opt/curl-ca-bundle/share/ca-bundle.crt"
@@ -529,7 +521,7 @@ Niektóre serwery jak 'twitch' wymagają oauth do połączenia.
Oauth to po prostu hasło w postaci "oauth:hasło". Oauth to po prostu hasło w postaci "oauth:hasło".
W celu dodania takiego serwera i połączenia się z nim należ wykonać nastepujące W celu dodania takiego serwera i połączenia się z nim należ wykonać następujące
polecenia (należy zastąpić nazwę i adres odpowiednimi wartościami): polecenia (należy zastąpić nazwę i adres odpowiednimi wartościami):
---- ----
@@ -595,15 +587,13 @@ Więcej informacji: `/help filter` i `/help irc.look.smart_filter`
[[filter_irc_join_channel_messages]] [[filter_irc_join_channel_messages]]
=== Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC? === Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC?
// TRANSLATION MISSING W wersjach WeeChat ≥ 0.4.1, możesz wybrać to, jakie wiadomości są wyświetlane
With WeeChat ≥ 0.4.1, you can choose which messages are displayed or not when a jakie nie podczas wchodzenia na kanał, za pomocą opcji 'irc.look.display_join_message'
joining a channel with the option 'irc.look.display_join_message' (see (więcej informacji można znaleźć wykonując `/help irc.look.display_join_message`).
`/help irc.look.display_join_message` for more info).
// TRANSLATION MISSING W celu ukrycia wiadomości (ale zachowując je w buforze), możesz je filtrować
To hide messages (but keep them in buffer), you can filter them using the tag używając tagu (na przykład 'irc_329' dla daty utworzenia kanału). zobacz
(for example 'irc_329' for channel creation date). See `/help filter` for help `/help filter` w celu uzyskania pomocy z filtrami.
with filters.
[[filter_voice_messages]] [[filter_voice_messages]]
=== Jak mogę filtrować informacje o przyznaniu voice (np na serwerze Bitlbee)? === Jak mogę filtrować informacje o przyznaniu voice (np na serwerze Bitlbee)?
@@ -695,13 +685,11 @@ Musisz ustawić:
/plugin autoload /plugin autoload
---- ----
// TRANSLATION MISSING
[[install_scripts]] [[install_scripts]]
=== How can I install scripts? Are scripts compatible with other IRC clients? === Jak mogę instalować skrypty? Czy są one kompatybilne z innymi klientami IRC?
// TRANSLATION MISSING Możesz użyć komendy `/script` do instalowania i zarządzania skryptami
You can use the command `/script` to install and manage scripts (zobacz `/help script` po więcej informacji).
(see `/help script` for help).
Skrypty nie są kompatybilne z innymi klientami IRC. Skrypty nie są kompatybilne z innymi klientami IRC.
@@ -724,18 +712,16 @@ W celu zmniejszenia używanej pamięci możesz zastosować się do poniższych r
wartość opcji 'weechat.history.max_buffer_lines_minutes' wartość opcji 'weechat.history.max_buffer_lines_minutes'
* zmniejszyć wartość opcji 'weechat.history.max_commands' * zmniejszyć wartość opcji 'weechat.history.max_commands'
// TRANSLATION MISSING
[[cpu_usage]] [[cpu_usage]]
=== How can I tweak WeeChat to use less CPU? === Jak mogę zmusić WeeChat do zużywania mniejszej mocy CPU?
// TRANSLATION MISSING Możesz skorzystać z tych samych porad jak dla <<memory_usage,memory>>, oraz tych:
You can follow same tips as for <<memory_usage,memory>>, and these ones:
* hide "nicklist" bar: `/bar hide nicklist` * schowaj pasek "nicklist": `/bar hide nicklist`
* remove display of seconds in status bar time: * usuń wyświetlanie sekund w czasie na pasku statusu:
`/set weechat.look.item_time_format "%H:%M"` (this is the default value) `/set weechat.look.item_time_format "%H:%M"` (domyślna wartość)
* set the 'TZ' variable (for example: `export TZ="Europe/Paris"`), to prevent * ustaw zmienną 'TZ' (na przykład: `export TZ="Europe/Warsaw"`), w celu zmniejszenia
frequent access to file '/etc/localtime' częstotliwości czytania pliku '/etc/localtime'
[[development]] [[development]]
== Rozwój == Rozwój
@@ -743,8 +729,7 @@ You can follow same tips as for <<memory_usage,memory>>, and these ones:
[[bug_task_patch]] [[bug_task_patch]]
=== Jak zgłaszać błędy, prosić o nowe możliwości lub wysyłać patche? === Jak zgłaszać błędy, prosić o nowe możliwości lub wysyłać patche?
// TRANSLATION MISSING Zobacz: http://weechat.org/dev/support
See: http://weechat.org/dev/support
[[gdb_error_threads]] [[gdb_error_threads]]
=== Kiedy uruchamiam WeeChat pod gdb dostaję komunikat o wątkach, co mogę z tym zrobić? === Kiedy uruchamiam WeeChat pod gdb dostaję komunikat o wątkach, co mogę z tym zrobić?
+12 -18
View File
@@ -94,11 +94,9 @@ na liście "irc" oraz inne wtyczki.
[[create_irc_server]] [[create_irc_server]]
== Tworzenie serwera IRC == Tworzenie serwera IRC
// TRANSLATION MISSING Serwer 'freenode' jest tworzony domyślnie przy pierwszym uruchomieniu.
The server 'freenode' is created by default on first startup.
// TRANSLATION MISSING Możesz dodać inne serwery IRC za pomocą komendy '/server', na przykład:
You can add another IRC server with `/server` command, for example:
---- ----
/server add oftc irc.oftc.net/6667 /server add oftc irc.oftc.net/6667
@@ -140,8 +138,7 @@ Aby włączyć automatyczne łączenie się z serwerem przy starcie:
/set irc.server.freenode.autoconnect on /set irc.server.freenode.autoconnect on
---- ----
// TRANSLATION MISSING W celu połączenia z użyciem SSL:
To connect with SSL:
---- ----
/set irc.server.freenode.addresses "chat.freenode.net/7000" /set irc.server.freenode.addresses "chat.freenode.net/7000"
@@ -149,10 +146,9 @@ To connect with SSL:
/set irc.server.freenode.ssl_dhkey_size 1024 /set irc.server.freenode.ssl_dhkey_size 1024
---- ----
// TRANSLATION MISSING
[NOTE] [NOTE]
Freenode does not support the default dhkey size of 2048, so it has to be set Freenode nie wspiera domyślnego rozmiaru klucza dhkey 2048, dlatego należy go
to 1024. ustawić na 1024.
Jeśli SASL jest dostępny na serwerze, można użyć go do uwierzytelnienia (zostaniesz Jeśli SASL jest dostępny na serwerze, można użyć go do uwierzytelnienia (zostaniesz
zidentyfikowany przed wejściem na kanał): zidentyfikowany przed wejściem na kanał):
@@ -170,9 +166,8 @@ przez nickserv (tylko jeśli nie uwierzytelniasz się przez SASL):
/set irc.server.freenode.command "/msg nickserv identify xxxxxxx" /set irc.server.freenode.command "/msg nickserv identify xxxxxxx"
---- ----
// TRANSLATION MISSING
[NOTE] [NOTE]
Many commands in option 'command' can be separated by ';' (semi-colon). Opcja 'command' może zawierać wiele komend, należy je oddzielić ';' (średnik).
Aby automatycznie wejść na kanały po połączeniu z serwerem: Aby automatycznie wejść na kanały po połączeniu z serwerem:
@@ -202,12 +197,12 @@ nazwa opcji):
---- ----
[NOTE] [NOTE]
Ta komenda może być użyta do utworzenia i połączenia sie z nowym serwerem bez Ta komenda może być użyta do utworzenia i połączenia się z nowym serwerem bez
użycia komendy `/server` (czy mam powtarzać, że pomoc dla tej komendy można użycia komendy `/server` (czy mam powtarzać, że pomoc dla tej komendy można
uzyskać dzięki `/help connect` ?). uzyskać dzięki `/help connect` ?).
Domyślnie bufory serwerów są połączone z buforem WeeChat 'core'. Aby przełączać Domyślnie bufory serwerów są połączone z buforem WeeChat 'core'. Aby przełączać
się pomiędzy biforem 'core' a buforami serwerów możesz użyć key[ctrl-x]. się pomiędzy buforem 'core' a buforami serwerów możesz użyć key[ctrl-x].
Jest możliwe wyłączenie automatycznego łączenia buforów serwerów, aby mieć Jest możliwe wyłączenie automatycznego łączenia buforów serwerów, aby mieć
oddzielne bufory dla serwerów: oddzielne bufory dla serwerów:
@@ -237,17 +232,16 @@ Zamknięcie bufora serwera lub kanału (`/close` jest aliasem `/buffer close`):
/close /close
---- ----
// TRANSLATION MISSING
[[irc_private_messages]] [[irc_private_messages]]
== IRC private messages == Prywatne wiadomości IRC
Open a buffer and send a message to another user (nick 'foo'): Otworzenie bufora i wysłanie wiadomości do innego użytkownika (nick 'foo'):
---- ----
/query foo this is a message /query foo to jest wiadomość
---- ----
Close the private buffer: Zamykanie prywatnego bufora:
---- ----
/close /close
File diff suppressed because it is too large Load Diff
+9 -3
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: 2014-08-02 16:12+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n" "PO-Revision-Date: 2014-07-25 07:49+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6617,8 +6617,8 @@ msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -9981,6 +9981,12 @@ msgstr "Žádné rmodifikátory nejsou definovány"
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Seznam aliasů:" msgstr "Seznam aliasů:"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "Pole \"%s\" vytvořeno" msgstr "Pole \"%s\" vytvořeno"
+14 -6
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-25 09:12+0100\n" "PO-Revision-Date: 2014-09-20 15:52+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n" "Language-Team: German <weechatter@arcor.de>\n"
"Language: de_DE\n" "Language: de_DE\n"
@@ -7514,13 +7514,13 @@ msgstr "Passwort für Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)"
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
"durch Kommata getrennte Liste von erweiterten Client Fähigkeiten (\"client " "durch Kommata getrennte Liste von erweiterten Client Fähigkeiten (\"client "
"capabilities\"), welche vom Server angeboten und genutzt werden sollen. " "capabilities\"), welche vom Server angeboten und genutzt werden sollen. "
"Fähigkeiten die von WeeChat unterstützt werden: multi-prefix, userhost-in-" "Fähigkeiten die von WeeChat unterstützt werden: away-notify, multi-prefix, "
"name, away-notify (Beispiel: \"multi-prefix, userhost-in-name,away-notify\")" "server-time, userhost-in-names (Beispiel: \"away-notify,multi-prefix\")"
msgid "" msgid ""
"mechanism for SASL authentication: \"plain\" for plain text password, \"dh-" "mechanism for SASL authentication: \"plain\" for plain text password, \"dh-"
@@ -11224,6 +11224,14 @@ msgstr "Kein Trigger definiert"
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Liste der standardmäßigen Trigger:" msgstr "Liste der standardmäßigen Trigger:"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
"%s%s: Aktion \"%s\" kann nicht auf Trigger \"%s\" angewendet werden, da er "
"zur Zeit ausgeführt wird"
#, c-format #, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "Trigger \"%s\" neu gestartet" msgstr "Trigger \"%s\" neu gestartet"
+9 -3
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: 2014-07-25 20:37+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n" "PO-Revision-Date: 2014-07-25 07:49+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6853,8 +6853,8 @@ msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
#, fuzzy #, fuzzy
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
"lista separada por comas de capabilidades del cliente (\"client capabilities" "lista separada por comas de capabilidades del cliente (\"client capabilities"
"\") para habilitar en el servidor si están disponibles (ejemplo: \"multi-" "\") para habilitar en el servidor si están disponibles (ejemplo: \"multi-"
@@ -10256,6 +10256,12 @@ msgstr "Ningún modificador regular definido"
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Lista de alias:" msgstr "Lista de alias:"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "Barra \"%s\" creada" msgstr "Barra \"%s\" creada"
+15 -7
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: 2014-07-25 20:37+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n" "PO-Revision-Date: 2014-09-20 14:57+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"
"Language: fr\n" "Language: fr\n"
@@ -2569,7 +2569,7 @@ msgstr ""
" afficher la valeur de la variable d'environnement LANG :\n" " afficher la valeur de la variable d'environnement LANG :\n"
" /set env LANG\n" " /set env LANG\n"
" modifier la variable d'environnement LANG et l'utiliser :\n" " modifier la variable d'environnement LANG et l'utiliser :\n"
" /set env LANG=fr_FR.UTF-8\n" " /set env LANG fr_FR.UTF-8\n"
" /upgrade\n" " /upgrade\n"
" réinitialiser la variable d'environnement ABC :\n" " réinitialiser la variable d'environnement ABC :\n"
" /set env ABC \"\"" " /set env ABC \"\""
@@ -7362,13 +7362,13 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
"liste séparée par des virgules de capacités client (\"client capabilities\") " "liste séparée par des virgules de capacités client (\"client capabilities\") "
"à activer sur le serveur si elles sont disponibles ; les capacités " "à activer sur le serveur si elles sont disponibles ; les capacités "
"supportées par WeeChat sont : multi-prefix, userhost-in-names, away-notify " "supportées par WeeChat sont : away-notify, multi-prefix, server-time, "
"(exemple : \"multi-prefix,userhost-in-names,away-notify\")" "userhost-in-names (exemple : \"away-notify,multi-prefix\")"
msgid "" msgid ""
"mechanism for SASL authentication: \"plain\" for plain text password, \"dh-" "mechanism for SASL authentication: \"plain\" for plain text password, \"dh-"
@@ -10976,6 +10976,14 @@ msgstr "Pas de trigger défini"
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Liste des triggers par défaut :" msgstr "Liste des triggers par défaut :"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
"%s%s : l'action \"%s\" ne peut pas être exécutée sur le trigger \"%s\" car "
"il est actuellement en cours d'exécution"
#, c-format #, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "Trigger \"%s\" redémarré" msgstr "Trigger \"%s\" redémarré"
+9 -3
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: 2014-08-02 16:12+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n" "PO-Revision-Date: 2014-07-25 07:49+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"
@@ -6115,8 +6115,8 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -9356,6 +9356,12 @@ msgstr "Nincs aliasz definiálva.\n"
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Aliaszok listája:\n" msgstr "Aliaszok listája:\n"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "A \"%s\" => \"%s\" aliasz elkészült\n" msgstr "A \"%s\" => \"%s\" aliasz elkészült\n"
+9 -3
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: 2014-07-25 20:37+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n" "PO-Revision-Date: 2014-07-25 07:49+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"
@@ -6997,8 +6997,8 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -10434,6 +10434,12 @@ msgstr "Nessun rmodifier definito"
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Elenco degli alias:" msgstr "Elenco degli alias:"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "Barra \"%s\" creata" msgstr "Barra \"%s\" creata"
+39 -30
View File
@@ -20,8 +20,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: 2014-08-02 11:25+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-25 07:50+0200\n" "PO-Revision-Date: 2014-09-20 23:10+0900\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/translation_ja>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
"Language: ja\n" "Language: ja\n"
@@ -40,11 +40,11 @@ msgid "max chars"
msgstr "最大文字数" msgstr "最大文字数"
msgid "" msgid ""
"a WeeChat color name (default, black, (dark)gray, white, (light)red, " "a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)"
"(light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a " "green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal "
"terminal color number or an alias; attributes are allowed before color (for " "color number or an alias; attributes are allowed before color (for text "
"text color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" " "color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" for "
"for italic, \"_\" for underline" "italic, \"_\" for underline"
msgstr "" msgstr ""
"WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、" "WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、"
"brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号ま" "brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号ま"
@@ -1266,7 +1266,7 @@ msgstr ""
" alias: ある色に別名を追加\n" " alias: ある色に別名を追加\n"
" unalias: 別名の削除\n" " unalias: 別名の削除\n"
" color: カラー番号 (0 以上、最大値はターミナル依存、多くの場合 63 か 255)\n" " color: カラー番号 (0 以上、最大値はターミナル依存、多くの場合 63 か 255)\n"
" name: カラーの別名 (例えば: \"orange\")\n" " name: カラーの別名 (例: \"orange\")\n"
" reset: 全てのカラーペアをリセット (自動的なリセットが無効化されており、こ" " reset: 全てのカラーペアをリセット (自動的なリセットが無効化されており、こ"
"れ以上のカラーペアが利用できない場合に必要、オプション weechat.look." "れ以上のカラーペアが利用できない場合に必要、オプション weechat.look."
"color_pairs_auto_reset を参照)\n" "color_pairs_auto_reset を参照)\n"
@@ -1498,7 +1498,7 @@ msgstr ""
"式が NULL でない場合、空でない場合、\"0\" でない場合、式は \"真\" と評価され" "式が NULL でない場合、空でない場合、\"0\" でない場合、式は \"真\" と評価され"
"ます。\n" "ます。\n"
"両方の式が有効な整数である場合、比較は整数を使って行われます。\n" "両方の式が有効な整数である場合、比較は整数を使って行われます。\n"
"文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例えば:\n" "文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例:\n"
" 50 > 100 ==> 0\n" " 50 > 100 ==> 0\n"
" \"50\" > \"100\" ==> 1\n" " \"50\" > \"100\" ==> 1\n"
"\n" "\n"
@@ -2797,7 +2797,7 @@ msgstr ""
"を秒単位で任意指定)\n" "を秒単位で任意指定)\n"
"\n" "\n"
"splith と splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在の" "splith と splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在の"
"ウィンドウサイズに対する割合で計算されます。例えば25 は size = " "ウィンドウサイズに対する割合で計算されます。例えば 25 は size = "
"current_size / 4 の新しいウィンドウを作成します。\n" "current_size / 4 の新しいウィンドウを作成します。\n"
"\n" "\n"
"例:\n" "例:\n"
@@ -4506,7 +4506,7 @@ msgid ""
msgstr "" msgstr ""
"バーを表示する条件 (\"window\" タイプのバー): 単純な条件: \"active" "バーを表示する条件 (\"window\" タイプのバー): 単純な条件: \"active"
"\"、\"inactive\"、\"nicklist\" (ウィンドウはアクティブ/非アクティブ、バッファ" "\"、\"inactive\"、\"nicklist\" (ウィンドウはアクティブ/非アクティブ、バッファ"
"にはニックネームリストが含まれる)、条件式 (/help eval を参照)、例えば: " "にはニックネームリストが含まれる)、条件式 (/help eval を参照)、例: "
"\"${nicklist} && ${window.win_width} > 100\" (式のローカル変数は " "\"${nicklist} && ${window.win_width} > 100\" (式のローカル変数は "
"${active}、${inactive}、${nicklist})" "${active}、${inactive}、${nicklist})"
@@ -4867,7 +4867,7 @@ msgstr ""
"aspell.check.commands を参照)。\n" "aspell.check.commands を参照)。\n"
"\n" "\n"
"全てのバッファで aspell を有効化するには、\"default_dict\" オプションを設定し" "全てのバッファで aspell を有効化するには、\"default_dict\" オプションを設定し"
"た後に、aspell を有効化してください。例えば:\n" "た後に、aspell を有効化してください。例:\n"
" /set aspell.check.default_dict \"en\"\n" " /set aspell.check.default_dict \"en\"\n"
" /aspell enable\n" " /aspell enable\n"
"\n" "\n"
@@ -5882,8 +5882,8 @@ msgstr ""
" - 内部サーバ名 (/server add で作成されたもの、利用推奨)\n" " - 内部サーバ名 (/server add で作成されたもの、利用推奨)\n"
" - ホスト名/ポート番号、又は IP アドレス/ポート番号 (これは一時的" " - ホスト名/ポート番号、又は IP アドレス/ポート番号 (これは一時的"
"サーバを作る)、デフォルトのポート番号は 6667\n" "サーバを作る)、デフォルトのポート番号は 6667\n"
" - 次のフォーマットに従う URL: irc[6][s]://[nickname[:" " - 次のフォーマットに従う URL: irc[6][s]://[nickname[:password]@]"
"password]@]irc.example.org[:port][/#channel1][,#channel2[...]]\n" "irc.example.org[:port][/#channel1][,#channel2[...]]\n"
" option: サーバに関するオプション (ブール型オプションでは、value は無視さ" " option: サーバに関するオプション (ブール型オプションでは、value は無視さ"
"れる)\n" "れる)\n"
" nooption: ブール型オプションを 'off' にする (例: -nossl)\n" " nooption: ブール型オプションを 'off' にする (例: -nossl)\n"
@@ -6670,7 +6670,7 @@ msgstr ""
"6667)、複数のアドレスはコンマで区切る\n" "6667)、複数のアドレスはコンマで区切る\n"
" temp: 一時的なサーバを作成 (保存されない)\n" " temp: 一時的なサーバを作成 (保存されない)\n"
" option: サーバのオプションを設定 (ブールオプションでは値が無視される)\n" " option: サーバのオプションを設定 (ブールオプションでは値が無視される)\n"
"nooption: ブールオプションを 'off' に設定 (例えば: -nossl)\n" "nooption: ブールオプションを 'off' に設定 (例: -nossl)\n"
" copy: サーバを複製\n" " copy: サーバを複製\n"
" rename: サーバをリネーム\n" " rename: サーバをリネーム\n"
" keep: 設定ファイルにサーバを保存 (一時的なサーバ用)\n" " keep: 設定ファイルにサーバを保存 (一時的なサーバ用)\n"
@@ -7077,12 +7077,12 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
"サーバで利用可能ならば有効化する \"client capabilities\" のコンマ区切りリス" "サーバで利用可能ならば有効化する \"client capabilities\" のコンマ区切りリス"
"ト; WeeChat で利用できる機能: multi-prefix、userhost-in-names、away-notify " "ト; WeeChat で利用できる機能: away-notify、multi-prefix、server-time、"
"(例: \"multi-prefix,userhost-in-names,away-notify\")" "userhost-in-names (例: \"away-notify,multi-prefix\")"
msgid "" msgid ""
"mechanism for SASL authentication: \"plain\" for plain text password, \"dh-" "mechanism for SASL authentication: \"plain\" for plain text password, \"dh-"
@@ -7530,7 +7530,7 @@ msgid ""
"comma separated list of tags used in a welcome notices redirected to a " "comma separated list of tags used in a welcome notices redirected to a "
"channel, for example: \"notify_private\"" "channel, for example: \"notify_private\""
msgstr "" msgstr ""
"ようこそ通知に使われ、チャンネルに転送するタグのコンマ区切りリスト、例えば: " "ようこそ通知に使われ、チャンネルに転送するタグのコンマ区切りリスト、例: "
"\"notify_private\"" "\"notify_private\""
msgid "" msgid ""
@@ -7548,7 +7548,7 @@ msgid ""
"\"notify_message\", \"notify_private\" or \"notify_highlight\"" "\"notify_message\", \"notify_private\" or \"notify_highlight\""
msgstr "" msgstr ""
"ニックネームの離席状態に変化があった場合の (whois コマンドの結果)、notify に" "ニックネームの離席状態に変化があった場合の (whois コマンドの結果)、notify に"
"よって表示されたメッセージに使われたタグのコンマ区切りリスト、例えば: " "よって表示されたメッセージに使われたタグのコンマ区切りリスト、例: "
"\"notify_message\"、\"notify_private\"、\"notify_highlight\"" "\"notify_message\"、\"notify_private\"、\"notify_highlight\""
msgid "close buffer when /part is issued on a channel" msgid "close buffer when /part is issued on a channel"
@@ -7561,7 +7561,7 @@ msgid ""
"comma separated list of tags used in private messages, for example: " "comma separated list of tags used in private messages, for example: "
"\"notify_message\", \"notify_private\" or \"notify_highlight\"" "\"notify_message\", \"notify_private\" or \"notify_highlight\""
msgstr "" msgstr ""
"プライベートメッセージに使われたタグのコンマ区切りリスト、例えば: " "プライベートメッセージに使われたタグのコンマ区切りリスト、例: "
"\"notify_message\"、\"notify_private\"、\"notify_highlight\"" "\"notify_message\"、\"notify_private\"、\"notify_highlight\""
msgid "" msgid ""
@@ -8142,9 +8142,9 @@ msgstr "%s%s%s%s が %s%s%s のトピックを削除 (古いトピック: \"%s%s
msgid "%s%s%s%s has unset topic for %s%s%s" msgid "%s%s%s%s has unset topic for %s%s%s"
msgstr "%s%s%s%s が %s%s%s のトピックを削除" msgstr "%s%s%s%s が %s%s%s のトピックを削除"
#, fuzzy, c-format #, c-format
msgid "%sWallops from %s: %s" msgid "%sWallops from %s: %s"
msgstr "%sから %s%s Wallops 権を取得 %s(%s%s%s)%s: %s" msgstr "%s%s からの wallops メッセージ: %s"
#, c-format #, c-format
msgid "%sUser mode for %s%s%s is %s[%s%s%s]" msgid "%sUser mode for %s%s%s is %s[%s%s%s]"
@@ -9544,7 +9544,8 @@ msgid ""
" %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %llu recv, %llu " " %s%s%s (%s%s%s), started on: %s, last activity: %s, bytes: %llu recv, %llu "
"sent" "sent"
msgstr "" msgstr ""
" %s%s%s (%s%s%s)、開始日時: %s、最新の活動: %s、バイト数: %llu 受信、%llu 送" " %s%s%s (%s%s%s)、開始日時: %s、最新の活動: %s、バイト数: %llu 受信、%llu 送"
"信"
#, c-format #, c-format
msgid " %s%s%s (%s%s%s), started on: %s" msgid " %s%s%s (%s%s%s), started on: %s"
@@ -10568,9 +10569,17 @@ msgstr "トリガは定義されていません"
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "デフォルトトリガのリスト:" msgstr "デフォルトトリガのリスト:"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
"%1$s%2$s: トリガ \"%4$s\" に対するアクション \"%3$s\" は現在実行中であるため"
"実行できません"
#, c-format #, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "トリガ \"%s\" 再開されました" msgstr "トリガ \"%s\" 再開ました"
#, c-format #, c-format
msgid "%s%s: a disabled trigger can not be restarted" msgid "%s%s: a disabled trigger can not be restarted"
@@ -10768,8 +10777,8 @@ msgid ""
"Examples (you can also look at default triggers with /trigger listdefault):\n" "Examples (you can also look at default triggers with /trigger listdefault):\n"
" add text attributes *bold*, _underline_ and /italic/ (only in user " " add text attributes *bold*, _underline_ and /italic/ (only in user "
"messages):\n" "messages):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==" " /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*"
"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:" "(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
"underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-" "underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-"
"italic}/\"\n" "italic}/\"\n"
" hide nicklist bar on small terminals:\n" " hide nicklist bar on small terminals:\n"
@@ -10843,8 +10852,8 @@ msgstr ""
"\n" "\n"
"例 (/trigger listdefault でデフォルトトリガを見ることができます):\n" "例 (/trigger listdefault でデフォルトトリガを見ることができます):\n"
" テキスト属性 *太字*、_下線_、/イタリック/ を追加 (ユーザメッセージのみ):\n" " テキスト属性 *太字*、_下線_、/イタリック/ を追加 (ユーザメッセージのみ):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==" " /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*"
"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:" "(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
"underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-" "underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-"
"italic}/\"\n" "italic}/\"\n"
" 狭い端末ではニックネームリストバーを隠す:\n" " 狭い端末ではニックネームリストバーを隠す:\n"
+628 -463
View File
File diff suppressed because it is too large Load Diff
+9 -3
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: 2014-08-02 16:12+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-14 18:44+0200\n" "PO-Revision-Date: 2014-07-14 18:44+0200\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n" "Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6358,8 +6358,8 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -9626,6 +9626,12 @@ msgstr "Nenhuma rmodifier definido"
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Lista de atalhos:" msgstr "Lista de atalhos:"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "Barra \"%s\" criada" msgstr "Barra \"%s\" criada"
+9 -3
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: 2014-08-02 16:12+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-25 07:50+0200\n" "PO-Revision-Date: 2014-07-25 07:50+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"
@@ -6140,8 +6140,8 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -9382,6 +9382,12 @@ msgstr "Сокращения не заданы.\n"
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "Список сокращений:\n" msgstr "Список сокращений:\n"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "Сокращение \"%s\" => \"%s\" создано\n" msgstr "Сокращение \"%s\" => \"%s\" создано\n"
+9 -3
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: 2014-08-02 16:12+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-07-25 07:50+0200\n" "PO-Revision-Date: 2014-07-25 07:50+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n" "Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5459,8 +5459,8 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -8443,6 +8443,12 @@ msgstr ""
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "filtrelerin listesi" msgstr "filtrelerin listesi"
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
#, fuzzy, c-format #, fuzzy, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "Filtre \"%s\" etkin" msgstr "Filtre \"%s\" etkin"
+12 -7
View File
@@ -19,17 +19,16 @@
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\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: 2014-08-02 16:12+0200\n" "POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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: \n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
msgid "any string" msgid "any string"
msgstr "" msgstr ""
@@ -5401,8 +5400,8 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) #. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid "" msgid ""
"comma-separated list of client capabilities to enable for server if they are " "comma-separated list of client capabilities to enable for server if they are "
"available; capabilities supported by WeeChat are: multi-prefix, userhost-in-" "available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"names, away-notify (example: \"multi-prefix,userhost-in-names,away-notify\")" "server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr "" msgstr ""
msgid "" msgid ""
@@ -8377,6 +8376,12 @@ msgstr ""
msgid "List of default triggers:" msgid "List of default triggers:"
msgstr "" msgstr ""
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
#, c-format #, c-format
msgid "Trigger \"%s\" restarted" msgid "Trigger \"%s\" restarted"
msgstr "" msgstr ""
+2 -1
View File
@@ -68,6 +68,7 @@ else
else else
# git version not found in file => update file with this git version # git version not found in file => update file with this git version
echo "Updating file ${HEADERFILE} with git version: \"${GIT_VERSION}\"" echo "Updating file ${HEADERFILE} with git version: \"${GIT_VERSION}\""
sed -i "s/#define PACKAGE_VERSION_GIT \".*\"/#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"/" ${HEADERFILE} sed "s/#define PACKAGE_VERSION_GIT \".*\"/#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"/" ${HEADERFILE} >${HEADERFILE}.tmp
mv -f ${HEADERFILE}.tmp ${HEADERFILE}
fi fi
fi fi
+21 -8
View File
@@ -606,7 +606,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]);
number = strtol (argv[2], &error, 10); (void) strtol (argv[i], &error, 10);
clear_number = (error && !error[0]); clear_number = (error && !error[0]);
} }
if (ptr_buffer) if (ptr_buffer)
@@ -784,7 +784,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)
{ {
number = strtol (argv[2], &error, 10); (void) strtol (argv[i], &error, 10);
if (error && !error[0]) if (error && !error[0])
{ {
for (ptr_buffer2 = gui_buffers; ptr_buffer2; for (ptr_buffer2 = gui_buffers; ptr_buffer2;
@@ -822,7 +822,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)
{ {
number = strtol (argv[2], &error, 10); (void) strtol (argv[i], &error, 10);
if (error && !error[0]) if (error && !error[0])
{ {
for (ptr_buffer2 = gui_buffers; ptr_buffer2; for (ptr_buffer2 = gui_buffers; ptr_buffer2;
@@ -1835,10 +1835,9 @@ COMMAND_CALLBACK(eval)
{ {
int i, print_only, condition; int i, print_only, condition;
char *result, *ptr_args, *expr, **commands; char *result, *ptr_args, *expr, **commands;
struct t_hashtable *options; struct t_hashtable *pointers, *options;
/* make C compiler happy */ /* make C compiler happy */
(void) buffer;
(void) data; (void) data;
(void) argv; (void) argv;
@@ -1870,12 +1869,24 @@ COMMAND_CALLBACK(eval)
if (ptr_args) if (ptr_args)
{ {
pointers = hashtable_new (32,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_POINTER,
NULL,
NULL);
if (pointers)
{
hashtable_set (pointers, "window",
gui_window_search_with_buffer (buffer));
hashtable_set (pointers, "buffer", buffer);
}
options = NULL; options = NULL;
if (condition) if (condition)
{ {
options = hashtable_new (32, options = hashtable_new (32,
WEECHAT_HASHTABLE_STRING, WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_POINTER, WEECHAT_HASHTABLE_STRING,
NULL, NULL,
NULL); NULL);
if (options) if (options)
@@ -1888,7 +1899,7 @@ COMMAND_CALLBACK(eval)
expr = string_remove_quotes (ptr_args, "\""); expr = string_remove_quotes (ptr_args, "\"");
if (expr) if (expr)
{ {
result = eval_expression (expr, NULL, NULL, options); result = eval_expression (expr, pointers, NULL, options);
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t>> %s", ptr_args); gui_chat_printf_date_tags (NULL, 0, "no_log", "\t>> %s", ptr_args);
if (result) if (result)
{ {
@@ -1911,7 +1922,7 @@ COMMAND_CALLBACK(eval)
} }
else else
{ {
result = eval_expression (ptr_args, NULL, NULL, options); result = eval_expression (ptr_args, pointers, NULL, options);
if (result) if (result)
{ {
commands = string_split_command (result, ';'); commands = string_split_command (result, ';');
@@ -1933,6 +1944,8 @@ COMMAND_CALLBACK(eval)
} }
if (result) if (result)
free (result); free (result);
if (pointers)
hashtable_free (pointers);
if (options) if (options)
hashtable_free (options); hashtable_free (options);
} }
+209 -206
View File
@@ -910,231 +910,234 @@ completion_list_add_config_option_values_cb (void *data,
(void) completion_item; (void) completion_item;
(void) buffer; (void) buffer;
if (completion->args) if (!completion->args)
return WEECHAT_RC_OK;
pos_space = strchr (completion->args, ' ');
if (pos_space)
option_full_name = string_strndup (completion->args,
pos_space - completion->args);
else
option_full_name = strdup (completion->args);
if (!option_full_name)
return WEECHAT_RC_OK;
file = NULL;
section = NULL;
pos_option = NULL;
pos_section = strchr (option_full_name, '.');
pos_option = (pos_section) ? strchr (pos_section + 1, '.') : NULL;
if (pos_section && pos_option)
{ {
pos_space = strchr (completion->args, ' '); file = string_strndup (option_full_name,
if (pos_space) pos_section - option_full_name);
option_full_name = string_strndup (completion->args, section = string_strndup (pos_section + 1,
pos_space - completion->args); pos_option - pos_section - 1);
else pos_option++;
option_full_name = strdup (completion->args); }
if (file && section && pos_option)
if (option_full_name) {
ptr_config = config_file_search (file);
if (ptr_config)
{ {
file = NULL; ptr_section = config_file_search_section (ptr_config,
section = NULL; section);
pos_option = NULL; if (ptr_section)
pos_section = strchr (option_full_name, '.');
pos_option = (pos_section) ? strchr (pos_section + 1, '.') : NULL;
if (pos_section && pos_option)
{ {
file = string_strndup (option_full_name, config_file_search_section_option (ptr_config,
pos_section - option_full_name); ptr_section,
section = string_strndup (pos_section + 1, pos_option,
pos_option - pos_section - 1); &section_found,
pos_option++; &option_found);
} if (option_found)
if (file && section && pos_option)
{
ptr_config = config_file_search (file);
if (ptr_config)
{ {
ptr_section = config_file_search_section (ptr_config, switch (option_found->type)
section);
if (ptr_section)
{ {
config_file_search_section_option (ptr_config, case CONFIG_OPTION_TYPE_BOOLEAN:
ptr_section, gui_completion_list_add (completion, "on",
pos_option, 0, WEECHAT_LIST_POS_SORT);
&section_found, gui_completion_list_add (completion, "off",
&option_found); 0, WEECHAT_LIST_POS_SORT);
if (option_found) gui_completion_list_add (completion, "toggle",
{ 0, WEECHAT_LIST_POS_END);
switch (option_found->type) if (option_found->value)
{ {
case CONFIG_OPTION_TYPE_BOOLEAN: if (CONFIG_BOOLEAN(option_found) == CONFIG_BOOLEAN_TRUE)
gui_completion_list_add (completion, "on", gui_completion_list_add (completion, "on",
0, WEECHAT_LIST_POS_SORT);
gui_completion_list_add (completion, "off",
0, WEECHAT_LIST_POS_SORT);
gui_completion_list_add (completion, "toggle",
0, WEECHAT_LIST_POS_END);
if (option_found->value)
{
if (CONFIG_BOOLEAN(option_found) == CONFIG_BOOLEAN_TRUE)
gui_completion_list_add (completion, "on",
0, WEECHAT_LIST_POS_BEGINNING);
else
gui_completion_list_add (completion, "off",
0, WEECHAT_LIST_POS_BEGINNING);
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
break;
case CONFIG_OPTION_TYPE_INTEGER:
if (option_found->string_values)
{
for (i = 0; option_found->string_values[i]; i++)
{
gui_completion_list_add (completion,
option_found->string_values[i],
0, WEECHAT_LIST_POS_SORT);
}
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_END);
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_END);
if (option_found->value)
{
gui_completion_list_add (completion,
option_found->string_values[CONFIG_INTEGER(option_found)],
0, WEECHAT_LIST_POS_BEGINNING);
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
}
else
{
if (option_found->value && CONFIG_INTEGER(option_found) > option_found->min)
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value && CONFIG_INTEGER(option_found) < option_found->max)
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value)
{
length = 64;
value_string = malloc (length);
if (value_string)
{
snprintf (value_string, length,
"%d", CONFIG_INTEGER(option_found));
gui_completion_list_add (completion,
value_string,
0, WEECHAT_LIST_POS_BEGINNING);
free (value_string);
}
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
}
break;
case CONFIG_OPTION_TYPE_STRING:
gui_completion_list_add (completion,
"\"\"",
0, WEECHAT_LIST_POS_BEGINNING); 0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value) else
{ gui_completion_list_add (completion, "off",
length = strlen (CONFIG_STRING(option_found)) + 2 + 1; 0, WEECHAT_LIST_POS_BEGINNING);
value_string = malloc (length);
if (value_string)
{
snprintf (value_string, length,
"\"%s\"",
CONFIG_STRING(option_found));
gui_completion_list_add (completion,
value_string,
0, WEECHAT_LIST_POS_BEGINNING);
free (value_string);
}
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
break;
case CONFIG_OPTION_TYPE_COLOR:
num_colors = gui_color_get_weechat_colors_number ();
for (i = 0; i < num_colors; i++)
{
color_name = gui_color_get_name (i);
if (color_name)
{
gui_completion_list_add (completion,
color_name,
0, WEECHAT_LIST_POS_SORT);
}
}
num_colors = gui_color_get_term_colors ();
for (i = 0; i <= num_colors; i++)
{
color_palette = gui_color_palette_get (i);
if (color_palette)
{
gui_completion_list_add (completion,
color_palette->alias,
0, WEECHAT_LIST_POS_END);
}
else
{
snprintf (str_number,
sizeof (str_number),
"%d",
i);
gui_completion_list_add (completion,
str_number,
0, WEECHAT_LIST_POS_END);
}
}
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_END);
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_END);
if (option_found->value)
{
color_name = gui_color_get_name (CONFIG_INTEGER(option_found));
if (color_name)
{
gui_completion_list_add (completion,
color_name,
0, WEECHAT_LIST_POS_BEGINNING);
}
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
break;
case CONFIG_NUM_OPTION_TYPES:
break;
} }
if (option_found->value else
&& option_found->null_value_allowed)
{ {
gui_completion_list_add (completion, gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL, WEECHAT_CONFIG_OPTION_NULL,
0, 0, WEECHAT_LIST_POS_BEGINNING);
WEECHAT_LIST_POS_END);
} }
} break;
case CONFIG_OPTION_TYPE_INTEGER:
if (option_found->string_values)
{
for (i = 0; option_found->string_values[i]; i++)
{
gui_completion_list_add (completion,
option_found->string_values[i],
0, WEECHAT_LIST_POS_SORT);
}
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_END);
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_END);
if (option_found->value)
{
gui_completion_list_add (completion,
option_found->string_values[CONFIG_INTEGER(option_found)],
0, WEECHAT_LIST_POS_BEGINNING);
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
}
else
{
if (option_found->value && CONFIG_INTEGER(option_found) > option_found->min)
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value && CONFIG_INTEGER(option_found) < option_found->max)
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value)
{
length = 64;
value_string = malloc (length);
if (value_string)
{
snprintf (value_string, length,
"%d", CONFIG_INTEGER(option_found));
gui_completion_list_add (completion,
value_string,
0, WEECHAT_LIST_POS_BEGINNING);
free (value_string);
}
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
}
break;
case CONFIG_OPTION_TYPE_STRING:
gui_completion_list_add (completion,
"\"\"",
0, WEECHAT_LIST_POS_BEGINNING);
if (option_found->value)
{
length = strlen (CONFIG_STRING(option_found)) + 2 + 1;
value_string = malloc (length);
if (value_string)
{
snprintf (value_string, length,
"\"%s\"",
CONFIG_STRING(option_found));
gui_completion_list_add (completion,
value_string,
0, WEECHAT_LIST_POS_BEGINNING);
free (value_string);
}
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
break;
case CONFIG_OPTION_TYPE_COLOR:
num_colors = gui_color_get_weechat_colors_number ();
for (i = 0; i < num_colors; i++)
{
color_name = gui_color_get_name (i);
if (color_name)
{
gui_completion_list_add (completion,
color_name,
0, WEECHAT_LIST_POS_SORT);
}
}
num_colors = gui_color_get_term_colors ();
for (i = 0; i <= num_colors; i++)
{
color_palette = gui_color_palette_get (i);
if (color_palette)
{
gui_completion_list_add (completion,
color_palette->alias,
0, WEECHAT_LIST_POS_END);
}
else
{
snprintf (str_number,
sizeof (str_number),
"%d",
i);
gui_completion_list_add (completion,
str_number,
0, WEECHAT_LIST_POS_END);
}
}
gui_completion_list_add (completion, "++1",
0, WEECHAT_LIST_POS_END);
gui_completion_list_add (completion, "--1",
0, WEECHAT_LIST_POS_END);
if (option_found->value)
{
color_name = gui_color_get_name (CONFIG_INTEGER(option_found));
if (color_name)
{
gui_completion_list_add (completion,
color_name,
0, WEECHAT_LIST_POS_BEGINNING);
}
}
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0, WEECHAT_LIST_POS_BEGINNING);
}
break;
case CONFIG_NUM_OPTION_TYPES:
break;
}
if (option_found->value
&& option_found->null_value_allowed)
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0,
WEECHAT_LIST_POS_END);
} }
} }
} }
if (file)
free (file);
if (section)
free (section);
} }
} }
if (file)
free (file);
if (section)
free (section);
free (option_full_name);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+4
View File
@@ -979,6 +979,8 @@ config_file_option_reset (struct t_config_option *option, int run_callback)
option->value = malloc (sizeof (int)); option->value = malloc (sizeof (int));
if (option->value) if (option->value)
CONFIG_INTEGER(option) = 0; CONFIG_INTEGER(option) = 0;
else
break;
} }
if (CONFIG_INTEGER(option) == CONFIG_INTEGER_DEFAULT(option)) if (CONFIG_INTEGER(option) == CONFIG_INTEGER_DEFAULT(option))
rc = WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; rc = WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE;
@@ -1009,6 +1011,8 @@ config_file_option_reset (struct t_config_option *option, int run_callback)
option->value = malloc (sizeof (int)); option->value = malloc (sizeof (int));
if (option->value) if (option->value)
CONFIG_INTEGER(option) = 0; CONFIG_INTEGER(option) = 0;
else
break;
} }
if (CONFIG_COLOR(option) == CONFIG_COLOR_DEFAULT(option)) if (CONFIG_COLOR(option) == CONFIG_COLOR_DEFAULT(option))
rc = WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE; rc = WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE;
+1 -4
View File
@@ -395,16 +395,13 @@ eval_replace_vars (const char *expr, struct t_hashtable *pointers,
struct t_hashtable *extra_vars, struct t_hashtable *extra_vars,
const char *prefix, const char *suffix) const char *prefix, const char *suffix)
{ {
int errors;
void *ptr[2]; void *ptr[2];
ptr[0] = pointers; ptr[0] = pointers;
ptr[1] = extra_vars; ptr[1] = extra_vars;
return string_replace_with_callback (expr, prefix, suffix, return string_replace_with_callback (expr, prefix, suffix,
&eval_replace_vars_cb, &eval_replace_vars_cb, ptr, NULL);
ptr,
&errors);
} }
/* /*
+2 -3
View File
@@ -270,7 +270,7 @@ hashtable_alloc_type (enum t_hashtable_type type,
*size = sizeof (void *); *size = sizeof (void *);
break; break;
case HASHTABLE_BUFFER: case HASHTABLE_BUFFER:
if (value) if (value && (size_value > 0))
{ {
*pointer = malloc (size_value); *pointer = malloc (size_value);
if (*pointer) if (*pointer)
@@ -307,8 +307,7 @@ hashtable_free_key (struct t_hashtable *hashtable,
if (hashtable->callback_free_key) if (hashtable->callback_free_key)
{ {
(void) (hashtable->callback_free_key) (hashtable, (void) (hashtable->callback_free_key) (hashtable,
item->key, item->key);
item->value);
} }
else else
{ {
+1 -1
View File
@@ -28,7 +28,7 @@ typedef unsigned long long (t_hashtable_hash_key)(struct t_hashtable *hashtable,
typedef int (t_hashtable_keycmp)(struct t_hashtable *hashtable, typedef int (t_hashtable_keycmp)(struct t_hashtable *hashtable,
const void *key1, const void *key2); const void *key1, const void *key2);
typedef void (t_hashtable_free_key)(struct t_hashtable *hashtable, typedef void (t_hashtable_free_key)(struct t_hashtable *hashtable,
void *key, const void *value); void *key);
typedef void (t_hashtable_free_value)(struct t_hashtable *hashtable, typedef void (t_hashtable_free_value)(struct t_hashtable *hashtable,
const void *key, void *value); const void *key, void *value);
typedef void (t_hashtable_map)(void *data, typedef void (t_hashtable_map)(void *data,
+3 -3
View File
@@ -562,11 +562,11 @@ hdata_move (struct t_hdata *hdata, void *pointer, int count)
for (i = 0; i < abs_count; i++) for (i = 0; i < abs_count; i++)
{ {
pointer = hdata_pointer (hdata, pointer, ptr_var); pointer = hdata_pointer (hdata, pointer, ptr_var);
if (pointer) if (!pointer)
return pointer; break;
} }
return NULL; return pointer;
} }
/* /*
+5 -12
View File
@@ -674,12 +674,9 @@ hook_command_exec (struct t_gui_buffer *buffer, int any_plugin,
if (!buffer || !string || !string[0]) if (!buffer || !string || !string[0])
return -1; return -1;
rc = hook_command_run_exec (buffer, string); if (hook_command_run_exec (buffer, string) == WEECHAT_RC_OK_EAT)
if (rc == WEECHAT_RC_OK_EAT)
return 1; return 1;
rc = -1;
argv = string_split (string, " ", 0, 0, &argc); argv = string_split (string, " ", 0, 0, &argc);
if (argc == 0) if (argc == 0)
{ {
@@ -726,12 +723,9 @@ hook_command_exec (struct t_gui_buffer *buffer, int any_plugin,
ptr_hook = next_hook; ptr_hook = next_hook;
} }
if (!hook_plugin && !hook_other_plugin) rc = -1;
{
/* command not found at all */ if (hook_plugin || hook_other_plugin)
rc = -1;
}
else
{ {
if (!hook_plugin && (count_other_plugin > 1) if (!hook_plugin && (count_other_plugin > 1)
&& (hook_other_plugin->priority == hook_other_plugin2->priority)) && (hook_other_plugin->priority == hook_other_plugin2->priority))
@@ -1517,7 +1511,7 @@ hook_process_child (struct t_hook *hook_process)
(void) f; (void) f;
} }
rc = EXIT_SUCCESS; rc = EXIT_FAILURE;
if (strncmp (HOOK_PROCESS(hook_process, command), "url:", 4) == 0) if (strncmp (HOOK_PROCESS(hook_process, command), "url:", 4) == 0)
{ {
@@ -1605,7 +1599,6 @@ hook_process_child (struct t_hook *hook_process)
string_free_split (exec_args); string_free_split (exec_args);
fprintf (stderr, "Error with command '%s'\n", fprintf (stderr, "Error with command '%s'\n",
HOOK_PROCESS(hook_process, command)); HOOK_PROCESS(hook_process, command));
rc = EXIT_FAILURE;
} }
fflush (stdout); fflush (stdout);
+23 -16
View File
@@ -1354,12 +1354,12 @@ string_replace_regex_get_replace (const char *string, regmatch_t *regex_match,
* *
* Examples: * Examples:
* *
* string | regex | replace | result * string | regex | replace | result
* ----------+---------------+-----------+------------- * ----------+---------------+----------+-------------
* test foo | test | Z | Z foo * test foo | test | Z | Z foo
* test foo | ^(test +)(.*) | $2 | foo * test foo | ^(test +)(.*) | $2 | foo
* test foo | ^(test +)(.*) | $1 / $.*2 | test / *** * test foo | ^(test +)(.*) | $1/ $.*2 | test / ***
* test foo | ^(test +)(.*) | $.%+ | %%% * test foo | ^(test +)(.*) | $.%+ | %%%
* *
* Note: result must be freed after use. * Note: result must be freed after use.
*/ */
@@ -1374,7 +1374,7 @@ string_replace_regex (const char *string, void *regex, const char *replace,
int length, length_replace, start_offset, i, rc, end, last_match; int length, length_replace, start_offset, i, rc, end, last_match;
regmatch_t regex_match[100]; regmatch_t regex_match[100];
if (!string) if (!string || !regex)
return NULL; return NULL;
length = strlen (string) + 1; length = strlen (string) + 1;
@@ -2256,6 +2256,10 @@ string_iconv_fprintf (FILE *file, const char *data, ...)
int rc, num_written; int rc, num_written;
rc = 0; rc = 0;
if (!data)
return rc;
weechat_va_format (data); weechat_va_format (data);
if (vbuffer) if (vbuffer)
{ {
@@ -2641,7 +2645,8 @@ string_input_for_buffer (const char *string)
* *
* Nested variables are supported, for example: "${var1:${var2}}". * Nested variables are supported, for example: "${var1:${var2}}".
* *
* Argument "errors" is set with number of keys not found by callback. * Argument "errors" (if not NULL) is set with number of keys not found by
* callback.
* *
* Note: result must be freed after use. * Note: result must be freed after use.
*/ */
@@ -2659,9 +2664,10 @@ string_replace_with_callback (const char *string,
char *result, *result2, *key, *key2, *value; char *result, *result2, *key, *key2, *value;
const char *pos_end_name; const char *pos_end_name;
*errors = 0; if (errors)
*errors = 0;
if (!string || !prefix || !prefix[0] || !suffix || !suffix[0]) if (!string || !prefix || !prefix[0] || !suffix || !suffix[0] || !callback)
return NULL; return NULL;
length_prefix = strlen (prefix); length_prefix = strlen (prefix);
@@ -2710,7 +2716,8 @@ string_replace_with_callback (const char *string,
if (!pos_end_name[0]) if (!pos_end_name[0])
{ {
result[index_result] = '\0'; result[index_result] = '\0';
(*errors)++; if (errors)
(*errors)++;
return result; return result;
} }
key = string_strndup (string + index_string + length_prefix, key = string_strndup (string + index_string + length_prefix,
@@ -2724,7 +2731,8 @@ string_replace_with_callback (const char *string,
suffix, callback, suffix, callback,
callback_data, callback_data,
&sub_errors); &sub_errors);
(*errors) += sub_errors; if (errors)
(*errors) += sub_errors;
free (key); free (key);
key = key2; key = key2;
} }
@@ -2755,7 +2763,8 @@ string_replace_with_callback (const char *string,
else else
{ {
result[index_result++] = string[index_string++]; result[index_result++] = string[index_string++];
(*errors)++; if (errors)
(*errors)++;
} }
if (key) if (key)
free (key); free (key);
@@ -2815,12 +2824,10 @@ string_shared_keycmp (struct t_hashtable *hashtable,
*/ */
void void
string_shared_free_key (struct t_hashtable *hashtable, string_shared_free_key (struct t_hashtable *hashtable, void *key)
void *key, const void *value)
{ {
/* make C compiler happy */ /* make C compiler happy */
(void) hashtable; (void) hashtable;
(void) value;
free (key); free (key);
} }
+2
View File
@@ -759,6 +759,8 @@ upgrade_file_read (struct t_upgrade_file *upgrade_file,
{ {
UPGRADE_ERROR(_("read - bad signature (upgrade file format may have " UPGRADE_ERROR(_("read - bad signature (upgrade file format may have "
"changed since last version)"), ""); "changed since last version)"), "");
if (signature)
free (signature);
return 0; return 0;
} }
+1 -2
View File
@@ -402,8 +402,7 @@ weechat_term_check ()
sty = getenv ("STY"); sty = getenv ("STY");
tmux = getenv ("TMUX"); tmux = getenv ("TMUX");
is_term_ok = (term && ((strcmp (term, "screen") == 0) is_term_ok = (term && (strncmp (term, "screen", 6) == 0));
|| (strcmp (term, "screen-256color") == 0)));
is_screen = (sty && sty[0]); is_screen = (sty && sty[0]);
is_tmux = (tmux && tmux[0]); is_tmux = (tmux && tmux[0]);
-1
View File
@@ -379,7 +379,6 @@ gui_mouse_event_code2key (const char *code)
* buttonX-gesture-right-long | >= 40 | * buttonX-gesture-right-long | >= 40 |
*/ */
distance = 0;
if (key[0] if (key[0]
&& ((gui_mouse_event_x[0] != gui_mouse_event_x[1]) && ((gui_mouse_event_x[0] != gui_mouse_event_x[1])
|| (gui_mouse_event_y[0] != gui_mouse_event_y[1]))) || (gui_mouse_event_y[0] != gui_mouse_event_y[1])))
+1 -1
View File
@@ -1224,7 +1224,7 @@ gui_window_switch_to_buffer (struct t_gui_window *window,
gui_buffer_compute_num_displayed (); gui_buffer_compute_num_displayed ();
if (!weechat_upgrading && (old_buffer != buffer)) if (!weechat_upgrading && (old_buffer != buffer))
gui_hotlist_remove_buffer (buffer); gui_hotlist_remove_buffer (buffer, 0);
gui_bar_window_remove_unused_bars (window); gui_bar_window_remove_unused_bars (window);
gui_bar_window_add_missing_bars (window); gui_bar_window_add_missing_bars (window);
+3 -3
View File
@@ -1730,7 +1730,7 @@ gui_buffer_set (struct t_gui_buffer *buffer, const char *property,
if (error && !error[0]) if (error && !error[0])
{ {
if (number < 0) if (number < 0)
gui_hotlist_remove_buffer (buffer); gui_hotlist_remove_buffer (buffer, 0);
else else
(void) gui_hotlist_add (buffer, number, NULL); (void) gui_hotlist_add (buffer, number, NULL);
} }
@@ -2480,7 +2480,7 @@ gui_buffer_clear (struct t_gui_buffer *buffer)
} }
} }
gui_hotlist_remove_buffer (buffer); gui_hotlist_remove_buffer (buffer, 0);
gui_buffer_ask_chat_refresh (buffer, 2); gui_buffer_ask_chat_refresh (buffer, 2);
@@ -2601,7 +2601,7 @@ gui_buffer_close (struct t_gui_buffer *buffer)
} }
} }
gui_hotlist_remove_buffer (buffer); gui_hotlist_remove_buffer (buffer, 1);
if (gui_hotlist_initial_buffer == buffer) if (gui_hotlist_initial_buffer == buffer)
gui_hotlist_initial_buffer = NULL; gui_hotlist_initial_buffer = NULL;
+72 -68
View File
@@ -639,7 +639,7 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
const char *tags, const char *message, ...) const char *tags, const char *message, ...)
{ {
time_t date_printed; time_t date_printed;
int display_time, length, at_least_one_message_printed; int display_time, length, at_least_one_message_printed, msg_discarded;
char *pos, *pos_prefix, *pos_tab, *pos_end, *pos_lines; char *pos, *pos_prefix, *pos_tab, *pos_end, *pos_lines;
char *modifier_data, *new_msg, *ptr_msg, *lines_waiting; char *modifier_data, *new_msg, *ptr_msg, *lines_waiting;
struct t_gui_line *ptr_line; struct t_gui_line *ptr_line;
@@ -693,6 +693,7 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
/* call modifier for message printed ("weechat_print") */ /* call modifier for message printed ("weechat_print") */
new_msg = NULL; new_msg = NULL;
msg_discarded = 0;
if (buffer) if (buffer)
{ {
length = strlen (gui_buffer_get_plugin_name (buffer)) + 1 + length = strlen (gui_buffer_get_plugin_name (buffer)) + 1 +
@@ -718,9 +719,10 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
* print anything * print anything
*/ */
free (new_msg); free (new_msg);
goto end; new_msg = NULL;
msg_discarded = 1;
} }
if (strcmp (message, new_msg) == 0) else if (strcmp (message, new_msg) == 0)
{ {
/* no changes in new message */ /* no changes in new message */
free (new_msg); free (new_msg);
@@ -730,89 +732,92 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
} }
} }
pos_prefix = NULL; if (!msg_discarded)
display_time = 1; {
ptr_msg = (new_msg) ? new_msg : pos; pos_prefix = NULL;
display_time = 1;
ptr_msg = (new_msg) ? new_msg : pos;
/* space followed by tab => prefix ignored */ /* space followed by tab => prefix ignored */
if ((ptr_msg[0] == ' ') && (ptr_msg[1] == '\t')) if ((ptr_msg[0] == ' ') && (ptr_msg[1] == '\t'))
{
ptr_msg += 2;
}
else
{
/* if two first chars are tab, then do not display time */
if ((ptr_msg[0] == '\t') && (ptr_msg[1] == '\t'))
{ {
display_time = 0;
ptr_msg += 2; ptr_msg += 2;
} }
else else
{ {
/* if tab found, use prefix (before tab) */ /* if two first chars are tab, then do not display time */
pos_tab = strchr (ptr_msg, '\t'); if ((ptr_msg[0] == '\t') && (ptr_msg[1] == '\t'))
if (pos_tab)
{ {
pos_tab[0] = '\0'; display_time = 0;
pos_prefix = ptr_msg; ptr_msg += 2;
ptr_msg = pos_tab + 1;
}
}
}
if (gui_init_ok)
{
ptr_line = gui_line_add (buffer, (display_time) ? date : 0,
date_printed, tags, pos_prefix, ptr_msg);
if (ptr_line)
{
if (buffer && buffer->print_hooks_enabled)
hook_print_exec (buffer, ptr_line);
if (ptr_line->data->displayed)
at_least_one_message_printed = 1;
}
}
else
{
length = ((pos_prefix) ? strlen (pos_prefix) + 1 : 0) +
strlen (ptr_msg) + 1;
if (gui_chat_lines_waiting_buffer)
{
length += strlen (gui_chat_lines_waiting_buffer) + 1;
lines_waiting = realloc (gui_chat_lines_waiting_buffer, length);
if (lines_waiting)
{
gui_chat_lines_waiting_buffer = lines_waiting;
} }
else else
{ {
free (gui_chat_lines_waiting_buffer); /* if tab found, use prefix (before tab) */
gui_chat_lines_waiting_buffer = NULL; pos_tab = strchr (ptr_msg, '\t');
if (pos_tab)
{
pos_tab[0] = '\0';
pos_prefix = ptr_msg;
ptr_msg = pos_tab + 1;
}
}
}
if (gui_init_ok)
{
ptr_line = gui_line_add (buffer, (display_time) ? date : 0,
date_printed, tags, pos_prefix, ptr_msg);
if (ptr_line)
{
if (buffer && buffer->print_hooks_enabled)
hook_print_exec (buffer, ptr_line);
if (ptr_line->data->displayed)
at_least_one_message_printed = 1;
} }
} }
else else
{ {
gui_chat_lines_waiting_buffer = malloc (length); length = ((pos_prefix) ? strlen (pos_prefix) + 1 : 0) +
strlen (ptr_msg) + 1;
if (gui_chat_lines_waiting_buffer) if (gui_chat_lines_waiting_buffer)
gui_chat_lines_waiting_buffer[0] = '\0';
}
if (gui_chat_lines_waiting_buffer)
{
pos_lines = gui_chat_lines_waiting_buffer +
strlen (gui_chat_lines_waiting_buffer);
if (pos_lines > gui_chat_lines_waiting_buffer)
{ {
pos_lines[0] = '\n'; length += strlen (gui_chat_lines_waiting_buffer) + 1;
pos_lines++; lines_waiting = realloc (gui_chat_lines_waiting_buffer, length);
if (lines_waiting)
{
gui_chat_lines_waiting_buffer = lines_waiting;
}
else
{
free (gui_chat_lines_waiting_buffer);
gui_chat_lines_waiting_buffer = NULL;
}
} }
if (pos_prefix) else
{ {
memcpy (pos_lines, pos_prefix, strlen (pos_prefix)); gui_chat_lines_waiting_buffer = malloc (length);
pos_lines += strlen (pos_prefix); if (gui_chat_lines_waiting_buffer)
pos_lines[0] = '\t'; gui_chat_lines_waiting_buffer[0] = '\0';
pos_lines++; }
if (gui_chat_lines_waiting_buffer)
{
pos_lines = gui_chat_lines_waiting_buffer +
strlen (gui_chat_lines_waiting_buffer);
if (pos_lines > gui_chat_lines_waiting_buffer)
{
pos_lines[0] = '\n';
pos_lines++;
}
if (pos_prefix)
{
memcpy (pos_lines, pos_prefix, strlen (pos_prefix));
pos_lines += strlen (pos_prefix);
pos_lines[0] = '\t';
pos_lines++;
}
memcpy (pos_lines, ptr_msg, strlen (ptr_msg) + 1);
} }
memcpy (pos_lines, ptr_msg, strlen (ptr_msg) + 1);
} }
} }
@@ -825,7 +830,6 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
if (gui_init_ok && at_least_one_message_printed) if (gui_init_ok && at_least_one_message_printed)
gui_buffer_ask_chat_refresh (buffer, 1); gui_buffer_ask_chat_refresh (buffer, 1);
end:
free (vbuffer); free (vbuffer);
} }
+8 -4
View File
@@ -487,7 +487,8 @@ gui_hotlist_clear ()
*/ */
void void
gui_hotlist_remove_buffer (struct t_gui_buffer *buffer) gui_hotlist_remove_buffer (struct t_gui_buffer *buffer,
int force_remove_buffer)
{ {
int hotlist_changed, hotlist_remove, buffer_to_remove; int hotlist_changed, hotlist_remove, buffer_to_remove;
struct t_gui_hotlist *ptr_hotlist, *next_hotlist; struct t_gui_hotlist *ptr_hotlist, *next_hotlist;
@@ -504,19 +505,22 @@ gui_hotlist_remove_buffer (struct t_gui_buffer *buffer)
{ {
next_hotlist = ptr_hotlist->next_hotlist; next_hotlist = ptr_hotlist->next_hotlist;
buffer_to_remove = 0; buffer_to_remove = (force_remove_buffer) ?
(ptr_hotlist->buffer == buffer) : 0;
switch (hotlist_remove) switch (hotlist_remove)
{ {
case CONFIG_LOOK_HOTLIST_REMOVE_BUFFER: case CONFIG_LOOK_HOTLIST_REMOVE_BUFFER:
buffer_to_remove = (ptr_hotlist->buffer == buffer); buffer_to_remove |= (ptr_hotlist->buffer == buffer);
break; break;
case CONFIG_LOOK_HOTLIST_REMOVE_MERGED: case CONFIG_LOOK_HOTLIST_REMOVE_MERGED:
buffer_to_remove = buffer_to_remove |=
((ptr_hotlist->buffer->number == buffer->number) ((ptr_hotlist->buffer->number == buffer->number)
&& (!ptr_hotlist->buffer->zoomed && (!ptr_hotlist->buffer->zoomed
|| (ptr_hotlist->buffer->active == 2))); || (ptr_hotlist->buffer->active == 2)));
break; break;
} }
if (buffer_to_remove) if (buffer_to_remove)
{ {
gui_hotlist_free (&gui_hotlist, &last_gui_hotlist, ptr_hotlist); gui_hotlist_free (&gui_hotlist, &last_gui_hotlist, ptr_hotlist);
+2 -1
View File
@@ -59,7 +59,8 @@ extern struct t_gui_hotlist *gui_hotlist_add (struct t_gui_buffer *buffer,
struct timeval *creation_time); struct timeval *creation_time);
extern void gui_hotlist_resort (); extern void gui_hotlist_resort ();
extern void gui_hotlist_clear (); extern void gui_hotlist_clear ();
extern void gui_hotlist_remove_buffer (struct t_gui_buffer *buffer); extern void gui_hotlist_remove_buffer (struct t_gui_buffer *buffer,
int force_remove_buffer);
extern struct t_hdata *gui_hotlist_hdata_hotlist_cb (void *data, extern struct t_hdata *gui_hotlist_hdata_hotlist_cb (void *data,
const char *hdata_name); const char *hdata_name);
extern int gui_hotlist_add_to_infolist (struct t_infolist *infolist, extern int gui_hotlist_add_to_infolist (struct t_infolist *infolist,
+1 -1
View File
@@ -1383,7 +1383,7 @@ gui_input_jump_smart (struct t_gui_buffer *buffer)
if (!gui_hotlist_initial_buffer) if (!gui_hotlist_initial_buffer)
gui_hotlist_initial_buffer = window->buffer; gui_hotlist_initial_buffer = window->buffer;
gui_window_switch_to_buffer (window, gui_hotlist->buffer, 1); gui_window_switch_to_buffer (window, gui_hotlist->buffer, 1);
gui_hotlist_remove_buffer (window->buffer); gui_hotlist_remove_buffer (window->buffer, 0);
scroll_to_bottom = 1; scroll_to_bottom = 1;
} }
else else
+9
View File
@@ -782,7 +782,16 @@ gui_line_has_highlight (struct t_gui_line *line)
{ {
length = strlen (ptr_nick); length = strlen (ptr_nick);
if (strncmp (ptr_msg_no_color, ptr_nick, length) == 0) if (strncmp (ptr_msg_no_color, ptr_nick, length) == 0)
{
/* skip nick at beginning (for example: "FlashCode") */
ptr_msg_no_color += length; ptr_msg_no_color += length;
}
else if (ptr_msg_no_color[0]
&& (strncmp (ptr_msg_no_color + 1, ptr_nick, length) == 0))
{
/* skip prefix and nick at beginning (for example: "@FlashCode") */
ptr_msg_no_color += length + 1;
}
} }
/* /*
+7 -5
View File
@@ -1191,8 +1191,9 @@ gui_window_scroll (struct t_gui_window *window, char *scroll)
{ {
old_date = ptr_line->data->date; old_date = ptr_line->data->date;
date_tmp = localtime (&old_date); date_tmp = localtime (&old_date);
if (date_tmp) if (!date_tmp)
memcpy (&old_line_date, date_tmp, sizeof (struct tm)); return;
memcpy (&old_line_date, date_tmp, sizeof (struct tm));
} }
while (ptr_line) while (ptr_line)
@@ -1213,8 +1214,9 @@ gui_window_scroll (struct t_gui_window *window, char *scroll)
else else
{ {
date_tmp = localtime (&(ptr_line->data->date)); date_tmp = localtime (&(ptr_line->data->date));
if (date_tmp) if (!date_tmp)
memcpy (&line_date, date_tmp, sizeof (struct tm)); return;
memcpy (&line_date, date_tmp, sizeof (struct tm));
if (old_date > ptr_line->data->date) if (old_date > ptr_line->data->date)
diff_date = old_date - ptr_line->data->date; diff_date = old_date - ptr_line->data->date;
else else
@@ -1671,7 +1673,7 @@ gui_window_search_stop (struct t_gui_window *window)
} }
window->scroll->start_line = NULL; window->scroll->start_line = NULL;
window->scroll->start_line_pos = 0; window->scroll->start_line_pos = 0;
gui_hotlist_remove_buffer (window->buffer); gui_hotlist_remove_buffer (window->buffer, 0);
gui_buffer_ask_chat_refresh (window->buffer, 2); gui_buffer_ask_chat_refresh (window->buffer, 2);
} }
+15 -8
View File
@@ -420,14 +420,13 @@ weechat_aspell_command_cb (void *data, struct t_gui_buffer *buffer,
/* set dictionary for current buffer */ /* set dictionary for current buffer */
if (weechat_strcasecmp (argv[1], "setdict") == 0) if (weechat_strcasecmp (argv[1], "setdict") == 0)
{ {
if (argc > 2) if (argc < 3)
{ return WEECHAT_RC_ERROR;
dicts = weechat_string_replace (argv_eol[2], " ", ""); dicts = weechat_string_replace (argv_eol[2], " ", "");
weechat_aspell_command_set_dict (buffer, weechat_aspell_command_set_dict (buffer,
(dicts) ? dicts : argv[2]); (dicts) ? dicts : argv[2]);
if (dicts) if (dicts)
free (dicts); free (dicts);
}
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
@@ -441,10 +440,18 @@ weechat_aspell_command_cb (void *data, struct t_gui_buffer *buffer,
/* add word to personal dictionary */ /* add word to personal dictionary */
if (weechat_strcasecmp (argv[1], "addword") == 0) if (weechat_strcasecmp (argv[1], "addword") == 0)
{ {
if (argc < 3)
return WEECHAT_RC_ERROR;
if (argc > 3) if (argc > 3)
{
/* use a given dict */
weechat_aspell_command_add_word (buffer, argv[2], argv_eol[3]); weechat_aspell_command_add_word (buffer, argv[2], argv_eol[3]);
}
else else
{
/* use default dict */
weechat_aspell_command_add_word (buffer, NULL, argv_eol[2]); weechat_aspell_command_add_word (buffer, NULL, argv_eol[2]);
}
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+5 -1
View File
@@ -1002,15 +1002,19 @@ weechat_aspell_debug_libs_cb (void *data, const char *signal,
(void) signal_data; (void) signal_data;
#ifdef USE_ENCHANT #ifdef USE_ENCHANT
#ifdef HAVE_ENCHANT_GET_VERSION
weechat_printf (NULL, " %s: enchant %s", weechat_printf (NULL, " %s: enchant %s",
ASPELL_PLUGIN_NAME, enchant_get_version ()); ASPELL_PLUGIN_NAME, enchant_get_version ());
#else
weechat_printf (NULL, " %s: enchant (?)", ASPELL_PLUGIN_NAME);
#endif /* HAVE_ENCHANT_GET_VERSION */
#else #else
#ifdef HAVE_ASPELL_VERSION_STRING #ifdef HAVE_ASPELL_VERSION_STRING
weechat_printf (NULL, " %s: aspell %s", weechat_printf (NULL, " %s: aspell %s",
ASPELL_PLUGIN_NAME, aspell_version_string ()); ASPELL_PLUGIN_NAME, aspell_version_string ());
#else #else
weechat_printf (NULL, " %s: aspell (?)", ASPELL_PLUGIN_NAME); weechat_printf (NULL, " %s: aspell (?)", ASPELL_PLUGIN_NAME);
#endif #endif /* HAVE_ASPELL_VERSION_STRING */
#endif /* USE_ENCHANT */ #endif /* USE_ENCHANT */
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
+4 -3
View File
@@ -135,10 +135,11 @@ exec_add ()
new_exec_cmd->prev_cmd = last_exec_cmd; new_exec_cmd->prev_cmd = last_exec_cmd;
new_exec_cmd->next_cmd = NULL; new_exec_cmd->next_cmd = NULL;
if (!exec_cmds) if (exec_cmds)
exec_cmds = new_exec_cmd;
else
last_exec_cmd->next_cmd = new_exec_cmd; last_exec_cmd->next_cmd = new_exec_cmd;
else
exec_cmds = new_exec_cmd;
last_exec_cmd = new_exec_cmd; last_exec_cmd = new_exec_cmd;
new_exec_cmd->number = number; new_exec_cmd->number = number;
+6
View File
@@ -19,6 +19,10 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>. * along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#undef _ #undef _
#include <libguile.h> #include <libguile.h>
@@ -971,12 +975,14 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
guile_stdout = NULL; guile_stdout = NULL;
#ifdef HAVE_GUILE_GMP_MEMORY_FUNCTIONS
/* /*
* prevent guile to use its own gmp allocator, because it can conflict * prevent guile to use its own gmp allocator, because it can conflict
* with other plugins using GnuTLS like relay, which can crash WeeChat * with other plugins using GnuTLS like relay, which can crash WeeChat
* on unload (or exit) * on unload (or exit)
*/ */
scm_install_gmp_memory_functions = 0; scm_install_gmp_memory_functions = 0;
#endif
scm_init_guile (); scm_init_guile ();
+2 -2
View File
@@ -2184,7 +2184,7 @@ irc_command_join_server (struct t_irc_server *server, const char *arguments,
char *new_args, **channels, **keys, *pos_space, *pos_keys, *pos_channel; char *new_args, **channels, **keys, *pos_space, *pos_keys, *pos_channel;
char *channel_name; char *channel_name;
int i, num_channels, num_keys, length; int i, num_channels, num_keys, length;
int time_now; time_t time_now;
struct t_irc_channel *ptr_channel; struct t_irc_channel *ptr_channel;
if (server->sock < 0) if (server->sock < 0)
@@ -2247,7 +2247,7 @@ irc_command_join_server (struct t_irc_server *server, const char *arguments,
} }
} }
new_args[0] = '\0'; new_args[0] = '\0';
time_now = (int)time (NULL); time_now = time (NULL);
for (i = 0; i < num_channels; i++) for (i = 0; i < num_channels; i++)
{ {
if (i > 0) if (i > 0)
+2 -2
View File
@@ -1676,8 +1676,8 @@ irc_config_server_new_option (struct t_config_file *config_file,
/* TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) */ /* TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po) */
N_("comma-separated list of client capabilities to enable for " N_("comma-separated list of client capabilities to enable for "
"server if they are available; capabilities supported by " "server if they are available; capabilities supported by "
"WeeChat are: multi-prefix, userhost-in-names, away-notify " "WeeChat are: away-notify, multi-prefix, server-time, "
"(example: \"multi-prefix,userhost-in-names,away-notify\")"), "userhost-in-names (example: \"away-notify,multi-prefix\")"),
NULL, 0, 0, NULL, 0, 0,
default_value, value, default_value, value,
null_value_allowed, null_value_allowed,
+15 -9
View File
@@ -417,17 +417,23 @@ irc_ctcp_replace_variables (struct t_irc_server *server, const char *format)
* Linux 2.6.32-5-amd64 / x86_64 * Linux 2.6.32-5-amd64 / x86_64
*/ */
buf_uname = (struct utsname *)malloc (sizeof (struct utsname)); buf_uname = (struct utsname *)malloc (sizeof (struct utsname));
if (buf_uname && (uname (buf_uname) >= 0)) if (buf_uname)
{ {
snprintf (buf, sizeof (buf), "%s %s / %s", if (uname (buf_uname) >= 0)
buf_uname->sysname, buf_uname->release, {
buf_uname->machine); snprintf (buf, sizeof (buf), "%s %s / %s",
buf_uname->sysname, buf_uname->release,
buf_uname->machine);
temp = weechat_string_replace (res, "$osinfo", buf);
free (res);
if (!temp)
{
free (buf_uname);
return NULL;
}
res = temp;
}
free (buf_uname); free (buf_uname);
temp = weechat_string_replace (res, "$osinfo", buf);
free (res);
if (!temp)
return NULL;
res = temp;
} }
/* /*
+11
View File
@@ -664,6 +664,17 @@ irc_nick_new (struct t_irc_server *server, struct t_irc_channel *channel,
new_nick->host = (host) ? strdup (host) : NULL; new_nick->host = (host) ? strdup (host) : NULL;
length = strlen (irc_server_get_prefix_chars (server)); length = strlen (irc_server_get_prefix_chars (server));
new_nick->prefixes = malloc (length + 1); new_nick->prefixes = malloc (length + 1);
if (!new_nick->name || !new_nick->prefixes)
{
if (new_nick->name)
free (new_nick->name);
if (new_nick->host)
free (new_nick->host);
if (new_nick->prefixes)
free (new_nick->prefixes);
free (new_nick);
return NULL;
}
if (new_nick->prefixes) if (new_nick->prefixes)
{ {
memset (new_nick->prefixes, ' ', length); memset (new_nick->prefixes, ' ', length);
+3
View File
@@ -101,6 +101,8 @@ logger_tail_file (const char *filename, int n_lines)
bytes_read = read (fd, buf, to_read); bytes_read = read (fd, buf, to_read);
if (bytes_read <= 0) if (bytes_read <= 0)
{ {
if (part_of_line)
free (part_of_line);
logger_tail_free (ptr_line); logger_tail_free (ptr_line);
close (fd); close (fd);
return NULL; return NULL;
@@ -140,6 +142,7 @@ logger_tail_file (const char *filename, int n_lines)
if (!new_line->data) if (!new_line->data)
{ {
free (part_of_line); free (part_of_line);
free (new_line);
logger_tail_free (ptr_line); logger_tail_free (ptr_line);
close (fd); close (fd);
return NULL; return NULL;
+8 -1
View File
@@ -907,9 +907,16 @@ plugin_script_remove_file (struct t_weechat_plugin *weechat_plugin,
while (i < 2) while (i < 2)
{ {
path_script = plugin_script_search_path (weechat_plugin, name); path_script = plugin_script_search_path (weechat_plugin, name);
/* script not found? */ /*
* script not found? (if path_script == name, that means the function
* above did not find the script)
*/
if (!path_script || (strcmp (path_script, name) == 0)) if (!path_script || (strcmp (path_script, name) == 0))
{
if (path_script)
free (path_script);
break; break;
}
num_found++; num_found++;
if (unlink (path_script) == 0) if (unlink (path_script) == 0)
{ {

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