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

Compare commits

...

718 Commits

Author SHA1 Message Date
Sebastien Helleu ed094058de Version 0.3.4-rc1 2010-12-10 08:51:06 +01:00
Sebastien Helleu ce269387a5 Fix infinite loop in API function string_has_highlight_regex if regex is empty 2010-12-09 23:09:49 +01:00
Sebastien Helleu b4d58dd9da Add option "-switch" to commands /connect and /reconnect 2010-12-09 23:05:15 +01:00
Sebastien Helleu 4d4a034567 Allow /reconnect on servers that are not currently connected 2010-12-09 19:42:45 +01:00
Sebastien Helleu d847a6ed74 Update german translations and user guide 2010-12-08 22:03:24 +01:00
Sebastien Helleu b6662ee3cf Add color support in option weechat.look.buffer_time_format 2010-12-07 19:43:19 +01:00
Sebastien Helleu f7d719f8fd Remove unneeded variable name "position" in gui-bar-window.h 2010-12-07 15:16:50 +01:00
Sebastien Helleu 186cc877ac Update required version of asciidoc to build doc (now 8.5.0) 2010-12-07 10:26:41 +01:00
Sebastien Helleu 2a18daad6b Add note about automatic unhook for function hook_process in plugin API reference 2010-12-06 18:59:27 +01:00
Sebastien Helleu 7a3946f261 Fix unstranslated string in french user guide 2010-12-06 12:20:35 +01:00
Sebastien Helleu 2a3d3c95e5 Add doc about relay plugin in user guide 2010-12-06 12:00:32 +01:00
Sebastien Helleu c1b3c3bd33 Add some custom css styles for asciidoc 2010-12-06 11:30:33 +01:00
Sebastien Helleu ca46275b8b Remove css files from .gitignore 2010-12-06 11:29:28 +01:00
Sebastien Helleu 921e40f6b0 Enable compilation of Relay plugin by default 2010-12-06 08:58:36 +01:00
Sebastien Helleu 9a98175510 Add example for irc proxy in /help relay 2010-12-06 08:35:13 +01:00
Sebastien Helleu 31612f485f Update italian translations, FAQ and plugin API reference 2010-12-04 18:39:23 +01:00
Sebastien Helleu 4dcbb1014d Fix typos in scripting guide 2010-12-04 13:50:54 +01:00
Sebastien Helleu c7d10d88ae Update german translations and FAQ 2010-12-03 20:06:18 +01:00
Sebastien Helleu e6f1c3038e Add question about key to jump to buffer 11 (or higher) in FAQ 2010-12-02 18:54:41 +01:00
Sebastien Helleu e2be1dbd43 Allow channel argument without user/host for IRC command /ban 2010-12-02 12:10:04 +01:00
Sebastien Helleu 443b6962b4 Replace "receiver" by "target" in help of some IRC commands 2010-12-02 10:08:23 +01:00
Sebastien Helleu e0b528600f Call to hook_config when config option is created 2010-12-01 16:41:39 +01:00
Sebastien Helleu 13de7e327c Fix /help notice: receiver can be nick or channel 2010-11-29 10:22:20 +01:00
Sebastien Helleu 528dc258ca Replace buffer local variable "no_highlight_nicks" by "hotlist_max_level_nicks" 2010-11-29 10:17:09 +01:00
Sebastien Helleu b6833392fe Add question about IRC SSL connection in FAQ 2010-11-28 15:21:26 +01:00
Sebastien Helleu 0532412212 Use tag "no_highlight" for options/values printed by command /set 2010-11-28 12:41:50 +01:00
Sebastien Helleu e92079cfe9 Add new option weechat.look.highlight_regex and function string_has_highlight_regex in plugin API (task #10321) 2010-11-25 21:28:14 +01:00
Sebastien Helleu 8b9abab711 Fix problem with /set on boolean options with value "toggle" 2010-11-24 22:03:55 +01:00
Sebastien Helleu 082e0251e2 Fix warning in irc-message.h 2010-11-21 13:07:33 +01:00
Sebastien Helleu c2fda185d8 Move some functions from irc-server.c and irc-protocol.c to irc-message.c 2010-11-21 13:06:37 +01:00
Sebastien Helleu 428e160f02 Update german translations 2010-11-20 00:14:11 +01:00
Sebastien Helleu 0f00fccc34 Update list of contributors 2010-11-19 23:44:13 +01:00
Sebastien Helleu 0aff0ef66f Fix high CPU usage during gnutls handshake 2010-11-19 21:27:00 +01:00
Sebastien Helleu b384b4257c Add some tags in FAQ to filter IRC messages displayed when joining channel 2010-11-19 15:48:24 +01:00
Sebastien Helleu 5b236c5658 Return an error when trying to set boolean option with invalid value 2010-11-19 14:56:25 +01:00
Sebastien Helleu aec97d2082 Add note about comma and "+" in help of options weechat.bar.xxx.items 2010-11-18 18:27:10 +01:00
Sebastien Helleu 50421cf27f Update user guide 2010-11-18 18:22:16 +01:00
Sebastien Helleu 917ce33ef1 Add note about strftime in help of options weechat.look.buffer_time_format and weechat.look.item_time_format 2010-11-18 18:21:26 +01:00
Gu1ll4um3r0m41n f15f114e4d Fix infinite loop on gnutls handshake when connecting with SSL to server on wrong port or server with SSL problems (bug #27487) 2010-11-18 17:35:08 +01:00
Sebastien Helleu 4d1c9a8315 Fix data sent to callback of hook_process, improve hook_process by using buffer
Fix: some data was sometimes missing (not sent to callback).
Improvement: use a 64KB buffer for child output and send data to callback only
when buffer is full.
2010-11-14 16:22:31 +01:00
Sebastien Helleu 2f45cbfb02 Add partial portuguese translations (pt_BR.po) 2010-11-13 10:16:10 +01:00
Sebastien Helleu ac9ab58542 Update german translations, FAQ and scripting guide 2010-11-12 22:05:58 +01:00
Sebastien Helleu c311090722 Fix bug with flags on irc raw buffer 2010-11-12 18:53:07 +01:00
Sebastien Helleu 525b8fb87a Fix dcc chat buffer name in xfer plugin (use irc server in name) (bug #29925) 2010-11-12 17:59:02 +01:00
Sebastien Helleu f874402089 Remove obsolete comments in xfer plugin 2010-11-12 17:33:57 +01:00
Sebastien Helleu fc91093065 Fix bug with priority (low/high) for irc messages (all messages were sent with low priority) 2010-11-12 17:28:10 +01:00
Sebastien Helleu f27f5a6cb0 Fix upgrade of relay clients in state "disconnected" (do not create any hook after /upgrade) 2010-11-12 10:19:41 +01:00
Sebastien Helleu 045c936e4d Fix color of buffer name in status bar after /upgrade for IRC servers connected with SSL 2010-11-12 10:18:44 +01:00
Sebastien Helleu 1a61495166 Set tag "notify_message" for messages sent to IRC channels 2010-11-12 09:21:43 +01:00
Sebastien Helleu 118f2918b3 Fix dcc file transfer for large files (more than 4 GB) on 32-bit systems (bug #31531)
This commit fixes another bug when file is sent: sometimes transfer was still
active although file was successfully sent.
2010-11-10 16:39:41 +01:00
Sebastien Helleu 11b3dd2874 Use type "unsigned long long" for API function string_format_size 2010-11-10 16:34:56 +01:00
Sebastien Helleu 9ff51e04eb Remove debug print of irc redirects in log file 2010-11-10 16:00:16 +01:00
Sebastien Helleu 09c62fe7d1 Update ChangeLog 2010-11-10 12:24:14 +01:00
Sebastien Helleu 9ea73fda4b Fix bug with /upgrade on ssl servers with prefix modes and chars
The value of isupport, prefix_modes and prefix_chars in irc server are now
removed on connection, not on disconnection.
2010-11-10 12:21:18 +01:00
Sebastien Helleu 3248833125 Search nicklist group without leading digits in irc plugin 2010-11-10 12:11:56 +01:00
Sebastien Helleu 97ea89c44f Allow search of nicklist group with name not including leading digits (for nicklist sort) 2010-11-10 12:11:31 +01:00
Sebastien Helleu 614b4dfc25 Fix zero byte malloc when joining a channel without nick 2010-11-10 11:38:39 +01:00
Sebastien Helleu 7eabbc6bb7 Fix crash when displaying groups in buffer nicklist 2010-11-10 11:37:30 +01:00
Sebastien Helleu c2b5076334 Add note about "%h" replaced by WeeChat home in some options 2010-11-09 22:44:00 +01:00
Sebastien Helleu 0b54d49306 Fix Tcl detection in autotools and cmake (look for tcl 8.5 or newer) (bug #30907) 2010-11-09 21:53:59 +01:00
Sebastien Helleu d4171e85e3 Update ChangeLog 2010-11-09 17:56:48 +01:00
Sebastien Helleu d3492db093 Fix irc topic completion in command /topic when channel topic starts with channel name 2010-11-09 17:55:55 +01:00
Sebastien Helleu ec38523bb3 Complete with alias value for second argument of command /alias 2010-11-09 15:52:50 +01:00
Sebastien Helleu 8c129779ac Add function "hook_completion_get_string" in plugin API 2010-11-09 15:45:14 +01:00
Sebastien Helleu 25879ca189 Move WeeChat core completions from gui-completion.c to wee-completion.c 2010-11-09 15:03:07 +01:00
Sebastien Helleu fed54c196e Update buffer local variables when irc server is renamed 2010-11-08 20:16:45 +01:00
Sebastien Helleu d478526b08 Add info "python2_bin" (path to python 2.x interpreter) in Python plugin 2010-11-08 15:10:13 +01:00
Sebastien Helleu 0b287f7e01 Add question in FAQ about hiding names when joining an IRC channel 2010-11-08 11:42:50 +01:00
Sebastien Helleu dc6e7a1c0f Add doc for some signals and hsignals in plugin API reference
Doc for signals:
- logger_backlog
- xxx_script_install
- xxx_script_remove
- irc_input_send

Doc for hsignals:
- irc_redirect_command
- irc_redirect_pattern
2010-11-08 11:04:55 +01:00
Sebastien Helleu b10bcabae1 Fix typo in help of options irc.look.notify_tags_ison and irc.look.notify_tags_whois 2010-11-07 09:31:20 +01:00
Sebastien Helleu 29097ad7eb Move examples at the end of /help logger 2010-11-06 13:53:12 +01:00
Sebastien Helleu e001c05710 Add IRC command /notify, new options for notify and infolist "irc_notify" (task #5441)
This commit provides:
- new IRC 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 (but should not be changed, only /notify
  command should be used)
- infolist "irc_notify" to get notify list (by server or for all servers).
2010-11-06 11:38:48 +01:00
Sebastien Helleu a56dc00b2f Set highlight flag on line printed if there is tag "notify_highlight" 2010-11-05 12:13:00 +01:00
Sebastien Helleu a3d84a8e9e Update german and italian translations 2010-11-01 22:27:30 +01:00
Sebastien Helleu b1416957da Write ignore list in debug file when dumping irc data 2010-11-01 12:01:27 +01:00
Sebastien Helleu b3365a7a71 Fix return code values in plugin API reference for some config callbacks 2010-11-01 10:49:38 +01:00
Sebastien Helleu 60c1b6ea83 Use constant WEECHAT_RC_OK instead of 0 in function command_reload_file 2010-11-01 10:21:56 +01:00
Sebastien Helleu ac6b299e8b Remove dead assignments 2010-10-31 18:23:16 +01:00
Sebastien Helleu 06b48ccf83 Add 2 "return" to make C static analyzer happy 2010-10-31 18:22:10 +01:00
Sebastien Helleu 2378e4c2db Remove test on pointer which can't be NULL 2010-10-31 18:21:10 +01:00
Sebastien Helleu 90589b2d71 Add extra checks on some pointers 2010-10-31 18:19:53 +01:00
Sebastien Helleu 911f90e792 Remove function gui_input_move 2010-10-31 18:18:09 +01:00
Sebastien Helleu 4d25e4e0fd Replace unneeded function gui_input_move by memmove 2010-10-31 18:14:28 +01:00
Sebastien Helleu d58024ecec Check that buffer pointer is not NULL in upgrade_file_read_buffer 2010-10-31 18:12:18 +01:00
Sebastien Helleu fce371e22a Remove unused variables 2010-10-31 18:10:51 +01:00
Sebastien Helleu e442182a96 Remove unneeded assignments in ruby and lua API functions 2010-10-31 11:56:22 +01:00
Sebastien Helleu fdc5fa1b14 Fix bug with default value in config option infolist 2010-10-30 15:07:00 +02:00
Sebastien Helleu 24fa337181 Fix target buffer used to display IRC message 327 (whois, host) 2010-10-30 10:41:12 +02:00
Sebastien Helleu 0e315a81ad Fix crash when unloading lua script 2010-10-30 10:38:19 +02:00
Sebastien Helleu b4f63e70af Update ChangeLog 2010-10-29 23:28:02 +02:00
Sebastien Helleu fcc209a8bf Add new option irc.look.nick_color_force 2010-10-29 23:25:05 +02:00
Sebastien Helleu 90c99339b4 Return empty string in API function weechat_color when color is unknown 2010-10-29 23:21:57 +02:00
Sebastien Helleu 804551122a Use function nicklist_nick_set to change nick color (instead of removing/adding nick in nicklist) 2010-10-29 18:41:06 +02:00
Sebastien Helleu 32db2eac25 Add new functions in plugin API to get/set nicks/groups properties in nicklist
8 new functions added:
- 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
2010-10-29 18:40:25 +02:00
Sebastien Helleu 488de9895b Fix display of nick in nicklist when groups are displayed and nick has "visible" to 0 2010-10-29 18:37:46 +02:00
Sebastien Helleu 908d9ca602 Add refresh when buffer property "nicklist_display_groups" is changed 2010-10-28 19:35:14 +02:00
Sebastien Helleu 5e5a926e99 Fix bug when counting number of groups/nicks displayed in nicklist 2010-10-28 19:32:57 +02:00
Sebastien Helleu 90f06b348e Improve IRC nick prefixes, all modes (even unknown) are used with PREFIX value from message 005 2010-10-28 18:52:18 +02:00
Sebastien Helleu 666d4530f7 Update ChangeLog 2010-10-26 23:07:44 +02:00
Sebastien Helleu ff79164350 Use IRC command arguments instead of full message for IRC redirection (when searching "string" in message) 2010-10-25 14:20:28 +02:00
Sebastien Helleu 4e6c4ceb5f Add irc modifier and irc_parse_message in scripting guide 2010-10-25 13:09:11 +02:00
Sebastien Helleu e5afd593ab Fix default value of bar items options (bug #31422) 2010-10-23 12:29:43 +02:00
Sebastien Helleu 868df21122 Add IRC command redirection (task #6703) 2010-10-23 09:54:31 +02:00
Sebastien Helleu 0cf04dca7c Add new functions in plugin API: hook_hsignal and hook_hsignal_send 2010-10-23 08:58:18 +02:00
Sebastien Helleu 6e126937bc Fix problem with day change message, which can be displayed twice
Day of month is saved in a variable to be used later (after signal is sent).
So that is content of static structure has changed, it will not be a problem,
it will not be used any more after signal.
2010-10-21 23:26:33 +02:00
Sebastien Helleu e867e96587 Add missing function "infolist_reset_item_cursor" in scripting guide 2010-10-20 13:11:24 +02:00
Sebastien Helleu 073dff330d Fix use of flags for irc_server_sendf in signal irc_input_send 2010-10-19 21:19:42 +02:00
Sebastien Helleu 775a2befd9 Fix color of comma in hotlist bar item 2010-10-18 22:00:51 +02:00
Stefano Pigozzi e86ef9af6f Fix scripts loading with Ruby 1.9.2 2010-10-17 11:43:26 +02:00
Sebastien Helleu ebf94445b9 Use const void * for keys and values in some hashtable functions 2010-10-17 10:39:51 +02:00
Sebastien Helleu eff0f9abdb Fix crash in hashtable_get_string with "values" or "keys_values" when some values in hashtable are NULL 2010-10-16 11:30:42 +02:00
Sebastien Helleu 880163d784 Fix crash when channel topic is removed if it was already empty (if option irc.look.display_old_topic is on) 2010-10-16 07:57:40 +02:00
Sebastien Helleu ee37060734 Update polish translations (patch from Piotr Szymaniak) 2010-10-16 00:09:53 +02:00
Sebastien Helleu 9186a5b7e3 Add properties "values" and "keys_values" for hashtable_get_string (return string with list of values or keys/values) 2010-10-15 23:48:45 +02:00
Sebastien Helleu 79c8c90256 Fix bug with buffer name in "/bar scroll" command 2010-10-15 16:06:17 +02:00
Sebastien Helleu 3412b71959 Update german FAQ and translations 2010-10-13 20:02:05 +02:00
Sebastien Helleu 26e98da4cb Add new options irc.color.nick_prefix and irc.color.nick_suffix 2010-10-13 08:41:03 +02:00
Sebastien Helleu 34d14e649e Add release notes with IRC options renamed in NEWS file 2010-10-12 18:43:30 +02:00
Sebastien Helleu 0e68117b37 Add new option weechat.look.hotlist_unique_numbers (task #10691) 2010-10-12 18:22:11 +02:00
Sebastien Helleu 6e695ebe65 Add new option irc.look.item_away_message 2010-10-12 08:31:12 +02:00
Sebastien Helleu 000a222378 Remove unneeded spaces 2010-10-11 16:34:01 +02:00
Sebastien Helleu fe2a361364 Add property "no_highlight_nicks" in buffers to disable highlight for some nicks in buffer
This can be used with script buffer_autoset.py (see /help autosetbuffer).
2010-10-11 16:29:15 +02:00
Sebastien Helleu f32e18c717 Add function "hashtable_has_key" in WeeChat and plugin API 2010-10-11 13:56:57 +02:00
Sebastien Helleu b9d6c5c5a0 Add property "keys" for hashtable_get_string (return string with list of keys) 2010-10-10 19:44:29 +02:00
Sebastien Helleu cbcc89cb26 Add missing new line in an italian translation 2010-10-10 19:32:47 +02:00
Sebastien Helleu 773bdc8d18 Allow null value for hashtable entries 2010-10-10 17:49:47 +02:00
Sebastien Helleu 8d6c5e9e4c Add tag "nick_xxx" in IRC messages 2010-10-10 17:39:15 +02:00
Sebastien Helleu 4171da77ef Fix typo in french translation 2010-10-10 12:24:40 +02:00
Sebastien Helleu 88aa0757ca Update name of IRC options for away check in FAQ 2010-10-10 12:06:02 +02:00
Sebastien Helleu e2f58820fe Allow script functions "prefix" and "color" when script is not yet registered with "register" 2010-10-10 10:04:37 +02:00
Sebastien Helleu 85f6444fef Use local buffer in print functions, so that they are reentrant 2010-10-09 21:56:14 +02:00
Sebastien Helleu e1ffb1f70f Fix crash when API function is called in Perl script before "register" 2010-10-09 17:18:56 +02:00
Sebastien Helleu b114d88687 Move some IRC options from network section to server section (task #10664, task #10668)
Options moved: connection_timeout, anti_flood_prio_high, anti_flood_prio_low,
away_check, away_check_max_nicks, default_msg_part, default_msg_quit.
2010-10-09 16:53:06 +02:00
Sebastien Helleu 6e89c47bf1 Switch to next server address when IRC error is received after TCP connection but before message 001 (bug #30884) 2010-10-08 18:31:17 +02:00
Sebastien Helleu 321210ff6e Fix display of IRC message "ERROR", fix detection of closed link ("Closing Link" after ERROR) 2010-10-07 18:31:21 +02:00
Sebastien Helleu a36abbfe0e Fix HTML output of ChangeLog 2010-10-07 14:56:54 +02:00
Sebastien Helleu 97a8a30a3d Rename options "irc.look.open_{channel|pv}_near_server" to "irc.look.new_{channel|pv}_position" with new values (none, next or near_server) 2010-10-07 14:48:45 +02:00
Sebastien Helleu 36736564ab Fix crash/bug when option "addresses" for an IRC server is unset or changed when WeeChat is connected to this server (bug #31268) 2010-10-07 13:15:49 +02:00
Sebastien Helleu 55b5130a87 Display old IRC channel topic when topic is unset (task #9780) 2010-10-06 18:27:48 +02:00
Sebastien Helleu 8ba491e427 Optimize incremental search in buffer: do not search any more when chars are added to a text not found (bug #31167) 2010-10-06 11:26:33 +02:00
Sebastien Helleu c3c767c164 Revert last commit about "buffer_switch" signal (introduced new refresh bugs on bars) 2010-10-06 10:38:05 +02:00
Sebastien Helleu bd39c8fa85 Fix signal "buffer_switch" (was sent twice when switching buffer) (bug #31158) 2010-10-05 21:48:54 +02:00
Sebastien Helleu 9605a8726f Add new option weechat.look.prefix_align_min (task #10650) 2010-10-02 00:29:19 +02:00
Sebastien Helleu 5ef4ecb5ab Add missing tag "no_log" in /help filter 2010-10-01 08:05:38 +02:00
Sebastien Helleu b3b0f2d31c New value for option weechat.look.input_share (none, commands, text, all), add new option weechat.look.input_share_overwrite (boolean) 2010-09-28 11:09:52 +02:00
Sebastien Helleu c38df378d6 Update german translations, FAQ, user and quickstart guide 2010-09-28 09:37:47 +02:00
Sebastien Helleu 139a1896d7 Add question about OS X and broken display in FAQ 2010-09-27 18:20:16 +02:00
Sebastien Helleu e2a078a0b9 Reset infolist item cursor in callbacks for signals sending infolist pointer 2010-09-27 17:33:22 +02:00
Sebastien Helleu 7a56040c5d Update ChangeLog 2010-09-27 16:35:58 +02:00
Sebastien Helleu c3be323a73 Fix memory leak in function gui_buffer_set_highlight_words_list 2010-09-27 16:35:14 +02:00
Sebastien Helleu 4a97ea68f5 Free hashtable with local variables when closing buffer (memory leak) 2010-09-27 16:17:56 +02:00
Sebastien Helleu ccd6a81f0b Fix memory leak when removing item in hashtable 2010-09-27 16:17:16 +02:00
Sebastien Helleu bd7ae6d5a7 Add new option weechat.look.input_share (task #9228) 2010-09-27 16:07:27 +02:00
Sebastien Helleu 91343167cd Fix use of unitialized value when setting new value to config option 2010-09-27 15:25:56 +02:00
Sebastien Helleu 08e7b53eeb Use lower case for keys in doc and ChangeLog 2010-09-23 13:33:09 +02:00
Sebastien Helleu e102a7e2f9 Update italian translations and docs 2010-09-22 21:44:07 +02:00
Sebastien Helleu 86323231fd Add missing function "infolist_reset_item_cursor" in script API (bug #31057) 2010-09-21 17:31:27 +02:00
Sebastien Helleu 051788f731 Send channel topic to relay client when joining a channel 2010-09-20 22:49:11 +02:00
Sebastien Helleu 1d3c3ffb92 Fix formatting bug in html doc with description of options (bug #31076) 2010-09-20 20:32:01 +02:00
Sebastien Helleu 4ece2db629 Fix crash on /upgrade when upgrade file is not found 2010-09-20 16:59:47 +02:00
Sebastien Helleu 324963dc4c Update ChangeLog 2010-09-19 10:23:51 +02:00
JD Horelick 9f7919ef05 Fix Ruby plugin compilation with Ruby 1.9.2 2010-09-19 08:52:15 +02:00
Sebastien Helleu 944a38ffbd Fix order of relay clients after /upgrade 2010-09-18 21:57:29 +02:00
Sebastien Helleu d5db1ac743 Remove unused variable 2010-09-18 21:45:31 +02:00
Sebastien Helleu 0100856251 Add support of /upgrade in Relay plugin 2010-09-18 21:44:26 +02:00
Sebastien Helleu 5b04d4123c Close relay server sockets on /upgrade 2010-09-18 09:36:50 +02:00
Sebastien Helleu 43cc44abca Fix problem when removing relay server (socket was closed, but option relay.port.xxx not removed) 2010-09-18 09:25:59 +02:00
Sebastien Helleu a20ae821da Add new option relay.network.bind_address 2010-09-17 20:16:08 +02:00
Sebastien Helleu bf98885506 Update ChangeLog 2010-09-17 17:04:13 +02:00
Sebastien Helleu 914e3bcc9e Add new option relay.network.password 2010-09-17 16:44:35 +02:00
Sebastien Helleu 8b26f3c953 Add optional plugin name for command /debug dump and signal "debug_dump" 2010-09-17 16:12:41 +02:00
Sebastien Helleu efcc5010b6 Update german user guide 2010-09-17 15:32:13 +02:00
Sebastien Helleu 83552cc882 Fix uninitialized variable 2010-09-17 14:53:25 +02:00
Sebastien Helleu d2d60d4711 Beta version of IRC proxy feature in Relay plugin
Major changes in Relay plugin:
- IRC proxy feature (beta),
- raw buffer.

Changes in IRC plugin:
- add tags for messages sent to servers,
- add signal "irc_input_send" to simulate text/command on an IRC buffer,
- add prefix in infolist "irc_nick".
2010-09-17 14:47:36 +02:00
Sebastien Helleu 26a99c2912 Check immediately away nicks on all servers/channels if option irc.network.away_check is changed from 0 to any other value 2010-09-12 10:44:16 +02:00
Sebastien Helleu 5d0ad1f631 Do not send WHO on channel joined (to check away nicks) if option irc.network.away_check is set to 0 2010-09-12 10:42:29 +02:00
Sebastien Helleu edb839732e Update german translations and user guide 2010-09-08 22:18:45 +02:00
Sebastien Helleu 691395949f Fix compilation of Ruby plugin with ruby <= 1.8.6 (bug #30967) 2010-09-08 20:49:14 +02:00
Sebastien Helleu 543ec96bcc Fix compilation error and warning with Python 2.5 2010-08-27 16:21:36 +02:00
Sebastien Helleu 712623547f Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, info_get_hashtable), add IRC info_hashtable "irc_parse_message"
Note: tcl >= 8.5 is now required (for tcl plugin).
2010-08-27 15:59:06 +02:00
Sebastien Helleu bb42984f5d Fix bug with hostmasks in IRC command /ignore (bug #30716) 2010-08-20 10:22:32 +02:00
Sebastien Helleu 3402de02b0 Add help about values for /help weechat.look.buffer_notify_default 2010-08-14 12:29:43 +02:00
Sebastien Helleu 6cc44124cb Add note about regex (split into 2 regex) in /help filter 2010-08-14 12:20:02 +02:00
Sebastien Helleu 559b5b3f47 Update user guide 2010-08-14 12:04:58 +02:00
Sebastien Helleu 2b9fdf4c6e Add info about upgrade process in /help upgrade 2010-08-14 11:58:59 +02:00
Sebastien Helleu a6cd860b5a If null value is allowed for an option, display it in /help option 2010-08-14 11:44:08 +02:00
Sebastien Helleu 776329b93f Rename cmake options DISABLE_XXX to ENABLE_XXX 2010-08-13 23:35:30 +02:00
Sebastien Helleu 3950a60e87 Use window pointers instead of buffer pointers in gui-input.c 2010-08-12 18:24:52 +02:00
Sebastien Helleu 94acf64f8c Use similar behaviour for keys bound to local or global history (bug #30759) 2010-08-12 17:38:59 +02:00
Sebastien Helleu 50ac22c16e Add note about up/down arrows for key ctrl-R in user guide 2010-08-12 16:02:12 +02:00
Sebastien Helleu 65a8317153 Add hook priority in plugin API reference 2010-08-12 12:54:25 +02:00
Sebastien Helleu 0890179398 Fix another bug with hook priority (for commands) 2010-08-12 11:02:10 +02:00
Sebastien Helleu c9f94e6f0a Fix bug with order of hooks: for equal priority, hook is added at the end of the list 2010-08-12 10:59:21 +02:00
Sebastien Helleu 6317dba790 Add priority for hooks (task #10550) 2010-08-11 18:42:38 +02:00
Sebastien Helleu d59d099e82 Add new plugin "rmodifier": alter modifier strings with regular expressions (bug #26964) 2010-08-11 15:43:20 +02:00
Sebastien Helleu 6f063c95f1 Version 0.3.4-dev 2010-08-07 11:03:07 +02:00
Sebastien Helleu b0618fdc68 Version 0.3.3 2010-08-07 09:48:29 +02:00
Sebastien Helleu bdd4557d56 Add missing autogen files for german user guide 2010-08-06 22:34:31 +02:00
Sebastien Helleu 256366ae34 Update polish translations 2010-08-06 20:54:03 +02:00
Sebastien Helleu f11549f654 Fix display bug with special chars (ascii value below 32) (bug #30602) 2010-08-06 19:02:25 +02:00
Sebastien Helleu 2fb864b8f8 Update german scripting guide 2010-08-05 17:25:31 +02:00
Sebastien Helleu 4b25175b13 Fix typo in german scripting guide 2010-08-05 14:03:35 +02:00
Sebastien Helleu f73f57909b Add german scripting guide 2010-08-05 14:01:00 +02:00
Jiri Golembiovsky 06b166c07a Updated czech translations 2010-08-04 22:35:17 +02:00
Sebastien Helleu ff5c707b64 Do not connect to server after creating it with /server add (even if autoconnect is on) 2010-08-04 21:23:58 +02:00
Sebastien Helleu 4b44b2c9f5 Update ChangeLog 2010-08-04 21:15:30 +02:00
Sebastien Helleu 4bf87649dc Fix typo in english scripting guide 2010-08-04 21:12:23 +02:00
Sebastien Helleu 88b8767eed Fix bug with version number when version ends with "-rcX" 2010-08-03 23:37:05 +02:00
Sebastien Helleu 7906410904 Version 0.3.3-rc3 2010-08-03 18:39:58 +02:00
Sebastien Helleu b7dfda9d4d Fix bug in IRC parser when no argument is received after command, no callback was called, and message was silently ignored (bug #30640) 2010-08-03 17:59:12 +02:00
Sebastien Helleu 36d1aac9bd Remove obsolete comment 2010-08-01 18:17:09 +02:00
Sebastien Helleu 972e8bc4a8 Replace TODO by FIXME in comments 2010-08-01 18:16:55 +02:00
Sebastien Helleu 1c5a4f7a6c Update spanish translations 2010-07-30 17:13:43 +02:00
Sebastien Helleu 167377d25d Add update of item "buffer_title" when switching to other buffer (fix problem when item is used in a root bar) 2010-07-30 14:19:48 +02:00
Sebastien Helleu 32ed39d5c4 Update italian translations 2010-07-29 18:20:03 +02:00
Sebastien Helleu 4007a2d7c1 Update italian translations and scripting guide 2010-07-29 14:11:54 +02:00
Sebastien Helleu 7512ae4b1f Add example of printed message with tag "no_log" in scripting guide 2010-07-28 11:59:19 +02:00
Sebastien Helleu 734fe231c9 Use tags "no_log" and "cmd_history" for output of command /history (output is not logged and can be filtered on tag) 2010-07-28 11:33:11 +02:00
Sebastien Helleu a45048bfbf Use tag "no_log" in logger plugin to prevent a line from being written in log file 2010-07-28 11:20:22 +02:00
Sebastien Helleu 2c16dc8abc Update german translations 2010-07-27 18:05:26 +02:00
Sebastien Helleu 097676d72b Version 0.3.3-rc2 2010-07-27 09:49:08 +02:00
Sebastien Helleu a7468c0d65 Update italian plugin API reference 2010-07-25 13:12:58 +02:00
Sebastien Helleu 95c5ca9a96 Fix import of certificates created by openssl >= 1.0.0 (bug #30316) 2010-07-25 12:54:26 +02:00
Sebastien Helleu b153d82b78 Remove unneeded spaces and tabs 2010-07-19 15:36:51 +02:00
Jiri Golembiovsky eaa54488ca Updated czech translations 2010-07-18 17:09:11 +02:00
Sebastien Helleu eb2beeacc5 Fix bug with double quotes in DCC filenames (bug #30471) 2010-07-18 10:05:38 +02:00
Sebastien Helleu aef695e0e8 Fix help of option irc.look.nick_color_stop_chars (problem in generated asciidoc file) 2010-07-17 21:38:04 +02:00
Sebastien Helleu 65439e9346 Update plugin API reference: add "New in version x.y.z" for some functions, add missing functions 2010-07-17 17:47:52 +02:00
Sebastien Helleu 22430bfee3 Update string with plugin API version 2010-07-17 13:45:33 +02:00
Sebastien Helleu ef7958df6e Replace single quotes by double quotes in ChangeLog 2010-07-17 13:35:42 +02:00
Sebastien Helleu 077f1d9fe7 Update docs 2010-07-17 10:30:43 +02:00
Sebastien Helleu 2c870934ba Update italian translations and plugin API reference 2010-07-17 10:29:05 +02:00
Sebastien Helleu 54468b8ef3 Add new option irc.look.nick_color_stop_chars 2010-07-17 10:21:25 +02:00
Sebastien Helleu 8dc23863c5 Use '!' to reverse a regex in a filter (to keep lines matching regex and hide other lines) 2010-07-16 19:45:14 +02:00
Sebastien Helleu 790b1cdf1a Version 0.3.3-rc1 2010-07-16 09:07:02 +02:00
Sebastien Helleu ab780803dc Update german translations 2010-07-15 09:10:52 +02:00
Sebastien Helleu 6a536720e6 Fix typo in english plugin API reference 2010-07-12 09:44:57 +02:00
Sebastien Helleu 7e6088570b Add new option weechat.look.align_end_of_lines 2010-07-12 09:43:16 +02:00
Sebastien Helleu d2d4cc97ec Fix oftc address in quickstart guide 2010-07-08 17:21:05 +02:00
Sebastien Helleu 1c5f800d99 Update ChangeLog with patch #7218 2010-07-07 17:55:17 +02:00
Sebastien Helleu 46fdee19b0 Fix bug with replacement char in API function string_remove_color (bug #30296) 2010-07-07 15:44:02 +02:00
Sebastien Helleu 869e4448b9 Improve output of /plugin list and listfull 2010-07-07 12:06:20 +02:00
Sebastien Helleu f4952f5588 Update german translations 2010-07-06 18:23:40 +02:00
Sebastien Helleu 558ca510f7 Fix display of local SSL certificate when it is sent to IRC server 2010-07-06 13:36:23 +02:00
Sebastien Helleu a31d01a46d Add note about option irc.network.lag_min_show (now in milliseconds) in NEWS file 2010-07-06 12:24:27 +02:00
Sebastien Helleu aefa40836b Improve irc lag indicator: two colors (counting and finished), update item even when pong has not been received, lag_min_show is now in milliseconds 2010-07-06 12:17:30 +02:00
Sebastien Helleu 86e503b640 Add function hashtable_add_to_infolist in plugin API reference 2010-07-05 18:13:35 +02:00
Sebastien Helleu 94fbbc0a7f Use of hashtable for local variables of buffers 2010-07-05 17:05:49 +02:00
Sebastien Helleu cb18bdb10b Add hashtable in core and plugin API 2010-06-28 10:40:30 +02:00
Sebastien Helleu ff97274bca Add string "weelist" in dump of weelist to log file 2010-06-28 10:39:34 +02:00
Sebastien Helleu dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 97c41c60a4 Fix bug with fifo pipe when setting fifo option to "on" 2010-06-18 17:45:50 +02:00
Sebastien Helleu de49e31965 Add IRC info "irc_nick_color_name" to get color name of a nick 2010-06-15 14:13:59 +02:00
Sebastien Helleu 44c95288ab Update italian translations 2010-06-14 10:23:59 +02:00
Sebastien Helleu 664da8318f Add german user guide 2010-06-14 10:16:34 +02:00
Sebastien Helleu 5832b0789c Update polish translations 2010-06-14 09:52:49 +02:00
Sebastien Helleu 63bc14e805 Fix refresh of bar item when it is used more than one time in a bar 2010-06-11 17:00:07 +02:00
Sebastien Helleu b54af6af0b Fix display bug with attributes like underlined in bars (bug #29889) 2010-06-11 16:52:10 +02:00
Sebastien Helleu adf74ec691 Add note about binary package weechat-dbg in doc, for reporting crashs with gdb 2010-06-11 13:05:28 +02:00
Sebastien Helleu e7d1485c5a Use empty real name by default in IRC config, instead of reading real name in /etc/passwd (bug #30111) 2010-06-11 11:47:28 +02:00
Sebastien Helleu 9def214c11 Add some notes for translators in gettext files 2010-06-10 12:41:28 +02:00
Sebastien Helleu 5528243362 Fix display of IRC message 333 on some servers 2010-06-10 12:13:26 +02:00
Sebastien Helleu 7e0230e3ed Update german translations 2010-06-10 09:47:27 +02:00
Sebastien Helleu acbfb55ef5 Add new options irc.look.display_host_join/join_local/quit and irc.color.reason_quit 2010-06-08 16:51:57 +02:00
Sebastien Helleu 6c17328bdf Fix bug with scroll_unread: do not scroll to a filtered line (bug #29991) 2010-06-04 13:46:33 +02:00
Sebastien Helleu ff0a798634 Move options weechat.color.nicklist_prefix to irc plugin
Options renamed or removed:
- weechat.color.nicklist_prefix1 renamed to irc.color.nick_prefix_op
- weechat.color.nicklist_prefix2 renamed to irc.color.nick_prefix_halfop
- weechat.color.nicklist_prefix3 renamed to irc.color.nick_prefix_voice
- weechat.color.nicklist_prefix4 renamed to irc.color.nick_prefix_user
- weechat.color.nicklist_prefix5 removed
2010-06-04 12:35:25 +02:00
Sebastien Helleu 4a61dc9633 Fix bug with command-line option "irc://" (bug #29990), new format for port and channels 2010-06-02 15:17:54 +02:00
Sebastien Helleu e46fc21129 Add missing IRC commands 346, 347 (channel invite list) 2010-06-01 15:28:01 +02:00
Sebastien Helleu aa4a40247c Fix display of IRC message 330 on some servers 2010-06-01 12:20:33 +02:00
Sebastien Helleu eb7ac36bc0 Add missing include of time.h 2010-05-29 13:29:18 +02:00
Sebastien Helleu b36ed39388 Fix bug with nick prefix '*' (chan founder) on some IRC servers (bug #29890) 2010-05-29 09:18:19 +02:00
Sebastien Helleu f93eec488e Fix display bug with description of option in /help option if description is empty 2010-05-26 16:19:05 +02:00
Sebastien Helleu 114fe22a80 Add new option weechat.look.confirm_quit 2010-05-26 15:16:24 +02:00
Sebastien Helleu 5f37c28018 Fix typo in /help wallchops 2010-05-24 10:02:29 +02:00
Sebastien Helleu 69ca70cbc7 Update italian files 2010-05-24 09:58:31 +02:00
Sebastien Helleu 64d7fa7e51 Fix bug with option irc.network.lag_check when value is 0 (zero) 2010-05-23 12:18:45 +02:00
Sebastien Helleu f51ec651d3 Add note about new command /wallchops in NEWS file 2010-05-23 10:07:46 +02:00
Sebastien Helleu 7bb9892e86 Add IRC command /wallchops, fix bug with display of notice for ops (task #10021, bug #29932) 2010-05-23 10:01:38 +02:00
Sebastien Helleu 3c17e9e272 Update german translations 2010-05-22 22:29:40 +02:00
Sebastien Helleu 2dee40dd1a Add isupport value in IRC servers (content of IRC message 005), with new infos: irc_server_isupport and irc_server_isupport_value 2010-05-22 10:51:43 +02:00
Sebastien Helleu 6253e3ac37 Add optional message in IRC private buffer when nick is back on server after a /quit
New option: "irc.look.display_pv_back" (default value is "on").
Option "irc.look.show_away_once" has been renamed to "irc.look.display_pv_away_once".
2010-05-21 18:19:02 +02:00
Sebastien Helleu 61886d9455 Remove unneeded tabs in es.po and it.po 2010-05-20 12:36:53 +02:00
Sebastien Helleu 732f58d776 Add examples in /help join 2010-05-20 12:23:50 +02:00
Sebastien Helleu 4616ca981e Add function "string_expand_home" in plugin API, fix bug with replacement of home in paths 2010-05-02 18:21:58 +02:00
Sebastien Helleu 1836b40a4a Move option irc.color.item_buffer_name_ssl to core (new name: weechat.color.status_name_ssl) 2010-05-01 12:26:59 +02:00
Sebastien Helleu 1dd211da9a Replace command "bt" by "bt full" for reporting crashes with gdb in user guide 2010-05-01 11:48:02 +02:00
Sebastien Helleu 8875c167d7 Fix crash with hook_process (when timer is called on a deleted hook process) 2010-05-01 11:15:16 +02:00
Sebastien Helleu 0e86f684a5 Update italian user guide 2010-04-29 10:47:08 +02:00
Sebastien Helleu f1dfe08243 Add keys for undo/redo changes on command line (default: ctrl/alt + underscore) (task #9483) 2010-04-28 23:24:32 +02:00
Sebastien Helleu 87d29b1987 Add new options irc.network.autoreconnect_delay_growing and irc.network.autoreconnect_delay_max (task #10338) 2010-04-21 23:24:05 +02:00
Sebastien Helleu 9cbcc24d4c Add new option irc.color.item_buffer_name_ssl (task #10339) 2010-04-20 22:19:43 +02:00
Sebastien Helleu b06c02f199 Try other nick when connecting to IRC server and receiving message 437 (nick unavailable) 2010-04-20 22:07:59 +02:00
Sebastien Helleu 03fb1c94b3 Set buffer local variable "away" when opening new IRC channel (bug #29618) 2010-04-20 21:09:50 +02:00
Sebastien Helleu ba115ce113 Replace "joker" by "wildcard" 2010-04-18 23:52:32 +02:00
Sebastien Helleu 0f3a315405 Version 0.3.3-dev 2010-04-18 11:12:54 +02:00
Sebastien Helleu 18339e9608 Version 0.3.2 2010-04-18 10:16:19 +02:00
Sebastien Helleu 5bd729d6a0 Add missing file cmake/FindGcrypt.cmake in packages built by autotools 2010-04-18 09:55:45 +02:00
Sebastien Helleu 26041f4a1c Update polish translations and FAQ 2010-04-16 22:04:03 +02:00
Sebastien Helleu 9eaea6bc19 Update italian autogen files for doc 2010-04-15 11:39:57 +02:00
Sebastien Helleu fed65826b5 Update italian docs and translations 2010-04-15 11:24:51 +02:00
Sebastien Helleu 4456a6047f Remove unused variable 2010-04-14 19:25:59 +02:00
Sebastien Helleu 1dba2c8c92 Fix crash on /quit when scrolling in buffer and if first line displayed was from a plugin 2010-04-14 19:24:54 +02:00
Sebastien Helleu 42b9038919 Update spanish translations 2010-04-14 18:29:13 +02:00
Sebastien Helleu aeee1856eb Fix bug with perl script filename when multiplicity is disabled (bug #29530) 2010-04-13 00:02:07 +02:00
Sebastien Helleu acca17d142 Fix display of perl errors (use tab to force empty prefix on message) 2010-04-12 15:29:30 +02:00
Sebastien Helleu ea3588a8d7 Fix crash on /quit or unload of Perl plugin under FreeBSD and Cygwin (bug #29467) 2010-04-12 14:08:26 +02:00
Sebastien Helleu 339e42df76 Fix bug with writing of configuration files under Cygwin 2010-04-12 14:06:33 +02:00
Sebastien Helleu ea5fa86793 Update italian scripting guide 2010-04-11 20:10:40 +02:00
Sebastien Helleu ca76653a2c Update german translations 2010-04-11 14:32:38 +02:00
Sebastien Helleu 1df46609ce Add italian scripting guide 2010-04-11 13:17:03 +02:00
Jiri Golembiovsky b1fa81468e Updated czech translations 2010-04-10 21:58:58 +02:00
Sebastien Helleu 9c0eb33213 Version 0.3.2-rc1 2010-04-10 12:47:06 +02:00
Sebastien Helleu 030ac33005 Use tag "no_highlight" for CTCP replies 2010-04-10 12:39:56 +02:00
Sebastien Helleu c33f0e60ea Define WeeChat license as macro for C compiler, used in plugins to set license 2010-04-09 15:39:52 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 9394a78e39 Fix typo in description of modifier "history_add" 2010-04-08 17:16:38 +02:00
Sebastien Helleu a6f37da576 Add buffer pointer as string in modifier_data for modifier "history_add" 2010-04-08 16:49:19 +02:00
Sebastien Helleu d52f051ec1 Add modifier "history_add" (text added to buffer or global history) 2010-04-08 15:27:47 +02:00
Sebastien Helleu 45c0cc7e7e Define list of default aliases as an array 2010-04-08 14:29:12 +02:00
Sebastien Helleu 3fc11807f9 Update italian doc and translations 2010-04-08 10:24:05 +02:00
Sebastien Helleu 2e82d65819 Fix comment in wee-config-file.c 2010-04-06 14:11:35 +02:00
Sebastien Helleu fab6ac61ee Use tag "no_highlight" for backlog lines printed by logger plugin 2010-04-05 22:41:15 +02:00
Sebastien Helleu 9399c9f9cb Add missing properties "highlight_words_add" and "highlight_words_del" in array gui_buffer_properties_set 2010-04-05 13:45:59 +02:00
Sebastien Helleu 9017a23013 Add option "-open" for IRC command /connect 2010-04-05 13:03:11 +02:00
Sebastien Helleu a6e819f790 Update german translations 2010-04-04 12:31:56 +02:00
Sebastien Helleu 2a37b44ae1 Reformat NEWS file with style of ChangeLog 2010-04-04 12:19:03 +02:00
Sebastien Helleu eccb4703cf Add note about upgrading to version 0.3.2 in NEWS file 2010-04-03 19:50:24 +02:00
Sebastien Helleu 09939a1b4b Fix display of empty nicklist in IRC private buffers 2010-04-03 19:49:36 +02:00
Sebastien Helleu 19d74e18a5 Add highlight word "$nick" instead of real nick in IRC and xfer plugins 2010-04-03 19:11:55 +02:00
Sebastien Helleu 96f49f39e0 Add or remove highlight words in a buffer with "highlight_words_add" and "highlight_words_del" (for buffer_set) 2010-04-03 19:11:02 +02:00
Sebastien Helleu 187381f1d1 Allow buffer local variables in highlight words (option "weechat.look.highlight" and buffer property "highlight_words")
For example "$nick" with highlight a message printed if it contains content of local variable "nick" for buffer.
2010-04-03 17:25:13 +02:00
Sebastien Helleu 915d4801f6 Change buffer properties only when buffer is created by IRC plugin (channels and raw buffer), do not change them after /upgrade 2010-04-03 16:52:37 +02:00
Sebastien Helleu df0d408ce9 Add option "get" for command /buffer, add completions with buffer properties 2010-04-03 16:05:39 +02:00
Sebastien Helleu 1c80407f0f Fix help of option weechat.plugin.autoload 2010-03-31 23:40:59 +02:00
Sebastien Helleu 848cce2c8a Improve plugins autoload (option weechat.plugin.autoload): allow to use "*" as joker and "!" to prevent a plugin from being autoloaded (task #6361)
Some examples for option weechat.plugin.autoload:
- load all plugins (default): "*"
- load only alias, charset, irc and logger: "alias,charset,irc,logger"
- load all plugins but not lua and tcl: "*,!lua,!tcl"
- load all plugins but not perl and python: "*,!p*" (not recommended because new future plugins may begin with "p")
- do not load any plugin (weechat core alone is not really useful eheh): "!*"
2010-03-31 22:39:09 +02:00
Sebastien Helleu 253ff07009 Add missing variables in debug dump 2010-03-30 11:00:42 +02:00
Sebastien Helleu 12afdb29c4 Fix bug with IRC nicks on reconnection: try all nicks in list, even if nick used was not the first in list of nicks 2010-03-30 10:40:01 +02:00
Sebastien Helleu 5ff1742c86 Fix display of message 333 (channel topic) when there is no host but only nick 2010-03-29 22:50:56 +02:00
Sebastien Helleu 4981e7150a Update german translations 2010-03-29 22:39:10 +02:00
Sebastien Helleu 35944a4219 Fix IRC command /list: send channel and server name given as argument, and use separate option "-re" to allow a regex 2010-03-29 18:37:08 +02:00
Sebastien Helleu b6bb001fc4 Free some extra memory when exiting WeeChat 2010-03-29 17:56:23 +02:00
Sebastien Helleu 56526db5cf Fix infinite loop with /layout apply and bug when applying layout, sometimes many /layout apply were needed (bug #26110) 2010-03-29 16:30:23 +02:00
Sebastien Helleu 88853df080 Fix check of IRC ignore when channel is specified in ignore (problem with PRIVMSG queries) 2010-03-29 12:25:28 +02:00
Sebastien Helleu 485e884751 Add new option irc.look.part_closes_buffer to close buffer when /part is issued on channel (task #10295) 2010-03-26 20:02:17 +01:00
Sebastien Helleu 2bbc228381 Fix compilation of irc plugin with old gcc (remove #ifdef inside call of macro)
Compilation failed with gcc 3.2.3.
2010-03-26 19:29:37 +01:00
Sebastien Helleu b9e65ec63d Fix bug with writing of configuration files when disk is full (bug #29331) 2010-03-26 19:01:25 +01:00
Sebastien Helleu 24135801b4 Backport changes in english plugin API reference into italian version 2010-03-26 10:40:37 +01:00
Sebastien Helleu 483b63f360 Add signals "nicklist_{group|nick}_{added|removed}", remove signal "nicklist_changed"
Data for new signals is a string with format: "buffer,name", where:
- buffer is a pointer, for example 0x123456
- name is group or nick name added/removed from nicklist on this buffer.
2010-03-25 17:02:37 +01:00
Sebastien Helleu ac27388543 Display cmake warning if libncursesw is not found 2010-03-25 16:03:38 +01:00
Sebastien Helleu e59bbbb40a Add "irc_is_nick" for function info_get to check if a string is a valid IRC nick name (patch #7133) 2010-03-25 10:39:07 +01:00
Sebastien Helleu 96e6ae3fc3 Add new options for command /key (listdefault, listdiff and reset), add examples in /help key
Note: old option "reset" for /key has been renamed to "resetall".
2010-03-24 19:54:31 +01:00
Sebastien Helleu b932f403a5 Fix crash on /upgrade if there are some nicks in a nicklist without prefix or prefix_color defined 2010-03-24 10:14:10 +01:00
Sebastien Helleu 3e2943a0e0 Fix bug with nicklist prefix in log file 2010-03-24 10:03:57 +01:00
Sebastien Helleu b491cc3479 Fix bug with callbacks when loading a script already loaded 2010-03-24 00:04:00 +01:00
Sebastien Helleu f1a946054e Add italian translation of Plugin API Reference 2010-03-23 18:05:07 +01:00
Sebastien Helleu 8cfabb4696 Add examples in /help dcc, update german translations 2010-03-23 16:26:36 +01:00
Sebastien Helleu a0f442a84e Fix alignment of keys in output of /key when some keys contain wide chars 2010-03-23 13:41:23 +01:00
Sebastien Helleu 03d01f4234 Remove WeeChat slogan 2010-03-23 10:23:26 +01:00
Sebastien Helleu 2bad57ae28 Add note about /unalias in /help alias 2010-03-23 09:58:07 +01:00
Sebastien Helleu 918383424f Reformat examples in help of some commands 2010-03-23 09:42:37 +01:00
Sebastien Helleu 855993d14d Fix typos in /help window and /help logger 2010-03-22 21:00:58 +01:00
Sebastien Helleu a10b9038d5 Add list of tags in /help filter 2010-03-22 20:26:24 +01:00
Sebastien Helleu c1c1005b36 Add new option weechat.color.nicklist_offline 2010-03-22 11:08:17 +01:00
Sebastien Helleu da4438b995 Remove obsolete option weechat.color.nicklist_more 2010-03-22 10:49:11 +01:00
Sebastien Helleu 1c5ef4d1e3 Remove IRC commands /forcejoin and /omode (now possible with alias and custom completion)
It is now possible to add such commands with aliases:

  /alias -completion %%sajoin forcejoin /quote forcejoin
  /alias -completion %%samode omode /quote omode
2010-03-21 18:41:35 +01:00
Sebastien Helleu 8f9f1f8e97 Fix typo in /help alias 2010-03-21 18:35:44 +01:00
Sebastien Helleu b40ea94a49 Add custom completion for aliases (task #9479) 2010-03-21 18:30:51 +01:00
Sebastien Helleu 7d65014efd Add missing refresh of bar item "buffer_number" when a buffer is closed 2010-03-21 16:24:59 +01:00
Sebastien Helleu 032a5ddef5 Add new signals "irc_raw_in" and "irc_raw_in2" (sent for all IRC messages, even if ignored with /ignore) 2010-03-21 13:06:33 +01:00
Sebastien Helleu c0d050f7cc Update german translations 2010-03-21 10:14:05 +01:00
Sebastien Helleu 29fad11df5 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/weechat 2010-03-21 10:00:56 +01:00
Sebastien Helleu 6f84e00ee7 Use buffer local variable "nick" for default item "input_prompt" 2010-03-21 10:00:47 +01:00
Jiri Golembiovsky 6b4aaef396 Updated czech translation 2010-03-21 01:11:25 +01:00
Sebastien Helleu 5755bd50ac Add IRC commands /omode and /forcejoin (patch #7126) 2010-03-20 23:42:21 +01:00
Sebastien Helleu 7925b2d242 Refresh screen when exiting WeeChat (to display messages printed after /quit) 2010-03-20 17:09:07 +01:00
Sebastien Helleu 9d96090d7d Add functions string_match, string_has_highlight and string_mask_to_regex in script plugin API 2010-03-20 13:32:08 +01:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01:00
Sebastien Helleu bc3fa9fd4c Move /away command from irc plugin to core 2010-03-19 19:28:19 +01:00
Sebastien Helleu 568d913c58 Fix bugs with function hook_command_run
A '/' is always sent at beginning of command to callback, even if user used
another command char.
Now it is possible to catch a command, with or without arguments, with
hook_command_run("/command").
2010-03-19 19:25:59 +01:00
Sebastien Helleu 645d38d403 Fix bugs with xfer buffer after /upgrade 2010-03-17 16:19:57 +01:00
Sebastien Helleu 4fd23e12dc Do not send signals "irc_in" and "irc_in2" when IRC messages are ignored 2010-03-17 16:03:51 +01:00
Sebastien Helleu feb51fbca4 Fix display of host in IRC message 333 (channel topic) 2010-03-14 16:48:15 +01:00
Sebastien Helleu 7ef5a97a08 Update italian user guide 2010-03-14 11:33:03 +01:00
Jiri Golembiovsky ab9d1480f6 Updated czech translation 2010-03-13 20:51:59 +01:00
Sebastien Helleu 0a66ad0e0f Fix typo: crashs -> crashes 2010-03-13 20:02:29 +01:00
Sebastien Helleu 5233ceed44 Add chapter "Report crashs" in user guide 2010-03-13 14:22:24 +01:00
Sebastien Helleu 86b1ab20b5 Display IRC command 324 (channel modes) on server buffer if channel is not open 2010-03-11 10:23:34 +01:00
Sebastien Helleu 7ec6092ba9 Update german and italian FAQ 2010-03-10 10:06:20 +01:00
Sebastien Helleu 23a0c0d610 Add missing initialization of variable in function irc_sasl_mechanism_plain 2010-03-09 17:06:58 +01:00
Sebastien Helleu 7ef2f312ff Update german FAQ 2010-03-09 16:54:24 +01:00
Sebastien Helleu 9dd45664fd Add questions in FAQ about voice filtering and check of away nicks 2010-03-09 12:04:52 +01:00
Sebastien Helleu 8f4240dbf7 Add more sections in FAQ 2010-03-08 18:21:07 +01:00
Sebastien Helleu bab29e028d Fix color of away nicks in nicklist when doing /names (nick color was reset to default color) 2010-03-08 15:14:31 +01:00
Sebastien Helleu 58d423319c Return absolute path for info_get of "weechat_dir" (bug #27936) 2010-03-08 11:21:03 +01:00
Sebastien Helleu 682f5addc0 Add chapter with common tasks in scripting guide 2010-03-07 22:23:44 +01:00
Sebastien Helleu eb5e54602e Fix extraction and check of IRC prefix 2010-03-07 21:49:07 +01:00
Sebastien Helleu da50ac329a Bug with IRC prefix "!" for mode "a" (channel admin) (bug #29109) 2010-03-07 21:22:23 +01:00
Jiri Golembiovsky 788df1089b Updated czech translations 2010-03-06 00:21:19 +01:00
Sebastien Helleu 401ddff564 Fix display in bars with filling horizontal 2010-03-04 15:28:16 +01:00
Sebastien Helleu 16e62bdc60 Fix display in bars with filling set to columns_vertical or columns_horizontal 2010-03-04 14:12:36 +01:00
Sebastien Helleu fa60269325 Hide read marker if all lines after marker are filtered (only if option read_marker_always_show is off) 2010-03-04 13:06:57 +01:00
Sebastien Helleu 1db7ef859c Update german translations 2010-03-04 11:06:37 +01:00
Sebastien Helleu 6ad62e4021 Fix bugs with cursor and background in bars
Bugs fixed:
- cursor was moving to position (0,0) in bar when refreshing input bar content
- background color stopped before end of line in bars with vertical filling
  (like buffers)
- cursor was not displayed when input bar has automatic size and that first line
  is filled (on some terminals like konsole or roxterm)
2010-03-04 11:05:05 +01:00
Sebastien Helleu ca51a9780f Update user guide 2010-03-04 11:02:23 +01:00
Sebastien Helleu 3e47e9c3e3 Set option weechat.look.read_marker_always_show to off by default 2010-03-03 22:24:38 +01:00
Sebastien Helleu 4faa3c772b Add new option weechat.look.read_marker_always_show 2010-03-03 22:19:51 +01:00
Sebastien Helleu d1950311cf Free IRC raw messages when irc plugin is unloaded 2010-03-03 20:43:41 +01:00
Sebastien Helleu 92bc700349 Fix completion bug for commands when input starts with two command chars (like //) 2010-03-03 18:42:12 +01:00
Sebastien Helleu a852d3af4b Fix bug with /away -all in IRC plugin: set or unset future away for disconnected servers (bug #29022) 2010-03-02 17:55:41 +01:00
Sebastien Helleu 0543b0ccc7 Add new option weechat.look.command_chars, add functions string_is_command_char and string_input_for_buffer in plugin and script API 2010-03-02 17:34:49 +01:00
Sebastien Helleu 282f786c1a Fix crash in Perl plugin when callbacks are called during script initialization (bug #29018) 2010-02-27 09:58:24 +01:00
Sebastien Helleu 62aff3f1c6 Add command line option "--no-script" in user guide 2010-02-26 11:57:55 +01:00
Sebastien Helleu 873bcfc9f0 Add command line option "-s" (or "--no-script") to start WeeChat without loading any script 2010-02-26 11:36:41 +01:00
Sebastien Helleu eabf21098d Fix display of color in input when it is scrolled 2010-02-24 22:54:07 +01:00
Sebastien Helleu 5868fc3c6d Fix bug with cursor when position is last char of terminal 2010-02-24 17:40:07 +01:00
Sebastien Helleu dfa43ea1a7 Add link for curses color names in user guide 2010-02-23 18:02:00 +01:00
Sebastien Helleu 7cc735c7f9 Add WeeChat color name beside IRC color in user guide 2010-02-23 17:19:50 +01:00
Sebastien Helleu 3d3dc1593d Allow script commands to reload only one script 2010-02-23 10:51:59 +01:00
Sebastien Helleu 27bf347e1c Update italian FAQ 2010-02-22 14:38:00 +01:00
Sebastien Helleu 2fc187743c Update italian user guide 2010-02-22 09:39:58 +01:00
Sebastien Helleu 08b17c2f26 Fix cursor color in input bar 2010-02-21 23:26:33 +01:00
Sebastien Helleu 42972ce00a Update german FAQ 2010-02-21 11:29:49 +01:00
Sebastien Helleu 8c324c238d Fix bug with bar background after text with background color (bug #28157) 2010-02-21 10:08:48 +01:00
Sebastien Helleu 6e1e8e9ed8 Add question about meta keys in FAQ 2010-02-20 21:23:09 +01:00
Sebastien Helleu 94764208e4 Allow input "q" to close IRC raw buffer 2010-02-20 16:54:58 +01:00
Sebastien Helleu b523613e73 Fix translated string in output of "/uptime -o" 2010-02-20 13:23:27 +01:00
Sebastien Helleu 35157bc2f1 Minor updates in FAQ and user guide 2010-02-20 12:17:30 +01:00
Sebastien Helleu cd5b8c8f9e Add parentheses around exponents in user guide and plugin API reference 2010-02-20 09:50:38 +01:00
Sebastien Helleu f4849bc625 Remove connection timer when closing connection with IRC server 2010-02-20 09:28:10 +01:00
Sebastien Helleu 555f1827e3 Add list of packages (required or optional) to build WeeChat in user guide 2010-02-19 17:38:06 +01:00
Sebastien Helleu cdf990fced Add option irc.network.connection_timeout (timeout between TCP connection to server and reception of message 001) 2010-02-19 16:21:36 +01:00
Sebastien Helleu 090bd68e7c Fix "inactivity" value when no key has been pressed since WeeChat started (bug #28930) 2010-02-19 10:23:34 +01:00
Sebastien Helleu 3cf7b4e696 Update german translations 2010-02-19 07:57:08 +01:00
Sebastien Helleu d2ec8d133d Add mechanism DH-BLOWFISH for SASL authentication with IRC server 2010-02-18 22:02:55 +01:00
Sebastien Helleu 832a4c1466 Fix function "color" in Lua script API (patch from Christian Heinz) 2010-02-18 07:58:03 +01:00
Sebastien Helleu b1e840eb6c Add missing file docgen.pl in Makefile.am 2010-02-16 17:09:50 +01:00
Sebastien Helleu 1ad5f123b5 Add IRC commands 905 to 907 (for SASL) 2010-02-16 17:00:12 +01:00
Sebastien Helleu ce1b23311c Add function "string_decode_base64" in plugin API 2010-02-16 16:57:22 +01:00
Sebastien Helleu 341551f2f2 Add SASL authentication in IRC plugin (task #8829), add function "string_encode_base64" in plugin API, fix bug with base64 encoding
New options for IRC servers:
- sasl_mechanism (only "plain" for now)
- sasl_username
- sasl_password
2010-02-15 11:51:44 +01:00
Sebastien Helleu 34272b7e4d Fix color of word "Notice" when sending IRC notice 2010-02-13 12:05:02 +01:00
Sebastien Helleu 922e67cabd Add description of arguments for API functions hook_info and hook_infolist 2010-02-12 17:15:30 +01:00
Sebastien Helleu 8d25a75200 Use arguments for infolist "nicklist" to return only one nick or group
Format is: nick_xxx or group_xxx to return only nick/group called "xxx".
2010-02-12 12:50:16 +01:00
Sebastien Helleu 8cea059feb Add IRC message 301 in user guide, for target buffer of messages 2010-02-11 17:17:56 +01:00
Sebastien Helleu f19000ac4f Allow IRC message 301 to be redirected with irc.msgbuffer feature 2010-02-11 17:07:56 +01:00
Sebastien Helleu be8831499d Add missing IRC commands 276, 343 2010-02-11 10:12:25 +01:00
Sebastien Helleu 2e72679363 Fix nick color in quit message displayed in IRC private buffer (when remote nick did not speak) 2010-02-10 22:12:23 +01:00
Sebastien Helleu 124634cf88 Apply IRC smart filter only on channels, not private buffers (bug #28841) 2010-02-10 16:22:34 +01:00
Sebastien Helleu 4b6bd6a923 Update german and polish translations 2010-02-10 11:32:59 +01:00
Sebastien Helleu 94a0551c55 Update ChangeLog 2010-02-10 11:24:28 +01:00
Sebastien Helleu 3799d2c2a5 Add "version_number" for API function weechat_info_get to get WeeChat version as number 2010-02-10 11:21:25 +01:00
Sebastien Helleu f6868c40af Fix example of weechat_info_get in plugin API reference 2010-02-10 08:01:21 +01:00
Sebastien Helleu 5b71c03c4f Add option for command /docgen to build some locales only 2010-02-09 22:28:25 +01:00
Sebastien Helleu 5bfb2929e6 Add missing argument for weechat_hook_completion in plugin API reference 2010-02-09 18:01:57 +01:00
Sebastien Helleu 7850668327 Add new option weechat.look.time_format to customize default format for date/time displayed (localized date by default), add function weechat_util_get_time_string in plugin API (patch #6914) 2010-02-09 17:19:14 +01:00
Sebastien Helleu daee18621e Rename command /silence to /mute 2010-02-09 13:21:05 +01:00
Sebastien Helleu 71d77a5890 Add new command /silence 2010-02-09 12:40:19 +01:00
Sebastien Helleu 74d148d056 Display nick prefix in input_prompt only if channel is type "channel" (not private) 2010-02-06 12:21:52 +01:00
Sebastien Helleu df1a6b0c3d Fix bug with option irc.look.item_nick_prefix 2010-02-06 12:17:13 +01:00
Sebastien Helleu bd1b6c1794 Add option irc.look.item_nick_prefix, rename some IRC options for bar items 2010-02-06 12:14:45 +01:00
Sebastien Helleu fa8ff80fc1 Update example of messages in irc-protocol.c 2010-02-06 10:55:22 +01:00
Sebastien Helleu a3658f4fc2 Fix IRC PART message received on Undernet server (bug #28825) 2010-02-05 23:53:20 +01:00
Sebastien Helleu 40401f88da Add signal "xfer_ended" in plugin API reference 2010-02-04 22:12:23 +01:00
Sebastien Helleu e6a99fb63a Add bar item "irc_channel" (IRC channel name without modes) 2010-02-03 23:46:11 +01:00
Sebastien Helleu 1d00db2d14 Add anti-flood for many IRC commands/messages 2010-02-03 23:29:44 +01:00
Sebastien Helleu 3d4c76cecc Fix typo in user guide 2010-02-03 20:49:30 +01:00
Sebastien Helleu 8109368f7c Add option "switch_active_buffer_previous" for command /input (task #10141) 2010-02-02 16:35:44 +01:00
Sebastien Helleu 69b53c8f3d Add IRC command /map 2010-02-02 15:39:04 +01:00
Sebastien Helleu fbc1c2a9b1 Add tip about addresses and another example in /help server 2010-02-02 15:25:03 +01:00
Sebastien Helleu 8862f19788 Add signal "xfer_ended" (patch #7081) 2010-02-02 14:28:05 +01:00
Sebastien Helleu 5aa82a85e3 Add option irc.look.display_channel_modes_hide_key to hide channel key in channel modes (bug #23961) 2010-02-02 13:56:35 +01:00
Sebastien Helleu 94ddf61d20 Add missing option "switch_active_buffer" in /help input and completion of command /input 2010-02-02 13:02:51 +01:00
Sebastien Helleu 8663d10063 Fix python example of hook_signal in plugin API reference 2010-02-01 22:53:41 +01:00
Sebastien Helleu f33eaee78f Update gettext commands to produce same output as autotools, display statistics for po files 2010-02-01 22:12:50 +01:00
Sebastien Helleu c4467469cc Add version 0.3.1.1 to ChangeLog 2010-01-31 22:20:20 +01:00
Sebastien Helleu 2d99d6e7ea Fix crash when purging old xfer chats (bug #28764) 2010-01-29 16:18:12 +01:00
Sebastien Helleu 930285e489 Fix crash with SSL connection to IRC server if option ssl_cert is set (bug #28752) 2010-01-29 12:41:05 +01:00
Sebastien Helleu e23aed51a1 Display own buffer lines in weechat log when dumping buffer (and not mixed lines) 2010-01-29 10:01:41 +01:00
Sebastien Helleu 2899770bbe Update ChangeLog 2010-01-29 07:59:16 +01:00
Emmanuel Bouthenot 2f176dc347 Fix a build failure with: 1.7.6 < gnutls <= 2.4.6 2010-01-29 00:21:02 +01:00
Emmanuel Bouthenot c8920da899 Fix a build failure with gnutls < 1.7.6 2010-01-28 23:18:20 +01:00
Sebastien Helleu 8c042210a8 Fix bug with global history, reset pointer to last entry after each user input (bug #28754) 2010-01-28 15:12:40 +01:00
Sebastien Helleu 16a02cddaf Add missing includes in FindIconv.cmake (patch #7069) 2010-01-28 12:26:39 +01:00
Sebastien Helleu 10a3954908 Fix alignment in buffers lines when time is empty string 2010-01-28 10:15:48 +01:00
Sebastien Helleu aad84612a9 Remove unneeded space after time on each line if option weechat.look.buffer_time_format is set to empty value (bug #28751) 2010-01-28 10:09:58 +01:00
Sebastien Helleu b868eaee2a Update italian translations 2010-01-27 18:34:04 +01:00
Sebastien Helleu dfa0500b12 Update german translations 2010-01-26 23:12:44 +01:00
Sebastien Helleu fb9268c01d Fix bug with SSL connection to IRC server (fails sometimes when ssl_verify is on) (bug #28741) 2010-01-26 22:19:16 +01:00
Sebastien Helleu fcd296d7f2 Update italian user guide and FAQ 2010-01-26 18:17:09 +01:00
Sebastien Helleu 754cf874bc Send signal "day_changed" even if option weechat.look.day_change is set to off 2010-01-26 18:07:13 +01:00
Sebastien Helleu ac19ec05be Update german FAQ 2010-01-26 17:23:03 +01:00
Sebastien Helleu 99bfdfd2ff Add signal "day_changed", allow date format in logger options path and mask (task #9430) 2010-01-26 16:36:55 +01:00
Sebastien Helleu aa41942ac1 Add new question in FAQ: "How can I tweak WeeChat to consume less memory?" 2010-01-25 18:06:32 +01:00
Sebastien Helleu f4d5ddd858 Add missing infos in API functions buffer_get_integer / buffer_get_string and in buffer infolist 2010-01-25 16:57:24 +01:00
Sebastien Helleu 2e48becbfc Update doc 2010-01-25 16:56:52 +01:00
Sebastien Helleu b4e0e17917 Add chapters about SSL certificates and IRC smart filter in user guide 2010-01-24 16:07:30 +01:00
Sebastien Helleu c02d70b7ba Add options irc.look.smart_filter_join/quit, smart filter enabled by default 2010-01-24 13:13:40 +01:00
Sebastien Helleu eb56a98fc8 Remove evil tabs in sources 2010-01-24 10:47:53 +01:00
Sebastien Helleu 309e8eadab Version 0.3.2-dev 2010-01-23 12:20:06 +01:00
Sebastien Helleu 94eda3fe67 Version 0.3.1 2010-01-23 10:30:13 +01:00
Sebastien Helleu 40ef50d737 Update italian translations 2010-01-22 22:18:32 +01:00
Sebastien Helleu f74a2784de Update polish translations 2010-01-22 18:36:33 +01:00
Sebastien Helleu 8e7c1fd6f4 Use better tags in html rendering of user guides 2010-01-22 18:24:07 +01:00
Sebastien Helleu 382138940a Fix typo in italian translation 2010-01-22 15:33:23 +01:00
Sebastien Helleu f3e18c95bd Update spanish translations 2010-01-22 12:55:11 +01:00
Sebastien Helleu fee92d00a2 Fix value of option sent to callback of hook_config 2010-01-22 12:53:56 +01:00
Sebastien Helleu 660fe522a1 Update italian translations 2010-01-20 12:32:26 +01:00
Sebastien Helleu 7526c3c7c0 Update german translations 2010-01-19 13:57:48 +01:00
Sebastien Helleu dac4764394 Add color for nicks in xfer chat (DCC chat), add missing command /me in xfer plugin (bug #28658) 2010-01-18 10:43:55 +01:00
Sebastien Helleu a3efc89a7f Add IRC info "irc_nick_color" to get color of a nick 2010-01-18 10:37:53 +01:00
Sebastien Helleu da40c8d33c Update FAQ and translations 2010-01-17 16:32:49 +01:00
Sebastien Helleu 2eb82a08b1 Add new IRC output queue for messages with low priority (like automatic CTCP replies), high priority is given to user messages or commands 2010-01-17 15:56:28 +01:00
Sebastien Helleu 9595fa75b2 Update german/polish FAQ and polish translations 2010-01-17 14:29:09 +01:00
Sebastien Helleu 0aa516f52f Add question about long URLs in FAQ 2010-01-16 23:35:25 +01:00
Sebastien Helleu f8e7953b7c Add missing autogen files for italian doc 2010-01-16 12:52:01 +01:00
Sebastien Helleu 06083e7d5b Update spanish translations 2010-01-15 09:07:18 +01:00
Sebastien Helleu c775f8474d Update german translations 2010-01-14 15:52:03 +01:00
Sebastien Helleu 4209930399 Enhancements on IRC CTCP messages (display if CTCP is blocked, new config options to control display of CTCP messages/replies)
That includes:
- display "(blocked)" if CTCP is blocked
- new option "irc.look.display_ctcp_blocked" to display blocked CTCP,
- new option "irc.look.display_ctcp_reply" to display CTCP reply sent by WeeChat,
- new option "irc.look.display_ctcp_unknown" to display unknown CTCP received.
2010-01-14 10:37:10 +01:00
Sebastien Helleu 0e6b33b5be Add keyword "input_pos" to get/set cursor position in plugin API functions buffer_get_integer and buffer_set 2010-01-13 17:03:40 +01:00
Sebastien Helleu b8a42996c1 Fix bug with string return value of callbacks in tcl plugin 2010-01-13 09:56:34 +01:00
Sebastien Helleu 0a4e6a1b61 Fix typo in french FAQ 2010-01-12 16:19:13 +01:00
Sebastien Helleu 63aaf9dc01 Add function "buffer_string_replace_local_var" in script API (patch #7061) 2010-01-12 10:33:13 +01:00
Sebastien Helleu c9b71fca2d Add prefix "irc_" in some links of asciidoc files 2010-01-11 18:29:59 +01:00
Sebastien Helleu 8fbce99292 Discard line printed with modifier "weechat_print" only if initial string is not empty 2010-01-11 17:57:36 +01:00
Sebastien Helleu 0ad7b2f6bd Fix IRC nick color for nicks with wide chars (bug #28547) 2010-01-11 15:01:53 +01:00
Sebastien Helleu 95c2cb1c5b Allow callback for modifier "weechat_print" to return empty value, in order to remove a printed message 2010-01-11 14:45:08 +01:00
Sebastien Helleu 1b829eed77 Update italian translations 2010-01-10 21:22:08 +01:00
Sebastien Helleu b1a033372b Fix bug with completion of words with wide chars 2010-01-10 12:35:19 +01:00
Sebastien Helleu d719b20fa5 Allow blocking of IRC CTCP PING requests 2010-01-09 23:43:00 +01:00
Sebastien Helleu ad54188213 Update german translations 2010-01-08 22:43:01 +01:00
Sebastien Helleu 4da0cff321 Add new IRC commands /allchan and /allserv with excluding option, commands /ame and /amsg are now aliases, new aliases /aaway and /anick 2010-01-08 16:20:16 +01:00
Sebastien Helleu cf5009468e Remove reference to old xml and pdf files 2010-01-08 16:17:18 +01:00
Sebastien Helleu d64aaed29b Add missing arguments for hook_connect in plugin API reference 2010-01-04 23:40:07 +01:00
Sebastien Helleu 6d211de00d Fix bug with function nicklist_remove_nick in Python API (bug #28474) 2010-01-04 07:44:52 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 236374f067 Update spanish translations 2010-01-02 20:30:32 +01:00
Sebastien Helleu e7dcbee583 Fix typos in user guide 2010-01-01 23:45:58 +01:00
Sebastien Helleu 42c230e709 Fix tag checking in execution of hook_print 2010-01-01 21:44:09 +01:00
Sebastien Helleu c02f32070c Fix buffer used to display IRC notice sent to channel or nick (bug #28455) 2010-01-01 17:15:22 +01:00
Sebastien Helleu 8a371fc1aa Update italian translations 2010-01-01 16:57:14 +01:00
Sebastien Helleu b6e141c286 Add pointer user_data in dump of wee-lists 2010-01-01 12:53:36 +01:00
Sebastien Helleu 6cc9ce8777 Fix color string returned by API function color() for some WeeChat color options 2010-01-01 12:29:14 +01:00
Sebastien Helleu 90884e6b9e Update translations 2009-12-31 20:18:31 +01:00
Sebastien Helleu b493bc5c25 Add IRC options to customize target buffer for messages (task #7381) 2009-12-31 19:29:26 +01:00
Sebastien Helleu 5663e69bc5 Fix nick color in quit message for IRC private buffers 2009-12-29 09:44:32 +01:00
Sebastien Helleu ac0d9dfb78 Update german translations 2009-12-21 00:05:17 +01:00
Sebastien Helleu f8983eb6c0 Fix display of bar items in a root bar (use bar item from plugin of current window) 2009-12-19 12:58:45 +01:00
Sebastien Helleu ea567c6fd3 Add optional arguments in /help quit 2009-12-18 19:38:42 +01:00
Sebastien Helleu ba9e3e8c84 Fix bug with completion of port in command /relay 2009-12-18 18:12:11 +01:00
Sebastien Helleu 58df8c2d83 Add function "infolist_new_item" in script API 2009-12-18 18:09:12 +01:00
Sebastien Helleu 846fb5d283 Update italian translations 2009-12-17 08:32:04 +01:00
Sebastien Helleu f5d54c8f8b Update german translations 2009-12-16 18:22:31 +01:00
Sebastien Helleu 6f9ca9a617 Add reference to debian bug #453348 in ChangeLog 2009-12-16 16:18:48 +01:00
Sebastien Helleu aca85eda75 Add reference to debian bug #512957 in ChangeLog 2009-12-16 15:38:05 +01:00
Sebastien Helleu 265fa492d5 Add option "autorejoin_delay" for servers (task #8771), fix autorejoin on channels with key 2009-12-16 15:18:00 +01:00
Sebastien Helleu 8aa7380d65 Fix typo: licence -> license 2009-12-16 13:04:04 +01:00
Sebastien Helleu 48f087b883 Add option "term" for command /debug: display infos about terminal and available colors 2009-12-16 12:18:00 +01:00
Sebastien Helleu 610ef09f19 Update list of contributors 2009-12-16 12:11:04 +01:00
Sebastien Helleu 6574c8876b Display "Commands..:" only if internal/other commands are found with /help 2009-12-16 11:26:34 +01:00
Sebastien Helleu 6b76c21cae Fix bar background color when content of bar is empty 2009-12-15 14:43:06 +01:00
Sebastien Helleu a48576566d Add support for encodings in Ruby 1.9 2009-12-14 23:33:33 +01:00
Sebastien Helleu 62492bf1eb Update german translations 2009-12-14 20:40:48 +01:00
Sebastien Helleu 9bfc6a6fd1 Add new option weechat.color.status_time 2009-12-14 15:50:09 +01:00
Sebastien Helleu c1e1e40559 Add color "darkgray" in user guide 2009-12-14 11:03:17 +01:00
Sebastien Helleu d4b0b98933 Add color "darkgray", add support for background with light color, fix color "black" (bug #23882) 2009-12-13 23:29:08 +01:00
Sebastien Helleu 9e83e74ce4 Update URL of WeeChat scripts page 2009-12-13 18:41:04 +01:00
Sebastien Helleu a652fc271f Add missing include of limits.h 2009-12-07 09:43:49 +01:00
Sebastien Helleu a498402e78 Fix crash when searching nick in buffer without nicklist (function nicklist_search_nick) 2009-12-06 23:35:46 +01:00
Sebastien Helleu 0baae4237c Fix display of quit message in IRC private if case of nick is different from buffer name 2009-12-06 22:16:10 +01:00
Sebastien Helleu c31fe6d854 Update translations 2009-12-05 16:41:46 +01:00
Sebastien Helleu 94eb4beb7c Remove old fifo pipes before creating new pipe 2009-12-05 09:38:42 +01:00
Sebastien Helleu 9c4ae98d2e Add missing #ifdef HAVE_GNUTLS 2009-12-04 18:09:50 +01:00
Sebastien Helleu 7e5acaf50f Give GnuTLS return code to callback if handshake has failed, display extra info in irc plugin if Diffie-Hellman prime sent by the server is not acceptable (not long enough) 2009-12-04 17:36:09 +01:00
Sebastien Helleu da6b882ed8 Add italian user guide 2009-12-04 12:11:12 +01:00
Sebastien Helleu ae7976b712 Fix buffer used by some input functions called via plugin API with buffer pointer (bug #28152) 2009-12-03 16:22:38 +01:00
Sebastien Helleu 8636eeabc8 Add support for rubygems in ruby plugin 2009-12-02 18:13:21 +01:00
Sebastien Helleu bb9a31e753 Add arguments for IRC command /rehash 2009-12-02 12:11:20 +01:00
Marco Paolone 3d3941789b Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/weechat 2009-12-01 23:56:00 +01:00
Marco Paolone 17fecf6647 update italian translations 2009-12-01 23:55:36 +01:00
Marco Paolone f77bcef249 update italian translations 2009-12-01 23:54:59 +01:00
Marco Paolone 3899c63db2 update italian translations 2009-12-01 23:54:26 +01:00
Sebastien Helleu 24d7181ecf Fix typos in french user guide 2009-11-30 15:45:31 +01:00
Sebastien Helleu f67cc2018c Update list of contributors in doc 2009-11-29 22:12:40 +01:00
Sebastien Helleu b279a99566 Support of Ruby >= 1.9.1 (patch #6989) 2009-11-29 16:41:08 +01:00
Sebastien Helleu 352217c444 Fix color of nick in nicklist when doing /nick if away is enabled (bug #28102) 2009-11-28 10:32:55 +01:00
Sebastien Helleu 138755d76e Check that connect hook was not deleted before call to gnutls callback 2009-11-27 13:00:43 +01:00
Sebastien Helleu 2d5b48d7bb Update german translations 2009-11-27 12:42:32 +01:00
Sebastien Helleu 9b5e070e5b Fix crash when connecting to ssl server if another non-ssl connection is pending 2009-11-27 12:35:10 +01:00
Marco Paolone f73b85c8df Update italian translations 2009-11-26 01:13:18 +01:00
Marco Paolone 5465fdfba8 Update italian translations 2009-11-26 01:01:31 +01:00
Sebastien Helleu f8921025f6 Fix nick color in private for notices if option irc.look.color_pv_nick_like_channel is on 2009-11-25 19:33:19 +01:00
Sebastien Helleu ac4ab3e318 Add all server options for IRC commands /server and /connect 2009-11-24 16:07:18 +01:00
Sebastien Helleu af49ee7f30 Fix crash when purging dcc chat if 2 dcc chat have same buffer (bug #28071) 2009-11-22 12:29:42 +01:00
Sebastien Helleu d2cf981fd9 Add italian FAQ 2009-11-22 11:50:13 +01:00
Marco Paolone 56cc9b76cc Update italian translations 2009-11-21 17:10:52 +01:00
Marco Paolone 2c028dc225 Update italian translations 2009-11-21 16:41:54 +01:00
Sebastien Helleu 5d6d6690d2 Update german and spanish translations 2009-11-20 22:46:13 +01:00
Sebastien Helleu a56ac9e735 Fix typos in 2 error messages 2009-11-20 16:58:12 +01:00
Sebastien Helleu d1492b9302 Fix bug with CFLAGS in script configure (patch #6977) 2009-11-19 16:06:57 +01:00
Sebastien Helleu a41b2e0a83 Add option --with-tclconfig for script configure (patch #6976) 2009-11-19 16:03:04 +01:00
Sebastien Helleu ebeb335560 Fix command /connect (options -ssl, -ipv6 and -port) (bug #27486) 2009-11-19 15:37:32 +01:00
Sebastien Helleu 018973370d Add IRC option to use same nick color in channel and private (on by default) (task #9870) 2009-11-19 14:48:36 +01:00
Sebastien Helleu 3c7c99b1b5 Add italian docs: quickstart and tester 2009-11-18 21:36:21 +01:00
Sebastien Helleu b42cf691ae Revert file fr.po 2009-11-18 16:10:40 +01:00
Marco Paolone a4322fe2e2 Added last 16 missing string in italian translations 2009-11-18 15:34:14 +01:00
Sebastien Helleu 086214cab7 Update german translations 2009-11-17 12:25:56 +01:00
Sebastien Helleu 5a06829844 Fix bug with script installation on BSD/OSX (patch #6980) 2009-11-16 12:20:26 +01:00
Sebastien Helleu f5ec9a6167 Fix display of default keys with "weechat-curses --keys" 2009-11-12 12:05:30 +01:00
Sebastien Helleu b3338076d8 Fix crash when calling "weechat-curses --help" 2009-11-12 11:24:19 +01:00
Marco Paolone c165eab0f2 Update italian translations 2009-11-11 10:32:12 +01:00
Sebastien Helleu 891cb5bdb5 Update german translations 2009-11-10 16:48:47 +01:00
Sebastien Helleu 73d649291d Queue answer to IRC CTCP requests (prevent flood) 2009-11-09 21:15:24 +01:00
Sebastien Helleu db2595276e Remove compilation warning on 64-bit machines 2009-11-08 13:26:22 +01:00
Sebastien Helleu 36590cca77 Remove compilation warning in logger plugin 2009-11-08 11:48:40 +01:00
Sebastien Helleu 7a2c77cd67 Update german translations 2009-11-07 23:45:03 +01:00
Sebastien Helleu 682a84731a Remove compilation warning when gnutls lib is not installed 2009-11-07 23:42:53 +01:00
Sebastien Helleu bbcd5fbe22 Fix compilation error when gnutls lib is not installed 2009-11-07 23:42:38 +01:00
Sebastien Helleu 3f21038deb New default value (25) for option irc.network.away_check_max_nicks 2009-11-07 19:46:38 +01:00
Sebastien Helleu e561ab1ae3 Check SSL certificates and use self-signed certificate to auto identify on IRC server (CertFP) (task #7492) (patch from kolter) 2009-11-07 19:27:59 +01:00
Sebastien Helleu 03e604c675 Fix typos in translations 2009-11-06 21:57:53 +01:00
Sebastien Helleu 2ee653f1b5 Fix refresh of bar item buffer_nicklist when it is displayed in a root bar 2009-11-05 14:46:05 +01:00
Sebastien Helleu d34efe27cf Add missing include of strings.h in gui-completion.c 2009-11-05 11:23:52 +01:00
Sebastien Helleu 5fc77232c2 Update german translations 2009-11-03 17:13:54 +01:00
Marco Paolone c0161bc875 Updated italian translation 2009-11-03 15:15:54 +01:00
Sebastien Helleu 2d70b2cd2e Fix typos in french translation and in /help window 2009-11-01 08:37:38 +01:00
Sebastien Helleu 00f08f8e44 Add italian translations (thanks to Marco Paolone) 2009-10-31 20:45:06 +01:00
Sebastien Helleu 435b57e641 Fix message "Day changed to", sometimes displayed at wrong time (bug #26959) 2009-10-30 10:09:19 +01:00
Sebastien Helleu dec2f08a74 Update german translations 2009-10-29 20:52:45 +01:00
Sebastien Helleu 2fcbd7f846 Fix bug with IRC CTCP messages when char 0x01 is in message 2009-10-29 17:42:28 +01:00
Sebastien Helleu 999de8bfc1 Add partial irc-proxy feature to relay plugin 2009-10-29 17:23:25 +01:00
Sebastien Helleu 5a8c35f6b0 Add missing IRC command 275 (patch #6952) 2009-10-21 13:18:28 +02:00
Sebastien Helleu 08ebcc877f Improve mask used by command /kickban 2009-10-19 12:28:48 +02:00
Sebastien Helleu 7075849ac3 Fix typo in japanese quickstart guide 2009-10-19 07:57:03 +02:00
Sebastien Helleu 1e3db79969 Update german translations 2009-10-18 21:20:12 +02:00
Sebastien Helleu a5c4d140a6 Add japanese quickstart guide 2009-10-18 21:17:33 +02:00
Sebastien Helleu a08842bbad Fix bug with URL selection in some terminals (caused by horizontal lines) (bug #27700) 2009-10-14 18:21:46 +02:00
Sebastien Helleu 37835df573 Fix bug with buffer for execution of alias, when called from plugin API with function "command" (bug #27697) 2009-10-14 14:22:39 +02:00
Sebastien Helleu fbf1e0286e Add some default bindings for keys alt+arrows under xterm 2009-10-11 14:38:48 +02:00
Jiri Golembiovsky 00d8e0d79d Updated czech translations 2009-10-10 13:57:39 +02:00
Sebastien Helleu 0b6efe706b Update ChangeLog 2009-10-10 13:00:32 +02:00
Sebastien Helleu b138ffb7ae Add IRC commands /samode, /sanick, /sapart, /saquit 2009-10-10 12:47:55 +02:00
Sebastien Helleu 62946024d8 Add IRC command /sajoin (task #9770) 2009-10-10 12:04:20 +02:00
Sebastien Helleu 1905344fdb Use default auto completion for arguments of unknown commands 2009-10-10 11:50:23 +02:00
Sebastien Helleu 656246b8d7 Fix "table of contents" in russian quickstart guide 2009-10-09 22:26:52 +02:00
Sebastien Helleu 0ce4da7bfc Update spec file for RPM and add debian file for russian quickstart guide 2009-10-09 22:18:44 +02:00
Sebastien Helleu a5a6066535 Add russian quickstart guide 2009-10-09 18:19:32 +02:00
Sebastien Helleu bfb9ab6a2a Add script prototypes and examples in plugin API reference 2009-10-09 15:46:29 +02:00
Sebastien Helleu 5535ec5f46 Fix alignment problem for buffer name when a merged buffer is closed (bug #27617) 2009-10-06 21:25:15 +02:00
Sebastien Helleu 74fd27cc07 Add language "C" in main CMakeLists.txt, so that g++ is no more required by cmake 2009-10-06 12:05:39 +02:00
Sebastien Helleu 2bfe49d28b Add option grab_key_command for /input (bound by default to alt-k)
New binding for alt-k is not automatic (for existing config), if you want to
use it, you can do: /key bind meta-k /input grab_key_command
2009-10-05 16:42:49 +02:00
Sebastien Helleu 7b2f578ac4 Fix compilation under Cygwin (patch #6916) 2009-10-04 11:54:24 +02:00
Emmanuel Bouthenot 43c76c9164 Replace MATCHES by STREQUAL in cmake: fix a fail to build on kFreeBSD 2009-10-03 14:56:02 +02:00
Sebastien Helleu 7232e7d7f2 Fix bugs with colors in some german translations (patch #6919) 2009-10-03 12:16:58 +02:00
Sebastien Helleu 427419dcd0 Fix restore of hotlist after /upgrade 2009-10-03 10:25:13 +02:00
Sebastien Helleu 9116131fde Fix typo: keeped -> kept 2009-10-03 09:59:16 +02:00
Sebastien Helleu 007a621458 Fix typo in french translation 2009-10-03 00:32:35 +02:00
Sebastien Helleu 3a429ca6c3 New expansions for alias arguments ($n, $-m, $n-, $n-m, $*, $~) (patch #6917) 2009-10-02 09:56:07 +02:00
Sebastien Helleu ae13264314 Allow /unalias to remove multiple aliases (patch #6926) 2009-09-30 17:58:56 +02:00
Sebastien Helleu 5a0a2cfcb9 Allow use of wildcards for /alias list (patch #6925) 2009-09-30 17:44:49 +02:00
Sebastien Helleu ebd17f79eb Display alias command in /help alias_name (patch #6924) 2009-09-30 17:25:55 +02:00
Sebastien Helleu 79fd2aa317 Remove buffer from hotlist when buffer is cleared (bug #27530) 2009-09-30 09:55:19 +02:00
Sebastien Helleu 9bbd093ffe Fix typo in plugin API reference for weechat_bar_set 2009-09-29 12:11:36 +02:00
Sebastien Helleu fea5c961ae Fix cmake directories: let user customize lib, share, locale and include directories (patch #6922) 2009-09-20 21:44:08 +02:00
Sebastien Helleu 86772181c8 Update ChangeLog 2009-09-20 14:21:29 +02:00
Sebastien Helleu ef5f6216e2 Fix plural form in german, hungarian and russian translation files (bug #27430) 2009-09-20 14:20:43 +02:00
Sebastien Helleu 6fb5084af5 Add missing charset decoding/encoding for IRC DCC chat (bug #27482) 2009-09-20 10:29:25 +02:00
Emmanuel Bouthenot d4c62d0dba Syncing debian packaging with Debian. 2009-09-19 11:31:08 +00:00
Sebastien Helleu 241e9dce6f Fix terminal title bug: do not reset it when option weechat.look.set_title is off (bug #27399) 2009-09-19 11:14:08 +02:00
Sebastien Helleu 44511f38a4 Add missing brackets around nick for IRC message 314 (reply to whowas) (patch #6915) 2009-09-19 10:55:57 +02:00
Sebastien Helleu e50534b1c3 Update ChangeLog 2009-09-18 23:02:24 +02:00
Sebastien Helleu 693246a61a Improve error management when there is socket error in IRC plugin
When reading socket, there is server disconnection only if error is fatal (if
it is not, we'll try again later).
Error codes and messages are now displayed for all socket errors.
2009-09-18 23:00:29 +02:00
Sebastien Helleu 19d9fc9e13 Update hotlist when a buffer is closed (bug #27470) 2009-09-17 17:39:58 +02:00
Sebastien Helleu 13ec5f3683 Fix crash when parsing IRC CTCP ACTION or DCC without argument 2009-09-17 16:22:07 +02:00
Sebastien Helleu 348d74b470 Fix bug with arguments in alias (bug #27440) 2009-09-16 18:01:50 +02:00
Sebastien Helleu b3501ce9cd Fix /input history_global_next: reset input content when last command in history is reached 2009-09-16 15:28:29 +02:00
Sebastien Helleu c2300c4095 Fix plural form in IRC message with list of nicks on channel (bug #27436) 2009-09-15 16:36:24 +02:00
Sebastien Helleu 602c9681d0 Add options for CTCP, to block/customize CTCP reply (task #9693), add missing CTCP: clientinfo, finger, source, time, userinfo (task #7270) 2009-09-15 14:42:24 +02:00
Sebastien Helleu 6d950cde8f Fix plural form in czech translations 2009-09-14 10:58:34 +02:00
Sebastien Helleu a2e1e518dd Fix plural form in spanish and czech translations 2009-09-13 14:31:05 +02:00
Sebastien Helleu f7ef4c9047 Fix typo in plugin API reference for weechat_hook_command 2009-09-13 00:17:49 +02:00
Sebastien Helleu 4bd7eaf123 Fix API function weechat_bar_set for python/lua/ruby (patch #6912) 2009-09-11 23:22:13 +02:00
Sebastien Helleu 1c194ffa42 Add german FAQ 2009-09-10 08:43:39 +02:00
Sebastien Helleu c04184389d Add german tester's guide 2009-09-09 22:25:24 +02:00
Sebastien Helleu e1a54222c7 Version 0.3.1-dev 2009-09-06 23:45:50 +02:00
Sebastien Helleu 70916a0342 Version 0.3.0 2009-09-06 11:46:49 +02:00
Sebastien Helleu 40f7bbd590 Update german translations 2009-09-06 10:01:09 +02:00
Sebastien Helleu ca3114d2bb Update german quickstart guide 2009-09-05 23:57:08 +02:00
Sebastien Helleu b907f6b3b1 Update spanish translations 2009-09-05 23:46:53 +02:00
Sebastien Helleu 03ea436639 Update list of contributors in doc 2009-09-05 23:23:16 +02:00
Sebastien Helleu ae047756eb Add german quickstart guide 2009-09-05 23:16:51 +02:00
Sebastien Helleu 0ef168d29d Add polish FAQ and tester's guide, update polish quickstart 2009-09-05 21:49:28 +02:00
Sebastien Helleu babf5a8c9b Update polish translations 2009-09-05 16:59:23 +02:00
Sebastien Helleu d8886cdbe6 Add polish quickstart guide 2009-09-05 16:43:16 +02:00
Sebastien Helleu 2bf4163617 Use new WeeChat site, weechat.org 2009-09-05 16:33:01 +02:00
Sebastien Helleu 07d490f045 Update weechat.spec for RPM build 2009-09-04 20:33:48 +02:00
Sebastien Helleu aca9eb02c3 Remove compiler warning in logger plugin (with -O2) 2009-09-04 17:17:32 +02:00
Sebastien Helleu 23f0d7eda7 Update czech translations 2009-09-04 11:43:25 +02:00
Sebastien Helleu a83dd82c90 Fix typos in some messages 2009-09-04 10:41:35 +02:00
Sebastien Helleu 005bf6d311 Fix typo 2009-09-03 17:18:30 +02:00
Sebastien Helleu 8359a09727 Fix tcl plugin compilation with autotools (bug #26481) 2009-09-03 11:26:03 +02:00
Sebastien Helleu 5c4077f184 Fix typo in Plugin API Reference 2009-09-02 16:42:29 +02:00
Sebastien Helleu 6a327227ce Update polish translations 2009-09-02 14:04:44 +02:00
Sebastien Helleu f9b0a50aea Remove unneeded dependencies in debian/control (xsltproc, docbook-xsl, docbook-xml) 2009-09-02 08:06:07 +02:00
Sebastien Helleu b0fe6e7f21 Fix asciidoc min version in debian/control 2009-09-01 11:53:25 +02:00
Sebastien Helleu 6b9cb34a09 Remove compiler warning when NLS is disabled 2009-08-30 16:04:28 +02:00
Sebastien Helleu d2ec2482d6 Add 2 new options: weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more 2009-08-29 13:06:21 +02:00
Sebastien Helleu 88b65fe3c2 Add new option weechat.look.prefix_buffer_align_max 2009-08-29 10:30:25 +02:00
Sebastien Helleu d0b3d4fffe Update polish translations 2009-08-28 12:30:10 +02:00
Sebastien Helleu db4f20c1f1 Add 2 new completions (irc_server_channels and irc_server_privates), improve completion of command /invite 2009-08-28 11:36:51 +02:00
Sebastien Helleu 02763ca7e7 Fix typo in IRC invite message 2009-08-28 10:09:58 +02:00
Sebastien Helleu ec124e90c7 Update FAQ 2009-08-23 10:56:32 +02:00
Sebastien Helleu 4d002bb4b7 Update spanish translations (thanks to m4v) 2009-08-23 09:35:35 +02:00
Sebastien Helleu 77fa0c4b9e Fix bug with directory separator in logger mask 2009-08-22 19:19:31 +02:00
Sebastien Helleu 2487d8a58e Do not build/install language files if DISABLE_NLS is ON for cmake (bug #27277) 2009-08-18 16:46:41 +02:00
Sebastien Helleu 6fd5448a52 Update translations 2009-08-17 11:34:42 +02:00
Emmanuel Bouthenot a14815bbab Update debian packaging. 2009-08-16 17:31:49 +00:00
Sebastien Helleu 25b9f1d714 Fix bug with special chars in buffers for logger filenames (bug #25721) 2009-08-16 11:28:50 +02:00
Sebastien Helleu 24432e78e0 Fix bug in config files when option name begins with '[' 2009-08-12 10:12:07 +02:00
525 changed files with 119809 additions and 32354 deletions
-4
View File
@@ -1,7 +1,6 @@
# ignored files for Git
*.a
*.css
*.gmo
*.html
*.la
@@ -9,13 +8,11 @@
*.lo
*.m4
*.o
*.pdf
*.Plo
*.Po
*.so
*.so.0
*.so.0.0.0
*.xsl
ABOUT-NLS
autom4te*
@@ -27,7 +24,6 @@ config.rpath
config.status
config.sub
configure
date.xml
debian/*.log
depcomp
insert-header.sin
+15 -4
View File
@@ -6,14 +6,14 @@ Developers
* General code
** FlashCode <flashcode@flashtux.org>
*** Web: http://weechat.flashtux.org/
** Sébastien Helleu <flashcode@flashtux.org>
*** Web: http://www.weechat.org/
*** IRC: 'FlashCode' on irc.freenode.net
* Scripts plugins, debian packager
** kolter <kolter@openics.org>
** Emmanuel Bouthenot <kolter@openics.org>
*** IRC: 'kolter' on irc.freenode.net
@@ -30,6 +30,17 @@ Contributors
* Voroskoi, IRC: 'voroskoi'
* Frank Zacharias
* Pavel Shevchuk, IRC: 'Stalwart'
* soltys
* Nils Görs
* rettub
* Elián Hanisch, IRC: 'm4v'
* Marco Paolone
* Dmitry Kobylin
* Dominik Honnef
* JD Horelick, IRC: 'jdhore'
* Stefano Pigozzi
* Ivan Sichmann Freitas
* Gu1ll4um3r0m41n
Contact
@@ -39,4 +50,4 @@ Whole team is connected to IRC:
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
See README file for licence detail.
See README file for license detail.
+65 -38
View File
@@ -1,20 +1,25 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
PROJECT(weechat)
PROJECT(weechat C)
cmake_minimum_required(VERSION 2.4)
@@ -28,38 +33,60 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "0-rc3")
SET(VERSION_PATCH "4-rc1")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME})
SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
OPTION(ENABLE_GTK "Enable GTK interface")
OPTION(DISABLE_NLS "Disable Native Language Support")
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
OPTION(DISABLE_LARGEFILE "Disable Large File Support")
OPTION(DISABLE_ALIAS "Disable Alias plugin")
OPTION(DISABLE_ASPELL "Disable Aspell plugin")
OPTION(DISABLE_CHARSET "Disable Charset plugin")
OPTION(ENABLE_DEMO "Enable Demo plugin")
OPTION(DISABLE_FIFO "Disable FIFO plugin")
OPTION(DISABLE_IRC "Disable IRC plugin")
OPTION(DISABLE_LOGGER "Disable Logger plugin")
OPTION(ENABLE_RELAY "Enable Relay plugin")
OPTION(DISABLE_SCRIPTS "Disable script plugins")
OPTION(DISABLE_PERL "Disable Perl scripting language")
OPTION(DISABLE_PYTHON "Disable Python scripting language")
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
OPTION(DISABLE_LUA "Disable Lua scripting language")
OPTION(DISABLE_TCL "Disable Tcl scripting language")
OPTION(DISABLE_XFER "Disable Xfer plugin (file transfer and direct chat)")
OPTION(DISABLE_DOC "Disable Doc")
IF(DEFINED LIBDIR)
SET(LIBDIR ${LIBDIR}/${PROJECT_NAME})
ELSE(DEFINED LIBDIR)
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
ENDIF(DEFINED LIBDIR)
IF(NOT DEFINED SHAREDIR)
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
ENDIF(NOT DEFINED SHAREDIR)
IF(NOT DEFINED LOCALEDIR)
SET(LOCALEDIR ${SHAREDIR}/locale)
ENDIF(NOT DEFINED LOCALEDIR)
IF(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
ELSE(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
ENDIF(DEFINED INCLUDEDIR)
OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON)
OPTION(ENABLE_GTK "Enable GTK interface" OFF)
OPTION(ENABLE_NLS "Enable Native Language Support" ON)
OPTION(ENABLE_GCRYPT "Enable libgcrypt 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_CHARSET "Enable Charset plugin" ON)
OPTION(ENABLE_DEMO "Enable Demo plugin" OFF)
OPTION(ENABLE_FIFO "Enable FIFO 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_RMODIFIER "Enable Rmodifier plugin" ON)
OPTION(ENABLE_SCRIPTS "Enable script plugins" ON)
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
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_XFER "Enable Xfer plugin" ON)
OPTION(ENABLE_DOC "Enable Documentation" ON)
IF(ENABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(ENABLE_NLS)
ADD_SUBDIRECTORY( po )
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( doc )
@@ -90,11 +117,11 @@ SET(exec_prefix "\${prefix}")
SET(libdir "\${exec_prefix}/lib")
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 ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
# packages
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
SET(CPACK_PACKAGE_VENDOR "FlashCode")
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
@@ -113,10 +140,10 @@ SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/date\\\\.xml$" "/html/" "/html1/"
"\\\\.pdf$" "/Makefile$" "/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$"
"\\\\.gmo$" "~$" "\\\\.o$" "\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$"
"\\\\.Plo$" "/weechat-curses$" "/weechat-gtk$"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
"/weechat-gtk$"
)
INCLUDE(CPack)
+325 -30
View File
@@ -1,10 +1,304 @@
WeeChat ChangeLog
=================
FlashCode <flashcode@flashtux.org>
v0.3.0-dev, 2009-06-14
Sébastien Helleu <flashcode@flashtux.org>
v0.3.4-rc1, 2010-12-10
Version 0.3.0 (under dev!)
Version 0.3.4 (under dev!)
--------------------------
* core: add color support in option weechat.look.buffer_time_format
* core: call to hook_config when config option is created
* core: add new option weechat.look.highlight_regex and function
string_has_highlight_regex in plugin API (task #10321)
* 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 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)
* core: fix bug with buffer name in "/bar scroll" command
* 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)
* core: add new option weechat.look.prefix_align_min (task #10650)
* core: optimize incremental search in buffer: do not search any more
when chars are added to a text not found (bug #31167)
* core: fix memory leaks when removing item in hashtable and when setting
highlight words in buffer
* core: use similar behaviour for keys bound to local or global history
(bug #30759)
* api: add priority for hooks (task #10550)
* api: add new functions: hashtable_get_string, 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
* alias: complete with alias value for second argument of command /alias
* irc: add option "-switch" to commands /connect and /reconnect
* irc: allow command /reconnect on servers that are not currently connected
(bug #30726)
* irc: fix topic completion in command /topic when channel topic starts with
channel name
* 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)
* irc: add new option irc.look.nick_color_force (task #7374)
* irc: improve nick prefixes, all modes (even unknown) are used with PREFIX
value from message 005
* irc: add command redirection with hsignals irc_redirect_pattern and
irc_redirect_command (task #6703)
* irc: add new options irc.color.nick_prefix and irc.color.nick_suffix
* irc: add new option irc.look.item_away_message
* irc: add tag "nick_xxx" in user messages
* irc: move options from network section to server section: connection_timeout,
anti_flood_prio_high, anti_flood_prio_low, away_check, away_check_max_nicks,
default_msg_part, default_msg_quit (task #10664, task #10668)
* irc: rename options irc.look.open_channel_near_server and
irc.look.open_pv_near_server to irc.look.new_channel_position and
irc.look.new_pv_position with new values (none, next or near_server)
* irc: display old channel topic when topic is unset (task #9780)
* irc: add new info_hashtable "irc_parse_message"
* irc: fix crash/bug when option "addresses" for a server is unset or changed
when WeeChat is connected to this server (bug #31268)
* 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)
* irc: add signal "irc_input_send"
* rmodifier: new plugin "rmodifier": alter modifier strings with regular
expressions (bug #26964)
* relay: beta version of IRC proxy, now relay plugin is compiled by default
* scripts: add missing function "infolist_reset_item_cursor" in API (bug #31057)
* python: add info "python2_bin" (path to python 2.x interpreter)
* lua: fix crash when unloading script
* ruby: fix compilation with Ruby 1.9.2 (patch #7316)
* 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)
* xfer: fix bug at end of file sent, sometimes transfer is still active although
file was successfully sent
Version 0.3.3 (2010-08-07)
--------------------------
* core: use "!" to reverse a regex in a filter (to keep lines matching regex
and hide other lines) (task #10032)
* core: add keys for undo/redo changes on command line
(default: ctrl+underscore and alt+underscore) (task #9483)
* core: add new option weechat.look.align_end_of_lines
* core: add new option weechat.look.confirm_quit
* core: add new option weechat.color.status_name_ssl (task #10339)
* 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 display bug with special chars (ascii value below 32) (bug #30602)
* core: fix display bug with attributes like underlined in bars (bug #29889)
* core: add hashtables with new functions in plugin API
* api: fix bug with replacement char in function string_remove_color
(bug #30296)
* api: add function "string_expand_home", fix bug with replacement of home in
paths
* irc: fix bug in parser when no argument is received after command, no
callback was called, and message was silently ignored (bug #30640)
* irc: add new option irc.look.nick_color_stop_chars
* 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: improve lag indicator: two colors (counting and finished), update item
even when pong has not been received, lag_min_show is now in milliseconds
* irc: use empty real name by default in config, instead of reading real name
in /etc/passwd (bug #30111)
* irc: add new options irc.look.display_host_join/join_local/quit and
irc.color.reason_quit
* irc: move options weechat.color.nicklist_prefix to irc plugin
* irc: fix bug with command-line option "irc://" (bug #29990), new format for
port and channels
* irc: add command /wallchops, fix bug with display of notice for ops
(task #10021, bug #29932)
* irc: add isupport value in servers (content of IRC message 005), with new
infos: irc_server_isupport and irc_server_isupport_value
* irc: add message in private buffer when nick is back on server after a /quit
* irc: add new options irc.network.autoreconnect_delay_growing and
irc.network.autoreconnect_delay_max (task #10338)
* irc: add missing commands 346, 347 (channel invite list)
* 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)
* irc: try other nick when connecting to server and receiving message 437
(nick unavailable)
* irc: set buffer local variable "away" when opening new channel (bug #29618)
* fifo: fix bug with fifo pipe when setting fifo option to "on"
* logger: use tag "no_log" to prevent a line from being written in log file
* xfer: fix bug with double quotes in DCC filenames (bug #30471)
Version 0.3.2 (2010-04-18)
--------------------------
* core: add new options for command /key: listdefault, listdiff and reset
* core: add new command /mute
* 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: remove unneeded space after time on each line if option
weechat.look.buffer_time_format is set to empty value (bug #28751)
* core: add option "switch_active_buffer_previous" for 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
weechat_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
* core: use arguments for infolist "nicklist" to return only one nick or group
* core: fix bug with writing of configuration files when disk is full
(bug #29331)
* core: fix infinite loop with /layout apply and bug when applying layout,
sometimes many /layout apply were needed (bug #26110)
* gui: refresh screen when exiting WeeChat (to display messages printed after
/quit)
* 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 "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 missing infos in functions buffer_get_integer / buffer_get_string
and in buffer infolist
* 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"
* 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)
* alias: add custom completion for aliases (task #9479)
* scripts: allow script commands to reload only one script
* scripts: fix bug with callbacks when loading a script already loaded
* perl: fix crash when callbacks are called during script initialization
(bug #29018)
* perl: fix crash on /quit or unload of plugin under FreeBSD and Cygwin
(bug #29467)
* perl: fix bug with script filename when multiplicity is disabled (bug #29530)
* irc: add SASL authentication, with PLAIN and DH-BLOWFISH mechanisms
(task #8829)
* irc: fix crash with SSL connection if option ssl_cert is set (bug #28752)
* irc: fix bug with SSL connection (fails sometimes when ssl_verify is on)
(bug #28741)
* irc: add new option irc.look.part_closes_buffer to close buffer when /part
is issued on channel (task #10295)
* irc: fix bug with nicks on reconnection: try all nicks in list, even if nick
used was not the first in list of nicks
* irc: fix command /list: send channel and server name given as argument, and
use separate option "-re" to allow a regex
* irc: fix PART message received on Undernet server (bug #28825)
* irc: fix bug with /away -all: set or unset future away for disconnected
servers (bug #29022)
* irc: bug with prefix "!" for mode "a" (channel admin) (bug #29109)
* irc: do not send signals "irc_in" and "irc_in2" when messages are ignored,
add new signals "irc_raw_in" and "irc_raw_in2"
* irc: add option "-open" for command /connect
* irc: add option irc.network.connection_timeout (timeout between TCP connection
to server and reception of message 001)
* irc: add options irc.look.smart_filter_join and irc.look.smart_filter_quit
* irc: apply smart filter only on channels, not private buffers (bug #28841)
* irc: add option irc.look.item_channel_modes_hide_key to hide channel key
in channel modes (bug #23961)
* irc: add option irc.look.item_nick_prefix
* irc: add command /map
* irc: add missing commands 276, 343
* irc: fix compilation with old GnuTLS versions (bug #28723)
* logger: allow date format in logger options path and mask (task #9430)
* xfer: fix crash when purging old xfer chats (bug #28764)
* xfer: add signal "xfer_ended" (patch #7081)
Version 0.3.1.1 (2010-01-31)
----------------------------
* irc: fix crash with SSL connection if option ssl_cert is set (bug #28752)
* irc: fix bug with SSL connection (fails sometimes when ssl_verify is on)
(bug #28741)
* irc: fix compilation with old GnuTLS versions (bug #28723)
* xfer: fix crash when purging old xfer chats (bug #28764)
Version 0.3.1 (2010-01-23)
--------------------------
* core: fix bug with script installation on BSD/OSX (patch #6980)
* core: add option grab_key_command for /input (bound by default to alt+"k")
* core: fix compilation under Cygwin (patch #6916)
* core: fix cmake directories: let user customize lib, share, locale and include
directories (patch #6922)
* 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: new expansions for alias arguments ($n, $-m, $n-, $n-m, $*, $~)
(patch #6917)
* alias: allow use of wildcards for /alias list (patch #6925)
* alias: allow /unalias to remove multiple aliases (patch #6926)
* 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: add new commands /allchan and /allserv with excluding option, commands
/ame and /amsg are now aliases, new aliases /aaway and /anick
* irc: add options to customize target buffer for messages (task #7381)
* irc: add new output queue for messages with low priority (like automatic CTCP
replies), high priority is given to user messages or commands
* irc: use self-signed certificate to auto identify on IRC server (CertFP)
(task #7492, debian #453348)
* irc: check SSL certificates (task #7492)
* irc: add option "autorejoin_delay" for servers (task #8771)
* irc: add option to use same nick color in channel and private (task #9870)
* irc: add missing command 275 (patch #6952)
* irc: add commands /sajoin, /samode, /sanick, /sapart, /saquit (task #9770)
* irc: add options for CTCP, to block/customize CTCP reply (task #9693)
* irc: add missing CTCP: clientinfo, finger, source, time, userinfo (task #7270)
* irc: add all server options for commands /server and /connect
* irc: add arguments for command /rehash
* irc: improve error management on socket error (recv/send)
* irc: improve mask used by command /kickban
* irc: fix nick color for nicks with wide chars (bug #28547)
* irc: fix autorejoin on channels with key
* irc: fix command /connect (options -ssl, -ipv6 and -port) (bug #27486)
* xfer: add color for nicks in chat
* xfer: add missing command /me (bug #28658)
* xfer: add missing charset decoding/encoding for IRC DCC chat (bug #27482)
* ruby: support of Ruby >= 1.9.1 (patch #6989)
* fifo: remove old pipes before creating new pipe
* gui: add color "darkgray", add support for background with light color
* gui: fix color "black" (bug #23882, debian #512957)
* gui: fix message "Day changed to", sometimes displayed at wrong time
(bug #26959)
* gui: fix bug with URL selection in some terminals (caused by horizontal lines)
(bug #27700)
* gui: use default auto completion for arguments of unknown commands
* 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 weechat_bar_set for python/lua/ruby (patch #6912)
Version 0.3.0 (2009-09-06)
--------------------------
* irc: add irc plugin (replaces old IRC code in core) (task #6217)
@@ -50,7 +344,7 @@ Version 0.3.0 (under dev!)
* gui: add buffer merging (task #7404)
* gui: add custom bars, with custom items
* gui: add key to zoom a window (task #7470)
* gui: add keys to move into last visited buffers: alt + "<" and alt + ">"
* gui: add keys to move into last visited buffers: alt+"<" and alt+">"
* gui: come back to last visited buffer when closing a buffer
* gui: add new option scroll_page_percent to choose percent of height to scroll
with page_up and page_down keys (task #8702)
@@ -109,7 +403,7 @@ Version 0.2.6 (2007-09-06)
* 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 ctrl-R (bug #20938)
* fix crash when searching text in buffer with ctrl+"r" (bug #20938)
* add string length limit for setup file options
* fix bug with flock() when home is on NFS filesystem (bug #20913)
* add option to align text of messages (except first lines) (task #7246)
@@ -126,22 +420,22 @@ Version 0.2.6 (2007-09-06)
add option to /server to create temporary server (task #7095)
* add "copy", "rename" and "keep" options to /server command
* allow clear of multiple selected buffers with /clear (patch #6112)
* add key for setting unread marker on all buffers (default: ctrl-S + ctrl-U)
(task #7180)
* add key for setting unread marker on all buffers
(default: ctrl+"s" + ctrl+"u") (task #7180)
* fix nick prefix display on servers that doesn't support all prefixes
(bug #20025)
* fix terminal encoding detection when NLS is disabled (bug #20646)
* fix crash when sending data to channel or pv on disconnected server
(bug #20524)
* improve command /server ant its output
* add 3 default new keys: ctrl-B (left), ctrl-F (right), ctrl-D (delete)
* add 3 default new keys: ctrl+"b" (left), ctrl+"f" (right), ctrl+"d" (delete)
* add "buffer_move" event handler to plugins API (task #6708)
* add key function "jump_previous_buffer" to jump to buffer previously
displayed (new key: alt-J + alt-P) (task #7085)
displayed (new key: alt+"j" + alt+"p") (task #7085)
* add "%*" to completion template, to repeat last completion
* add "-nojoin" option for /connect and /reconnect commands (task #7074)
* fix bugs with IRC color in messages, now color codes are inserted in command
line with ctrl-c, ctrl-b.. instead of %C,%B,.. (bug #20222, task #7060)
line with ctrl+"c", ctrl+"b".. instead of %C,%B,.. (bug #20222, task #7060)
* fix bug with smart nick completion (last speakers first) when a nick is
changed
* fix charset bug with channel names in status bar (bug #20400)
@@ -206,7 +500,7 @@ Version 0.2.4 (2007-03-29)
* fix bug with channel topic after reconnection (not erased) (bug #19384)
* add current buffer in hotlist when scrolling up in buffer (task #6664)
* fix bug with explode_string / free_exploded_string when max_items > 0
* add new key (ctrl-R) for interactive and incremental search in buffer
* add new key (ctrl+"r") for interactive and incremental search in buffer
history (task #6628)
* fix /topic completion when no topic set on current channel (bug #19322)
* improve password hiding, code cleanup (bug #19229)
@@ -265,7 +559,7 @@ Version 0.2.2 (2007-01-06)
* /charset command and charset conversions now made by "charset" plugin
* fix display bug in status bar, wrong length when using UTF-8
* fix bug with ignore: now any IRC command is allowed
* fix crash with Ctrl-T (transpose) and one char on line (bug #18153)
* fix crash with ctrl+"t" (transpose) and one char on line (bug #18153)
* add filename completion (task #5425)
* add "modifier" in plugins API
* improve /plugin command
@@ -308,7 +602,7 @@ Version 0.2.1 (2006-10-01)
* values yes/no accepted (as on/off) for config boolean values (task #5454)
* add server default notify level (set by /buffer notify on server buffer)
(task #5634)
* fix crashs with /buffer and /charset commands when not connected to any
* fix crashes with /buffer and /charset commands when not connected to any
server (bug #17525)
* add special vars $nick/$channel/$server for server_command, alias and plugin
command handlers
@@ -429,14 +723,14 @@ Version 0.1.8 (2006-03-18)
* fix completion problem in private with nicks
* add missing IRC command (487)
* add inactivity time, available for plugins via get_info("inactivity")
* keys alt-{home|end} to scroll top/bottom, alt-{f11-f12} to scroll nicklist
* keys alt+{home|end} to scroll top/bottom, alt+{f11|f12} to scroll nicklist
top/bottom
* add special names for plugin message handlers: weechat_pv, weechat_highlight,
weechat_ctcp, weechat_dcc
* script plugins now load scripts in WeeChat system share directory
* /msg command does not open any buffer any more
* fix crash when using global history (when older entry is removed)
* add IRC raw data buffer (new key: alt-J + alt-R)
* add IRC raw data buffer (new key: alt+"j" + alt+"r")
* fix display bug with /kill command
* add new plugins functions: add_timer_handler, remove_timer_handler,
remove_infobar
@@ -483,10 +777,10 @@ Version 0.1.7 (2006-01-14)
* /nick command is now allowed when not connected to server
* add server/channel arg to /buffer command for jumping to buffer
* fix display bug in chat window when a message length equals to window width
* add new keys for switching to other windows: alt-W followed by alt-{arrow}
* add new keys for scrolling to previous/next highlight: alt-P / alt-N
* add new keys for switching to other windows: alt+"w" followed by alt+{arrow}
* add new keys for scrolling to previous/next highlight: alt+"p" / alt+"n"
* add "read marker": an indicator for first unread line in a server or channel
buffer (new key alt-U to scroll to marker)
buffer (new key alt+"u" to scroll to marker)
* new window maganement: custom size for windows, auto resize when terminal is
resized
* fix infinite loop when resizing term to small size
@@ -516,7 +810,7 @@ Version 0.1.6 (2005-11-11)
* add colors for input buffer and current channel of status bar
* add online help for config options (with /set full_option_name)
* enhanced "smart" hotlist, with names (new options:
look_hotlist_names_{count|level|length})
look_hotlist_names_{count|level|length})
Version 0.1.5 (2005-09-24)
--------------------------
@@ -539,7 +833,7 @@ Version 0.1.5 (2005-09-24)
* fix look_nicklist_min_size and look_nicklist_max_size options
* fix refresh bug when changing channel modes
* jump to next server now saves current channel buffer for each server
* add keys ctrl-up/ctrl-down to call previous/next command in global history
* add keys ctrl+{up|down} to call previous/next command in global history
(common to all buffers)
Version 0.1.4 (2005-07-30)
@@ -560,7 +854,7 @@ Version 0.1.4 (2005-07-30)
* topic completion now decodes UTF-8 string
* fix bug with IRC URL on command line (irc://)
* new keyboard management: keys are setup in config file, add new command /key,
add some new default keys, alt-K key is used to grab key (useful for /key
add some new default keys, alt+"k" key is used to grab key (useful for /key
command)
* add seconds in infobar time (optional thanks to new setting)
* fix some curses refreshs
@@ -589,7 +883,7 @@ Version 0.1.3 (2005-07-02)
* fix plugins "print" and "prnt" functions: now ok for writing on server
buffers
* fix color problem with new libcurses version
* fix crash when using alt-S or alt-X on DCC buffer (alt-D)
* fix crash when using alt+"s" or alt+"x" on DCC buffer (alt+"d")
* fix startup crash when config file (~/.weechat/weechat.rc) is not found
* improve Perl/Python libs detection for ./configure script
@@ -598,7 +892,7 @@ Version 0.1.2 (2005-05-21)
* add Python plugin support, improve Perl interface (and now Perl/Python
libraries are checked by configure script)
* add nicklist scroll keys (alt+{home/end/pgup/pgdn} or F11/F12)
* add nicklist scroll keys (alt+{home|end|pgup|pgdn} or F11/F12)
* add transfer rate for DCC files
* add "-all" option for /nick command
* buffers timestamp can now be changed (new option in config file)
@@ -674,8 +968,9 @@ Version 0.0.9 (2005-01-01)
* fix display of nick mode changes
* new command "/buffer close" (close any server/channel/private buffer)
* fix /notice command (and display when received from server)
* new keys: ctrl+A (=home), ctrl+E (=end), ctrl+W (= ctrl+Backspace), alt-S
(switch to server buffer), alt-X (switch to first channel of next server)
* new keys: ctrl+"a" (=home), ctrl+"e" (=end), ctrl+"w" (= ctrl+backspace),
alt+"s" (switch to server buffer), alt+"x" (switch to first channel of next
server)
* add new config option: "server_command_delay" (delay in seconds after startup
command for each server)
@@ -692,17 +987,17 @@ Version 0.0.8 (2004-10-30)
* add config option "look_display_away" to announce away in channels
* fix crash when resizing terminal to very small size
* "-MORE-" message is now erased when switching to another buffer
* DCC file receive ok (alt-D for DCC view)
* DCC file receive ok (alt+"d" for DCC view)
* /query command now reopens private buffer if already opened
* add key for redrawing terminal (ctrl-L)
* add key for clearing hotlist (alt-R)
* add key for redrawing terminal (ctrl+"l")
* add key for clearing hotlist (alt+"r")
Version 0.0.7 (2004-08-08)
--------------------------
* new "col_status_delimiters" config option
* add command /buffer , buffers ordered by number, auto-jump to active buffers
(alt-A), jump to buffers by number (alt-number)
(alt+"a"), jump to buffers by number (alt+number)
* add command /window, split terminal horizontally/vertically
* unique color for each nick (based on nickname)
* action messages are now considered as messages, not crappy joins/parts
@@ -750,7 +1045,7 @@ Version 0.0.4 (2004-01-01)
* when private window is created (another user is talking), WeeChat does not
switch to this window
* highlight when our nick is written in a channel/private window
* catch ctrl-C (ignored)
* catch ctrl+"c" (ignored)
* debug messages can be enabled via ./configure --enbale-debug option
Version 0.0.3 (2003-11-03)
+1 -1
View File
@@ -27,7 +27,7 @@ make install (as root for installation in system directories)
----------------------------------------------------------------------
If you want to report bugs/crashs to developers, please:
If you want to report bugs/crashes to developers, please:
- compile with debug info (type "Debug" for cmake build, default for autotools),
- enable core files (for bash shell, add "ulimit -c unlimited" to your ~/.bashrc).
+10 -4
View File
@@ -1,17 +1,22 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
if DOC
@@ -26,6 +31,7 @@ EXTRA_DIST = CMakeLists.txt \
cmake/cmake_uninstall.cmake.in \
cmake/FindAsciidoc.cmake \
cmake/FindAspell.cmake \
cmake/FindGcrypt.cmake \
cmake/FindGettext.cmake \
cmake/FindGnuTLS.cmake \
cmake/FindIconv.cmake \
+250 -145
View File
@@ -1,177 +1,282 @@
WeeChat News
============
Sébastien Helleu <flashcode@flashtux.org>
v0.3.4-rc1, 2010-12-10
FlashCode, 2009-08-10::
WeeChat 0.3.0 will bring major changes, especially for configuration files
and plugin API.
+
For more information about this version, please read file UPGRADE_0.3.
FlashCode, 2009-06-13::
WeeChat 0.2.6.3 released.
+
This version fixes gnutls detection.
Version 0.3.4 (under dev!)
--------------------------
FlashCode, 2009-04-18::
WeeChat 0.2.6.2 released.
+
This version fixes a bug with charset decoding (like iso2022jp).
Important release notes:
FlashCode, 2009-03-14::
WeeChat 0.2.6.1 released.
+
This version fixes a major bug: crash with some special chars in IRC
messages.
* if you are using `/upgrade` from a previous release, some nick prefixes can
be wrong, so it is recommended to do `/allchan names`.
* some IRC options have been renamed, before upgrading to this version, note
value for old options, and set them again with new name:
** options moved from 'network' section to servers (with global value, and server
value, like other server options):
*** 'irc.network.connection_timeout' moved to 'irc.server_default.connection_timeout'
*** 'irc.network.anti_flood_prio_high' moved to 'irc.server_default.anti_flood_prio_high'
*** 'irc.network.anti_flood_prio_low' moved to 'irc.server_default.anti_flood_prio_low'
*** 'irc.network.away_check' moved to 'irc.server_default.away_check'
*** 'irc.network.away_check_max_nicks' moved to 'irc.server_default.away_check_max_nicks'
*** 'irc.network.default_msg_part' moved to 'irc.server_default.default_msg_part'
*** 'irc.network.default_msg_quit' moved to 'irc.server_default.default_msg_quit'
** other IRC options renamed:
*** 'irc.look.open_channel_near_server' moved to 'irc.look.new_channel_position'
(old option was boolean, new is integer with value as string)
*** 'irc.look.open_pv_near_server' moved to 'irc.look.new_pv_position'
(old option was boolean, new is integer with value as string)
FlashCode, 2007-09-06::
WeeChat 0.2.6 released.
Version 0.3.3 (2010-08-07)
--------------------------
FlashCode, 2007-06-07::
WeeChat 0.2.5 released.
Important release notes:
FlashCode, 2007-03-29::
WeeChat 0.2.4 released.
* if you are using `/upgrade` from a previous release, then you must reconnect
to IRC servers in order to use new command /wallchops.
* option 'irc.network.lag_min_show' is now in milliseconds, you should set new
value: your current value multiplied by 1000 (new default value is 500).
FlashCode, 2007-01-10::
WeeChat 0.2.3 released.
+
This version fixes several major bugs of version 0.2.2.
All users of version 0.2.2 should upgrade to this version.
Version 0.3.2 (2010-04-18)
--------------------------
FlashCode, 2007-01-06::
WeeChat 0.2.2 released.
+
Important release notes:
* new charset plugin:
** for users of any previous version, all your charset settings
in weechat.rc will be LOST! You should save your weechat.rc
to keep your values and set them again with new "charset" plugin.
** for ISO users: history of channels may be without accents
(after /upgrade), this is not recoverable, but this is not a bug.
All new messages should be ok.
** be careful, now default encode is UTF-8 for all channels (before
it was terminal charset). If you still want to send messages as
ISO-8859-1, you should send either global encode or server specific
encode to ISO-8859-1.
For global encode: /setp charset.global.encode = "ISO-8859-1"
For server encode: (on server buffer) /charset encode ISO-8859-1
* new keys for topic scroll:
** new keys for scrolling topic: F9/F10
** key F10 was used for "infobar_clear" in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
/key <press alt-k then F10> scroll_topic_right
which gives something like this:
/key meta2-21~ scroll_topic_right
If you are using `/upgrade` from a previous release, then you must execute this
command on all IRC servers/channels/private buffers and xfer DCC chats (not
needed on WeeChat core buffer or buffers from other plugins/scripts): +
`/buffer set highlight_words $nick`
FlashCode, 2006-10-01::
WeeChat 0.2.1 released.
Version 0.3.1.1 (2010-01-31)
----------------------------
FlashCode, 2006-08-19::
WeeChat 0.2.0 released.
+
Important release notes:
* if you upgraded with /upgrade in WeeChat, you should /disconnect and
then /reconnect on each server, to display properly channel/user modes
* if you're using plugins, you should remove some old plugins libraries
in WeeChat system library directory (commonly
/usr/local/lib/weechat/plugins): remove `lib*` files (like `libperl.*`,
`libpython.*`, ..) and keep only new libraries (`perl.*`, `python.*`, ..)
This version fixes crashs with SSL connection and purge of old DCC chats.
FlashCode, 2006-05-25::
WeeChat 0.1.9 released.
+
Important release notes:
* please close all DCC chat buffers before using /upgrade command,
otherwise you may experience problems with DCC chats.
* some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but
not used: server and args)
All users of version 0.2.2 should upgrade to this version.
FlashCode, 2006-03-18::
WeeChat 0.1.8 released.
+
Important release notes:
* it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file (~/.weechat/weechat.rc) :
** option: log_path: replace "~/.weechat/logs" by "%h/logs"
** option: plugins_path: replace "~/.weechat/plugins" by "%h/plugins"
+
"%h" is replaced by WeeChat home (default: ~/.weechat, may be overriden
by new command line arg --dir)
* after installing 0.1.8 (or with /upgrade), issue both commands (if you
didn't redefined these keys (alt-home/end):
/key unbind meta-meta2-1~
/key unbind meta-meta2-4~
then launch again WeeChat (or issue /upgrade).
Alt-home/end were used for nicklist scroll, they're now replaced by
Alt-F11/F12.
Version 0.3.1 (2010-01-23)
--------------------------
FlashCode, 2006-01-14::
WeeChat 0.1.7 released.
+
Important release notes:
* Ruby script plugin has been added but is experimental in this release.
You're warned!
* "/away" command was changed to be RFC 2812 compliant.
Now argument is required to set away, and no argument means
remove away ("back"). Setting "irc_default_msg_away" has been removed.
IRC commands /ame and /amsg are now aliases, if you are upgrading from version
0.3.0, you must create aliases with following commands: +
`/alias aaway allserv /away` +
`/alias ame allchan /me` +
`/alias amsg allchan /amsg *` +
`/alias anick allserv /nick`
FlashCode, 2005-11-11::
WeeChat 0.1.6 released.
+
Important release notes:
* incompatibility with some old scripts: now all handlers have to return
a code for completion, and to do some actions about message to ignore
(please look at documentation for detail)
* on OpenBSD, the new option "plugins_extension" should be set to ".so.0.0"
since the plugins names are ending by ".so.0.0" and not ".so"
* with new and full UTF-8 support, the option "look_charset_internal"
should be set to blank for most cases. Forces it only if your locale is
not properly detected by WeeChat (you can set "UTF-8" or "ISO-8859-15"
for example, depending on your locale). WeeChat is looking for "UTF-8" in
your locale name at startup.
Version 0.3.0 (2009-09-06)
--------------------------
FlashCode, 2005-09-24::
WeeChat 0.1.5 released.
This version brings major changes, especially for configuration files and plugin
API.
FlashCode, 2005-07-30::
WeeChat 0.1.4 released.
For more information about this version, please read file 'UPGRADE_0.3'.
FlashCode, 2005-07-02::
WeeChat 0.1.3 released.
Version 0.2.6.3 (2009-06-13)
----------------------------
FlashCode, 2005-05-21::
WeeChat 0.1.2 released.
This version fixes gnutls detection.
FlashCode, 2005-03-20::
WeeChat 0.1.1 released.
Version 0.2.6.2 (2009-04-18)
----------------------------
FlashCode, 2005-02-12::
WeeChat 0.1.0 released.
This version fixes a bug with charset decoding (like 'iso2022jp').
FlashCode, 2005-01-01::
WeeChat 0.0.9 released.
Version 0.2.6.1 (2009-03-14)
----------------------------
FlashCode, 2004-10-30::
WeeChat 0.0.8 released.
This version fixes a major bug: crash with some special chars in IRC messages.
FlashCode, 2004-08-08::
WeeChat 0.0.7 released.
Version 0.2.6 (2007-09-06)
--------------------------
FlashCode, 2004-06-05::
WeeChat 0.0.6 released.
No release note.
FlashCode, 2004-02-07::
WeeChat 0.0.5 released.
Version 0.2.5 (2007-06-07)
--------------------------
FlashCode, 2004-01-01::
WeeChat 0.0.4 released.
No release note.
FlashCode, 2003-11-03::
WeeChat 0.0.3 released.
Version 0.2.4 (2007-03-29)
--------------------------
FlashCode, 2003-10-05::
WeeChat 0.0.2 released.
No release note.
FlashCode, 2003-09-27::
WeeChat 0.0.1 released.
Version 0.2.3 (2007-01-10)
--------------------------
This version fixes several major bugs of version 0.2.2.
All users of version 0.2.2 should upgrade to this version.
Version 0.2.2 (2007-01-06)
--------------------------
Important release notes:
* new charset plugin:
** for users of any previous version, all your charset settings in weechat.rc
will be LOST! You should save your weechat.rc to keep your values and set
them again with new 'charset' plugin.
** for ISO users: history of channels may be without accents (after `/upgrade`),
this is not recoverable, but this is not a bug. All new messages should be
ok.
** be careful, now default encode is UTF-8 for all channels (before it was
terminal charset). If you still want to send messages as 'ISO-8859-1', you
should send either global encode or server specific encode to 'ISO-8859-1':
*** for global encode: `/setp charset.global.encode = "ISO-8859-1"`
*** for server encode (on server buffer): `/charset encode ISO-8859-1`
* new keys for topic scroll:
** new keys for scrolling topic: F9/F10
** key F10 was used for `infobar_clear` in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
*** `/key <press alt-k then F10> scroll_topic_right` (which gives something
like: `/key meta2-21~ scroll_topic_right`).
Version 0.2.1 (2006-10-01)
--------------------------
No release note.
Version 0.2.0 (2006-08-19)
--------------------------
Important release notes:
* if you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
`/reconnect` on each server, to display properly channel/user modes.
* if you're using plugins, you should remove some old plugins libraries in
WeeChat system library directory (commonly '/usr/local/lib/weechat/plugins'):
remove `lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new
libraries (`perl.*`, `python.*`, ..).
Version 0.1.9 (2006-05-25)
--------------------------
Important release notes:
* please close all DCC chat buffers before using /upgrade command, otherwise you
may experience problems with DCC chats.
* some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but not
used: server and args).
Version 0.1.8 (2006-03-18)
--------------------------
Important release notes:
* it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file ('~/.weechat/weechat.rc'):
** option: log_path: replace '~/.weechat/logs' by '%h/logs'
** option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins' +
'%h' is replaced by WeeChat home (default: '~/.weechat', may be overriden
by new command line arg `--dir`).
* after installing 0.1.8 (or with `/upgrade`), issue both commands (if you
didn't redefine these keys (alt-home/end):
** `/key unbind meta-meta2-1~`
** `/key unbind meta-meta2-4~`
** then launch again WeeChat (or issue `/upgrade`).
* Keys alt-home/end were used for nicklist scroll, they're now replaced by
alt-F11/F12.
Version 0.1.7 (2006-01-14)
--------------------------
Important release notes:
* Ruby script plugin has been added but is experimental in this release.
You're warned!
* `/away` command was changed to be RFC 2812 compliant. Now argument is required
to set away, and no argument means remove away ("back"). Option
'irc_default_msg_away' has been removed.
Version 0.1.6 (2005-11-11)
--------------------------
Important release notes:
* incompatibility with some old scripts: now all handlers have to return a code
for completion, and to do some actions about message to ignore (please look at
documentation for detail).
* on OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0'
since the plugins names are ending by '.so.0.0' and not '.so'.
* with new and full UTF-8 support, the option 'look_charset_internal' should be
set to blank for most cases. Forces it only if your locale is not properly
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example,
depending on your locale). WeeChat is looking for 'UTF-8' in your locale name
at startup.
Version 0.1.5 (2005-09-24)
--------------------------
No release note.
Version 0.1.4 (2005-07-30)
--------------------------
No release note.
Version 0.1.3 (2005-07-02)
--------------------------
No release note.
Version 0.1.2 (2005-05-21)
--------------------------
No release note.
Version 0.1.1 (2005-03-20)
--------------------------
No release note.
Version 0.1.0 (2005-02-12)
--------------------------
No release note.
Version 0.0.9 (2005-01-01)
--------------------------
No release note.
Version 0.0.8 (2004-10-30)
--------------------------
No release note.
Version 0.0.7 (2004-08-08)
--------------------------
No release note.
Version 0.0.6 (2004-06-05)
--------------------------
No release note.
Version 0.0.5 (2004-02-07)
--------------------------
No release note.
Version 0.0.4 (2004-01-01)
--------------------------
No release note.
Version 0.0.3 (2003-11-03)
--------------------------
No release note.
Version 0.0.2 (2003-10-05)
--------------------------
No release note.
Version 0.0.1 (2003-09-27)
--------------------------
No release note.
+7 -5
View File
@@ -13,7 +13,7 @@ Features
* chat client with multi-protocols/servers connection
* many GUI (curses, Gtk, Qt) (1)
* small, fast and very light
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua)
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl)
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) (2)
@@ -27,17 +27,19 @@ NOTE: (1) only Curses interface is available today
Copyright
---------
WeeChat (c) Copyright 2003-2009 by FlashCode <flashcode@flashtux.org>
Copyright (C) 2003-2010 Sébastien Helleu <flashcode@flashtux.org>
This program is free software; you can redistribute it and/or modify
This file is part of WeeChat, the extensible chat client.
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
WeeChat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
+4 -4
View File
@@ -1,7 +1,7 @@
WeeChat Upgrade to 0.3.x
========================
FlashCode <flashcode@flashtux.org>
v0.3.0, 2009-08-09
Sébastien Helleu <flashcode@flashtux.org>
v0.3.0, 2009-09-06
This document lists major changes introduced in version 0.3.0 and not compatible
@@ -42,7 +42,7 @@ Examples:
* IRC options: `irc.xxx.yyy`
You should read quickstart guide to be familiar with basic commands and syntax
(some commands like `/server` have changed): http://weechat.flashtux.org/doc.php
(some commands like `/server` have changed): http://www.weechat.org/doc
List of configuration files
@@ -76,7 +76,7 @@ Therefore, if you plan to use old script, you'll have to wait for new version
or you can convert script yourself and send us new version ;)
You can download scripts for new API on plugins page:
http://weechat.flashtux.org/plugins.php
http://www.weechat.org/plugins
More information about new API is available on wiki:
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
+11 -7
View File
@@ -1,19 +1,23 @@
#!/bin/sh
#
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
#
# This program is free software; you can redistribute it and/or modify
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
###
@@ -39,10 +43,10 @@ run ()
echo -n "Running \"$@\""
eval $@ >$AUTOGEN_LOG 2>&1
if [ $? = 0 ] ; then
echo -e $OK
echo -e $OK
else
echo -e $FAIL
err
echo -e $FAIL
err
fi
}
+7 -4
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Asciidoc
+8 -5
View File
@@ -1,21 +1,24 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Aspell
# This module finds if libaspell is installed and determines where
# This module finds if libaspell is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
+50
View File
@@ -0,0 +1,50 @@
#
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Gcrypt
# This module finds if libgcrypt is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
#
# GCRYPT_CFLAGS = cflags to use to compile
# GCRYPT_LDFLAGS = ldflags to use to compile
#
FIND_PROGRAM(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
set(GCRYPT_LDFLAGS)
set(GCRYPT_CFLAGS)
IF(LIBGCRYPT_CONFIG_EXECUTABLE)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
IF(${GCRYPT_CFLAGS} MATCHES "\n")
SET(GCRYPT_CFLAGS " ")
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
IF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
SET(GCRYPT_FOUND TRUE)
ENDIF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
+14 -9
View File
@@ -1,21 +1,26 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Gettext
# This module finds if gettext is installed and determines where
# This module finds if gettext is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
@@ -52,15 +57,15 @@ IF(HAVE_LIBINTL_H)
/usr/lib
)
IF(LIBINTL_LIBRARY)
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
IF(LIBINTL_HAS_DGETTEXT)
SET(GETTEXT_FOUND TRUE)
SET(GETTEXT_FOUND TRUE)
ENDIF(LIBINTL_HAS_DGETTEXT)
ENDIF(LIBINTL_LIBRARY)
ENDIF(LIBC_HAS_DGETTEXT)
+9 -5
View File
@@ -1,21 +1,25 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find GnuTLS
# This module finds if libgnutls is installed and determines where
# This module finds if libgnutls is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
+11 -5
View File
@@ -1,21 +1,24 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Iconv
# This module finds if libiconv is installed and determines where
# This module finds if libiconv is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
@@ -30,6 +33,9 @@ IF(ICONV_FOUND)
set(ICONV_FIND_QUIETLY TRUE)
ENDIF(ICONV_FOUND)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckFunctionExists)
FIND_PATH(ICONV_INCLUDE_PATH
NAMES iconv.h
PATHS /usr/include /usr/local/include /usr/pkg/include
+10 -7
View File
@@ -1,21 +1,24 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Lua
# This module finds if liblua is installed and determines where
# This module finds if liblua is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
@@ -61,8 +64,8 @@ ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
)
FIND_LIBRARY(
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
+23 -6
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(NCURSES_FOUND)
@@ -23,11 +26,25 @@ FIND_PATH(NCURSES_INCLUDE_PATH
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(NCURSES_LIBRARY
NAMES ncursesw ncurses
FIND_LIBRARY(NCURSESW_LIBRARY
NAMES ncursesw
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSESW_LIBRARY)
SET(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
ELSE(NCURSESW_LIBRARY)
FIND_LIBRARY(NCURSES_LIBRARY
NAMES ncurses
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSES_LIBRARY)
MESSAGE("*** WARNING:\n"
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
"*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.")
ENDIF(NCURSES_LIBRARY)
ENDIF(NCURSESW_LIBRARY)
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
SET(NCURSES_FOUND TRUE)
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
+8 -5
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Perl libraries
@@ -57,7 +60,7 @@ IF(PERL_EXECUTABLE)
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
FIND_PATH(PERL_INCLUDE_PATH
FIND_PATH(PERL_INCLUDE_PATH
NAMES perl.h
PATHS ${PERL_INTERNAL_DIR}
)
+4 -4
View File
@@ -72,13 +72,13 @@
#
# Redistribution and use, with or without modification, are permitted
# provided that the following conditions are met:
#
#
# 1. Redistributions must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# 2. The name of the author may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
#
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -232,7 +232,7 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
# create the final query which is of the format:
# * --atleast-version <version> <pkg-name>
# * --exact-version <version> <pkg-name>
# * --exact-version <version> <pkg-name>
# * --max-version <version> <pkg-name>
# * --exists <pkg-name>
if (_pkg_check_modules_pkg_op)
@@ -352,7 +352,7 @@ macro(pkg_search_module _prefix _module0)
endif(NOT ${_prefix}_FOUND)
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
endmacro(pkg_search_module)
### Local Variables:
+9 -5
View File
@@ -1,17 +1,21 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Python
@@ -29,7 +33,7 @@ IF(PYTHON_FOUND)
SET(PYTHON_FIND_QUIETLY TRUE)
ENDIF(PYTHON_FOUND)
FIND_PROGRAM(PYTHON_EXECUTABLE
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
+30 -8
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Ruby
@@ -28,17 +31,22 @@ IF(RUBY_FOUND)
SET(RUBY_FIND_QUIETLY TRUE)
ENDIF(RUBY_FOUND)
FIND_PROGRAM(RUBY_EXECUTABLE
FIND_PROGRAM(RUBY_EXECUTABLE
NAMES ruby ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(RUBY_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['archdir']"
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubyhdrdir'] || Config::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
@@ -48,17 +56,27 @@ IF(RUBY_EXECUTABLE)
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['ruby_version']"
OUTPUT_VARIABLE RUBY_VERSION
)
# remove the new lines from the output by replacing them with empty strings
STRING(REPLACE "\n" "" RUBY_ARCH_DIR "${RUBY_ARCH_DIR}")
STRING(REPLACE "\n" "" RUBY_POSSIBLE_LIB_PATH "${RUBY_POSSIBLE_LIB_PATH}")
STRING(REPLACE "\n" "" RUBY_RUBY_LIB_PATH "${RUBY_RUBY_LIB_PATH}")
STRING(REPLACE "\n" "" RUBY_ARCH "${RUBY_ARCH}")
STRING(REPLACE "\n" "" RUBY_VERSION "${RUBY_VERSION}")
FIND_PATH(RUBY_INCLUDE_PATH
NAMES ruby.h
PATHS ${RUBY_ARCH_DIR}
)
SET(RUBY_ARCH
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
FIND_LIBRARY(RUBY_LIBRARY
NAMES ruby ruby1.6 ruby16 ruby1.8 ruby18 ruby1.9 ruby19
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
@@ -67,11 +85,15 @@ IF(RUBY_EXECUTABLE)
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
SET(RUBY_FOUND TRUE)
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
IF(${RUBY_VERSION} STREQUAL "1.9.0")
SET(RUBY_FOUND FALSE)
ENDIF(${RUBY_VERSION} STREQUAL "1.9.0")
MARK_AS_ADVANCED(
RUBY_EXECUTABLE
RUBY_LIBRARY
RUBY_ARCH
RUBY_INCLUDE_PATH
)
ENDIF(RUBY_EXECUTABLE)
+8 -4
View File
@@ -1,17 +1,21 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Source-Highlight
+38 -38
View File
@@ -1,3 +1,23 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Tcl includes and libraries.
# This module finds if Tcl is installed and determines where the
# include files and libraries are. It also determines what the name of
@@ -18,11 +38,11 @@
# - The stub libraries are now found in FindTclStub.cmake
# => they were only useful for people writing Tcl/Tk extensions.
# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
# => these libs are not packaged by default with Tcl/Tk distributions.
# => these libs are not packaged by default with Tcl/Tk distributions.
# Even when Tcl/Tk is built from source, several flavors of debug libs
# are created and there is no real reason to pick a single one
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# TCL_LIBRARY to any Tcl library, debug or not.
# - TK_INTERNAL_PATH was removed.
# => this ended up being only a Win32 variable, and there is a lot of
@@ -40,53 +60,45 @@ INCLUDE(FindTclsh)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
SET(TCL_POSSIBLE_LIB_PATHS
"${TCL_INCLUDE_PATH_PARENT}/lib"
"${TCL_LIBRARY_PATH}"
"${TCL_TCLSH_PATH_PARENT}/lib"
/usr/lib
/usr/lib
/usr/local/lib
)
IF(WIN32)
GET_FILENAME_COMPONENT(
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
NAME)
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/lib"
"$ENV{ProgramFiles}/Tcl/Lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
)
ENDIF(WIN32)
FIND_LIBRARY(TCL_LIBRARY
NAMES
tcl
NAMES
tcl86 tcl8.6
tcl85 tcl8.5
tcl
tcl${TCL_VERSION} tcl${TCL_TCLSH_VERSION}
tcl86 tcl8.6
tcl85 tcl8.5
tcl84 tcl8.4
tcl83 tcl8.3
tcl82 tcl8.2
tcl80 tcl8.0
PATHS ${TCL_POSSIBLE_LIB_PATHS}
)
@@ -104,24 +116,16 @@ ENDIF(Tcl_FRAMEWORKS)
SET(TCL_POSSIBLE_INCLUDE_PATHS
"${TCL_LIBRARY_PATH_PARENT}/include"
"${TCL_INCLUDE_PATH}"
${TCL_FRAMEWORK_INCLUDES}
${TCL_FRAMEWORK_INCLUDES}
"${TCL_TCLSH_PATH_PARENT}/include"
/usr/include/tcl8.6
/usr/include/tcl8.5
/usr/include
/usr/local/include
/usr/include/tcl${TCL_VERSION}
/usr/include/tcl8.6
/usr/include/tcl8.5
/usr/include/tcl8.4
/usr/include/tcl8.3
/usr/include/tcl8.2
/usr/include/tcl8.0
/usr/local/include/tcl${TCL_VERSION}
/usr/local/include/tcl8.6
/usr/local/include/tcl8.5
/usr/local/include/tcl8.4
/usr/local/include/tcl8.3
/usr/local/include/tcl8.2
/usr/local/include/tcl8.0
)
@@ -130,17 +134,13 @@ IF(WIN32)
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/include"
"$ENV{ProgramFiles}/Tcl/include"
"C:/Program Files/Tcl/include"
"C:/Tcl/include"
)
ENDIF(WIN32)
FIND_PATH(TCL_INCLUDE_PATH
FIND_PATH(TCL_INCLUDE_PATH
NAMES tcl.h
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
)
+7 -4
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
+6 -4
View File
@@ -1,19 +1,21 @@
#!/bin/sh
#
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
VERSION=@VERSION@
+229 -165
View File
@@ -1,27 +1,34 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien 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>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.3.0-rc3, flashcode@flashtux.org)
AC_INIT(WeeChat, 0.3.4-rc1, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([weechat], [0.3.0-rc3])
AM_INIT_AUTOMAKE([weechat], [0.3.4-rc1])
LICENSE="GPL3"
# Checks for programs
AC_PROG_CC
@@ -45,10 +52,13 @@ netbsd*)
solaris*)
LDFLAGS="$LDFLAGS -lsocket -lxnet"
;;
cygwin*)
LDFLAGS="$LDFLAGS -no-undefined"
;;
esac
# Gettext
ALL_LINGUAS="fr es cs hu de ru pl"
ALL_LINGUAS="fr es cs hu de ru pl it pt_BR"
AM_GNU_GETTEXT([use-libtool])
AM_GNU_GETTEXT_VERSION([0.15])
@@ -90,26 +100,28 @@ AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa mem
# Variables in config.h
AH_VERBATIM([PREFIX], [#undef PREFIX])
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
AH_VERBATIM([PREFIX], [#undef PREFIX])
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([DOC], [#undef DOC])
AH_VERBATIM([HAVE_GCRYPT], [#undef HAVE_GCRYPT])
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER])
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([DOC], [#undef DOC])
# Arguments for ./configure
@@ -117,6 +129,7 @@ AC_ARG_ENABLE(ncurses, [ --disable-ncurses turn off ncurses interfac
AC_ARG_ENABLE(wxwidgets, [ --enable-wxwidgets turn on WxWidgets interface (default=off)],enable_wxwidgets=$enableval,enable_wxwidgets=no)
AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (default=off)],enable_gtk=$enableval,enable_gtk=no)
AC_ARG_ENABLE(qt, [ --enable-qt turn on Qt interface (default=off)],enable_qt=$enableval,enable_qt=no)
AC_ARG_ENABLE(gcrypt, [ --disable-gcrypt turn off gcrypt support (default=compiled if found)],enable_gcrypt=$enableval,enable_gcrypt=yes)
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)
@@ -126,7 +139,8 @@ AC_ARG_ENABLE(demo, [ --enable-demo turn on Demo plugin (defa
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes)
AC_ARG_ENABLE(relay, [ --enable-relay turn on Relay plugin (default=off)],enable_relay=$enableval,enable_relay=no)
AC_ARG_ENABLE(relay, [ --disable-relay turn off Relay plugin (default=compiled)],enable_relay=$enableval,enable_relay=yes)
AC_ARG_ENABLE(rmodifier, [ --disable-rmodifier turn off Rmodifier plugin (default=compiled)],enable_rmodifier=$enableval,enable_rmodifier=yes)
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
@@ -137,6 +151,7 @@ AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file trans
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
AC_ARG_ENABLE(doc, [ --disable-doc turn off documentation (default=built)],enable_doc=$enableval,enable_doc=yes)
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
@@ -155,7 +170,7 @@ if test "$LIBDL_FOUND" != "yes"; then
fi
if test "$LIBDL_FOUND" != "yes"; then
AC_MSG_ERROR([
*** "dl" library (dynamic library loader) couldn't be found in your system.
*** "dl" library (dynamic library loader) couldn't be found on your system.
*** Try to install it with your software package manager.])
fi
AC_SUBST(PLUGINS_LFLAGS)
@@ -247,15 +262,15 @@ if test "x$ac_found_iconv_header" = "xyes" ; then
ICONV_LFLAGS="-liconv"
LIBS="$LIBS $ICONV_LFLAGS"
fi
AC_MSG_CHECKING(for iconv usability in programs)
AC_MSG_CHECKING(for iconv usability in programs)
AC_TRY_RUN([
#include <iconv.h>
int main(int argc, char **argv) {
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
#include <iconv.h>
int main(int argc, char **argv) {
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
if (conv != (iconv_t) -1) {
return 0;
return 0;
}
return 1;
return 1;
}],iconv_found="yes")
if test "x$iconv_found" = "xno" ; then
AC_MSG_RESULT(no)
@@ -266,7 +281,7 @@ fi
if test "x$iconv_found" = "xno" ; then
AC_MSG_ERROR([
*** Iconv headers and/or libraries couldn't be found in your system.
*** Iconv headers and/or libraries couldn't be found on your system.
*** Try to install them with your software package manager.
*** WeeChat can't be built without Iconv support.])
fi
@@ -304,18 +319,18 @@ if test "x$enable_aspell" = "xyes" ; then
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 librairies)
AC_MSG_CHECKING(for aspell headers and librairies)
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 in your system.
*** 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"
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
fi
else
not_asked="$not_asked aspell"
@@ -395,6 +410,14 @@ else
not_asked="$not_asked relay"
fi
# ------------------------------- rmodifier ------------------------------------
if test "x$enable_rmodifier" = "xyes" ; then
AC_DEFINE(PLUGIN_RMODIFIER)
else
not_asked="$not_asked rmodifier"
fi
# ---------------------------------- perl --------------------------------------
PERL_VERSION=
@@ -409,7 +432,7 @@ if test "x$enable_perl" = "xyes" ; then
enable_perl="no"
not_found="$not_found perl"
else
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
AC_MSG_CHECKING(for Perl headers files)
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
@@ -419,12 +442,12 @@ if test "x$enable_perl" = "xyes" ; then
AC_MSG_RESULT(found)
AC_MSG_CHECKING(for Perl library)
PERL_LIB_TEST=`PT=perltest.c ; echo "int main() { return 0; }" > $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
if test "x$PERL_LIB_TEST" = "x0" ; then
if test "x$PERL_LIB_TEST" = "x0" ; then
PERL_LFLAGS=`$PERL -MExtUtils::Embed -e ldopts`
AC_MSG_RESULT(found)
else
AC_MSG_WARN([
*** Perl library couldn't be found in your system.
*** Perl library couldn't be found on your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Perl support.])
enable_perl="no"
@@ -432,7 +455,7 @@ if test "x$enable_perl" = "xyes" ; then
fi
else
AC_MSG_WARN([
*** Perl headers couldn't be found in your system.
*** Perl headers couldn't be found on your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Perl support.])
enable_perl="no"
@@ -485,7 +508,7 @@ if test "x$enable_python" = "xyes" ; then
AC_MSG_RESULT(found)
else
AC_MSG_WARN([
*** Python library couldn't be found in your system.
*** Python library couldn't be found on your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Python support.])
enable_python="no"
@@ -493,7 +516,7 @@ if test "x$enable_python" = "xyes" ; then
fi
else
AC_MSG_WARN([
*** Python header files couldn't be found in your system.
*** Python header files couldn't be found on your system.
*** Try to install them with your software package manager.
*** WeeChat will be built without Python support.])
enable_python="no"
@@ -524,21 +547,33 @@ if test "x$enable_ruby" = "xyes" ; then
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts Config::CONFIG[['archdir']]"`
AC_MSG_CHECKING(for Ruby header files)
if test -r "$RUBY_INCLUDE/ruby.h"; then
RUBY_CFLAGS="-I$RUBY_INCLUDE"
else
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
if test "$RUBY_VERSION" = "1.9.0"; then
AC_MSG_WARN([
*** Ruby header files couldn't be found in your system.
*** Try to install them with your software package manager.
*** Ruby header files have been found, but they're of the version 1.9.0.
*** Ruby 1.9.0 is an unstable release and should not be used in production.
*** Please install Ruby >=1.8.6 or 1.9.1.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts Config::CONFIG[['rubyhdrdir']] || Config::CONFIG[['archdir']]"`
RUBY_ARCH=`$RUBY -rrbconfig -e 'print Config::CONFIG[["arch"]]'`
AC_MSG_CHECKING(for Ruby header files)
if test -d "$RUBY_INCLUDE/"; then
M_RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH -DRUBY_VERSION=$M_RUBY_VERSION"
else
AC_MSG_WARN([
*** Ruby header files couldn't be found on your system.
*** Try to install them with your software package manager.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
fi
AC_MSG_RESULT(found)
RUBY_LFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG[['LIBRUBYARG_SHARED']]"`
fi
AC_MSG_RESULT(found)
RUBY_LFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG[['LIBRUBYARG_SHARED']]"`
fi
else
not_asked="$not_asked ruby"
@@ -574,41 +609,41 @@ if test "x$enable_lua" = "xyes" ; then
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
break
fi
done
fi
fi
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
LUACONFIG=""
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
if test "x$LUACONFIG" != "x" ; then
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
echo
echo
LUA_CFLAGS=`$LUACONFIG --include`
LUA_LFLAGS=`$LUACONFIG --libs`
LUA_VERSION="5.0.x"
LUA_VERSION="5.0.x"
fi
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
AC_MSG_CHECKING(for Lua headers and librairies)
echo
echo
AC_CHECK_HEADER(lua.h,ac_found_lua_header="yes",ac_found_lua_header="no")
AC_CHECK_HEADER(lualib.h,ac_found_liblua_header="yes",ac_found_liblua_header="no")
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
@@ -617,31 +652,31 @@ if test "x$enable_lua" = "xyes" ; then
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; 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"
LUA_VERSION=">=5.1.0"
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
ac2_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -llua$l -lm"
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
ac2_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -llua$l -lm"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LDFLAGS="$LDFLAGS -ldl"
fi
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LDFLAGS="$LDFLAGS -ldl"
fi
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
if test "x$ac_found_liblua_lib" = "xyes" ; then
LUA_VERSION="5.0.x"
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LUA_LFLAGS="$LUA_LFLAGS -ldl"
fi
fi
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
if test "x$ac_found_liblua_lib" = "xyes" ; then
LUA_VERSION="5.0.x"
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LUA_LFLAGS="$LUA_LFLAGS -ldl"
fi
fi
LDFLAGS="$ac2_save_LDFLAGS"
break
fi
LDFLAGS="$ac2_save_LDFLAGS"
break
fi
done
fi
@@ -650,7 +685,7 @@ if test "x$enable_lua" = "xyes" ; then
if test "x$LUA_TEST" != "x0" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** Lua (>=5.0) headers and/or librairies couldn't be found in your system.
*** Lua (>=5.0) headers and/or librairies couldn't be found on your system.
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
*** WeeChat will be built without Lua support.])
enable_lua="no"
@@ -673,49 +708,34 @@ if test "x$enable_lua" = "xyes" ; then
fi
# --------------------------------- tcl -------------------------------------
TCL_VERSION=
if test "x$enable_tcl" = "xyes" ; then
enable_plugins="yes"
AC_PATH_PROGS(TCL, tclsh tclsh8.5 tclsh8.4)
if test -z $TCL ; then
AC_MSG_CHECKING(for tclConfig.sh)
tcl_found="no"
tcl_dirs="/usr/lib/tcl8.5 /lib /usr/lib /usr/tcl/lib /usr/local/tcl-8.5/lib /usr/local/lib /usr/local/tcl/lib /opt/lib"
if test "x$tclconfig" != "x" ; then
tcl_dirs="${tclconfig} ${tcl_dirs}"
fi
for tcl_dir in $tcl_dirs ; do
if test -f ${tcl_dir}/tclConfig.sh ; then
. ${tcl_dir}/tclConfig.sh
TCL_CFLAGS="-I${TCL_PREFIX}/include $TCL_INCLUDE_SPEC"
TCL_LFLAGS="$TCL_LIB_SPEC $TCL_LIBS"
tcl_found="yes"
AC_MSG_RESULT(${tcl_dir}/tclConfig.sh)
break
fi
done
if test "x$tcl_found" = "xno" ; then
AC_MSG_WARN([
*** Tcl must be installed on your system but tcl interpreter couldn't be found in path.
*** Please check that tclsh is in path, or install it with your software package manager.
*** Script tclConfig.sh couldn't be found on your system.
*** WeeChat will be built without Tcl support.])
enable_tcl="no"
not_found="$not_found tcl"
else
TCL_VERSION=`echo 'puts $tcl_version' | $TCL`
TCL_PATCHLEVEL=`echo 'puts $tcl_patchLevel' | $TCL`
AC_MSG_CHECKING(for Tcl headers files)
TCL_HEADER_TEST=`TT=tcltest.c ; echo "#include <tcl.h>" > $TT; echo "int main() { return 0; }" >> $TT ; $CC -Wall $TT -o $TT.out 1>/dev/null 2>&1; echo $?; rm -f $TT $TT.out 1>/dev/null 2>&1`
if test "x$TCL_HEADER_TEST" = "x0" ; then
TCL_CFLAGS="-fPIC"
AC_MSG_RESULT(found)
AC_MSG_CHECKING(for Tcl library)
TCL_LIB_TEST=`TT=tcltest.c ; echo "int main() { return 0; }" > $TT ; $CC -Wall $TT -o $TT.out -ltcl$TCL_VERSION 1>/dev/null 2>&1; echo $?; rm -f $TT $TT.out 1>/dev/null 2>&1`
if test "x$TCL_LIB_TEST" = "x0" ; then
TCL_LFLAGS="-ltcl$TCL_VERSION -ldl -export-dynamic"
AC_MSG_RESULT(found)
else
AC_MSG_WARN([
*** Tcl library couldn't be found in your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Tcl support.])
enable_tcl="no"
not_found="$not_found tcl"
fi
else
AC_MSG_WARN([
*** Tcl headers couldn't be found in your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Tcl support.])
enable_tcl="no"
not_found="$not_found tcl"
fi
fi
fi
@@ -737,24 +757,54 @@ else
not_asked="$not_asked xfer"
fi
# ------------------------------------------------------------------------------
# gcrypt
# ------------------------------------------------------------------------------
if test "x$enable_gcrypt" = "xyes" ; then
AC_CHECK_HEADER(gcrypt.h,ac_found_gcrypt_header="yes",ac_found_gcrypt_header="no")
AC_CHECK_LIB(gcrypt,gcry_check_version,ac_found_gcrypt_lib="yes",ac_found_gcrypt_lib="no")
AC_MSG_CHECKING(for gcrypt headers and librairies)
if test "x$ac_found_gcrypt_header" = "xno" -o "x$ac_found_gcrypt_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** libgcrypt was not found. You may want to get it from ftp://ftp.gnupg.org/gcrypt/libgcrypt/
*** WeeChat will be built without gcrypt support.
*** Some features like SASL authentication with IRC server using mechanism DH-BLOWFISH will be disabled.])
enable_gcrypt="no"
not_found="$not_found gcrypt"
else
AC_MSG_RESULT(yes)
GCRYPT_CFLAGS=`libgcrypt-config --cflags`
GCRYPT_LFLAGS=`libgcrypt-config --libs`
AC_SUBST(GCRYPT_CFLAGS)
AC_SUBST(GCRYPT_LFLAGS)
AC_DEFINE(HAVE_GCRYPT)
CFLAGS="$CFLAGS -DHAVE_GCRYPT"
fi
else
not_asked="$not_asked gcrypt"
fi
# ------------------------------------------------------------------------------
# gnutls
# ------------------------------------------------------------------------------
if test "x$enable_gnutls" = "xyes" ; then
AC_CHECK_HEADER(gnutls/gnutls.h,ac_found_gnutls_header="yes",ac_found_gnutls_header="no")
AC_CHECK_LIB(gnutls,gnutls_global_init,ac_found_gnutls_lib="yes",ac_found_gnutls_lib="no")
AC_MSG_CHECKING(for gnutls headers and librairies)
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
AC_CHECK_HEADER(gnutls/gnutls.h,ac_found_gnutls_header="yes",ac_found_gnutls_header="no")
AC_CHECK_LIB(gnutls,gnutls_global_init,ac_found_gnutls_lib="yes",ac_found_gnutls_lib="no")
AC_MSG_CHECKING(for gnutls headers and librairies)
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** libgnutls was not found. You may want to get it from ftp://ftp.gnutls.org/pub/gnutls/
*** WeeChat will be built without GnuTLS support.])
enable_gnutls="no"
not_found="$not_found gnutls"
enable_gnutls="no"
not_found="$not_found gnutls"
else
AC_MSG_RESULT(yes)
AC_MSG_RESULT(yes)
GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
GNUTLS_LFLAGS=`pkg-config gnutls --libs`
AC_SUBST(GNUTLS_CFLAGS)
@@ -840,13 +890,13 @@ if test "x$enable_doc" = "xyes" ; then
;;
esac
else
enable_doc="no"
enable_doc="no"
fi
if test -z "$ASCIIDOC"; then
not_found="$not_found asciidoc"
fi
if test -z "$SOURCEHIGHLIGHT"; then
not_found="$not_found source-highlight(needed by asciidoc)"
not_found="$not_found source-highlight(needed by asciidoc)"
fi
AC_SUBST(DOC_ASCIIDOC8)
AC_SUBST(ASCIIDOC)
@@ -888,7 +938,7 @@ else
AC_MSG_RESULT(no)
fi
CFLAGS=`echo $CFLAGS | sed 's/ -g //g'`
CFLAGS=`echo $CFLAGS | sed 's/ -g / /g'`
CFLAGS=`echo $CFLAGS | sed 's/^-g //g'`
CFLAGS=`echo $CFLAGS | sed 's/ -g$//g'`
CFLAGS=`echo $CFLAGS | sed 's/^-g$//g'`
@@ -918,45 +968,52 @@ netbsd*)
fi
CFLAGS="$CFLAGS $CPPFLAGS"
;;
gnu*)
gnu*)
LDFLAGS="$LDFLAGS -lpthread"
;;
*)
;;
esac
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\""
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
# ------------------------------------------------------------------------------
# output Makefiles
# ------------------------------------------------------------------------------
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
AM_CONDITIONAL(HAVE_GCRYPT, test "$enable_gcrypt" = "yes")
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
AM_CONDITIONAL(PLUGIN_RMODIFIER, test "$enable_rmodifier" = "yes")
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
AC_OUTPUT([Makefile
doc/Makefile
doc/en/Makefile
doc/fr/Makefile
doc/pl/Makefile
doc/de/Makefile
doc/ru/Makefile
doc/ja/Makefile
doc/it/Makefile
src/Makefile
src/core/Makefile
src/plugins/Makefile
@@ -968,6 +1025,7 @@ AC_OUTPUT([Makefile
src/plugins/irc/Makefile
src/plugins/logger/Makefile
src/plugins/relay/Makefile
src/plugins/rmodifier/Makefile
src/plugins/scripts/Makefile
src/plugins/scripts/perl/Makefile
src/plugins/scripts/python/Makefile
@@ -1032,6 +1090,9 @@ fi
if test "x$enable_relay" = "xyes"; then
listplugins="$listplugins relay"
fi
if test "x$enable_rmodifier" = "xyes"; then
listplugins="$listplugins rmodifier"
fi
if test "x$enable_perl" = "xyes"; then
listplugins="$listplugins perl($PERL_VERSION)"
fi
@@ -1045,13 +1106,16 @@ if test "x$enable_lua" = "xyes"; then
listplugins="$listplugins lua($LUA_VERSION)"
fi
if test "x$enable_tcl" = "xyes"; then
listplugins="$listplugins tcl($TCL_PATCHLEVEL)"
listplugins="$listplugins tcl($TCL_VERSION)"
fi
if test "x$enable_xfer" = "xyes"; then
listplugins="$listplugins xfer"
fi
listoptional=""
if test "x$enable_gcrypt" = "xyes"; then
listoptional="$listoptional gcrypt"
fi
if test "x$enable_gnutls" = "xyes"; then
listoptional="$listoptional gnutls"
fi
Vendored
+7 -5
View File
@@ -1,7 +1,9 @@
weechat (0.1.6-1) unstable; urgency=low
weechat (0.3.0-1) unstable; urgency=low
* This release introduces some incompatible changes with old scripts
and locale support, you can read the upstream NEWS file for more
information.
This release introduces major changes. Large part of code was
rewritten without keeping compatibility with older versions.
-- Julien Louis <ptitlouis@sysif.net> Fri, 11 Nov 2005 20:45:46 +0100
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
for more informations on upgrade from a version 0.2.x to 0.3.x.
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
+75 -22
View File
@@ -1,20 +1,73 @@
weechat (0.3.0-1) experimental; urgency=low
weechat (0.3.0-1) unstable; urgency=low
* New (final) upstream release.
* Upload to unstable.
* Add doc-base files for documentation.
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:58:07 +0000
weechat (0.3.0~rc3-1) experimental; urgency=low
* New (major) upstream release.
- Fix the excessive number of wakeups (Closes: #461945)
* Packaging changes:
- Drop weechat-common
- Add weechat-doc (Documentation)
- Add weechat-core (locales files, essential plugins)
- Add weechat-dbg (gdb debugging symbols)
- Add weechat-dev (plugins developement files)
* Adjust Build-Depends for new tcl plugin (update debian/copyright).
* Remove quilt from Build-Depends (patches merged upstream).
* Switch packaging from cdbs to plain debhelper.
* Remove patches (merged upstream).
* Update debian/copyright: add new copyright holder.
* Packaging changes (taking into account future frontends: weechat-gtk,
weechat-qt, etc.):
- Drop weechat-common
- Add weechat-doc (Documentation)
- Add weechat-core (locales files, essential plugins)
- Add weechat-dev (plugins development files)
- Add weechat-dbg (gdb debugging symbols)
* Switch packaging from cdbs to debhelper 7.
* Update packages descriptions.
* Add a lintian-override against manpage line wrapping error.
* Update Standards-Version to 3.8.3.
* Add file UPGRADE_0.3 to doc files.
* Update debian/NEWS about major changes in this release.
-- Emmanuel Bouthenot <kolter@openics.org> Fri, 08 May 2009 13:36:39 +0000
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 16 Aug 2009 20:32:01 +0000
weechat (0.2.6.3-1) unstable; urgency=low
* New upstream release
- drop the usage of the deprecated libgnutls-config script to detect
gnutls (Closes: #529912).
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 13 Jun 2009 21:47:56 +0000
weechat (0.2.6.2-1) unstable; urgency=low
* New upstream release
* Add a patch which fix typos in aspell plugin.
* Refresh patch multiple_ip_servers according to the new upstream release.
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 19 Apr 2009 10:23:26 +0000
weechat (0.2.6.1-1) unstable; urgency=low
* New upstream release which includes a fix against a possible remote
Denial of Service (crash) while receiving messages with special chars
(Closes: #519940).
* Refresh patch multiple_ip_servers according to the new upstream release.
* Update Standards-Version to 3.8.1.
-- Emmanuel Bouthenot <kolter@openics.org> Mon, 16 Mar 2009 13:18:29 +0000
weechat (0.2.6-3) unstable; urgency=low
* Add a patch to make weechat try to connect other server IPs
when the first one failed. Thanks to Lionel Elie Mamane for
his patch (Closes: #498610).
* Rename patch 01_perlembed_init_macros to perlembed_init_macros.
* Update debian/control:
- add ${misc:Depends}
- update descriptions
* Update debian/copyright about debian packaging.
* Add Vcs-Browser and Vcs-Git fields in debian/control.
* Add DM-Upload-Allowed field.
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 21 Feb 2009 18:34:08 +0000
weechat (0.2.6-2) unstable; urgency=low
@@ -28,14 +81,14 @@ weechat (0.2.6-2) unstable; urgency=low
* Reformat NEWS file to avoid lintian warnings.
* Fix typos in control file.
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 30 Nov 2008 16:38:54 +0100
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 07 Sep 2008 19:39:42 +0000
weechat (0.2.6-1) unstable; urgency=low
* New Upstream Version
* Switch to GPLv3 (update copyright)
* Update menu entry
-- Emmanuel Bouthenot <kolter@openics.org> Thu, 06 Sep 2007 20:10:26 +0200
weechat (0.2.5-1) unstable; urgency=low
@@ -235,52 +288,52 @@ weechat (0.0.9-1) unstable; urgency=low
* WeeChat version 0.0.9, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
weechat (0.0.8-1) unstable; urgency=low
* WeeChat version 0.0.8, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
weechat (0.0.7-1) unstable; urgency=low
* WeeChat version 0.0.7, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
weechat (0.0.6-1) unstable; urgency=low
* WeeChat version 0.0.6, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
weechat (0.0.5-1) unstable; urgency=low
* WeeChat version 0.0.5, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
weechat (0.0.4-1) unstable; urgency=low
* WeeChat version 0.0.4, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
weechat (0.0.3-1) unstable; urgency=low
* WeeChat version 0.0.3, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
weechat (0.0.2-1) unstable; urgency=low
* WeeChat version 0.0.2, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
weechat (0.0.1-1) unstable; urgency=low
* First version.
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
+15 -11
View File
@@ -2,12 +2,15 @@ Source: weechat
Section: net
Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
Build-Depends-Indep: asciidoc (>= 8.5.0), source-highlight
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
Standards-Version: 3.8.1
Homepage: http://weechat.flashtux.org/
tcl8.5-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
Standards-Version: 3.8.3
Homepage: http://weechat.org/
Vcs-Git: git://git.debian.org/users/kolter-guest/weechat.git
Vcs-Browser: http://git.debian.org/git/users/kolter-guest/weechat.git
DM-Upload-Allowed: yes
Package: weechat
Architecture: all
@@ -27,6 +30,8 @@ Description: Fast, light and extensible chat client
Package: weechat-curses
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
Conflicts: weechat-common
Breaks: weechat-scripts (<= 20090221-1)
Recommends: weechat-plugins (= ${binary:Version})
Description: Fast, light and extensible chat client - console client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
@@ -45,30 +50,29 @@ Description: Fast, light and extensible chat client - console client
Package: weechat-core
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Replaces: weechat-common, weechat-plugins (<< 0.3.0)
Suggests: weechat-doc (= ${source:Version})
Conflicts: weechat-common, weechat-plugins (<< 0.3.0)
Description: Fast, light and extensible chat client - core files
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides core plugins and locales files for WeeChat. It
currently ships the following plugins: xfer, notify, irc, charset and
currently ships the following plugins: alias, xfer, irc, charset and
logger. It is useless without weechat-curses.
Package: weechat-plugins
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
Suggests: weechat-scripts
Suggests: weechat-scripts (>> 20090221-1)
Description: Fast, light and extensible chat client - plugins
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides some plugins to enhance WeeChat. It currently
ships the following plugins:
- Perl, Python, Ruby, Lua, and Tcl scripting.
- Spell checking (thanks to aspell).
- Charsets management
- And many others (Relay, Fifo, ...)
- Perl, Python, Ruby, Lua, and Tcl scripting
- Spell checking (thanks to aspell)
- And many others (Fifo, ...)
Package: weechat-doc
Section: doc
+9 -6
View File
@@ -1,13 +1,12 @@
This package was debianized by FlashCode <flashcode@flashtux.org> on
This package was debianized by Sebastien Helleu <flashcode@flashtux.org> on
Sat, 21 May 2005 08:00:00 +0200.
It was downloaded from http://weechat.flashtux.org/download
It was downloaded from http://weechat.org/files/src/
Copyright:
(2003) FlashCode <flashcode@flashtux.org>
Emmanuel Bouthenot <kolter@openics.org>
(2008) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
Copyright (C) (2003-2010) Sebastien Helleu <flashcode@flashtux.org>
Copyright (C) (2005-2010) Emmanuel Bouthenot <kolter@openics.org>
Copyright (C) (2008-2010) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
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
@@ -17,3 +16,7 @@ your option) any later version.
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
Debian packaging (licensed under the GPLv3):
Copyright(C) 2005-2008, Julien Louis <ptitlouis@sysif.net>
Copyright(C) 2008-2010, Emmanuel Bouthenot <kolter@openics.org>
+7 -7
View File
@@ -4,15 +4,15 @@ builddir/Makefile:
mkdir -p builddir
cd builddir && \
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="$(CFLAGS)" \
-DCMAKE_LD_FLAGS="-Wl,-z,defs" \
-DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DCMAKE_C_FLAGS:STRING="$(CFLAGS)" \
-DCMAKE_LD_FLAGS:STRING="-Wl,-z,defs" \
-DCMAKE_CXX_FLAGS:STRING="$(CXXFLAGS)" \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
build: build-stamp
build-stamp: builddir/Makefile
build-stamp: builddir/Makefile
dh_testdir
$(MAKE) -C builddir
touch $@
+1 -1
View File
@@ -1,2 +1,2 @@
version=2
http://weechat.flashtux.org/download/weechat-(\d.*)\.tar\.bz2
http://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
+1
View File
@@ -1,3 +1,4 @@
AUTHORS
NEWS
README
UPGRADE_0.3
+13
View File
@@ -0,0 +1,13 @@
Document: weechat-faq-en
Title: WeeChat FAQ (English)
Author: Sebastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (English version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_faq.en.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_faq.en.html
Files: /usr/share/doc/weechat-doc/weechat_faq.en.html
+13
View File
@@ -0,0 +1,13 @@
Document: weechat-faq-fr
Title: WeeChat FAQ (French)
Author: Sebastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (French version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_faq.fr.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_faq.fr.html
Files: /usr/share/doc/weechat-doc/weechat_faq.fr.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-faq-pl
Title: WeeChat FAQ (Polish)
Author: Sebastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_faq.pl.html
Files: /usr/share/doc/weechat-doc/weechat_faq.pl.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-plugin-en
Title: WeeChat plugins API (English)
Author: Sebastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_plugin_api.en.html
Files: /usr/share/doc/weechat-doc/weechat_plugin_api.en.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-plugin-fr
Title: WeeChat plugins API (French)
Author: Sebastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_plugin_api.fr.html
Files: /usr/share/doc/weechat-doc/weechat_plugin_api.fr.html
+9
View File
@@ -0,0 +1,9 @@
Document: weechat-quickstart-de
Title: WeeChat Quickstart (German)
Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (German version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_quickstart.de.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.de.html
+12
View File
@@ -0,0 +1,12 @@
Document: weechat-quickstart-en
Title: WeeChat Quickstart (English)
Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (English version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_quickstart.en.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_quickstart.en.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.en.html
+12
View File
@@ -0,0 +1,12 @@
Document: weechat-quickstart-fr
Title: WeeChat Quickstart (French)
Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (French version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_quickstart.fr.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_quickstart.fr.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.fr.html
+9
View File
@@ -0,0 +1,9 @@
Document: weechat-quickstart-pl
Title: WeeChat Quickstart (Polish)
Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_quickstart.pl.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.pl.html
+9
View File
@@ -0,0 +1,9 @@
Document: weechat-quickstart-ru
Title: WeeChat Quickstart (Russian)
Author: Sebastien Helleu
Abstract: A short HowTo for new WeeChat users (Russian version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_quickstart.ru.html
Files: /usr/share/doc/weechat-doc/weechat_quickstart.ru.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-scripting-en
Title: WeeChat Scripting Guide (English)
Author: Sebastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_scripting.en.html
Files: /usr/share/doc/weechat-doc/weechat_scripting.en.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-scripting-fr
Title: WeeChat Scripting Guide (French)
Author: Sebastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_scripting.fr.html
Files: /usr/share/doc/weechat-doc/weechat_scripting.fr.html
+13
View File
@@ -0,0 +1,13 @@
Document: weechat-tester-en
Title: WeeChat Tester's Guide (English)
Author: Sebastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (English version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_tester.en.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_tester.en.html
Files: /usr/share/doc/weechat-doc/weechat_tester.en.html
+13
View File
@@ -0,0 +1,13 @@
Document: weechat-tester-fr
Title: WeeChat Tester's Guide (French)
Author: Sebastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (French version).
Section: Network/Communication
Format: text
Files: /usr/share/doc/weechat-doc/weechat_tester.fr.txt.gz
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_tester.fr.html
Files: /usr/share/doc/weechat-doc/weechat_tester.fr.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-tester-pl
Title: WeeChat Tester's Guide (Polish)
Author: Sebastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_tester.pl.html
Files: /usr/share/doc/weechat-doc/weechat_tester.pl.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-user-en
Title: WeeChat User's Guide (English)
Author: Sebastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (English version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_user.en.html
Files: /usr/share/doc/weechat-doc/weechat_user.en.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-user-fr
Title: WeeChat User's Guide (French)
Author: Sebastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/weechat_user.fr.html
Files: /usr/share/doc/weechat-doc/weechat_user.fr.html
+1 -1
View File
@@ -1 +1 @@
usr/share/doc/weechat usr/share/doc/weechat-doc
usr/share/doc/weechat/* usr/share/doc/weechat-doc
+16 -7
View File
@@ -1,28 +1,37 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(NOT DISABLE_DOC)
IF(ENABLE_DOC)
FIND_PACKAGE(Sourcehighlight)
FIND_PACKAGE(Asciidoc)
IF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
ADD_SUBDIRECTORY( en )
ADD_SUBDIRECTORY( fr )
ADD_SUBDIRECTORY( pl )
ADD_SUBDIRECTORY( de )
ADD_SUBDIRECTORY( ru )
ADD_SUBDIRECTORY( ja )
ADD_SUBDIRECTORY( it )
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
ENDIF(NOT DISABLE_DOC)
ENDIF(ENABLE_DOC)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION share/man/man1)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${SHAREDIR}/man/man1)
+10 -6
View File
@@ -1,21 +1,25 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
SUBDIRS = . en fr
SUBDIRS = . en fr pl de ru ja it
man_MANS = weechat-curses.1
EXTRA_DIST = $(man_MANS) CMakeLists.txt
EXTRA_DIST = $(man_MANS) docgen.pl CMakeLists.txt
+6
View File
@@ -0,0 +1,6 @@
div.sectionbody {
font-family: serif,Georgia,"Times New Roman",Times;
}
h5 {
font-size: 1em;
}
+74
View File
@@ -0,0 +1,74 @@
#
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.de.html"
)
ADD_CUSTOM_TARGET(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
COMMENT "Building weechat_scripting.de.html"
)
ADD_CUSTOM_TARGET(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
COMMENT "Building weechat_faq.de.html"
)
ADD_CUSTOM_TARGET(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
COMMENT "Building weechat_quickstart.de.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
COMMENT "Building weechat_tester.de.html"
)
ADD_CUSTOM_TARGET(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
+66
View File
@@ -0,0 +1,66 @@
#
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_user.de.txt \
weechat_scripting.de.txt \
weechat_faq.de.txt \
weechat_quickstart.de.txt \
weechat_tester.de.txt \
$(wildcard autogen/user/*.txt)
all-local: weechat_user.de.html \
weechat_scripting.de.html \
weechat_faq.de.html \
weechat_quickstart.de.html \
weechat_tester.de.html
# user's guide
weechat_user.de.html: weechat_user.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_user.de.html weechat_user.de.txt
# scripting guide
weechat_scripting.de.html: weechat_scripting.de.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_scripting.de.html weechat_scripting.de.txt
# FAQ
weechat_faq.de.html: weechat_faq.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_faq.de.html weechat_faq.de.txt
# quickstart
weechat_quickstart.de.html: weechat_quickstart.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
# tester's guide
weechat_tester.de.html: weechat_tester.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_tester.de.html weechat_tester.de.txt
# install docs
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# clean
clean-local:
-rm -f *.html
+107
View File
@@ -0,0 +1,107 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Erweiterung | Name | Beschreibung
| alias | alias | Liste der Alias
| alias | alias_value | Wert von Alias
| aspell | aspell_langs | Liste der UnterstĂĽtzten Ăśbersetzungen (lang) fĂĽr aspell
| irc | irc_channel | Aktueller IRC-Channel
| irc | irc_channel_nicks_hosts | Liste der Nicks und Hostnamen des aktuellen Channels
| irc | irc_channel_topic | Topic des aktuellen IRC-Channels
| irc | irc_channels | Channels auf allen IRC Servern
| irc | irc_ignores_numbers | Anzahl fĂĽr festgelegte /ignores
| irc | irc_msg_part | Standardnachricht beim Verlassen (/part) eines IRC-Channels
| irc | irc_notify_nicks | Nicks fĂĽr die eine Benachrichtigung existiert
| irc | irc_privates | Private auf allen IRC Servern
| irc | irc_server | aktueller IRC-Server
| irc | irc_server_channels | Channels des derzeitigen IRC-Server
| irc | irc_server_nick | Nick beim derzeitigen IRC-Server
| irc | irc_server_nicks | Nicks fĂĽr alle Channels auf dem aktuellen IRC-Server
| irc | irc_server_privates | Privat auf aktuellem IRC Server
| irc | irc_servers | IRC-Server (interne Namen)
| irc | nick | Liste der Nicks im aktuellen Channel
| lua | lua_script | Liste der Skripten:
| perl | perl_script | Liste der Skripten:
| python | python_script | Liste der Skripten:
| relay | relay_free_port | Erster freier Port fĂĽr Relay-Erweiterung
| relay | relay_protocol_name | Alle möglichen Protokoll.Namen der Relay-Erweiterung
| relay | relay_relays | Protokoll.Name des aktuellen Relays von der Relay-Erweiterung
| rmodifier | rmodifier | Liste der rmodifier
| ruby | ruby_script | Liste der Skripten:
| tcl | tcl_script | Liste der Skripten:
| weechat | bars_names | Namen der Infobars
| weechat | bars_options | Optionen fĂĽr Infobars
| weechat | buffer_properties_get | Eigenschaften die für den Buffer gelesen werden können
| weechat | buffer_properties_set | Eigenschaften die für den Buffer gesetzt werden können
| weechat | buffers_names | Auflistung der vorhandenen Buffer
| weechat | buffers_numbers | Anzahl der Buffer
| weechat | buffers_plugins_names | Liste der Buffer (inkl. der Erweiterungen)
| weechat | commands | Befehle (WeeChat und Erweiterungen)
| weechat | config_files | Konfigurationsdateien
| weechat | config_option_values | Werte fĂĽr eine Konfigurationsoption
| weechat | config_options | Konfigurationsoptionen
| weechat | filename | Dateinamen
| weechat | filters_names | Liste der Filter
| weechat | infolists | Namem der ge-hook-ten Infolisten
| weechat | infos | Namen der ge-hook-ten Infos
| weechat | keys_codes | Tastaturcodes
| weechat | keys_codes_for_reset | Tastenbelegungen die zurückgesetzt werden können (hinzugefügte/verändert/gelöschte Tastenbelegungen)
| weechat | nicks | Nicks in Nickliste des aktuellen Buffers
| weechat | plugins_commands | Befehle, definiert durch Erweiterungen
| weechat | plugins_names | Liste der Erweiterungen
| weechat | proxies_names | Namen der Proxies
| weechat | proxies_options | Optionen fĂĽr Proxies
| weechat | weechat_commands | WeeChat Befehle
| xfer | nick | Nicks vom DCC Chat
|========================================
+63
View File
@@ -0,0 +1,63 @@
[width="100%",cols="^1,^2,5,5,5",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Pointer | Argumente
| alias | alias | Liste der Alias | Alias Pointer (optional) | Alias Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| irc | irc_channel | Liste der Channels eines IRC-Servers | Channel Pointer (optional) | Server,Channel (Channel ist optional)
| irc | irc_ignore | Liste von ignorierten IRCs | Ignore Pointer (optional) | -
| irc | irc_nick | Liste der Nicks im IRC-Channel | Nick Pointer (optional) | Server,Channel,Nick (Channel und Nick sind optional)
| irc | irc_notify | Liste mit Benachrichtigungen | Benachrichtigungspointer (optional) | Servername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| irc | irc_server | Liste der IRC-Server | Server Pointer (optional) | Servername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| logger | logger_buffer | Liste der protokollierten Buffer | Logger Pointer (optional) | -
| lua | lua_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| perl | perl_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| python | python_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| relay | relay | Liste der Relay-Clients | Relay Pointer (optional) | -
| rmodifier | rmodifier | Liste der rmodifier | rmodifier Pointer (optional) | rmodifier Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| ruby | ruby_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| tcl | tcl_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar | Auflistung der Bars | Bar Pointer (optional) | Bar Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar_item | Liste der Bar-Items | Bar Item Pointer (optional) | Bar-Item Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar_window | Liste der Bar-Fenster | Bar-Fenster Pointer (optional) | -
| weechat | buffer | Liste der Buffer | Buffer Pointer (optional) | Name des Buffers (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | buffer_lines | Zeilen des Buffers | Buffer Pointer | -
| weechat | filter | Liste der Filter | - | Name des Filters (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | history | Verlaufspeicher der Befehle | Buffer Pointer (falls nicht gesetzt, wird der globale Verlauf zurĂĽckgegeben) (optional) | -
| weechat | hook | Auflistung der Hooks | - | hook Type: command, timer, .. (optional)
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
| weechat | key | Auflistung der Tastenzuweisungen | - | -
| weechat | nicklist | Nicks in Nickliste fĂĽr einen Buffer | Buffer Pointer | nick_xxx oder group_xxx um nur den Nick/Group xxx abzufragen (optional)
| weechat | option | Liste der Optionen | - | Name einer Option (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | plugin | Auflistung der Erweiterungen | Pointer der Erweiterung (optional) | Name einer Erweiterung (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | window | Auflistung der Windows | Fenster Pointer (optional) | Fenstername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| xfer | xfer | Transfer-Liste | Transfer-Pointer (optional) | -
|========================================
+55
View File
@@ -0,0 +1,55 @@
[width="100%",cols="^1,^2,6,6",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Argumente
| fifo | fifo_filename | Name der FIFO-Pipe | -
| irc | irc_buffer | hole Buffer Pointer fĂĽr einen IRC Server/Channel/Nick | server,channel,nick (Channel und Nicks sind optional)
| irc | irc_is_channel | 1, falls die Zeichenkette ein gĂĽltiger IRC-Channel ist | Channelname
| irc | irc_is_nick | 1, falls die Zeichenkette ein gĂĽltiger IRC Nickname ist | Nickname
| irc | irc_nick | Aktuellen Nicknamen fĂĽr den Server erhalten | Servername
| irc | irc_nick_color | Hole Farbe-Code des Nick | Nickname
| irc | irc_nick_color_name | Hole Namen der Farbe des Nick | Nickname
| irc | irc_nick_from_host | Nicknamen des IRC-Hosts erhalten | IRC host (in der Form `:nick!name@server.com`)
| irc | irc_server_isupport | 1 falls der Server die Funktion unterstĂĽtzen sollte (durch IRC Message 005) | Server,Funktion
| irc | irc_server_isupport_value | Wert der Funktion, sofern es vom Server unterstĂĽtzt wird (durch IRC Message 005) | Server,Funktion
| python | python2_bin | Pfad zum Python 2.x Interpreter | -
| weechat | charset_internal | Interner WeeChat Zeichensatz | -
| weechat | charset_terminal | Terminal Zeichensatz | -
| weechat | date | Datum der WeeChat Kompilierung | -
| weechat | dir_separator | Verzeichnis-Trennzeichen | -
| weechat | filters_enabled | 1, falls Filter aktiviert sind | -
| weechat | inactivity | Inaktivität der Tastatur (Sekunden) | -
| weechat | version | WeeChat Version | -
| weechat | version_number | WeeChat Version (als Nummer) | -
| weechat | weechat_dir | WeeChat Verzeichnis | -
| weechat | weechat_libdir | WeeChat "lib" Verzeichnis | -
| weechat | weechat_localedir | "lokales" Verzeichnis von WeeChat | -
| weechat | weechat_sharedir | WeeChat "share" Verzeichnis | -
| weechat | weechat_site | WeeChat Seite | -
| weechat | weechat_site_download | Download-Seite von WeeChat | -
|========================================
@@ -0,0 +1,7 @@
[width="100%",cols="^1,^2,6,6,6",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
| irc | irc_parse_message | Parse eine IRC Nachricht | "message": IRC Nachricht | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (beinhaltet Channel)
|========================================
+34
View File
@@ -0,0 +1,34 @@
&bull; *`/alias`* `[[-completion completion] alias_name [command [arguments]]]`::
........................................
Einem Befehl wird ein Alias zugewiesen
completion: optionale Vervollständigung für einen Alias-Befehl (Standardverhalten: Vervollständigung wird auf den Zielbefehl angewendet)
alias_name: Name des Alias (kann mit Joker "*" beginnen oder enden fĂĽr Alias-Listing)
command: Name des zuzuordnenden Befehls (WeeChat- oder IRC-Befehl ohne fĂĽhrenden '/', mehrere Befehle mĂĽssen durch Semikolon getrennt werden)
arguments: Argumente fĂĽr Befehl
Ohne Angabe von Argumenten werden alle definierten Alias angezeigt.
Anmerkung: im Befehl können Variablen gesetzt werden, die dann durch den entsprechenden Wert ersetzt werden:
$n: Argument 'n' (zwischen 1 und 9)
$-m: Argumente von 1 bis 'm'
$n-: Argumente von 'n' bis zum letzten Argument
$n-m: Argumente von 'n' bis 'm'
$*: alle Argumente
$~: letztes Argument
$nick: aktueller Nick
$channel: aktueller Channel
$server: aktueller Server
Um ein Alias zu löschen, nutze "/unalias".
Beispiele:
Alias "/split" wird anlegt um damit ein Fenster horizontal zu teilen:
/alias split /window splith
Alias "/hallo" wird angelegt um in allen Channels, auĂźer im #weechat Channel, den Text "Hallo" auszugeben:
/alias hallo /allchan -exclude=#weechat msg * Hallo
Alias "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+13
View File
@@ -0,0 +1,13 @@
&bull; *`/aspell`* `dictlist | enable lang | disable | addword [lang] word`::
........................................
Konfiguration fĂĽr aspell-Erweiterung
dictlist: listet installierte Wörterbücher auf
enable: aktiviert aspell in aktuellem Buffer [lang = Wörterbuch)
disable: deaktiviert aspell in aktuellem Buffer
addword: fügt ein Wort in das persönliche Wörterbuch von aspell hinzu
Eingaben die mit '/' beginnen werden nicht ĂĽberprĂĽft, auĂźer bei einigen Befehle.
........................................
+30
View File
@@ -0,0 +1,30 @@
* *aspell.check.commands*
** Beschreibung: `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"`)
* *aspell.check.default_dict*
** Beschreibung: `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, für die nicht explizit ein Wörterbuch angegeben wurde.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *aspell.check.during_search*
** Beschreibung: `Überprüfe Wörter während im Buffer nach einem Text gesucht wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *aspell.check.real_time*
** Beschreibung: `Echtzeit Korrektur während der Texteingabe (da dies langsamer ist, ist diese Funktion standardmäßig deaktiviert. Wörter werden erst überprüft wenn ein Leerzeichen dem Wort folgt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *aspell.check.word_min_length*
** Beschreibung: `Minimallä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`)
* *aspell.look.color*
** Beschreibung: `In dieser Farbe wird ein Wort mit einem Rechtschreibfehler hervorgehoben`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/charset`* `[[dekodiere | kodieren] Zeichensatz] | [Reset]`::
........................................
ändere Zeichensatz für aktuellen Buffer
decode: ändere Zeichensatz zum dekodieren
encode: ändere Zeichensatz zum kodieren
charset: wähle neuen Zeichensatz für aktuellen Buffer
reset: setze im aktuellen Buffer den Zeichensatz zurĂĽck
........................................
+10
View File
@@ -0,0 +1,10 @@
* *charset.default.decode*
** Beschreibung: `globaler Zeichensatz zum dekodieren`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"iso-8859-1"`)
* *charset.default.encode*
** Beschreibung: `globaler Zeichensatz zum kodieren`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+42
View File
@@ -0,0 +1,42 @@
&bull; *`/demo_buffer`* `Name`::
........................................
Ă–ffne einen neuen Buffer
........................................
&bull; *`/demo_buffer_set`* `Eigenschaft eines Wertes`::
........................................
Bestimme eine Eigenschaft des Buffers
........................................
&bull; *`/demo_info`* `[Info [Argumente]]`::
........................................
Hole eine Info und zeige sie an
Info: Information die dargestellt werden soll
Argumente: optionale Argumente fĂĽr Info
Wird der Befehl ohne Argumente aufgerufen werden alle verfĂĽgbaren Informationen angezeigt
........................................
&bull; *`/demo_infolist`* `[Infolist [Argumente]]`::
........................................
Hole eine Infolist und zeige sie an
Infolist: Infoliste die dargestellt werden soll
Argumente: optionale Argumente fĂĽr Infoliste
Wird der Befehl ohne Argumente aufgerufen werden alle verfĂĽgbaren Informationen der Infoliste angezeigt
........................................
&bull; *`/demo_printf`* `[Text]`::
........................................
Gibt ein paar Nachrichten im aktuellen Buffer aus
Text: schreibe diesen Text
........................................
+719
View File
@@ -0,0 +1,719 @@
&bull; *`/admin`* `[Ziel]`::
........................................
Information ĂĽber den Server-Administrator abfragen
Ziel: Server
........................................
&bull; *`/allchan`* `[-current] [-exclude=channel[,channel...]] command [arguments]`::
........................................
FĂĽhrt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind
-current: fĂĽhrt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird
-exclude: dient zum Ausschluss ausgewählter Channels ('*' wird zu Beginn oder am Ende des Channel-Namens akzeptiert, um mehrere Channels auszuschließen)
command: Befehl der ausgefĂĽhrt werden soll
arguments: Argumente des Befehls
Beispiele:
FĂĽhre den Befehl '/me Ich teste gerade etwas...' fĂĽr alle Channels aus:
/allchan me Ich teste gerade etwas...
Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel:
/allchan -exclude=#weechat msg * Hallo Welt
Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
/allchan -exclude=#weechat,#linux* msg * Hallo Welt
........................................
&bull; *`/allserv`* `[-exclude=server[,server...]] command [arguments]`::
........................................
FĂĽhrt einen Befehl aus, der zu allen verbundenen Server gesendet wird
-exclude: dient zum Ausschluss ausgewählter Server ('*' wird zu Beginn oder am Ende des Server-Namens akzeptiert, um mehrere Server auszuschließen)
command: Befehl der ausgefĂĽhrt werden soll
arguments: Argumente des Befehls
Beispiele:
Ändere den Nick auf allen Servern:
/allserv nick newnick
Setzt den Status, auf allen Servern,auf abwesend:
/allserv away I'm away
........................................
&bull; *`/ban`* `[Channel] [Nickname [Nickname ...]]`::
........................................
Nicknamen oder Hosts sperren/verbannen
Channel: Channel fĂĽr die Sperre
Nickname: zu sperrender User oder Host
........................................
&bull; *`/connect`* `[servername [servername ...] | hostname[/port] [-option[=value]] [-nooption] | -all | -open] [-nojoin] [-switch]`::
........................................
Mit IRC-Server(n) verbinden
servername: internal server name to connect (server must have been created by /server add)
hostname: hostname (or IP) of a server (this will create a TEMPORARY server)
port: port for server (6667 by default)
option: set option for server (for boolean option, value can be omitted)
nooption: set boolean option to 'off' (for example: -nossl)
-all: connect to all servers defined in configuration
-open: connect to all opened servers that are not currently connected
-nojoin: do not join any channel (even if autojoin is enabled on server)
-switch: switch to next server address
Examples:
/connect freenode
/connect irc.oftc.net/6667
/connect irc6.oftc.net/6667 -ipv6
/connect irc6.oftc.net/6697 -ipv6 -ssl
/connect my.server.org/6697 -ssl -password=test
/connect -switch
........................................
&bull; *`/ctcp`* `target type [arguments]`::
........................................
CTCP-Nachricht verschicken
target: User oder Channel an welchen eine CTCP-Nachricht geschickt werden soll
type: CTCP-Nachricht (z.B. "version", "ping", ..)
arguments: Argumente fĂĽr CTCP
........................................
&bull; *`/cycle`* `[Channel[,Channel]] [Abschiedsnachricht]`::
........................................
Einen Channel verlassen und wieder betreten
Channel: zu verlassender Channel
Abschiedsnachricht: Abschiedsnachricht (die den anderen Usern angezeigt wird)
........................................
&bull; *`/dcc`* `Aktion [Nickname [Datei]]`::
........................................
Starte DCC (Datentransfer oder Chat)
Aktion: 'send' (Datei) oder 'chat'
Nickname: Empfänger einer Datei bzw. eines Chats
Datei: zu versendende (lokal vorliegende) Datei
Beispiel:
Sende eine Chat-Anfrage an den User "toto"
/dcc chat toto
Sende die Datei "/home/foo/bar.txt" an den User "toto"
/dcc send toto /home/foo/bar.txt
........................................
&bull; *`/dehalfop`* `Nickname [Nickname]`::
........................................
Halb-Operator-Privilegien einem oder mehreren Nicknamen aberkennen
........................................
&bull; *`/deop`* `Nickname [Nickname]`::
........................................
Operator-Privilegien einem oder mehreren Nicknamen aberkennen
........................................
&bull; *`/devoice`* `Nickname [Nickname]`::
........................................
Voice-Privilegien einem oder mehreren Nicknamen wegnehmen
........................................
&bull; *`/die`*::
........................................
Server herunterfahren
........................................
&bull; *`/disconnect`* `[-all | Servername [Servername ...]]`::
........................................
Verbindung, zu einem oder mehreren IRC-Server(n), trennen
-all: Trenne von allen Servern
servername: Servername, von dem getrennt werden soll
........................................
&bull; *`/halfop`* `Nickname [Nickname]`::
........................................
Vergebe halbe Operator Privilegien an einen oder mehrere Nicknamen
........................................
&bull; *`/ignore`* `[list] | [add [re:]nick/host [server [channel]]] | [del number|-all]`::
........................................
Ignoriert Nicks/Hosts von Channels oder Servern
list: zeigt an, wer/was ignoriert wird
add: fĂĽgt eine Ignorierung hinzu
del: entfernt eine Ignorierung
number: Nummer der Ignorierung die entfernt werden soll (nutze "list" um die entsprechende Nummer zu finden)
-all: entfernt alle Einträge
nick/host: Nick oder Host der ignoriert werden soll: Syntax ist "re:regex" oder "mask" (Eine Maske ist eine Zeichenkette in der mittels "*" ein- oder mehrere Zeichen ersetzt werden können)
server: interner Name des Server, in dem die Ignorierung statt finden soll
channel: Name des Channel, in dem die Ignorierung statt finden soll
Beispiele:
ignoriert den Nick "toto" global:
/ignore add toto
ignoriert den Host "toto@domain.com" auf dem freenode Server:
/ignore add toto@domain.com freenode
ignoriert den Host "toto*@*.domain.com" im Chat freenode/#weechat:
/ignore add toto*@*.domain.com freenode #weechat
........................................
&bull; *`/info`* `[Ziel]`::
........................................
Information ĂĽber den Server abfragen
Ziel: Servername
........................................
&bull; *`/invite`* `Nickname Channel`::
........................................
Jemanden in einen Channel einladen
Nickname: Chatname des Einzuladenden
Channel: Channel, in den er eingeladen werden soll
........................................
&bull; *`/ison`* `Nickname [Nickname ...]`::
........................................
ĂśberprĂĽfen, ob jemand zur Zeit im IRC ist
Nickname: Nickname
........................................
&bull; *`/join`* `[channel1[,channel2[,channel3]] [key1[,key2]]]`::
........................................
einen Channel betreten
channel: Name des Channels der betreten werden soll
key: Zugriffsschlüssel für einen Channel (Channels die einen Zugriffsschlüssel benötigen müssen zuerst aufgeführt werden)
Examples:
/join #weechat
/join #geschĂĽtzterChannel,#weechat ZugriffsschlĂĽssel
........................................
&bull; *`/kick`* `[channel] nickname [comment]`::
........................................
Einen User aus einem Channel herauskicken
channel: Channel des Benutzers
nickname: Nickname des Benutzers
comment: BegrĂĽndung fĂĽr den Kick
........................................
&bull; *`/kickban`* `[channel] nickname [comment]`::
........................................
Kickt und verbannt jemanden aus einem Channel
channel: Channel, in dem sich der User befindet
nickname: Nickname der ge-kick-t und gebannt werden soll
comment: Kommentar, weshalb der User ge-kick-t wurde
Es ist möglich kick/ban mittels einer Maske durchzuführen. Der Nick wird aus der Maske heraus gefiltert und durch Joker ("*") ersetzt.
Beispiel:
Sperre "*!*@host.com" und kicke dann "toto":
/kickban toto!*@host.com
........................................
&bull; *`/kill`* `Nickname Kommentar`::
........................................
Jemanden vom Server werfen
Nickname: Chatname
Kommentar: BegrĂĽndung
........................................
&bull; *`/links`* `[[Server] Servermaske]`::
........................................
Alle dem antwortenden Server bekannten Servernamen auflisten
Server: dieser Server soll die Anfrage beantworten
Servermaske: die aufzulistenden Server sollen diesem Muster entsprechen
........................................
&bull; *`/list`* `[channel[,channel] [server] [-re regexp]]`::
........................................
Channels mit ihren Topics auflisten
channel: aufzulistender Channel
server: Servername
regexp: regulärer Ausdruck der auf das Ergebnis angewendet werden soll
Beispiele:
listet alle Channels des Servers auf (dies kann bei umfangreichen Netzwerken sehr lange dauern):
/list
listet den Channel #weechat auf:
/list #weechat
listet alle Channels auf die mit "#weechat" beginnen (dies kann bei umfangreichen Netzwerken sehr lange dauern):
/list -re #weechat.*
........................................
&bull; *`/lusers`* `[Maske [Ziel]]`::
........................................
Statistik über die Größe dieses IRC-Netzwerks abfragen
Maske: Nur Server, die diesem Muster entsprechen
Ziel: Server, der die Anfrage weiterleiten soll
........................................
&bull; *`/map`*::
........................................
Zeigt das IRC Netzwerk, in Form einer Baumstruktur, an
........................................
&bull; *`/me`* `Nachricht`::
........................................
Eine CTCP ACTION an den aktuellen Channel senden
Message: zu sendende Nachricht
........................................
&bull; *`/mode`* `{ [Channel] {[+|-]|o|p|s|i|t|n|b|v} [limit] [user] [ban mask] } | { Nickname {[+|-]|i|w|s|o} }`::
........................................
Modus von einem Channel oder User ändern
Channel-Modi:
Channel: zu ändernder Channel (Standardmäßig der erste Channel)
o: vergebe/nehme Operator Privilegien
p: privater Channel
s: geheimer Channel
i: geschlossener Channel (Zutritt nur mit Einladung)
t: nur Operatoren dĂĽrfen das Topic setzen
n: keine Channeln-Nachrichten von auĂźerhalb des Channels
m: moderierter Channel (schreiben nur mit Voice)
l: maximale Anzahl an Usern im Channel festlegen
b: Bannmaske fĂĽr zu sperrende User (in nick!ident@host-Form)
e: lege Ausnahmemaske fest
v: vergebe/nehme Voice (d.h. Schreibrechte bei moderierten Channels)
k: lege ein Passwort fĂĽr den Channel fest
User-Modi:
Nickname: zu ändernder Nickname
i: User als unsichtbar kennzeichnen
s: User empfängt Server-Nachrichten
w: User empfängt WALLOPS
o: User ist Channel-Operator
........................................
&bull; *`/motd`* `[Ziel]`::
........................................
Die "Mitteilung des Tages" abfragen
Ziel: Servername
........................................
&bull; *`/msg`* `[-server server] target[,target] text`::
........................................
Nachricht an Nick/Channel verschicken
server: schicke an diesen Server (interner Servername)
target: Nick oder Channel (darf eine Maske sein, '*' = aktueller Channel)
text: zu sendender Text
........................................
&bull; *`/names`* `[Channel[,Channel]]`::
........................................
Nicknamen in Channels auflisten
Channel: Channelname
........................................
&bull; *`/nick`* `[-all] Nickname`::
........................................
Aktuellen Nicknamen wechseln
-all: Nickname auf allen verbundenen Servern ändern
Nickname: neuer Nickname
........................................
&bull; *`/notice`* `[-server server] target text`::
........................................
Mitteilung (notice) an einen User verschicken
server: an diesen Server senden (interner Name)
target: Nickname oder Channel
text: zu sendender Text
........................................
&bull; *`/notify`* `[add nick [server [-away]]] | [del nick|-all [server]]`::
........................................
FĂĽgt eine Benachrichtigung fĂĽr An- oder Abwesenheit von Nicks auf Servern hinzu
add: fĂĽgt eine Benachrichtigung hinzu
nick: Nickname
server: interner Name des Servers (Standard: aktueller Server)
-away: gibt eine Benachrichtigung aus falls sich die Abwesenheitsnachricht ändert (der Nick wird mittels whois abgefragt)
del: entfernt eine Benachrichtigung
-all: entfernt alle Benachrichtigungen
Ohne Angabe von Argumenten werden alle Benachrichtigungen fĂĽr den aktuellen Server angezeigt (um alle Server abzufragen muss der Befehl im Core Buffer ausgefĂĽhrt werden).
Beispiele:
Benachrichtigung falls sich "toto" am aktuellen Server an- oder abmeldet:
/notify add toto
Benachrichtigung falls sich "toto" am freenode Server an- oder abmeldet:
/notify add toto freenode
Benachrichtigung falls "toto" den Befehl away am freenode Server nutzt:
/notify add toto freenode -away
........................................
&bull; *`/op`* `Nickname [Nickname]`::
........................................
Channel-Operator Status an Nicknamen verleihen
........................................
&bull; *`/oper`* `Benutzerpasswort`::
........................................
Operator Privilegien anfordern
Benutzername/Passwort: wird verwendet um Sonderrechte auf aktuellem IRC-Server zu erhalten
........................................
&bull; *`/part`* `[Channel[,Channel]] [Abschiedsnachricht]`::
........................................
Einen Channel verlassen
Channel: Channelname welcher verlassen werden soll
Abschiedsnachricht: Abschiedsnachricht (wird anderen Usern angezeigt)
........................................
&bull; *`/ping`* `Server1 [Server2]`::
........................................
Server anpingen
Server1: Server der angepingt werden soll
Server2: Ping an diesen Server weiterleiten
........................................
&bull; *`/pong`* `Daemon [Daemon2]`::
........................................
Auf Ping antworten
Daemon: Daemon welcher auf die Ping-Nachricht geantwortet hat
Daemon2: Nachricht an diesen Daemon weiterleiten
........................................
&bull; *`/query`* `[-server server] nickname [text]`::
........................................
Eine private Nachricht an einen Nick schicken
server: an diesen Server senden (interner Name)
nickname: Nickname fĂĽr privaten Chat
text: zu sendender Text
........................................
&bull; *`/quote`* `[-server server] data`::
........................................
Daten direkt an Server senden (siehe RFC 2812)
server: an diesen Server senden (interner Name wird genutzt)
data: unbearbeitete (RAW) Daten die gesendet werden sollen
........................................
&bull; *`/reconnect`* `[servername [servername ...] | -all] [-nojoin] [-switch]`::
........................................
Mit einem oder mehreren Server(n) erneut verbinden
servername: server name to reconnect
-all: reconnect to all servers
-nojoin: do not join any channel (even if autojoin is enabled on server)
-switch: switch to next server address
........................................
&bull; *`/rehash`* `[Option]`::
........................................
Den Server dazu bringen seine Konfigurationsdatei neu zu laden
option: zusätzliche Option, die von manchen Servern berücksichtigt wird.
........................................
&bull; *`/restart`*::
........................................
Den Server dazu bringen sich selbst neu zu starten
........................................
&bull; *`/sajoin`* `nickname channel[,channel]`::
........................................
Zwingt einen User einen oder mehrere Channel zu betreten
nickname: Nickname
channel: Name des Channels
........................................
&bull; *`/samode`* `Channel Modus`::
........................................
Ändert den Modus des Channels ohne das Operator-Privilegien vorliegen
Channel: Name des Channel
Mode: neuer Modus fĂĽr Channel
........................................
&bull; *`/sanick`* `nickname new_nickname`::
........................................
Zwingt einen User den Nick zu ändern
nickname: Nickname
new_nickname: neuer Nickname
........................................
&bull; *`/sapart`* `nickname channel[,channel]`::
........................................
Zwingt einen User den/die Channel(s) zu verlassen
nickname: Nickname
channel: Name des Channels
........................................
&bull; *`/saquit`* `nickname reason`::
........................................
Zwingt einen User den Server zu beenden, mit BegrĂĽndung
nickname: Nickname
reason: Grund der Abmeldung
........................................
&bull; *`/server`* `[list [servername]] | [listfull [servername]] | [add servername hostname[/port] [-temp] [-option[=value]] [-nooption]] | [copy servername newservername] | [rename servername newservername] | [keep servername] | [del servername] | [deloutq] | [jump] | [raw]`::
........................................
Auflisten, HinzufĂĽgen oder Entfernen von IRC-Servern
list: listet Server auf (Standardaufruf)
listfull: listet Server mit detaillierten Informationen ĂĽber jeden einzelnen Server auf
add: erstellt einen neuen Server
servername: Servername, dient der internen Nutzung und zur Darstellung
hostname: Name oder IP-Adresse des Servers. Optional kann noch der Port festgelegt werden (Standard-Port: 6667). Verschiedene Ports können durch Kommata getrennt werden
temp: erstellt temporären Server (wird nicht gespeichert)
option: legt die Optionen für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: stellt die Boolean Option auf "off" (Beispiel: -nossl)
copy: erstellt eine Kopie des Servers
rename: benennt den Server um
keep: behält den Server in der Konfigurationsdatei (ausschließlich für die Nutzung bei temporären Servern)
del: entfernt einen Server
deloutq: löscht bei allen Servern alle ausgehende Nachrichten, die in der Warteschlange stehen (dies betrifft alle Nachrichten die WeeChat gerade sendet)
jump: springt zum Server-Buffer
raw: öffnet Buffer mit Roh-IRC-Daten
Beispiele:
/server listfull
/server add oftc irc.oftc.net/6697 -ssl -autoconnect
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
/server add freenode3 irc.freenode.net -password=mypass
/server copy oftc oftcbis
/server rename oftc newoftc
/server del freenode
/server deloutq
........................................
&bull; *`/service`* `nickname reserved distribution type reserved info`::
........................................
Einen neuen Service eintragen
distribution: Sichtbarkeit des Services
type: für spätere Verwendung reserviert
........................................
&bull; *`/servlist`* `[mask [type]]`::
........................................
Zur Zeit verbundene Services auflisten
mask: nur zutreffende Services auflisten
type: nur Services von diesem Typ auflisten
........................................
&bull; *`/squery`* `service text`::
........................................
Nachricht an einen Service senden
service: Name des Service
text: zu sendender Text
........................................
&bull; *`/squit`* `server comment`::
........................................
Serververbindungen trennen
server: Servername
comment: Trennungsgrund
........................................
&bull; *`/stats`* `[query [server]]`::
........................................
Serverstatistik abfragen
query: c/h/i/k/l/m/o/y/u (siehe RFC1459)
server: Name des Servers
........................................
&bull; *`/summon`* `user [target [channel]]`::
........................................
Nutzer die auf dem IRC-Server arbeiten darum bitten auf den IRC-Server zu kommen
user: Benutzername
target: Servername
channel: Channelname
........................................
&bull; *`/time`* `[Ziel]`::
........................................
Ortszeit des Servers abfragen
Ziel: Zeit des angegebenen Servers abfragen.
........................................
&bull; *`/topic`* `[channel] [topic]`::
........................................
Thema des Channels abfragen/setzen
channel: Channelname
topic: Thema fĂĽr den Channel (oder "-delete" zum entfernen des Themas)
........................................
&bull; *`/trace`* `[Ziel]`::
........................................
Route zum angegebenen Server ermitteln
Ziel: Server
........................................
&bull; *`/unban`* `[channel] nickname [nickname ...]`::
........................................
Bann aufheben (Nicks oder Hosts)
Channel: Channel in dem der Bann aufzuheben ist
Nickname: User fĂĽr den der Bann aufzuheben ist
........................................
&bull; *`/userhost`* `Nickname [Nickname ...]`::
........................................
Zeigt Informationen zu Nicknamen an
Nickname: Nickname
........................................
&bull; *`/users`* `[Ziel]`::
........................................
Auflistung der User die bei dem Server angemeldet sind
Ziel: Server
........................................
&bull; *`/version`* `[server | nickname]`::
........................................
Versionsinformation des Nicknamen oder Servers ermitteln (des aktuellen oder angegebenen Nick/Server)
server: Servername
nickname: Nickname
........................................
&bull; *`/voice`* `Nickname [Nickname]`::
........................................
Voice an Nickname(n) vergeben
........................................
&bull; *`/wallchops`* `[channel] text`::
........................................
Nachricht an Channel-Operator verschicken
channel: Name des Channel
text: Text der versendet werden soll
........................................
&bull; *`/wallops`* `Text`::
........................................
Nachricht an alle User schicken die den 'w'-Mode gesetzt haben
zu sendender Text
........................................
&bull; *`/who`* `[Maske ["o"]]`::
........................................
Erstellung einer Anfrage die eine Anzahl von Informationen zurĂĽck gibt.
Maske: nur Information ĂĽber betreffende Nicknamen abfragen
o: nur Operatoren ausgeben, die dem Filter entsprechen
........................................
&bull; *`/whois`* `[server] nickname[,nickname]`::
........................................
Information ĂĽber User abfragen
server: Servername
nickname: Nickname (oder eine Maske)
........................................
&bull; *`/whowas`* `nickname [,nickname [,nickname ...]] [count [target]]`::
........................................
Informationen eines Nicknamen abfragen welcher nicht mehr existiert
Nickname: Nickname, welcher gesucht werden soll
count: maximale Anzahl an Antworten (negative Zahl für eine vollständige Liste)
target: Antwort soll auf diese Suchmaske zutreffen
........................................
+485
View File
@@ -0,0 +1,485 @@
* *irc.color.input_nick*
** Beschreibung: `Farbe des eigenen Nicknamens in der Eingabezeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightcyan`)
* *irc.color.item_away*
** Beschreibung: `Farbe des Abwesenheit-Textes in der Eingabezeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *irc.color.item_channel_modes*
** Beschreibung: `Farbe der Channel-Modes (neben dem Channelnamen)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *irc.color.item_lag_counting*
** Beschreibung: `Farbe in der der Lag-Indikator dargestellt werden soll wenn auf Antwort gewartet wird ("pong" wurde vom Server nicht empfangen und die Verzögerungszeit wird erhöht)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *irc.color.item_lag_finished*
** Beschreibung: `Farbe in der der Lag-Indikator dargestellt werden soll, falls ein "pong" vom Server empfangen wurde`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *irc.color.message_join*
** Beschreibung: `Textfarbe in der die Meldungen fĂĽr das Betreten eines Channels angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *irc.color.message_quit*
** Beschreibung: `Textfarbe in der die Meldungen fĂĽr das Verlassen/Beenden eines Channels angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `red`)
* *irc.color.nick_prefix*
** Beschreibung: `Farbe für den Nick Präfix (Präfix ist die editierbare Zeichenkette die vor dem Nick steht)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *irc.color.nick_prefix_halfop*
** Beschreibung: `Textfarbe für den Nick-Präfix des halfop in einem Channel`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *irc.color.nick_prefix_op*
** Beschreibung: `Textfarbe für den Nick-Präfix von op/admin/owner in einem Channel`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *irc.color.nick_prefix_user*
** Beschreibung: `Textfarbe für den Nick-Präfix eines Users in einem Channel`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `blue`)
* *irc.color.nick_prefix_voice*
** Beschreibung: `Textfarbe für den Nick-Präfix für einen User mit Voice Rechten in einem Channel`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *irc.color.nick_suffix*
** Beschreibung: `Farbe fĂĽr den Nick Suffix (Suffix ist die editierbare Zeichenkette die nach dem Nick steht)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *irc.color.notice*
** Beschreibung: `Farbe des "Notice"-Textes in Notizen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *irc.color.reason_quit*
** Beschreibung: `Textfarbe in der die BegrĂĽndung einer part/quit Nachricht angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *irc.look.color_nicks_in_server_messages*
** Beschreibung: `Nutze Nick-Farbe bei Nachrichten vom Server`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.color_pv_nick_like_channel*
** Beschreibung: `Nutzt die selbe Farbe fĂĽr die Darstellung des Nicks im Channel als auch Privat`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_away*
** Beschreibung: `Bei Abwesenheit und RĂĽckkehr eine Nachricht anzeigen`
** Typ: integer
** Werte: off, local, channel (Standardwert: `local`)
* *irc.look.display_ctcp_blocked*
** Beschreibung: `CTCP Nachrichten werden angezeigt, obwohl sie unterdrĂĽckt werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_ctcp_reply*
** Beschreibung: `CTCP Antworten, die durch WeeChat versendet wurden, werden angezeigt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_ctcp_unknown*
** Beschreibung: `unbekannte CTCP Nachrichten werden angezeigt.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_host_join*
** Beschreibung: `Zeigt den Host in einer join Nachricht an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_host_join_local*
** Beschreibung: `Zeigt den Host in join Nachrichten des lokalen Client an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_host_quit*
** Beschreibung: `Zeigt den Host in einer part/quit Nachricht an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_old_topic*
** Beschreibung: `Zeige den alten Topic, falls der Channel-Topic geändert wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_pv_away_once*
** Beschreibung: `In einer privaten Unterhaltung nur einmal eine Abwesenheitsnachricht anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_pv_back*
** Beschreibung: `Es wird bei einer privaten Unterhaltung eine Mitteilung ausgegeben falls der User wieder zurĂĽck ist (falls der User sich beim Server abgemeldet hat)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.hide_nickserv_pwd*
** Beschreibung: `Von NickServ angezeigte Passwörter verstecken`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.highlight_tags*
** Beschreibung: `Eine durch Kommata getrennte Liste von Tags die bei einer Nachricht selbige hervorhebt (Highlight). (normalerweise trifft dies auf jede Nachricht eines Users zu, ausgenommen Nachrichten vom Server,..)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg,irc_notice"`)
* *irc.look.item_away_message*
** Beschreibung: `Abwesenheitsnachricht in der Away-Bar-Item anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.item_channel_modes*
** Beschreibung: `Zeige die Channel-Modi mittels "buffer_name" in der Bar-Item an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.item_channel_modes_hide_key*
** Beschreibung: `UnterdrĂĽckt Channel-Key falls die Modi in der Bar-Item mittels "buffer_name" dargestellt werden (diese Option unterdrĂĽckt alle Channel-Modi falls der Modus fĂĽr den Channel auf +k gesetzt wurde)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.look.item_display_server*
** Beschreibung: `Name der Bar-Item in dem der IRC Server angezeigt wird (fĂĽr Status-Bar)`
** Typ: integer
** Werte: buffer_plugin, buffer_name (Standardwert: `buffer_plugin`)
* *irc.look.item_nick_modes*
** Beschreibung: `Zeige Nick-Modi in "input_prompt" Bar-Item`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.item_nick_prefix*
** Beschreibung: `Der Nick-Präfix wird in "input_prompt" Bar-Item angezeigt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.msgbuffer_fallback*
** Beschreibung: `Standardbuffer der fĂĽr Ausgaben genutzt werden soll falls ein privater Buffer nicht gefunden wird.`
** Typ: integer
** Werte: current, server (Standardwert: `current`)
* *irc.look.new_channel_position*
** Beschreibung: `Ein öffentlicher Channel wird auf eine Position gezwungen (none = standardmäßige Position (sollte die letzte Position sein), next = aktueller Buffer + 1, near_server = nach letztem Channel/privaten Buffer des Servers)`
** Typ: integer
** Werte: none, next, near_server (Standardwert: `none`)
* *irc.look.new_pv_position*
** Beschreibung: `Ein privater Buffer wird auf eine Position gezwungen (none = standardmäßige Position (sollte die letzte Position sein), next = aktueller Buffer + 1, near_server = nach letztem Channel/privaten Buffer des Servers)`
** Typ: integer
** Werte: none, next, near_server (Standardwert: `none`)
* *irc.look.nick_color_force*
** Beschreibung: `Erzwingt fĂĽr einen Nick eine spezielle Farbe. Die mittels Streuwertfunktion aus dem Nicknamen generierte Nickfarbe findet fĂĽr diese Nicks keine Anwendung (Format:"Nick1:Farbe1;Nick2:Farbe2")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.look.nick_color_stop_chars*
** Beschreibung: `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).`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"_|["`)
* *irc.look.nick_completion_smart*
** Beschreibung: `Intelligente Vervollständigung von Nicknamen (vervollständigt zuerst den letzten Nick, mit dem gesprochen wurde)`
** Typ: integer
** Werte: off, speakers, speakers_highlights (Standardwert: `speakers`)
* *irc.look.nick_prefix*
** Beschreibung: `Text, der im Chatfenster vor dem Nickname erscheinen soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.look.nick_suffix*
** Beschreibung: `Text, der im Chatfenster nach dem Nickname erscheinen soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.look.notice_as_pv*
** Beschreibung: `Zeigt Notizen als private Nachricht an (wird die "auto" Option verwendet dann wird ein privater Buffer genutzt, falls vorhanden)`
** Typ: integer
** Werte: auto, never, always (Standardwert: `auto`)
* *irc.look.notify_tags_ison*
** Beschreibung: `Durch Kommata getrennte Liste von Tags die in der Nachricht von notify ausgegeben werden sollen falls sich ein Nick beim Server an- oder abmeldet (RĂĽckgabe vom Befehl ison), zum Beispiel: "notify_highlight","notify_message" oder "notify_private"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
* *irc.look.notify_tags_whois*
** Beschreibung: `Durch Kommata getrennte Liste von Tags die in der Nachricht von notify ausgegeben werden sollen falls ein Nick den Befehl away nutzt (RĂĽckgabe vom Befehl whois), zum Beispiel: "notify_highlight", "notify_message" oder "notify_private"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
* *irc.look.part_closes_buffer*
** Beschreibung: `SchlieĂźt den Buffer wenn "/part" im Channel ausgefĂĽhrt wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.look.raw_messages*
** Beschreibung: `Anzahl der IRC-RAW-Nachrichten die im Speicher gehalten werden sollen falls der RAW-Daten-Buffer geschlossen ist (die Nachrichten werden umgehend angezeigt sobald der RAW-Daten-Buffer geöffnet wird)`
** Typ: integer
** Werte: 0 .. 65535 (Standardwert: `256`)
* *irc.look.server_buffer*
** Beschreibung: `Server-Buffer zusammenlegen`
** Typ: integer
** Werte: merge_with_core, merge_without_core, independent (Standardwert: `merge_with_core`)
* *irc.look.smart_filter*
** Beschreibung: `Filtert join/part/quit Nachrichten fĂĽr einen Nick der einige Minuten im Channel inaktiv gewesen ist. Dazu muss ein Filter im tag "irc_smart_filter" erstellt werden.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.smart_filter_delay*
** Beschreibung: `Verzögerung, in Minuten, in denen join/part/quit Nachrichten gefiltert werden`
** Typ: integer
** Werte: 1 .. 10080 (Standardwert: `5`)
* *irc.look.smart_filter_join*
** Beschreibung: `aktiviert einen Filter fĂĽr "join" Nachrichten`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.smart_filter_quit*
** Beschreibung: `aktiviert einen Filter fĂĽr "part" und "quit" Nachrichten`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.topic_strip_colors*
** Beschreibung: `Farben werden im Topic gestrippt (wird nur genutzt wenn der Buffer-Titel angezeigt wird)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.network.autoreconnect_delay_growing*
** Beschreibung: `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, ..)`
** Typ: integer
** Werte: 1 .. 100 (Standardwert: `2`)
* *irc.network.autoreconnect_delay_max*
** Beschreibung: `maximale Verzögerung bei der automatischen wiederverbindung zum Server (in Sekunden, 0 = keine Begrenzung)`
** Typ: integer
** Werte: 0 .. 86400 (Standardwert: `1800`)
* *irc.network.colors_receive*
** Beschreibung: `Falls deaktiviert, werden Farben-Codes von eingehenden Nachrichten ignoriert.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.network.colors_send*
** Beschreibung: `Erlaube Benutzern, spezielle Codes zu versenden (ctrl-c + Code und optional Farbe: b=fett, cxx=Farbe, cxx,yy=Farbe+Hintergrund, u=unterstrichen, r=invertiert)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.network.lag_check*
** Beschreibung: `Intervall zwischen zwei Lag-ĂśberprĂĽfungen (in Sekunden, 0 = keine ĂśberprĂĽfung)`
** Typ: integer
** Werte: 0 .. 604800 (Standardwert: `60`)
* *irc.network.lag_disconnect*
** Beschreibung: `Maximal-Lag bis zum Trennen der Verbindung (in Minuten - 0 = niemals trennen)`
** Typ: integer
** Werte: 0 .. 10080 (Standardwert: `0`)
* *irc.network.lag_min_show*
** Beschreibung: `geringste Verzögerungszeit (Lag) die angezeigt werden soll (in Millisekunden)`
** Typ: integer
** Werte: 0 .. 86400000 (Standardwert: `500`)
* *irc.network.lag_refresh_interval*
** Beschreibung: `Intervall zwischen zwei Aktualisierungen des Lag-Items, wenn die Verzögerungszeit sich erhöht (in Sekunden)`
** Typ: integer
** Werte: 1 .. 3600 (Standardwert: `1`)
* *irc.network.notify_check_ison*
** Beschreibung: `Intervall zwischen zwei notify ĂśberprĂĽfungen mit dem IRC Befehl "ison" (in Minuten)`
** Typ: integer
** Werte: 1 .. 10080 (Standardwert: `1`)
* *irc.network.notify_check_whois*
** Beschreibung: `Intervall zwischen zwei notify ĂśberprĂĽfungen mit dem IRC Befehl "whois" (in Minuten)`
** Typ: integer
** Werte: 1 .. 10080 (Standardwert: `5`)
* *irc.network.send_unknown_commands*
** Beschreibung: `Sende unbekannte Befehle an den Server`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.addresses*
** Beschreibung: `Liste der Hostnamen/Ports oder IP/Ports des Servers (durch Komma getrennt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.anti_flood_prio_high*
** Beschreibung: `Anti-Flood fĂĽr dringliche Inhalte: Zeit in Sekunden zwischen zwei Benutzernachrichten oder Befehlen die zum IRC Server versendet wurden (0 = Anti-Flood deaktivieren)`
** Typ: integer
** Werte: 0 .. 60 (Standardwert: `2`)
* *irc.server_default.anti_flood_prio_low*
** Beschreibung: `Anti-Flood fĂĽr weniger dringliche Inhalte: Zeit in Sekunden zwischen zwei Benutzernachrichten, die zum IRC Server versendet wurden. Beispiel: automatische CTCP Antworten. (0 = Anti-Flood deaktivieren)`
** Typ: integer
** Werte: 0 .. 60 (Standardwert: `2`)
* *irc.server_default.autoconnect*
** Beschreibung: `Beim Programmstart von Weechat automatisch mit dem Server verbinden`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.autojoin*
** Beschreibung: `Durch Kommata getrennte Liste der Channels, die beim Verbinden zum Server betreten werden sollen (Beispiel: "#chan1,#chan2,#chan3 key1,key2")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.autoreconnect*
** Beschreibung: `Nach einer Trennung vom Server die Verbindung automatisch wiederherstellen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.server_default.autoreconnect_delay*
** Beschreibung: `Zeit (in Sekunden) die gewartet werden soll bevor ein neuer Verbindungsaufbau durchgefĂĽhrt werden soll`
** Typ: integer
** Werte: 1 .. 65535 (Standardwert: `10`)
* *irc.server_default.autorejoin*
** Beschreibung: `Channels automatisch betreten, falls man ge-kickt wurde.`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.autorejoin_delay*
** Beschreibung: `Wartezeit, in Sekunden, die verstreichen soll bevor man den Channel automatisch erneut betritt (nachdem man ge-kickt wurde)`
** Typ: integer
** Werte: 0 .. 86400 (Standardwert: `30`)
* *irc.server_default.away_check*
** Beschreibung: `ĂśberprĂĽft die Abwesenheit (/away) der Nutzer, in dem angegebenen Intervall (in Minuten, 0 = nicht ĂĽberprĂĽfen)`
** Typ: integer
** Werte: 0 .. 10080 (Standardwert: `0`)
* *irc.server_default.away_check_max_nicks*
** Beschreibung: `Die Abwesenheit von Nutzern in Channels wird nicht überprüft wenn die Anzahl der Nutzer höher ist, als der angegebene Wert (0 = unbegrenzte Anzahl an Nutzern im Channel)`
** Typ: integer
** Werte: 0 .. 1000000 (Standardwert: `25`)
* *irc.server_default.command*
** Beschreibung: `Enthält Befehle die nach der Verbindung zum Server ausgeführt werden sollen. Mehrere Befehle müssen durch ein ";" getrennt werden. Möchte man ein Semikolon schreiben muss man "\;" verwenden. Die speziellen Variablen $nick, $channel und $server werden dabei durch den jeweiligen Wert ersetzt`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.command_delay*
** Beschreibung: `Wartezeit in Sekunden nach Ausführung des Befehls, um z.B. eine Authentifizierung zu ermöglichen`
** Typ: integer
** Werte: 0 .. 3600 (Standardwert: `0`)
* *irc.server_default.connection_timeout*
** Beschreibung: `Wartezeit (in Sekunden) zwischen einer TCP Verbindung mit dem Server und des Empfanges der message 001. Falls die Wartezeit verstreichen sollte bevor die message 001 empfangen wurde dann wird WeeChat die Verbindung zum Server trennen.`
** Typ: integer
** Werte: 1 .. 3600 (Standardwert: `60`)
* *irc.server_default.default_msg_part*
** Beschreibung: `Standardnachricht beim Verlassen eines Channels ("%v": wird durch die WeeChat-Version ersetzt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"WeeChat %v"`)
* *irc.server_default.default_msg_quit*
** Beschreibung: `Standardnachricht beim Beenden (Verbindung zum Server trennen) ("%v": wird durch die WeeChat-Version ersetzt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"WeeChat %v"`)
* *irc.server_default.ipv6*
** Beschreibung: `Server ĂĽber IPv6 ansprechen`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.local_hostname*
** Beschreibung: `benutzerdefinierter lokaler Hostname bzw. IP-Adresse fĂĽr den entsprechenden Server (optional). Falls kein Eintrag vorhanden sein sollte wird der lokale Hostname verwendet`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.nicks*
** Beschreibung: `Nicknamen, die auf dem IRC-Server benutzt werden sollen (durch Komma getrennt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.notify*
** Beschreibung: `Liste mit Benachrichtigung für Server (diese Option sollte nicht direkt verändert werden. Dazu sollte der Befehl /notify genutzt werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.password*
** Beschreibung: `Passwort fĂĽr den Server`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.proxy*
** Beschreibung: `Proxy, der fĂĽr diesen Server verwendet wird (optional)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.realname*
** Beschreibung: `Realen Namen bei diesem Server nutzen`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.sasl_mechanism*
** Beschreibung: `Vorrichtung zur SASL Authentifizierung`
** Typ: integer
** Werte: plain, dh-blowfish (Standardwert: `plain`)
* *irc.server_default.sasl_password*
** Beschreibung: `Passwort fĂĽr SASL Authentifizierung`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.sasl_timeout*
** Beschreibung: `ZeitĂĽberschreitung (in Sekunden) bis zum Abbruch der SASL Authentifizierung`
** Typ: integer
** Werte: 1 .. 3600 (Standardwert: `15`)
* *irc.server_default.sasl_username*
** Beschreibung: `Username fĂĽr SASL Authentifizierung`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.ssl*
** Beschreibung: `Server ĂĽber SSL ansprechen`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.ssl_cert*
** Beschreibung: `Datei fĂĽr ssl Zertifikat um automatisch den eigenen Nick zu identifizieren ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.ssl_dhkey_size*
** Beschreibung: `Größe des Schlüssels der während des Diffie-Hellman-Schlüsselaustausches genutzt wurde`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `2048`)
* *irc.server_default.ssl_verify*
** Beschreibung: `ĂśberprĂĽfe ob die SSL-Verbindung vertrauenswĂĽrdig ist`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.server_default.username*
** Beschreibung: `Benutzername fĂĽr diesen Server`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+32
View File
@@ -0,0 +1,32 @@
&bull; *`/logger`* `[list | set level | disable]`::
........................................
Konfiguration fĂĽr "logger" Erweiterung (dient zum protokollieren der Buffer)
list: zeigt, für geöffnete Buffer, den Status der Protokollierung an
set: legt den Level fest, nach dem der aktuelle Buffer protokolliert werden soll
level: legt fest, welche Nachrichten protokolliert werden sollen (0 = nichts protokollieren, 1 = nur die wichtigsten Nachrichten protokollieren .. 9 = protokolliere alle Nachrichten)
disable: die Protokollierung wird fĂĽr den aktuellen Buffer ausgeschaltet (der Level wird auf 0 gestellt)
Die Optionen "logger.level.*" und "logger.mask.*" können genutzt werden um den Level der Protokollierung festzulegen und um eine Maske für einen oder mehrere Buffer zu definieren.
Level der Protokollierung, die die IRC Erweiterung unterstĂĽtzt:
1: Nachrichten von Usern, private Nachrichten und Bemerkungen
2: Wechsel von Nicks (/nick)
3: Nachrichten vom Server
4: join/part/quit Nachrichten
9: alle Nachrichten
Beispiele:
Stellt den Level fĂĽr den aktuellen Buffer auf 5 ein:
/logger set 5
Die Protokollierung fĂĽr den aktuellen Buffer wird ausgeschaltet:
/logger disable
Stellt den Level fĂĽr alle IRC-Buffer auf 3 ein:
/set logger.level.irc 3
Die Protokollierung, fĂĽr den WeeChat Haupt-Buffer, wird deaktiviert:
/set logger.level.core.weechat 0
FĂĽr jeden IRC-Server wird ein separates Verzeichnis erstellt und darin eine eigene Protokoll-Datei, fĂĽr jeden Channel:
/set logger.mask.irc "$server/$channel.weechatlog"
........................................
+40
View File
@@ -0,0 +1,40 @@
* *logger.file.auto_log*
** Beschreibung: `Speichert automatisch den Inhalt eines Buffers in eine Datei (sofern das Protokollieren fĂĽr den Buffer nicht deaktiviert sein sollte)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *logger.file.info_lines*
** Beschreibung: `FĂĽgt eine Information in die Protokoll-Datei ein, falls die Protokollierung gestartet oder beendet wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *logger.file.mask*
** Beschreibung: `Standardmaske für Protokolldateien (Format: "Verzeichnis/zu/Datei" oder "Datei", ohne ein führendes "/", da die "Verzeichnis" Option genutzt wird um vollständige Verzeichnisstrukturen zu erstellen); lokale Buffer Variablen und Datumsspezifikationen (siehe: man strftime) sind zulässig`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"$plugin.$name.weechatlog"`)
* *logger.file.name_lower_case*
** Beschreibung: `Benutze ausschlieĂźlich Kleinschreibung fĂĽr Protokoll-Dateien`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *logger.file.path*
** Beschreibung: `Pfad für WeeChat Protokolldateien; "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat"); eine Datumsspezifikation ist zulässig (siehe: man strftime)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%h/logs/"`)
* *logger.file.replacement_char*
** Beschreibung: `Ersatzzeichen fĂĽr Dateinamen, falls der Dateiname Sonderzeichen beinhaltet (z.B. das Trennzeichen bei Verzeichnissen "/")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"_"`)
* *logger.file.time_format*
** Beschreibung: `Zeitstempel in Protokoll-Datei nutzen (bitte dazu die Anleitung zu "strftime" (man strftime) durchlesen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%Y-%m-%d %H:%M:%S"`)
* *logger.look.backlog*
** Beschreibung: `maximale Anzahl der Zeilen die aus der Protokoll-Datei dargestellt werden sollen, wenn ein Buffer geöffnet wird (0 = kein Darstellung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `20`)
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/lua`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/perl`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/python`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+23
View File
@@ -0,0 +1,23 @@
&bull; *`/relay`* `[list | listfull | add protocol.name port | del protocol.name | raw]`::
........................................
Relay-Kontrolle
list: Auflistung der Relay-Clients (nur aktive Relays)
listfull: detaillierte Auflistung der Relay-Clients (alle Relays)
listrelay: Auflistung der Relays (Name und Port)
add: fĂĽge ein Relay, fĂĽr ein Protokoll + Name, hinzu
del: entferne Relay fĂĽr ein Protokoll + Name
protocol.name: Protokoll und Name des Relays
zur Zeit wird ausschlieĂźlich das "irc" Protokoll unterstĂĽtzt
Beispiel: irc.freenode
port: Port den der Relay nutzen soll
raw: öffnet Buffer mit RAW-Relay Daten
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
Beispiel:
IRC Proxy fĂĽr Server "freenode":
/relay add irc.freenode 8000
........................................
+65
View File
@@ -0,0 +1,65 @@
* *relay.color.status_active*
** Beschreibung: `Textfarbe fĂĽr Status: "Verbindung hergestellt"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightblue`)
* *relay.color.status_auth_failed*
** Beschreibung: `Textfarbe fĂĽr Status: "Authentifizierung gescheitert"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *relay.color.status_connecting*
** Beschreibung: `Textfarbe fĂĽr Status: "verbinde"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *relay.color.status_disconnected*
** Beschreibung: `Textfarbe fĂĽr Status: "Verbindung getrennt"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *relay.color.status_waiting_auth*
** Beschreibung: `Textfarbe fĂĽr Status: "warte auf Authentifizierung"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `brown`)
* *relay.color.text*
** Beschreibung: `Textfarbe`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *relay.color.text_bg*
** Beschreibung: `Hintergrundfarbe`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *relay.color.text_selected*
** Beschreibung: `Textfarbe fĂĽr selektierten Client-Linie`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *relay.look.auto_open_buffer*
** Beschreibung: `Ă–ffnet automatisch einen Relay-Buffer, falls eine Verbindung zu einem neuen Client hergestellt wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *relay.look.raw_messages*
** Beschreibung: `Anzahl der IRC-RAW-Nachrichten die im Speicher gehalten werden sollen falls der RAW-Daten-Buffer geschlossen ist (die Nachrichten werden umgehend angezeigt sobald der RAW-Daten-Buffer geöffnet wird)`
** Typ: integer
** Werte: 0 .. 65535 (Standardwert: `256`)
* *relay.network.bind_address*
** Beschreibung: `Adresse für Bind (falls nicht gesetzt ist eine Verbindung zu allen Interfaces möglich. Wird die Adresse "127.0.0.1" genutzt kann nur eine Verbindung mit dem lokalen Rechner hergestellt werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *relay.network.max_clients*
** Beschreibung: `Maximale Anzahl an Clients die mit einem Port verbunden sein dĂĽrfen`
** Typ: integer
** Werte: 1 .. 1024 (Standardwert: `5`)
* *relay.network.password*
** Beschreibung: `Passwort wird von Clients benötigt um Zugriff auf dieses Relay zu erhalten (kein Eintrag bedeutet dass kein Passwort benötigt wird)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -0,0 +1,25 @@
&bull; *`/rmodifier`* `[list] | [listdefault] | [add name modifiers groups regex] | [del name|-all [name...]] | [default -yes]`::
........................................
wandelt Schlüsselwörter mit regulären Ausdrücken (regelt die Sichtbarkeit von Texten in WeeChat)
list: zeigt alle rmodifier an
listdefault: zeigt die Standardeinstellung fĂĽr rmodifier an
add: einen rmodifier hinzufĂĽgen
name: Name des rmodifier
modifiers: durch Kommata getrennte Liste der modifier
groups: Aktion auf Gruppen anwenden: durch Kommata getrennte Liste der Gruppen (von 1 bis 9). Optional kann nach der Nummer fĂĽr die Gruppe ein "*" gesetzt werden um diese Gruppe zu verbergen
regex: regulärer Ausdruck
del: löscht einen rmodifier Eintrag
-all: löscht alle rmodifiers Einträge
default: setzt die rmodifier auf Standardwerte zurĂĽck
Beispiele:
verbirgt die Eingabe nach dem Befehl /passwort:
/rmodifier add passwort input_text_display 1,2* ^(/passwort +)(.*)
lösche rmodifier "passwort":
/rmodifier del passwort
lösche alle rmodifiers:
/rmodifier del -all
........................................
@@ -0,0 +1,5 @@
* *rmodifier.look.hide_char*
** Beschreibung: `Zeichen welches benutzt werden soll um die Eingabe einer Zeichenkette zu verbergen`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/ruby`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/tcl`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+459
View File
@@ -0,0 +1,459 @@
&bull; *`/away`* `[-all] [message]`::
........................................
Abwesenheitsstatus ein-/ausschalten
-all: Abwesenheitszustand auf allen Servern ändern
message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand deaktivieren)
........................................
&bull; *`/bar`* `[add barname type[,cond1,cond2,...] position size separator item1,item2,...] | [default] | [del barname|-all] | [set barname option value] | [hide|show|toggle barname] | [scroll barname buffer scroll_value] | [list] | [listfull] | [listitems]`::
........................................
Infobars verwalten
add: fĂĽge eine neue Infobar hinzu
barname: Name der Infobar (muss einmalig sein)
type: root: auĂźerhalb des Fensters,
window: innerhalb des Fensters, mit optionalen Merkmalen (siehe unten)
cond1,...: Merkmal(e) fĂĽr eine Infobar (nur nutzbar mit der Type-Option "window"):
active: in einem aktiven Fenster
inactive: in einem inaktiven Fenster
nicklist: in Fenstern mit einer Nickliste
werden keine Merkmale angegeben, ist die Infobar immer sichtbar
position: bottom (unten), top (oben), left (links) oder right (rechts)
size: Größe der Infobar (in Zeichen)
separator: 1 um eine Trennlinien zu zeichnen, 0 (oder keine Angabe) es wird keine Trennlinien gezeichnet
item1,...: Items die in der Infobar genutzt werden sollen (Items können durch Kommata oder Leerzeichen getrennt werden ("+" (verbindet Items))
default: erstellt standardisierte Infobars
del: entfernt eine Infobar (alle Infobars können mit der Option "-all" entfernt werden).
set: setzt einen Wert fĂĽr Infobar
option: Optionen die geändert werden (für eine List der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)
value: neuer Wert fĂĽr Option
hide: verbirgt eine Infobar
show: zeigt eine verborgene Infobar an
toggle: zeigt/versteckt eine Infobar
scroll: scrollt Infobar hoch/runter
buffer: Name des Buffer der gescrollt werden soll ('*' fĂĽr aktuellen Buffer, man sollte '*' fĂĽr root-Infobars nutzen)
scroll_value: Werte für Scroll-Funktion: 'x' oder 'y', gefolgt von '+', '-', 'b' (Beginn) oder 'e' (Ende), Wert (für +/-), und Optional %% (zum Scrollen für %% der Breite/Höhe, ansonsten wird der Wert als Anzahl der Zeichen interpretiert um die gescrollt werden soll)
list: listet alle Infobars auf
listfull: listet alle Infobars detailliert auf (Standardaufruf)
listitems: listet alle Items auf, die in den Infobars genutzt werden
Beispiele:
erstellt eine Infobar mit den Items: time, buffer number + name, und Vervollständigung:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
versteckt die Infobar (meinebar):
/bar hide meinebar
scrollt die Nickliste im aktuellen Buffer um 10 Zeilen nach unten:
/bar scroll nicklist * y+10
scrollt die Nickliste im Buffer #weechat eine ganze Seite nach oben:
/bar scroll nicklist #weechat y-100%
scrollt zum Ende der Nicklist im aktuellen Buffer:
/bar scroll nicklist * ye
........................................
&bull; *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | get property | number | name]`::
........................................
Buffer verwalten
clear: leert den Bufferinhalt. Entweder durch Angabe der Buffer-Nummer, -merged für zusammengefügte Buffer, -all für alle Buffer. Ohne Angabe eines Arguments wird der aktuelle Buffer gelöscht
move: Buffer in der Liste verschieben (kann auch relativ sein, z.B. -1)
merge: fĂĽgt den aktuellen Buffer mit einem anderen Buffer zusammen (bei einem Chat-Buffer entsteht ein Mix aus beiden Buffern
(Bei der Standardtastenbelegung kann mittels "CTRL-x" zwischen zusammengefĂĽgten Buffern umgeschaltet werden)
unmerge: trennt Buffer wieder voneinander, falls zwei Buffer die selbe Nummer teilen
close: Buffer schlieĂźen (Nummer oder Bereich ist optional)
list: alle geöffneten Buffer werden aufgelistet (Standardvorgabe)
notify: setzt Benachrichtigung-Status für aktuellen Buffer. Folgende Möglichkeiten bestimmen den Grad der Benachrichtigung:
none: keine Benachrichtigung
highlight: Benachrichtigung bei hervorgehobenen Nachrichten (Highlights)
message: Benachrichtigung bei Nachrichten von Usern + Highlights
all: Benachrichtigung bei allen Nachrichten
reset: auf Standardwert zurĂĽck setzen (all)
localvar: zeigt die lokalen Variablen fĂĽr den aktuellen Buffer an
set: setzt eine Eigenschaft fĂĽr aktuellen Buffer
get: zeigt eine Eigenschaft fĂĽr den aktuellen Buffer an
number: Sprung von einem Buffer zu einem anderen, mögliche Optionen:
'+': relativer Sprung um 'n'-Buffer
'-': relativer Sprung, um 'n'-Buffer
'*': springt zum Buffer mit der Nummer 'n', nutzt die interne Option "weechat.look.jump_current_to_previous_buffer"
name: springt zum Buffer mit dem Namen 'xyz'
Beispiele:
leert den aktuellen Buffer:
/buffer clear
verschiebt Buffer auf Position 5:
/buffer move 5
verbindet Buffer mit dem Core-Buffer:
/buffer merge 1
trennt Buffer voneinander:
/buffer unmerge
schlieĂźt aktuellen Buffer:
/buffer close
schlieĂźt Buffer 5 bis 7:
/buffer close 5-7
wechselt zum Buffer: #weechat:
/buffer #weechat
wechselt zum nächsten Buffer:
/buffer +1
........................................
&bull; *`/command`* `Erweiterungs-Befehl`::
........................................
fĂĽhre explizit einen WeeChat Befehl oder eine Erweiterung aus
Erweiterung: Name der Erweiterung ('weechat' fĂĽr interne WeeChat Befehle)
Befehl: auszufĂĽhrender Befehl (es wird automatisch ein '/' vorangestellt, falls dieser nicht angegeben wurde)
........................................
&bull; *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term]`::
........................................
Debug-Kontrolle fĂĽr Hauptprogramm und/oder Erweiterung
set: setzt den Level der Protokollierung fĂĽr eine Erweiterung
plugin: Name der Erweiterung ("core" fĂĽr den WeeChat Kern)
level: Debuglevel der Erweiterung (0 = deaktiviert das Debug)
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
windows: zeigt die Fensterstruktur an
term: gibt Informationen ĂĽber das Terminal und verfĂĽgbare Farben aus.
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
........................................
Filterfunktion um Nachrichten in Buffern zu verbergen oder anzuzeigen, dazu können Tags oder regulären Ausdrücken verwendet werden
list: alle Filter auflisten
enable: Filter aktivieren (Filter werden standardmässig aktiviert)
disable: Filter deaktivieren
toggle: Filter de-/aktivieren
name: Name des Filters
add: Filter hinzufĂĽgen
del: Filter entfernen
-all: entfernt alle Filter
plugin.buffer: Erweiterungen und Buffer in denen die Filterfunktion aktiviert ist ("*" fĂĽr alle Buffer)
tags: durch Kommata getrennte Liste mit Tags. Zum Beispiel: "irc_join,irc_part,irc_quit"
regex: regulärer Ausdruck um in einer Zeile zu suchen
- das Präfix 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)
Hinweis: Es werden zwei reguläre Ausdrücke erstellt. Der erste für den Präfix und der zweite für die Nachricht
Die Tastenvoreinstellung alt+'=' schaltet die Filterfunktion an/aus.
Die am häufigsten gebrauchten Tags lauten:
no_filter, no_highlight, no_log, log0..log9 (log Level),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx ist durch den Nicknamen zu ersetzen),
irc_xxx (xxx ist durch einen IRC Befehl oder die IRC Nummer zu ersetzen, siehe /server raw)
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Beispiele:
aktiviert einen einfachen IRC Filter fĂĽr join/part/quit Nachrichten:
/filter add irc_smart * irc_smart_filter *
filtert alle IRC join/part/quit Nachrichten:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names:" angezeigt werden:
/filter add nicks * irc_366 *
filtert Nick "toto" im IRC Channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
nur der Nick "tutu" wird im IRC Channel #test angezeigt:
/filter add tutu irc.freenode.#test * !tutu\t
filtert Zeilen die das Wort "spam" enthalten:
/filter add filterspam * * spam
filtert Zeilen die "weechat sucks" im IRC Channel #weechat enthalten:
/filter add sucks irc.freenode.#weechat * weechat sucks
........................................
&bull; *`/help`* `[command | option]`::
........................................
Zeigt eine Hilfe fĂĽr Befehle und Optionen an
command: Name des Befehls
option: Name der Option (verwende /set um eine Liste der Optionen anzuzeigen)
........................................
&bull; *`/history`* `[clear | value]`::
........................................
Zeigt den Befehlsverlauf des Buffers
clear: löscht den Befehlsverlauf
value: Anzahl der gewünschten Einträgen im Befehlsverlauf anzeigen
........................................
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | undo | redo | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | switch_active_buffer | switch_active_buffer_previous | insert [args]`::
........................................
Funktionen fĂĽr die Befehlszeile
Dieser Befehl wird von Tastenbelegungen oder Erweiterungen verwendet
........................................
&bull; *`/key`* `[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] | [reset key] | [resetall -yes] | [missing]`::
........................................
Einer Taste einen Befehl zuordnen oder entfernen
list: zeigt die aktuelle Tastenbelegungen an (Standardaufruf)
listdefault: zeigt die Standardeinstellung der Tastenbelegung an
listdiff: zeigt die Unterschiede zwischen der aktuell genutzten Tastaturbelegung und der Standardbelegung an (hinzugefügte/verändert/gelöschte Tastenbelegungen)
bind: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf eine Taste gelegt wurde
unbind: hebt eine Tastenbelegung auf
reset: die Tastenbelegung wird für die ausgewählte Taste auf die Standardeinstellung zurück gesetzt
resetall: die Tastenbelegung wird auf die Standardeinstellungen zurück gesetzt. Dies löscht ALLE persönlichen Tastenbelegungen (Vorsicht!)
missing: fĂĽgt fehlende Tastenbelegungen hinzu (dazu wird die Standardbelegung genutzt). Dies kann sinnvoll sein wenn man auf eine neue WeeChat Version umgestiegen ist
Falls einer Taste ein Befehl zugeordnet werden soll ist es ratsam dies mittels alt+k (oder Esc und k) zu machen um dann die Taste auszuwählen, die belegt werden soll. Durch diesen Schritt wird der entsprechende Tasten-Code in die Befehlszeile übernommen.
Beispiele:
Mit der Tastenkombination "alt-x" kann die Nicklist-Bar an-und aus geschaltet werden:
/key bind meta-x /bar toggle nicklist
Mit der Tastenkombination "alt-r" wird direkt zum IRC #weechat Buffer gewechselt:
/key bind meta-r /buffer #weechat
Die Tastenkombination "alt-r" wird auf die Standardfunktion zurĂĽckgesetzt:
/key reset meta-r
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
........................................
Layout fĂĽr Buffer und Fenster speichern, anwenden oder zurĂĽcksetzen
save: speichert das aktuelle Layout
apply: das gespeicherte Layout anwenden
reset: das gespeicherte Layout entfernen
buffers: speichert/verwendet nur Buffer (Reihenfolge der Buffer)
windows: speichert/verwendet nur Fenster (Buffer welche im jeweiligen Fenster dargestellt werden)
Wird der Befehl ohne Argumente aufgerufen wird das gespeicherte Layout dargestellt.
........................................
&bull; *`/mute`* `[-current | -buffer name | -all] command`::
........................................
FĂĽhrt einen Befehl ohne Textausgabe aus
-current: Ausgabe im aktuellen Buffer wird unterdrĂĽckt
-buffer: Ausgabe im ausgewählten Buffer wird unterdrückt
name: vollständiger Buffername (Beispiel: "irc.server.freenode", "irc.freenode.#weechat")
-all: Ausgabe wird in ALLEN Buffern unterdrĂĽckt
command: Ein Befehl der ohne Textausgabe ausgeführt werden soll (das Präfix, '/', wird automatisch hinzugefügt, falls es dem Befehl nicht vorangestellt wurde)
Wird kein Buffer ausgewählt (-current, -buffer oder -all), dann wird lediglich die Textausgabe im WeeChat Core Buffer unterdrückt.
Beispiele:
Speichern der Konfiguration:
/mute save
Nachricht in den aktuellen Channel senden:
/mute -current msg * hi!
Nachricht an den #weechat Channel senden:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
........................................
&bull; *`/plugin`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
Erweiterungen verwalten (auflisten/installieren/deinstallieren)
list: installierte Erweiterungen werden aufgelistet
listfull: detaillierte Auflistung aller installierten Erweiterungen
load: installiert eine Erweiterung
autoload: installiert automatisch alle Erweiterungen aus System- oder Benutzerverzeichnis
reload: installiert eine Erweiterung erneut (falls kein Name angegeben wird, werden alle Erweiterungen entfernt und dann neu installiert)
unload: deinstalliere eine oder alle Erweiterungen
Ohne Angabe eines Argumentes listet /plugin alle geladenen Erweiterungen auf.
........................................
&bull; *`/proxy`* `[add proxyname type address port [username [password]]] | [del proxyname|-all] | [set proxyname option value] | [list]`::
........................................
Proxies verwalten
add: fĂĽgt neuen Proxy hinzu
proxyname: Name des neuen Proxy (der Name darf nur einmal genutzt werden)
type: http, socks4 oder socks5
address: IP oder Hostname
port: Port
username: Username (optional)
password: Passwort (optional)
del: entfernt einen Proxy (-all um alle Proxies zu entfernen)
set: setzt einen Wert fĂĽr Proxy
option: Optionen die geändert werden (für eine Liste der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.proxy.<proxyname>.*)
value: neuer Wert fĂĽr Option
list: listet alle Proxies auf
Beispiele:
erstellt einen HTTP-Proxy, der auf einem lokalen Host läuft und den Port 8888 nutzt:
/proxy add local http 127.0.0.1 8888
erstellt einen HTTP-Proxy der das IPv6 Protokoll nutzt:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
erstellt einen socks5-Proxy, mit Username und Passwort:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
entferne einen Proxy:
/proxy del myproxy
........................................
&bull; *`/quit`* `[-yes] [arguments]`::
........................................
WeeChat beenden
-yes: Option muĂź genutzt werden falls weechat.look.confirm_quit aktiviert sein sollte
arguments: Text der beim Signal "quit" verschickt wird
(zum Beispiel sendet die IRC Erweiterung diesen Text als Quit-Nachricht an den Server)
........................................
&bull; *`/reload`* `[Datei [Datei...]]`::
........................................
Konfiguration neu laden
Datei: Konfigurationsdatei die erneut geladen werden soll
wird keine Datei angegeben, werden alle Konfigurationen (WeeChat und Erweiterungen) neu geladen.
........................................
&bull; *`/save`* `[Datei [Datei...]]`::
........................................
Konfiguration abspeichern
Datei: Konfigurationsdatei die gesichert werden soll
sollte keine Datei angegeben werden, dann werden alle Konfigurationen (WeeChat und Erweiterungen) gesichert.
........................................
&bull; *`/set`* `[Option [Wert]]`::
........................................
Konfigurationsparameter setzen
option: Name der zu ändernden Option
value: neuer Wert, den die Option erhalten soll
Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben:
boolean: on, off oder toggle
integer: Anzahl, ++Anzahl oder --Anzahl
string : jede Zeichenkette ("" fĂĽr eine leere Zeichenkette)
color : Name einer Farbe, ++Anzahl oder --Anzahl
Für alle Typen von Variablen kann die Zeichenkette "null" (ohne "") genutzt werden um den Wert der Option zu löschen (undefinierter Wert). Dies kann nur bei einigen Erweiterungen genutzt werden.
........................................
&bull; *`/unset`* `[Option]`::
........................................
Konfigurationsparameter freigeben/zurĂĽcksetzen
Option: Name einer Option (darf mit Joker ("*") beginnen oder enden um viele Optionen zu resetten. Nutzen Sie diese Funktion mit viel Sorgfalt!)
Gemäß der jeweiligen Option wird diese resettet (bei Standard-Optionen) oder komplett entfernt (bei optionalen Einstellungen, wie zum Beispiel bei der Server-Einstellung).
........................................
&bull; *`/upgrade`* `[Pfad_zur_Binärdatei]`::
........................................
Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen
Pfad_zur_Binärdatei: Pfad zu einer ausführbaren WeeChat Version (Standardeinstellung ist die aktuell ausführbare Datei)
Dieser Befehl startet eine weitere WeeChat-Binärdatei. Aus diesem Grund muss diese kompiliert oder mit einem Paketmanager installiert sein bevor der Befehl ausgeführt wird.
Der Upgrade Vorgang besteht aus vier Schritten:
1. Speicherung der Session in Dateien fĂĽr Core und Erweiterungen (buffers, history, ..)
2. alle Erweiterungen werden ausgeschaltet (Konfigurationen *.conf werden gesichert)
3. Speicherung der WeeChat Konfiguration (weechat.conf)
4. ausfĂĽhren einer neuen WeeChat Session.
........................................
&bull; *`/uptime`* `[-o | -ol]`::
........................................
Zeigt die Uptime von Weechat an
-o: sendet die WeeChat Laufzeit in den aktuellen Buffer (englisch)
-ol: sendet die WeeChat Laufzeit in den aktuellen Buffer (in der voreingestellten Landessprache)
........................................
&bull; *`/version`* `[-o | -ol]`::
........................................
Zeigt die WeeChat-Version und das Datum der Kompilierung an
-o: sendet die WeeChat Version in den aktuellen Buffer (englisch)
-ol: sendet die WeeChat Version in den aktuellen Buffer (in der Voreingestellten Landessprache)
........................................
&bull; *`/wait`* `Zeit[Einheit] Befehl`::
........................................
Terminiere einen Befehl der ausgefĂĽhrt werden soll
Zeit: die Zeit, die gewartet werden soll (dies muss eine natĂĽrlich Zahl sein)
Einheit: mögliche Werte (optional):
ms: Millisekunden
s: Sekunden (Vorgabewert)
m: Minuten
h: Stunden
Befehl: Befehl der ausgefĂĽhrt werden soll (ohne das fĂĽhrende '/') oder ein Text der in dem Buffer ausgegeben werden soll
Hinweis: Der Befehl der zeit verzögert gestartet werden soll wird in dem Buffer ausgeführt in dem der Befehl /wait gestartet wurde. Falls dieser Buffer nicht gefunden werden sollte, z.B. weil er in der Zwischenzeit geschlossen wurde, wird der Befehl im WeeChat Haupt-Buffer gestartet.
Beispiele:
Betritt einen Channel in 10 Sekunden:
/wait 10 /join #test
Setzt eine Abwesenheit in 15 Minuten:
/wait 15m /away -all Bin dann mal eben weg
Schickt den Text 'Hallo' nach zwei Minuten ab:
/wait 2m Hallo
........................................
&bull; *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
........................................
Fenster verwalten
list: listet die geöffneten Fenster (ohne Angabe von Parametern wird diese Funktion aufgerufen)
-1: springt zum vorherigen Fenster
+1: springt zum nächsten Fenster
b#: springt zum nächsten Fenster, welches die Buffer Nummer # besitzt
up: wechselt zum Fenster ĂĽber dem aktuellen
down: wechselt zum Fenster unter dem aktuellen
left: wechselt zum linken Fenster
right: wechselt zum rechten Fenster
splith: teilt das aktuelle Fenster horizontal
splitv: teilt das aktuelle Fenster vertikal
resize: verändert die Größe des aktuellen Fensters. Die neue Größe des Fensters ist prozentual <pct> zum Stammfensters groß
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
page_up: Scrollt eine Seite nach oben
page_down: Scrollt eine Seite nach unten
refresh: Seite wird neu aufgebaut
scroll: Scrollt eine Anzahl an Zeilen (+/-N) oder zu einer gewissen Zeit: s=Sekunden, m=Minuten, h=Stunden, d=Tage, M=Monate, y=Jahre
scroll_up: Scrollt ein paar Zeilen nach oben
scroll_down: Scrollt ein paar Zeilen nach unten
scroll_top: Scrollt zum Anfang des Buffers
scroll_bottom: Scrollt zum Ende des Buffers
scroll_previous_highlight: Scrollt zum vorherigen Hightlight
scroll_next_highlight: Scrollt zum nächsten Highlight
zoom: vergrößert auf Fenster
Bei splith und splitv gibt "pct" die neue Größe des Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde der Wert 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters hat.
Beispiele:
Springt zum Fenster mit dem Buffer #1:
/window b1
Scrollt zwei Zeilen hoch:
/window scroll -2
Scrollt zwei Tage hoch: /window scroll -2d
/window scroll -2d
Scrollt zum Beginn des aktuellen Tages:
/window scroll -d
........................................
+645
View File
@@ -0,0 +1,645 @@
* *weechat.color.bar_more*
** Beschreibung: `Farbe des '+' beim verschieben der InfoBars`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *weechat.color.chat*
** Beschreibung: `Farbe vom Chat-Text`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.chat_bg*
** Beschreibung: `Hintergrundfarbe des Chats`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.chat_buffer*
** Beschreibung: `Textfarbe fĂĽr den Namen des Buffers`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.chat_channel*
** Beschreibung: `Farbe der Channel-Namens`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.chat_delimiters*
** Beschreibung: `Farbe der Infobar-Trennzeichen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *weechat.color.chat_highlight*
** Beschreibung: `Textfarbe für Highlight-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.chat_highlight_bg*
** Beschreibung: `Hintergrundfarbe für Highlight-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `magenta`)
* *weechat.color.chat_host*
** Beschreibung: `Textfarbe fĂĽr Host-Namen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `cyan`)
* *weechat.color.chat_nick*
** Beschreibung: `Farbe fĂĽr Nicks im Chat-Fenster`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightcyan`)
* *weechat.color.chat_nick_color01*
** Beschreibung: `Textfarbe #1 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `cyan`)
* *weechat.color.chat_nick_color02*
** Beschreibung: `Textfarbe #2 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `magenta`)
* *weechat.color.chat_nick_color03*
** Beschreibung: `Textfarbe #3 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *weechat.color.chat_nick_color04*
** Beschreibung: `Textfarbe #4 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `brown`)
* *weechat.color.chat_nick_color05*
** Beschreibung: `Textfarbe #5 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightblue`)
* *weechat.color.chat_nick_color06*
** Beschreibung: `Textfarbe #6 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.chat_nick_color07*
** Beschreibung: `Textfarbe #7 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightcyan`)
* *weechat.color.chat_nick_color08*
** Beschreibung: `Textfarbe #8 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *weechat.color.chat_nick_color09*
** Beschreibung: `Textfarbe #9 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *weechat.color.chat_nick_color10*
** Beschreibung: `Textfarbe #10 fĂĽr Nick`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `blue`)
* *weechat.color.chat_nick_other*
** Beschreibung: `Farbe des anderen Nicknamens in einem privaten Buffer`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `cyan`)
* *weechat.color.chat_nick_self*
** Beschreibung: `Textfarbe fĂĽr den eigenen Nicknamen, im lokalen Chat-Fenster.`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.chat_prefix_action*
** Beschreibung: `Textfarbe für Aktions-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.chat_prefix_buffer*
** Beschreibung: `Textfarbe des Buffer-Namens (vor dem Präfix, wenn mehrere Buffer mit der selben Zahl zusammengefügt worden sind)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `brown`)
* *weechat.color.chat_prefix_error*
** Beschreibung: `Textfarbe für Fehler-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.chat_prefix_join*
** Beschreibung: `Textfarbe für Join-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *weechat.color.chat_prefix_more*
** Beschreibung: `Farbe des '+' falls Präfix zu lang sein sollte`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *weechat.color.chat_prefix_network*
** Beschreibung: `Textfarbe für Netzwerk-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `magenta`)
* *weechat.color.chat_prefix_quit*
** Beschreibung: `Textfarbe für Quit-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *weechat.color.chat_prefix_suffix*
** Beschreibung: `Textfarbe fĂĽr den Suffix (senkrechter Strich)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *weechat.color.chat_read_marker*
** Beschreibung: `Farbe in der das Lesezeichen angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `magenta`)
* *weechat.color.chat_read_marker_bg*
** Beschreibung: `Hintergrundfarbe in der das Lesezeichen angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.chat_server*
** Beschreibung: `Textfarbe fĂĽr den Namen des Servers`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `brown`)
* *weechat.color.chat_text_found*
** Beschreibung: `Farbe zur Hervorhebung des gesuchten Textes in einer Zeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.chat_text_found_bg*
** Beschreibung: `Hintergrundfarbe zur Hervorhebung des gesuchten Textes in einer Zeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *weechat.color.chat_time*
** Beschreibung: `Textfarbe der Zeit im Chatfenster`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.chat_time_delimiters*
** Beschreibung: `Farbe des Zeit-Trennzeichen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `brown`)
* *weechat.color.chat_value*
** Beschreibung: `Farbe fĂĽr Werte`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `cyan`)
* *weechat.color.input_actions*
** Beschreibung: `Textfarbe in der Eingabezeile bei Aktivität`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *weechat.color.input_text_not_found*
** Beschreibung: `Textfarbe in der Eingabezeile bei einer erfolglosen Textsuche `
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `red`)
* *weechat.color.nicklist_away*
** Beschreibung: `Textfarbe von abwesenden Nicknamen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `cyan`)
* *weechat.color.nicklist_group*
** Beschreibung: `Textfarbe fĂĽr Gruppen in Nickliste`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *weechat.color.nicklist_offline*
** Beschreibung: `Textfarbe von Nicknamen die Offline sind`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `blue`)
* *weechat.color.separator*
** Beschreibung: `Hintergrundfarbe der Fenster-Separatoren im Chatfenster (bei geteiltem Bildschirm)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `blue`)
* *weechat.color.status_data_highlight*
** Beschreibung: `Farbe eines Buffers mit Highlight-Nachricht (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *weechat.color.status_data_msg*
** Beschreibung: `Farbe eines Buffers der neue Nachrichten enthält (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.status_data_other*
** Beschreibung: `Farbe eines Buffers mit neuen Daten (nicht Nachrichten in der Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.status_data_private*
** Beschreibung: `Farbe eines Bufffers mit privater Nachricht (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *weechat.color.status_filter*
** Beschreibung: `Farbe des Filterkennzeichens in der Statuszeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *weechat.color.status_more*
** Beschreibung: `Farbe eines Buffers mit neuen Daten (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.status_name*
** Beschreibung: `Farbe des aktuellen Buffer-Namens in der Statuszeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.status_name_ssl*
** Beschreibung: `Farbe in der der aktuelle Buffer-Name in der Statuszeile angezeigt werden soll falls die Verbindung durch ein Protokoll z.B. SSL geschĂĽtzt ist`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *weechat.color.status_number*
** Beschreibung: `Farbe des aktuellen Channels in der Statuszeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.status_time*
** Beschreibung: `Textfarbe fĂĽr die Uhrzeit (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.completion.default_template*
** Beschreibung: `Standardvorlage für die automatische Vervollständigung (in der Dokumentation finden Sie die vorgegebenen Codes und Werte)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%(nicks)|%(irc_channels)"`)
* *weechat.completion.nick_add_space*
** Beschreibung: `Füge ein Leerzeichen hinter die Nick-Vervollständigung ein (sofern der Nickname nicht das erste Wort in einer Kommandozeile darstellt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.completion.nick_completer*
** Beschreibung: `Nach Nick-Vervollständigung anzufügende Zeichenfolge`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `":"`)
* *weechat.completion.nick_first_only*
** Beschreibung: `Nur mit dem ersten, passendem Nick-Namen vervollständigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.completion.nick_ignore_chars*
** Beschreibung: `Zeichen, die bei der Vervollständigung von Nicks ignoriert werden`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"[]-^"`)
* *weechat.completion.partial_completion_alert*
** Beschreibung: `Informiert User wenn eine teilweise Vervollständigung auftritt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.completion.partial_completion_command*
** Beschreibung: `teilweise Vervollständigung von Befehlen (stoppt falls zu viele Befehle mit dem selben Buchstaben beginnen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.completion.partial_completion_command_arg*
** Beschreibung: `teilweise Vervollständigung von Befehls-Argumenten (stoppt falls zu viele Befehle mit dem selben Präfix beginnen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.completion.partial_completion_count*
** Beschreibung: `Zeige einen Zähler für jede teilweise, automatische Vervollständigung in der Bar-Item an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.completion.partial_completion_other*
** Beschreibung: `teilweise Vervollständigung von externen Befehlen (stoppt falls zu viele Befehle mit dem selben Buchstaben beginnen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.history.display_default*
** Beschreibung: `Wert fĂĽr die maximale Anzahl der angezeigten Befehle im Verlaufsspeicher, die mittels /history angezeigt werden (0: unbegrenzt)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `5`)
* *weechat.history.max_commands*
** Beschreibung: `maximale Anzahl an Befehlen im Verlauf (0: kein Begrenzung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `100`)
* *weechat.history.max_lines*
** Beschreibung: `maximale Anzahl an Zeilen im Verlaufsspeicher. Dies gilt pro Buffer (0: keine Zeilenbegrenzung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `4096`)
* *weechat.history.max_visited_buffers*
** Beschreibung: `maximale Anzahl an besuchten Buffern, die im Speicher gehalten werden sollen`
** Typ: integer
** Werte: 0 .. 1000 (Standardwert: `50`)
* *weechat.look.align_end_of_lines*
** Beschreibung: `Einstellung bei einem Zeilenumbruch (betrifft alle Zeilen, außer der ersten Zeile). Die Darstellung der nachfolgenden Zeile beginnt unter: (Zeit = time, Buffer = buffer, Präfix = prefix, Suffix = suffix, Nachricht = message (Standardwert))`
** Typ: integer
** Werte: time, buffer, prefix, suffix, message (Standardwert: `message`)
* *weechat.look.buffer_notify_default*
** Beschreibung: `Standardeinstellung der Benachrichtigungsstufe fĂĽr Buffer (dies wird genutzt um WeeChat mitzuteilen ob der Buffer in der Hotlist angezeigt werden soll oder nicht, entsprechend der Wichtigkeit der Nachricht): all=alle Nachrichten (Standard), message=Nachrichten+Highlights, highlights=nur Highlights, none=Hotlist wird niemals angezeigt.`
** Typ: integer
** Werte: none, highlight, message, all (Standardwert: `all`)
* *weechat.look.buffer_time_format*
** Beschreibung: `Format für die Zeitanzeige welche in jeder Zeile eines Buffers dargestellt wird (siehe man strftime für Datum/Zeit Platzhalter). Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen, zum Beispiel eine französische Uhr: "${lightblue}%H${white}%M${lightred}%S"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M:%S"`)
* *weechat.look.color_nicks_number*
** Beschreibung: `Anzahl der Farben die fĂĽr die Nicknamen genutzt werden sollen`
** Typ: integer
** Werte: 1 .. 10 (Standardwert: `10`)
* *weechat.look.color_real_white*
** Beschreibung: `Falls diese Option aktiviert ist, wird echtes weiĂź als Farbe genutzt. In der Standardeinstellung ist diese Option allerdings deaktiviert damit es zu keinen Problemen mit Terminals kommt die einen weiĂźen Hintergrund nutzen (falls man keinen weiĂźen Hintergrund nutzen sollte dann ist es ratsam diese Option zu aktivieren, andernfalls wird die voreingestellte Vordergrundfarbe des Terminals genutzt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.command_chars*
** Beschreibung: `Bestimmt ein- oder mehrere Zeichen mit denen man ebenfalls einen Befehl ausführen kann. Zum Beispiel mittels ".$". Der Schrägstrich (slash: "/") ist ein reserviertes Zeichen und kann immer genutzt werden.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.look.confirm_quit*
** Beschreibung: `Falls diese Option aktiviert ist muss der "/quit" Befehl mit der Option "-yes" ausgefĂĽhrt werden (siehe /help quit)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.day_change*
** Beschreibung: `Wenn ein neuer Tag beginnt wird eine entsprechende Nachricht angezeigt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.day_change_time_format*
** Beschreibung: `Format fĂĽr die Uhrzeit und das Datum, dass beim Datumswechsel angezeigt werden soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y"`)
* *weechat.look.highlight*
** Beschreibung: `Durch Kommata getrennte Liste der hervorzuhebenden Wörter (Groß-/Kleinschreibung wird nicht beachtet, die Wörter können mit "*" als Joker beginnen oder enden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.look.highlight_regex*
** Beschreibung: `Suchmuster (regulärer Ausdrück) dass genutzt werden soll um zu überprüfen ob eine Nachricht ein Highlight enthält oder nicht. Mindestens eine Zeichenkette muss dabei auf das Suchmuster passen (alphanumerisch, "-", "_" oder "|"), das Suchmuster unterscheidet zwischen Groß-und Kleinschreibung. Beispiel: "FlashCode|flashy"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.look.hline_char*
** Beschreibung: `Das angegebene Zeichen wird genutzt um damit die horizontalen Linien zu zeichnen. Hinweis: Ein leerer Wert bewirkt das ncurses eine durchgezogene Linie zeichnet. Dies kann aber bei einigen Terminals, in URL Sektionen, zu Fehlern fĂĽhren.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-"`)
* *weechat.look.hotlist_names_count*
** Beschreibung: `Maximale Anzahl an Namen in der Hotlist (0 = keine Namen, nur die Anzahl der Buffer)`
** Typ: integer
** Werte: 0 .. 32 (Standardwert: `3`)
* *weechat.look.hotlist_names_length*
** Beschreibung: `maximale Länge der Namen in der Hotlist (0: kein Limit)`
** Typ: integer
** Werte: 0 .. 32 (Standardwert: `0`)
* *weechat.look.hotlist_names_level*
** Beschreibung: `Level fĂĽr Namensanzeige in der Hotlist (Kombination aus: 1=join/part, 2=Nachricht, 4=Query, 8=Highlight, z.B. 12=Query+Highlight)`
** Typ: integer
** Werte: 1 .. 15 (Standardwert: `12`)
* *weechat.look.hotlist_names_merged_buffers*
** Beschreibung: `Falls diese Option aktiviert ist, werden die Namen der zusammengefĂĽgten Buffer auf jeden Fall dargestellt`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.hotlist_short_names*
** Beschreibung: `Falls diese Option aktiviert ist, wird der Kurzname der zusammengefĂĽgten Buffer in der Hotlist dargestellt (die Darstellung geschieht nach dem ersten '.' im Namen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.hotlist_sort*
** Beschreibung: `Sortierung der Hotlist (group_time_asc (Standardwert), group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc)`
** Typ: integer
** Werte: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (Standardwert: `group_time_asc`)
* *weechat.look.hotlist_unique_numbers*
** Beschreibung: `Es wird nur jeweils einmal die Nummer des Buffers in der Hotlist angezeigt (diese Option kommt nur zum Tragen sofern KEINE Buffernamen angezeigt werden)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.input_share*
** Beschreibung: `Mit dieser Option kann man den Inhalt der Eingabezeile in allen Buffern verwenden. Es können dabei nur Befehle (commands), nur Text (text), beides (all) berücksichtigt werden (Der Befehlsverlauf der einzelnen Buffer bleibt hierbei erhalten)`
** Typ: integer
** Werte: none, commands, text, all (Standardwert: `none`)
* *weechat.look.input_share_overwrite*
** Beschreibung: `Falls diese Option aktiviert ist und die Eingabezeile fĂĽr alle Buffer genutzt wird dann wird ggf. der Inhalt im Zielbuffer ĂĽberschrieben`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.input_undo_max*
** Beschreibung: `maximale Anzahl für "Zurücknahme" von Befehlen im Verlauf, pro Buffer (0: Rückgängig machen deaktiviert)`
** Typ: integer
** Werte: 0 .. 65535 (Standardwert: `32`)
* *weechat.look.item_time_format*
** Beschreibung: `Format der Zeit fĂĽr das Bar-Item "time" (siehe man strftime fĂĽr Datum/Zeit Platzhalter)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M"`)
* *weechat.look.jump_current_to_previous_buffer*
** Beschreibung: `Wechselt zum vorher genutzten Buffer falls man mit dem Befehl /buffer *N (N ist die Buffer-Nummer) zum aktuellen Buffer gewechselt hat. Dies dient dazu um zwischen zwei Buffern einfach hin- und her zu springen.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.jump_previous_buffer_when_closing*
** Beschreibung: `Wechselt zum vorher genutzten Buffer falls der aktuelle Buffer geschlossen wird (wenn diese Funktion deaktiviert ist wird zum Buffer gewechselt der die Position -1 einnimmt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.nickmode*
** Beschreibung: `Nickmode ((half)op/voice [@%+]) vor dem Nicknamen anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.nickmode_empty*
** Beschreibung: `Leerzeichen anzeigen wenn Nickmode nicht (half)op/voice (@%+) ist`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.paste_max_lines*
** Beschreibung: `maximale Anzahl der Zeilen die eingefĂĽgt werden dĂĽrfen ohne dass der User gefragt wird (0 = schaltet diese Funktion ab)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `3`)
* *weechat.look.prefix_action*
** Beschreibung: `Präfix für Action-Nachrichten`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `" *"`)
* *weechat.look.prefix_align*
** Beschreibung: `Einstellung für Präfix (keine = none, links = left, rechts = right (Standard))`
** Typ: integer
** Werte: none, left, right (Standardwert: `right`)
* *weechat.look.prefix_align_max*
** Beschreibung: `maximale Größe des Präfix (0 = keine maximale Länge)`
** Typ: integer
** Werte: 0 .. 128 (Standardwert: `0`)
* *weechat.look.prefix_align_min*
** Beschreibung: `minimale Größe des Präfix`
** Typ: integer
** Werte: 0 .. 128 (Standardwert: `0`)
* *weechat.look.prefix_align_more*
** Beschreibung: `Anzeige von '+' falls das Präfix abgeschnitten ist`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.prefix_buffer_align*
** Beschreibung: `Einstellung des Präfix für den Buffer-Namen falls viele Buffer zu einem Buffer zusammengefügt wurden (keine = none, links = left, rechts = right (Standardwert))`
** Typ: integer
** Werte: none, left, right (Standardwert: `right`)
* *weechat.look.prefix_buffer_align_max*
** Beschreibung: `maximale Größe für einen Buffer-Namen falls mehrere Buffer zusammengefügt worden sind (0 = keine Größenbegrenzung)`
** Typ: integer
** Werte: 0 .. 128 (Standardwert: `0`)
* *weechat.look.prefix_buffer_align_more*
** Beschreibung: `Stellt das Symbol '+' dar falls der Buffername gekĂĽrzt wurde (wenn mehrere Buffer zusammengefĂĽgt wurden und diese somit die selbe Nummer besitzen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.prefix_error*
** Beschreibung: `Präfix für Fehlermeldungen`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"=!="`)
* *weechat.look.prefix_join*
** Beschreibung: `Präfix für Join-Nachrichten`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-->"`)
* *weechat.look.prefix_network*
** Beschreibung: `Präfix für Netzwerkmeldungen`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
* *weechat.look.prefix_quit*
** Beschreibung: `Präfix für Quit-Nachrichten`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"<--"`)
* *weechat.look.prefix_suffix*
** Beschreibung: `Nach dem Präfix anzufügende Zeichenfolge`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"|"`)
* *weechat.look.read_marker*
** Beschreibung: `Nutzt eine Linie oder ein Zeichen um die erste ungelesene Nachricht in einem Buffer zu markieren`
** Typ: integer
** Werte: none, line, dotted-line, char (Standardwert: `dotted-line`)
* *weechat.look.read_marker_always_show*
** Beschreibung: `Das Lesezeichen wird immer dargestellt auch wenn noch keine neue Nachricht im Buffer geschrieben wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.save_config_on_exit*
** Beschreibung: `Konfiguration beim Beenden abspeichern`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.save_layout_on_exit*
** Beschreibung: `Beim Beenden wird das Layout gespeichert (Buffer, Fenster oder beides)`
** Typ: integer
** Werte: none, buffers, windows, all (Standardwert: `none`)
* *weechat.look.scroll_amount*
** Beschreibung: `Anzahl der zu scrollenden Zeilen wenn Seitenweise geblättert wird (Bild hoch/runter)`
** Typ: integer
** Werte: 1 .. 2147483647 (Standardwert: `3`)
* *weechat.look.scroll_page_percent*
** Beschreibung: `Angabe in Prozent, die die Seite hoch oder runter gescrollt werden soll (Beispiel: 100 fĂĽr eine ganze Seite, 50 fĂĽr eine halbe Seite)`
** Typ: integer
** Werte: 1 .. 100 (Standardwert: `100`)
* *weechat.look.search_text_not_found_alert*
** Beschreibung: `Informiert den Anwender falls der gesuchte Text nicht in dem Buffer gefunden wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.set_title*
** Beschreibung: `Fenstertitel setzen (oder Terminal-Titel im Curses-GUI) mit Name und Version`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.time_format*
** Beschreibung: `Zeitstempel fĂĽr das Datum. Dieser wird in eine Zeichenkette umgewandelt und in Nachrichten dargestellt.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y %T"`)
* *weechat.network.gnutls_ca_file*
** Beschreibung: `Datei beinhaltet die digitalen Zertifikate ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%h/ssl/CAs.pem"`)
* *weechat.network.gnutls_handshake_timeout*
** Beschreibung: `ZeitĂĽberschreitung (in Sekunden) fĂĽr gnutls handshake`
** Typ: integer
** Werte: 1 .. 2147483647 (Standardwert: `30`)
* *weechat.plugin.autoload*
** Beschreibung: `Eine durch Kommata getrennte Liste der Erweiterungen die beim Programmstart automatisch geladen werden sollen, "*" lädt alle gefundenen Erweiterungen. Beginnt der Name hingegen mit "!" wird die Erweiterung nicht geladen. Suchmuster können mit einem Joker ("*") beginnen oder enden um mehrere Erweiterungen zu laden (Beispiele: "*" oder "*,!lua,!tcl")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
* *weechat.plugin.debug*
** Beschreibung: `aktiviere Debug-Nachrichten für alle Erweiterungen (diese Option ist standardmäßig deaktiviert und das ist auch gut so)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.plugin.extension*
** Beschreibung: `Standard Dateinamenserweiterung (Beispiel: ".so" unter Linux oder ".dll" unter Microsoft Windows)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `".so"`)
* *weechat.plugin.path*
** Beschreibung: `Suchpfad fĂĽr Erweiterungen ("%h"' wird durch das WeeChat-Basisverzeichnis ersetzt, voreingestellt ist "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%h/plugins"`)
* *weechat.plugin.save_config_on_unload*
** Beschreibung: `Speichere Konfiguration falls Erweiterungen deinstalliert werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.startup.command_after_plugins*
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht, nachdem die Erweiterungen geladen worden sind (mehrere Befehle sind durch ";" zu trennen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.startup.command_before_plugins*
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht, bevor die Erweiterungen geladen werden (mehrere Befehle sind durch ";" zu trennen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.startup.display_logo*
** Beschreibung: `WeeChat-Logo beim Start anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.startup.display_version*
** Beschreibung: `WeeChat-Version beim Start anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
+19
View File
@@ -0,0 +1,19 @@
&bull; *`/me`* `Nachricht`::
........................................
Sendet CTCP Aktion an entfernten Host
Message: zu sendende Nachricht
........................................
&bull; *`/xfer`* `[list | listfull]`::
........................................
Transfer-Steuerung
list: zeigt Liste der Ăśbertragungen
listfull: zeigt eine ausfĂĽhrliche Liste der Ăśbertragungen
Ohne Angabe von Argumenten wird ein Buffer, mit Übertragungsliste, geöffnet.
........................................
+125
View File
@@ -0,0 +1,125 @@
* *xfer.color.status_aborted*
** Beschreibung: `Textfarbe fĂĽr Status: "abgebrochen"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *xfer.color.status_active*
** Beschreibung: `Textfarbe fĂĽr Status: "aktiv"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightblue`)
* *xfer.color.status_connecting*
** Beschreibung: `Textfarbe fĂĽr Status: "verbinde"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *xfer.color.status_done*
** Beschreibung: `Textfarbe fĂĽr Status: "fertig"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *xfer.color.status_failed*
** Beschreibung: `Textfarbe fĂĽr Status: "fehlgeschlagen"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *xfer.color.status_waiting*
** Beschreibung: `Textfarbe fĂĽr Status: "wartend"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightcyan`)
* *xfer.color.text*
** Beschreibung: `Textfarbe`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *xfer.color.text_bg*
** Beschreibung: `Hintergrundfarbe`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *xfer.color.text_selected*
** Beschreibung: `Farbe der selektierten Transfer-Zeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *xfer.file.auto_accept_chats*
** Beschreibung: `Die Annahme einer Chat-Anfrage wird automatisch akzeptiert (Vorsicht!)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *xfer.file.auto_accept_files*
** Beschreibung: `Die Annahme von Daten wird automatisch akzeptiert (Vorsicht!)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *xfer.file.auto_rename*
** Beschreibung: `Eingehende Dateien werden automatisch umbenannt um ein Ăśberschreiben zu vermeiden (dabei wird dem Dateinamen '.1', '.2', ... hinzugefĂĽgt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.file.auto_resume*
** Beschreibung: `Abgebrochene Ăśbertragungen automatisch fortsetzen, falls die Verbindung getrennt wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.file.convert_spaces*
** Beschreibung: `Ein Leerzeichen wird in einen Unterstrich gewandelt wenn Daten versendet werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.file.download_path*
** Beschreibung: `Pfad in welchem die ankommenden Dateien gespeichert werden ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%h/xfer"`)
* *xfer.file.upload_path*
** Beschreibung: `Pfad in welchem sich die Quelldatei befindet (falls vom Anwender kein Pfad angegeben wurde) ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"~"`)
* *xfer.file.use_nick_in_filename*
** Beschreibung: `Nutzt den Nick des Versenders als Präfix für Dateinamen, wenn Daten empfangen werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.look.auto_open_buffer*
** Beschreibung: `öffnet automatisch den Übertragungs-Buffer falls eine neue Übertragung hinzugefügt wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.look.progress_bar_size*
** Beschreibung: `Größe des Fortschrittsbalkens, in Zeichen (0, falls Fortschrittsbalken deaktiviert sein soll)`
** Typ: integer
** Werte: 0 .. 256 (Standardwert: `20`)
* *xfer.network.blocksize*
** Beschreibung: `Blockgröße für versendete Pakete (in Bytes)`
** Typ: integer
** Werte: 1024 .. 102400 (Standardwert: `65536`)
* *xfer.network.fast_send*
** Beschreibung: `Wartet beim Versenden von Dateien nicht auf das Bestätigungssignal (ACK)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.network.own_ip*
** Beschreibung: `IP- oder DNS-Adresse fĂĽr ausgehenden Datentransfer/Chat (falls kein Wert angegeben ist, wird die IP des lokalen Interfaces benutzt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *xfer.network.port_range*
** Beschreibung: `Schränkt den ausgehenden Datenversand bzw. Chats auf die ausschließliche Nutzung von Ports in einem vorgegebenen Bereich ein (hilfreich bei NAT) (Syntax: ein einzelner Port, z.B. 5000 oder ein Port-Bereich, z.B. 5000-5015. Es wird empfohlen Ports zu nutzen welche Größer als 1024 sind. Denn nur der User "root" kann auf den Port-Bereich <1024 zugreifen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *xfer.network.speed_limit*
** Beschreibung: `Begrenzung der Ăśbertragungsgeschwindigkeit beim Versenden, in Kilo-Bytes pro Sekunde (0 = keine Begrenzung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `0`)
* *xfer.network.timeout*
** Beschreibung: `ZeitĂĽberschreitung bei Transfer-Anfrage (in Sekunden)`
** Typ: integer
** Werte: 5 .. 2147483647 (Standardwert: `300`)
+564
View File
@@ -0,0 +1,564 @@
WeeChat FAQ (häufig gestellte Fragen)
=====================================
Sébastien Helleu <flashcode@flashtux.org>
[[general]]
Allgemein
---------
[[why_choose_weechat]]
Weshalb WeeChat? - X-Chat und Irssi sind auch sehr gut...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Weil WeeChat schlank ist und neue Funktionen besitzt.
Einige Funktionen (Version > = 0.3.x):
* UnterstĂĽtzung verschiedener Protokolle durch Erweiterungen (IRC, Jabber)
* mehrere Remote GUIs als Ergänzung zu Curses (in Kürze)
* in mehreren Sprachen verfĂĽgbar
* den eigenen BedĂĽrfnissen durch Erweiterungen anpassbar (C, Perl, Python, Ruby, Lua, Tcl)
* Buffer mit unabhängigem Inhalt
* Filterung der Anzeige mittels Tags und regulären Ausdrücken
* horizontale und vertikale Einteilung der Fenster
* anpassbare und erweiterbare Leisten
* Nickliste in allen GUI's verfĂĽgbar
* inkrementelle Textsuche in Buffern, zu Highlights springen
* FIFO Pipe fĂĽr Fernsteuerung
* UnterstĂĽtzung von Aspell
* Doppelter Zeichensatz (Kodierung/Dekodierung)
* Neuentwicklung (basiert auf keinem anderem Programm)
* lauffähig auf einer Vielzahl von Plattformen
* 100% GPL und Frei
Weitere Informationen gibt es auf der folgenden Internetseite:
http://www.weechat.org/features
[[compilation_install]]
Kompilierung / Installation
---------------------------
[[gui]]
Ich habe gehört es gibt mehrere GUIs für WeeChat. Wie kann ich diese kompilieren bzw. nutzen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Zur Zeit ist nur eine GUI fĂĽr Curses verfĂĽgbar.
Andere GUIs (zur Zeit in der Entwicklung) werden als Remote Clients verfĂĽgbar
sein.
[[compile_git]]
Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es wird empfohlen zum kompilieren von WeeChat, cmake 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 (WeeChat wird mit autoconf 2.61 und automake 1.10.1 entwickelt).
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren. Dies
besitzt weniger Abhängigkeiten. Das Paket wird quasi täglich aus dem git Repository erstellt.
Beachte, dass dieses Paket nicht immer exakt mit dem git Repository ĂĽbereinstimmen muss
und daher auch weniger brauchbar sein kann, im Gegensatz zu der Methode dass man selbst
das Repository klont und daraus Updates installiert.
[[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
aufgefĂĽhrt.
(Tipp: Mit den Tasten <Bild-hoch>/<Bild-runter> kannst Du die Anzeige blättern)
Neue Benutzer sollten unbedingt die 'quickstart'-Anleitung lesen (siehe
Dokumentation auf der Internetseite).
[[display]]
Anzeige
-------
[[charset]]
Teilweise fehlen den Zeichen die Akzente. Wie kann ich das korrigieren?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dies ist ein bekanntes Problem. Bitte lese deshalb die nachfolgende Erklärung
sorgfältig durch und überprüfe *alle* aufgezeigten Lösungsmöglichkeiten.
FĂĽr Versionen < 0.2.3: Bitte auf die neueste stabile Version von WeeChat wechseln.
FĂĽr Versionen > = 0.2.3:
* überprüfe, ob weechat-curses mit libncursesw verlinkt ist (Warnung: nötig bei den
meisten Distributionen - jedoch nicht bei allen): `ldd /path/to/weechat-curses`
* prĂĽfe mit dem Befehl `/plugin`, ob die "Charset" Erweiterung geladen ist (falls
dies nicht der Fall sein sollte benötigst Du wahrscheinlich noch das Paket "weechat-plugins")
* ĂĽberprĂĽfe die Ausgabe des `/charset` Befehls (im Server-Buffer). Du solltest
'ISO-XXXXXX' oder 'UTF-8' fĂĽr den Terminal Zeichensatz als Antwort erhalten. Falls Du
'ANSI_X3.4-1968' oder einen anderen Wert bekommen solltest, ist Deine Einstellung der
locale möglicherweise falsch.
* Einstellen des globalen decode Wertes, z.B.:
** WeeChat < = 0.2.6: `/setp charset.global.decode = ISO-8859-15`
** WeeChat > = 0.3.x: `/set charset.default.decode "ISO-8859-15"`
* Falls Du UTF-8 locale nutzt:
** prüfe, ob Dein Terminal UTF-8 fähig ist (der empfohlene Terminal für UTF-8
ist rxvt-unicode)
** Solltest Du screen nutzten, prüfe ob dieser im UTF-8 Modus läuft
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum Starten von
screen)
[NOTE]
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.
[[bars_background]]
Bars, z.B. Titel und Status haben keine Hintergrundfarbe bzw. diese endet direkt nach dem Text, warum?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dies kann durch einen falschen Wert in der Variablen TERM Deiner Shell verursacht
werden. Bitte ĂĽberprĂĽfe die Ausgabe von `echo $TERM` in Deinem Terminal.
Abhängig davon von wo WeeChat startet wird, solltest Du folgenden Wert haben:
* falls WeeChat lokal oder auf einem entfernten Rechner läuft, je nach benutztem
Terminal: 'xterm', 'rxvt', ...
* falls WeeChat unter screen läuft, sollte der Wert 'screen' sein.
Falls nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
[[screen_weird_chars]]
Wenn ich Weechat mit screen nutze habe ich merkwĂĽrdige Zeichen, wie kann ich dies beheben?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dies kann durch einen falschen Wert in der TERM-Variable Deiner Shell verursacht
werden. Bitte ĂĽberprĂĽfe die Ausgabe von `echo $TERM` in Deinem Terminal.
Als Beispiel, 'xterm-color' könnte solche merkwürdigen Zeichen produzieren.
Nutzte stattdessen lieber 'xterm'.
Falls nötig korrigiere den Wert Deiner TERM-Variable: `export TERM="xxx"`.
[[osx_display_broken]]
Ich habe WeeChat unter OS X 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 dem Homebrew package manager zu installieren.
[[buffer_vs_window]]
Ich habe von "Buffern" und "Fenstern" gehört - Worin besteht der Unterschied?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ein 'Buffer' besteht aus einer Nummer, besitzt einem Namen, hat Zeilen die angezeigt
werden (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.
[[terminal_copy_paste]]
Wie kann ich einen Text kopieren und einfĂĽgen ohne das die Nickliste mit eingefĂĽgt wird?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
ctrl + alt in Verbindung mit der Auswahl durch die Maus.
Eine weitere Möglichkeit besteht darin die Nickliste nach oben oder unten zu verschieben:
* WeeChat < = 0.2.6: +
`set look_nicklist_position = top`
* WeeChat > = 0.3.x: +
`/bar set nicklist position top`
[[urls]]
Wie kann ich eine URL aufrufen die einen Zeilenumbruch besitzt?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Da WeeChat sowohl die Uhrzeit als auch einen Präfix in jeder Zeile darstellt
und ein Chatfenster durch die zusätzliche Nutzung von Bars verkleinert werden,
ist es möglich, dass überlange URLs abgeschnitten werden und diese dadurch
nicht mehr aufgerufen werden können.
Deshalb sollte man eines der folgenden Skripten nutzen:
urlbar.py::
stellt die URL in einer Bar dar.
urlgrab.py::
protokolliert URLs und öffnet diese im Standardbrowser.
url_shorten.rb::
tinyurl.py::
shortenurl.py::
URLs werden durch einen Internet-Dienst gekĂĽrzt.
Hier findet man eine Auflistung von Skripten die sich mit URLs befassen: http://www.weechat.org/scripts/stable/tag/url
[[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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ja, dazu kannst Du das Python-Skript shell.py verwenden (erhältlich auf der
Internetseite). Nach dem Laden des Skripts fĂĽhre folgende Befehle aus:
----------------------------------------
/shell setenv LANG=de_DE.UTF-8
/upgrade
----------------------------------------
Hierdurch erhält man für das Terminal englische, UTF-8 kodierte Meldungen.
Benutzer von ISO-Kodierungen können folgendes eingeben:
`/shell setenv LANG=en_US`.
[[key_bindings]]
Tastaturbelegung
----------------
[[meta_keys]]
Aus welchem Grund funktionieren manche Meta-Tasten (alt + Taste) nicht?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wenn Du einen Terminal wie xterm oder uxterm nutzten solltest werden einige
Meta-Tasten standardmäßig nicht unterstützt.
In einem solchen Fall sollte folgende Zeile der Konfigurationsdatei '~/.Xresources'
hinzugefĂĽgt werden:
* fĂĽr xterm:
----------------------------------------
XTerm*metaSendsEscape: true
----------------------------------------
* fĂĽr uxterm:
----------------------------------------
UXTerm*metaSendsEscape: true
----------------------------------------
Danach muss resources neu geladen werden (`xrdb -override ~/.Xresources`) oder
man startet X neu.
[[customize_key_bindings]]
Wie kann ich die Tastaturbelegung anpassen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Tasten werden mit dem Befehl `/key` belegt.
Mit der voreingestellten Tastenkombination Meta-k (normal Alt-k) kann man sich den
Code der jeweiligen Taste anzeigen lassen und in die Eingabezeile einfĂĽgen.
[[jump_to_buffer_11_or_higher]]
Mit welcher Tastenkombination kann ich zum Buffer 11 (oder höher) wechseln?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Tastenkombination lautet alt-j gefolgt von den zwei Ziffern des Buffers.
Zum Beispiel, "alt-j 1 1" um zum Buffer 11 zu wechseln.
Es kann auch eine neue Taste eingebunden werden um zu einem Buffer zu wechseln:
----------------------------------------
/key bind meta-q /buffer *11
----------------------------------------
Eine Auflistung der Standardtastenbelegung findet man in der Benutzeranleitung.
[[irc]]
IRC
---
[[ignore_vs_filter]]
Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Der Befehl `/ignore` ist ein IRC-Befehl und beeinflusst somit nur die IRC-Buffer
(Server und Channel).
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).
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.
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.
Die gefilterten Zeilen können zu jeder Zeit dargestellt werden indem man den Filter deaktiviert
(Voreinstellung zum aktivieren/deaktivieren der Filter: Alt-Taste + "=").
[[filter_irc_join_part_quit]]
Wie kann ich join/part/quit Meldungen in den IRC Channels filtern (A.d.ĂĽ.: unterdrĂĽcken)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entsprechend der WeeChat-Version:
* WeeChat < = 0.2.6: +
`/ignore * join #weechat freenode` +
`/ignore * part #weechat freenode` +
`/ignore * quit #weechat freenode` +
(Channel und/oder Server können durch "*" ersetzt werden, Hilfe mit: `/help ignore`)
* WeeChat > = 0.3.x:
** Intelligenter Filter (erhalte join/part/quit der User, mit denen Du kĂĽrzlich gesprochen hast): +
`/set irc.look.smart_filter on` +
`/filter add irc_smart * irc_smart_filter *` +
(Hilfe mit: `/help irc.look.smart_filter` und `/help filter`)
** globaler Filter (unterdrĂĽckt *alle* join/part/quit): +
`/filter add jpk * irc_join,irc_part,irc_quit *` +
(Hilfe mit: `/help filter`)
[[filter_irc_join_channel_messages]]
Wie kann ich Nachrichten filtern wenn ich einen IRC Channel betrete?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Einige Tags die man zum filtern von Nachrichten nutzen kann:
* 'irc_366': Auflistung der Namen die sich im Channel befinden
* 'irc_332,irc_333': Channel Topic/Datum
* 'irc_329': Wann der Channel erstellt wurde
Tags von anderen Nachrichten kann man im IRC Raw-Server finden
(`/server raw`).
Beispiele:
* filtert die Auflistung der Namen die sich im Channel befinden:
----------------------------------------
/filter add irc_join_names * irc_366 *
----------------------------------------
* filtert das Topic (und das Datum) des Channels:
----------------------------------------
/filter add irc_join_topic_date * irc_332,irc_333 *
----------------------------------------
[[filter_voice_messages]]
Wie kann ich voice Nachrichten filtern (z.B. auf Bitlbee Servern)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Voice Nachrichten zu filtern ist nicht einfach da der Voice-Modus mit anderen
Modi in einer IRC Nachricht kombiniert werden kann.
Möchte man Voice-Nachrichten z.B. bei Bitlbee unterdrücken, da diese dazu genutzt
werden um den Abwesenheitsstatus anderer User anzuzeigen (und man nicht von diesen
Mitteilungen überflutet werden möchte), kann man WeeChat anweisen abwesende Nicks
in einer anderen Farbe darzustellen.
Im Channel '&bitlbee':
----------------------------------------
set away_devoice false
----------------------------------------
Um in WeeChat anzeigen zu lassen welche Nicks abwesend sind siehe:
<<color_away_nicks,abwesende Nicks>>.
[[color_away_nicks]]
Wie kann ich Nicks in der Nickliste anzeigen lassen die abwesend sind?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dazu weist man der Option 'irc.server_default.away_check' ein Zeitintervall
zu, in welchen Abständen eine Überprüfung stattfinden soll. Die Angabe des
Wertes erfolgt in Minuten.
Mittels der Option 'irc.server_default.away_check_max_nicks' kann festgelegt
werden in welchen Channels eine ĂśberprĂĽfung stattfinden soll. Hierbei stellt
der angegebene Wert die maximale Anzahl an Nicks in einem Channel dar die den
Channel gleichzeitig besuchen dĂĽrfen.
In folgendem Beispiel wird der Abwesenheitsstatus alle fĂĽnf Minuten ĂĽberprĂĽft.
Dabei werden aber nur solche Channels berĂĽcksichtigt die nicht mehr als 25
Teilnehmer haben:
----------------------------------------
/set irc.server_default.away_check 5
/set irc.server_default.away_check_max_nicks 25
----------------------------------------
[NOTE]
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 darĂĽber informieren lassen falls mich jemand in einem Channel highlighted
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
((A.d.Ăś) Highlight bedeutet, dass der eigene (Nick)Name im Channel genannt wird. Man wird
also direkt, persönlich, angesprochen. Der Nick, der Person die mich anschreibt wird dabei
farblich hervorgehoben)
Die Einstellung geschieht abhängig von der WeeChat Version:
* WeeChat < = 0.2.6: nutze das Skript 'sound.pl' (verfĂĽgbar auf der Skript-Seite),
und nehme Einstellungen fĂĽr einen System-Befehl (um einen Klang abzuspielen,
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
* WeeChat > = 0.3.x: nutze das Skript 'launcher.pl' (verfĂĽgbar auf der Skript-Seite),
und nehme Einstellungen fĂĽr einen System-Befehl (um einen Klang abzuspielen,
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
Es gibt noch andere Skripten, die ĂĽber verschiedene Ereignisse informieren , bitte
besuche dazu die Skripten-Webseite: http://www.weechat.org/scripts/
[[irc_ssl_connection]]
Es treten Probleme bei einer Serververbindung mittels SSL auf. Was kann ich tun?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Falls Fehlermeldungen auftreten sollten die besagen dass der gnutls Handshake
nicht geklappt hat dann sollte ein kleinerer Diffie-Hellman-SchlĂĽssel verwendet
werden (Standardgröße: 2048):
----------------------------------------
/set irc.server.freenode.ssl_dhkey_size 1024
----------------------------------------
Erscheint eine Fehlermeldung dass etwas mit dem Zertifikat nicht stimmen sollte dann
kann eine ĂśberprĂĽfung deaktiviert werden mittels "ssl_verify" (die Verbindung ist in
diesem Fall weniger sicher):
----------------------------------------
/set irc.server.freenode.ssl_verify off
----------------------------------------
[[plugins_scripts]]
Erweiterungen / Skripten
------------------------
[[openbsd_plugins]]
Ich benutze OpenBSD aber WeeChat lädt keine Erweiterungen - weshalb?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unter OpenBSD enden die Dateinamen von Erweiterungen mit ".so.0.0" (".so" bei Linux).
Um dies zu beheben muss folgendes konfiguriert werden:
* WeeChat < = 0.2.6: +
`/set plugins_extension = ".so.0.0"`
* WeeChat > = 0.3.x: +
`/set weechat.plugin.extension ".so.0.0"`
Danach: `/plugin autoload`.
[[load_scripts]]
Wie kann ich Perl/Python/Ruby/Lua/Tcl Skripten laden? Sind Skripten kompatibel zu anderen IRC-Clients?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Skripten fĂĽr WeeChat sind mit anderer IRC-Clients nicht kompatibel und vice versa.
Um Skripten zu laden nutze den Befehl fĂĽr die jeweilige Skriptsprache:
`/perl`, `/python`, `/ruby`, `/lua` und `/tcl`
Anmerkung:
* Voreingestellter Pfad der Skripten: '~/.weechat/<Skriptsprache>/'
* Skripten die sich im Verzeichnis '~/.weechat/<Skriptsprache>/autoload/' befinden werden
beim Start von WeeChat automatisch geladen.
* Eine 'tcl' Erweiterung ist ab Version > = 0.3.0 verfĂĽgbar.
[[settings]]
Einstellungen
-------------
[[memory_usage]]
Wie kann ich WeeChat dazu bringen weniger Speicher zu verbrauchen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Du kannst folgende Tipps umsetzen damit WeeChat weniger Speicher benötigt:
* 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, Fifo,
Logger, Perl, Python, Ruby, Lua, Tcl, Xfer (wird für DCC benötigst)
* lade nur Skripten die Du auch benutzt
* nutze einen kleineren Wert fĂĽr die Option 'weechat.history.max_lines' (Anzahl
der Zeilen die fĂĽr jeden Buffer im Speicher gehalten werden soll)
* nutze einen kleineren Wert fĂĽr die Option 'weechat.history.max_commands' (Anzahl
des Verlaufsspeichers, fĂĽr Befehle, die im Speicher gehalten werden sollen)
[[development]]
Entwicklung
-----------
[[bug_task_patch]]
Was kann ich machen falls ich einen Fehler gefunden habe, nach neuen Funktionen fragen oder Patches einsenden möchte?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es gibt drei Möglichkeiten:
. Du kannst zu uns in den IRC kommen: 'irc.freenode.net', channel '#weechat'
. Du kannst die Internetseite savannah nutzen:
* Einen Fehler melden: https://savannah.nongnu.org/bugs/?group=weechat
* Einen Verbesserungsvorschlag machen: https://savannah.nongnu.org/task/?group=weechat
* Einen Patch einsenden: https://savannah.nongnu.org/patch/?group=weechat
. Du kannst den Entwicklern mailen, entsprechende Mail-Adressen auf der Supportseite:
http://www.weechat.org/about
(Um emails an die "support" Mailing-Liste zu schicken, kannst Du diese abonnieren)
[[supported_os]]
Auf welchen Plattformen läuft WeeChat? Wird es noch auf andere Betriebssystemen portiert?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Eine vollständige Liste der Portierungen findest Du unter: http://www.weechat.org/download
Wir geben unser Bestes um WeeChat auf möglichst viele Plattformen zu portieren.
Aber um WeeChat auf Betriebssystemen zu testen, zu denen wir keinen Zugang haben,
ist Hilfe gerne gesehen.
[[help_developers]]
Ich möchte den Entwicklern von WeeChat helfen. Was kann ich tun?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es gibt einiges zu tun z.B. testen, programmieren, Dokumentation, ...
Bitte kontaktiere uns via IRC oder email, schaue auf die Support-Seite:
http://www.weechat.org/about
[[donate]]
Kann ich Geld oder anderes an die WeeChat Entwickler spenden?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Du kannst uns Geld zur UnterstĂĽtzung der weiteren Entwicklung spenden.
Details hierzu gibt es auf: http://www.weechat.org/donate
+265
View File
@@ -0,0 +1,265 @@
WeeChat Quick Start Guide
=========================
Sébastien Helleu <flashcode@flashtux.org>
[[start]]
Start von WeeChat
-----------------
Die bevorzugte Terminal-Emulation fĂĽr X (aber nicht obligatorisch) ist
rxvt-unicode (es hat eine gute UnterstĂĽtzung fĂĽr UTF-8 und keine Probleme
mit der Standard Tastaturbelegung).
Starte "weechat-curses" aus Deiner shell.
[[help_options]]
Online-Hilfe / Optionen
-----------------------
WeeChat enthält Hilfetexte für alle Befehle. Diese Hilfstexte sind über den Befehl `/help` zu
erreichen. Um eine Hilfe zu einen bestimmten Befehl zu erhalten kann man einfach `/help Befehl`
ausfĂĽhren.
Um Optionen zu setzen benutzt man `/set config.section.option value`.
(dabei ist 'config' der Konfigurationsname ('weechat' fĂĽr den Kern von weechat,
oder ein Plugin-Name), 'section' ein Abschnitt dieser Konfiguration und 'option'
der Name der Option).
WeeChat benutzt den neu eingestellten Wert sofort (WeeChat muss also *niemals* neu gestartet
werden, nach dem die Konfiguration verändert wurde).
Du kannst die Option `/set` mit teilweise ausgeschriebenen Namen und dem
Platzhalter "*" am Beginn oder Ende verwenden um alle Optionen anzuzeigen, die
die Zeichenkette enthalten.
Zum Beispiel:
`/set`::
Anzeige aller Optionen (WeeChat und Plugins)
`/set weechat.*`::
Anzeige der WeeChat Optionen
`/set irc.*`::
Anzeige der Optionen des IRC-Plugins
Du kannst mit `/help` Hilfe fĂĽr Optionen auflisten lassen, z.B.:
`/help weechat.look.highlight`.
Beim Beenden von WeeChat werden alle Einstellungen gespeichert (mittels `/save`
kann das Sichern der Optionen erzwungen werden).
Konfigurationsdateien (*.conf) können auch per Hand editiert und mit dem Befehl
`/reload` neu eingelesen werden (falls man z.B. den `/set` Befehl nicht
verwenden möchte).
[[core_vs_plugins]]
Kern (Core) vs Erweiterungen
----------------------------
Der Kern (core) von WeeChat ist ausschlieĂźlich dazu da Daten auf dem Bildschirm
darzustellen um mit dem Benutzer zu interagieren. Dies bedeutet, WeeChat an sich
-also nur WeeChat core- ohne jegliche Erweiterung ist unbrauchbar.
(an die treuen User: IRC war ein Teil des Kerns bei Versionen <= 0.2.6)
Alle Netzwerkprotokolle, z.B. IRC, werden als separate Erweiterung bereit gestellt.
Benutze den Befehl `/plugin` um alle Erweiterungen aufzulisten, "irc" sowie andere
Erweiterungen sollten aufgelistet werden.
[[create_irc_server]]
Einen IRC-Server erstellen
--------------------------
Du kannst einen IRC-Server mit dem Befehl `/server` hinzufĂĽgen, z.B.:
/server add oftc irc.oftc.net/6667
Wie immer, wenn Du nicht mehr weiter weiĂźt, kannst Du mit `/help server` Hilfe
erlangen.
[[irc_server_options]]
Setzen eigener IRC-Server Optionen
----------------------------------
WeeChat verwendet Vorgabewerte fĂĽr alle Server (so genannte "fall backs") falls
Du keine eigenen Werte fĂĽr entsprechende Server-Optionen bestimmst.
Diese Vorgabeoptionen sind "irc.server_default.*".
FĂĽr jede Server-Option benutzt WeeChat den entsprechend gesetzten Wert - falls
definiert (nicht "null"). Andernfalls verwendet WeeChat Vorgabewerte
("irc.server_default.xxx").
Als Beispiel erwähnt seien die Vorgabe (default) nicks, die auf dem Un*x Login
basieren. Diese können nun für oftc-Server mittels folgendem Befehl
ĂĽberschrieben werden:
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
Um den User-Namen und wirklichen Namen zu setzen:
/set irc.server.oftc.username "Mein User-Name"
/set irc.server.oftc.realname "Mein wirklicher Name"
Aktivieren des automatischen Verbindens mit dem Server beim Start von WeeChat:
/set irc.server.oftc.autoconnect on
Um einen Befehl nach der Verbindung zum Server auszufĂĽhren, z.B. identifizieren
beim nickserv:
/set irc.server.oftc.command "/msg nickserv identify xxxxxx"
Hinweis: Mehrere Befehle können mittels ';' (Semikolon) getrennt werden.
Um ein auto-join (automatisches 'betreten') von Channels (Räumen) nach der
Verbindung zum Server zu erreichen:
/set irc.server.oftc.autojoin "#channel1,#channel2"
Um einen Wert der Server-Optionen zu entfernen und stattdessen wieder den
Vorgabewert (default) zu nutzen, z.B. Nutzung der Vorgabe-Nicks
(irc.server_default.nicks):
/set irc.server.oftc.nicks null
Andere Optionen: Du kannst andere Optionen mit folgendem Befehl setzen ("xxx"
ist der Optionsname):
/set irc.server.oftc.xxx value
[[connect_to_irc_server]]
Verbinden mit dem IRC-Server und auto-join der Channel
------------------------------------------------------
/connect oftc
[NOTE]
Dieser Befehl kann dazu benutzt werden um einen neuen Server zu erstellen und
sich mit ihm zu verbinden ohne den Befehl `/server` zu benutzen (sollte ich
wiederholen, dass Du die Hilfe zu diesem Befehl mit `/help connect` aufrufen
kannst?).
Standardmäßig werden die Server-Buffer und der Buffer des Kerns von WeeChat -der
core-Buffer- zusammengelegt. Um zwischen dem core-Buffer und den Server-Buffern
umzuschalten kannst Du ctrl-X benutzen.
Es ist möglich das automatische Zusammenlegen der Server-Buffer zu deaktivieren
um eigenständige Buffer zu haben:
/set irc.look.server_buffer independent
[[join_part_irc_channels]]
Betreten/verlassen der IRC-Channel
----------------------------------
`/join #channel`::
Einen Channel betreten
`/part [quit message]`::
Einen Channel verlassen (der Buffer bleibt geöffnet)
`/close [quit message]`::
SchlieĂźen eines Server- oder Channel-Buffers (`/close` ist ein Alias fĂĽr `/buffer close`)
[[buffer_window]]
Buffer/Fenster Verwaltung
-------------------------
Ein Buffer ist eine, Erweiterung mit einer Nummer, einer Kategorie und einem
Namen, verbundene Komponente. Ein Buffer beinhaltet die auf dem Bildschirm
dargestellten Daten.
Ein Fenster ist die Ansicht eines Buffers. Standard ist ein Fenster, das einen
Buffer darstellt. Wenn Du den Bildschirm aufteilst wirst Du mehrere Fenster mit
mehreren Buffer gleichzeitig sehen.
Befehle, welche Buffer und Fenster verwalten:
/buffer
/window
(Ich muss jetzt nicht wiederholen dass Du zu diesen Befehlen eine Hilfe mit /help
zu erhalten ist)
Ein Beispiel: Um Deinen Bildschirm vertikal in ein kleines Fenster (1/3 Höhe)
und ein großes Fenster (2/3 Höhe) aufzuteilen, benutze diesen Befehl:
/window splitv 33
[[key_bindings]]
Tastaturbelegung
----------------
WeeChat verwendet viele Standardtasten. Alle Tastenbelegungen sind in der
Dokumentation beschrieben. Im folgenden werden die wichtigsten Tastenbelegungen
kurz erläutert:
- 'alt + linker/rechter Pfeil' (oder 'F5'/'F6'): umschalten zum
vorherigen/nächsten Buffer
- 'F7'/'F8': umschalten zum vorherigen/nächsten Fenster (falls der Bildschirm
aufgeteilt ist)
- 'F9'/'F10': scrollt die Titleleiste
- 'F11'/'F12': scrollt die Liste der Nicks
- 'tab': komplettiert den Text in der Eingabezeile, ähnlich Deiner shell
- 'Seite rauf/runter': scrollt den Text im aktiven Buffer
- 'alt + A': springt zum Buffer mit Aktivität (aus der Hotlist)
Gemäß Deiner Tastatur und/oder Deinen Bedürfnissen kann jede Taste mit Hilfe
des `/key` Befehls durch einen Befehl neu belegt werden.
Eine nĂĽtzliche Tastenkombination um Tastencodes zu ermitteln ist meta-k (alt-k).
Beispiel: Belegung von meta-y (alt-y) mit dem Befehl `/buffer close`:
/key bind (drĂĽcke meta-k) (drĂĽcke meta-y) /buffer close
Du wirst folgende Befehlszeile erhalten:
/key bind meta-y /buffer close
Entfernen der Belegung:
/key unbind meta-y
[[plugins_scripts]]
Erweiterungen/Skripten
----------------------
Bei einigen Distributionen wie z.B. Debian, sind die Erweiterungen ĂĽber separate Pakete
erhältlich (z.B. weechat-plugins).
Erweiterungen werden -sofern welche gefunden worden sind- automatisch geladen (Bitte beachte
die Dokumentation zum Laden/Entladen von Erweiterungen oder Skripten).
Einige Erweiterungen ermöglichen die Verwendung von Skripten in WeeChat (unterstützte
Sprachen sind Perl, Python, Ruby, Lua und TCL). Diese Erweiterungen mĂĽssen mit dem
Befehl `/plugin` geladen werden und verfĂĽgen ihrerseits ĂĽber Befehle wie z.B.
`/perl` um Perl-Skripten zu laden.
Viele externe Erweiterungen/Skripten (der Mitarbeitenden) sind fĂĽr WeeChat verfĂĽgbar,
siehe: http://www.weechat.org/scripts
Der einfachste Weg um Skripten zu installieren ist die Verwendung von 'weeget.py':
werden
. herunterladen und kopieren von 'weeget.py' nach ~/.weechat/python/autoload/
. laden des Skript: `/python autoload`
. Liste der Skripten: `/weeget list` (Hilfe mit: `/help weeget`)
[[more_doc]]
Weitere Dokumentation
---------------------
Nun kannst Du WeeChat nutzen, fĂĽr weitere Fragen lese die FAQ/Dokumentation:
http://www.weechat.org/doc
Viel Spass mit WeeChat!
+817
View File
@@ -0,0 +1,817 @@
WeeChat Scripting Guide
=======================
Sébastien Helleu <flashcode@flashtux.org>
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
Die aktuelle Version dieser Anleitung finden Sie auf:
http://www.weechat.org/doc
[[introduction]]
Einleitung
----------
WeeChat (Wee Enhanced Environment for Chat) ist ein freier, schneller und
schlanker Chat-Client der fĂĽr viele Betriebssysteme entwickelt wird.
Diese Anleitung beschreibt die Vorgehensweise um Skripten fĂĽr WeeChat zu
erstellen. Dabei werden fĂĽnf Skriptsprachen unterstĂĽtzt: perl, python,
ruby, lua und tcl.
[NOTE]
Beinahe alle Beispiele in dieser Dokumentation beziehen sich auf Python.
Allerdings ist die API fĂĽr alle Skriptsprachen nahezu identisch.
[[scripts_in_weechat]]
Skripten in WeeChat
-------------------
[[languages_specifities]]
Besonderheiten der einzelnen Skriptsprachen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es existieren einige Besonderheiten fĂĽr jede Skriptsprache:
* perl:
** Funktionen werden im Format `weechat::xxx(arg1, arg2, ...);` ausgefĂĽhrt
* python:
** WeeChat muss als Modul eingebunden werden: `import weechat`
** Um die WeeChat Funktion `print*` nutzen zu können muss `prnt*` genutzt
werden ('print' ist ein reservierter Befehl von Python!)
** Funktionen werden im Format `weechat.xxx(arg1, arg2, ...)` ausgefĂĽhrt
* ruby:
** Es muss 'weechat_init' definiert und darin die Funktion 'register' ausgefĂĽhrt werden
** Funktionen werden im Format `Weechat.xxx(arg1, arg2, ...)` ausgefĂĽhrt
* tcl:
** Funktionen werden im Format `weechat::xxx arg1 arg2 ...` ausgefĂĽhrt
[[register_function]]
Die "Register" Funktion
~~~~~~~~~~~~~~~~~~~~~~~
Jedes WeeChat Skript muss sich bei WeeChat "registrieren". Die "register" Funktion
muss deshalb der erste WeeChat Befehl sein der durch das Skript genutzt wird.
Prototyp:
[source,python]
----------------------------------------
weechat.register(Name, Author, Version, Lizenz, Beschreibung, Shutdown_Funktion, Zeichensatz)
----------------------------------------
Argumente:
* 'name': interner Name des Skripts (String)
* 'author': Name des Authors (String)
* 'version': Version des Skripts (String)
* 'license': Lizenz fĂĽr das Skripts (String)
* 'description': kurze Beschreibung des Skripts (String)
* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll (String)
* 'charset': Skript Zeichensatz (optional, liegt das Skript im UTF-8 Format vor kann dieser Wert
leer bleiben. UTF-8 ist der Standardzeichensatz) (String)
Beispielskripten, fĂĽr jede Sprache:
* perl:
[source,perl]
----------------------------------------
weechat::register("test_perl", "FlashCode", "1.0", "GPL3", "Test Skript", "", "");
weechat::print("", "Hallo, von einem perl Skript!");
----------------------------------------
* python:
[source,python]
----------------------------------------
import weechat
weechat.register("test_python", "FlashCode", "1.0", "GPL3", "Test Skript", "", "")
weechat.prnt("", "Hallo, von einem python Skript!")
----------------------------------------
* ruby:
[source,ruby]
----------------------------------------
def weechat_init
Weechat.register("test_ruby", "FlashCode", "1.0", "GPL3", "Test Skript", "", "")
Weechat.print("", "Hallo, von einem ruby Skript!")
return Weechat::WEECHAT_RC_OK
end
----------------------------------------
* lua:
[source,lua]
----------------------------------------
weechat.register("test_lua", "FlashCode", "1.0", "GPL3", "Test Skript", "", "")
weechat.print("", "Hallo, von einem lua Skript!")
----------------------------------------
* tcl:
// [source,tcl]
----------------------------------------
weechat::register "test_tcl" "FlashCode" "1.0" "GPL3" "Test Skript" "" ""
weechat::print "" "Hallo, von einem tcl Skript!"
----------------------------------------
[[load_script]]
Laden von Skripten
~~~~~~~~~~~~~~~~~~
Der Befehl zum Laden von Skripten ist davon abhängig welche Skriptsprache
genutzt werden soll:
----------------------------------------
/perl load perl/skript.pl
/python load python/skript.py
/ruby load ruby/skript.rb
/lua load lua/skript.lua
/tcl load tcl/skript.tcl
----------------------------------------
Um Skripten automatisch beim Start von WeeChat zu laden kann man einen Link
in das Verzeichnis 'Skriptsprache/autoload' setzen.
Ein Beispiel fĂĽr ein Python-Skript:
----------------------------------------
$ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
[[differences_with_c_api]]
Unterschiede zur C API
----------------------
Die Skripten API ist nahezu identisch mit der API der C Erweiterung.
Um einen Ăśberblick ĂĽber alle API Funktionen (Prototyp, Argumente,
RĂĽckgabe werte, Beispiele) zu erhalten werfen Sie einen Blick in
die 'WeeChat Plugin API Reference'.
Es ist wichtig dass man zwischen einer 'Erweiterung' und einem 'Skript'
unterscheidet: Eine 'Erweiterung' ist eine Binärdatei die kompiliert wurde
und mittels `/plugin` geladen wird. Ein 'Skript' ist eine Textdatei welche
durch eine Erweiterung z.B. 'python' mittels dem Befehl `/python` geladen
wird.
Falls Ihr Skript 'test.py' eine WeeChat API Funktion aufruft wird der Aufruf
wie folgt abgearbeitet:
........................................
(Skript API) (C API)
\/ \/
test.py -------> python Erweiterung (python.so) -------> WeeChat core
........................................
Gibt WeeChat einen RĂĽckgabewert an Ihr Skript 'test.py' zurĂĽck wird der
Aufruf in umgekehrter Reihenfolge abgearbeitet:
........................................
(C API) (Skript API)
\/ \/
WeeChat core -------> python Erweiterung (python.so) -------> test.py
........................................
[[pointers]]
Pointer
~~~~~~~
Wie Sie vermutlich wissen existieren in Skripten keine "Pointer". Sendet nun
die API Funktion einen Pointer als RĂĽckgabewert an das Skript, dann wird der
Pointer in einen String konvertiert.
Beispiel: Falls eine Funktion den Pointer 0x1234ab56 zurück gibt erhält das
Skript einen String in der Form "0x1234ab56".
Erwartet die API Funktion als Argument einen Pointer, dann muss das Skript diesen
Pointer als String ĂĽbergeben. Die C Erweiterung konvertiert den String in einen
echten Pointer bevor die C API Funktion ausgefĂĽhrt wird.
Ein leerer String oder "0x0" sind hierbei erlaubt. Beides wird in C als NULL interpretiert.
Im folgenden ein Beispiel um Daten im Core Buffer (WeeChat Hauptbuffer) auszugeben:
[source,python]
----------------------------------------
weechat.prnt("", "Hi!")
----------------------------------------
[WARNING]
Aus GrĂĽnden der Geschwindigkeit wird in vielen Funktionen darauf verzichtet
die Pointer auf ihre Korrektheit zu ĂĽberprĂĽfen. Es obliegt Ihrer Verantwortung
einen gĂĽltigen Pointer zu ĂĽbergeben. Sollten Sie dies nicht beachten dann werden
Sie mit einem netten Crash-Report belohnt ;)
[[callbacks]]
Callbacks
~~~~~~~~~
Beinahe alle WeeChat Callbacks mĂĽssen entweder WEECHAT_RC_OK oder WEECHAT_RC_ERROR als
Ergebnis zurĂĽck liefern. Eine Ausnahme bildet das modifier Callback, hier wird ein
String als RĂĽckgabewert erwartet.
C Callbacks nutzen ein "Data" Argument welches ein Pointer ist. In der
Skript API ist "Data" ein String der jeden Wert haben darf (es handelt sich
nicht um einen Pointer).
Beispiel:
[source,python]
----------------------------------------
weechat.hook_timer(1000, 0, 1, "mein_timer_cb", "mein data")
def mein_timer_cb(data, verbleibende_aufrufe):
# es wird "mein data" angezeigt
weechat.prnt("", data)
return weechat.WEECHAT_RC_OK
----------------------------------------
[[script_api]]
Skript API
----------
Um weiterfĂĽhrende Informationen zu den API Funktionen zu erhalten
lesen Sie bitte 'WeeChat Plugin API Reference'.
[[script_api_functions]]
Funktionen
~~~~~~~~~~
Liste der Skript API Funktionen:
[width="100%",cols="^1,10",options="header"]
|========================================
| Kategorie | Funktionen
| Allgemein |
register
| Erweiterungen |
plugin_get_name
| Strings |
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
string_match, string_has_highlight, string_mask_to_regex,
string_remove_color, string_is_command_char, string_input_for_buffer
| Verzeichnisse |
mkdir_home, mkdir, mkdir_parents
| sortierte Listen |
list_new, list_add, list_search, list_casesearch, list_get, list_set,
list_next, list_prev, list_string, list_size, list_remove, list_remove_all,
list_free
| Konfigurationsdatei |
config_new, config_new_section, config_search_section, config_new_option,
config_search_option, +
config_string_to_boolean, config_option_reset, config_option_set,
config_option_set_null, config_option_unset, config_option_rename,
config_option_is_null, config_option_default_is_null, +
config_boolean, config_boolean_default, config_integer, config_integer_default,
config_string, config_string_default, config_color, config_color_default, +
config_write_option, config_write_line, config_write, config_read,
config_reload, +
config_option_free, config_section_free_options, config_section_free,
config_free, +
config_get, config_get_plugin, config_is_set_plugin, config_set_plugin,
config_unset_plugin
| Ausgabe |
prefix, color, print (fĂĽr Python: prnt), print_date_tags (fĂĽr Python:
prnt_date_tags), print_y (fĂĽr Python: prnt_y), log_print
| Hooks |
hook_command, hook_command_run, hook_timer, hook_fd, hook_process,
hook_connect, hook_print, hook_signal, hook_signal_send, hook_hsignal,
hook_hsignal_send, hook_config, hook_completion, hook_completion_list_add,
hook_modifier, hook_modifier_exec, hook_info, hook_info_hashtable,
hook_infolist, unhook, unhook_all
| Buffer |
buffer_new, current_buffer, buffer_search, buffer_search_main, buffer_clear,
buffer_close, buffer_merge, buffer_unmerge, buffer_get_integer,
buffer_get_string, buffer_get_pointer, buffer_set,
buffer_string_replace_local_var
| Fenster |
current_window, window_get_integer, window_get_string, window_get_pointer,
window_set_title
| Nickliste |
nicklist_add_group, nicklist_search_group, nicklist_add_nick,
nicklist_search_nick, nicklist_remove_group, nicklist_remove_nick,
nicklist_remove_all, 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
| Bars |
bar_item_search, bar_item_new, bar_item_update, bar_item_remove, bar_search,
bar_new, bar_set, bar_update, bar_remove
| Befehle |
command
| Informationen |
info_get, info_get_hashtable
| Infolisten |
infolist_new, infolist_new_item, infolist_new_var_integer,
infolist_new_var_string, infolist_new_var_pointer, infolist_new_var_time, +
infolist_get, infolist_next, infolist_prev, infolist_reset_item_cursor, +
infolist_fields, infolist_integer, infolist_string, infolist_pointer, +
infolist_time, infolist_free
| Upgrade |
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|========================================
[[script_api_constants]]
Konstanten
~~~~~~~~~~
Liste der Konstanten in Skript API:
[width="100%",cols="^1,10",options="header"]
|========================================
| Kategorie | Konstanten
| return codes |
WEECHAT_RC_OK, WEECHAT_RC_OK_EAT, WEECHAT_RC_ERROR
| Konfigurationsdatei |
WEECHAT_CONFIG_READ_OK, WEECHAT_CONFIG_READ_MEMORY_ERROR,
WEECHAT_CONFIG_READ_FILE_NOT_FOUND, WEECHAT_CONFIG_WRITE_OK,
WEECHAT_CONFIG_WRITE_ERROR, WEECHAT_CONFIG_WRITE_MEMORY_ERROR, +
WEECHAT_CONFIG_OPTION_SET_OK_CHANGED, WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE,
WEECHAT_CONFIG_OPTION_SET_ERROR, WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND,
WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET, WEECHAT_CONFIG_OPTION_UNSET_OK_RESET,
WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED, WEECHAT_CONFIG_OPTION_UNSET_ERROR
| sortierte Listen |
WEECHAT_LIST_POS_SORT, WEECHAT_LIST_POS_BEGINNING, WEECHAT_LIST_POS_END
| Hotlist |
WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE, WEECHAT_HOTLIST_PRIVATE,
WEECHAT_HOTLIST_HIGHLIGHT
| hook Prozesse |
WEECHAT_HOOK_PROCESS_RUNNING, WEECHAT_HOOK_PROCESS_ERROR
| hook Connect |
WEECHAT_HOOK_CONNECT_OK, WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND,
WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND, WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED,
WEECHAT_HOOK_CONNECT_PROXY_ERROR, WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR,
WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR, WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR,
WEECHAT_HOOK_CONNECT_MEMORY_ERROR
| hook Signal |
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|========================================
[[common_tasks]]
Gemeinschaftsaufgabe
--------------------
Dieses Kapitel beinhaltet einige Aufgaben mit Lösungsbeispielen.
Die Skript API wird dabei nur sehr oberflächlich besprochen.Um eine vollständige
Ăśbersicht aller Befehle zu erhalten nutzen Sie bitte die 'WeeChat Plugin API Reference'.
[[buffers]]
Buffer
~~~~~~
[[buffers_display_messages]]
Nachrichten anzeigen
^^^^^^^^^^^^^^^^^^^^
Eine leere Zeichenkette wird häufig verwendet um den WeeChat Core Buffer zu nutzen.
Möchten Sie einen anderen Buffer nutzen dann muss der Pointer dieses Buffers verwendet
werden (Ăśbergabe als String, siehe <<pointers,Pointer>>).
Beispiele:
[source,python]
----------------------------------------
# Gibt den Text "Hallo" im Core Buffer aus
weechat.prnt("", "Hallo")
# Gibt den Text "Hallo" im Core Buffer aus, schreibt diesen aber nicht in die Protokolldatei
# (nur Version >= 0.3.3)
weechat.prnt_date_tags("", 0, "no_log", "hello")
# Gibt den Präfix "==>" gefolgt von dem Text "Hallo" im aktuellen Buffer aus
# (Präfix und Text müssen durch ein Tab getrennt werden)
weechat.prnt(weechat.current_buffer(), "==>\tHallo")
# Gibt eine Fehlermeldung im Core Buffer aus (mit Präfix für Fehler)
weechat.prnt("", "%sfalsche Anzahl an Argumenten" % weechat.prefix("error"))
# Gibt eine farbige Nachricht im Core Buffer aus
weechat.prnt("", "Text %sGeld auf Blau" % weechat.color("yellow,blue"))
# sucht einen bestimmten Buffer und gibt dort einen Text aus
# (der Name des Buffers muss folgendes Format besitzen Erweiterung.Name, Beispiel: "irc.freenode.#weechat")
buffer = weechat.buffer_search("irc", "freenode.#weechat")
weechat.prnt(buffer, "Nachricht im #weechat Channel")
# die zweite Möglichkeit einen Buffer zu suchen (empfohlen!)
# (bitte beachten Sie dass der Server- und Channelname durch ein Komma zu trennen sind)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.prnt(buffer, "Nachricht im #weechat Channel")
----------------------------------------
[NOTE]
Die print Funktion heiĂźt in Perl/Ruby/Lua/Tcl `print`. In Python lautet die Funktion `prnt`.
[[buffers_send_text]]
Text in einen Buffer senden
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sie können einen Text oder einen Befehl zu einem Buffer senden. Dies entspricht exakt dem
Verhalten als ob Sie einen Text oder einen Befehl in der Befehlszeile eingeben und diesen
mit der [Enter] Taste bestätigen.
Beispiele:
[source,python]
----------------------------------------
# fĂĽhrt den Befehl "/help" im Core Buffer aus
weechat.command("", "/help")
# sendet den Text "Hallo" in den IRC Channel #weechat (die Teilnehmer des Channels sehen diese Nachricht)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.command(buffer, "Hallo")
----------------------------------------
[[buffers_new]]
neuen Buffer öffnen
^^^^^^^^^^^^^^^^^^^
Sie können aus Ihrem Skript einen neuen Buffer öffnen um dort Nachrichten auszugeben.
Zwei Callbacks können aufgerufen werden (diese sind optional): der erste Callback dient dazu
eine Routine aufzurufen sobald ein Text eingegeben und mit [Enter] bestätigt wird. Der zweite
Callback ruft eine Routine auf die beim SchlieĂźen des Buffers ausgefĂĽhrt wird (zum Beispiel
wenn `/buffer close` genutzt wurde).
Beispiele:
[source,python]
----------------------------------------
# Callback falls Daten aus der Eingabezeile empfangen wurden
def buffer_input_cb(data, buffer, input_data):
# ...
return weechat.WEECHAT_RC_OK
# Callback falls der Buffer geschlossen wurde
def buffer_close_cb(data, buffer):
# ...
return weechat.WEECHAT_RC_OK
# neuen Buffer öffnen
buffer = weechat.buffer_new("Mein_Buffer", "buffer_input_cb", "", "buffer_close_cb", "")
# Ăśberschrift fĂĽr Buffer bestimmen
weechat.buffer_set(buffer, "Titel", "Dies ist die Ăśberschrift fĂĽr meinen Buffer")
# deaktiviert die Protokollierung. Dazu wird die lokale Variable "no_log" auf "1" gesetzt
weechat.buffer_set(buffer, "localvar_set_no_log", "1")
----------------------------------------
[[buffers_properties]]
Eigenschaften von Buffern
^^^^^^^^^^^^^^^^^^^^^^^^^
Die verschiedenen Eigenschaften von Buffern können in Form eines Strings, Integer oder als Pointer
vorliegen und gelesen werden.
Beispiele:
[source,python]
----------------------------------------
buffer = weechat.current_buffer()
nummer = weechat.buffer_get_integer(buffer, "number")
name = weechat.buffer_get_string(buffer, "name")
kurz_name = weechat.buffer_get_string(buffer, "short_name")
----------------------------------------
Es ist möglich lokale Variablen eines Buffers hinzuzufügen, zu
lesen oder zu löschen:
[source,python]
----------------------------------------
# lokale Variable hinzufĂĽgen
weechat.buffer_set(buffer, "localvar_set_meinevariable", "mit_meinem_Wert")
# lokale Variable lesen
meine_variable = weechat.buffer_get_string(buffer, "localvar_meinevariable")
# lokale Variable löschen
weechat.buffer_set(buffer, "localvar_del_meinevariable", "")
----------------------------------------
Um zu sehen welche lokalen Variablen fĂĽr einen Buffer gesetzt sind fĂĽhren Sie
bitte in WeeChat folgenden Befehl aus:
----------------------------------------
/buffer localvar
----------------------------------------
[[hooks]]
Hooks
~~~~~
[[hook_command]]
neuen Befehl hinzufĂĽgen
^^^^^^^^^^^^^^^^^^^^^^^
Erstellt mittels `hook_command` einen benutzerdefinierten Befehl. Dabei kann
eine benutzerdefinierte Vervollständigung der Argumente genutzt werden.
Beispiel:
[source,python]
----------------------------------------
def mein_befehl_cb(data, buffer, args):
# ...
return weechat.WEECHAT_RC_OK
hook = weechat.hook_command("meinfilter", "Beschreibung meines Filters",
"[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]",
"Beschreibung der Argumente...",
"list"
" || enable %(filters_names)"
" || disable %(filters_names)"
" || toggle %(filters_names)"
" || add %(filters_names) %(buffers_plugins_names)|*"
" || del %(filters_names)|-all",
"mein_befehl_cb", "")
----------------------------------------
Der Befehl wird dann in WeeChat wie folgt genutzt:
----------------------------------------
/help meinfilter
/meinfilter Argumente...
----------------------------------------
[[hook_timer]]
Nutzung des Timers
^^^^^^^^^^^^^^^^^^
Mittels `hook_timer` wird eine Zeitfunktion implementiert.
Beispiele:
[source,python]
----------------------------------------
def timer_cb(data, remaining_calls):
# ...
return weechat.WEECHAT_RC_OK
# Timer wird jede Minute aufgerufen (wenn die Sekunden auf 00 springen)
weechat.hook_timer(60 * 1000, 60, 0, "timer_cb", "")
----------------------------------------
[[hook_process]]
Hintergrundprozesse
^^^^^^^^^^^^^^^^^^^
Mit der Funktion `hook_process` kann ein Hintergrundprozess gestartet werden.
Der Callback wird aufgerufen sobald der Hintergrundprozess abgearbeitet wurde.
Dies kann auch mehrfach der Fall sein.
FĂĽr den letzten Aufruf des Callback wird 'rc' auf 0 oder einen positiven Wert
gesetzt. Dies ist der Return Code des Befehls.
Beispiele:
[source,python]
----------------------------------------
# Zeigt die Versionen der Linux-Kerne.
kernel_txt = ""
def kernel_process_cb(data, command, rc, stdout, stderr):
""" Callback reading command output. """
global kernel_txt
if stdout != "":
kernel_txt += stdout
if int(rc) >= 0:
weechat.prnt("", kernel_txt)
return weechat.WEECHAT_RC_OK
weechat.hook_process("python -c \"import urllib; "
"print urllib.urlopen('http://www.kernel.org/kdist/finger_banner').read()\"",
10 * 1000, "kernel_process_cb", "")
----------------------------------------
[[config_options]]
Konfiguration / Optionen
~~~~~~~~~~~~~~~~~~~~~~~~
[[config_options_set_script]]
Optionen von Skripten setzen
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Die Funktion `config_is_set_plugin` wird dazu benutzt um zu testen ob eine Option
gesetzt ist oder nicht. Mit der Funktion `config_set_plugin` wird eine Option gesetzt.
Beispiele:
[source,python]
----------------------------------------
skript_optionen = {
"Option1" : "Wert1",
"Option2" : "Wert2",
"Option3" : "Wert3",
}
for option, default_value in skript_optionen.iteritems():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, standardwert)
----------------------------------------
[[config_options_detect_changes]]
Veränderungen bemerken
^^^^^^^^^^^^^^^^^^^^^^
Die Funktion `hook_config` wird dazu benutzt um festzustellen falls ein Anwender
eine Option des Skripts verändert hat.
Beispiele:
[source,python]
----------------------------------------
SKRIPT_NAME = "meinskript"
# ...
def config_cb(data, option, value):
""" Callback welcher genutzt wird wenn eine Option verändert wurde. """
# zum Beispiel werden hier alle Optionen des Skripts in die entsprechenden Variablen geschrieben...
# ...
return weechat.WEECHAT_RC_OK
# ...
weechat.hook_config("plugins.var.python." + SKRIPT_NAME + ".*", "config_cb", "")
# fĂĽr die jeweilige Programmiersprache muss "python" durch "perl", "ruby", "lua" oder "tcl" ersetzt werden.
----------------------------------------
[[config_options_weechat]]
WeeChat Optionen lesen
^^^^^^^^^^^^^^^^^^^^^^
Die Funktion `config_get` gibt einen Pointer zu einer Option zurück. Abhängig vom Typ der Option
muss entweder `config_string`, `config_boolean`, `config_integer` oder `config_color` genutzt werden.
[source,python]
----------------------------------------
# string
weechat.prnt("", "Wert der Option weechat.look.item_time_format ist: %s"
% (weechat.config_string(weechat.config_get("weechat.look.item_time_format"))))
# boolean
weechat.prnt("", "Wert der Option weechat.look.day_change ist: %d"
% (weechat.config_boolean(weechat.config_get("weechat.look.day_change"))))
# integer
weechat.prnt("", "Wert der Option weechat.look.scroll_page_percent ist: %d"
% (weechat.config_integer(weechat.config_get("weechat.look.scroll_page_percent"))))
# color
weechat.prnt("", "Wert der Option weechat.color.chat_delimiters ist: %s"
% (weechat.config_color(weechat.config_get("weechat.color.chat_delimiters"))))
----------------------------------------
[[irc]]
IRC
~~~
[[irc_catch_messages]]
Nachrichten abfangen
^^^^^^^^^^^^^^^^^^^^
Die IRC Erweiterung sendet zwei Signale wenn eine Nachricht empfangen wurde.
`xxx` ist der interne IRC Servername, `yyy` ist der IRC Befehl der empfangen
wurde (JOIN, QUIT, PRIVMSG, 301, ..):
xxxx,irc_in_yyy::
Signal wird gesendet bevor die Nachricht verarbeitet wurde.
xxx,irc_in2_yyy::
Signal wird gesendet nachdem die Nachricht verarbeitet wurde.
[source,python]
----------------------------------------
def join_cb(data, signal, signal_data):
# Das Signal lautet: "freenode,irc_in2_join"
# signal_data enthält die IRC Nachricht, zum Beispiel: ":nick!user@host JOIN :#channel"
nick = weechat.info_get("irc_nick_from_host", signal_data)
server = signal.split(",")[0]
channel = signal_data.split(":")[-1]
buffer = weechat.info_get("irc_buffer", "%s,%s" % (server, channel))
if buffer:
weechat.prnt(buffer, "Holla, %s hat den Channel betreten!" % nick)
return weechat.WEECHAT_RC_OK
# es ist sinnvoll als Server "*" anzugeben um alle JOIN Nachrichten von allen
# IRC Servern abzufangen
weechat.hook_signal("*,irc_in2_join", "join_cb", "")
----------------------------------------
[[irc_modify_messages]]
Modify messages
^^^^^^^^^^^^^^^
Die IRC Erweiterung verschickt einen "modifier" mit Namen "irc_in_xxx" ("xxx" steht fĂĽr den
Namen des IRC Befehls) um eine Nachricht zu empfangen die dann modifiziert werden kann.
[source,python]
----------------------------------------
def modifier_cb(data, modifier, modifier_data, string):
# fĂĽge den Namen des Server zu allen empfangenen Nachrichten hinzu
# (Okay dies ist nicht wirklich sinnvoll, aber es ist auch nur ein Beispiel!)
return "%s %s" % (string, modifier_data)
weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
----------------------------------------
[WARNING]
Eine fehlerhafte Nachricht kann WeeChat zum Absturz bringen oder andere ernsthafte Probleme erzeugen!
[[irc_parse_message]]
Nachrichten parsen
^^^^^^^^^^^^^^^^^^
_Neu in Version 0.3.4._
Man kann IRC Nachrichten mittels einer info_hashtable mit dem Namen "irc_parse_message" parsen.
[source,python]
----------------------------------------
dict = weechat.info_get_hashtable("irc_parse_message",
{ "message": ":nick!user@host PRIVMSG #weechat :message here" })
weechat.prnt("", "dict: %s" % dict)
# output:
# dict: {'nick': 'nick', 'host': 'nick!user@host', 'command': 'PRIVMSG', 'arguments': '#weechat :message here', 'channel': '#weechat'}
----------------------------------------
[[infos]]
Infos
~~~~~
[[infos_weechat_version]]
WeeChat Version
^^^^^^^^^^^^^^^
Die sinnvollste Methode um die Version abzufragen ist die Nutzung
von "version_number". Das Ergebnis sollte mit einem hexadezimalen
Integer-Wert verglichen werden.
Beispiele:
[source,python]
----------------------------------------
version = weechat.info_get("version_number", "") or 0
if int(version) >= 0x00030200:
weechat.prnt("", "Es handelt sich um WeeChat 0.3.2 oder neuer")
else:
weechat.prnt("", "Es handelt sich um WeeChat 0.3.1 oder älter")
----------------------------------------
[NOTE]
Versionen < = 0.3.1.1 geben einen leeren String zurĂĽck wenn man 'info_get("version_number")'
aufruft. Deshalb mĂĽssen Sie prĂĽfen ob der RĂĽckgabe wert *nicht* leer ist.
Um die Version als String zu erhalten:
[source,python]
----------------------------------------
# Dies gibt z.B. "Version 0.3.2" im Core Buffer aus
weechat.prnt("", "Version %s" % weechat.info_get("version", ""))
----------------------------------------
[[infos_other]]
andere Informationen
^^^^^^^^^^^^^^^^^^^^
[source,python]
----------------------------------------
# WeeChat Hauptverzeichnis, zum Beispiel: "/home/xxxx/.weechat"
weechat.prnt("", "WeeChat Hauptverzeichnis: %s" % weechat.info_get("weechat_dir", ""))
# Inaktivität der Tastatur
weechat.prnt("", "Tastatur ist seit %s Sekunden nicht mehr betätigt worden" % weechat.info_get("inactivity", ""))
----------------------------------------
[[infolists]]
Infolisten
~~~~~~~~~~
[[infolists_read]]
Infoliste einlesen
^^^^^^^^^^^^^^^^^^
Es können Infolisten eingelesen werden die entweder von WeeChat oder von
Erweiterungen erstellt wurden.
Beispiele:
[source,python]
----------------------------------------
# Infoliste "buffer" einlesen, um eine Liste aller Buffer zu erhalten
infolist = weechat.infolist_get("buffer", "", "")
if infolist:
while weechat.infolist_next(infolist):
name = weechat.infolist_string(infolist, "name")
weechat.prnt("", "Buffer: %s" % name)
weechat.infolist_free(infolist)
----------------------------------------
[IMPORTANT]
Vergessen Sie bitte nicht `infolist_free` aufzurufen um den Speicher wieder
frei zu geben der durch die Infoliste belegt wurde. WeeChat gibt diesen Speicher
nicht von sich aus frei.
+146
View File
@@ -0,0 +1,146 @@
WeeChat Tester's Guide
======================
Sébastien Helleu <flashcode@flashtux.org>
[[purpose]]
Intention
---------
Viele dankbare Anwender fragen uns wie sie bei der Entwicklung von WeeChat
helfen können. Der einfachste (aber auch der kniffligste) Weg uns zu helfen ist:
Testen!
Testen ist ein sehr wichtiger Teil der Programmentwicklung und sollte daher
nicht unterbewertet werden. Wenn neue Features implementiert wurden, sollten sie
getestet werden. Für einige Features gibt es aber zu viele Möglichkeiten - oder
diese Möglichkeiten sind komplex und die Entwickler können nicht jede Variante
ausprobieren.
Ein Beispiel: Ein berĂĽchtigtes Zeichensatz-Plugin wurde in WeeChat 0.2.2
eingefĂĽhrt: Keiner von uns (Entwickler, Mithelfende und Tester) nutzen Channels
in den länderspezifische Zeichen in den Namen vorkamen, und als 0.2.2
freigegeben wurde, wurden wir ĂĽberschwemmt von russischen Usern, die uns dies
vorwarfen. Hätten wir mehr Tester, dann sollte so etwas nicht mehr passieren.
Eine stabile Version von WeeChat zu testen ist nutzlos, da die Entwickler
die ganze Zeit fleiĂźig neues Zeug implementieren (und alte Bugs fixen).
[[prepare_system]]
Bereite Dein System vor
-----------------------
Sehr helfen wĂĽrde uns, wenn Du Linuxs 'core' Dateien aktivieren wĂĽrdest: wenn
WeeChat crasht wird Linux eine Datei Namens 'core' erzeugen. Diese Datei
beinhaltet viele nĂĽtzliche Debug-Informationen um das genaue Problem in WeeChat
zu lokalisieren.
Falls Du die 'bash' als shell benutzt, ergänze Deine `~/.bashrc` mit folgender
Zeile:
ulimit -c unlimited
[[download]]
Besorge Dir die Entwickler-Version
----------------------------------
Frischer Code (mit den letzten Bugs und Features) ist im GIT Repository
gespeichert.
Du könntest Dich ja dazu entscheiden es manuell zu bauen (empfohlen):
* die GIT Version kann parallel zur stabilen Version gebaut und installiert
werden.
* Du benötigst keine Root-Rechte, und opfern brauchst Du Deine stabile Version
von WeeChat auch nicht.
[[get_sources]]
Beschaffe und baue die Quellen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Erstelle zuerst einen neuen Ordner, z.B. 'weechat-git':
---------------------
$ mkdir ~/weechat-git
$ cd ~/weechat-git
---------------------
Falls Du git installiert hast, clone das git Repository (empfohlen):
--------------------------------------------
$ git clone git://git.sv.gnu.org/weechat.git
$ cd weechat
--------------------------------------------
NOTE: Um auf den neuesten Stand zukommen verwendest Du z.B. "`git pull`" in
diesem Ordner.
Ansonsten kannst Du das 'Entwickler-Paket' herunterladen und entpacken:
-----------------------------------------------------------------
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
$ tar xvjf weechat-devel.tar.bz2
$ cd weechat-devel
-----------------------------------------------------------------
Um die Quellen zu ĂĽbersetzen, wird cmake empfohlen:
--------------------------------------------------------------
$ mkdir build
$ cd build
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
$ make
$ make install
--------------------------------------------------------------
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
----------------------------------------------------------
$ ./autogen.sh # (nur bei geklontem git Repository)
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
----------------------------------------------------------
[[install_binary_package]]
Installieren des Programm-Paketes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Abhängig Deiner Linux Distribution:
* Debian: http://debian.flashtux.org/
* Gentoo: http://www.weechat.org/download
* ArchLinux: PKGBUILD von http://aur.archlinux.org/
* andere: Wissen wir nicht! Eheh.
[[run]]
WeeChat starten
---------------
Es wird empfohlen WeeChat durch die Option `--dir` mit einem anderen Ordner zu
starten (nicht mit dem der stabilen Version).
Die Befehlszeile lautet:
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
Immer noch munter? Dann solltest Du jetzt das bekannte Interface sehen, und nun
prahle vor Anderen, dass Du die neueste WeeChat-Version verwendest :)
Solltest Du nun ein merkwürdiges Verhalten bemerken (es könnte Probleme machen
oder crashen oder Dein Bier kochen) zögere nicht, komme in den Channel
`#weechat` auf `irc.freenode.net` (A.d.Ăś.: englischsprachig) und berichte uns
darĂĽber.
Auch wenn es nicht crasht - gib uns trotzdem Bescheid, wir brauchen Deine
RĂĽckmeldung!
[[links]]
NĂĽtzliche Links
---------------
* GIT repository: http://git.savannah.gnu.org/gitweb/?p=weechat.git
* Bug tracker: https://savannah.nongnu.org/bugs/?group=weechat
* WeeChat commits RSS feed: http://git.savannah.gnu.org/gitweb/?p=weechat.git;a=rss
File diff suppressed because it is too large Load Diff
+193 -41
View File
@@ -1,21 +1,24 @@
#
# Copyright (c) 2008-2009 by FlashCode <flashcode@flashtux.org>
# Copyright (C) 2008-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# Documentation generator for WeeChat: build XML include files with commands,
#
# Documentation generator for WeeChat: build include files with commands,
# options, infos and completions for WeeChat core and plugins.
#
# Instructions to build config files yourself in WeeChat directories (replace
@@ -26,9 +29,7 @@
# /set plugins.var.perl.docgen.path "~/src/weechat/doc"
# 3. run docgen command:
# /docgen
# XML files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
#
# Script written on 2008-08-22 by FlashCode <flashcode@flashtux.org>
# Files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
#
use strict;
@@ -53,7 +54,7 @@ my $version = "0.1";
my $default_path = "~/src/weechat/doc";
# list of locales for which we want to build XML doc files to include
my @locale_list = qw(en_US fr_FR);
my @all_locale_list = qw(en_US fr_FR it_IT de_DE);
# all commands/options/.. of following plugins will produce a file
# non-listed plugins will be ignored
@@ -62,23 +63,28 @@ my @locale_list = qw(en_US fr_FR);
# if plugin is listed without "c", that means plugin has only one command
# /name (where "name" # is name of plugin)
# Note: we consider core is a plugin called "weechat"
my %plugin_list = ("weechat" => "co", "alias" => "",
"aspell" => "o", "charset" => "co",
"demo" => "co", "fifo" => "co",
"irc" => "co", "logger" => "co",
"relay" => "co", "perl" => "",
"python" => "", "ruby" => "",
"lua" => "", "tcl" => "",
"xfer" => "co");
my %plugin_list = ("weechat" => "co", "alias" => "",
"aspell" => "o", "charset" => "co",
"demo" => "co", "fifo" => "co",
"irc" => "co", "logger" => "co",
"relay" => "co", "rmodifier" => "co",
"perl" => "", "python" => "",
"ruby" => "", "lua" => "",
"tcl" => "", "xfer" => "co");
# options to ignore
my @ignore_options = ("aspell\\.dict\\..*",
"charset\\.decode\\..*",
"charset\\.encode\\..*",
"irc\\.msgbuffer\\..*",
"irc\\.ctcp\\..*",
"irc\\.ignore\\..*",
"irc\\.server\\..*",
"jabber\\.server\\..*",
"logger\\.level\\..*",
"logger\\.mask\\..*",
"relay\\.port\\..*",
"rmodifier\\.modifier\\..*",
"weechat\\.proxy\\..*",
"weechat\\.bar\\..*",
"weechat\\.debug\\..*",
@@ -87,24 +93,41 @@ my @ignore_options = ("aspell\\.dict\\..*",
# infos to ignore
my @ignore_infos_plugins = ();
# infos (hashtable) to ignore
my @ignore_infos_hashtable_plugins = ();
# infolists to ignore
my @ignore_infolists_plugins = ();
# completions to ignore
my @ignore_completions_plugins = ();
my @ignore_completions_items = ("jabber.*",
my @ignore_completions_items = ("docgen.*",
"jabber.*",
"weeget.*");
# for gettext
my $d;
# -------------------------------[ init ]--------------------------------------
weechat::register("docgen", "FlashCode <flashcode\@flashtux.org>", $version,
"GPL", "Doc generator for WeeChat 0.3.x", "", "");
weechat::hook_command("docgen", "Doc generator", "", "", "", "docgen", "");
weechat::register("docgen", "Sebastien Helleu <flashcode\@flashtux.org>", $version,
"GPL3", "Doc generator for WeeChat 0.3.x", "", "");
weechat::hook_command("docgen", "Doc generator",
"[locales]",
"locales: list of locales to build (by default build all locales)",
"%(docgen_locales)|%*", "docgen", "");
weechat::hook_completion("docgen_locales", "locales for docgen", "docgen_completion", "");
weechat::config_set_plugin("path", $default_path)
if (weechat::config_get_plugin("path") eq "");
# -----------------------------------------------------------------------------
# gettext
sub weechat_gettext
{
return $d->get($_[0]);
}
# get list of commands in a hash with 3 indexes: plugin, command, xxx
sub get_commands
{
@@ -161,6 +184,7 @@ sub get_options
$options{$config}{$section}{$option}{"default_value"} = weechat::infolist_string($infolist, "default_value");
$options{$config}{$section}{$option}{"min"} = weechat::infolist_integer($infolist, "min");
$options{$config}{$section}{$option}{"max"} = weechat::infolist_integer($infolist, "max");
$options{$config}{$section}{$option}{"null_value_allowed"} = weechat::infolist_integer($infolist, "null_value_allowed");
$options{$config}{$section}{$option}{"description"} = weechat::infolist_string($infolist, "description");
}
}
@@ -183,7 +207,7 @@ sub get_infos
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if infolist is ignored or not
# check if info is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_infos_plugins)
{
@@ -193,6 +217,7 @@ sub get_infos
if ($ignore ne 1)
{
$infos{$plugin}{$info_name}{"description"} = weechat::infolist_string($infolist, "description");
$infos{$plugin}{$info_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
}
}
weechat::infolist_free($infolist);
@@ -200,6 +225,38 @@ sub get_infos
return %infos;
}
# get list of infos (hashtable) hooked by plugins in a hash with 3 indexes: plugin, name, xxx
sub get_infos_hashtable
{
my %infos_hashtable;
# get infos hooked
my $infolist = weechat::infolist_get("hook", "", "info_hashtable");
while (weechat::infolist_next($infolist))
{
my $info_name = weechat::infolist_string($infolist, "info_name");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if info_hashtable is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_infos_hashtable_plugins)
{
$ignore = 1 if ($plugin =~ /${mask}/);
}
if ($ignore ne 1)
{
$infos_hashtable{$plugin}{$info_name}{"description"} = weechat::infolist_string($infolist, "description");
$infos_hashtable{$plugin}{$info_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
$infos_hashtable{$plugin}{$info_name}{"output_description"} = weechat::infolist_string($infolist, "output_description");
}
}
weechat::infolist_free($infolist);
return %infos_hashtable;
}
# get list of infolists hooked by plugins in a hash with 3 indexes: plugin, name, xxx
sub get_infolists
{
@@ -223,6 +280,8 @@ sub get_infolists
if ($ignore ne 1)
{
$infolists{$plugin}{$infolist_name}{"description"} = weechat::infolist_string($infolist, "description");
$infolists{$plugin}{$infolist_name}{"pointer_description"} = weechat::infolist_string($infolist, "pointer_description");
$infolists{$plugin}{$infolist_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
}
}
weechat::infolist_free($infolist);
@@ -254,7 +313,7 @@ sub get_completions
$ignore = 1 if ($completion_item =~ /${mask}/);
}
if ($ignore ne 1)
if (($ignore ne 1) && ($completion_item ne ""))
{
$completions{$plugin}{$completion_item}{"description"} = weechat::infolist_string($infolist, "description");
}
@@ -281,9 +340,15 @@ sub escape_table
# build XML doc files (command /docgen)
sub docgen
{
my ($data, $buffer, $args) = ($_[0], $_[1], $_[2]);
my @locale_list = @all_locale_list;
@locale_list = split(/ /, $args) if ($args ne "");
my %plugin_commands = get_commands();
my %plugin_options = get_options();
my %plugin_infos = get_infos();
my %plugin_infos_hashtable = get_infos_hashtable();
my %plugin_infolists = get_infolists();
my %plugin_completions = get_completions();
@@ -297,6 +362,7 @@ sub docgen
my $num_files = 0;
my $num_files_updated = 0;
my $filename = "";
foreach my $locale (@locale_list)
{
my $num_files_commands = 0;
@@ -305,13 +371,15 @@ sub docgen
my $num_files_options_updated = 0;
my $num_files_infos = 0;
my $num_files_infos_updated = 0;
my $num_files_infos_hashtable = 0;
my $num_files_infos_hashtable_updated = 0;
my $num_files_infolists = 0;
my $num_files_infolists_updated = 0;
my $num_files_completions = 0;
my $num_files_completions_updated = 0;
setlocale(LC_MESSAGES, $locale.".UTF-8");
my $d = Locale::gettext->domain_raw("weechat");
$d = Locale::gettext->domain_raw("weechat");
$d->codeset("UTF-8");
$d->dir(weechat::info_get("weechat_localedir", ""));
@@ -387,6 +455,7 @@ sub docgen
my $default_value = $plugin_options{$config}{$section}{$option}{"default_value"};
my $min = $plugin_options{$config}{$section}{$option}{"min"};
my $max = $plugin_options{$config}{$section}{$option}{"max"};
my $null_value_allowed = $plugin_options{$config}{$section}{$option}{"null_value_allowed"};
my $description = $plugin_options{$config}{$section}{$option}{"description"};
$description = $d->get($description) if ($description ne "");
my $type_nls = $type;
@@ -410,21 +479,26 @@ sub docgen
}
if ($type eq "string")
{
$values = $d->get("any string") if ($max <= 0);
$values = $d->get("any char") if ($max == 1);
$values = $d->get("any string")." (".$d->get("max chars").": ".$max.")" if ($max > 1);
$values = weechat_gettext("any string") if ($max <= 0);
$values = weechat_gettext("any char") if ($max == 1);
$values = weechat_gettext("any string")." (".weechat_gettext("max chars").": ".$max.")" if ($max > 1);
$default_value = "\"".escape_string($default_value)."\"";
}
if ($type eq "color")
{
$values = $d->get("a color name");
$values = weechat_gettext("a color name");
}
print FILE "* *".$config.".".$section.".".$option."*\n";
print FILE "** ".$d->get("description").": ".$description."\n";
print FILE "** ".$d->get("type").": ".$type_nls."\n";
print FILE "** ".$d->get("values").": ".$values." "
."(".$d->get("default value").": ".$default_value.")\n\n";
print FILE "** ".weechat_gettext("description").": `".$description."`\n";
print FILE "** ".weechat_gettext("type").": ".$type_nls."\n";
print FILE "** ".weechat_gettext("values").": ".$values." "
."(".weechat_gettext("default value").": `".$default_value."`)\n";
if ($null_value_allowed eq 1)
{
print FILE "** ".weechat_gettext("undefined value allowed (null)")."\n";
}
print FILE "\n";
}
}
#weechat::print("", "docgen: file ok: '$filename'");
@@ -453,18 +527,22 @@ sub docgen
$filename = $dir."plugin_api/infos.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "[width=\"100%\",cols=\"^1,^2,6,6\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
." | ".weechat_gettext("Description")." | ".weechat_gettext("Arguments")."\n\n";
foreach my $plugin (sort keys %plugin_infos)
{
foreach my $info (sort keys %{$plugin_infos{$plugin}})
{
my $description = $plugin_infos{$plugin}{$info}{"description"};
$description = $d->get($description) if ($description ne "");
my $args_description = $plugin_infos{$plugin}{$info}{"args_description"};
$args_description = $d->get($args_description) if ($args_description ne "");
$args_description = "-" if ($args_description eq "");
print FILE "| ".escape_table($plugin)." | ".escape_table($info)
." | ".escape_table($description)."\n\n";
." | ".escape_table($description)." | ".escape_table($args_description)."\n\n";
}
}
print FILE "|========================================\n";
@@ -489,22 +567,80 @@ sub docgen
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
# write infos (hashtable) hooked
$filename = $dir."plugin_api/infos_hashtable.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"100%\",cols=\"^1,^2,6,6,6\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
." | ".weechat_gettext("Description")." | ".weechat_gettext("Hashtable (input)")
." | ".weechat_gettext("Hashtable (output)")."\n\n";
foreach my $plugin (sort keys %plugin_infos_hashtable)
{
foreach my $info (sort keys %{$plugin_infos_hashtable{$plugin}})
{
my $description = $plugin_infos_hashtable{$plugin}{$info}{"description"};
$description = $d->get($description) if ($description ne "");
my $args_description = $plugin_infos_hashtable{$plugin}{$info}{"args_description"};
$args_description = $d->get($args_description) if ($args_description ne "");
$args_description = "-" if ($args_description eq "");
my $output_description = $plugin_infos_hashtable{$plugin}{$info}{"output_description"};
$output_description = $d->get($output_description) if ($output_description ne "");
$output_description = "-" if ($output_description eq "");
print FILE "| ".escape_table($plugin)." | ".escape_table($info)
." | ".escape_table($description)." | ".escape_table($args_description)
." | ".escape_table($output_description)."\n\n";
}
}
print FILE "|========================================\n";
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_infos_hashtable_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_infos_hashtable++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
# write infolists hooked
$filename = $dir."plugin_api/infolists.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "[width=\"100%\",cols=\"^1,^2,5,5,5\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
." | ".weechat_gettext("Description")." | ".weechat_gettext("Pointer")
." | ".weechat_gettext("Arguments")."\n\n";
foreach my $plugin (sort keys %plugin_infolists)
{
foreach my $infolist (sort keys %{$plugin_infolists{$plugin}})
{
my $description = $plugin_infolists{$plugin}{$infolist}{"description"};
$description = $d->get($description) if ($description ne "");
my $pointer_description = $plugin_infolists{$plugin}{$infolist}{"pointer_description"};
$pointer_description = $d->get($pointer_description) if ($pointer_description ne "");
$pointer_description = "-" if ($pointer_description eq "");
my $args_description = $plugin_infolists{$plugin}{$infolist}{"args_description"};
$args_description = $d->get($args_description) if ($args_description ne "");
$args_description = "-" if ($args_description eq "");
print FILE "| ".escape_table($plugin)." | ".escape_table($infolist)
." | ".escape_table($description)."\n\n";
." | ".escape_table($description)." | ".escape_table($pointer_description)
." | ".escape_table($args_description)."\n\n";
}
}
print FILE "|========================================\n";
@@ -535,7 +671,8 @@ sub docgen
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
." | ".weechat_gettext("Description")."\n\n";
foreach my $plugin (sort keys %plugin_completions)
{
foreach my $completion_item (sort keys %{$plugin_completions{$plugin}})
@@ -574,20 +711,24 @@ sub docgen
weechat::print("", weechat::prefix("error")."docgen error: directory '$dir' does not exist");
}
my $total_files = $num_files_commands + $num_files_options
+ $num_files_infos + $num_files_infolists + $num_files_completions;
+ $num_files_infos + $num_files_infos_hashtable
+ $num_files_infolists + $num_files_completions;
my $total_files_updated = $num_files_commands_updated
+ $num_files_options_updated + $num_files_infos_updated
+ $num_files_infolists_updated + $num_files_completions_updated;
+ $num_files_infos_hashtable_updated + $num_files_infolists_updated
+ $num_files_completions_updated;
weechat::print("", "docgen: ".$locale.": ".$total_files." files ("
.$num_files_commands." cmd, "
.$num_files_options." opt, "
.$num_files_infos." infos, "
.$num_files_infos." infos (hashtable), "
.$num_files_infolists." infolists, "
.$num_files_completions." complt) -- "
.$total_files_updated." updated ("
.$num_files_commands_updated." cmd, "
.$num_files_options_updated." opt, "
.$num_files_infos_updated." infos, "
.$num_files_infos_hashtable_updated." infos (hashtable), "
.$num_files_infolists_updated." infolists, "
.$num_files_completions_updated." complt)");
}
@@ -597,3 +738,14 @@ sub docgen
return weechat::WEECHAT_RC_OK;
}
sub docgen_completion
{
my ($data, $completion_item, $buffer, $completion) = ($_[0], $_[1], $_[2], $_[3]);
foreach my $locale (@all_locale_list)
{
weechat::hook_completion_list_add($completion, $locale, 0, weechat::WEECHAT_LIST_POS_SORT);
}
return weechat::WEECHAT_RC_OK;
}
+19 -16
View File
@@ -1,83 +1,86 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.en.html"
)
ADD_CUSTOM_TARGET(doc-user-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html DESTINATION share/doc/${PROJECT_NAME})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# plugin API reference
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
COMMENT "Building weechat_plugin_api.en.html"
)
ADD_CUSTOM_TARGET(doc-plugin-api-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION share/doc/${PROJECT_NAME})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
COMMENT "Building weechat_scripting.en.html"
)
ADD_CUSTOM_TARGET(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION share/doc/${PROJECT_NAME})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
COMMENT "Building weechat_faq.en.html"
)
ADD_CUSTOM_TARGET(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION share/doc/${PROJECT_NAME})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
COMMENT "Building weechat_quickstart.en.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION share/doc/${PROJECT_NAME})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
COMMENT "Building weechat_tester.en.html"
)
ADD_CUSTOM_TARGET(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION share/doc/${PROJECT_NAME})
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
+22 -18
View File
@@ -1,30 +1,34 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_user.en.txt \
weechat_plugin_api.en.txt \
weechat_scripting.en.txt \
weechat_faq.en.txt \
weechat_quickstart.en.txt \
weechat_tester.en.txt \
$(wildcard autogen/user/*.txt) \
$(wildcard autogen/plugin_api/*.txt)
weechat_user.en.txt \
weechat_plugin_api.en.txt \
weechat_scripting.en.txt \
weechat_faq.en.txt \
weechat_quickstart.en.txt \
weechat_tester.en.txt \
$(wildcard autogen/user/*.txt) \
$(wildcard autogen/plugin_api/*.txt)
all-local: weechat_user.en.html \
weechat_plugin_api.en.html \
@@ -35,27 +39,27 @@ all-local: weechat_user.en.html \
# user's guide
weechat_user.en.html: weechat_user.en.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_user.en.html weechat_user.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_user.en.html weechat_user.en.txt
# plugin API reference
weechat_plugin_api.en.html: weechat_plugin_api.en.txt $(wildcard autogen/plugin_api/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_plugin_api.en.html weechat_plugin_api.en.txt
$(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_plugin_api.en.html weechat_plugin_api.en.txt
# scripting guide
weechat_scripting.en.html: weechat_scripting.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_scripting.en.html weechat_scripting.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_scripting.en.html weechat_scripting.en.txt
# FAQ
weechat_faq.en.html: weechat_faq.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.en.html weechat_faq.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_faq.en.html weechat_faq.en.txt
# quickstart
weechat_quickstart.en.html: weechat_quickstart.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.en.html weechat_quickstart.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_quickstart.en.html weechat_quickstart.en.txt
# tester's guide
weechat_tester.en.html: weechat_tester.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.en.html weechat_tester.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_tester.en.html weechat_tester.en.txt
# install docs
+26 -3
View File
@@ -1,7 +1,10 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Plugin | Name | Description
| alias | alias | list of alias
| alias | alias | list of aliases
| alias | alias_value | value of alias
| aspell | aspell_langs | list of supported langs for aspell
@@ -11,20 +14,26 @@
| irc | irc_channel_topic | topic of current IRC channel
| irc | irc_channels | IRC channels (on all servers)
| irc | irc_channels | channels on all IRC servers
| irc | irc_ignores_numbers | numbers for defined ignores
| irc | irc_msg_part | default part message for IRC channel
| irc | irc_privates | IRC privates (on all servers)
| irc | irc_notify_nicks | nicks in notify list
| irc | irc_privates | privates on all IRC servers
| irc | irc_server | current IRC server
| irc | irc_server_channels | channels on current IRC server
| irc | irc_server_nick | nick on current IRC server
| irc | irc_server_nicks | nicks on all channels of current IRC server
| irc | irc_server_privates | privates on current IRC server
| irc | irc_servers | IRC servers (internal names)
| irc | nick | nicks of current IRC channel
@@ -35,6 +44,14 @@
| python | python_script | list of scripts
| relay | relay_free_port | first free port for relay plugin
| relay | relay_protocol_name | all possible protocol.name for relay plugin
| relay | relay_relays | protocol.name of current relays for relay plugin
| rmodifier | rmodifier | list of rmodifiers
| ruby | ruby_script | list of scripts
| tcl | tcl_script | list of scripts
@@ -43,6 +60,10 @@
| weechat | bars_options | options for bars
| weechat | buffer_properties_get | properties that can be read on a buffer
| weechat | buffer_properties_set | properties that can be set on a buffer
| weechat | buffers_names | names of buffers
| weechat | buffers_numbers | numbers of buffers
@@ -67,6 +88,8 @@
| weechat | keys_codes | key codes
| weechat | keys_codes_for_reset | key codes that can be reset (keys added, redefined or removed)
| weechat | nicks | nicks in nicklist of current buffer
| weechat | plugins_commands | commands defined by plugins
+34 -29
View File
@@ -1,58 +1,63 @@
[width="65%",cols="^1,^2,8",options="header"]
[width="100%",cols="^1,^2,5,5,5",options="header"]
|========================================
| Plugin | Name | Description
| alias | alias | list of alias
| Plugin | Name | Description | Pointer | Arguments
| irc | irc_channel | list of channels for an IRC server
| alias | alias | list of aliases | alias pointer (optional) | alias name (can start or end with "*" as wildcard) (optional)
| irc | irc_ignore | list of IRC ignores
| irc | irc_channel | list of channels for an IRC server | channel pointer (optional) | server,channel (channel is optional)
| irc | irc_nick | list of nicks for an IRC channel
| irc | irc_ignore | list of IRC ignores | ignore pointer (optional) | -
| irc | irc_server | list of IRC servers
| irc | irc_nick | list of nicks for an IRC channel | nick pointer (optional) | server,channel,nick (channel and nick are optional)
| logger | logger_buffer | list of logger buffers
| irc | irc_notify | list of notify | notify pointer (optional) | server name (can start or end with "*" as wildcard) (optional)
| lua | lua_script | list of lua scripts
| irc | irc_server | list of IRC servers | server pointer (optional) | server name (can start or end with "*" as wildcard) (optional)
| perl | perl_script | list of perl scripts
| logger | logger_buffer | list of logger buffers | logger pointer (optional) | -
| python | python_script | list of python scripts
| lua | lua_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| relay | relay | list of relay clients
| perl | perl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| ruby | ruby_script | list of ruby scripts
| python | python_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| tcl | tcl_script | list of tcl scripts
| relay | relay | list of relay clients | relay pointer (optional) | -
| weechat | bar | list of bars
| rmodifier | rmodifier | list of rmodifiers | rmodifier pointer (optional) | rmodifier name (can start or end with "*" as joker) (optional)
| weechat | bar_item | list of bar items
| ruby | ruby_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| weechat | bar_window | list of bar windows
| tcl | tcl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| weechat | buffer | list of buffers
| weechat | bar | list of bars | bar pointer (optional) | bar name (can start or end with "*" as wildcard) (optional)
| weechat | buffer_lines | lines of a buffer
| weechat | bar_item | list of bar items | bar item pointer (optional) | bar item name (can start or end with "*" as wildcard) (optional)
| weechat | filter | list of filters
| weechat | bar_window | list of bar windows | bar window pointer (optional) | -
| weechat | history | history of commands
| weechat | buffer | list of buffers | buffer pointer (optional) | buffer name (can start or end with "*" as wildcard) (optional)
| weechat | hook | list of hooks
| weechat | buffer_lines | lines of a buffer | buffer pointer | -
| weechat | hotlist | list of buffers in hotlist
| weechat | filter | list of filters | - | filter name (can start or end with "*" as wildcard) (optional)
| weechat | key | list of key bindings
| weechat | history | history of commands | buffer pointer (if not set, return global history) (optional) | -
| weechat | nicklist | nicks in nicklist for a buffer
| weechat | hook | list of hooks | - | hook type: command, timer, .. (optional)
| weechat | option | list of options
| weechat | hotlist | list of buffers in hotlist | - | -
| weechat | plugin | list of plugins
| weechat | key | list of key bindings | - | -
| weechat | window | list of windows
| weechat | nicklist | nicks in nicklist for a buffer | buffer pointer | nick_xxx or group_xxx to get only nick/group xxx (optional)
| xfer | xfer | list of xfer
| weechat | option | list of options | - | option name (can start or end with "*" as wildcard) (optional)
| weechat | plugin | list of plugins | plugin pointer (optional) | plugin name (can start or end with "*" as wildcard) (optional)
| weechat | window | list of windows | window pointer (optional) | window name (can start or end with "*" as wildcard) (optional)
| xfer | xfer | list of xfer | xfer pointer (optional) | -
|========================================
+37 -18
View File
@@ -1,36 +1,55 @@
[width="65%",cols="^1,^2,8",options="header"]
[width="100%",cols="^1,^2,6,6",options="header"]
|========================================
| Plugin | Name | Description
| fifo | fifo_filename | name of FIFO pipe
| Plugin | Name | Description | Arguments
| irc | irc_buffer | get buffer pointer for an IRC server/channel
| fifo | fifo_filename | name of FIFO pipe | -
| irc | irc_is_channel | 1 if string is an IRC channel
| irc | irc_buffer | get buffer pointer for an IRC server/channel/nick | server,channel,nick (channel and nicks are optional)
| irc | irc_nick | get current nick on a server
| irc | irc_is_channel | 1 if string is a valid IRC channel name | channel name
| irc | irc_nick_from_host | get nick from IRC host
| irc | irc_is_nick | 1 if string is a valid IRC nick name | nickname
| weechat | charset_internal | WeeChat internal charset
| irc | irc_nick | get current nick on a server | server name
| weechat | charset_terminal | terminal charset
| irc | irc_nick_color | get nick color code | nickname
| weechat | date | WeeChat compilation date
| irc | irc_nick_color_name | get nick color name | nickname
| weechat | dir_separator | directory separator
| irc | irc_nick_from_host | get nick from IRC host | IRC host (like `:nick!name@server.com`)
| weechat | filters_enabled | 1 if filters are enabled
| irc | irc_server_isupport | 1 if server supports this feature (from IRC message 005) | server,feature
| weechat | inactivity | keyboard inactivity (seconds)
| irc | irc_server_isupport_value | value of feature, if supported by server (from IRC message 005) | server,feature
| weechat | version | WeeChat version
| python | python2_bin | path to python 2.x interpreter | -
| weechat | weechat_dir | WeeChat directory
| weechat | charset_internal | WeeChat internal charset | -
| weechat | weechat_libdir | WeeChat "lib" directory
| weechat | charset_terminal | terminal charset | -
| weechat | weechat_localedir | WeeChat "locale" directory
| weechat | date | WeeChat compilation date | -
| weechat | weechat_sharedir | WeeChat "share" directory
| weechat | dir_separator | directory separator | -
| weechat | filters_enabled | 1 if filters are enabled | -
| weechat | inactivity | keyboard inactivity (seconds) | -
| weechat | version | WeeChat version | -
| weechat | version_number | WeeChat version (as number) | -
| weechat | weechat_dir | WeeChat directory | -
| weechat | weechat_libdir | WeeChat "lib" directory | -
| weechat | weechat_localedir | WeeChat "locale" directory | -
| weechat | weechat_sharedir | WeeChat "share" directory | -
| weechat | weechat_site | WeeChat site | -
| weechat | weechat_site_download | WeeChat site, download page | -
|========================================
@@ -0,0 +1,7 @@
[width="100%",cols="^1,^2,6,6,6",options="header"]
|========================================
| Plugin | Name | Description | Hashtable (input) | Hashtable (output)
| irc | irc_parse_message | parse an IRC message | "message": IRC message | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
|========================================
+23 -4
View File
@@ -1,15 +1,34 @@
&bull; *`/alias`* `[alias_name [command [arguments]]]`::
&bull; *`/alias`* `[[-completion completion] alias_name [command [arguments]]]`::
........................................
create an alias for a command
alias_name: name of alias
completion: completion for alias (optional, by default completion is done with target command)
alias_name: name of alias (can start or end with "*" for alias listing)
command: command name (many commands can be separated by semicolons)
arguments: arguments for command
Without argument, this command lists all defined alias.
Note: in command, special variables $1, $2,..,$9 are replaced by arguments given by user, and $* is replaced by all arguments.
Variables $nick, $channel and $server are replaced by current nick/channel/server.
Note: in command, special variables are replaced:
$n: argument 'n' (between 1 and 9)
$-m: arguments from 1 to 'm'
$n-: arguments from 'n' to last
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$nick: current nick
$channel: current channel
$server: current server
To remove an alias, use command /unalias.
Examples:
alias /split to split window horizontally:
/alias split /window splith
alias /hello to say "hello" on all channels but not on #weechat:
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+12 -12
View File
@@ -1,30 +1,30 @@
* *aspell.check.commands*
** description: comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)
** description: `comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)`
** type: string
** values: any string (default value: "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic")
** values: any string (default value: `"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"`)
* *aspell.check.default_dict*
** description: default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable aspell on buffers for which you didn't explicitly enabled it)
** description: `default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable aspell on buffers for which you didn't explicitly enabled it)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *aspell.check.during_search*
** description: check words during text search in buffer
** description: `check words during text search in buffer`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *aspell.check.real_time*
** description: real-time spell checking of words (slower, disabled by default: words are checked only if there's delimiter after)
** description: `real-time spell checking of words (slower, disabled by default: words are checked only if there's delimiter after)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *aspell.check.word_min_length*
** description: minimum length for a word to be spell checked (use 0 to check all words)
** description: `minimum length for a word to be spell checked (use 0 to check all words)`
** type: integer
** values: 0 .. 2147483647 (default value: 2)
** values: 0 .. 2147483647 (default value: `2`)
* *aspell.look.color*
** description: color used for misspelled words
** description: `color used for misspelled words`
** type: color
** values: a color name (default value: lightred)
** values: a color name (default value: `lightred`)
+4 -4
View File
@@ -1,10 +1,10 @@
* *charset.default.decode*
** description: global decoding charset
** description: `global decoding charset`
** type: string
** values: any string (default value: "iso-8859-1")
** values: any string (default value: `"iso-8859-1"`)
* *charset.default.encode*
** description: global encoding charset
** description: `global encoding charset`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
+1 -1
View File
@@ -35,7 +35,7 @@
&bull; *`/demo_printf`* `[text]`::
........................................
print some messages on current ubffer
print some messages on current buffer
text: write this text
........................................

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