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

Compare commits

...

356 Commits

Author SHA1 Message Date
Sébastien Helleu 2904a2e811 Version 2.5 2019-06-06 20:43:20 +02:00
Sébastien Helleu c64cbe1a84 doc: update French auto-generated file 2019-06-06 20:09:08 +02:00
Sébastien Helleu 40f12ec20f core: add FUNDING.yml 2019-06-05 21:32:54 +02:00
Sébastien Helleu 4c9b61755b Version 2.5-rc2 2019-06-04 23:12:40 +02:00
Sébastien Helleu 22895f3f5e relay: set socket option SO_KEEPALIVE only for TCP sockets when creating the socket (issue #733) 2019-06-04 22:59:42 +02:00
Sébastien Helleu 479d234ced relay: set socket option SO_REUSEADDR only for TCP sockets when creating the socket (issue #733) 2019-06-04 22:54:00 +02:00
Sébastien Helleu 86d9cb1e41 relay: set socket option SO_REUSEADDR only for TCP sockets (issue #733) 2019-06-04 22:45:54 +02:00
Sébastien Helleu b4dadd6d98 relay: add UNIX domain socket completion for command /relay add (issue #733) 2019-06-04 22:29:18 +02:00
Sébastien Helleu bfbb511169 relay: fix typo in French translation of /help relay (issue #733) 2019-06-04 22:27:03 +02:00
Sébastien Helleu 22e6777aed relay: fix crash when deleting a relay (issue #733) 2019-06-04 22:19:39 +02:00
Sébastien Helleu 66011b4bee relay: fix truncated path when the unix socket path is longer than the authorized one (issue #733) 2019-06-04 22:19:31 +02:00
Sébastien Helleu 917b2ddf69 spell: add a warning if aspell.conf is still present (on first spell load) 2019-06-04 20:56:05 +02:00
Sébastien Helleu c4a482e067 core: sort changes by importance instead of commit date in release notes 2019-06-04 07:52:42 +02:00
Sébastien Helleu 5edf6ff1c5 doc: update Polish auto-generated files 2019-06-02 06:01:05 +02:00
Krzysztof Korościk a6f44be396 po: upated polish translation 2019-06-01 00:15:12 +02:00
Krzysztof Korościk 5e1174d135 doc: updated polish translation 2019-05-31 23:18:12 +02:00
weechatter 2ab08885be doc: update German documentation 2019-05-27 22:49:17 +02:00
Sébastien Helleu 99bb53f693 doc: add example of WeeChat command to setup the password in a WeeChat IRC relay client (user's guide) 2019-05-27 21:40:01 +02:00
Sébastien Helleu a599e0328b doc: disambiguate key binding "l", which is lower "L" (not "1") 2019-05-27 21:38:39 +02:00
weechatter f3f5bf1d31 core: update German translations 2019-05-26 15:00:15 +02:00
Sébastien Helleu 92a4948666 doc: add extra left/right margins on key sequences 2019-05-26 14:52:00 +02:00
Sébastien Helleu c0bb243541 doc: add links to WeeChat directories and files (user's guide) 2019-05-26 14:51:14 +02:00
Sébastien Helleu f1f1474fda doc: update Japanese auto-generated file 2019-05-26 13:22:17 +02:00
Sébastien Helleu b0554c7415 Merge pull request #1349 from l/master/translation/ja_JP
core: update Japanese translations
2019-05-26 13:21:35 +02:00
AYANOKOUZI, Ryuunosuke 26c844cd25 core: update Japanese translations 2019-05-26 09:00:00 +09:00
Sébastien Helleu ad40118469 doc: increase font size for key bindings 2019-05-25 16:10:23 +02:00
Sébastien Helleu bea63c7b60 doc: remove extra spaces before colons 2019-05-24 21:53:41 +02:00
Sébastien Helleu d3c3e97a0d doc: remove extra space in python dict (scripting guide) 2019-05-24 21:53:17 +02:00
Sébastien Helleu 7cf4585690 doc: fix styles in user's guide 2019-05-24 21:52:35 +02:00
Sébastien Helleu c9762c84e1 doc: fix style in bar items chapter (user's guide) 2019-05-23 21:12:40 +02:00
Sébastien Helleu c716ec1398 doc: update German auto-generated file 2019-05-16 22:02:52 +02:00
weechatter 403555d1be core: update German translations 2019-05-16 20:55:13 +02:00
Sébastien Helleu b6d56d4972 Version 2.5-rc1 2019-05-14 20:31:36 +02:00
Sébastien Helleu 34adcde2ff irc: add extra check on argument "nick" in functions "irc_nick_set_*" 2019-05-14 07:26:48 +02:00
Sébastien Helleu f6d6f7bac5 irc: fix crash when the nick in incoming message is not found in channel 2019-05-14 07:25:04 +02:00
Sébastien Helleu 90610c55c8 relay: remove useless condition
This fixes a compilation warning on FreeBSD.
2019-05-13 22:08:35 +02:00
Sébastien Helleu 828710737a core: update ChangeLog (closes #733, closes #1333) 2019-05-13 21:57:42 +02:00
Sébastien Helleu ec5aca81e7 relay: set address to "local" if not known 2019-05-13 21:57:23 +02:00
Sébastien Helleu 9ed89beaa0 core: update translations 2019-05-13 21:43:11 +02:00
Sébastien Helleu 8121747e7b relay: rename variables in function relay_config_check_path_length 2019-05-13 20:50:13 +02:00
Sébastien Helleu 6f3e563f8b relay: fix comment 2019-05-12 22:57:25 +02:00
Sébastien Helleu 4d156ed8d7 doc: update chapter on relay unix domain sockets; add translations (user's guide) 2019-05-12 22:52:33 +02:00
Sébastien Helleu d1577b34da relay: set mode 700 on the unix socket file (only the owner can use it) 2019-05-12 22:27:43 +02:00
Sébastien Helleu ef1fcbd183 relay: do not overwrite a file if it's not a socket, display an error when the socket can not be created 2019-05-12 22:18:42 +02:00
Sébastien Helleu 585eb337e8 relay: evaluate path of unix socket relay 2019-05-12 21:53:23 +02:00
Sébastien Helleu b228ccdfc3 relay: rename function relay_config_check_path_len to relay_config_check_path_length 2019-05-12 21:39:22 +02:00
Sébastien Helleu ade52cdc7d relay: fix update of port/path variables in relay server when options relay.port.* and relay.path.* are changed with /set 2019-05-12 21:39:22 +02:00
Sébastien Helleu eacc08f2e1 relay: fix section used when the unix relay does not start with "unix." 2019-05-12 21:39:22 +02:00
Sébastien Helleu f273487688 relay: add unix relay format in /help relay 2019-05-12 21:39:22 +02:00
Sébastien Helleu 170c523c84 relay: remove extra newline at the end of /help relay 2019-05-12 21:39:22 +02:00
Sébastien Helleu c4230ecece relay: remove local variable ptr_server from function relay_config_check_path_cb (not needed) 2019-05-12 21:39:22 +02:00
Sébastien Helleu c1af2702b8 relay: improve message displayed on a new client 2019-05-12 21:39:22 +02:00
Sébastien Helleu 78fda01dd5 relay: improve message displayed when the relay is removed 2019-05-12 21:39:22 +02:00
Sébastien Helleu 9d04bc5801 relay: improve message displayed when the relay is added 2019-05-12 21:39:22 +02:00
Sébastien Helleu abe85999d8 relay: rename function relay_config_create_option_port to relay_config_create_option_port_path 2019-05-12 21:39:22 +02:00
Sébastien Helleu df3848e1f0 relay: fix code style 2019-05-12 21:39:22 +02:00
Sébastien Helleu c78fb8dc7c relay: rename variable "un" to "unix_socket" 2019-05-12 18:52:22 +02:00
Ryan Farley ffefd1b785 relay: add UNIX socket support (closes #733) 2019-05-12 18:51:13 +02:00
Nils Görs 5f87112ec5 doc: update German documentation 2019-05-12 14:28:40 +02:00
Sébastien Helleu 01795251f9 doc: fix typo in French scripting guide 2019-05-12 09:27:43 +02:00
Sébastien Helleu 1d3d0aa66e doc: add chapter about WeeChat architecture in scripting guide 2019-05-12 09:25:45 +02:00
Sébastien Helleu a24817b141 irc: rename server variable "nick_host" to "host" 2019-05-12 07:46:01 +02:00
Sébastien Helleu e1fb8433ce core: update ChangeLog (issue #1346) 2019-05-11 20:33:37 +02:00
Sébastien Helleu e3c38d7163 core: add detection of Ruby 2.6 in autotools 2019-05-11 20:32:45 +02:00
Sébastien Helleu b66655b1de Merge pull request #1346 from J0WI/patch-1
core: add detection for Ruby 2.6
2019-05-11 20:31:30 +02:00
J0WI 38b195214b core: add detection for Ruby 2.6 2019-05-11 13:31:34 +02:00
Sébastien Helleu 26ba04b454 irc: set buffer local variable "nick_host" when a channel buffer is opened 2019-05-10 22:25:56 +02:00
Sébastien Helleu 35237c8088 irc: add bar items "irc_nick", "irc_host" and "irc_nick_host" 2019-05-10 22:00:33 +02:00
Sébastien Helleu 06aa7034fb irc: add variable "nick_host" in server structure 2019-05-10 21:59:31 +02:00
Sébastien Helleu 2073408b86 irc: fix parsing of MODE command when there are colons after the first mode argument (closes #1296) 2019-05-10 19:29:58 +02:00
Sébastien Helleu 141b42817f core: update ChangeLog (issue #1341, issue #1342) 2019-05-01 08:35:07 +02:00
Sébastien Helleu 4ddfbc9714 core: add contributor in AUTHORS.adoc 2019-05-01 08:33:47 +02:00
Sébastien Helleu 2712f0991b core: replace CMAKE_INSTALL_PREFIX by ${prefix} in libdir (weechat.pc) 2019-05-01 08:32:36 +02:00
Sébastien Helleu 1102f8ccf0 Merge pull request #1342 from ryan-farley/libdir_fix
cmake: allow custom libdir (fix #1341)
2019-05-01 08:29:59 +02:00
Ryan Farley 8df3ad3d26 cmake: allow custom libdir (fix #1341)
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR
is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR
used to be set).
2019-04-25 16:53:55 -05:00
Sébastien Helleu 38535686f8 core: update ChangeLog 2019-04-20 11:00:29 +02:00
Sébastien Helleu ece92efd81 tests: add link with iconv library (if found)
This fixes a compilation error on FreeBSD.
2019-04-20 10:15:01 +02:00
Nils Görs 4718112c1c doc: update German documentation 2019-04-19 23:07:36 +02:00
Sébastien Helleu d9d1fa7210 doc: translate quickstart changes in other languages 2019-04-19 21:25:33 +02:00
Sébastien Helleu 7f00a51e19 Merge remote-tracking branch 'origin/pr/1340' 2019-04-19 20:55:23 +02:00
Michael Siegel 0b330762fa quick start guide: make two separate sections out of section 2 2019-04-19 18:18:47 +00:00
Nils Görs 88404452e0 doc: update German documentation 2019-04-19 07:12:45 +02:00
Sébastien Helleu ebff142511 core: add contributor in AUTHORS.adoc 2019-04-17 07:45:00 +02:00
Sébastien Helleu a706ee976c doc: translate quickstart changes in other languages 2019-04-17 07:44:03 +02:00
Sébastien Helleu 1e63cdcd9f Merge remote-tracking branch 'origin/pr/1339' 2019-04-17 07:32:03 +02:00
Michael Siegel ec337a7601 quick start guide: rearrange content in section 2
Put everything help-related first, then explain how to set options.
2019-04-16 22:02:19 +00:00
Sébastien Helleu 1582d923e6 core: use getopt to parse command line arguments
Multiple options can now be given in a single flag, for example:

  weechat -ast

Following formats were allowed for command line argument with a value:

  weechat -d /tmp/weechat
  weechat --dir /tmp/weechat

Now these extra formats are supported as well:

  weechat -d/tmp/weechat
  weechat --dir=/tmp/weechat
2019-04-14 13:35:47 +02:00
Sébastien Helleu cc2a6db335 doc: update Japanese auto-generated files 2019-04-14 13:21:09 +02:00
Sébastien Helleu cb28372dd7 Merge pull request #1337 from l/master/translation/ja_JP
core: update Japanese translations
2019-04-14 13:20:03 +02:00
Sébastien Helleu b376f9f013 Merge pull request #1336 from msiism/master
quick start guide: insert “the” where missing
2019-04-14 09:11:33 +02:00
Sébastien Helleu 0e2baa56cf doc: update German auto-generated files 2019-04-14 08:55:19 +02:00
AYANOKOUZI, Ryuunosuke 1876e84c82 core: update Japanese translations 2019-04-14 09:00:00 +09:00
Michael Siegel b4ecfa0159 quick start guide: insert “the” where missing 2019-04-13 20:22:17 +00:00
Nils Görs 2b65c351a8 core: update German translations 2019-04-13 21:18:56 +02:00
Sébastien Helleu 4063abc86b core: bump API version
This is required after changes on functions hook_info and info_get.
2019-04-13 20:48:42 +02:00
Sébastien Helleu dbf6691243 core: add contributor in AUTHORS.adoc (issue #931) 2019-04-13 20:48:11 +02:00
Sébastien Helleu ebf38f142e core: merge functions gui_line_prefix_is_same_nick_as_{previous|next} (issue #931) 2019-04-13 20:46:05 +02:00
Sébastien Helleu 573377e2d9 core: fix /help weechat.look.buffer_time_same 2019-04-13 20:38:19 +02:00
Adrian Bjugård 0b5bff9ef5 core: add option weechat.look.prefix_same_nick_middle (closes #930, closes #931) 2019-04-13 20:36:41 +02:00
Nils Görs 36fc3fdc3b core: update German translations 2019-04-13 18:48:08 +02:00
Nils Görs 92e3217cf5 core: update German translations 2019-04-13 17:40:47 +02:00
Simmo Saan 97e9046918 core: add option weechat.look.buffer_time_same (closes #1127) 2019-04-13 14:45:53 +02:00
Sébastien Helleu 63c992922c Merge pull request #1334 from msiism/master
Improve intro of “Start WeeChat” section
2019-04-13 13:54:27 +02:00
Sébastien Helleu 30768d4d24 trigger: add hook "info_hashtable" 2019-04-13 13:53:16 +02:00
Sébastien Helleu 8bc06ea101 trigger: add hook "info" 2019-04-13 08:52:40 +02:00
Sébastien Helleu 299c308f00 irc: fix memory leak in infos "irc_server_isupport" and "irc_server_isupport_value" 2019-04-13 08:42:45 +02:00
Sébastien Helleu 3d95217745 api: return allocated string in hook_info callback and function info_get 2019-04-13 08:42:45 +02:00
Michael Siegel beb04085d8 Improve intro of “Start WeeChat” section 2019-04-11 21:58:09 +00:00
Sébastien Helleu c80dc2a5ca Merge pull request #1332 from msiism/master
Two grammar fixes for WeeChat user’s guide
2019-04-11 22:40:56 +02:00
Michael Siegel 20c4cb5ae4 Improve grammar in “Screen layout” section 2019-04-11 19:46:57 +00:00
Michael Siegel 734d17993c Add missing “the” to footnote in “Files and directories” 2019-04-11 19:34:27 +00:00
Sébastien Helleu f701caf5bb doc: fix styles in user guide and plugin API reference 2019-04-11 20:56:35 +02:00
Sébastien Helleu 5440c9d91c doc: update German auto-generated file 2019-04-07 10:22:31 +02:00
Nils Görs 1f170bd7f3 core: update German translations 2019-04-06 22:15:58 +02:00
Sébastien Helleu a84c32cf30 xfer: add option xfer.network.speed_limit_recv (closes #269)
For consistency, the option xfer.network.speed_limit has been renamed to
xfer.network.speed_limit_send.
2019-04-06 14:11:07 +02:00
Sébastien Helleu 6ebd97cc63 core: fix typos in README 2019-04-04 20:50:49 +02:00
Sébastien Helleu f8d5776ec9 core: add links to Mastodon and Twitter in README 2019-04-04 20:49:23 +02:00
Sébastien Helleu a34233d54b core: remove link to Google+ in README 2019-04-04 20:49:06 +02:00
Nils Görs 544d006fb7 core: update German translations 2019-04-02 22:08:58 +02:00
Sébastien Helleu 6fa4494aae tests: add test with multiple wildcards in call to function string_match 2019-04-01 00:18:21 +02:00
Sébastien Helleu 5d02ff9a6d tests: add tests on function util_signal_search 2019-04-01 00:15:25 +02:00
Sébastien Helleu d2571ab53b tests: add tests on util_timeval functions 2019-04-01 00:07:32 +02:00
Sébastien Helleu 709334eede tests: add tests on function util_parse_delay with unit "ms" (milliseconds) 2019-04-01 00:02:49 +02:00
Sébastien Helleu 5f1b2722c8 doc: update Japanese auto-generated files 2019-03-31 23:54:50 +02:00
Sébastien Helleu 413aa499cc core: add documentation on command line debug options (in --help and man pages)
Command line debug options are now documented:

* --no-dlclose: do not call the function dlclose after plugins are unloaded
* --no-gnutls: do not call the init and deinit functions of GnuTLS library
* --no-gcrypt: do not call the init and deinit functions of Gcrypt library

These options must not be used in production, they're for debug only and can be
used with tools like Valgrind or electric-fence.
2019-03-31 23:53:54 +02:00
Sébastien Helleu c469f30be5 doc: fix generation of man page weechat-headless with autotools 2019-03-31 23:51:28 +02:00
Sébastien Helleu 5980a4deb8 Merge pull request #1328 from l/master/translation/ja_JP
core: update Japanese translations
2019-03-31 23:46:27 +02:00
AYANOKOUZI, Ryuunosuke 80becc9a29 core: update Japanese translations 2019-04-01 09:00:00 +09:00
Sébastien Helleu c77bffaa52 doc: update German auto-generated file 2019-03-29 23:27:45 +01:00
Sébastien Helleu dad451af34 core: send code coverage only with gcc, not with clang 2019-03-29 23:17:27 +01:00
Sébastien Helleu 3f80ae0ee8 core: add codecov badge 2019-03-29 23:17:09 +01:00
Sébastien Helleu d91954490f core: move coverage.info in parent directory 2019-03-29 23:01:27 +01:00
Sébastien Helleu 56d6b510e6 core: move upload of code coverage from build-test.sh to .travis.yml 2019-03-29 22:53:26 +01:00
Sébastien Helleu 33cefb7daa core: fix upload of code coverage to codecov.io 2019-03-29 22:46:13 +01:00
Sébastien Helleu 3e22bc116b core: upload code coverage on codecov.io in Travis CI 2019-03-29 22:37:03 +01:00
Nils Görs 4df26f391d core: update German translations 2019-03-29 22:34:33 +01:00
Sébastien Helleu b97fc2bd0f core: don't execute command scheduled by /repeat if the buffer does not exist any more 2019-03-29 20:42:00 +01:00
Sébastien Helleu 2571d17cb9 core: don't execute command scheduled by /wait if the buffer does not exist any more 2019-03-29 20:37:18 +01:00
Sébastien Helleu f1d18f4c26 core: use seconds by default in /repeat interval, allow unit for the interval 2019-03-29 20:31:19 +01:00
Sébastien Helleu fa5b1eed77 core: move parsing of /wait delay in a separate function, with unit tests 2019-03-29 20:17:26 +01:00
Sébastien Helleu b3cf270d1d core: allow text in addition to a command in command /repeat 2019-03-29 08:37:57 +01:00
Sébastien Helleu 8251f1fd13 core: update ChangeLog 2019-03-28 22:18:16 +01:00
Sébastien Helleu da43e95c75 relay: use option "delay" in call to command_options (closes #1327)
This fixes a crash when sending "/plugin reload relay" from a relay client.
2019-03-28 22:07:25 +01:00
Sébastien Helleu 4e9e5f2652 api: add option "delay" in hashtable options of function command_options (issue #1327) 2019-03-28 22:07:04 +01:00
Sébastien Helleu 2f37de9148 core: make "input_commands_allowed" work with /wait and /repeat commands (issue #928) 2019-03-28 18:45:22 +01:00
Sébastien Helleu 9b4fa10923 core: set CMake minimum version required to 3.0
This is required for add_library() with INTERFACE library type.
2019-03-25 08:52:53 +01:00
Sébastien Helleu c713a0e475 tests: fix scripting API tests on 32-bit arch
The problem is that on 32-bit arch (like GNU/Hurd), the number 42000000000000
is converted to 42000000000000L in Python, which is causing troubles in other
languages like Perl.

The fix is to use a smaller number. Such large size for function
string_format_size is tested in the C++ test suite anyway.
2019-03-25 00:18:55 +01:00
Sébastien Helleu b04d8934ee tests: fix style in CMake file 2019-03-24 13:43:19 +01:00
Sébastien Helleu 96d3a3834c doc: improve description of CMake option ENABLE_PYTHON3 in user's guide 2019-03-24 09:38:43 +01:00
Sébastien Helleu 429fafd42f doc: fix typo Gnutls -> GnuTLS in user's guide 2019-03-24 09:38:43 +01:00
Sébastien Helleu 6c41e627cd doc: fix description of man/doc CMake options in user's guide 2019-03-24 09:38:43 +01:00
Sébastien Helleu 2612adf899 core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
This option is OFF by default and should be enabled only for tests, to measure
test coverage.
2019-03-24 09:38:43 +01:00
Sébastien Helleu 47c4329404 debian: update changelog 2019-03-23 22:15:18 +01:00
Sébastien Helleu ecfe6756f8 core: switch from Ubuntu Trusty to Xenial in Travis CI 2019-03-23 22:00:26 +01:00
Sébastien Helleu e68754aafe lua: add detection of Lua 5.3 with autotools 2019-03-23 22:00:03 +01:00
Sébastien Helleu 34bf68d38e tests: remove extra output before/after tests 2019-03-23 20:08:17 +01:00
Sébastien Helleu ff32112396 irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ssl_fingerprint option 2019-03-21 23:36:24 +01:00
Sébastien Helleu 2da148eb55 core: add Haiku as supported platform in README 2019-03-21 22:02:31 +01:00
Nils Görs 21e227020f core: update German translations 2019-03-19 23:18:33 +01:00
Sébastien Helleu bb017b2613 irc: display an error with /allchan -current or /allpv -current if the current buffer is not an irc buffer (closes #1325) 2019-03-19 20:37:06 +01:00
Sébastien Helleu 766bea3f9e tests: remove value for first #define in headers 2019-03-19 20:33:30 +01:00
Sébastien Helleu c4bf528b4e php: remove value for first #define in headers 2019-03-19 20:33:16 +01:00
Sébastien Helleu 8f79b1c0fc doc: add missing keys Ctrl+F1 and Ctrl+F2 for buflist (FAQ) 2019-03-19 20:32:27 +01:00
Sébastien Helleu f6c5061590 irc: fix update of channels modes with arguments when joining a channel (closes #1324) 2019-03-18 20:39:42 +01:00
Sébastien Helleu 1ef7a55e72 core: fix typo: Weechat -> WeeChat 2019-03-17 18:34:21 +01:00
Sébastien Helleu 3ee87bcfce core: fix description of Cygwin "weechat" package 2019-03-17 18:12:54 +01:00
Sébastien Helleu 58f4c37a63 core: fix version numbering scheme in cygport file 2019-03-17 14:40:36 +01:00
Sébastien Helleu 413221bc9e doc: update German auto-generated file 2019-03-12 22:58:54 +01:00
Nils Görs 840c815bb0 Merge branch 'master' of github.com:weechat/weechat 2019-03-12 22:43:03 +01:00
Nils Görs 27f33624bd core: update German translations 2019-03-12 22:42:39 +01:00
Sébastien Helleu 78cabc2e06 relay: fix compilation warning when gnutls is not found 2019-03-12 22:26:55 +01:00
Sébastien Helleu 5c2c19c0cd irc: fix compilation warning when gnutls is not found 2019-03-12 22:26:28 +01:00
Sébastien Helleu 99e48d7fa3 core: set max length to 4096 for /secure passphrase (closes #1323) 2019-03-12 21:30:01 +01:00
Sébastien Helleu bc6c1f274c core: improve message displayed when a command is not allowed (issue #928)
The whole command with arguments and the full buffer name are now displayed in
the warning message (in debug mode only).
2019-03-11 21:12:40 +01:00
Sébastien Helleu 92e176ab89 relay: use empty value by default for option relay.weechat.commands (issue #928)
The relay client is supposed to be safe by default, and the relay connection
should be protected by the different ways (restriction on IP address, SSL,
strong password, Time-based One-Time Password, local bind address and use of
SSH tunnel…).

So this option lets the user add extra security by allowing only some
commands (whitelist), or allowing any commands except a list of given
commands (blacklist).
2019-03-11 21:12:23 +01:00
Sébastien Helleu e44c4904c3 relay: add forbidden commands /key and /trigger in weechat protocol (issue #928) 2019-03-10 22:58:50 +01:00
Sébastien Helleu 508f224af9 relay: add forbidden commands /wait and /repeat in weechat protocol (issue #928) 2019-03-10 18:29:22 +01:00
Sébastien Helleu 2b70d71aa1 core: replace argument "keep_eol" by "flags" in function string_split (closes #1322) 2019-03-10 18:29:16 +01:00
Sébastien Helleu 8aa5f5375e core: add value -1 for keep_eol in function string_strip (issue #1322)
The value -1 means it's a standard split, but empty items are kept, and
separators are not removed at beginning/end of string.
2019-03-09 21:56:05 +01:00
Sébastien Helleu 79d0910c08 doc: update German auto-generated file 2019-03-09 20:51:31 +01:00
Nils Görs b925ed5950 core: update German translations 2019-03-09 19:34:40 +01:00
Sébastien Helleu dd44c1db16 relay: add extra forbidden commands in weechat protocol (issue #928)
Commands were already forbidden (option relay.weechat.commands):

- /exec
- /upgrade
- /quit

These extra commands are now forbidden by default:

- /fset
- /set
- /unset
- /plugin
- /script
- /python
- /perl
- /ruby
- /lua
- /tcl
- /guile
- /javascript
- /php
- /secure
2019-03-09 17:54:06 +01:00
Sébastien Helleu 2f5aa3b509 core: use bitwise shift operator to define flag constants 2019-03-02 11:09:52 +01:00
Sébastien Helleu 76290729b7 core: add contributor in AUTHORS.adoc (issue #1319) 2019-03-01 07:42:32 +01:00
Sébastien Helleu b9044f5ca1 core: update ChangeLog (issue #1319) 2019-03-01 07:41:24 +01:00
Sébastien Helleu 7b43d2fe43 Merge pull request #1319 from phy1729/quote-nick
irc: quote argument to NICK
2019-03-01 07:40:42 +01:00
Matthew Martin 77a9322bbf irc: quote argument to NICK 2019-02-28 18:55:26 -06:00
Nils Görs 6a0e9818a9 core: update German translations 2019-02-28 21:41:09 +01:00
Sébastien Helleu 791406f26f doc: fix typo in FAQ 2019-02-28 21:38:05 +01:00
Sébastien Helleu c91e47c414 script: use SHA-512 instead of MD5 for script checksum
Related to weechat/weechat.org@66a8b72ab1
2019-02-28 20:55:10 +01:00
Sébastien Helleu d290de2cba relay: add option relay.weechat.commands (closes #928) 2019-02-28 20:24:25 +01:00
Sébastien Helleu 80b980b2af api: add function command_options (issue #928) 2019-02-28 20:19:18 +01:00
Sébastien Helleu 64043d5a6c php: fix memory leak in functions using hashtable parameters
Functions fixed in PHP plugin:

- string_eval_expression
- string_eval_path_home
- key_bind
- hook_process_hashtable
- hook_hsignal_send
- info_get_hashtable
- hdata_update
2019-02-27 07:51:02 +01:00
Sébastien Helleu c079cc124e doc: fix typo in plugin API reference 2019-02-27 07:46:33 +01:00
Sébastien Helleu 55501b84d6 core: remove function gui_buffer_match_list_split, use function string_match_list 2019-02-27 07:46:29 +01:00
Sébastien Helleu 17a218e6b6 core: use function string_match_list for the autoload of plugins 2019-02-27 07:46:26 +01:00
Sébastien Helleu c2859096cb api: add function string_match_list 2019-02-27 07:46:22 +01:00
Sébastien Helleu e473161c9f core: remove parentheses after function names in ChangeLog 2019-02-26 20:02:21 +01:00
Sébastien Helleu e6850dcf9e Merge pull request #1318 from arza-zara/typos
fset: fix typo in /help fset.format.option2
2019-02-26 19:55:16 +01:00
arza 2af3157dc2 fset: fix typo in /help fset.format.option2 2019-02-26 19:33:03 +02:00
Sébastien Helleu a10769f0f8 doc: move spell chapter after scripts in user's guide 2019-02-26 08:01:42 +01:00
Sébastien Helleu 4ef149b591 core: clarify changes on option weechat.completion.nick_completer in release notes 2019-02-25 18:49:46 +01:00
Sébastien Helleu f1d30dc0b1 core: fix alignment of images in README 2019-02-24 17:03:01 +01:00
Sébastien Helleu a817327b0e core: add WeeChat logo in README 2019-02-24 16:14:57 +01:00
Sébastien Helleu 471f9c61da relay: remove obsolete comment 2019-02-24 16:13:04 +01:00
Sébastien Helleu 466268d5ef doc: update German auto-generated files 2019-02-24 10:03:30 +01:00
Nils Görs 485f5d3e87 core: update German translations 2019-02-23 23:25:22 +01:00
Sébastien Helleu 8eb24f4338 core: update ChangeLog (issue #1055, issue #1312) 2019-02-23 13:41:49 +01:00
Sébastien Helleu 4a13e1ac7e core: update translations (issue #1055, issue #1312) 2019-02-23 13:40:23 +01:00
Simmo Saan c84ac65954 core: add /filter addreplace (closes #1055) 2019-02-23 13:37:46 +01:00
Sébastien Helleu 525417c2c6 core: update ChangeLog (issue #1309, issue #1311) 2019-02-23 11:23:14 +01:00
Sébastien Helleu 68b56291f9 core: merge two comments in a single one (issue #1309, issue #1311) 2019-02-23 11:22:58 +01:00
Sébastien Helleu 7b79fbbd09 Merge remote-tracking branch 'origin/pr/1311' 2019-02-23 11:17:02 +01:00
Sébastien Helleu bdc905df16 core: replace "Desired behavior" by "Expected behavior" in bug report template 2019-02-22 21:46:24 +01:00
Sébastien Helleu baa598276c fset: fix slow refresh of fset buffer during /reload (closes #1313) 2019-02-22 21:33:39 +01:00
Sébastien Helleu 355843b27a core: move "Current behavior" after "Steps to reproduce" in bug report template 2019-02-22 21:00:55 +01:00
Simmo Saan 8ac4a75969 gui: fix use after free bug in /filter del (issue #1309)
Deleting (freeing) a filter also frees its buffers, so refilter must
happen before freeing. Disabling the filter temporarily fixes the bug.

This fix disables the filter before filter_removing signal, though.
2019-02-21 16:15:58 +02:00
Simmo Saan 91936ff583 gui: only refilter affected buffers on filter change (closes #1309) 2019-02-21 16:03:15 +02:00
Sébastien Helleu 33581dd1a7 doc: update German auto-generated files 2019-02-20 08:40:34 +01:00
Nils Görs d2ac854bfa core: update German translations 2019-02-20 08:36:58 +01:00
Nils Görs dd8969413d core: update German translations 2019-02-20 08:25:50 +01:00
Sébastien Helleu 21c02a0378 core: add command to change key alt+s in release notes 2019-02-19 22:42:11 +01:00
Sébastien Helleu 8344f0addc core: add command /spell and default key alt+s in release notes 2019-02-19 22:40:11 +01:00
Sébastien Helleu 7b0507bb47 core: add reason of aspell renaming in release notes 2019-02-19 22:35:08 +01:00
Sébastien Helleu cccd4f07e5 core: add extra instructions about spell plugin in release notes 2019-02-19 22:04:17 +01:00
Sébastien Helleu 3368557cc7 core: update translations (issue #1299) 2019-02-19 21:38:53 +01:00
Sébastien Helleu 27481df277 core: force new API version to prevent the old aspell plugin to load (issue #1299) 2019-02-19 21:21:20 +01:00
Sébastien Helleu 57aa9e060e spell: rename "aspell" plugin to "spell" (issue #1299)
The following things have been renamed:

- file aspell.conf -> spell.conf
- options aspell.* -> spell.*
- bar item aspell_dict -> spell_dict
- bar item and local variable aspell_suggest -> spell_suggest
- info aspell_dict -> spell_dict
2019-02-19 21:15:56 +01:00
Sébastien Helleu e8159298ad core: update ChangeLog (issue #1306, issue #1307) 2019-02-19 20:41:34 +01:00
Sébastien Helleu 9985af8b5d Merge remote-tracking branch 'origin/pr/1307' 2019-02-19 20:38:14 +01:00
Sébastien Helleu 6a9937f08a core: fix compilation on Mac OS (closes #1308)
This adds the missing include "unistd.h" for function "mkdtemp" (required on
Mac OS only).
2019-02-18 19:28:20 +01:00
Simmo Saan 62dfe2ac63 aspell: optimize stripping of nick_completer (issue #1306) 2019-02-18 11:48:48 +02:00
Simmo Saan d512cc324a aspell: strip trailing spaces from nick_completer (closes #1306) 2019-02-18 11:19:42 +02:00
Sébastien Helleu 0a6172c128 Version 2.5-dev 2019-02-17 08:46:20 +01:00
Sébastien Helleu ff6ae69c3f Version 2.4 2019-02-17 08:20:07 +01:00
Sébastien Helleu c76b6c024e core: add contributor in AUTHORS.adoc (issue #1304) 2019-02-16 08:27:30 +01:00
Sébastien Helleu 46a5e1d291 Merge pull request #1304 from ZethJack/patch-1
Fix czech translation kick message
2019-02-16 08:24:23 +01:00
ZethJack 4d4b254d7a Fix czech translation kick message
original: <op> byl vykopnut <user> results in confusing message caused by mistranslation: op was kicked user
proposed fix: <op> vykopnul <user> should result in more understandeable message: op has kicked user
2019-02-15 11:09:01 +01:00
Sébastien Helleu 7d4da3f9e4 doc: update Polish auto-generated files 2019-02-09 21:38:34 +01:00
Krzysztof Korościk 7caaf255b4 updated polish translation 2019-02-09 21:00:59 +01:00
Krzysztof Korościk c2a94d93c5 doc: updated polish translation 2019-02-09 19:50:01 +01:00
Sébastien Helleu 5adf94ffbe Version 2.4-rc1 2019-02-04 20:48:41 +01:00
Sébastien Helleu 87932bcb57 irc: fix parsing of whois messages in notify 2019-02-04 20:47:59 +01:00
Sébastien Helleu a511771802 core: update translations 2019-02-03 19:02:40 +01:00
Sébastien Helleu 4c05648faf Merge pull request #1301 from arza-zara/typos
Fix typo "part or words" -> "part of words"
2019-02-03 19:00:11 +01:00
arza 54c7afa6e2 Fix typo "part or words" -> "part of words" 2019-02-03 19:32:09 +02:00
Sébastien Helleu 82da8a79c4 Merge pull request #1300 from l/master/translation/ja_JP
core: update Japanese translations
2019-02-03 13:42:08 +01:00
AYANOKOUZI, Ryuunosuke c4c4f4d1ef core: update Japanese translations 2019-02-03 09:00:00 +09:00
Sébastien Helleu 5d43b5b80f core: add "travis_retry" on commands that can fail due to network error (Travis CI) 2019-01-31 21:42:07 +01:00
Sébastien Helleu 6932810c70 doc: remove obsolete note about gcrypt in chapter on IRC SASL authentication (user's guide) 2019-01-31 21:34:02 +01:00
Sébastien Helleu 6e09499163 irc: fix crash in parsing of IRC channel modes (issue #1296, closes #1297)
Regression was introduced by commit b38b2abe3b.
2019-01-31 21:13:58 +01:00
Sébastien Helleu b38b2abe3b irc: fix parsing of MODE, 341 (invite) and CHGHOST commands when there are colons (closes #1296) 2019-01-29 21:10:49 +01:00
Sébastien Helleu c869aa3809 relay: fix crash on /upgrade when the real IP is not set (closes #1294) 2019-01-28 20:37:38 +01:00
Nils Görs 50415dfbb7 doc: update German documentation 2019-01-27 15:00:29 +01:00
Sébastien Helleu b955b19388 doc: add example with command "/input set_unread" in question about terminal focus (issue #1295) 2019-01-27 13:23:20 +01:00
Sébastien Helleu 7e547ee70b aspell: look for suggestions only if the misspelled word has changed (closes #1175) 2019-01-27 10:33:12 +01:00
Nils Görs 68bdc5fb09 aspell: set a misspelled word without suggestions in local variable "aspell_suggest" (closes #1288) 2019-01-26 22:38:22 +01:00
Sébastien Helleu 5a681f3c5e core: fix sentence in release notes 2019-01-26 15:34:56 +01:00
Sébastien Helleu 1a34f87163 core: do not automatically add a space when completing "nick:" at the beginning of command line
The space can be added in option weechat.completion.nick_completer
(this is now the default value of the option):

  /set weechat.completion.nick_completer ": "
2019-01-26 14:54:57 +01:00
Sébastien Helleu 4d9fd4c4aa core: fix compilation of empty regular expression (not allowed on FreeBSD) 2019-01-26 10:21:39 +01:00
Sébastien Helleu 6d217ca8c5 doc: fix regex examples to be compatible with FreeBSD
The following special sequences are not supported in regular expressions on
FreeBSD:

- "\w": replaced with "[a-zA-Z0-9_]"
- "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice
  only spaces could be a problem when we use this sequence).
2019-01-26 10:15:35 +01:00
Sébastien Helleu 73a4901fe1 tests: fix evaluation tests on FreeBSD
The following special sequences are not supported in regular expressions on
FreeBSD:

- "\w": replaced with "[a-zA-Z0-9_]"
- "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice
  only spaces could be a problem when we use this sequence).
2019-01-26 10:00:47 +01:00
Sébastien Helleu 507dfec781 tests: fix UTF-8 tests on FreeBSD
Tests for size on screen are made on U+2EE9 (CJK Radical Simplified Yellow)
instead of U+24B62 (CJK Unified Ideograph-24B62) which returns a length of 1 on
FreeBSD and 2 on Linux.
2019-01-26 09:57:30 +01:00
Sébastien Helleu 7e0da4b68a script: add missing input actions "A" and "v" in /help script 2019-01-20 20:13:54 +01:00
Sébastien Helleu eb0828ec6c tests: fix link of tests on GNU Hurd and FreeBSD 2019-01-20 16:53:00 +01:00
Sébastien Helleu 142d312ad7 tests: add missing include of stdio.h 2019-01-20 15:59:04 +01:00
Sébastien Helleu 98249ada86 tests: add tests on IRC color functions
Functions tested:

- irc_color_decode
- irc_color_encode
- irc_color_decode_ansi
2019-01-20 15:17:21 +01:00
Sébastien Helleu fec7d38e3d irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence 2019-01-20 15:07:21 +01:00
Sébastien Helleu 85ee15d4e2 irc: fix encoding of italic attribute when colors are removed 2019-01-20 15:04:52 +01:00
Sébastien Helleu ada2994062 buflist: add alternate key codes for alt-F1/alt-F2 (xterm) 2019-01-20 01:33:47 +01:00
Sébastien Helleu a199d243ca buflist: fix typo on key code for ctrl-F2 2019-01-20 01:32:09 +01:00
Sébastien Helleu e847068a3c buflist: add default keys ctrl-F1/F2 to scroll up/down one page in buflist (same action as F1/F2) 2019-01-20 01:29:33 +01:00
Sébastien Helleu 9d6ebeda0d core: add default keys ctrl-F11/F12 to scroll up/down one page in nicklist (same action as F11/F12) 2019-01-20 01:29:28 +01:00
Sébastien Helleu 09a124c226 buflist: add alternate key codes for F1/F2 and alt-F1/alt-F2 (compatibility with terminals) 2019-01-20 01:09:26 +01:00
Sébastien Helleu 7d442f8492 irc: fix compiler warning on GNU Hurd
This fixes the following warning:

irc-ctcp.c:411:46: warning: '%s' directive output may be truncated writing up
to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
2019-01-13 20:14:11 +01:00
Sébastien Helleu a294b791a8 doc: add missing file test-irc-protocol.cpp in developer's guide 2019-01-13 20:13:30 +01:00
Sébastien Helleu 4fab6dcd05 irc: do not use strptime to parse a time as float number (issue #1289) 2019-01-13 15:25:22 +01:00
Sébastien Helleu 1b26d0608f core: update ChangeLog 2019-01-13 14:48:16 +01:00
Sébastien Helleu 34a6fce134 tests: add tests on function irc_protocol_parse_time 2019-01-13 14:47:35 +01:00
Sébastien Helleu 6343924c16 irc: check return code of calls to strptime (issue #1289) 2019-01-13 14:46:43 +01:00
Nils Görs 1dae5827c6 doc: update German documentation 2019-01-12 22:36:57 +01:00
Sébastien Helleu 0fe6adb269 doc: add question about autojoin option in FAQ (closes #1287) 2019-01-12 21:49:57 +01:00
Sébastien Helleu 8009094717 irc: fix parsing of "time" message tag on FreeBSD (issue #1289) 2019-01-11 22:40:06 +01:00
Sébastien Helleu c96e2f3593 tests: add tests on function irc_config_check_autojoin 2019-01-11 22:27:28 +01:00
Sébastien Helleu 8629bf4b06 debian: switch debhelper compatibility to 12 2019-01-08 22:07:10 +01:00
Sébastien Helleu f8df26f57f debian: bump Standards-Version to 4.3.0 2019-01-08 21:57:31 +01:00
Sébastien Helleu 2b0057239b core: update copyright dates 2019-01-01 15:40:51 +01:00
Sébastien Helleu 169a84384c core: remove obsolete directory from .gitattributes 2018-12-24 15:57:29 +01:00
Sébastien Helleu 4912c46593 doc: update German auto-generated file 2018-12-22 11:03:55 +01:00
Nils Görs b3b58f89a4 core: update German translations 2018-12-22 10:19:49 +01:00
Sébastien Helleu f3db256ce4 core: add note about option sec.crypt.passphrase_file in /help secure (issue #1286) 2018-12-22 09:37:25 +01:00
Sébastien Helleu 237bf80920 doc: update German auto-generated files 2018-12-14 07:31:57 +01:00
Nils Görs cf5aaec3be core: update German translations 2018-12-13 22:38:26 +01:00
Sébastien Helleu d9849b4efe doc: add example of aspell dict for all channels of an IRC server (user's guide) (closes #1284) 2018-12-13 21:24:12 +01:00
Sébastien Helleu c214ca603f doc: update Japanese auto-generated files 2018-12-09 17:06:04 +01:00
Sébastien Helleu 1cd0fb4882 Merge pull request #1283 from l/master/translation/ja_JP
core: update Japanese translations
2018-12-09 17:04:51 +01:00
AYANOKOUZI, Ryuunosuke 8964e994c6 core: update Japanese translations 2018-12-09 09:00:00 +09:00
Sébastien Helleu 4034d07d5a core: use https for links in comments 2018-12-01 08:21:49 +01:00
Nils Görs 89f1f61458 doc: update German documentation 2018-11-30 07:42:25 +01:00
Sébastien Helleu d6e4bbf244 doc: add "WeeChat" term for core command /filter (FAQ) 2018-11-29 23:19:16 +01:00
Sébastien Helleu 342261d35b core: use https for all links where secured http is supported 2018-11-29 23:18:55 +01:00
Sébastien Helleu 4712d0bb06 core: use https for links to GNU GPL license 2018-11-29 23:16:07 +01:00
Sébastien Helleu d9fbf59c6b core: remove obsolete links to wiki in release notes 2018-11-29 23:15:23 +01:00
Nils Görs f6498c14a0 doc: update German documentation 2018-11-24 18:36:27 +01:00
Sébastien Helleu 4803cd62af doc: translate FAQ changes in other languages (issue #1280) 2018-11-19 21:00:21 +01:00
Filip H.F. "FiXato" Slagter fc0a3ef10a doc: add question "How can I disable highlights for specific nicks?" in FAQ (closes #1280) 2018-11-19 20:59:31 +01:00
Sébastien Helleu d8b2be8f91 doc: update German auto-generated file 2018-11-19 20:11:07 +01:00
Nils Görs 968d4ce2af doc: update German documentation 2018-11-18 14:43:16 +01:00
Nils Görs b08155410d Merge branch 'master' of github.com:weechat/weechat 2018-11-18 12:37:46 +01:00
Sébastien Helleu d26380a9bb core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272) 2018-11-18 11:04:29 +01:00
Sébastien Helleu 3c0f72d48b doc: translate FAQ changes in other languages (issue #1272) 2018-11-18 10:55:39 +01:00
Filip H.F. "FiXato" Slagter d8fe89f7e9 doc: spelling/grammar fixes & documentation links added (FAQ) (closes #1272)
A number of spelling/grammar fixes, some restructured sentences to improve
readability and replacement of previous names for Apple Macintosh's OS with the
current 'macOS' name.

Also added some more references to User's guide documentation sections.

Also clarified that a window can not only display 1 buffer, but also a set of
merged buffers.

Finally, added a version note about the /script command.
2018-11-18 10:52:08 +01:00
Nils Görs 4e9203bb7d core: update German translations 2018-11-17 11:58:28 +01:00
Sébastien Helleu 916d99ad40 exec: add option exec.command.shell to customize the shell used with /exec -sh 2018-11-17 11:39:28 +01:00
Sébastien Helleu c94a8f4c68 exec: fix command displayed in debug message 2018-11-17 11:17:37 +01:00
Nils Görs ba9b087ca3 core: update German translations 2018-11-17 11:05:31 +01:00
Sébastien Helleu af382ffb91 core: add test on some WeeChat command line options on Travis CI 2018-11-17 10:46:12 +01:00
Sébastien Helleu 85d7c9b6c5 core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit) 2018-11-17 10:36:58 +01:00
Sébastien Helleu b480c7e7c0 core: add missing include of time.h in wee-secure.h
This fixes a compilation issue on FreeBSD 11.0.
2018-11-17 00:40:34 +01:00
Sébastien Helleu 1355a26920 doc: update German auto-generated file 2018-11-16 23:04:26 +01:00
Nils Görs ecd26fb678 core: update German translations 2018-11-16 16:26:30 +01:00
Sébastien Helleu 34fd37fa50 core: fix forced highlight on messages sent to other buffers (closes #1277)
The C compiler flag "-fsigned--char" is used to force "char" data type to be
always signed (which is what WeeChat expects).

On ARM systems, char is unsigned by default, which is causing problems when
WeeChat stores -1 in the notify_level (type: char).
2018-11-14 22:23:34 +01:00
Sébastien Helleu 638ed2ecf5 core: fix C++ compiler flags (cmake) 2018-11-14 22:06:35 +01:00
Sébastien Helleu 88adc5d703 doc: add missing variable "pointer" to make C compiler really happy (plugin API reference) 2018-11-13 20:48:04 +01:00
Sébastien Helleu b2d9b2f0ba doc: fix name of compiled plugin example (plugin API reference) 2018-11-13 20:43:26 +01:00
Sébastien Helleu 3766beb13e doc: update German auto-generated files 2018-11-12 22:54:56 +01:00
Nils Görs c78f322c9e core: update German translations 2018-11-12 22:44:30 +01:00
Sébastien Helleu 37a0cd0017 core: improve help on option irc.look.server_buffer (closes #1269) 2018-11-12 21:02:25 +01:00
Sébastien Helleu 39abe2fcd9 core: improve help on option weechat.look.nick_color_stop_chars (closes #1268) 2018-11-12 20:57:55 +01:00
Sébastien Helleu de8d640958 relay: add support of close frame in websocket connection (closes #1281) 2018-11-12 20:43:48 +01:00
Sébastien Helleu 594917bff4 core: add fix of memory leak in ChangeLog 2018-11-08 08:42:00 +01:00
Sébastien Helleu 6cdcebed8c buflist: add variable ${number2}, always set with the indented buffer number 2018-11-05 22:21:03 +01:00
Filip H.F. "FiXato" Slagter 5d338fee4e Added documentation links to README 2018-11-04 22:04:39 +01:00
Sébastien Helleu 0285ea785e Merge pull request #1270 from FiXato/patch-1
Make WeeChat screenshots link more descriptive.
2018-11-04 21:57:43 +01:00
Sébastien Helleu 5a132f06fd core: replace ellipses by "etc." (in English) and "etc..." by "etc." in French 2018-11-04 21:53:11 +01:00
Sébastien Helleu dd0b3c5692 core: replace "web site" by "website" 2018-11-04 21:32:35 +01:00
Sébastien Helleu fe586ae662 core: add contributor in AUTHORS.adoc (issue #1273) 2018-11-04 16:55:34 +01:00
Sébastien Helleu ba3d805167 Merge pull request #1273 from half-duplex/master
Fix regex in relay.network.allowed_ips doc
2018-11-04 16:46:11 +01:00
Sébastien Helleu d8ad7e6a8d tests: add missing file test-secure.cpp in autotools 2018-11-04 15:03:54 +01:00
Sébastien Helleu cb73c168b5 core: update translations 2018-11-04 14:50:53 +01:00
Sébastien Helleu dc7d99fa73 core: improve description of infos "totp_generate" and ""totp_validate" 2018-11-04 14:50:53 +01:00
Sébastien Helleu 738535e7f6 relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol 2018-11-04 14:50:53 +01:00
Sébastien Helleu f02fc06dd0 doc: fix styles in relay protocol 2018-11-04 14:50:53 +01:00
Sébastien Helleu ed3f281ba9 api: add functions string_base_{encode,decode}, remove functions string_{encode,decode}_base64 2018-11-04 14:49:11 +01:00
Sébastien Helleu a8b6fa08b7 core: split plugin-api.c into 2 files (API wrappers and infos/infolists) 2018-11-03 23:01:46 +01:00
Sébastien Helleu 6d72868e15 api: return integer in function string_encode_base16 2018-11-02 14:20:16 +01:00
Sébastien Helleu 8848b0e22a api: return integer in function string_encode_base64 2018-11-02 14:09:23 +01:00
Sébastien Helleu 74a17d821f tests: add tests on functions secure_encrypt_data and secure_decrypt_data 2018-11-02 14:06:14 +01:00
Sébastien Helleu d0ea801724 core: add support of TOTP generation/validation (Time-based One-Time Password) 2018-11-02 14:06:14 +01:00
Sébastien Helleu 172736989a doc: add missing source files for tests (developer's guide) 2018-10-27 10:55:57 +02:00
Sébastien Helleu 70c2e27110 core: split wee-secure.c into 3 files (secured data functions, buffer and config) 2018-10-27 08:54:10 +02:00
Sébastien Helleu 3f067f2065 buflist: fix warning displayed when script buffers.pl is loaded (closes #1274) 2018-10-27 08:52:20 +02:00
Sébastien Helleu a6a90aebff doc: add commands to update .po files (developer's guide) 2018-10-25 08:00:14 +02:00
Trevor Bergeron 9121e5812c Fix regex in relay allowed_ips doc 2018-10-23 00:33:01 -04:00
Filip H.F. "FiXato" Slagter c2a2146ad8 Make WeeChat screenshots link more descriptive.
Restructured sentence to avoid using self-non-descriptive 'this page' anchors.
2018-10-23 02:34:56 +02:00
Sébastien Helleu 99ae73066c Version 2.4-dev 2018-10-21 12:53:37 +02:00
798 changed files with 28835 additions and 16539 deletions
-1
View File
@@ -5,5 +5,4 @@ debian-devel export-ignore
debian-stable export-ignore
weechat.spec export-ignore
.mailmap export-ignore
tests/ubuntu/ export-ignore
tools/build-debian.sh export-ignore
+1
View File
@@ -0,0 +1 @@
custom: https://weechat.org/donate/
+5 -5
View File
@@ -10,17 +10,17 @@ about: Create a bug report (please do not report security issues here)
## Current behavior
## Steps to reproduce
1. 
2. 
3. 
## Desired behavior
## Current behavior
## Expected behavior
+18 -11
View File
@@ -1,29 +1,34 @@
dist: xenial
sudo: required
language: c
compiler:
- gcc
- clang
sudo: required
dist: trusty
env:
- BUILDTOOL="cmake" BUILDARGS=""
# - BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON"
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF"
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
- BUILDTOOL="autotools" BUILDARGS=""
# - BUILDTOOL="autotools" BUILDARGS="--enable-python3"
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
matrix:
fast_finish: true
exclude:
- compiler: clang
env: BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
before_script:
# Workaround https://github.com/travis-ci/travis-ci/issues/5326
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update -qq
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl libcpputest-dev php7.0-dev libphp7.0-embed
- sudo gem install asciidoctor
- sudo pip install msgcheck pylint
- travis_retry sudo apt-get update -qq
- travis_retry sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls-dev zlib1g-dev curl libcpputest-dev php7.0-dev libphp7.0-embed
- travis_retry sudo gem install asciidoctor
- travis_retry sudo -H pip install --ignore-installed msgcheck pylint
- phpenv local system
script:
@@ -39,6 +44,8 @@ script:
after_success:
- weechat --help
- weechat-curses --help
matrix:
fast_finish: true
- weechat --colors
- weechat --license
- weechat --version
- weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
- if [ "$CODECOVERAGE" = "1" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov error"; fi
+7
View File
@@ -16,6 +16,7 @@
Alphabetically:
* Adam Saponara (adsr)
* Adrian Bjugård
* Ailin Nemui (Nei)
* Aleksey V Zapparov
* Alex Tarkovsky
@@ -72,8 +73,10 @@ Alphabetically:
* Marco Paolone
* Mateusz Poszwa
* Matt Robinson
* Matthew Martin
* Max Anton Teufel
* Maxim Baz
* Michael Siegel
* Miroslav Koskar
* Murilo Opsfelder Araujo
* Neui
@@ -95,6 +98,7 @@ Alphabetically:
* Quentin Glidic (SardemFF7)
* Quentin Pradet
* Quico Noizeux
* rafasc
* Raghavendra Prabhu
* raspbeguy
* Rettub
@@ -102,6 +106,7 @@ Alphabetically:
* Romero B. de S. Malaquias
* Rudolf Polzer (divVerent)
* Ruslan Bekenev
* Ryan Farley
* Ryuunosuke Ayanokouzi
* scumjr
* Sergio Durigan Junior
@@ -119,12 +124,14 @@ Alphabetically:
* Tom Alsberg
* Tomoe Mami
* Tor Hveem (xt)
* Trevor Bergeron
* Valentin Lorentz (progval)
* Vasco Almeida
* Voroskoi
* Wojciech Kwolek
* W. Trevor King
* Yannick Palanque
* ZethJack
* Ørjan Malde
== Contact
+53 -43
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -16,10 +16,10 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
cmake_minimum_required(VERSION 2.4)
cmake_minimum_required(VERSION 3.0)
project(weechat C)
@@ -27,8 +27,8 @@ project(weechat C)
set(CMAKE_VERBOSE_MAKEFILE OFF)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
set(CMAKE_SKIP_RPATH ON)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -Wall -Wextra -Werror-implicit-function-declaration")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -Wall -Wextra -Werror-implicit-function-declaration")
# version
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
@@ -58,10 +58,12 @@ endif()
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
if(DEFINED LIBDIR)
set(LIBDIR ${LIBDIR}/${PROJECT_NAME})
else()
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
if(NOT DEFINED LIBDIR)
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib)
endif()
if(NOT DEFINED WEECHAT_LIBDIR)
set(WEECHAT_LIBDIR ${LIBDIR}/${PROJECT_NAME})
endif()
if(NOT DEFINED SHAREDIR)
@@ -82,38 +84,46 @@ else()
set(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
endif()
option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
option(ENABLE_HEADLESS "Compile the headless binary (required for tests)" ON)
option(ENABLE_NLS "Enable Native Language Support" ON)
option(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
option(ENABLE_ALIAS "Enable Alias plugin" ON)
option(ENABLE_ASPELL "Enable Aspell plugin" ON)
option(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
option(ENABLE_CHARSET "Enable Charset plugin" ON)
option(ENABLE_EXEC "Enable Exec plugin" ON)
option(ENABLE_FIFO "Enable FIFO plugin" ON)
option(ENABLE_FSET "Enable Fast Set plugin" ON)
option(ENABLE_IRC "Enable IRC plugin" ON)
option(ENABLE_LOGGER "Enable Logger plugin" ON)
option(ENABLE_RELAY "Enable Relay plugin" ON)
option(ENABLE_SCRIPT "Enable Script plugin (script manager)" ON)
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
option(ENABLE_PERL "Enable Perl scripting language" ON)
option(ENABLE_PYTHON "Enable Python scripting language" ON)
option(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended because many \"official\" scripts won't work)" OFF)
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
option(ENABLE_LUA "Enable Lua scripting language" ON)
option(ENABLE_TCL "Enable Tcl scripting language" ON)
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" ON)
option(ENABLE_PHP "Enable PHP scripting language" ON)
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
option(ENABLE_XFER "Enable Xfer plugin" ON)
option(ENABLE_MAN "Enable build of man page" OFF)
option(ENABLE_DOC "Enable build of documentation" OFF)
option(ENABLE_TESTS "Enable tests" OFF)
option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
option(ENABLE_HEADLESS "Compile the headless binary (required for tests)" ON)
option(ENABLE_NLS "Enable Native Language Support" ON)
option(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
option(ENABLE_ALIAS "Enable Alias plugin" ON)
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
option(ENABLE_CHARSET "Enable Charset plugin" ON)
option(ENABLE_EXEC "Enable Exec plugin" ON)
option(ENABLE_FIFO "Enable FIFO plugin" ON)
option(ENABLE_FSET "Enable Fast Set plugin" ON)
option(ENABLE_IRC "Enable IRC plugin" ON)
option(ENABLE_LOGGER "Enable Logger plugin" ON)
option(ENABLE_RELAY "Enable Relay plugin" ON)
option(ENABLE_SCRIPT "Enable Script plugin (script manager)" ON)
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
option(ENABLE_PERL "Enable Perl scripting language" ON)
option(ENABLE_PYTHON "Enable Python scripting language" ON)
option(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended because many \"official\" scripts won't work)" OFF)
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
option(ENABLE_LUA "Enable Lua scripting language" ON)
option(ENABLE_TCL "Enable Tcl scripting language" ON)
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" ON)
option(ENABLE_PHP "Enable PHP scripting language" ON)
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
option(ENABLE_ENCHANT "Enable Enchant lib for Spell checker plugin" OFF)
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
option(ENABLE_XFER "Enable Xfer plugin" ON)
option(ENABLE_MAN "Enable build of man page" OFF)
option(ENABLE_DOC "Enable build of documentation" OFF)
option(ENABLE_TESTS "Enable tests" OFF)
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
# code coverage
add_library(coverage_config INTERFACE)
if(ENABLE_CODE_COVERAGE)
target_compile_options(coverage_config INTERFACE -O0 -g --coverage)
target_link_libraries(coverage_config INTERFACE --coverage)
endif()
# headless mode is required for tests
if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
@@ -253,10 +263,10 @@ add_custom_target(dist
set(PACKAGE "${PROJECT_NAME}")
set(prefix "${CMAKE_INSTALL_PREFIX}")
set(exec_prefix "\${prefix}")
set(libdir "\${exec_prefix}/lib")
string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${prefix}" libdir "${LIBDIR}")
set(includedir "\${prefix}/include")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/pkgconfig)
# 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)
+4 -4
View File
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
<https://www.gnu.org/philosophy/why-not-lgpl.html>.
+264 -169
View File
@@ -15,6 +15,101 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources).
[[v2.5]]
== Version 2.5 (2019-06-06)
New features::
* core: use getopt to parse command line arguments
* core: add option weechat.look.prefix_same_nick_middle (issue #930, issue #931)
* core: add option weechat.look.buffer_time_same (issue #1127)
* core: use seconds by default in /repeat interval, allow unit for the interval
* core: allow text in addition to a command in command /repeat
* core: add option "addreplace" in command /filter (issue #1055, issue #1312)
* api: return allocated string in hook_info callback and function info_get
* api: replace argument "keep_eol" by "flags" in function string_split (issue #1322)
* api: add function command_options (issue #928)
* api: add function string_match_list
* irc: add bar items "irc_nick", "irc_host" and "irc_nick_host"
* irc: add variable "host" in server structure
* relay: add support of UNIX socket (issue #733, issue #1333)
* relay: add option relay.weechat.commands (issue #928)
* script: use SHA-512 instead of MD5 for script checksum
* spell: rename aspell plugin to spell (issue #1299)
* trigger: add hooks "info" and "info_hashtable"
* xfer: rename option xfer.network.speed_limit to xfer.network.speed_limit_send, add option xfer.network.speed_limit_recv (issue #269)
Bug fixes::
* core: don't execute command scheduled by /repeat and /wait if the buffer does not exist any more
* core: set max length to 4096 for /secure passphrase (issue #1323)
* core: refilter only affected buffers on filter change (issue #1309, issue #1311)
* fset: fix slow refresh of fset buffer during /reload (issue #1313)
* irc: fix parsing of MODE command when there are colons after the first mode argument (issue #1296)
* irc: fix memory leak in infos "irc_server_isupport" and "irc_server_isupport_value"
* irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ssl_fingerprint option
* irc: display an error with /allchan -current or /allpv -current if the current buffer is not an irc buffer (issue #1325)
* irc: fix update of channels modes with arguments when joining a channel (issue #1324)
* irc: quote NICK command argument sent to the server (issue #1319)
* php: fix memory leak in functions string_eval_expression, string_eval_path_home, key_bind, hook_process_hashtable, hook_hsignal_send, info_get_hashtable, hdata_update
* relay: fix crash when a weechat relay client reloads the relay plugin with /plugin reload relay (issue #1327)
* spell: fix detection of nick followed by the nick completer (issue #1306, issue #1307)
* trigger: fix split of hook arguments (issue #1322)
Tests::
* unit: add tests on function util_signal_search
Build::
* core: fix value of libdir in file weechat.pc (issue #1341, issue #1342)
* core: fix generation of man page weechat-headless with autotools
* core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options (CMake ≥ 3.0 is now required)
* core: fix compilation on Mac OS (issue #1308)
* lua: add detection of Lua 5.3 with autotools
* ruby: add detection of Ruby 2.6 (issue #1346)
* tests: fix compilation of tests on FreeBSD
[[v2.4]]
== Version 2.4 (2019-02-17)
New features::
* core: do not automatically add a space when completing "nick:" at the beginning of command line (the space can be added in option weechat.completion.nick_completer)
* core: add default keys kbd:[Ctrl+F11]/kbd:[Ctrl+F12] to scroll up/down one page in nicklist (same action as kbd:[F11]/kbd:[F12])
* core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit)
* api: add functions string_base_encode and string_base_decode, remove functions string_encode_base64 and string_decode_base64
* api: add support of Time-based One-Time Password (TOTP), add infos "totp_generate" and "totp_validate"
* buflist: add default keys kbd:[Ctrl+F1]/kbd:[Ctrl+F2] to scroll up/down one page in buflist (same action as kbd:[F1]/kbd:[F2])
* buflist: add variable ${number2}, always set with the indented buffer number
* exec: add option exec.command.shell to customize the shell used with /exec -sh
* relay: add support of close frame in websocket connection (issue #1281)
* relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol
Bug fixes::
* core: fix compilation of empty regular expression (not allowed on FreeBSD)
* core: fix forced highlight on messages sent to other buffers (issue #1277)
* aspell: look for suggestions only if the misspelled word has changed (issue #1175)
* buflist: add alternate key codes for kbd:[F1]/kbd:[F2] and kbd:[Alt+F1]/kbd:[Alt+F2] (compatibility with terminals)
* buflist: fix warning displayed when script buffers.pl is loaded (issue #1274)
* irc: fix parsing of whois messages in notify
* irc: fix parsing of MODE, 341 (invite) and CHGHOST commands when there are colons (issue #1296)
* irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
* irc: fix encoding of italic attribute when colors are removed
* irc: fix parsing of "time" message tag on FreeBSD (issue #1289)
* relay: fix crash on /upgrade when the real IP is not set (issue #1294)
* relay: fix memory leak in connection of client
Tests::
* unit: fix UTF-8 and evaluation tests on FreeBSD
* unit: add tests on IRC configuration and protocol functions
Build::
* core: add C compiler flag "-fsigned--char" to force "char" data type to be always signed (issue #1277)
[[v2.3]]
== Version 2.3 (2018-10-21)
@@ -23,8 +118,8 @@ New features::
* core: add repeat of string in evaluation of expressions with "repeat:count,string" (issue #958)
* core: allow specifying buffer number/name for /buffer localvar (issue #1259)
* core: allow multiple arguments in command /buffer close
* core: allow multiple options "-r" ("--run-command") in command line arguments (issue #1248)
* core: add option "-P" (or "--plugins") to customize the plugins to load at startup
* core: allow multiple options "-r" (or "--run-command") in command line arguments (issue #1248)
* core: add command line option "-P" (or "--plugins") to customize the plugins to load at startup
* core: allow partial buffer name in command /buffer close (issue #1226)
* api: add function hook_line
* irc: display a warning when the value of option irc.server.xxx.autojoin is set to an invalid value
@@ -62,7 +157,7 @@ New features::
* core: send buffer pointer (when possible) in signal "hotlist_changed" (issue #1133)
* core: add support of list options in curl (issue #826, issue #219)
* core: allow merge of buffers by name in command /buffer (issue #1108, issue #1159)
* api: add function hashtable_add_from_infolist()
* api: add function hashtable_add_from_infolist
* api: add function string_format_size in scripting API
* irc: add nick, host and log tags in message displayed in private buffer when the nick comes back on the server (issue #1221)
* irc: add support for IRCv3.2 chghost, add options irc.look.smart_filter_chghost and irc.color.message_chghost (issue #640)
@@ -156,8 +251,8 @@ Build::
Bug fixes::
* python: fix arguments status/gnutls_rc/sock in hook_connect() callback
* python: fix argument fd in hook_fd() callback
* python: fix arguments status/gnutls_rc/sock in hook_connect callback
* python: fix argument fd in hook_fd callback
[[v2.0]]
== Version 2.0 (2017-12-03)
@@ -170,8 +265,8 @@ New features::
* core: make value optional in command /buffer set (issue #746, issue #1088)
* core: allow floating point and hexadecimal numbers in comparison of evaluated values
* core: add option weechat.look.save_config_with_fsync (issue #1083)
* api: add support of prefix "quiet:" in function key_unbind() to quietly remove keys
* api: add argument "recurse_subdirs" in function exec_on_files()
* api: add support of prefix "quiet:" in function key_unbind to quietly remove keys
* api: add argument "recurse_subdirs" in function exec_on_files
* alias: add infolist "alias_default" (list of default aliases)
* buflist: add two new bar items ("buflist2" and "buflist3") using the same format configuration options (issue #990)
* buflist: add option buflist.look.add_newline (issue #1027)
@@ -186,8 +281,8 @@ Bug fixes::
* core, plugins: check return code of strftime function
* core: fix cast of time_t (to "long long" instead of "long") (issue #1051)
* core: call the config hook when options are renamed or removed
* api: change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripts)
* api: change type of argument fd in hook_fd() callback from string to integer (in scripts)
* api: change type of arguments status/gnutls_rc/sock in hook_connect callback from string to integer (in scripts)
* api: change type of argument fd in hook_fd callback from string to integer (in scripts)
* buflist: remove recursive evaluation of extra variables (issue #1060)
* guile: return integer (0/1) instead of boolean in API functions
* guile: fix return value of static strings in API functions
@@ -223,7 +318,7 @@ New features::
* core: improve speed of nicklist bar item callback
* core: allow index for hdata arrays in evaluation of expressions
* api: allow update of variables "scroll_x" and "scroll_y" in bar_window with function hdata_update
* api: add functions config_option_get_string() and hdata_compare()
* api: add functions config_option_get_string and hdata_compare
* buflist: add option buflist.look.auto_scroll (issue #332)
* buflist: add keys kbd:[F1]/kbd:[F2], kbd:[Alt+F1]/kbd:[Alt+F2] to scroll the buflist bar
* buflist: display a warning when the script "buffers.pl" is loaded
@@ -258,10 +353,10 @@ New features::
* core: add resize of window parents with /window resize [h/v]size (task #11461, issue #893)
* core: add hotlist pointer in buffer structure
* core: add last start date in output of command /version after at least one /upgrade (issue #903)
* api: add arraylist functions: arraylist_new(), arraylist_size(), arraylist_get(), arraylist_search(), arraylist_insert(), arraylist_add(), arraylist_remove(), arraylist_clear(), arraylist_free()
* api: add dynamic string functions: string_dyn_alloc(), string_dyn_copy(), string_dyn_concat(), string_dyn_free()
* api: add special key "__quiet" in hashtable for function key_bind()
* api: add `${re:#}` to get the index of last group captured in function string_eval_expression()
* api: add arraylist functions: arraylist_new, arraylist_size, arraylist_get, arraylist_search, arraylist_insert, arraylist_add, arraylist_remove, arraylist_clear, arraylist_free
* api: add dynamic string functions: string_dyn_alloc, string_dyn_copy, string_dyn_concat, string_dyn_free
* api: add special key "__quiet" in hashtable for function key_bind
* api: add `${re:#}` to get the index of last group captured in function string_eval_expression
* aspell: add options to control delimiters in suggestions: aspell.color.suggestion_delimiter_{dict|word} and aspell.look.suggestion_delimiter_{dict|word} (issue #940)
* buflist: new plugin "buflist" (bar item with list of buffers)
* irc: add option "open" in command /server (issue #966)
@@ -323,7 +418,7 @@ Bug fixes::
* core: fix deadlock when quitting after a signal SIGHUP/SIGQUIT/SIGTERM is received (issue #32)
* core: fix display of empty lines in search mode (issue #829)
* api: fix crash in function string_expand_home() when the HOME environment variable is not set (issue #827)
* api: fix crash in function string_expand_home when the HOME environment variable is not set (issue #827)
* exec: fix memory leak in display of process output
* irc: fix option "-temp" in command /server (issue #880)
* irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873)
@@ -336,7 +431,7 @@ Bug fixes::
Build::
* core, irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276)
* core, irc, xfer: fix compilation on macOS (add link with resolv) (issue #276)
* core: add build of xz package with make dist (cmake)
* tests: fix compilation of tests on FreeBSD 11.0
@@ -348,8 +443,8 @@ New features::
* core: add optional argument "lowest", "highest" or level mask in command /input hotlist_clear
* core: add option "cycle" in command /buffer
* core, irc, xfer: display more information on memory allocation errors (issue #573)
* api: add "extra" argument to evaluate extra variables in function string_eval_expression() (issue #534)
* api: remove functions printf_date() and printf_tags()
* api: add "extra" argument to evaluate extra variables in function string_eval_expression (issue #534)
* api: remove functions printf_date and printf_tags
* irc: rename server options "default_msg_{kick|part|quit}" to "msg_{kick|part|quit}", evaluate them
* relay: add option relay.network.allow_empty_password (issue #735)
* relay: allow escape of comma in command "init" (weechat protocol) (issue #730)
@@ -358,10 +453,10 @@ New features::
Bug fixes::
* core, irc, xfer: refresh domain name and name server addresses before connection to servers (fix connection to servers after suspend mode) (issue #771)
* api: fix return of function string_match() when there are multiple masks in the string (issue #812)
* api: fix crash in function network_connect_to() if address is NULL
* api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (issue #770)
* api: fix crash in function string_split_command() when the separator is not a semicolon (issue #731)
* api: fix return of function string_match when there are multiple masks in the string (issue #812)
* api: fix crash in function network_connect_to if address is NULL
* api: fix connection to servers with hook_connect on Windows 10 with Windows subsystem for Linux (issue #770)
* api: fix crash in function string_split_command when the separator is not a semicolon (issue #731)
* irc: fix socket leak in connection to server (issue #358, issue #801)
* irc: fix display of service notice mask (message 008) (issue #429)
* irc: fix NULL pointer dereference in 734 command callback (issue #738)
@@ -401,7 +496,7 @@ Bug fixes::
* core: check that pointers received in arguments are not NULL in buffers and windows functions
* core: fix truncation of buffer names in hotlist (issue #668)
* core: fix update of window title under Tmux (issue #685)
* api: fix number of arguments returned by function string_split() when keep_eol is 2 and the string ends with separators
* api: fix number of arguments returned by function string_split when keep_eol is 2 and the string ends with separators
* irc: fix first message displayed in raw buffer when the message is modified by a modifier (issue #719)
* irc: add missing completion "*" for target in command /msg
* irc: fix /msg command with multiple targets including "*"
@@ -427,8 +522,8 @@ New features::
* core: add tag "term_warning" in warnings about wrong $TERM on startup
* core: add option weechat.look.paste_auto_add_newline (issue #543)
* core: display a more explicit error when a filter fails to be added (issue #522)
* api: add function string_hex_dump()
* api: add argument "length" in function utf8_is_valid()
* api: add function string_hex_dump
* api: add argument "length" in function utf8_is_valid
* alias: display completion in /alias list (issue #518)
* fifo: add /fifo command
* irc: track real names using extended-join and WHO (issue #351)
@@ -450,7 +545,7 @@ Bug fixes::
* core: fix memory leak when using multiple "-d" or "-r" in command line arguments
* core: don't complain any more about "tmux" and "tmux-256color" $TERM values when WeeChat is running under Tmux (issue #519)
* core: fix truncated messages after a word with a length of zero on screen (for example a zero width space: U+200B) (bug #40985, issue #502)
* api: fix handle of invalid escape in function string_convert_escaped_chars()
* api: fix handle of invalid escape in function string_convert_escaped_chars
* alias: do not allow slashes and spaces in alias name (issue #646)
* irc: fix channel forwarding when option irc.look.buffer_open_before_{autojoin|join} is on (issue #643)
* irc: add a missing colon before the password in PASS message, if the password has spaces or begins with a colon (issue #602)
@@ -487,8 +582,8 @@ New features::
* core: add signal "signal_sighup"
* core: allow kbd:[Ctrl+c] to exit WeeChat when the passphrase is asked on startup (issue #452)
* core: allow pointer as list name in evaluation of hdata (issue #450)
* api: add support of evaluated sub-strings and current date/time in function string_eval_expression() and command /eval
* api: add function string_eval_path_home()
* api: add support of evaluated sub-strings and current date/time in function string_eval_expression and command /eval
* api: add function string_eval_path_home
* alias: add options "add", "addcompletion" and "del" in command /alias, remove command /unalias (issue #458)
* irc: add option irc.network.channel_encode (issue #218, issue #482)
* irc: add option irc.color.topic_current (issue #475)
@@ -500,15 +595,15 @@ New features::
Bug fixes::
* core: flush stdout/stderr after sending text directly on them (fix corrupted data sent to hook_process() callback) (issue #442)
* core: flush stdout/stderr after sending text directly on them (fix corrupted data sent to hook_process callback) (issue #442)
* core: allow execution of command "/input return" on a buffer which is not displayed in a window
* core: allow jump from current to previous buffer with default keys kbd:[Alt+j], kbd:[01..99] (issue #466)
* core: fix crash if a file descriptor used in hook_fd() is too high (> 1024 on Linux/BSD) (issue #465)
* core: fix crash if a file descriptor used in hook_fd is too high (> 1024 on Linux/BSD) (issue #465)
* core: fix display of invalid UTF-8 chars in bars
* core: fix bar item "scroll" after /buffer clear (issue #448)
* core: fix display of time in bare display when option weechat.look.buffer_time_format is set to empty string (issue #441)
* api: add missing function infolist_search_var() in script API (issue #484)
* api: add missing function hook_completion_get_string() in script API (issue #484)
* api: add missing function infolist_search_var in script API (issue #484)
* api: add missing function hook_completion_get_string in script API (issue #484)
* api: fix type of value returned by functions strcasestr, utf8_prev_char, utf8_next_char, utf8_add_offset and util_get_time_string
* api: fix type of value returned by function strcasestr
* fifo: fix send error on Cygwin when something is received in the pipe (issue #436)
@@ -545,8 +640,8 @@ New features::
* core: allow "*" as plugin name in command /plugin reload to reload all plugins with options
* core: add option "-s" in command /eval to split expression before evaluating it (no more split by default) (issue #324)
* core: add priority in plugins to initialize them in order
* api: add support of environment variables in function string_eval_expression() and command /eval
* api: add support of full color option name in functions color() and string_eval_expression() and in command /eval
* api: add support of environment variables in function string_eval_expression and command /eval
* api: add support of full color option name in functions color and string_eval_expression and in command /eval
* api: add "_chat_line" (line pointer) in hashtable of hook_focus
* irc: add support of "account-notify" capability (issue #11, issue #246)
* irc: add support of "ecdsa-nist256p-challenge" SASL mechanism (issue #251)
@@ -618,9 +713,9 @@ New features::
* core: check bar conditions in root bars and on each update of a bar item
* core: fully evaluate commands bound to keys in cursor and mouse contexts
* core: move bar item "scroll" between buffer name and lag in default bar items of status bar
* api: add regex replace feature in function string_eval_expression()
* api: send value returned by command callback in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
* api: use microseconds instead of milliseconds in functions util_timeval_diff() and util_timeval_add()
* api: add regex replace feature in function string_eval_expression
* api: send value returned by command callback in function command, remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
* api: use microseconds instead of milliseconds in functions util_timeval_diff and util_timeval_add
* irc: add option "reorder" in command /server (issue #229)
* irc: open channel buffers before the JOIN is received from server (autojoin and manual joins), new options irc.look.buffer_open_before_{autojoin|join} (issue #216)
* irc: add server option "sasl_fail" (continue/reconnect/disconnect if SASL fails) (issue #265, task #12204)
@@ -646,7 +741,7 @@ Bug fixes::
* core: fix buffer property "lines_hidden" when merging buffers or when a line is removed from a buffer (issue #226)
* core: display time in bare display only if option weechat.look.buffer_time_format is not an empty string
* core: fix translation of message displayed after /upgrade
* api: fix truncated process output in hook_process() (issue #266)
* api: fix truncated process output in hook_process (issue #266)
* api: fix crash when reading config options with NULL value (issue #238)
* irc: defer the auto-connection to servers with a timer (issue #279, task #13038)
* irc: add missing server options "sasl_timeout" and "notify" in output of /server listfull
@@ -681,7 +776,7 @@ Bug fixes::
* core: fix compilation of plugin API functions (macros) when compiler optimizations are enabled (issue #200)
* core: fix window/buffer pointers used in command /eval
* core: fix modifier "weechat_print": discard only one line when several lines are displayed in same message (issue #171)
* api: fix bug in function hdata_move() when absolute value of count is greater than 1
* api: fix bug in function hdata_move when absolute value of count is greater than 1
* aspell: fix crash with command "/aspell addword" if no word is given (issue #164, issue #165)
* irc: fix display of channel exception list (348) with 6 arguments (date missing)
* irc: fix type of value stored in hashtable when joining a channel (issue #211)
@@ -720,25 +815,25 @@ New features::
* core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away
* core: add option weechat.look.hotlist_remove (issue #99)
* core: add options "-beep" and "-current" in command /print
* core: add bare display mode for easy text selection and click on URLs, new key: kbd:[Alt+l], new option "bare" in command /window, new options: weechat.look.bare_display_exit_on_input and weechat.look.bare_display_time_format
* core: add bare display mode for easy text selection and click on URLs, new key: kbd:[Alt+l] (`L`), new option "bare" in command /window, new options: weechat.look.bare_display_exit_on_input and weechat.look.bare_display_time_format
* core: add signals "key_combo_{default|search|cursor}"
* core: add terabyte unit for size displayed
* core: display a warning in case of inconsistency between the options weechat.look.save_{config|layout}_on_exit
* core: add option "-mask" in command /unset (issue #112)
* core: set option weechat.look.buffer_search_where to prefix_message by default
* core: mute all buffers by default in command /mute (replace option -all by -core)
* api: allow value "-1" for property "hotlist" in function buffer_set() (to remove a buffer from hotlist)
* api: add option "buffer_flush" in function hook_process_hashtable()
* api: add support of case insensitive search and search by buffer full name in function buffer_search() (bug #34318)
* api: add option "detached" in function hook_process_hashtable()
* api: add option "signal" in function hook_set() to send a signal to the child process
* api: add support of nested variables in function string_eval_expression() and command /eval (issue #35)
* api: add support of escaped strings with format `${esc:xxx}` or `${\xxx}` in function string_eval_expression() and command /eval
* api: add functions hashtable_dup(), string_replace_regex(), string_split_shell(), string_convert_escaped_chars()
* api: add integer return code for functions hook_{signal|hsignal}_send()
* api: add argument "flags" in function hdata_new_list()
* api: allow wildcard "*" inside the mask in function string_match()
* api: allow negative value for y in function printf_y()
* api: allow value "-1" for property "hotlist" in function buffer_set (to remove a buffer from hotlist)
* api: add option "buffer_flush" in function hook_process_hashtable
* api: add support of case insensitive search and search by buffer full name in function buffer_search (bug #34318)
* api: add option "detached" in function hook_process_hashtable
* api: add option "signal" in function hook_set to send a signal to the child process
* api: add support of nested variables in function string_eval_expression and command /eval (issue #35)
* api: add support of escaped strings with format `${esc:xxx}` or `${\xxx}` in function string_eval_expression and command /eval
* api: add functions hashtable_dup, string_replace_regex, string_split_shell, string_convert_escaped_chars
* api: add integer return code for functions hook_{signal|hsignal}_send
* api: add argument "flags" in function hdata_new_list
* api: allow wildcard "*" inside the mask in function string_match
* api: allow negative value for y in function printf_y
* alias: add default alias "msgbuf" (send text to a buffer)
* exec: add exec plugin: new command /exec and file exec.conf
* irc: add bar item "irc_nick_modes" (issue #71)
@@ -789,29 +884,29 @@ Bug fixes::
* core: fix reset of attributes in bars when "resetcolor" is used (issue #41)
* core: fix alignment of lines in merged buffers when options weechat.look.prefix_align and weechat.look.prefix_buffer_align are set to "none" (issue #43)
* core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup"
* core: fix add of filter on OS X when regex for message is empty (filter regex ending with "\t")
* core: check validity of buffer pointer when data is sent to a buffer (command/text from user and API function command())
* core: fix add of filter on macOS when regex for message is empty (filter regex ending with "\t")
* core: check validity of buffer pointer when data is sent to a buffer (command/text from user and API function command)
* core: fix crash when buffer is closed during execution of multiple commands (issue #27)
* core: fix compilation on SmartOS (bug #40981, issue #23)
* core: add missing \0 at the end of stderr buffer in function hook_process()
* core: add missing \0 at the end of stderr buffer in function hook_process
* core: fix highlight problem with "(?-i)" and upper case letters in option weechat.look.highlight (issue #24)
* core: fix detection of terminated process in function hook_process()
* core: fix detection of terminated process in function hook_process
* core: fix "/window scroll -N" on a buffer with free content
* core: fix recursive calls to function eval_expression()
* core: fix recursive calls to function eval_expression
* core: save and restore mute state in command /mute (bug #41748)
* core: fix memory leak when removing a hdata
* core: fix memory leak in evaluation of sub-conditions
* core: fix memory leak in function gui_key_add_to_infolist() (in case of insufficient memory)
* core: fix use of invalid pointer in function gui_bar_window_content_alloc() (in case of insufficient memory)
* core: fix uninitialized value in function string_decode_base64()
* core: fix memory leak in function gui_key_add_to_infolist (in case of insufficient memory)
* core: fix use of invalid pointer in function gui_bar_window_content_alloc (in case of insufficient memory)
* core: fix uninitialized value in function string_decode_base64
* core: fix memory leak and use of invalid pointer in split of string (in case of insufficient memory)
* core: fix potential NULL pointer in function gui_color_emphasize()
* core: fix potential NULL pointer in function gui_color_emphasize
* core: use same return code and message in all commands when arguments are wrong/missing
* core: allow empty arguments for command /print
* core: fix freeze/crash in GnuTLS (bug #41576)
* api: fix function string_decode_base64()
* api: fix function string_format_size() on 32-bit systems
* api: change type of arguments displayed/highlight in hook_print() callback from string to integer (in scripts)
* api: fix function string_decode_base64
* api: fix function string_format_size on 32-bit systems
* api: change type of arguments displayed/highlight in hook_print callback from string to integer (in scripts)
* alias: change default command for alias /beep to "/print -beep"
* guile: fix module used after unload of a script
* irc: fix memory leak in CTCP answer
@@ -849,13 +944,13 @@ Bug fixes::
* scripts: fix crash when a signal is received with type "int" and NULL pointer in signal_data
* xfer: fix problem with option xfer.file.auto_accept_nicks when the server name contains dots
* xfer: fix freeze/problems when sending empty files with DCC (issue #53)
* xfer: fix connection to remote host in DCC receive on Mac OS X (issue #25)
* xfer: fix connection to remote host in DCC receive on macOS (issue #25)
* xfer: remove bind on xfer.network.own_ip (issue #5)
Build::
* core: fix cmake warning CMP0007 on "make uninstall" (bug #41528)
* core: use glibtoolize on Mac OS X (autotools) (issue #22)
* core: use glibtoolize on macOS (autotools) (issue #22)
* ruby: add detection of Ruby 2.1
Tests::
@@ -883,7 +978,7 @@ New features::
* core: add support of italic text (requires ncurses >= 5.9 patch 20130831)
* core: add options to customize default text search in buffers: weechat.look.buffer_search_{case_sensitive|force_default|regex|where}
* core: add support of UTF-8 chars in horizontal/vertical separators (options weechat.look.separator_{horizontal|vertical})
* core: add support of logical and/or for argument "tags" in function hook_print()
* core: add support of logical and/or for argument "tags" in function hook_print
* core: rename buffer property "highlight_tags" to "highlight_tags_restrict", new behavior for buffer property "highlight_tags" (force highlight on tags), rename option irc.look.highlight_tags to irc.look.highlight_tags_restrict
* core: rename options save/reset to store/del in command /layout
* core: replace default key kbd:[Ctrl+c], kbd:[r] by kbd:[Ctrl+c], kbd:[v] for reverse video in messages
@@ -891,10 +986,10 @@ New features::
* core: rename option weechat.look.set_title to weechat.look.window_title, value is now a string (evaluated)
* core: set option weechat.look.paste_bracketed to "on" by default
* core: use one date format when day changes from day to day+1
* api: add function infolist_search_var()
* api: add stdin options in functions hook_process_hashtable() and hook_set() to send data on stdin of child process, add function hook_set() in script API (task #10847, task #13031)
* api: add function infolist_search_var
* api: add stdin options in functions hook_process_hashtable and hook_set to send data on stdin of child process, add function hook_set in script API (task #10847, task #13031)
* api: add hdata "buffer_visited"
* api: add support of infos with format `${info:name,arguments}` in function string_eval_expression() and command /eval
* api: add support of infos with format `${info:name,arguments}` in function string_eval_expression and command /eval
* api: add support for C++ plugins
* alias: add default alias /beep => /print -stderr \a
* irc: add server option "ssl_fingerprint" (task #12724)
@@ -915,7 +1010,7 @@ Bug fixes::
* core: fix display of read marker when all buffer lines are unread and that option weechat.look.read_marker_always_show is on
* core: fix memory leak in regex matching when evaluating expression
* core: fix crash in /eval when config option has a NULL value
* core: fix crash with hdata_update() on shared strings, add hdata type "shared_string" (bug #41104)
* core: fix crash with hdata_update on shared strings, add hdata type "shared_string" (bug #41104)
* core: fix text emphasis with wide chars on screen like Japanese (patch #8253)
* core: remove option on /unset of plugin description option (plugins.desc.xxx) (bug #40768)
* core: fix random crash when closing a buffer
@@ -926,7 +1021,7 @@ Bug fixes::
* core: fix highlight on action messages: skip the nick at beginning to prevent highlight on it (bug #40516)
* core: fix bind of keys in cursor/mouse context when key starts with "@" (remove the warning about unsafe key)
* core: fix truncated prefix when filters are toggled (bug #40204)
* api: fix read of arrays in hdata functions hdata_<type>() (bug #40354)
* api: fix read of arrays in hdata functions hdata_<type> (bug #40354)
* aspell: fix detection of nicks with non-alphanumeric chars
* guile: disable guile gmp allocator (fix crash on unload of relay plugin) (bug #40628)
* irc: clear the GnuTLS session in all cases after SSL connection error
@@ -987,11 +1082,11 @@ New features::
* core: change color format for options weechat.look.buffer_time_format and weechat.look.prefix_{action|error|join|network|quit} from `${xxx}` to `${color:xxx}`
* core: optimize the removal of lines in buffers (a lot faster to clear/close buffers with lot of lines)
* core: set options weechat.look.color_inactive_{buffer|window} to "on" by default
* api: return hashtable item pointer in functions hashtable_set() and hashtable_set_with_size()
* api: return hashtable item pointer in functions hashtable_set and hashtable_set_with_size
* api: add "callback_free_key" in hashtable
* api: add support of colors with format `${color:xxx}` in function string_eval_expression() and command /eval
* api: add argument "options" in function string_eval_expression(), add option "-c" in command /eval (to evaluate a condition)
* api: add new function strlen_screen()
* api: add support of colors with format `${color:xxx}` in function string_eval_expression and command /eval
* api: add argument "options" in function string_eval_expression, add option "-c" in command /eval (to evaluate a condition)
* api: add new function strlen_screen
* aspell: rename option aspell.look.color to aspell.color.misspelled, add option aspell.color.suggestions
* aspell: add support of enchant library (patch #6858)
* irc: add option irc.look.notice_welcome_redirect to automatically redirect channel welcome notices to the channel buffer
@@ -1016,7 +1111,7 @@ Bug fixes::
* core: fix random crash on "/buffer close" with a buffer number (or a range of buffers)
* core: fix priority of logical operators in evaluation of expression (AND takes precedence over the OR) and first evaluate sub-expressions between parentheses
* core: remove gap after read marker line when there is no bar on the right (bug #39548)
* core: use "/dev/null" for stdin in hook_process() instead of closing stdin (bug #39538)
* core: use "/dev/null" for stdin in hook_process instead of closing stdin (bug #39538)
* core: fix char displayed at the intersection of three windows (bug #39331)
* core: fix crash in evaluation of expression when reading a string in hdata with a NULL value (bug #39419)
* core: fix display bugs with some UTF-8 chars that truncates messages displayed (for example U+26C4) (bug #39201)
@@ -1059,8 +1154,8 @@ New features::
* core: add option "dirs" in command /debug
* core: add signal "window_opened" (task #12464)
* core: allow read of array in hdata without using index
* api: add new function hdata_search()
* api: add property "completion_freeze" for function buffer_set(): do not stop completion when command line is updated
* api: add new function hdata_search
* api: add property "completion_freeze" for function buffer_set: do not stop completion when command line is updated
* aspell: add completion "aspell_dicts" (list of aspell installed dictionaries)
* aspell: add info "aspell_dict" (dictionaries used on a buffer)
* aspell: optimization on spellers to improve speed (save state by buffer)
@@ -1086,15 +1181,15 @@ Bug fixes::
* core: reset scroll in window before zooming on a merged buffer (bug #38207)
* core: fix refresh of item "completion": clear it after any action that is changing content of command line and after switch of buffer (bug #38214)
* core: fix structures before buffer data when a buffer is closed
* core: fix refresh of line after changes with hdata_update() (update flag "displayed" according to filters)
* core: fix refresh of line after changes with hdata_update (update flag "displayed" according to filters)
* core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197)
* core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable
* api: do not display a warning by default when loading a script with a license different from GPL
* api: fix connection to servers with hook_connect() on OS X (bug #38496)
* api: fix bug in function string_match() when mask begins and ends with "*"
* api: allow hashtable with keys that are not strings in function hashtable_add_to_infolist()
* api: fix function string_mask_to_regex(): escape all special chars used in regex (bug #38398)
* guile: fix crash in function hdata_move()
* api: fix connection to servers with hook_connect on macOS (bug #38496)
* api: fix bug in function string_match when mask begins and ends with "*"
* api: allow hashtable with keys that are not strings in function hashtable_add_to_infolist
* api: fix function string_mask_to_regex: escape all special chars used in regex (bug #38398)
* guile: fix crash in function hdata_move
* guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), Guile >= 2.0 is now required (bug #38350)
* guile: fix crash on calls to callbacks during load of script (bug #38343)
* irc: fix name of server buffer after /server rename (set name "server.name" instead of "name")
@@ -1110,23 +1205,23 @@ Bug fixes::
* irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list)
* irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070)
* lua: remove use of functions for API constants
* lua: fix crash on stack overflow: call lua_pop() for values returned by lua functions (bug #38510)
* lua: fix crash on stack overflow: call lua_pop for values returned by lua functions (bug #38510)
* perl: simplify code to load scripts
* python: fix crash when loading scripts with Python 3.x (patch #8044)
* relay: fix uncontrolled format string in redirection of irc commands
* relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip)
* relay: fix commands sync/desync in weechat protocol (bug #38215)
* ruby: fix crash in function hdata_move()
* ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option() (bug #31050)
* ruby: fix crash in function hdata_move
* ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option (bug #31050)
* script: create "script" directory on each action, just in case it has been removed (bug #38472)
* scripts: create directories (language and language/autoload) on each action (install/remove/autoload), just in case they have been removed (bug #38473)
* scripts: do not allow empty script name in function register()
* scripts: do not allow empty script name in function register
* xfer: fix freeze of DCC file received: use non-blocking socket after connection to sender and ensure the ACK is properly sent (bug #38340)
Build::
* core: install icon file (patch #7972)
* core: fix detection of iconv with cmake on OS X (bug #38321)
* core: fix detection of iconv with cmake on macOS (bug #38321)
* guile: fix compilation with Guile 2.0
* python: fix detection of Python on Ubuntu Raring
* script: fix compilation on GNU/Hurd (patch #7977)
@@ -1143,11 +1238,11 @@ New features::
* core: add command /eval, use expression in conditions for bars
* core: add option "-quit" in command /upgrade (save session and quit without restarting WeeChat, for delayed restoration)
* core: add incomplete mouse events "event-down" and "event-drag" (task #11840)
* api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal() and hook_hsignal() (stop sending the signal immediately)
* api: allow creation of structure with hdata_update() (allowed for hdata "history")
* api: use hashtable "options" for command arguments in function hook_process_hashtable() (optional, default is a split of string with command)
* api: add new function string_eval_expression()
* api: connect with IPv6 by default in hook_connect() (with fallback to IPv4), shuffle list of hosts for a same address, add argument "retry" for hook_connect(), move "sock" from hook_connect() arguments to callback of hook_connect() (task #11205)
* api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately)
* api: allow creation of structure with hdata_update (allowed for hdata "history")
* api: use hashtable "options" for command arguments in function hook_process_hashtable (optional, default is a split of string with command)
* api: add new function string_eval_expression
* api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address, add argument "retry" for hook_connect, move "sock" from hook_connect arguments to callback of hook_connect (task #11205)
* aspell: add signal "aspell_suggest" (sent when new suggestions are displayed)
* aspell: add bar items "aspell_dict" (dictionary used on current buffer) and "aspell_suggest" (suggestions for misspelled word at cursor), add option aspell.check.suggestions (task #12061)
* irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for command "NICK"
@@ -1174,7 +1269,7 @@ Bug fixes::
* core: fix scroll to bottom of window (default key: kbd:[Alt+End]) when line displayed is bigger than chat area
* core: fix scroll in buffer after enabling/disabling some filters (if scroll is on a hidden line) (bug #37885)
* core: fix memory leak in case of error when building content of bar item for display
* core: fix detection of command in input: a single command char is considered as a command (API function string_input_for_buffer())
* core: fix detection of command in input: a single command char is considered as a command (API function string_input_for_buffer)
* core: search for a fallback template when a no template is matching command arguments
* core: fix refresh of windows after split (fix bug with horizontal separator between windows) (bug #37874)
* core: fix stuck mouse (bug #36533)
@@ -1187,11 +1282,11 @@ Bug fixes::
* core: fix display of zoomed/merged buffer (with number >= 2) after switching to it (bug #37593)
* core: fix display problem when option weechat.look.prefix_same_nick is set (problem with nick displayed in first line of screen) (bug #37556)
* core: fix wrapping of words with wide chars (the break was made before the correct position)
* api: do not call shell to execute command in hook_process() (fix security problem when a plugin/script gives untrusted command) (bug #37764)
* api: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764)
* alias: give higher priority to aliases (2000) so that they take precedence over an existing command
* aspell: ignore self and remote nicks in private buffers
* aspell: fix creation of spellers when number of dictionaries is different between two buffers
* guile: fix bad conversion of shared strings (replace calls to scm_i_string_chars() by scm_to_locale_string()) (bug #38067)
* guile: fix bad conversion of shared strings (replace calls to scm_i_string_chars by scm_to_locale_string) (bug #38067)
* irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027)
* irc: fix memory leak when updating modes of channel
* irc: fix crash on /upgrade (free channels before server data when a server is destroyed) (bug #37736)
@@ -1216,14 +1311,14 @@ Build::
* core: add git version in build, display it in "weechat-curses --help" and /version
* core: stop cmake if gcrypt lib is not found (bug #37671)
* guile: fix detection of Guile in configure
* script: fix compilation on OS X
* script: fix compilation on macOS
[[v0.3.9.2]]
== Version 0.3.9.2 (2012-11-18)
Bug fixes::
* core: do not call shell to execute command in hook_process() (fix security problem when a plugin/script gives untrusted command) (bug #37764, CVE-2012-5534)
* core: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764, CVE-2012-5534)
[[v0.3.9.1]]
== Version 0.3.9.1 (2012-11-09)
@@ -1245,15 +1340,15 @@ New features::
* core: add hdata "hotlist"
* core: add support of arrays in hdata variables
* core: add command line option "-r" (or "--run-command") to run command(s) after startup of WeeChat
* core: add function hook_set() in plugin API, add "subplugin" in hooks (set by script plugins), display subplugin in /help on commands (task #12049)
* core: add function hook_set in plugin API, add "subplugin" in hooks (set by script plugins), display subplugin in /help on commands (task #12049)
* core: add option weechat.look.jump_smart_back_to_buffer (jump back to initial buffer after reaching end of hotlist, on by default, which is old behavior)
* core: add default key kbd:[Alt+s] (toggle aspell)
* core: add callback "nickcmp" in buffers
* core: add horizontal separator between windows, new options weechat.look.window_separator_{horizontal|vertical}
* core: add options weechat.look.color_nick_offline and weechat.color.chat_nick_offline{_highlight|_highlight_bg} to use different color for offline nicks in prefix (task #11109)
* api: allow update for some variables of hdata, add new functions hdata_update() and hdata_set()
* api: add info "locale" for info_get() (locale used to translate messages)
* api: add new function util_version_number()
* api: allow update for some variables of hdata, add new functions hdata_update and hdata_set
* api: add info "locale" for info_get (locale used to translate messages)
* api: add new function util_version_number
* aspell: add option aspell.check.enabled, add options enable/disable/toggle for command /aspell (rename options enable/disable/dictlist to setdict/deldict/listdict), display aspell status with /aspell (task #11988)
* irc: generate alternate nicks dynamically when all nicks are already in use (task #12209)
* irc: add bar item "buffer_modes", remove option irc.look.item_channel_modes (task #12022)
@@ -1271,12 +1366,12 @@ New features::
Bug fixes::
* core: fix display bug when end of a line is displayed on top of chat (last line truncated and MORE(0) in status bar) (bug #37203)
* core: fix IP address returned by hook_connect() (return IP really used, not first IP for hostname)
* core: fix IP address returned by hook_connect (return IP really used, not first IP for hostname)
* core: display spaces at the end of messages in chat area (bug #37024)
* core: fix infinite loop in display when chat area has width of 1 with a bar displayed on the right (nicklist by default) (bug #37089)
* core: fix display of "bar more down" char when text is truncated by size_max in bars with vertical filling (bug #37054)
* core: fix color of long lines (displayed on more than one line on screen) under FreeBSD (bug #36999)
* core: return error string to callback of hook_connect() if getaddrinfo fails in child process
* core: return error string to callback of hook_connect if getaddrinfo fails in child process
* core: scroll to bottom of window after reaching first or last highlight with keys kbd:[Alt+p] / kbd:[Alt+n]
* core: fix refresh of bar items when switching window
* core: fix refresh of bar items "buffer_filter" and "scroll" in root bars (bug #36816)
@@ -1302,8 +1397,8 @@ Bug fixes::
* python: fix crash when unloading a script without pointer to interpreter
* relay: fix freeze when writing on relay socket (use non-blocking sockets in relay for irc and weechat protocols) (bug #36655)
* scripts: fix deletion of configuration files when script is unloaded (bug #36977)
* scripts: fix function unhook_all(): delete only callbacks of hooks and add missing call to unhook()
* scripts: ignore call to register() (with a warning) if script is already registered
* scripts: fix function unhook_all: delete only callbacks of hooks and add missing call to unhook
* scripts: ignore call to register (with a warning) if script is already registered
* xfer: fix DCC transfer error (bug #37432)
Documentation::
@@ -1327,7 +1422,7 @@ New features::
* core: add option weechat.look.prefix_same_nick (hide or change prefix on messages whose nick is the same as previous message) (task #11965)
* core: convert tabs to spaces in text pasted (bug #25028)
* core: add a connection timeout for child process in hook_connect() (bug #35966)
* core: add a connection timeout for child process in hook_connect (bug #35966)
* core: add support of terminal "bracketed paste mode", new options weechat.look.paste_bracketed and weechat.look.paste_bracketed_timer_delay (task #11316)
* core: support lines of 16 Kb long in configuration files (instead of 1 Kb)
* core: convert options weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more from boolean to string (task #11197)
@@ -1354,9 +1449,9 @@ Bug fixes::
* core: fix lost scroll when switching to a buffer with a pending search
* core: fix display of wide chars on last column of chat area (patch #7733)
* api: display warning in scripts when invalid pointers (malformed strings) are given to plugin API functions (warning displayed if debug for plugin is >= 1)
* scripts: fix type of argument "rc" in callback of hook_process() (from string to integer)
* scripts: fix type of argument "rc" in callback of hook_process (from string to integer)
* guile: fix crash on ARM when loading guile plugin (bug #36479)
* guile: add missing function hook_process_hashtable() in API
* guile: add missing function hook_process_hashtable in API
* irc: update channel modes by using chanmodes from message 005 (do not send extra command "MODE" to server), fix parsing of modes (bug #36215)
* irc: hide everything after "identify" or "register" in messages to nickserv when option irc.look.hide_nickserv_pwd is on (bug #36362)
* irc: set user modes only if target nick is self nick in message 221 (patch #7754)
@@ -1372,12 +1467,12 @@ Bug fixes::
* irc: close server buffer when server is deleted
* irc: add search for lower case nicks in option irc.look.nick_color_force
* logger: fix charset of lines displayed in backlog when terminal charset is different from UTF-8 (bug #36379)
* perl: fix crash on quit on OS X
* perl: fix crash on quit on macOS
* relay: keep spaces in beginning of "input" received from client (WeeChat protocol)
* relay: fix crash on /upgrade when client is connected using WeeChat protocol
* relay: redirect some irc messages from clients to hide output (messages: mode, ison, list, names, topic, who, whois, whowas, time, userhost) (bug #33516)
* tcl: add missing function hdata_char() in API
* tcl: fix pointer sent to function hook_signal_send() when type of data is a pointer
* tcl: add missing function hdata_char in API
* tcl: fix pointer sent to function hook_signal_send when type of data is a pointer
Documentation::
@@ -1385,7 +1480,7 @@ Documentation::
Build::
* perl: fix compilation on OS X (bug #30701)
* perl: fix compilation on macOS (bug #30701)
[[v0.3.7]]
== Version 0.3.7 (2012-02-26)
@@ -1404,8 +1499,8 @@ New features::
* core: add optional arguments for command /plugin load/reload/autoload
* core: use extended regex in filters (task #9497, patch #7616)
* api: add modifier "input_text_for_buffer" (bug #35317)
* api: add support of URL in hook_process() / hook_process_hashtable() (task #10247)
* api: add new functions strcasecmp_range(), strncasecmp_range(), string_regex_flags(), string_regcomp(), hashtable_map_string(), hook_process_hashtable(), hdata_check_pointer(), hdata_char(), hdata_hashtable() and nicklist_get_next_item()
* api: add support of URL in hook_process / hook_process_hashtable (task #10247)
* api: add new functions strcasecmp_range, strncasecmp_range, string_regex_flags, string_regcomp, hashtable_map_string, hook_process_hashtable, hdata_check_pointer, hdata_char, hdata_hashtable and nicklist_get_next_item
* alias: add default alias /umode => /mode $nick
* irc: add option "capabilities" in servers to enable client capabilities on connection
* irc: add signal "irc_server_opened"
@@ -1429,9 +1524,9 @@ Internationalization::
Bug fixes::
* core: fix expand of path `~` to home of user in function string_expand_home() (`~/xxx` was OK, but not `~`)
* core: fix expand of path `~` to home of user in function string_expand_home (`~/xxx` was OK, but not `~`)
* core: fix memory leak when closing buffer
* core: fix memory leak in function util_search_full_lib_name()
* core: fix memory leak in function util_search_full_lib_name
* core: automatically add newline char after last pasted line (when pasting many lines with confirmation) (task #10703)
* core: fix bug with layout: assign layout number in buffers when doing /layout save
* core: do not auto add space after nick completer if option weechat.completion.nick_add_space is off
@@ -1441,7 +1536,7 @@ Bug fixes::
* core: apply filters after full reload of configuration files (with /reload) (bug #31182)
* core: allow list for option weechat.plugin.extension (makes weechat.conf portable across Un*x and Windows) (task #11479)
* core: display error in command /buffer if arguments are wrong (bug #34180)
* core: fix help on plugin option when config_set_desc_plugin() is called to set help on newly created option
* core: fix help on plugin option when config_set_desc_plugin is called to set help on newly created option
* core: enable background process under Cygwin to connect to servers, fix reconnection problem (bug #34626)
* aspell: fix URL detection (do not check spelling of URLs) (bug #34040)
* irc: fix memory leak in SASL/blowfish authentication
@@ -1469,14 +1564,14 @@ Build::
* core: add library "pthread" in cmake file for link on OpenBSD
* core: add WEECHAT_HOME option in cmake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
* core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727)
* core: fix compilation error with "pid_t" on Mac OS X (bug #34639)
* core: fix compilation error with "pid_t" on macOS (bug #34639)
[[v0.3.6]]
== Version 0.3.6 (2011-10-22)
New features::
* core: add color attribute "|" (keep attributes) and value "resetcolor" for function color() in plugin API (used by irc plugin to keep bold/reverse/underlined in message when changing color) (bug #34550)
* core: add color attribute "|" (keep attributes) and value "resetcolor" for function color in plugin API (used by irc plugin to keep bold/reverse/underlined in message when changing color) (bug #34550)
* core: add new option weechat.look.color_basic_force_bold, off by default: bold is used only if terminal has less than 16 colors (patch #7621)
* core: add default key kbd:[F5] (`meta2-[E`) for Linux console
* core: add "inactive" colors for inactive windows and lines in merged buffers, new options: weechat.look.color_inactive_window, weechat.look.color_inactive_buffer, weechat.look.color_inactive_message, weechat.look.color_inactive_prefix, weechat.look.color_inactive_prefix_buffer, weechat.look.color_inactive_time, weechat.color.chat_inactive_line, weechat.color.chat_inactive_window, weechat.color.chat_prefix_buffer_inactive_line
@@ -1503,7 +1598,7 @@ New features::
* core: add horizontal scrolling for buffers with free content (command /window scroll_horiz) (task #11112)
* core: change default value of option weechat.network.gnutls_ca_file to "/etc/ssl/certs/ca-certificates.crt"
* api: add info "cursor_mode"
* api: add new functions key_bind(), key_unbind(), hook_focus(), hdata_new(), hdata_new_var(), hdata_new_list(), hdata_get(), hdata_get_var_offset(), hdata_get_var_type(), hdata_get_var_type_string(), hdata_get_var_hdata(), hdata_get_var(), hdata_get_var_at_offset(), hdata_get_list(), hdata_move(), hdata_integer(), hdata_string(), hdata_pointer(), hdata_time(), hdata_get_string()
* api: add new functions key_bind, key_unbind, hook_focus, hdata_new, hdata_new_var, hdata_new_list, hdata_get, hdata_get_var_offset, hdata_get_var_type, hdata_get_var_type_string, hdata_get_var_hdata, hdata_get_var, hdata_get_var_at_offset, hdata_get_list, hdata_move, hdata_integer, hdata_string, hdata_pointer, hdata_time, hdata_get_string
* irc: allow reason for command /disconnect
* irc: allow server name for commands /die and /restart
* irc: add new info_hashtable "irc_message_split"
@@ -1513,15 +1608,15 @@ New features::
Bug fixes::
* core: fix freeze when calling function util_file_get_content() with a directory instead of a filename
* core: display timeout for hook_process() command only if debug for core is enabled (task #11401)
* core: fix freeze when calling function util_file_get_content with a directory instead of a filename
* core: display timeout for hook_process command only if debug for core is enabled (task #11401)
* core: bufferize lines displayed before core buffer is created, to display them in buffer when it is created
* core: fix display of background color in chat area after line feed
* core: fix paste detection (problem with end of lines)
* core: fix display of paste multi-line prompt with a root input bar (bug #34305)
* core: replace deprecated GnuTLS function gnutls_certificate_client_set_retrieve_function() by new function gnutls_certificate_set_retrieve_function() (GnuTLS >= 2.11.0)
* core: use dynamic buffer size for calls to vsnprintf()
* core: fix memory leak in unhook of hook_connect()
* core: replace deprecated GnuTLS function gnutls_certificate_client_set_retrieve_function by new function gnutls_certificate_set_retrieve_function (GnuTLS >= 2.11.0)
* core: use dynamic buffer size for calls to vsnprintf
* core: fix memory leak in unhook of hook_connect
* core: fix memory leak in display of empty bar items
* core: fix input of wide UTF-8 chars under Cygwin (bug #34061)
* core: fix bugs with automatic layout (bug #26110), add support of merged buffers in layout (task #10893)
@@ -1533,10 +1628,10 @@ Bug fixes::
* core: fix bugs with bar windows: do not create bar windows for hidden bars
* core: fix completion bug when two words for completion are equal but with different case
* core: fix completion for command arguments when same command exists in many plugins (bug #33753)
* core: fix freeze when hook_fd() is called with a bad file/socket (bug #33619)
* core: fix freeze when hook_fd is called with a bad file/socket (bug #33619)
* core: fix bug with option weechat.look.hotlist_count_max (value+1 was used)
* api: use arguments for infolist "window" to return only one window by number
* api: fix bug with function config_set_desc_plugin() (use immediately description for option when function is called)
* api: fix bug with function config_set_desc_plugin (use immediately description for option when function is called)
* scripts: fix crash with scripts not auto-loaded having a buffer opened after /upgrade (input/close callbacks for buffer not set properly)
* irc: fix display of items "away" and "lag" in root bars, refresh all irc bar items on signal "buffer_switch" (bug #34466)
* irc: fix crash on malformed irc notice received (without message after target)
@@ -1557,11 +1652,11 @@ Bug fixes::
* relay: fix bug with self nick when someone changes its nick on channel (bug #33739)
* relay: fix memory leak (free some parsed messages) (bug #33387)
* relay: fix memory leak on plugin load (free raw messages)
* perl: replace calls to SvPV() by SvPV_nolen() (patch #7436)
* perl: replace calls to SvPV by SvPV_nolen (patch #7436)
Build::
* core: fix compilation error (INSTALLPREFIX undeclared) on OS X and when compiling with included gettext (bug #26690)
* core: fix compilation error (INSTALLPREFIX undeclared) on macOS and when compiling with included gettext (bug #26690)
[[v0.3.5]]
== Version 0.3.5 (2011-05-15)
@@ -1589,8 +1684,8 @@ New features::
* core: remember scroll position for all buffers in windows (bug #25555)
* core: improve display of commands lists in /help (add arguments -list and -listfull) (task #10299)
* core: improve arguments displayed in /help of commands
* api: add new function config_set_desc_plugin() (task #10925)
* api: add new functions buffer_match_list() and window_search_with_buffer()
* api: add new function config_set_desc_plugin (task #10925)
* api: add new functions buffer_match_list and window_search_with_buffer
* aspell: add section "option" in aspell.conf for speller options (task #11083)
* irc: add new options irc.color.topic_old and irc.color.topic_new
* irc: add option "ssl_priorities" in servers (task #10106, debian #624055)
@@ -1648,7 +1743,7 @@ New features::
* core: add 256 colors support, new command /color, new section "palette" in weechat.conf (task #6834)
* core: add info "weechat_upgrading", signal "upgrade_ended", display duration of upgrade
* core: add new option weechat.look.highlight_regex and function string_has_highlight_regex() in plugin API (task #10321)
* core: add new option weechat.look.highlight_regex and function string_has_highlight_regex in plugin API (task #10321)
* core: add new option weechat.look.hotlist_unique_numbers (task #10691)
* core: add property "hotlist_max_level_nicks" in buffers to set max hotlist level for some nicks in buffer
* core: add new options weechat.look.input_share and weechat.look.input_share_overwrite (task #9228)
@@ -1656,7 +1751,7 @@ New features::
* core: replace the 10 nick color options and number of nick colors by a single option weechat.color.chat_nick_colors (comma separated list of colors)
* core: add color support in option weechat.look.buffer_time_format
* api: add priority for hooks (task #10550)
* api: add new functions: list_search_pos(), list_casesearch_pos(), hashtable_get_string(), hashtable_set_pointer(), hook_info_hashtable(), info_get_hashtable(), hook_hsignal(), hook_hsignal_send(), hook_completion_get_string(), nicklist_group_get_integer(), nicklist_group_get_string(), nicklist_group_get_pointer(), nicklist_group_set(), nicklist_nick_get_integer(), nicklist_nick_get_string(), nicklist_nick_get_pointer(), nicklist_nick_set()
* api: add new functions: list_search_pos, list_casesearch_pos, hashtable_get_string, hashtable_set_pointer, hook_info_hashtable, info_get_hashtable, hook_hsignal, hook_hsignal_send, hook_completion_get_string, nicklist_group_get_integer, nicklist_group_get_string, nicklist_group_get_pointer, nicklist_group_set, nicklist_nick_get_integer, nicklist_nick_get_string, nicklist_nick_get_pointer, nicklist_nick_set
* irc: add option "-server" in command /join (task #10837)
* irc: add option "-switch" in commands /connect and /reconnect
* irc: add command /notify, new options irc.look.notify_tags_ison, irc.look.notify_tags_whois, irc.network.notify_check_ison, irc.network.notify_check_whois, new option "notify" in servers, new infolist "irc_notify" (task #5441)
@@ -1677,9 +1772,9 @@ New features::
Bug fixes::
* core: fix scroll problem on buffers with free content and non-allocated lines (bug #32039)
* core: call to function hook_config() when config option is created
* core: call to function hook_config when config option is created
* core: fix infinite loop on GnuTLS handshake when connecting with SSL to server on wrong port or server with SSL problems (bug #27487)
* core: fix data sent to callback of hook_process() (some data was sometimes missing), use a 64KB buffer for child output and send data to callback only when buffer is full
* core: fix data sent to callback of hook_process (some data was sometimes missing), use a 64KB buffer for child output and send data to callback only when buffer is full
* core: fix crash when displaying groups in buffer nicklist
* core: fix bug with message "day changed to", sometimes displayed several times wrongly
* core: fix default value of bar items options (bug #31422)
@@ -1698,7 +1793,7 @@ Bug fixes::
* irc: switch to next server address when IRC error is received after TCP connection but before message 001 (bug #30884)
* irc: fix bug with hostmasks in command /ignore (bug #30716)
* relay: split of messages sent to clients of irc proxy
* scripts: add missing function infolist_reset_item_cursor() in API (bug #31057)
* scripts: add missing function infolist_reset_item_cursor in API (bug #31057)
* lua: fix crash when unloading script
* xfer: fix dcc chat buffer name (use irc server in name) (bug #29925)
* xfer: fix dcc file transfer for large files (more than 4 GB) on 32-bit systems (bug #31531)
@@ -1720,7 +1815,7 @@ New features::
* core: add new option weechat.look.confirm_quit
* core: add new option weechat.color.status_name_ssl (task #10339)
* core: add hashtables with new functions in plugin API
* api: add function string_expand_home(), fix bug with replacement of home in paths
* api: add function string_expand_home, fix bug with replacement of home in paths
* irc: add new option irc.look.nick_color_stop_chars
* irc: add new options irc.look.display_host_join/join_local/quit and irc.color.reason_quit
* irc: add command /wallchops, fix bug with display of notice for ops (task #10021, bug #29932)
@@ -1735,15 +1830,15 @@ New features::
Bug fixes::
* core: fix bug with scroll_unread: do not scroll to a filtered line (bug #29991)
* core: fix crash with hook_process() (when timer is called on a deleted hook process)
* core: fix crash with hook_process (when timer is called on a deleted hook process)
* core: fix display bug with special chars (ascii value below 32) (bug #30602)
* core: fix display bug with attributes like underlined in bars (bug #29889)
* api: fix bug with replacement char in function string_remove_color() (bug #30296)
* api: fix bug with replacement char in function string_remove_color (bug #30296)
* irc: fix bug in parser when no argument is received after command, no callback was called, and message was silently ignored (bug #30640)
* irc: fix import of certificates created by OpenSSL >= 1.0.0 (bug #30316)
* irc: fix display of local SSL certificate when it is sent to server (patch #7218)
* irc: use empty real name by default in config, instead of reading real name in /etc/passwd (bug #30111)
* irc: fix bug with command-line option "irc://" (bug #29990), new format for port and channels
* irc: fix bug with command line option "irc://" (bug #29990), new format for port and channels
* irc: fix display of messages 330 and 333 on some servers
* irc: fix bug with nick prefix "*" (chan founder) on some IRC servers (bug #29890)
* irc: fix bug with option irc.network.lag_check when value is 0 (zero)
@@ -1762,14 +1857,14 @@ New features::
* core: add command line option "-s" (or "--no-script") to start WeeChat without loading any script
* core: improve plugins autoload (option weechat.plugin.autoload): allow to use "*" as wildcard and "!" to prevent a plugin from being autoloaded (task #6361)
* core: add option "switch_active_buffer_previous" in command /input (task #10141)
* core: add new option weechat.look.time_format to customize default format for date/time displayed (localized date by default), add function util_get_time_string() in plugin API (patch #6914)
* core: add new option weechat.look.command_chars, add functions string_is_command_char() and string_input_for_buffer() in plugin and script API
* core: add new option weechat.look.time_format to customize default format for date/time displayed (localized date by default), add function util_get_time_string in plugin API (patch #6914)
* core: add new option weechat.look.command_chars, add functions string_is_command_char and string_input_for_buffer in plugin and script API
* core: add new option weechat.look.read_marker_always_show
* api: add "version_number" for function info_get() to get WeeChat version as number
* api: add "irc_is_nick" for function info_get() to check if a string is a valid IRC nick name (patch #7133)
* api: add functions string_encode_base64() and string_decode_base64(), fix bug with base64 encoding
* api: add functions string_match(), string_has_highlight() and string_mask_to_regex() in script plugin API
* api: add description of arguments for functions hook_info() and hook_infolist()
* api: add "version_number" for function info_get to get WeeChat version as number
* api: add "irc_is_nick" for function info_get to check if a string is a valid IRC nick name (patch #7133)
* api: add functions string_encode_base64 and string_decode_base64, fix bug with base64 encoding
* api: add functions string_match, string_has_highlight and string_mask_to_regex in script plugin API
* api: add description of arguments for functions hook_info and hook_infolist
* api: add signals "day_changed", "nicklist_group_added/removed", "nicklist_nick_added/removed"
* alias: add custom completion for aliases (task #9479)
* scripts: allow script commands to reload only one script
@@ -1795,10 +1890,10 @@ Bug fixes::
* gui: fix bug with global history, reset pointer to last entry after each user input (bug #28754)
* gui: fix bug with bar background after text with background color (bug #28157)
* gui: fix bug with cursor when position is last char of terminal
* api: add missing infos in functions buffer_get_{integer|string}() and in buffer infolist
* api: fix function color() in Lua script API
* api: add missing infos in functions buffer_get_{integer|string} and in buffer infolist
* api: fix function color in Lua script API
* api: fix "inactivity" value when no key has been pressed since WeeChat started (bug #28930)
* api: return absolute path for info_get() of "weechat_dir" (bug #27936)
* api: return absolute path for info_get of "weechat_dir" (bug #27936)
* scripts: fix bug with callbacks when loading a script already loaded
* perl: fix crash when multiplicity is disabled
* perl: fix crash when callbacks are called during script initialization (bug #29018)
@@ -1861,12 +1956,12 @@ New features::
Bug fixes::
* core: fix bug with script installation on BSD/OSX (patch #6980)
* core: fix bug with script installation on BSD/macOS (patch #6980)
* core: fix compilation under Cygwin (patch #6916)
* core: fix plural form in translation files (bug #27430)
* core: fix terminal title bug: do not reset it when option weechat.look.set_title is off (bug #27399)
* core: fix buffer used by some input functions called via plugin API with buffer pointer (bug #28152)
* alias: fix bug with buffer for execution of alias, when called from plugin API with function command() (bug #27697)
* alias: fix bug with buffer for execution of alias, when called from plugin API with function command (bug #27697)
* alias: fix bug with arguments (bug #27440)
* irc: improve error management on socket error (recv/send)
* irc: fix nick color for nicks with wide chars (bug #28547)
@@ -1881,7 +1976,7 @@ Bug fixes::
* gui: fix alignment problem for buffer name when a merged buffer is closed (bug #27617)
* gui: update hotlist when a buffer is closed (bug #27470), remove buffer from hotlist when buffer is cleared (bug #27530)
* gui: fix /input history_global_next: reset input content when last command in history is reached
* api: fix function bar_set() for python/lua/ruby (patch #6912)
* api: fix function bar_set for python/lua/ruby (patch #6912)
Build::
@@ -1903,7 +1998,7 @@ New features::
* core: remove key functions, replaced by /input command
* core: add argument with buffer number/range for command "/buffer close" (task #9390, task #7239)
* core: add new command /wait (schedule a command execution in future)
* core: improve main loop: higher timeout in select(), less CPU usage
* core: improve main loop: higher timeout in select, less CPU usage
* gui: new display engine, with prefix and message for each line
* gui: add new type of buffer, with free content
* gui: add tags for lines and custom filtering by tags or regex (task #7674)
@@ -2004,7 +2099,7 @@ Bug fixes::
* fix display bug with some special chars in messages (some words were truncated on screen) (bug #20944)
* fix UTF-8 bug with color encoding/decoding
* fix crash when searching text in buffer with kbd:[Ctrl+r] (bug #20938)
* fix bug with flock() when home is on NFS filesystem (bug #20913)
* fix bug with flock when home is on NFS filesystem (bug #20913)
* fix user modes in nicklist when ban and nick mode are received in the same MODE message (bug #20870)
* fix IRC message 333: silently ignore message if error when parsing it
* fix server option "command_delay": does not freeze WeeChat any more
@@ -2129,7 +2224,7 @@ New features::
* add filename completion (task #5425)
* add "modifier" in plugins API
* improve /plugin command
* add date in plugin function get_buffer_data()
* add date in plugin function get_buffer_data
* add more values for config boolean values: y/true/t/1 and n/false/f/0
Bug fixes::
@@ -2139,7 +2234,7 @@ Bug fixes::
* fix refresh bug with private buffer title
* fix bug with nick completion in command arguments (now uses option look_nick_completion_ignore)
* fix display bug with color for first line on screen (bug #17719)
* fix bug with set_config() function in plugins API (bug #18448)
* fix bug with set_config function in plugins API (bug #18448)
* fix memory leak in keyboard input
* fix refresh bug when changing config options if window is split
* add space between chat and nicklist when position is "right" (bug #17852)
@@ -2183,7 +2278,7 @@ Bug fixes::
* fix buffer search by server/channel: now if only channel is specified, a channel of another server can be found
* fix highlight for DCC, invite and notice: when a window is displaying buffer, there's no highlight
* fix bug with CTCP VERSION sent on channels (bug #17547)
* fix bugs in get_buffer_data() which breaks the retrieval of buffer content (perl, lua)
* fix bugs in get_buffer_data which breaks the retrieval of buffer content (perl, lua)
* fix nicklist display bug when top/bottom (not enough lines) (bug #17537)
* fix bug with auto-rejoin of keyed channels (bug #17534)
* add default nick completion when line starts with "//" (bug #17535)
@@ -2234,7 +2329,7 @@ Bug fixes::
* fix crashes with DCC chat remove/purge on DCC view (bug #16775)
* fix bug with connection to bnc (bug #16760)
* command /save now writes plugins options (~/.weechat/plugins.rc)
* fix crash with register() function in plugin scripts (bug #16701)
* fix crash with register function in plugin scripts (bug #16701)
* fix random crash at exit (/quit or /upgrade) with split windows
Documentation::
@@ -2313,13 +2408,13 @@ New features::
* add keys kbd:[Alt+Home] / kbd:[Alt+End] to scroll top/bottom, kbd:[Alt+F11] / kbd:[Alt+F12] to scroll nicklist top/bottom
* add special names for plugin message handlers: weechat_pv, weechat_highlight, weechat_ctcp, weechat_dcc
* add IRC raw data buffer (new key: kbd:[Alt+j], kbd:[Alt+r])
* add new plugins functions: add_timer_handler(), remove_timer_handler(), remove_infobar()
* add new plugins functions: add_timer_handler, remove_timer_handler, remove_infobar
* plugin messages handlers now called when message is ignored (by /ignore)
* new behavior for messages ignored by a message handler: now WeeChat executes standard handler, treating message as "ignored"
* many commands allowed for aliases
* many commands allowed when connecting to server
* add Lua script plugin
* add functions in plugins API: get_server_info(), free_server_info(), get_channel_info(), free_channel_info(), get_nick_info(), free_nick_info()
* add functions in plugins API: get_server_info, free_server_info, get_channel_info, free_channel_info, get_nick_info, free_nick_info
* add option "look_nick_complete_first" (patch from Gwenn)
* add option "look_open_near_server" (patch from Gwenn)
* add new scroll keys for a few lines up/down (default: kbd:[Alt+PgUp] / kbd:[Alt+PgDn]) (patch from Pistos)
@@ -2344,7 +2439,7 @@ Bug fixes::
* fix crash when using global history (when older entry is removed)
* fix display bug with /kill command
* fix bug with /upgrade and servers buffer
* fix bug with get_dcc_info() plugin interface function
* fix bug with get_dcc_info plugin interface function
* fix bug with charset in infobar highlights
* fix bug with buffer detection in plugins/scripts commands
* fix bug with /history command
@@ -2479,7 +2574,7 @@ Bug fixes::
* errors while loading perl scripts are now displayed in server buffer (instead of current buffer)
* in python scripts, all messages written in stdin and stderr are redirected in server buffer
* fix a filename error while loading a python script manually
* fix plugins print() and prnt() functions: now OK for writing on server buffers
* fix plugins print and prnt functions: now OK for writing on server buffers
* fix color problem with new libcurses version
* fix crash when using kbd:[Alt+s] or kbd:[Alt+x] on DCC buffer (kbd:[Alt+d])
* fix startup crash when config file (~/.weechat/weechat.rc) is not found
@@ -2508,7 +2603,7 @@ Bug fixes::
Build::
* WeeChat now OK under *BSD and Mac OS X
* WeeChat now OK under *BSD and macOS
[[v0.1.1]]
== Version 0.1.1 (2005-03-20)
@@ -2599,8 +2694,8 @@ New features::
* logging buffers to disk (server/channel/private according to user preferences)
* add config option "look_display_away" to announce away in channels
* DCC file receive OK (kbd:[Alt+d] for DCC view)
* add key for redrawing terminal (kbd:[Ctrl+l])
* add key for clearing hotlist (kbd:[Alt+r])
* add key kbd:[Ctrl+l] (`L`) for redrawing terminal
* add key kbd:[Alt+r] for clearing hotlist
Bug fixes::
+1 -1
View File
@@ -65,7 +65,7 @@ instead.
== Translations
Pull requests on GitHub for fixes or new translations are welcome at any
time, for https://github.com/weechat/weechat[WeeChat] and the web site
time, for https://github.com/weechat/weechat[WeeChat] and the website
https://github.com/weechat/weechat.org[weechat.org].
To start a translation in a new language (not yet supported), please look at
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# This target will update file config-git.h with output of command "git describe"
+19 -16
View File
@@ -1,18 +1,21 @@
= WeeChat
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
pass:[<p align="center">] image:https://weechat.org/media/images/weechat_logo_large.png[align="center"] pass:[</p>]
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
image:https://img.shields.io/badge/google%2B-follow-blue.svg["Google+", link="https://plus.google.com/+WeeChat"]
image:https://img.shields.io/badge/mastodon-follow-blue.svg["Mastodon", link="https://hostux.social/@weechat"]
image:https://img.shields.io/badge/twitter-follow-blue.svg["Twitter", link="https://twitter.com/WeeChatClient"]
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="https://weechat.org/blog/"]
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="http://www.slant.co/topics/1323/~irc-clients-for-linux"]
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="https://www.slant.co/topics/1323/~best-irc-clients-for-linux"]
image:https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg["Donate", link="https://weechat.org/donate/"]
image:https://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", link="https://travis-ci.org/weechat/weechat"]
image:https://codecov.io/gh/weechat/weechat/branch/master/graph/badge.svg["Code coverage", link="https://codecov.io/gh/weechat/weechat"]
WeeChat (Wee Enhanced Environment for Chat) is a free chat client, fast and
*WeeChat* (Wee Enhanced Environment for Chat) is a free chat client, fast and
light, designed for many operating systems.
It is highly customizable and extensible with scripts.
@@ -20,19 +23,19 @@ Homepage: https://weechat.org/
== Features
* *Modular chat client*: WeeChat has a lightweight core and optional plugins. All plugins (including IRC) are independent and can be unloaded.
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Mac OS X and Windows (Bash/Ubuntu and Cygwin).
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/files/doc/stable/weechat_user.en.html#plugins[plugins]. All plugins (including https://weechat.org/files/doc/stable/weechat_user.en.html#irc_plugin[IRC]) are independent and can be unloaded.
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
* *Standards-compliant*: the IRC plugin is compliant with RFCs 1459, 2810, 2811, 2812 and 2813.
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://tools.ietf.org/html/rfc1459[1459], https://tools.ietf.org/html/rfc2810[2810], https://tools.ietf.org/html/rfc2811[2811], https://tools.ietf.org/html/rfc2812[2812] and https://tools.ietf.org/html/rfc2813[2813].
* *Small, fast and very light*: the core is and should stay as light and fast as possible.
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and scripts (Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP).
* *Fully documented*: there is comprehensive documentation, which is translated into several languages.
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/stable/language/perl/[Perl], https://weechat.org/scripts/stable/language/python/[Python], https://weechat.org/scripts/stable/language/ruby[Ruby], https://weechat.org/scripts/stable/language/lua/[Lua], https://weechat.org/scripts/stable/language/tcl/[Tcl], https://weechat.org/scripts/stable/language/guile/[Scheme], https://weechat.org/scripts/stable/language/javascript/[JavaScript] and https://weechat.org/scripts/stable/language/php/[PHP]).
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/files/doc/stable/weechat_dev.en.html#translations[translated] into several languages.
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
* *Free software*: WeeChat is released under GPLv3.
* *Free software*: WeeChat is released under https://www.gnu.org/licenses/gpl-3.0.html[GPLv3].
image::https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"]
pass:[<p align="center">] image:https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"] pass:[</p>]
Other screenshots are on https://weechat.org/about/screenshots/[this page].
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
== Install
@@ -50,7 +53,7 @@ Following packages are optional:
* for i18n: gettext
* for SSL: gnutls, ca-certificates
* for spell checking: aspell
* for spell checking: aspell or enchant
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript), php
* for building doc and man page: asciidoctor
* for building tests: C++ compiler, CppUTest
@@ -60,7 +63,7 @@ https://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's gui
=== Compile
WeeChat can be built with http://cmake.org/[CMake] (recommended) or autotools.
WeeChat can be built with https://cmake.org/[CMake] (recommended) or autotools.
[NOTE]
Only CMake is officially supported to build WeeChat. You should only use
@@ -111,7 +114,7 @@ $ ctest -V
== Copyright
Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
@@ -126,4 +129,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
+148 -40
View File
@@ -17,6 +17,118 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file _ChangeLog.adoc_ in sources).
[[v2.5]]
== Version 2.5 (2019-06-06)
[[v2.5_aspell_plugin_renamed]]
=== Aspell plugin renamed to Spell
The "aspell" plugin has been renamed to "spell", a more generic term, because
it supports aspell and also enchant.
Consequently, the following things have been renamed as well:
* file _aspell.conf_ renamed to _spell.conf_; the content of the
file has not changed, so you can just rename the file to keep your changes
* options _aspell.*_ renamed to _spell.*_
* command `/aspell` renamed to `/spell`
* default key kbd:[Alt+s] changed to `/mute spell toggle`
* bar item _aspell_dict_ renamed to _spell_dict_
* bar item _aspell_suggest_ renamed to _spell_suggest_
* info _aspell_dict_ renamed to _spell_dict_
If you are upgrading from a previous release, you can copy the config file
before doing `/upgrade`, in WeeChat:
----
/save aspell
/exec -sh cp ~/.weechat/aspell.conf ~/.weechat/spell.conf
/upgrade
----
If you already upgraded WeeChat:
----
/exec -sh cp ~/.weechat/aspell.conf ~/.weechat/spell.conf
/reload spell
----
Once configuration is OK, you can delete the file _~/.weechat/aspell.conf_.
Then you can search if you are using "aspell" in values of options:
----
/fset =aspell
----
If there are options displayed, replace "aspell" by "spell" in values.
The default key kbd:[Alt+s] can be changed to the new `/spell` command:
----
/key bind meta-s /mute spell toggle
----
[[v2.5_xfer_option_speed_limit]]
=== Speed limit option for DCC files
The option _xfer.network.speed_limit_ has been renamed to
_xfer.network.speed_limit_send_.
If you changed the value of this option, you must set it again after upgrade.
A new option _xfer.network.speed_limit_recv_ has been added to limit the
speed of received files.
[[v2.5_hook_info_allocated_string]]
=== Allocated string in hook info and function info_get
The hook info callback now returns an allocated string, which must be freed
after use (in previous versions, a pointer to a static string was returned).
Consequently, the function info_get returns an allocated string, which must
be freed after use.
This affects only C code, no changes are required in scripts.
[[v2.4]]
== Version 2.4 (2019-02-17)
[[v2.4_nick_completer]]
=== Nick completer
A space is not added automatically any more when you complete a nick at the
beginning of command line. +
Purpose of this change is to be more flexible: you can choose whether the space
is added or not (it was always added in previous releases).
The default value of option `weechat.completion.nick_completer` has been changed
to add the space by default, but the value of option is not changed automatically
on upgrade.
So you can run this command if you upgraded from an old version
and want the space still added automatically:
----
/set weechat.completion.nick_completer ": "
----
[[v2.4_api_base64_functions]]
=== Base64 API functions
The functions to encode/decode base64 strings have been renamed and now support
base 16, 32, and 64.
New functions in C API, supporting base 16, 32, and 64:
* string_base_encode
* string_base_decode
Functions removed from C API:
* string_encode_base64
* string_decode_base64
[[v2.3]]
== Version 2.3 (2018-10-21)
@@ -111,6 +223,26 @@ In version 2.1, this binary was in the package _weechat-curses_.
[[v2.1]]
== Version 2.1 (2018-03-18)
[[v2.1_option_name_completion]]
=== Completion for /set and /help commands
A new option weechat.completion.partial_completion_templates has been added to
force partial completion on some templates. By default, the option name
completed in `/set` and `/help` commands are now using partial completion.
If you prefer old behavior, you can remove the templates from the new option
with this command:
----
/set weechat.completion.partial_completion_templates ""
----
For more information about this feature, you can read help with:
----
/help weechat.completion.partial_completion_templates
----
[[v2.1_script_plugin_check_license]]
=== Option to check license of scripts loaded
@@ -132,26 +264,6 @@ List of options moved:
* _plugins.var.javascript.check_license_ (string) moved to _javascript.look.check_license_ (boolean)
* _plugins.var.php.check_license_ (string) moved to _php.look.check_license_ (boolean)
[[v2.1_option_name_completion]]
=== Completion for /set and /help commands
A new option weechat.completion.partial_completion_templates has been added to
force partial completion on some templates. By default, the option name
completed in `/set` and `/help` commands are now using partial completion.
If you prefer old behavior, you can remove the templates from the new option
with this command:
----
/set weechat.completion.partial_completion_templates ""
----
For more information about this feature, you can read help with:
----
/help weechat.completion.partial_completion_templates
----
[[v2.0.1]]
== Version 2.0.1 (2017-12-20)
@@ -259,20 +371,6 @@ No release note.
[[v1.8]]
== Version 1.8 (2017-05-13)
[[v1.8_options]]
=== Options
The option _script.scripts.url_force_https_ has been removed because now the
site weechat.org can only be used with HTTPS. +
Both HTTP and HTTPS protocols are allowed in the option _script.scripts.url_.
For http://weechat.org/ an automatic redirection to https://weechat.org/ will
occur, so you should check that the CA certificates are properly installed
on your machine.
Aspell option with color for suggestion on a misspelled word has been renamed:
* _aspell.color.suggestions_ has been renamed to _aspell.color.suggestion_
[[v1.8_buflist_plugin]]
=== Buflist plugin
@@ -304,6 +402,20 @@ prevent the plugin from loading on next startup:
/set weechat.plugin.autoload "*,!buflist"
----
[[v1.8_options]]
=== Options
The option _script.scripts.url_force_https_ has been removed because now the
site weechat.org can only be used with HTTPS. +
Both HTTP and HTTPS protocols are allowed in the option _script.scripts.url_.
For http://weechat.org/ an automatic redirection to https://weechat.org/ will
occur, so you should check that the CA certificates are properly installed
on your machine.
Aspell option with color for suggestion on a misspelled word has been renamed:
* _aspell.color.suggestions_ has been renamed to _aspell.color.suggestion_
[[v1.7.1]]
== Version 1.7.1 (2017-04-22)
@@ -709,7 +821,7 @@ behavior (never hide arguments, even with a channel key), you can do:
=== Jump to first/last buffer
The command `/input jump_last_buffer` has been replaced by `/buffer +`.
You can rebind the key kbd:[Alt+j], kbd:[Alt+l]:
You can rebind the key kbd:[Alt+j], kbd:[Alt+l] (`L`):
----
/key bind meta-jmeta-l /buffer +
@@ -766,7 +878,7 @@ obsolete plugins).
=== Bare display
A bare display mode has been added (for easy text selection and click on URLs),
the new default key is kbd:[Alt+l].
the new default key is kbd:[Alt+l] (`L`).
Use command `/key missing` to add the key or `/key listdiff` to see differences
between your current keys and WeeChat default keys.
@@ -1489,10 +1601,6 @@ Major differences:
accordingly, scripts and plugins must have been designed for version 0.3.x to
be loaded into WeeChat.
More information about new API is available on wiki:
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
[[v0.2.6.3]]
== Version 0.2.6.3 (2009-06-13)
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -17,7 +17,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
###
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Asciidoctor
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Aspell
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2014-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2014-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find CppUTest
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Gcrypt
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Gettext
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find GnuTLS
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Guile
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Iconv
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Lua
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
if(NCURSES_FOUND)
+1 -1
View File
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
if(PHP_FOUND)
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Perl libraries
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Python
+4 -4
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Ruby
@@ -33,7 +33,7 @@ endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(RUBY ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
pkg_search_module(RUBY ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
endif()
if(RUBY_FOUND)
@@ -41,7 +41,7 @@ if(RUBY_FOUND)
mark_as_advanced(RUBY_LIB)
else()
find_program(RUBY_EXECUTABLE
NAMES ruby2.5.0 ruby250 ruby2.5 ruby2.4.0 ruby240 ruby2.4 ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
NAMES ruby2.6.0 ruby260 ruby2.6 ruby2.5.0 ruby250 ruby2.5 ruby2.4.0 ruby240 ruby2.4 ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
if(RUBY_EXECUTABLE)
+2 -2
View File
@@ -1,6 +1,6 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2008-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find Tcl includes and libraries.
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2015-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2015-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# - Find V8 (Google's JavaScript engine)
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
+1 -1
View File
@@ -13,7 +13,7 @@
#define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@"
#define PACKAGE_STRING "@PKG_STRING@"
#define WEECHAT_LIBDIR "@LIBDIR@"
#define WEECHAT_LIBDIR "@WEECHAT_LIBDIR@"
#define WEECHAT_SHAREDIR "@SHAREDIR@"
#define LOCALEDIR "@LOCALEDIR@"
#define WEECHAT_HOME "@WEECHAT_HOME@"
+89 -89
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
@@ -17,7 +17,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
# -*- Autoconf -*-
@@ -108,7 +108,6 @@ 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_BUFLIST], [#undef PLUGIN_BUFLIST])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_EXEC], [#undef PLUGIN_EXEC])
@@ -126,6 +125,7 @@ AH_VERBATIM([PLUGIN_PHP], [#undef PLUGIN_PHP])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
AH_VERBATIM([PLUGIN_JAVASCRIPT], [#undef PLUGIN_JAVASCRIPT])
AH_VERBATIM([PLUGIN_SPELL], [#undef PLUGIN_SPELL])
AH_VERBATIM([PLUGIN_TRIGGER], [#undef PLUGIN_TRIGGER])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([TESTS], [#undef TESTS])
@@ -141,8 +141,6 @@ AC_ARG_ENABLE(headless, [ --disable-headless turn off headless binary
AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes)
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled)],enable_aspell=$enableval,enable_aspell=yes)
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Aspell plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
AC_ARG_ENABLE(buflist, [ --disable-buflist turn off Buflist plugin (default=compiled)],enable_buflist=$enableval,enable_buflist=yes)
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled)],enable_charset=$enableval,enable_charset=yes)
AC_ARG_ENABLE(exec, [ --disable-exec turn off Exec plugin (default=compiled)],enable_exec=$enableval,enable_exec=yes)
@@ -162,6 +160,8 @@ AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugi
AC_ARG_ENABLE(guile, [ --disable-guile turn off Guile (scheme) script plugin (default=compiled if found)],enable_guile=$enableval,enable_guile=yes)
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off JavaScript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
AC_ARG_ENABLE(php, [ --disable-php turn off PHP script plugin (default=compiled if found)],enable_php=$enableval,enable_php=yes)
AC_ARG_ENABLE(spell, [ --disable-spell turn off Spell checker plugin (default=compiled)],enable_spell=$enableval,enable_spell=yes)
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Spell checker plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes)
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
@@ -322,79 +322,6 @@ else
not_asked="$not_asked alias"
fi
# ---------------------------------- aspell ------------------------------------
if test "x$enable_aspell" = "xyes" ; then
ac_found_enchant_lib="no"
if test "x$enable_enchant" = "xyes" ; then
PKG_CHECK_MODULES(ENCHANT, [enchant], ac_found_enchant_lib="yes", ac_found_enchant_lib="no")
fi
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=""
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
AC_MSG_CHECKING(for aspell headers and libraries)
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** Aspell headers and/or libraries couldn't be found on your system.
*** Try to install them with your software package manager.
*** WeeChat will be built without Aspell support.])
enable_aspell="no"
not_found="$not_found aspell"
else
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, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <aspell.h>]],
[[ const char *version = aspell_version_string(); ]])],
[ ac_have_aspell_version_string="yes" ],
[ ac_have_aspell_version_string="no" ])])
LDFLAGS="$ac_save_LDFLAGS"
if test "x$ac_have_aspell_version_string" = "xyes"; then
AC_DEFINE(HAVE_ASPELL_VERSION_STRING)
fi
fi
fi
else
not_asked="$not_asked aspell"
fi
if test "x$enable_aspell" = "xyes" ; then
AC_SUBST(ASPELL_CFLAGS)
AC_SUBST(ASPELL_LFLAGS)
AC_DEFINE(PLUGIN_ASPELL)
fi
# --------------------------------- buflist ------------------------------------
if test "x$enable_buflist" = "xyes" ; then
@@ -624,7 +551,7 @@ RUBY_VERSION=
if test "x$enable_ruby" = "xyes" ; then
RUBY_CFLAGS=""
RUBY_LFLAGS=""
for v in "2.5" "2.4" "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do
for v in "2.6" "2.5" "2.4" "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do
pkgconfig_ruby_found=`$PKGCONFIG --exists ruby-$v 2>/dev/null`
if test "x$?" = "x0" ; then
RUBY_VERSION=`$PKGCONFIG --modversion ruby-$v`
@@ -696,7 +623,7 @@ if test "x$enable_lua" = "xyes" ; then
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
AC_MSG_CHECKING(for Lua headers and libraries with pkg-config)
echo
for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
for l in "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" "$lua_suffix" "" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
@@ -715,7 +642,7 @@ if test "x$enable_lua" = "xyes" ; then
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
LUACONFIG=""
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0)
AC_CHECK_PROGS(LUACONFIG, lua-config53 lua-config5.3 lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0 lua-config)
if test "x$LUACONFIG" != "x" ; then
AC_MSG_CHECKING(for Lua headers and libraries with lua-config)
echo
@@ -733,7 +660,7 @@ if test "x$enable_lua" = "xyes" ; then
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
LUA_CFLAGS="$CFLAGS"
fi
for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
for l in "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" "$lua_suffix" "" ; do
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
if test "x$ac_found_lua_lib" = "xyes" ; then
LUA_VERSION=">=5.1.0"
@@ -1053,6 +980,79 @@ if test "x$enable_php" = "xyes" ; then
AC_DEFINE(PLUGIN_PHP)
fi
# ----------------------------------- spell ------------------------------------
if test "x$enable_spell" = "xyes" ; then
ac_found_enchant_lib="no"
if test "x$enable_enchant" = "xyes" ; then
PKG_CHECK_MODULES(ENCHANT, [enchant], ac_found_enchant_lib="yes", ac_found_enchant_lib="no")
fi
if test "x$ac_found_enchant_lib" = "xyes" ; then
CFLAGS="$CFLAGS -DUSE_ENCHANT"
SPELL_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=""
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
AC_MSG_CHECKING(for aspell headers and libraries)
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** Aspell headers and/or libraries couldn't be found on your system.
*** Try to install them with your software package manager.
*** WeeChat will be built without Aspell support.])
enable_spell="no"
not_found="$not_found spell"
else
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
SPELL_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, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <aspell.h>]],
[[ const char *version = aspell_version_string(); ]])],
[ ac_have_aspell_version_string="yes" ],
[ ac_have_aspell_version_string="no" ])])
LDFLAGS="$ac_save_LDFLAGS"
if test "x$ac_have_aspell_version_string" = "xyes"; then
AC_DEFINE(HAVE_ASPELL_VERSION_STRING)
fi
fi
fi
else
not_asked="$not_asked spell"
fi
if test "x$enable_spell" = "xyes" ; then
AC_SUBST(ASPELL_CFLAGS)
AC_SUBST(ASPELL_LFLAGS)
AC_DEFINE(PLUGIN_SPELL)
fi
# --------------------------------- trigger ------------------------------------
if test "x$enable_trigger" = "xyes" ; then
@@ -1206,7 +1206,7 @@ AC_MSG_CHECKING(for zlib headers and libraries)
if test "x$ac_found_zlib_header" = "xno" -o "x$ac_found_zlib_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_ERROR([
*** zlib was not found. You may want to get it from http://zlib.net/
*** zlib was not found. You may want to get it from https://zlib.net/
*** or try to install zlib1g-dev with your software package manager.])
else
AC_MSG_RESULT(yes)
@@ -1330,7 +1330,7 @@ AC_DEFINE_UNQUOTED(WEECHAT_SHAREDIR, "$WEECHAT_SHAREDIR")
weechat_libdir=${libdir}/weechat
AC_SUBST(weechat_libdir)
COMMON_CFLAGS="-Wall -Wextra -Werror-implicit-function-declaration"
COMMON_CFLAGS="-fsigned-char -Wall -Wextra -Werror-implicit-function-declaration"
AC_MSG_CHECKING([whether we have GNU assembler])
GAS=`as --version < /dev/null 2>/dev/null | grep GNU`
if test "$GAS"; then
@@ -1390,7 +1390,6 @@ AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes")
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(HEADLESS, test "$enable_headless" = "yes")
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
AM_CONDITIONAL(PLUGIN_BUFLIST, test "$enable_buflist" = "yes")
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
AM_CONDITIONAL(PLUGIN_EXEC, test "$enable_exec" = "yes")
@@ -1408,6 +1407,7 @@ AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_GUILE, test "$enable_guile" = "yes")
AM_CONDITIONAL(PLUGIN_JAVASCRIPT, test "$enable_javascript" = "yes")
AM_CONDITIONAL(PLUGIN_PHP, test "$enable_php" = "yes")
AM_CONDITIONAL(PLUGIN_SPELL, test "$enable_spell" = "yes")
AM_CONDITIONAL(PLUGIN_TRIGGER, test "$enable_trigger" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(TESTS, test "$enable_tests" = "yes")
@@ -1429,7 +1429,6 @@ AC_OUTPUT([Makefile
src/core/Makefile
src/plugins/Makefile
src/plugins/alias/Makefile
src/plugins/aspell/Makefile
src/plugins/buflist/Makefile
src/plugins/charset/Makefile
src/plugins/exec/Makefile
@@ -1447,6 +1446,7 @@ AC_OUTPUT([Makefile
src/plugins/guile/Makefile
src/plugins/javascript/Makefile
src/plugins/php/Makefile
src/plugins/spell/Makefile
src/plugins/trigger/Makefile
src/plugins/xfer/Makefile
src/gui/Makefile
@@ -1479,9 +1479,6 @@ listplugins=""
if test "x$enable_alias" = "xyes"; then
listplugins="$listplugins alias"
fi
if test "x$enable_aspell" = "xyes"; then
listplugins="$listplugins aspell($ASPELL_LIB_USED)"
fi
if test "x$enable_buflist" = "xyes"; then
listplugins="$listplugins buflist"
fi
@@ -1533,6 +1530,9 @@ fi
if test "x$enable_php" = "xyes"; then
listplugins="$listplugins php($PHP_VERSION)"
fi
if test "x$enable_spell" = "xyes"; then
listplugins="$listplugins spell($SPELL_LIB_USED)"
fi
if test "x$enable_trigger" = "xyes"; then
listplugins="$listplugins trigger"
fi
+1 -1
View File
@@ -1 +1 @@
11
12
+2 -2
View File
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
Build-Depends:
asciidoctor (>= 1.5.4),
debhelper (>= 11),
debhelper (>= 12),
cmake, pkg-config,
libncursesw5-dev,
gem2deb,
@@ -21,7 +21,7 @@ Build-Depends:
libgcrypt20-dev,
libgnutls28-dev,
zlib1g-dev
Standards-Version: 4.1.5
Standards-Version: 4.3.0
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+14
View File
@@ -1,3 +1,17 @@
weechat (2.4-1) unstable; urgency=medium
* New upstream release
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 03 Mar 2019 19:29:13 +0000
weechat (2.3-1) unstable; urgency=medium
* New upstream release
* Bump Standards-Version to 4.3.0
* Switch debhelper compatibility to 12
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 04 Jan 2019 16:06:44 +0000
weechat (2.2-1) unstable; urgency=medium
* New upstream release
+1 -1
View File
@@ -1 +1 @@
11
12
+2 -2
View File
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
Build-Depends:
asciidoctor (>= 1.5.4),
debhelper (>= 11),
debhelper (>= 12),
cmake, pkg-config,
libncursesw5-dev,
gem2deb,
@@ -21,7 +21,7 @@ Build-Depends:
libgcrypt20-dev,
libgnutls28-dev,
zlib1g-dev
Standards-Version: 4.1.5
Standards-Version: 4.3.0
Homepage: https://weechat.org/
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
Vcs-Browser: https://salsa.debian.org/kolter/weechat
+11 -11
View File
@@ -4,7 +4,7 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
Source: https://weechat.org/
Files: *
Copyright: 2003-2018, Sébastien Helleu <flashcode@flashtux.org>
Copyright: 2003-2019, Sébastien Helleu <flashcode@flashtux.org>
License: GPL-3+
Files: src/core/wee-command.c
@@ -35,11 +35,11 @@ Files: src/core/wee-completion.c
src/core/wee-log.c
src/core/wee-utf8.c
src/core/weechat.h
src/plugins/aspell/weechat-aspell-config.c
src/plugins/aspell/weechat-aspell-config.h
src/plugins/aspell/weechat-aspell-speller.c
src/plugins/aspell/weechat-aspell-speller.h
src/plugins/aspell/weechat-aspell.h
src/plugins/spell/spell-config.c
src/plugins/spell/spell-config.h
src/plugins/spell/spell-speller.c
src/plugins/spell/spell-speller.h
src/plugins/spell/spell.h
src/plugins/irc/irc-command.c
src/plugins/irc/irc.h
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
@@ -51,12 +51,12 @@ Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
2012, Simon Arlott
License: GPL-3+
Files: src/plugins/aspell/weechat-aspell-bar-item.c
src/plugins/aspell/weechat-aspell-bar-item.h
Files: src/plugins/spell/spell-bar-item.c
src/plugins/spell/spell-bar-item.h
Copyright: 2012, Nils Görs <weechatter@arcor.de>
License: GPL-3+
Files: src/plugins/aspell/weechat-aspell.c
Files: src/plugins/spell/spell.c
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
2012, Nils Görs <weechatter@arcor.de>
License: GPL-3+
@@ -165,7 +165,7 @@ License: GPL-3+
General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General Public License,
Version 3 can be found in the file /usr/share/common-licenses/GPL-3
@@ -182,7 +182,7 @@ License: GPL-3-with-openssl-exception
General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General Public License,
Version 3 can be found in the file /usr/share/common-licenses/GPL-3
+1 -1
View File
@@ -1,6 +1,6 @@
usr/lib/*/weechat/plugins/aspell.so
usr/lib/*/weechat/plugins/exec.so
usr/lib/*/weechat/plugins/fifo.so
usr/lib/*/weechat/plugins/relay.so
usr/lib/*/weechat/plugins/script.so
usr/lib/*/weechat/plugins/spell.so
usr/lib/*/weechat/plugins/trigger.so
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
if(ENABLE_MAN OR ENABLE_DOC)
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
SUBDIRS = . cs de en es fr it ja pl ru
+4 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
if(ENABLE_MAN)
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.cs.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.cs.adoc
+11 -7
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
docdir = $(datadir)/doc/$(PACKAGE)
@@ -22,13 +22,16 @@ docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
docinfo.html \
weechat.1.cs.adoc \
weechat-headless.1.cs.adoc \
cmdline_options.cs.adoc \
cmdline_options_debug.cs.adoc \
weechat_quickstart.cs.adoc \
$(wildcard autogen/user/*.adoc) \
$(wildcard autogen/plugin_api/*.adoc)
if MAN
man_targets = weechat.1
man_targets = weechat.1 \
weechat-headless.1
man_install = install-man
man_uninstall = uninstall-man
endif
@@ -39,9 +42,11 @@ if DOC
endif
all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc
# man pages
weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc cmdline_options_debug.cs.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/cs/weechat.1.cs.adoc
weechat-headless.1: weechat-headless.1.cs.adoc cmdline_options.cs.adoc cmdline_options_debug.cs.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/cs/weechat-headless.1.cs.adoc
# quickstart
weechat_quickstart.cs.html: weechat_quickstart.cs.adoc $(abs_top_srcdir)/doc/docinfo.html
@@ -54,7 +59,6 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/cs/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/cs/man1/
(cd '$(DESTDIR)$(mandir)/cs/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -76,4 +80,4 @@ uninstall-doc:
# clean
clean-local:
-$(RM) weechat.1 weechat_*.html
-$(RM) weechat.1 weechat-headless.1 weechat_*.html
+12
View File
@@ -17,6 +17,18 @@
Pokud tato volba není zadána, použije se promněná prostředí WEECHAT_HOME
(pokud není prázdná)
// TRANSLATION MISSING
*-t*, *--temp-dir*::
Create a temporary WeeChat home directory and delete it on exit
(incompatible with option "-d"). +
The name of the directory is automatically built by WeeChat, with this
template: "weechat_temp_XXXXXX" (where "XXXXXX" is random). It it created
in the first available directory in this list: environment variable "TMPDIR",
"/tmp" (may be different according to the operating system), environment
variable "HOME", current directory. +
The temporary home directory has permissions 0700 (only owner can read,
write and execute).
*-h*, *--help*::
Zobrazí nápovědu.
+16
View File
@@ -0,0 +1,16 @@
// TRANSLATION MISSING
*--no-dlclose*::
Do not call the function dlclose after plugins are unloaded.
This is useful with tools like Valgrind to display stack for unloaded
plugins.
// TRANSLATION MISSING
*--no-gnutls*::
Do not call the init and deinit functions of GnuTLS library.
This is useful with tools like Valgrind and electric-fence, to prevent
GnuTLS memory errors.
// TRANSLATION MISSING
*--no-gcrypt*::
Do not call the init and deinit functions of Gcrypt library.
This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
+1 -1
View File
@@ -1,7 +1,7 @@
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
souboru AUTHORS.adoc).
Copyright (C) 2003-2018 {author}
Copyright (C) 2003-2019 {author}
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
+3 -3
View File
@@ -10,9 +10,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
configurační soubor pro _alias_ plugin
$HOME/.weechat/aspell.conf::
konfigurační soubor pro _aspell_ plugin
$HOME/.weechat/buflist.conf::
konfigurační soubor pro _buflist_ plugin
@@ -61,6 +58,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
konfigurační soubor pro _script_ plugin
$HOME/.weechat/spell.conf::
konfigurační soubor pro _spell_ plugin
$HOME/.weechat/tcl.conf::
konfigurační soubor pro _tcl_ plugin
+8 -2
View File
@@ -16,7 +16,7 @@ weechat-headless - the extensible chat client (headless version)
// TRANSLATION MISSING
[verse]
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -32,11 +32,17 @@ v obvyklých sciptovacích jazycích.
The command *weechat-headless* runs WeeChat in a headless mode (no interface).
It can be used for tests or to daemonize WeeChat with the option "--daemon".
== VOLBY
include::cmdline_options.cs.adoc[]
// TRANSLATION MISSING
== DEBUG OPTIONS
*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
include::cmdline_options_debug.cs.adoc[]
== VOLBY PLUGINŮ
include::man_plugin_options.cs.adoc[]
+8 -1
View File
@@ -15,7 +15,7 @@ weechat - the extensible chat client
// TRANSLATION MISSING
[verse]
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -31,6 +31,13 @@ v obvyklých sciptovacích jazycích.
include::cmdline_options.cs.adoc[]
// TRANSLATION MISSING
== DEBUG OPTIONS
*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
include::cmdline_options_debug.cs.adoc[]
== VOLBY PLUGINŮ
include::man_plugin_options.cs.adoc[]
+18 -14
View File
@@ -20,8 +20,8 @@ Spustění z Vašeho shellu:
$ weechat
----
[[help_options]]
== On-line nápověda/ volby
[[help]]
== On-line nápověda
WeeChat má nápovědů pro všechny příkazy, postě vložte:
@@ -35,15 +35,26 @@ K získání nápovědy pro specifický příkaz napište:
/help příkaz
----
// TRANSLATION MISSING
Help is available for options as well:
----
/help config.section.option
----
(kde `config` je jméno konfigurace (`weechat` pro jádro, nebo jméno pluginu),
`section` sekce této konfigurace a `option` jméno volby).
// TRANSLATION MISSING
[[options]]
== Set options
K nastavení voleb napište:
----
/set config.section.option value
----
(kde `config` je jméno konfigurace (`weechat` pro jádro, nebo jméno pluginu),
`section` sekce této konfigurace a `option` jméno volby).
WeeChat okamžitě použije novou hodnotu (*nikdy* nebudete potřebovat restart
WeeChatu po změně konfigurace).
@@ -59,13 +70,6 @@ that were not yet saved with `/save`). +
You can use the command `/set`, which checks the value and applies immediately
the changes.
// TRANSLATION MISSING
Help is available for options:
----
/help config.section.option
----
// TRANSLATION MISSING
The plugin _fset_ allows you to easily browse options and change them.
@@ -242,7 +246,7 @@ název volby):
Tento příkaz může být použit k vytvoření nového připojení k serveru bez
použití příkazu `/server` (see `/help connect`).
Ve výchozím nastavení jsou serverové bufery spojen s Weechat _core_ buferem.
Ve výchozím nastavení jsou serverové bufery spojen s WeeChat _core_ buferem.
K přepnutí mezi _core_ a server bufery můžete použít klávesu kbd:[Ctrl+x].
Je možné vypnout automatické sloučení serverových buferů a mít nezávislé
@@ -335,7 +339,7 @@ To remove the split:
[[key_bindings]]
== Předvoblby klávesových zkratek
Weechat používá ve výchozím nastavení mnoho klávesových zkratek, Všechny
WeeChat používá ve výchozím nastavení mnoho klávesových zkratek, Všechny
najdete v dokumentaci, ale je dobré znát alespoň pár těchto důležitých:
- kbd:[Alt+←] / kbd:[Alt+→] nebo kbd:[F5] / kbd:[F6]: přepnout na předchozí/další bufer
+5 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
if(ENABLE_MAN)
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.de.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.de.adoc
@@ -63,6 +65,7 @@ if(ENABLE_DOC)
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc
${AUTOGEN_USER}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.de.html"
+12 -8
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
docdir = $(datadir)/doc/$(PACKAGE)
@@ -23,7 +23,9 @@ docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
docinfo.html \
weechat.1.de.adoc \
weechat-headless.1.de.adoc \
cmdline_options.de.adoc \
cmdline_options_debug.de.adoc \
weechat_user.de.adoc \
weechat_scripting.de.adoc \
weechat_faq.de.adoc \
@@ -32,7 +34,8 @@ EXTRA_DIST = CMakeLists.txt \
$(wildcard autogen/user/*.adoc)
if MAN
man_targets = weechat.1
man_targets = weechat.1 \
weechat-headless.1
man_install = install-man
man_uninstall = uninstall-man
endif
@@ -47,12 +50,14 @@ if DOC
endif
all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.de.adoc cmdline_options.de.adoc
# man pages
weechat.1: weechat.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/de/weechat.1.de.adoc
weechat-headless.1: weechat-headless.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/de/weechat-headless.1.de.adoc
# user's guide
weechat_user.de.html: weechat_user.de.adoc cmdline_options.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
weechat_user.de.html: weechat_user.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
$(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.adoc
# scripting guide
@@ -78,7 +83,6 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/de/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/de/man1/
(cd '$(DESTDIR)$(mandir)/de/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -100,4 +104,4 @@ uninstall-doc:
# clean
clean-local:
-$(RM) weechat.1 weechat_*.html
-$(RM) weechat.1 weechat-headless.1 weechat_*.html
+4 -4
View File
@@ -10,10 +10,6 @@
| alias | alias_value | Wert von Alias
| aspell | aspell_dicts | Auflistung der installierten Wörterbücher
| aspell | aspell_langs | Liste aller Sprachen die durch Aspell unterstützt werden
| exec | exec_commands_ids | IDs (Nummern und Namen) von ausgeführten Befehlen
| fset | fset_options | Konfigurationsdateien, Sektionen, Optionen und Worte von Optionen
@@ -86,6 +82,10 @@
| script | script_tags | Schlagwortliste für Skripten im Repositorium
| spell | spell_dicts | Auflistung der installierten Wörterbücher
| spell | spell_langs | Liste aller Sprachen die unterstützt werden
| tcl | tcl_script | Liste der Skripten
| trigger | trigger_hook_arguments | Standardargumente für einen Hook
+2 -1
View File
@@ -243,6 +243,7 @@ _nick_first_tried_   (integer) +
_nick_alternate_number_   (integer) +
_nick_   (string) +
_nick_modes_   (string) +
_host_   (string) +
_checking_cap_ls_   (integer) +
_cap_ls_   (hashtable) +
_checking_cap_list_   (integer) +
@@ -429,7 +430,7 @@ _tags_   (string) +
_requirements_   (string) +
_min_weechat_   (string) +
_max_weechat_   (string) +
_md5sum_   (string) +
_sha512sum_   (string) +
_url_   (string) +
_popularity_   (integer) +
_date_added_   (time) +
+7 -3
View File
@@ -6,8 +6,6 @@
|===
| Erweiterung | Name | Beschreibung | Argumente
| aspell | aspell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.freenode.#weechat")
| fifo | fifo_filename | Name der FIFO-Pipe | -
| guile | guile_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
@@ -74,6 +72,8 @@
| ruby | ruby_version | Version des verwendeten Interpreters | -
| spell | spell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.freenode.#weechat")
| tcl | tcl_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
| tcl | tcl_interpreter | Name des verwendeten Interpreters | -
@@ -112,7 +112,11 @@
| weechat | term_width | Breite des Terminals | -
| weechat | uptime | Laufzeit von Weechat (Format: "days:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
| weechat | totp_generate | generiert ein Time-based One-Time Passwort (TOTP) | geheime Zeichenkette (in base32), Zeitstempel (optional, standardmäßig aktuelle Zeit), Anzahl an Zeichen (optional, zwischen 4 und 10, standardmäßig 6)
| weechat | totp_validate | validiert ein Time-based One-Time Passwort (TOTP): 1 falls TOTP korrekt ist, ansonsten 0 | geheim (in base32), einmaliges Passwort, Zeitstempel (optional, standardmäßig aktuelle Zeit), Anzahl der zu testenden Passwörtern vorher/nachher (optional, standardmäßig 0)
| weechat | uptime | Laufzeit von WeeChat (Format: "days:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
| weechat | version | WeeChat-Version | -
@@ -6,7 +6,7 @@
. logger (14000)
. exec (13000)
. trigger (12000)
. aspell (11000)
. spell (11000)
. alias (10000)
. buflist (9000)
. fifo (8000)
-32
View File
@@ -1,32 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
* `+aspell+`: Konfiguration für Aspell-Erweiterung
----
/aspell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <word>
enable: Aspell wird aktiviert
disable: Aspell wird deaktiviert
toggle: Aspell Funktionalität umschalten
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden)
deldict: Wörterbuch für den aktuellen Buffer entfernen
addword: fügt ein Wort in das persönliche Wörterbuch von Aspell hinzu
Eingaben die mit '/' beginnen werden nicht überprüft, davon ausgenommen sind einige Befehle (siehe /set aspell.check.commands).
Um sich eine Liste von Vorschlägen in einer Bar anzeigen zu lassen nutzt man das Item "aspell_suggest".
Um Aspell auf alle Buffer anzuwenden sollte die Einstellung "default_dict" genutzt und Aspell aktiviert werden:
/set aspell.check.default_dict "de_DE-neu"
/aspell enable
Die Standardtastaturbelegung zum Umschalten der Aspell Funktionalität lautet alt-s.
----
+4 -3
View File
@@ -10,7 +10,7 @@
refresh
bar: fügt eine "buflist" Bar hinzu
refresh: erzwingt eine Aktualisierung des "buflist" Bar-Item
refresh: erzwingt eine Aktualisierung der Bar-Item (buflist, buflist2 und buflist3)
Jede Zeile die einen Buffer anzeigt wird mittels Zeichenketten-Evaluation dargestellt (siehe /help eval für das Format), dazu werden folgende Optionen genutzt:
- buflist.look.display_conditions: Bedingungen um einen Buffer in der Liste darzustellen
@@ -33,14 +33,15 @@ Die folgenden Variablen können in den obigen Optionen genutzt werden:
- ${current_buffer}: ein Boolean ("0" oder "1"), "1" falls es sich um den aktuellen Buffer handelt; dies kann in einer Bedingung verwendet werden: ${if:${current_buffer}?...:...}
- ${merged}: ein Boolean ("0" oder "1"), "1" wenn der Buffer mit einem anderen zusammengefügt ist; kann innerhalb einer Bedingung genutzt werden: ${if:${merged}?...:...}
- ${format_number}: eingerückte Numer mit Trennzeichen (evaluiert aus Option buflist.format.number)
- ${number}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt
- ${number}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt; bei zusammengefügten Buffern enthält die Variable für den ersten Buffer die entsprechende Nummer, die weiteren Buffer enthalten ein Leerzeichen anstelle der Nummer
- ${number2}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt
- ${number_displayed}: "1" falls Nummer angezeigt wird, ansonsten "0"
- ${indent}: Einrückung für Name (Channel und private Buffer werden eingerückt) (evaluiert aus Option buflist.format.indent)
- ${format_nick_prefix}: Nick-Präfix mit entsprechender Farbe für einen Channel (evaluiert aus Option buflist.format.nick_prefix)
- ${color_nick_prefix}: Farbe für den Nick-Präfix von einem Channel (wird nur genutzt wenn die Option buflist.look.nick_prefix aktiviert ist)
- ${nick_prefix}: der Nick-Präfix für einen Channel (wird nur genutzt falls die Option buflist.look.nick_prefix aktiviert ist)
- ${format_name}: der formatierte Name (evaluiert aus Option buflist.format.name)
- ${name}: der Kurzname (falls einer gesetzt ist), Ersatzweise wird auf den Originalnamen zurückgegriffen
- ${name}: der Kurzname (falls einer gesetzt ist), ersatzweise wird auf den Originalnamen zurückgegriffen
- ${color_hotlist}: die Farbe mit der höchsten Priorität für den entsprechenden Buffer (evaluiert aus Option buflist.format.hotlist_xxx wobei xxx der entsprechende Level ist)
- ${format_hotlist}: die formatierte Hotlist (evaluiert aus Option buflist.format.hotlist)
- ${hotlist}: die Hotlist in der Rohform
+3 -3
View File
@@ -19,7 +19,7 @@
-list: zeigt laufende Befehle an
-sh: es wird die shell verwendet um Befehle auszuführen, mehrere Befehle können dabei gepiped werden (WARNUNG: Dieses Argument sollte nur verwendet werden, falls alle Argumente unbedenklich sind, siehe Argument -nosh)
-nosh: die shell wird nicht verwendet um Befehle auszuführen (wird benötigt, falls der Befehl mit sensiblen Daten hantiert. Zum Beispiel der Inhalt einer Nachricht eines anderen Users)(Standardverhalten)
-bg: führt Prozess im Hintergrund aus: gibt weder eine Prozessausgabe noch einen Rückgabewert aus (nicht kompatibel mit Argumenten -o/-oc/-n/-nf/-pipe/-hsignal)
-bg: führt Prozess im Hintergrund aus: es wird weder eine Prozessausgabe noch ein Rückgabewert ausgegeben (nicht kompatibel mit Argumenten -o/-oc/-n/-nf/-pipe/-hsignal)
-nobg: gibt Prozessausgabe und Rückgabewert aus (Standardverhalten)
-stdin: erstellt eine PIPE um Daten zu dem Prozess zu senden (mittels /exec -in/-inclose)
-nostdin: es wird keine PIPE für stdin erstellt (Standardverhalten)
@@ -28,7 +28,7 @@
-o: gibt die Ausgabe des Befehls im Buffer aus (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
-oc: gibt die Ausgabe des Befehls im Buffer aus und führt diesen dann aus (betrifft Zeilen die mit "/" beginnen bzw. das benutzerdefinierte Befehlszeichen verwenden) (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
-n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
-nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem freien Inhalt (kein Zeilenumbruch, keine Limitierung in der Anzahl der Zeilen), aus (nicht kompatibel mit Argument -bg/-pipe/-hsignal)
-nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem freien Inhalt, aus (kein Zeilenumbruch, keine Limitierung in der Anzahl der Zeilen), aus (nicht kompatibel mit Argument -bg/-pipe/-hsignal)
-cl: der neue Buffer wird vor einer Ausgabe gelöscht
-nocl: Ausgabe wird an neuen Buffer angehangen, ohne diesen vorher zu löschen (Standardverhalten)
-sw: es wird zum Ausgabebuffer gewechselt (Standardverhalten)
@@ -67,7 +67,7 @@ Standardoptionen können in der Einstellung exec.command.default_options bestimm
Beispiele:
/exec -n ls -l /tmp
/exec -sh -n ps xu | grep weechat
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx
/exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
/exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Machine uptime:" uptime
+6
View File
@@ -25,3 +25,9 @@
** Typ: integer
** Werte: -1 .. 25920000
** Standardwert: `+0+`
* [[option_exec.command.shell]] *exec.command.shell*
** Beschreibung: pass:none[shell welche für den Befehl "/exec -sh" genutzt werden soll; hierbei kann es sich um den Namen der shell handeln der über PATH gefunden wird (zum Beispiel "bash") oder man nutzt eine absolute Pfadangabe zur Binärdatei (zum Beispiel "/bin/bash")]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"sh"+`
+1 -1
View File
@@ -160,7 +160,7 @@ Beispiele:
server: an diesen Server senden (interner Servername)
target: Nick- oder Channelname an welchen eine CTCP-Nachricht geschickt werden soll ('*' = aktuellen Channel)
type: CTCP-Nachricht (Beispiele: "version", "ping", ..)
type: CTCP-Nachricht (Beispiele: "version", "ping", usw.)
arguments: Argumente für CTCP
Beispiele:
+4 -4
View File
@@ -363,7 +363,7 @@
** Standardwert: `+256+`
* [[option_irc.look.server_buffer]] *irc.look.server_buffer*
** Beschreibung: pass:none[Server-Buffer zusammenfügen]
** Beschreibung: pass:none[fügt Serverbuffer zusammen; diese Option hat keine Auswirkung wenn ein Layout genutzt wird und mit dieser Option im Widerspruch steht (siehe /help layout)]
** Typ: integer
** Werte: merge_with_core, merge_without_core, independent
** Standardwert: `+merge_with_core+`
@@ -429,7 +429,7 @@
** Standardwert: `+off+`
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
** Beschreibung: pass:none[Multiplikator für die Verzögerung bei der automatischen Wiederverbindung zum Server (1 = immer die selbe Verzögerung nutzen, 2 = Verzögerung*2 für jeden weiteren Versuch, ..)]
** Beschreibung: pass:none[Multiplikator für die Verzögerung bei der automatischen Wiederverbindung zum Server (1 = immer die selbe Verzögerung nutzen, 2 = Verzögerung*2 für jeden weiteren Versuch, usw.)]
** Typ: integer
** Werte: 1 .. 100
** Standardwert: `+2+`
@@ -543,7 +543,7 @@
** Standardwert: `+2+`
* [[option_irc.server_default.autoconnect]] *irc.server_default.autoconnect*
** Beschreibung: pass:none[Beim Programmstart von Weechat automatisch mit dem Server verbinden]
** Beschreibung: pass:none[Beim Programmstart von WeeChat automatisch mit dem Server verbinden]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
@@ -741,7 +741,7 @@
** Standardwert: `+2048+`
* [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint*
** Beschreibung: pass:none[Fingerprint des Zertifikates welches als vertrauenswürdig eingestuft und für diesen Server akzeptiert wird; es sind nur hexadezimale Zeichen erlaubt (0-9, a-f): bei SHA-512 ist das Zertifikat 64 Zeichen lang, bei SHA-256 sind es 32 Zeichen, bei SHA-1 sind es 20 Zeichen (nicht empfohlen, da unsicher); mehrere Fingerprints können durch Kommata voneinander getrennt werden; wird diese Option genutzt, findet KEINE weitere Überprüfung der Zertifikate statt (Option "ssl_verify") (Hinweis: Inhalt wird evaluiert, siehe /help eval; Serveroptionen sind mittels ${irc_server.xxx} evaluiert und ${server} wird durch den eigentlichen Servernamen ersetzt)]
** Beschreibung: pass:none[Fingerprint des Zertifikates welches als vertrauenswürdig eingestuft und für diesen Server akzeptiert wird; es sind nur hexadezimale Zeichen erlaubt (0-9, a-f): bei SHA-512 ist das Zertifikat 128 Zeichen lang, bei SHA-256 sind es 64 Zeichen, bei SHA-1 sind es 40 Zeichen (nicht empfohlen, da unsicher); mehrere Fingerprints können durch Kommata voneinander getrennt werden; wird diese Option genutzt, findet KEINE weitere Überprüfung der Zertifikate statt (Option "ssl_verify") (Hinweis: Inhalt wird evaluiert, siehe /help eval; Serveroptionen sind mittels ${irc_server.xxx} evaluiert und ${server} wird durch den eigentlichen Servernamen ersetzt)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
+8 -4
View File
@@ -7,7 +7,7 @@
----
/relay list|listfull|listrelay
add <name> <port>
add <name> <port>|<path>
del|start|restart|stop <name>
raw
sslcertkey
@@ -22,19 +22,21 @@
stop: schließt den Server Socket (Clients bleiben verbunden)
name: Name des Relays (siehe Format weiter unten)
port: Port der für Relay genutzt werden soll
path: Pfad der für Relay genutzt werden soll (ausschließlich für UNIX Domain Socket); "%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: ("~/.weechat"), Inhalt ist evaluiert (siehe /help eval)
raw: öffnet einen Buffer mit Relay-Rohdaten
sslcertkey: setzt SSL Zertifikat/Schlüssel mittels Pfad in Einstellung relay.network.ssl_cert_key
Aufbau des Relay-Namens: [ipv4.][ipv6.][ssl.]<Protokoll.Name>
Aufbau des Relay-Namens: [ipv4.][ipv6.][ssl.]<Protokoll.Name> oder unix.[ssl.]<Protokoll.Name>
ipv4: erzwingt die Nutzung von IPv4
ipv6: erzwingt die Nutzung von IPv6
ssl: aktiviert SSL
protocol.name: Protokoll und Name relay:
unix: nutzt UNIX Domain Socket
protocol.name: Protokoll und Name des Relay:
- Protokoll "irc": Name des Servers welcher geteilt werden soll (optional. Falls kein Name angegeben wird, muss der Client einen Namen mit dem Befehl "PASS" übermitteln, das Format ist wie folgt: "PASS Server:Passwort")
- Protokoll "weechat" (es wird kein Name verwendet)
Das "irc" Protokoll dient dazu eine Verbindung zu einem anderen IRC Client (oder zu einem zweiten WeeChat) herzustellen.
Das "weechat" Protokoll wird von einem Remote-Interface genutzt um eine Verbindung herzustellen. Siehe https://weechat.org/about/interfaces
Das "weechat" Protokoll wird von einem Remote-Interface genutzt um eine Verbindung auf dem Port herzustellen. Siehe https://weechat.org/about/interfaces
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
@@ -55,4 +57,6 @@ Beispiele:
/relay add ipv6.ssl.weechat 9001
WeeChat Protokoll, mit SSL, mit IPv4 + IPv6:
/relay add ipv4.ipv6.ssl.weechat 9001
Weechat Protokoll über UNIX Domain Socket:
/relay add unix.weechat %h/relay_socket
----
+21 -3
View File
@@ -111,7 +111,7 @@
** Standardwert: `+off+`
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** Beschreibung: pass:none[erweiterter regulärer POSIX Ausdruck für IPs die von relay akzeptiert werden (Groß- und Kleinschreibung wird ignoriert. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss die Zeichenkette mit "(?-i)" eingeleitet werden), Beispiele: "^(123.45.67.89|192.160.*)$"]
** Beschreibung: pass:none[erweiterter regulärer POSIX Ausdruck für IPs die von relay akzeptiert werden (Groß- und Kleinschreibung wird ignoriert. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss die Zeichenkette mit "(?-i)" eingeleitet werden), Beispiele: "^(123\.45\.67\.89|192\.160\..*)$"]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
@@ -164,8 +164,26 @@
** Werte: beliebige Zeichenkette
** Standardwert: `+"NORMAL:-VERS-SSL3.0"+`
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** Beschreibung: pass:none[erweiterter regulärer POSIX Ausdruck für Origins in WebSockets (Groß- und Kleinschreibung wird ignoriert. Um Groß- und Kleinschreibung zu unterscheiden muss "(?-i)" dem Origin vorangestellt werden), Beispiele: "^http://(www\.)?example\.(com|org)"]
* [[option_relay.network.totp_secret]] *relay.network.totp_secret*
** Beschreibung: pass:none[geheime Zeichenkette für die Erstellung des Time-based One-Time Passwort (TOTP), base32 enkodiert (ausschließlich Buchstaben und Zahlen zwischen 2 und 7); dient im WeeChat-Protokoll zur Zwei-Faktor-Authentifizierung, ergänzend zum eigentlichen Passwort (eine nicht gesetzte Option bedeutet, das TOTP nicht benötigt wird) (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
* [[option_relay.network.totp_window]] *relay.network.totp_window*
** Beschreibung: pass:none[Anzahl der Time-based One-Time Passwörter die vor und nach dem aktuellen Passwort akzeptiert werden: 0 = nur das aktuelle Passwort wird akzeptiert, 1 = akzeptiert ein Passwort vorher, das aktuelle und ein Passwort danach, 2 = akzeptiert zwei Passwörter vorher, das aktuelle und zwei Passwörter danach, ...; umso höher die genutzte Zahl umso unsicherer das Verfahren (0 oder 1 sind empfohlene Werte)]
** Typ: integer
** Werte: 0 .. 256
** Standardwert: `+0+`
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** Beschreibung: pass:none[erweiterter regulärer POSIX Ausdruck für Origins in WebSockets (Groß- und Kleinschreibung wird ignoriert. Um Groß- und Kleinschreibung zu unterscheiden kann "(?-i)" vorangestellt werden), Beispiel: ^https?://(www\.)?example\.(com|org)"]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
* [[option_relay.weechat.commands]] *relay.weechat.commands*
** Beschreibung: pass:none[durch Kommata getrennte Liste von Befehlen die erlaubt bzw. verboten sind, wenn Daten (Text oder Befehl) vom Client empfangen werden; "*" bedeutet alle Befehle sind erlaubt, beginnt ein Befehl hingegen mit "!" wird die Auswahl umgekehrt und der Befehl wird nicht ausgeführt, ein Platzhalter "*" ist bei den Befehlen erlaubt; diese Option sollte verwendet werden, falls man befürchtet, dass der relay client kompromittiert werden kann (darüber können Befehle ausgeführt werden); Beispiel: "*,!exec,!quit" es sind alle Befehle erlaubt, außer /exec und /quit]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
+8 -8
View File
@@ -42,7 +42,7 @@ Im Skript-Buffer, werden folgende Statusangaben für ein Skript angezeigt:
| | | | | obsolete (neue Version verfügbar)
| | | | Skript wird ausgeführt (geladen)
| | | gehalten
| | Skript wird beim Start, von Weechat, automatisch gestartet
| | Skript wird beim Start, von WeeChat, automatisch gestartet
| Skript ist installiert (wird aber nicht ausgeführt)
es wird empfohlen dieses Skript zu installieren
@@ -57,13 +57,13 @@ Tastenbefehle die im Skript-Buffer genutzt werden können:
alt+v Skript anzeigen
Befehle die in der Eingabezeile des Skript-Buffers eingegeben werden können:
i/r/l/L/u/h Aktionen die für ein Skript ausgeführt werden können (siehe Tastenbefehle, weiter oben)
q schließt den Buffer
$ Buffer wird aktualisiert
s:x,y Buffer wird nach den Vorgaben x und y sortiert (siehe /help script.look.sort)
s: die Sortierung des Buffers wird zurückgesetzt (Standardwerte werden genutzt)
word(s) Skripten werden gefiltert: sucht nach einem oder mehreren Wörtern in den Skripten (der Beschreibung, in den Schlagwörtern, ...)
* Filter wird zurückgesetzt
i/r/l/L/u/A/h/v Aktionen die für ein Skript ausgeführt werden können (siehe Tastenbefehle, weiter oben)
q schließt den Buffer
$ Buffer wird aktualisiert
s:x,y Buffer wird nach den Vorgaben x und y sortiert (siehe /help script.look.sort)
s: die Sortierung des Buffers wird zurückgesetzt (Standardwerte werden genutzt)
word(s) Skripten werden gefiltert: sucht nach einem oder mehreren Wörtern in den Skripten (der Beschreibung, in den Schlagwörtern, ...)
* Filter wird zurückgesetzt
Mausbefehle innerhalb des Skripten-Buffer:
Mausrad in der Liste scrollen
+32
View File
@@ -0,0 +1,32 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_spell_spell]]
* `+spell+`: Konfiguration für spell-Erweiterung
----
/spell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <word>
enable: Rechtschreibprüfung wird aktiviert
disable: Rechtschreibprüfung wird deaktiviert
toggle: Funktionalität der Rechtschreibprüfung umschalten
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden)
deldict: Wörterbuch für den aktuellen Buffer entfernen
addword: fügt ein Wort in das persönliche Wörterbuch hinzu
Eingaben die mit '/' beginnen werden nicht überprüft, davon ausgenommen sind einige Befehle (siehe /set spell.check.commands).
Um die Rechtschreibprüfung auf allen Buffer anzuwenden sollte die Einstellung "default_dict" genutzt und die Rechtschreibprüfung aktiviert werden:
/set spell.check.default_dict "de_DE-neu"
/spell enable
Um sich eine Liste von Vorschlägen in einer Bar anzeigen zu lassen nutzt man das Item "spell_suggest".
Die Standardtastaturbelegung zum Umschalten der Rechtschreibprüfung lautet alt-s.
----
@@ -2,80 +2,80 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
* [[option_aspell.check.commands]] *aspell.check.commands*
* [[option_spell.check.commands]] *spell.check.commands*
** Beschreibung: pass:none[durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
* [[option_aspell.check.default_dict]] *aspell.check.default_dict*
** Beschreibung: pass:none[Voreingestelltes Wörterbuch (oder durch Kommata getrennte Liste der Wörterbücher) welche(s) genutzt werden soll, sofern kein Wörterbuch für einen Buffer definiert wurde. Wird kein Wörterbuch angegeben dann ist Aspell in allen Buffer deaktiviert, außer es wird für einen Buffer explizit ein Wörterbuch angegeben]
* [[option_spell.check.default_dict]] *spell.check.default_dict*
** Beschreibung: pass:none[Voreingestelltes Wörterbuch (oder durch Kommata getrennte Liste der Wörterbücher) welche(s) genutzt werden soll, sofern kein Wörterbuch für einen Buffer definiert wurde (wird kein Wörterbuch angegeben dann ist die Rechtschreibprüfung in allen Buffer deaktiviert, außer es wird für einen Buffer explizit ein Wörterbuch angegeben)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
* [[option_aspell.check.during_search]] *aspell.check.during_search*
* [[option_spell.check.during_search]] *spell.check.during_search*
** Beschreibung: pass:none[Überprüfe Wörter während im Buffer nach einem Text gesucht wird]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
* [[option_aspell.check.enabled]] *aspell.check.enabled*
** Beschreibung: pass:none[Aspell wird für die Eingabezeile aktiviert]
* [[option_spell.check.enabled]] *spell.check.enabled*
** Beschreibung: pass:none[Rechtschreibprüfung wird für die Eingabezeile aktiviert]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
* [[option_aspell.check.real_time]] *aspell.check.real_time*
* [[option_spell.check.real_time]] *spell.check.real_time*
** Beschreibung: pass:none[Eine Korrektur findet während der Texteingabe statt (da dies langsamer ist, ist diese Funktion standardmäßig deaktiviert. Wörter werden erst überprüft sobald ein Leerzeichen dem vorangegangenen Wort folgt)]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** Beschreibung: pass:none[legt die Anzahl an Vorschlägen, für ein falsch geschriebenes Wort, fest. Die Vorschläge werden mittels der Bar-Item "aspell_suggest", für die jeweilige(n) Sprache(n), die für den Buffer augewählt wurden, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge, für alle ausgewählten Sprachen, an)]
* [[option_spell.check.suggestions]] *spell.check.suggestions*
** Beschreibung: pass:none[legt die Anzahl an Vorschlägen, für ein falsch geschriebenes Wort, fest. Die Vorschläge werden mittels der Bar-Item "spell_suggest", für die jeweilige(n) Sprache(n), die für den Buffer augewählt wurden, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge, für alle ausgewählten Sprachen, an)]
** Typ: integer
** Werte: -1 .. 2147483647
** Standardwert: `+-1+`
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
* [[option_spell.check.word_min_length]] *spell.check.word_min_length*
** Beschreibung: pass:none[Mindestlänge für ein Wort, welches auf Rechtschreibung überprüft werden soll (bei 0 werden alle Wörter überprüft)]
** Typ: integer
** Werte: 0 .. 2147483647
** Standardwert: `+2+`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
* [[option_spell.color.misspelled]] *spell.color.misspelled*
** Beschreibung: pass:none[Farbe in der ein Wort mit einem Rechtschreibfehler hervorgehoben werden soll (Eingabezeile)]
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
** Standardwert: `+lightred+`
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
** Beschreibung: pass:none[Textfarbe für die Vorschläge der Rechtsschreibkorrektur in der Bar-Item "aspell_suggest"]
* [[option_spell.color.suggestion]] *spell.color.suggestion*
** Beschreibung: pass:none[Textfarbe für die Vorschläge der Rechtsschreibkorrektur in der Bar-Item "spell_suggest"]
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
** Standardwert: `+default+`
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
** Beschreibung: pass:none[Textfarbe für das Trennzeichen, im Bar-Item "aspell_suggest", welches zwischen zwei Wörterbücher dargestellt wird]
* [[option_spell.color.suggestion_delimiter_dict]] *spell.color.suggestion_delimiter_dict*
** Beschreibung: pass:none[Textfarbe für das Trennzeichen welches zwischen zwei Wörterbüchern dargestellt wird, im Bar-Item "spell_suggest"]
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
** Standardwert: `+cyan+`
* [[option_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
** Beschreibung: pass:none[Textfarbe für das Trennzeichen zwischen zwei Wörtern in der Bar-Item "aspell_suggest"]
* [[option_spell.color.suggestion_delimiter_word]] *spell.color.suggestion_delimiter_word*
** Beschreibung: pass:none[Textfarbe für das Trennzeichen zwischen zwei Wörtern in der Bar-Item "spell_suggest"]
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
** Standardwert: `+cyan+`
* [[option_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
** Beschreibung: pass:none[Trennzeichen, im Bar-Item "aspell_suggest", welches zwischen zwei Wörterbücher dargestellt wird]
* [[option_spell.look.suggestion_delimiter_dict]] *spell.look.suggestion_delimiter_dict*
** Beschreibung: pass:none[Trennzeichen, im Bar-Item "spell_suggest", welches zwischen zwei Wörterbücher dargestellt wird]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+" / "+`
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
** Beschreibung: pass:none[Trennzeichen, im Bar-Item "aspell_suggest", welches zwischen zwei Wörtern dargestellt wird]
* [[option_spell.look.suggestion_delimiter_word]] *spell.look.suggestion_delimiter_word*
** Beschreibung: pass:none[Trennzeichen, im Bar-Item "spell_suggest", welches zwischen zwei Wörtern dargestellt wird]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+","+`
+7 -5
View File
@@ -25,9 +25,9 @@
listdefault: zeigt die standardmäßig genutzten Trigger an
add: fügt einen Trigger hinzu
addoff: fügt einen Trigger hinzu (deaktiviert)
addreplace: fügt oder ersetzt einen schon existierenden Trigger
addreplace: erzeugt neuen Trigger oder ersetzt einen schon existierenden Trigger
name: Name des Trigger
hook: signal, hsignal, modifier, print, command, command_run, timer, config, focus
hook: signal, hsignal, modifier, line, print, command, command_run, timer, config, focus, info, info_hashtable
arguments: Argumente für den Hook, abhängig vom genutzten Hook (getrennt durch Semikolon):
signal: Name(en) des signals (erforderlich)
hsignal: Name(en) des hsignal (erforderlich)
@@ -39,6 +39,8 @@ listdefault: zeigt die standardmäßig genutzten Trigger an
timer: Intervall (erforderlich), Anpassung an Sekunden (erforderlich), maximale Anzahl an Aufrufen
config: Name der Einstellung (erforderlich)
focus: Name(n) für sichtbaren Bereich (erforderlich) (z.B. "chat" für Chatbereich)
info: Name(n) der Information (erforderlich)
info_hashtable: Name(n) der Information (erforderlich)
conditions: evaluierte Bedingungen für den Trigger
regex: einer oder mehrere reguläre Ausdrücke um Zeichenketten in Variablen zu ersetzen
command: Befehl welcher ausgeführt werden soll (mehrere Befehle müssen durch ";" voneinander getrennt werden)
@@ -70,12 +72,12 @@ Wenn ein Trigger-Callback aufgerufen wird, dann wird folgende Befehlskette ausge
1. Überprüfung von Bedingungen; falls unwahr, beenden
2. ersetze Text mittels einem oder mehreren erweiterten regulären POSIX Ausdrücken (sofern im Trigger definiert)
3. ein oder mehrere Befehle werden ausgeführt (sofern im Trigger definiert)
4. Beendigung mit einem Rückgabewert (ausgenommen sind modifiers, line und focus)
4. Beendigung mit einem Rückgabewert (ausgenommen sind modifiers, line, focus, info und info_hashtable)
5. Aktion welche nach der Abarbeitung des Triggers ausgeführt werden soll
Beispiele (die standardmäßig, eingebauten Trigger kann man sich mit "/trigger listdefault" anzeigen lassen):
Beispiele (die standardmäßig verfügbaren Trigger kann man sich mit "/trigger listdefault" anzeigen lassen):
fügt einer Nachricht die Textattribute *fett*, _unterstrichen_ und /kursiv/ hinzu:
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}${re:1}${color:-bold}*== ==_(\S+)_==_${color:underline}${re:1}${color:-underline}_== ==/(\S+)/==/${color:italic}${re:1}${color:-italic}/"
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
verbirgt die Nicklist auf kleineren Terminals:
/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"
+43 -37
View File
@@ -351,33 +351,34 @@ Beispiele (Bedingungen):
----
/filter list
enable|disable|toggle [<name>|@]
add <name> <buffer>[,<buffer>...] <tags> <regex>
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
rename <name> <new_name>
del <name>|-all
list: alle Filter auflisten
enable: Filter wird aktiviert (Filter werden standardmäßig aktiviert)
disable: Filter deaktivieren
toggle: Filter umschalten
name: Name des Filters ("@" = aktiviert/deaktiviert alle Filter im aktuellen Buffer)
add: Filter hinzufügen
rename: benennt einen Filter um
del: Filter entfernen
-all: entfernt alle Filter
buffer: durch Kommata getrennte Liste von Buffer in denen der Filter aktiv sein soll:
- ist der vollständige Name eines Buffer inklusive seiner Erweiterung (Beispiel: "irc.freenode.#weechat" oder "irc.server.freenode")
- "*" bedeutet, alle Buffer
- beginnt ein Name mit '!' wird für diesen Buffer kein Filter genutzt
- Platzhalter "*" kann verwendet werden
tags: durch Kommata getrennte Liste von Schlagwörtern. Zum Beispiel: "irc_join,irc_part,irc_quit"
- logisch "und": mittels "+" zwischen den Tags (zum Beispiel: "nick_toto+irc_action")
- Platzhalter "*" kann verwendet werden
- wird ein Tag mit '!' eingeleitet, dann muss dieser Tag NICHT in der Nachricht enthalten sein
regex: erweiterter regulärer POSIX Ausdruck, um in einer Zeile zu suchen
- das Präfix (z.B. Nick) wird mittels '\t' von der Nachricht getrennt. Sonderzeichen wie '|' müssen mit einer Escapesequenz : '\|' eingebunden werden)
- wird ein regulärer Ausdruck mit '!' eingeleitet dann wird das übereinstimmende Ergebnis umgekehrt (nutze '\!' um mit '!' zu beginnen)
- es werden zwei reguläre Ausdrücke erstellt: Der erste für den Präfix und der zweite für die eigentliche Nachricht
- reguläre Ausdrücke unterscheiden nicht zwischen Groß- und Kleinschreibung. Um zwischen Groß- und Kleinschreibung zu unterscheiden müssen diese mit "(?-i)" eingeleitet werden.
list: alle Filter auflisten
enable: Filter wird aktiviert (Filter werden standardmäßig aktiviert)
disable: Filter deaktivieren
toggle: Filter umschalten
name: Name des Filters ("@" = aktiviert/deaktiviert alle Filter im aktuellen Buffer)
add: Filter hinzufügen
addreplace: erzeugt neuen Filter oder ersetzt einen schon existierenden Filter
rename: benennt einen Filter um
del: Filter entfernen
-all: entfernt alle Filter
buffer: durch Kommata getrennte Liste von Buffer in denen der Filter aktiv sein soll:
- ist der vollständige Name eines Buffer inklusive seiner Erweiterung (Beispiel: "irc.freenode.#weechat" oder "irc.server.freenode")
- "*" bedeutet, alle Buffer
- beginnt ein Name mit '!' wird für diesen Buffer kein Filter genutzt
- Platzhalter "*" kann verwendet werden
tags: durch Kommata getrennte Liste von Schlagwörtern. Zum Beispiel: "irc_join,irc_part,irc_quit"
- logisch "und": mittels "+" zwischen den Tags (zum Beispiel: "nick_toto+irc_action")
- Platzhalter "*" kann verwendet werden
- wird ein Tag mit '!' eingeleitet, dann muss dieser Tag NICHT in der Nachricht enthalten sein
regex: erweiterter regulärer POSIX Ausdruck, um in einer Zeile zu suchen
- das Präfix (z.B. Nick) wird mittels '\t' von der Nachricht getrennt. Sonderzeichen wie '|' müssen mit einer Escapesequenz : '\|' eingebunden werden)
- wird ein regulärer Ausdruck mit '!' eingeleitet dann wird das übereinstimmende Ergebnis umgekehrt (nutze '\!' um mit '!' zu beginnen)
- es werden zwei reguläre Ausdrücke erstellt: Der erste für den Präfix und der zweite für die eigentliche Nachricht
- reguläre Ausdrücke unterscheiden nicht zwischen Groß- und Kleinschreibung. Um zwischen Groß- und Kleinschreibung zu unterscheiden müssen diese mit "(?-i)" eingeleitet werden.
Mit der Tastenvoreinstellung alt+'=' kann die globale Filterfunktion (de-)aktiviert werden und alt+'-' (de-)aktiviert die Filterfunktion für den aktuellen Buffer.
@@ -658,7 +659,7 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
-core: Alternativname für "-buffer core.weechat"
-current: Text wird im aktuell genutzten Buffer ausgegeben
-y: schreibt den Text in die angegebene Zeile (nur bei Buffern mit freiem Inhalt)
line: Zeilennummer bei einem Buffer mit freiem Inhalt (erste Zeile ist 0, bei einer negative Zahl wird der Text nach der letzten Zeile eingefügt: -1 = nach der letzten Zeile, -2 = zwei Zeilen, nach der letzten Zeile, ...)
line: Zeilennummer bei einem Buffer mit freiem Inhalt (erste Zeile ist 0, bei einer negative Zahl wird der Text nach der letzten Zeile eingefügt: -1 = nach der letzten Zeile, -2 = zwei Zeilen, nach der letzten Zeile, usw.)
-escape: Escapesequenzen werden umgewandelt (zum Beispiel \a, \07, \x07)
-date: Datum der Nachricht, mögliche Formatierung:
-n: 'n' vor dem jetzigen Zeipunkt, in Sekunden
@@ -667,7 +668,7 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, Beispiel: 2014-01-19T04:32:55
time: hh:mm:ss (Beispiel: 04:32:55)
-tags: durch Kommata getrennte Liste von Tags (siehe /help filter für eine Liste von Tags die häufig genutzt werden)
text: Text der ausgegeben werden soll (Präfix und Nachricht muss durch \t getrennt werden)
text: Text der ausgegeben werden soll (Präfix und Nachricht muss durch \t getrennt werden, sollte der Text mit "-" beginnen, muss ein "\" vorangestellt werden)
-stdout: Text wird an stdout geschickt (Escapesequenzen werden umgewandelt)
-stderr: Text wird an stderr geschickt (Escapesequenzen werden umgewandelt)
-beep: Alias für "-stderr \a"
@@ -685,7 +686,7 @@ Beispiele:
zeigt eine Nachricht im Core-Buffer mit dem Präfix "abc" an:
/print -core abc\tmeine Nachricht
es wird eine Nachricht im Channel #weechat ausgegeben:
/print -buffer irc.freenode.#weechat Message on #weechat
/print -buffer irc.freenode.#weechat Nachricht an #weechat
gibt einen Schneemann aus (U+2603):
/print -escape \u2603
verschickt Alarm (BEL):
@@ -754,13 +755,18 @@ Ohne Angabe von Argumenten werden alle Konfigurationen (WeeChat und Erweiterunge
* `+repeat+`: führt einen Befehl mehrfach aus
----
/repeat [-interval <delay>] <count> <command>
/repeat [-interval <delay>[<unit>]] <count> <command>
delay: Verzögerung zwischen dem Ausführen der Befehle (in Millisekunden)
count: Anzahl wie oft der Befehl ausgeführt werden soll
command: Befehl welcher ausgeführt werden soll (das Befehlszeichen '/' wird automatisch hinzugefügt, falls es zum Befehlsbeginn nicht gefunden werden sollte)
delay: Verzögerung zwischen dem Ausführen der Befehle
unit: mögliche Werte (optional):
ms: Millisekunden
s: Sekunden (Vorgabewert)
m: Minuten
h: Stunden
count: Anzahl, wie oft der Befehl ausgeführt werden soll
command: Befehl welcher ausgeführt werden soll (oder ein Text der an einen Buffer gesendet werden soll, sofern der Befehl nicht mit '/' beginnt)
Alle Befehle werden in dem Buffer ausgeführt, in welchem dieser Befehl genutzt wird.
Hinweis: Der Befehl wird in dem Buffer ausgeführt, in welchem der /repeat Befehl ausgeführt wurde (sollte der Buffer nicht mehr existieren, wird der Befehl nicht ausgeführt).
Beispiel:
scrolle zwei Seiten hoch:
@@ -799,10 +805,10 @@ passphrase: ändern der Passphrase (ohne Passphrase, werden die Daten in der Dat
Ohne Angabe von Argumenten wird ein neuer Buffer geöffnet und die schutzwürdigen Informationen können dort eingesehen werden.
Tastenbefehle für den secure-Buffer:
alt+v Werte werden ein-ausgeblendet
alt+v Werte werden in Klartext angezeigt bzw. verborgen
Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat beim Start die Passphrase ab.
Es ist möglich eine Umgebungsvariable "WEECHAT_PASSPHRASE" zu setzen um die Eingabeaufforderung beim Programmstart zu vermeiden (diese Variable wird auch von WeeChat beim /upgrade verwendet).
Setzt man die Umgebungsvariable "WEECHAT_PASSPHRASE", kann die Eingabeaufforderung der Passphrase beim Programmstart vermieden werden (diese Variable wird von WeeChat auch beim /upgrade verwendet). Es ist auch möglich in der Option sec.crypt.passphrase_file eine Datei anzugeben die die Passphrase beinhaltet (siehe /help sec.crypt.passphrase_file)
schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt werden:
- Befehl /eval.
@@ -911,7 +917,7 @@ Es ist möglich die WeeChat-Sitzung auf einem anderen Rechner wiederherzustellen
----
[[command_weechat_uptime]]
* `+uptime+`: Zeigt die Uptime von Weechat an
* `+uptime+`: Zeigt die Uptime von WeeChat an
----
/uptime [-o | -ol]
@@ -944,9 +950,9 @@ Um diesen Befehl in jedem Buffer ausführen zu können, kann der Standardkurzbef
s: Sekunden (Vorgabewert)
m: Minuten
h: Stunden
command: Befehl der ausgeführt werden soll (ohne das führende '/') oder ein Text der in dem Buffer ausgegeben werden soll
command: Befehl welcher ausgeführt werden soll (oder ein Text der an einen Buffer gesendet werden soll, sofern der Befehl nicht mit '/' beginnt)\n
Hinweis: Der Befehl der zeitverzögert gestartet werden soll wird im selben Buffer ausgeführt in dem auch der /wait Befehl aufgerufen wurde. Falls der Buffer nicht gefunden werden kann, da er in der Zwischenzeit zum Beispiel geschlossen wurde, wird der Befehl im WeeChat Core-Buffer ausgeführt.
Hinweis: Der Befehl wird in dem Buffer ausgeführt, in welchem der /wait Befehl ausgeführt wurde (sollte der Buffer nicht mehr existieren, wird der Befehl nicht ausgeführt).
Beispiele:
Betritt nach 10 Sekunden den Channel #test:
+15 -3
View File
@@ -420,7 +420,7 @@
** Beschreibung: pass:none[fügt eine Zeichenkette hinter die Nick-Vervollständigung ein (sofern ein Nickname das erste Wort in der Kommandozeile ist)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+":"+`
** Standardwert: `+": "+`
* [[option_weechat.completion.nick_first_only]] *weechat.completion.nick_first_only*
** Beschreibung: pass:none[es wird ausschließlich mit dem ersten, passendem Nick-Namen vervollständigt]
@@ -596,6 +596,12 @@
** Werte: beliebige Zeichenkette
** Standardwert: `+"%H:%M:%S"+`
* [[option_weechat.look.buffer_time_same]] *weechat.look.buffer_time_same*
** Beschreibung: pass:none[Uhrzeit die bei einer Nachricht dargestellt werden soll, sofern die Uhrzeit der vorherigen Nachricht entspricht: bei einem Leerzeichen " " wird keine Uhrzeit angezeigt, oder man kann eine Zeichenkette anstelle der Uhrzeit anzeigen, keine Zeichenkette deaktiviert diese Funktion (Uhrzeit wird angezeigt) (Hinweis: Inhalt wird evaluiert, es kann z.B. eine Farbe mittels dem Format "${color:xxx}" angegeben werden, siehe /help eval)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
* [[option_weechat.look.color_basic_force_bold]] *weechat.look.color_basic_force_bold*
** Beschreibung: pass:none[erzwingt das Textattribut "fett" für helle Farben und "darkgray", um diese Farben stärker hervorzuheben (diese Einstellung ist standardmäßig deaktiviert: "fett" findet ausschließlich dann Verwendung falls das Terminal weniger als 16 Farben zur Verfügung stellt)]
** Typ: boolesch
@@ -921,7 +927,7 @@
** Standardwert: `+djb2+`
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
** Beschreibung: pass:none[Zeichen die genutzt werden sollen damit bei der Generierung der Farbe für einen Nicknamen abgebrochen wird. Es muss mindestens ein Zeichen im Nicknamen enthalten sein der nicht in dieser Liste aufgeführt wird, damit eine Farbe für den Nicknamen erstellt werden kann (Beispiel: Der Nickname lautet "|nick|abwesend" wobei das Zeichen "|" ignoriert werden soll. Die Farbe für den Nicknamen wird nun für "|nick" anstelle von "|nick|abwesend" erstellt)]
** Beschreibung: pass:none[Zeichen die genutzt werden sollen damit bei der Generierung der Farbe für einen Nicknamen abgebrochen wird. Es muss mindestens ein Zeichen im Nicknamen enthalten sein der nicht in dieser Liste aufgeführt wird, damit eine Farbe für den Nicknamen erstellt werden kann (Beispiel: Der Nickname lautet "|nick|abwesend" wobei das Zeichen "|" ignoriert werden soll. Die Farbe für den Nicknamen wird nun für "|nick" anstelle von "|nick|abwesend" erstellt); diese Option hat einen Einfluss auf die Option weechat.look.nick_color_force, dort aufgeführte Nicks sollten keine Zeichen haben, die von dieser Option ignoriert werden]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"_|["+`
@@ -1047,7 +1053,13 @@
** Standardwert: `+"<--"+`
* [[option_weechat.look.prefix_same_nick]] *weechat.look.prefix_same_nick*
** Beschreibung: pass:none[setzt ein Präfix welches anstelle des Nicks der Nachricht vorangestellt wird, sofern die vorherige Nachricht von dem selben Nick geschrieben wurde. Wird ein Leerzeichen (" ") genutzt, dann wird der Nachricht kein Präfix vorangestellt. Um diese Funktion zu deaktivieren und den Nick als Präfix zu nutzen darf keine Zeichenkette angegeben werden]
** Beschreibung: pass:none[setzt ein Präfix welches anstelle des Nicks der Nachricht vorangestellt wird, sofern die vorherige aber nicht die nachfolgende Nachricht von dem selben Nick geschrieben wurde. Wird ein Leerzeichen (" ") genutzt, dann wird der Nachricht kein Präfix vorangestellt. Um diese Funktion zu deaktivieren und den Nick als Präfix zu nutzen, einfach keine Zeichenkette angeben]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
* [[option_weechat.look.prefix_same_nick_middle]] *weechat.look.prefix_same_nick_middle*
** Beschreibung: pass:none[setzt ein Präfix welches anstelle des Nicks der Nachricht vorangestellt wird, sofern die vorherige und die nachfolgende Nachricht von dem selben Nick geschrieben wurde. Wird ein Leerzeichen (" ") genutzt, dann wird der Nachricht kein Präfix vorangestellt. Um diese Funktion zu deaktivieren und den Nick als Präfix zu nutzen, einfach keine Zeichenkette angeben]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+""+`
+7 -1
View File
@@ -164,7 +164,13 @@
** Werte: on, off
** Standardwert: `+on+`
* [[option_xfer.network.speed_limit]] *xfer.network.speed_limit*
* [[option_xfer.network.speed_limit_recv]] *xfer.network.speed_limit_recv*
** Beschreibung: pass:none[Begrenzt die Übertragungsgeschwindigkeit beim Empfang, in Kilobytes pro Sekunde (0 = keine Begrenzung)]
** Typ: integer
** Werte: 0 .. 2147483647
** Standardwert: `+0+`
* [[option_xfer.network.speed_limit_send]] *xfer.network.speed_limit_send*
** Beschreibung: pass:none[Begrenzt die Übertragungsgeschwindigkeit beim Versenden, in Kilobytes pro Sekunde (0 = keine Begrenzung)]
** Typ: integer
** Werte: 0 .. 2147483647
+11
View File
@@ -15,6 +15,17 @@
Wird diese Option nicht genutzt, wird die Umgebungsvariable WEECHAT_HOME genutzt
(sofern diese vorhanden ist).
*-t*, *--temp-dir*::
Erstellt ein temporäres WeeChat Heimatverzeichnis welches beim Beenden gelöscht wird
(nicht nutzbar mit Option "-d"). +
Der Name des Verzeichnisses wird automatisch durch WeeChat vergeben, die Vorgabe für
den Namen lautet: "weechat_temp_XXXXXX" ("XXXXXX" ist dabei ein zufälliger Wert).
Dieses Verzeichnis wird dann im ersten möglichen Verzeichnis angelegt und anhand folgender
Reihenfolge bestimmt: Umgebungsvariable "TMPDIR", "/tmp" (kann abweichend sein, abhängig
vom verwendeten Betriebssystem), Umgebungsvariable "HOME", aktuelles Verzeichnis. +
Das temporäre Heimatverzeichnis besitzt die Berichtigung 0700 (nur Besitzer kann lesen,
schreiben und ausführen).
*-h*, *--help*::
zeigt einen Hilfstext an.
+13
View File
@@ -0,0 +1,13 @@
*--no-dlclose*::
die Funktion dlclose wird nicht ausgeführt, nachdem Erweiterungen beendet wurden
Dies ist sinnvoll für Tools wie Valgrind um den Stack für Erweiterungen anzuzeigen,
welche beendet wurden.
*--no-gnutls*::
Es wird die init und deinit Funktion der GnuTLS Bibliothek nicht verwendet.
Dies ist sinnvoll für Tools wie Valgrind und electric-fence, um GnuTLS
Speicherfehler zu vermeiden.
*--no-gcrypt*::
Es wird die init und deinit Funktion der Gcrypt Bibliothek nicht verwendet.
Dies ist sinnvoll für Tools wie Valgrind um Speicherfehler von Gcrypt zu vermeiden.
+1 -1
View File
@@ -1,7 +1,7 @@
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
findet man in der AUTHORS.adoc Datei).
Copyright (C) 2003-2018 {author}
Copyright (C) 2003-2019 {author}
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
+3 -3
View File
@@ -10,9 +10,6 @@ $HOME/.weechat/sec.conf::
$HOME/.weechat/alias.conf::
Konfigurationsdatei für _alias_ Erweiterung
$HOME/.weechat/aspell.conf::
Konfigurationsdatei für _aspell_ Erweiterung
$HOME/.weechat/buflist.conf::
Konfigurationsdatei für _buflist_ Erweiterung
@@ -61,6 +58,9 @@ $HOME/.weechat/ruby.conf::
$HOME/.weechat/script.conf::
Konfigurationsdatei für _script_ Erweiterung
$HOME/.weechat/spell.conf::
Konfigurationsdatei für _spell_ Erweiterung
$HOME/.weechat/tcl.conf::
Konfigurationsdatei für _tcl_ Erweiterung
+8 -2
View File
@@ -13,7 +13,7 @@ weechat-headless - der erweiterbare Chat Client (headless version)
== SYNOPSIS
[verse]
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -33,7 +33,13 @@ zu starten. Dazu nutzt man die Option "--daemon".
include::cmdline_options.de.adoc[]
== OPTIONEN von ERWEITERUNGEN
== DEBUG-OPTIONEN
*WARNUNG:* Diese Optionen sind lediglich für Debug-Zwecke *DIESE FUNKTIONEN SOLLTE NICHT IM PRODUKTIVEM EINSATZ GENUTZT WERDEN!*
include::cmdline_options_debug.de.adoc[]
== OPTIONEN VON ERWEITERUNGEN
include::man_plugin_options.de.adoc[]
+8 -2
View File
@@ -13,7 +13,7 @@ weechat - der erweiterbare Chat Client
== SYNOPSIS
[verse]
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -29,7 +29,13 @@ Durch Skripten ist das Hauptprogramm äußerst flexibel und erweiterbar.
include::cmdline_options.de.adoc[]
== OPTIONEN von ERWEITERUNGEN
== DEBUG-OPTIONEN
*WARNUNG:* Diese Optionen sind lediglich für Debug-Zwecke *DIESE FUNKTIONEN SOLLTE NICHT IM PRODUKTIVEM EINSATZ GENUTZT WERDEN!*
include::cmdline_options_debug.de.adoc[]
== OPTIONEN VON ERWEITERUNGEN
include::man_plugin_options.de.adoc[]
+148 -65
View File
@@ -36,10 +36,9 @@ Aber diese Bedeutung trifft nicht auf WeeChat zu!)
[[why_choose_weechat]]
=== Weshalb sollte man WeeChat nutzen? - X-Chat und Irssi sind doch auch sehr gut...
WeeChat ist sehr Speicher schonend und besticht durch innovative Funktionen.
WeeChat ist sehr speicherschonend und besticht durch innovative Funktionen.
Weitere Informationen gibt es auf der folgenden Internetseite:
https://weechat.org/about/features
Weitere Informationen findet man auf der WeeChat Seite: https://weechat.org/about/features
[[compilation_install]]
== Kompilierung / Installation
@@ -53,11 +52,13 @@ https://weechat.org/about/interfaces
[[compile_git]]
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
Es wird empfohlen cmake zum kompilieren von WeeChat zu nutzen.
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[cmake] zum
kompilieren von WeeChat zu nutzen.
Falls Du WeeChat mit Hilfe der autotools kompilieren solltest (dich also nicht
für cmake entscheidest), stelle sicher, dass Du die neueste Version von autoconf
und automake besitzt.
Falls Du WeeChat mit Hilfe der
link:weechat_user.de.html#compile_with_autotools[autotools] kompilieren solltest
(dich also nicht für cmake entscheidest), stelle sicher, dass Du die neueste
Version von autoconf und automake besitzt.
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren, denn dies
besitzt weniger Abhängigkeiten. Das Paket wird quasi täglich aus dem git Repository erstellt.
@@ -65,10 +66,10 @@ Beachte, dass dieses Paket nicht immer exakt mit dem git Repository übereinstim
und daher auch weniger brauchbar sein kann. Im Gegensatz zu der Möglichkeit, dass man selbst
das Repository klont und daraus Updates installiert.
[[compile_osx]]
=== Wie installiere ich WeeChat auf OS X?
[[compile_macos]]
=== Wie installiere ich WeeChat auf macOS?
Wir empfehlen, dass zur Installation http://brew.sh/[Homebrew] genutzt wird.
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew] genutzt wird.
Hilfe erhält man mittels:
----
@@ -84,11 +85,11 @@ brew install weechat --with-aspell --with-curl --with-python --with-perl --with-
[[lost]]
=== Ich habe WeeChat gestartet, komme aber nicht mehr weiter - was kann ich tun?
Um Hilfe zu erhalten, nutze den `/help` Befehl. Eine Hilfe zu einem Befehl erhältst
Du durch die Eingabe von: `/help Befehlsname`.
Befehle sowie die Belegung der jeweiligen Tasten sind in der Dokumentation
beschrieben. (Tipp: Mit den Tasten <Bild-hoch>/<Bild-runter> kann man seitenweise
in den Buffern blättern)
Um Hilfe zu erhalten, nutze den `/help` Befehl, denn jeder Befehl besitzt einen
Hilfstext den man sich durch folgende Eingabe anzeigen lassen kann: `/help Befehlsname`.
link:weechat_user.de.html#key_bindings[Benutzeranleitung / Tastenbelegungen] und
link:weechat_user.de.html#commands_and_options[Befehle und Optionen] sind in der
Dokumentation aufgeführt.
Neuen Anwendern wird empfohlen die link:weechat_quickstart.de.html[Quickstart Anleitung] zu lesen.
@@ -98,9 +99,8 @@ Neuen Anwendern wird empfohlen die link:weechat_quickstart.de.html[Quickstart An
[[charset]]
=== Bei einigen Zeichen fehlen die Akzente. Wie kann ich das beheben?
Dies ist ein bekanntes Problem. Aus diesem Grund sollten die folgenden Punkte
sorgfältig durchgelesen und *alle* aufgezeigten Lösungsmöglichkeiten überprüft
werden:
Dies ist ein bekanntes Problem und kann viele Ursachen haben, deshalb ist wichtig
das man *ALLE* Lösungsmöglichkeiten prüft:
* überprüfe, ob WeeChat mit libncursesw verlinkt ist (Warnung: Dies ist bei den
meisten Distributionen nötig - jedoch nicht bei allen): `ldd /path/to/weechat`
@@ -120,11 +120,12 @@ werden:
** Solltest Du screen nutzten, prüfe ob screen im UTF-8 Modus läuft
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum starten von
screen)
* überprüfe die Option _weechat.look.eat_newline_glitch_ (diese Option kann zu
Darstellungsfehlern führen, wenn sie aktiviert ist)
* überprüfe die Option
link:weechat_user.de.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
(diese Option kann schwerwiegenden Darstellungsfehler verursachen, wenn man die Option aktiviert hat)
[NOTE]
Für Weechat wird die Nutzung von UTF-8 locale empfohlen. Nutzt Du jedoch ISO
Für WeeChat wird die Nutzung von UTF-8 locale empfohlen. Nutzt Du jedoch ISO
oder andere locale, bitte vergewissere Dich, dass *alle* Deine Einstellungen
(Terminal, screen, ...) sich auch auf ISO beziehen und *nicht* auf UTF-8.
@@ -159,7 +160,7 @@ Abhängig davon von wo WeeChat gestartet wird solltest Du folgenden Wert nutzen:
Falls nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
[[screen_weird_chars]]
=== Wenn ich Weechat mit screen/tmux nutze habe ich merkwürdige Zeichen, wie kann ich dies beheben?
=== Wenn ich WeeChat mit screen/tmux nutze habe ich merkwürdige Zeichen, wie kann ich dies beheben?
Dies kann durch einen falschen Wert in der TERM-Umgebungsvariable Deiner Shell hervorgerufen
werden. Bitte überprüfe die Ausgabe von `echo $TERM` in Deinem Terminal (*außerhalb von screen/tmux*). +
@@ -170,13 +171,13 @@ Falls notwendig korrigiere den Wert Deiner TERM-Variable: `export TERM="xxx"`.
Wird das gnome-terminal genutzt sollte unter Bearbeiten/Profileinstellungen/Kompatibilität
die Option "Zeichen mit unbekannter Breite" auf `schmal` stehen.
[[osx_display_broken]]
=== Ich habe WeeChat unter OS X kompiliert und erhalte nur "(null)" als Textausgabe. Was läuft da schief?
[[macos_display_broken]]
=== Ich habe WeeChat unter macOS kompiliert und erhalte nur "(null)" als Textausgabe. Was läuft da schief?
Wenn Du ncursesw selber kompiliert haben solltest dann probiere einmal die Standard ncurses aus, welche
mit dem System ausgeliefert wird.
Darüber hinaus ist es unter OS X ratsam WeeChat mittels des Homebrew package manager zu installieren.
Darüber hinaus ist es unter macOS ratsam WeeChat mittels des Homebrew package manager zu installieren.
[[buffer_vs_window]]
=== Ich habe von "Buffern" und "Fenstern" gehört - Worin besteht der Unterschied?
@@ -187,14 +188,15 @@ In einem _Buffer_ werden Textzeilen angezeigt (und noch anderen Daten).
Ein _Fenster_ ist ein Bildschirmbereich der Buffer darstellt. Es ist möglich
den Bildschirm in mehrere Fenster aufzuteilen.
Jedes Fenster stellt einen Buffer dar. Ein Buffer kann unsichtbar sein (er wird
in einem Fenster nicht angezeigt). Oder ein Buffer wird durch ein oder mehrere Fenster
angezeigt.
In jedem Fenster wird entweder ein Buffer oder ein zusammengefügter Buffer dargestellt.
Ein Buffer kann entweder versteckt sein (wird nicht durch ein Fenster angezeigt) oder
von einem oder mehreren Fenstern gleichzeitig angezeigt werden.
[[buffers_list]]
=== Wie kann ich eine Liste mit den Buffern z.B. auf der linken Seite anzeigen lassen?
Ab WeeChat ≥ 1.8 wird standardmäßig die "buflist" Erweiterung automatisch geladen und verwendet.
Ab WeeChat ≥ 1.8 wird standardmäßig die link:weechat_user.de.html#buflist_plugin[buflist]
Erweiterung automatisch geladen und verwendet.
bei älteren Versionen kann das Skript _buffers.pl_ installiert werden:
@@ -218,8 +220,9 @@ Um die Bar an den unteren Rand zu bewegen:
Um in der Bar zu scollen; wenn die Maus aktiviert ist (Taste: kbd:[Alt+m]), kann
mit dem Mausrad gescrollt werden.
Standardtastenbelegung zum scrollen der _buflist_ Bar: kbd:[F1], kbd:[F2], kbd:[Alt+F1]
und kbd:[Alt+F2].
Standardtastenbelegung zum scrollen der _buflist_ Bar: kbd:[F1]
(oder kbd:[Ctrl+F1]), kbd:[F2] (oder kbd:[Ctrl+F2]), kbd:[Alt+F1] und
kbd:[Alt+F2].
Beim Skript _buffers.pl_ können entsprechende Tasten definiert werden die vergleichbar
mit den vorhanden Tasten für die Nicklist sind +
@@ -256,21 +259,21 @@ um die Ausrichtung für Nicks zu entfernen:
Dabei handelt es sich um die sogenannte "hotlist", eine Auflistung der
Buffer mit der Anzahl der ungelesenen Nachrichten. Die Reihenfolge ist:
highlights, private Nachrichten, Nachrichten, Nachrichten mit niedriger
Priorität (z.B. join/part). +
highlights (hervorgehobene Nachrichten), private Nachrichten, Nachrichten,
Nachrichten mit niedriger Priorität (z.B. join/part). +
Die Anzahl der "ungelesen Nachrichten" ist die Anzahl der neuen Nachrichten
die man empfangen hat bzw. angezeigt werden seitdem man den Buffer
das letzte mal betreten hat.
Im Beispiel `[H: 3(1,8), 2(4)]`, handelt es sich um:
* eine highlight Nachricht und 8 ungelesene Nachrichten im Buffer #3
* 1 highlight (hervorgehobene) Nachricht und 8 ungelesene Nachrichten im Buffer #3
* 4 ungelesene Nachrichten im Buffer #2.
Die Farbe des Buffers/Zählers hängt ab um welche Art von Nachrichten es
sich handelt. Standardfarben:
* highlight: `lightmagenta` / `magenta`
* highlight (hervorgehobene Nachricht): `lightmagenta` / `magenta`
* private Nachrichten: `lightgreen` / `green`
* Nachrichten: `yellow` / `brown`
* Nachrichten mit niedriger Priorität: `default` / `default` (Textfarbe des Terminal)
@@ -328,7 +331,8 @@ werden sollte:
[[terminal_copy_paste]]
=== Wie kann ich einen Text kopieren und einfügen ohne das die Nickliste (Benutzerliste) mit kopiert wird?
Ab WeeChat ≥ 1.0 kann ein einfacher Anzeigemodus genutzt werden (Standardtastenbelegung: kbd:[Alt+l]).
Seit WeeChat ≥ 1.0 gibt es einen neuen Anzeigemodus (Standardtastenbelegung: kbd:[Alt+l] (`L`)), der dazu genutzt
werden kann um den Inhalt des aktuellen Fensters ohne eine Formatierung anzeigen zu lassen.
Hierzu kannst Du ein Terminal nutzen welches Block-Auswahl erlaubt (wie z.B. rxvt-unicode,
konsole, gnome-terminal, ...). Im Normalfall erfolgt die Markierung mittels der Tasten
@@ -344,7 +348,7 @@ Bildschirm zu positionieren:
[[urls]]
=== Wie kann ich eine URL aufrufen die einen Zeilenumbruch besitzt?
Ab WeeChat ≥ 1.0 kann ein einfacher Anzeigemodus genutzt werden (Standardtastenbelegung: kbd:[Alt+l]).
Ab WeeChat ≥ 1.0 kann ein einfacher Anzeigemodus genutzt werden (Standardtastenbelegung: kbd:[Alt+l] (`L`)).
Um URLs einfacher zu öffnen:
@@ -385,7 +389,7 @@ Eine weitere Möglichkeit ist, ein Skript zu nutzen:
----
[[change_locale_without_quit]]
=== Ich möchte die Meldungen von Weechat in einer anderen Sprache ausgeben lassen, ohne WeeChat zu beenden. Ist dies möglich?
=== Ich möchte die Meldungen von WeeChat in einer anderen Sprache ausgeben lassen, ohne WeeChat zu beenden. Ist dies möglich?
Ja, mit WeeChat ≥ 1.0:
@@ -481,6 +485,12 @@ Zusätzlich sollten noch zwei Tastenbefehle eingebunden werden (der Befehl
/key bind meta2-O /print -core unfocus
----
Um zum Beispiel Buffer als gelesen zu markieren wenn das Terminal den Fokus verlieren sollte:
----
/key bind meta2-O /input set_unread
----
[[screen_paste]]
=== Wird WeeChat in screen ausgeführt, kommt es vor das dem eingefügten Text in einem anderen screen Fenster ~0 und ~1 hinzugefügt wird, weshalb?
@@ -516,7 +526,7 @@ UXTerm*metaSendsEscape: true
Danach muss resources neu geladen werden (`xrdb -override ~/.Xresources`) oder
man startet X neu.
Sollte die Mac OS X Terminal Applikation genutzt werden, empfiehlt es sich
Sollte die macOS Terminal Applikation genutzt werden, empfiehlt es sich
die Option "Use option as meta key" in den Menü-Einstellungen zu aktivieren. Dadurch
kann man die kbd:[Option] Taste als Meta-Taste verwenden.
@@ -623,7 +633,7 @@ einen Text im Terminal markieren oder einfügen, als sei die Mausunterstützung
[[irc_ssl_connection]]
=== Es treten Probleme bei einer Serververbindung mittels SSL auf. Was kann ich tun?
Falls Mac OS X genutzt wird muss mittels Homebrew `openssl` installiert werden.
Falls macOS genutzt wird muss mittels Homebrew `openssl` installiert werden.
Ein CA Datei wird mittels Zertifikaten vom Systemschlüssel geladen.
Der Pfad zu den Zertifikaten kann in WeeChat eingestellt werden:
@@ -673,7 +683,7 @@ Die Option _weechat.network.gnutls_ca_file_ sollte auf die Zertifikationsdatei z
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
----
Hinweis: Falls man homebrew openssl unter OS X installiert hat, empfiehlt sich:
Hinweis: Falls man homebrew openssl unter macOS installiert hat, empfiehlt sich:
----
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
@@ -724,6 +734,35 @@ werden um sich, vor dem Betreten von Channels, bei "nickserv" zu identifizieren:
/set irc.server.freenode.command_delay 5
----
[[edit_autojoin]]
=== Wie kann ich Channels zur autojoin Option entfernen/hinzufügen?
Dazu kann der `/set` Befehl genutzt werden um die Liste der autojoin Channels
zu editieren, zum Beispiel für den "freenode" Server:
----
/set irc.server.freenode.autojoin [TAB]
----
[NOTE]
Man kann den Namen oder den Wert einer Option mit kbd:[Tab] vervollständigen
(oder mittels kbd:[Shift+Tab] eine teilweise Vervollständigung durchführen,
was bei Namen sinnvoll ist). + Damit braucht man nicht die komplette Liste
der Channels schreiben.
Es kann auch der `/fset` Befehl verwendet werden um die Liste der Channels
zu editieren:
----
/fset autojoin
----
oder man nutzt ein Skript:
----
/script search autojoin
----
[[ignore_vs_filter]]
=== Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
@@ -732,10 +771,10 @@ Der Befehl `/ignore` ist ein IRC-Befehl und beeinflusst somit nur die IRC-Buffer
Durch den Befehl kann man bestimmte Nicks oder Hostnamen von Usern eines Servers oder
von Channels ignorieren (Der Befehl wird nicht auf den Inhalt der Meldung angewandt).
Zutreffende Meldungen werden, bevor sie angezeigt werden, von der IRC-Erweiterung gelöscht
(Du wirst sie niemals zu Gesicht bekommen).
(diese Nachrichten werden nicht angezeigt und können auch nicht rückwirkend angezeigt werden,
auch wenn man die Ignorierung entfernt).
Der Befehl `/filter` ist ein Kern-Befehl (A.d.Ü.: wird in WeeChat ausgeführt und
nicht an den Server gesendet) und beeinflusst somit jeden Buffer.
Der `/filter` Befehl ist ein WeeChat core Befehl und findet somit Anwendung auf alle Buffer.
Dieser Befehl eröffnet die Möglichkeit bestimmte Zeilen in Buffern, mittels Tags und
regulären Ausdrücken nach Präfix und Zeileninhalt zu filtern.
Die Zeilen werden dabei nicht gelöscht, lediglich die Darstellung im Buffer wird unterdrückt.
@@ -743,7 +782,7 @@ Die gefilterten Zeilen können zu jeder Zeit dargestellt werden indem man den Fi
(Voreinstellung zum aktivieren/deaktivieren der Filter: kbd:[Alt+=]).
[[filter_irc_join_part_quit]]
=== Wie kann ich join/part/quit Meldungen in den IRC Channels filtern (A.d.ü.: unterdrücken)?
=== Wie kann ich join/part/quit Meldungen in den IRC Channels filtern/unterdrücken?
Zum einen mit dem Smart-Filer (join/part/quit Meldungen werden von Usern angezeigt die kürzlich
noch etwas geschrieben haben):
@@ -760,7 +799,8 @@ zum anderen mit einer globalen Filterung (*alle* join/part/quit Nachrichten werd
----
[NOTE]
Für weitere Hilfe: `/help filter` und `/help irc.look.smart_filter`
Für weitere Hilfe: `/help filter`, `/help irc.look.smart_filter` und
link:weechat_user.de.html#irc_smart_filter_join_part_quit[Benutzeranleitung / einfacher Filter für join/part/quit Nachrichten].
[[filter_irc_join_channel_messages]]
=== Wie kann ich Server-Nachrichten filtern wenn ich einen IRC Channel betrete?
@@ -831,17 +871,17 @@ Teilnehmer haben:
----
[NOTE]
Für Weechat ≤ 0.3.3, lauten die Optionen _irc.network.away_check_ und
Für WeeChat ≤ 0.3.3, lauten die Optionen _irc.network.away_check_ und
_irc.network.away_check_max_nicks_.
[[highlight_notification]]
=== Wie kann ich mich benachrichtigen lassen, falls mich jemand in einem Channel highlighted
=== Wie kann ich mich benachrichtigen lassen, falls mich jemand in einem Channel direkt anspricht (highlight)?
Seit WeeChat ≥ 1.0 gibt es standardmäßig einen Trigger, "beep", der an das Terminal
ein _BEL_ Signal schickt, sobald man eine highlight oder private Nachricht erhält.
Nun muss man lediglich im Terminalprogramm (oder einem Multiplexer wie screen/tmux)
einstellen welcher Befehl ausgeführt werden soll, sobald das Terminal das _BEL_
Signal erhält.
ein _BEL_ Signal schickt, sobald man eine highlight (hervorgehobene) oder private
Nachricht erhält. Nun muss man lediglich im Terminalprogramm (oder einem Multiplexer
wie screen/tmux) einstellen welcher Befehl ausgeführt werden soll, sobald das Terminal
das _BEL_ Signal erhält.
Oder man führt im Trigger "beep" direkt einen Befehl aus:
@@ -864,6 +904,44 @@ andere Skripten die auch zu diesem Thema passen:
/script search notify
----
[[disable_highlights_for_specific_nicks]]
=== Wie kann ich Highlights (Hervorhebungen) von bestimmten Nicks deaktivieren?
Ab WeeChat ≥ 0.3.4 kann man eine Eigenschaft
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
für den entsprechenden Buffer setzen. Dies kann für einzelne Nicks, nach Buffer
oder Gruppen von Buffer (z.B. IRC Server) gelten.
Um nun Highlights (Hervorhebungen) für bestimmte Nicks zu deaktivieren, muss
man die entsprechende Eigenschaft auf 2 setzen:
----
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
----
Diese Buffereigenschaft wird aber nicht permanent in der Konfiguration
gespeichert. Um diese Eigenschaften permanent zu verwenden, muss man
das Skript _buffer_autoset.py_ nutzen:
----
/script install buffer_autoset.py
----
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Channel
#weechat auf dem IRC Server freenode zu deaktivieren:
----
/buffer_autoset add irc.freenode.#weechat hotlist_max_level_nicks_add mike:2
----
Um dies auf den kompletten freenode Server anzuwenden:
----
/buffer_autoset add irc.freenode hotlist_max_level_nicks_add mike:2
----
für weitere Beispiele, siehe `/help buffer_autoset`.
[[irc_target_buffer]]
=== Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
@@ -887,8 +965,9 @@ Um dies zu beheben muss folgendes konfiguriert werden:
[[install_scripts]]
=== Wie kann ich Skripten installieren? Sind Skripten kompatibel mit anderen IRC Clients?
Zum installieren und verwalten von Skripten kann der Befehl `/script` genutzt werden
(siehe `/help script` für eine Hilfe).
Seit WeeChat ≥ 0.3.9 gibt es den Befehl `/script` um Skripten zu installieren und zu verwalten
(siehe `/help script` um eine Hilfe zu erhalten). Nutzt man eine ältere Version von WeeChat
kann man die Skripten weeget.py und script.pl nutzen.
Die Skripten für WeeChat sind mit anderer IRC-Clients nicht kompatibel und vice versa.
@@ -899,7 +978,6 @@ Als erstes sollte das Kapitel über SSL Verbindungen in dieser FAQ gelesen werde
(besonders über die Option _weechat.network.gnutls_ca_file_).
Sollte das nicht helfen, sollte man manuell die Skriptliste löschen (in der shell):
If still not working, try to manually delete the scripts file (in your shell):
----
$ rm ~/.weechat/script/plugins.xml.gz
@@ -911,9 +989,9 @@ danach sollte man noch mal versuchen die Datei herunter zu laden:
/script update
----
Tritt weiterhin der Fehler auf dann muss in WeeChat das automatische Update
der Datei deaktiviert werden und die Datei muss manuell aus einer Shell
herunter geladen werden (das bedeutet das man manuell für Updates zuständig ist):
Sollte der Fehler noch immer auftreten, dann sollte man die automatische Updatefunktion
in WeeChat deaktivieren und die Daten manuell runter laden (das bedeutet das man
selber seine Skripten aktuell halten muss):
* in WeeChat:
@@ -928,15 +1006,19 @@ $ cd ~/.weechat/script
$ curl -O https://weechat.org/files/plugins.xml.gz
----
[[aspell_dictionaries]]
[[spell_dictionaries]]
=== Ich habe aspell Wörterbücher auf mein System installiert. Wie kann ich diese nutzen, ohne WeeChat neu starten zu müssen?
Du braucht lediglich die aspell Erweiterung neu zu laden:
Du braucht lediglich die spell Erweiterung neu zu laden:
----
/plugin reload aspell
/plugin reload spell
----
[NOTE]
Bis WeeChat ≤ 2.4, hieß die "spell" Erweiterung, "aspell". Somit lautet der Befehl:
`/plugin reload aspell`.
[[settings]]
== Einstellungen
@@ -968,9 +1050,9 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
weniger Speicherlecks besitzt, als eine vorherige Version)
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Buflist,
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Xfer (wird für
DCC benötigst)
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: Buflist,
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Spell, Xfer
(wird für DCC benötigst), siehe `/help weechat.plugin.autoload`.
* installiere ausschließlich Skripten die Du auch nutzt
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
Fall, einfach den Eintrag in folgender Option leer lassen:
@@ -990,7 +1072,7 @@ und zusätzlich diese Tipps beherzigen:
* die Sekundenanzeigen in der Statusbar sollte deaktiviert werden:
`/set weechat.look.item_time_format "%H:%M"` (dies ist die Standardeinstellung)
* die Echtzeit Rechtschreibkorrektur sollte deaktiviert werden (falls sie aktiviert wurde):
`/set aspell.check.real_time off`
`/set spell.check.real_time off`
* die Umgebungsvariable _TZ_ sollte gesetzt sein (zum Beispiel: `export TZ="Europe/Berlin"`). Dadurch wird
verhindert, dass auf die Datei _/etc/localtime_ häufig zugegriffen wird.
@@ -1027,6 +1109,7 @@ Definiere eine Passphrase und nutze ausschließlich geschützte Daten wann immer
es möglich ist, wie z.B. bei Passwörtern: siehe `/help secure` und nutze `/help`
bei der entsprechenden Option (falls man geschützte Daten nutzen kann, wird es
im Hilfstext erwähnt).
Siehe auch link:weechat_user.de.html#secured_data[Benutzeranleitung / sensible Daten].
Beispiel:
+14 -11
View File
@@ -28,8 +28,8 @@ Programmstart aus Deiner shell:
$ weechat
----
[[help_options]]
== Online-Hilfe / Optionen
[[help]]
== Online-Hilfe
Für jeden Befehl bietet WeeChat eine Hilfe an:
@@ -44,16 +44,25 @@ zu lassen:
/help Befehl
----
Um Optionen zu setzen benutzt man:
Für Optionen kann man ebenso eine Hilfe anfordern:
----
/set config.section.option Wert
/help config.section.option
----
(dabei ist _config_ der Konfigurationsname (_weechat_ für den Kern von weechat,
oder der Name einer Erweiterung), _section_ ein Abschnitt dieser Konfiguration und _option_
der Name der entsprechenden Option).
[[options]]
== Optionen verändern
Um Optionen zu setzen benutzt man:
----
/set config.section.option Wert
----
WeeChat verwendet umgehend einen neu eingestellten Wert (WeeChat muss also zu *keinem* Zeitpunkt
neu gestartet werden, nach dem die Konfiguration verändert wurde).
@@ -69,12 +78,6 @@ bevor man diese ggf. gesichert hat `/save`). +
Aus diesen Gründen sollte immer der `/set` Befehl genutzt werden, da
zusätzlich auch die Eingabe auf Plausibilität geprüft wird und Änderungen sofort wirksam werden.
Hilfe ist für Optionen verfügbar:
----
/help config.section.option
----
Mit der _fset_ Erweiterung kann man sehr einfach Optionen finden und diese
den eigenen Bedürfnissen anpassen.
@@ -121,7 +124,7 @@ Um eine Verbindung zu einem IRC Server herzustellen wird der
/server add freenode chat.freenode.net
----
In dieser Zeile ist `freenode` der interne Servername der von Weechat genutzt wird:
In dieser Zeile ist `freenode` der interne Servername der von WeeChat genutzt wird:
Damit ist es möglich sich mit dem Server zu verbinden `/connect freenode` und um
die Server relevanten Optionen anzupassen _irc.server.freenode.xxx_.
+29 -4
View File
@@ -45,6 +45,29 @@ Allerdings ist die API für alle Skriptsprachen nahezu identisch.
[[scripts_in_weechat]]
== Skripten in WeeChat
[[weechat_architecture]]
=== WeeChat Architektur
WeeChat ist einzelprozeßgestützt (Single-Threaded) und dies gilt ebenso für Skripten.
Der Code eines Skripts wird ausgeführt:
* wenn das Skript geladen wird: typischer Weise durch einen Aufruf von
<<register_function,Register Funktion>>
* wenn ein hook Callback von WeeChat aufgerufen wird (siehe Kapitel <<hooks,Hooks>>).
Sobald der Code eines Skripts ausgeführt wird wartet WeeChat bis zum Ende der
Ausführung, bevor fortgefahren wird. Deshalb dürfen innerhalb des Skripts *KEINE*
blockierende Operationen ausgeführt werden wie zum Beispiel Netzwerkaufrufe,
ohne die dafür vorgesehene API-Funktion zu verwenden, `hook_process`.
[IMPORTANT]
Ein Skript darf *NIEMALS* einen fork nutzen oder einen eigenen Thread erstellen,
dafür gibt es explizit eine API Funktion, andernfalls kann WeeChat abstürzen. +
Wenn etwas in einem Hintergrundprozess ausgeführt werden soll, kann die Funktion
`hook_process` genutzt werden. Siehe Beispiele im Kapitel <<hook_process,Hintergrundprozesse>>
und die Dokumentation für die Funktion `hook_process` in link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference] (Englisch).
[[languages_specificities]]
=== Besonderheiten der einzelnen Skriptsprachen
@@ -440,6 +463,7 @@ Liste der Skript API Funktionen:
ngettext +
strlen_screen +
string_match +
string_match_list +
string_has_highlight +
string_has_highlight_regex +
string_mask_to_regex +
@@ -603,7 +627,8 @@ Liste der Skript API Funktionen:
bar_remove
| Befehle |
command
command +
command_options
| Informationen |
info_get +
@@ -1012,9 +1037,9 @@ Beispiele:
[source,python]
----
skript_optionen = {
"Option1" : "Wert1",
"Option2" : "Wert2",
"Option3" : "Wert3",
"Option1": "Wert1",
"Option2": "Wert2",
"Option3": "Wert3",
}
for option, standardwert in skript_optionen.items():
if not weechat.config_is_set_plugin(option):
+1 -1
View File
@@ -123,7 +123,7 @@ Abhängig Deiner Linux Distribution:
* Debian: https://weechat.org/download/debian
* Gentoo: https://weechat.org/download
* ArchLinux: PKGBUILD von http://aur.archlinux.org/
* ArchLinux: PKGBUILD von https://aur.archlinux.org/
* andere: Wissen wir nicht! Eheh.
+383 -256
View File
@@ -37,13 +37,13 @@ wesentliche Merkmale:
* klein, schnell und schlank
* den eigenen persönlichen Bedürfnissen anpassbar und durch Erweiterungen und Skripten in der Funktionalität erweiterbar
* IRC RFCs konform
http://tools.ietf.org/html/rfc1459[1459],
http://tools.ietf.org/html/rfc2810[2810],
http://tools.ietf.org/html/rfc2811[2811],
http://tools.ietf.org/html/rfc2812[2812] und
http://tools.ietf.org/html/rfc2813[2813]
https://tools.ietf.org/html/rfc1459[1459],
https://tools.ietf.org/html/rfc2810[2810],
https://tools.ietf.org/html/rfc2811[2811],
https://tools.ietf.org/html/rfc2812[2812] und
https://tools.ietf.org/html/rfc2813[2813]
* IRC proxy und relay für remote Schnittstellen
* Betriebssystemunabhängig (GNU/Linux, *BSD, MacOS X, Windows und weitere)
* Betriebssystemunabhängig (GNU/Linux, *BSD, macOS, Windows und weitere)
* 100% GPL, freie Software
Die WeeChat Homepage findet man unter: https://weechat.org/
@@ -88,7 +88,7 @@ wie man Pakete installiert.
WeeChat kann mittels cmake oder autotools kompiliert werden (cmake sollte dabei die bevorzugte Methode sein).
[NOTE]
Unter OS X kann http://brew.sh/[Homebrew] verwendet werden:
Unter macOS kann https://brew.sh/[Homebrew] verwendet werden:
`brew install weechat --with-python --with-perl`
(für Hilfe: `brew info weechat`).
@@ -104,7 +104,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
| C compiler
(gcc, clang, ...) | | *ja* | zum Erstellen der Binärdatei.
| C++ compiler | | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
| cmake | | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen).
| cmake | ≥ 3.0 | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen).
| pkg-config | | *ja* | entdeckt installierte Bibliotheken.
| libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche.
| libcurl4-gnutls-dev | | *ja* | URL Transfer.
@@ -114,7 +114,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
| gettext | | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch).
| ca-certificates | | | Zertifikate für SSL Verbindungen.
| libaspell-dev
∥ libenchant-dev | | | Aspell Erweiterung.
∥ libenchant-dev | | | Spell Erweiterung.
| python-dev | ≥ 2.6 ^(4)^ | | Python Erweiterung.
| libperl-dev | | | Perl Erweiterung.
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby Erweiterung.
@@ -137,7 +137,7 @@ Versionen und Paketnamen können für andere Distributionen abweichend sein. +
entscheidend) zu kompilieren. Eine Kompilierung kann auch mit libncurses5-dev erfolgen,
aber dies wird *NICHT* empfohlen:
Es können Darstellungsfehler mit breiten Zeichen auftreten. +
^(3)^ Gnutls ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
^(3)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
ECDSA-NIST256P-CHALLENGE durchzuführen. +
^(4)^ Die empfohlene Version ist 2.7 (alle Skripten laufen mit der Version 2.7,
aber nicht mit Version < 2.7 oder ≥ 3.0).
@@ -194,15 +194,12 @@ Liste von häufig verwendeten Optionen:
| CA_FILE | Datei | /etc/ssl/certs/ca-certificates.crt |
Datei enthält die Zertifizierungen.
This is the default value of option
Dies ist der Standardwert für Optionen
<<option_weechat.network.gnutls_ca_file,weechat.network.gnutls_ca_file>>.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
kompiliert <<alias_plugin,Alias Erweiterung>>.
| ENABLE_ASPELL | `ON`, `OFF` | ON |
kompiliert <<aspell_plugin,Aspell Erweiterung>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
kompiliert <<buflist_plugin,Buflist Erweiterung>>.
@@ -210,15 +207,13 @@ Liste von häufig verwendeten Optionen:
kompiliert <<charset_plugin,Charset Erweiterung>>.
| ENABLE_MAN | `ON`, `OFF` | OFF |
kompiliert man page.
erstellt die man page.
| ENABLE_DOC | `ON`, `OFF` | OFF |
kompiliert Dokumentation (dies ist sehr zeitintensiv und wird nur empfohlen falls
Binärpakete erstellt werden, die die Dokumentation beinhalten sollen, oder man die
Dokumentation nicht auf der Homepage abrufen kann).
erstellt die HTML Dokumentation.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
kompiliert <<aspell_plugin,Aspell plugin>> mittels Enchant.
kompiliert <<spell_plugin,Spell plugin>> mittels Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
kompiliert <<exec_plugin,Exec Erweiterung>>.
@@ -230,7 +225,7 @@ Liste von häufig verwendeten Optionen:
kompiliert <<fset_plugin,Fset Erweiterung>>.
| ENABLE_GNUTLS | `ON`, `OFF` | ON |
kompiliert Gnutls (für SSL).
kompiliert GnuTLS (für SSL).
| ENABLE_GUILE | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Guile Erweiterung>> (Scheme).
@@ -266,8 +261,11 @@ Liste von häufig verwendeten Optionen:
kompiliert <<scripts_plugins,Python Erweiterung>>.
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
kompiliert <<scripts_plugins,Python Erweiterung>> mittels Python 3 (dies wird *NICHT* empfohlen,
da viele Skripten nicht kompatible mit Python 3 sind).
kompiliert <<scripts_plugins,Python plugin>> mit Python 3. +
Diese Option wird zur Zeit nicht empfohlen, da die meisten Skripten noch
nicht kompatible mit Python 3 sind. +
Den Fortschritt der Python 3 Unterstützung kann man auf dieser Seite verfolgen:
https://weechat.org/scripts/python3/
| ENABLE_RELAY | `ON`, `OFF` | ON |
kompiliert <<relay_plugin,Relay Erweiterung>>.
@@ -282,6 +280,9 @@ Liste von häufig verwendeten Optionen:
kompiliert <<scripts_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby,
Lua, Tcl, Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
kompiliert <<spell_plugin,Spell Erweiterung>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Tcl Erweiterung>>.
@@ -293,6 +294,10 @@ Liste von häufig verwendeten Optionen:
| ENABLE_TESTS | `ON`, `OFF` | OFF |
kompiliert Testumgebung.
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF |
kompilieren mit Optionen für Testabdeckung. +
Diese Option sollte nur für Testzwecke genutzt werden.
|===
Weitere Optionen können mit folgendem Befehl angezeigt werden:
@@ -508,14 +513,21 @@ Um WeeChat zu starten muss folgender Befehl ausgeführt werden:
$ weechat
----
Befehlszeile:
include::cmdline_options.de.adoc[]
Wird WeeChat das erste mal ausgeführt, wird die Standardkonfiguration und
die entsprechenden Dateien im Verzeichnis _~/.weechat_ erstellt.
(siehe <<files_and_directories,Dateien und Verzeichnisse>>).
==== Optionen für Befehlszeile
include::cmdline_options.de.adoc[]
==== zusätzliche Debug-Optionen
[WARNING]
These options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
include::cmdline_options_debug.de.adoc[]
[[environment_variables]]
=== Umgebungsvariablen
@@ -535,7 +547,10 @@ Einige Umgebungsvariablen werden von WeeChat genutzt, sofern sie definiert wurde
WeeChat schreibt standardmäßig seine Konfiguration und andere
Daten in folgendes Verzeichnis: `~/.weechat`
Verzeichnisse:
[[weechat_directories]]
==== WeeChat Verzeichnisse
Es gibt folgende WeeChat Verzeichnisse:
[width="100%",cols="1m,3",options="header"]
|===
@@ -563,6 +578,9 @@ Verzeichnisse:
[NOTE]
^(1)^ Das Verzeichnis besteht meistens aus symbolischen Links welche auf das eigentliche Skript zeigen.
[[weechat_files]]
==== WeeChat Dateien
Folgende Dateien befinden sich im WeeChat-Heimatverzeichnis:
[width="100%",cols="1m,3,6",options="header"]
@@ -572,7 +590,6 @@ Folgende Dateien befinden sich im WeeChat-Heimatverzeichnis:
| sec.conf | Konfigurationsdatei mit sensiblen Daten | *Ja, hoch sensibel*: diese Datei sollte niemals weitergegeben werden.
| plugins.conf | Konfigurationsdatei für Erweiterungen | möglich, hängt von der Erweiterung/Skript ab.
| alias.conf | Konfigurationsdatei: Alias-Erweiterung | möglich, hängt von den Aliases ab.
| aspell.conf | Konfiguration für _aspell_-Erweiterung | Nein.
| buflist.conf | Konfiguration für _buflist_-Erweiterung | Nein.
| charset.conf | Konfiguration für _charset_-Erweiterung | Nein.
| exec.conf | Konfiguration für _exec_-Erweiterung | Nein.
@@ -589,6 +606,7 @@ Folgende Dateien befinden sich im WeeChat-Heimatverzeichnis:
| relay.conf | Konfiguration für _relay_-Erweiterung | Nein.
| ruby.conf | Konfiguration für _ruby_-Erweiterung | Nein.
| script.conf | Konfiguration für _script_-Erweiterung | Nein.
| spell.conf | Konfiguration für _spell_-Erweiterung | Nein.
| tcl.conf | Konfiguration für _tcl_-Erweiterung | Nein.
| trigger.conf | Konfiguration für _trigger_-Erweiterung | möglich, hängt von den Triggern ab.
| xfer.conf | Konfiguration für _xfer_-Erweiterung | Nein.
@@ -710,8 +728,8 @@ andere Items die man nutzen kann (die aber nicht standardmäßig in einer Bar ak
[width="100%",cols="^3,^4,10",options="header"]
|===
| Item | Beispiel | Beschreibung
| aspell_dict | `de,en` | zeigt an welche Wörterbücher für die Rechtschreibung im aktuellen Buffer genutzt werden.
| aspell_suggest | `Glück,Glocke,Block`| Vorschläge für ein falsch geschriebenes Wort.
| spell_dict | `de,en` | zeigt an welche Wörterbücher für die Rechtschreibung im aktuellen Buffer genutzt werden.
| spell_suggest | `Glück,Glocke,Block`| Vorschläge für ein falsch geschriebenes Wort.
| buffer_count | `10` | absolute Anzahl an geöffneten Buffern.
| buffer_short_name | `#test` | Kurzname des aktuellen Buffers.
| irc_channel | `#test` | aktueller IRC Channelname.
@@ -1205,12 +1223,12 @@ Aufzählung von Bar-Optionen:
Die Option _items_ ist ein String, mit einer Anzahl von Bar-Items. Diese werden
durch Kommata voneinander getrennt (auf dem Bildschirm wird das Komma durch ein
Leerzeichen ersetzt). Möchte man die Items ohne Leerzeichen darstellen, nutzt
man ein "+" um die Items zu trennen.
man ein `+++` um die Items zu trennen.
Eine Liste von Bar-Items kann man sich mit dem Befehl `/bar listitems` anzeigen lassen.
Vor oder nach dem Item können Zeichen eingefügt werden. Diese dürfen nicht alphanumerisch,
"-" oder "_" sein. Die Zeichen werden mit der entsprechenden Farbe, für Trennzeichen,
`+-+` oder `+_+` sein. Die Zeichen werden mit der entsprechenden Farbe, für Trennzeichen,
dargestellt (Option _color_delim_).
Beispiel einer Bar mit den Items, "[time],buffer_number+:+buffer_plugin+.+buffer_name":
@@ -1372,7 +1390,7 @@ Der vereinfachte Anzeigemodus hat folgende Funktionen:
wie in einem Terminal genutzt werden um URLs anzuklicken oder Text zu markieren
* ncurses wird nicht genutzt, deshalb werden URLs am Ende der Zeile nicht abgeschnitten.
Der Standardtastenbefehl um den vereinfachten Textmodus zu aktivieren ist kbd:[Alt+l],
Der Standardtastenbefehl um den vereinfachten Textmodus zu aktivieren ist kbd:[Alt+l] (`L`),
mit dem selben Tastenbefehl wird dieser Modus wieder beendet (dieser Modus kann auch
mit jeder beliegen Tasteneingabe beendet werden, siehe Option
<<option_weechat.look.bare_display_exit_on_input,weechat.look.bare_display_exit_on_input>>).
@@ -1568,7 +1586,7 @@ beinhalten. + Diese "tags" können mit dem Befehl `/debug tags` dargestellt werd
Um Tags als Highlights zu nutzen wird folgende Option verwendet:
<<option_weechat.look.highlight_tags,weechat.look.highlight_tags>>.
Tags werden durch Kommata getrennt und mehrere Tags können mit
"+" genutzt werden um ein logischen "und" zu erstellen.
`+++` genutzt werden um ein logischen "und" zu erstellen.
Zum Beispiel um alle Nachrichten vom Nick "FlashCode" und alle notice-Nachrichten
von Nicks die mit "toto" beginnen zu highlighten:
@@ -1652,7 +1670,7 @@ und um eine Hilfe zu erhalten wie man es nutzt: `/help buffer_autoset`.
| kbd:[Alt+d] | löscht das Wort rechts vom Cursor (die Zeichenkette wird dabei in die interne Zwischenablage kopiert). | `/input delete_next_word`
| kbd:[Alt+k] | zeigt den Tastencode, einschließlich des eingebundenen Befehls, einer Tastenkombination an und fügt diesen in die Befehlszeile ein. | `/input grab_key_command`
| kbd:[Alt+r] | komplette Eingabezeile lösche.n| `/input delete_line`
| kbd:[Alt+s] | schaltet die Aspell Funktion an/aus. | `/mute aspell toggle`
| kbd:[Alt+s] | Umschalten der Rechtschreibprüfung. | `/mute spell toggle`
|===
[[key_bindings_buffers_windows]]
@@ -1660,74 +1678,78 @@ und um eine Hilfe zu erhalten wie man es nutzt: `/help buffer_autoset`.
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|===
| Taste | Beschreibung | Befehl
| kbd:[Ctrl+l] | Fenster wird neu gezeichnet. | `/window refresh`
| Taste | Beschreibung | Befehl
| kbd:[Ctrl+l] (`L`) | Fenster wird neu gezeichnet. | `/window refresh`
| kbd:[Ctrl+s],
kbd:[Ctrl+u] | setzt für alle Buffer die Markierung für ungelesene Nachrichten. | `/input set_unread`
| kbd:[Ctrl+x] | sind mehrere Buffer zu einem Buffer zusammen gefügt wechselt man diese durch. | `/input switch_active_buffer`
| kbd:[Alt+x] | Zoom eines zusammengefügten Buffers (kbd:[Alt+x] ein zweites mal: alle zusammengefügten Buffer werden angezeigt). | `/input zoom_merged_buffer`
| kbd:[PgUp] | eine Seite im Verlaufsspeicher des Buffers nach oben blättern. | `/window page_up`
| kbd:[PgDn] | eine Seite im Verlaufsspeicher des Buffer nach unten blättern. | `/window page_down`
| kbd:[Alt+PgUp] | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern. | `/window scroll_up`
| kbd:[Alt+PgDn] | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `/window scroll_down`
| kbd:[Alt+Home] | springt zur ersten Zeile des Verlaufsspeichers des aktuellen Buffer.s| `/window scroll_top`
| kbd:[Alt+End] | springt zur letzten Zeile des Verlaufsspeichers des aktuellen Buffers. | `/window scroll_bottom`
| kbd:[F1] | blättert eine Seite in der buflist hoch. | `/bar scroll buflist * -100%`
| kbd:[F2] | blättert eine Seite in der buflist runter. | `/bar scroll buflist * +100%`
| kbd:[Alt+F1] | springt zum Anfang der buflist. | `/bar scroll buflist * b`
| kbd:[Alt+F2] | springt zum Ende der buflist. | `/bar scroll buflist * e`
kbd:[Ctrl+u] | setzt für alle Buffer die Markierung für ungelesene Nachrichten. | `/input set_unread`
| kbd:[Ctrl+x] | sind mehrere Buffer zu einem Buffer zusammen gefügt wechselt man diese durch. | `/input switch_active_buffer`
| kbd:[Alt+x] | Zoom eines zusammengefügten Buffers (kbd:[Alt+x] ein zweites mal: alle zusammengefügten Buffer werden angezeigt). | `/input zoom_merged_buffer`
| kbd:[PgUp] | eine Seite im Verlaufsspeicher des Buffers nach oben blättern. | `/window page_up`
| kbd:[PgDn] | eine Seite im Verlaufsspeicher des Buffer nach unten blättern. | `/window page_down`
| kbd:[Alt+PgUp] | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern. | `/window scroll_up`
| kbd:[Alt+PgDn] | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `/window scroll_down`
| kbd:[Alt+Home] | springt zur ersten Zeile des Verlaufsspeichers des aktuellen Buffer.s| `/window scroll_top`
| kbd:[Alt+End] | springt zur letzten Zeile des Verlaufsspeichers des aktuellen Buffers. | `/window scroll_bottom`
| kbd:[F1] +
kbd:[Ctrl+F1] | blättert eine Seite in der buflist hoch. | `/bar scroll buflist * -100%`
| kbd:[F2] +
kbd:[Ctrl+F2] | blättert eine Seite in der buflist runter. | `/bar scroll buflist * +100%`
| kbd:[Alt+F1] | springt zum Anfang der buflist. | `/bar scroll buflist * b`
| kbd:[Alt+F2] | springt zum Ende der buflist. | `/bar scroll buflist * e`
| kbd:[Alt+←] +
kbd:[Alt+↑] +
kbd:[Ctrl+p] +
kbd:[F5] | zum vorherigen Buffer springen. | `/buffer -1`
kbd:[F5] | zum vorherigen Buffer springen. | `/buffer -1`
| kbd:[Alt+→] +
kbd:[Alt+↓] +
kbd:[Ctrl+n] +
kbd:[F6] | zum nächsten Buffer springen. | `/buffer +1`
| kbd:[F7] | zum vorherigen Fenster wechseln. | `/window -1`
| kbd:[F8] | zum nächsten Fenster wechseln. | `/window +1`
| kbd:[F9] | Titel des Buffers nach links verschieben. | `+/bar scroll title * -30%+`
| kbd:[F10] | Titel des Buffers nach rechts verschieben. | `+/bar scroll title * +30%+`
| kbd:[F11] | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist * -100%`
| kbd:[F12] | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist * +100%`
| kbd:[Alt+F11] | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist * b`
| kbd:[Alt+F12] | springt zum Ende der Benutzerliste. | `/bar scroll nicklist * e`
| kbd:[Alt+a] | wechselt zum nächsten Buffer mit Aktivität (nach Priorität: highlight, Nachricht, ...). | `/input jump_smart`
| kbd:[Alt+h] | löscht Hotliste (Aktivitätsanzeige für die Buffer). | `/input hotlist_clear`
kbd:[F6] | zum nächsten Buffer springen. | `/buffer +1`
| kbd:[F7] | zum vorherigen Fenster wechseln. | `/window -1`
| kbd:[F8] | zum nächsten Fenster wechseln. | `/window +1`
| kbd:[F9] | Titel des Buffers nach links verschieben. | `+/bar scroll title * -30%+`
| kbd:[F10] | Titel des Buffers nach rechts verschieben. | `+/bar scroll title * +30%+`
| kbd:[F11] +
kbd:[Ctrl+F11] | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist * -100%`
| kbd:[F12] +
kbd:[Ctrl+F12] | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist * +100%`
| kbd:[Alt+F11] | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist * b`
| kbd:[Alt+F12] | springt zum Ende der Benutzerliste. | `/bar scroll nicklist * e`
| kbd:[Alt+a] | wechselt zum nächsten Buffer mit Aktivität (nach Priorität: highlight, Nachricht, ...). | `/input jump_smart`
| kbd:[Alt+h] | löscht Hotliste (Aktivitätsanzeige für die Buffer). | `/input hotlist_clear`
| kbd:[Alt+j],
kbd:[Alt+f] | wechselt zum ersten Buffer. | `/buffer -`
kbd:[Alt+f] | wechselt zum ersten Buffer. | `/buffer -`
| kbd:[Alt+j],
kbd:[Alt+l] | wechselt zum letzten Buffer. | `/buffer +`
kbd:[Alt+l] (`L`) | wechselt zum letzten Buffer. | `/buffer +`
| kbd:[Alt+j],
kbd:[Alt+r] | wechselt zum IRC RAW Buffer. | `/server raw`
kbd:[Alt+r] | wechselt zum IRC RAW Buffer. | `/server raw`
| kbd:[Alt+j],
kbd:[Alt+s] | wechselt zum IRC Server Buffer. | `/server jump`
| kbd:[Alt+0...9] | wechselt zum Buffer mit der Nummer (0 = 10). | `/buffer *N`
kbd:[Alt+s] | wechselt zum IRC Server Buffer. | `/server jump`
| kbd:[Alt+0...9] | wechselt zum Buffer mit der Nummer (0 = 10). | `/buffer *N`
| kbd:[Alt+j],
kbd:[01...99] | wechselt zum Buffer mit der angegeben Nummer. | `/buffer *NN`
| kbd:[Alt+l] | schaltet einfachen Anzeigemodus an/aus. | `/window bare`
| kbd:[Alt+m] | schaltet Mausfunktion ein/aus. | `/mouse toggle`
| kbd:[Alt+n] | springt zur nächsten Highlight Nachricht. | `/window scroll_next_highlight`
| kbd:[Alt+p] | springt zur vorherigen Highlight Nachricht. | `/window scroll_previous_highlight`
| kbd:[Alt+u] | springt zur ersten ungelesenen Zeile im Buffer. | `/window scroll_unread`
kbd:[01...99] | wechselt zum Buffer mit der angegeben Nummer. | `/buffer *NN`
| kbd:[Alt+l] (`L`) | schaltet einfachen Anzeigemodus an/aus. | `/window bare`
| kbd:[Alt+m] | schaltet Mausfunktion ein/aus. | `/mouse toggle`
| kbd:[Alt+n] | springt zur nächsten Highlight Nachricht. | `/window scroll_next_highlight`
| kbd:[Alt+p] | springt zur vorherigen Highlight Nachricht. | `/window scroll_previous_highlight`
| kbd:[Alt+u] | springt zur ersten ungelesenen Zeile im Buffer. | `/window scroll_unread`
| kbd:[Alt+w],
kbd:[Alt+↑] | wechselt zum oberen Fenster. | `/window up`
kbd:[Alt+↑] | wechselt zum oberen Fenster. | `/window up`
| kbd:[Alt+w],
kbd:[Alt+↓] | wechselt zum unteren Fenster. | `/window down`
kbd:[Alt+↓] | wechselt zum unteren Fenster. | `/window down`
| kbd:[Alt+w],
kbd:[Alt+←] | wechselt zum linken Fenster. | `/window left`
kbd:[Alt+←] | wechselt zum linken Fenster. | `/window left`
| kbd:[Alt+w],
kbd:[Alt+→] | wechselt zum rechten Fenster. | `/window right`
kbd:[Alt+→] | wechselt zum rechten Fenster. | `/window right`
| kbd:[Alt+w],
kbd:[Alt+b] | passt die Größe aller Fenster an. | `/window balance`
kbd:[Alt+b] | passt die Größe aller Fenster an. | `/window balance`
| kbd:[Alt+w],
kbd:[Alt+s] | Wechselt Buffer von zwei Fenstern. | `/window swap`
| kbd:[Alt+z] | Zoom für aktuelles Fenster (nochmals kbd:[Alt+z]: stellt die vorherigen Einstellungen wieder her). | `/window zoom`
| kbd:[Alt+<] | springt zum letzten besuchten Buffer. | `/input jump_previously_visited_buffer`
| kbd:[Alt+>] | springt zum nächsten besuchten Buffer. | `/input jump_next_visited_buffer`
| kbd:[Alt+/] | wechselt zum jeweils zuletzt angezeigten Buffern. | `/input jump_last_buffer_displayed`
| kbd:[Alt+=] | schaltet Filterfunktion an/aus. | `/filter toggle`
| kbd:[Alt+-] | schaltet, für den aktuellen Buffer, Filterfunktion an/aus. | `/filter toggle @`
kbd:[Alt+s] | Wechselt Buffer von zwei Fenstern. | `/window swap`
| kbd:[Alt+z] | Zoom für aktuelles Fenster (nochmals kbd:[Alt+z]: stellt die vorherigen Einstellungen wieder her). | `/window zoom`
| kbd:[Alt+<] | springt zum letzten besuchten Buffer. | `/input jump_previously_visited_buffer`
| kbd:[Alt+>] | springt zum nächsten besuchten Buffer. | `/input jump_next_visited_buffer`
| kbd:[Alt+/] | wechselt zum jeweils zuletzt angezeigten Buffern. | `/input jump_last_buffer_displayed`
| kbd:[Alt+=] | schaltet Filterfunktion an/aus. | `/filter toggle`
| kbd:[Alt+-] | schaltet, für den aktuellen Buffer, Filterfunktion an/aus. | `/filter toggle @`
|===
[[key_bindings_search_context]]
@@ -1786,43 +1808,43 @@ Diese Tasten werden im Kontext "mouse" verwendet, wenn eine Mausfunktion genutzt
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|===
| Maustaste ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
| ◾◽◽ | - | Chat | wechselt zum Fenster. | `/window ${_window_number}`
| ◾◽◽ | links | Chat | zum vorherigen Buffer springen. | `/window ${_window_number};/buffer +1`
| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen. | `/window ${_window_number};/buffer +1`
| ◾◽◽ | links(lang) | Chat | wechselt zum ersten Buffer. | `/window ${_window_number};/buffer 1`
| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer. | `/window ${_window_number};/input jump_last_buffer`
| ◾◽◽ | - | chat (script buffer) | wählt einen Eintrag im Script-Buffer aus. | `/script go ${_chat_line_y}`
| ◽◽◾ | - | chat (script buffer) | installiert/entfernt ein Skript. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
| | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach oben blättern. | `/window scroll_up -window ${_window_number}`
| | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `/window scroll_down -window ${_window_number}`
| | - | chat (script buffer) | fünf Zeilen nach oben blättern, im Script-Buffer. | `/script up 5`
| | - | chat (script buffer) | fünf Zeilen nach unten blättern, im Script-Buffer. | `/script down 5`
| kbd:[Ctrl+⇑] | - | chat | horizontal, nach links scrollen. | `/window scroll_horiz -window ${_window_number} -10%`
| kbd:[Ctrl+⇓] | - | chat | horizontal, nach rechts scrollen. | `/window scroll_horiz -window ${_window_number} +10%`
| ◾◽◽ | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `buflist_mouse`.
| ◾◽◽ | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `buflist_mouse`.
| ◾◽◽ | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `buflist_mouse`.
| ◽◽◾ | - | buflist | wechselt zum nächsten Buffer, falls der aktuell genutzte Buffer angewählt wurde. | Signal `buflist_mouse`.
| kbd:[Ctrl+⇑] | - | buflist | wechselt zum vorherigen Buffer. | Signal `buflist_mouse`.
| kbd:[Ctrl+⇓] | - | buflist | wechselt zum nächsten Buffer. | Signal `buflist_mouse`.
| ◾◽◽ | hoch | Benutzerliste | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist ${_window_number} -100%`
| ◾◽◽ | runter | Benutzerliste | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist ${_window_number} +100%`
| ◾◽◽ | hoch(lang) | Benutzerliste | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist ${_window_number} b`
| ◾◽◽ | runter(lang) | Benutzerliste | springt zum Ende der Benutzerliste. | `/bar scroll nicklist ${_window_number} e`
| ◾◽◽ | - | Benutzerliste | öffnet privaten Chat mit Nick. | `/window ${_window_number};/query ${nick}`
| ◽◽◾ | - | Benutzerliste | führt einen whois für Nick aus. | `/window ${_window_number};/whois ${nick}`
| ◾◽◽ | links | Benutzerliste | kickt Nick. | `/window ${_window_number};/kick ${nick}`
| ◾◽◽ | links(lang) | Benutzerliste | kickt und verbannt Nick. | `/window ${_window_number};/kickban ${nick}`
| ◽◽◾ | links | Benutzerliste | verbannt Nick. | `/window ${_window_number};/ban ${nick}`
| ◽◽◾ | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein. | `/input grab_mouse_area`
| | - | jede Bar | blättert Bar um 20% nach oben. | `/bar scroll ${_bar_name} ${_window_number} -20%`
| | - | jede Bar | blättert Bar um 20% nach unten. | `/bar scroll ${_bar_name} ${_window_number} +20%`
| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position. | `/cursor go ${_x},${_y}`
| Maustaste/Mausrad ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
| ◾◽◽ | - | Chat | wechselt zum Fenster. | `/window ${_window_number}`
| ◾◽◽ | links | Chat | zum vorherigen Buffer springen. | `/window ${_window_number};/buffer +1`
| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen. | `/window ${_window_number};/buffer +1`
| ◾◽◽ | links(lang) | Chat | wechselt zum ersten Buffer. | `/window ${_window_number};/buffer 1`
| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer. | `/window ${_window_number};/input jump_last_buffer`
| ◾◽◽ | - | chat (script buffer) | wählt einen Eintrag im Script-Buffer aus. | `/script go ${_chat_line_y}`
| ◽◽◾ | - | chat (script buffer) | installiert/entfernt ein Skript. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
| kbd:[▲] | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach oben blättern. | `/window scroll_up -window ${_window_number}`
| kbd:[▼] | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `/window scroll_down -window ${_window_number}`
| kbd:[▲] | - | chat (script buffer) | fünf Zeilen nach oben blättern, im Script-Buffer. | `/script up 5`
| kbd:[▼] | - | chat (script buffer) | fünf Zeilen nach unten blättern, im Script-Buffer. | `/script down 5`
| kbd:[Ctrl+▲] | - | chat | horizontal, nach links scrollen. | `/window scroll_horiz -window ${_window_number} -10%`
| kbd:[Ctrl+▼] | - | chat | horizontal, nach rechts scrollen. | `/window scroll_horiz -window ${_window_number} +10%`
| ◾◽◽ | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `buflist_mouse`.
| ◾◽◽ | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `buflist_mouse`.
| ◾◽◽ | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `buflist_mouse`.
| ◽◽◾ | - | buflist | wechselt zum nächsten Buffer, falls der aktuell genutzte Buffer angewählt wurde. | Signal `buflist_mouse`.
| kbd:[Ctrl+▲] | - | buflist | wechselt zum vorherigen Buffer. | Signal `buflist_mouse`.
| kbd:[Ctrl+▼] | - | buflist | wechselt zum nächsten Buffer. | Signal `buflist_mouse`.
| ◾◽◽ | hoch | Benutzerliste | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist ${_window_number} -100%`
| ◾◽◽ | runter | Benutzerliste | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist ${_window_number} +100%`
| ◾◽◽ | hoch(lang) | Benutzerliste | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist ${_window_number} b`
| ◾◽◽ | runter(lang) | Benutzerliste | springt zum Ende der Benutzerliste. | `/bar scroll nicklist ${_window_number} e`
| ◾◽◽ | - | Benutzerliste | öffnet privaten Chat mit Nick. | `/window ${_window_number};/query ${nick}`
| ◽◽◾ | - | Benutzerliste | führt einen whois für Nick aus. | `/window ${_window_number};/whois ${nick}`
| ◾◽◽ | links | Benutzerliste | kickt Nick. | `/window ${_window_number};/kick ${nick}`
| ◾◽◽ | links(lang) | Benutzerliste | kickt und verbannt Nick. | `/window ${_window_number};/kickban ${nick}`
| ◽◽◾ | links | Benutzerliste | verbannt Nick. | `/window ${_window_number};/ban ${nick}`
| ◽◽◾ | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein. | `/input grab_mouse_area`
| kbd:[▲] | - | jede Bar | blättert Bar um 20% nach oben. | `/bar scroll ${_bar_name} ${_window_number} -20%`
| kbd:[▼] | - | jede Bar | blättert Bar um 20% nach unten. | `/bar scroll ${_bar_name} ${_window_number} +20%`
| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position. | `/cursor go ${_x},${_y}`
|===
[NOTE]
^(1)^ "⇑" und "⇓" sind Symbole für Mausrad hoch/runter.
^(1)^ kbd:[▲] und kbd:[▼] sind Symbole für Mausrad hoch/runter.
[[mouse]]
=== Mausunterstützung
@@ -1855,7 +1877,7 @@ kbd:[Alt+%] die Mausunterstützung für 10 Sekunden deaktiviert werden:
----
[IMPORTANT]
Ist die Maus in Weechat aktiviert werden alle Mausereignisse duch WeeChat gefangen.
Ist die Maus in WeeChat aktiviert werden alle Mausereignisse duch WeeChat gefangen.
Dadurch werden Aktionen wie Kopieren+Einfügen oder Klicks auf URLs nicht an das
Terminal weitergereicht. + Mittels der kbd:[Shift] Taste kann aber das Mausereignis
an das Terminal weitergeleitet werden, als ob die Maus deaktiviert wäre (bei
@@ -1876,7 +1898,7 @@ Man kann mit dem Befehl `/key` im Kontext "mouse" aber auch eigene Befehle zuwei
und löschen (für die Syntax, siehe Befehl <<command_weechat_key,/key>>).
Der Name eines Ereignisses besteht aus einem Modifier (optional), einer Maustaste/Mausrad
und der Mausgeste (optional). Die unterschiedlichen Elemente werden durch ein "-" getrennt.
und der Mausgeste (optional). Die unterschiedlichen Elemente werden durch ein `+-+` getrennt.
Liste der Modifiers:
@@ -2131,7 +2153,6 @@ Standarderweiterungen:
|===
| Erweiterung | Beschreibung
| alias | definiert Alias für Befehle.
| aspell | Rechtschreibprüfung für Befehlszeile.
| buflist | Bar-Item mit der Liste aller Buffern.
| charset | Zeichensatz (de)-kodierung in Buffern.
| exec | ausführen von externen Befehlen aus WeeChat heraus.
@@ -2149,6 +2170,7 @@ Standarderweiterungen:
| guile | Guile(scheme)-Skript API.
| javascript | JavaScript-Skript API.
| php | PHP-Skript API.
| spell | Rechtschreibprüfung für Befehlszeile.
| trigger | Veränderung von Text und Ausführen von Befehlen bei einem Ereignis, welche durch WeeChat oder eine Erweiterung ausgelöst werden.
| xfer | Datentransfer und Direktchat.
|===
@@ -2189,110 +2211,6 @@ Sektionen in Datei _alias.conf_:
/set alias.completion.* | Vervollständigung für Alias.
|===
[[aspell_plugin]]
=== Aspell
Mit der ASpell Erweiterung findet eine Rechtschreibprüfung Einzug in WeeChat.
Dabei ist es möglich mehrere Wörterbücher für einen Buffer zu nutzen.
Die Rechtschreibprüfung ist standardmäßig deaktiviert und kann mittels dem
Tastenbefehl [Alt+s] umgeschaltet werden.
[[aspell_dictionaries]]
==== Wörterbücher
Um die Rechtschreibprüfung nutzen zu können muss vorab ein Wörterbuch definiert werden,
welches genutzt werden soll. Dies kann entweder global oder per Buffer geschehen.
Verschiedene Wörterbücher können parallel verwendet werden. WeeChat gleicht dann
die Wörter mit allen Wörterbüchern ab,
Um zum Beispiel Englisch und Deutsch zu nutzen:
----
/set aspell.check.default_dict "en,de"
----
Es ist möglich ein anderes Wörterbuch für einen speziellen Buffer zu verwenden, zum
Beispiel in einem französischen Channel:
----
/aspell setdict fr
----
Für weitere Informationen, siehe den Befehl <<command_aspell_aspell,/aspell>>.
[[aspell_speller_options]]
==== Optionen für Rechtschreibprüfung
Optionen für die Rechtschreibprüfung können definiert werden indem man die entsprechende
Option in die Sektion "option" der Aspell-Konfiguration hinzufügt.
Den Name der Option findet man in der ASpell-Konfigurationsdatei. Eine Auflistung aller
möglichen Optionen erhält man durch:
----
$ aspell config
----
Um zum Beispiel die Option "ignore-case" einzuschalten:
----
/set aspell.option.ignore-case "true"
----
[[aspell_suggestions]]
==== Rechtschreibkorrektur
Eine Rechtschreibkorrektur wird in der Bar-Item "aspell_suggest" angezeigt.
Die Anzahl an Vorschlägen, für die Rechtschreibkorrektur, kann mit der Option
_aspell.check.suggestions_ bestimmt werden.
Um die Rechtschreibkorrektur zu aktivieren, muss für die Option _aspell.check.suggestions_
ein Wert ≥ 0 eingestellt werden und das Bar-Item "aspell_suggest" zu einer Bar, zum
Beispiel _status_, hinzufügt werden.
Beispiel der Rechtschreibkorrektur, mit einem deutschen Wörterbuch (`de`):
....
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [dies,Diebs,Viehs] │
│[@Flashy] diehs █ │
└─────────────────────────────────────────────────────────────────────────────────┘
....
Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`):
....
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/Prinz] │
│[@Flashy] prinr █ │
└─────────────────────────────────────────────────────────────────────────────────┘
....
[[aspell_commands]]
==== Befehle
include::autogen/user/aspell_commands.adoc[]
[[aspell_options]]
==== Optionen
Sektionen in Datei _aspell.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| color | /set aspell.color.* | Farben.
| check | /set aspell.check.* | Optionen um Einstellungen an der Rechtschreibprüfung vorzunehmen.
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | Wörterbücher für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden).
| look | /set aspell.look.* | Erscheinungsbild.
| option | /set aspell.option.* | <<aspell_speller_options,Optionen für Rechtschreibprüfung>> (Optionen können in Sektion hinzugefügt/entfernt werden).
|===
Optionen:
include::autogen/user/aspell_options.adoc[]
[[buflist_plugin]]
=== Buflist
@@ -2618,7 +2536,7 @@ die Verbindung mit einer vorherigen Version (<0.3.1) funktioniert hat.
----
$ mkdir -p ~/.weechat/ssl
$ wget -O ~/.weechat/ssl/CAs.pem http://www.spi-inc.org/ca/spi-cacert.crt
$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
----
[NOTE]
@@ -2664,10 +2582,6 @@ WeeChat unterstützt eine SASL Authentifikation, mittels verschiedener Mechanism
* _dh-aes_: Passwort wird mittels AES verschlüsselt
(*unsicher*, wird nicht empfohlen)
[NOTE]
Die "gcrypt" Bibliothek wird beim kompilieren von WeeChat benötigt um
"dh-blowfish"nutzen zu können (siehe <<dependencies,Abhängigkeiten>>).
Optionen für Server sind:
* _sasl_mechanism_: Mechanismus welcher genutzt werden soll (siehe oben)
@@ -2771,7 +2685,7 @@ Zum Abschluss stellt man eine Verbindung zum Server her:
----
Um mehr über Freenode und TOR zu erfahren:
http://freenode.net/kb/answer/chat#accessing-freenode-via-tor
https://freenode.net/kb/answer/chat#accessing-freenode-via-tor
[[irc_smart_filter_join_part_quit]]
==== einfacher Filter für join/part/quit Nachrichten
@@ -3076,7 +2990,7 @@ Die IRC Erweiterung nutzt folgende Level:
* Level 4: Server Nachrichten join/part/quit
Setzen Sie also den Grad der Protokollierung für einen IRC Channel auf "3"
wird Weechat alle Nachrichten protokollieren, ausgenommen join/part/quit
wird WeeChat alle Nachrichten protokollieren, ausgenommen join/part/quit
Nachrichten.
weitere Beispiele:
@@ -3233,6 +3147,34 @@ Es wird nachdrücklich Empfohlen ein Passwort für die Relay-Verbindung zu nutze
Dieses Passwort wird sowohl für das _irc_ als auch für das _weechat_ Protokoll
verwendet.
[[relay_totp]]
==== TOTP
TOTP (Time-based One-Time Passwort) ist eine Zwei-Faktor-Authentifizierung
für das _weechat_ Protokoll, als Ergänzung zum eigentlichen Passwort.
Diese Funktion is optional und erhöht den Sicherheitsgrad.
Ein Einmal-Passwort kann mit folgenden Anwendungen erstellt werden, zum Beispiel:
* FreeOTP:
https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp[Android],
https://itunes.apple.com/fr/app/freeotp-authenticator/id872559395[iOS]
(https://freeotp.github.io/[website])
* Google Authenticator:
https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2[Android],
https://itunes.apple.com/fr/app/google-authenticator/id388497605[iOS]
Die geheime TOTP Zeichenkette muss in WeeChat und der Anwendung gesetzt werden, welches
für die Erstellung des Einmal-Passwort zuständig ist.
Die Zeichenkette muss base32 enkodiert sein, ausschließlich Buchstaben und Zahlen zwischen 2 und 7
sind erlaubt, zum Beispiel:
----
/set relay.network.totp_secret "secretpasswordbase32"
----
[[relay_ssl]]
==== SSL
@@ -3266,11 +3208,11 @@ Die Relay Erweiterung kann wie ein IRC Proxy genutzt werden. Dabei simuliert
die Erweiterung einen IRC Server und man kann sich mit jedem IRC Client zu WeeChat
verbinden.
Es kann für jeden IRC Server ein Port definiert werden, oder aber ein Port für
alle Server.
Es kann für jeden IRC Server ein Port definiert werden, oder aber man nutzt ein Port
für alle Server.
Wird ein Port für alle Server genutzt, dann muss der Client den internen Namen
des zu nutzenden Servers mit dem IRC Befehl "PASS" anfordern:
des zu nutzenden Servers mit dem IRC Befehl "PASS" anfordern (siehe folgendes Beispiel):
----
PASS server:meinPasswort
@@ -3292,6 +3234,14 @@ Nun kann man eine Verbindung zum Port 8000 mit jedem beliebigen IRC Client
herstellen, indem man das Server Passwort "meinPasswort" nutzt (oder
"freenode:meinPasswort" sofern kein Server angegeben wurde).
Wenn man Beispielsweise WeeChat als IRC Client über das Relay nutzen möchte
und der genutzte Server heisst "relay" und das entsprechende Passwort "geheim",
kann man das Passwort mit folgendem Befehl setzen:
----
/set irc.server.relay.password "freenode:secret"
----
[[relay_weechat_protocol]]
==== WeeChat Protokoll
@@ -3317,7 +3267,7 @@ Nun kann man über den Port 9000 mittels einer Oberfläche und dem Passwort
[[relay_websocket]]
==== WebSocket
Das WebSocket Protokoll (http://tools.ietf.org/html/rfc6455[RFC 6455]) wird nun
Das WebSocket Protokoll (https://tools.ietf.org/html/rfc6455[RFC 6455]) wird nun
in der Relay Erweiterung unterstützt.
Der WebSocket Handshake wird automatisch erkannt und der Socket ist sofort
@@ -3334,6 +3284,29 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
Der Port (im Beispiel: 9000) ist der Port der in der Relay Erweiterung angegeben wurde.
Die URI muss immer auf "/weechat" enden (_irc_ und _weechat_ Protokoll).
[[relay_unix_socket]]
==== UNIX Domain Sockets
Wenn man die Protokolloption "unix" mit dem Befehl `/relay add` nutzt, kann
man jedes Protokoll zum Lauschen an einem UNIX Domain Socket nutzen, indem
man einen Pfad angibt. Zum Beispiel:
----
/relay add unix.weechat %h/relay_socket
----
Das erlaubt es Clients sich mittels dem weechat Protokoll mit
_~/.weechat/relay_socket_ zu verbinden. Dies ist besonders zu
empfehlen um SSH forwarding für relay Clients zu nutzen, falls
andere Ports nicht geöffnet werden können. OpenSSH nutzen:
----
$ ssh -L 9000:.weechat/relay_socket user@hostname
----
Dies leitet lokale relay Client Verbindungen von Port 9000 um, zu
einer WeeChat Instanz welche auf "hostname" hört.
[[relay_commands]]
==== Befehle
@@ -3556,6 +3529,117 @@ Optionen:
include::autogen/user/php_options.adoc[]
[[spell_plugin]]
=== Spell
Mit der Spell Erweiterung findet eine Rechtschreibprüfung Einzug in WeeChat.
Dabei ist es möglich mehrere Wörterbücher für einen Buffer zu nutzen.
Die Rechtschreibprüfung ist standardmäßig deaktiviert und kann mittels dem
Tastenbefehl [Alt+s] umgeschaltet werden.
[[spell_dictionaries]]
==== Wörterbücher
Um die Rechtschreibprüfung nutzen zu können muss vorab ein Wörterbuch definiert werden,
welches genutzt werden soll. Dies kann entweder global oder per Buffer geschehen.
Verschiedene Wörterbücher können parallel verwendet werden. WeeChat gleicht dann
die Wörter mit allen Wörterbüchern ab,
Um zum Beispiel Englisch und Deutsch zu nutzen:
----
/set spell.check.default_dict "en,de"
----
Es ist möglich ein anderes Wörterbuch für einen speziellen Buffer zu verwenden, zum
Beispiel in einem französischen Channel:
----
/spell setdict fr
----
Um einer Gruppe von Buffern das selbe Wörterbuch zuzuordnen, zum Beispiel das
deutsche Wörterbuch für alle Channels auf dem freenode IRC Server:
----
/set spell.dict.irc.freenode de
----
Für weitere Informationen, siehe den Befehl <<command_spell_spell,/spell>>.
[[spell_speller_options]]
==== Optionen für Rechtschreibprüfung
Optionen für die Rechtschreibprüfung können definiert werden indem man die entsprechende
Option in die Sektion "option" der Aspell-Konfiguration hinzufügt.
Den Name der Option findet man in der ASpell-Konfigurationsdatei. Eine Auflistung aller
möglichen Optionen erhält man durch:
----
$ aspell config
----
Um zum Beispiel die Option "ignore-case" einzuschalten:
----
/set spell.option.ignore-case "true"
----
[[spell_suggestions]]
==== Rechtschreibkorrektur
Eine Rechtschreibkorrektur wird in der Bar-Item "spell_suggest" angezeigt.
Die Anzahl an Vorschlägen, für die Rechtschreibkorrektur, kann mit der Option
_spell.check.suggestions_ bestimmt werden.
Um die Rechtschreibkorrektur zu aktivieren, muss für die Option _spell.check.suggestions_
ein Wert ≥ 0 eingestellt werden und das Bar-Item "spell_suggest" zu einer Bar, zum
Beispiel _status_, hinzufügt werden.
Beispiel der Rechtschreibkorrektur, mit einem deutschen Wörterbuch (`de`):
....
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [dies,Diebs,Viehs] │
│[@Flashy] diehs █ │
└─────────────────────────────────────────────────────────────────────────────────┘
....
Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`):
....
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/Prinz] │
│[@Flashy] prinr █ │
└─────────────────────────────────────────────────────────────────────────────────┘
....
[[spell_commands]]
==== Befehle
include::autogen/user/spell_commands.adoc[]
[[spell_options]]
==== Optionen
Sektionen in Datei _spell.conf_:
[width="100%",cols="3m,6m,16",options="header"]
|===
| Sektion | Steuerbefehl | Beschreibung
| color | /set spell.color.* | Farben.
| check | /set spell.check.* | Optionen um Einstellungen an der Rechtschreibprüfung vorzunehmen.
| dict | <<command_spell_spell,/spell setdict>> +
/set spell.dict.* | Wörterbücher für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden).
| look | /set spell.look.* | Erscheinungsbild.
| option | /set spell.option.* | <<spell_speller_options,Optionen für Rechtschreibprüfung>> (Optionen können in Sektion hinzugefügt/entfernt werden).
|===
Optionen:
include::autogen/user/spell_options.adoc[]
[[trigger_plugin]]
=== Trigger
@@ -3612,7 +3696,7 @@ Liste der standardmäßigen Trigger:
Ein Trigger hat folgende Optionen (Benennung ist
`trigger.trigger.<name>.<option>`):
[width="100%",cols="2m,2,10",options="header"]
[width="100%",cols="2m,3,10",options="header"]
|===
| Option | Wert | Beschreibung
@@ -3620,7 +3704,7 @@ Ein Trigger hat folgende Optionen (Benennung ist
Wenn die Option auf `off` gesetzt ist, dann ist der Trigger deaktiviert und die Ausführung ist gestoppt.
| hook | `signal`, `hsignal`, `modifier`, `line`, `print`, `command`,
`command_run`, `timer`, `config`, `focus` |
`command_run`, `timer`, `config`, `focus`, `info`, `info_hashtable` |
Der hook welcher durch Trigger genutzt werden soll. Für weitere Informationen siehe
link:weechat_plugin_api.en.html#hooks[Anleitung für API Erweiterung / Hooks] (Englisch).
@@ -3673,7 +3757,8 @@ abgearbeitet:
. Überprüfung von Bedingungen; falls unwahr, beenden
. ersetze Text mittels erweitertem regulärer POSIX Ausdruck (sofern im Trigger definiert)
. ein oder mehrere Befehle werden ausgeführt (sofern im Trigger definiert)
. Beendigung mit einem Rückgabewert (ausgenommen sind die Hooks _modifier_ und _focus_)
. Beendigung mit einem Rückgabewert (ausgenommen sind die Hooks _modifier_,
_line_, _focus_, _info_ und _info_hashtable_)
. Aktion welche nach der Abarbeitung des Triggers ausgeführt werden soll (falls der Wert abweichend von `none` sein sollte).
[[trigger_hook_arguments]]
@@ -3770,6 +3855,20 @@ ein Semikolon getrennt.
3. ... |
`+buffer_nicklist+` |
link:weechat_plugin_api.en.html#_hook_focus[hook_focus] (Englisch)
| info |
1. info name (Priorität erlaubt) (erforderlich) +
2. info name (Priorität erlaubt) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.en.html#_hook_info[hook_info] (Englisch)
| info_hashtable |
1. info name (Priorität erlaubt) (erforderlich) +
2. info name (Priorität erlaubt) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.en.html#_hook_info_hashtable[hook_info_hashtable] (Englisch)
|===
[[trigger_conditions]]
@@ -3806,17 +3905,19 @@ welche abhängig von dem genutzten Hook ist:
[width="100%",cols="2,3,7",options="header"]
|===
| Hook | Standard-Variable | Update allowed ^(1)^
| signal | tg_signal_data |
| hsignal | |
| modifier | tg_string | tg_string
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
| print | tg_message |
| command | tg_argv_eol1 |
| command_run | tg_command |
| timer | tg_remaining_calls |
| config | tg_value |
| focus | |
| Hook | Standard-Variable | Update allowed ^(1)^
| signal | tg_signal_data |
| hsignal | |
| modifier | tg_string | tg_string
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
| print | tg_message |
| command | tg_argv_eol1 |
| command_run | tg_command |
| timer | tg_remaining_calls |
| config | tg_value |
| focus | |
| info | tg_info | tg_info
| info_hashtable | | alle Variablen die in der hashtable empfangen wurden
|===
[NOTE]
@@ -3835,15 +3936,15 @@ Matching groups können in "replace" genutzt werden:
* `+${re:0}+` bis `+${re:99}+`: `+${re:0}+` um alles zu matchen, `+${re:1}+` bis
`+${re:99}+` um Gruppen zu fangen
* `+${re:+++}+`: der letzte match (mit der höchsten Nummer)
* `+${re:+}+`: der letzte match (mit der höchsten Nummer)
* `+${hide:c,${re:N}}+`: match "N" mit allen Zeichen die durch "c" ersetzt wurden
(Beispiel: `+${hide:*,${re:2}}+` ist die group #2 mit allen Zeichen die durch
`+*+` ersetzt wurden).
Beispiel: nutzte Fettschrift zwischen dem Zeichen "*":
Beispiel: nutzte Fettschrift zwischen dem Zeichen `+*+`:
----
/\*(\S+)\*/*${color:bold}${re:1}${color:-bold}*/
/\*([^ ]+)\*/*${color:bold}${re:1}${color:-bold}*/
----
Beispiel: der Standard-Trigger _server_pass_ nutzt folgenden regulären Ausdruck
@@ -3851,7 +3952,7 @@ um ein Passwort in den Befehlen `/server` und `/connect` zu verbergen (die
einzelnen Zeichen des Passwortes werden durch `+*+` ersetzt):
----
==^(/(server|connect) .*-(sasl_)?password=)(\S+)(.*)==${re:1}${hide:*,${re:4}}${re:5}
==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}
----
[NOTE]
@@ -4118,6 +4219,32 @@ Der Callback von "focus" legt folgende Variablen in der Hashtable an:
Das Hashtable enthält alle Schlüssel/Werte (Typ: string/string).
[[trigger_data_info]]
===== Info
Der Callback von "info" legt folgende Variablen in der Hashtable an:
[width="100%",cols="3m,2,14",options="header"]
|===
| Variable | Typ | Beschreibung
| tg_info_name | string | Name der Information.
| tg_arguments | string | Argumente.
| tg_info | string | ein leerer String (die Information die zurückgegeben werden soll).
|===
[[trigger_data_info_hashtable]]
===== Info_hashtable
Der Callback von "info_hashtable" legt folgende Variablen in der Hashtable an:
[width="100%",cols="3m,2,14",options="header"]
|===
| Variable | Typ | Beschreibung
| tg_info_name | string | Name der Information.
|===
Das Hashtable enthält alle Schlüssel/Werte (Typ: string/string).
[[trigger_examples]]
==== Beispiele
@@ -4127,7 +4254,7 @@ Das Hashtable enthält alle Schlüssel/Werte (Typ: string/string).
Zeigt URLs in grün an:
----
/trigger add url_color modifier weechat_print "${tg_notify}" "==\S+://\S+==${color:green}${re:0}${color:reset}=="
/trigger add url_color modifier weechat_print "${tg_notify}" "==[a-zA-Z0-9_]+://[^ ]+==${color:green}${re:0}${color:reset}=="
----
[NOTE]
+5 -5
View File
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2008-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -13,7 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
"""
@@ -90,7 +90,6 @@ PLUGIN_LIST = {
'sec': 'o',
'weechat': 'co',
'alias': '',
'aspell': 'o',
'buflist': 'co',
'charset': 'o',
'exec': 'o',
@@ -108,14 +107,13 @@ PLUGIN_LIST = {
'guile': 'o',
'javascript': 'o',
'php': 'o',
'spell': 'o',
'trigger': 'o',
'xfer': 'co',
}
# options to ignore
IGNORE_OPTIONS = (
r'aspell\.dict\..*',
r'aspell\.option\..*',
r'charset\.decode\..*',
r'charset\.encode\..*',
r'irc\.msgbuffer\..*',
@@ -126,6 +124,8 @@ IGNORE_OPTIONS = (
r'logger\.level\..*',
r'logger\.mask\..*',
r'relay\.port\..*',
r'spell\.dict\..*',
r'spell\.option\..*',
r'trigger\.trigger\..*',
r'weechat\.palette\..*',
r'weechat\.proxy\..*',
+9 -4
View File
@@ -1,6 +1,6 @@
<!--
Custom styles for Asciidoctor
Copyright (C) 2016-2018 Sébastien Helleu <flashcode@flashtux.org>
Copyright (C) 2016-2019 Sébastien Helleu <flashcode@flashtux.org>
-->
<style>
#header,#content,#footnotes,#footer {
@@ -19,11 +19,16 @@ h1,h2,h3,h4,h5 {
line-height: normal;
font-size: .95em;
}
.keyseq kbd {
font-size: .7em;
kbd {
font-size: .9em;
}
.keyseq {
margin-left: .2em;
margin-right: .2em;
}
.tableblock kbd {
font-size: .7438em;
margin-top: .2em;
margin-bottom: .2em;
}
.hex {
padding: 0 .2em;
+5 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
if(ENABLE_MAN)
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.en.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.en.adoc
@@ -64,6 +66,7 @@ if(ENABLE_DOC)
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc
${AUTOGEN_USER}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.en.html"
+12 -8
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
docdir = $(datadir)/doc/$(PACKAGE)
@@ -23,7 +23,9 @@ docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
docinfo.html \
weechat.1.en.adoc \
weechat-headless.1.en.adoc \
cmdline_options.en.adoc \
cmdline_options_debug.en.adoc \
weechat_user.en.adoc \
weechat_plugin_api.en.adoc \
weechat_scripting.en.adoc \
@@ -36,7 +38,8 @@ EXTRA_DIST = CMakeLists.txt \
$(wildcard autogen/plugin_api/*.adoc)
if MAN
man_targets = weechat.1
man_targets = weechat.1 \
weechat-headless.1
man_install = install-man
man_uninstall = uninstall-man
endif
@@ -54,12 +57,14 @@ if DOC
endif
all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.en.adoc cmdline_options.en.adoc
# man pages
weechat.1: weechat.1.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/en/weechat.1.en.adoc
weechat-headless.1: weechat-headless.1.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/en/weechat-headless.1.en.adoc
# user's guide
weechat_user.en.html: weechat_user.en.adoc cmdline_options.en.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
weechat_user.en.html: weechat_user.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
$(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.adoc
# plugin API reference
@@ -97,7 +102,6 @@ install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/man1/
(cd '$(DESTDIR)$(mandir)/man1/' && $(RM) weechat-headless.1 && $(LN_S) weechat.1 weechat-headless.1)
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
@@ -119,4 +123,4 @@ uninstall-doc:
# clean
clean-local:
-$(RM) weechat.1 weechat_*.html
-$(RM) weechat.1 weechat-headless.1 weechat_*.html
+4 -4
View File
@@ -10,10 +10,6 @@
| alias | alias_value | value of alias
| aspell | aspell_dicts | list of aspell installed dictionaries
| aspell | aspell_langs | list of all languages supported by aspell
| exec | exec_commands_ids | ids (numbers and names) of executed commands
| fset | fset_options | configuration files, sections, options and words of options
@@ -86,6 +82,10 @@
| script | script_tags | tags of scripts in repository
| spell | spell_dicts | list of installed dictionaries
| spell | spell_langs | list of all languages supported
| tcl | tcl_script | list of scripts
| trigger | trigger_hook_arguments | default arguments for a hook
+2 -1
View File
@@ -243,6 +243,7 @@ _nick_first_tried_   (integer) +
_nick_alternate_number_   (integer) +
_nick_   (string) +
_nick_modes_   (string) +
_host_   (string) +
_checking_cap_ls_   (integer) +
_cap_ls_   (hashtable) +
_checking_cap_list_   (integer) +
@@ -429,7 +430,7 @@ _tags_   (string) +
_requirements_   (string) +
_min_weechat_   (string) +
_max_weechat_   (string) +
_md5sum_   (string) +
_sha512sum_   (string) +
_url_   (string) +
_popularity_   (integer) +
_date_added_   (time) +
+6 -2
View File
@@ -6,8 +6,6 @@
|===
| Plugin | Name | Description | Arguments
| aspell | aspell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat")
| fifo | fifo_filename | name of FIFO pipe | -
| guile | guile_eval | evaluation of source code | source code to execute
@@ -74,6 +72,8 @@
| ruby | ruby_version | version of the interpreter used | -
| spell | spell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat")
| tcl | tcl_eval | evaluation of source code | source code to execute
| tcl | tcl_interpreter | name of the interpreter used | -
@@ -112,6 +112,10 @@
| weechat | term_width | width of terminal | -
| weechat | totp_generate | generate a Time-based One-Time Password (TOTP) | secret (in base32), timestamp (optional, current time by default), number of digits (optional, between 4 and 10, 6 by default)
| weechat | totp_validate | validate a Time-based One-Time Password (TOTP): 1 if TOTP is correct, otherwise 0 | secret (in base32), one-time password, timestamp (optional, current time by default), number of passwords before/after to test (optional, 0 by default)
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
| weechat | version | WeeChat version | -
@@ -6,7 +6,7 @@
. logger (14000)
. exec (13000)
. trigger (12000)
. aspell (11000)
. spell (11000)
. alias (10000)
. buflist (9000)
. fifo (8000)
-32
View File
@@ -1,32 +0,0 @@
//
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
[[command_aspell_aspell]]
* `+aspell+`: aspell plugin configuration
----
/aspell enable|disable|toggle
listdict
setdict <dict>[,<dict>...]
deldict
addword [<dict>] <word>
enable: enable aspell
disable: disable aspell
toggle: toggle aspell
listdict: show installed dictionaries
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
deldict: delete dictionary used on current buffer
addword: add a word in personal aspell dictionary
Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands).
To enable aspell on all buffers, use option "default_dict", then enable aspell, for example:
/set aspell.check.default_dict "en"
/aspell enable
To display a list of suggestions in a bar, use item "aspell_suggest".
Default key to toggle aspell is alt-s.
----
+2 -1
View File
@@ -33,7 +33,8 @@ The following variables can be used in these options:
- ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...}
- ${merged}: a boolean ("0" or "1"), "1" if the buffer is merged with at least another buffer; it can be used in a condition: ${if:${merged}?...:...}
- ${format_number}: indented number with separator (evaluation of option buflist.format.number)
- ${number}: indented number, for example " 1" if there are between 10 and 99 buffers
- ${number}: indented number, for example " 1" if there are between 10 and 99 buffers; for merged buffers, this variable is set with number for the first buffer and spaces for the next buffers with same number
- ${number2}: indented number, for example " 1" if there are between 10 and 99 buffers
- ${number_displayed}: "1" if the number is displayed, otherwise "0"
- ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent)
- ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix)
+1 -1
View File
@@ -67,7 +67,7 @@ Default options can be set in the option exec.command.default_options.
Examples:
/exec -n ls -l /tmp
/exec -sh -n ps xu | grep weechat
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx
/exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
/exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Machine uptime:" uptime
+6
View File
@@ -25,3 +25,9 @@
** type: integer
** values: -1 .. 25920000
** default value: `+0+`
* [[option_exec.command.shell]] *exec.command.shell*
** description: pass:none[shell to use with command "/exec -sh"; it can be just the name of shell if it is in PATH (for example "bash") or the absolute path to the shell (for example "/bin/bash")]
** type: string
** values: any string
** default value: `+"sh"+`
+1 -1
View File
@@ -399,7 +399,7 @@
** default value: `+""+`
* [[option_fset.format.option2]] *fset.format.option2*
** description: pass:none[second format of each line with an option which is not marked not the selected one (note: content is evaluated, see /help fset); an empty string uses the default format ("${marked} ${name} ${type} ${value2}"), which is without evaluation of string and then much faster; formats can be switched with key ctrl+X]
** description: pass:none[second format of each line with an option which is not marked nor the selected one (note: content is evaluated, see /help fset); an empty string uses the default format ("${marked} ${name} ${type} ${value2}"), which is without evaluation of string and then much faster; formats can be switched with key ctrl+X]
** type: string
** values: any string
** default value: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
+1 -1
View File
@@ -160,7 +160,7 @@ Examples:
server: send to this server (internal name)
target: nick or channel ('*' = current channel)
type: CTCP type (examples: "version", "ping", ..)
type: CTCP type (examples: "version", "ping", etc.)
arguments: arguments for CTCP
Examples:
+3 -3
View File
@@ -363,7 +363,7 @@
** default value: `+256+`
* [[option_irc.look.server_buffer]] *irc.look.server_buffer*
** description: pass:none[merge server buffers]
** description: pass:none[merge server buffers; this option has no effect if a layout is saved and is conflicting with this value (see /help layout)]
** type: integer
** values: merge_with_core, merge_without_core, independent
** default value: `+merge_with_core+`
@@ -429,7 +429,7 @@
** default value: `+off+`
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
** description: pass:none[growing factor for autoreconnect delay to server (1 = always same delay, 2 = delay*2 for each retry, ..)]
** description: pass:none[growing factor for autoreconnect delay to server (1 = always same delay, 2 = delay*2 for each retry, etc.)]
** type: integer
** values: 1 .. 100
** default value: `+2+`
@@ -741,7 +741,7 @@
** default value: `+2048+`
* [[option_irc.server_default.ssl_fingerprint]] *irc.server_default.ssl_fingerprint*
** description: pass:none[fingerprint of certificate which is trusted and accepted for the server; only hexadecimal digits are allowed (0-9, a-f): 64 chars for SHA-512, 32 chars for SHA-256, 20 chars for SHA-1 (insecure, not recommended); many fingerprints can be separated by commas; if this option is set, the other checks on certificates are NOT performed (option "ssl_verify") (note: content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)]
** description: pass:none[fingerprint of certificate which is trusted and accepted for the server; only hexadecimal digits are allowed (0-9, a-f): 128 chars for SHA-512, 64 chars for SHA-256, 40 chars for SHA-1 (insecure, not recommended); many fingerprints can be separated by commas; if this option is set, the other checks on certificates are NOT performed (option "ssl_verify") (note: content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)]
** type: string
** values: any string
** default value: `+""+`
+7 -3
View File
@@ -7,7 +7,7 @@
----
/relay list|listfull|listrelay
add <name> <port>
add <name> <port>|<path>
del|start|restart|stop <name>
raw
sslcertkey
@@ -15,20 +15,22 @@
list: list relay clients (only active relays)
listfull: list relay clients (verbose, all relays)
listrelay: list relays (name and port)
add: add a relay (listen on a port)
add: add a relay (listen on a port/path)
del: remove a relay (clients remain connected)
start: listen on port
restart: close the server socket and listen again on port (clients remain connected)
stop: close the server socket (clients remain connected)
name: relay name (see format below)
port: port used for relay
path: path used for relay (for UNIX domain socket only); "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default), content is evaluated (see /help eval)
raw: open buffer with raw Relay data
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
Relay name is: [ipv4.][ipv6.][ssl.]<protocol.name>
Relay name is: [ipv4.][ipv6.][ssl.]<protocol.name> or unix.[ssl.]<protocol.name>
ipv4: force use of IPv4
ipv6: force use of IPv6
ssl: enable SSL
unix: use UNIX domain socket
protocol.name: protocol and name to relay:
- protocol "irc": name is the server to share (optional, if not given, the server name must be sent by client in command "PASS", with format: "PASS server:password")
- protocol "weechat" (name is not used)
@@ -55,4 +57,6 @@ Examples:
/relay add ipv6.ssl.weechat 9001
weechat protocol with SSL, using IPv4 + IPv6:
/relay add ipv4.ipv6.ssl.weechat 9001
weechat protocol over UNIX domain socket:
/relay add unix.weechat %h/relay_socket
----
+21 -3
View File
@@ -111,7 +111,7 @@
** default value: `+off+`
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** description: pass:none[POSIX extended regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^(123.45.67.89|192.160.*)$"]
** description: pass:none[POSIX extended regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^(123\.45\.67\.89|192\.160\..*)$"]
** type: string
** values: any string
** default value: `+""+`
@@ -164,8 +164,26 @@
** values: any string
** default value: `+"NORMAL:-VERS-SSL3.0"+`
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** description: pass:none[POSIX extended regular expression with origins allowed in websockets (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^http://(www\.)?example\.(com|org)"]
* [[option_relay.network.totp_secret]] *relay.network.totp_secret*
** description: pass:none[secret for the generation of the Time-based One-Time Password (TOTP), encoded in base32 (only letters and digits from 2 to 7); it is used as second factor in weechat protocol, in addition to the password, which must not be empty (empty value means no TOTP is required) (note: content is evaluated, see /help eval)]
** type: string
** values: any string
** default value: `+""+`
* [[option_relay.network.totp_window]] *relay.network.totp_window*
** description: pass:none[number of Time-based One-Time Passwords to accept before and after the current one: 0 = accept only the current password, 1 = accept one password before, the current, and one after, 2 = accept two passwords before, the current, and two after, ...; a high number reduces the security level (0 or 1 are recommended values)]
** type: integer
** values: 0 .. 256
** default value: `+0+`
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** description: pass:none[POSIX extended regular expression with origins allowed in websockets (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^https?://(www\.)?example\.(com|org)"]
** type: string
** values: any string
** default value: `+""+`
* [[option_relay.weechat.commands]] *relay.weechat.commands*
** description: pass:none[comma-separated list of commands allowed/denied when input data (text or command) is received from a client; "*" means any command, a name beginning with "!" is a negative value to prevent a command from being executed, wildcard "*" is allowed in names; this option should be set if the relay client is not safe (someone could use it to run commands); for example "*,!exec,!quit" allows any command except /exec and /quit]
** type: string
** values: any string
** default value: `+""+`
+7 -7
View File
@@ -57,13 +57,13 @@ Keys on script buffer:
alt+v view script
Input allowed on script buffer:
i/r/l/L/u/h action on script (same as keys above)
q close buffer
$ refresh buffer
s:x,y sort buffer using keys x and y (see /help script.look.sort)
s: reset sort (use default sort)
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* remove filter
i/r/l/L/u/A/h/v action on script (same as keys above)
q close buffer
$ refresh buffer
s:x,y sort buffer using keys x and y (see /help script.look.sort)
s: reset sort (use default sort)
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* remove filter
Mouse actions on script buffer:
wheel scroll list

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