1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-13 22:54:47 +02:00

Compare commits

...

629 Commits

Author SHA1 Message Date
Sebastien Helleu 7785f7ea22 Version 0.4.2 2013-10-06 08:58:14 +02:00
Sebastien Helleu 0cef9a220d core: fix detection of python on Cygwin (autotools) 2013-10-05 20:23:07 +02:00
Sebastien Helleu 8fb67c241d core: add detection of pkg-config (required on Cygwin)
This fixes the detection of enchant lib, the macro PKG_CHECK_MODULES requires
pkg-config.
2013-10-05 20:19:59 +02:00
Sebastien Helleu b5f6874f2c core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am in plugins
This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-10-05 20:17:18 +02:00
Sebastien Helleu a6c188ce4f relay: fix decoding of websocket frames when there are multiple frames in a single message received (only the first one was decoded) 2013-10-05 16:49:39 +02:00
Sebastien Helleu 7bf712d4c9 core: fix display of read marker after buffer switch when there is no line displayed after (only filtered lines) 2013-10-05 10:19:48 +02:00
Sebastien Helleu 1583ca88e5 irc: use "private" notify for welcome notices displayed in channel (like when they are displayed in server buffer) 2013-10-05 10:19:15 +02:00
Sebastien Helleu 5a119bb0f1 irc: remove target of notice (self nick) in the display of channel welcome notice (fix highlight problem) 2013-10-05 08:12:08 +02:00
Sebastien Helleu 86008b8502 irc: display target of notice when it is displayed in channel
With the new option irc.look.notice_welcome_redirect, a private notice could
have a channel at beginning of message (with format "[#channel]") and then be
displayed on the channel, without difference with a real channel notice
(received by all nicks in channel).

For example with these commands:

  /notice nick2 [#channel] private notice
  /notice #channel notice for whole channel

Old display was (on receiver side, in #channel):

  -- | Notice(nick1): private notice
  -- | Notice(nick1): notice for whole channel

New display is:

  -- | Notice(nick1) -> nick2: private notice
  -- | Notice(nick1) -> #channel: notice for whole channel
2013-10-04 14:07:08 +02:00
Sebastien Helleu 22b53c6019 irc: fix reconnection to server using IPv6 (bug #38819, bug #40166) 2013-10-03 19:46:53 +02:00
Sebastien Helleu 32f2ec42c6 core: replace some code by calls to function gui_chat_clrtoeol() 2013-10-02 16:24:03 +02:00
Sebastien Helleu 42dce54812 core: fix spaces displayed after combining chars (bug #40115) 2013-10-02 08:03:22 +02:00
Sebastien Helleu 4e67133b9e core: fix typo in a french error message for /window merge 2013-10-02 07:59:14 +02:00
Sebastien Helleu 437ebb69d4 core: clear whole line before displaying content instead of clearing after the end of content (bug #40115) 2013-09-30 19:26:09 +02:00
Marco Paolone fdafdf147a core: update italian translations 2013-09-30 17:46:27 +02:00
Sebastien Helleu d33caa6ac5 doc: update german auto-generated file with IRC options 2013-09-30 17:43:50 +02:00
Sebastien Helleu 15173364c0 core: fix display of read marker (as horizontal line) or day change message after last buffer line when scrolling (bug #40126) 2013-09-30 16:02:02 +02:00
Sebastien Helleu 8b966d1c7e core: fix time displayed in status bar (it was one second late) (bug #40097) 2013-09-24 22:55:27 +02:00
Sebastien Helleu ad5a287134 core: fix extension (.exe) of symbolic link "weechat-curses" under Cygwin 2013-09-23 18:07:15 +02:00
Sebastien Helleu 92019c300c core: replace some calls to ncurses *printw functions by *addstr 2013-09-23 13:07:45 +02:00
Sebastien Helleu 81a229f77f core: fix errors in spanish translations 2013-09-23 10:04:35 +02:00
Nils Görs 0249666489 core: update german translations 2013-09-21 11:45:39 +02:00
Sebastien Helleu 1deba9894e Version 0.4.2-rc2 2013-09-20 23:22:40 +02:00
Nils Görs 474a498b48 core: update german translations 2013-09-20 23:10:04 +02:00
Sebastien Helleu a9ca95241d aspell: fix detection of word start/end when there are apostrophes or minus chars before/after word (thanks to Nils Görs) 2013-09-20 19:31:34 +02:00
Sebastien Helleu 2fcdba1332 irc: add extra info in /help irc.look.smart_filter_delay 2013-09-20 16:47:34 +02:00
Sebastien Helleu 1b9b2434f6 doc: add plugin "script" in list of plugins (user's guide) 2013-09-20 15:34:24 +02:00
Sebastien Helleu 7f27d88ca6 core: add proxy options username/password in /help secure 2013-09-20 10:27:08 +02:00
Nils Görs 1aaf9440b8 core: update german translations 2013-09-19 16:40:37 +02:00
Sebastien Helleu 2110c6d92e core: add support of secured data in proxy options username/password (evaluate content) 2013-09-19 15:12:04 +02:00
Sebastien Helleu 087e9cc008 irc: add note about evaluated content of "password" server option 2013-09-19 15:12:04 +02:00
Sebastien Helleu e900579fba relay: add support of secured data in option relay.network.password (evaluate content) (patch from Nils Görs) 2013-09-19 15:11:51 +02:00
Sebastien Helleu 252feedde4 core: fix memory leak on unhook of a print hook (if using tags) 2013-09-19 10:19:29 +02:00
Nils Görs 266b9e1e2a core: update german translations 2013-09-17 07:27:49 +02:00
Sebastien Helleu f620249193 doc: fix typo in french user's guide 2013-09-17 07:26:31 +02:00
Ivan Sichmann Freitas 556d324756 core: update portuguese translations 2013-09-16 11:24:45 +02:00
Sebastien Helleu facccc81ef doc: fix typos in french translations and docs 2013-09-16 11:04:10 +02:00
Nils Görs cb77e7c5db doc: update german translations, FAQ and user's guide 2013-09-05 07:31:42 +02:00
Sebastien Helleu 9c36b7c693 core: rename options weechat.look.day_change_message(2) to weechat.look.day_change_message_{1date|2dates} 2013-09-03 10:27:14 +02:00
Sebastien Helleu 14c958a0e6 Version 0.4.2-rc1 2013-09-02 21:43:35 +02:00
Krzysztof Koroscik 9ebe6455b7 core: update polish translations 2013-09-02 21:16:37 +02:00
Sebastien Helleu daf535c9af core: fix computation of columns in output of /help (take care about size of time/buffer/prefix) 2013-09-02 18:56:58 +02:00
Sebastien Helleu 0409faee7f Merge branch 'shared-strings' 2013-09-02 15:24:20 +02:00
Krzysztof Koroscik 218b2c2df5 doc: update polish FAQ and scripting guide 2013-09-02 08:59:54 +02:00
Nils Görs 7ffff58625 core: update german translations 2013-09-02 08:56:10 +02:00
Sebastien Helleu bdd6bb5a69 core: add option weechat.look.day_change_message2 in file NEWS 2013-09-02 08:52:08 +02:00
Sebastien Helleu 0d8bd7f1e6 core: add option weechat.look.day_change_message2
The new option weechat.look.day_change_message2 is used to display day change
between two messages, with two dates: the new one, and the old one.

Example:

-- Mon, 02 Sep 2013 (Thu, 22 Aug 2013) --
2013-09-02 08:39:06 +02:00
Sebastien Helleu 410caef273 doc: remove "required" for password option in command "init" (relay protocol) 2013-08-31 07:46:48 +02:00
Sebastien Helleu c03532bb6a doc: use one line titles in japanese man page
The compilation was failing with asciidoc 8.5.2 (on Debian Squeeze).
2013-08-30 07:23:44 +02:00
Ryuunosuke Ayanokouzi 875d544a85 doc: update japanese translations and docs 2013-08-29 16:09:07 +02:00
Sebastien Helleu 55f1bbcd07 irc: fix extraction of channel name in notice (when message starts with "[]") 2013-08-29 07:59:25 +02:00
Sebastien Helleu 0806f1ad7e core: fix automatic scroll to bottom of buffer when day change is displayed before first line of buffer 2013-08-28 23:27:04 +02:00
Sebastien Helleu 75cc0b0a77 irc: add option irc.look.notice_welcome_redirect to automatically redirect channel welcome notices to the channel buffer 2013-08-28 21:39:21 +02:00
Sebastien Helleu fb51fb6052 logger: add option "flush" for command /logger 2013-08-26 18:21:16 +02:00
Sebastien Helleu 86e7d95b9c core: fix evaluation of expressions with parentheses
First evaluate sub-expressions between parentheses.

Before the fix:
>> 1 && (0 || 0)
== [1]

After the fix:
>> 1 && (0 || 0)
== [0]
2013-08-25 13:34:51 +02:00
Sebastien Helleu f250be4aa8 core: add note about color codes "${color:xxx}" in /help weechat.look.day_change_message 2013-08-25 12:40:09 +02:00
Sebastien Helleu 03b6b4c1cf core: display day change message dynamically (do not store it as a line in buffer) (task #12775)
Changes in options:
- rename option weechat.look.day_change_time_format to weechat.look.day_change_message
  (color codes are allowed in this option)
- new option weechat.color.chat_day_change.
2013-08-25 09:39:59 +02:00
Sebastien Helleu 73f2c2c488 core: fix uncontrolled format string when displaying bufferized lines on startup (lines waiting for core buffer) 2013-08-22 23:06:30 +02:00
Sebastien Helleu fc1e35fb48 core: display an error message when "/buffer notify xxx" fails (with a wrong notify level) 2013-08-21 11:18:52 +02:00
Sebastien Helleu 64bbb327bb core: improve help of command /away 2013-08-20 14:30:50 +02:00
Sebastien Helleu 12a37a9075 core: update translations 2013-08-20 14:27:11 +02:00
Sebastien Helleu b47af3c61e core: fix buffer returned in focus info for bar items with a forced buffer 2013-08-20 11:42:12 +02:00
Sebastien Helleu eac1ca929b core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717) 2013-08-19 21:22:10 +02:00
Sebastien Helleu 9990917cc7 doc: update german auto-generated files 2013-08-18 20:00:14 +02:00
Nils Görs 92d5cece39 doc: update german translations and user's guide 2013-08-18 19:04:49 +02:00
Sebastien Helleu 39faaa7dbe irc: replace default prefix modes "qaohvu" by the standard ones "ov" when PREFIX is not sent by server (bug #39802) 2013-08-18 10:56:17 +02:00
Sebastien Helleu f277d072d5 core: add split of IRC messages for commands (de)op/halfop/voice in ChangeLog 2013-08-18 09:26:22 +02:00
Sebastien Helleu a4f789810a core: use shared strings for groups/nicks in nicklist 2013-08-17 18:14:31 +02:00
Sebastien Helleu af12457a13 core: use shared strings for prefix on lines
It can reduce by about 10% the memory used for lines in a buffer.
2013-08-17 17:47:38 +02:00
Sebastien Helleu cc1523b654 core: add commment in function string_shared_get (returned value must not be changed) 2013-08-17 17:44:10 +02:00
Sebastien Helleu 5916594441 doc: capitalize first word of text in table cells 2013-08-17 16:38:28 +02:00
Sebastien Helleu 600ee3ddf3 core: add search of regular expression in buffer, don't reset search type on a new search, select where to search (messages/prefixes)
Key changed in search context:
- ctrl+"r": switch search type: string/regex

New keys in search context:
- alt+"c": case (in)sensitive search
- tab: search in messages/prefixes/both
2013-08-17 11:51:50 +02:00
Sebastien Helleu c624960336 core: add text emphasis in messages when searching text in buffer
New options:
- weechat.look.emphasized_attributes
- weechat.color.emphasized
- weechat.color.emphasized_bg
2013-08-16 16:16:37 +02:00
Sebastien Helleu 170acfe6f2 core: remove obsolete enum t_config_look_nicklist 2013-08-15 17:59:17 +02:00
Sebastien Helleu db05104f64 doc: fix emphasized text in plugin API reference and relay protocol 2013-08-14 17:26:37 +02:00
Sebastien Helleu ea124f4158 core: fix typo in french translation of /help upgrade 2013-08-12 20:44:37 +02:00
Sebastien Helleu 7e0ae094cc core: add comment with return value of function string_regcomp 2013-08-12 10:51:49 +02:00
Nils Görs 7dea560ff5 doc: update german translations, scripting and user guide 2013-08-12 09:04:00 +02:00
Sebastien Helleu ca7bb9a069 core: add note about "strftime" in help of options weechat.look.day_change_time_format and weechat.look.time_format 2013-08-11 20:04:07 +02:00
Sebastien Helleu 21caea83f5 doc: add "oauth" for IRC connection in FAQ 2013-08-10 23:00:28 +02:00
Sebastien Helleu 674403f734 core: use shared strings for tags on lines
It can reduce by about 30% the memory used for lines in a buffer.
2013-08-10 18:20:49 +02:00
Sebastien Helleu c46d7e44f1 core: add support of shared strings in split of strings (add functions string_split_shared and string_free_split_shared) 2013-08-10 18:20:49 +02:00
Sebastien Helleu 49aacc853c core: add shared strings to reduce memory usage
Shared strings are stored in a hashtable with pointer for keys (values are not
used).

The key has a reference count + the string.
The initial reference count is set to 1 and is incremented each time the same
string is asked.

When removing a shared string, the reference count is decremented.
If it becomes 0, then the shared string is removed from the hashtable (and then
the string is really destroyed).
2013-08-10 18:20:49 +02:00
Sebastien Helleu 784de68a5f core: fix random crash on "/buffer close" with a buffer number (or a range of buffers) 2013-08-10 18:18:01 +02:00
Sebastien Helleu 6714d6fc82 core: optimize the removal of lines in buffers (a lot faster to clear/close buffers with lot of lines)
The update of variables "buffer_max_length" and "prefix_max_length" in struct
t_gui_lines is now delayed and made during the main refresh (in main loop).

For a buffer with 50K lines, it is up to 3300 times faster to clear/close it.
For a buffer with 4096 lines (default limit), it is up to 120 times faster.
2013-08-10 17:18:12 +02:00
Sebastien Helleu a5cbfdf7fd core: update ChangeLog with changes on hashtables 2013-08-10 09:38:02 +02:00
Sebastien Helleu d12c9efdbc core: change type of hashtable key hash to unsigned long, return item pointer in functions hashtable_set(_with_size)
The key hash has been changed from unsigned int to unsigned long, and now the
callback can return any value (not only between 0 and size-1), the modulo is
computed after the call to the callback by the hashtable functions.

Functions hashtable_set and hashtable_set_with_size were returning 1 if OK,
0 if error. Now they return pointer to hashtable item, or NULL if error.
2013-08-10 09:35:06 +02:00
Sebastien Helleu e407c41c5c core: check that value is not NULL before calling free in hashtable_free_value 2013-08-09 23:06:41 +02:00
Sebastien Helleu abb574ec4e core: add "callback_free_key" in hashtable 2013-08-09 23:00:12 +02:00
Sebastien Helleu 72c1af25e0 core: set "callback_free_value" directly in hashtable without calling function hashtable_set_pointer 2013-08-09 22:54:06 +02:00
Sebastien Helleu d466a86efc core: fix typo coeur -> cœur (in french) 2013-08-08 09:39:54 +02:00
Sebastien Helleu 721478fe5b doc: add description of sections in configuration files (user's guide) 2013-08-07 22:04:32 +02:00
Sebastien Helleu 766273ac99 core: remove symbolic link "weechat-curses" on make uninstall (cmake and autotools) 2013-08-07 10:20:42 +02:00
Sebastien Helleu e8122773b8 core: use $DESTDIR on make uninstall with cmake 2013-08-07 10:11:24 +02:00
Sebastien Helleu e5de0cd0e8 core: fix typo in comment for creation of symbolic link "weechat-curses" 2013-08-07 09:32:37 +02:00
Sebastien Helleu da66a343b3 core: fix typo in /help secure 2013-08-07 08:27:28 +02:00
Sebastien Helleu c4c66923f5 core: update dependencies in INSTALL 2013-08-06 20:59:12 +02:00
Sebastien Helleu 3a2d2d6b03 core: use $DESTDIR when creating symbolic link "weechat-curses" with cmake 2013-08-06 20:57:23 +02:00
Sebastien Helleu f0cd7a994a core: add new rmodifier in file NEWS 2013-08-05 20:43:40 +02:00
Sebastien Helleu c4773e63d8 rmodifier: add option "missing" for command /rmodifier 2013-08-05 20:37:59 +02:00
Sebastien Helleu 227f8ac604 core: fix uninitialized variable "result" in callback of command /eval 2013-08-04 12:51:01 +02:00
Sebastien Helleu f22b0311b9 core: change colors of example in /help weechat.look.buffer_time_format 2013-08-04 12:48:06 +02:00
Sebastien Helleu 390443112c core: optimize creation of hashtable "pointers" in eval_expression if argument is NULL
The hashtable is created on first call to eval_expression with pointers == NULL.
On next calls, the hashtable is cleared, then used again.
The hashtable is freed on exit.
2013-08-04 12:42:29 +02:00
Sebastien Helleu 2dff60d7f8 core: replace "behaviour" by "behavior" 2013-08-04 12:21:47 +02:00
Sebastien Helleu 8ca36552ea core: change color format for options from ${xxx} to ${color:xxx}
Options affected:
- weechat.look.buffer_time_format
- weechat.look.prefix_action
- weechat.look.prefix_error
- weechat.look.prefix_join
- weechat.look.prefix_network
- weechat.look.prefix_quit
2013-08-04 12:18:47 +02:00
Sebastien Helleu f486b84134 core: fix asciidoc formatting in ChangeLog 2013-08-04 11:14:51 +02:00
Sebastien Helleu 234c7506ad doc: remove option ENABLE_DEMO for cmake in user's guide (demo plugin has been removed) 2013-08-04 10:16:43 +02:00
Sebastien Helleu 6ea81f4c8c api: add support of colors with format "${color:xxx}" in function string_eval_expression and command /eval 2013-08-04 10:09:53 +02:00
Sebastien Helleu dc878c5b69 api: add argument "options" in function string_eval_expression, add option "-c" for command /eval (to evaluate a condition) 2013-08-04 08:56:56 +02:00
Sebastien Helleu b94a1ce59b doc: fix typo in examples for function bar_new (plugin API reference) 2013-08-03 22:11:04 +02:00
Sebastien Helleu 43e3ff3b1a core: change the message displayed when passphrase is not given on startup 2013-08-02 23:18:09 +02:00
Sebastien Helleu 5a07051f20 core: remove use of function gcry_kdf_derive so that it compiles with libgcrypt < 1.5.0
The key built with salt + passphrase has changed, so old encrypted data
in file sec.conf can not be decrypted with this new version.
2013-08-02 23:15:21 +02:00
Sebastien Helleu d6a19adc54 core: change the message displayed on /secure decrypt -discard 2013-08-02 23:04:23 +02:00
Sebastien Helleu 16b114b609 doc: add feature "secured data" for libgcrypt in dependencies (user's guide) 2013-08-02 21:32:11 +02:00
Sebastien Helleu a41bed395b core: add task #7395 in ChangeLog 2013-08-02 20:22:23 +02:00
Sebastien Helleu 26fcc66953 core: update translations 2013-08-02 20:16:47 +02:00
Sebastien Helleu 663de42284 Merge branch 'secured-data' 2013-08-02 19:19:25 +02:00
Sebastien Helleu fd5fc2e5a3 core: add platform-dependent extension on "weechat-curses" link (so that link is "weechat-curses.exe" on cygwin) 2013-08-02 18:40:40 +02:00
Sebastien Helleu 996da2f662 core: rename binary and man page from "weechat-curses" to "weechat" (task #11027)
A symbolic link weechat-curses -> weechat is now created (by both cmake and
configure), so that the /upgrade will work from an old version.

However, if you upgrade from an old version, it is recommended to force the use
of the new binary name with the command: `/upgrade /path/to/weechat` (replace
the path accordingly).
2013-08-02 08:54:16 +02:00
Sebastien Helleu f9d57a3099 core: fix compiler warning on freopen (ignore file returned) 2013-08-01 16:29:12 +02:00
Sebastien Helleu 8bff3225fd script: fix uninitialized pointer in detailed view of a script 2013-08-01 16:18:44 +02:00
Sebastien Helleu c0c76ad995 core: do not scroll when using /window {page_down|scroll_down} after /window scroll_beyond_end 2013-07-31 19:09:31 +02:00
Sebastien Helleu 35c3dbad63 plugins: remove the demo plugin 2013-07-31 18:56:32 +02:00
Sebastien Helleu 23add1ac14 core: add build of man page in debian/rules 2013-07-31 18:56:21 +02:00
Sebastien Helleu 3aed4ac11f core: do not build man page by default 2013-07-31 18:26:37 +02:00
Sebastien Helleu 91b7aec855 core: reset scroll after /window {page_down|scroll_down} if last line of buffer is displayed at bottom
A regression was introduced by commit bee56c3b7f
(/window scroll_beyond_end).

Scenario to reproduce the problem, for example on an IRC channel with a long
history (more than two pages):
  /window page_up
  /window page_down
  <type some text and send to channel>
It will display -MORE(1)- instead of automatically scrolling to bottom of
buffer.
2013-07-31 14:41:27 +02:00
Sebastien Helleu 261efe6299 core: add cmake option ENABLE_MAN to compile man page (on by default)
For configure, the option is "--disable-man".
2013-07-31 13:28:59 +02:00
Sebastien Helleu 9951902c7b irc: use 6697 as default port for SSL servers created with URL "ircs://" (bug #39621) 2013-07-30 19:51:23 +02:00
Sebastien Helleu ade379ac11 rmodifier: update default rmodifier for /secure (add option decrypt) 2013-07-30 12:17:11 +02:00
Sebastien Helleu 351674699c core: in case of empty passphrase, keep encrypted data in memory until the user runs /secure decrypt (with the good passphrase)
If user gives no passphrase (for example one space when prompted), the encrypted
data read in sec.conf will be stored in a separate hashtable.
While this hashtable contains something, it is not allowed to do any operation
on passphrase or secured data (and it is not allowed to reload sec.conf).
The user can decrypt data with /secure decrypt <passphrase>.
2013-07-30 12:16:44 +02:00
Sebastien Helleu b3923b65f1 core: use variable "items_count" directly from hashtable without calling function hashtable_get_integer 2013-07-30 10:10:37 +02:00
Sebastien Helleu 53fa3f770e irc: add note about evaluated content of option (for options allowing secured data inside) 2013-07-29 18:53:15 +02:00
Sebastien Helleu 7e64b9f1f9 core: add note about evaluated content of option (for options allowing secured data inside) 2013-07-29 18:53:04 +02:00
Sebastien Helleu 6206fd6818 core: update ChangeLog (add hdata with script callback) 2013-07-28 16:29:52 +02:00
Sebastien Helleu 4c2cffbd31 script: add info about things defined by script in the detailed view of script (/script show) 2013-07-28 16:17:27 +02:00
Sebastien Helleu 0e4eb69d33 api: use pointer for infolist "hook" to return only one hook 2013-07-28 12:40:08 +02:00
Sebastien Helleu 1a7037d9cb doc: update auto-generated files with WeeChat commands 2013-07-28 12:34:55 +02:00
Sebastien Helleu a668775ae3 core: add option sec.crypt.passphrase_file 2013-07-28 10:59:00 +02:00
Sebastien Helleu 8cd4bf3750 core: add option "-o" for command /color 2013-07-27 23:23:15 +02:00
Sebastien Helleu f3d537dd7a core: use two spaces to separate columns in /help, do not use columns when the commands fit on a single line 2013-07-27 22:44:42 +02:00
Sebastien Helleu ca1e0dde07 core: use default value for prefixes used in messages displayed before the interface is initialized 2013-07-27 22:31:36 +02:00
Sebastien Helleu f385aa8f8c irc: display number of ops/halfops/voices on channel join only for supported modes on server (bug #39582) 2013-07-27 20:37:04 +02:00
Sebastien Helleu 6be17ac263 api: add new function strlen_screen 2013-07-27 18:21:50 +02:00
Sebastien Helleu a490195032 core: add secured data with optional encryption in file sec.conf 2013-07-27 12:57:08 +02:00
Sebastien Helleu 50ab62b75d core: fix priority of logical operators in evaluation of expression
The AND ("&&") takes precedence over the OR ("||").

Before the fix:
>> 1 || 1 && 0
== [0]

After the fix:
>> 1 || 1 && 0
== [1]

Since the "&&" has higher priority, expression is evaluated as:
"1 || (1 && 0)".
2013-07-24 08:15:17 +02:00
Sebastien Helleu ea76cdb06e doc: fix typo in example for function string_eval_expression (plugin API reference) 2013-07-23 19:39:39 +02:00
Sebastien Helleu c14b1b5fae core: remove gap after read marker line when there is no bar on the right (bug #39548) 2013-07-22 18:25:35 +02:00
Sebastien Helleu f7f019887d aspell: rename option aspell.look.color to aspell.color.misspelled, add option aspell.color.suggestions 2013-07-20 19:27:51 +02:00
Sebastien Helleu 87e342dd9e core: add CA_FILE option in cmake and configure to setup default value of option weechat.network.gnutls_ca_file (task #12725) 2013-07-20 17:29:19 +02:00
Sebastien Helleu a3cc9bbe7e core: use gettext version 0.18 in configure.ac (fix error on make install) 2013-07-20 16:36:23 +02:00
Sebastien Helleu 56baaaffa8 core: use "/dev/null" for stdin in hook_process instead of closing stdin (bug #39538) 2013-07-20 15:45:25 +02:00
Sebastien Helleu f4a0307316 core: add task #6745 in ChangeLog 2013-07-20 12:02:17 +02:00
Sebastien Helleu 41fbc14f48 core: update translations 2013-07-20 12:00:02 +02:00
Sebastien Helleu 765297c038 Merge branch 'scroll-beyond-end' 2013-07-20 11:54:52 +02:00
Sebastien Helleu 27882ee74e core: scroll to bottom after smart jump (alt-a) only if window was scrolled (and not beyond the end) 2013-07-20 11:31:48 +02:00
Sebastien Helleu 94b9104d14 core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am 2013-07-20 09:07:05 +02:00
Sebastien Helleu 22b20d6206 core: add options weechat.look.hotlist_prefix and weechat.look.hotlist_suffix (task #12730) (patch from Nils Görs) 2013-07-20 08:42:16 +02:00
Sebastien Helleu 5a4f96b679 irc: use lower case at beginning of message when deleting a server 2013-07-19 18:14:37 +02:00
Sebastien Helleu dfcc7baa40 irc: fix self nick color in server messages after nick is changed with /nick (bug #39415) 2013-07-19 10:18:20 +02:00
Sebastien Helleu 354d96ea36 core: fix filtered line displayed after /window scroll_beyond_end 2013-07-18 20:07:47 +02:00
Sebastien Helleu fb86f21a5f irc: add support of wildcards in commands (de)op/halfop/voice (task #9221) 2013-07-18 19:58:29 +02:00
Sebastien Helleu 913e036fa3 core: fix pointer used to check if buffer has lines 2013-07-17 18:37:11 +02:00
Sebastien Helleu c10cfb6aa0 core: do nothing in "/window scroll_beyond_end" if the buffer has no lines 2013-07-17 18:35:01 +02:00
Sebastien Helleu bee56c3b7f core: add option "scroll_beyond_end" for command /window (task #6745) 2013-07-17 18:04:44 +02:00
Sebastien Helleu 7389514c09 core: add option weechat.look.key_bind_safe 2013-07-15 19:04:00 +02:00
Sebastien Helleu 92609e3cd6 core: remove obsolete reference to "key functions" in comments 2013-07-15 18:28:01 +02:00
Sebastien Helleu a8dc36902b doc: update auto-generated files with xfer options 2013-07-15 18:26:32 +02:00
Sebastien Helleu c6fe4b18ef core: fix malloc(0) when building content of a bar using a filling with columns 2013-07-13 07:31:51 +02:00
Sebastien Helleu 4668f0bef5 lua: fix interpreter used in API functions (bug #39470) 2013-07-13 07:22:02 +02:00
Sebastien Helleu bd3a12378e xfer: add option xfer.look.pv_tags 2013-07-11 22:43:13 +02:00
Sebastien Helleu 2cbdbb45d6 irc: add option irc.look.pv_tags 2013-07-11 22:32:14 +02:00
Sebastien Helleu fa9f787e14 core: sort config options by name in sources 2013-07-11 22:31:33 +02:00
Sebastien Helleu d301dd6c17 core: add bug #39201 in ChangeLog 2013-07-10 20:24:57 +02:00
Sebastien Helleu ff09807c10 core: fix char displayed at the intersection of three windows (bug #39331) 2013-07-10 08:39:44 +02:00
Sebastien Helleu 3744787ec0 core: fix crash in evaluation of expression when reading a string in hdata with a NULL value (bug #39419) 2013-07-08 08:28:27 +02:00
Sebastien Helleu d38d033ce7 core: add completion "-quit" for command /upgrade
A "-dummy" option has been added too, just to prevent accidental completion with
"-quit" (which is the first option completed).

Thanks to stfn for initial patch.
2013-07-05 18:22:10 +02:00
Nils Görs cd71ea03d2 core: update german translations 2013-07-03 17:03:45 +02:00
Sebastien Helleu e1beb83ff0 doc: fix typo in plugin API reference 2013-07-03 13:09:49 +02:00
Sebastien Helleu 7ab034b52b irc: fix error message on /invite without arguments (bug #39272) 2013-07-02 21:29:44 +02:00
Sebastien Helleu 5e1c88a476 doc: fix some punctuation errors in translations 2013-07-02 16:05:16 +02:00
Sebastien Helleu 40c5c5c1ae core: add missing period in /help upgrade 2013-07-02 15:41:48 +02:00
Sebastien Helleu 6dfcb5f563 doc: add number for note on git version in list of CTCP replies (user's guide) 2013-07-01 22:08:14 +02:00
Sebastien Helleu 8cb590559f core: add ":BOOL" in cmake option "ENABLE_DOC" (use same format as other options) (debian packaging) 2013-06-30 21:40:09 +02:00
Sebastien Helleu 464c8acd87 core: move packages used to build man page from "Build-Depends-Indep" to "Build-Depends" (debian packaging)
Packages asciidoc, source-highlight, xsltproc, docbook-xml and docbook-xsl are
now used to build man page in the package weechat-curses, which is not
arch-independent.
So these dependencies are moved from "Build-Depends-Indep" to "Build-Depends".
2013-06-30 17:21:29 +02:00
Sebastien Helleu 37b8aef96d core: move test of invalid UTF-8 char length from gui-chat.c to wee-utf8.c 2013-06-29 16:10:09 +02:00
Sebastien Helleu b311ca894d doc: fix example of weechat.command without buffer: it is executed on current buffer, not core buffer (scripting guide) 2013-06-29 13:56:28 +02:00
Sebastien Helleu f4e4f55de1 core: fix display bugs with some UTF-8 chars that truncates messages displayed
Example of char causing problems: U+26C4 (snowman without snow)
2013-06-29 13:43:27 +02:00
Sebastien Helleu 27a427c708 irc: fix uninitialized variable "color" when hashing nickname to find color 2013-06-29 12:39:42 +02:00
Sebastien Helleu 6103f18cd6 aspell: fix uninitialized variable "lang" when displaying list of installed dictionaries 2013-06-29 12:38:59 +02:00
Nils Görs 706032e5ac doc: update german translations, man page and user's guide 2013-06-29 12:09:25 +02:00
Sebastien Helleu 8eb55c04e7 doc: update auto-generated file with irc commands (in french) 2013-06-29 12:06:08 +02:00
Sebastien Helleu 43c889da50 doc: add flag "-L" for a2x when building man page (do not check asciidoc output with xmllint) 2013-06-29 11:11:25 +02:00
Sebastien Helleu f19c2cfd80 core: disable compilation of documentation by default (cmake and autotools) 2013-06-29 09:51:15 +02:00
Sebastien Helleu f1fdbe72dc doc: add dependency xsltproc in user's guide 2013-06-29 09:32:02 +02:00
Sebastien Helleu b62b2adc25 core: add dependency xsltproc in debian/control 2013-06-29 09:31:26 +02:00
Sebastien Helleu 018e5c69ae core: remove obsolete command line option -k/--keys
The user's guide is better to view WeeChat default keys.
2013-06-28 20:38:08 +02:00
Esteban I. Ruiz Moreno 4d35171767 core: fix wrong spaces in italian translations for irc part/quit messages 2013-06-28 20:31:43 +02:00
Sebastien Helleu 23da5b233d core: add dependencies docbook-xml and docbook-xsl in debian/control 2013-06-28 20:13:33 +02:00
Sebastien Helleu 1cadbdf6a9 core: update man page and add translations (in french, german, italian, and japanese) 2013-06-28 20:08:16 +02:00
Sebastien Helleu fa8dc0f531 core: update WeeChat logo in debian/weechat.xpm 2013-06-28 19:15:59 +02:00
Hasan Kiran bad6eb0692 core: update turkish translations 2013-06-28 13:54:49 +02:00
Sebastien Helleu 8081804555 core: fix typo in french translation of /help notify (patch #8082) 2013-06-28 13:44:06 +02:00
Sebastien Helleu 91017cb06c core: remove extra space after empty prefix (when prefix for action, error, join, network or quit is set to empty string) (bug #39218) 2013-06-10 11:48:49 +02:00
Sebastien Helleu e20592f32d core: fix minor errors in translations
Errors were reported by POFileChecker (from package gettext-lint).
2013-06-10 09:27:32 +02:00
Sebastien Helleu dd41e5776f relay: add command "ping" in weechat protocol (task #12689) 2013-06-09 20:43:24 +02:00
Hasan Kiran 424b8c89cc core: add partial turkish translations (tr.po) 2013-06-08 22:28:06 +02:00
Sebastien Helleu c962bb32f9 core: add option weechat.network.proxy_curl (task #12651) 2013-06-08 19:25:56 +02:00
Sebastien Helleu 21e51d930d core: add options for Curl >= 7.25 2013-06-08 17:04:40 +02:00
Sebastien Helleu a8589a0db6 doc: add cmake options in user's guide 2013-06-08 15:54:06 +02:00
Nils Görs fe1642da08 doc: update german translations and FAQ 2013-06-08 12:36:33 +02:00
Sebastien Helleu 950287d385 irc: display a warning when the proxy set in a server does not exist 2013-06-08 12:32:09 +02:00
Sebastien Helleu 21356d9909 core: add "proxy" infolist and hdata 2013-06-08 11:40:27 +02:00
Sebastien Helleu fb7edb3518 aspell: add support of enchant library (patch #6858)
Enchant is enabled only if the new option for cmake (or configure) is enabled:
- for cmake: cmake -DENABLE_ENCHANT=ON
- for configure: ./configure --enable-enchant
2013-06-07 21:01:48 +02:00
Sebastien Helleu 4080047da0 doc: update auto-generated file with relay commands 2013-06-07 20:50:33 +02:00
Sebastien Helleu 8884eb6fe4 doc: update auto-generated files with irc commands 2013-06-07 20:50:06 +02:00
Sebastien Helleu 1dfc98c8fd core: rename configure.in to configure.ac 2013-06-07 18:27:53 +02:00
Sebastien Helleu 718104b936 core: fix french translation of arguments in /help relay 2013-06-05 10:15:33 +02:00
Sebastien Helleu cb8435441b irc: add support of special variables $nick/$channel/$server in commands /allchan and /allserv 2013-06-05 10:13:23 +02:00
Sebastien Helleu 2c4cf95ef9 doc: update auto-generated files with irc options 2013-06-02 23:03:49 +02:00
Sebastien Helleu 4654568413 irc: add option irc.look.nick_color_hash: hash algorithm to find nick color (patch #8062) 2013-06-02 23:00:26 +02:00
Sebastien Helleu c070481d0b core: fix random crash on mouse actions (bug #39094) 2013-05-30 20:14:41 +02:00
Sebastien Helleu 91b27cd20c doc: add option weechat.look.eat_newline_glitch in charset question (FAQ) 2013-05-30 20:10:54 +02:00
Mantas Mikulėnas 1e49718398 relay: fix binding to an IP address (bug #39119) 2013-05-30 08:03:21 +02:00
Sebastien Helleu c103c8d356 irc: fix multiple nicks in command /query (separated by commas): open one buffer per nick 2013-05-29 18:28:29 +02:00
Sebastien Helleu 2e647d4c58 core: set options weechat.look.color_inactive_{buffer|window} to "on" by default 2013-05-28 23:13:07 +02:00
Sebastien Helleu 47db2b71ba core: update ChangeLog (bug #39071) 2013-05-27 13:41:54 +02:00
Simon Kuhnle 954ea9fb9d xfer: fix compilation error on OpenBSD
Signed-off-by: Simon Kuhnle <Simon.Kuhnle@cs.fau.de>
2013-05-27 13:37:07 +02:00
Sebastien Helleu 7bce8a0254 doc: change font for author, toc title and footer 2013-05-27 10:04:41 +02:00
Sebastien Helleu f377743380 doc: resize columns for table with hdata (plugin API reference) 2013-05-27 09:48:07 +02:00
Sebastien Helleu 62dbfc16c0 doc: improve style for docs 2013-05-27 09:47:32 +02:00
Sebastien Helleu 9a33c70355 doc: remove list of features in FAQ (duplicate with features page on site) 2013-05-24 18:04:19 +02:00
Sebastien Helleu 8005f00e2f doc: add remote GUIs in FAQ 2013-05-24 17:58:39 +02:00
Sebastien Helleu 1a9fe7b590 core: fix compilation error when gnutls is not found 2013-05-24 14:16:13 +02:00
Sebastien Helleu f93c7ebe6d doc: update WeeChat URLs (for new site design) 2013-05-23 15:21:41 +02:00
Sebastien Helleu 296dd0b1d4 core: update WeeChat logo (32x32 icon) 2013-05-23 14:53:42 +02:00
Sebastien Helleu 9c54e33ee1 xfer: fix compilation warnings 2013-05-22 20:57:14 +02:00
Sebastien Helleu e7c947df3e core: fix compilation warnings 2013-05-22 20:56:54 +02:00
Sebastien Helleu 8f66e15bae core: sync debian files with debian git repository 2013-05-22 20:56:10 +02:00
Sebastien Helleu 1b9cfb5cc3 core: update translations and auto-generated files with hdata/infolists 2013-05-21 22:39:18 +02:00
Sebastien Helleu 8771986f3f Merge branch 'layout_infolist_hdata' 2013-05-21 22:34:46 +02:00
Sebastien Helleu 2e43bac479 core: fix line alignment when option weechat.look.buffer_time_format is set to empty string
A regression was introduced by commit 305175fb8c
2013-05-21 11:07:15 +02:00
Sebastien Helleu a256cb4d4d Version 0.4.2-dev 2013-05-20 17:01:00 +02:00
Sebastien Helleu ba5664a019 Version 0.4.1 2013-05-20 10:06:14 +02:00
Sebastien Helleu b045a35c44 irc: fix name of server buffer after /server rename (set name "server.name" instead of "name") 2013-05-18 23:50:40 +02:00
Marco Paolone a355f6a41c core: update italian translations 2013-05-18 22:48:14 +02:00
Sebastien Helleu e459939ead relay: fix uncontrolled format string in redirection of irc commands 2013-05-18 22:42:16 +02:00
Sebastien Helleu e0281a40f0 irc: fix uncontrolled format string when sending unknown irc commands (if option irc.network.send_unknown_commands is on) 2013-05-18 22:36:24 +02:00
Sebastien Helleu 5877a458ea irc: fix uncontrolled format string when sending ison command (for nicks monitored by /notify) 2013-05-18 22:33:35 +02:00
Sebastien Helleu 4f62af028d api: do not display a warning by default when loading a script with a license different from GPL 2013-05-18 22:00:47 +02:00
Marco Paolone fc1cdf68e3 doc: update italian docs 2013-05-16 23:02:40 +02:00
Sebastien Helleu e2807e5f23 core: add variable "current_layout" in infolist "layout" 2013-05-15 21:38:40 +02:00
Sebastien Helleu c7e8e6856d core: add infolist "layout" and hdata "layout", "layout_buffer" and "layout_window" (thanks to Nils Görs) 2013-05-14 21:11:58 +02:00
Sebastien Helleu 0c66b91007 core: fix typo in comment 2013-05-14 21:08:50 +02:00
Sebastien Helleu 4ad5f7bbc9 irc: fix refresh of nick in input bar when joining a new channel with op status (bug #38969) 2013-05-12 16:06:53 +02:00
Sebastien Helleu 19ed7740b1 Version 0.4.1-rc2 2013-05-11 18:48:41 +02:00
Sebastien Helleu a0f814e75b irc: remove tag "notify_private" from notices received before message 001
This removes tag "notify_private" from notices like that (sent before message 001):

:irc.network.com NOTICE nick :*** Spoofing your IP
:irc.network.com NOTICE nick :*** You are exempt from K/G/X lines
:irc.network.com NOTICE nick :*** You are exempt from user limits
2013-05-11 18:26:18 +02:00
Sebastien Helleu 0f920d6396 doc: fix typo in user's guide (thanks to faen) 2013-05-09 20:02:55 +02:00
Sebastien Helleu c6fdeaf7e5 python: fix crash when loading scripts with Python 3.x (patch #8044) (thanks to isak) 2013-05-07 08:56:12 +02:00
Krzysztof Koroscik 9f08029361 doc: update polish translations and docs 2013-05-06 15:28:11 +02:00
Sebastien Helleu 8b17cbb16c irc: fix display of CTCP messages that contain bold attribute (bug #38895) 2013-05-06 15:07:24 +02:00
Nils Görs c6b7a244d6 doc: update german translations and docs 2013-05-04 08:24:36 +02:00
Ryuunosuke Ayanokouzi 8c06006828 doc: update japanese translations and docs 2013-05-04 07:50:22 +02:00
Sebastien Helleu 345be1ec5e script: add key alt+A in /help script (thanks ArZa) 2013-05-03 22:26:19 +02:00
Sebastien Helleu 0a7b708a1f core: add options weechat.look.prefix_align_more_after and weechat.look.prefix_buffer_align_more_after 2013-05-03 19:15:57 +02:00
Nils Görs f43eb87d9d doc: update german translations and user's guide 2013-05-02 19:46:36 +02:00
Sebastien Helleu 5eba5e980d doc: update auto-generated files with options 2013-05-02 19:44:31 +02:00
Sebastien Helleu 00f3fbdfe1 doc: add relay message "_nicklist_diff" in NEWS 2013-05-01 21:09:43 +02:00
Sebastien Helleu 86a8b9fb5f relay: remove temporary option "nicklistdiff" (in command init), send nicklist diff by default (weechat protocol)
The temporary option was introduced because the nicklist diff was experimental.
It is now enabled by default, and there is no way to disable it. Therefore any
relay client using weechat protocol must implement the message "_nicklist_diff"
(unless nicklist is ignored by client).

Extra note: a full nicklist may still be sent if a message with diff would be
bigger than whole nicklist. So both full nicklist (message "_nicklist") and
nicklist diff (message "_nicklist_diff") must be implemented by clients.
2013-05-01 21:01:12 +02:00
Sebastien Helleu 305175fb8c core: fix display of long lines without time (message beginning with two tabs)
The long lines without time were not properly aligned: the second and subsequent
lines should start at column 0 of chat area.
2013-05-01 16:46:54 +02:00
Sebastien Helleu bf8ee88dd8 Version 0.4.1-rc1 2013-05-01 10:15:10 +02:00
Sebastien Helleu 11d8dd1b51 Merge branch 'dynamic-nick-prefix-suffix' 2013-05-01 10:04:53 +02:00
Sebastien Helleu ebcea798bb doc: add IRC SASL "dh-aes" mechanism in user's guide 2013-05-01 10:02:11 +02:00
Sebastien Helleu 1c4e3c0e84 core: update translations 2013-05-01 10:00:57 +02:00
Elizabeth Myers e009884595 irc: add support of "dh-aes" SASL mechanism (patch #8020) 2013-05-01 09:59:39 +02:00
Sebastien Helleu 2479f427f7 doc: update german auto-generated file with WeeChat commands 2013-05-01 09:27:08 +02:00
Sebastien Helleu 16cc0b6088 core: make nick prefix/suffix dynamic (move options from irc plugin to core, add logger options) (bug #37531) 2013-04-29 18:30:59 +02:00
Sebastien Helleu cf8a125ef2 irc: fix duplicate nick completion when someone rejoins the channel with same nick but a different case (bug #38841) 2013-04-28 13:34:44 +02:00
Sebastien Helleu 4b1d87640c script: do not search by license and author in /script search (thanks to Nils Görs) 2013-04-27 09:01:42 +02:00
Sebastien Helleu bdbe7e0c37 core: fix typo in /help eval 2013-04-25 21:34:23 +02:00
Sebastien Helleu 8219039867 core: reset scroll in window before zooming on a merged buffer (bug #38207) 2013-04-24 09:30:08 +02:00
Sebastien Helleu bfd8c6918c irc: add support of UHNAMES (capability "userhost-in-names") (task #9353) 2013-04-23 21:23:07 +02:00
Sebastien Helleu 2a4e9aef8a relay: fix typo in error displayed by command /relay del 2013-04-21 21:57:21 +02:00
Sebastien Helleu c8505efac0 irc: add tag "irc_nick_back" for messages displayed in private buffer when a nick is back on server (task #12576) 2013-04-21 13:26:32 +02:00
Sebastien Helleu 509a58b1d5 api: add new function hdata_search 2013-04-21 11:26:52 +02:00
Sebastien Helleu fcd71d14bc doc: fix typo in python example of function hdata_move (plugin API reference) 2013-04-21 10:56:08 +02:00
Sebastien Helleu 09c5e8cbdf doc: add missing functions in scripting guide 2013-04-21 10:48:38 +02:00
Sebastien Helleu 4cf6628d85 ruby: fix crash in function hdata_move 2013-04-20 11:05:14 +02:00
Sebastien Helleu fda70ec57d guile: fix crash in function hdata_move 2013-04-20 11:04:17 +02:00
Sebastien Helleu c95f3d84d0 api: add property "completion_freeze" for function buffer_set: do not stop completion when command line is updated 2013-04-18 20:24:35 +02:00
Nils Görs 00c1c81c0b doc: update german translations and docs 2013-04-16 20:09:54 +02:00
Sebastien Helleu 9ffab0bec4 doc: rename link "256_colors" to "use_256_colors" in FAQ (anchor names beginning with digits are not allowed in HTML) 2013-04-14 11:10:49 +02:00
Sebastien Helleu d70532250b api: fix connection to servers with hook_connect on OS X (bug #38496) 2013-04-12 12:47:42 +02:00
Sebastien Helleu fe6cb5c1b3 core: do not force weechat_quit to 0 in main loop, so that a /quit issued before main loop is working 2013-04-12 09:10:57 +02:00
Sebastien Helleu 67f6668d1b irc: fix crash on command "/allchan /close" 2013-04-10 23:09:00 +02:00
stfn aa10e20295 doc: fix C example of function weechat_nicklist_get_next_item (plugin API reference) 2013-03-29 15:09:06 +01:00
Sebastien Helleu 33e7ad43d6 core: use layout saved when option weechat.look.save_layout_on_exit is enabled (so it is automatically restored when WeeChat restarts) 2013-03-29 07:59:23 +01:00
Sebastien Helleu 5dbda28263 core: fix uninitialized variable when saving layout for windows in upgrade 2013-03-29 07:35:39 +01:00
Andrew Potter fe512fdd33 xfer: add option xfer.file.auto_accept_nicks (patch #7962) 2013-03-25 09:05:36 +01:00
Sebastien Helleu 1871a774f3 fifo: remove #define MAX_PATH (now done in weechat-plugin.h) 2013-03-25 08:15:06 +01:00
Sebastien Helleu adbfda00f5 script: fix compilation on GNU/Hurd (patch #7977) (thanks to Andrew Potter)
PATH_MAX is now defined in weechat-plugin.h (if not defined, for example on
GNU/Hurd), so that all plugins can use it.
2013-03-25 08:14:33 +01:00
Sebastien Helleu d654fca853 core: mention unit (minutes) for old option "irc.network.lag_disconnect" 2013-03-24 20:08:26 +01:00
Sebastien Helleu 2ffa199a7d lua: remove use of functions for API constants 2013-03-24 20:01:57 +01:00
Sebastien Helleu ff26a8d550 Revert "doc: add note about constants in lua, fix lua example (scripting guide)"
This reverts commit fad848bf7c.
2013-03-24 19:56:43 +01:00
Sebastien Helleu fad848bf7c doc: add note about constants in lua, fix lua example (scripting guide) 2013-03-24 18:10:21 +01:00
Sebastien Helleu a08603c24c irc: add option irc.look.display_join_message (task #10895) 2013-03-24 13:02:26 +01:00
Sebastien Helleu e03310cb0d ruby: fix typo in comment 2013-03-24 10:42:38 +01:00
Sebastien Helleu cfe043e4b0 core: rename icon file in Makefile.am 2013-03-24 09:42:38 +01:00
Sebastien Helleu 4b4d80bdc5 core: install icon file (patch #7972) 2013-03-24 09:41:22 +01:00
Sebastien Helleu cac2342165 core: rename weechat_icon_32.png to weechat.png 2013-03-24 09:33:02 +01:00
Sebastien Helleu 50254dee23 core: update WeeChat icon: move "ee" to the middle of icon 2013-03-24 08:59:09 +01:00
Sebastien Helleu 4fdbb83a07 ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option (bug #31050) 2013-03-22 19:54:44 +01:00
Sebastien Helleu 55e58811b3 irc: fix default completion (like nicks) in commands /msg, /notice, /query and /topic 2013-03-22 09:40:44 +01:00
Sebastien Helleu 19acf8121f irc: fix prefix color for nick when the prefix is not in irc.color.nick_prefixes: use default color (key "*")
Problem was happening on a server which has "PREFIX=(Yqaohv)!~&@%+".
Users with prefix "!" were displayed as lightred (color for "~") instead of
lightblue (default key "*").

When a prefix was not found, WeeChat was looping on other prefixes (in
order). Now if color is not found, WeeChat uses immediately the fallback color.
2013-03-21 20:16:49 +01:00
Sebastien Helleu 239f853120 doc: use listing style for commands in quickstart guide 2013-03-21 07:36:49 +01:00
Sebastien Helleu c09e383325 doc: change style for listings in asciidoc CSS 2013-03-21 07:36:04 +01:00
Sebastien Helleu bbd080e680 irc: add option irc.look.pv_buffer: automatically merge private buffers (optionally by server) (task #11924) 2013-03-17 22:18:11 +01:00
Sebastien Helleu 3e1d811761 core: fix refresh of item "completion" (bug #38214) (patch from Nils Görs)
The item is now cleared after any action that is changing content of command
line and after switch of buffer.
2013-03-17 19:44:39 +01:00
Sebastien Helleu a290589f7c scripts: create directories (language and language/autoload) on each action (install/remove/autoload), just in case they have been removed (bug #38473) 2013-03-17 18:45:55 +01:00
Sebastien Helleu cf2ad51f62 script: create "script" directory on each action (just in case it has been removed) (bug #38472) 2013-03-17 18:32:04 +01:00
Sebastien Helleu a9ff529d83 relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip) (thanks to Dominik Honnef) 2013-03-17 16:14:20 +01:00
Sebastien Helleu fa2b1d6bf9 core: fix typos in french translations
Now flyspell is enabled in my emacs for .po files :)
2013-03-17 15:07:26 +01:00
Sebastien Helleu e056f20643 rmodifier: add info about "groups" in /help rmodifier 2013-03-17 13:08:09 +01:00
Sebastien Helleu 149c77decd core: fix typos in many comments and some strings 2013-03-17 12:55:20 +01:00
Sebastien Helleu 46677c79fc core: fix typos in ChangeLog 2013-03-17 12:54:43 +01:00
Sebastien Helleu 30e6acb00d core: add support of multiple layouts (task #11274) 2013-03-17 08:28:41 +01:00
Sebastien Helleu e1e3109da3 doc: add link to weechat.org/info in scripting guide (URL transfer) and plugin API reference (function hook_process) 2013-03-16 16:06:16 +01:00
Sebastien Helleu 3fb123510a lua: fix crash on stack overflow: call lua_pop() for values returned by lua functions (bug #38510) 2013-03-13 18:27:55 +01:00
Sebastien Helleu 81cc688166 doc: add range for integer/long integer objects, add examples with negative numbers (relay protocol) 2013-03-13 12:25:57 +01:00
Sebastien Helleu d74041de25 relay: add missing "id" in raw messages sent to clients when compression is off (weechat protocol) 2013-03-13 12:12:48 +01:00
Sebastien Helleu 7672139d6b relay: add negative numbers (integer: -123456 and long: -1234567890L) in command "test" (weechat protocol) 2013-03-13 11:50:32 +01:00
Sebastien Helleu aa2f5d8acc doc: fix length of NULL pointer (relay protocol) 2013-03-13 11:12:31 +01:00
Sebastien Helleu 37e609252c doc: remove "name" in hdata object (relay protocol) 2013-03-13 10:55:28 +01:00
Sebastien Helleu 7cf9c8a656 irc: rename option irc.network.lag_disconnect to irc.network.lag_reconnect, value is now a number of seconds 2013-03-12 18:35:03 +01:00
Sebastien Helleu afc1dd4f6b api: fix bug in string_match when mask begins and ends with "*"
The bug was string_match returning 0 (instead of 1) if mask begins and ends with
"*" and if string and mask have same length (except both "*") with same content:

string_match("abc",  "*abc*", 0) == 0  // BUG: it should return 1
string_match("abcd", "*abc*", 0) == 1  // OK
2013-03-11 18:09:33 +01:00
Nils Görs cc3fb26024 doc: update german translations, FAQ and user guide 2013-03-11 12:49:52 +01:00
Sebastien Helleu f27f91467a script: fix typo in /help script.scripts.autoload 2013-03-10 08:56:12 +01:00
Sebastien Helleu b63fca15fa alias: mention local variables of buffer in /help alias 2013-03-10 08:27:55 +01:00
Sebastien Helleu 0b0238a188 doc: fix typo in relay protocol 2013-03-09 09:22:03 +01:00
Sebastien Helleu ad842577c5 doc: add example of messages and message "_nicklist_diff" in relay protocol 2013-03-09 09:06:22 +01:00
Sebastien Helleu d2ff46fa69 relay: add message "_nicklist_diff" (differences between old and current nicklist)
This is an experimental feature, that must be explicitely enabled by clients
(for weechat protocol) in the init command with option "nicklistdiff", for example:

  init password=mypasswd,nicklistdiff=1

This option will be removed when clients will handle nicklist diff.
2013-03-09 09:04:49 +01:00
Sebastien Helleu 9fdeef247e core: add signals and hsignals for nicklist events
New signals: nicklist_group_removing and nicklist_nick_removing.
New hsignals: nicklist_group_added, nicklist_nick_added, nicklist_group_removing,
nicklist_nick_removing, nicklist_group_changed, nicklist_nick_changed.
2013-03-08 23:13:58 +01:00
Sebastien Helleu fced67b459 doc: update hdata "buffer" in plugin API reference 2013-03-07 19:55:24 +01:00
Sebastien Helleu b352891c2b api: allow hashtable with keys that are not strings in function hashtable_add_to_infolist 2013-03-07 13:20:16 +01:00
Sebastien Helleu 8b925baa3c core: add count for groups, nicks, and total in nicklist 2013-03-03 11:30:58 +01:00
Sebastien Helleu 844ba9e1c0 core: optimize function nicklist_remove_all (don't remove and create again "root" group) 2013-03-02 09:35:02 +01:00
Sebastien Helleu 11396b3266 doc: add missing signals in plugin API reference (nicklist_group_changed and nicklist_nick_changed) 2013-03-01 11:39:48 +01:00
Sebastien Helleu d2550f89f4 xfer: fix typo in comment 2013-03-01 11:19:14 +01:00
Sebastien Helleu 6972b1aafa xfer: fix freeze of DCC file received: use select() to read socket and if an ACK send fails, silently ignore and disable ACK (except the last) 2013-02-28 19:16:24 +01:00
Sebastien Helleu e890ac0a81 xfer: fix freeze of DCC file received: use non-blocking socket after connection to sender and ensure the ACK is properly sent (bug #38340) 2013-02-26 21:43:39 +01:00
Sebastien Helleu 0e641e0c45 irc: fix conversion of mask to regex in ignore 2013-02-26 21:15:14 +01:00
Sebastien Helleu b84f6b5a1b api: fix function string_mask_to_regex: escape all special chars used in regex (bug #38398) 2013-02-26 21:12:25 +01:00
Sebastien Helleu cecb546c24 core: update header in ChangeLog and NEWS 2013-02-26 20:42:56 +01:00
Sebastien Helleu b60aec975b script: add control of autoload (enable/disable/toggle) (task #12393)
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload
for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
2013-02-25 08:46:41 +01:00
Nils Görs 87b5096972 core: update german translations 2013-02-23 18:32:52 +01:00
Sebastien Helleu f5bc12e72c rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier "irc_message_auth") 2013-02-23 14:55:28 +01:00
Sebastien Helleu 9beb263e4a irc: hide passwords in commands or messages sent to nickserv with modifiers (bug #38346)
New modifiers: "irc_command_auth" and "irc_message_auth".
Option removed: irc.look.hide_nickserv_pwd
New option: irc.look.nicks_hide_password
2013-02-23 14:54:07 +01:00
Sebastien Helleu c17d3e155c relay: add support of multiple servers on same port for irc protocol (the client must send the server in the "PASS" command) 2013-02-23 08:33:38 +01:00
Sebastien Helleu 6394a3d1e1 core: reformat NEWS file, add subsections 2013-02-20 22:37:19 +01:00
Sebastien Helleu 62aa07b00f core: fix typos in ChangeLog 2013-02-20 22:36:41 +01:00
Sebastien Helleu 6faa1a0db8 doc; fix typos in plugin API reference 2013-02-20 22:36:13 +01:00
Sebastien Helleu 9857b44e4e guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), guile >= 2.0 is now required (bug #38350)
Unfortunately this breaks compatibility with existing guile scripts, but this
change is needed to keep consistency with other scripting languages.

Now guile >= 2.0 is required, WeeChat can not compile any more with guile 1.8.
2013-02-19 22:49:59 +01:00
Sebastien Helleu c43d48a9df guile: fix crash on calls to callbacks during load of script (bug #38343) 2013-02-19 19:49:12 +01:00
Sebastien Helleu e4529079a8 doc: fix typo on functions "weechat_infolist_new_var_*" in plugin API reference 2013-02-19 18:43:48 +01:00
Sebastien Helleu 9f0a16e586 doc: fix link to function weechat_config_write in plugin API reference 2013-02-19 13:40:20 +01:00
Sebastien Helleu 50eb1f51fd irc: fix crash when unmasking a smart filtered join if a line without tags is displayed after the join 2013-02-18 22:23:03 +01:00
Sebastien Helleu 67838983ad irc: fix display of malformed CTCP (without closing char) (bug #38347) 2013-02-18 18:31:19 +01:00
Sebastien Helleu 4e4fd3f54d core: remove Gtk interface (obsolete sources not working) 2013-02-17 15:47:52 +01:00
Sebastien Helleu bc079b007d irc: unmask smart filtered join if nick speaks in channel some minutes after the join, new option irc.look.smart_filter_join_unmask (task #12405)
The nick changes are tracked and will be unmasked with the join.
Events triggering the unmask of join are: a message (can be CTCP), a notice or
an update of topic.
2013-02-17 13:27:36 +01:00
Sebastien Helleu 6e3f6270d1 core: allow read of array in hdata without using index 2013-02-17 12:16:00 +01:00
Sebastien Helleu 8b875cd412 irc: fix type of values in hashtables join_manual/join_noswitch, fix delay for purge 2013-02-16 18:38:39 +01:00
Sebastien Helleu c1bc23b052 irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list) 2013-02-16 10:00:28 +01:00
Sebastien Helleu 47e1caa91f doc: update auto-generated files for commands 2013-02-16 09:57:40 +01:00
Sebastien Helleu 9da086b827 core: rename cmake targets xx.po/weechat.pot to update-xx.po/update-weechat.pot (for build with old cmake versions) 2013-02-15 08:32:38 +01:00
Sebastien Helleu 01153cd478 core: add option "dirs" for command /debug 2013-02-14 20:45:12 +01:00
Sebastien Helleu eed0878231 core: fix header in weechat.pot (copyright, license and some default values in first string) 2013-02-14 18:31:21 +01:00
Sebastien Helleu 11bbf0a062 core: add cmake targets to update .po and .pot files (new targets: update-po, weechat.pot, xx.po) 2013-02-14 18:30:40 +01:00
Sebastien Helleu c37016e5ea core: fix detection of iconv with cmake on OS X (bug #38321) 2013-02-14 14:41:43 +01:00
Sebastien Helleu 49043bf1b0 doc: fix prototype of function weechat_config_section_free in plugin API reference 2013-02-13 14:11:17 +01:00
Sebastien Helleu f7811b0ae2 relay: fix crash when decoding a websocket frame 2013-02-12 14:14:40 +01:00
Sebastien Helleu 8d5dee9aa0 relay: add gcrypt include and link arguments to compile relay plugin 2013-02-12 12:51:26 +01:00
Sebastien Helleu 62ff697772 script: remove unneeded test on ZLIB_FOUND in CMakeLists.txt (zlib is mandatory) 2013-02-12 12:50:32 +01:00
Sebastien Helleu 10820c7336 core: add signal "window_opened" (task #12464) 2013-02-12 12:14:22 +01:00
Sebastien Helleu 0cb84638dc doc: fix typos in french translations and plugin API reference 2013-02-10 22:20:10 +01:00
Sebastien Helleu c2aeb69c46 relay: add experimental websocket server support (RFC 6455) for irc and weechat protocols, new option relay.network.websocket_allowed_origins
It is a partial implementation of RFC 6455: fragmentation and control frames are
not yet supported.
Text and binary frames are supported.
2013-02-10 20:22:13 +01:00
Sebastien Helleu eb11921f16 irc: add missing RFC 2813 in header 2013-02-10 15:57:38 +01:00
Sebastien Helleu 190c5dfcc2 doc: add IRC RFCs for file irc-protocol.c in developer's guide 2013-02-10 15:55:44 +01:00
Sebastien Helleu 96da9b91cf doc: use HTML pages for links to RFCs in user's guide 2013-02-10 15:50:30 +01:00
Sebastien Helleu d406bed521 doc: fix typos in user's guide 2013-02-10 15:41:17 +01:00
Sebastien Helleu 7e0a675b62 doc: add missing signals in plugin API reference (buffer_merged/unmerged, key_bind/unbind, window_closing/closed) 2013-02-08 13:26:15 +01:00
Sebastien Helleu d4b1b50311 core: fix structures before buffer data when a buffer is closed
This was causing a bug in relay plugin (weechat protocol): when a buffer was
closed, local variables were removed after buffer name, and when signal is sent
to client, the buffer name was wrong (already freed).
2013-02-07 22:11:25 +01:00
Sebastien Helleu e4149b073d relay: add options "buffers" and "upgrade" for commands sync/desync in weechat protocol 2013-02-07 22:08:31 +01:00
Sebastien Helleu 3e2bf9be0a doc: remove list of scripts for URLs in FAQ 2013-02-07 22:06:58 +01:00
Nils Görs de6bf18e47 doc: update german translations and scripting guide 2013-02-04 08:35:25 +01:00
Sebastien Helleu 1cdbc27abf core: fix refresh of line after changes with hdata_update (update flag "displayed" according to filters) 2013-02-04 08:29:57 +01:00
Marco Paolone 95687e8057 core: update italian translations 2013-02-03 16:21:06 +01:00
Sebastien Helleu 7a1f9a1d7f relay: fix commands sync/desync in weechat protocol (bug #38215)
Fix:
- use proper arguments in commands sync/desync (use argv[0] instead of argv[1])
- when searching if a buffer is synchronized, its name has higher priority on "*"
  (so first check if buffer is synchronized, and if not found, search if "*" is
  synchronized)
- when receiving a "nicklist_*" signal, check if the buffer is synchronized with
  flag "RELAY_WEECHAT_PROTOCOL_SYNC_NICKLIST"
2013-02-03 09:51:15 +01:00
Sebastien Helleu afe729435a relay: fix typo in comment 2013-02-03 08:38:41 +01:00
Sebastien Helleu 7829b1ccba core: remove weechat.spec from EXTRA_DIST target 2013-02-02 15:51:02 +01:00
Sebastien Helleu 8796626ea2 core: add file .gitattributes to exclude some files from tarballs
Files excluded: .git* (.gitignore, .gitattributes), weechat.spec
Directory excluded: debian/
2013-02-02 15:37:10 +01:00
Sebastien Helleu 3306c0f3b5 core: add info about doc and function to read in /help weechat.completion.default_template 2013-02-01 11:14:27 +01:00
Sebastien Helleu 07c8063993 doc: add description of command "test" in relay protocol 2013-02-01 09:59:38 +01:00
Sebastien Helleu ac94f68b59 relay: add return of a NULL pointer in command "test" 2013-02-01 09:58:30 +01:00
Sebastien Helleu 08f360692d relay: add comments with example of messages in weechat protocol 2013-02-01 08:53:37 +01:00
Sebastien Helleu 6983d34e88 aspell: optimization on spellers to improve speed (save state by buffer), add info "aspell_dict", add completion "aspell_dicts"
Two hashtables have been added to store the spellers currently used (in all
buffers) and info for each buffer: array with pointers to spellers and state of
aspell for this buffer.
Therefore the spellers are not destroyed and created again on each buffer switch,
or each time screen is refreshed when window is split.
2013-01-31 19:40:41 +01:00
Sebastien Helleu 5d2382caab core: fix detection of python on Ubuntu Raring 2013-01-31 17:14:34 +01:00
Sebastien Helleu 8b43151c85 doc: fix typo in user's guide 2013-01-31 12:16:39 +01:00
Sebastien Helleu ad60321843 irc: fix typo in comment 2013-01-31 08:57:09 +01:00
Nils Görs 792d607027 core: add "/debug tags" in /help filter 2013-01-29 20:20:22 +01:00
Sebastien Helleu cb617d8b23 core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197) 2013-01-29 19:31:04 +01:00
Sebastien Helleu 25eaec3864 core: use size of 32 for hashtables (instead of 4, 8 or 16)
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu f4dce04723 core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable 2013-01-26 18:48:26 +01:00
Sebastien Helleu a5aaed89d2 doc: fix monospaced font used for literal and listing blocks in japanese 2013-01-26 11:49:11 +01:00
Sebastien Helleu 54a2067422 doc: use boxes/arrows chars for diagram in differences with C API (scripting guide) 2013-01-26 11:42:02 +01:00
Sebastien Helleu 95bcc49063 doc: add example of callback in each language (scripting guide) 2013-01-26 08:22:04 +01:00
Sebastien Helleu 3d9886f82e doc: add command "/script" in scripting guide 2013-01-26 07:48:20 +01:00
Sebastien Helleu 05390016c0 irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070) 2013-01-25 19:05:23 +01:00
Sebastien Helleu 62e9a1715b core: sync debian files with debian git repository 2013-01-24 13:50:26 +01:00
Sebastien Helleu 27b539affe core: display error number and string in some network errors
Error number and string is now displayed when an error is returned by one of
these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-24 08:55:04 +01:00
Sebastien Helleu 1918bd1d4e core: fix typo in ChangeLog 2013-01-22 09:58:09 +01:00
Sebastien Helleu 0e3bec6d2e scripts: do now allow empty script name in function "register" 2013-01-22 09:26:11 +01:00
Sebastien Helleu 1edabb98f5 core: remove obsolete/unneeded check of headers and functions in cmake and configure 2013-01-21 19:51:45 +01:00
stfn 2dea08aba8 doc: fix examples of function weechat_hook_connect (plugin API reference) 2013-01-20 17:02:10 +01:00
Sebastien Helleu 5f7733c4a7 core: add missing formatting chars in ChangeLog 2013-01-20 15:18:10 +01:00
Sebastien Helleu ff15aa40a6 core: update ChangeLog 2013-01-20 15:07:37 +01:00
Sebastien Helleu 3a782b017f Merge branch 'guile2' 2013-01-20 15:06:46 +01:00
Sebastien Helleu d5e546f2c6 Merge branch 'perl-script-load' 2013-01-20 15:04:25 +01:00
Sebastien Helleu ff15c0a41b Version 0.4.1-dev 2013-01-20 12:14:39 +01:00
Sebastien Helleu 762c96d85a Version 0.4.0 2013-01-20 09:21:06 +01:00
Elián Hanisch 2087a19bbe core: update spanish translations 2013-01-20 08:45:39 +01:00
Ryuunosuke Ayanokouzi 7cdabf79be core: update japanese translations 2013-01-19 20:03:50 +01:00
Krzysztof Koroscik 1364fe8a0e core: update polish translations 2013-01-19 19:55:05 +01:00
Sebastien Helleu a9c4534e3c core: update translations 2013-01-19 11:08:03 +01:00
Sebastien Helleu 9ebea835dd core: add rule to clean file config-git.h
The "make distcheck" was failing because the file config-git.h was left in build
directory after distclean.
2013-01-19 10:50:12 +01:00
Sebastien Helleu 0ad8866d6b core: fix infinite loop when a regex gives an empty match (bug #38112) 2013-01-18 09:03:57 +01:00
Sebastien Helleu df2867ac27 core: add git version in backtrace and log file 2013-01-17 20:25:00 +01:00
Sebastien Helleu 68bbe7ca0a core: update ChangeLog 2013-01-17 10:07:21 +01:00
Sebastien Helleu 0f143da012 guile: fix compilation with guile 2.0 2013-01-16 22:37:31 +01:00
Sebastien Helleu 280e9bd0b1 core: fix detection of guile in configure 2013-01-16 22:25:11 +01:00
Sebastien Helleu 8e587f7093 core: fix typo in comment 2013-01-14 16:26:56 +01:00
Sebastien Helleu 08d27eb81c Version 0.4.0-rc3 2013-01-14 12:21:19 +01:00
Sebastien Helleu e0deceb366 core: fix click in item "buffer_nicklist" when nicklist is a root bar (bug #38080)
Argument "*" is now silently ignored in command /window.

When item "buffer_nicklist" is in a root bar, we use current window/buffer to
find which nick has been clicked (same behaviour as callback used to display bar
item "buffer_nicklist").
2013-01-14 12:16:25 +01:00
Sebastien Helleu f14f34e9af core: fix display bugs with non-printable chars like tabs (part of messages not displayed) (bug #38076)
This bug was introduced by commit 70ce7fe3b6.
2013-01-14 11:35:52 +01:00
Sebastien Helleu d39bb4d6ab core: update version in gettext files 2013-01-12 20:24:09 +01:00
Nils Görs f1540115d0 core: update german translations 2013-01-12 20:21:56 +01:00
Krzysztof Koroscik 1af6148067 doc: update polish FAQ, quickstart and scripting guide 2013-01-12 19:56:19 +01:00
Sebastien Helleu 6fdee3aa9f core: fix crash in display of chat area when the ncurses chat window is not initialized
This can happen when a window becomes too small for display: then we set the
ncurses chat window to NULL.
So when displaying buffer, we'll skip it if the ncurses chat window is NULL.

Steps to reproduce crash:
  1. /window splith
  2. /window resize -1 (many times, until chat area is less than one line)
  3. /window balance
2013-01-12 19:40:04 +01:00
Sebastien Helleu 4123263b8c guile: fix bad conversion of shared strings (replace calls to scm_i_string_chars by scm_to_locale_string) (bug #38067) 2013-01-12 19:27:00 +01:00
Sebastien Helleu 1b56e084dc core: fix typo in comment 2013-01-12 09:35:21 +01:00
Sebastien Helleu 1e20dd16e5 core: fix line returned when clicking on a bar (according to position and filling) (bug #38069) 2013-01-12 09:31:57 +01:00
Sebastien Helleu a6bc15e69d aspell: fix spellers used when switching buffer
The bug happened when two buffers have different number of dictionaries and start
with same dictionaries. For example buffer #1 with [en,fr] and buffer #2 with [en].
When switching from buffer #1 to buffer #2, aspell does not use only [en], but [en,fr].
2013-01-11 17:25:53 +01:00
Sebastien Helleu db62b272b5 Revert "aspell: store dictionaries in buffer local variable "aspell_dict""
This reverts commit 8b61a55764.

The local variable in buffers introduced new display bugs and would need
some extra code and optimizations to fix.
This will be reintroduced after the release of version 0.4.0.
2013-01-11 16:07:45 +01:00
Sebastien Helleu 4a554d48d2 perl: fix compilation when multiplicity is disabled 2013-01-11 13:27:14 +01:00
Sebastien Helleu 57024ab1e4 relay: fix duplicated messages sent to irc clients (when messages are redirected) (bug #37870) 2013-01-11 10:30:44 +01:00
Sebastien Helleu ca205ccb8c relay: fix typo in comment 2013-01-11 10:28:28 +01:00
Sebastien Helleu f1580f5276 relay: add debug message for signal "irc_disconnected" 2013-01-11 10:27:26 +01:00
Sebastien Helleu 3c782bd905 relay: fix name of signal in debug message (replace "irc_out" by "irc_outtags") 2013-01-11 09:28:58 +01:00
Sebastien Helleu 8b61a55764 aspell: store dictionaries in buffer local variable "aspell_dict" 2013-01-10 23:30:14 +01:00
Sebastien Helleu 53c6b62ae3 core: fix some copyright dates 2013-01-10 23:14:33 +01:00
Nei 0b1550afe1 perl: simplify code to load scripts 2013-01-10 23:10:04 +01:00
Sebastien Helleu d5a5af88ca core: replace "behaviour" by "behavior" 2013-01-10 19:20:07 +01:00
Sebastien Helleu 87df83a1fb doc: fix buffer argument for function "command": NULL value means current buffer, not core buffer (bug #38057) 2013-01-10 19:13:19 +01:00
Sebastien Helleu aaa0cf1954 core: add bug #31572 (fixed) in ChangeLog 2013-01-10 15:12:02 +01:00
Sebastien Helleu 6d636b6118 Revert "perl: simplify code to load scripts"
This reverts commit 793a3cb1ba.

This commit was causing crash on Linux when loading scripts like buffers.pl.
2013-01-10 09:32:19 +01:00
Nei 793a3cb1ba perl: simplify code to load scripts 2013-01-09 18:15:51 +01:00
Nei 224a0f0afa perl: display script filename in error messages 2013-01-08 22:09:03 +01:00
Nei 2ca30ed7a9 perl: fix calls to callbacks during load of script when multiplicity is disabled (bug #38044) 2013-01-08 22:02:30 +01:00
Sebastien Helleu 7d1ad59dde relay: add message when address family is not supported by protocol (on socket creation) 2013-01-08 08:14:07 +01:00
Sebastien Helleu 1a646d5dbf relay: add error number and string when socket creation fails 2013-01-07 21:34:05 +01:00
Sebastien Helleu c34ae99b9a doc: fix typos 2013-01-07 10:31:32 +01:00
Sebastien Helleu 125068f101 doc: replace iteritems() by items() in scripting guide (compatibility with Python 3.x) 2013-01-07 10:00:02 +01:00
Sebastien Helleu ae618bcf6a doc: remove comment for autogen.sh in tester's guide (command required even for tarball) 2013-01-07 09:50:29 +01:00
Sebastien Helleu cd37f12059 core: fix memory leak in evaluation of expression when a logical operator ("&&" or "||") is found 2013-01-07 08:24:40 +01:00
Sebastien Helleu bd21daebd1 api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately) 2013-01-06 19:38:38 +01:00
Sebastien Helleu faccb87a10 irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027) 2013-01-06 12:25:34 +01:00
Sebastien Helleu 323801f869 core: add cmake option ENABLE_PYTHON3 and configure option --enable-python3
With this option, the python plugin will be built and linked with Python 3
(if found, or Python 2 as fallback).

This option it not (yet) recommended, because many scripts are working only
with Python 2.x. It should be used only to tests scripts with Python 3.x
in WeeChat.
2013-01-05 20:46:22 +01:00
Sebastien Helleu 680486b1d3 Version 0.4.0-rc2 2013-01-05 11:33:22 +01:00
Sebastien Helleu a421d330bf core: fix refresh of bars when applying layout (bug #37944, bug #37952) 2013-01-05 11:00:30 +01:00
Sebastien Helleu cd944052ef doc: update signals arguments in plugin API reference 2013-01-04 23:26:27 +01:00
Sebastien Helleu a543404428 core: add buffer pointer in arguments for signals "input_search", "input_text_changed" and "input_text_cursor_moved" 2013-01-04 23:22:27 +01:00
Sebastien Helleu fec8a1d122 aspell: ignore self and remote nicks in private buffers 2013-01-04 18:41:27 +01:00
Simon Kuhnle 1c17274178 core: fix compilation on OpenBSD (bug #38022)
File "sys/uio.h" needs to be included explicitly for use of "struct iovec" on OpenBSD.

Signed-off-by: Simon Kuhnle <simon@blarzwurst.de>
2013-01-04 17:52:35 +01:00
Sebastien Helleu da56eb6978 core: fix help of option weechat.color.separator 2013-01-04 17:46:13 +01:00
Sebastien Helleu e21de5ce96 doc: add note about double tab in function weechat_printf, to display message without time/alignment (plugin API reference) 2013-01-03 09:58:38 +01:00
Sebastien Helleu 27195e22d6 doc: use github repository for script msgcheck.py in developer's guide 2013-01-02 22:49:35 +01:00
Ryuunosuke Ayanokouzi 94ba7e07ce doc: update japanese docs 2013-01-02 15:34:00 +01:00
Ryuunosuke Ayanokouzi bf610aa603 doc: update japanese translations and docs 2013-01-01 20:57:54 +01:00
Sebastien Helleu 72f760cd48 aspell: fix compilation warning 2013-01-01 17:28:42 +01:00
Sebastien Helleu 3df1d70bb5 aspell: add signal "aspell_suggest" (sent when new suggestions are displayed) 2013-01-01 17:26:50 +01:00
Sebastien Helleu 4ebd300340 relay: send UTC time in irc backlog (when server capability "server-time" is enabled) 2013-01-01 15:13:05 +01:00
Nils Görs e2bf63cca1 doc: update german translations, FAQ, scripting and user guide 2013-01-01 13:44:23 +01:00
Sebastien Helleu 77afab57ed core: fix scroll to bottom of window (default key: alt+end) when line displayed is bigger than chat area 2013-01-01 13:29:29 +01:00
Sebastien Helleu 632e2c1eae core: fix scroll in buffer after enabling/disabling some filters (if scroll is on a hidden line) (bug #37885) 2013-01-01 13:24:19 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 01a1316816 Version 0.4.0-rc1 2012-12-26 16:41:55 +01:00
Sebastien Helleu dd6e5282e8 xfer: fix memory leak when refreshing xfer buffer 2012-12-25 17:02:11 +01:00
Sebastien Helleu 302b0f2f65 script: add missing close of file in case of error when computing MD5 checksum of a file 2012-12-25 17:00:58 +01:00
Sebastien Helleu 306b209421 relay: fix memory leak when adding hdata to a message (weechat protocol) 2012-12-25 16:59:46 +01:00
Sebastien Helleu e557239a4c irc: remove unneeded check of nick pointer (can not be NULL there) 2012-12-25 16:58:58 +01:00
Sebastien Helleu 45d5034ea0 irc: fix memory leak when updating modes of channel 2012-12-25 16:58:18 +01:00
Sebastien Helleu 9a024f3aba core: fix memory leak in case of error when building content of bar item for display 2012-12-25 16:57:14 +01:00
Nils Görs 67a111f7f2 core: fix detection of command in input: a single command char is considered as a command (API function "string_input_for_bufer") 2012-12-25 10:54:51 +01:00
Sebastien Helleu cf76379aa9 relay: add backlog, options and server capability "server-time" for irc protocol (task #12076)
New options:
- relay.irc.backlog_max_minutes
- relay.irc.backlog_max_number
- relay.irc.backlog_since_last_disconnect
- relay.irc.backlog_tags
- relay.irc.backlog_time_format
2012-12-24 17:31:33 +01:00
Sebastien Helleu 2e48874ce0 irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for command "NICK" 2012-12-24 16:23:01 +01:00
Sebastien Helleu 2597bafe36 irc: fix crash when splitting a message with tags 2012-12-24 15:40:50 +01:00
Sebastien Helleu 33f01dcb63 relay: fix crash after /upgrade when a client is connected 2012-12-23 10:51:54 +01:00
Nils Görs 0c15deefc0 relay: add tag "relay_client" in all messages about client 2012-12-21 22:34:12 +01:00
Sebastien Helleu c08cacd3c0 script: do not open script buffer when unknown arguments are given to command /script 2012-12-21 21:59:05 +01:00
Sebastien Helleu 992ed5b75c alias: improve completion of command /alias 2012-12-20 19:31:12 +01:00
Sebastien Helleu 135c740f73 core: improve completion of commands /help, /mute and /set 2012-12-20 19:30:57 +01:00
Sebastien Helleu 85eb3424cd core: add template %(windows_numbers) for first argument of command /window 2012-12-20 19:29:11 +01:00
Sebastien Helleu 9b10edb6c5 core: group templates of command /mouse into a single template 2012-12-20 19:27:23 +01:00
Sebastien Helleu fa1665ef81 core: search for a fallback template when a no template is matching command arguments 2012-12-20 19:23:52 +01:00
Peter Boström a67d97f16e core: add option "diff" for command /set (list options with changed value) 2012-12-20 18:18:33 +01:00
Sebastien Helleu 0e726b43ef core: fix another bug with horizontal separator displayed at bottom after split of windows (bug #37874) 2012-12-20 16:26:41 +01:00
Sebastien Helleu dd96e6daef core: fix refresh of windows after split (fix bug with horizontal separator between windows) (bug #37874) 2012-12-19 12:19:21 +01:00
Sebastien Helleu 1b0ce4bf8b core: add missing contributors in AUTHORS 2012-12-19 11:01:29 +01:00
Sebastien Helleu 2386c10917 core: add cmake dependency between targets weechat_core and version_git 2012-12-19 10:25:12 +01:00
Sebastien Helleu 0f749dc65d core: fix compilation warning on FreeBSD 2012-12-19 09:37:26 +01:00
Sebastien Helleu 3fcb00bfc5 core: fix stuck mouse (patch from Nei) (bug #36533) 2012-12-19 09:10:16 +01:00
Sebastien Helleu e667b606a9 script: fix scroll with mouse when window with script buffer is not the current window (do not force a switch to script buffer in current window) 2012-12-19 09:02:14 +01:00
Sebastien Helleu 0faf58a287 core: fix default mouse buttons actions for script buffer (focus the window before executing action) 2012-12-19 09:00:59 +01:00
Sebastien Helleu 491e31ff55 xfer: add missing tags in DCC chat messages: nick_xxx, prefix_nick_ccc, logN 2012-12-17 23:30:37 +01:00
Sebastien Helleu d37184e450 irc: return git version in CTCP VERSION and FINGER by default, add "$git" and "$versiongit" in format of CTCP replies 2012-12-16 23:11:02 +01:00
Sebastien Helleu 2b78673aa9 core: add git version in build, display it in "weechat-curses --help" and /version 2012-12-16 23:07:33 +01:00
Sebastien Helleu fc0b73207b core: remove unneeded arguments for AM_INIT_AUTOMAKE in configure.in 2012-12-16 23:02:32 +01:00
Sebastien Helleu 7eb5cc4b97 core: move comments with description of C file to top of files 2012-12-15 12:27:57 +01:00
Sebastien Helleu a64dad2597 core: simplify syntax for second argument 2012-12-14 20:44:45 +01:00
Sebastien Helleu b2169e9175 doc: add warning for autotools in user's guide 2012-12-14 20:20:09 +01:00
Sebastien Helleu fd85d310cd core: add dependencies and remove instructions for autotools in INSTALL 2012-12-14 20:19:38 +01:00
Sebastien Helleu 857fb35dcb core: fix cmake target "dist": build tarballs using git-archive and not cvs 2012-12-14 19:01:07 +01:00
Sebastien Helleu 70ad2795ea core: remove obsolete directories from .gitignore 2012-12-14 18:36:38 +01:00
Sebastien Helleu ce657fd7b6 core: remove obsolete file UPGRADE_0.3 (move part of content into file NEWS, for version 0.3.0) 2012-12-14 18:30:43 +01:00
Sebastien Helleu 7d34812f1c core: reformat comments for functions 2012-12-13 18:51:44 +01:00
Sebastien Helleu 9db5682186 core: fix compilation warning 2012-12-09 00:47:07 +01:00
Sebastien Helleu 641de51bdb api: allow creation of structure with hdata_update (allowed for hdata "history") 2012-12-08 23:54:07 +01:00
Sebastien Helleu 3f2155e548 doc: remove chapter "Authors" in user's guide (list is in file AUTHORS), remove link to forum (closed) 2012-12-07 17:11:03 +01:00
Sebastien Helleu 5f4fc11213 core: update list of contributors in AUTHORS 2012-12-07 17:10:23 +01:00
Sebastien Helleu f7c47a8644 core: fix scroll of one page down when weechat.look.scroll_page_percent is less than 100 (bug #37875) 2012-12-07 13:45:41 +01:00
Sebastien Helleu eabf103e71 core: expand char '~' with user home in first argument of hook_process 2012-12-06 13:52:13 +01:00
Sebastien Helleu 822ae76543 core: fix crash in child process of hook_process_hashtable when arguments are given in hashtable and that execvp() failed 2012-12-06 13:43:31 +01:00
Nils Görs d224594194 irc: read local variable "autorejoin" in buffer to override server option "autorejoin" (task #12256) 2012-12-05 19:39:50 +01:00
Sebastien Helleu d544a47e2c doc: update IRC commands in user's guide 2012-12-05 19:38:37 +01:00
Nils Görs 03cbb1c8f6 core: disable paste detection and confirmation if bar item "input_paste" is not used in a visible bar (task #12327) 2012-12-05 19:04:07 +01:00
Nils Görs dd99a1cf2c irc: add option "-auto" for command /connect (task #9340) 2012-12-05 18:32:30 +01:00
Sebastien Helleu 2ce90d4094 core: add option "irc.look.display_pv_away_once" in release notes for version 0.3.3 2012-12-05 16:12:13 +01:00
Sebastien Helleu 76647fc171 doc: fix style for prefixes in function weechat_prefix (plugin API reference) 2012-12-04 08:51:28 +01:00
Sebastien Helleu f411a59a7d core: use high priority (50000) for commands /command and /input so that an alias will not take precedence over these commands (bug #36353) 2012-12-02 13:15:31 +01:00
Sebastien Helleu 1fa23e6d9c alias: give higher priority to aliases (2000) so that they take precedence over an existing command 2012-12-02 13:13:24 +01:00
Sebastien Helleu c89124aadc core: execute command with higher priority when many commands with same name are found with different priorities 2012-12-02 13:12:07 +01:00
Nils Görs 2ae8d81b1f core: add color support in options weechat.look.prefix_{action|error|join|network|quit} (task #9555) 2012-12-01 16:03:20 +01:00
Sebastien Helleu 638b2e3f1c core: fix typo in comment 2012-12-01 12:34:22 +01:00
Sebastien Helleu 72959d1d8b core: fix display of combining chars (patch from Nei) (bug #37775) 2012-11-30 18:16:49 +01:00
Sebastien Helleu b7abb77b4d doc: add option "weechat.network.gnutls_ca_file" in FAQ to reduce memory used 2012-11-30 18:12:52 +01:00
Sebastien Helleu 37a3001dc7 xfer: display remote IP address for DCC chat/file (task #12289) (patch from Nils Görs) 2012-11-27 22:45:22 +01:00
Sebastien Helleu 9c3ee3c407 xfer: limit bytes received to file size (for DCC file received), fix crash when displaying a xfer file with pos greater than size 2012-11-27 19:23:59 +01:00
Nils Görs 52519e11d2 doc: update FAQ and quickstart guide 2012-11-27 15:16:37 +01:00
Sebastien Helleu ab1d5404d4 core: do not display default value for options plugins.* in output of /set 2012-11-27 13:44:41 +01:00
Sebastien Helleu 8df76563fd alias: fix default value of alias options (in "cmd" and "completion" sections): defaults to initial command, instead of empty string 2012-11-27 12:32:00 +01:00
Peter Boström 1585593bda core: display default values for changed config options in output of /set 2012-11-27 12:30:57 +01:00
Sebastien Helleu dbff3de7e5 core: add missing cmake files in packages built by autotools (CMakeParseArguments.cmake, FindPackageHandleStandardArgs.cmake, FindZLIB.cmake) 2012-11-27 10:58:45 +01:00
Sebastien Helleu 3856d527b7 doc: add SASL authentication in FAQ 2012-11-27 10:51:19 +01:00
Sebastien Helleu cdb13120ab doc: add SASL authentication in quickstart guide 2012-11-27 10:00:20 +01:00
Sebastien Helleu 215109e1a5 irc: fix compilation on FreeBSD: replace call to tzset by gmtime/localtime 2012-11-25 11:01:20 +01:00
Sebastien Helleu 46a3d95aab irc: read timestamp or ISO 8601 date format in tag "time" (capability "server-time") 2012-11-24 09:43:50 +01:00
Sebastien Helleu 53b8cdfef3 irc: add support of tags in messages, add support of "server-time" capability (task #12255)
For a server called "znc" in WeeChat, following command will enable the
"server-time" capability:

/set irc.server.znc.capabilities "znc.in/server-time"
2012-11-23 21:31:22 +01:00
Sebastien Helleu 777f977ea5 core: remove obsolete externs gui_color_init_pair and gui_color_init_pairs 2012-11-23 07:40:27 +01:00
Sebastien Helleu 1281b18688 api: use hashtable "options" for command arguments in function hook_process_hashtable (optional, default is a split of string with command) 2012-11-22 19:55:38 +01:00
Sebastien Helleu 425256b38d doc: fix typo in quickstart (part message is not allowed in /close or /buffer close) 2012-11-22 18:20:58 +01:00
Sebastien Helleu 57293ffc96 core: add version 0.3.9.2 in ChangeLog and NEWS 2012-11-18 12:04:33 +01:00
Sebastien Helleu efb795c74f core: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764) 2012-11-18 10:38:30 +01:00
Sebastien Helleu c1389f8fe1 aspell: refresh bar item "aspell_suggest" when aspell is enabled/disabled (bug #37744) 2012-11-16 13:28:24 +01:00
Sebastien Helleu adec2dec0e core: sync debian files with debian git repository 2012-11-16 07:54:59 +01:00
Sebastien Helleu f1d6f2c40a irc: fix crash on /upgrade (free channels before server data when a server is destroyed) (bug #37736) 2012-11-14 20:18:10 +01:00
Sebastien Helleu bb09670757 irc: add comments in function irc_color_decode 2012-11-14 20:16:12 +01:00
Nils Görs 5328fdcc73 doc: update german user's guide 2012-11-10 19:30:10 +01:00
Sebastien Helleu 7cd376b4b3 core: add version 0.3.9.1 in ChangeLog and NEWS 2012-11-09 20:33:22 +01:00
Sebastien Helleu 9453e81baa irc: fix crash when decoding IRC colors in strings (bug #37704) 2012-11-09 18:10:42 +01:00
Sebastien Helleu e8ab9ba18d core: stop cmake if gcrypt lib is not found (bug #37671) 2012-11-06 15:01:56 +01:00
Sebastien Helleu a176d352e3 doc: remove "optional" for arguments of function register (scripting guide) 2012-11-05 22:04:49 +01:00
Nils Görs bae9215e9e irc: fix refresh of bar item "away" after command /away or /disconnect 2012-11-05 20:17:21 +01:00
Nils Görs 93d0438240 core: update german translations 2012-11-05 18:16:46 +01:00
Sebastien Helleu 1dc44d3503 doc: fix typo in user's guide 2012-11-04 15:53:02 +01:00
Sebastien Helleu 47df178c88 core: add option aspell.check.suggestions in ChangeLog 2012-11-04 11:51:34 +01:00
Sebastien Helleu 57d5afeda5 aspell: add bar item "aspell_suggest": suggestions for misspelled word at cursor (task #12061) (patch from Nils Görs) 2012-11-04 11:50:15 +01:00
Sebastien Helleu 9e94bfd48b aspell: update bar item "aspell_dict" only if spellers have changed 2012-11-04 10:49:03 +01:00
Sebastien Helleu ebc4ff82c0 aspell: fix creation of spellers when number of dictionaries is different between two buffers 2012-11-04 09:59:45 +01:00
Sebastien Helleu c848cb42d8 irc: fix display bug in output of /quiet or /mode #channel +q (wrong nick displayed) 2012-11-03 09:59:48 +01:00
Nils Görs 8e5d313885 irc: add command /quiet, fix display of messages 728/729 (quiet list, end of quiet list) (task #12278) 2012-11-02 18:15:24 +01:00
Nils Görs b1005fc23e irc: add option irc.network.alternate_nick to disable dynamic nick generation when all nicks are already in use on server (task #12281) 2012-11-02 17:51:12 +01:00
Ailin Nemui 8b52fc90d5 core: add incomplete mouse events "event-down" and "event-drag" (task #11840) 2012-11-02 17:26:52 +01:00
Sebastien Helleu 4d436e3ac6 core: expand buffer local variables in evaluation of expressions (command /eval and function "string_eval_expression" in plugin API) 2012-11-02 15:40:15 +01:00
Sebastien Helleu f7b53fe6aa core: support many commands in /eval (separated by semicolons) 2012-11-02 15:28:48 +01:00
Sebastien Helleu 7002c44622 irc: fix compilation when gnutls is disabled (bug #37639) 2012-11-02 09:58:12 +01:00
Sebastien Helleu 00f663a8c3 doc: add chapter "bars" in japanese user's guide 2012-11-02 09:47:56 +01:00
Sebastien Helleu 32c93b5c0a core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API 2012-11-02 09:37:15 +01:00
Sebastien Helleu 3ec0ad7c62 core: remove duplicated #include 2012-10-21 19:43:12 +02:00
Sebastien Helleu 9037c0fe4c irc: add option irc.network.whois_double_nick to double nick in command /whois 2012-10-20 18:03:08 +02:00
Nils Görs 7ee9e58d1b irc: send whois on self nick when /whois is done without argument on a channel (task #12273) 2012-10-20 17:19:55 +02:00
Nils Görs ffe636ea48 doc: update german translations and user guide 2012-10-20 14:18:54 +02:00
Sebastien Helleu eba2211427 relay: fix crash when receiving a new client on a socket 2012-10-19 19:28:26 +02:00
Sebastien Helleu 4b6eac3172 doc: fix typo in example of hdata_get_string (plugin API reference) 2012-10-19 14:31:21 +02:00
Sebastien Helleu 8c8bb8e72c doc: add link to doc for dependencies in file INSTALL 2012-10-19 14:28:35 +02:00
Sebastien Helleu 130634ce6a doc: update ruby version in dependencies (user's guide) 2012-10-19 13:54:22 +02:00
Sebastien Helleu 883fb4d64d doc: rename filter "jpk" to "joinquit" in FAQ 2012-10-18 23:17:43 +02:00
stfn c2b26972da core: fix gnutls warnings 2012-10-18 22:36:52 +02:00
Sebastien Helleu ed506558e8 core: add option "-quit" for command /upgrade (save session and quit without restarting WeeChat, for delayed restoration) 2012-10-18 20:59:56 +02:00
Sebastien Helleu 93d3198b70 core: fix display of zoomed/merged buffer (with number >= 2) after switching to it (bug #37593) 2012-10-18 10:25:34 +02:00
Sebastien Helleu 0d18ef16bb core: fix typo in NEWS 2012-10-17 19:49:03 +02:00
Simon Arlott d5f140805b core: fix sendmsg/recvmsg on BSD/OSX by sending 1 byte of data (in hook_connect) 2012-10-17 17:32:56 +02:00
Sebastien Helleu f42b3d382f core: fix display problem when option weechat.look.prefix_same_nick is set (problem with nick displayed in first line of screen) (bug #37556)
To fix this bug, a feature has been removed: the first message with a nick has
the prefix forced (to not display the value of weechat.look.prefix_same_nick on
top of screen), commit was: 04e98c3f29
This feature may be reintroduced in a future commit.
2012-10-17 16:34:21 +02:00
Sebastien Helleu d403d7b79b weercd.py: add action "file" and option "file" 2012-10-17 16:19:45 +02:00
Sebastien Helleu 066f184605 core: fix connection to servers on OS X 2012-10-17 12:17:10 +02:00
Sebastien Helleu 43c01f76a2 irc: remove local variable "away" in server/channels buffers after server disconnection (bug #37582) 2012-10-16 19:25:36 +02:00
Sebastien Helleu 82a8acf9ce relay: add support of IPv6, new option relay.network.ipv6, add support of "ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270) 2012-10-16 19:14:26 +02:00
Sebastien Helleu 452229cf32 irc: fix cancel of auto-reconnection to server with /disconnect
This bug was introduced by commit 5931eed85d
2012-10-14 11:17:54 +02:00
Simon Arlott 248aa8d73a api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address (task #11205) 2012-10-14 10:59:00 +02:00
Sebastien Helleu 70ce7fe3b6 core: fix wrapping of words with wide chars (the break was made before the correct position) 2012-10-12 14:05:48 +02:00
Sebastien Helleu 5cfeb2f2bc irc: add option "-noswitch" for command /join (task #12275) 2012-10-09 21:33:09 +02:00
Sebastien Helleu aa6b886386 irc: fix crash when message 352 has too few arguments (bug #37513) 2012-10-06 19:05:13 +02:00
Sebastien Helleu 872d1e0372 doc: add missing files for script plugin in developer's guide 2012-10-06 17:32:12 +02:00
Nils Görs 668cda2684 aspell: add bar item "aspell_dict" (dictionary used on current buffer) 2012-10-06 17:16:49 +02:00
Sebastien Helleu 5443ae4cae doc: update hdata "irc_server" (add "disconnected") in plugin API reference 2012-10-06 17:11:25 +02:00
Sebastien Helleu 5931eed85d irc: remove unneeded server disconnect when server buffer is closed and server is already disconnected
This commit fixes a problem with the script autoconnect.py: the script hooks
signal "irc_server_disconnected", and this signal was sent 2 times for each
server on /quit: one time when servers are disconnected, and one time when
servers are destroyed (because buffer is closed, and then server disconnected
again). The script forces save of irc.conf on each disconnection, so some
servers were lost in irc.conf, when some servers have already been destroyed.
2012-10-06 16:07:53 +02:00
Sebastien Helleu 8caeed6c4e doc: add call to config_get in examples of functions config_<type>(_default) (plugin API reference) 2012-10-05 22:05:34 +02:00
Sebastien Helleu 33d90d75c3 relay: add missing "ssl." in output of /relay listrelay 2012-10-05 15:21:32 +02:00
Sebastien Helleu 485728a43f script: fix compilation on OS X 2012-10-03 17:40:56 +02:00
Sebastien Helleu 13d95cac8e core: sync debian files with debian git repository 2012-10-02 09:07:11 +02:00
Sebastien Helleu 6a8127d92e core: fix wrong Vcs-Browser URL for debian git repository (debian #689203) 2012-10-02 09:06:55 +02:00
Sebastien Helleu e0959486e9 Version 0.4.0-dev 2012-09-29 11:48:49 +02:00
607 changed files with 78631 additions and 43460 deletions
+5
View File
@@ -0,0 +1,5 @@
# files/directories excluded from tarballs
.git* export-ignore
debian export-ignore
weechat.spec export-ignore
+5 -6
View File
@@ -13,12 +13,15 @@
*.so
*.so.0
*.so.0.0.0
*.1
ABOUT-NLS
autom4te*
build*/*
config.guess
config.h*
config.h
config.h.in*
config-git.h
config.log
config.rpath
config.status
@@ -40,12 +43,8 @@ POTFILES
remove-potcdate.sed
Rules-quot
weechat.pc
doc/de/build/*
doc/en/build/*
doc/fr/build/*
*stamp
stamp*
src/gui/curses/weechat-curses
src/gui/gtk/weechat-gtk
src/gui/curses/weechat
+46 -28
View File
@@ -6,48 +6,66 @@ Developers
* General code
** Sébastien Helleu <flashcode@flashtux.org>
*** Web: http://www.weechat.org/
*** IRC: 'FlashCode' on irc.freenode.net
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
* Scripts plugins, debian packager
** Emmanuel Bouthenot <kolter@openics.org>
*** IRC: 'kolter' on irc.freenode.net
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
Contributors
------------
* Julien Louis <ptitlouis@sysif.net>, IRC: 'ptitlouis'
* Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: 'divVerent'
* Jiri Golembiovsky <golemj@gmail.com>, IRC: 'GolemJ'
* Jim Ramsay <i.am@jimramsay.com>, IRC: 'lack'
* Odin <odin@dtdm.org>, IRC: 'Odin'
* Pistos, IRC: 'pistos'
* Gwenn, IRC: 'gwenn'
* Voroskoi, IRC: 'voroskoi'
* Frank Zacharias
* Pavel Shevchuk, IRC: 'Stalwart'
* soltys
* Nils Görs
* rettub
* Elián Hanisch, IRC: 'm4v'
* Marco Paolone
Alphabetically:
* Ailin Nemui (Nei)
* Aleksey V Zapparov
* Andrew Potter
* Antoine Pietri (seirl)
* Arvydas Sidorenko
* Benoit Papillault (benoit)
* Dmitry Kobylin
* Dominik Honnef
* JD Horelick, IRC: 'jdhore'
* Stefano Pigozzi
* Ivan Sichmann Freitas
* Elián Hanisch (m4v)
* Elizabeth Myers (Elizacat)
* Esteban I. Ruiz Moreno (Exio)
* Frank Zacharias
* Gu1ll4um3r0m41n
* gwenn
* Hasan Kiran (turgay)
* Ivan Sichmann Freitas
* JD Horelick (jdhore)
* Jim Ramsay (lack)
* Jiri Golembiovsky (GolemJ)
* Julien Louis (ptitlouis)
* Krzysztof Koroscik (soltys)
* Kyle Fuller (kylef)
* Lázaro A.
* Marco Paolone
* Mantas Mikulėnas (grawity)
* Mateusz Poszwa
* Nicolas Cavigneaux
* Nils Görs (nils_2)
* Odin
* Pavel Shevchuk (Stalwart)
* Peter Boström (pbos)
* pistos
* Quentin Glidic (SardemFF7)
* Quico Noizeux
* rettub
* Rudolf Polzer (divVerent)
* Ryuunosuke Ayanokouzi
* Sergio Durigan Junior
* Simon Arlott
* Simon Kuhnle
* Stefano Pigozzi
* voroskoi
Contact
-------
Whole team is connected to IRC:
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
Developers are connected to IRC:
See README file for license detail.
* server: 'irc.freenode.net'
* channels: '#weechat' (english) and '#weechat-fr' (french)
+27 -16
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -32,8 +32,8 @@ IF(PREFIX)
ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "9")
SET(VERSION_MINOR "4")
SET(VERSION_PATCH "2")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
@@ -64,14 +64,13 @@ ELSE(DEFINED INCLUDEDIR)
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_GNUTLS "Enable SSLv3/TLS support" ON)
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
OPTION(ENABLE_ALIAS "Enable Alias plugin" ON)
OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON)
OPTION(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
OPTION(ENABLE_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)
@@ -81,22 +80,33 @@ OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
OPTION(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
OPTION(ENABLE_XFER "Enable Xfer plugin" ON)
OPTION(ENABLE_DOC "Enable Documentation" ON)
OPTION(ENABLE_MAN "Enable build of man page" OFF)
OPTION(ENABLE_DOC "Enable build of documentation" OFF)
# option WEECHAT_HOME
IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "~/.weechat")
ENDIF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
FORCE)
MARK_AS_ADVANCED(CLEAR WEECHAT_HOME)
# option CA_FILE
IF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
SET(CA_FILE "/etc/ssl/certs/ca-certificates.crt")
ENDIF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
SET(CA_FILE "${CA_FILE}" CACHE
STRING "File containing the certificate authorities (default is \"/etc/ssl/certs/ca-certificates.crt\"). This is the default value of option \"weechat.network.gnutls_ca_file\"."
FORCE)
MARK_AS_ADVANCED(CLEAR CA_FILE)
IF(ENABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(ENABLE_NLS)
@@ -106,10 +116,10 @@ ADD_SUBDIRECTORY( doc )
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/makedist.sh.in"
"${CMAKE_CURRENT_BINARY_DIR}/makedist.sh" IMMEDIATE
@ONLY)
# set the git version in "config-git.h"
ADD_CUSTOM_TARGET(version_git ALL
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
@@ -120,9 +130,8 @@ ADD_CUSTOM_TARGET(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
ADD_CUSTOM_TARGET(dist
"${CMAKE_BINARY_DIR}/makedist.sh"
DEPENDS doc
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
"${CMAKE_CURRENT_SOURCE_DIR}/makedist.sh" "${VERSION}" "HEAD"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
# pkgconfig file
SET(PACKAGE "${PROJECT_NAME}")
@@ -133,6 +142,9 @@ SET(includedir "\${prefix}/include")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
# icon
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
# packages
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
@@ -156,8 +168,7 @@ SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
"/weechat-gtk$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
)
INCLUDE(CPack)
+450 -63
View File
@@ -1,9 +1,395 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.9, 2012-09-29
v0.4.2, 2013-10-06
This document lists all changes for each version.
For a list of important changes that require manual action, please look at
http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file 'NEWS' in sources).
Version 0.4.2 (2013-10-06)
--------------------------
* core: clear whole line before displaying content instead of clearing after
the end of content (bug #40115)
* core: fix time displayed in status bar (it was one second late) (bug #40097)
* core: fix memory leak on unhook of a print hook (if using tags)
* core: fix computation of columns in output of /help (take care about size of
time/buffer/prefix)
* core: display day change message dynamically (do not store it as a line in
buffer), split option weechat.look.day_change_time_format into two options
weechat.look.day_change_message_{1date|2dates}, new option
weechat.color.chat_day_change (task #12775)
* core: add syntax "@buffer:item" in bar items to force the buffer used when
displaying the bar item (task #12717)
* core: add search of regular expression in buffer, don't reset search type on
a new search, select where to search (messages/prefixes), add keys in search
context: alt+"c" (case (in)sensitive search), tab (search in
messages/prefixes)
* core: add text emphasis in messages when searching text in buffer, new
options: weechat.look.emphasized_attributes, weechat.color.emphasized,
weechat.color.emphasized_bg
* core: fix random crash on "/buffer close" with a buffer number (or a range of
buffers)
* core: optimize the removal of lines in buffers (a lot faster to clear/close
buffers with lot of lines)
* core: change color format for options weechat.look.buffer_time_format and
weechat.look.prefix_{action|error|join|network|quit} from `${xxx}` to
`${color:xxx}`
* core: add secured data (encryption of passwords or private data): add new
command /secure and new file sec.conf (task #7395)
* core: rename binary and man page from "weechat-curses" to "weechat"
(task #11027)
* core: disable build of doc by default, add cmake option ENABLE_MAN to compile
man page (off by default)
* core: add option "-o" for command /color
* core: fix priority of logical operators in evaluation of expression
(AND takes precedence over the OR) and first evaluate sub-expressions between
parentheses
* core: remove gap after read marker line when there is no bar on the right
(bug #39548)
* core: add CA_FILE option in cmake and configure to setup default
value of option weechat.network.gnutls_ca_file (default is
"/etc/ssl/certs/ca-certificates.crt") (task #12725)
* core: use "/dev/null" for stdin in hook_process instead of closing stdin
(bug #39538)
* core: add option "scroll_beyond_end" for command /window (task #6745)
* core: add options weechat.look.hotlist_prefix and weechat.look.hotlist_suffix
(task #12730)
* core: add option weechat.look.key_bind_safe
* core: fix char displayed at the intersection of three windows (bug #39331)
* core: fix crash in evaluation of expression when reading a string in hdata
with a NULL value (bug #39419)
* core: fix display bugs with some UTF-8 chars that truncates messages displayed
(for example U+26C4) (bug #39201)
* core: update man page and add translations (in french, german, italian, and
japanese)
* core: remove extra space after empty prefix (when prefix for action, error,
join, network or quit is set to empty string) (bug #39218)
* core: add option weechat.network.proxy_curl (task #12651)
* core: add "proxy" infolist and hdata
* core: fix random crash on mouse actions (bug #39094)
* core: set options weechat.look.color_inactive_{buffer|window} to "on" by
default
* core: add infolist "layout" and hdata "layout", "layout_buffer" and
"layout_window"
* core: fix line alignment when option weechat.look.buffer_time_format is set
to empty string
* api: return hashtable item pointer in functions hashtable_set and
hashtable_set_with_size
* api: change type of hashtable key hash to unsigned long
* api: add "callback_free_key" in hashtable
* api: add support of colors with format `${color:xxx}` in function
string_eval_expression and command /eval
* api: add argument "options" in function string_eval_expression, add option
"-c" for command /eval (to evaluate a condition)
* api: use pointer for infolist "hook" to return only one hook
* api: add new function strlen_screen
* plugins: remove the demo plugin
* aspell: fix detection of word start/end when there are apostrophes or minus
chars before/after word
* aspell: rename option aspell.look.color to aspell.color.misspelled, add option
aspell.color.suggestions
* aspell: add support of enchant library (patch #6858)
* irc: fix reconnection to server using IPv6 (bug #38819, bug #40166)
* irc: add option irc.look.notice_welcome_redirect to automatically redirect
channel welcome notices to the channel buffer
* irc: replace default prefix modes "qaohvu" by the standard ones "ov" when
PREFIX is not sent by server (bug #39802)
* irc: use 6697 as default port for SSL servers created with URL "ircs://"
(bug #39621)
* irc: display number of ops/halfops/voices on channel join only for supported
modes on server (bug #39582)
* irc: fix self nick color in server messages after nick is changed with /nick
(bug #39415)
* irc: add support of wildcards in commands (de)op/halfop/voice, split IRC
message sent if number of nicks is greater than server MODES (from message
005) (task #9221)
* irc: add option irc.look.pv_tags
* irc: fix error message on /invite without arguments (bug #39272)
* irc: add support of special variables $nick/$channel/$server in commands
/allchan and /allserv
* irc: add option irc.look.nick_color_hash: hash algorithm to find nick color
(patch #8062)
* irc: fix multiple nicks in command /query (separated by commas): open one
buffer per nick
* logger: add option "flush" for command /logger
* lua: fix interpreter used in API functions (bug #39470)
* relay: fix decoding of websocket frames when there are multiple frames in a
single message received (only the first one was decoded)
* relay: add command "ping" in weechat protocol (task #12689)
* relay: fix binding to an IP address (bug #39119)
* rmodifier: add option "missing" for command /rmodifier
* script: add info about things defined by script (like commands, options, ...)
in the detailed view of script (/script show)
* scripts: add hdata with script callback
* xfer: add option xfer.look.pv_tags
* xfer: fix compilation on OpenBSD (bug #39071)
Version 0.4.1 (2013-05-20)
--------------------------
* core: fix display of long lines without time (message beginning with two tabs)
* core: make nick prefix/suffix dynamic (not stored in the line): move options
irc.look.nick_{prefix|suffix} to weechat.look.nick_{prefix|suffix} and options
irc.color.nick_{prefix|suffix} to weechat.color.chat_nick_{prefix|suffix},
add new options weechat.look.prefix_align_more_after,
weechat.look.prefix_buffer_align_more_after, logger.file.nick_{prefix|suffix}
(bug #37531)
* core: reset scroll in window before zooming on a merged buffer (bug #38207)
* core: install icon file (patch #7972)
* core: fix refresh of item "completion": clear it after any action that is
changing content of command line and after switch of buffer (bug #38214)
* core: add support of multiple layouts (task #11274)
* core: add signals nicklist_{group|nick}_removing and hsignals
nicklist_{group|nick}_{added|removing|changed}
* core: add count for groups, nicks, and total in nicklist
* core: allow read of array in hdata without using index
* core: add option "dirs" for command /debug
* core: fix detection of iconv with cmake on OS X (bug #38321)
* core: add signal "window_opened" (task #12464)
* core: fix structures before buffer data when a buffer is closed
* core: fix refresh of line after changes with hdata_update (update flag
"displayed" according to filters)
* core: fix detection of python on Ubuntu Raring
* core: fix hidden lines for messages without date when option
weechat.history.max_buffer_lines_minutes is set (bug #38197)
* core: use default hash/comparison callback for keys of type
integer/pointer/time in hashtable
* api: do not display a warning by default when loading a script with a license
different from GPL
* api: add new function hdata_search
* api: add property "completion_freeze" for function buffer_set: do not stop
completion when command line is updated
* api: fix connection to servers with hook_connect on OS X (bug #38496)
* api: fix bug in string_match when mask begins and ends with "*"
* api: allow hashtable with keys that are not strings in function
hashtable_add_to_infolist
* api: fix function string_mask_to_regex: escape all special chars used in regex
(bug #38398)
* aspell: add completion "aspell_dicts" (list of aspell installed dictionaries)
* aspell: add info "aspell_dict" (dictionaries used on a buffer)
* aspell: optimization on spellers to improve speed (save state by buffer)
* guile: fix crash in function hdata_move
* guile: fix arguments given to callbacks (separate arguments instead of one
list with arguments inside), guile >= 2.0 is now required (bug #38350)
* guile: fix crash on calls to callbacks during load of script (bug #38343)
* guile: fix compilation with guile 2.0
* irc: fix name of server buffer after /server rename (set name "server.name"
instead of "name")
* irc: fix uncontrolled format string when sending unknown irc commands
(if option irc.network.send_unknown_commands is on)
* irc: fix uncontrolled format string when sending ison command (for nicks
monitored by /notify)
* irc: fix refresh of nick in input bar when joining a new channel with op
status (bug #38969)
* irc: fix display of CTCP messages that contain bold attribute (bug #38895)
* irc: add support of "dh-aes" SASL mechanism (patch #8020)
* irc: fix duplicate nick completion when someone rejoins the channel with same
nick but a different case (bug #38841)
* irc: add support of UHNAMES (capability "userhost-in-names") (task #9353)
* irc: add tag "irc_nick_back" for messages displayed in private buffer when a
nick is back on server (task #12576)
* irc: fix crash on command "/allchan /close"
* irc: add option irc.look.display_join_message (task #10895)
* irc: fix default completion (like nicks) in commands /msg, /notice, /query and
/topic
* irc: fix prefix color for nick when the prefix is not in
irc.color.nick_prefixes: use default color (key "*")
* irc: add option irc.look.pv_buffer: automatically merge private buffers
(optionally by server) (task #11924)
* irc: rename option irc.network.lag_disconnect to irc.network.lag_reconnect,
value is now a number of seconds
* irc: hide passwords in commands or messages sent to nickserv (/msg nickserv)
with new modifiers "irc_command_auth" and "irc_message_auth", remove option
irc.look.hide_nickserv_pwd, add option irc.look.nicks_hide_password
(bug #38346)
* irc: fix display of malformed CTCP (without closing char) (bug #38347)
* irc: unmask smart filtered join if nick speaks in channel some minutes after
the join, new option irc.look.smart_filter_join_unmask (task #12405)
* irc: fix memory leak in purge of hashtables with joins (it was done only for
the first server in the list)
* irc: add color in output of /names when result is on server buffer (channel
not joined) (bug #38070)
* lua: remove use of functions for API constants
* lua: fix crash on stack overflow: call lua_pop() for values returned by lua
functions (bug #38510)
* perl: simplify code to load scripts
* python: fix crash when loading scripts with Python 3.x (patch #8044)
* relay: fix uncontrolled format string in redirection of irc commands
* relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip)
* relay: add message "_nicklist_diff" (differences between old and current
nicklist)
* relay: add support of multiple servers on same port for irc protocol (the
client must send the server in the "PASS" command)
* relay: add WebSocket server support (RFC 6455) for irc and weechat protocols,
new option relay.network.websocket_allowed_origins
* relay: add options "buffers" and "upgrade" for commands sync/desync in weechat
protocol
* relay: fix commands sync/desync in weechat protocol (bug #38215)
* rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new
modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier
"irc_message_auth")
* ruby: fix crash in function hdata_move
* ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of
function config_new_option (bug #31050)
* script: fix compilation on GNU/Hurd (patch #7977)
* script: create "script" directory on each action, just in case it has been
removed (bug #38472)
* script: add option script.scripts.autoload, add options "autoload",
"noautoload" and "toggleautoload" for command /script, add action "A" (meta-A)
on script buffer (toggle autoload) (task #12393)
* scripts: create directories (language and language/autoload) on each action
(install/remove/autoload), just in case they have been removed (bug #38473)
* scripts: do not allow empty script name in function "register"
* xfer: add option xfer.file.auto_accept_nicks (patch #7962)
* xfer: fix freeze of DCC file received: use non-blocking socket after
connection to sender and ensure the ACK is properly sent (bug #38340)
Version 0.4.0 (2013-01-20)
--------------------------
* core: fix infinite loop when a regex gives an empty match (bug #38112)
* core: fix detection of guile in configure
* core: fix click in item "buffer_nicklist" when nicklist is a root bar
(bug #38080)
* core: fix line returned when clicking on a bar (according to position and
filling) (bug #38069)
* core: fix refresh of bars when applying layout (bug #37944, bug #37952)
* core: add buffer pointer in arguments for signals "input_search",
"input_text_changed" and "input_text_cursor_moved"
* core: fix scroll to bottom of window (default key: alt+end) when line
displayed is bigger than chat area
* core: fix scroll in buffer after enabling/disabling some filters (if scroll
is on a hidden line) (bug #37885)
* core: fix memory leak in case of error when building content of bar item for
display
* core: fix detection of command in input: a single command char is considered
as a command (API function "string_input_for_buffer")
* core: search for a fallback template when a no template is matching command
arguments
* core: add option "diff" for command /set (list options with changed value)
* core: fix refresh of windows after split (fix bug with horizontal separator
between windows) (bug #37874)
* core: fix stuck mouse (bug #36533)
* core: fix default mouse buttons actions for script buffer (focus the window
before executing action)
* core: add git version in build, display it in "weechat-curses --help" and
/version
* core: fix scroll of one page down when weechat.look.scroll_page_percent is
less than 100 (bug #37875)
* core: disable paste detection and confirmation if bar item "input_paste" is
not used in a visible bar (task #12327)
* core: use high priority (50000) for commands /command and /input so that an
alias will not take precedence over these commands (bug #36353)
* core: execute command with higher priority when many commands with same name
are found with different priorities
* core: add color support in options
weechat.look.prefix_{action|error|join|network|quit} (task #9555)
* core: fix display of combining chars (bug #37775)
* core: display default values for changed config options in output of /set
* core: stop cmake if gcrypt lib is not found (bug #37671)
* core: add incomplete mouse events "event-down" and "event-drag" (task #11840)
* core: add command /eval, use expression in conditions for bars
* core: add option "-quit" for command /upgrade (save session and quit without
restarting WeeChat, for delayed restoration)
* core: fix display of zoomed/merged buffer (with number >= 2) after switching
to it (bug #37593)
* core: fix display problem when option weechat.look.prefix_same_nick is set
(problem with nick displayed in first line of screen) (bug #37556)
* core: fix wrapping of words with wide chars (the break was made before the
correct position)
* api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and
hook_hsignal (stop sending the signal immediately)
* api: allow creation of structure with hdata_update (allowed for hdata
"history")
* api: use hashtable "options" for command arguments in function
hook_process_hashtable (optional, default is a split of string with command)
* api: do not call shell to execute command in hook_process (fix security
problem when a plugin/script gives untrusted command) (bug #37764)
* api: add new function "string_eval_expression"
* api: connect with IPv6 by default in hook_connect (with fallback to IPv4),
shuffle list of hosts for a same address, add argument "retry" for
hook_connect, move "sock" from hook_connect arguments to callback of
hook_connect (task #11205)
* alias: give higher priority to aliases (2000) so that they take precedence
over an existing command
* aspell: ignore self and remote nicks in private buffers
* aspell: add signal "aspell_suggest" (sent when new suggestions are displayed)
* aspell: add bar items "aspell_dict" (dictionary used on current buffer) and
"aspell_suggest" (suggestions for misspelled word at cursor), add option
aspell.check.suggestions (task #12061)
* aspell: fix creation of spellers when number of dictionaries is different
between two buffers
* guile: fix bad conversion of shared strings (replace calls to
scm_i_string_chars by scm_to_locale_string) (bug #38067)
* irc: fix display of actions (/me) when they are received from a relay client
(in channel and private buffers) (bug #38027)
* irc: fix memory leak when updating modes of channel
* irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for
command "NICK"
* irc: return git version in CTCP VERSION and FINGER by default, add "$git"
and "$versiongit" in format of CTCP replies
* irc: read local variable "autorejoin" in buffer to override server option
"autorejoin" (task #12256)
* irc: add option "-auto" for command /connect (task #9340)
* irc: add support of "server-time" capability (task #12255)
* irc: add support of tags in messages
* irc: fix crash on /upgrade (free channels before server data when a server
is destroyed) (bug #37736)
* irc: fix crash when decoding IRC colors in strings (bug #37704)
* irc: fix refresh of bar item "away" after command /away or /disconnect
* irc: add command /quiet, fix display of messages 728/729 (quiet list, end of
quiet list) (task #12278)
* irc: add option irc.network.alternate_nick to disable dynamic nick generation
when all nicks are already in use on server (task #12281)
* irc: add option irc.network.whois_double_nick to double nick in command /whois
* irc: send whois on self nick when /whois is done without argument on a channel
(task #12273)
* irc: remove local variable "away" in server/channels buffers after server
disconnection (bug #37582)
* irc: add option "-noswitch" for command /join (task #12275)
* irc: fix crash when message 352 has too few arguments (bug #37513)
* irc: remove unneeded server disconnect when server buffer is closed and server
is already disconnected
* perl: display script filename in error messages
* perl: fix calls to callbacks during load of script when multiplicity is
disabled (bug #38044)
* relay: fix duplicated messages sent to irc clients (when messages are
redirected) (bug #37870)
* relay: fix memory leak when adding hdata to a message (weechat protocol)
* relay: add backlog and server capability "server-time" for irc protocol, add
new options relay.irc.backlog_max_minutes, relay.irc.backlog_max_number,
relay.irc.backlog_since_last_disconnect, relay.irc.backlog_tags,
relay.irc.backlog_time_format (task #12076)
* relay: fix crash after /upgrade when a client is connected
* relay: add support of IPv6, new option relay.network.ipv6, add support of
"ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270)
* relay: add missing "ssl." in output of /relay listrelay
* script: fix scroll with mouse when window with script buffer is not the
current window (do not force a switch to script buffer in current window)
* script: fix compilation on OS X
* xfer: fix memory leak when refreshing xfer buffer
* xfer: add missing tags in DCC chat messages: nick_xxx, prefix_nick_ccc, logN
* xfer: display remote IP address for DCC chat/file (task #12289)
* xfer: limit bytes received to file size (for DCC file received), fix crash
when displaying a xfer file with pos greater than size
Version 0.3.9.2 (2012-11-18)
----------------------------
* core: do not call shell to execute command in hook_process (fix security
problem when a plugin/script gives untrusted command) (bug #37764)
Version 0.3.9.1 (2012-11-09)
----------------------------
* irc: fix crash when decoding IRC colors in strings (bug #37704)
Version 0.3.9 (2012-09-29)
--------------------------
@@ -42,7 +428,7 @@ Version 0.3.9 (2012-09-29)
* core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by
script plugins), display subplugin in /help on commands (task #12049)
* core: add option weechat.look.jump_smart_back_to_buffer (jump back to initial
buffer after reaching end of hotlist, on by default, which is old behaviour)
buffer after reaching end of hotlist, on by default, which is old behavior)
* core: add default key alt+"s" (toggle aspell)
* core: add cmake option "MANDIR" (bug #36776)
* core: add callback "nickcmp" in buffers
@@ -51,10 +437,10 @@ Version 0.3.9 (2012-09-29)
* core: add options weechat.look.color_nick_offline and
weechat.color.chat_nick_offline{_highlight|_highlight_bg} to use different
color for offline nicks in prefix (task #11109)
* core: reallow names beginning with "#" for bars, proxies and filters
* core: allow again names beginning with "#" for bars, proxies and filters
* core: escape special chars (`#[\`) in configuration files for name of options
(bug #36584)
* doc: add japanese user's guide (patch #7827), scripting guide and tester's
* doc: add Japanese user's guide (patch #7827), scripting guide and tester's
guide
* api: allow update for some variables of hdata, add new functions hdata_update
and hdata_set
@@ -90,12 +476,12 @@ Version 0.3.9 (2012-09-29)
* irc: add bar item "buffer_modes", remove option irc.look.item_channel_modes
(task #12022)
* irc: fix parsing of user modes (ignore everything after first space)
(bug #36756)
(bug #36756, bug #31572)
* irc: add option irc.look.ctcp_time_format to customize reply to CTCP TIME
(task #12150)
* irc: fix freeze when reading on socket with SSL enabled (use non-blocking
sockets) (bug #35097)
* irc: reallow names beginning with "#" for servers
* irc: allow again names beginning with "#" for servers
* logger: add tags in backlog lines displayed when opening buffer
* logger: add messages "Day changed to" in backlog (task #12187)
* lua: support of lua 5.2
@@ -129,7 +515,7 @@ Version 0.3.8 (2012-06-03)
* core: fix crash in focus hook for nicklist (bug #36271)
* core: fix truncated configuration files (zero-length) after system crash
(bug #36383)
* core: fix display bugs and crashs with small windows (bug #36107)
* core: fix display bugs and crashes with small windows (bug #36107)
* core: convert options weechat.look.prefix_align_more and
weechat.look.prefix_buffer_align_more from boolean to string (task #11197)
* core: fix display bug with prefix when length is greater than max and prefix
@@ -145,7 +531,7 @@ Version 0.3.8 (2012-06-03)
weechat.look.paste_bracketed and weechat.look.paste_bracketed_timer_delay
(task #11316)
* core: fix display of wide chars on last column of chat area (patch #7733)
* doc: add japanese FAQ (patch #7781)
* doc: add Japanese FAQ (patch #7781)
* api: display warning in scripts when invalid pointers (malformed strings) are
given to plugin API functions (warning displayed if debug for plugin is >= 1)
* api: add list "gui_buffer_last_displayed" in hdata "buffer"
@@ -210,9 +596,9 @@ Version 0.3.8 (2012-06-03)
Version 0.3.7 (2012-02-26)
--------------------------
* core: add japanese translations
* core: add Japanese translations
* core: fix expand of path `~` to home of user in function string_expand_home
(`~/xxx` was ok, but not `~`)
(`~/xxx` was OK, but not `~`)
* core: fix memory leak when closing buffer
* core: fix memory leak in function util_search_full_lib_name
* core: automatically add newline char after last pasted line (when pasting many
@@ -235,11 +621,11 @@ Version 0.3.7 (2012-02-26)
gnome-terminal
* core: add option "hooks" for command /debug
* core: add option "weechat.look.scroll_bottom_after_switch" (if enabled,
restore old behaviour before fix of bug #25555 in version 0.3.5)
restore old behavior before fix of bug #25555 in version 0.3.5)
* core: apply filters after full reload of configuration files (with /reload)
(bug #31182)
* core: allow list for option weechat.plugin.extension (makes weechat.conf
portable accross Un*x and Windows) (task #11479)
portable across Un*x and Windows) (task #11479)
* core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more)
(bug #34727)
* core: add new option weechat.completion.base_word_until_cursor: allow
@@ -333,7 +719,7 @@ Version 0.3.6 (2011-10-22)
* core: fix paste detection (problem with end of lines)
* core: add new option weechat.look.color_basic_force_bold, off by default: bold
is used only if terminal has less than 16 colors (patch #7621)
* core: add default key "meta2-[E" (F5) for linux console
* core: add default key "meta2-[E" (F5) for Linux console
* core: fix display of paste multi-line prompt with a root input bar
(bug #34305)
* core: add "inactive" colors for inactive windows and lines in merged buffers,
@@ -578,7 +964,7 @@ Version 0.3.4 (2011-01-16)
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
* core: use similar behavior for keys bound to local or global history
(bug #30759)
* api: add priority for hooks (task #10550)
* api: add new functions: list_search_pos, list_casesearch_pos,
@@ -589,7 +975,7 @@ Version 0.3.4 (2011-01-16)
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: differenciate notices from messages in private buffer (bug #31980)
* irc: differentiate notices from messages in private buffer (bug #31980)
* irc: update nick modes with message 221 (bug #32038)
* irc: add option "-server" to command /join (task #10837)
* irc: fix bug with charset decoding on private buffers (decoding was made for
@@ -663,7 +1049,7 @@ Version 0.3.3 (2010-08-07)
* 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 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
@@ -745,7 +1131,7 @@ Version 0.3.2 (2010-04-18)
* 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 MULTIPLICITY is disabled
* perl: fix crash when multiplicity is disabled
* 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
@@ -858,7 +1244,7 @@ Version 0.3.0 (2009-09-06)
* irc: add irc plugin (replaces old IRC code in core) (task #6217)
* irc: add smart join/part/quit message filter (task #8503)
* irc: use of many addresses for servers (auto-switch when a connexion fails),
* irc: use of many addresses for servers (auto-switch when a connection fails),
nicks are now set with one option "nicks" (task #6088)
* irc: add some colors in messages from server (for text and nicks)
(task #8926)
@@ -867,7 +1253,7 @@ Version 0.3.0 (2009-09-06)
disconnecting during connection problem (bug #17584)
* irc: command /whois is now authorized in private without argument
(task #7482)
* irc: fix private buffer name with irssi proxy (bug #26589)
* irc: fix private buffer name with Irssi proxy (bug #26589)
* irc: remove kernel info in CTCP VERSION reply (task #7494)
* irc: add missing commands (328, 369)
* irc: fix mode parsing when receiving modes with arguments (bug #26793)
@@ -915,9 +1301,9 @@ Version 0.3.0 (2009-09-06)
* network: fix network connection for hostnames resolving to several IPs: try
all IPs in list until one succeeds (bug #21473, debian #498610)
* core: add group support in nicklist
* core: improve main loop: higher timout in select(), less CPU usage
* core: improve main loop: higher timeout in select(), less CPU usage
* core: add /reload command to reload WeeChat and plugins config files (signal
SIGHUP is catched to reload config files)
SIGHUP is caught to reload config files)
* core: add new /layout command and save_layout_on_exit config option, to
save/restore windows and buffers order (task #5453)
* core: add new options for completion, optional stop instead of cycling with
@@ -969,7 +1355,7 @@ Version 0.2.6 (2007-09-06)
* add paste detection, new options look_paste_max_lines and col_input_actions
(task #5442)
* fix bug with highlight and UTF-8 chars around word (bug #20753)
* add swedish quickstart guide
* add Swedish quickstart guide
* add support of channel mode +u (channel user) (bug #20717)
* improve /connect command to connect to a host by creating a temporary server,
add option to /server to create temporary server (task #7095)
@@ -1006,8 +1392,8 @@ Version 0.2.6 (2007-09-06)
Version 0.2.5 (2007-06-07)
--------------------------
* fix QUOTE command: now allowed when socket is ok (even if IRC connection to
server is not ok) (bug #20113)
* fix QUOTE command: now allowed when socket is OK (even if IRC connection to
server is not OK) (bug #20113)
* add missing IRC commands (327, 378, 379) (bug #20091)
* fix hotlist when exiting search mode: current buffer is removed from hotlist
* add "%M" for completion with nicks of current server (nicks on open channels)
@@ -1033,7 +1419,7 @@ Version 0.2.5 (2007-06-07)
* add protocol priority for gnutls (patch #5915)
* add channel admin mode "!" for some IRC servers
* fix bug with iso2022jp locale (bug #18719)
* fix string format bug when displaying string thru plugin script API
* fix string format bug when displaying string through plugin script API
* add /reconnect command (task #5448)
* add "-all" option for /connect and /disconnect commands (task #6232)
* improve nick completion: completion with last speakers first and self nick at
@@ -1071,7 +1457,7 @@ Version 0.2.4 (2007-03-29)
text on command line (task #6468)
* fix permissions on "dcc" and "logs" directories (bug #18978)
* add event handler to plugin API
* add scots quickstart guide
* add Scots quickstart guide
* add numeric argument for /clear command (buffer number) (patch #5372)
* fix crash when /away command is issued with no server connection (bug #18839)
* fix crash when closing a buffer opened on many windows
@@ -1096,7 +1482,7 @@ Version 0.2.2 (2007-01-06)
* fix bug with use of first buffer for a channel if not connected to server
(now allowed only for a server buffer)
* fix refresh bug with private buffer title
* fix bug with nick completion in command args (now uses option
* fix bug with nick completion in command arguments (now uses option
look_nick_completion_ignore)
* fix display bug with color for first line on screen (bug #17719)
* add anti-flood option (irc_anti_flood) (task #5442)
@@ -1104,7 +1490,7 @@ Version 0.2.2 (2007-01-06)
* plugins: "add_message_handler" now accepts "*" for all IRC messages
* add keys (F9/F10) to scroll topic (task #6030)
* add auto completion with channels and filenames (task #5423)
* fix memleak in keyboard input
* fix memory leak in keyboard input
* fix refresh bug when changing config options if window is split
* add space between chat and nicklist when position is "right" (bug #17852)
* add option "look_nicklist_separator" (task #5437)
@@ -1146,13 +1532,13 @@ Version 0.2.1 (2006-10-01)
* new signals handled: SIGTERM and SIGHUP (received when terminal is closed):
clean WeeChat quit (send quit to irc servers then quit WeeChat)
* add some new default key bindings for existing keys (for some OS)
* command /key now ok with one arg (key name): display key if found
* command /key now OK with one argument (key name): display key if found
* fix bug with CTCP VERSION sent on channels (bug #17547)
* add current channel completion for /ctcp command
* fix bugs in get_buffer_data() which breaks the retrieval of buffer content
(perl, lua)
* fix nicklist display bug when top/bottom (not enough lines) (bug #17537)
* fix bug with auto-rejoin of keyed chans (bug #17534)
* fix bug with auto-rejoin of keyed channels (bug #17534)
* add default nick completion when line starts with "//" (bug #17535)
* 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)
@@ -1203,7 +1589,7 @@ Version 0.2.0 (2006-08-19)
* fix crash when setting look_one_server_buffer to ON (bug #16932)
* add new functions in plugin/script API: get window info, get buffer info, get
buffer content
* add polish, russian and czech quickstart guide
* add polish, Russian and Czech quickstart guide
* fix display bug with special char (bug #16732)
* add color encoding for some commands like /me
* add aspell plugin
@@ -1218,7 +1604,8 @@ Version 0.2.0 (2006-08-19)
Version 0.1.9 (2006-05-25)
--------------------------
* fix /squery command (message sent to server, now ok with # args > 2)
* fix /squery command (message sent to server, now OK with more than two
arguments)
* fix /alias command (with an alias name, display content)
* improve lua plugin detection (bug #16574)
* add backtrace when WeeChat crashes, log file automatically renamed
@@ -1232,11 +1619,11 @@ Version 0.1.9 (2006-05-25)
* fix Ruby crash when handler does not return OK or KO (bug #16552)
* fix UTF-8 display bug with chars using more than one cell on screen
(bug #16356)
* fix display bug with DCC file size when > 1 Gb
* fix display bug with DCC file size when > 1 GB
* fix refresh bug (deadlock in curses) when terminal is resized (bug #16542)
* fix nicklist sort bug
* add russian translations (thanks to Pavel Shevchuk)
* add german doc (thanks to Frank Zacharias)
* add Russian translations (thanks to Pavel Shevchuk)
* add German doc (thanks to Frank Zacharias)
* add missing IRC commands (006, 007, 290, 292, 310, 379, 437, 974)
* fix crash when multiple pv have same name: now it's forbidden and pv buffer
is not renamed (when a nick changes) if another exists with same name
@@ -1246,10 +1633,10 @@ Version 0.1.9 (2006-05-25)
* fix many crashes with DCC chat (bug #16416)
* add new option to customize input prompt
* add nick modes
* fix commands 332, 333 (/topic now ok when channel is not opened)
* fix commands 332, 333 (/topic now OK when channel is not opened)
* remove color encoding and charset conversion for commands (only allowed in
text sent to channel/private)
* add hostnames associeted to nicks (available for /ban completion)
* add hostnames associated to nicks (available for /ban completion)
* add "+p" mode for channels, fix mode display in status bar
* add nick alignment options
* fix /names command: now displays result when not on a channel
@@ -1290,7 +1677,7 @@ Version 0.1.8 (2006-03-18)
* add new plugins functions: add_timer_handler, remove_timer_handler,
remove_infobar
* plugin messages handlers now called when message is ignored (by /ignore)
* new behaviour for messages ignored by a message handler: now WeeChat
* new behavior for messages ignored by a message handler: now WeeChat
executes standard handler, treating message as "ignored"
* many commands allowed for aliases
* many commands allowed when connecting to server
@@ -1305,20 +1692,20 @@ Version 0.1.8 (2006-03-18)
(patch from Pistos)
* add new option "irc_away_check_max_nicks" to disable away check on channels
with high number of nicks (patch from Gwenn)
* add new command line argument for setting WeeChat homedir (-d or --dir)
* add new command line argument for setting WeeChat home dir (-d or --dir)
(patch from Gwenn)
* fix bug with charset in infobar highlights
* fix bug with buffer detection in plugins/scripts commands
* fix bug with /history command
* add option "irc_show_away_once", to show away message only once in pv
* add partial hungarian translation
* add partial Hungarian translation
Version 0.1.7 (2006-01-14)
--------------------------
* fix msg command (now allowed in private buffer with "*" as target)
* remove "irc_default_msg_away" setting, for RFC 2812 conformity (/away command
wihtout argument only removes away status), new values for "irc_display_away"
without argument only removes away status), new values for "irc_display_away"
(off, local, channel)
* fix refresh bug with Solaris when term size is changed
* replace Texinfo doc by XML Docbook
@@ -1330,13 +1717,13 @@ Version 0.1.7 (2006-01-14)
* add /upgrade command
* add ETA (Estimated Time of Arrival) for DCC files
* /nick command is now allowed when not connected to server
* add server/channel arg to /buffer command for jumping to buffer
* add server/channel argument 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 "read marker": an indicator for first unread line in a server or channel
buffer (new key alt+"u" to scroll to marker)
* new window maganement: custom size for windows, auto resize when terminal is
* new window management: custom size for windows, auto resize when terminal is
resized
* fix infinite loop when resizing term to small size
* add /history command
@@ -1382,7 +1769,7 @@ Version 0.1.5 (2005-09-24)
* fix DCC display bug (now decodes string according to charset)
* add /ignore and /unignore commands
* fix bug with strings comparison (str[n]casecmp) and some locales (like
turkish), now using ASCII comparison (thanks to roktas)
Turkish), now using ASCII comparison (thanks to roktas)
* signal SIGQUIT is now ignored
* fix refresh bug when one line is bigger than screen size
* fix look_nicklist_min_size and look_nicklist_max_size options
@@ -1419,7 +1806,7 @@ Version 0.1.4 (2005-07-30)
Version 0.1.3 (2005-07-02)
--------------------------
* proxy support (http, socks4, socks5) with authentification (http, socks5)
* proxy support (http, socks4, socks5) with authentication (http, socks5)
and ipv6 support (client to proxy)
* add completion for config option (with /set command)
* commands from users outside channel now authorized (if special user or
@@ -1435,7 +1822,7 @@ Version 0.1.3 (2005-07-02)
* in python scripts, all messages written in stdin and stderr are redirected in
server buffer
* fix a filename error while loading a python script manually
* fix plugins "print" and "prnt" functions: now ok for writing on server
* 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")
@@ -1451,7 +1838,7 @@ Version 0.1.2 (2005-05-21)
* add transfer rate for DCC files
* add "-all" option for /nick command
* buffers timestamp can now be changed (new option in config file)
* WeeChat now ok under *BSD and Mac OS X
* WeeChat now OK under *BSD and Mac OS X
* fix nicklist sort
* fix crash when purging old DCC
* fix crash with 64-bits arch (like AMD64) when converting UTF-8
@@ -1467,7 +1854,7 @@ Version 0.1.1 (2005-03-20)
* add DCC send and DCC chat
* add /halfop & /dehalfop commands, fix halfop display bug in nicklist
* add /ban, /unban and /kickban commands
* add spanish translation
* add Spanish translation
* add --irc-commands and --weechat-commands command line options
* connection to IRC server is now made by child process (non blocking)
* add support for UnrealIrcd ("~" for chan owner, "&" for chan admin)
@@ -1477,20 +1864,20 @@ Version 0.1.1 (2005-03-20)
* plugins messages are logged with new config option (log_plugin_msg)
* fix /kick command
* fix /invite command (and now invite requests are displayed)
* fix /buffer close command (now ok when disconnected from server)
* fix /buffer close command (now OK when disconnected from server)
* fix display bugs when many windows are opened
Version 0.1.0 (2005-02-12)
--------------------------
* improve /window command: now split and merge are ok
* improve /window command: now split and merge are OK
* away nicks are now displayed with another color (new option:
"irc_away_check")
* add away indicator in status bar
* add lag indicator (and auto-disconnect after a delay if important lag)
* improve completion: now completes commands arguments (IRC and internal),
when only one completion matches, completion mechanism is stoped (to complete
command arg for example)
when only one completion matches, completion mechanism is stopped (to complete
command argument for example)
* improve /set command: empty strings are allowed, new colors, server options
can be changed while WeeChat is running
* add default away/part/quit messages in config file
@@ -1500,15 +1887,15 @@ Version 0.1.0 (2005-02-12)
* add new options for charset (UTF-8 support): look_charset_decode,
look_charset_encode and look_charset_internal
* fix many memory leaks
* fix colors bug: remove "gray" color (replaced by "default"), colors are ok
* fix colors bug: remove "gray" color (replaced by "default"), colors are OK
when terminal has white (or light) background
* fix crash when resizing terminal to small size
* fix crash when multiple servers and big messages received from server
* fix crash when closing some private buffers
* fix crash when unknown section with option(s) in config file
* fix /op, /deop, /voice, /devoice (now ok with many nicks)
* fix /me command (now ok without parameter)
* fix /away command (now ok if not away)
* fix /op, /deop, /voice, /devoice (now OK with many nicks)
* fix /me command (now OK without parameter)
* fix /away command (now OK if not away)
* logs are now disabled by default (server/channel/private)
Version 0.0.9 (2005-01-01)
@@ -1517,7 +1904,7 @@ Version 0.0.9 (2005-01-01)
* auto-reconnection to server (new options: server_autoreconnect (on/off),
server_autoreconnect_delay (in seconds))
* fix major bug when socket is closed by server (100% CPU usage), and
disconnections are now ok (all channels are "closed", history is still
disconnections are now OK (all channels are "closed", history is still
visible, and buffer will be used again if reconnection to server)
* option "look_remove_colors_from_msgs" is now working
* fix display of nick mode changes
@@ -1532,17 +1919,17 @@ Version 0.0.9 (2005-01-01)
Version 0.0.8 (2004-10-30)
--------------------------
* fix /kick command: now ok with many words as reason
* fix /kick command: now OK with many words as reason
* nickserv passwords hidden (new config option: log_hide_nickserv_pwd on/off)
* auto-rejoin channels when kicked (new config option: server_autorejoin on/off)
* add IRC::command function for Perl scripts
* fix bug when adding alias with same name as other
* /buffer command developed (buffers list, move and notify)
* logging buffers to disk (server/channel/private according to user prefs)
* logging buffers to disk (server/channel/private according to user preferences)
* 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")
@@ -1569,9 +1956,9 @@ Version 0.0.6 (2004-06-05)
* fix bug when opened private win and remote user changes his nick
* add command /query (starts private conversation)
* add IRC messages 476, 477
* /mode command is now ok and channel flags are displayed in status bar
* /mode command is now OK and channel flags are displayed in status bar
* fix display bug (text was blinking when scrolling)
* CTCP Version reply is now in english only and doesn't show host (security
* CTCP Version reply is now in English only and doesn't show host (security
reason)
Version 0.0.5 (2004-02-07)
@@ -1601,7 +1988,7 @@ Version 0.0.4 (2004-01-01)
switch to this window
* highlight when our nick is written in a channel/private window
* catch ctrl+"c" (ignored)
* debug messages can be enabled via ./configure --enbale-debug option
* debug messages can be enabled via ./configure --enable-debug option
Version 0.0.3 (2003-11-03)
--------------------------
+34 -22
View File
@@ -1,11 +1,40 @@
WeeChat Installation instructions
=================================
You can build WeeChat with cmake (recommended way) or autotools.
WeeChat can be built with cmake (recommended) or autotools.
[NOTE]
Only cmake is officially supported to build WeeChat. You should use autotools
only if you are not able to use cmake. +
Build with autotools requires more dependencies and is slower than with cmake.
With cmake
----------
Dependencies
------------
Following packages are *required*:
* cmake
* libncurses
* libcurl
* zlib
* libgcrypt
Following packages are all optional:
* for i18n: gettext
* for SSL: gnutls, ca-certificates
* for spell checking: aspell
* for scripting: python, perl, ruby, lua, tcl, guile
* for building doc: asciidoc, source-highlight
(for man page: xsltproc, docbook-xml, docbook-xsl)
For a complete list of dependencies and versions recommended, please look at
'User's guide'.
Installation With cmake
-----------------------
------------------------------------------------------------------
mkdir build
@@ -15,22 +44,5 @@ make
make install (as root for installation in system directories)
------------------------------------------------------------------
With autotools
--------------
----------------------------------------------------------------------
./autogen.sh (for cloned git repository only, not .tar.XX package)
./configure --prefix=/where/you/want/install
make
make install (as root for installation in system directories)
----------------------------------------------------------------------
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).
See AUTHORS for support, feel free to contact us for any problem.
For more information or installation with autotools, please look at
'User's guide': http://weechat.org/doc
+24 -13
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -19,40 +19,51 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
if DOC
doc_dir = doc
endif
# This target will update file config-git.h with output of command "git describe"
# (if needed, and only for a devel/rc version).
BUILT_SOURCES = build-config-git.h
build-config-git.h:
-$(abs_top_srcdir)/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
SUBDIRS = po $(doc_dir) intl src
SUBDIRS = po doc intl src
EXTRA_DIST = CMakeLists.txt \
config.rpath \
config.h.cmake \
cmake/cmake_uninstall.cmake.in \
git-version.sh \
makedist.sh \
cmake/CMakeParseArguments.cmake \
cmake/FindAsciidoc.cmake \
cmake/FindAspell.cmake \
cmake/FindGcrypt.cmake \
cmake/FindENCHANT.cmake \
cmake/FindGCRYPT.cmake \
cmake/FindGettext.cmake \
cmake/FindGnuTLS.cmake \
cmake/FindGuile.cmake \
cmake/FindIconv.cmake \
cmake/FindLua.cmake \
cmake/FindNcurses.cmake \
cmake/FindPackageHandleStandardArgs.cmake \
cmake/FindPerl.cmake \
cmake/FindPkgConfig.cmake \
cmake/FindPython.cmake \
cmake/FindRuby.cmake \
cmake/FindSourcehighlight.cmake \
cmake/FindTCL.cmake \
cmake/FindGuile.cmake \
cmake/makedist.sh.in \
cmake/FindZLIB.cmake \
cmake/cmake_uninstall.cmake.in \
po/CMakeLists.txt \
po/srcfiles.cmake \
weechat.spec \
weechat_icon_32.png \
weechat.pc.in \
UPGRADE_0.3
weechat.png \
weechat.pc.in
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = weechat.pc
icondir = $(datadir)/icons/hicolor/32x32/apps
icon_DATA = weechat.png
clean-local:
$(RM) config-git.h
+639 -185
View File
@@ -1,187 +1,593 @@
WeeChat Release Notes
=====================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.9, 2012-09-29
v0.4.2, 2013-10-06
This document lists important changes for each version, that require manual
actions. It is recommended to read it when upgrading to a new stable
version.
For a complete list of changes, please look at
http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file 'ChangeLog' in sources).
Version 0.4.2 (2013-10-06)
--------------------------
=== Day change message ===
The day change message is now dynamically displayed, and therefore is not stored
as a line in buffer any more.
Option 'weechat.look.day_change_time_format' has been split into two options
'weechat.look.day_change_message_{1date|2dates}' (color codes are allowed in
these options, see `/help eval`).
New color option 'weechat.color.chat_day_change' has been added.
After `/upgrade` from an old version, you will see two messages for each day
change. This is a normal behavior and will not happen again with the next day
changes.
=== Regex search in buffer ===
Search with regular expression has been added, and therefore some keys in search
context have been changed.
The key ctrl+"r" in search context is now used to switch string/regex search
(instead of searching exact text).
If you never changed keys in search context, you can reset them all with one
command:
----------------------------------------
/key resetall -yes search
----------------------------------------
Or the manual method:
----------------------------------------
/key missing search
/key bindctxt search ctrl-R /input search_switch_regex
----------------------------------------
To view keys in search context:
----------------------------------------
/key list search
----------------------------------------
For more information, see the chapter about keys in the 'WeeChat User's guide'.
=== New rmodifier ===
A new rmodifier "secure" has been added to hide passphrase and passwords
displayed by command "/secure". Use command `/rmodifier missing` to add it.
=== Color codes in options ===
The format for color codes in some options has changed. The options are
evaluated with the function "string_eval_expression", which uses the format
`${color:xxx}`.
Following options are affected:
* 'weechat.look.buffer_time_format'
* 'weechat.look.prefix_action'
* 'weechat.look.prefix_error'
* 'weechat.look.prefix_join'
* 'weechat.look.prefix_network'
* 'weechat.look.prefix_quit'
The options using old format `${xxx}` must be changed with new format
`${color:xxx}` (where xxx is a color name or number, with optional color
attributes).
Example:
----------------------------------------
/set weechat.look.buffer_time_format "${color:251}%H${color:243}%M${color:238}%S"
----------------------------------------
=== Binary and man page ===
WeeChat binary and man page have been renamed from `weechat-curses` to
`weechat`.
A symbolic link has been added for binary: `weechat-curses` -> `weechat`
(so that the /upgrade from a old version will still work).
If you upgrade from an old version, it is recommended to force the use of the
new binary name with the command: `/upgrade /path/to/weechat` (replace the path
accordingly).
[NOTE]
For packagers: you should create the link `weechat-curses` -> `weechat` if it's
not automatically created in the package (both cmake and configure are creating
this link on make install).
=== Man page / documentation ===
Documentation is not built by default any more, you have to use option
`-DENABLE_DOC=ON` in cmake to enable it.
The man page is now built with asciidoc and translated in several
languages. A new cmake option `ENABLE_MAN` has been added to compile man page
(`OFF` by default).
=== Aspell colors ===
Option 'aspell.look.color' has been renamed to 'aspell.color.misspelled'.
Version 0.4.1 (2013-05-20)
--------------------------
=== Nicklist diff in relay ===
A new message with identifier "_nicklist_diff" has been added in relay (WeeChat
protocol). WeeChat may decide to send full nicklist or this nicklist diff at any
time (depending on size of message, the smaller is sent).
Clients using nicklist must implement it.
For more info about content of message, see document 'WeeChat Relay Protocol'.
=== Dynamic nick prefix/suffix ===
The nick prefix/suffix (for example: "<" and ">") are now dynamic and used on
display (not stored any more in the line).
Options moved from irc plugin (irc.conf) to core (weechat.conf):
* 'irc.look.nick_prefix' moved to 'weechat.look.nick_prefix'
* 'irc.look.nick_suffix' moved to 'weechat.look.nick_suffix'
* 'irc.color.nick_prefix' moved to 'weechat.color.chat_nick_prefix'
* 'irc.color.nick_suffix' moved to 'weechat.color.chat_nick_suffix'
Types and default values for these four options remain unchanged.
Two new options to customize the truncature char (by default "`+`"):
* 'weechat.look.prefix_align_more_after' (boolean, 'on' by default)
* 'weechat.look.prefix_buffer_align_more_after' (boolean, 'on' by default)
When these options are enabled (default), the "`+`" is displayed after the
text, replacing the space that should be displayed there. +
When turned off, the "`+`" will replace last char of text.
Example for a nicks "FlashCode" and "fc" with different values for options
'weechat.look.prefix_align_max', 'weechat.look.prefix_align_more_after',
'weechat.look.nick_prefix' and 'weechat.look.nick_suffix':
----------------------------------------
# align_max, more_after, prefix/suffix
FlashCode │ test # 0, on
fc │ test
FlashCod+│ test # 8, on
fc │ test
FlashCo+ │ test # 8, off
fc │ test
<FlashCode> │ test # 0, on, < >
<fc> │ test
<FlashC>+│ test # 8, on, < >
<fc> │ test
<Flash+> │ test # 8, off, < >
<fc> │ test
----------------------------------------
After `/upgrade`, if you set new options to non-empty strings, and if old
options were set to non-empty strings too, you will see double prefix/suffix
on old messages, this is normal behavior (lines displayed before `/upgrade`
have prefix/suffix saved in prefix, but new lines don't have them any more).
New options in logger plugin (logger.conf):
* 'logger.file.nick_prefix': prefix for nicks in log files (default: empty
string)
* 'logger.file.nick_suffix': suffix for nicks in log files (default: empty
string)
=== IRC reconnection on important lag ===
Option 'irc.network.lag_disconnect' has been renamed to
'irc.network.lag_reconnect' and value is now a number of seconds (instead of
minutes).
=== IRC passwords hidden ===
IRC plugin is now using modifiers "irc_command_auth" and "irc_message_auth" to
hide passwords.
The option 'irc.look.hide_nickserv_pwd' has been removed, and a new option
'irc.look.nicks_hide_password' has been added (by default passwords are hidden
only for "nickserv").
A new rmodifier "message_auth" has been added to hide passwords displayed by
command "/msg nickserv identify|register|ghost|release" and the rmodifier
"nickserv" has been renamed to "command_auth".
If you never added/changed rmodifiers, you can just reset all rmodifiers:
----------------------------------------
/rmodifier default -yes
----------------------------------------
If you added/changed some rmodifiers, do it manually with these commands:
----------------------------------------
/rmodifier del nickserv
/rmodifier add command_auth history_add,input_text_display,irc_command_auth 1,4* ^(/(msg|quote) +nickserv +(id|identify|register|ghost \S+|release \S+) +)(.*)
/rmodifier add message_auth irc_message_auth 1,3* ^(.*(id|identify|register|ghost \S+|release \S+) +)(.*)
----------------------------------------
=== Lua constants ===
For consistency with other supported languages, the API constants in Lua have
been redefined as constants instead of functions.
Therefore, the use of a constant must be changed: the parentheses must be
removed.
The old syntax was:
[source,lua]
----------------------------------------
return weechat.WEECHAT_RC_OK()
----------------------------------------
The new syntax is:
[source,lua]
----------------------------------------
return weechat.WEECHAT_RC_OK
----------------------------------------
=== Guile callbacks ===
The way to give arguments for guile callbacks has been fixed: now arguments are
sent individually (instead of a list with all arguments inside).
Therefore, existing guile scripts must be modified accordingly. Moreover,
WeeChat now requires Guile ≥ 2.0 to compile.
Version 0.4.0 (2013-01-20)
--------------------------
=== Conditions in bars ===
Conditions in bars have changed, and now an expression is evaluated.
If you have a value with many conditions in a bar, like: `nicklist,active`, you
must now use an expression like: `${nicklist} && ${active}` (see the chapter
about bars in the 'WeeChat User's guide').
=== IPv6 by default ===
==== IRC ====
IPv6 is now used by default to connect to IRC servers, with fallback to
IPv4. The option 'irc.server_default.ipv6' is now "on" by default. If IPv6 is
not enabled or fails, IPv4 will be used. The "ipv6" option in server is now used
to disable IPv6 and force IPv4 (if option is turned "off").
==== Relay ====
Relay plugin is now listening by default on an IPv6 socket (new option
'relay.network.ipv6', on by default), so connections with IPv4 will have
IPv4-mapped IPv6 addresses, like: "::ffff:127.0.0.1" (for "127.0.0.1"); check
that value of option 'relay.network.allowed_ips' supports this mapping, or
disable IPv6 in relay if you don't plan to use it at all:
----------------------------------------
/set relay.network.ipv6 off
----------------------------------------
Version 0.3.9.2 (2012-11-18)
----------------------------
This version fixes a security vulnerability when a plugin/script gives untrusted
command to API function "hook_process".
Version 0.3.9.1 (2012-11-09)
----------------------------
This version fixes crash when decoding IRC colors in strings.
Version 0.3.9 (2012-09-29)
--------------------------
Important release notes:
=== Options moved ===
* options moved from core (weechat.conf) to irc plugin (irc.conf):
** 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
Options moved from core (weechat.conf) to irc plugin (irc.conf):
* 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
with values: none/prefix/action/both)
** 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
* new bar item has been added: 'buffer_modes' and irc option
'irc.look.item_channel_modes' has been removed; to display irc channel modes
in status bar (after channel name), you have to manually add the new item
'buffer_modes' (this is now used by default in status bar items), default
value for status bar items becomes:
** `/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"`
* changes in options for command `/aspell`:
** new option `enable`: enable aspell
** new option `disable`: disable aspell
** new option `toggle`: toggle aspell (new default key: alt+"s")
** option `enable` renamed to `setdict` (set dictionary for current buffer)
** option `disable` renamed to `deldict` (delete dictionary used on current buffer)
** option `dictlist` renamed to `listdict` (show installed dictionaries)
* an horizontal separator has been added between split windows, and two options
have been added to toggle separators (both are enabled by default):
** 'weechat.look.window_separator_horizontal'
** 'weechat.look.window_separator_vertical'
* new keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys
* 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
=== New bar item buffer_modes ===
A new bar item has been added: 'buffer_modes' and irc option
'irc.look.item_channel_modes' has been removed; to display irc channel modes in
status bar (after channel name), you have to manually add the new item
'buffer_modes' (this is now used by default in status bar items), default value
for status bar items becomes:
----------------------------------------
/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"
----------------------------------------
=== Command /aspell ===
New options in command `/aspell`:
* `enable`: enable aspell
* `disable`: disable aspell
* `toggle`: toggle aspell (new default key: alt+"s")
Options renamed in command `/aspell`:
* `enable` renamed to `setdict` (set dictionary for current buffer)
* `disable` renamed to `deldict` (delete dictionary used on current buffer)
* `dictlist` renamed to `listdict` (show installed dictionaries)
=== Horizontal separator ===
An horizontal separator has been added between split windows, and two options
have been added to toggle separators (both are enabled by default):
* 'weechat.look.window_separator_horizontal'
* 'weechat.look.window_separator_vertical'
=== New keys ===
New keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys.
Version 0.3.8 (2012-06-03)
--------------------------
Important release notes:
=== Options ===
* options 'weechat.look.prefix_align_more' and
'weechat.look.prefix_buffer_align_more' have been converted from type boolean
to string:
** if the value was on (default), new value is "+" and you can now customize
this char
** if the value was off, you have to set " " (string with one space)
* option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
paste with one line (only if terminal "bracketed paste mode" is enabled when
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used
to disable paste detection: if your value was 0, you should set it to -1:
** `/set weechat.look.paste_max_lines -1`
* rmodifier "nickserv" has a new default regex which includes option "release"
for command "/msg nickserv". If you never added/changed rmodifiers, you can
just reset all rmodifiers (command: `/rmodifier default -yes`).
If you added/changed some rmodifiers, do it manually with these two commannds:
** `/rmodifier del nickserv`
** `/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)`
Options 'weechat.look.prefix_align_more' and
'weechat.look.prefix_buffer_align_more' have been converted from type boolean to
string:
* if the value was on (default), new value is "+" and you can now customize this
char
* if the value was off, you have to set " " (string with one space)
=== Paste detection ===
Option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
paste with one line (only if terminal "bracketed paste mode" is enabled when
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used to
disable paste detection: if your value was 0, you should set it to -1
----------------------------------------
/set weechat.look.paste_max_lines -1
----------------------------------------
=== Rmodifier ===
Rmodifier "nickserv" has a new default regex which includes option "release" for
command "/msg nickserv".
If you never added/changed rmodifiers, you can just reset all rmodifiers:
----------------------------------------
/rmodifier default -yes
----------------------------------------
If you added/changed some rmodifiers, do it manually with these commands:
----------------------------------------
/rmodifier del nickserv
/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)
----------------------------------------
Version 0.3.7 (2012-02-26)
--------------------------
Important release notes:
=== Options ===
* option `scroll_unread` has been moved from command `/input` to `/window`,
therefore default command of key alt+"u" has been updated. To bind key with
new default value:
** `/key bind meta-u /window scroll_unread`
* extended regex is used in filters and irc ignore, so some chars that
needed escape in past do not need any more (for example `[0-9]\+` becomes
`[0-9]+`), filters and ignore have to be manually fixed
* option 'weechat.look.highlight_regex' becomes case insensitive by default,
to make it case sensitive, use "(?-i)" at beginning of string, for example:
"(?-i)FlashCode|flashy"
* option 'weechat.history.max_lines' has been renamed to
'weechat.history.max_buffer_lines_number'
* option 'weechat.plugin.extension' now supports list of extensions, and new
default value is ".so,.dll" (with this value, weechat.conf is compatible with
Cygwin)
Option `scroll_unread` has been moved from command `/input` to `/window`,
therefore default command of key alt+"u" has been updated. To bind key with new
default value:
----------------------------------------
/key bind meta-u /window scroll_unread
----------------------------------------
Option 'weechat.history.max_lines' has been renamed to
'weechat.history.max_buffer_lines_number'.
Option 'weechat.plugin.extension' now supports list of extensions, and new
default value is ".so,.dll" (with this value, weechat.conf is compatible with
Cygwin).
=== Extended regex ===
Extended regex is used in filters and irc ignore, so some chars that needed
escape in past do not need any more (for example `[0-9]\+` becomes `[0-9]+`),
filters and ignore have to be manually fixed.
Option 'weechat.look.highlight_regex' becomes case insensitive by default, to
make it case sensitive, use "(?-i)" at beginning of string, for example:
"(?-i)FlashCode|flashy".
Version 0.3.6 (2011-10-22)
--------------------------
Important release notes:
=== Options ===
* bold is not used any more for basic colors (used only if terminal has less
than 16 colors), a new option has been added to force bold if needed:
'weechat.look.color_basic_force_bold'
* option 'weechat.look.hline_char' has been renamed to
'weechat.look.separator_horizontal'
Option 'weechat.look.hline_char' has been renamed to
'weechat.look.separator_horizontal'.
=== Bold in colors ===
Bold is not used any more for basic colors (used only if terminal has less than
16 colors), a new option has been added to force bold if needed:
'weechat.look.color_basic_force_bold'.
Version 0.3.5 (2011-05-15)
--------------------------
Important release notes:
=== Colors ===
* if you have some colors defined in section "palette" with version 0.3.4, you
should remove all colors defined, and add new aliases (it's not needed any
more to add colors before using them)
* colors for nick prefixes (char for op, voice, ..) are defined in a single
option 'irc.color.nick_prefixes', therefore following options will be lost:
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'
* count of messages have been added to hotlist by default, if you want to come
back to old behaviour, do that:
** `/set weechat.look.hotlist_count_max 0`
** `/set weechat.look.hotlist_buffer_separator ","`
* when you are away, all buffers are now added to hotlist by default (even if
they are displayed in a window), if you want to come back to old behaviour, do
that:
** `/set weechat.look.hotlist_add_buffer_if_away off`
* new keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys
If you have some colors defined in section "palette" with version 0.3.4, you
should remove all colors defined, and add new aliases (it's not needed any more
to add colors before using them).
Colors for nick prefixes (char for op, voice, ..) are defined in a single option
'irc.color.nick_prefixes', therefore following options will be lost:
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'.
=== Hotlist ===
==== Counters ====
Count of messages have been added to hotlist by default, if you want to come
back to old behavior, do that:
----------------------------------------
/set weechat.look.hotlist_count_max 0
/set weechat.look.hotlist_buffer_separator ","
----------------------------------------
==== Away and current buffer ====
When you are away, all buffers are now added to hotlist by default (even if they
are displayed in a window), if you want to come back to old behavior, do that:
----------------------------------------
/set weechat.look.hotlist_add_buffer_if_away off
----------------------------------------
=== New keys ===
New keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys.
Version 0.3.4 (2011-01-16)
--------------------------
Important release notes:
=== After /upgrade ===
* if you are using `/upgrade` from a previous release:
** some nick prefixes can be wrong, so it is recommended to do `/allchan names`
** nick colors are defined with a new option 'weechat.color.chat_nick_colors',
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
upgrading
** nick colors in messages displayed will be wrong if you changed some nick colors
(old default colors will be used)
* 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)
If you are using `/upgrade` from a previous release:
* some nick prefixes can be wrong, so it is recommended to do `/allchan names`
* nick colors are defined with a new option 'weechat.color.chat_nick_colors',
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
upgrading
* nick colors in messages displayed will be wrong if you changed some nick colors
(old default colors will be used)
=== Options ===
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)
Version 0.3.3 (2010-08-07)
--------------------------
Important release notes:
=== After /upgrade ===
* 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).
If you are using `/upgrade` from a previous release, then you must reconnect to
IRC servers in order to use new command /wallchops.
=== Options ===
Option 'irc.look.show_away_once' has been renamed to
'irc.look.display_pv_away_once'.
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).
Version 0.3.2 (2010-04-18)
--------------------------
=== After /upgrade ===
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`
needed on WeeChat core buffer or buffers from other plugins/scripts):
----------------------------------------
/buffer set highlight_words $nick
----------------------------------------
Version 0.3.1.1 (2010-01-31)
----------------------------
This version fixes crashs with SSL connection and purge of old DCC chats.
This version fixes crashes with SSL connection and purge of old DCC chats.
All users of version 0.3.1 should upgrade to this version.
Version 0.3.1 (2010-01-23)
--------------------------
=== Aliases ===
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`
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
----------------------------------------
Version 0.3.0 (2009-09-06)
--------------------------
This version brings major changes, especially for configuration files and plugin
API.
This version brings *MAJOR* changes, especially for configuration files and
plugin API and it not compatible with previous versions.
For more information about this version, please read file 'UPGRADE_0.3'.
Major differences:
* it is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x;
you have to quit your old WeeChat, then run new version.
* new configuration files (`*.conf`) are not compatible with old files (`*.rc`).
* name of options is similar to old versions, but there is now one configuration
file by plugin, and one file for WeeChat core; there is
*no automatic conversion* for your old options to new configuration files,
so you'll have to setup again your IRC servers and all other options.
* plugin API has been rewritten and is not compatible with previous versions;
accordingly, scripts and plugins must have been designed for version 0.3.x to
be loaded into WeeChat.
More information about new API is available on wiki:
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
Version 0.2.6.3 (2009-06-13)
----------------------------
@@ -223,26 +629,47 @@ All users of version 0.2.2 should upgrade to this version.
Version 0.2.2 (2007-01-06)
--------------------------
Important release notes:
=== Charset plugin ===
* 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`).
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 set
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 ===
New keys for topic scroll: 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)
--------------------------
@@ -252,71 +679,98 @@ No release note.
Version 0.2.0 (2006-08-19)
--------------------------
Important release notes:
=== After /upgrade ===
* 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.*`, ..).
If you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
`/reconnect` on each server, to display properly channel/user modes.
=== Plugins ===
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:
=== DCC chat ===
* 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).
Please close all DCC chat buffers before using /upgrade command, otherwise you
may experience problems with DCC chats.
=== Script API ===
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 arguments).
Version 0.1.8 (2006-03-18)
--------------------------
Important release notes:
=== After /upgrade ===
* 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}.
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`).
=== Configuration files ===
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'
The string '%h' is replaced by WeeChat home (default: '~/.weechat', may be
overridden by new command line argument `--dir`).
=== Keys ===
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 ===
* 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.
Ruby script plugin has been added but is experimental in this release. You're
warned!
=== Command /away ===
Command `/away` 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:
=== Script API ===
* 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.
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).
=== OpenBSD ===
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'.
=== UTF-8 ===
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)
--------------------------
+1 -1
View File
@@ -22,7 +22,7 @@ Features
Copyright
---------
Copyright (C) 2003-2012 Sébastien Helleu <flashcode@flashtux.org>
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
-83
View File
@@ -1,83 +0,0 @@
WeeChat Upgrade to 0.3.x
========================
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
with versions 0.2.x.
Upgrade to version 0.3.x
------------------------
It is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x.
You have to quit your old WeeChat, then run new version.
Of course, command `/upgrade` is working fine once you'll be with 0.3.x to
upgrade to another 0.3.x (unless this command is broken again, please look
at release notes (file 'NEWS') for version you're currently installing).
Configuration files
-------------------
Changes with previous versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New configuration files (`*.conf`) are not compatible with old files (`*.rc`).
Name of options is similar to old versions, but there is now one configuration
file by plugin, and one file for WeeChat core.
There is *no automatic conversion* for your old options to new configuration files,
so you'll have to setup again your IRC servers and all other options.
In WeeChat, option names are now with format: `plugin.section.option` (for
WeeChat core, `plugin` is `weechat`).
Examples:
* WeeChat options: `weechat.xxx.yyy`
* 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://www.weechat.org/doc
List of configuration files
~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Old configuration files:
** weechat.rc
** plugins.rc
* New configuration files are now (with default plugins):
** weechat.conf
** alias.conf
** aspell.conf
** charset.conf
** irc.conf
** jabber.conf
** logger.conf
** plugins.conf
** relay.conf
** xfer.conf
Plugin API
----------
Plugin API has been rewritten and is not compatible with previous versions.
Accordingly, scripts and plugins must have been designed for version 0.3.x to
be loaded into WeeChat.
There is no migration script today to convert old script to new API.
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://www.weechat.org/plugins
More information about new API is available on wiki:
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
#
+8 -3
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -30,7 +30,12 @@ FIND_PROGRAM(
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ASCIIDOC_EXECUTABLE)
FIND_PROGRAM(
A2X_EXECUTABLE a2x
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${ASCIIDOC_EXECUTABLE} --version
OUTPUT_VARIABLE ASCIIDOC_VERSION
@@ -43,4 +48,4 @@ IF(ASCIIDOC_EXECUTABLE)
MARK_AS_ADVANCED(
ASCIIDOC_EXECUTABLE
)
ENDIF(ASCIIDOC_EXECUTABLE)
ENDIF(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+44
View File
@@ -0,0 +1,44 @@
# - Try to find the Enchant spell checker
# Once done this will define
#
# ENCHANT_FOUND - system has ENCHANT
# ENCHANT_INCLUDE_DIR - the ENCHANT include directory
# ENCHANT_LIBRARIES - Link these to use ENCHANT
# ENCHANT_DEFINITIONS - Compiler switches required for using ENCHANT
# Copyright (c) 2006, Zack Rusin, <zack@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
# in cache already
set(ENCHANT_FOUND TRUE)
else (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
if (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PC_ENCHANT enchant)
set(ENCHANT_DEFINITIONS ${PC_ENCHANT_CFLAGS_OTHER})
endif (NOT WIN32)
find_path(ENCHANT_INCLUDE_DIR
NAMES enchant++.h
HINTS ${PC_ENCHANT_INCLUDEDIR}
${PC_ENCHANT_INCLUDE_DIRS}
PATH_SUFFIXES enchant )
find_library(ENCHANT_LIBRARIES NAMES enchant
HINTS ${PC_ENCHANT_LIBDIR}
${PC_ENCHANT_LIBRARY_DIRS} )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ENCHANT DEFAULT_MSG ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES )
mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES)
endif (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -41,10 +41,13 @@ IF(LIBGCRYPT_CONFIG_EXECUTABLE)
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)
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
IF(GCRYPT_FOUND)
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
ENDIF(GCRYPT_FOUND)
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
+5 -19
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -31,21 +31,7 @@ IF(GUILE_FOUND)
SET(GUILE_FIND_QUIETLY TRUE)
ENDIF(GUILE_FOUND)
FIND_PATH(GUILE_INCLUDE_DIR libguile.h /usr/include /usr/local/include /usr/include/libguile /usr/local/include/libguile)
FIND_LIBRARY(GUILE_LIBRARY NAMES guile PATH /usr/lib /usr/local/lib)
IF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
SET(GUILE_FOUND TRUE)
SET(GUILE_INCLUDE_DIRS ${GUILE_INCLUDE_DIR})
SET(GUILE_LIBRARIES ${GUILE_LIBRARY})
ELSE(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
SET(GUILE_FOUND FALSE)
SET(GUILE_INCLUDE_DIRS)
SET(GUILE_LIBRARIES)
ENDIF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
MARK_AS_ADVANCED(
GUILE_INCLUDE_DIR
GUILE_LIBRARY
)
FIND_PACKAGE(PkgConfig)
IF(PKG_CONFIG_FOUND)
pkg_search_module(GUILE guile-2.0)
ENDIF(PKG_CONFIG_FOUND)
+6 -5
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -49,10 +49,11 @@ FIND_LIBRARY(ICONV_LIBRARY
IF(ICONV_INCLUDE_PATH)
IF(ICONV_LIBRARY)
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
IF(NOT ICONV_FOUND)
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
ENDIF(NOT ICONV_FOUND)
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} LIBICONV_OPEN_FOUND)
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_OPEN_FOUND)
IF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
SET(ICONV_FOUND TRUE)
ENDIF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
ELSE(ICONV_LIBRARY)
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
ENDIF(ICONV_LIBRARY)
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+24 -11
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -33,14 +33,21 @@ IF(PYTHON_FOUND)
SET(PYTHON_FIND_QUIETLY TRUE)
ENDIF(PYTHON_FOUND)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
ELSE(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
ENDIF(ENABLE_PYTHON3)
IF(PYTHON_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('CONFINCLUDEPY'))"
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
OUTPUT_VARIABLE PYTHON_INC_DIR
)
@@ -58,11 +65,17 @@ IF(PYTHON_EXECUTABLE)
NAMES Python.h
PATHS ${PYTHON_INC_DIR}
)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
IF(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
ELSE(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
ENDIF(ENABLE_PYTHON3)
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
EXECUTE_PROCESS(
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,6 +1,6 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2008-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+13 -14
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -23,18 +23,17 @@ ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
LIST(REVERSE files)
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling \"${file}\"")
IF(NOT EXISTS "${file}")
MESSAGE(FATAL_ERROR "File \"${file}\" does not exists.")
ENDIF(NOT EXISTS "${file}")
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VARIABLE rm_retval)
IF("${rm_retval}" GREATER 0)
MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"")
ENDIF("${rm_retval}" GREATER 0)
MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
IF(EXISTS "$ENV{DESTDIR}${file}")
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VARIABLE rm_retval)
IF("${rm_retval}" GREATER 0)
MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
ENDIF("${rm_retval}" GREATER 0)
ELSE(EXISTS "$ENV{DESTDIR}${file}")
MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
ENDFOREACH(file)
-52
View File
@@ -1,52 +0,0 @@
#!/bin/sh
#
# Copyright (C) 2003-2012 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/>.
#
VERSION=@VERSION@
SRCROOT=@CMAKE_SOURCE_DIR@
BUILDDIR=@CMAKE_BINARY_DIR@
PROJECT=@PROJECT_NAME@
TAG=release-$(echo $VERSION | sed -e 's/\./-/g')
EXCLUDE="@DIST_EXCLUDE@"
EXPORT_DIR="${PROJECT}-${VERSION}"
if [ -z $CVSROOT ]; then
echo "The CVSROOT variable must be set"
exit 1
fi
echo "Exporting source tree"
if [ $(echo $VERSION | grep cvs) ]; then
cvs export -r HEAD -d $PROJECT-$VERSION $PROJECT
else
cvs export -r $TAG -d $PROJECT-$VERSION $PROJECT
fi
echo "Removing not needed stuff"
for i in $EXCLUDE ; do
echo " $i"
rm -rf $EXPORT_DIR/$i
done
echo "Generating archive"
tar cjf ${BUILDDIR}/${PROJECT}-${VERSION}.tar.bz2 ${EXPORT_DIR}
echo "Cleaning up"
rm -rf ${EXPORT_DIR}
+1 -18
View File
@@ -1,27 +1,9 @@
#cmakedefine HAVE_ARPA_INET_H
#cmakedefine HAVE_LIBINTL_H
#cmakedefine HAVE_LIMITS_H
#cmakedefine HAVE_LOCALE_H
#cmakedefine HAVE_NETDB_H
#cmakedefine HAVE_NETINET_IN_H
#cmakedefine HAVE_STDLIB_H
#cmakedefine HAVE_STRING_H
#cmakedefine HAVE_SYS_SOCKET_H
#cmakedefine HAVE_SYS_TIME_H
#cmakedefine HAVE_SYS_TYPES_H
#cmakedefine HAVE_UNISTD_H
#cmakedefine HAVE_PWD_H
#cmakedefine HAVE_ERRNO_H
#cmakedefine HAVE_REGEX_H
#cmakedefine HAVE_WCHAR_H
#cmakedefine HAVE_SYS_FILE_H
#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET
#cmakedefine HAVE_STRNDUP
#cmakedefine HAVE_BACKTRACE
#cmakedefine ICONV_2ARG_IS_CONST 1
#cmakedefine HAVE_TCL_CREATE_NS
#cmakedefine HAVE_MALLINFO
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
#define PACKAGE_VERSION "@VERSION@"
@@ -32,4 +14,5 @@
#define WEECHAT_SHAREDIR "@SHAREDIR@"
#define LOCALEDIR "@LOCALEDIR@"
#define WEECHAT_HOME "@WEECHAT_HOME@"
#define CA_FILE "@CA_FILE@"
#define _GNU_SOURCE 1
+138 -104
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 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>
@@ -24,16 +24,17 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.3.9, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AC_INIT(WeeChat, 0.4.2, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([weechat], [0.3.9])
AM_INIT_AUTOMAKE
LICENSE="GPL3"
# Checks for programs
AC_PROG_CC
AC_PROG_MAKE_SET
AC_GNU_SOURCE
AC_PROG_LN_S
AM_PROG_LIBTOOL
# Files to generate
@@ -52,15 +53,12 @@ netbsd*)
solaris*)
LDFLAGS="$LDFLAGS -lsocket -lxnet"
;;
cygwin*)
LDFLAGS="$LDFLAGS -no-undefined"
;;
esac
# Gettext
ALL_LINGUAS="fr es cs hu de ru pl it ja pt_BR"
ALL_LINGUAS="fr es cs hu de ru pl it ja pt_BR tr"
AM_GNU_GETTEXT
AM_GNU_GETTEXT_VERSION([0.15])
AM_GNU_GETTEXT_VERSION([0.18])
# Checks for libraries
AC_CHECK_LIB(ncurses, initscr, LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0)
@@ -68,7 +66,7 @@ AC_CHECK_LIB(ncursesw, initscr, LIBNCURSESW_FOUND=1, LIBNCURSESW_FOUND=0)
# Checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/types.h unistd.h pwd.h errno.h regex.h wchar.h sys/file.h sys/resource.h])
AC_CHECK_HEADERS([libintl.h sys/resource.h])
# Checks for typedefs, structures, and compiler characteristics
AC_HEADER_TIME
@@ -91,7 +89,7 @@ AC_MSG_RESULT($ac_cv_type_socklen_t)
# Checks for library functions.
AC_FUNC_SELECT_ARGTYPES
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strndup strncasecmp strpbrk strrchr strstr regexec mallinfo])
AC_CHECK_FUNCS([mallinfo])
# Variables in config.h
@@ -104,7 +102,6 @@ AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH])
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])
@@ -118,19 +115,20 @@ AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([MAN], [#undef MAN])
AH_VERBATIM([DOC], [#undef DOC])
AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
AH_VERBATIM([CA_FILE], [#define CA_FILE "/etc/ssl/certs/ca-certificates.crt"])
# Arguments for ./configure
AC_ARG_ENABLE(ncurses, [ --disable-ncurses turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes)
AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (default=off)],enable_gtk=$enableval,enable_gtk=no)
AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes)
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled)],enable_aspell=$enableval,enable_aspell=yes)
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Aspell plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
AC_ARG_ENABLE(demo, [ --enable-demo turn on Demo plugin (default=off)],enable_demo=$enableval,enable_demo=no)
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)
@@ -140,6 +138,7 @@ AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (d
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (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)
AC_ARG_ENABLE(python3, [ --enable-python3 use Python 3.x if found (NOT recommended) (default=off)],enable_python3=$enableval,enable_python3=no)
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
@@ -149,19 +148,38 @@ AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, lua include files are in
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_ENABLE(man, [ --enable-man turn on build of man page (default=not built)],enable_man=$enableval,enable_man=no)
AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no)
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
AC_ARG_VAR(WEECHAT_HOME, [WeeChat home directory for config, logs, scripts.. (default is "~/.weechat")])
AC_ARG_VAR(CA_FILE, [File containing the certificate authorities (default is "/etc/ssl/certs/ca-certificates.crt"). This is the default value of option "weechat.network.gnutls_ca_file".])
if test "x$WEECHAT_HOME" = "x" ; then
WEECHAT_HOME="~/.weechat"
fi
AC_DEFINE_UNQUOTED(WEECHAT_HOME, "$WEECHAT_HOME")
if test "x$CA_FILE" = "x" ; then
CA_FILE="/etc/ssl/certs/ca-certificates.crt"
fi
AC_DEFINE_UNQUOTED(CA_FILE, "$CA_FILE")
not_asked=""
not_found=""
# ------------------------------------------------------------------------------
# pkg-config
# ------------------------------------------------------------------------------
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" = "x"; then
AC_MSG_ERROR([
*** "pkg-config" couldn't be found on your system.
*** Try to install it with your software package manager.])
fi
# ------------------------------------------------------------------------------
# dynamic loader
# ------------------------------------------------------------------------------
@@ -206,24 +224,6 @@ else
not_asked="$not_asked ncurses"
fi
if test "x$enable_gtk" = "xyes" ; then
AM_PATH_GTK_2_0(2.4.0, LIBGTK_FOUND=1, LIBGTK_FOUND=0)
if test "$LIBGTK_FOUND" = "0" ; then
AC_MSG_WARN([
*** Gtk library not found!
*** WeeChat will be built without Gtk support.])
enable_gtk="no"
not_found="$not_found gtk"
else
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
GTK_LFLAGS=`pkg-config --libs gtk+-2.0`
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LFLAGS)
fi
else
not_asked="$not_asked gtk"
fi
# ------------------------------------------------------------------------------
# iconv
# ------------------------------------------------------------------------------
@@ -293,24 +293,35 @@ fi
# ---------------------------------- aspell ------------------------------------
if test "x$enable_aspell" = "xyes" ; then
ASPELL_CFLAGS=""
ASPELL_LFLAGS=""
ac_found_enchant_lib="no"
if test "x$enable_enchant" = "xyes" ; then
#PKG_CHECK_MODULES(ENCHANT, [enchant], [CFLAGS="$CFLAGS -DUSE_ENCHANT"],
PKG_CHECK_MODULES(ENCHANT, [enchant], ac_found_enchant_lib="yes", ac_found_enchant_lib="no")
fi
if test "x$ac_found_enchant_lib" = "xyes" ; then
CFLAGS="$CFLAGS -DUSE_ENCHANT"
ASPELL_LIB_USED="enchant"
else
ASPELL_CFLAGS=""
ASPELL_LFLAGS=""
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
AC_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)
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
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 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"
enable_aspell="no"
not_found="$not_found aspell"
else
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
ASPELL_LIB_USED="aspell"
fi
fi
else
not_asked="$not_asked aspell"
@@ -334,18 +345,6 @@ else
not_asked="$not_asked charset"
fi
# ---------------------------------- demo --------------------------------------
if test "x$enable_demo" = "xyes" ; then
DEMO_CFLAGS=""
DEMO_LFLAGS=""
AC_SUBST(DEMO_CFLAGS)
AC_SUBST(DEMO_LFLAGS)
AC_DEFINE(PLUGIN_DEMO)
else
not_asked="$not_asked demo"
fi
# ---------------------------------- fifo --------------------------------------
if test "x$enable_fifo" = "xyes" ; then
@@ -465,7 +464,11 @@ fi
PYTHON_VERSION=
if test "x$enable_python" = "xyes" ; then
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
if test "x$enable_python3" = "xyes" ; then
AC_PATH_PROGS(PYTHON, python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python2 python)
else
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
fi
if test -z $PYTHON ; then
AC_MSG_WARN([
*** Python must be installed on your system but python interpreter couldn't be found in path.
@@ -476,7 +479,7 @@ if test "x$enable_python" = "xyes" ; then
else
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; sys.stdout.write("%s" % sys.prefix)'`
PYTHON_VERSION=`$PYTHON -c 'import sys; sys.stdout.write(sys.version[[:3]])'`
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('CONFINCLUDEPY'))"`
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('INCLUDEPY'))"`
PYTHON_OLD_VERSION=`$PYTHON -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"`
if test "x$PYTHON_OLD_VERSION" = "xTrue" ; then
AC_MSG_WARN([
@@ -489,8 +492,8 @@ if test "x$enable_python" = "xyes" ; then
if test -r "$PYTHON_INCLUDE/Python.h"; then
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
AC_MSG_RESULT(found)
PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBPL')"`
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED')"`
PYTHON_LIB=`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBPL'))"`
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED'))"`
AC_MSG_CHECKING(for Python library)
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
@@ -498,6 +501,9 @@ if test "x$enable_python" = "xyes" ; then
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.dll.a"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
@@ -749,20 +755,26 @@ if test "x$enable_guile" = "xyes" ; then
enable_plugins="yes"
guile_found="no"
GUILECONFIG=""
AC_CHECK_PROGS(GUILECONFIG, guile-config)
if test "x$GUILECONFIG" != "x" ; then
AC_MSG_CHECKING(for Guile headers and librairies with guile-config)
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
AC_MSG_CHECKING(for Guile headers and librairies)
echo
GUILE_CFLAGS=`$GUILECONFIG compile`
GUILE_LFLAGS=`$GUILECONFIG link`
GUILE_VERSION=`$GUILECONFIG info guileversion`
tcl_found="yes"
for v in "2.0" ; do
pkgconfig_guile_found=`$PKGCONFIG --exists guile-$v 2>/dev/null`
if test "x$?" = "x0" ; then
GUILE_VERSION=`$PKGCONFIG --modversion guile-$v`
GUILE_CFLAGS=`$PKGCONFIG --cflags guile-$v`
GUILE_LFLAGS=`$PKGCONFIG --libs guile-$v`
guile_found="yes"
break
fi
done
fi
if test "x$tcl_found" = "xno" ; then
if test "x$guile_found" = "xno" ; then
AC_MSG_WARN([
*** Script guile-config couldn't be found on your system.
*** Guile >= 2.0 couldn't be found on your system.
*** WeeChat will be built without Guile (scheme) support.])
enable_guile="no"
not_found="$not_found guile"
@@ -941,44 +953,68 @@ AC_SUBST(CURL_CFLAGS)
AC_SUBST(CURL_LFLAGS)
# ------------------------------------------------------------------------------
# documentation
# man page / documentation
# ------------------------------------------------------------------------------
msg_man=""
msg_doc=""
if test "x$enable_doc" = "xyes" ; then
if test "x$enable_man" = "xno"; then
not_asked="$not_asked man"
fi
if test "x$enable_doc" = "xno"; then
not_asked="$not_asked doc"
fi
if test "x$enable_man" = "xyes" -o "x$enable_doc" = "xyes"; then
DOC_ASCIIDOC8=""
AC_CHECK_PROGS(ASCIIDOC, [asciidoc])
AC_CHECK_PROGS(A2X, [a2x])
AC_CHECK_PROGS(SOURCEHIGHLIGHT, [source-highlight])
if test -n "$SOURCEHIGHLIGHT" -a -n "$ASCIIDOC"; then
if test -z "$A2X"; then
not_found="$not_found a2x(from asciidoc)"
fi
if test -z "$SOURCEHIGHLIGHT"; then
not_found="$not_found source-highlight(needed by asciidoc)"
fi
if test -n "$ASCIIDOC"; then
AC_MSG_CHECKING([for asciidoc version])
asciidoc_version=`$ASCIIDOC --version 2>/dev/null`
case "${asciidoc_version}" in
asciidoc' '8*)
DOC_ASCIIDOC8="yes"
AC_MSG_RESULT([${asciidoc_version}])
msg_doc="asciidoc(with source-highlight) $msg_doc"
AC_DEFINE(DOC)
if test "x$enable_man" = "xyes"; then
if test -n "$A2X"; then
msg_man="asciidoc(with a2x) $msg_man"
AC_DEFINE(MAN)
else
enable_man="no"
fi
fi
if test "x$enable_doc" = "xyes"; then
if test -n "$SOURCEHIGHLIGHT"; then
msg_doc="asciidoc(with source-highlight) $msg_doc"
AC_DEFINE(DOC)
else
enable_doc="no"
fi
fi
;;
*)
AC_MSG_RESULT([${asciidoc_version} (too old)])
not_found="$not_found asciidoc"
enable_man="no"
enable_doc="no"
;;
esac
else
not_found="$not_found asciidoc"
enable_man="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)"
fi
AC_SUBST(DOC_ASCIIDOC8)
AC_SUBST(ASCIIDOC)
else
not_asked="$not_asked doc"
msg_doc=""
AC_SUBST(A2X)
fi
# ------------------------------------------------------------------------------
@@ -1061,11 +1097,9 @@ AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes")
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "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")
@@ -1079,6 +1113,7 @@ AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_GUILE, test "$enable_guile" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(MAN, test "$enable_man" = "yes")
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
AC_OUTPUT([Makefile
@@ -1097,7 +1132,6 @@ AC_OUTPUT([Makefile
src/plugins/alias/Makefile
src/plugins/aspell/Makefile
src/plugins/charset/Makefile
src/plugins/demo/Makefile
src/plugins/fifo/Makefile
src/plugins/irc/Makefile
src/plugins/logger/Makefile
@@ -1113,7 +1147,6 @@ AC_OUTPUT([Makefile
src/plugins/xfer/Makefile
src/gui/Makefile
src/gui/curses/Makefile
src/gui/gtk/Makefile
intl/Makefile
po/Makefile.in])
@@ -1125,14 +1158,11 @@ listgui=""
if test "x$enable_ncurses" = "xyes" ; then
listgui="$listgui ncurses"
fi
if test "x$enable_gtk" = "xyes" ; then
listgui="$listgui gtk"
fi
if test "x$listgui" = "x" ; then
AC_MSG_ERROR([
*** No interface specified...
*** Please enable at least ncurses or gtk.])
*** Please enable at least ncurses.])
fi
listplugins=""
@@ -1140,14 +1170,11 @@ if test "x$enable_alias" = "xyes"; then
listplugins="$listplugins alias"
fi
if test "x$enable_aspell" = "xyes"; then
listplugins="$listplugins aspell"
listplugins="$listplugins aspell($ASPELL_LIB_USED)"
fi
if test "x$enable_charset" = "xyes"; then
listplugins="$listplugins charset"
fi
if test "x$enable_demo" = "xyes"; then
listplugins="$listplugins demo"
fi
if test "x$enable_fifo" = "xyes"; then
listplugins="$listplugins fifo"
fi
@@ -1207,6 +1234,11 @@ if test "x$debug" != "x0"; then
msg_debug="yes"
fi
if test "x$msg_man" = "x"; then
msg_man="no"
else
msg_man="yes: $msg_man"
fi
if test "x$msg_doc" = "x"; then
msg_doc="no"
else
@@ -1215,11 +1247,13 @@ fi
echo ""
echo "Enabled features:"
echo " Interfaces........... :$listgui"
echo " Plugins.............. :$listplugins"
echo " Optional features.... :$listoptional"
echo " Compile with debug... : $msg_debug"
echo " Documentation........ : $msg_doc"
echo " Interfaces............. :$listgui"
echo " Plugins................ :$listplugins"
echo " Optional features...... :$listoptional"
echo " Compile with debug..... : $msg_debug"
echo " Man page............... : $msg_man"
echo " Documentation.......... : $msg_doc"
echo " Certificate authorities : ${CA_FILE}"
if test "x$not_asked" != "x" || test "x$not_found" != "x"; then
echo ""
+46
View File
@@ -1,3 +1,49 @@
weechat (0.4.1-1) unstable; urgency=low
* New upstream release
* Move guile build dependency to guile-2.0-dev (previous versions are
no longer supported).
* Add supported protocols in long description. Thanks to Jonas Smedegaard
for the suggestion (Closes: #705216)
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 21 May 2013 19:44:31 +0000
weechat (0.4.0-1) unstable; urgency=low
* New upstream release.
* Bump Standards-Version to 3.9.4
* Remove UPGRADE_0.3 from doc (no more included in upstream sources).
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 23 Jan 2013 18:44:36 +0000
weechat (0.3.9.2-1) unstable; urgency=low
* New upstream release
- do not call shell to execute command in hook_process (fix security
problem when a plugin/script gives untrusted command)
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 18 Nov 2012 13:35:21 +0000
weechat (0.3.9.1-1) unstable; urgency=low
* New upstream release
- fix crash when decoding IRC colors in strings
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 09 Nov 2012 23:11:09 +0000
weechat (0.3.9-1) unstable; urgency=low
* New upstream release
* Add the new 'script' plugin and update the long descriptions accordingly
* Add new doc-base files:
- Testers guide in Japanese
- Users guide in Japanese
- Scripting guide in Japanese
* Fix wrong Vcs-Browser URL (Closes: #689203)
* Update lintian override on weechat-curses
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 30 Sep 2012 21:14:22 +0000
weechat (0.3.8-1) unstable; urgency=low
* New upstream release
+9 -5
View File
@@ -2,15 +2,15 @@ Source: weechat
Section: net
Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
Build-Depends-Indep: asciidoc (>= 8.5), source-highlight
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl8.5-dev, guile-1.8-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config
Standards-Version: 3.9.3
tcl8.5-dev, guile-2.0-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config, asciidoc (>= 8.5), source-highlight,
xsltproc, docbook-xml, docbook-xsl
Standards-Version: 3.9.4
Homepage: http://weechat.org/
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
Vcs-Browser: http://anonscm.debian.org/git/users/kolter/weechat.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/kolter/weechat.git
Package: weechat
Architecture: all
@@ -20,6 +20,8 @@ Description: Fast, light and extensible chat client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- support of IRC protocol (native)
- support of XMPP/Jabber protocol (with additional script)
- nicklist
- smart hotlist
- horizontal and vertical split
@@ -45,6 +47,8 @@ Description: Fast, light and extensible chat client - console client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- support of IRC protocol (native)
- support of XMPP/Jabber protocol (with additional script)
- nicklist
- smart hotlist
- horizontal and vertical split
+1 -1
View File
@@ -4,7 +4,7 @@ Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
Source: http://weechat.org/
Files: *
Copyright: 2003-2012, Sebastien Helleu <flashcode@flashtux.org>
Copyright: 2003-2013, Sebastien Helleu <flashcode@flashtux.org>
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
License: GPL-3+
+16 -20
View File
@@ -8,10 +8,14 @@ LDFLAGS = -Wl,-Bsymbolic-functions
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
builddir/Makefile:
mkdir -p builddir
cd builddir && \
BUILDDIR = builddir
$(BUILDDIR)/Makefile:
mkdir -p $(BUILDDIR)
cd $(BUILDDIR) && \
cmake .. \
-DENABLE_MAN:BOOL=ON \
-DENABLE_DOC:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
@@ -19,31 +23,23 @@ builddir/Makefile:
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
#build: build-stamp
#build-stamp: builddir/Makefile
# dh_testdir
# $(MAKE) -C builddir VERBOSE=1
# touch $@
override_dh_auto_build: builddir/Makefile
$(MAKE) -C builddir
override_dh_auto_build: $(BUILDDIR)/Makefile
dh_auto_build
# Create a symbolic link weechat-curses -> weechat
# This link is created for compatibility with old versions on /upgrade.
# It may be removed in future.
override_dh_auto_install:
dh_auto_install
ln -s weechat $(CURDIR)/debian/weechat-curses/usr/bin/weechat-curses
override_dh_auto_configure:
# the package also has autotools buildsys and
# debhelper try to use it but that's not needed
echo
override_dh_install:
$(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/tmp install
dh_install
override_dh_strip:
dh_strip --dbg-package=weechat-dbg
clean:
rm -rf builddir
dh $@
%:
dh $@
dh $@ --parallel --builddirectory=$(BUILDDIR)
-1
View File
@@ -1,4 +1,3 @@
AUTHORS
NEWS
README
UPGRADE_0.3
+3 -1
View File
@@ -1,2 +1,4 @@
usr/bin/weechat-curses
usr/bin/weechat
debian/weechat.xpm usr/share/pixmaps
usr/share/man/man1/weechat.1
usr/share/man/*/man1/weechat.1
-1
View File
@@ -1 +0,0 @@
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 61: warning [p 1, 9.0i]: cannot adjust line
-1
View File
@@ -1 +0,0 @@
doc/weechat-curses.1
+2 -2
View File
@@ -1,4 +1,4 @@
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
title="weechat-curses" \
title="weechat" \
icon="/usr/share/pixmaps/weechat.xpm" \
command="/usr/bin/weechat-curses"
command="/usr/bin/weechat"
+397 -295
View File
@@ -1,295 +1,397 @@
/* XPM */
static char *weechat[] = {
/* columns rows colors chars-per-pixel */
"32 32 257 2",
" c #000000",
". c #0A0904",
"X c #080813",
"o c #080716",
"O c #110D08",
"+ c #150A15",
"@ c #1A0D1A",
"# c #19150C",
"$ c #151517",
"% c #1F1F32",
"& c #13132C",
"* c #260A26",
"= c #351935",
"- c #271927",
"; c #262608",
": c #322C0C",
"> c #36380B",
", c #353316",
"< c #232516",
"1 c #242224",
"2 c #292935",
"3 c #2D302D",
"4 c #2D3330",
"5 c #3B333B",
"6 c #1D1C4A",
"7 c #110F7B",
"8 c #0E0D65",
"9 c #221F60",
"0 c #282948",
"q c #292855",
"w c #333447",
"e c #383855",
"r c #2A2978",
"t c #302F70",
"y c #353465",
"u c #363574",
"i c #2A286E",
"p c #2E4110",
"a c #39410C",
"s c #3E4C11",
"d c #3F5220",
"f c #394041",
"g c #3E4753",
"h c #493F11",
"j c #4F1050",
"k c #4A0F4B",
"l c #572657",
"z c #4D374D",
"x c #403F6F",
"c c #640964",
"v c #641E64",
"b c #701770",
"n c #790A79",
"m c #683C68",
"M c #623662",
"N c #6B2B6B",
"B c #454A08",
"V c #484C15",
"C c #554B16",
"Z c #58560A",
"A c #595B0B",
"S c #545715",
"D c #4C5712",
"F c #4D5034",
"G c #504F24",
"H c #4E710E",
"J c #4D7C1C",
"K c #5B6713",
"L c #506B11",
"P c #546927",
"I c #506D2E",
"U c #665B14",
"Y c #696C0C",
"T c #68730D",
"R c #6F7010",
"E c #707128",
"W c #4D504D",
"Q c #46456A",
"! c #4C4C7B",
"~ c #434577",
"^ c #554C69",
"/ c #5B5A7D",
"( c #54547A",
") c #535964",
"_ c #567745",
"` c #4D6B57",
"' c #5D6C78",
"] c #587069",
"[ c #6A487C",
"{ c #6D576D",
"} c #645475",
"| c #76557A",
" . c #786678",
".. c #70707D",
"X. c #676768",
"o. c #3F3E82",
"O. c #2D2BAA",
"+. c #3D3BA4",
"@. c #3B39B9",
"#. c #484888",
"$. c #4A4C96",
"%. c #585885",
"&. c #595890",
"*. c #555494",
"=. c #4745A6",
"-. c #4947B5",
";. c #514FBB",
":. c #5A58BB",
">. c #5C5BAF",
",. c #755581",
"<. c #605FB6",
"1. c #6B6883",
"2. c #68679B",
"3. c #7A7497",
"4. c #76698F",
"5. c #6968A6",
"6. c #706FB5",
"7. c #7675BB",
"8. c #6E6DB6",
"9. c #4947C3",
"0. c #5351C2",
"q. c #5D5BC0",
"w. c #6B6ACC",
"e. c #6361C7",
"r. c #7170C6",
"t. c #7877D2",
"y. c #56840C",
"u. c #6A8814",
"i. c #63980B",
"p. c #748614",
"a. c #7F9C0D",
"s. c #749218",
"d. c #698F13",
"f. c #6C852A",
"g. c #798C35",
"h. c #76912B",
"j. c #76B505",
"k. c #70A50F",
"l. c #7EA525",
"z. c #678946",
"x. c #A57A5A",
"c. c #9A1E9A",
"v. c #861B86",
"b. c #912B92",
"n. c #8A298A",
"m. c #A030A0",
"M. c #864886",
"N. c #8F469E",
"B. c #975897",
"V. c #8A788A",
"C. c #936A93",
"Z. c #987599",
"A. c #866892",
"S. c #9470AB",
"D. c #A25FA2",
"F. c #B16FB1",
"G. c #B07FB1",
"H. c #B776B7",
"J. c #807FD0",
"K. c #A37AC2",
"L. c #87880B",
"P. c #888513",
"I. c #869A0A",
"U. c #8B9B14",
"Y. c #94970D",
"T. c #9B9C13",
"R. c #98961A",
"E. c #968D16",
"W. c #929D2F",
"Q. c #82A90B",
"!. c #8CAA06",
"~. c #82B30A",
"^. c #84B706",
"/. c #97A913",
"(. c #96B90A",
"). c #99B914",
"_. c #91AB10",
"`. c #A39A1C",
"'. c #A09A3D",
"]. c #A9AE05",
"[. c #A7AA16",
"{. c #A7B90B",
"}. c #ACB712",
"|. c #BDBA18",
" X c #B7B711",
".X c #B0B726",
"XX c #9A8B4B",
"oX c #9EC008",
"OX c #BCC40D",
"+X c #BCC90E",
"@X c #B1C707",
"#X c #AEC90C",
"$X c #C4AE2A",
"%X c #C4CB11",
"&X c #C8D809",
"*X c #CBD011",
"=X c #D1CF1A",
"-X c #D1D50E",
";X c #D7E803",
":X c #918197",
">X c #858494",
",X c #8987BA",
"<X c #928BBB",
"1X c #9B9BA8",
"2X c #9B98B8",
"3X c #8784A3",
"4X c #A787A8",
"5X c #AE9CAE",
"6X c #AC99B1",
"7X c #B988B9",
"8X c #BB92BC",
"9X c #B598B8",
"0X c #A0A0A7",
"qX c #A6A6B7",
"wX c #8382C6",
"eX c #8382D4",
"rX c #8D8CD4",
"tX c #9C8CC7",
"yX c #908FD9",
"uX c #9493C6",
"iX c #9A99DB",
"pX c #9493D3",
"aX c #A693C8",
"sX c #A09AD5",
"dX c #A8A5C9",
"fX c #A9A6D6",
"gX c #B7A8C7",
"hX c #B7B6DA",
"jX c #B5B1CE",
"kX c #B7B4E2",
"lX c #A9A8E2",
"zX c #C88EC8",
"xX c #C38BC3",
"cX c #C695C6",
"vX c #C2ADC2",
"bX c #C7A6C7",
"nX c #C4B5C4",
"mX c #C6B9D3",
"MX c #DDB9DD",
"NX c #D9B4D9",
"BX c #D3A4D4",
"VX c #C9C5CA",
"CX c #CAC9D7",
"ZX c #D4CBD4",
"AX c #D9C1D9",
"SX c #DACEDA",
"DX c #C4C3E4",
"FX c #CBC9E6",
"GX c #D8D7E6",
"HX c #E7CCE7",
"JX c #E9CFE9",
"KX c #EADBEA",
"LX c #E4DAE4",
"PX c #EDE2ED",
"IX c #EAEAF4",
"UX c #F0E1F0",
"YX c None",
/* pixels */
"YXYXYXYXYXYXYXYXYXSXLXIXUXCX YXYXYXYXVXLXPXPXZX. YXYXYXYXYX",
"YXYXYXYXYXYXYXnXKXUXUXKXJXSXnX YXnXKXPXPXPXKXSXnX YXYXYXYX",
"YXYXYXYXYXYX9XHXJXMX0XvX:X9XSX .HXJXAX5XvX>XvXAX. YXYXYXYX",
"YXYXYXYXYXYXMXMXkXx.. | 4XNXvX NXMXMXV. { 4XNXbX YXYXYX",
"YXYXYXYXYXBXBX8XZ. 4X8X8XZ. { BX8X4X G.7XcXZ. YXYXYX",
"YXYXYXYXLXcXcXC.z zXxX7X) X.G.G.C.z zXcX7X5 5 VX YXYX",
"YXYX1XIXGXBXCXC.+ H.H.F.6XIXIX8X| B.- F.H.8X5X0XCXCX YX",
"YXYX3 GXmX8XmXZ.M M.D.m | VXCXGX4X| B.M.B.D.m gXqX1XCXW YX",
"YXYX CXgXS.jXA.= + = 2XFXqXFXZ.| n.l @ = jX>X..GX$ YX",
"YXYX hXaXA.jX,.= + kXFXDXFX3.{ m l * w hXV.2XdX YX",
"YXYX hXdX,.fX[ v n.j b.kX2XDXhX1.4.v b.m.j S.tX3XkX1. YX",
"YXYX fXdX4.aX^ j v.c.N.fX) kXuX} <X= b c.c.G.tX1.kX% YXYX",
"YXYX <XfXuX<X[ k c c S.uX( fX,X' iXk c n b tX/ 3.uX YXYX",
"YXYX 2.iXrX2./ $ pX2.6.rX,XQ iX2 2 iXQ pX/ YXYX",
"YXYX e rXrX( %.e ( rX( 5.7.wXQ J.y 5.yX( yX& YXYXYX",
"YXYXYX t.eXQ 5.~ 7.7.2.% 2.eX&.2.&. J.6.8.5. YXYXYX",
"YXYXYX r.t.y 8.#.o 8.~ *. x t.r.~ 8. 0 t.! r.0 o $ F YXYXYX",
"YXYXYX <.w.~ >.#.d ] #.0 q w.w.y w.o #.e.$.<.. d I I YX",
"YXYXYX =.e.=.#.g z.I t X q ;.e.u :.y :.o.q.u < J y.d YX",
"YXYXYX y 0.0.r ] _ I 6 o -.0.-.=.0.;.t 0.o , I y.p YX",
"YXYXYXYX 9.9.i ' _ g X + +.9.9.@.;.i +.r y.k.i.y.H ",
"YXYXXXW.Q.] =.@.z.J 4 . V s.E o.@.@.-.' d.z.L ; s j.j.j.i.D ",
"YXXXW.Q.Q.f.) O.l.f.# D Q.u.u.o O.$.g.g.h.^.^.> s.oX~.~.u.s ",
"YX}.oXD a P w 9 ~.f.S T p.p.K ~ ).g q g j.(.. # k.a.K ",
".X#X{. . ; 7 0 _.!.V O I.U.C . oXg.6 8 4 Y.(. a /.).T ",
"+X#X(. 1 # T.{., #X{.C B +XI. I./.{. T #XoXA YX",
"&X+X}.Y P.%X[.P.+X@X. &X@XY Z ;X/.A T.OX}.+X; Y.}.[.B YXYX",
".X*XOX;X;X XZ T.*XL. =X%XP.; ;X%X*XT.> `.|., ].`. X: YXYX",
". Y.].T.A . C C ; $X-Xh P.].R O R : XE.P.O YXYX",
" E U C . YXYX",
"YX YX. # YXYXYX",
"YXYXYXYXYXYXYXYXYXYXYXYXYX YXYXYXYXYXYXYXYXYX YXYXYXYXYX"
};
/* XPM */
static char * C:\temp\weechat_xpm[] = {
"32 32 362 2",
" c None",
". c #117529",
"+ c #0E7527",
"@ c #0A7424",
"# c #057323",
"$ c #016F20",
"% c #5DAA58",
"& c #5DB059",
"* c #5AB158",
"= c #57B157",
"- c #54AF55",
"; c #4FAE53",
"> c #4BAE52",
", c #48AD50",
"' c #44AC4E",
") c #3FAB4C",
"! c #3BA849",
"~ c #36A646",
"{ c #30A343",
"] c #2CA040",
"^ c #279D3D",
"/ c #229A3A",
"( c #1D9837",
"_ c #189534",
": c #129232",
"< c #0D8F2E",
"[ c #088D2C",
"} c #03691F",
"| c #64AB5B",
"1 c #6FC468",
"2 c #6AC265",
"3 c #66BF62",
"4 c #62BC5F",
"5 c #5DBA5D",
"6 c #58B85A",
"7 c #54B557",
"8 c #4FB254",
"9 c #4AB052",
"0 c #45AD4F",
"a c #40AB4C",
"b c #3CA849",
"c c #37A647",
"d c #32A344",
"e c #2DA041",
"f c #289D3D",
"g c #239A3B",
"h c #1E9838",
"i c #199535",
"j c #139232",
"k c #0F8F2F",
"l c #098B2B",
"m c #035018",
"n c #68AE5E",
"o c #76C96B",
"p c #70C568",
"q c #6CC365",
"r c #67C062",
"s c #62BD60",
"t c #5FBC5E",
"u c #5ABA5B",
"v c #55B859",
"w c #51B656",
"x c #4CB354",
"y c #47B051",
"z c #42AD4E",
"A c #3EAA4B",
"B c #38A647",
"C c #32A243",
"D c #2E9D40",
"E c #28993C",
"F c #239439",
"G c #1E9036",
"H c #188C32",
"I c #13882F",
"J c #0F842C",
"K c #0A7C27",
"L c #629F57",
"M c #7BCC6F",
"N c #76C86B",
"O c #71C569",
"P c #6DC366",
"Q c #69C163",
"R c #65C162",
"S c #57AC56",
"T c #3E803F",
"U c #377539",
"V c #316E34",
"W c #2C6830",
"X c #28602C",
"Y c #225928",
"Z c #1D5124",
"` c #1A4E22",
" . c #184C20",
".. c #81CF72",
"+. c #7CCB6E",
"@. c #77C86C",
"#. c #72C76A",
"$. c #6EC467",
"%. c #69C164",
"&. c #549F51",
"*. c #71B062",
"=. c #84D274",
"-. c #7FCF71",
";. c #7ACD6F",
">. c #76CB6C",
",. c #72C869",
"'. c #6CC465",
"). c #1F391D",
"!. c #558DC1",
"~. c #568EC3",
"{. c #568FC5",
"]. c #5790C7",
"^. c #5892C8",
"/. c #538ABE",
"(. c #5B98D0",
"_. c #5C99D2",
":. c #5E9CD5",
"<. c #609FDB",
"[. c #61A1DC",
"}. c #497440",
"|. c #3F6638",
"1. c #355930",
"2. c #2C4A28",
"3. c #213B1F",
"4. c #609ED9",
"5. c #63A4E2",
"6. c #63A4E1",
"7. c #5B96CE",
"8. c #64A6E4",
"9. c #4878A4",
"0. c #426E96",
"a. c #4F83B3",
"b. c #4E82B2",
"c. c #62A3DF",
"d. c #64A6E3",
"e. c #274159",
"f. c #44729C",
"g. c #5B97CF",
"h. c #5B97D0",
"i. c #5C98D0",
"j. c #5C98D1",
"k. c #5B97CE",
"l. c #64A5E2",
"m. c #36597B",
"n. c #64A4E2",
"o. c #5A95CD",
"p. c #5993CB",
"q. c #64A5E3",
"r. c #45729C",
"s. c #63A4E3",
"t. c #62A2E1",
"u. c #62A1E1",
"v. c #61A1E1",
"w. c #609FE0",
"x. c #5993D4",
"y. c #5D9BDF",
"z. c #5D99DF",
"A. c #5C99DF",
"B. c #5B98DE",
"C. c #4878B1",
"D. c #63A3E5",
"E. c #609EE0",
"F. c #5F9DE0",
"G. c #5F9DDF",
"H. c #5E9BDF",
"I. c #5C99DC",
"J. c #2B4666",
"K. c #4D7FBD",
"L. c #5A96DF",
"M. c #5A94DE",
"N. c #5993DD",
"O. c #5992DD",
"P. c #5993E1",
"Q. c #4069A0",
"R. c #365A8E",
"S. c #568EDF",
"T. c #548ADB",
"U. c #5489DB",
"V. c #5389DB",
"W. c #5287DA",
"X. c #2E4D7C",
"Y. c #4C7DC1",
"Z. c #5891DE",
"`. c #568FDC",
" + c #568EDC",
".+ c #568DDC",
"++ c #558CDC",
"@+ c #4F82CD",
"#+ c #4D7ECD",
"$+ c #5185DA",
"%+ c #5085DA",
"&+ c #5084DA",
"*+ c #4F82D9",
"=+ c #5185DF",
"-+ c #121E31",
";+ c #4370C2",
">+ c #4C7CD9",
",+ c #4A7BD7",
"'+ c #4A7AD7",
")+ c #4978D7",
"!+ c #4877D6",
"~+ c #4E82D9",
"{+ c #4E81D9",
"]+ c #4E80D9",
"^+ c #4E7FD9",
"/+ c #4D7ED8",
"(+ c #4C7DDA",
"_+ c #395FA4",
":+ c #4775D2",
"<+ c #4876D6",
"[+ c #4775D6",
"}+ c #4773D6",
"|+ c #4674D7",
"1+ c #3B62B7",
"2+ c #436ED6",
"3+ c #416CD4",
"4+ c #416AD3",
"5+ c #4069D3",
"6+ c #406AD6",
"7+ c #304FA2",
"8+ c #375BA8",
"9+ c #4673D5",
"0+ c #4572D5",
"a+ c #4571D5",
"b+ c #4470D5",
"c+ c #436FD4",
"d+ c #4470D9",
"e+ c #14213E",
"f+ c #3150A3",
"g+ c #4069D4",
"h+ c #3E67D3",
"i+ c #3E66D2",
"j+ c #3D64D2",
"k+ c #3D64D3",
"l+ c #243C7F",
"m+ c #2F4DAC",
"n+ c #395ED1",
"o+ c #385CD0",
"p+ c #375AD0",
"q+ c #365ACF",
"r+ c #375AD5",
"s+ c #111C41",
"t+ c #3558B8",
"u+ c #3C63D2",
"v+ c #3C62D2",
"w+ c #3B61D1",
"x+ c #3A60D2",
"y+ c #3658C2",
"z+ c #3455C4",
"A+ c #3659CF",
"B+ c #3557CF",
"C+ c #3556CF",
"D+ c #3354CF",
"E+ c #3151C5",
"F+ c #101A3E",
"G+ c #2C49C0",
"H+ c #2F4DCC",
"I+ c #2E4CCC",
"J+ c #2D4ACB",
"K+ c #2D49CB",
"L+ c #2741B7",
"M+ c #3353C6",
"N+ c #3455CF",
"O+ c #3454CE",
"P+ c #3353CE",
"Q+ c #3252CD",
"R+ c #3151CE",
"S+ c #304FCC",
"T+ c #162467",
"U+ c #1F318C",
"V+ c #2E4BCF",
"W+ c #2C47CB",
"X+ c #2B47CA",
"Y+ c #2A45CA",
"Z+ c #2943C8",
"`+ c #2841C5",
" @ c #2942CB",
".@ c #2841CB",
"+@ c #273EC9",
"@@ c #263DC9",
"#@ c #253BC8",
"$@ c #243AC7",
"%@ c #2339C9",
"&@ c #172583",
"*@ c #1D2F86",
"=@ c #2D49CE",
"-@ c #2B46CB",
";@ c #2B46CA",
">@ c #2A44CA",
",@ c #2943CA",
"'@ c #2841C9",
")@ c #2740C9",
"!@ c #2840CC",
"~@ c #273FCA",
"{@ c #263DCA",
"]@ c #243AC8",
"^@ c #2339C7",
"/@ c #2338C7",
"(@ c #2237C7",
"_@ c #2135C6",
":@ c #2034C6",
"<@ c #2033C6",
"[@ c #1E31C5",
"}@ c #1E30C5",
"|@ c #1D2EC4",
"1@ c #1C2DC4",
"2@ c #1B2CC4",
"3@ c #1A2AC3",
"4@ c #1928C0",
"5@ c #0C1258",
"6@ c #1B2C97",
"7@ c #233AC9",
"8@ c #2238C7",
"9@ c #2136C7",
"0@ c #1F32C6",
"a@ c #1D2FC5",
"b@ c #1C2EC5",
"c@ c #1B2BC4",
"d@ c #1A2AC4",
"e@ c #1929C3",
"f@ c #1827C3",
"g@ c #1826C3",
"h@ c #1724C2",
"i@ c #1623C2",
"j@ c #1522C1",
"k@ c #1420C2",
"l@ c #141FC2",
"m@ c #121EC1",
"n@ c #111CC2",
"o@ c #111AC1",
"p@ c #0E17B2",
"q@ c #1A2AC1",
"r@ c #1929C4",
"s@ c #1927C4",
"t@ c #1724C3",
"u@ c #1623C3",
"v@ c #1522C4",
"w@ c #1520C3",
"x@ c #131FC3",
"y@ c #131DC3",
"z@ c #111CC0",
"A@ c #111ABB",
"B@ c #0F19B6",
"C@ c #0F17B1",
"D@ c #0D15AD",
"E@ c #0D14A9",
"F@ c #0C13A7",
"G@ c #0B11A4",
"H@ c #0A1099",
"I@ c #080D8B",
"J@ c #070B7A",
"K@ c #060968",
"L@ c #0F179E",
"M@ c #0E16AA",
"N@ c #0E15AF",
"O@ c #0C13A9",
"P@ c #0C129C",
"Q@ c #0A108F",
"R@ c #090E80",
"S@ c #080C72",
"T@ c #070B63",
"U@ c #060957",
" ",
" ",
" ",
" ",
" ",
" . + @ # $ ",
" % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } ",
" | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m ",
" n o p q r s t u v w x y z A B C D E F G H I J K ",
" L M N O P Q R S T U V W X Y Z ` . ",
" ..+.@.#.$.%.&. ",
" *.=.-.;.>.,.'.). !.~.{.].^. /.(._.:.<.[. ",
" }.|.1.2.3. 4.5.6.6.6.7. [.6.6.6.8.9. ",
" 0.8.6.6.6.6.a. b.c.6.6.6.d.e. ",
" f.g.h.i.j._.{. k.l.6.6.6.l.m. !.n.6.6.6.o. ",
" p.l.6.6.6.q.r. s.t.t.u.v.w. x.y.z.A.B.C. ",
" D.E.F.G.H.I.J. K.L.M.N.O.P.Q. R.S.T.U.V.W.X. ",
" Y.Z.`. +.+++@+ #+$+%+&+*+=+-+ ;+>+,+'+)+!+ ",
" ~+{+]+^+/+(+_+ :+<+[+}+|+1+ 2+3+4+5+6+7+ ",
" 8+9+0+a+b+c+d+e+ f+g+h+i+j+k+l+ m+n+o+p+q+r+s+ ",
" t+j+u+v+w+x+y+ z+A+B+C+D+E+F+ G+H+I+J+K+L+ ",
" M+N+O+P+Q+R+S+T+ U+V+K+W+X+Y+Z+`+ @.@+@@@#@$@%@&@ ",
"*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@[@}@|@1@2@3@4@5@ ",
"6@7@8@9@_@:@0@[@a@b@1@c@d@e@f@g@h@i@j@k@l@m@n@o@p@ ",
" q@r@s@g@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@ ",
" L@M@N@O@P@Q@R@S@T@U@ ",
" ",
" ",
" ",
" ",
" ",
" "};
+5 -7
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
@@ -18,11 +18,11 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(ENABLE_DOC)
IF(ENABLE_MAN OR ENABLE_DOC)
FIND_PACKAGE(Sourcehighlight)
FIND_PACKAGE(Asciidoc)
IF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
IF(ASCIIDOC_FOUND)
ADD_SUBDIRECTORY( en )
ADD_SUBDIRECTORY( fr )
ADD_SUBDIRECTORY( it )
@@ -31,8 +31,6 @@ IF(ENABLE_DOC)
ADD_SUBDIRECTORY( es )
ADD_SUBDIRECTORY( ru )
ADD_SUBDIRECTORY( ja )
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
ENDIF(ASCIIDOC_FOUND)
ENDIF(ENABLE_DOC)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/man1)
ENDIF(ENABLE_MAN OR ENABLE_DOC)
+2 -4
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -20,9 +20,7 @@
SUBDIRS = . en fr it de pl es ru ja
man_MANS = weechat-curses.1
EXTRA_DIST = $(man_MANS) docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
EXTRA_DIST = docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
uninstall-hook:
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
+151 -55
View File
@@ -1,79 +1,175 @@
body {
margin: 1em 2em 1em 2em;
margin: 1em 2em;
font-family: verdana, sans-serif;
font-size: 12px;
}
div.sectionbody {
font-family: serif,Helvetica,arial;
div.sectionbody, #author, #revnumber, #revdate, #revremark, #toctitle, #footer {
font-family: verdana, sans-serif;
}
h5 {
font-size: 0.95em;
a, a:visited, a:hover, a:active {
color: #00c;
text-decoration: none;
}
em {
color: #252;
}
strong {
color: #000;
}
tt {
font-family: monospace;
color: #366;
}
#author {
color: #555;
}
#toc {
line-height: 1.4em;
}
#toctitle {
margin-bottom: .6em;
color: #555;
}
div.toclevel0, div.toclevel1 {
font-size: 1.1em;
}
div.toclevel2, div.toclevel3, div.toclevel4 {
font-size: 1em;
}
h1, h2, h3, h4, h5, h6 {
margin: 1.2em 0;
}
h1 {
padding: 1.2em;
border: solid 1px #c0d0ff;
border-radius: 8px;
box-shadow: 1px 1px 3px #aac;
background: #ddeaee;
background: -moz-linear-gradient(#bbddff, #eefaff);
background: -webkit-linear-gradient(#bbddff, #eefaff);
background: linear-gradient(#bbddff, #eefaff);
color: #224b8d;
font-size: 2.2em;
text-align: center;
}
h2 {
padding: .5em;
border: solid 1px #d0d0d0;
border-radius: 6px;
box-shadow: 1px 1px 2px #bbb;
background: #f2f2f2;
background: -moz-linear-gradient(#e0e0e0, #f6f6f6);
background: -webkit-linear-gradient(#e0e0e0, #f6f6f6);
background: linear-gradient(#e0e0e0, #f6f6f6);
color: #444;
font-size: 1.7em;
}
h3 {
border: none;
margin: .7em 0 1em 0;
color: #555;
font-size: 1.5em;
}
h4 {
color: #555;
font-size: 1.3em;
}
h5 {
color: #555;
font-size: 1.2em;
}
span.command {
background: #EEEEFF;
border: solid 1px #BBBBDD;
padding: 0 8px 0 8px;
margin-right: 12px;
padding: .2em .5em;
border: solid 1px #ccc;
margin-right: 12px;
background: #eee;
font-size: 1.1em;
}
p.table {
margin-top: 0;
margin-bottom: 0;
margin-top: 0;
margin-bottom: 0;
}
div.listingblock > div.content {
border: solid 1px #e2e2e2;
border-radius: 4px;
background: #fbfbfb;
}
div.tableblock > table {
border: 2px solid #888;
}
table th {
background: #fbfbfb;
color: #000;
font-size: 1.1em;
}
.tableblock table th, .tableblock table td {
border: solid 1px #bbb;
}
div.title {
color: #525252;
}
div.admonitionblock .icon {
text-decoration: none;
}
dt.hdlist1 {
margin-bottom: .5em;
color: #252;
}
.key {
border-top: solid 1px #D5D5E5;
border-left: solid 1px #D5D5E5;
border-bottom: solid 1px #A5A5B5;
border-right: solid 1px #A5A5B5;
background-color: #EEEEFF;
padding: 0 0.3em 0 0.3em;
margin: 0 2px 0 2px;
padding: 0 .3em;
border-top: solid 1px #d5d5e5;
border-left: solid 1px #d5d5e5;
border-bottom: solid 1px #a5a5b5;
border-right: solid 1px #a5a5b5;
margin: 0 2px;
background: #eef;
font-family: serif, Helvetica, arial;
font-size: 1.1em;
line-height: 1.5em;
}
.key.ctrl {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #DFD0D0;
border-left: solid 1px #DFD0D0;
border-bottom: solid 1px #AFA0A0;
border-right: solid 1px #AFA0A0;
background-color: #FFF0F0;
border-top: solid 1px #dfd0d0;
border-left: solid 1px #dfd0d0;
border-bottom: solid 1px #afa0a0;
border-right: solid 1px #afa0a0;
background: #fff0f0;
font-variant: small-caps;
}
.key.alt {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #DFBBAB;
border-left: solid 1px #DFBBAB;
border-bottom: solid 1px #AF8B7B;
border-right: solid 1px #AF8B7B;
background-color: #FFDBCB;
border-top: solid 1px #dfbbab;
border-left: solid 1px #dfbbab;
border-bottom: solid 1px #af8b7b;
border-right: solid 1px #af8b7b;
background: #ffdbcb;
font-variant: small-caps;
}
.key.shift {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #D5D5D5;
border-left: solid 1px #D5D5D5;
border-bottom: solid 1px #A5A5A5;
border-right: solid 1px #A5A5A5;
background-color: #F5F5F5;
border-top: solid 1px #d5d5d5;
border-left: solid 1px #d5d5d5;
border-bottom: solid 1px #a5a5a5;
border-right: solid 1px #a5a5a5;
background: #f5f5f5;
font-variant: small-caps;
}
.key.other {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #D0E0D0;
border-left: solid 1px #D0E0D0;
border-bottom: solid 1px #A0B0A0;
border-right: solid 1px #A0B0A0;
background-color: #EAFAEA;
border-top: solid 1px #d0e0d0;
border-left: solid 1px #d0e0d0;
border-bottom: solid 1px #a0b0a0;
border-right: solid 1px #a0b0a0;
background: #eafaea;
font-variant: small-caps;
}
.keyplus {
font-size: 0.8em;
font-size: .8em;
}
.hexa {
color: #000077;
font-size: 0.85em;
font-family: monospace;
font-variant: small-caps;
border: solid 1px #8888BB;
padding: 0 0.2em 0 0.2em;
margin: 0 0.2em 0 0.2em;
padding: 0 .2em;
border: solid 1px #88b;
margin: 0 .2em;
color: #007;
font-family: monospace;
font-size: .85em;
font-variant: small-caps;
}
#footer {
border-top: 1px solid silver;
}
+71 -52
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -17,58 +17,77 @@
# 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 lang=de -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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})
IF (ENABLE_MAN)
# man page
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=de -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt
COMMENT "Building weechat.1 (de)"
)
ADD_CUSTOM_TARGET(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1)
ENDIF (ENABLE_MAN)
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -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.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})
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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})
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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}/cmdline_options.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})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -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.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})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -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.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})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -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.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})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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 lang=de -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.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 lang=de -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.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})
ENDIF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
+36 -7
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -21,6 +21,8 @@
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat.1.de.txt \
cmdline_options.de.txt \
weechat_user.de.txt \
weechat_scripting.de.txt \
weechat_faq.de.txt \
@@ -28,14 +30,28 @@ EXTRA_DIST = CMakeLists.txt \
weechat_tester.de.txt \
$(wildcard autogen/user/*.txt)
all-local: weechat_user.de.html \
if MAN
man_targets = weechat.1
man_install = install-man
man_uninstall = uninstall-man
endif
if DOC
doc_targets = weechat_user.de.html \
weechat_scripting.de.html \
weechat_faq.de.html \
weechat_quickstart.de.html \
weechat_tester.de.html
doc_install = install-doc
doc_uninstall = uninstall-doc
endif
all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.de.txt cmdline_options.de.txt
$(A2X) -a lang=de -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/de/weechat.1.de.txt
# user's guide
weechat_user.de.html: weechat_user.de.txt $(wildcard autogen/user/*.txt)
weechat_user.de.html: weechat_user.de.txt cmdline_options.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a lang=de -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.txt
# scripting guide
@@ -54,19 +70,32 @@ weechat_quickstart.de.html: weechat_quickstart.de.txt
weechat_tester.de.html: weechat_tester.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.txt
# install docs
# install man/docs
install-data-hook:
install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/de/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/de/man1/
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
# uninstall man/docs
uninstall-hook:
uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/de/man1/weechat.1
-rmdir $(DESTDIR)$(mandir)/de/man1
uninstall-doc:
$(RM) $(DESTDIR)$(docdir)/*.de.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
-rm -f weechat.1
-rm -f *.html
+9 -3
View File
@@ -6,7 +6,9 @@
| alias | alias_value | Wert von Alias
| aspell | aspell_langs | Liste der zu nutzenden Übersetzungen für Aspell
| aspell | aspell_dicts | Auflistung der installierten Wörterbücher
| aspell | aspell_langs | Liste aller Sprachen die durch Aspell unterstützt werden
| guile | guile_script | Liste der Skripten
@@ -104,6 +106,8 @@
| weechat | keys_contexts | Tastaturkontext
| weechat | layouts_names | Namen der Layouts
| weechat | nicks | Nicks in Nickliste für aktuellen Buffer
| weechat | palette_colors | Farbpalette
@@ -112,9 +116,11 @@
| weechat | plugins_names | Liste der Erweiterungen
| weechat | proxies_names | Namen der Proxies
| weechat | proxies_names | Namen aller Proxys
| weechat | proxies_options | Optionen für Proxies
| weechat | proxies_options | Optionen für Proxys
| weechat | secured_data | Namen der geschützten Daten (Datei sec.conf, section data)
| weechat | weechat_commands | WeeChat Befehle
+173 -18
View File
@@ -1,7 +1,23 @@
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
[width="100%",cols="^1,^2,4,8,4,4",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Variablen | Update erlaubt | Listen
| guile | guile_callback | Callback eines Skripts |
'script' (pointer, hdata: "guile_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "guile_callback") +
'next_callback' (pointer, hdata: "guile_callback") |
|
-
| guile | guile_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -12,7 +28,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "guile_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "guile_script") +
'next_script' (pointer, hdata: "guile_script") |
@@ -27,7 +43,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
@@ -42,6 +58,7 @@
'nicks_speaking' (pointer) +
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'join_smart_filtered' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'prev_channel' (pointer, hdata: "irc_channel") +
@@ -93,7 +110,7 @@
|
-
| irc | irc_redirect | IRC Umlenkung |
| irc | irc_redirect | IRC Weiterleitung |
'server' (pointer, hdata: "irc_server") +
'pattern' (string) +
'signal' (string) +
@@ -117,7 +134,7 @@
|
-
| irc | irc_redirect_pattern | Muster für IRC Umlenkung |
| irc | irc_redirect_pattern | Muster für IRC Weiterleitung |
'name' (string) +
'temp_pattern' (integer) +
'timeout' (integer) +
@@ -139,10 +156,12 @@
'addresses_count' (integer) +
'addresses_array' (string, array_size: "addresses_count") +
'ports_array' (integer, array_size: "addresses_count") +
'retry_array' (integer, array_size: "addresses_count") +
'index_current_address' (integer) +
'current_address' (string) +
'current_ip' (string) +
'current_port' (integer) +
'current_retry' (integer) +
'sock' (integer) +
'hook_connect' (pointer, hdata: "hook") +
'hook_fd' (pointer, hdata: "hook") +
@@ -150,6 +169,7 @@
'hook_timer_sasl' (pointer, hdata: "hook") +
'is_connected' (integer) +
'ssl_connected' (integer) +
'disconnected' (integer) +
'gnutls_sess' (other) +
'tls_cert' (other) +
'tls_cert_key' (other) +
@@ -182,14 +202,16 @@
'cmd_list_regexp' (pointer) +
'last_user_message' (time) +
'last_away_check' (time) +
'last_data_purge' (time) +
'outqueue' (pointer) +
'last_outqueue' (pointer) +
'redirects' (pointer, hdata: "irc_redirect") +
'last_redirect' (pointer, hdata: "irc_redirect") +
'notify_list' (pointer, hdata: "irc_notify") +
'last_notify' (pointer, hdata: "irc_notify") +
'manual_joins' (hashtable) +
'channel_join_key' (hashtable) +
'join_manual' (hashtable) +
'join_channel_key' (hashtable) +
'join_noswitch' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'channels' (pointer, hdata: "irc_channel") +
@@ -200,6 +222,22 @@
'irc_servers' +
'last_irc_server'
| lua | lua_callback | Callback eines Skripts |
'script' (pointer, hdata: "lua_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "lua_callback") +
'next_callback' (pointer, hdata: "lua_callback") |
|
-
| lua | lua_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -210,7 +248,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "lua_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "lua_script") +
'next_script' (pointer, hdata: "lua_script") |
@@ -218,6 +256,22 @@
'last_script' +
'scripts'
| perl | perl_callback | Callback eines Skripts |
'script' (pointer, hdata: "perl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "perl_callback") +
'next_callback' (pointer, hdata: "perl_callback") |
|
-
| perl | perl_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -228,7 +282,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "perl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "perl_script") +
'next_script' (pointer, hdata: "perl_script") |
@@ -236,6 +290,22 @@
'last_script' +
'scripts'
| python | python_callback | Callback eines Skripts |
'script' (pointer, hdata: "python_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "python_callback") +
'next_callback' (pointer, hdata: "python_callback") |
|
-
| python | python_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -246,7 +316,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "python_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "python_script") +
'next_script' (pointer, hdata: "python_script") |
@@ -254,6 +324,22 @@
'last_script' +
'scripts'
| ruby | ruby_callback | Callback eines Skripts |
'script' (pointer, hdata: "ruby_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "ruby_callback") +
'next_callback' (pointer, hdata: "ruby_callback") |
|
-
| ruby | ruby_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -264,7 +350,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "ruby_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "ruby_script") +
'next_script' (pointer, hdata: "ruby_script") |
@@ -300,6 +386,22 @@
'last_script_repo' +
'scripts_repo'
| tcl | tcl_callback | Callback eines Skripts |
'script' (pointer, hdata: "tcl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "tcl_callback") +
'next_callback' (pointer, hdata: "tcl_callback") |
|
-
| tcl | tcl_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -310,7 +412,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "tcl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "tcl_script") +
'next_script' (pointer, hdata: "tcl_script") |
@@ -321,11 +423,10 @@
| weechat | bar | Bar |
'name' (string) +
'options' (pointer) +
'conditions_count' (integer) +
'conditions_array' (string, array_size: "conditions_count") +
'items_count' (integer) +
'items_subcount' (pointer) +
'items_array' (pointer) +
'items_buffer' (pointer) +
'items_prefix' (pointer) +
'items_name' (pointer) +
'items_suffix' (pointer) +
@@ -365,6 +466,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
@@ -400,6 +502,9 @@
'nicklist_root' (pointer, hdata: "nick_group") +
'nicklist_max_length' (integer) +
'nicklist_display_groups' (integer) +
'nicklist_count' (integer) +
'nicklist_groups_count' (integer) +
'nicklist_nicks_count' (integer) +
'nicklist_visible_count' (integer) +
'nickcmp_callback' (pointer) +
'nickcmp_callback_data' (pointer) +
@@ -425,6 +530,9 @@
'num_history' (integer) +
'text_search' (integer) +
'text_search_exact' (integer) +
'text_search_regex' (integer) +
'text_search_regex_compiled' (pointer) +
'text_search_where' (integer) +
'text_search_found' (integer) +
'text_search_input' (string) +
'highlight_words' (string) +
@@ -559,8 +667,10 @@
'text' (string) +
'next_history' (pointer, hdata: "history") +
'prev_history' (pointer, hdata: "history") |
|
-
`__create` +
`__delete` |
'gui_history' +
'last_gui_history'
| weechat | hotlist | Hotliste |
'priority' (integer) +
@@ -609,6 +719,41 @@
'last_gui_key_mouse' +
'last_gui_key_search'
| weechat | layout | Layout |
'name' (string) +
'layout_buffers' (pointer, hdata: "layout_buffer") +
'last_layout_buffer' (pointer, hdata: "layout_buffer") +
'layout_windows' (pointer, hdata: "layout_window") +
'internal_id' (integer) +
'internal_id_current_window' (integer) +
'prev_layout' (pointer, hdata: "layout") +
'next_layout' (pointer, hdata: "layout") |
|
'gui_layout_current' +
'gui_layouts' +
'last_gui_layout'
| weechat | layout_buffer | Buffer-Layout |
'plugin_name' (string) +
'buffer_name' (string) +
'number' (integer) +
'prev_layout' (pointer, hdata: "layout_buffer") +
'next_layout' (pointer, hdata: "layout_buffer") |
|
-
| weechat | layout_window | Fenster-Layout |
'internal_id' (integer) +
'parent_node' (pointer, hdata: "layout_window") +
'split_pct' (integer) +
'split_horiz' (integer) +
'child1' (pointer, hdata: "layout_window") +
'child2' (pointer, hdata: "layout_window") +
'plugin_name' (string) +
'buffer_name' (string) |
|
-
| weechat | line | Struktur mit einer Zeile |
'data' (pointer, hdata: "line_data") +
'prev_line' (pointer, hdata: "line") +
@@ -645,7 +790,9 @@
'first_line_not_read' (integer) +
'lines_hidden' (integer) +
'buffer_max_length' (integer) +
'prefix_max_length' (integer) |
'buffer_max_length_refresh' (integer) +
'prefix_max_length' (integer) +
'prefix_max_length_refresh' (integer) |
|
-
@@ -692,6 +839,15 @@
'last_weechat_plugin' +
'weechat_plugins'
| weechat | proxy | Proxy |
'name' (string) +
'options' (pointer) +
'prev_proxy' (pointer, hdata: "proxy") +
'next_proxy' (pointer, hdata: "proxy") |
|
'last_weechat_proxy' +
'weechat_proxies'
| weechat | window | Fenster |
'number' (integer) +
'win_x' (integer) +
@@ -730,7 +886,6 @@
'scrolling' (integer) +
'start_col' (integer) +
'lines_after' (integer) +
'reset_allowed' (integer) +
'prev_scroll' (pointer, hdata: "window_scroll") +
'next_scroll' (pointer, hdata: "window_scroll") |
|
+5 -1
View File
@@ -48,18 +48,22 @@
| weechat | history | Verlaufspeicher der Befehle | Buffer Pointer (falls nicht gesetzt, wird der globale Verlauf zurückgegeben) (optional) | -
| weechat | hook | Auflistung der Hooks | - | type,arguments (type ist ein command/timer/.., arguments dient dazu nur einige hooks abzufragen (darf mit einem "*" als Platzhalter beginnen oder enden), beide Optionen sind optional)
| weechat | hook | Auflistung der Hooks | Hook-Pointer (optional) | type,arguments (type ist ein command/timer/.., arguments dient dazu nur einige hooks abzufragen (darf mit einem "*" als Platzhalter beginnen oder enden), beide Optionen sind optional)
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
| weechat | key | Auflistung der Tastenzuweisungen | - | Kontext ("default", "search", "cursor" oder "mouse") (optional)
| weechat | layout | Auflistung der Layouts | - | -
| 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 | Auflistung 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 | proxy | Liste der Proxys | Proxy Pointer (optional) | Name des Proxy (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | url_options | Optionen für URL | - | -
| weechat | window | Auflistung der Fenster | Fenster Pointer (optional) | "current" für aktuelles Fenster oder die Nummer eines Fensters (optional)
+4
View File
@@ -2,6 +2,8 @@
|========================================
| Erweiterung | Name | Beschreibung | Argumente
| aspell | aspell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.freenode.#weechat")
| fifo | fifo_filename | Name der FIFO-Pipe | -
| irc | irc_buffer | holt Buffer Pointer für einen IRC Server/Channel/Nick | server,channel,nick (Channel und Nicks sind optional)
@@ -42,6 +44,8 @@
| weechat | version | WeeChat Version | -
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
| weechat | version_number | WeeChat Version (als Nummer) | -
| weechat | weechat_dir | WeeChat Verzeichnis | -
@@ -2,7 +2,7 @@
|========================================
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (beinhaltet Channel)
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein)
| irc | irc_message_split | dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
+10
View File
@@ -48,6 +48,12 @@
| address_scope | long |
| tcp_keepalive | long |
| tcp_keepidle | long |
| tcp_keepintvl | long |
| netrc | long | ignored, optional, required
| netrc_file | string |
@@ -126,6 +132,8 @@
| mail_from | string |
| mail_auth | string |
| tftp_blksize | long |
| ftpport | string |
@@ -270,6 +278,8 @@
| ssl_sessionid_cache | long |
| ssl_options | long | allow_beast
| krblevel | string |
| gssapi_delegation | long | none, policy_flag, flag
+2 -3
View File
@@ -17,9 +17,8 @@ Anmerkung: Im Befehl können Variablen genutzt werden, die dann durch den entspr
$n-m: Argumente von 'n' bis 'm'
$*: alle Argumente
$~: letztes Argument
$nick: aktueller Nick
$channel: aktueller Channel
$server: aktueller Server
$var: "var" ist eine lokale Variable für den jeweiligen Buffer (siehe /buffer localvar)
Beispiel: $nick, $channel, $server, $plugin, $name
Um ein Alias zu löschen wird der Befehl "/unalias" genutzt.
+3 -3
View File
@@ -3,15 +3,15 @@
........................................
/aspell enable|disable|toggle
listdict
setdict <lang>
setdict <dict>[,<dict>...]
deldict
addword [<lang>] <word>
addword [<dict>] <word>
enable: Aspell wird aktiviert
disable: Aspell wird deaktiviert
toggle: Aspell Funktionalität umschalten
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
setdict: Wörterbuch für den aktuellen Buffer einstellen
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden)
deldict: Wörterbuch für den aktuellen Buffer entfernen
addword: fügt ein Wort in das persönliche Wörterbuch von Aspell hinzu
+13 -3
View File
@@ -1,5 +1,5 @@
* [[option_aspell.check.commands]] *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)`
** 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"`)
@@ -23,13 +23,23 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** Beschreibung: `legt die Anzahl an Vorschlägen fest, für ein falsch geschriebenes Wort. Die Vorschläge werden in der Bar-Item "aspell_suggest", für die jeweilige(n) Sprache(n), im Buffer, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge an, für alle betreffenden Sprachen)`
** Typ: integer
** Werte: -1 .. 2147483647 (Standardwert: `-1`)
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
** Beschreibung: `Mindestlänge für ein Wort, welches auf Rechtschreibung überprüft werden soll (bei 0 werden alle Wörter überprüft)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `2`)
* [[option_aspell.look.color]] *aspell.look.color*
** Beschreibung: `Farbe in der ein Wort mit einem Rechtschreibfehler hervorgehoben werden soll`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
** Beschreibung: `Farbe in der ein Wort mit einem Rechtschreibfehler hervorgehoben werden soll (Eingabezeile)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `lightred`)
* [[option_aspell.color.suggestions]] *aspell.color.suggestions*
** Beschreibung: `Textfarbe für die Vorschläge der Rechtsschreibkorrektur (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `default`)
-36
View File
@@ -1,36 +0,0 @@
[[command_demo_demo_buffer]]
[command]*`demo_buffer`* Öffne einen neuen Buffer::
........................................
/demo_buffer <name>
........................................
[[command_demo_demo_info]]
[command]*`demo_info`* Hole eine Info und zeige sie an::
........................................
/demo_info <info> [<arguments>]
info: Information die dargestellt werden soll
arguments: optionale Argumente für Info
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen angezeigt
........................................
[[command_demo_demo_infolist]]
[command]*`demo_infolist`* Hole eine Infolist und zeige sie an::
........................................
/demo_infolist <infolist> [<arguments>]
infolist: Infoliste die dargestellt werden soll
arguments: optionale Argumente für Infoliste
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen der Infoliste angezeigt
........................................
[[command_demo_demo_printf]]
[command]*`demo_printf`* Gibt ein paar Nachrichten im aktuellen Buffer aus::
........................................
/demo_printf <text>
text: schreibt diesen Text
........................................
+65 -23
View File
@@ -14,7 +14,7 @@ target: Server
-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
arguments: Argumente für Befehl (Variablen die genutzt werden können: $nick, $channel und $server)
Beispiele:
Führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:
@@ -32,13 +32,15 @@ Beispiele:
-exclude: dient zum Ausschluss ausgewählter Server ('*' wird zu Beginn oder am Ende des Servernamens akzeptiert, um mehrere Server auszuschließen)
command: Befehl der ausgeführt werden soll
arguments: Argumente des Befehls
arguments: Argumente für Befehl (Variablen die genutzt werden können: $nick, $channel und $server)
Beispiele:
Ändere den Nick auf allen Servern:
ändere den Nick auf allen Servern:
/allserv nick newnick
Setzt den Status, auf allen Servern,auf abwesend:
setzt den Status, auf allen Servern,auf abwesend:
/allserv away I'm away
führt ein whois mit meinem nick auf allen Servern aus:
/allserv whois $nick
........................................
[[command_irc_ban]]
@@ -56,16 +58,17 @@ Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Channel angezei
[command]*`connect`* Mit IRC-Server(n) verbinden::
........................................
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-open [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: Name des Servers (folgende Möglichkeiten bestehen):
- intern genutzter Servername mit dem verbunden werden soll (Der Server sollte zuerst mittels "/server add" angelegt werden)
server: Name des Servers (folgende Möglichkeiten bestehen):
- intern genutzter Servername, zu dem eine Verbindung aufgebaut werden soll (Der Server sollte zuerst mittels "/server add" angelegt werden)
- Hostname/Port oder IP/Port (damit wird lediglich ein TEMPORÄRER Server erstellt), Port 6667 wird standardmäßig verwendet
- URL mit folgendem Format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
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)
-all: Verbindung wird mit allen Servern hergestellt
-open: stellt eine Verbindung zu allen geöffneten Servern her, zu denen aktuell keine Verbindung besteht
option: legt Option für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: deaktiviert eine Boolean Option (Beispiel: -nossl)
-all: Verbindung wird zu den Servern hergestellt, für die eine Konfiguration vorhanden ist
-auto: Verbindung zu den Servern herstellen, für die die Option "autoconnect" aktiviert ist
-open: stellt eine Verbindung zu allen geöffneten Servern her, zu denen aktuell aber keine Verbindung besteht
-nojoin: Channel(s) werden nicht betreten (auch falls die Funktion "autojoin" aktiviert sein sollte)
-switch: wechselt zur nächsten Server-Adresse
@@ -118,18 +121,29 @@ Beispiel:
[command]*`dehalfop`* halb-Operator-Privilegien einem oder mehreren Nick(s) entziehen::
........................................
/dehalfop <nick> [<nick>...]
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: entzieht allen Nicks im Channel den half-operator-Status, ausgenommen sich selber
........................................
[[command_irc_deop]]
[command]*`deop`* Operator-Privilegien einem oder mehreren Nicknamen entziehen::
........................................
/deop <nick> [<nick>...]
* -yes
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: entzieht allen Nicks im Channel den Operator-Status, ausgenommen sich selber
........................................
[[command_irc_devoice]]
[command]*`devoice`* Voice-Privilegien einem oder mehreren Nicknamen entziehen::
........................................
/devoice <nick> [<nick>...]
* -yes
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: entzieht allen Nicks im Channel den voice-Status
........................................
[[command_irc_die]]
@@ -155,6 +169,10 @@ reason: Begründung der Trennung
[command]*`halfop`* halb-Operator Status an Nick(s) vergeben::
........................................
/halfop <nick> [<nick>...]
* -yes
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: vergibt an alle Nicks im Channel den half-operator-Status
........................................
[[command_irc_ignore]]
@@ -212,16 +230,18 @@ nick: Nickname
[[command_irc_join]]
[command]*`join`* einen Channel betreten::
........................................
/join [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
server: Verbindung zu diesem Server (interner Name)
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)
-noswitch: es wird nicht zu dem angegebenen Channel gewechselt
server: an angegebenen Server (interner Name) senden
channel: Name des Channels, der betreten werden soll
key: Zugriffsschlüssel für einen Channel (Channel, die einen Zugriffsschlüssel benötigen, müssen zuerst aufgeführt werden)
Beispiele:
/join #weechat
/join #geschützter_Channel,#weechat Zugriffsschlüssel
/join -server freenode #weechat
/join -noswitch #weechat
........................................
[[command_irc_kick]]
@@ -417,6 +437,10 @@ Beispiele:
[command]*`op`* Channel-Operator Status an Nicknamen vergeben::
........................................
/op <nick> [<nick>...]
* -yes
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: vergibt an alle Nicks im Channel den Operator-Status
........................................
[[command_irc_oper]]
@@ -458,13 +482,24 @@ Daemon2: Nachricht an diesen Daemon weiterleiten
[[command_irc_query]]
[command]*`query`* Eine private Nachricht an einen Nick schicken::
........................................
/query [-server <server>] <nick> [<text>]
/query [-server <server>] <nick>[,<nick>...] [<text>]
server: an diesen Server senden (interner Name)
nick: Nickname für privaten Chat
text: Text der gesendet werden soll
........................................
[[command_irc_quiet]]
[command]*`quiet`* Nicks oder Hosts das Wort entziehen (User können im Channel erst schreiben, wenn sie "+v" oder höher besitzen)::
........................................
/quiet [<channel>] [<nick> [<nick>...]]
channel: Channel in dem jemanden das Wort entzogen werden soll
nick: User oder Host dem das Wort entzogen werden soll
Ohne Angabe von Argumenten wird, für den aktuellen Channel, eine Liste ausgegeben mit den User/Hosts denen das Wort entzogen worden ist.
........................................
[[command_irc_quote]]
[command]*`quote`* Daten direkt an Server senden (siehe RFC 2812)::
........................................
@@ -491,11 +526,11 @@ data: unbearbeitete (RAW) Daten die gesendet werden sollen
........................................
/rehash [<option>]
option: zusätzliche Option, die von manchen Servern berücksichtigt wird.
option: zusätzliche Option, die von manchen Servern berücksichtigt wird
........................................
[[command_irc_restart]]
[command]*`restart`* Den Server dazu bringen sich selbst neu zu starten::
[command]*`restart`* Server dazu bringen sich selbst neu zu starten::
........................................
/restart [<target>]
@@ -503,7 +538,7 @@ target: Servername
........................................
[[command_irc_sajoin]]
[command]*`sajoin`* Zwingt einen User einen oder mehrere Channel zu betreten::
[command]*`sajoin`* zwingt einen User einen oder mehrere Channel zu betreten::
........................................
/sajoin <nick> <channel>[,<channel>...]
@@ -703,6 +738,9 @@ server: Servername
[command]*`voice`* Voice an Nick(s) vergeben::
........................................
/voice <nick> [<nick>...]
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: vergibt an alle Nicks im Channel den voice-Status
........................................
[[command_irc_wallchops]]
@@ -723,7 +761,7 @@ text: Text der gesendet werden soll
........................................
[[command_irc_who]]
[command]*`who`* Sendet eine Anfrage die eine Anzahl von Informationen zurück gibt.::
[command]*`who`* sendet eine Anfrage die eine Anzahl von Informationen zurück gibt::
........................................
/who [<mask> [o]]
@@ -734,10 +772,14 @@ mask: nur Information über betreffende Nicknamen abfragen
[[command_irc_whois]]
[command]*`whois`* Information über User abfragen::
........................................
/whois [<server>] <nick>[,<nick>...]
/whois [<server>] [<nick>[,<nick>...]]
server: Servername
nick: Nickname (oder eine Maske)
server: Name des Servers (interner Servername)
nick: Nick, welcher abgefragt werden soll (kann auch eine Maske sein)
Ohne Angabe von Argumenten, nutzt /whois folgende Nicks:
- den eigenen Nick, falls es sich um einen Server/Channel Buffer handelt
- den Nick des Gesprächspartners, falls es sich um einen privaten Buffer handelt.
........................................
[[command_irc_whowas]]
+72 -52
View File
@@ -38,21 +38,11 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"1,-1:darkgray"`)
* [[option_irc.color.nick_prefix]] *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 für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
* [[option_irc.color.nick_prefixes]] *irc.color.nick_prefixes*
** Beschreibung: `Farben für Nick Präfix für das Modus-Symbol (o=op, h=halfop, v=voice, ..), Format: "o:color1;h:color2;v:color3" (falls ein Modus nicht gefunden wird versucht WeeChat die nächsten Modi die der Server sendet ("PREFIX"); ein spezieller Modus "*" kann als Standardfarbe genutzt werden falls kein Modus in der Liste gefunden wurde)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue"`)
* [[option_irc.color.nick_suffix]] *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 für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
* [[option_irc.color.notice]] *irc.color.notice*
** Beschreibung: `Farbe des "Notice"-Textes in Notizen`
** Typ: Farbe
@@ -104,7 +94,7 @@
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.ctcp_time_format]] *irc.look.ctcp_time_format*
** Beschreibung: `Format für die Zeitanzeige die bei einer CTCP TIME Anfrage zurückgesendet wird (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Beschreibung: `Format für die Zeitanzeige die bei einer CTCP TIME Anfrage zurückgesendet wird (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y %T %z"`)
@@ -143,6 +133,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** Beschreibung: `durch Kommata getrennte Liste von Nachrichten die beim betreten eines Channels angezeigt werden sollen: 329 = Erstellungsdatum des Channels, 332 = Topic, 333 = Nick/Datum für Topic, 366 = genutzte Namen im Channel`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** Beschreibung: `Zeige das alte Thema an, falls das Thema des Channels geändert wurde`
** Typ: boolesch
@@ -158,13 +153,8 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.hide_nickserv_pwd]] *irc.look.hide_nickserv_pwd*
** Beschreibung: `Passwörter verstecken die durch NickServ angezeigt werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die im Channel-Buffer als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die in Channel-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"$nick"`)
@@ -174,12 +164,12 @@
** Werte: beliebige Zeichenkette (Standardwert: `"$nick"`)
* [[option_irc.look.highlight_server]] *irc.look.highlight_server*
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die im Serverbuffer als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die in Server-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"$nick"`)
* [[option_irc.look.highlight_tags]] *irc.look.highlight_tags*
** Beschreibung: `eine durch Kommata getrennte Liste von Schlagwörtern welche eine Nachricht hervorheben sollen (Highlight) (normalerweise trifft dies auf jede Nachricht eines Users zu, ausgenommen Nachrichten vom Server,..)`
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern, welche eine Nachricht hervorheben sollen (Highlight) (normalerweise trifft dies auf jede Nachricht eines Users zu, ausgenommen Nachrichten vom Server,..)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg,irc_notice"`)
@@ -224,12 +214,17 @@
** Werte: none, next, near_server (Standardwert: `none`)
* [[option_irc.look.nick_color_force]] *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"). Bei der Schreibweise der Nicks wird sowohl nach Groß- und Kleinschreibung unterschieden und ebenso kann man die Nicks nur mit Kleinbuchstaben schreiben.`
** Beschreibung: `erzwingt für einen Nick eine spezielle Farbe. Die standardmäßig, mittels Streuwertfunktion aus dem Nicknamen, generierte Nickfarbe findet für diese Nicks keine Anwendung (Format:"Nick1:Farbe1;Nick2:Farbe2"). Zuerst wird beim Nicknamen nach Groß- und Kleinschreibung unterschieden. Sollte der Nick nicht gefunden werden, findet keine Unterscheidung mehr statt. Somit ist es möglich die Nicks, in dieser Option, ausschließlich in Kleinschrift zu schreiben`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.look.nick_color_hash]] *irc.look.nick_color_hash*
** Beschreibung: `Gibt an welcher Hash-Algorithmus zur Farbauswahl für Nicks genutzt werden soll: djb2 = Variante des djb2 (Position der Buchstaben innerhalb des Nicks werden berücksichtigt: Anagramme eines Nick erhalten eine andere Farbe), sum = hier ist nur die Anzahl der Buchstaben maßgeblich`
** Typ: integer
** Werte: djb2, sum (Standardwert: `sum`)
* [[option_irc.look.nick_color_stop_chars]] *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).`
** 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: `"_|["`)
@@ -248,28 +243,28 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_irc.look.nick_prefix]] *irc.look.nick_prefix*
** Beschreibung: `Text, der im Chatfenster vor dem Nickname erscheinen soll`
* [[option_irc.look.nicks_hide_password]] *irc.look.nicks_hide_password*
** Beschreibung: `durch Kommata getrennte Liste von Nicks bei denen das Passwort in einer Nachricht unterdrückt werden soll. Zum Beispiel bei einer Nachricht die durch "/msg nickserv identify password" generiert wird. Beispiel: "nickserv,nickbot"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.look.nick_suffix]] *irc.look.nick_suffix*
** Beschreibung: `Text, der im Chatfenster nach dem Nickname erscheinen soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
** Werte: beliebige Zeichenkette (Standardwert: `"nickserv"`)
* [[option_irc.look.notice_as_pv]] *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`)
* [[option_irc.look.notice_welcome_redirect]] *irc.look.notice_welcome_redirect*
** Beschreibung: `automatische Weiterleitung von Willkommen-Nachrichten in den entsprechenden Channel-Buffer. Solche Nachrichten haben den Nick als Empfänger, der Channelnamen wird aber der Nachricht vorangestellt. Eine solche Nachricht sieht auf dem freenode Server wie folgt aus: "[#channel] Herzlich Willkommen zum ..."`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.notify_tags_ison]] *irc.look.notify_tags_ison*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern 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"`
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in notify-Nachrichten genutzt werden sollen, falls ein Nick einen Server betritt oder verlässt (Rückgabe durch Befehl ison), zum Beispiel: "notify_message", "notify_private" oder "notify_highlight"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
* [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern 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"`
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in notify-Nachrichten genutzt werden sollen, falls sich der away-Status eines Nick ändert (Rückgabe durch Befehl whois), zum Beispiel: "notify_message", "notify_private" oder "notify_highlight"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
@@ -278,6 +273,16 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_irc.look.pv_buffer]] *irc.look.pv_buffer*
** Beschreibung: `private Buffer zusammenfügen`
** Typ: integer
** Werte: independent, merge_by_server, merge_all (Standardwert: `independent`)
* [[option_irc.look.pv_tags]] *irc.look.pv_tags*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die für private Nachrichten genutzt werden sollen. Zum Beispiel: "notify_message", "notify_private" oder "notify_highlight"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_private"`)
* [[option_irc.look.raw_messages]] *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
@@ -289,12 +294,12 @@
** Werte: merge_with_core, merge_without_core, independent (Standardwert: `merge_with_core`)
* [[option_irc.look.smart_filter]] *irc.look.smart_filter*
** Beschreibung: `filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im Channel inaktiv gewesen ist. Dazu muss ein Filter mit dem Schlagwort "irc_smart_filter" erstellt werden.`
** Beschreibung: `filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im Channel inaktiv gewesen ist. Dazu muss ein Filter mit dem Schlagwort "irc_smart_filter" erstellt werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.smart_filter_delay]] *irc.look.smart_filter_delay*
** Beschreibung: `Verzögerung, in Minuten, in denen join/part/quit Nachrichten gefiltert werden`
** Beschreibung: `Verzögerung, in Minuten, für eine Filterung von join/part/quit Mitteilungen. Falls ein Nick in der angegebenen Zeit keine Nachricht schreibt, wird seinejoin/part/quit Mitteilung gefiltert`
** Typ: integer
** Werte: 1 .. 10080 (Standardwert: `5`)
@@ -303,8 +308,13 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
** Beschreibung: `Verzögerung (in Minuten) um Join Mitteilungen rückwirkend anzuzeigen, falls diese mittels "irc_smart_filter" unterdrückt wurden. Sollte ein Nick während der vorgegeben Zeit etwas im Channel schreiben, dann wird seine Join Mitteilung angezeigt. Dies bezieht sich auf Nachrichten, eine Notice, Änderungen am Topic oder falls der Nick gewechselt wird (0 = deaktiviert: join-Mitteilungen bleiben verborgen)`
** Typ: integer
** Werte: 0 .. 10080 (Standardwert: `30`)
* [[option_irc.look.smart_filter_nick]] *irc.look.smart_filter_nick*
** Beschreibung: `aktiviert einen intelligenten Filter für Nachrichten von einem "Nick"`
** Beschreibung: `aktiviert einen intelligenten Filter für "nick" Nachrichten (Änderungen des Nick)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -318,6 +328,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_irc.network.alternate_nick]] *irc.network.alternate_nick*
** Beschreibung: `bezieht einen alternativen Nick, sofern alle voreingestellten Nicks am Server schon genutzt werden. Dazu wird das Zeichen "_" an den Nick an gehangen, sofern der Nick nicht mehr als neun Zeichen besitzt. Andernfalls wird das letzte bzw. vorletzte Zeichen durch eine Zahl zwischen 1 und 99 ersetzt, bis ein freier Nick für den Server gefunden wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.network.autoreconnect_delay_growing]] *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
@@ -329,7 +344,7 @@
** Werte: 0 .. 86400 (Standardwert: `1800`)
* [[option_irc.network.colors_receive]] *irc.network.colors_receive*
** Beschreibung: `wenn deaktiviert, werden Farben-Codes von eingehenden Nachrichten ignoriert.`
** Beschreibung: `wenn deaktiviert, werden Farben-Codes von eingehenden Nachrichten ignoriert`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -343,16 +358,16 @@
** Typ: integer
** Werte: 0 .. 604800 (Standardwert: `60`)
* [[option_irc.network.lag_disconnect]] *irc.network.lag_disconnect*
** Beschreibung: `maximal Verzögerung (Lag) bis zum Trennen der Verbindung (in Minuten - 0 = niemals trennen)`
** Typ: integer
** Werte: 0 .. 10080 (Standardwert: `0`)
* [[option_irc.network.lag_min_show]] *irc.network.lag_min_show*
** Beschreibung: `geringste Verzögerungszeit (Lag) die angezeigt werden soll (in Millisekunden)`
** Typ: integer
** Werte: 0 .. 86400000 (Standardwert: `500`)
* [[option_irc.network.lag_reconnect]] *irc.network.lag_reconnect*
** Beschreibung: `erneut mit Server verbinden, falls die maximal Verzögerung (Lag) erreicht wurde (Zeit in Sekunden, 0 = keine automatische Neuverbindung, zum Server)`
** Typ: integer
** Werte: 0 .. 604800 (Standardwert: `0`)
* [[option_irc.network.lag_refresh_interval]] *irc.network.lag_refresh_interval*
** Beschreibung: `Intervall zwischen zwei Aktualisierungen der Verzögerungsanzeige (Lag-Item), wenn die Verzögerungszeit sich erhöht (in Sekunden)`
** Typ: integer
@@ -373,6 +388,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_irc.network.whois_double_nick]] *irc.network.whois_double_nick*
** Beschreibung: `dupliziert den Nick, für den /whois Befehl (falls nur ein Nick angegeben wird), um die Idle-Zeit zu erhalten. Zum Beispiel: "/whois nick" wird als "whois nick nick" verschickt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.server_default.addresses]] *irc.server_default.addresses*
** Beschreibung: `Liste der Hostnamen/Ports oder IP/Ports des Servers (durch Komma getrennt)`
** Typ: Zeichenkette
@@ -394,7 +414,7 @@
** Werte: on, off (Standardwert: `off`)
* [[option_irc.server_default.autojoin]] *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")`
** Beschreibung: `durch Kommata getrennte Liste der Channels, die beim Verbinden zum Server betreten werden sollen (Beispiel: "#chan1,#chan2,#chan3 key1,key2") (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -409,7 +429,7 @@
** Werte: 1 .. 65535 (Standardwert: `10`)
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
** Beschreibung: `Channels automatisch betreten, falls man rausgeworfen wurde`
** Beschreibung: `Channels automatisch betreten, falls man rausgeworfen wurde. Es kann eine lokale Buffer Variable für einen Channel erstellt werden, diese lokale Variable wird vorrangig behandelt (Name der lokalen Variable: "autorejoin", Wert: "on" oder "off")`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
@@ -429,12 +449,12 @@
** Werte: 0 .. 1000000 (Standardwert: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** Beschreibung: `Durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen (Beispiel: "multi-prefix,extended-join")`
** Beschreibung: `durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen. Fähigkeiten die von WeeChat unterstützt werden: multi-prefix, userhost-in-name (Beispiel: "multi-prefix, userhost-in-name")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.command]] *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 nutzen muss man "\;" verwenden. Die speziellen Variablen $nick, $channel und $server werden dabei durch den jeweiligen Wert ersetzt`
** 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 nutzen muss man "\;" verwenden. Die speziellen Variablen $nick, $channel und $server werden dabei durch den jeweiligen Wert ersetzt (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -459,9 +479,9 @@
** Werte: beliebige Zeichenkette (Standardwert: `"WeeChat %v"`)
* [[option_irc.server_default.ipv6]] *irc.server_default.ipv6*
** Beschreibung: `Server über IPv6 ansprechen`
** Beschreibung: `bei der Kommunikation mit dem Server wird das IPv6 Protokoll genutzt (sollte IPv6 nicht genutzt werden können, wird automatisch auf IPv4 zurückgegriffen); wird die Funktion deaktiviert, dann wird ausschließlich IPv4 genutzt`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
** Werte: on, off (Standardwert: `on`)
* [[option_irc.server_default.local_hostname]] *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`
@@ -479,12 +499,12 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.password]] *irc.server_default.password*
** Beschreibung: `Passwort für den Server`
** Beschreibung: `Passwort für Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.proxy]] *irc.server_default.proxy*
** Beschreibung: `Proxy, der für diesen Server verwendet wird (optional)`
** Beschreibung: `Name des Proxy für diesen Server (optional, Proxy muss mit dem Befehl /proxy angelegt werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -494,12 +514,12 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort liegt in Klartext vor, "dh-blowfish" Passwort wird verschlüsselt, "external" SSL Zertifikat welches auf Client Seite vorliegt`
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort wird im Klartext gesendet, "dh-blowfish" Passwort wird mittels blowfish verschlüsselt, "dh-aes" Passwort wird mittels AES verschlüsselt, "external" SSL Zertifikat welches auf Client Seite vorliegt, wird verwendet`
** Typ: integer
** Werte: plain, dh-blowfish, external (Standardwert: `plain`)
** Werte: plain, dh-blowfish, dh-aes, external (Standardwert: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** Beschreibung: `Passwort für SASL Authentifizierung`
** Beschreibung: `Passwort für SASL Authentifikation (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -509,7 +529,7 @@
** Werte: 1 .. 3600 (Standardwert: `15`)
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
** Beschreibung: `Username für SASL Authentifizierung`
** Beschreibung: `Username für SASL Authentifikation (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+4 -2
View File
@@ -3,11 +3,13 @@
........................................
/logger list
set <level>
flush
disable
list: zeigt, für geöffnete Buffer, den Status der Protokollierung an
list: zeigt den Status der Protokollierung aller geöffneten Buffer 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)
level: legt fest, welche Nachrichten protokolliert werden sollen (0 = nichts protokollieren, 1 = nur die wichtigsten Nachrichten protokollieren .. 9 = alle Nachrichten werden protokolliert)
flush: sichert alle Protokolle umgehend
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.
+13 -3
View File
@@ -1,10 +1,10 @@
* [[option_logger.color.backlog_end]] *logger.color.backlog_end*
** Beschreibung: `Farbe für die letzte Zeile der Rückverfolgung`
** Beschreibung: `Farbe für die letzte Zeile im Verlaufsspeicher`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
* [[option_logger.color.backlog_line]] *logger.color.backlog_line*
** Beschreibung: `Farbe in der der Text der Rückverfolgung dargestellt werden soll`
** Beschreibung: `Textfarbe in der der Verlaufsspeicher dargestellt werden soll`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
@@ -33,6 +33,16 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
** Beschreibung: `Zeichenkette die dem Nick vorangestellt werden soll. Beispiel: "<"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
** Beschreibung: `Zeichenkette die nach dem Nick eingefügt werden soll. Beispiel: ">"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_logger.file.path]] *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
@@ -44,7 +54,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"_"`)
* [[option_logger.file.time_format]] *logger.file.time_format*
** Beschreibung: `Zeitstempel in Protokoll-Datei nutzen (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Beschreibung: `Zeitstempel in Protokoll-Datei nutzen (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%Y-%m-%d %H:%M:%S"`)
+14 -4
View File
@@ -2,8 +2,8 @@
[command]*`relay`* Relay-Kontrolle::
........................................
/relay list|listfull|listrelay
add <protocol.name> <port>
del <protocol.name>
add [ipv4.][ipv6.][ssl.]<protocol.name> <port>
del [ipv4.][ipv6.][ssl.]<protocol.name>
raw
sslcertkey
@@ -12,10 +12,12 @@
listrelay: Auflistung der Relays (Name und Port)
add: fügt ein Relay, für ein Protokoll + Name, hinzu
del: entfernt Relay für ein Protokoll + Name
ipv4: erzwingt die Nutzung von IPv4
ipv6: erzwingt die Nutzung von IPv6
ssl: aktiviert SSL
protocol.name: Protokoll und Name des Relay:
- Protokoll "irc": und der Name des Servers welcher geteilt werden soll
- Protokoll "irc": Name des Servers welcher geteilt werden soll (optional). Wird kein Name angegeben, dann muss der Client den Servernamen mittels Befehl "PASS" anfordern. Format: "PASS Server:Passwort")
- Protokoll "weechat" (Name wird nicht unterstützt)
Hinweis: Das SSL Protokoll kann durch voranstellen von "ssl." aktiviert werden
port: Port den das Relay nutzen soll
raw: öffnet Buffer mit RAW-Relay Daten
sslcertkey: setzt SSL Zertifikat/Schlüssel mittels Eintrag in Option relay.network.ssl_cert_key
@@ -27,9 +29,17 @@ Beispiele:
/relay add irc.freenode 8000
IRC Proxy, für Server "freenode", mit SSL:
/relay add ssl.irc.freenode 8001
IRC Proxy für alle Server (Client wählt aus), mit SSL:
/relay add ssl.irc 8002
WeeChat Protokoll:
/relay add weechat 9000
WeeChat Protokoll, mit SSL:
/relay add ssl.weechat 9001
WeeChat Protokoll, mit SSL, nur IPv4 nutzen:
/relay add ipv4.ssl.weechat 9001
WeeChat Protokoll, mit SSL, nur IPv6 nutzen:
/relay add ipv6.ssl.weechat 9001
WeeChat Protokoll, mit SSL, mit IPv4 + IPv6:
/relay add ipv4.ipv6.ssl.weechat 9001
........................................
+37 -2
View File
@@ -43,6 +43,31 @@
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
** Beschreibung: `Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher für jeden IRC Channel gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `1440`)
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** Beschreibung: `maximale Anzahl an Zeilen im Verlaufsspeicher. Dies gilt für jeden IRC Channel (0: keine Zeilenbegrenzung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `256`)
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** Beschreibung: `Verlaufsspeicher anzeigen, beginnend mit dem Client der zuletzt beendet wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
** Beschreibung: `Nachrichten-Tags welche im Verlaufsspeicher, für IRC Channels, angezeigt werden (unterstützte Tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = alle unterstützten Tags`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg"`)
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
** Beschreibung: `Format für die Zeitanzeige im Verlaufsspeicher (siehe man strftime für gültige Formate) (findet keine Anwendung wenn die Serverfunktion, "server-time", durch den Client aktiviert wurde, da die Zeitanzeige als irc-Tag gesendet wird); keine Zeichenkette = deaktiviert die Zeitanzeige im Verlaufsspeicher`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"[%H:%M] "`)
* [[option_relay.look.auto_open_buffer]] *relay.look.auto_open_buffer*
** Beschreibung: `öffnet automatisch einen Relay-Buffer, falls eine Verbindung zu einem neuen Client hergestellt wird`
** Typ: boolesch
@@ -54,7 +79,7 @@
** Werte: 0 .. 65535 (Standardwert: `256`)
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** Beschreibung: `regulärer Ausdruck für IP Adressen die auf das Relay zugreifen dürfen (zwischen Groß- und Kleinschreibung nicht dabei nicht unterschieden. Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden) , Beispiel: "^(123.45.67.89|192.160.*)$"`
** Beschreibung: `regulärer Ausdruck für IP Adressen die auf das Relay zugreifen dürfen (zwischen Groß- und Kleinschreibung nicht dabei nicht unterschieden. Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden) . Sollte IPv6 aktiviert sein und es wird eine IPv4 Verbindung aufgebaut, werden die IPv6 Adressen nach IPv4 gewandelt (siehe: "::ffff:127.0.0.1"), Beispiele: "^((::ffff:)?123.45.67.89|192.160.*)$"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -68,13 +93,18 @@
** Typ: integer
** Werte: 0 .. 9 (Standardwert: `6`)
* [[option_relay.network.ipv6]] *relay.network.ipv6*
** Beschreibung: `lauscht standardmäßig am IPv6 Socket (zusätzlich zu IPv4, welches als Standardprotokoll genutzt wird); mittels des Protokollnamens kann das IPv4 und IPv6 Protokoll, einzeln oder gemeinsam, erzwungen werden (siehe /help relay)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_relay.network.max_clients]] *relay.network.max_clients*
** Beschreibung: `maximale Anzahl an Clients die mit einem Port verbunden sein dürfen`
** Typ: integer
** Werte: 1 .. 1024 (Standardwert: `5`)
* [[option_relay.network.password]] *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)`
** Beschreibung: `Passwort wird von Clients benötigt um Zugriff auf dieses Relay zu erhalten (kein Eintrag bedeutet, dass kein Passwort benötigt wird) (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -83,3 +113,8 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%h/ssl/relay.pem"`)
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** Beschreibung: `erlaubt regulären Ausdruck für Origins in WebSockets (Groß- und Kleinschreibung wird ignoriert, um Groß- und Kleinschreibung zu nutzen muss "(?-i)" dem Origin vorangestellt werden), Beispiele: "^http://(www\.)?example\.(com|org)"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+5 -3
View File
@@ -1,9 +1,10 @@
[[command_rmodifier_rmodifier]]
[command]*`rmodifier`* wandelt Schlüsselwörter mit regulären Ausdrücken (regelt die Sichtbarkeit von Texten in WeeChat)::
[command]*`rmodifier`* wandelt Schlüsselwörter mit regulären Ausdrücken (regelt die Darstellung von Texten in WeeChat)::
........................................
/rmodifier list|listdefault
add <name> <modifiers> <groups> <regex>
del <name>|-all [<name>...]
missing
default -yes
list: zeigt alle rmodifier an
@@ -11,10 +12,11 @@ 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 auszublenden
regex: regulärer Ausdruck (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
groups: Aktion auf Gruppen (groups) anwenden, die durch reguläre Ausdrücke abgefragt werden (innerhalb der runden Klammern): 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 auszublenden
regex: regulärer Ausdruck (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
del: löscht einen rmodifier Eintrag
-all: löscht alle rmodifiers Einträge
missing: fügt fehlende rmodifiers hinzu
default: setzt die rmodifier auf seine Standardwerte zurück
Beispiele:
+1 -1
View File
@@ -1,5 +1,5 @@
* [[option_rmodifier.look.hide_char]] *rmodifier.look.hide_char*
** Beschreibung: `Zeichen dass benutzt werden soll um bei einer Eingabe einer Zeichenkette zu verbergen`
** Beschreibung: `Zeichen, das anstelle der eigentlichen Eingabe angezeigt wird`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
+24 -19
View File
@@ -5,29 +5,33 @@
search <text>
show <script>
load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...]
upgrade
update
list: gibt alle geladenen Skripten im Buffer aus (unabhängig der Programmiersprache)
-o: gibt eine Liste der gestarteten Skripten im Buffer aus
-i: eine Liste der gestarteten Skripten wird in die Eingabezeile kopiert (um sie dann manuell in einen Buffer zu senden)
search: sucht Skripten nach Schlagwörtern oder beliebigem Text. Das Ergebnis wird im Skripten-Buffer dargestellt
show: zeigt detailliert Informationen zu einem Skript an
load: startet Skript(en)
unload: beendet Skript(en)
reload: Skript(en) werden neu geladen
install: installiert/aktualisiert Skript(en) (physikalisch, auf dem Datenträger)
remove: deinstalliert Skript(en) (physikalisch, vom Datenträger)
installremove: installiert oder deinstalliert Skript(en), abhängig davon welcher Status vorliegt
hold: halten/freigeben von Skript(en) (ein Skript welches gehalten wird, kann weder aktualisiert noch entfernt werden)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
upgrade: aktualisiert alle installierten Skripten, die obsolet sind (wenn eine neue Version verfügbar ist)
update: aktualisiert den lokalen Cache für die Skripten
list: gibt alle geladenen Skripten im Buffer aus (unabhängig der Programmiersprache)
-o: gibt eine Liste der gestarteten Skripten im Buffer aus
-i: eine Liste der gestarteten Skripten wird in die Eingabezeile kopiert (um sie dann manuell in einen Buffer zu senden)
search: sucht Skripten nach Schlagwörtern oder beliebigem Text. Das Ergebnis wird im Skripten-Buffer dargestellt
show: zeigt detailliert Informationen zu einem Skript an
load: startet Skript(en)
unload: beendet Skript(en)
reload: Skript(en) werden neu geladen
autoload: das Skript wird in das autoload-Verzeichnis eingebunden
noautoload: das Skript wird aus dem autoload-Verzeichnis entfernt
toggleautoload: autoload für das Skript umschalten
install: installiert/aktualisiert Skript(en) (physikalisch, auf dem Datenträger)
remove: deinstalliert Skript(en) (physikalisch, vom Datenträger)
installremove: installiert oder deinstalliert Skript(en), abhängig davon welcher Status vorliegt
hold: halten/freigeben von Skript(en) (ein Skript welches gehalten wird, kann weder aktualisiert noch entfernt werden)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
upgrade: aktualisiert alle installierten Skripten, die obsolet sind (wenn eine neue Version verfügbar ist)
update: aktualisiert den lokalen Cache für die Skripten
Ohne Angaben von Argumenten öffnet dieser Befehl einen Buffer in welchem eine Liste der Skripten dargestellt wird.
Ohne Angaben von Argumenten öffnet dieser Befehl einen Buffer, in welchem eine Liste der Skripten dargestellt wird.
Im Skript-Buffer, werden folgende Statusangaben zu einem Skript angezeigt:
Im Skript-Buffer, werden folgende Statusangaben für ein Skript angezeigt:
* i a H r N
| | | | | |
| | | | | obsolete (neue Version verfügbar)
@@ -43,6 +47,7 @@ Tastenbefehle die im Skript-Buffer genutzt werden können:
alt+l startet ein Skript (Skript wird ausgeführt)
alt+L Skript wird neu gestartet
alt+u beendet ein Skript
alt+A das Skript wird in das autoload-Verzeichnis eingebunden
alt+h Skript wird gehalten bzw. freigegeben
alt+v Skript anzeigen
@@ -57,8 +62,8 @@ Befehle die in der Eingabezeile des Skript-Buffers eingegeben werden können:
Mausbefehle innerhalb des Skripten-Buffer:
Mausrad in der Liste scrollen
linker Mausknopf Skript anwählen
rechter Mausknopf Skript installieren/entfernen
linke Maustaste Skript anwählen
rechte Maustaste Skript installieren/entfernen
Beispiele:
/script search url
+7 -2
View File
@@ -154,7 +154,7 @@
** Werte: on, off (Standardwert: `on`)
* [[option_script.look.sort]] *script.look.sort*
** Beschreibung: `Standardsortierung für Skripten im Skript Buffer: durch Kommata getrennte Liste von Bezeichnern: a=Autor, A=automatisch geladen, d=Datum wann das Skript hinzugefügt wurde, e=Dateierweiterung, i=installiert, l=Programmiersprache, n=Skriptname, o=obsolete, p=empfohlen, r=Skript wird ausgeführt, u=Datum der letzten Überarbeitung; mittels des Zeichens "-", vor dem entsprechenden Bezeichner, kann die Darstellung umgekehrt werden; Beispiel: "i,u": installierte Skripten werden zuerst dargestellt, sortiert nach dem Datum ihrer letzten Überarbeitung`
** Beschreibung: `Standardsortierung für Skripten im Skript Buffer: durch Kommata getrennte Liste von Bezeichnern: a=Autor, A=automatisch geladen, d=Datum wann das Skript hinzugefügt wurde, e=Dateierweiterung, i=installiert, l=Programmiersprache, n=Skriptname, o=obsolete, p=empfohlen, r=Skript wird ausgeführt, u=Datum der letzten Überarbeitung; mit Hilfe des Zeichens "-", vor dem entsprechenden Bezeichner, kann die Darstellung umgekehrt werden. Beispiel: "i,u": installierte Skripten werden zuerst dargestellt, sortiert nach dem Datum ihrer letzten Überarbeitung`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"p,n"`)
@@ -168,6 +168,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** Beschreibung: `autoload Skripten installiert (erstellt einen Link im "autoload" Verzeichnis zum Skript im übergeordneten Verzeichnis)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** Beschreibung: `Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = umgehend)`
** Typ: integer
@@ -179,7 +184,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"%h/script"`)
* [[option_script.scripts.hold]] *script.scripts.hold*
** Beschreibung: `Skripten welche "gehalten" werden sollen. Dies ist eine durch Kommata getrennte Liste von Skripten die nicht aktualisiert werden und nicht entfernt werden können. Zum Beispiel: "buffers.pl,iset.pl"`
** Beschreibung: `Skripten welche "gehalten" werden sollen. Dies ist eine durch Kommata getrennte Liste von Skripten die weder aktualisiert noch entfernt werden können. Zum Beispiel: "buffers.pl,iset.pl"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+20
View File
@@ -0,0 +1,20 @@
* [[option_sec.crypt.cipher]] *sec.crypt.cipher*
** Beschreibung: `zu nutzendes Chiffre zum Verschlüsseln von Daten (die Zahl hinter dem Algorithmus bestimmt die Größe des Schlüssels, in Bits)`
** Typ: integer
** Werte: aes128, aes192, aes256 (Standardwert: `aes256`)
* [[option_sec.crypt.hash_algo]] *sec.crypt.hash_algo*
** Beschreibung: `Hash-Algorithmus zur Überprüfung der verschlüsselten Daten`
** Typ: integer
** Werte: sha224, sha256, sha384, sha512 (Standardwert: `sha256`)
* [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** Beschreibung: `Pfad zu einer Datei die die Passphrase enthält um damit schutzwürdige Daten zu ver- und entschlüsseln. Diese Option findet nur Anwendung, wenn die Datei sec.conf gelesen wird. Es wird auch nur die erste Zeile eingelesen. Diese Datei wird nur verwendet, falls die Umgebungsvariable "WEECHAT_PASSPHRASE" nicht genutzt wird (die Umgebungsvariable besitzt eine höhere Priorität). Sicherheitshinweis: Es ist anzuraten dieser Datei nur für die eigene Person Leserechte zu gewähren und die Datei nicht im Heimatverzeichnis von WeeChat zu sichern (zum Beispiel im /home/ Order); Beispiel: "~/.weechat-passphrase"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_sec.crypt.salt]] *sec.crypt.salt*
** Beschreibung: `nutzt salt bei der Schlüsselerstellung für die Verschlüsselung (wird für maximale Sicherheit empfohlen); wenn aktiviert, ist der Inhalt der verschlüsselten Daten bei jeder Sicherung in die Datei sec.conf verschieden. Wird die Datei sec.conf in eine Versionsverwaltung eingepflegt kann die Option deaktiviert werden, um immer den selben Dateiinhalt zu erhalten`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
+165 -36
View File
@@ -1,38 +1,39 @@
[[command_weechat_away]]
[command]*`away`* Abwesenheitsstatus ein-/ausschalten::
[command]*`away`* Abwesenheitsstatus setzen oder entfernen::
........................................
/away [-all] [<message>]
-all: Abwesenheitszustand auf allen Servern ändern
message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand deaktivieren)
-all: Abwesenheitsstatus auf allen verbundenen Server setzen oder entfernen
message: Abwesenheitsnachricht (ohne Angabe einer Nachricht wird der Abwesenheitszustand entfernt)
........................................
[[command_weechat_bar]]
[command]*`bar`* Infobars verwalten::
........................................
/bar list|listfull|listitems
add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...]
add <name> <type>[,<condition>] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
scroll <name> <window> <scroll_value>
list: listet alle Infobars auf
listfull: listet alle Infobars detailliert auf (Standardaufruf)
listitems: listet alle Items auf, die in den Infobars genutzt werden
list: zeigt alle Infobars an
listfull: zeigt eine detaillierte Liste aller Infobars an (ausführlich)
listitems: zeigt alle Items an, die in den Infobars genutzt werden
add: füge eine neue Infobar hinzu
name: 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"):
type: root: außerhalb eines Fensters,
window: innerhalb eines Fensters, mit optionalen Merkmalen (siehe unten)
condition: 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
weitere Merkmale: siehe /help weechat.bar.xxx.conditions und /help eval
ohne Angabe von Merkmalen wird die Infobar immer angezeigt
position: bottom (unten), top (oben), left (links) oder right (rechts)
size: Größe der Infobar (in Zeichen)
separator: 1 um eine Trennlinien zu zeichnen, bei 0 oder ohne eine Angabe wird keine Trennlinien gezeichnet
separator: 1 um eine Trennlinien zu zeichnen, bei 0 oder ohne eine Angabe, 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).
@@ -44,7 +45,7 @@ message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand
toggle: zeigt/versteckt eine Infobar
scroll: scrollt Infobar hoch/runter
window: Nummer des Fensters (nutze '*' für aktuelles Fenster oder für die Root-Bars)
scroll_value: Werte für Scroll-Funktion: 'x' oder 'y', gefolgt von '+', '-', 'b' (Beginn) oder 'e' (Ende), Wert (für +/-), und optional % (zum scrollen der Breite/Höhe in %, ansonsten wird dieser Wert als Anzahl der Zeichen interpretiert um die gescrollt werden soll)
scroll_value: Werte für Scroll-Funktion: 'x' oder 'y' (optional), gefolgt von '+', '-', 'b' (Beginn) oder 'e' (Ende), Wert (für +/-), und optional % (zum scrollen der Breite/Höhe in %, ansonsten wird dieser Wert als Anzahl der Zeichen interpretiert um die gescrollt werden soll)
Beispiele:
erstellt eine Infobar mit den Items: time, buffer number + name, und Vervollständigung:
@@ -124,12 +125,14 @@ Beispiele:
/color alias <color> <name>
unalias <color>
reset
-o
alias: weist einer Farbzahl einen Namen zu
unalias: entfernt einen Namen
color: Farbnummer (>= 0, maximale Anzahl ist abhängig vom Terminal, üblicherweise 63 oder 255 Farben)
name: Aliasname für eine Farbe (zum Beispiel: "orange")
reset: setzt alle Farbpaarungen zurück (nützlich falls keine Farbpaarung mehr verfügbar sein sollte und die automatische Reset-Option deaktiviert ist, siehe Option: weechat.look.color_pairs_auto_reset)
-o: sendet Terminal-/Farbinformationen in den aktuellen Buffer
Ohne Angabe von Argumenten wird in einem separaten Buffer die darstellbare Farbpalette angezeigt.
@@ -150,7 +153,7 @@ command: auszuführender Befehl (es wird automatisch ein '/' vorangestellt, fall
........................................
[[command_weechat_cursor]]
[command]*`cursor`* Cursor kann frei auf dem Bildschirm bewegt werden um Aktionen in bestimmten Bildschirmbereichen auszuführen::
[command]*`cursor`* Cursor kann frei auf dem Bildschirm bewegt werden, um Aktionen in bestimmten Bildschirmbereichen auszuführen::
........................................
/cursor go chat|<bar>|<x>,<y>
move up|down|left|right|area_up|area_down|area_left|area_right
@@ -184,11 +187,12 @@ Beispiele:
list: zeigt alle Erweiterungen mit Debuglevel an
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)
level: Debuglevel der Erweiterung (0 = deaktiviert Debug)
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
color: zeigt Informationen über die aktuellen Farbpaarungen an
cursor: schaltet den debug-Modus für den Cursor-Modus ein/aus
dirs: Verzeichnisse werden angezeigt
hdata: zeigt Informationen zu hdata an (mittels free werden alle hdata Informationen aus dem Speicher entfernt)
hooks: zeigt die aktiven Hooks an
infolists: zeigt Information über die Infolists an
@@ -199,6 +203,63 @@ infolists: zeigt Information über die Infolists an
windows: zeigt die Fensterstruktur an
........................................
[[command_weechat_eval]]
[command]*`eval`* wertet eine Expression aus und zeigt das Resultat im Buffer an::
........................................
/eval [-n] <expression>
[-n] -c <expression1> <operator> <expression2>
-n: zeigt das Ergebnis lokal an, ohne das dieses in den Buffer gesendet wird (debug Modus)
-c: Auswertung als Bedingung: nutzt Operatoren und runde Klammern, Rückgabewert als Boolean-Wert ("0" oder "1")
expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${variable} werden ersetzt (siehe unten)
operator: ein logischer oder vergleichender Operand:
- logische Operanden:
&& boolean "und"
|| boolean "oder"
- vergleichende Operanden:
== gleich
!= ungleich
<= kleiner oder gleich
< kleiner
>= größer oder gleich
> größer
=~ stimmt mit regulärem Ausdruck überein
!~ stimmt NICHT mit regulärem Ausdruck überein
Ein Ausdruck gilt als "wahr", sofern das Ergebnis nicht NULL, nicht leer und von "0" abweichend ist.
Der Vergleich findet zwischen zwei Integer Werten statt, sofern die beiden Ausdrücke gültige Integer-Werte sind.
Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrücke in Anführungszeichen gesetzt werden, zum Beispiel:
50 > 100 ==> 0
"50" > "100" ==> 1
Einige Variablen werden im Ausdruck, mittels der Formatierung ${Variable}, ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
1. eine Farbe (Format: color:xxx)
2. der Name einer Option (Format: file.section.option)
3. der Name einer lokalen Variablen eines Buffer
4. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), Standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
Das Format für hdata kann wie folgt lauten:
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
${buffer[gui_buffers].full_name}: der vollständige Name des ersten Buffers, in der verknüpften Liste aller Buffer
${plugin[weechat_plugins].name}: Name der ersten Erweiterung, in der verknüpften Liste aller Erweiterungen
Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
Beispiele:
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
/eval -n -c (8 > 12) && (5 > 2) ==> 0
/eval -n -c abcd =~ ^ABC ==> 1
/eval -n -c abcd =~ (?-i)^ABC ==> 0
/eval -n -c abcd =~ (?-i)^abc ==> 1
/eval -n -c abcd !~ abc ==> 0
........................................
[[command_weechat_filter]]
[command]*`filter`* Filterfunktion um Nachrichten in Buffern aus- oder einzublenden, dazu können Schlagwörter oder reguläre Ausdrücke verwendet werden::
........................................
@@ -233,7 +294,7 @@ Die am häufigsten gebrauchten Schlagwörter lauten:
no_filter, no_highlight, no_log, log0..log9 (log Level),
notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx ist durch den Nicknamen zu ersetzen), prefix_nick_ccc (ccc ist die Farbe mit der der Nick dargestellt wird),
irc_xxx (xxx ist durch einen IRC-Befehl/-Nummer zu ersetzen, siehe /server raw)
irc_xxx (xxx ist durch einen IRC-Befehl/-Nummer zu ersetzen, siehe /server raw oder /debug tags)
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Mittels "/debug tags" kann man sich die Tags jeder einzelnen Zeile darstellen zu lassen.
@@ -244,7 +305,7 @@ Beispiele:
/filter add irc_smart *,!*#weechat* 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:
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 nick_toto *
@@ -287,6 +348,8 @@ Auflistung der möglichen Funktionen:
complete_previous: vervollständigt Word mit vorheriger Komplettierung
search_text: sucht nach Text im Buffer
search_switch_case: schaltet Groß-/Kleinschreibung ein und aus
search_switch_regex: Wechsel des Suchmodus: einfache Textsuche/reguläre Ausdrücke
search_switch_where: wechselt Suche in Nachricht/Präfix
search_previous: sucht vorheriger Zeile
search_next: sucht nächste Zeile
search_stop: suche stoppen
@@ -383,20 +446,26 @@ Beispiele:
/key reset meta-r
"Tab"-Taste nutzen um im Kontext "search" die Suche innerhalb eines Buffers zu beenden:
/key bindctxt search ctrl-I /input search_stop
Auswahl eines Nicknamens mittels mittlerem Mausknopf zeigt zusätzliche Informationen zu dem Nick an:
Auswahl eines Nicknamens mittels mittlerer Maustaste zeigt zusätzliche Informationen zu dem Nick an:
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
........................................
[[command_weechat_layout]]
[command]*`layout`* Layout für Buffer und Fenster speichern, anwenden oder zurücksetzen::
........................................
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
/layout save [<name>] [buffers|windows]
apply [<name>] [buffers|windows]
leave
reset [<name>] [buffers|windows]
rename <name> <new_name>
save: speichert das aktuelle Layout
apply: das gespeicherte Layout anwenden
reset: das gespeicherte Layout entfernen
leave: belässt das aktuelle Layout (es wird kein Layout aktualisiert)
reset: das gespeicherte Layout, mit Buffern und/oder Fenstern, zurücksetzen
(falls Buffer und Fenster zurückgesetzt werden, dann wird das Layout entfernt)
rename: ein Layout umbenennen
name: Name unter welchem das Layout gesichert werden soll (Standardlayout lautet "default")
buffers: speichert bzw. verwendet nur Buffer (Reihenfolge der Buffer)
windows: speichert bzw. verwendet nur Fenster (Buffer welche im jeweiligen Fenster dargestellt werden)
@@ -467,14 +536,14 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
........................................
[[command_weechat_proxy]]
[command]*`proxy`* Proxies verwalten::
[command]*`proxy`* Proxys verwalten::
........................................
/proxy list
add <name> <type> <address> <port> [<username> [<password>]]
del <name>|-all
set <name> <option> <value>
list: listet alle Proxies auf
list: listet alle Proxys auf
add: fügt neuen Proxy hinzu
name: Name des neuen Proxy (der Name darf nur einmal genutzt werden)
type: http, socks4 oder socks5
@@ -482,7 +551,7 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
port: Port
username: Username (optional)
password: Passwort (optional)
del: entfernt einen Proxy (-all um alle Proxies zu entfernen)
del: entfernt einen Proxy (-all um alle Proxys 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
@@ -545,13 +614,56 @@ file: Konfigurationsdatei die gesichert werden soll (ohne Dateinamenserweiterung
Wird keine Datei angegeben dann werden alle Konfigurationen (WeeChat und Erweiterungen) gesichert.
........................................
[[command_weechat_secure]]
[command]*`secure`* verwaltet zu schützende Daten (Passwörter oder private Daten werden in der Datei sec.conf verschlüsselt)::
........................................
/secure passphrase <passphrase>|-delete
decrypt <passphrase>|-discard
set <name> <value>
del <name>
passphrase: ändern der Passphrase (ohne Passphrase, werden die Daten in der Datei sec.conf in Klartext gesichert)
-delete: löscht Passphrase
decrypt: entschlüsselt Daten nachträglich (dies passiert nur falls die Passphrase beim Start nicht angegeben wurde)
-discard: verwirft alle verschlüsselten Daten
set: fügt eine schutzwürdige Information hinzu oder ändert eine bestehende
del: entfernt eine schutzwürdige Information
Ohne Angabe von Argumenten wird ein neuer Buffer geöffnet und die schutzwürdigen Informationen können dort eingesehen werden.
Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat beim Start die Passphrase ab.
Es ist möglich eine Umgebungsvariable "WEECHAT_PASSPHRASE" zu setzen um die Eingabeaufforderung beim Programmstart zu vermeiden (diese Variable wird auch von WeeChat beim /upgrade verwendet).
schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt werden:
- Argument in der Befehlszeile für "--run-command"
- Option weechat.startup.command_{before|after}_plugins
- Proxy-Optionen: username, password
- IRC Server Optionen: autojoin, command, password, sasl_{username|password}
- Option relay.network.password
- Befehl /eval.
Beispiele:
setzen einer Passphrase:
/secure passphrase Dies ist meine Passphrase
verschlüsselt freenode SASL Passwort:
/secure set freenode meinPasswort
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
verschlüsselt oftc Passwort für nickserv:
/secure set oftc meinPasswort
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
alias um den eigenen Nick zu ghosten:
/alias ghost /eval /msg -server freenode nickserv ghost meinNick ${sec.data.freenode}
........................................
[[command_weechat_set]]
[command]*`set`* Konfigurationsparameter setzen::
........................................
/set [<option> [<value>]]
diff [<option> [<option>...]]
option: Name der zu ändernden Option (darf mit einem Joker '*' beginnen oder enden um mehrere Optionen anzuzeigen)
option: Name der zu ändernden Option (um mehrere Optionen anzuzeigen, darf der Name mit einem Joker '*' beginnen oder enden)
value: neuer Wert, den die Option erhalten soll
diff: es werden nur Optionen angezeigt, die geändert wurden
Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben:
boolean: on, off oder toggle
@@ -559,13 +671,17 @@ Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben
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.
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 auf einige besondere Variablen (Erweiterungen) angewendet werden.
Beispiele:
Zeigt alle Optionen an die etwas mit highlight zu tun haben:
Zeigt alle Optionen an, die etwas mit highlight zu tun haben:
/set *highlight*
Fügt ein highlight-Wort hinzu:
/set weechat.look.highlight "word"
zeigt geänderte Optionen an:
/set diff
zeigt geänderte Optionen, der IRC Erweiterung, an:
/set diff irc.*
........................................
[[command_weechat_unset]]
@@ -587,19 +703,31 @@ Beispiele:
[[command_weechat_upgrade]]
[command]*`upgrade`* Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen::
........................................
/upgrade [<path_to_binary>]
/upgrade [<path_to_binary>|-quit]
path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (Standardeinstellung ist die aktuell ausführbare Datei)
-dummy: ohne Funktion (dient lediglich dazu, um nicht versehentlich die "-quit" Funktion auszuführen)
-quit: trennt *ALLE* Verbindungen, speichert die aktuelle Sitzung und beendet WeeChat, um den aktuellen Zustand später wiederherstellen (siehe unten)
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Die neue Version von WeeChat muss deshalb vorab kompiliert oder mit einem Paketmanager installiert worden sein, bevor der Befehl ausgeführt werden kann.
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Bevor dieser Befehl ausgeführt wird, sollte eine neue Version von WeeChat entweder vorab kompiliert, oder mit einem Paketmanager installiert worden sein.
Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da solche Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt.
Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da diese Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt.
Der Upgrade Vorgang besteht aus vier Schritten:
1. Speicherung der Session in Dateien für Core und Erweiterungen (buffers, history, ..)
1. Sicherung der Sitzung, 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.
3. Sicherung der WeeChat Konfiguration (weechat.conf)
4. ausführen der neuen Version von WeeChat und wiederherstellen der Sitzung.
Nutzt man die "-quit" Funktion ist die Abfolge geringfügig anders:
1. es werden *ALLE* Verbindungen getrennt (irc,xfer,relay, ...)
2. die Sitzung wird in Dateien gesichert (*.upgrade)
3. alle Erweiterungen werden ausgeschaltet
4. die WeeChat Konfiguration wird gesichert
5. WeeChat wird beendet
Die Sitzung kann zu einem späteren Zeitpunkt wiederhergestellt werden: weechat --upgrade
WICHTIG: Die Sitzung muss mit exakt den selben Konfigurationsdateien wiederhergestellt werden (*.conf)
Es ist möglich die WeeChat-Sitzung auf einem anderen Rechner wiederherzustellen, sofern man den Inhalt des "~/.weechat" Verzeichnisses dorthin kopiert.
........................................
[[command_weechat_uptime]]
@@ -658,7 +786,7 @@ Beispiele:
refresh
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
swap [-window <number>] [up|down|left|right]
zoom[-window <number>]
@@ -679,12 +807,13 @@ Beispiele:
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: scrollt eine Anzahl an Zeilen (+/-N) oder zu einer angegebenen Zeit: s=Sekunden, m=Minuten, h=Stunden, d=Tage, M=Monate, y=Jahre
scroll_horiz: scrollt horizontal eine Anzahl an Spalten (+/-N) oder prozentual von der Fenstergröße ausgehend (dieses scrolling ist nur in Buffern möglich die über einen freien Inhalt verfügen)
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_beyond_end: scrollt über das Ende des Buffers hinaus
scroll_previous_highlight: scrollt zum vorherigen Hightlight
scroll_next_highlight: scrollt zum nächsten Highlight
scroll_unread: springt zur ersten ungelesenen Zeile in einem Buffer
+109 -34
View File
@@ -23,6 +23,11 @@
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
* [[option_weechat.color.chat_day_change]] *weechat.color.chat_day_change*
** Beschreibung: `Textfarbe für die Nachricht die beim Datumswechsel angezeigt wird`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
* [[option_weechat.color.chat_delimiters]] *weechat.color.chat_delimiters*
** Beschreibung: `Farbe der Infobar-Trennzeichen`
** Typ: Farbe
@@ -83,11 +88,21 @@
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
* [[option_weechat.color.chat_nick_prefix]] *weechat.color.chat_nick_prefix*
** Beschreibung: `Farbe für den Nick-Präfix (Zeichenkette die vor dem Nick steht)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
* [[option_weechat.color.chat_nick_self]] *weechat.color.chat_nick_self*
** Beschreibung: `Textfarbe für den eigenen Nicknamen, im lokalen Chat-Fenster.`
** Beschreibung: `Textfarbe für den eigenen Nicknamen, im lokalen Chat-Fenster`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
* [[option_weechat.color.chat_nick_suffix]] *weechat.color.chat_nick_suffix*
** Beschreibung: `Farbe für den Nick-Suffix (Zeichenkette die nach dem Nick steht)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
* [[option_weechat.color.chat_prefix_action]] *weechat.color.chat_prefix_action*
** Beschreibung: `Textfarbe für Action-Präfix`
** Typ: Farbe
@@ -178,6 +193,16 @@
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
* [[option_weechat.color.emphasized]] *weechat.color.emphasized*
** Beschreibung: `Textfarbe um Text hervorzuheben (zum Beispiel bei der Textsuche); wird ausschließlich dann genutzt, falls die Option weechat.look.emphasized_attributes keinen Eintrag besitzt (Standardwert)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `yellow`)
* [[option_weechat.color.emphasized_bg]] *weechat.color.emphasized_bg*
** Beschreibung: `Hintergrundfarbe um Textpassagen hervorzuheben (zum Beispiel bei der Textsuche); wird ausschließlich dann genutzt, falls die Option weechat.look.emphasized_attributes keinen Eintrag besitzt (Standardwert)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `magenta`)
* [[option_weechat.color.input_actions]] *weechat.color.input_actions*
** Beschreibung: `Textfarbe in der Eingabezeile bei Aktivität (z.B. beim Einfügen von Zeilen)`
** Typ: Farbe
@@ -204,7 +229,7 @@
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `blue`)
* [[option_weechat.color.separator]] *weechat.color.separator*
** Beschreibung: `Hintergrundfarbe der Fenster-Separatoren im Chatfenster (bei geteiltem Bildschirm)`
** Beschreibung: `Farbe der Trennlinie von Fenstern (bei Fenster geteilt sind) und Bars (wie z.B. Nicklist)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `blue`)
@@ -279,12 +304,12 @@
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `default`)
* [[option_weechat.completion.base_word_until_cursor]] *weechat.completion.base_word_until_cursor*
** Beschreibung: `ist diese Option aktiviert, dann kann ein zu vervollständigendes Wort einem anderen Wort vorangestellt werden und es wird ein Leerzeichen zur Trennung hinzugefügt. Ist diese Funktion deaktiviert, muss man selber erst ein Leerzeichen einfügen um eine Vervollständigung vor einem anderen Wort ausführen zu können (zum Beispiel um einen Nick vor einen schon geschriebenen Text einzusetzen)`
** Beschreibung: `ist diese Option aktiviert wird ein zu vervollständigendes Wort in den fließenden Text, mit einem Leerzeichen, hinzugefügt. Ist diese Option deaktiviert, muss in den fließenden Text ein Leerzeichen manuell einfügt werden, um eine Vervollständigung durchführen zu können (Beispiel: In einen schon geschriebenen Text, einen Nick einzufügen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.completion.default_template]] *weechat.completion.default_template*
** Beschreibung: `Standardvorlage für die automatische Vervollständigung (in der Dokumentation finden Sie die vorgegebenen Codes und Werte)`
** Beschreibung: `Standardvorlage für die automatische Vervollständigung (in der API-Dokumentation findet man die vorgegebenen Codes und Werte, Funktion "weechat_hook_command")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%(nicks)|%(irc_channels)"`)
@@ -339,7 +364,7 @@
** Werte: 0 .. 2147483647 (Standardwert: `5`)
* [[option_weechat.history.max_buffer_lines_minutes]] *weechat.history.max_buffer_lines_minutes*
** Beschreibung: `maximale Anzahl, in Minuten, wie Lange die Zeilen im Verlaufsspeicher, pro Buffer, gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
** Beschreibung: `Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher, pro Buffer, gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `0`)
@@ -364,32 +389,32 @@
** Werte: time, buffer, prefix, suffix, message (Standardwert: `message`)
* [[option_weechat.look.bar_more_down]] *weechat.look.bar_more_down*
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach unten gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach unten gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"++"`)
* [[option_weechat.look.bar_more_left]] *weechat.look.bar_more_left*
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach links gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach links gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"<<"`)
* [[option_weechat.look.bar_more_right]] *weechat.look.bar_more_right*
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach rechts gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach rechts gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `">>"`)
* [[option_weechat.look.bar_more_up]] *weechat.look.bar_more_up*
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach oben gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach oben gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
* [[option_weechat.look.buffer_notify_default]] *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.`
** 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`)
* [[option_weechat.look.buffer_time_format]] *weechat.look.buffer_time_format*
** Beschreibung: `Format für die Zeitanzeige welche in jeder Zeile eines Buffers dargestellt wird (siehe man strftime für Platzhalter für das Datum und die Uhrzeit). Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen, zum Beispiel eine französische Uhr: "${lightblue}%H${white}%M${lightred}%S"`
** Beschreibung: `Format für die Uhrzeit, die in jeder Zeile eines Buffers dargestellt wird (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden) (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval). Beispiel: Uhrzeit in Graustufen (Unterstützung von 256 Farben notwendig): "${color:252}%H${color:245}%M${color:240}%S"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M:%S"`)
@@ -401,7 +426,7 @@
* [[option_weechat.look.color_inactive_buffer]] *weechat.look.color_inactive_buffer*
** Beschreibung: `Textfarbe für Zeilen in einem inaktiven Buffer (betrifft Zeilen in einem zusammengefügt Buffer, welcher nicht aktiv ist)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.color_inactive_message]] *weechat.look.color_inactive_message*
** Beschreibung: `nutzt eine andere Farbe um die inaktiven Nachrichten darzustellen (Fenster ist nicht das aktuelle Fenster oder wenn die Zeile des zusammengefügten Buffers nicht die aktiv Zeile ist)`
@@ -426,7 +451,7 @@
* [[option_weechat.look.color_inactive_window]] *weechat.look.color_inactive_window*
** Beschreibung: `Textfarbe für Zeilen in einem inaktiven Fenster (betrifft das Fenster, welches nicht aktiv ist)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.color_nick_offline]] *weechat.look.color_nick_offline*
** Beschreibung: `Nicks die Offline sind werden im Buffer in einer anderen Farbe dargestellt (dies betrifft Nicks, die nicht in der Nickliste vorhanden sind!)`
@@ -444,7 +469,7 @@
** Werte: on, off (Standardwert: `off`)
* [[option_weechat.look.command_chars]] *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.`
** 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 wird immer genutzt`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -458,16 +483,26 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.day_change_time_format]] *weechat.look.day_change_time_format*
** Beschreibung: `Format für die Uhrzeit und das Datum, dass beim Datumswechsel angezeigt werden soll`
* [[option_weechat.look.day_change_message_1date]] *weechat.look.day_change_message_1date*
** Beschreibung: `Nachricht welche bei einem Datumswechsel angezeigt wird (zum Beispiel als erste Zeile im Buffer) (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden) (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y"`)
** Werte: beliebige Zeichenkette (Standardwert: `"-- %a, %d %b %Y --"`)
* [[option_weechat.look.day_change_message_2dates]] *weechat.look.day_change_message_2dates*
** Beschreibung: `Nachricht welche bei einem Datumswechsel angezeigt wird, dabei werden zwei Daten angegeben die zwischen zwei Nachrichten liegen; der zweite Platzhalter muss mit zwei "%" angegeben werden, da strftime auch zweimal aufgerufen wird (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden) (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-- %%a, %%d %%b %%Y (%a, %d %b %Y) --"`)
* [[option_weechat.look.eat_newline_glitch]] *weechat.look.eat_newline_glitch*
** Beschreibung: `aktiviert man diese Option, dann wird "eat_newline_glitch" auf 0 gesetzt; dies bedeutet, dass am Ende einer Zeile kein Zeilenumbruch an gehangen wird und somit der Text beim kopieren aus WeeChat und beim einfügen in einer anderen Applikation nicht umgebrochen wird (diese Option ist standardmäßig deaktiviert, da es zu schwerwiegenden Grafikfehlern kommen kann)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_weechat.look.emphasized_attributes]] *weechat.look.emphasized_attributes*
** Beschreibung: `Attribute um Textpassagen hervorzuheben: Das setzen von ein- oder mehreren Attributen ist möglich ("*" für fett, "!" für invertiert, "_" für unterstrichen); falls die Option weechat.look.emphasized_attributes keinen Eintrag besitzt, werden die Farben genutzt die durch colors weechat.color.emphasized* definiert sind`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.highlight]] *weechat.look.highlight*
** Beschreibung: `eine durch Kommata getrennte Liste der hervorzuhebenden Wörter. Groß- und Kleinschreibung wird dabei standardmäßig nicht beachtet (um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden). Schlagwörter können mit "*", als Joker, beginnen oder enden; Beipiel: "test,(?-i)*toto*,flash*"`
** Typ: Zeichenkette
@@ -479,7 +514,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.highlight_tags]] *weechat.look.highlight_tags*
** Beschreibung: `eine durch Kommata getrennte Liste der hervorzuhebenden Wörter (Groß-/Kleinschreibung wird nicht beachtet. Beispiele: "irc_notice" für IRC Nachrichten, "nick_flashcode" für Nachrichten vom Nick "FlashCode")`
** Beschreibung: `durch Kommata getrennte Liste der hervorzuhebenden Wörter (Groß-/Kleinschreibung wird nicht beachtet. Beispiele: "irc_notice" für IRC Nachrichten, "nick_flashcode" für Nachrichten vom Nick "FlashCode")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -494,7 +529,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `", "`)
* [[option_weechat.look.hotlist_count_max]] *weechat.look.hotlist_count_max*
** Beschreibung: `maximale Anzahl an Nachrichten für den Nachrichtenzähler in der Hotlist, pro Buffer (0 = der Nachrichtenzähler wird nicht dargestellt)`
** Beschreibung: `maximale Anzahl an Nachrichten für den Nachrichtenzähler in der Hotlist, für jeden Buffer (0 = der Nachrichtenzähler wird nicht dargestellt, siehe weechat.look.buffer_notify_default)`
** Typ: integer
** Werte: 0 .. 4 (Standardwert: `2`)
@@ -523,6 +558,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_weechat.look.hotlist_prefix]] *weechat.look.hotlist_prefix*
** Beschreibung: `Text der vor der Hotlist angezeigt werden soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"H: "`)
* [[option_weechat.look.hotlist_short_names]] *weechat.look.hotlist_short_names*
** Beschreibung: `ist diese Option aktiviert, wird der Kurzname der zusammengefügten Buffer in der Hotlist dargestellt (die Darstellung geschieht nach dem ersten '.' im Namen)`
** Typ: boolesch
@@ -533,13 +573,18 @@
** Typ: integer
** Werte: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (Standardwert: `group_time_asc`)
* [[option_weechat.look.hotlist_suffix]] *weechat.look.hotlist_suffix*
** Beschreibung: `Text der am Ende der Hotlist angezeigt werden soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.hotlist_unique_numbers]] *weechat.look.hotlist_unique_numbers*
** Beschreibung: `die Nummer des Buffers wird nur einmal in der Hotlist angezeigt (diese Option kommt nur zum Tragen sofern KEINE Buffernamen angezeigt werden)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
** Beschreibung: `Anzahl an Zeichen die nach links verschoben werden sollen, falls das Ende der Eingabezeile erreicht wird.`
** Beschreibung: `Anzahl an Zeichen die nach links verschoben werden sollen, falls das Ende der Eingabezeile erreicht wird`
** Typ: integer
** Werte: 0 .. 100 (Standardwert: `20`)
@@ -559,12 +604,12 @@
** Werte: 0 .. 65535 (Standardwert: `32`)
* [[option_weechat.look.item_buffer_filter]] *weechat.look.item_buffer_filter*
** Beschreibung: `Zeichen mit welchem in der Bar-Item ("buffer_filter") signalisiert wird ob im aktuellen Buffer die Filterfunktion eingeschaltet ist.`
** Beschreibung: `Zeichen mit welchem in der Bar-Item ("buffer_filter") signalisiert wird ob im aktuellen Buffer die Filterfunktion eingeschaltet ist`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
* [[option_weechat.look.item_time_format]] *weechat.look.item_time_format*
** Beschreibung: `Format für die Zeitanzeige, "time", in der Bar-Item (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Beschreibung: `Format für die Zeitanzeige des Bar-Items, "time" (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M"`)
@@ -583,6 +628,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.key_bind_safe]] *weechat.look.key_bind_safe*
** Beschreibung: `Es dürfen nur "geschützte" Tasten zugeordnet werden (Tasten, die mittels ctrl oder meta verwendet werden)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.mouse]] *weechat.look.mouse*
** Beschreibung: `Mausunterstützung einschalten`
** Typ: boolesch
@@ -593,6 +643,16 @@
** Typ: integer
** Werte: 1 .. 10000 (Standardwert: `100`)
* [[option_weechat.look.nick_prefix]] *weechat.look.nick_prefix*
** Beschreibung: `Text, der vor dem Nick dargestellt werden soll, Beispiel: "<"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.nick_suffix]] *weechat.look.nick_suffix*
** Beschreibung: `Text, der nach dem Nick dargestellt werden soll, Beispiel: ">"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.paste_bracketed]] *weechat.look.paste_bracketed*
** Beschreibung: `aktiviert den "bracketed paste mode" des Terminals (wird nicht durch alle Terminals/Multiplexer unterstützt): Dieser Modus erlaubt das Einfügen von Steuersequenzen die in Klammern gesetzt sind. WeeChat kann dadurch ermitteln ob ein Text eingefügt oder geschrieben wurde ("ESC[200~", gefolgt von dem einzufügenden Text und einem abschließenden "ESC[201~")`
** Typ: boolesch
@@ -609,7 +669,7 @@
** Werte: -1 .. 2147483647 (Standardwert: `1`)
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
** Beschreibung: `Präfixr Action-Nachrichten`
** Beschreibung: `Präfix, dass bei einer Action-Nachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `" *"`)
@@ -633,6 +693,11 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
* [[option_weechat.look.prefix_align_more_after]] *weechat.look.prefix_align_more_after*
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.prefix_buffer_align]] *weechat.look.prefix_buffer_align*
** Beschreibung: `Einstellung des Präfix für den Namen des Buffers, falls viele Buffer zu einem Buffer zusammengefügt wurden (keine = none, links = left, rechts = right (Standardwert))`
** Typ: integer
@@ -648,28 +713,33 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
* [[option_weechat.look.prefix_buffer_align_more_after]] *weechat.look.prefix_buffer_align_more_after*
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** Beschreibung: `Präfix für Fehlermeldungen`
** Beschreibung: `Präfix, dass bei einer Fehlernachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"=!="`)
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
** Beschreibung: `Präfixr Join-Nachrichten`
** Beschreibung: `Präfix, dass bei einer Join-Nachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-->"`)
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
** Beschreibung: `Präfix für Netzwerkmeldungen`
** Beschreibung: `Präfix, dass bei einer Netzwerknachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
** Beschreibung: `Präfixr Quit-Nachrichten`
** Beschreibung: `Präfix, dass bei einer Quit-Nachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"<--"`)
* [[option_weechat.look.prefix_same_nick]] *weechat.look.prefix_same_nick*
** Beschreibung: `setzt ein Präfix welches anstelle des Nicks der Nachricht vorangestellt wird, sofern die vorherige Nachricht von dem selben Nick geschrieben wurde. Wird ein Leerzeichen (" ") genutzt, dann wird der Nachricht kein Präfix vorangestellt. Um diese Funktion zu deaktivieren und den Nick als Präfix zu nutzen darf keine Zeichenkette angegeben werden.`
** Beschreibung: `setzt ein Präfix welches anstelle des Nicks der Nachricht vorangestellt wird, sofern die vorherige Nachricht von dem selben Nick geschrieben wurde. Wird ein Leerzeichen (" ") genutzt, dann wird der Nachricht kein Präfix vorangestellt. Um diese Funktion zu deaktivieren und den Nick als Präfix zu nutzen darf keine Zeichenkette angegeben werden`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -724,12 +794,12 @@
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.separator_horizontal]] *weechat.look.separator_horizontal*
** Beschreibung: `das angegebene Zeichen wird verwendet um die horizontalen Linien zu zeichnen. Wird kein Zeichen angegeben, dann zeichnet ncurses eine durchgängige Linie. Dies kann allerdings bei einigen Terminals zu Problemen führen, falls die URL Auswahl genutzt wird. Wide Chars sind für diese Option NICHT erlaubt.`
** Beschreibung: `das angegebene Zeichen wird verwendet um die horizontalen Linien zu zeichnen. Wird kein Zeichen angegeben, dann zeichnet ncurses eine durchgängige Linie. Dies kann allerdings bei einigen Terminals zu Problemen führen, falls die URL Auswahl genutzt wird. Wide Chars sind für diese Option NICHT erlaubt`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-"`)
* [[option_weechat.look.separator_vertical]] *weechat.look.separator_vertical*
** Beschreibung: `das angegebene Zeichen wird verwendet um die vertikale Linien zu zeichnen. Wird kein Zeichen angegeben, dann zeichnet ncurses eine durchgängige Linie. Wide Chars sind für diese Option NICHT erlaubt.`
** Beschreibung: `das angegebene Zeichen wird verwendet um die vertikale Linien zu zeichnen. Wird kein Zeichen angegeben, dann zeichnet ncurses eine durchgängige Linie. Wide Chars sind für diese Option NICHT erlaubt`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -739,7 +809,7 @@
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.time_format]] *weechat.look.time_format*
** Beschreibung: `Zeitstempel für das Datum. Der Zeitstempel wird in eine Zeichenkette umgewandelt und in Nachrichten dargestellt.`
** Beschreibung: `Format für das Datum, wenn dieses in eine Zeichenkette umgewandelt und in Nachrichten dargestellt wird (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y %T"`)
@@ -768,8 +838,13 @@
** Typ: integer
** Werte: 1 .. 2147483647 (Standardwert: `30`)
* [[option_weechat.network.proxy_curl]] *weechat.network.proxy_curl*
** Beschreibung: `Name des Proxy welcher für URL Downloads mittels Curl genutzt werden soll (wird verwendet um das Inhaltsverzeichnis für Script-Erweiterung herunterzuladen oder in Skripten, welche die Funktion hook_process nutzen); der Proxy muss mit dem Befehl /proxy eingerichtet werden`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.plugin.autoload]] *weechat.plugin.autoload*
** Beschreibung: `eine durch Kommata getrennte Liste der Erweiterungen, die beim Programmstart automatisch geladen werden sollen; "*" lädt alle vorhandenen 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")`
** Beschreibung: `durch Kommata getrennte Liste der Erweiterungen, die beim Programmstart automatisch geladen werden sollen; "*" lädt alle vorhandenen 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: `"*"`)
@@ -794,12 +869,12 @@
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.startup.command_after_plugins]] *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)`
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht nachdem die Erweiterungen geladen worden sind (mehrere Befehle sind durch ";" zu trennen) (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.startup.command_before_plugins]] *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)`
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht bevor die Erweiterungen geladen werden (mehrere Befehle sind durch ";" zu trennen) (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+12 -2
View File
@@ -53,6 +53,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
** Beschreibung: `durch Kommata getrennte Liste von Nicks deren Chat- und Transferanfragen automatisch akzeptiert werden. Format : "server.nick" (für einen speziellen Server) oder "nick" (global, für alle Server); Beispiel: "freenode.FlashCode,andrew"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_xfer.file.auto_rename]] *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
@@ -93,13 +98,18 @@
** Typ: integer
** Werte: 0 .. 256 (Standardwert: `20`)
* [[option_xfer.look.pv_tags]] *xfer.look.pv_tags*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die für private Nachrichten genutzt werden sollen. Zum Beispiel: "notify_message", "notify_private" oder "notify_highlight"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_private"`)
* [[option_xfer.network.blocksize]] *xfer.network.blocksize*
** Beschreibung: `Blockgröße für versendete Pakete (in Bytes)`
** Typ: integer
** Werte: 1024 .. 102400 (Standardwert: `65536`)
* [[option_xfer.network.fast_send]] *xfer.network.fast_send*
** Beschreibung: `wartet beim Versenden von Dateien nicht auf ein Bestätigungssignal (ACK)`
** Beschreibung: `beim Versenden von Daten wird nicht auf ein Bestätigungssignal (ACK) gewartet`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -109,7 +119,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_xfer.network.port_range]] *xfer.network.port_range*
** Beschreibung: `schränkt den ausgehenden Datenversand bzw. die 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)`
** Beschreibung: `schränkt den ausgehenden Datenversand/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 nur Ports zu nutzen die über 1024 liegen. Denn nur der User "root" kann auf den Port-Bereich unter 1024 zugreifen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+35
View File
@@ -0,0 +1,35 @@
*-a*, *--no-connect*::
deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat.
*-c*, *--colors*::
Zeigt die Standardfarben im Terminal an.
*-d*, *--dir* '<path>'::
legt den Konfigurationsordner für WeeChat fest (Voreinstellung: ~/.weechat) in
dem die Erweiterungen, Skripten, Protokolldateien etc.pp. gesichert werden.
Sollte das Verzeichnis nicht existieren wird es beim Start angelegt.
*-h*, *--help*::
zeigt einen Hilfstext an.
*-l*, *--license*::
zeigt die Lizenz von WeeChat an.
*-p*, *--no-plugin*::
unterbindet das Laden der Erweiterungen beim Programmstart.
*-r*, *--run-command* '<command>'::
startet einen oder mehrere Befehle, nachdem WeeChat gestartet wurde
(mehrere Befehle müssen durch Kommata voneinander getrennt werden).
*-s*, *--no-script*::
Skripten werden beim Programmstart nicht geladen.
*--upgrade*::
führt ein WeeChat Upgrade mittels Sitzungsdateien, die mit dem Befehl `/upgrade -quit` erstellt wurden, durch.
*-v*, *--version*::
zeigt die Version von WeeChat an.
*plugin:option*::
Option für Erweiterung.
+116
View File
@@ -0,0 +1,116 @@
WEECHAT(1)
==========
:doctype: manpage
NAME
----
weechat - der erweiterbare Chat Client
SYNOPSIS
--------
[verse]
'weechat' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
'weechat' [-c|--colors]
'weechat' [-h|--help]
'weechat' [-k|--keys]
'weechat' [-l|--license]
'weechat' [-v|--version]
BESCHREIBUNG
------------
WeeChat ist ein schneller, leichter und erweiterbarer Chat Client.
Der Client ist modular aufgebaut (ein kleiner Kern mit nachladbaren Erweiterungen),
Multiprotokollfähig (IRC und Jabber),erweiterbar mittels C und durch Skripten, wobei
verschiedenen Sprachen unterstützt werden.
OPTIONEN
--------
include::cmdline_options.de.txt[]
OPTIONEN von ERWEITERUNGEN
--------------------------
Um eine vollständige Dokumentation der Optionen zu erhalten, siehe
http://weechat.org/doc[WeeChat user's guide].
Mittels der IRC Erweiterung kann man sich zu einen temporären Server, mittels einer URL,
verbinden lassen:
irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
Um dem WeeChat IRC Support-Channel, mit dem Nick "mynick", beizutreten:
irc://mynick@irc.freenode.net/#weechat
Um eine IPv6 Adresse zu nutzen, muss diese in eckige Klammern gesetzt werden:
irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
DATEIEN
-------
$HOME/.weechat/weechat.conf::
WeeChats Konfigurationsdatei
$HOME/.weechat/plugins.conf::
Konfigurationsdatei für Erweiterungen
$HOME/.weechat/alias.conf::
Konfigurationsdatei für 'alias' Erweiterung
$HOME/.weechat/aspell.conf::
Konfigurationsdatei für 'aspell' Erweiterung
$HOME/.weechat/charset.conf::
Konfigurationsdatei für 'charset' Erweiterung
$HOME/.weechat/irc.conf::
Konfigurationsdatei für 'irc' Erweiterung
$HOME/.weechat/logger.conf::
Konfigurationsdatei für 'logger' Erweiterung
$HOME/.weechat/relay.conf::
Konfigurationsdatei für 'relay' Erweiterung
$HOME/.weechat/rmodifier.conf::
Konfigurationsdatei für 'rmodifier' Erweiterung
$HOME/.weechat/script.conf::
Konfigurationsdatei für 'script' Erweiterung
$HOME/.weechat/xfer.conf::
Konfigurationsdatei für 'xfer' Erweiterung
$HOME/.weechat/weechat.log::
WeeChat Protokolldatei
AUTOREN
-------
WeeChat ist programmiert von Sébastien Helleu und Beitragenden (eine vollständige Auflistung
findet man in der AUTHORS Datei).
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
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.
Please read the COPYING file for more information.
Web: <http://weechat.org/>
FEHLER MELDEN
-------------
Fehlerbeschreibungen oder Vorschläge für neue Funktionen können auf
der Savannah Webseite hinterlegt werden:
* Fehler: <http://savannah.nongnu.org/bugs/?group=weechat>
* Feature-Request: <http://savannah.nongnu.org/task/?group=weechat>
+139 -173
View File
@@ -12,7 +12,6 @@ vorzugsweise immer die aktuell veröffentlichte Version von WeeChat genutzt werd
Allgemein
---------
[[weechat_name]]
Woher kommt eigentlich der Name "WeeChat"?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -23,53 +22,29 @@ Somit lautet der vollständige Name "Wee Enhanced Environment for Chat".
"Wee" bedeutet außerdem "sehr klein" (und ja, es gibt noch eine andere Bedeutung des Wortes.
Aber dieses trifft nicht auf WeeChat zu!)
[[why_choose_weechat]]
Weshalb sollte man WeeChat nutzen? - X-Chat und Irssi sind doch 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)
* Unterstützung von 256 Farben
* 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
* native Nickliste
* Auflistung von Buffern (mittels dem Skript buffers.pl)
* IRC Proxy
* Umleitung von IRC Befehlen
* inkrementelle Textsuche in Buffern, zu Highlights springen
* FIFO Pipe für Fernsteuerung
* Unterstützung von Aspell
* Doppelter Zeichensatz (Kodierung/Dekodierung)
* Neuentwicklung (basiert auf keinem anderen Programm)
* lauffähig auf einer Vielzahl von Plattformen
* 100% GPL und Frei
WeeChat ist sehr Speicher schonend und besticht durch innovative Funktionen.
Weitere Informationen gibt es auf der folgenden Internetseite:
http://www.weechat.org/features
http://weechat.org/about/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.
Folgende GUIs sind verfügbar:
* http://weechat.org/download/devel[QWeeChat] (Qt)
* https://github.com/ubergeek42/weechat-android[weechat-android] (Android)
* https://github.com/the-kenny/weechat.el[weechat.el] (Emacs)
* https://github.com/eirikb/weecloud[weecloud] (Web)
[[compile_git]]
Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
@@ -87,7 +62,6 @@ Beachte, dass dieses Paket nicht immer exakt mit dem git Repository übereinstim
und daher auch weniger brauchbar sein kann. Im Gegensatz zu der Möglichkeit, dass man selbst
das Repository klont und daraus Updates installiert.
[[lost]]
Ich habe WeeChat gestartet, komme aber nicht mehr weiter - was kann ich tun?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -101,43 +75,42 @@ in den Buffern 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. Aus diesem Grund sollte der nachfolgende Text
sorgfältig durchgelesen und *alle* aufgezeigten Lösungsmöglichkeiten durchgeführt
Dies ist ein bekanntes Problem. Aus diesem Grund sollten die folgenden Punkte
sorgfältig durchgelesen und *alle* aufgezeigten Lösungsmöglichkeiten überprüft
werden:
* überprüfe, ob weechat-curses mit libncursesw verlinkt ist (Warnung: Dies ist bei den
meisten Distributionen nötig - jedoch nicht bei allen): `ldd /path/to/weechat-curses`
* überprüfe, ob weechat mit libncursesw verlinkt ist (Warnung: Dies ist bei den
meisten Distributionen nötig - jedoch nicht bei allen): `ldd /path/to/weechat`
* 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 angezeigt bekommen solltest, ist Deine Einstellung der
locale möglicherweise falsch.
'ISO-XXXXXX' oder 'UTF-8' für den Terminal Zeichensatz als Antwort erhalten. Falls
'ANSI_X3.4-1968' oder einen anderer Wert angezeigt werden sollte, ist Deine lokale
Einstellung möglicherweise falsch.
* Einstellen des globalen decode Wertes, z.B.:
`/set charset.default.decode "ISO-8859-15"`
* Falls Du UTF-8 locale nutzt:
* Falls Du UTF-8 lokal nutzt:
** prüfe, ob Dein Terminal überhaupt 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
** Solltest Du screen nutzten, prüfe ob screen im UTF-8 Modus läuft
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum starten von
screen)
* überprüfe die Option 'weechat.look.eat_newline_glitch' (diese Option kann zu
Darstellungsfehlern führen, wenn sie aktiviert ist)
[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]]
Weshalb haben Bars, z.B. Titel und Status, keine Hintergrundfarbe bzw. diese endet direkt nach dem Text?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -153,7 +126,6 @@ Abhängig davon von wo WeeChat gestartet wird, solltest Du folgenden Wert haben:
Falls nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
[[screen_weird_chars]]
Wenn ich Weechat mit screen/tmux nutze habe ich merkwürdige Zeichen, wie kann ich dies beheben?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -166,7 +138,6 @@ Nutzte stattdessen lieber 'xterm'.
Falls notwendig 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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -176,7 +147,6 @@ mit dem System ausgeliefert wird.
Darüber hinaus ist es unter OS X ratsam WeeChat mittels des Homebrew package manager zu installieren.
[[buffer_vs_window]]
Ich habe von "Buffern" und "Fenstern" gehört - Worin besteht der Unterschied?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -191,7 +161,6 @@ 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.
[[buffers_list]]
Wie kann ich eine Liste mit den Buffern z.B. auf der linken Seite anzeigen lassen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -210,7 +179,6 @@ Um die Bar nach oben zu verschieben:
/set weechat.bar.buffers.position bottom
----------------------------------------
[[customize_prefix]]
Wie kann ich die Länge eines Nicknamens begrenzen oder die Ausrichtung des Nicks im Chatbereich entfernen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -227,7 +195,6 @@ um die Ausrichtung für Nicks zu entfernen:
/set weechat.look.prefix_align none
----------------------------------------
[[input_bar_size]]
Wie kann man eine mehrzeilige Eingabezeile einstellen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -250,7 +217,6 @@ maximal zwei Zeilen:
/set weechat.bar.input.size_max 2
----------------------------------------
[[one_input_root_bar]]
Ist es möglich nur eine Eingabezeile für alle Fenster zu nutzen (auch falls diese geteilt sind)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -273,7 +239,6 @@ werden sollte:
/bar del rootinput
----------------------------------------
[[terminal_copy_paste]]
Wie kann ich einen Text kopieren und einfügen ohne das die Nickliste mit eingefügt wird?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -288,7 +253,6 @@ Eine weitere Möglichkeit besteht darin die Nickliste nach oben oder unten zu ve
/set weechat.bar.nicklist.position top
----------------------------------------
[[urls]]
Wie kann ich eine URL aufrufen die einen Zeilenumbruch besitzt?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -316,24 +280,7 @@ Zeilen angefügt (dies führt dazu, dass URLs beim Markieren korrekt erkannt wer
Bei der Nutzung dieser Option kann es zu Darstellungsfehlern kommen. Sollte dies
auftreten, sollte diese Option wieder deaktiviert werden.
Eine weitere Möglichkeit ist, eines der folgenden Skripten zu nutzen:
urlserver.py::
verkürzt lange URLs mittels eigenem HTTP Server
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
Eine weitere Möglichkeit ist, ein Skript zu nutzen: http://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?
@@ -351,8 +298,7 @@ Hierdurch erhält man für das Terminal deutsche, UTF-8 kodierte Meldungen.
Benutzer von ISO-Kodierungen können folgendes eingeben:
`/shell setenv LANG=de_DE`.
[[256_colors]]
[[use_256_colors]]
Wie kann ich 256 Farben in WeeChat nutzen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -392,7 +338,6 @@ eine Farbe definieren).
Weiterführende Informationen zum Farbmanagement erhält man in der Benutzeranleitung.
[[search_text]]
Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -402,12 +347,10 @@ und um zu Highlight-Nachrichten zu springen: @k(A-)@k(p)/@k(n).
Siehe Benutzeranleitung für weitere Informationen zu dieser Funktion (Standardtastenbelegung).
[[key_bindings]]
Tastaturbelegung
----------------
[[meta_keys]]
Aus welchem Grund funktionieren manche Meta-Tasten (alt + Taste) nicht?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -429,7 +372,6 @@ 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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -439,7 +381,6 @@ Die Tasten werden mit dem Befehl `/key` belegt.
Mit der voreingestellten Tastenkombination @k(A-)@k(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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -455,7 +396,6 @@ Es kann auch eine neue Taste eingebunden werden um zu einem Buffer zu wechseln:
Eine Auflistung der Standardtastenbelegung findet man in der Benutzeranleitung.
[[global_history]]
Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -474,12 +414,10 @@ Beispiele:
Die Tasten "meta2-A" und "meta2-B" können nach dem jeweils genutzten Terminal variieren. Um die
korrekten Tasten zu finden sollte man @k(A-)@k(k) und dann (Up- oder die Down-Taste) drücken.
[[mouse]]
Mausunterstützung
-----------------
[[mouse_not_working]]
Die Mausunterstützung funktioniert nicht, was kann ich tun?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -512,7 +450,6 @@ Um die Mausunterstützung im Terminal zu beenden:
$ printf '\033[?1002l'
----------------------------------------
[[mouse_coords]]
Mausunterstützung funktioniert nicht falls x/y Koordinaten größer 94 Pixel sind, weshalb?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -523,7 +460,6 @@ Nutzung über 94 Pixel hinausgehend, sowohl in den x- wie auch den y-Koordinaten
Dann muss man einen Terminl nutzen der eine Unterstützung von UTF-8 Koordinaten für die Maus
bietet, zum Beispiel rxvt-unicode.
[[mouse_select_paste]]
Wie kann ich bei aktivierter Mausunterstützung im Terminal einen Text markieren oder einfügen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -532,11 +468,100 @@ Ist die Mausunterstützung aktiviert kann man mittels gedrückter @k(-S-)-Taste
einen Text im Terminal markieren oder einfügen, als sei die Mausunterstützung deaktiviert.
(bei einigen Terminals muss die @k(-A-)-Taste anstelle der @k(-S-)-Taste gedrückt werden).
[[irc]]
IRC
---
[[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, 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 "ssl_verify" Überprüfung deaktiviert werden (die Verbindung ist in diesem
Fall weniger sicher):
----------------------------------------
/set irc.server.freenode.ssl_verify off
----------------------------------------
[[irc_ssl_handshake_error]]
Bei einem Verbindungsaufbau zum Server, via SSL, erhalte ich "TLS Handshake fehlgeschlagen". Wie kann ich das beheben?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Man sollte versuchen eine andere Priorität zu nutzen (nur WeeChat ≥ 0.3.5); Im Beispiel
muss "xxx" durch den internen Servernamen ersetzt werden:
----------------------------------------
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
----------------------------------------
[[irc_ssl_freenode]]
Wie kann ich eine SSL gesicherte Verbindung zum freenode Server herstellen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Option 'weechat.network.gnutls_ca_file' sollte auf die Zertifikationsdatei zeigen:
----------------------------------------
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
----------------------------------------
[NOTE]
Überprüfe, ob die Zertifikationsdatei auf Deinem System installiert wurde (üblicherweise wird
diese Datei durch das Paket "ca-certificates" bereitgestellt)
Konfiguration des Servers, Port, SSL, dhkey_size und dann einen
Connect durchführen:
----------------------------------------
/set irc.server.freenode.addresses "chat.freenode.net/7000"
/set irc.server.freenode.ssl on
/set irc.server.freenode.ssl_dhkey_size 1024
/connect freenode
----------------------------------------
[[irc_oauth]]
Wie stellt man eine Verbindung zu einem Server her, der "oauth" verlangt?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Einige Server, wie z.B. 'twitch', verlangen oauth für eine Verbindung.
Bei oauth handelt es sich lediglich um ein Passwort mit dem Format "oauth:XXXX".
Mit folgenden Befehlen kann man einen Server erstellen und sich mit diesem
verbinden (Name und Adresse muss durch entsprechende Werte ersetzt werden):
----------------------------------------
/server add name irc.server.org -password="oauth:XXXX"
/connect name
----------------------------------------
[[irc_sasl]]
Wie kann ich mich, vor dem Betreten von Channels, identifizieren?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sollte der Server SASL unterstützen, ist es ratsam auf diese Funktion zurückzugreifen
und sich nicht mittels "nickserv" zu authentifizieren. Zum Beispiel:
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.freenode.sasl_username "meinNick"
/set irc.server.freenode.sasl_password "xxxxxxx"
----------------------------------------
Unterstützt der Server keine SASL Authentifizierung, kann eine Verzögerung aktiviert
werden um sich, vor dem Betreten von Channels, bei "nickserv" zu identifizieren:
----------------------------------------
/set irc.server.freenode.command_delay 5
----------------------------------------
[[ignore_vs_filter]]
Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
@@ -557,7 +582,6 @@ Die Zeilen werden dabei nicht gelöscht, lediglich die Darstellung im Buffer wir
Die gefilterten Zeilen können zu jeder Zeit dargestellt werden indem man den Filter deaktiviert
(Voreinstellung zum aktivieren/deaktivieren der Filter: @k(A-)@k(=)).
[[filter_irc_join_part_quit]]
Wie kann ich join/part/quit Meldungen in den IRC Channels filtern (A.d.ü.: unterdrücken)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -573,24 +597,37 @@ noch etwas geschrieben haben):
zum anderen mit einer globalen Filterung (*alle* join/part/quit Nachrichten werden unterdrückt):
----------------------------------------
/filter add jpk * irc_join,irc_part,irc_quit *
/filter add joinquit * irc_join,irc_part,irc_quit *
----------------------------------------
[NOTE]
Für weitere Hilfe: `/help filter` und `/help irc.look.smart_filter`
[[filter_irc_join_channel_messages]]
Wie kann ich Nachrichten filtern wenn ich einen IRC Channel betrete?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es folgen einige Tags die man zum filtern von Nachrichten nutzen kann:
Ab WeeChat ≥ 0.4.1 ist es möglich Nachrichten zu deaktivieren. Dazu
nutzt man die Option:
'irc.look.display_join_message'.
Zum Beispiel: Um die Auflistung aller Namen im Channel zu unterdrücken
(IRC Nachricht '366'):
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
Für Hilfe: `/help irc.look.display_join_message`
Eine andere Möglichkeit ist das Filtern von Nachrichten, nach Tags:
* '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 Server-Mitteilungen kann man im IRC Raw-Server finden
Die Tags von anderen Server-Mitteilungen werden IRC RAW-Buffer ausgegeben
(`/server raw`).
Beispiele:
@@ -604,7 +641,6 @@ Beispiele:
/filter add irc_join_topic_date * irc_332,irc_333 *
----------------------------------------
[[filter_voice_messages]]
Wie kann ich voice Nachrichten filtern (z.B. auf Bitlbee Servern)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -640,7 +676,6 @@ der Voice Modus aufgeführt sein muss):
/filter add hidevoices * irc_mode (\+|\-)v
----------------------------------------
[[color_away_nicks]]
Wie kann ich Nicks in der Nickliste anzeigen lassen die abwesend sind?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -667,7 +702,6 @@ Teilnehmer haben:
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -680,66 +714,7 @@ Beim Skript 'launcher.pl' müssen noch die Befehle angepasst werden:
/set plugins.var.perl.launcher.signal.weechat_highlight "/Pfad/zum/Befehl Argumente"
----------------------------------------
andere Skripten die auch zu diesem Thema passen: http://www.weechat.org/scripts/stable/tag/notify/
[[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, 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 "ssl_verify" Überprüfung deaktiviert werden (die Verbindung ist in diesem
Fall weniger sicher):
----------------------------------------
/set irc.server.freenode.ssl_verify off
----------------------------------------
[[irc_ssl_handshake_error]]
Bei einem Verbindungsaufbau zum Server, via SSL, erhalte ich "TLS Handshake fehlgeschlagen". Wie kann ich das beheben?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Man sollte versuchen eine andere Priorität zu nutzen (nur WeeChat ≥ 0.3.5); Im Beispiel
muss "xxx" durch den internen Servernamen ersetzt werden:
----------------------------------------
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
----------------------------------------
[[irc_ssl_freenode]]
Wie kann ich eine SSL gesicherte Verbindung zum freenode Server herstellen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Option 'weechat.network.gnutls_ca_file' sollte auf die Zertifikationsdatei zeigen:
----------------------------------------
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
----------------------------------------
[NOTE]
Überprüfe, ob die Zertifikationsdatei auf Deinem System installiert wurde (üblicherweise wird
diese Datei durch das Paket "ca-certificates" bereitgestellt)
Konfiguration des Servers, Port, SSL, dhkey_size und dann einen
Connect durchführen:
----------------------------------------
/set irc.server.freenode.addresses "chat.freenode.net/7000"
/set irc.server.freenode.ssl on
/set irc.server.freenode.ssl_dhkey_size 1024
/connect freenode
----------------------------------------
andere Skripten die auch zu diesem Thema passen: http://weechat.org/scripts/stable/tag/notify/
[[irc_target_buffer]]
Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
@@ -747,12 +722,10 @@ Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei eine
Die Standardtastenkombination lautet @k(C-)@k(x) (der dazugehörige Befehl: `/input switch_active_buffer`).
[[plugins_scripts]]
Erweiterungen / Skripten
------------------------
[[openbsd_plugins]]
Ich benutze OpenBSD aber WeeChat lädt keine Erweiterungen - weshalb?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -766,7 +739,6 @@ Um dies zu beheben muss folgendes konfiguriert werden:
/plugin autoload
----------------------------------------
[[load_scripts]]
Wie kann ich Perl/Python/Ruby/Lua/Tcl Skripten laden und sind Skripten von anderen IRC-Clients kompatibel?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -776,7 +748,6 @@ Die Skripten für WeeChat sind mit anderer IRC-Clients nicht kompatibel und vice
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>/'
@@ -784,12 +755,10 @@ Anmerkung:
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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -799,19 +768,20 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
weniger Speicherlecks besitzt, als eine vorherige Version)
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Fifo,
Logger, Perl, Python, Ruby, Lua, Tcl, Xfer (wird für DCC benötigst)
Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Xfer (wird für DCC benötigst)
* installiere ausschließlich Skripten die Du auch nutzt
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
Fall, einfach den Eintrag in folgender Option leer lassen:
'weechat.network.gnutls_ca_file'
* der Wert der Option 'weechat.history.max_buffer_lines_number' sollte möglichst
niedrig eingestellt werden oder die Option 'weechat.history.max_buffer_lines_minutes'
verwendet werden.
* nutze einen kleineren Wert für die Option 'weechat.history.max_commands'
[[development]]
Entwicklung
-----------
[[bug_task_patch]]
Was kann ich machen falls ich einen Fehler gefunden habe, nach neuen Funktionen fragen oder Patches einsenden möchte?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -824,10 +794,9 @@ Es gibt drei Möglichkeiten:
* 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
http://weechat.org/dev/support
(Um emails an die "support" Mailing-Liste zu schicken, kannst Du diese abonnieren)
[[gdb_error_threads]]
Wenn man WeeChat in gdb startet kann ein Thread-Fehler auftreten. Was beudeutet das?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -835,7 +804,7 @@ Wenn man WeeChat in gdb startet kann ein Thread-Fehler auftreten. Was beudeutet
Falls man WeeChat in gdb ausführt kann folgende Fehlermeldung erscheinen:
----------------------------------------
$ gdb /Pfad/zu/weechat-curses
$ gdb /Pfad/zu/weechat
(gdb) run
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
@@ -845,22 +814,20 @@ Um diesen Fehler zu beheben sollte man gdb wie folgt aufrufen (der Pfad zu
libpthread und WeeChat muss natürlich an das eigene System angepasst werden):
----------------------------------------
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat-curses
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
(gdb) run
----------------------------------------
[[supported_os]]
Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssystemen portiert?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Eine vollständige Liste der Portierungen findest Du unter: http://www.weechat.org/download
Eine vollständige Liste der Portierungen findest Du unter: http://weechat.org/download
Wir geben unser Bestes um WeeChat auf möglichst viele Plattformen zu portieren.
Aber um WeeChat auf fremden 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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -868,12 +835,11 @@ 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/support
http://weechat.org/dev/support
[[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
Details hierzu gibt es auf: http://weechat.org/about/donate
+143 -61
View File
@@ -11,42 +11,72 @@ Die bevorzugte Terminal-Emulation für X (aber nicht obligatorisch) ist
rxvt-unicode (es besitzt eine gute Unterstützung für UTF-8 und hat keine
Probleme mit der Standard Tastaturbelegung).
Starte "weechat-curses" aus Deiner shell.
Starte aus Deiner shell:
----------------------------------------
$ weechat
----------------------------------------
[[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.
WeeChat bietet für jeden Befehl eine Hilfe an:
----------------------------------------
/help
----------------------------------------
Um sich die Hilfe für einen bestimmten Befehl anzeigen
zu lassen:
----------------------------------------
/help Befehl
----------------------------------------
Um Optionen zu setzen benutzt man:
----------------------------------------
/set config.section.option value
----------------------------------------
Um Optionen zu setzen benutzt man `/set config.section.option value`.
(dabei ist 'config' der Konfigurationsname ('weechat' für den Kern von weechat,
oder der Name einer Erweiterung), 'section' ein Abschnitt dieser Konfiguration und 'option'
der Name der betreffenden Option).
WeeChat benutzt den neu eingestellten Wert umgehend (WeeChat muss also *niemals* neu gestartet
WeeChat benutzt einen neu eingestellten Wert umgehend (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
diese Zeichenkette enthalten.
Platzhalter "*", am Beginn oder Ende, verwenden um alle Optionen anzuzeigen die
dieser Zeichenkette entsprechen.
Zum Beispiel:
`/set`::
Anzeige aller Optionen (WeeChat und Erweiterungen)
Zeit alle Optionen an (WeeChat und Erweiterungen):
`/set weechat.*`::
Anzeige der WeeChat Optionen
----------------------------------------
/set
----------------------------------------
`/set irc.*`::
Anzeige der Optionen des IRC-Erweiterung
Zeit alle WeeChat Optionen an:
Du kannst mit `/help` Hilfe für Optionen auflisten lassen, z.B.:
`/help weechat.look.highlight`.
----------------------------------------
/set weechat.*
----------------------------------------
Zeit alle Optionen der IRC-Erweiterung an:
----------------------------------------
/set irc.*
----------------------------------------
Du kannst dir mit dem Befehl `/help` eine Hilfe für Optionen anzeigen lassen, z.B.:
----------------------------------------
/help weechat.look.highlight
----------------------------------------
Beim Beenden von WeeChat werden alle Einstellungen gespeichert (mittels `/save`
kann das Sichern der Optionen erzwungen werden).
@@ -60,8 +90,8 @@ verwenden möchte).
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
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)
@@ -77,116 +107,160 @@ Einen IRC-Server erstellen
Du kannst einen IRC-Server mit dem Befehl `/server` hinzufügen, z.B.:
/server add oftc irc.oftc.net/6667
----------------------------------------
/server add oftc irc.oftc.net/6667
----------------------------------------
Wie bei jedem Befehl kannst Du Dir, falls Du nicht mehr weiter kommst, mit
`/help server` einen Hilfstext anzeigen lassen.
Falls man nicht mehr weiter weiß, einfach die Hilfe aufrufen:
----------------------------------------
/help server
----------------------------------------
[[irc_server_options]]
Setzen eigener IRC-Server Optionen
----------------------------------
WeeChat verwendet Vorgabewerte für alle Server (so genannte "fall backs") falls
WeeChat verwendet Vorgabewerte für alle Server (so genannte "fall backs"), falls
Du keine eigenen Werte für entsprechende Server-Optionen bestimmt haben solltest.
Diese Vorgabeoptionen sind "irc.server_default.*".
Diese Vorgabewerte sind in "irc.server_default.*" beschrieben.
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 ist die Vorgabe (default) nicks, die auf dem Un*x Login
Als Beispiel erwähnt ist die Vorgabe (default) für Nicks, die auf dem Un*x Login
basiert. Diese Vorgabe kann nun für den oftc-Server mittels folgendem Befehl
überschrieben werden:
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
----------------------------------------
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
----------------------------------------
Um einen User- und realen Namen zu setzen:
/set irc.server.oftc.username "Mein User-Name"
/set irc.server.oftc.realname "Mein wirklicher Name"
----------------------------------------
/set irc.server.oftc.username "Mein User-Name"
/set irc.server.oftc.realname "Mein wirklicher Name"
----------------------------------------
Um beim Start von WeeChat automatisch eine Verbindung zu einem Server
herzustellen:
/set irc.server.oftc.autoconnect on
----------------------------------------
/set irc.server.oftc.autoconnect on
----------------------------------------
Um einen Befehl nach der Verbindung zum Server auszuführen, z.B. identifizieren
beim nickserv:
Sollte der Server SASL unterstützen, kann man sich damit Authentifizieren
(dadurch identifiziert man sich beim Server, bevor man Channels (Chaträume) betritt):
/set irc.server.oftc.command "/msg nickserv identify xxxxxx"
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.oftc.sasl_username "mynick"
/set irc.server.oftc.sasl_password "xxxxxxx"
----------------------------------------
Hinweis: Mehrere Befehle können mittels ';' (Semikolon) getrennt werden.
Unterstützt der Server keine SASL Authentifizierung, muss man sich bei "nickserv"
identifizieren:
----------------------------------------
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
----------------------------------------
[NOTE]
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"
----------------------------------------
/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
Vorgabewert (default) zu nutzen, z.B. Nutzung der vorgegebenen Nicks
(irc.server_default.nicks):
/set irc.server.oftc.nicks null
----------------------------------------
/set irc.server.oftc.nicks null
----------------------------------------
Andere Optionen: Du kannst andere Optionen mit folgendem Befehl setzen ("xxx"
Andere Optionen: Du kannst andere Optionen mit folgendem Befehl festlegen ("xxx"
ist der Optionsname):
/set irc.server.oftc.xxx value
----------------------------------------
/set irc.server.oftc.xxx value
----------------------------------------
[[connect_to_irc_server]]
Verbinden mit dem IRC-Server und auto-join der Channel
------------------------------------------------------
/connect oftc
----------------------------------------
/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
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.
zu wechseln, kannst Du ctrl-X benutzen.
Es ist möglich das automatische Zusammenlegen der Server-Buffer zu deaktivieren
um eigenständige Buffer zu haben:
Es ist möglich das automatische Zusammenlegen der Server-Buffer zu deaktivieren,
um eigenständige Server-Buffer zu nutzen:
/set irc.look.server_buffer independent
----------------------------------------
/set irc.look.server_buffer independent
----------------------------------------
[[join_part_irc_channels]]
Betreten/verlassen der IRC-Channel
----------------------------------
`/join #channel`::
Einen Channel betreten
Einen Channel betreten:
`/part [quit message]`::
Einen Channel verlassen (der Buffer bleibt geöffnet)
----------------------------------------
/join #channel
----------------------------------------
`/close [quit message]`::
Schließen eines Server- oder Channel-Buffers (`/close` ist ein Alias für `/buffer close`)
Einen Channel verlassen (der Buffer bleibt geöffnet):
----------------------------------------
/part [quit message]
----------------------------------------
Schließen eines Server- oder Channel-Buffers (`/close` ist ein Alias für `/buffer close`):
----------------------------------------
/close
----------------------------------------
[[buffer_window]]
Buffer/Fenster Verwaltung
-------------------------
Ein Buffer ist eine, Erweiterung mit einer Nummer, einer Kategorie und einem
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
Buffer darstellt. Wenn Du den Bildschirm aufteilst, wirst Du mehrere Fenster mit
mehreren Buffer gleichzeitig sehen.
Befehle, welche Buffer und Fenster verwalten:
/buffer
/window
----------------------------------------
/buffer
/window
----------------------------------------
(Ich muss jetzt nicht wiederholen dass Du zu diesen Befehlen eine Hilfe mit /help
zu erhalten ist)
@@ -194,7 +268,9 @@ 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
----------------------------------------
/window splitv 33
----------------------------------------
[[key_bindings]]
@@ -221,15 +297,21 @@ 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
----------------------------------------
/key bind (drücke meta-k) (drücke meta-y) /buffer close
----------------------------------------
Du wirst folgende Befehlszeile erhalten:
/key bind meta-y /buffer close
----------------------------------------
/key bind meta-y /buffer close
----------------------------------------
Entfernen der Belegung:
/key unbind meta-y
----------------------------------------
/key unbind meta-y
----------------------------------------
[[plugins_scripts]]
@@ -239,10 +321,10 @@ 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).
die Dokumentation zum installieren/entfernen von Erweiterungen und/oder Skripten).
Viele externe Skripten (der Mitarbeitenden) sind für WeeChat verfügbar, siehe:
http://www.weechat.org/scripts
http://weechat.org/scripts
Skripten können mit dem Befehl `/script` verwaltet werden (siehe `/help script` für
weitere Informationen zur Bedienung).
@@ -252,7 +334,7 @@ weitere Informationen zur Bedienung).
Weitere Dokumentation
---------------------
Nun kannst Du WeeChat nutzen, für weitere Fragen lese die FAQ/Dokumentation:
http://www.weechat.org/doc
Nun kannst Du WeeChat nutzen, für weitere Fragen lese die FAQ und/oder Dokumentation:
http://weechat.org/doc
Viel Spass mit WeeChat!
+132 -35
View File
@@ -6,7 +6,7 @@ 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
http://weechat.org/doc
[[introduction]]
@@ -56,6 +56,15 @@ Ruby
* Es muss 'weechat_init' definiert und darin die Funktion 'register' ausgeführt werden
* Funktionen werden im Format `Weechat.xxx(arg1, arg2, ...)` ausgeführt
* Aufgrund einer Limitierung, seitens Ruby (maximal 15 Argumente pro Funktion), empfängt
die Funktion `Weechat.config_new_option` den Callback in einem Array von 6 Strings
(3 Callbacks + 3 Data Strings), somit sieht ein Aufruf der Funktion folgendermaßen aus:
[source,ruby]
----------------------------------------
Weechat.config_new_option(config, section, "name", "string", "description of option", "", 0, 0,
"value", "value", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
----------------------------------------
Lua
^^^
@@ -99,7 +108,8 @@ Argumente:
* '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, optional)
* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll
(String, kann auch eine leere Zeichenkette sein)
* 'charset': Skript Zeichensatz (optional, liegt das Skript im UTF-8 Format vor kann dieser Wert
leer bleiben. UTF-8 ist der Standardzeichensatz) (String)
@@ -162,8 +172,20 @@ weechat::print "" "Hallo, von einem tcl Skript!"
Laden von Skripten
~~~~~~~~~~~~~~~~~~
Der Befehl zum Laden von Skripten ist davon abhängig welche Skriptsprache
genutzt werden soll:
Es wird empfohlen die "script" Erweiterung zum Laden von Skripten zu
nutzen, zum Beispiel:
----------------------------------------
/script load script.py
/script load script.pl
/script load script.rb
/script load script.lua
/script load script.tcl
/script load script.scm
----------------------------------------
Es besteht natürlich weiterhin die Möglichkeit, individuell für jede
Skriptsprache, den entsprechenden Befehl zu nutzen:
----------------------------------------
/python load python/skript.py
@@ -174,8 +196,8 @@ genutzt werden soll:
/guile load guile/skript.scm
----------------------------------------
Um Skripten automatisch beim Start von WeeChat zu laden kann man einen Link
in das Verzeichnis 'Skriptsprache/autoload' setzen.
Um Skripten automatisch beim Start von WeeChat zu laden sollte man einen Link
anlegen, der in das Verzeichnis 'Skriptsprache/autoload' zeigt.
Ein Beispiel für ein Python-Skript:
@@ -184,6 +206,10 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
[NOTE]
Installiert man mittels `/script install` ein Skript, dann wird automatisch
ein Link in das entsprechende 'autoload' Verzeichnis erzeugt.
[[differences_with_c_api]]
Unterschiede zur C API
----------------------
@@ -201,18 +227,22 @@ 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
┌──────────────────────┐ ╔══════════════════╗
│ python Erweiterung │ ║ WeeChat "core" ║
├────────────┬─────────┤ ╟─────────┐ ║
test.py ─────► │ Skript API │ C API │ ─────► ║ C API │ ║
└────────────┴─────────┘ ╚═════════╧════════╝
........................................
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
╔══════════════════╗ ┌──────────────────────┐
║ WeeChat "core" ║ │ python Erweiterung │
║ ┌─────────╢ ├─────────┬────────────┤
║ │ C API ║ ─────► │ C API │ Skript API │ ─────► test.py
╚════════╧═════════╝ └─────────┴────────────┘
........................................
[[pointers]]
@@ -256,16 +286,78 @@ 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:
callback Beispiele, für jede Skriptsprache:
* python:
[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)
def timer_cb(data, remaining_calls):
weechat.prnt("", "timer! data=%s" % data)
return weechat.WEECHAT_RC_OK
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----------------------------------------
* perl:
[source,perl]
----------------------------------------
sub timer_cb {
my ($data, $remaining_calls) = @_;
weechat::print("", "timer! data=$data");
return weechat::WEECHAT_RC_OK;
}
weechat::hook_timer(1000, 0, 1, "timer_cb", "test");
----------------------------------------
* ruby:
[source,ruby]
----------------------------------------
def timer_cb(data, remaining_calls)
Weechat.print("", "timer! data=#{data}");
return Weechat::WEECHAT_RC_OK
end
Weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
----------------------------------------
* lua:
[source,lua]
----------------------------------------
function timer_cb(data, remaining_calls)
weechat.print("", "timer! data="..data)
return weechat.WEECHAT_RC_OK
end
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----------------------------------------
* tcl:
[source,tcl]
----------------------------------------
proc timer_cb { data remaining_calls } {
weechat::print {} "timer! data=$data"
return $::weechat::WEECHAT_RC_OK
}
weechat::hook_timer 1000 0 1 timer_cb test
----------------------------------------
* guile (scheme):
[source,lisp]
----------------------------------------
(define (timer_cb data remaining_calls)
(weechat:print "" (string-append "timer! data=" data))
weechat:WEECHAT_RC_OK
)
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----------------------------------------
[[script_api]]
@@ -292,7 +384,7 @@ Liste der Skript API Funktionen:
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
string_match, string_has_highlight, string_has_highlight_regex,
string_mask_to_regex, string_remove_color, string_is_command_char,
string_input_for_buffer
string_input_for_buffer, string_eval_expression
| Verzeichnisse |
mkdir_home, mkdir, mkdir_parents
| sortierte Listen |
@@ -353,9 +445,10 @@ Liste der Skript API Funktionen:
infolist_time, infolist_free
| hdata |
hdata_get, hdata_get_var_offset, hdata_get_var_type_string,
hdata_get_var_array_size, hdata_get_var_array_size_string,
hdata_get_var_hdata, hdata_get_list, hdata_check_pointer, hdata_move,
hdata_char, hdata_integer, hdata_long, hdata_string, hdata_pointer,
hdata_time, hdata_hashtable, hdata_get_string
hdata_search, hdata_char, hdata_integer, hdata_long, hdata_string,
hdata_pointer, hdata_time, hdata_hashtable, hdata_update, hdata_get_string
| Upgrade |
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|========================================
@@ -391,7 +484,8 @@ Liste der Konstanten in Skript API:
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, WEECHAT_HOOK_CONNECT_TIMEOUT
WEECHAT_HOOK_CONNECT_MEMORY_ERROR, WEECHAT_HOOK_CONNECT_TIMEOUT,
WEECHAT_HOOK_CONNECT_SOCKET_ERROR
| hook Signal |
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|========================================
@@ -455,15 +549,15 @@ Die print Funktion heißt in Perl/Ruby/Lua/Tcl `print`. In Python lautet die Fun
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.
Sie können einen Text oder einen Befehl in einen Buffer senden. Dies entspricht exakt dem
Verhalten als ob Sie einen Text oder einen Befehl in die Befehlszeile eingeben und selbigen
mit der [Eingabe] Taste bestätigen.
Beispiele:
[source,python]
----------------------------------------
# führt den Befehl "/help" im Core Buffer aus
# führt den Befehl "/help" im aktuellen Buffer aus (die Ausgabe erfolgt im Core-Buffer)
weechat.command("", "/help")
# sendet den Text "Hallo" in den IRC Channel #weechat (die Teilnehmer des Channels sehen diese Nachricht)
@@ -646,21 +740,24 @@ dabei in der Callback-Variable "out" gesichert (Standardausgabe des Prozesses):
[source,python]
----------------------------------------
# Zeigt die Versionen der Linux-Kerne.
kernel_txt = ""
# Zeigt die aktuelle stabile Version von WeeChat an.
weechat_version = ""
def kernel_process_cb(data, command, rc, out, err):
global kernel_txt
def weechat_process_cb(data, command, rc, out, err):
global weechat_version
if out != "":
kernel_txt += out
weechat_version += out
if int(rc) >= 0:
weechat.prnt("", kernel_txt)
weechat.prnt("", "aktuelle stabile WeeChat-Version: %s" % weechat_version)
return weechat.WEECHAT_RC_OK
weechat.hook_process("url:http://www.kernel.org/kdist/finger_banner",
30 * 1000, "kernel_process_cb", "")
weechat.hook_process("url:http://weechat.org/dev/info/stable/",
30 * 1000, "weechat_process_cb", "")
----------------------------------------
[TIP]
Alle Informationen die WeeChat betreffen findet man auf: http://weechat.org/dev/info
Beispiel eines URL Transfers, mit zusätzliche Optionen: Es wird das neuste
WeeChat Entwicklerpaket in die Datei '/tmp/weechat-devel.tar.gz' gesichert:
@@ -699,7 +796,7 @@ skript_optionen = {
"Option2" : "Wert2",
"Option3" : "Wert3",
}
for option, standardwert in skript_optionen.iteritems():
for option, standardwert in skript_optionen.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, standardwert)
----------------------------------------
+20 -16
View File
@@ -41,7 +41,9 @@ zu lokalisieren.
Falls Du die 'bash' als shell benutzt, dann ergänze Deine `~/.bashrc` durch folgende
Zeile:
ulimit -c unlimited
----------------------------------------
ulimit -c unlimited
----------------------------------------
[[download]]
@@ -64,47 +66,47 @@ 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 aktuellen Stand zu kommen 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
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -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
----------------------------------------
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
$ make
$ make install
----------------------------------------------------------
----------------------------------------
[[install_binary_package]]
Installieren des Programm-Paketes
@@ -112,7 +114,7 @@ Installieren des Programm-Paketes
Abhängig Deiner Linux Distribution:
* Debian: http://debian.flashtux.org/
* Gentoo: http://www.weechat.org/download
* Gentoo: http://weechat.org/download
* ArchLinux: PKGBUILD von http://aur.archlinux.org/
* andere: Wissen wir nicht! Eheh.
@@ -126,7 +128,9 @@ starten (nicht mit dem Ordner der stabilen Version).
Die Befehlszeile lautet:
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
----------------------------------------
$ ~/weechat-git/bin/weechat
----------------------------------------
Immer noch munter? Dann solltest Du jetzt das bekannte Interface sehen und nun
prahle vor Anderen, dass Du die neueste WeeChat-Version verwendest :)
+792 -260
View File
File diff suppressed because it is too large Load Diff
+9 -5
View File
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008-2012 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2008-2013 Sébastien Helleu <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -78,11 +78,11 @@ locale_list = ('en_US', 'fr_FR', 'it_IT', 'de_DE', 'ja_JP')
# 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"
plugin_list = { 'weechat' : 'co',
plugin_list = { 'sec' : 'o',
'weechat' : 'co',
'alias' : '',
'aspell' : 'o',
'charset' : 'co',
'demo' : 'co',
'fifo' : 'co',
'irc' : 'co',
'logger' : 'co',
@@ -231,10 +231,14 @@ def get_hdata():
if variables_update:
variables_update += ' +\n'
variables_update += ' %s' % item['text']
if weechat.hdata_update(ptr_hdata, '', { '__create_allowed' : '' }):
if variables_update:
variables_update += ' +\n'
variables_update += ' `__create`'
if weechat.hdata_update(ptr_hdata, '', { '__delete_allowed' : '' }):
if variables_update:
variables_update += ' +\n'
variables_update += ' \'__delete\''
variables_update += ' `__delete`'
hdata[plugin][hdata_name]['vars'] = '\n%s' % variables
hdata[plugin][hdata_name]['vars_update'] = '\n%s' % variables_update
@@ -489,7 +493,7 @@ def docgen_cmd_cb(data, buffer, args):
filename = '%s/plugin_api/hdata.txt' % directory
tmpfilename = '%s.tmp' % filename
f = open(tmpfilename, 'w')
f.write('[width="100%",cols="^1,^2,5,5,5,5",options="header"]\n')
f.write('[width="100%",cols="^1,^2,4,8,4,4",options="header"]\n')
f.write('|========================================\n')
f.write('| %s | %s | %s | %s | %s | %s\n\n' % (_('Plugin'), _('Name'), _('Description'),
_('Variables'), _('Update allowed'),
+102 -83
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -17,92 +17,111 @@
# 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=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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 ${SHAREDIR}/doc/${PROJECT_NAME})
IF(ENABLE_MAN)
# man page
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.txt
COMMENT "Building weechat.1 (en)"
)
ADD_CUSTOM_TARGET(doc-man-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/man1)
ENDIF(ENABLE_MAN)
# plugin API reference
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
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 ${SHAREDIR}/doc/${PROJECT_NAME})
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# 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}" -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 ${SHAREDIR}/doc/${PROJECT_NAME})
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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}/cmdline_options.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 ${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}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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 ${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=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 ${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}" -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 ${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}" -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 ${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}" -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 ${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}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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 ${SHAREDIR}/doc/${PROJECT_NAME})
# developer's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt
COMMENT "Building weechat_dev.en.html"
)
ADD_CUSTOM_TARGET(doc-dev-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.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}" -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 ${SHAREDIR}/doc/${PROJECT_NAME})
# relay protocol
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt
COMMENT "Building weechat_relay_protocol.en.html"
)
ADD_CUSTOM_TARGET(doc-relay-protocol-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.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}" -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 ${SHAREDIR}/doc/${PROJECT_NAME})
# developer's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt
COMMENT "Building weechat_dev.en.html"
)
ADD_CUSTOM_TARGET(doc-dev-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# relay protocol
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt
COMMENT "Building weechat_relay_protocol.en.html"
)
ADD_CUSTOM_TARGET(doc-relay-protocol-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
ENDIF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
+36 -7
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -21,6 +21,8 @@
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat.1.en.txt \
cmdline_options.en.txt \
weechat_user.en.txt \
weechat_plugin_api.en.txt \
weechat_scripting.en.txt \
@@ -32,7 +34,13 @@ EXTRA_DIST = CMakeLists.txt \
$(wildcard autogen/user/*.txt) \
$(wildcard autogen/plugin_api/*.txt)
all-local: weechat_user.en.html \
if MAN
man_targets = weechat.1
man_install = install-man
man_uninstall = uninstall-man
endif
if DOC
doc_targets = weechat_user.en.html \
weechat_plugin_api.en.html \
weechat_scripting.en.html \
weechat_faq.en.html \
@@ -40,9 +48,17 @@ all-local: weechat_user.en.html \
weechat_tester.en.html \
weechat_dev.en.html \
weechat_relay_protocol.en.html
doc_install = install-doc
doc_uninstall = uninstall-doc
endif
all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.en.txt cmdline_options.en.txt
$(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/en/weechat.1.en.txt
# user's guide
weechat_user.en.html: weechat_user.en.txt $(wildcard autogen/user/*.txt)
weechat_user.en.html: weechat_user.en.txt cmdline_options.en.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.txt
# plugin API reference
@@ -73,19 +89,32 @@ weechat_dev.en.html: weechat_dev.en.txt
weechat_relay_protocol.en.html: weechat_relay_protocol.en.txt
$(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.txt
# install docs
# install man/docs
install-data-hook:
install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/man1/
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
# uninstall man/docs
uninstall-hook:
uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/man1/weechat.1
-rmdir $(DESTDIR)$(mandir)/man1
uninstall-doc:
$(RM) $(DESTDIR)$(docdir)/*.en.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
-rm -f weechat.1
-rm -f *.html
+7 -1
View File
@@ -6,7 +6,9 @@
| alias | alias_value | value of alias
| aspell | aspell_langs | list of supported langs for aspell
| aspell | aspell_dicts | list of aspell installed dictionaries
| aspell | aspell_langs | list of all languages supported by aspell
| guile | guile_script | list of scripts
@@ -104,6 +106,8 @@
| weechat | keys_contexts | key contexts
| weechat | layouts_names | names of layouts
| weechat | nicks | nicks in nicklist of current buffer
| weechat | palette_colors | palette colors
@@ -116,6 +120,8 @@
| weechat | proxies_options | options for proxies
| weechat | secured_data | names of secured data (file sec.conf, section data)
| weechat | weechat_commands | weechat commands
| weechat | windows_numbers | numbers of windows
+171 -16
View File
@@ -1,7 +1,23 @@
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
[width="100%",cols="^1,^2,4,8,4,4",options="header"]
|========================================
| Plugin | Name | Description | Variables | Update allowed | Lists
| guile | guile_callback | callback of a script |
'script' (pointer, hdata: "guile_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "guile_callback") +
'next_callback' (pointer, hdata: "guile_callback") |
|
-
| guile | guile_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -12,7 +28,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "guile_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "guile_script") +
'next_script' (pointer, hdata: "guile_script") |
@@ -27,7 +43,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
@@ -42,6 +58,7 @@
'nicks_speaking' (pointer) +
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'join_smart_filtered' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'prev_channel' (pointer, hdata: "irc_channel") +
@@ -139,10 +156,12 @@
'addresses_count' (integer) +
'addresses_array' (string, array_size: "addresses_count") +
'ports_array' (integer, array_size: "addresses_count") +
'retry_array' (integer, array_size: "addresses_count") +
'index_current_address' (integer) +
'current_address' (string) +
'current_ip' (string) +
'current_port' (integer) +
'current_retry' (integer) +
'sock' (integer) +
'hook_connect' (pointer, hdata: "hook") +
'hook_fd' (pointer, hdata: "hook") +
@@ -150,6 +169,7 @@
'hook_timer_sasl' (pointer, hdata: "hook") +
'is_connected' (integer) +
'ssl_connected' (integer) +
'disconnected' (integer) +
'gnutls_sess' (other) +
'tls_cert' (other) +
'tls_cert_key' (other) +
@@ -182,14 +202,16 @@
'cmd_list_regexp' (pointer) +
'last_user_message' (time) +
'last_away_check' (time) +
'last_data_purge' (time) +
'outqueue' (pointer) +
'last_outqueue' (pointer) +
'redirects' (pointer, hdata: "irc_redirect") +
'last_redirect' (pointer, hdata: "irc_redirect") +
'notify_list' (pointer, hdata: "irc_notify") +
'last_notify' (pointer, hdata: "irc_notify") +
'manual_joins' (hashtable) +
'channel_join_key' (hashtable) +
'join_manual' (hashtable) +
'join_channel_key' (hashtable) +
'join_noswitch' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'channels' (pointer, hdata: "irc_channel") +
@@ -200,6 +222,22 @@
'irc_servers' +
'last_irc_server'
| lua | lua_callback | callback of a script |
'script' (pointer, hdata: "lua_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "lua_callback") +
'next_callback' (pointer, hdata: "lua_callback") |
|
-
| lua | lua_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -210,7 +248,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "lua_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "lua_script") +
'next_script' (pointer, hdata: "lua_script") |
@@ -218,6 +256,22 @@
'last_script' +
'scripts'
| perl | perl_callback | callback of a script |
'script' (pointer, hdata: "perl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "perl_callback") +
'next_callback' (pointer, hdata: "perl_callback") |
|
-
| perl | perl_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -228,7 +282,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "perl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "perl_script") +
'next_script' (pointer, hdata: "perl_script") |
@@ -236,6 +290,22 @@
'last_script' +
'scripts'
| python | python_callback | callback of a script |
'script' (pointer, hdata: "python_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "python_callback") +
'next_callback' (pointer, hdata: "python_callback") |
|
-
| python | python_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -246,7 +316,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "python_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "python_script") +
'next_script' (pointer, hdata: "python_script") |
@@ -254,6 +324,22 @@
'last_script' +
'scripts'
| ruby | ruby_callback | callback of a script |
'script' (pointer, hdata: "ruby_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "ruby_callback") +
'next_callback' (pointer, hdata: "ruby_callback") |
|
-
| ruby | ruby_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -264,7 +350,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "ruby_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "ruby_script") +
'next_script' (pointer, hdata: "ruby_script") |
@@ -300,6 +386,22 @@
'last_script_repo' +
'scripts_repo'
| tcl | tcl_callback | callback of a script |
'script' (pointer, hdata: "tcl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "tcl_callback") +
'next_callback' (pointer, hdata: "tcl_callback") |
|
-
| tcl | tcl_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -310,7 +412,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "tcl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "tcl_script") +
'next_script' (pointer, hdata: "tcl_script") |
@@ -321,11 +423,10 @@
| weechat | bar | bar |
'name' (string) +
'options' (pointer) +
'conditions_count' (integer) +
'conditions_array' (string, array_size: "conditions_count") +
'items_count' (integer) +
'items_subcount' (pointer) +
'items_array' (pointer) +
'items_buffer' (pointer) +
'items_prefix' (pointer) +
'items_name' (pointer) +
'items_suffix' (pointer) +
@@ -365,6 +466,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
@@ -400,6 +502,9 @@
'nicklist_root' (pointer, hdata: "nick_group") +
'nicklist_max_length' (integer) +
'nicklist_display_groups' (integer) +
'nicklist_count' (integer) +
'nicklist_groups_count' (integer) +
'nicklist_nicks_count' (integer) +
'nicklist_visible_count' (integer) +
'nickcmp_callback' (pointer) +
'nickcmp_callback_data' (pointer) +
@@ -425,6 +530,9 @@
'num_history' (integer) +
'text_search' (integer) +
'text_search_exact' (integer) +
'text_search_regex' (integer) +
'text_search_regex_compiled' (pointer) +
'text_search_where' (integer) +
'text_search_found' (integer) +
'text_search_input' (string) +
'highlight_words' (string) +
@@ -559,8 +667,10 @@
'text' (string) +
'next_history' (pointer, hdata: "history") +
'prev_history' (pointer, hdata: "history") |
|
-
`__create` +
`__delete` |
'gui_history' +
'last_gui_history'
| weechat | hotlist | hotlist |
'priority' (integer) +
@@ -609,6 +719,41 @@
'last_gui_key_mouse' +
'last_gui_key_search'
| weechat | layout | layout |
'name' (string) +
'layout_buffers' (pointer, hdata: "layout_buffer") +
'last_layout_buffer' (pointer, hdata: "layout_buffer") +
'layout_windows' (pointer, hdata: "layout_window") +
'internal_id' (integer) +
'internal_id_current_window' (integer) +
'prev_layout' (pointer, hdata: "layout") +
'next_layout' (pointer, hdata: "layout") |
|
'gui_layout_current' +
'gui_layouts' +
'last_gui_layout'
| weechat | layout_buffer | buffer layout |
'plugin_name' (string) +
'buffer_name' (string) +
'number' (integer) +
'prev_layout' (pointer, hdata: "layout_buffer") +
'next_layout' (pointer, hdata: "layout_buffer") |
|
-
| weechat | layout_window | window layout |
'internal_id' (integer) +
'parent_node' (pointer, hdata: "layout_window") +
'split_pct' (integer) +
'split_horiz' (integer) +
'child1' (pointer, hdata: "layout_window") +
'child2' (pointer, hdata: "layout_window") +
'plugin_name' (string) +
'buffer_name' (string) |
|
-
| weechat | line | structure with one line |
'data' (pointer, hdata: "line_data") +
'prev_line' (pointer, hdata: "line") +
@@ -645,7 +790,9 @@
'first_line_not_read' (integer) +
'lines_hidden' (integer) +
'buffer_max_length' (integer) +
'prefix_max_length' (integer) |
'buffer_max_length_refresh' (integer) +
'prefix_max_length' (integer) +
'prefix_max_length_refresh' (integer) |
|
-
@@ -692,6 +839,15 @@
'last_weechat_plugin' +
'weechat_plugins'
| weechat | proxy | proxy |
'name' (string) +
'options' (pointer) +
'prev_proxy' (pointer, hdata: "proxy") +
'next_proxy' (pointer, hdata: "proxy") |
|
'last_weechat_proxy' +
'weechat_proxies'
| weechat | window | window |
'number' (integer) +
'win_x' (integer) +
@@ -730,7 +886,6 @@
'scrolling' (integer) +
'start_col' (integer) +
'lines_after' (integer) +
'reset_allowed' (integer) +
'prev_scroll' (pointer, hdata: "window_scroll") +
'next_scroll' (pointer, hdata: "window_scroll") |
|
+5 -1
View File
@@ -48,18 +48,22 @@
| weechat | history | history of commands | buffer pointer (if not set, return global history) (optional) | -
| weechat | hook | list of hooks | - | type,arguments (type is command/timer/.., arguments to get only some hooks (can start or end with "*" as wildcard), both are optional)
| weechat | hook | list of hooks | hook pointer (optional) | type,arguments (type is command/timer/.., arguments to get only some hooks (can start or end with "*" as wildcard), both are optional)
| weechat | hotlist | list of buffers in hotlist | - | -
| weechat | key | list of key bindings | - | context ("default", "search", "cursor" or "mouse") (optional)
| weechat | layout | list of layouts | - | -
| weechat | nicklist | nicks in nicklist for a buffer | buffer pointer | nick_xxx or group_xxx to get only nick/group xxx (optional)
| 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 | proxy | list of proxies | proxy pointer (optional) | proxy name (can start or end with "*" as wildcard) (optional)
| weechat | url_options | options for URL | - | -
| weechat | window | list of windows | window pointer (optional) | "current" for current window or a window number (optional)
+4
View File
@@ -2,6 +2,8 @@
|========================================
| Plugin | Name | Description | Arguments
| aspell | aspell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat")
| fifo | fifo_filename | name of FIFO pipe | -
| irc | irc_buffer | get buffer pointer for an IRC server/channel/nick | server,channel,nick (channel and nicks are optional)
@@ -42,6 +44,8 @@
| weechat | version | WeeChat version | -
| weechat | version_git | WeeChat git version (output of command "git describe" for a development version only, empty for a stable release) | -
| weechat | version_number | WeeChat version (as number) | -
| weechat | weechat_dir | WeeChat directory | -
@@ -2,7 +2,7 @@
|========================================
| Plugin | Name | Description | Hashtable (input) | Hashtable (output)
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
| irc | irc_message_split | split an IRC message (to fit in 512 bytes) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
+10
View File
@@ -48,6 +48,12 @@
| address_scope | long |
| tcp_keepalive | long |
| tcp_keepidle | long |
| tcp_keepintvl | long |
| netrc | long | ignored, optional, required
| netrc_file | string |
@@ -126,6 +132,8 @@
| mail_from | string |
| mail_auth | string |
| tftp_blksize | long |
| ftpport | string |
@@ -270,6 +278,8 @@
| ssl_sessionid_cache | long |
| ssl_options | long | allow_beast
| krblevel | string |
| gssapi_delegation | long | none, policy_flag, flag
+2 -3
View File
@@ -17,9 +17,8 @@ Note: in command, special variables are replaced:
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$nick: current nick
$channel: current channel
$server: current server
$var: where "var" is a local variable of buffer (see /buffer localvar)
examples: $nick, $channel, $server, $plugin, $name
To remove an alias, use command /unalias.
+3 -3
View File
@@ -3,15 +3,15 @@
........................................
/aspell enable|disable|toggle
listdict
setdict <lang>
setdict <dict>[,<dict>...]
deldict
addword [<lang>] <word>
addword [<dict>] <word>
enable: enable aspell
disable: disable aspell
toggle: toggle aspell
listdict: show installed dictionaries
setdict: set dictionary for current buffer
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
deldict: delete dictionary used on current buffer
addword: add a word in personal aspell dictionary
+12 -2
View File
@@ -23,13 +23,23 @@
** type: boolean
** values: on, off (default value: `off`)
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** description: `number of suggestions to display in bar item "aspell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)`
** type: integer
** values: -1 .. 2147483647 (default value: `-1`)
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
** description: `minimum length for a word to be spell checked (use 0 to check all words)`
** type: integer
** values: 0 .. 2147483647 (default value: `2`)
* [[option_aspell.look.color]] *aspell.look.color*
** description: `color used for misspelled words`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
** description: `text color for misspelled words (input bar)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `lightred`)
* [[option_aspell.color.suggestions]] *aspell.color.suggestions*
** description: `text color for suggestions on a misspelled word (status bar)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `default`)
-36
View File
@@ -1,36 +0,0 @@
[[command_demo_demo_buffer]]
[command]*`demo_buffer`* open a new buffer::
........................................
/demo_buffer <name>
........................................
[[command_demo_demo_info]]
[command]*`demo_info`* get and display an info::
........................................
/demo_info <info> [<arguments>]
info: info to display
arguments: optional arguments for info
Without argument, this command displays list of available infos
........................................
[[command_demo_demo_infolist]]
[command]*`demo_infolist`* get and display an infolist::
........................................
/demo_infolist <infolist> [<arguments>]
infolist: infolist to display
arguments: optional arguments for infolist
Without argument, this command displays list of available infolists
........................................
[[command_demo_demo_printf]]
[command]*`demo_printf`* print some messages on current buffer::
........................................
/demo_printf <text>
text: write this text
........................................
+51 -9
View File
@@ -14,7 +14,7 @@ target: server
-current: execute command for channels of current server only
-exclude: exclude some channels ('*' is allowed at beginning or end of channel name, to exclude many channels)
command: command to execute
arguments: arguments for command
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Examples:
execute '/me is testing' on all channels:
@@ -32,13 +32,15 @@ Examples:
-exclude: exclude some servers ('*' is allowed at beginning or end of server name, to exclude many servers)
command: command to execute
arguments: arguments for command
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Examples:
change nick on all servers:
/allserv nick newnick
set away on all servers:
/allserv away I'm away
do a whois on my nick on all servers:
/allserv whois $nick
........................................
[[command_irc_ban]]
@@ -56,7 +58,7 @@ Without argument, this command display ban list for current channel.
[command]*`connect`* connect to IRC server(s)::
........................................
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-open [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: server name, which can be:
- internal server name (created by /server add, recommended usage)
@@ -65,6 +67,7 @@ Without argument, this command display ban list for current channel.
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
-auto: connect to servers with autoconnect enabled
-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
@@ -118,18 +121,29 @@ Examples:
[command]*`dehalfop`* remove channel half-operator status from nick(s)::
........................................
/dehalfop <nick> [<nick>...]
nick: nick or mask (can start or end with "*" as wildcard)
*: remove channel half-operator status from everybody on channel except yourself
........................................
[[command_irc_deop]]
[command]*`deop`* remove channel operator status from nick(s)::
........................................
/deop <nick> [<nick>...]
* -yes
nick: nick or mask (can start or end with "*" as wildcard)
*: remove channel operator status from everybody on channel except yourself
........................................
[[command_irc_devoice]]
[command]*`devoice`* remove voice from nick(s)::
........................................
/devoice <nick> [<nick>...]
* -yes
nick: nick or mask (can start or end with "*" as wildcard)
*: remove voice from everybody on channel
........................................
[[command_irc_die]]
@@ -155,6 +169,10 @@ target: server name
[command]*`halfop`* give channel half-operator status to nick(s)::
........................................
/halfop <nick> [<nick>...]
* -yes
nick: nick or mask (can start or end with "*" as wildcard)
*: give channel half-operator status to everybody on channel
........................................
[[command_irc_ignore]]
@@ -212,16 +230,18 @@ nick: nick
[[command_irc_join]]
[command]*`join`* join a channel::
........................................
/join [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
server: send to this server (internal name)
channel: channel name to join
key: key to join the channel (channels with a key must be the first in list)
-noswitch: do not switch to new buffer
server: send to this server (internal name)
channel: channel name to join
key: key to join the channel (channels with a key must be the first in list)
Examples:
/join #weechat
/join #protectedchan,#weechat key
/join -server freenode #weechat
/join -noswitch #weechat
........................................
[[command_irc_kick]]
@@ -417,6 +437,10 @@ Examples:
[command]*`op`* give channel operator status to nick(s)::
........................................
/op <nick> [<nick>...]
* -yes
nick: nick or mask (can start or end with "*" as wildcard)
*: give channel operator status to everybody on channel
........................................
[[command_irc_oper]]
@@ -458,13 +482,24 @@ daemon2: forward message to this daemon
[[command_irc_query]]
[command]*`query`* send a private message to a nick::
........................................
/query [-server <server>] <nick> [<text>]
/query [-server <server>] <nick>[,<nick>...] [<text>]
server: send to this server (internal name)
nick: nick for private conversation
text: text to send
........................................
[[command_irc_quiet]]
[command]*`quiet`* quiet nicks or hosts::
........................................
/quiet [<channel>] [<nick> [<nick>...]]
channel: channel for quiet
nick: user or host to quiet
Without argument, this command display quiet list for current channel.
........................................
[[command_irc_quote]]
[command]*`quote`* send raw data to server without parsing::
........................................
@@ -703,6 +738,9 @@ server: server name
[command]*`voice`* give voice to nick(s)::
........................................
/voice <nick> [<nick>...]
nick: nick or mask (can start or end with "*" as wildcard)
*: give voice to everybody on channel
........................................
[[command_irc_wallchops]]
@@ -734,10 +772,14 @@ mask: only information which match this mask
[[command_irc_whois]]
[command]*`whois`* query information about user(s)::
........................................
/whois [<server>] <nick>[,<nick>...]
/whois [<server>] [<nick>[,<nick>...]]
server: server name
nick: nick (may be a mask)
Without argument, this command will do a whois on:
- your own nick if buffer is a server/channel
- remote nick if buffer is a private.
........................................
[[command_irc_whowas]]
+65 -45
View File
@@ -38,21 +38,11 @@
** type: string
** values: any string (default value: `"1,-1:darkgray"`)
* [[option_irc.color.nick_prefix]] *irc.color.nick_prefix*
** description: `color for nick prefix (prefix is custom string displayed before nick)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
* [[option_irc.color.nick_prefixes]] *irc.color.nick_prefixes*
** description: `color for nick prefixes using mode char (o=op, h=halfop, v=voice, ..), format is: "o:color1;h:color2;v:color3" (if a mode is not found, WeeChat will try with next modes received from server ("PREFIX"); a special mode "*" can be used as default color if no mode has been found in list)`
** type: string
** values: any string (default value: `"q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue"`)
* [[option_irc.color.nick_suffix]] *irc.color.nick_suffix*
** description: `color for nick suffix (suffix is custom string displayed after nick)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
* [[option_irc.color.notice]] *irc.color.notice*
** description: `color for text "Notice" in notices`
** type: color
@@ -143,6 +133,11 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** description: `comma-separated list of messages to display after joining a channel: 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 366 = names on channel`
** type: string
** values: any string (default value: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** description: `display old topic when channel topic is changed`
** type: boolean
@@ -158,11 +153,6 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.hide_nickserv_pwd]] *irc.look.hide_nickserv_pwd*
** description: `hide password displayed by nickserv`
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
** description: `comma separated list of words to highlight in channel buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their value), these words are added to buffer local variable "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"`
** type: string
@@ -224,10 +214,15 @@
** values: none, next, near_server (default value: `none`)
* [[option_irc.look.nick_color_force]] *irc.look.nick_color_force*
** description: `force color for some nicks: hash computed with nickname to find color will not be used for these nicks (format is: "nick1:color1;nick2:color2"); lookup for nicks is with exact case then lower case, so it's possible to use only lower case for nicks in this option`
** description: `force color for some nicks: hash computed with nickname to find color will not be used for these nicks (format is: "nick1:color1;nick2:color2"); look up for nicks is with exact case then lower case, so it's possible to use only lower case for nicks in this option`
** type: string
** values: any string (default value: `""`)
* [[option_irc.look.nick_color_hash]] *irc.look.nick_color_hash*
** description: `hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), sum = sum of letters`
** type: integer
** values: djb2, sum (default value: `sum`)
* [[option_irc.look.nick_color_stop_chars]] *irc.look.nick_color_stop_chars*
** description: `chars used to stop in nick when computing color with letters of nick (at least one char outside this list must be in string before stopping) (example: nick "|nick|away" with "|" in chars will return color of nick "|nick")`
** type: string
@@ -248,28 +243,28 @@
** type: boolean
** values: on, off (default value: `off`)
* [[option_irc.look.nick_prefix]] *irc.look.nick_prefix*
** description: `text to display before nick in chat window`
* [[option_irc.look.nicks_hide_password]] *irc.look.nicks_hide_password*
** description: `comma separated list of nicks for which passwords will be hidden when a message is sent, for example to hide password in message displayed by "/msg nickserv identify password", example: "nickserv,nickbot"`
** type: string
** values: any string (default value: `""`)
* [[option_irc.look.nick_suffix]] *irc.look.nick_suffix*
** description: `text to display after nick in chat window`
** type: string
** values: any string (default value: `""`)
** values: any string (default value: `"nickserv"`)
* [[option_irc.look.notice_as_pv]] *irc.look.notice_as_pv*
** description: `display notices as private messages (if auto, use private buffer if found)`
** type: integer
** values: auto, never, always (default value: `auto`)
* [[option_irc.look.notice_welcome_redirect]] *irc.look.notice_welcome_redirect*
** description: `automatically redirect channel welcome notices to the channel buffer; such notices have the nick as target but a channel name in beginning of notice message, for example notices sent by freenode server which look like: "[#channel] Welcome to this channel..."`
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.notify_tags_ison]] *irc.look.notify_tags_ison*
** description: `comma separated list of tags used in messages printed by notify when a nick joins or quits server (result of command ison), for example: "notify_highlight", "notify_message" or "notify_private"`
** description: `comma separated list of tags used in messages displayed by notify when a nick joins or quits server (result of command ison), for example: "notify_message", "notify_private" or "notify_highlight"`
** type: string
** values: any string (default value: `"notify_message"`)
* [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois*
** description: `comma separated list of tags used in messages printed by notify when a nick away status changes (result of command whois), for example: "notify_highlight", "notify_message" or "notify_private"`
** description: `comma separated list of tags used in messages displayed by notify when a nick away status changes (result of command whois), for example: "notify_message", "notify_private" or "notify_highlight"`
** type: string
** values: any string (default value: `"notify_message"`)
@@ -278,6 +273,16 @@
** type: boolean
** values: on, off (default value: `off`)
* [[option_irc.look.pv_buffer]] *irc.look.pv_buffer*
** description: `merge private buffers`
** type: integer
** values: independent, merge_by_server, merge_all (default value: `independent`)
* [[option_irc.look.pv_tags]] *irc.look.pv_tags*
** description: `comma separated list of tags used in private messages, for example: "notify_message", "notify_private" or "notify_highlight"`
** type: string
** values: any string (default value: `"notify_private"`)
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
** description: `number of raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)`
** type: integer
@@ -294,7 +299,7 @@
** values: on, off (default value: `on`)
* [[option_irc.look.smart_filter_delay]] *irc.look.smart_filter_delay*
** description: `delay for filtering join/part/quit messages (in minutes)`
** description: `delay for filtering join/part/quit messages (in minutes): if the nick did not speak during the last N minutes, the join/part/quit is filtered`
** type: integer
** values: 1 .. 10080 (default value: `5`)
@@ -303,8 +308,13 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
** description: `delay for unmasking a join message that was filtered with tag "irc_smart_filter" (in minutes): if a nick has joined max N minutes ago and then says something on channel (message, notice or update on topic), the join is unmasked, as well as nick changes after this join (0 = disable: never unmask a join)`
** type: integer
** values: 0 .. 10080 (default value: `30`)
* [[option_irc.look.smart_filter_nick]] *irc.look.smart_filter_nick*
** description: `enable smart filter for "nick" messages`
** description: `enable smart filter for "nick" messages (nick changes)`
** type: boolean
** values: on, off (default value: `on`)
@@ -318,6 +328,11 @@
** type: boolean
** values: on, off (default value: `off`)
* [[option_irc.network.alternate_nick]] *irc.network.alternate_nick*
** description: `get an alternate nick when the nick is already used on server: add some "_" until the nick has a length of 9, and then replace last char (or the two last chars) by a number from 1 to 99, until we find a nick not used on server`
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
** description: `growing factor for autoreconnect delay to server (1 = always same delay, 2 = delay*2 for each retry, ..)`
** type: integer
@@ -343,16 +358,16 @@
** type: integer
** values: 0 .. 604800 (default value: `60`)
* [[option_irc.network.lag_disconnect]] *irc.network.lag_disconnect*
** description: `disconnect after important lag (in minutes, 0 = never disconnect)`
** type: integer
** values: 0 .. 10080 (default value: `0`)
* [[option_irc.network.lag_min_show]] *irc.network.lag_min_show*
** description: `minimum lag to show (in milliseconds)`
** type: integer
** values: 0 .. 86400000 (default value: `500`)
* [[option_irc.network.lag_reconnect]] *irc.network.lag_reconnect*
** description: `reconnect to server if lag is greater than this value (in seconds, 0 = never reconnect)`
** type: integer
** values: 0 .. 604800 (default value: `0`)
* [[option_irc.network.lag_refresh_interval]] *irc.network.lag_refresh_interval*
** description: `interval between two refreshs of lag item, when lag is increasing (in seconds)`
** type: integer
@@ -373,6 +388,11 @@
** type: boolean
** values: on, off (default value: `off`)
* [[option_irc.network.whois_double_nick]] *irc.network.whois_double_nick*
** description: `double the nick in /whois command (if only one nick is given), to get idle time in answer; for example: "/whois nick" will send "whois nick nick"`
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.server_default.addresses]] *irc.server_default.addresses*
** description: `list of hostname/port or IP/port for server (separated by comma)`
** type: string
@@ -394,7 +414,7 @@
** values: on, off (default value: `off`)
* [[option_irc.server_default.autojoin]] *irc.server_default.autojoin*
** description: `comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2")`
** description: `comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2") (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -409,7 +429,7 @@
** values: 1 .. 65535 (default value: `10`)
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
** description: `automatically rejoin channels after kick`
** description: `automatically rejoin channels after kick; you can define a buffer local variable on a channel to override this value (name of variable: "autorejoin", value: "on" or "off")`
** type: boolean
** values: on, off (default value: `off`)
@@ -429,12 +449,12 @@
** values: 0 .. 1000000 (default value: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** description: `comma-separated list of client capabilities to enable for server if they are available (example: "multi-prefix,extended-join")`
** description: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: multi-prefix, userhost-in-names (example: "multi-prefix,userhost-in-names")`
** type: string
** values: any string (default value: `""`)
* [[option_irc.server_default.command]] *irc.server_default.command*
** description: `command(s) to run when connected to server (many commands should be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value)`
** description: `command(s) to run when connected to server (many commands should be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value) (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -459,9 +479,9 @@
** values: any string (default value: `"WeeChat %v"`)
* [[option_irc.server_default.ipv6]] *irc.server_default.ipv6*
** description: `use IPv6 protocol for server communication`
** description: `use IPv6 protocol for server communication (try IPv6 then fallback to IPv4); if disabled, only IPv4 is used`
** type: boolean
** values: on, off (default value: `off`)
** values: on, off (default value: `on`)
* [[option_irc.server_default.local_hostname]] *irc.server_default.local_hostname*
** description: `custom local hostname/IP for server (optional, if empty local hostname is used)`
@@ -479,12 +499,12 @@
** values: any string (default value: `""`)
* [[option_irc.server_default.password]] *irc.server_default.password*
** description: `password for server`
** description: `password for server (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
* [[option_irc.server_default.proxy]] *irc.server_default.proxy*
** description: `proxy used for this server (optional)`
** description: `name of proxy used for this server (optional, proxy must be defined with command /proxy)`
** type: string
** values: any string (default value: `""`)
@@ -494,12 +514,12 @@
** values: any string (default value: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** description: `mechanism for SASL authentication: "plain" for plain text password, "dh-blowfish" for crypted password, "external" for authentication using client side SSL cert`
** description: `mechanism for SASL authentication: "plain" for plain text password, "dh-blowfish" for blowfish crypted password, "dh-aes" for AES crypted password, "external" for authentication using client side SSL cert`
** type: integer
** values: plain, dh-blowfish, external (default value: `plain`)
** values: plain, dh-blowfish, dh-aes, external (default value: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** description: `password for SASL authentication`
** description: `password for SASL authentication (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -509,7 +529,7 @@
** values: 1 .. 3600 (default value: `15`)
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
** description: `username for SASL authentication`
** description: `username for SASL authentication (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
+2
View File
@@ -3,11 +3,13 @@
........................................
/logger list
set <level>
flush
disable
list: show logging status for opened buffers
set: set logging level on current buffer
level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages)
flush: write all log files now
disable: disable logging on current buffer (set level to 0)
Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
+10
View File
@@ -33,6 +33,16 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
** description: `text to write before nick in prefix of message, example: "<"`
** type: string
** values: any string (default value: `""`)
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
** description: `text to write after nick in prefix of message, example: ">"`
** type: string
** values: any string (default value: `""`)
* [[option_logger.file.path]] *logger.file.path*
** description: `path for WeeChat log files; "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default); date specifiers are permitted (see man strftime)`
** type: string
+14 -4
View File
@@ -2,8 +2,8 @@
[command]*`relay`* relay control::
........................................
/relay list|listfull|listrelay
add <protocol.name> <port>
del <protocol.name>
add [ipv4.][ipv6.][ssl.]<protocol.name> <port>
del [ipv4.][ipv6.][ssl.]<protocol.name>
raw
sslcertkey
@@ -12,10 +12,12 @@
listrelay: list relays (name and port)
add: add relay for a protocol + name
del: remove relay for a protocol + name
ipv4: force use of IPv4
ipv6: force use of IPv6
ssl: enable SSL
protocol.name: protocol and name to relay:
- protocol "irc": name is the server to share
- protocol "irc": name is the server to share (optional, if not given, the server name must be sent by client in command "PASS", with format: "PASS server:password")
- protocol "weechat" (name is not used)
Note: the protocol can be prefixed by "ssl." to enable SSL
port: port used for relay
raw: open buffer with raw Relay data
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
@@ -27,9 +29,17 @@ Examples:
/relay add irc.freenode 8000
irc proxy, for server "freenode", with SSL:
/relay add ssl.irc.freenode 8001
irc proxy, for all servers (client will choose), with SSL:
/relay add ssl.irc 8002
weechat protocol:
/relay add weechat 9000
weechat protocol with SSL:
/relay add ssl.weechat 9001
weechat protocol with SSL, using only IPv4:
/relay add ipv4.ssl.weechat 9001
weechat protocol with SSL, using only IPv6:
/relay add ipv6.ssl.weechat 9001
weechat protocol with SSL, using IPv4 + IPv6:
/relay add ipv4.ipv6.ssl.weechat 9001
........................................
+37 -2
View File
@@ -43,6 +43,31 @@
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `white`)
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
** description: `maximum number of minutes in backlog per IRC channel (0 = unlimited, examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)`
** type: integer
** values: 0 .. 2147483647 (default value: `1440`)
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** description: `maximum number of lines in backlog per IRC channel (0 = unlimited)`
** type: integer
** values: 0 .. 2147483647 (default value: `256`)
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** description: `display backlog starting from last client disconnect`
** type: boolean
** values: on, off (default value: `on`)
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
** description: `tags of messages which are displayed in backlog per IRC channel (supported tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = all supported tags`
** type: string
** values: any string (default value: `"irc_privmsg"`)
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
** description: `format for time in backlog messages (see man strftime for format) (not used if server capability "server-time" was enabled by client, because time is sent as irc tag); empty string = disable time in backlog messages`
** type: string
** values: any string (default value: `"[%H:%M] "`)
* [[option_relay.look.auto_open_buffer]] *relay.look.auto_open_buffer*
** description: `auto open relay buffer when a new client is connecting`
** type: boolean
@@ -54,7 +79,7 @@
** values: 0 .. 65535 (default value: `256`)
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** description: `regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^(123.45.67.89|192.160.*)$"`
** description: `regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive); if IPv6 is enabled and that connection is made using IPv4, it will be IPv4-mapped IPv6 address (like: "::ffff:127.0.0.1"), example: "^((::ffff:)?123.45.67.89|192.160.*)$"`
** type: string
** values: any string (default value: `""`)
@@ -68,13 +93,18 @@
** type: integer
** values: 0 .. 9 (default value: `6`)
* [[option_relay.network.ipv6]] *relay.network.ipv6*
** description: `listen on IPv6 socket by default (in addition to IPv4 which is default); protocols IPv4 and IPv6 can be forced (individually or together) in the protocol name (see /help relay)`
** type: boolean
** values: on, off (default value: `on`)
* [[option_relay.network.max_clients]] *relay.network.max_clients*
** description: `maximum number of clients connecting to a port`
** type: integer
** values: 1 .. 1024 (default value: `5`)
* [[option_relay.network.password]] *relay.network.password*
** description: `password required by clients to access this relay (empty value means no password required)`
** description: `password required by clients to access this relay (empty value means no password required) (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -83,3 +113,8 @@
** type: string
** values: any string (default value: `"%h/ssl/relay.pem"`)
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** description: `regular expression with origins allowed in websockets (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^http://(www\.)?example\.(com|org)"`
** type: string
** values: any string (default value: `""`)
+3 -1
View File
@@ -4,6 +4,7 @@
/rmodifier list|listdefault
add <name> <modifiers> <groups> <regex>
del <name>|-all [<name>...]
missing
default -yes
list: list all rmodifiers
@@ -11,10 +12,11 @@ listdefault: list default rmodifiers
add: add a rmodifier
name: name of rmodifier
modifiers: comma separated list of modifiers
groups: action on groups found: comma separated list of groups (from 1 to 9) with optional "*" after number to hide group
groups: action on groups captured in regular expression (inside parentheses): comma separated list of groups (from 1 to 9) with optional "*" after number to hide the group
regex: regular expression (case insensitive, can start by "(?-i)" to become case sensitive)
del: delete a rmodifier
-all: delete all rmodifiers
missing: add missing rmodifiers
default: restore default rmodifiers
Examples:
+20 -15
View File
@@ -5,25 +5,29 @@
search <text>
show <script>
load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...]
upgrade
update
list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer
-i: copy list of loaded scripts in command line (for sending to buffer)
search: search scripts by tags or text and display result on scripts buffer
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
install: install/upgrade script(s)
remove: remove script(s)
installremove: install or remove script(s), depending on current state
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer
-i: copy list of loaded scripts in command line (for sending to buffer)
search: search scripts by tags or text and display result on scripts buffer
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
autoload: autoload the script
noautoload: do not autoload the script
toggleautoload: toggle autoload
install: install/upgrade script(s)
remove: remove script(s)
installremove: install or remove script(s), depending on current state
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
Without argument, this command opens a buffer with list of scripts.
@@ -43,6 +47,7 @@ Keys on script buffer:
alt+l load script
alt+L reload script
alt+u unload script
alt+A autoload script
alt+h (un)hold script
alt+v view script
+5
View File
@@ -168,6 +168,11 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** description: `autoload scripts installed (make a link in "autoload" directory to script in parent directory)`
** type: boolean
** values: on, off (default value: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** description: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
** type: integer
+20
View File
@@ -0,0 +1,20 @@
* [[option_sec.crypt.cipher]] *sec.crypt.cipher*
** description: `cipher used to crypt data (the number after algorithm is the size of the key in bits)`
** type: integer
** values: aes128, aes192, aes256 (default value: `aes256`)
* [[option_sec.crypt.hash_algo]] *sec.crypt.hash_algo*
** description: `hash algorithm used to check the decrypted data`
** type: integer
** values: sha224, sha256, sha384, sha512 (default value: `sha256`)
* [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** description: `path to a file containing the passphrase to encrypt/decrypt secured data; this option is used only when reading file sec.conf; only first line of file is used; this file is used only if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); security note: it is recommended to keep this file readable only by you and store it outside WeeChat home (for example in your home); example: "~/.weechat-passphrase"`
** type: string
** values: any string (default value: `""`)
* [[option_sec.crypt.salt]] *sec.crypt.salt*
** description: `use salt when generating key used in encryption (recommended for maximum security); when enabled, the content of crypted data in file sec.conf will be different on each write of the file; if you put the file sec.conf in a version control system, then you can turn off this option to have always same content in file`
** type: boolean
** values: on, off (default value: `on`)
+144 -15
View File
@@ -1,9 +1,9 @@
[[command_weechat_away]]
[command]*`away`* toggle away status::
[command]*`away`* set or remove away status::
........................................
/away [-all] [<message>]
-all: toggle away status on all connected servers
-all: set or remove away status on all connected servers
message: message for away (if no message is given, away status is removed)
........................................
@@ -11,7 +11,7 @@ message: message for away (if no message is given, away status is removed)
[command]*`bar`* manage bars::
........................................
/bar list|listfull|listitems
add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...]
add <name> <type>[,<condition>] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
del <name>|-all
set <name> <option> <value>
@@ -25,11 +25,12 @@ message: message for away (if no message is given, away status is removed)
name: name of bar (must be unique)
type: root: outside windows,
window: inside windows, with optional conditions (see below)
cond1,...: condition(s) for displaying bar (only for type "window"):
condition: condition(s) for displaying bar (only for type "window"):
active: on active window
inactive: on inactive windows
nicklist: on windows with nicklist
without condition, bar is always displayed
other condition: see /help weechat.bar.xxx.conditions and /help eval
without condition, the bar is always displayed
position: bottom, top, left or right
size: size of bar (in chars)
separator: 1 for using separator (line), 0 or nothing means no separator
@@ -124,12 +125,14 @@ Examples:
/color alias <color> <name>
unalias <color>
reset
-o
alias: add an alias for a color
unalias: delete an alias
color: color number (greater than or equal to 0, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "orange")
reset: reset all color pairs (required when no more color pairs are available if automatic reset is disabled, see option weechat.look.color_pairs_auto_reset)
-o: send terminal/colors info to current buffer as input
Without argument, this command displays colors in a new buffer.
@@ -189,6 +192,7 @@ Examples:
buffer: dump buffer content with hexadecimal values in log file
color: display infos about current color pairs
cursor: toggle debug for cursor mode
dirs: display directories
hdata: display infos about hdata (with free: remove all hdata in memory)
hooks: display infos about hooks
infolists: display infos about infolists
@@ -199,6 +203,63 @@ infolists: display infos about infolists
windows: display windows tree
........................................
[[command_weechat_eval]]
[command]*`eval`* evaluate expression and send result to buffer::
........................................
/eval [-n] <expression>
[-n] -c <expression1> <operator> <expression2>
-n: display result without sending it to buffer (debug mode)
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
expression: expression to evaluate, variables with format ${variable} are replaced (see below)
operator: a logical or comparison operator:
- logical operators:
&& boolean "and"
|| boolean "or"
- comparison operators:
== equal
!= not equal
<= less or equal
< less
>= greater or equal
> greater
=~ is matching regex
!~ is NOT matching regex
An expression is considered as "true" if it is not NULL, not empty, and different from "0".
The comparison is made using integers if the two expressions are valid integers.
To force a string comparison, add double quotes around each expression, for example:
50 > 100 ==> 0
"50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority :
1. a color (format: color:xxx)
2. an option (format: file.section.option)
3. a local variable in buffer
4. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example:
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Examples:
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
/eval -n -c (8 > 12) && (5 > 2) ==> 0
/eval -n -c abcd =~ ^ABC ==> 1
/eval -n -c abcd =~ (?-i)^ABC ==> 0
/eval -n -c abcd =~ (?-i)^abc ==> 1
/eval -n -c abcd !~ abc ==> 0
........................................
[[command_weechat_filter]]
[command]*`filter`* filter messages in buffers, to hide/show them according to tags or regex::
........................................
@@ -233,7 +294,7 @@ Tags most commonly used:
no_filter, no_highlight, no_log, log0..log9 (log level),
notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick),
irc_xxx (xxx is command name or number, see /server raw),
irc_xxx (xxx is command name or number, see /server raw or /debug tags),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
To see tags for lines in buffers: /debug tags
@@ -287,6 +348,8 @@ list of actions:
complete_previous: complete word with previous completion
search_text: search text in buffer
search_switch_case: switch exact case for search
search_switch_regex: switch search type: string/regular expression
search_switch_where: switch search in messages/prefixes
search_previous: search previous line
search_next: search next line
search_stop: stop search
@@ -390,17 +453,23 @@ Examples:
[[command_weechat_layout]]
[command]*`layout`* save/apply/reset layout for buffers and windows::
........................................
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
/layout save [<name>] [buffers|windows]
apply [<name>] [buffers|windows]
leave
reset [<name>] [buffers|windows]
rename <name> <new_name>
save: save current layout
apply: apply saved layout
reset: remove saved layout
leave: leave current layout (does not update any layout)
reset: reset buffers and/or windows in a saved layout
(if both buffers and windows are reset, the layout is removed)
rename: rename a layout
name: name for saved layout (default is "default")
buffers: save/apply only buffers (order of buffers)
windows: save/apply only windows (buffer displayed by each window)
Without argument, this command displays saved layout.
Without argument, this command displays saved layouts.
........................................
[[command_weechat_mouse]]
@@ -545,19 +614,62 @@ file: configuration file to save (without extension ".conf")
Without argument, all files (WeeChat and plugins) are saved.
........................................
[[command_weechat_secure]]
[command]*`secure`* manage secured data (passwords or private data encrypted in file sec.conf)::
........................................
/secure passphrase <passphrase>|-delete
decrypt <passphrase>|-discard
set <name> <value>
del <name>
passphrase: change the passphrase (without passphrase, data is stored as plain text in file sec.conf)
-delete: delete passphrase
decrypt: decrypt data still encrypted (it happens only if passphrase was not given on startup)
-discard: discard all data still encrypted
set: add or change secured data
del: delete secured data
Without argument, this command displays secured data in a new buffer.
When a passphrase is used (data encrypted), it is asked by WeeChat on startup.
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade).
Secured data with format ${sec.data.xxx} can be used in:
- command line argument "--run-command"
- options weechat.startup.command_{before|after}_plugins
- proxy options: username, password
- irc server options: autojoin, command, password, sasl_{username|password}
- option relay.network.password
- command /eval.
Examples:
set a passphrase:
/secure passphrase this is my passphrase
encrypt freenode SASL password:
/secure set freenode mypassword
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
encrypt oftc password for nickserv:
/secure set oftc mypassword
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
alias to ghost the nick "mynick":
/alias ghost /eval /msg -server freenode nickserv ghost mynick ${sec.data.freenode}
........................................
[[command_weechat_set]]
[command]*`set`* set config options::
........................................
/set [<option> [<value>]]
diff [<option> [<option>...]]
option: name of an option (can start or end with '*' to list many options)
value: new value for option
diff: display only changed options
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string : any string ("" for empty string)
color : color name, ++number or --number
string: any string ("" for empty string)
color: color name, ++number or --number
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
@@ -566,6 +678,10 @@ Examples:
/set *highlight*
add a word to highlight:
/set weechat.look.highlight "word"
display changed options:
/set diff
display changed options in irc plugin:
/set diff irc.*
........................................
[[command_weechat_unset]]
@@ -587,9 +703,11 @@ Examples:
[[command_weechat_upgrade]]
[command]*`upgrade`* upgrade WeeChat without disconnecting from servers::
........................................
/upgrade [<path_to_binary>]
/upgrade [<path_to_binary>|-quit]
path_to_binary: path to WeeChat binary (default is current binary)
-dummy: do nothing (option used to prevent accidental completion with "-quit")
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
@@ -600,6 +718,16 @@ Upgrade process has 4 steps:
2. unload all plugins (configuration files (*.conf) are written on disk)
3. save WeeChat configuration (weechat.conf)
4. execute new WeeChat binary and reload session.
With option "-quit", the process is slightly different:
1. close *ALL* connections (irc, xfer, relay, ...)
2. save session into files (*.upgrade)
3. unload all plugins
4. save WeeChat configuration
5. quit WeeChat
Then later you can restore session with command: weechat --upgrade
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat".
........................................
[[command_weechat_uptime]]
@@ -658,7 +786,7 @@ Examples:
refresh
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
swap [-window <number>] [up|down|left|right]
zoom[-window <number>]
@@ -685,6 +813,7 @@ Examples:
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_beyond_end: scroll beyond the end of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker

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