1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-16 08:04:46 +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
set(VERSION_MAJOR "1")
set(VERSION_MINOR "0-rc2")
set(VERSION_PATCH "")
set(VERSION_MINOR "0")
set(VERSION_PATCH "1")
if(VERSION_PATCH STREQUAL "")
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
else()
@@ -241,6 +241,17 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pk
# 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)
# 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
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.
* 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
@@ -46,6 +46,7 @@ Following packages are optional:
* for scripting: python, perl, ruby, lua, tcl, guile
* for building doc: asciidoc, source-highlight
(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
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).
== 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
+3 -1
View File
@@ -42,12 +42,14 @@ find_library(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_LIBRARIES ${ASPELL_LIBRARY})
check_symbol_exists(aspell_version_string "aspell.h" HAVE_ASPELL_VERSION_STRING)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
set(ASPELL_FOUND TRUE)
endif()
mark_as_advanced(
+7
View File
@@ -41,4 +41,11 @@ else()
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()
+8
View File
@@ -34,4 +34,12 @@ endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
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()
+2
View File
@@ -7,6 +7,8 @@
#cmakedefine HAVE_MALLINFO
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
#cmakedefine HAVE_ASPELL_VERSION_STRING
#cmakedefine HAVE_ENCHANT_GET_VERSION
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
#define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@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.
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])
AM_CONFIG_HEADER(config.h)
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_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH])
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_ASPELL], [#undef PLUGIN_ASPELL])
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
CFLAGS="$CFLAGS -DUSE_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
ASPELL_CFLAGS=""
ASPELL_LFLAGS=""
@@ -327,6 +346,8 @@ if test "x$enable_aspell" = "xyes" ; then
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
ASPELL_LIB_USED="aspell"
# check if function aspell_version_string() exists
ac_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $ASPELL_LFLAGS"
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/"`
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
PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
@@ -794,7 +815,24 @@ if test "x$enable_guile" = "xyes" ; then
fi
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([
*** Guile >= 2.0 couldn't be found on your system.
*** 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
* Add missing symlink for Polish manpage
+5 -4
View File
@@ -6,7 +6,8 @@ Build-Depends:
asciidoc (>= 8.5),
source-highlight,
xsltproc,
docbook-xml, docbook-xsl,
docbook-xsl,
docbook-xml,
debhelper (>= 9),
cmake, pkg-config,
libncursesw5-dev,
@@ -18,8 +19,8 @@ Build-Depends:
tcl8.5-dev,
guile-2.0-dev,
libcurl4-gnutls-dev,
libgcrypt11-dev,
libgnutls-dev,
libgcrypt20-dev,
libgnutls28-dev,
zlib1g-dev
Standards-Version: 3.9.5
Homepage: http://weechat.org/
@@ -123,7 +124,7 @@ Package: weechat-dev
Section: devel
Architecture: all
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
for many operating systems. Everything can be done with a keyboard.
.
+1 -1
View File
@@ -11,7 +11,7 @@ License: GPL-3+
Files: debian/*
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+
+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
echo
override_dh_installchangelogs:
dh_installchangelogs ChangeLog.asciidoc
override_dh_strip:
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`)
* [[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
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+6
View File
@@ -53,6 +53,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf::
Konfigurationsdatei für Erweiterungen
$HOME/.weechat/sec.conf::
Konfigurationsdatei für sensible Daten
$HOME/.weechat/alias.conf::
Konfigurationsdatei für 'alias' Erweiterung
@@ -62,6 +65,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf::
Konfigurationsdatei für 'charset' Erweiterung
$HOME/.weechat/exec.conf::
Konfigurationsdatei für 'exec' Erweiterung
$HOME/.weechat/irc.conf::
Konfigurationsdatei für 'irc' Erweiterung
+1 -1
View File
@@ -479,7 +479,7 @@
** values: 0 .. 1000000 (default value: `25`)
* [[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
** values: any string (default value: `""`)
+6
View File
@@ -52,6 +52,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf::
plugins configuration file
$HOME/.weechat/sec.conf::
configuration file with secured data
$HOME/.weechat/alias.conf::
configuration file for 'alias' plugin
@@ -61,6 +64,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf::
configuration file for 'charset' plugin
$HOME/.weechat/exec.conf::
configuration file for 'exec' plugin
$HOME/.weechat/irc.conf::
configuration file for 'irc' plugin
+11 -9
View File
@@ -291,16 +291,18 @@ WeeChat "core" is located in following directories:
|===
| Path/file | Description
| tests/ | Root of tests
| tests.cpp | Program used to run tests
| unit/ | Root of unit tests
| test-eval.cpp | Tests: evaluation of expressions
| test-hashtble.cpp | Tests: hashtables
| test-hdata.cpp | Tests: hdata
| test-infolist.cpp | Tests: infolists
| test-list.cpp | Tests: lists
| test-string.cpp | Tests: strings
| test-url.cpp | Tests: URLs
| test-utf8.cpp | Tests: UTF-8
| test-util.cpp | Tests: util functions
| core/ | Root of unit tests for core
| test-eval.cpp | Tests: evaluation of expressions
| test-hashtble.cpp | Tests: hashtables
| test-hdata.cpp | Tests: hdata
| test-infolist.cpp | Tests: infolists
| test-list.cpp | Tests: lists
| test-string.cpp | Tests: strings
| test-url.cpp | Tests: URLs
| test-utf8.cpp | Tests: UTF-8
| test-util.cpp | Tests: util functions
|===
[[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_key", &my_free_key_cb);
----
[NOTE]
+1 -1
View File
@@ -479,7 +479,7 @@
** valeurs: 0 .. 1000000 (valeur par défaut: `25`)
* [[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
** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -784,7 +784,7 @@ Exemples :
afficher la valeur de la variable d'environnement LANG :
/set env LANG
modifier la variable d'environnement LANG et l'utiliser :
/set env LANG=fr_FR.UTF-8
/set env LANG fr_FR.UTF-8
/upgrade
réinitialiser la variable d'environnement ABC :
/set env ABC ""
+6
View File
@@ -54,6 +54,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf::
fichier de configuration des extensions
$HOME/.weechat/sec.conf::
configuration file with secured data
$HOME/.weechat/alias.conf::
fichier de configuration pour l'extension 'alias'
@@ -63,6 +66,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf::
fichier de configuration pour l'extension 'charset'
$HOME/.weechat/exec.conf::
fichier de configuration pour l'extension 'exec'
$HOME/.weechat/irc.conf::
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
| tests/ | Racine des tests
| tests.cpp | Programme utilisé pour lancer les tests
| unit/ | Racine des tests unitaires
| test-eval.cpp | Tests : évaluation d'expressions
| test-hashtble.cpp | Tests : tables de hachage
| test-hdata.cpp | Tests : hdata
| test-infolist.cpp | Tests : infolists
| test-list.cpp | Tests : listes
| test-string.cpp | Tests : chaînes
| test-url.cpp | Tests : URLs
| test-utf8.cpp | Tests : UTF-8
| test-util.cpp | Tests : fonctions utiles
| core/ | Racine des tests unitaires pour le cœur
| test-eval.cpp | Tests : évaluation d'expressions
| test-hashtble.cpp | Tests : tables de hachage
| test-hdata.cpp | Tests : hdata
| test-infolist.cpp | Tests : infolists
| test-list.cpp | Tests : listes
| test-string.cpp | Tests : chaînes
| test-url.cpp | Tests : URLs
| test-utf8.cpp | Tests : UTF-8
| test-util.cpp | Tests : fonctions utiles
|===
[[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_key", &my_free_key_cb);
----
[NOTE]
+1 -1
View File
@@ -479,7 +479,7 @@
** valori: 0 .. 1000000 (valore predefinito: `25`)
* [[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
** valori: qualsiasi stringa (valore predefinito: `""`)
+7
View File
@@ -53,6 +53,10 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf::
plugins configuration file
// TRANSLATION MISSING
$HOME/.weechat/sec.conf::
configuration file with secured data
$HOME/.weechat/alias.conf::
configuration file for 'alias' plugin
@@ -62,6 +66,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf::
configuration file for 'charset' plugin
$HOME/.weechat/exec.conf::
configuration file for 'exec' plugin
$HOME/.weechat/irc.conf::
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_key", &my_free_key_cb);
----
[NOTE]
+1 -1
View File
@@ -18,7 +18,7 @@ listdict: インストール済み辞書を表示
いくつかのコマンドを除いて '/' で始まる入力行はチェックされません (/set aspell.check.commands を参照)。
全てのバッファで aspell を有効化するには、"default_dict" オプションを設定した後に、aspell を有効化してください。例えば:
全てのバッファで aspell を有効化するには、"default_dict" オプションを設定した後に、aspell を有効化してください。例:
/set aspell.check.default_dict "en"
/aspell enable
+1 -1
View File
@@ -684,7 +684,7 @@ listfull: 詳細情報を含めてサーバをリストアップ
hostname: サーバのホスト名か IP アドレス、ポート番号は任意 (デフォルト: 6667)、複数のアドレスはコンマで区切る
temp: 一時的なサーバを作成 (保存されない)
option: サーバのオプションを設定 (ブールオプションでは値が無視される)
nooption: ブールオプションを 'off' に設定 (例えば: -nossl)
nooption: ブールオプションを 'off' に設定 (例: -nossl)
copy: サーバを複製
rename: サーバをリネーム
keep: 設定ファイルにサーバを保存 (一時的なサーバ用)
+4 -4
View File
@@ -269,7 +269,7 @@
** 値: on, off (デフォルト値: `on`)
* [[option_irc.look.notice_welcome_tags]] *irc.look.notice_welcome_tags*
** 説明: `ようこそ通知に使われ、チャンネルに転送するタグのコンマ区切りリスト、例えば: "notify_private"`
** 説明: `ようこそ通知に使われ、チャンネルに転送するタグのコンマ区切りリスト、例: "notify_private"`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `""`)
@@ -279,7 +279,7 @@
** 値: 未制約文字列 (デフォルト値: `"notify_message"`)
* [[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"`)
@@ -294,7 +294,7 @@
** 値: independent, merge_by_server, merge_all (デフォルト値: `independent`)
* [[option_irc.look.pv_tags]] *irc.look.pv_tags*
** 説明: `プライベートメッセージに使われたタグのコンマ区切りリスト、例えば: "notify_message"、"notify_private"、"notify_highlight"`
** 説明: `プライベートメッセージに使われたタグのコンマ区切りリスト、例: "notify_message"、"notify_private"、"notify_highlight"`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"notify_private"`)
@@ -479,7 +479,7 @@
** 値: 0 .. 1000000 (デフォルト値: `25`)
* [[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: ある色に別名を追加
unalias: 別名の削除
color: カラー番号 (0 以上、最大値はターミナル依存、多くの場合 63 か 255)
name: カラーの別名 (例えば: "orange")
name: カラーの別名 (例: "orange")
reset: 全てのカラーペアをリセット (自動的なリセットが無効化されており、これ以上のカラーペアが利用できない場合に必要、オプション weechat.look.color_pairs_auto_reset を参照)
term2rgb: ターミナル色 (0-255) を RGB 色に変換
rgb2term: RGB 色をターミナル色 (0-255) に変換
@@ -254,7 +254,7 @@ expression: 評価する式、フォーマット、${variable} 型のフォー
式が NULL でない場合、空でない場合、"0" でない場合、式は "真" と評価されます。
両方の式が有効な整数である場合、比較は整数を使って行われます。
文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例えば:
文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例:
50 > 100 ==> 0
"50" > "100" ==> 1
@@ -936,7 +936,7 @@ scroll_unread: 未読マーカにスクロール
zoom: ウィンドウを拡大
bare: 最小限表示を切り替える (自動的に標準表示モードに戻るまでの時間を秒単位で任意指定)
splith と splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在のウィンドウサイズに対する割合で計算されます。例えば25 は size = current_size / 4 の新しいウィンドウを作成します。
splith と splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在のウィンドウサイズに対する割合で計算されます。例えば 25 は size = current_size / 4 の新しいウィンドウを作成します。
例:
バッファ #1 を表示しているウィンドウに移動:
+1 -1
View File
@@ -104,7 +104,7 @@
** 値: 0 .. 256 (デフォルト値: `20`)
* [[option_xfer.look.pv_tags]] *xfer.look.pv_tags*
** 説明: `プライベートメッセージに使われたタグのコンマ区切りリスト、例えば: "notify_message"、"notify_private"、"notify_highlight"`
** 説明: `プライベートメッセージに使われたタグのコンマ区切りリスト、例: "notify_message"、"notify_private"、"notify_highlight"`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"notify_private"`)
+6
View File
@@ -51,6 +51,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf::
プラグイン設定ファイル
$HOME/.weechat/sec.conf::
保護されたデータを含む設定ファイル
$HOME/.weechat/alias.conf::
'alias' プラグイン用の設定ファイル
@@ -60,6 +63,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf::
'charset' プラグイン用の設定ファイル
$HOME/.weechat/exec.conf::
'exec' プラグイン用の設定ファイル
$HOME/.weechat/irc.conf::
'irc' プラグイン用の設定ファイル
+13 -11
View File
@@ -290,17 +290,19 @@ WeeChat "core" は以下のディレクトリに配置されています:
[width="100%",cols="1v,5",options="header"]
|===
| パス/ファイル名 | 説明
| tests/ | テストのルートディレクトリ
| unit/ | 単体テストのルートディレクトリ
| test-eval.cpp | テスト: 式の評価
| test-hashtble.cpp | テスト: ハッシュテーブル
| test-hdata.cpp | テスト: hdata
| test-infolist.cpp | テスト: インフォリスト
| test-list.cpp | テスト: リスト
| test-string.cpp | テスト: 文字列
| test-url.cpp | テスト: URL
| test-utf8.cpp | テスト: UTF-8
| test-util.cpp | テスト: ユーティリティ関数
| tests/ | テストのルートディレクトリ
| tests.cpp | テスト実行に使うプログラム
| unit/ | 単体テスト用のルートディレクトリ
| core/ | core 向け単体テスト用のルートディレクトリ
| test-eval.cpp | テスト: 式の評価
| test-hashtble.cpp | テスト: ハッシュテーブル
| test-hdata.cpp | テスト: hdata
| test-infolist.cpp | テスト: インフォリスト
| test-list.cpp | テスト: リスト
| test-string.cpp | テスト: 文字列
| test-url.cpp | テスト: URL
| test-utf8.cpp | テスト: UTF-8
| test-util.cpp | テスト: ユーティリティ関数
|===
[[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_key", &my_free_key_cb);
----
[NOTE]
+13 -13
View File
@@ -10,7 +10,7 @@
| 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
@@ -70,25 +70,25 @@
| 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
@@ -114,9 +114,9 @@
| 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
+19 -19
View File
@@ -2,51 +2,51 @@
|===
| 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_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) | -
| 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) | -
| 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 | 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 | 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 | 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 | - | -
@@ -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 | 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 | - | -
+4 -4
View File
@@ -26,17 +26,17 @@
| 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_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 | -
+19 -19
View File
@@ -4,31 +4,31 @@
----
/alias [-completion <dopełnienie>] <alias> [<komenda> [;<komenda>...]]
completion: completion for alias (optional, by default completion is done with target command)
note: you can use %%command to use completion of an existing command
alias: name of alias (wildcard "*" is allowed)
command: command name with arguments (many commands can be separated by semicolons)
completion: dopełnienie dla aliasu (opcjonalne, domyślnie dopełnienie wykonuje się z docelową komendą)
uwaga: można użyć %%komenda w celu użycia dopełnień dla istniejących komend
alias: nazwa aliasu (wildcard "*" jest dozwolony)
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:
$n: argument 'n' (between 1 and 9)
$-m: arguments from 1 to 'm'
$n-: arguments from 'n' to last
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$var: where "var" is a local variable of buffer (see /buffer localvar)
examples: $nick, $channel, $server, $plugin, $name
Ważne: dla komend specjalne zmienne są zastępowane odpowiednimi wartościami:
$n: argument 'n' (pomiędzy 1 i 9)
$-m: argumenty od 1 do 'm'
$n-: argumenty od 'n' do ostatniego
$n-m: argumenty od 'n' od 'm'
$*: wszystkie argumenty
$~: ostatni argument
$var: gdzie "var" to zmienna lokalna buforu (zobacz /buffer localvar)
przykłady: $nick, $channel, $server, $plugin, $name
To remove an alias, use command /unalias.
Do usunięcia aliasu służy komenda /unalias.
Examples:
alias /split to split window horizontally:
Przykłady:
alias /split do poziomego podziału:
/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 /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
----
+1 -1
View File
@@ -1,5 +1,5 @@
* [[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
** wartości: dowolny ciąg (domyślna wartość: `"iso-8859-1"`)
+52 -52
View File
@@ -1,65 +1,65 @@
[[command_exec_exec]]
[command]*`exec`* execute external commands::
[command]*`exec`* wykonywanie zewnętrznych komend::
----
/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>
-in <id> <text>
-inclose <id> [<text>]
-signal <id> <signal>
[-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> <tekst>
-inclose <id> [<tekst>]
-signal <id> <sygnał>
-kill <id>
-killall
-set <id> <property> <value>
-set <id> <właściwość> <wartość>
-del <id>|-all [<id>...]
-list: list commands
-sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe, see option -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)
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-n)
-nobg: catch process output and display return code (default)
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
-nostdin: do not create a pipe for stdin (default)
-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)
-l: display locally output of command on buffer (default)
-o: send output of command to the buffer (not compatible with option -bg)
-n: display output of command in a new buffer (not compatible with option -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)
-cl: clear the new buffer before displaying output
-nocl: append to the new buffer without clear (default)
-sw: switch to the output buffer (default)
-nosw: don't switch to the output buffer
-ln: display line numbers (default in new buffer only)
-noln: don't display line numbers
-flush: display output of command in real time (default)
-noflush: display output of command after its end
-color: action on ANSI colors in output:
ansi: keep ANSI codes as-is
auto: convert ANSI colors to WeeChat/IRC (default)
irc: convert ANSI colors to IRC colors
weechat: convert ANSI colors to WeeChat colors
strip: remove ANSI colors
-rc: display return code (default)
-norc: don't display return code
-timeout: set a timeout for the command (in seconds)
-name: set a name for the command (to name it later with /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)
-hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -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
id: command identifier: either its number or name (if set with "-name xxx")
-in: send text on standard input of process
-inclose: same as -in, but stdin is closed after (and text is optional: without text, the stdin is just closed)
-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
-kill: alias of "-signal <id> kill"
-killall: kill all running processes
-set: set a hook property (see function hook_set in plugin API reference)
property: hook property
value: new value for hook property
-del: delete a terminated command
-all: delete all terminated commands
-list: lista komend
-sh: użyj powłoki do wykonania komendy (UWAGA: użyj tej opcji TYLKO jeśli wszystkie argumenty są bezpieczne, zobacz opcję -nosh)
-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: uruchom proces w tle: nie wyświetlaj wyjścia z procesu ani zwracanego kodu (nie kompatybilne z opcjami -o/-n)
-nobg: przechwyć całość wyjścia z procesu i wyświetl kod wyjścia (domyślne)
-stdin: tworzy strumień do wysyłania danych do procesu (za pomocą /exec -in/-inclose)
-nostdin: nie twórz strumienia dla stdin (domyślne)
-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: wyświetl lokalnie wyście z komendy w buforze (domyślne)
-o: wyślij wyjście z komendy do bufora (nie kompatybilne z opcją -bg)
-n: wyświetl wyjście komendy w nowym buforze (nie kompatybilne z opcją -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: wyczyść nowy bufor przed wyświetleniem wyjścia
-nocl: dodaj do nowego bufora bez czyszczenia zawartości (domyślne)
-sw: przełącz na bufor wyjściowy (domyślne)
-nosw: nie przełączaj na bufor wyjściowy
-ln: wyświetl numery linii (domyślne tylko w nowym buforze)
-noln: nie wyświetlaj numerów linii
-flush: wyświetl wyjście z komendy w czasie rzeczywistym (domyślne)
-noflush: wyświetl wyjście z komendy po jej zakończeniu
-color: akcja na kolorach ANSI w wyjściu:
ansi: zachowaj kody ANSI
auto: konwertuj kolory ANSI na WeeChat/IRC (domyślne)
irc: konwertuj kolory ANSI na kolory IRC
weechat: konwertuj kolory ANSI na kolory WeeChat
strip: usuń kolory ANSI
-rc: wyświetl kod wyjścia (domyślne)
-norc: nie wyświetlaj kodu wyjścia
-timeout: ustaw timeout dla komendy (w sekundach)
-name: ustaw nazwę dla komendy (do wywołania później za pomocą /exec)
-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: wyślij wyjście jako hsignal (w celu użycia na przykład w triggerze) (nie kompatybilne z opcjami -bg/-o/-n)
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: identyfikator komendy: numer lub nazwa (jeśli ustawiona przez "-name xxx")
-in: wyślij tekst na standardowe wejście procesu
-inclose: to samo co -in, ale stdin jest zamykane (tekst jest opcjonalny: bez niego stdin jest po prostu zamykane)
-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 dla "-signal <id> kill"
-killall: zabija wszystkie działające procesy
-set: ustawia przypisaną właściwość (zobacz funkcję hook_set w opisie API wtyczek)
właściwość: przypisana właściwość
wartość: nowa wartość
-del: usuń zakończoną komendę
-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 ps xu | grep weechat
/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*
** 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
** 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*
** opis: `text color for a running command flag in list of commands`
** opis: `kolor dla flagi wykonywanej komendy na liście komend`
** 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`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[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
** 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>]
-current: execute command for channels of current server only
-exclude: exclude some channels (wildcard "*" is allowed)
command: command to execute
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
-current: wykonuje komendę tylko na kanałach obecnego serwera
-exclude: wyklucza niektóre kanały (wildcard "*" jest dozwolony)
komenda: komenda do wykonania
argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
Examples:
execute '/me is testing' on all channels:
/allchan me is testing
say 'hello' everywhere but not on #weechat:
/allchan -exclude=#weechat msg * hello
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
/allchan -exclude=#weechat,#linux* msg * hello
Przykłady:
wykonuje '/me testuje' na wszystkich kanałach:
/allchan me testuje
mówi 'witam' wszędzie tylko nie na #weechat:
/allchan -exclude=#weechat msg * witam
mówi 'witam' wszędzie poza #weechat oraz kanałami zaczynającymi się od #linux:
/allchan -exclude=#weechat,#linux* msg * witam
----
[[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
-exclude: exclude some nicks (wildcard "*" is allowed)
command: command to execute
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
-current: wykonuje komendę tylko na prywatnych buforach obecnego serwera
-exclude: wyklucza niektóre nicki (wildcard "*" jest dozwolony)
komenda: komenda do wykonania
argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
Examples:
execute '/me is testing' on all private buffers:
Przykłady:
wykonuje '/me testuje' we wszystkich prywatnych buforach:
/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
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
close all private buffers:
zamyka wszystkie prywatne bufory:
/allpv close
----
@@ -55,16 +55,16 @@ Examples:
----
/allserv [-exclude=<serwer>[,<serwer>...]] <komenda> [<argumenty>]
-exclude: exclude some servers (wildcard "*" is allowed)
command: command to execute
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
-exclude: wyklucza niektóre serwery (wildcard "*" jest dozwolony)
komenda: komenda do wykonania
argumenty: argumenty dla komendy (specjalne zmienne $nick, $channel i $server są zamieniane na odpowiednie wartości)
Examples:
change nick on all servers:
/allserv nick newnick
set away on all servers:
/allserv away I'm away
do a whois on my nick on all servers:
Przykłady:
zmienia nick na wszystkich serwerach:
/allserv nick nowy_nick
ustawia stan nieobecności na wszystkich serwerach:
/allserv away Jestem nieobecny
wykonuje whois na własnym nicku na wszystkich serwerach:
/allserv whois $nick
----
@@ -74,10 +74,10 @@ Examples:
----
/ban [<kanał>] [<nick> [<nick>...]]
channel: channel name
nick: nick or host
kanał: nazwa kanału
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]]
@@ -117,9 +117,9 @@ Przykłady:
----
/ctcp <cel> <typ> [<argumenty>]
target: nick or channel name to send CTCP to
type: CTCP type (examples: "version", "ping", ..)
arguments: arguments for CTCP
cel: nick albo kanał, na który wysłać CTCP
typ: typ CTCP (przykłady: "version", "ping", ..)
argumenty: argumenty dla CTCP
----
[[command_irc_cycle]]
@@ -128,8 +128,8 @@ arguments: arguments for CTCP
----
/cycle [<kanał>[,<kanał>...]] [<wiadomość>]
channel: channel name
message: part message (displayed to other users)
kanał: nazwa kanału
wiadomość: wiadomość pożegnalna (pokazywana innym użytkownikom)
----
[[command_irc_dcc]]
@@ -140,12 +140,12 @@ message: part message (displayed to other users)
send <nick> <plik>
nick: nick
file: filename (on local host)
plik: nazwa pliku (na lokalnym hoście)
Examples:
chat with nick "toto":
Przykłady:
rozmowa z użytkownikiem "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
----
@@ -155,8 +155,8 @@ Examples:
----
/dehalfop <nick> [<nick>...]
nick: nick or mask (wildcard "*" is allowed)
*: remove channel half-operator status from everybody on channel except yourself
nick: nick lub maska (wildcard "*" jest dozwolony)
*: zabiera status pół-operatora kanału wszystkim na kanale poza tobą
----
[[command_irc_deop]]
@@ -166,8 +166,8 @@ nick: nick or mask (wildcard "*" is allowed)
/deop <nick> [<nick>...]
* -yes
nick: nick or mask (wildcard "*" is allowed)
*: remove channel operator status from everybody on channel except yourself
nick: nick lub maska (wildcard "*" jest dozwolony)
*: zabiera status operatora kanału wszystkim na kanale poza tobą
----
[[command_irc_devoice]]
@@ -177,8 +177,8 @@ nick: nick or mask (wildcard "*" is allowed)
/devoice <nick> [<nick>...]
* -yes
nick: nick or mask (wildcard "*" is allowed)
*: remove voice from everybody on channel
nick: nick lub maska (wildcard "*" jest dozwolony)
*: odbiera głos wszystkim na kanale
----
[[command_irc_die]]
@@ -196,10 +196,10 @@ cel: nazwa serwera
----
/disconnect [<serwer>|-all|-pending [<powód>]]
server: internal server name
-all: disconnect from all servers
-pending: cancel auto-reconnection on servers currently reconnecting
reason: reason for the "quit"
serwer: wewnętrzna nazwa serwera
-all: rozłącza się ze wszystkimi serwerami
-pending: anuluje automatyczne łączenie dla serwerów ponownie łączących się
powód: powód dla "quit"
----
[[command_irc_halfop]]
@@ -209,8 +209,8 @@ cel: nazwa serwera
/halfop <nick> [<nick>...]
* -yes
nick: nick or mask (wildcard "*" is allowed)
*: give channel half-operator status to everybody on channel
nick: nick lub maska (wildcard "*" jest dozwolony)
*: nadaje status pół-operatora kanału wszystkim na kanale
----
[[command_irc_ignore]]
@@ -288,30 +288,30 @@ Przykłady:
----
[[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>]
channel: channel name
kanał: nazwa kanału
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]*`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>]
channel: channel name
kanał: nazwa kanału
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:
ban "*!*@host.com" and then kick "toto":
Przykład:
zbanuje "*!*@host.com", następnie wykopie "toto":
/kickban toto!*@host.com
----
@@ -319,7 +319,7 @@ Example:
[command]*`kill`* zamyka połączenie klient-serwer::
----
/kill <nick> [<reason>]
/kill <nick> [<powód>]
nick: nick
powód: powód
@@ -461,9 +461,9 @@ nick: nowy nick
----
/notice [-server <serwer>] <cel> <tekst>
server: send to this server (internal name)
target: nick or channel name
text: text to send
serwer: wyślij do tego serwera (nazwa wewnętrzna)
cel: nick lub kanał
tekst: wiadomość do wysłania
----
[[command_irc_notify]]
@@ -498,8 +498,8 @@ Przykłady:
/op <nick> [<nick>...]
* -yes
nick: nick or mask (wildcard "*" is allowed)
*: give channel operator status to everybody on channel
nick: nick lub maska (wildcard "*" jest dozwolony)
*: nadaje status operatora kanału wszystkim na kanale
----
[[command_irc_oper]]
@@ -548,9 +548,9 @@ demon2: prześlij do tego demona
----
/query [-server <serwer>] <nick>[,<nick>...] [<tekst>]
server: send to this server (internal name)
serwer: wyślij do tego serwera (nazwa wewnętrzna)
nick: nick
text: text to send
tekst: wiadomość do wysłania
----
[[command_irc_quiet]]
@@ -559,10 +559,10 @@ server: send to this server (internal name)
----
/quiet [<kanał>] [<nick> [<nick>...]]
channel: channel name
nick: nick or host
kanał: nazwa kanału
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]]
@@ -582,10 +582,10 @@ serwer: wyślij do tego serwera (nazwa wewnętrzna)
/reconnect <serwer> [<serwer>...] [-nojoin] [-switch]
-all [-nojoin] [-switch]
server: server to reconnect (internal name)
-all: reconnect to all servers
-nojoin: do not join any channel (even if autojoin is enabled on server)
-switch: switch to next server address
serwer: nazwa serwera do ponownego połączenia (wewnętrzna nazwa)
-all: ponownie łączy się ze wszystkimi serwerami
-nojoin: nie wchodź na żadne kanały (nawet jeśli są zdefiniowane kanały do automatycznego wejścia dla serwera)
-switch: przełącza na kolejny adres serwera
----
[[command_irc_rehash]]
@@ -598,14 +598,14 @@ opcje: dodatkowe opcje, dla niektórych serwerów
----
[[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>]
channel: channel name
kanał: nazwa kanału
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]]
@@ -740,8 +740,8 @@ usługa: nazwa usługi
----
/squit <serwer> <komentarz>
server: server name
comment: comment
serwer: nazwa serwera
komentarz: komentarz
----
[[command_irc_stats]]
@@ -780,9 +780,9 @@ cel: pobierz czas podanego serwera
----
/topic [<kanał>] [<temat>|-delete]
channel: channel name
topic: new topic
-delete: delete channel topic
kanał: nazwa kanału
temat: nowy temat kanału
-delete: kasuje temat kanału
----
[[command_irc_trace]]
@@ -800,18 +800,18 @@ cel: nazwa serwera
----
/unban [<kanał>] <nick> [<nick> ...]
channel: channel name
nick: nick or host
kanał: nazwa kanału
nick: użytkownik lub host
----
[[command_irc_unquiet]]
[command]*`unquiet`* unquiet nicks or hosts::
[command]*`unquiet`* nicki albo hosty przestają być uciszone::
----
/unquiet [<kanał>] <nick> [<nick> ...]
channel: channel name
nick: nick or host
kanał: nazwa kanału
nick: użytkownik lub host
----
[[command_irc_userhost]]
@@ -848,8 +848,8 @@ serwer: nazwa serwera
----
/voice <nick> [<nick>...]
nick: nick or mask (wildcard "*" is allowed)
*: give voice to everybody on channel
nick: nick lub maska (wildcard "*" jest dozwolony)
*: daje głos każdemu na kanale
----
[[command_irc_wallchops]]
@@ -887,14 +887,14 @@ maska: tylko informacje pasujące do maski
----
/whois [<serwer>] [<nick>[,<nick>...]]
server: server name
nick: nick (may be a mask)
serwer: nazwa serwera
nick: nick (może być maska)
Without argument, this command will do a whois on:
- your own nick if buffer is a server/channel
- remote nick if buffer is a private.
Bez argumentu, komenda ta wykona whois na:
- twoim własnym nicki, jeśli bufor to serwer/kanał
- 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]]
@@ -904,7 +904,7 @@ If option irc.network.whois_double_nick is enabled, two nicks are sent (if only
/whowas <nick>[,<nick>...] [<ilość> [<cel>]]
nick: nick
count: number of replies to return (full search if negative number)
target: reply should match this mask
ilość: ilość zwracanych odpowiedzi (pełne wyszukiwanie dla numerów ujemnych)
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`)
* [[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
** 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`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `"1,-1:darkgray"`)
@@ -139,7 +139,7 @@
** wartości: on, off (domyślna wartość: `on`)
* [[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
** 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"`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `"irc_privmsg,irc_notice"`)
@@ -184,7 +184,7 @@
** wartości: on, off (domyślna wartość: `on`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `"k"`)
@@ -194,17 +194,17 @@
** wartości: buffer_plugin, buffer_name (domyślna wartość: `buffer_plugin`)
* [[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
** wartości: on, off (domyślna wartość: `on`)
* [[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
** wartości: on, off (domyślna wartość: `on`)
* [[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
** wartości: on, off (domyślna wartość: `off`)
@@ -329,7 +329,7 @@
** wartości: 0 .. 10080 (domyślna wartość: `30`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `"+"`)
@@ -364,7 +364,7 @@
** wartości: 0 .. 604800 (domyślna wartość: `600`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `"*!$ident@$host"`)
@@ -479,7 +479,7 @@
** wartości: 0 .. 1000000 (domyślna wartość: `25`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `""`)
@@ -544,7 +544,7 @@
** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `""`)
@@ -584,7 +584,7 @@
** wartości: 0 .. 2147483647 (domyślna wartość: `2048`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `""`)
@@ -599,7 +599,7 @@
** wartości: on, off (domyślna wartość: `on`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `""`)
+1 -1
View File
@@ -89,7 +89,7 @@
** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[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
** wartości: -1 .. 43200 (domyślna wartość: `0`)
+63 -63
View File
@@ -1,78 +1,78 @@
[[command_trigger_trigger]]
[command]*`trigger`* manage triggers, the Swiss Army knife for WeeChat::
[command]*`trigger`* zarządzaj triggerami, scyzorykiem WeeChat::
----
/trigger list|listfull|listdefault
add|addoff|addreplace <name> <hook> ["<arguments>" ["<conditions>" ["<regex>" ["<command>" ["<return_code>"]]]]]
addinput [<hook>]
input|output|recreate <name>
set <name> <option> <value>
rename|copy <name> <new_name>
enable|disable|toggle [<name>|-all [<name>...]]
restart <name>|-all [<name>...]
show <name>
del <name>|-all [<name>...]
add|addoff|addreplace <nazwa> <uchwyt> ["<argumenty>" ["<warunki>" ["<regex>" ["<komenda>" ["<kod powrotu>"]]]]]
addinput [<uchwyt>]
input|output|recreate <nazwa>
set <nazwa> <opcja> <wartość>
rename|copy <nazwa> <nowa nazwa>
enable|disable|toggle [<nazwa>|-all [<nazwa>...]]
restart <nazwa>|-all [<nazwa>...]
show <nazwa>
del <nazwa>|-all [<nazwa>...]
default -yes
monitor [<filter>]
monitor [<filtr>]
list: list triggers (without argument, this list is displayed)
listfull: list triggers with detailed info for each trigger
listdefault: list default triggers
add: add a trigger
addoff: add a trigger (disabled)
addreplace: add or replace an existing trigger
name: name of trigger
hook: signal, hsignal, modifier, print, command, command_run, timer, config, focus
arguments: arguments for the hook, depending on hook (separated by semicolons):
signal: name(s) of signal (required)
hsignal: name(s) of hsignal (required)
modifier: name(s) of modifier (required)
print: buffer, tags, message, strip colors
command: command (required), description, arguments, description of arguments, completion
command_run: command(s) (required)
timer: interval (required), align on second, max calls
config: name(s) of option (required)
focus: name(s) of area (required)
conditions: evaluated conditions for the trigger
regex: one or more regular expressions to replace strings in variables
command: command to execute (many commands can be separated by ";"
return_code: return code in callback (ok (default), ok_eat, error)
addinput: set input with default arguments to create a trigger
input: set input with the command used to create the trigger
output: send the command to create the trigger on the buffer
recreate: same as "input", with option "addreplace" instead of "add"
set: set an option in a trigger
option: name of option: name, hook, arguments, conditions, regex, command, return_code
(for help on option, you can type: /help trigger.trigger.<name>.<option>)
value: new value for the option
rename: rename a trigger
copy: copy a trigger
enable: enable trigger(s) (without arguments: enable triggers globally)
disable: disable trigger(s) (without arguments: disable triggers globally)
toggle: toggle trigger(s) (without arguments: toggle triggers globally)
restart: restart trigger(s) (recreate the hooks)
show: show detailed info on a trigger (with some stats)
del: delete a trigger
-all: do action on all triggers
default: restore default triggers
monitor: open the trigger monitor buffer, with optional filter:
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
list: lista triggerów (jeśli nie podano argumentu, wyświetli się ta lista)
listfull: lista triggerów ze szczegółowymi informacjami
listdefault: lista domyślnych triggerów
add: dodaje trigger
addoff: dodaje trigger (wyłączony)
addreplace: dodaje lub zastępuje istniejący trigger
nazwa: nazwa triggera
uchwyt: signal, hsignal, modifier, print, command, command_run, timer, config, focus
argumenty: argumenty dla uchwytu, w zależności od jego typu (oddzielone średnikami):
signal: nazwa(-y) signal (wymagane)
hsignal: nazwa(-y) hsignal (wymagane)
modifier: nazwa(-y) modifier (wymagane)
print: bufor, tagi, wiadomość, pomiń kolory
command: komenda (wymagane), opis, argumenty, opis argumentów, dopełnienie
command_run: komenda(-y) (wymagane)
timer: interwał (wymagane), wyrównanie sekund, ilość wywołań
config: nazwa(-y) opcji (wymagane)
focus: nazwa(-y) obszarów (wymagane)
warunki: przetwarzane warunki dla triggera
regex: jedno lub więcej wyrażeń regularnych do zastępowania ciągów w zmiennych
komenda: komenda do wykonania (wiele komend można oddzielić ";"
zwracany kod: kod zwracany w callbacku (ok (domyślne), ok_eat, error)
addinput: ustawia wejście z domyślnymi argumentami do stworzenia triggera
input: ustawia wejście z komendą użytą do stworzenia triggera
output: wysyła komendę do stworzenia triggera do buforu
recreate: tak samo jak "input", z opcją "addreplace" zamiast "add"
set: ustawia opcje triggera
opcja: nazwa opcji: name, hook, arguments, conditions, regex, command, return_code
(aby uzyskać pomoc na temat opcji możesz wpisać: /help trigger.trigger.<nazwa>.<opcja>)
wartość: nowa wartość dla opcji
rename: zmienia nazwę triggera
copy: kopiuje trigger
enable: włącza trigger(y) (bez argumentów: włącza triggery globalnie)
disable: wyłącza trigger(y) (bez argumentów: wyłącza triggery globalnie)
toggle: zmienia stan triggera(-ów) (bez argumentów: zmienia stan triggerów globalnie)
restart: restartuje trigger(y) (tworzy na nowo uchwyty)
show: pokazuje szczegółowe informacje o triggerze (z niektórymi statystykami)
del: usuwa trigger
-all: wykonaj akcję na wszystkich triggerach
default: przywraca domyślne triggery
monitor: otwiera bufor monitorowania triggerów, z opcjonalnym filtrem:
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:
1. check conditions; if false, exit
2. replace text using POSIX extended regular expression(s) (if defined in trigger)
3. execute command(s) (if defined in trigger)
4. exit with a return code (except for modifiers and focus)
Kiedy callback triggera jest wywoływany, wykonywane są następujące akcje, w kolejności:
1. sprawdzenie warunków; jeśli nie są spełnione, wyjście
2. zastąpienie tekstu za pomocą rozszerzonych wyrażeń regularnych POSIX (jeśli zdefiniowane)
3. wykonanie komend(y) (jeśli zdefiniowane)
4. wyjście z kodem wyjścia (poza modifiers i focus)
Examples (you can also look at default triggers with /trigger listdefault):
add text attributes *bold*, _underline_ and /italic/ (only in user messages):
Przykłady (możesz też spojrzeć na domyślne triggery za pomocą /trigger listdefault):
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}/"
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_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"
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*
----
+10 -10
View File
@@ -1,50 +1,50 @@
* [[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
** 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*
** opis: `text color for conditions flag (in /trigger list)`
** opis: `kolor tekstu dla flag warunków (w /trigger list)`
** 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`)
* [[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
** 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*
** opis: `text color for return code flag (in /trigger list)`
** opis: `kolor tekstu dla flagi zwracanego kodu (w /trigger list)`
** 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`)
* [[option_trigger.color.regex]] *trigger.color.regex*
** opis: `text color for regular expressions`
** opis: `kolor tekstu dla wyrażeń regularnych`
** 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`)
* [[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
** 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*
** opis: `text color for trigger name`
** opis: `kolor tekstu dla nazwy triggera`
** 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`)
* [[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
** 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*
** opis: `enable trigger support`
** opis: `włącza wsparcie dla triggerów`
** typ: bool
** wartości: on, off (domyślna wartość: `on`)
* [[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
** wartości: on, off (domyślna wartość: `off`)
+379 -379
View File
@@ -65,71 +65,71 @@ Przykłady:
----
/buffer list
clear [<number>|<name>|-merged|-all [<number>|<name>...]]
move <number>|-|+
swap <number1>|<name1> [<number2>|<name2>]
merge <number>
unmerge [<number>|-all]
hide [<number>|<name>|-all [<number>|<name>...]]
unhide [<number>|<name>|-all [<number>|<name>...]]
renumber [<number1> [<number2> [<start>]]]
close [<n1>[-<n2>]|<name>]
notify <level>
clear [<numer>|<nazwa>|-merged|-all [<number>|<nazwa>...]]
move <numer>|-|+
swap <numer1>|<nazwa1> [<numer2>|<nazwa2>]
merge <numer>
unmerge [<numer>|-all]
hide [<numer>|<nazwa>|-all [<numer>|<nazwa>...]]
unhide [<numer>|<nazwa>|-all [<numer>|<nazwa>...]]
renumber [<numer1> [<numer2> [<start>]]]
close [<n1>[-<n2>]|<nazwa>]
notify <poxiom>
localvar
set <property> <value>
get <property>
<number>|-|+|<name>
set <właściwość> <wartość>
get <właściwość>
<numer>|-|+|<nazwa>
list: list buffers (without argument, this list is displayed)
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1); "-" = move to first buffer number, "+" = move to last buffer number + 1
swap: swap two buffers (swap with current buffer if only one number/name given)
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
hide: hide the buffer
unhide: unhide the buffer
renumber: renumber buffers (works only if option weechat.look.buffer_auto_renumber is off)
close: close buffer (number/range or name is optional)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
-: jump to first buffer number
+: jump to last buffer number
name: jump to buffer by (partial) name
list: wyświetla listę buforów (bez podania argumenty wyświetlana jest ta lista)
clear: czyści zawartość bufora (numer bufora, -merged dla połączonych buforów, -all dla wszystkich buforów, lub nic dla obecnego bufora)
move: przesuwa bufor na liście (może być względne, np -1); "-" = przesuwa na pierwszy numer, "+" = przesuwa na ostatni numer bufora +1
swap: zamienia miejscami dwa bufory (zamienia z obecnym buforem, jeśli podano tylko jeden numer/nazwę)
merge: łączy obecny bufor z innym (obszar rozmowy zostanie pomieszany między oba bufory)
(domyślnie ctrl-x przełącza pomiędzy połączonymi buforami)
unmerge: odłącza bufor od innych mających taki sam numer
hide: ukrywa bufor
unhide: przywraca ukryty bufor
renumber: zmienia numer bufora (działa tylko, jeśli opcja weechat.look.buffer_auto_renumber jest wyłączona)
close: zamyka bufor (numer/przedział są opcjonalne)
notify: ustawia poziom powiadomień dla obecnego bufora: ten poziom określa czy bufor zostanie dodany do hotlisty czy nie:
none: nigdy
highlight: tylko dla higlightów
message: wiadomości od użytkowników + highlighty
all: wszystkie wiadomości
reset: przywraca wartości domyślne (all)
localvar: wyświetla zmienne lokalne obecnego bufora
set: ustawia właściwość obecnego bufora
get: wyświetla właściwości obecnego bufora
numer: przechodzi do bufora o numerze, dostępne prefiksy:
'+': przejście względne, dodaje numer do obecnego
'-': przejście względne, odejmuje numer od obecnego
'*': przejście do numeru, używając opcji "weechat.look.jump_current_to_previous_buffer"
-: przejście do pierwszego bufora
+: przejście do ostatniego bufora
nazwa: przejście do bufora o (częściowej) nazwie
Examples:
clear current buffer:
Przykłady:
czyści zawartość obecnego bufora:
/buffer clear
move buffer to number 5:
przenosi bufor na numer 5:
/buffer move 5
swap buffer 1 with 3:
zamienia bufor 1 z 3:
/buffer swap 1 3
swap buffer #weechat with current buffer:
zamienia bufor #weechat z obecnym buforem:
/buffer swap #weechat
merge with core buffer:
łączy z głównym buforem:
/buffer merge 1
unmerge buffer:
odłącza bufory:
/buffer unmerge
close current buffer:
zamyka obecny bufor:
/buffer close
close buffers 5 to 7:
zamyka bufory od 5 do 7:
/buffer close 5-7
jump to #weechat:
przechodzi do #weechat:
/buffer #weechat
jump to next buffer:
przechodzi do następnego bufora:
/buffer +1
jump to last buffer number:
przechodzi do ostatniego bufora:
/buffer +
----
@@ -137,29 +137,29 @@ Examples:
[command]*`color`* definiuje aliasy i wyświetla paletę kolorów::
----
/color alias <color> <name>
unalias <color>
/color alias <kolor> <nazwa>
unalias <kolor>
reset
term2rgb <color>
term2rgb <kolor>
rgb2term <rgb> [<limit>]
-o
alias: add an alias for a color
unalias: delete an alias
color: color number (greater than or equal to 0, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "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)
term2rgb: convert a terminal color (0-255) to RGB color
rgb2term: convert a RGB color to terminal color (0-255)
limit: number of colors to use in terminal table (starting from 0); default is 256
-o: send terminal/colors info to current buffer as input
alias: dodaje alias dla koloru
unalias: usuwa alias
color: numer koloru (większy lub równy 0, maksymalna wartość zależy od terminala, zazwyczaj 63 lub 255)
nazwa: nazwa aliasu dla koloru (na przykład: "orange")
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: konwersja koloru terminala (0-255) na kolor RGB
rgb2term: konwersja koloru RGB na kolor terminala (0-255)
limit: liczba kolorów w tabeli kolorów terminala (numerowane od 0); domyślnie 256
-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:
add alias "orange" for color 214:
Przykłady:
dodaje alias "orange" dla koloru 214:
/color alias 214 orange
delete color 214:
usuwa kolor 214:
/color unalias 214
----
@@ -167,11 +167,11 @@ Examples:
[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
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)
command: command to execute (a '/' is automatically added if not found at beginning of command)
-buffer: wykonaj komendę na tym buforze
wtyczka: wykonaj komendę z tej wtyczki;'core' dla wewnętrznych komend WeeChat, '*' wykryj wtyczkę (zależy od bufora, gdzie komenda jest wykonywana)
komenda: komenda do wywołania ( '/' jest automatycznie dodawane jeśli nie występuje na początku komendy)
----
[[command_weechat_cursor]]
@@ -229,50 +229,50 @@ infolists: wyświetla informacje o infolistach
----
[[command_weechat_eval]]
[command]*`eval`* evaluate expression::
[command]*`eval`* przetwórz wyrażenie::
----
/eval [-n] <wyrażenie>
[-n] -c <wyrażenie1> <operator> <wyrażenie2>
-n: display result without sending it to buffer (debug mode)
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
operator: a logical or comparison operator:
- logical operators:
&& boolean "and"
|| boolean "or"
- comparison operators:
== equal
!= not equal
<= less or equal
< less
>= greater or equal
> greater
=~ is matching POSIX extended regex
!~ is NOT matching POSIX extended regex
-n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)
-c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca wartość logiczną ("0" lub "1")
wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są zastępowane (zobacz niżej); wiele komend można oddzielić średnikami
operator: operator logiczny lub porównania:
- operatory logiczne:
&& boolowskie "i"
|| boolowskie "lub"
- operatory porównania:
== równy
!= różny
<= mniejszy lub równy
< mniejszy
>= większy lub równy
> większy
=~ pasuje do rozszerzonego wyrażenia regularnego POSIX
!~ 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".
The comparison is made using integers if the two expressions are valid integers.
To force a string comparison, add double quotes around each expression, for example:
Wyrażenie jest uznawane za "prawdziwe" jeśli nie jest NULL, nie jest puste, oraz różni się od "0".
Porównania dokonuje się z użyciem liczb całkowitych jeśli oba wyrażenia są liczbami całkowitymi.
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" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
1. a string with escaped chars (format: "esc:xxx" or "\xxx")
2. a color (format: "color:xxx")
3. an info (format: "info:name,arguments", arguments are optional)
4. an option (format: "file.section.option")
5. a local variable in buffer
6. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example:
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być:
1. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx")
2. kolor (format color:xxx)
3. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
4. opcja (format: plik.sekcja.opcja)
5. zmienna lokalna w buforze
6. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg znaków), domyślnie "window" i "buffer" wskazują na aktualne okno/bufor.
Format dla hdata może być jednym z poniższych:
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].zmienna1.zmienna2...: inicjuje hdata z wykorzystaniem listy, na przykład:
${buffer[gui_buffers].full_name}: pełna nazwa buforu w połączonej liście buforów
${plugin[weechat_plugins].name}: nazwa pierwszej wtyczki w połączonej liście wtyczek
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 ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
@@ -281,7 +281,7 @@ Examples (simple strings):
/eval -n ${window.buffer.number} ==> 1
/eval -n ${\t} ==> <tab>
Examples (conditions):
Przykłady (warunki):
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
@@ -297,60 +297,60 @@ Examples (conditions):
----
/filter list
enable|disable|toggle [<name>|@]
add <name> <buffer>[,<buffer>...] <tags> <regex>
rename <name> <new_name>
del <name>|-all
enable|disable|toggle [<nazwa>|@]
add <nazwa> <bufor>[,<bufor>...] <tagi> <regex>
rename <nazwa> <nowa_nazwa>
del <nazwa>|-all
list: list all filters
enable: enable filters (filters are enabled by default)
disable: disable filters
toggle: toggle filters
name: filter name ("@" = enable/disable all filters in current buffer)
add: add a filter
rename: rename a filter
del: delete a filter
-all: delete all filters
buffer: comma separated list of buffers where filter is active:
- this is full name including plugin (example: "irc.freenode.#weechat")
- "*" means all buffers
- a name starting with '!' is excluded
- wildcard "*" is allowed
tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit"
- logical "and": use "+" between tags (for example: "nick_toto+irc_action")
- wildcard "*" is allowed
- if tag starts with '!', then it is excluded and must NOT be in message
regex: POSIX extended regular expression to search in line
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!')
- two regular expressions are created: one for prefix and one for message
- regex are case insensitive, they can start by "(?-i)" to become case sensitive
list: wyświetla wszystkie filtry
enable: włącza filtry (filtry są domyślnie włączone)
disable: wyłącza filtry
toggle: przełącza filtry
nazwa: nazwa filtru
add: dodaje filtr
rename: zmienia nazwę filtru
del: usuwa filtr
-all: usuwa wszystkie filtry
bufor: oddzielona przecinkami lisa buforów, dla których filtr jest aktywny:
- jest to pełna nazwa zawierająca wtyczkę (przykład: "irc.freenode.#weechat")
- "*" oznacza wszystkie bufory
- nazwa zaczynająca się od '!' jest wykluczana
- nazwa może zaczynać się lub kończyć '*', aby dopasować wiele buforów
tagi: lista tagów oddzielona przecinkiem, np: "irc_join,irc_part,irc_quit"
- logiczne "i": użyj "+" pomiędzy tagami (na przykład: "nick_toto+irc_action")
- dozwolony jest znak "*"
- jeśli tag zaczyna się od '!', wtedy jest on wykluczony i NIE może znajdować się w wiadomości
regex: rozszerzone wyrażenie regularne POSIX do wyszukania w linii
- użyj '\t' do oddzielenia prefiksu od wiadomości, znaki specjalne jak '|' muszą zostać poprzedzone '\' np: '\|'
- jeśli wyrażenie zaczyna się od '!', wtedy pasujący wynik jest odwracany (użyj '\!', aby zacząć od '!')
- dwa wyrażenia są tworzone: jedno dla prefiksu, drugie dla wiadomości
- 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:
no_filter, no_highlight, no_log, log0..log9 (log level),
Najczęściej używane tagi:
no_filter, no_highlight, no_log, log0..log9 (poziom logowania),
notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick),
host_xxx (xxx is username + host in message),
irc_xxx (xxx is command name or number, see /server raw or /debug tags),
nick_xxx (xxx to nick w wiadomości), prefix_nick_ccc (ccc to kolor nicka),
host_xxx (xxx to nazwa użytkownika + host w wiadomości),
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.
To see tags for lines in buffers: /debug tags
Aby zobaczyć listę tagów w liniach buforów wykonaj: /debug tags
Examples:
use IRC smart filter on all buffers:
Przykłady:
użyj inteligentnego filtru we wszystkich buforach IRC:
/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 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 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 nick "toto" on IRC channel #weechat:
filtruj nick "toto" na kanale IRC #weechat:
/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 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
----
@@ -386,58 +386,58 @@ Wartość: ilość elementów historii do pokazania
----
/input <akcja> [<argumenty>]
list of actions:
return: simulate key "enter"
complete_next: complete word with next completion
complete_previous: complete word with previous completion
search_text: search text in buffer
search_switch_case: switch exact case for search
search_switch_regex: switch search type: string/regular expression
search_switch_where: switch search in messages/prefixes
search_previous: search previous line
search_next: search next line
search_stop: stop search
delete_previous_char: delete previous char
delete_next_char: delete next char
delete_previous_word: delete previous word
delete_next_word: delete next word
delete_beginning_of_line: delete from beginning of line until cursor
delete_end_of_line: delete from cursor until end of line
delete_line: delete entire line
clipboard_paste: paste from clipboard
transpose_chars: transpose two chars
undo: undo last command line action
redo: redo last command line action
move_beginning_of_line: move cursor to beginning of line
move_end_of_line: move cursor to end of line
move_previous_char: move cursor to previous char
move_next_char: move cursor to next char
move_previous_word: move cursor to previous word
move_next_word: move cursor to next word
history_previous: recall previous command in current buffer history
history_next: recall next command in current buffer history
history_global_previous: recall previous command in global history
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer)
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
grab_mouse: grab mouse event code
grab_mouse_area: grab mouse event code with area
set_unread: set unread marker for all buffers
set_unread_current_buffer: set unread marker for current buffer
switch_active_buffer: switch to next merged buffer
switch_active_buffer_previous: switch to previous merged buffer
zoom_merged_buffer: zoom on merged buffer
insert: insert text in command line (escaped chars are allowed, see /help print)
send: send text to the buffer
paste_start: start paste (bracketed paste mode)
paste_stop: stop paste (bracketed paste mode)
lista akcji:
return: symuluje klawisz "enter"
complete_next: dopełnia słowo następnym dopełnieniem
complete_previous: dopełnia słowo poprzednim dopełnieniem
search_text: szuka tekstu w buforze
search_switch_case: przełącza na dokładne dopasowanie przy szukaniu
search_switch_regex: przełącza typy wyszukiwania ciąg/wyrażenie regularne
search_switch_where: zmienia miejsce przeszukiwania na wiadomości/przedrostki
search_previous: szuka poprzednich linii
search_next: szuka następnych linii
search_stop: zatrzymuje wyszukiwanie
delete_previous_char: usuwa poprzedni znak
delete_next_char: usuwa następny znak
delete_previous_word: usuwa poprzednie słowo
delete_next_word: usuwa następne słowo
delete_beginning_of_line: usuwa od początku linii do kursora
delete_end_of_line: usuwa od kursora do końca linii
delete_line: usuwa cała lin
clipboard_paste: wkleja ze schowka
transpose_chars: zamienia dwa znaki
undo: cofa ostatnia akcję w linii poleceń
redo: ponownie wykonuje cofniętą akcję w linii poleceń
move_beginning_of_line: przesuwa kursor na początek linii
move_end_of_line: przesuwa kursor na koniec linii
move_previous_char: przesuwa kursor do poprzedniego znaku
move_next_char: przesuwa kursor do następnego znaku
move_previous_word: przesuwa kursor do poprzedniego słowa
move_next_word: przesuwa kursor do następnego słowa
history_previous: przywołuje poprzednia komendę z historii obecnego bufora
history_next: przywołuje następną komendę z historii obecnego bufora
history_global_previous: przywołuje poprzednią komendę z globalnej historii
history_global_next: przywołuje następną komendę z globalnej historii
jump_smart: przechodzi do następnego bufora z aktywnością
jump_last_buffer_displayed: przechodzi do ostatnio wyświetlanego bufora (przed ostatnim przeskoczeniem do bufora)
jump_previously_visited_buffer: przeskakuje do poprzedniego bufora
jump_next_visited_buffer: przeskakuje to następnego bufora
hotlist_clear: czyści hotlistę
grab_key: przechwytuje klawisz (opcjonalny argument: opóźnienie końca przechwycenia, domyślnie jest to 500 milisekund)
grab_key_command: przechwytuje klawisz z przypisaną komendą(opcjonalny argument: opóźnienie końca przechwycenia, domyślnie jest to 500 milisekund)
grab_mouse: przechwytuje kod zdarzenia myszy
grab_mouse_area: przechwytuje kod zdarzenia myszy z obszarem
set_unread: ustawia znacznik nie przeczytania dla wszystkich buforów
set_unread_current_buffer: ustawia znacznik nie przeczytania dla obecnego bufora
switch_active_buffer: przełącza do następnego połączonego buforu
switch_active_buffer_previous: przełącza do poprzedniego połączonego buforu
zoom_merged_buffer: zoom na połączony bufor
insert: wkleja tekst do linii poleceń (dozwolone są wyescapowane znaki, zobacz /help print)
send: wysyła tekst do bufora
paste_start: zaczyna wklejanie (tryb z rozpoznawaniem wklejanego tekstu)
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]]
@@ -454,44 +454,44 @@ This command is used by key bindings or plugins.
resetall -yes [<kontekst>]
missing [<kontekst>]
list: list all current keys (without argument, this list is displayed)
listdefault: list default keys
listdiff: list differences between current and default keys (keys added, redefined or deleted)
context: name of context ("default" or "search")
bind: bind a command to a key or display command bound to key (for context "default")
bindctxt: bind a command to a key or display command bound to key, for given context
command: command (many commands can be separated by semicolons)
unbind: remove a key binding (for context "default")
unbindctxt: remove a key binding for given context
reset: reset a key to default binding (for context "default")
resetctxt: reset a key to default binding, for given context
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings), useful after installing new WeeChat version
list: wyświetla wszystkie obecne skróty (bez podanego argumentu, pokazywana jest ta lista)
listdefault: wyświetla domyślne skróty klawiszowe
listdiff: wyświetla różnice pomiędzy obecnymi a domyślnymi skrótami klawiszowymi (dodane, przedefiniowane oraz usunięte)
kontekst: nazwa kontekstu ("default" lub "search")
bind: przypisuje komendę do klawisza lub wyświetla komendę przypisaną do klawisza
bindctxt: przypisuje komendę do klawiszy lub wyświetla taką komendę dla podanego kontekstu
komenda: komenda (wiele komend może być oddzielonych średnikiem)
unbind: usuwa przypisanie dla klawisza (dla kontekstu "default")
unbindctxt: usuwa skrót klawiszowy dla podanego kontekstu
reset: przywraca domyślne ustawienia dla klawiszy (dla kontekstu "default")
resetctxt:przywraca domyślne ustawienia dla klawiszy, dla podanego kontekstu
resetall: przywraca przypisania do domyślnych wartości oraz kasuje WSZYSTKIE własne przypisania (używaj ostrożnie!)
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:
*: any area on screen
chat: chat area (any buffer)
chat(xxx): char area for buffer with name "xxx" (full name including plugin)
bar(*): any bar
bar(xxx): bar "xxx"
item(*): any bar item
item(xxx): bar item "xxx"
Wildcard "*" is allowed in key to match many mouse events.
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.
Another special value "-" can be used to disable key (it will be ignored when looking for keys).
Dla kontekstu "mouse" (możliwe również w kontekście "cursor"), klucz ma postać: "@obszar:klucz" lub "@obszar1>obszar2:klucz", gdzie obszar to:
*: dowolny obszar na ekranie
chat: obszar rozmowy (dowolny bufor)
chat(xxx): obszar rozmowy w buforze o nazwie "xxx" (pełna nazwa włączając w to wtyczkę)
bar(*): dowolny pasek
bar(xxx): pasek "xxx"
item(*): dowolny element paska
item(xxx): element paska "xxx"
Klucz może zaczynać się, lub kończyć '*' aby dopasować wiele zdarzeń myszy.
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.
Inna specjalna wartość "-" może zostać użyta do wyłączenia klucza (zostanie on zignorowany podczas szukania kluczy).
Examples:
key alt-x to toggle nicklist bar:
Przykłady:
kombinacja alt-x przełączająca wyświetlanie listy nicków:
/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
restore default binding for key alt-r:
przywrócenie domyślnego przypisania dla kombinacji alt-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
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}
----
@@ -542,23 +542,23 @@ Przykłady:
[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
-current: no output on current buffer
-buffer: no output on specified buffer
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
-core: bez wyświetlania wyjścia w głównym buforze WeeChat
-current: bez wyświetlania wyjścia na obecnym kanale
-buffer: bez wyświetlania wyjścia w podanym buforze
nazwa: pełna nazwa bufora (przykłady: "irc.server.freenode", "irc.freenode.#weechat")
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:
config save:
Przykłady:
zapisanie konfiguracji:
/mute save
message to current IRC channel:
/mute -current msg * hi!
message to #weechat channel:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
wiadomość do obecnego kanału IRC:
/mute -current msg * hej!
wiadomość na kanał #weechat:
/mute -buffer irc.freenode.#weechat msg #weechat hej!
----
[[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::
----
/print [-buffer <number>|<name>] [-core] [-escape] [-date <date>] [-tags <tags>] [-action|-error|-join|-network|-quit] [<text>]
-stdout|-stderr [<text>]
/print [-buffer <numer>|<nazwa>] [-core] [-escape] [-date <data>] [-tags <tagi>] [-action|-error|-join|-network|-quit] <tekst>
-stdout|-stderr <tekst>
-beep
-buffer: display text in this buffer (default: buffer where command is executed)
-core: alias of "-buffer core.weechat"
-current: display text on current buffer
-escape: interpret escaped chars (for example \a, \07, \x07)
-date: message date, format can be:
-n: 'n' seconds before now
+n: 'n' seconds in the future
n: 'n' seconds since the Epoch (see man time)
date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, example: 2014-01-19T04:32:55
time: hh:mm:ss (example: 04:32:55)
-tags: comma-separated list of tags (see /help filter for a list of tags most commonly used)
text: text to display (prefix and message must be separated by "\t", if text starts with "-", then add a "\" before)
-stdout: display text on stdout (escaped chars are interpreted)
-stderr: display text on stderr (escaped chars are interpreted)
-beep: alias of "-stderr \a"
-buffer: bufor, w którym zostanie wyświetlony tekst (domyślnie: obecny bufor)
-core: alias dla bufora "-buffer core.weechat"
-current: wyświetl tekst w obecnym buforze
-escape: interpretuj znaki poprzedzone \ (na przykład \a, \07, \x07)
-date: data wiadomości, możliwe formaty:
-n: 'n' sekund wcześniej
+n: 'n' sekund później
n: 'n' sekund od Epoch (zobacz man time)
data/czas (ISO 8601): yyyy-mm-ddThh:mm:ss, przykład: 2014-01-19T04:32:55
czas: hh:mm:ss (przykład: 04:32:55)
-tags: oddzielona przecinkami lista tagów (zobacz /help filter w celu wyświetlenia listy najczęstszych tagów)
tekst: tekst do wyświetlenia (prefiks i wiadomość muszą być oddzielone za pomocą "\t", jeśli tekst zaczyna się od "-" dodaj "\" przed nim)
-stdout: wyświetl tekst na standardowe wyjście (znaki poprzedzone \ są interpretowane)
-stderr: wyświetl tekst na standardowe wyjście błędów (znaki poprzedzone \ są interpretowane)
-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
Examples:
display a reminder on core buffer with a highlight:
/print -core -tags notify_highlight Reminder: buy milk
display an error on core buffer:
/print -core -error Some error here
display message on core buffer with prefix "abc":
/print -core abc\tThe message
display a message on channel #weechat:
Przykłady:
wyświetla przypomnienie w buforze głównym z higlightem:
/print -core -tags notify_highlight Reminder: kup mleko
wyświetla błąd w głównym buforze:
/print -core -error Jakiś błąd
wyświetla wiadomość w głównym buforze z prefiksem "abc":
/print -core abc\tWiadomość
wyświetla wiadomość na kanale #weechat:
/print -buffer irc.freenode.#weechat Message on #weechat
display a snowman (U+2603):
wyświetla bałwana (U+2603):
/print -escape \u2603
send alert (BEL):
wysyła alert (BEL):
/print -beep
----
@@ -721,72 +721,72 @@ Bez podania argumentu wszystkie pliki (WeeChat oraz wtyczki) zostaną przeładow
set <nazwa> <wartość>
del <nazwa>
passphrase: change the passphrase (without passphrase, data is stored as plain text in file sec.conf)
-delete: delete passphrase
decrypt: decrypt data still encrypted (it happens only if passphrase was not given on startup)
-discard: discard all data still encrypted
set: add or change secured data
del: delete secured data
passphrase: zmienia hasło (bez hasła dane są przechowywane w postaci tekstu w pliku sec.conf)
-delete: kasuje hasło
decrypt: rozszyfrowuje dane będące ciągle zaszyfrowane (zdarza się to tylko jeśli hasło nie zostało podane przy uruchomieniu)
-discard: odrzuca wszystkie nadal zaszyfrowane dane
set: dodaje lub zmienia zaszyfrowane dane
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.
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade).
Jeśli używane jest hasło (dane zaszyfrowane), należy je podać podczas startu WeeChat.
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:
- command line argument "--run-command"
- options weechat.startup.command_{before|after}_plugins
- proxy options: username, password
- irc server options: autojoin, command, password, sasl_{username|password}, username, realname
- option relay.network.password
- command /eval.
Zabezpieczone dane w formacie ${sec.data.xxx} można użyć w:
- argumencie w linii poleceń "--run-command"
- opcjach weechat.startup.command_{before|after}_plugins
- opcjach proxy: username, password
- opcji serwera autojoin, command, password, sasl_{username|password}, username, realname
- opcji relay.network.password
- komendzie /eval.
Examples:
set a passphrase:
/secure passphrase this is my passphrase
encrypt freenode SASL password:
/secure set freenode mypassword
Przykłady:
ustawienie hasła:
/secure passphrase to jest moje hasło
zaszyfrowanie hasła dla freenode SASL:
/secure set freenode mojehasło
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
encrypt oftc password for nickserv:
/secure set oftc mypassword
zaszyfrowanie hasła dla nickserva na serwerze oftc:
/secure set oftc mojehasło
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
alias to ghost the nick "mynick":
/alias ghost /eval /msg -server freenode nickserv ghost mynick ${sec.data.freenode}
alias dla polecenia ghost dla nicka "mójnick":
/alias ghost /eval /msg -server freenode nickserv ghost mójnick ${sec.data.freenode}
----
[[command_weechat_set]]
[command]*`set`* set config options and environment variables::
[command]*`set`* ustaw opcje konfiguracyjne i zmienne środowiskowe::
----
/set [<option> [<value>]]
diff [<option> [<option>...]]
env [<variable> [<value>]]
/set [<opcja> [<wartość>]]
diff [<opcja> [<opcja>...]]
env [<zmienna> [<wartość>]]
option: name of an option (wildcard "*" is allowed)
value: new value for option, according to type:
boolean: on, off or toggle
integer: number, ++number or --number
string: any string ("" for empty string)
color: color name, ++number or --number
Note: for all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
diff: display only changed options
env: display or set an environment variable (use value "" to unset a variable)
opcja: nazwa opcji (może zawierać wildcard"*")
wartość: nowa wartość opcji, zgodnie z typem:
boolean: on, off lub toggle
integer: numer, ++numer lub --numer
string: dowolny ciąg ("" dla pustego ciągu)
color: nazwa koloru, ++numer lub --numer
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: wyświetla tylko zmienione opcje
env: wyśiwietla lub ustawia zmienne środowiskowe (użyj "" żeby skasować zmienną)
Examples:
display options about highlight:
Przykłady:
wyświetla opcje dotyczące podświetleń:
/set *highlight*
add a word to highlight:
/set weechat.look.highlight "word"
display changed options:
dodaje słowo do podświetlenia:
/set weechat.look.highlight "słowo"
wyświetla zmienione opcje:
/set diff
display changed options in irc plugin:
wyświetla zmienione opcje dla wtyczki irc:
/set diff irc.*
display value of environment variable LANG:
wyświetla wartość zmiennej środowiskowej 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
/upgrade
unset environment variable ABC:
kasuje zmienną środowiskową ABC:
/set env ABC ""
----
@@ -794,19 +794,19 @@ Examples:
[command]*`unset`* skasuj/zresetuj zmienną konfiguracyjną::
----
/unset <option>
-mask <option>
/unset <opcja>
-mask <opcja>
option: name of an option
-mask: use a mask in option (wildcard "*" is allowed to mass-reset options, use carefully!)
opcja: nazwa opcji
-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:
reset one option:
Przykłady:
resetowanie jednej opcji:
/unset weechat.look.item_time_format
reset all color options:
/unset -mask weechat.color.*
resetowanie wszystkich opcji dotyczących kolorów:
/unset weechat.color.*
----
[[command_weechat_upgrade]]
@@ -890,66 +890,66 @@ Przykłady:
----
/window list
-1|+1|b#|up|down|left|right [-window <number>]
<number>
splith|splitv [-window <number>] [<pct>]
resize [-window <number>] [+/-]<pct>
-1|+1|b#|up|down|left|right [-window <numer>]
<numer>
splith|splitv [-window <numer>] [<pct>]
resize [-window <numer>] [+/-]<pct>
balance
merge [-window <number>] [all]
page_up|page_down [-window <number>]
merge [-window <numer>] [all]
page_up|page_down [-window <numer>]
refresh
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
swap [-window <number>] [up|down|left|right]
zoom[-window <number>]
bare [<delay>]
scroll [-window <numer>] [+/-]<wartość>[s|m|h|d|M|y]
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 <numer>]
swap [-window <numer>] [up|down|left|right]
zoom[-window <numer>]
bare [<opóźnienie>]
list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
number: window number (see /window list)
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is <pct> percentage of parent window
balance: balance the sizes of all windows
merge: merge window with another (all = keep only one window)
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
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_up: scroll a few lines up
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_beyond_end: scroll beyond the end of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
list: lista otwartych okien (bez argumentu wyświetlana jest ta lista)
-1: skok do poprzedniego okna
+1: skok do następnego okna
b#: skok do następnego okna pokazującego bufor o numerze #
up: przełączenie na okno ponad obecnym
down: przełączenie na okno pod obecnym
left: przełączenie na okno po lewej
right: przełączenie na okno po prawej
numer: okno numer (zobacz /window list)
splith: dzieli obecne okno poziomo
splitv: dzieli obecne okno pionowo
resize: zmienia rozmiar okna, nowy rozmiar to <pct> procent okna nadrzędnego
balance: balansuje rozmiary pomiędzy oknami
merge: łączy okno z innym (all = posiadanie tylko jednego okna)
page_up: przewija stronę do góry
page_down: przewija stronę w dół
refresh: odświeża ekran
scroll: przewija ilość linii (+/-N) lub o czas: s=sekundy, m=minuty, h=godziny, d=dni, M=miesiące, y=lata
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: przewija kilka linii w gorę
scroll_down: przewija kilka linii w dół
scroll_top: przewija na samą górę bufora
scroll_bottom: przewija na spód bufora
scroll_beyond_end: przewija poza koniec bufora
scroll_previous_highlight: przewija do poprzedniego highlighta
scroll_next_highlight: przewija do następnego highlighta
scroll_unread: przewija do znacznika nie przeczytania
swap: zamienia bufory między dwoma oknami (z opcjonalnym kierunkiem dla docelowego okna)
zoom: powiększa okno
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:
jump to window displaying buffer #1:
Przykłady:
skok do okna wyświetlającego bufor #1:
/window b1
scroll 2 lines up:
przewiń 2 linie do góry:
/window scroll -2
scroll 2 days up:
przewiń 2 dni do góry:
/window scroll -2d
scroll to beginning of current day:
przewiń do początku obecnego dnia:
/window scroll -d
zoom on window #2:
powiększ okno 2 #2:
/window zoom -window 2
enable bare display for 2 seconds:
włączenie trybu niesformatowanego na 2 sekundy:
/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`)
* [[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
** 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ść: `"--"`)
* [[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
** wartości: on, off (domyślna wartość: `on`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `"%H:%M"`)
@@ -559,12 +559,12 @@
** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `""`)
* [[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
** 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: "`)
* [[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
** wartości: buffer, merged (domyślna wartość: `merged`)
@@ -619,7 +619,7 @@
** wartości: on, off (domyślna wartość: `on`)
* [[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
** 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ść: `""`)
* [[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
** wartości: dowolny ciąg (domyślna wartość: `"*"`)
+1 -1
View File
@@ -74,7 +74,7 @@
** wartości: on, off (domyślna wartość: `on`)
* [[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
** wartości: on, off (domyślna wartość: `on`)
+8 -4
View File
@@ -52,6 +52,9 @@ $HOME/.weechat/weechat.conf::
$HOME/.weechat/plugins.conf::
plik konfiguracyjny wtyczek
$HOME/.weechat/sec.conf::
plik konfiguracyjny z zabezpieczonymi danymi
$HOME/.weechat/alias.conf::
plik konfiguracyjny wtyczki 'alias'
@@ -61,6 +64,9 @@ $HOME/.weechat/aspell.conf::
$HOME/.weechat/charset.conf::
plik konfiguracyjny wtyczki 'charset'
$HOME/.weechat/exec.conf::
plik konfiguracyjny wtyczki 'exec'
$HOME/.weechat/irc.conf::
plik konfiguracyjny wtyczki 'irc'
@@ -98,8 +104,6 @@ Pełna licencja znajduje się w pliku COPYING.
Strona www: <http://weechat.org/>
// TRANSLATION MISSING
== SUPPORT / REPORTING BUGS
== WSPARCIE / ZGŁASZANIE BŁĘDÓW
// TRANSLATION MISSING
For help or a bug report: <http://weechat.org/dev/support>
W celu uzyskania pomocy, lub zgłoszenia błędu zajrzyj na: <http://weechat.org/dev/support>
+35 -50
View File
@@ -35,8 +35,7 @@ Więcej informacji na stronie: http://weechat.org/about/features
[[gui]]
=== Słyszałem o wielu GUI dla WeeChat. Jak mogę je skompilować/użyć?
// TRANSLATION MISSING
Some remote GUIs are available, see the links on features page:
Dostępne są zdalne interfejsy, linki można znaleźć na stronie z cechami:
http://weechat.org/about/features
[[compile_git]]
@@ -218,8 +217,7 @@ użyty w żadnym z pasków:
[[terminal_copy_paste]]
=== Jak mogę kopiować/wklejać tekst bez wklejania listy nicków?
// TRANSLATION MISSING
With WeeChat ≥ 1.0, you can use the bare display (default key: key[alt-l]).
W WeeChat od wersji ≥ 1.0, możesz użyć trybu niesformatowanego wyświetlania (domyślnie: key[alt-l]).
Możesz użyć terminala z prostokątnym zaznaczaniem (jak rxvt-unicode,
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]]
=== Jak mogę kliknąć na długi URL (dłuższy niż linia)?
// TRANSLATION MISSING
With WeeChat ≥ 1.0, you can use the bare display (default key: key[alt-l]).
W WeeChat od wersji ≥ 1.0, możesz użyć trybu niesformatowanego wyświetlania (domyślnie: key[alt-l]).
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
@@ -267,16 +264,14 @@ Innym rozwiązaniem jest użycie skryptu:
[[change_locale_without_quit]]
=== Chcę zmienić język komunikatów wyświetlanych przez WeeChat, ale bez jego zamykania, czy jest to możliwe?
// TRANSLATION MISSING
Yes, with WeeChat ≥ 1.0:
Tak, dla wersji WeeChat ≥ 1.0:
----
/set env LANG pl_PL.UTF-8
/upgrade
----
// TRANSLATION MISSING
With older WeeChat:
Dla starszych wersji WeeChat:
----
/script install shell.py
@@ -305,9 +300,8 @@ Jeśli używasz screena, możesz dodać to do swojego '~/.screenrc':
term screen-256color
----
// TRANSLATION MISSING
If your 'TERM' variable has wrong value and that WeeChat is already running,
you can change it with these two commands (with WeeChat ≥ 1.0):
Jeśli twoja zmienna 'TERM' posiada złą wartość i WeeChat jest już uruchomiony,
możesz zmienić ją za pomocą tych dwóch komend (dla wersji Weechat ≥ 1.0):
----
/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).
// TRANSLATION MISSING
[[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.
* It does *not* work under screen/tmux.
* Obecnie *tylko* 'xterm' wspiera tą funkcję.
* *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"
----
And then you bind two keys for the focus (replace the `/print` commands by the
commands of your choice):
Następnie przypisz dwie kombinacje klawiszy dla stanu aktywności (zamień komendy
`/print` własnymi komendami:
----
/key bind meta2-I /print -core focus
@@ -469,9 +462,8 @@ key[shift]).
[[irc_ssl_connection]]
=== Mam problemy podczas połączenia z serwerem używającym SSL, co mogę zrobić?
// TRANSLATION MISSING
If you are using Mac OS X, you must install `curl-ca-bundle` and set the path
to certificates in WeeChat:
Jeśli używasz Mac OS X, musisz zainstalować `curl-ca-bundle` i ustawić ścieżkę
do certyfikatów w WeeChat:
----
/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".
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):
----
@@ -595,15 +587,13 @@ Więcej informacji: `/help filter` i `/help irc.look.smart_filter`
[[filter_irc_join_channel_messages]]
=== Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC?
// TRANSLATION MISSING
With WeeChat ≥ 0.4.1, you can choose which messages are displayed or not when
joining a channel with the option 'irc.look.display_join_message' (see
`/help irc.look.display_join_message` for more info).
W wersjach WeeChat ≥ 0.4.1, możesz wybrać to, jakie wiadomości są wyświetlane
a jakie nie podczas wchodzenia na kanał, za pomocą opcji 'irc.look.display_join_message'
(więcej informacji można znaleźć wykonując `/help irc.look.display_join_message`).
// TRANSLATION MISSING
To hide messages (but keep them in buffer), you can filter them using the tag
(for example 'irc_329' for channel creation date). See `/help filter` for help
with filters.
W celu ukrycia wiadomości (ale zachowując je w buforze), możesz je filtrować
używając tagu (na przykład 'irc_329' dla daty utworzenia kanału). zobacz
`/help filter` w celu uzyskania pomocy z filtrami.
[[filter_voice_messages]]
=== Jak mogę filtrować informacje o przyznaniu voice (np na serwerze Bitlbee)?
@@ -695,13 +685,11 @@ Musisz ustawić:
/plugin autoload
----
// TRANSLATION MISSING
[[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
You can use the command `/script` to install and manage scripts
(see `/help script` for help).
Możesz użyć komendy `/script` do instalowania i zarządzania skryptami
(zobacz `/help script` po więcej informacji).
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'
* zmniejszyć wartość opcji 'weechat.history.max_commands'
// TRANSLATION MISSING
[[cpu_usage]]
=== How can I tweak WeeChat to use less CPU?
=== Jak mogę zmusić WeeChat do zużywania mniejszej mocy CPU?
// TRANSLATION MISSING
You can follow same tips as for <<memory_usage,memory>>, and these ones:
Możesz skorzystać z tych samych porad jak dla <<memory_usage,memory>>, oraz tych:
* hide "nicklist" bar: `/bar hide nicklist`
* remove display of seconds in status bar time:
`/set weechat.look.item_time_format "%H:%M"` (this is the default value)
* set the 'TZ' variable (for example: `export TZ="Europe/Paris"`), to prevent
frequent access to file '/etc/localtime'
* schowaj pasek "nicklist": `/bar hide nicklist`
* usuń wyświetlanie sekund w czasie na pasku statusu:
`/set weechat.look.item_time_format "%H:%M"` (domyślna wartość)
* ustaw zmienną 'TZ' (na przykład: `export TZ="Europe/Warsaw"`), w celu zmniejszenia
częstotliwości czytania pliku '/etc/localtime'
[[development]]
== Rozwój
@@ -743,8 +729,7 @@ You can follow same tips as for <<memory_usage,memory>>, and these ones:
[[bug_task_patch]]
=== Jak zgłaszać błędy, prosić o nowe możliwości lub wysyłać patche?
// TRANSLATION MISSING
See: http://weechat.org/dev/support
Zobacz: http://weechat.org/dev/support
[[gdb_error_threads]]
=== 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]]
== Tworzenie serwera IRC
// TRANSLATION MISSING
The server 'freenode' is created by default on first startup.
Serwer 'freenode' jest tworzony domyślnie przy pierwszym uruchomieniu.
// TRANSLATION MISSING
You can add another IRC server with `/server` command, for example:
Możesz dodać inne serwery IRC za pomocą komendy '/server', na przykład:
----
/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
----
// TRANSLATION MISSING
To connect with SSL:
W celu połączenia z użyciem SSL:
----
/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
----
// TRANSLATION MISSING
[NOTE]
Freenode does not support the default dhkey size of 2048, so it has to be set
to 1024.
Freenode nie wspiera domyślnego rozmiaru klucza dhkey 2048, dlatego należy go
ustawić na 1024.
Jeśli SASL jest dostępny na serwerze, można użyć go do uwierzytelnienia (zostaniesz
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"
----
// TRANSLATION MISSING
[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:
@@ -202,12 +197,12 @@ nazwa opcji):
----
[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
uzyskać dzięki `/help connect` ?).
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ć
oddzielne bufory dla serwerów:
@@ -237,17 +232,16 @@ Zamknięcie bufora serwera lub kanału (`/close` jest aliasem `/buffer close`):
/close
----
// TRANSLATION MISSING
[[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
File diff suppressed because it is too large Load Diff
+9 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\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"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\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)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
msgid ""
@@ -9981,6 +9981,12 @@ msgstr "Žádné rmodifikátory nejsou definovány"
msgid "List of default triggers:"
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
msgid "Trigger \"%s\" restarted"
msgstr "Pole \"%s\" vytvořeno"
+14 -6
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 09:12+0100\n"
"POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-09-20 15:52+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.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)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
"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\")"
"Fähigkeiten die von WeeChat unterstützt werden: away-notify, multi-prefix, "
"server-time, userhost-in-names (Beispiel: \"away-notify,multi-prefix\")"
msgid ""
"mechanism for SASL authentication: \"plain\" for plain text password, \"dh-"
@@ -11224,6 +11224,14 @@ msgstr "Kein Trigger definiert"
msgid "List of default triggers:"
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
msgid "Trigger \"%s\" restarted"
msgstr "Trigger \"%s\" neu gestartet"
+9 -3
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\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"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\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
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
"lista separada por comas de capabilidades del cliente (\"client capabilities"
"\") 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:"
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
msgid "Trigger \"%s\" restarted"
msgstr "Barra \"%s\" creada"
+15 -7
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n"
"POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-09-20 14:57+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -2569,7 +2569,7 @@ msgstr ""
" afficher la valeur de la variable d'environnement LANG :\n"
" /set env LANG\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"
" réinitialiser la variable d'environnement ABC :\n"
" /set env ABC \"\""
@@ -7362,13 +7362,13 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
"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\")"
"supportées par WeeChat sont : away-notify, multi-prefix, server-time, "
"userhost-in-names (exemple : \"away-notify,multi-prefix\")"
msgid ""
"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:"
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
msgid "Trigger \"%s\" restarted"
msgstr "Trigger \"%s\" redémarré"
+9 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\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"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.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)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
msgid ""
@@ -9356,6 +9356,12 @@ msgstr "Nincs aliasz definiálva.\n"
msgid "List of default triggers:"
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
msgid "Trigger \"%s\" restarted"
msgstr "A \"%s\" => \"%s\" aliasz elkészült\n"
+9 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\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"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\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)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
msgid ""
@@ -10434,6 +10434,12 @@ msgstr "Nessun rmodifier definito"
msgid "List of default triggers:"
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
msgid "Trigger \"%s\" restarted"
msgstr "Barra \"%s\" creata"
+39 -30
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-08-02 11:25+0200\n"
"PO-Revision-Date: 2014-07-25 07:50+0200\n"
"POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-09-20 23:10+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
"Language: ja\n"
@@ -40,11 +40,11 @@ msgid "max chars"
msgstr "最大文字数"
msgid ""
"a WeeChat color name (default, black, (dark)gray, white, (light)red, "
"(light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a "
"terminal color number or an alias; attributes are allowed before color (for "
"text color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" "
"for italic, \"_\" for underline"
"a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)"
"green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal "
"color number or an alias; attributes are allowed before color (for text "
"color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" for "
"italic, \"_\" for underline"
msgstr ""
"WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、"
"brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号ま"
@@ -1266,7 +1266,7 @@ msgstr ""
" alias: ある色に別名を追加\n"
" unalias: 別名の削除\n"
" color: カラー番号 (0 以上、最大値はターミナル依存、多くの場合 63 か 255)\n"
" name: カラーの別名 (例えば: \"orange\")\n"
" name: カラーの別名 (例: \"orange\")\n"
" reset: 全てのカラーペアをリセット (自動的なリセットが無効化されており、こ"
"れ以上のカラーペアが利用できない場合に必要、オプション weechat.look."
"color_pairs_auto_reset を参照)\n"
@@ -1498,7 +1498,7 @@ msgstr ""
"式が NULL でない場合、空でない場合、\"0\" でない場合、式は \"真\" と評価され"
"ます。\n"
"両方の式が有効な整数である場合、比較は整数を使って行われます。\n"
"文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例えば:\n"
"文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例:\n"
" 50 > 100 ==> 0\n"
" \"50\" > \"100\" ==> 1\n"
"\n"
@@ -2797,7 +2797,7 @@ msgstr ""
"を秒単位で任意指定)\n"
"\n"
"splith と splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在の"
"ウィンドウサイズに対する割合で計算されます。例えば25 は size = "
"ウィンドウサイズに対する割合で計算されます。例えば 25 は size = "
"current_size / 4 の新しいウィンドウを作成します。\n"
"\n"
"例:\n"
@@ -4506,7 +4506,7 @@ msgid ""
msgstr ""
"バーを表示する条件 (\"window\" タイプのバー): 単純な条件: \"active"
"\"、\"inactive\"、\"nicklist\" (ウィンドウはアクティブ/非アクティブ、バッファ"
"にはニックネームリストが含まれる)、条件式 (/help eval を参照)、例えば: "
"にはニックネームリストが含まれる)、条件式 (/help eval を参照)、例: "
"\"${nicklist} && ${window.win_width} > 100\" (式のローカル変数は "
"${active}、${inactive}、${nicklist})"
@@ -4867,7 +4867,7 @@ msgstr ""
"aspell.check.commands を参照)。\n"
"\n"
"全てのバッファで aspell を有効化するには、\"default_dict\" オプションを設定し"
"た後に、aspell を有効化してください。例えば:\n"
"た後に、aspell を有効化してください。例:\n"
" /set aspell.check.default_dict \"en\"\n"
" /aspell enable\n"
"\n"
@@ -5882,8 +5882,8 @@ msgstr ""
" - 内部サーバ名 (/server add で作成されたもの、利用推奨)\n"
" - ホスト名/ポート番号、又は IP アドレス/ポート番号 (これは一時的"
"サーバを作る)、デフォルトのポート番号は 6667\n"
" - 次のフォーマットに従う URL: irc[6][s]://[nickname[:"
"password]@]irc.example.org[:port][/#channel1][,#channel2[...]]\n"
" - 次のフォーマットに従う URL: irc[6][s]://[nickname[:password]@]"
"irc.example.org[:port][/#channel1][,#channel2[...]]\n"
" option: サーバに関するオプション (ブール型オプションでは、value は無視さ"
"れる)\n"
" nooption: ブール型オプションを 'off' にする (例: -nossl)\n"
@@ -6670,7 +6670,7 @@ msgstr ""
"6667)、複数のアドレスはコンマで区切る\n"
" temp: 一時的なサーバを作成 (保存されない)\n"
" option: サーバのオプションを設定 (ブールオプションでは値が無視される)\n"
"nooption: ブールオプションを 'off' に設定 (例えば: -nossl)\n"
"nooption: ブールオプションを 'off' に設定 (例: -nossl)\n"
" copy: サーバを複製\n"
" rename: サーバをリネーム\n"
" keep: 設定ファイルにサーバを保存 (一時的なサーバ用)\n"
@@ -7077,12 +7077,12 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
"サーバで利用可能ならば有効化する \"client capabilities\" のコンマ区切りリス"
"ト; WeeChat で利用できる機能: multi-prefix、userhost-in-names、away-notify "
"(例: \"multi-prefix,userhost-in-names,away-notify\")"
"ト; WeeChat で利用できる機能: away-notify、multi-prefix、server-time、"
"userhost-in-names (例: \"away-notify,multi-prefix\")"
msgid ""
"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 "
"channel, for example: \"notify_private\""
msgstr ""
"ようこそ通知に使われ、チャンネルに転送するタグのコンマ区切りリスト、例えば: "
"ようこそ通知に使われ、チャンネルに転送するタグのコンマ区切りリスト、例: "
"\"notify_private\""
msgid ""
@@ -7548,7 +7548,7 @@ msgid ""
"\"notify_message\", \"notify_private\" or \"notify_highlight\""
msgstr ""
"ニックネームの離席状態に変化があった場合の (whois コマンドの結果)、notify に"
"よって表示されたメッセージに使われたタグのコンマ区切りリスト、例えば: "
"よって表示されたメッセージに使われたタグのコンマ区切りリスト、例: "
"\"notify_message\"、\"notify_private\"、\"notify_highlight\""
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: "
"\"notify_message\", \"notify_private\" or \"notify_highlight\""
msgstr ""
"プライベートメッセージに使われたタグのコンマ区切りリスト、例えば: "
"プライベートメッセージに使われたタグのコンマ区切りリスト、例: "
"\"notify_message\"、\"notify_private\"、\"notify_highlight\""
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"
msgstr "%s%s%s%s が %s%s%s のトピックを削除"
#, fuzzy, c-format
#, c-format
msgid "%sWallops from %s: %s"
msgstr "%sから %s%s Wallops 権を取得 %s(%s%s%s)%s: %s"
msgstr "%s%s からの wallops メッセージ: %s"
#, c-format
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 "
"sent"
msgstr ""
" %s%s%s (%s%s%s)、開始日時: %s、最新の活動: %s、バイト数: %llu 受信、%llu 送"
" %s%s%s (%s%s%s)、開始日時: %s、最新の活動: %s、バイト数: %llu 受信、%llu 送"
"信"
#, c-format
msgid " %s%s%s (%s%s%s), started on: %s"
@@ -10568,9 +10569,17 @@ msgstr "トリガは定義されていません"
msgid "List of default triggers:"
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
msgid "Trigger \"%s\" restarted"
msgstr "トリガ \"%s\" 再開されました"
msgstr "トリガ \"%s\" 再開ました"
#, c-format
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"
" add text attributes *bold*, _underline_ and /italic/ (only in user "
"messages):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"=="
"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
" /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}/\"\n"
" hide nicklist bar on small terminals:\n"
@@ -10843,8 +10852,8 @@ msgstr ""
"\n"
"例 (/trigger listdefault でデフォルトトリガを見ることができます):\n"
" テキスト属性 *太字*、_下線_、/イタリック/ を追加 (ユーザメッセージのみ):\n"
" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"=="
"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:"
" /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}/\"\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 ""
"Project-Id-Version: WeeChat\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"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\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)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
msgid ""
@@ -9626,6 +9626,12 @@ msgstr "Nenhuma rmodifier definido"
msgid "List of default triggers:"
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
msgid "Trigger \"%s\" restarted"
msgstr "Barra \"%s\" criada"
+9 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\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"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.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)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
msgid ""
@@ -9382,6 +9382,12 @@ msgstr "Сокращения не заданы.\n"
msgid "List of default triggers:"
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
msgid "Trigger \"%s\" restarted"
msgstr "Сокращение \"%s\" => \"%s\" создано\n"
+9 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\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"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\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)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
msgid ""
@@ -8443,6 +8443,12 @@ msgstr ""
msgid "List of default triggers:"
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
msgid "Trigger \"%s\" restarted"
msgstr "Filtre \"%s\" etkin"
+12 -7
View File
@@ -19,17 +19,16 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n"
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-08-02 16:12+0200\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2014-09-20 14:54+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
msgid "any string"
msgstr ""
@@ -5401,8 +5400,8 @@ msgstr ""
#. TRANSLATORS: please keep words "client capabilities" between brackets if translation is different (see fr.po)
msgid ""
"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\")"
"available; capabilities supported by WeeChat are: away-notify, multi-prefix, "
"server-time, userhost-in-names (example: \"away-notify,multi-prefix\")"
msgstr ""
msgid ""
@@ -8377,6 +8376,12 @@ msgstr ""
msgid "List of default triggers:"
msgstr ""
#, c-format
msgid ""
"%s%s: action \"%s\" can not be executed on trigger \"%s\" because it is "
"currently running"
msgstr ""
#, c-format
msgid "Trigger \"%s\" restarted"
msgstr ""
+2 -1
View File
@@ -68,6 +68,7 @@ else
else
# git version not found in file => update file with this 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
+21 -8
View File
@@ -606,7 +606,7 @@ COMMAND_CALLBACK(buffer)
else
{
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]);
}
if (ptr_buffer)
@@ -784,7 +784,7 @@ COMMAND_CALLBACK(buffer)
ptr_buffer = gui_buffer_search_by_number_or_name (argv[i]);
if (ptr_buffer)
{
number = strtol (argv[2], &error, 10);
(void) strtol (argv[i], &error, 10);
if (error && !error[0])
{
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]);
if (ptr_buffer)
{
number = strtol (argv[2], &error, 10);
(void) strtol (argv[i], &error, 10);
if (error && !error[0])
{
for (ptr_buffer2 = gui_buffers; ptr_buffer2;
@@ -1835,10 +1835,9 @@ COMMAND_CALLBACK(eval)
{
int i, print_only, condition;
char *result, *ptr_args, *expr, **commands;
struct t_hashtable *options;
struct t_hashtable *pointers, *options;
/* make C compiler happy */
(void) buffer;
(void) data;
(void) argv;
@@ -1870,12 +1869,24 @@ COMMAND_CALLBACK(eval)
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;
if (condition)
{
options = hashtable_new (32,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_POINTER,
WEECHAT_HASHTABLE_STRING,
NULL,
NULL);
if (options)
@@ -1888,7 +1899,7 @@ COMMAND_CALLBACK(eval)
expr = string_remove_quotes (ptr_args, "\"");
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);
if (result)
{
@@ -1911,7 +1922,7 @@ COMMAND_CALLBACK(eval)
}
else
{
result = eval_expression (ptr_args, NULL, NULL, options);
result = eval_expression (ptr_args, pointers, NULL, options);
if (result)
{
commands = string_split_command (result, ';');
@@ -1933,6 +1944,8 @@ COMMAND_CALLBACK(eval)
}
if (result)
free (result);
if (pointers)
hashtable_free (pointers);
if (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) 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, ' ');
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)
file = string_strndup (option_full_name,
pos_section - option_full_name);
section = string_strndup (pos_section + 1,
pos_option - pos_section - 1);
pos_option++;
}
if (file && section && pos_option)
{
ptr_config = config_file_search (file);
if (ptr_config)
{
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)
ptr_section = config_file_search_section (ptr_config,
section);
if (ptr_section)
{
file = string_strndup (option_full_name,
pos_section - option_full_name);
section = string_strndup (pos_section + 1,
pos_option - pos_section - 1);
pos_option++;
}
if (file && section && pos_option)
{
ptr_config = config_file_search (file);
if (ptr_config)
config_file_search_section_option (ptr_config,
ptr_section,
pos_option,
&section_found,
&option_found);
if (option_found)
{
ptr_section = config_file_search_section (ptr_config,
section);
if (ptr_section)
switch (option_found->type)
{
config_file_search_section_option (ptr_config,
ptr_section,
pos_option,
&section_found,
&option_found);
if (option_found)
{
switch (option_found->type)
case CONFIG_OPTION_TYPE_BOOLEAN:
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)
{
case CONFIG_OPTION_TYPE_BOOLEAN:
if (CONFIG_BOOLEAN(option_found) == CONFIG_BOOLEAN_TRUE)
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);
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;
else
gui_completion_list_add (completion, "off",
0, WEECHAT_LIST_POS_BEGINNING);
}
if (option_found->value
&& option_found->null_value_allowed)
else
{
gui_completion_list_add (completion,
WEECHAT_CONFIG_OPTION_NULL,
0,
WEECHAT_LIST_POS_END);
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);
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;
}
+4
View File
@@ -979,6 +979,8 @@ config_file_option_reset (struct t_config_option *option, int run_callback)
option->value = malloc (sizeof (int));
if (option->value)
CONFIG_INTEGER(option) = 0;
else
break;
}
if (CONFIG_INTEGER(option) == CONFIG_INTEGER_DEFAULT(option))
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));
if (option->value)
CONFIG_INTEGER(option) = 0;
else
break;
}
if (CONFIG_COLOR(option) == CONFIG_COLOR_DEFAULT(option))
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,
const char *prefix, const char *suffix)
{
int errors;
void *ptr[2];
ptr[0] = pointers;
ptr[1] = extra_vars;
return string_replace_with_callback (expr, prefix, suffix,
&eval_replace_vars_cb,
ptr,
&errors);
&eval_replace_vars_cb, ptr, NULL);
}
/*
+2 -3
View File
@@ -270,7 +270,7 @@ hashtable_alloc_type (enum t_hashtable_type type,
*size = sizeof (void *);
break;
case HASHTABLE_BUFFER:
if (value)
if (value && (size_value > 0))
{
*pointer = malloc (size_value);
if (*pointer)
@@ -307,8 +307,7 @@ hashtable_free_key (struct t_hashtable *hashtable,
if (hashtable->callback_free_key)
{
(void) (hashtable->callback_free_key) (hashtable,
item->key,
item->value);
item->key);
}
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,
const void *key1, const void *key2);
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,
const void *key, void *value);
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++)
{
pointer = hdata_pointer (hdata, pointer, ptr_var);
if (pointer)
return pointer;
if (!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])
return -1;
rc = hook_command_run_exec (buffer, string);
if (rc == WEECHAT_RC_OK_EAT)
if (hook_command_run_exec (buffer, string) == WEECHAT_RC_OK_EAT)
return 1;
rc = -1;
argv = string_split (string, " ", 0, 0, &argc);
if (argc == 0)
{
@@ -726,12 +723,9 @@ hook_command_exec (struct t_gui_buffer *buffer, int any_plugin,
ptr_hook = next_hook;
}
if (!hook_plugin && !hook_other_plugin)
{
/* command not found at all */
rc = -1;
}
else
rc = -1;
if (hook_plugin || hook_other_plugin)
{
if (!hook_plugin && (count_other_plugin > 1)
&& (hook_other_plugin->priority == hook_other_plugin2->priority))
@@ -1517,7 +1511,7 @@ hook_process_child (struct t_hook *hook_process)
(void) f;
}
rc = EXIT_SUCCESS;
rc = EXIT_FAILURE;
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);
fprintf (stderr, "Error with command '%s'\n",
HOOK_PROCESS(hook_process, command));
rc = EXIT_FAILURE;
}
fflush (stdout);
+23 -16
View File
@@ -1354,12 +1354,12 @@ string_replace_regex_get_replace (const char *string, regmatch_t *regex_match,
*
* Examples:
*
* string | regex | replace | result
* ----------+---------------+-----------+-------------
* test foo | test | Z | Z foo
* test foo | ^(test +)(.*) | $2 | foo
* test foo | ^(test +)(.*) | $1 / $.*2 | test / ***
* test foo | ^(test +)(.*) | $.%+ | %%%
* string | regex | replace | result
* ----------+---------------+----------+-------------
* test foo | test | Z | Z foo
* test foo | ^(test +)(.*) | $2 | foo
* test foo | ^(test +)(.*) | $1/ $.*2 | test / ***
* test foo | ^(test +)(.*) | $.%+ | %%%
*
* 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;
regmatch_t regex_match[100];
if (!string)
if (!string || !regex)
return NULL;
length = strlen (string) + 1;
@@ -2256,6 +2256,10 @@ string_iconv_fprintf (FILE *file, const char *data, ...)
int rc, num_written;
rc = 0;
if (!data)
return rc;
weechat_va_format (data);
if (vbuffer)
{
@@ -2641,7 +2645,8 @@ string_input_for_buffer (const char *string)
*
* 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.
*/
@@ -2659,9 +2664,10 @@ string_replace_with_callback (const char *string,
char *result, *result2, *key, *key2, *value;
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;
length_prefix = strlen (prefix);
@@ -2710,7 +2716,8 @@ string_replace_with_callback (const char *string,
if (!pos_end_name[0])
{
result[index_result] = '\0';
(*errors)++;
if (errors)
(*errors)++;
return result;
}
key = string_strndup (string + index_string + length_prefix,
@@ -2724,7 +2731,8 @@ string_replace_with_callback (const char *string,
suffix, callback,
callback_data,
&sub_errors);
(*errors) += sub_errors;
if (errors)
(*errors) += sub_errors;
free (key);
key = key2;
}
@@ -2755,7 +2763,8 @@ string_replace_with_callback (const char *string,
else
{
result[index_result++] = string[index_string++];
(*errors)++;
if (errors)
(*errors)++;
}
if (key)
free (key);
@@ -2815,12 +2824,10 @@ string_shared_keycmp (struct t_hashtable *hashtable,
*/
void
string_shared_free_key (struct t_hashtable *hashtable,
void *key, const void *value)
string_shared_free_key (struct t_hashtable *hashtable, void *key)
{
/* make C compiler happy */
(void) hashtable;
(void) value;
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 "
"changed since last version)"), "");
if (signature)
free (signature);
return 0;
}
+1 -2
View File
@@ -402,8 +402,7 @@ weechat_term_check ()
sty = getenv ("STY");
tmux = getenv ("TMUX");
is_term_ok = (term && ((strcmp (term, "screen") == 0)
|| (strcmp (term, "screen-256color") == 0)));
is_term_ok = (term && (strncmp (term, "screen", 6) == 0));
is_screen = (sty && sty[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 |
*/
distance = 0;
if (key[0]
&& ((gui_mouse_event_x[0] != gui_mouse_event_x[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 ();
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_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 (number < 0)
gui_hotlist_remove_buffer (buffer);
gui_hotlist_remove_buffer (buffer, 0);
else
(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);
@@ -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)
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, ...)
{
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 *modifier_data, *new_msg, *ptr_msg, *lines_waiting;
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") */
new_msg = NULL;
msg_discarded = 0;
if (buffer)
{
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
*/
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 */
free (new_msg);
@@ -730,89 +732,92 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
}
}
pos_prefix = NULL;
display_time = 1;
ptr_msg = (new_msg) ? new_msg : pos;
if (!msg_discarded)
{
pos_prefix = NULL;
display_time = 1;
ptr_msg = (new_msg) ? new_msg : pos;
/* space followed by tab => prefix ignored */
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'))
/* space followed by tab => prefix ignored */
if ((ptr_msg[0] == ' ') && (ptr_msg[1] == '\t'))
{
display_time = 0;
ptr_msg += 2;
}
else
{
/* if tab found, use prefix (before tab) */
pos_tab = strchr (ptr_msg, '\t');
if (pos_tab)
/* if two first chars are tab, then do not display time */
if ((ptr_msg[0] == '\t') && (ptr_msg[1] == '\t'))
{
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
{
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;
display_time = 0;
ptr_msg += 2;
}
else
{
free (gui_chat_lines_waiting_buffer);
gui_chat_lines_waiting_buffer = NULL;
/* if tab found, use prefix (before tab) */
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
{
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)
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';
pos_lines++;
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
{
free (gui_chat_lines_waiting_buffer);
gui_chat_lines_waiting_buffer = NULL;
}
}
if (pos_prefix)
else
{
memcpy (pos_lines, pos_prefix, strlen (pos_prefix));
pos_lines += strlen (pos_prefix);
pos_lines[0] = '\t';
pos_lines++;
gui_chat_lines_waiting_buffer = malloc (length);
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';
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)
gui_buffer_ask_chat_refresh (buffer, 1);
end:
free (vbuffer);
}
+8 -4
View File
@@ -487,7 +487,8 @@ gui_hotlist_clear ()
*/
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;
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;
buffer_to_remove = 0;
buffer_to_remove = (force_remove_buffer) ?
(ptr_hotlist->buffer == buffer) : 0;
switch (hotlist_remove)
{
case CONFIG_LOOK_HOTLIST_REMOVE_BUFFER:
buffer_to_remove = (ptr_hotlist->buffer == buffer);
buffer_to_remove |= (ptr_hotlist->buffer == buffer);
break;
case CONFIG_LOOK_HOTLIST_REMOVE_MERGED:
buffer_to_remove =
buffer_to_remove |=
((ptr_hotlist->buffer->number == buffer->number)
&& (!ptr_hotlist->buffer->zoomed
|| (ptr_hotlist->buffer->active == 2)));
break;
}
if (buffer_to_remove)
{
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);
extern void gui_hotlist_resort ();
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,
const char *hdata_name);
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)
gui_hotlist_initial_buffer = window->buffer;
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;
}
else
+9
View File
@@ -782,7 +782,16 @@ gui_line_has_highlight (struct t_gui_line *line)
{
length = strlen (ptr_nick);
if (strncmp (ptr_msg_no_color, ptr_nick, length) == 0)
{
/* skip nick at beginning (for example: "FlashCode") */
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;
date_tmp = localtime (&old_date);
if (date_tmp)
memcpy (&old_line_date, date_tmp, sizeof (struct tm));
if (!date_tmp)
return;
memcpy (&old_line_date, date_tmp, sizeof (struct tm));
}
while (ptr_line)
@@ -1213,8 +1214,9 @@ gui_window_scroll (struct t_gui_window *window, char *scroll)
else
{
date_tmp = localtime (&(ptr_line->data->date));
if (date_tmp)
memcpy (&line_date, date_tmp, sizeof (struct tm));
if (!date_tmp)
return;
memcpy (&line_date, date_tmp, sizeof (struct tm));
if (old_date > ptr_line->data->date)
diff_date = old_date - ptr_line->data->date;
else
@@ -1671,7 +1673,7 @@ gui_window_search_stop (struct t_gui_window *window)
}
window->scroll->start_line = NULL;
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);
}
+15 -8
View File
@@ -420,14 +420,13 @@ weechat_aspell_command_cb (void *data, struct t_gui_buffer *buffer,
/* set dictionary for current buffer */
if (weechat_strcasecmp (argv[1], "setdict") == 0)
{
if (argc > 2)
{
dicts = weechat_string_replace (argv_eol[2], " ", "");
weechat_aspell_command_set_dict (buffer,
(dicts) ? dicts : argv[2]);
if (dicts)
free (dicts);
}
if (argc < 3)
return WEECHAT_RC_ERROR;
dicts = weechat_string_replace (argv_eol[2], " ", "");
weechat_aspell_command_set_dict (buffer,
(dicts) ? dicts : argv[2]);
if (dicts)
free (dicts);
return WEECHAT_RC_OK;
}
@@ -441,10 +440,18 @@ weechat_aspell_command_cb (void *data, struct t_gui_buffer *buffer,
/* add word to personal dictionary */
if (weechat_strcasecmp (argv[1], "addword") == 0)
{
if (argc < 3)
return WEECHAT_RC_ERROR;
if (argc > 3)
{
/* use a given dict */
weechat_aspell_command_add_word (buffer, argv[2], argv_eol[3]);
}
else
{
/* use default dict */
weechat_aspell_command_add_word (buffer, NULL, argv_eol[2]);
}
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;
#ifdef USE_ENCHANT
#ifdef HAVE_ENCHANT_GET_VERSION
weechat_printf (NULL, " %s: enchant %s",
ASPELL_PLUGIN_NAME, enchant_get_version ());
#else
weechat_printf (NULL, " %s: enchant (?)", ASPELL_PLUGIN_NAME);
#endif /* HAVE_ENCHANT_GET_VERSION */
#else
#ifdef HAVE_ASPELL_VERSION_STRING
weechat_printf (NULL, " %s: aspell %s",
ASPELL_PLUGIN_NAME, aspell_version_string ());
#else
weechat_printf (NULL, " %s: aspell (?)", ASPELL_PLUGIN_NAME);
#endif
#endif /* HAVE_ASPELL_VERSION_STRING */
#endif /* USE_ENCHANT */
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->next_cmd = NULL;
if (!exec_cmds)
exec_cmds = new_exec_cmd;
else
if (exec_cmds)
last_exec_cmd->next_cmd = new_exec_cmd;
else
exec_cmds = new_exec_cmd;
last_exec_cmd = new_exec_cmd;
new_exec_cmd->number = number;
+6
View File
@@ -19,6 +19,10 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#undef _
#include <libguile.h>
@@ -971,12 +975,14 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
guile_stdout = NULL;
#ifdef HAVE_GUILE_GMP_MEMORY_FUNCTIONS
/*
* prevent guile to use its own gmp allocator, because it can conflict
* with other plugins using GnuTLS like relay, which can crash WeeChat
* on unload (or exit)
*/
scm_install_gmp_memory_functions = 0;
#endif
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 *channel_name;
int i, num_channels, num_keys, length;
int time_now;
time_t time_now;
struct t_irc_channel *ptr_channel;
if (server->sock < 0)
@@ -2247,7 +2247,7 @@ irc_command_join_server (struct t_irc_server *server, const char *arguments,
}
}
new_args[0] = '\0';
time_now = (int)time (NULL);
time_now = time (NULL);
for (i = 0; i < num_channels; i++)
{
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) */
N_("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\")"),
"WeeChat are: away-notify, multi-prefix, server-time, "
"userhost-in-names (example: \"away-notify,multi-prefix\")"),
NULL, 0, 0,
default_value, value,
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
*/
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",
buf_uname->sysname, buf_uname->release,
buf_uname->machine);
if (uname (buf_uname) >= 0)
{
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);
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;
length = strlen (irc_server_get_prefix_chars (server));
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)
{
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);
if (bytes_read <= 0)
{
if (part_of_line)
free (part_of_line);
logger_tail_free (ptr_line);
close (fd);
return NULL;
@@ -140,6 +142,7 @@ logger_tail_file (const char *filename, int n_lines)
if (!new_line->data)
{
free (part_of_line);
free (new_line);
logger_tail_free (ptr_line);
close (fd);
return NULL;
+8 -1
View File
@@ -907,9 +907,16 @@ plugin_script_remove_file (struct t_weechat_plugin *weechat_plugin,
while (i < 2)
{
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)
free (path_script);
break;
}
num_found++;
if (unlink (path_script) == 0)
{

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