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

Compare commits

..

926 Commits

Author SHA1 Message Date
Sebastien Helleu f25dd0c81e Version 0.4.3 2014-02-09 09:52:53 +01:00
Sebastien Helleu 2b4401339a doc: clean temporary files used to build man pages (autotools) 2014-02-08 23:40:21 +01:00
Sebastien Helleu 7b0e01265b doc: add missing Polish docs in Makefile.am 2014-02-08 23:38:31 +01:00
Ryuunosuke Ayanokouzi 1eedace713 doc: update Japanese translations, user/developer's guide and plugin API reference 2014-02-08 15:15:18 +01:00
Sebastien Helleu 43fb54f51d core: fix apply of layout when buffers that are not in layout are before some buffers in layout
Now when a layout is applied, the buffers in layout are inserted/sorted
first in the new list. Then the other buffers (not in layout) are added
after this loop, and then they are added after all layout buffers.
2014-02-07 17:07:45 +01:00
Sebastien Helleu bbd212c675 weercd.py: use /usr/bin/env in python shebang 2014-02-07 15:01:39 +01:00
Sebastien Helleu 52fb9fc237 core: fix typo in FindGnuTLS.cmake 2014-02-06 17:26:36 +01:00
Sebastien Helleu 0ffb61617a core: fix hotlist problems after apply of a layout (bug #41481)
This commit fixes a problem when computing the value of "num_displayed"
in all buffers. For merged buffers (with same number), the num_displayed
of each merged buffer must be incremented (and not only the current
active buffer).
2014-02-06 15:17:00 +01:00
Krzysztof Koroscik 6c33b0d6e6 doc: update Polish translations and user's guide 2014-02-06 11:25:35 +01:00
Sebastien Helleu d8b9e0a6bf ruby: add detection and fix compilation with Ruby 2.0 (patch #8209)
Now the search for Ruby is first performed with pkg-config and includes
detection of Ruby 2.0.
If not found, the old code for detection is used (for old distros or
old Ruby versions).

The specific test on Ruby 1.9.0 (to disable this version) has been
removed (1.9.0 was a dev/unstable version from 2007, quite old now).
2014-02-05 17:27:36 +01:00
Sebastien Helleu 15394897e3 core: remove multiple detections of pkg-config in configure.ac 2014-02-05 13:58:07 +01:00
Patrick Steinhardt 47ced4833d core: fix installation of weechat-plugin.h with autotools (patch #8305) 2014-02-04 22:18:12 +01:00
Sebastien Helleu a3b5ae5e65 alias: add default alias /beep => /print -stderr \a 2014-02-04 16:20:55 +01:00
Sebastien Helleu 7fa74d89f7 core: fix a French translation 2014-02-04 10:59:29 +01:00
Sebastien Helleu bc7ed9f3a2 doc: fix typos in French relay protocol 2014-02-04 10:58:23 +01:00
Sebastien Helleu b91378fedc core: use structure itself for sizeof in two malloc 2014-02-04 08:34:05 +01:00
Sebastien Helleu 944972bc95 doc: add French version of relay protocol 2014-02-03 15:41:33 +01:00
Sebastien Helleu a2839fabb5 ruby: fix compilation warning 2014-02-02 20:33:03 +01:00
Sebastien Helleu 6c47428e78 core: fix compilation on Android (replace include of sys/termios.h by termios.h) (bug #41434) 2014-02-02 15:12:37 +01:00
Sebastien Helleu fcd120fa50 doc: minor changes in developer's guide 2014-02-02 11:10:33 +01:00
Sebastien Helleu 092f70aa7e core: update ChangeLog 2014-02-02 09:59:32 +01:00
Sebastien Helleu 01129cbc79 Version 0.4.3-rc2 2014-02-02 09:57:51 +01:00
Sebastien Helleu 74d236dfeb doc: add French developer's guide 2014-02-02 09:49:59 +01:00
Nils Görs 6b0bd1302a core: update German translations 2014-02-02 09:28:42 +01:00
Sebastien Helleu 01fb345fe0 core: fix compilation on Android (replace calls to rindex by strrchr) (bug #41420, patch #8301) 2014-02-02 09:00:46 +01:00
Sebastien Helleu 9db356bd9b core: fix crash when creating two bars with same name but different case (bug #41418) 2014-02-01 09:12:51 +01:00
Sebastien Helleu 219f75b225 irc: clear the gnutls session in all cases after SSL connection error 2014-01-31 19:24:26 +01:00
Sebastien Helleu 59481611dd relay: send backlog for irc private buffers 2014-01-31 16:41:12 +01:00
Sebastien Helleu ac4e762a0e doc: replace weeget.py by script plugin in plugin API reference 2014-01-30 12:33:09 +01:00
Sebastien Helleu f3d614460b core: fix typos in translations and docs 2014-01-29 22:37:33 +01:00
Sebastien Helleu 537f5617cf core: fix typo in NEWS 2014-01-28 22:24:45 +01:00
Sebastien Helleu f285fdafa0 irc: add value "353" in option irc.look.display_join_message
So now the values mean:
- 353: names on channel
- 366: names count (before this commit it meant 353 + 366)
2014-01-28 18:31:03 +01:00
Sebastien Helleu ff92b79712 core: fix typo in ChangeLog 2014-01-27 18:51:25 +01:00
Sebastien Helleu 1b2f4108fd core: fix display of read marker when all buffers line are unread
The bug is when all buffer lines are unread (so "last_read_line" pointer
is NULL), and that the option weechat.look.read_marker_always_show is on.
The read marker was displayed at bottom after switch to the buffer.

Thanks to Nils Görs.
2014-01-27 18:32:32 +01:00
Sebastien Helleu b8ffa87b5c logger: replace backslashs in name by logger replacement char under Cygwin (bug #41207) 2014-01-27 16:31:36 +01:00
Sebastien Helleu 58c615f33b core: fix memory leak in regex matching when evaluating expression 2014-01-26 20:04:05 +01:00
Sebastien Helleu f566de5d60 doc: update german auto-generated files with WeeChat commands and IRC options 2014-01-26 10:23:03 +01:00
Nils Görs 518dcfe9d9 core: update german translations and user's guide 2014-01-26 10:06:02 +01:00
Sebastien Helleu 0fbbbb4435 irc: add command "monitor" in /help irc.look.notify_tags_ison 2014-01-25 13:37:41 +01:00
Sebastien Helleu 86a99af606 scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345) 2014-01-25 13:04:25 +01:00
Sebastien Helleu 97cede06b5 core: add support of escaped unicode chars in commands /print and "/input insert" 2014-01-24 12:53:23 +01:00
Sebastien Helleu d49c3eaac6 Version 0.4.3-rc1 2014-01-23 21:11:42 +01:00
Sebastien Helleu 1d81fffe5f core: remove WeeChat version in de.po 2014-01-23 19:36:35 +01:00
Sebastien Helleu bf16399096 doc: move asciidoc attributes from command line into files 2014-01-23 18:38:53 +01:00
Sebastien Helleu 3acdcee0d9 irc: use MONITOR instead of ISON for /notify when it is available on server (task #11477) (patch from Nils Görs) 2014-01-23 11:31:57 +01:00
Nils Görs 6d4bc94536 core: update german translations 2014-01-23 11:24:36 +01:00
Sebastien Helleu 48797574ff core: revert the rename of option weechat.look.save_layout_on_exit 2014-01-22 18:50:24 +01:00
Sebastien Helleu b49f825d0a core: fix typo in /help print 2014-01-22 15:44:00 +01:00
Sebastien Helleu a763797d36 api: add function "infolist_search_var" 2014-01-22 15:08:50 +01:00
Sebastien Helleu 79f2f46dec core: rename option weechat.look.save_layout_on_exit to weechat.look.store_layout_on_exit, replace "save" by "store" for layouts 2014-01-21 22:03:12 +01:00
Sebastien Helleu 26dfd69f87 core: change format of buffer name in output of /buffer
Now the full name of buffer is displayed, without parentheses around the
plugin name.

The old ouput was:

  [1] (core) weechat (notification: all)
  [1] (irc) server.freenode (notification: all)
  [2] (irc) freenode.#weechat (notification: all)

Now it is:

  [1] core.weechat (notification: all)
  [1] irc.server.freenode (notification: all)
  [2] irc.freenode.#weechat (notification: all)
2014-01-21 15:32:09 +01:00
Sebastien Helleu c19da32014 doc: update description of signal "signal_sigwinch" (plugin API reference) 2014-01-21 14:20:52 +01:00
Sebastien Helleu 5c661a497f core: delay the signal "signal_sigwinch" after WeeChat screen refresh
The signal is sent after WeeChat screen refresh, so all sizes for
windows, bars, ... are already adjusted to the new terminal size.
2014-01-21 14:19:12 +01:00
Sebastien Helleu 5d1568ecc2 core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized) 2014-01-21 14:06:57 +01:00
Sebastien Helleu a6ed216052 irc: do not display names by default when joining a channel (task #13045) 2014-01-21 12:55:48 +01:00
Sebastien Helleu 160ab683ef core: update translations 2014-01-21 12:33:03 +01:00
Sebastien Helleu d820389f8a irc: refactor code in gnutls callback to display certificates even if option ssl_fingerprint is set 2014-01-21 12:21:13 +01:00
Sebastien Helleu 1ce23cd331 irc: check that server option ssl_fingerprint has exactly 40 hexadecimal digits (when set to non-empty value) 2014-01-21 10:44:35 +01:00
Maarten de Vries 357740f455 irc: add server option "ssl_fingerprint" (task #12724) 2014-01-21 10:35:38 +01:00
Sebastien Helleu 462b106197 irc: add comment with return value for function irc_server_gnutls_callback 2014-01-20 22:43:01 +01:00
Sebastien Helleu 91dad6808a irc: display PONG answer when resulting from manual /ping command 2014-01-20 11:27:37 +01:00
Sebastien Helleu 4da8fcf34d core: add command /print 2014-01-19 23:29:00 +01:00
Sebastien Helleu 49f4c8e9ef core: fix typo in arguments description of command /mute 2014-01-18 21:27:22 +01:00
Sebastien Helleu 8fc7515322 core: reformat hook_command arguments 2014-01-18 20:33:19 +01:00
Sebastien Helleu facd73734d core: update some function comments 2014-01-18 09:09:23 +01:00
Ryuunosuke Ayanokouzi 7080e7bd55 doc: add Japanese developer's guide 2014-01-17 13:29:21 +01:00
Sebastien Helleu 32774b72a4 doc: fix typo in developer's guide 2014-01-17 09:41:01 +01:00
Sebastien Helleu 110f558629 core: set max value for option weechat.look.hotlist_names_count to GUI_BUFFERS_MAX (10000) 2014-01-16 23:09:44 +01:00
Sebastien Helleu 22cb023254 doc: fix errors in prototype and example of functions tolower/toupper (plugin API reference) 2014-01-15 16:45:17 +01:00
Sebastien Helleu 4b7e90c679 core: add option weechat.look.tab_width 2014-01-15 15:10:54 +01:00
Sebastien Helleu 70ffe0a14f core: add completion "plugins_installed" 2014-01-14 13:27:43 +01:00
Ryuunosuke Ayanokouzi 5a292b28c0 doc: update Japanese FAQ 2014-01-14 07:37:44 +01:00
Sebastien Helleu 31e1b28c90 core: fix typo in /help weechat.look.highlight_regex 2014-01-13 16:09:01 +01:00
Sebastien Helleu a8bb074fe7 core: add Japanese plugin API reference in debian packaging 2014-01-13 12:19:13 +01:00
Sebastien Helleu 3432dfd16a core: add Polish user's guide in debian packaging 2014-01-13 12:18:46 +01:00
Sebastien Helleu 4aa18db623 core: fix typos in ChangeLog 2014-01-13 12:17:40 +01:00
Ryuunosuke Ayanokouzi b6e11d51f4 doc: add Japanese plugin API reference, update Japanese translations and docs 2014-01-13 11:00:26 +01:00
Sebastien Helleu 36b2e83700 doc: move some tables in plugin API reference 2014-01-12 16:19:20 +01:00
Sebastien Helleu 71b3115ccb doc: fix typos in plugin API reference 2014-01-12 13:42:06 +01:00
Sebastien Helleu af466d85cb doc: use infinitive form for description of functions in french plugin API reference 2014-01-12 13:36:00 +01:00
Sebastien Helleu 8b3d8fdfe5 doc: move table with signals below all arguments and return value in function hook_signal (plugin API reference) 2014-01-12 13:09:58 +01:00
Andrew Potter 52f2d5bf13 lua: fix detection of Lua 5.2 in autotools (patch #8270)
lua_open() isn't defined on Lua 5.2 on Fedora 20. luaL_newstate() is
used in lua 5.1+, but lua 5.0 only has lua_main(). This adds a test
using luaL_newstate() if the lua_main() test fails.
2014-01-11 11:47:19 +01:00
Sebastien Helleu 520f7369ba doc: add missing functions strlen_screen and hook_set in scripting guide 2014-01-11 09:39:12 +01:00
Sebastien Helleu 48837c35bc api: add stdin options in functions hook_process_hashtable and hook_set (task #10847, task #13031)
The function hook_set has been added in script API.
2014-01-11 09:12:04 +01:00
Sebastien Helleu e5b0b827ef irc: fix time parsed in tag of messages on Cygwin 2014-01-11 00:30:03 +01:00
Sebastien Helleu f8b2c6f5ac xfer: add gcrypt library for link of plugin 2014-01-10 23:25:41 +01:00
Sebastien Helleu 3bba891927 irc: add missing include of netinet/in.h (fix compilation error on FreeBSD) 2014-01-10 17:50:12 +01:00
Sebastien Helleu 02868b4dc0 core: optimize xxx_valid() functions: return immediately if pointer is NULL 2014-01-09 19:28:51 +01:00
Sebastien Helleu 73eb2564f3 core: add "POSIX extended" in description of options/commands/functions using regular expressions 2014-01-09 17:21:19 +01:00
Sebastien Helleu 7e540dc5fb doc: add missing function "string_has_highlight_regex" in italian plugin API reference 2014-01-09 16:09:39 +01:00
Sebastien Helleu 4a6bdc1c9c relay: fix memory leak on unload of relay plugin 2014-01-09 15:34:30 +01:00
Sebastien Helleu 1c3c7b01db doc: update function network_connect_to (plugin API reference) 2014-01-09 12:51:58 +01:00
Sebastien Helleu afa432af25 core: update translations 2014-01-09 12:49:17 +01:00
Andrew Potter 144dc60d0a xfer: add support of IPv6 for DCC chat/file (patch #7992) 2014-01-09 12:48:54 +01:00
Sebastien Helleu 9040dfbf52 core: fix crash in /eval when config option has a NULL value 2014-01-08 09:05:58 +01:00
Sebastien Helleu f878997828 core: fix typo in comment 2014-01-07 09:27:03 +01:00
Sebastien Helleu 7d17e429aa ruby: remove evil tab 2014-01-06 22:37:03 +01:00
Andrew Potter d216786846 xfer: use same infolist for hook and signals (patch #7974) 2014-01-06 16:00:21 +01:00
Sebastien Helleu b5b9dc342e doc: update auto-generated files with hdata 2014-01-06 11:26:50 +01:00
Sebastien Helleu fa73f5357b core: add missing type "shared_string" in hdata_type_string[] 2014-01-06 11:25:14 +01:00
Sebastien Helleu 646a072511 xfer: add option xfer.file.auto_check_crc32 (patch #7963)
Thanks to Andrew Potter for the patch.
2014-01-06 11:21:12 +01:00
Sebastien Helleu 0ac504a18b ruby: fix ruby init with ruby >= 2.0 (bug #41115) 2014-01-06 07:54:29 +01:00
Sebastien Helleu cc40a0ee55 doc: add note about function hdata_update at the beginning of hdata chapter (plugin API reference) 2014-01-05 16:19:05 +01:00
Sebastien Helleu 846dde00aa core: fix crash with hdata_update on shared strings, add hdata type "shared_string" (bug #41104) 2014-01-05 14:37:27 +01:00
Sebastien Helleu 7dfaca9ef3 xfer: replace call to sprintf() with snprintf() 2014-01-05 10:47:09 +01:00
Sebastien Helleu d48896cfa4 core: replace calls to sprintf() with snprintf() 2014-01-05 10:44:53 +01:00
Sebastien Helleu a571d599d3 core: fix compilation warnings on OpenBSD
On OpenBSD, the variable "tv_sec" in struct timeval has type "long"
(type "time_t" under Linux).
So we need to copy this value to a temporary variable before using its
pointer with function localtime().
2014-01-05 10:42:49 +01:00
Sebastien Helleu f840c64626 doc: fix description of xfer signals in plugin API reference 2014-01-02 18:17:23 +01:00
Sebastien Helleu e058d75ce3 xfer: add "network" prefix for (dis)connection messages in xfer chat buffer 2014-01-02 15:21:42 +01:00
Sebastien Helleu 5668e2ab12 irc: use statusmsg from message 005 to check prefix char in status notices/messages 2014-01-02 10:47:18 +01:00
Sebastien Helleu 46e46ed763 irc: add comments for functions about modes/prefix/chanmodes 2014-01-02 09:41:08 +01:00
Sebastien Helleu 78d270fa04 doc: fix typo in plugin API reference 2014-01-01 19:17:00 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu d364298d75 core: fix unneeded shift of buffer numbers when a buffer with layout is created and merged 2013-12-31 23:58:55 +01:00
Sebastien Helleu 9835d530b9 doc: add missing value for property "active" in function buffer_get_integer (plugin API reference) 2013-12-31 23:51:08 +01:00
Sebastien Helleu 44459f45e0 core: add contributor to AUTHORS 2013-12-31 17:34:44 +01:00
Sebastien Helleu 52cb1036d2 doc: fix typos in plugin API reference 2013-12-31 13:08:12 +01:00
Sebastien Helleu 8cba1e10c0 doc: fix description of arguments in some "set" functions (plugin API reference) 2013-12-30 16:05:51 +01:00
Sebastien Helleu 45ae0c1d67 core: rename option "add" to "store" in command /layout 2013-12-30 15:40:56 +01:00
Sebastien Helleu c16dd6dcde doc: fix typo in return value of function weechat_list_prev (plugin API reference) 2013-12-29 10:20:36 +01:00
Sebastien Helleu cc80730de7 irc: fix typo in /help irc.look.highlight_{channel|pv|server} 2013-12-24 00:06:13 +01:00
Sebastien Helleu 5afdf63fa3 core: update ChangeLog 2013-12-23 23:47:25 +01:00
Sebastien Helleu b886a763b6 doc: add missing spaces 2013-12-23 23:43:44 +01:00
Sebastien Helleu 7d5730b14e doc: remove obsolete command line option -k/--keys in man page 2013-12-23 23:40:46 +01:00
Krzysztof Koroscik f8cd82b1d1 doc: add polish man page and user's guide, update polish translations and FAQ 2013-12-23 23:38:15 +01:00
Sebastien Helleu f1a346c21a core: replace darkgray color as default value of options
New default value is now used for these options:
- weechat.color.chat_inactive_buffer: "default"
- weechat.color.chat_inactive_window: "default"
- weechat.color.chat_nick_offline: "default"
- weechat.color.chat_nick_offline_highlight_bg: "blue"
- weechat.color.chat_prefix_buffer_inactive_buffer: "default"
- irc.color.topic_old: "default"
- logger.color.backlog_end: "default"
- logger.color.backlog_line: "default"
- script.color.text_delimiters: "default"
2013-12-23 08:35:19 +01:00
Sebastien Helleu 5ccec2e85f doc: update example of copyright in source file (developer's guide) 2013-12-22 18:37:29 +01:00
Sebastien Helleu 929a7906c4 relay: use syntax \xNN instead of \NN for control chars in raw buffer 2013-12-22 18:31:53 +01:00
Sebastien Helleu 571e6c0d5a irc: use syntax \xNN instead of \NN for control chars in raw buffer 2013-12-22 18:31:30 +01:00
Nils Görs 5002cb8b79 core: update german translations 2013-12-21 16:45:27 +01:00
Sebastien Helleu c0081e7355 charset: replace call to strcasecmp by weechat_strcasecmp
This fixes a compilation problem on Illumos.
2013-12-21 10:29:32 +01:00
Sebastien Helleu d7f29995fd core: add support of UTF-8 chars in horizontal/vertical separators 2013-12-18 16:38:20 +01:00
Sebastien Helleu 66494c439e core: add option weechat.look.window_auto_zoom, disable automatic zoom by default when terminal becomes too small for windows 2013-12-18 13:07:24 +01:00
Sebastien Helleu 4c5e89ca6a doc: add coordinate 222 for problem with mouse coordinates (FAQ) 2013-12-17 12:55:06 +01:00
Sebastien Helleu 17052c0c67 irc: remove display of channel in channel notices, display "PvNotice" for channel welcome notices 2013-12-17 08:29:05 +01:00
Sebastien Helleu 4a88caa1f2 irc: add option irc.look.smart_filter_mode (task #12499) 2013-12-16 11:02:17 +01:00
Sebastien Helleu f44cf6ac3c core: add support of logical and/or for argument "tags" in function hook_print 2013-12-15 19:52:20 +01:00
Sebastien Helleu 2f3d712a62 core: fix use of NULL pointer (in case of malloc error) when creating a new filter 2013-12-15 19:50:56 +01:00
Sebastien Helleu 4c3d090184 core: fix some translation of "tags" in french 2013-12-15 16:47:38 +01:00
Sebastien Helleu d52d214448 core: add buffer property "highlight_tags_restrict", rename option irc.look.highlight_tags to irc.look.highlight_tags_restrict
The buffer property "highlight_tags" is renamed to "highlight_tags_restrict".
New behavior for buffer property "highlight_tags": force highlight on tags.
Option irc.look.highlight_tags is renamed to irc.look.highlight_tags_restrict.
2013-12-15 13:45:40 +01:00
Sebastien Helleu 52cbd0b921 core: add note about support of "*" for tags in /help filter 2013-12-14 11:43:58 +01:00
Sebastien Helleu 811b68991e core: add logical "and" between tags in filters, weechat.look.highlight_tags and buffer property "highlight_tags"
The logical "and" is made with the separator "+".

Example: "irc_notice+nick_toto,nick_test"
will match a notice from nick "toto" or any message from nick "test".
2013-12-14 11:26:03 +01:00
Sebastien Helleu 542dc8cd33 core: rename options save/reset to add/del in command /layout
The "save" option does not save to disk (so it was a bit confusing with
/save command); therefore it is renamed to "add".

The "reset" option does not really reset but delete things in the layout
(or the layout itself); therefore it is renamed to "del" (for consistency,
like other commands in WeeChat core and plugins).
2013-12-13 12:50:36 +01:00
Sebastien Helleu 1e14a6d089 irc: display mask of ignore deleted with /ignore del 2013-12-11 21:20:56 +01:00
Sebastien Helleu 1d81645ce1 core: add note about new bar item buffer_last_number in NEWS 2013-12-11 19:21:45 +01:00
Sebastien Helleu a193814a3d core: update ChangeLog 2013-12-11 19:16:27 +01:00
Sebastien Helleu dcd7ff81b3 core: update translations 2013-12-11 19:08:49 +01:00
Sebastien Helleu 58f1403414 Merge branch 'buffer-auto-renumber' 2013-12-11 18:54:06 +01:00
Sebastien Helleu dd8650a282 irc: add note about command /disconnect in /help connect 2013-12-11 13:19:14 +01:00
Sebastien Helleu 95adb3a04b core: fix text emphasis with wide chars on screen like japanese (patch #8253) (patch from Ryuunosuke Ayanokouzi) 2013-12-11 12:48:32 +01:00
Sebastien Helleu 92ab912fae doc: add note about things not allowed in callback of function hook_completion (plugin API reference) 2013-12-10 11:50:58 +01:00
Sebastien Helleu 0eb77db79f core: add signal "buffer_cleared" 2013-12-08 09:41:59 +01:00
Sebastien Helleu fa7f42cdd6 core: remove option on /unset of plugin description option (plugins.desc.xxx) (bug #40768) 2013-12-08 08:57:30 +01:00
Sebastien Helleu 0b27dd58b3 irc: don't return a default ban mask if option is not set or if host is not found 2013-12-08 08:31:44 +01:00
Sebastien Helleu c832116cae irc: rename option irc.look.ban_mask_default to irc.network.ban_mask_default 2013-12-07 22:38:58 +01:00
Sebastien Helleu 1aeeecb82d irc: add option irc.look.ban_mask_default (bug #26571) 2013-12-07 22:02:05 +01:00
Sebastien Helleu f6a80141b7 core: fix typos in french translation of /help ban 2013-12-07 17:10:09 +01:00
Sebastien Helleu faba6aa6c2 irc: improve /help of command/command_delay/autojoin options in servers 2013-12-07 15:18:40 +01:00
Sebastien Helleu c82633e9e4 core: use first gap for new buffer only if the buffer has no layout number 2013-12-07 12:45:40 +01:00
Sebastien Helleu 4f184b6111 core: add note about new option "irc.network.lag_max" in NEWS 2013-12-07 11:54:11 +01:00
Sebastien Helleu 4520b0f7ae core: add option weechat.look.buffer_position
The value of option can be:
- "end": buffer is added after the end of list (number = last number + 1)
- "first_gap": buffer is added at first number available in the list
  (after the end of list if no number is available)
2013-12-07 10:44:08 +01:00
Sebastien Helleu 9d74013036 irc: add option irc.network.lag_max 2013-12-06 08:40:44 +01:00
Sebastien Helleu 92280750c8 doc: update auto-generated files with hdata 2013-12-06 08:13:04 +01:00
Sebastien Helleu ea16b06348 irc: fix ignore on a host without nick 2013-12-05 19:47:51 +01:00
Sebastien Helleu dfa3e13e3d doc: add missing property "print_hooks_enabled" in function buffer_set (plugin API reference) 2013-12-04 10:16:44 +01:00
Sebastien Helleu 1d7466032d core: add buffer property "day_change" to hide messages for the day change in specific buffers 2013-12-04 09:38:57 +01:00
Sebastien Helleu 267eeffa0a irc: add comments about irc color codes in messages 2013-12-04 08:55:02 +01:00
Sebastien Helleu 57cda6a331 irc: remove function irc_color_decode_for_user_entry
Since commits d03eb52d49 and
0c48b7ab8b, the IRC color codes are the
same in input line and messages, so the function
irc_color_decode_for_user_entry is not needed any more.
It was used only to decode colors when completing the command /topic
(with the channel topic).
2013-12-04 07:51:59 +01:00
Sebastien Helleu 03fa2448ef core: use syntax key[xxx] for key bindings in ChangeLog and NEWS 2013-12-02 19:11:35 +01:00
Sebastien Helleu 50a489bc33 doc: use syntax key[xxx] for key bindings in quickstart guide 2013-12-02 19:11:03 +01:00
Sebastien Helleu 3d49f7662f doc: replace @k(xxx) by key[xxx] for key bindings in docs
The new syntax is more readable in source files (same result in HTML
docs).
2013-12-02 19:10:08 +01:00
Sebastien Helleu d0832cd50e core: replace default key ctrl+"c", "u" by ctrl+"c", "_" for underlined text in messages 2013-12-01 18:39:05 +01:00
Sebastien Helleu 0c48b7ab8b irc: use color code 0x1F (ctrl-_) for underlined text in input line (same code as messages) (bug #40756) 2013-12-01 18:34:40 +01:00
Sebastien Helleu d3799b4616 core: replace default key ctrl+"c", "r" by ctrl+"c", "v" for reverse video in messages 2013-12-01 11:30:52 +01:00
Sebastien Helleu d03eb52d49 irc: use color code 0x16 (ctrl-V) for reverse video in messages
Other clients are using 0x16, and not 0x12 that was the default in
WeeChat (which was able to decode both 0x12 and 0x16).

Now the 0x12 is not decoded and does not make reverse video any more.
2013-12-01 11:28:32 +01:00
Sebastien Helleu b32ccca390 irc: check that string is not NULL in functions irc_color_{decode,decode_for_user_entry,encode} 2013-12-01 09:50:53 +01:00
Sebastien Helleu c8a479453d core: add missing access to hdata "buffer_visited" 2013-12-01 08:46:07 +01:00
Sebastien Helleu 9a160509d7 core: fix random crash when closing a buffer
The problem happened because we used a pointer to a
"struct t_gui_buffer_visited" for the switch to another buffer,
when the buffer is closed. This is executed in all windows displaying
the buffer, but on each switch to buffer, the visited buffers are
updated and therefore the address can change. The pointer becomes
invalid, and WeeChat still uses it on next windows for the buffer
switch.

It happened rarely because the visited buffer is freed and allocated
immediately after, so the address is often the same in memory.

Thanks to silverd for the tests on OS X to track the problem.
2013-12-01 08:37:22 +01:00
Sebastien Helleu 983791de84 irc: use option irc.network.colors_send (instead of receive) when displaying messages sent by commands /away, /me, /msg, /notice, /query 2013-11-30 19:50:56 +01:00
Sebastien Helleu 70e68afbf8 core: fix command /buffer renumber 2013-11-30 19:42:28 +01:00
Sebastien Helleu f97ef54733 core: fix unmerge of buffer 2013-11-30 19:09:39 +01:00
Sebastien Helleu 92d6074931 core: add limits for buffers (max 10000 buffers opened, number of a buffer: between 1 and INT_MAX - 10000) 2013-11-30 18:45:19 +01:00
Sebastien Helleu 3e90657ab0 core: fix crash when moving buffer with only one buffer (core buffer) 2013-11-30 17:34:25 +01:00
Sebastien Helleu b7e0e29de7 core: add bar item "buffer_last_number" 2013-11-30 15:57:34 +01:00
Sebastien Helleu 4c59f2bf5e core: add variable "gui_buffers_count", use it in bar item "buffer_count"
Now the bar item "buffer_count" displays the number of opened buffers
(each merged buffer counts 1).
2013-11-30 15:11:17 +01:00
Sebastien Helleu f99103ee21 aspell: fix detection of nicks when there are non-alphanumeric chars around and in private buffers 2013-11-30 13:31:06 +01:00
Sebastien Helleu 332dcf1257 aspell: fix detection of nicks when there is nick completer at the end 2013-11-30 12:58:33 +01:00
Sebastien Helleu 0a0bbeed4d aspell: fix detection of nicks with non-alphanumeric chars 2013-11-30 12:18:36 +01:00
Sebastien Helleu a496db78aa core: add option weechat.look.buffer_auto_renumber
New option: weechat.look.buffer_auto_renumber, boolean which is on by
default, so the behavior is the same: no gap is allowed in numbers,
they start at number 1 and they are auto-renumbered after each command
like /buffer move, /buffer merge, ...

A new option "renumber" has been added in command /buffer, to renumber
a range of buffers (or all).

Changes when the option weechat.look.buffer_auto_renumber is off:

- command "/buffer move":
    - the current number will be left free for use, and the
      target number can be any number >= 1 (possibly higher than the
      current last buffer number)
    - the value can be "-" (which moves the buffer to number 1)
      or "+" (which moves the buffer to the end, ie last number + 1)

- command "/buffer swap":
    - now the buffers are swapped in the list without being "moved"

- comand "/buffer [+/-]N":
    - it is now working with gaps in buffer numbers

- command "/buffer merge":
    - it can now merge a group of merged buffers into another buffer
      (or buffers merged themselves)

- layout can restore buffer numbers with gaps in numbers
2013-11-30 10:39:38 +01:00
Sebastien Helleu 9cc31d88ea irc: fix crash when setting a wrong value in server option "ssl_priorities"
The bug was introduced by commit 2305c95db0
2013-11-30 09:20:14 +01:00
Sebastien Helleu 7e14c60f4d core: revert check of layout when switching to a buffer using value "auto" in buffer_set
This reverts commits 14cf7bd20f and
262dff4b87.

The initial fix was for a problem with irc autojoin and layout: the
current window has not appropriate buffer (as defined in layout) if it
is not the latest channel in "autojoin" option.

So the way to fix this problem is to set the value of option
irc.look.buffer_switch_autojoin to off.
2013-11-28 19:59:36 +01:00
Sebastien Helleu 02fc4053c9 python: fix load of scripts with python >= 3.3 2013-11-28 19:46:36 +01:00
Sebastien Helleu 74333b2270 irc: suggest lower values for option irc.server.xxx.ssl_dhkey_size after SSL error GNUTLS_E_DH_PRIME_UNACCEPTABLE 2013-11-26 16:24:21 +01:00
Sebastien Helleu 9e1caff33f core: do not update terminal title on startup if option weechat.look.window_title is empty 2013-11-24 18:14:54 +01:00
Nils Görs a0bfd1efb7 doc: update german user's guide 2013-11-24 13:59:29 +01:00
Sebastien Helleu 2305c95db0 irc: fix memory leak when checking the value of ssl_priorities option in servers 2013-11-23 17:06:07 +01:00
Sebastien Helleu 1fa4701ed0 core: free secured data on exit 2013-11-23 16:29:51 +01:00
Sebastien Helleu 0b94d3c3bc core: free nicklist data (for hsignal) on exit 2013-11-23 16:20:19 +01:00
Sebastien Helleu 95d0d33972 irc: fix memory leak when a channel is deleted 2013-11-23 16:15:36 +01:00
Sebastien Helleu 262dff4b87 doc: update description for value "auto" in function buffer_set with property "display" (plugin API reference)
Since commit 14cf7bd20f, the value "auto"
will switch buffer only if there is no layout defined for the current
window, or if the buffer displayed is NOT the buffer in the layout
(so if the buffer is defined in the layout, no switch).
2013-11-23 09:28:42 +01:00
Sebastien Helleu bfcabd2b96 core: fix crash on "/buffer close name" when the buffer is not found 2013-11-22 08:19:05 +01:00
Sebastien Helleu 51aa15cced core: fix crash on /buffer close core.weechat 2013-11-22 07:57:30 +01:00
Nils Görs 58ae58d81b core: update german translations 2013-11-20 15:19:55 +01:00
Sebastien Helleu 0226a1934a doc: use asciidoc attribute for date of docs (fix cmake warning)
CMake was displaying some warnings about a space in argument used for
asciidoc command:

  -a date=`date "+%F"`

Warning displayed:

CMake Warning (dev) in doc/en/CMakeLists.txt:
  Syntax Warning in cmake code at

    /path/to/doc/en/CMakeLists.txt:41:82

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.
2013-11-20 08:32:39 +01:00
Sebastien Helleu 6716985d27 core: fix current color/background after reset of color
Bug was visible with such colored string in IRC:

 ^Cc7,5 one ^Cc ^Cc7 two

Before the fix, the word "two" had a red background.
The "^Cc" should reset both color + background, so now it does not have
a background any more.
2013-11-19 19:58:10 +01:00
Pierre Carru b5db21d6c4 guile: disable guile gmp allocator (fix crash on unload of relay plugin) (bug #40628) 2013-11-19 19:41:16 +01:00
Sebastien Helleu 717eaae496 scripts: use #ifdef to check if versions are defined in signal "debug_libs" 2013-11-18 14:32:13 +01:00
Sebastien Helleu fba9839587 core: use #ifdef to check if versions are defined in signal "debug_libs" 2013-11-18 14:31:26 +01:00
Sebastien Helleu 3b53a3a8be core: remove "v" before versions displayed by /debug libs 2013-11-18 07:46:14 +01:00
Sebastien Helleu b63ac8a0f1 scripts: display lib version on signal "debug_libs" 2013-11-17 20:51:54 +01:00
Sebastien Helleu be9269dfc2 aspell: display aspell/enchant version on signal "debug_libs" 2013-11-17 20:51:10 +01:00
Sebastien Helleu 8d64b658df core: add option "libs" for command /debug, add signal "debug_libs" 2013-11-17 20:49:37 +01:00
Sebastien Helleu e0890b376c doc: update auto-generated files with WeeChat options 2013-11-17 20:20:27 +01:00
Sebastien Helleu 47213a9869 core: remove obsolete signals "debug_buffer" and "debug_windows" 2013-11-17 11:48:00 +01:00
Sebastien Helleu f435e8d3fa core: optimize loop when closing several buffers with command /buffer close n1-n2 2013-11-15 09:01:19 +01:00
Sebastien Helleu d1a89e9db0 core: fix memory leak when n2 is not a valid number in command /buffer close n1-n2 2013-11-15 09:00:24 +01:00
Sebastien Helleu 70ed2a8189 core: apply color attributes when clearing a window (patch #8236) (patch from Tom Alsberg) 2013-11-14 19:41:28 +01:00
Sebastien Helleu ea9d79f268 core: set option weechat.look.paste_bracketed to "on" by default 2013-11-13 08:28:07 +01:00
Sebastien Helleu 725c5aaeb9 core: fix truncated text when pasting several long lines (bug #40210) 2013-11-12 21:37:51 +01:00
Sebastien Helleu c273b87ccc doc: fix build of man page (add missing copy of file cmdline_options.xx.txt) 2013-11-12 07:55:19 +01:00
Sebastien Helleu 941fe2efc9 core: add missing contributors in AUTHORS 2013-11-11 12:29:34 +01:00
Krzysztof Koroscik dc1fb1a70c core: update polish translations 2013-11-11 09:08:09 +01:00
Sebastien Helleu a35abad19d doc: fix style for tables with asciidoc 8.6.9 (developer's guide) 2013-11-11 09:06:56 +01:00
Sebastien Helleu 6f5d1228a4 doc: fix warnings on build of man page with a2x 8.6.9
The -D/--destination-dir displays a warning for non HTML doc (so for
man page). So the man page is copied to the build directory before
being built.
2013-11-11 09:06:14 +01:00
Sebastien Helleu e867298233 core: fix terminal title under screen/tmux 2013-11-09 19:26:33 +01:00
Sebastien Helleu 90774b73d8 core: rename option weechat.look.set_title to weechat.look.window_title (evaluated string) 2013-11-09 17:07:02 +01:00
Sebastien Helleu 18ff3064cf core: add infos "term_width" and "term_height" 2013-11-09 15:55:11 +01:00
Sebastien Helleu ff62f3edff api: add support of infos with format ${info:name,arguments} in function string_eval_expression and command /eval 2013-11-09 15:35:54 +01:00
stfn 652653ff82 api: add support for C++ plugins 2013-11-09 13:47:13 +01:00
Sebastien Helleu 414656675e doc: add bar item "buffer_zoom" in user's guide 2013-11-09 13:31:41 +01:00
Sebastien Helleu 9b4eb6d607 core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" (patch #8204) (patch from Nils Görs) 2013-11-09 13:21:56 +01:00
Sebastien Helleu 2b04972326 core: update translations 2013-11-09 10:27:43 +01:00
Sebastien Helleu 539516fe7c xfer: load plugin even if options can not be read in xfer.conf (with warnings) 2013-11-09 10:26:51 +01:00
Sebastien Helleu 757cbcb999 script: load plugin even if options can not be read in script.conf (with warnings) 2013-11-09 10:26:22 +01:00
Sebastien Helleu 34783c1006 rmodifier: remove unneeded warning 2013-11-09 10:25:48 +01:00
Sebastien Helleu e8ed81ec22 relay: load plugin even if options can not be read in relay.conf (with warnings) 2013-11-09 10:25:16 +01:00
Sebastien Helleu 7bac9f377e logger: load plugin even if options can not be read in logger.conf (with warnings) 2013-11-09 10:24:40 +01:00
Sebastien Helleu aaf991a7b9 irc: load plugin even if options can not be read in irc.conf (with warnings) 2013-11-09 10:24:08 +01:00
Sebastien Helleu 91f76dc771 charset: remove unneeded warning, do not load plugin when options can not be initialized 2013-11-09 10:23:30 +01:00
Sebastien Helleu a349af5356 aspell: load plugin even if options can not be read in aspell.conf (with warnings) 2013-11-09 10:22:43 +01:00
Sebastien Helleu 786ad41309 alias: remove unneeded warning, do not load plugin when options can not be initialized 2013-11-09 10:21:46 +01:00
Sebastien Helleu 8c7b9a1c5e core: improve error message when a .conf file can not be read, add a second warning about default values used 2013-11-09 10:15:32 +01:00
Sebastien Helleu 1417b7a823 core: remove unneeded warning when read of sec.conf fails (another warning is already displayed) 2013-11-09 10:13:09 +01:00
Sebastien Helleu 46c26922aa core: do not exit if read of sec.conf/weechat.conf fails 2013-11-09 09:59:37 +01:00
Sebastien Helleu a5785a1ddc core: remove unneeded warning when read of weechat.conf fails (another warning is already displayed) 2013-11-09 09:57:01 +01:00
Sebastien Helleu cce23613a7 core: display lines waiting for buffer on exit (in case of early exit) 2013-11-09 08:55:57 +01:00
Sebastien Helleu 05e1e31072 core: create .conf file with default options only if the file does not exist (and not on read error with existing file) 2013-11-09 08:44:48 +01:00
Sebastien Helleu 802aa2167a core: add shared strings in ChangeLog for version 0.4.2 2013-11-08 18:25:19 +01:00
Sebastien Helleu e2605cf77b core: fix highlight on action messages: skip the nick at beginning to prevent highlight on it (bug #40516) 2013-11-08 18:22:36 +01:00
Sebastien Helleu 5ce1a3e867 irc: fix groups in channel nicklist when reconnecting to a server that supports more nick prefixes than the previously connected server 2013-11-07 20:52:47 +01:00
Sebastien Helleu 9b37ae8e3d doc: add link to download page for remote interfaces (user's guide) 2013-11-07 20:51:27 +01:00
Sebastien Helleu 7272b99254 core: use one line titles in AUTHORS/INSTALL/README 2013-11-06 21:40:46 +01:00
Sebastien Helleu 5812564bf5 core: use one line titles and less chars for delimited blocks/tables in ChangeLog/NEWS 2013-11-06 08:20:20 +01:00
Sebastien Helleu b6e4f918f5 core: add default keys alt+home/end and alt+F11/F12 for xterm 2013-11-05 21:46:25 +01:00
Sebastien Helleu e3c6384972 doc: use one line titles and less chars for delimited blocks/tables in asciidoc files 2013-11-04 21:41:34 +01:00
Sebastien Helleu f5a65c9b2b api: fix read of arrays in hdata functions hdata_<type> (bug #40354) 2013-11-03 12:04:02 +01:00
Sebastien Helleu 0d35a80a9f doc: make script docgen.py compliant with PEP8, replace %-formatting with .format() 2013-11-02 18:19:28 +01:00
Nils Görs d2f2a863e4 core: update german translations 2013-11-02 11:12:33 +01:00
Sebastien Helleu dd32052fec core: add support of italic text (requires ncurses >= 5.9 patch 20130831) 2013-11-02 10:58:38 +01:00
Sebastien Helleu cf81a6dfcd core: use ncurses include path when compiling with cmake 2013-11-02 09:43:20 +01:00
Sebastien Helleu 591b111891 weercd.py: major code cleanup, full PEP8 compliance, replace %-formatting with .format()
All changes:
- import the new division operator and the print function
- replace the %-formatting with .format()
- full PEP8 compliance
- major code cleanup: new function send_cmd() to send an IRC command,
  split flood() function into many functions.

The messages sent from a file (or stdin) are formatted with
".format(self=self)", so that attributes from class Client are replaced
with their values. You can use for example these attributes:

  {self.nick}     current client nick
  {self.name}     the server name ('weercd')
  {self.version}  the server version (version of weercd.py)
2013-11-02 08:47:59 +01:00
Sebastien Helleu 4af78fa4aa weercd.py: use argparse module to parse command line arguments, remove config file
The configuration file weercd.conf has been removed. Instead, default options
can be set in an environment variable called "WEERCD_OPTIONS".
A file with options can be used, then name must be given as option with a
leading "@", for example: python weercd.py @args.txt

The option "action" has been removed. Default behavior is still to flood the
client. Actions "user" and "file" have been merged into a single option
-f/--file, which accepts a file, or special value "-" to read stdin.

The script now requires python >= 2.7 (because the argparse module is not
available in python 2.6 and older versions).
2013-10-27 16:58:46 +01:00
Sebastien Helleu f111abdfc1 irc: fix auto-switch to channel buffer when doing /join channel (without "#") 2013-10-27 15:08:30 +01:00
Sebastien Helleu cc8f798237 core: remove version/date in ChangeLog/NEWS (let asciidoc set that with attributes date/revision) 2013-10-27 14:04:29 +01:00
Sebastien Helleu 14cf7bd20f core: fix auto-apply of window layout in current window when option irc.look.buffer_switch_autojoin is on 2013-10-27 11:07:33 +01:00
Sebastien Helleu 0069dbb5f1 core: fix bind of keys in cursor/mouse context when key starts with "@" (remove the warning about unsafe key) 2013-10-26 12:22:22 +02:00
Sebastien Helleu f3be467dd0 doc: fix typos in color codes (developer's guide) 2013-10-26 10:11:46 +02:00
Sebastien Helleu d4fd0293ad doc: fix layout of relay protocol (HTML version) when it is printed 2013-10-24 16:10:36 +02:00
Sebastien Helleu 5a333b788d lua: fix crash on calls to callbacks during load of script 2013-10-24 14:21:18 +02:00
Sebastien Helleu 08015304bd doc: replace "Act:" by "H:" in hotlist (user's guide) 2013-10-23 19:37:51 +02:00
Sebastien Helleu 5243d18c76 doc: add jabber.py and bitlbee/minbif in list of features (user's guide) 2013-10-23 14:41:28 +02:00
Sebastien Helleu 52d72a3934 core: fix typo in /help weechat.history.max_buffer_lines_number 2013-10-20 21:49:21 +02:00
Sebastien Helleu da695533d4 core: fix typo in /help weechat.history.max_buffer_lines_minutes 2013-10-20 21:42:54 +02:00
Sebastien Helleu 3088d319cf doc: use asciidoc system attribute {sys:command} for year in copyright of man page 2013-10-20 21:26:17 +02:00
Sebastien Helleu 7014fbdd60 core: add warning about value 0 in help of some history options
Options affected:
- weechat.history.max_buffer_lines_minutes
- weechat.history.max_buffer_lines_number
- weechat.history.max_commands
2013-10-20 12:21:09 +02:00
Sebastien Helleu 64d01f47fa doc: fix layout of HTML docs when they are printed
Some long lines in docs were causing a zoom, and then the text font was
smaller than it should be. Some styles have been fixed to remove the zoom
and keep the original ratio.
2013-10-20 11:39:11 +02:00
Sebastien Helleu 53ec644ce1 core: fix truncated prefix when filters are toggled (bug #40204) 2013-10-19 16:21:20 +02:00
Sebastien Helleu 43c1280343 doc: use asciidoc attribute for year in copyright of man page 2013-10-19 12:52:45 +02:00
Sebastien Helleu ce7eb3ac73 core: add file "compile" in .gitignore 2013-10-19 12:46:19 +02:00
Sebastien Helleu 958cf969b7 core: remove dependencies in weechat.cygport.in, let cygport tool do that automatically 2013-10-19 12:23:24 +02:00
Sebastien Helleu 9ab05d600d doc: add version >= 0.4.2 for new format of callback in function bar_item_new (plugin API reference) 2013-10-19 11:50:18 +02:00
Sebastien Helleu 88058bbccf core: add file weechat.cygport.in in tarballs (fix compilation error when compiling tarball) 2013-10-15 10:29:38 +02:00
Sebastien Helleu 07b34b053d doc: add nick modes in screen layout (user's guide) 2013-10-13 09:05:39 +02:00
Sebastien Helleu 1466a56585 core: add cygport file to build Cygwin packages 2013-10-12 19:05:27 +02:00
Sebastien Helleu 0e7ba42dfd doc: use a build directory in example of compilation with autotools (user's guide) 2013-10-12 15:58:56 +02:00
Sebastien Helleu 2bde9453ed core: use one date format when day changes from day to day+1 2013-10-10 19:42:11 +02:00
Sebastien Helleu 2a50f23e3d doc: fix typo in relay protocol 2013-10-09 17:31:55 +02:00
Sebastien Helleu 4b94b74990 irc: add option irc.look.notice_welcome_tags 2013-10-08 22:15:11 +02:00
Sebastien Helleu d82f8c8165 irc: add server option "default_msg_kick" to customize default kick/kickban message (task #12777) (patch from Nils Görs) 2013-10-08 19:57:04 +02:00
Sebastien Helleu 4adbb8da1e Revert "core: remove unneeded dependencies docbook-xml and docbook-xsl to build man page"
This reverts commit 5a94228557.

These two packages are needed to build man pages without network access.
2013-10-08 17:04:58 +02:00
Sebastien Helleu 5a94228557 core: remove unneeded dependencies docbook-xml and docbook-xsl to build man page 2013-10-08 07:53:52 +02:00
Sebastien Helleu f2b2a3d736 core: fix typo in a french translation 2013-10-06 13:44:32 +02:00
Sebastien Helleu 3dc4b41a66 core: remove version from field "Project-Id-Version" in gettext files 2013-10-06 13:43:10 +02:00
Sebastien Helleu 07115ef3d0 core: add options to customize default text search in buffers
New options:
- weechat.look.buffer_search_case_sensitive (boolean, off by default)
- weechat.look.buffer_search_force_default (boolean, off by default)
- weechat.look.buffer_search_regex (boolean, off by default)
- weechat.look.buffer_search_where (prefix, message (by default), prefix_message)
2013-10-06 11:59:42 +02:00
Sebastien Helleu 7364853c9d core: remove warning about proxy not found for option weechat.network.proxy_curl on startup
Proxies are not yet fully loaded (when reading weechat.conf), so the warning
is not displayed on startup, but only when option is changed.
2013-10-06 11:34:49 +02:00
Sebastien Helleu 66a0eb7a0b irc: improve help of server option "autojoin" 2013-10-06 11:29:38 +02:00
Sebastien Helleu 9f1658ef03 Version 0.4.3-dev 2013-10-06 10:21:49 +02:00
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
725 changed files with 140609 additions and 69790 deletions
+5
View File
@@ -0,0 +1,5 @@
# files/directories excluded from tarballs
.git* export-ignore
debian export-ignore
weechat.spec export-ignore
+7 -6
View File
@@ -13,12 +13,16 @@
*.so
*.so.0
*.so.0.0.0
*.1
ABOUT-NLS
autom4te*
build*/*
compile
config.guess
config.h*
config.h
config.h.in*
config-git.h
config.log
config.rpath
config.status
@@ -40,12 +44,9 @@ POTFILES
remove-potcdate.sed
Rules-quot
weechat.pc
doc/de/build/*
doc/en/build/*
doc/fr/build/*
weechat-*.cygport
*stamp
stamp*
src/gui/curses/weechat-curses
src/gui/gtk/weechat-gtk
src/gui/curses/weechat
+73 -40
View File
@@ -1,53 +1,86 @@
WeeChat Authors
===============
= WeeChat Authors
Sébastien Helleu <flashcode@flashtux.org>
Developers
----------
== 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) <kolter@openics.org>
** Emmanuel Bouthenot <kolter@openics.org>
*** IRC: 'kolter' on irc.freenode.net
== Contributors
Alphabetically:
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
* Ailin Nemui (Nei)
* Aleksey V Zapparov
* Alex Tarkovsky
* Andrew Potter (talisein)
* Antoine Pietri (seirl)
* Asakura
* Arvydas Sidorenko
* Bazerka
* Benoit Papillault (benoit)
* Christian Heinz
* Christopher O'Neill (deltafire)
* David Flatz
* Dmitry Kobylin
* Dominik Honnef
* JD Horelick, IRC: 'jdhore'
* Stefano Pigozzi
* Ivan Sichmann Freitas
* Elián Hanisch (m4v)
* Elizabeth Myers (Elizacat)
* Emanuele Giaquinta
* Esteban I. Ruiz Moreno (Exio)
* Frank Zacharias
* Gu1ll4um3r0m41n
* Guido Berhoerster
* 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.
* Leonid Evdokimov
* Maarten de Vries
* Marco Paolone
* Matt Robinson
* Mantas Mikulėnas (grawity)
* Mateusz Poszwa
* Murilo Opsfelder Araujo
* Nicolas Cavigneaux
* Nils Görs (nils_2)
* Odin
* Patrick Steinhardt
* Paul Komkoff
* Pavel Shevchuk (Stalwart)
* Peter Boström (pbos)
* Pierre Carru
* Piotr Szymaniak
* Pistos
* Quentin Glidic (SardemFF7)
* Quentin Pradet
* Quico Noizeux
* Rettub
* Rudolf Polzer (divVerent)
* Ryuunosuke Ayanokouzi
* Sergio Durigan Junior
* Simon Arlott
* Simon Kuhnle
* Stefano Pigozzi
* Stfn
* Tom Alsberg
* Tor Hveem (xt)
* Valentin Lorentz (progval)
* Voroskoi
* Yannick Palanque
== Contact
Contact
-------
Developers are connected to IRC:
Whole team is connected to IRC:
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
See README file for license detail.
* server: 'irc.freenode.net'
* channels: '#weechat' (English) and '#weechat-fr' (French)
+31 -17
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2014 Sébastien 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.2")
SET(VERSION_MINOR "4")
SET(VERSION_PATCH "3")
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,9 +142,15 @@ 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)
# cygport file (used to build Cygwin packages)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
# 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")
SET(CPACK_PACKAGE_VENDOR "Sébastien Helleu")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
@@ -156,8 +171,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)
+677 -213
View File
File diff suppressed because it is too large Load Diff
+34 -25
View File
@@ -1,36 +1,45 @@
WeeChat Installation instructions
=================================
You can build WeeChat with cmake (recommended way) or autotools.
= WeeChat Installation instructions
Sébastien Helleu <flashcode@flashtux.org>
With cmake
----------
WeeChat can be built with cmake (recommended) or autotools.
------------------------------------------------------------------
mkdir build
cd build
cmake .. -DPREFIX=/where/you/want/install -DCMAKE_BUILD_TYPE=Debug
make
make install (as root for installation in system directories)
------------------------------------------------------------------
[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.
== Dependencies
With autotools
--------------
Following packages are *required*:
----------------------------------------------------------------------
./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)
----------------------------------------------------------------------
* cmake
* libncurses
* libcurl
* zlib
* libgcrypt
Following packages are all optional:
If you want to report bugs/crashes to developers, please:
* 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)
- 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).
For a complete list of dependencies and versions recommended, please look at
'User's guide'.
== Installation With cmake
See AUTHORS for support, feel free to contact us for any problem.
----
$ mkdir build
$ cd build
$ cmake .. -DPREFIX=/path/to/directory
$ make
$ make install (as root for installation in system directories)
----
For more information or installation with autotools, please look at
'User's guide': http://weechat.org/doc
+24 -12
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -19,40 +19,52 @@
# 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.png \
weechat.pc.in \
UPGRADE_0.3
weechat.cygport.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
+748 -271
View File
File diff suppressed because it is too large Load Diff
+5 -8
View File
@@ -1,5 +1,5 @@
WeeChat Readme
==============
= WeeChat Readme
Sébastien Helleu <flashcode@flashtux.org>
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
@@ -7,8 +7,7 @@ environment for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
Features
--------
== Features
* chat client with multi-protocols/servers connection
* small, fast and very light
@@ -18,11 +17,9 @@ Features
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other)
* free software, released under GPLv3
== Copyright
Copyright
---------
Copyright (C) 2003-2012 Sébastien Helleu <flashcode@flashtux.org>
Copyright (C) 2003-2014 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-2014 Sébastien 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-2014 Sébastien 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)
+7 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -42,7 +42,12 @@ FIND_LIBRARY(ASPELL_LIBRARY
)
IF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
SET(ASPELL_FOUND TRUE)
SET(CMAKE_REQUIRED_INCLUDES ${ASPELL_INCLUDE_PATH})
SET(CMAKE_REQUIRED_LIBRARIES ${ASPELL_LIBRARY})
CHECK_SYMBOL_EXISTS(aspell_version_string "aspell.h" HAVE_ASPELL_VERSION_STRING)
SET(CMAKE_REQUIRED_INCLUDES)
SET(CMAKE_REQUIRED_LIBRARIES)
SET(ASPELL_FOUND TRUE)
ENDIF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
MARK_AS_ADVANCED(
+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-2014 Sébastien 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-2014 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
+2 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
@@ -43,7 +43,7 @@ EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
OUTPUT_VARIABLE GNUTLS_CFLAGS
)
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_FLAGS}")
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_CFLAGS}")
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
OUTPUT_VARIABLE GNUTLS_LDFLAGS
+5 -19
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2014 Sébastien 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-2014 Sébastien 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-2014 Sébastien 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-2014 Sébastien 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-2014 Sébastien 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-2014 Sébastien 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(
+58 -51
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -22,71 +22,78 @@
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# RUBY_EXECUTABLE = full path to the ruby binary
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
# RUBY_LIBRARY = path to where libruby.so* can be found
# RUBY_INCLUDE_DIRS = C flags to compile with ruby
# RUBY_LIBRARY_DIRS = linker flags to compile with ruby (found with pkg-config)
# RUBY_LIB = ruby library (found without pkg-config)
IF(RUBY_FOUND)
# Already in cache, be silent
SET(RUBY_FIND_QUIETLY TRUE)
ENDIF(RUBY_FOUND)
FIND_PROGRAM(RUBY_EXECUTABLE
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
FIND_PACKAGE(PkgConfig)
IF(PKG_CONFIG_FOUND)
pkg_search_module(RUBY ruby-2.0 ruby-1.9 ruby-1.8)
ENDIF(PKG_CONFIG_FOUND)
IF(RUBY_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
IF(RUBY_FOUND)
SET(RUBY_LIB "")
MARK_AS_ADVANCED(RUBY_LIB)
ELSE(RUBY_FOUND)
FIND_PROGRAM(RUBY_EXECUTABLE
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
IF(RUBY_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
OUTPUT_VARIABLE RUBY_VERSION
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
)
FIND_PATH(RUBY_INCLUDE_PATH
NAMES ruby.h
PATHS ${RUBY_ARCH_DIR}
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
SET(RUBY_ARCH
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
FIND_PATH(RUBY_INCLUDE_DIRS
NAMES ruby.h
PATHS ${RUBY_ARCH_DIR}
)
FIND_LIBRARY(RUBY_LIBRARY
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
)
SET(RUBY_INCLUDE_ARCH "${RUBY_INCLUDE_DIRS}/${RUBY_ARCH}")
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
SET(RUBY_FOUND TRUE)
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
FIND_LIBRARY(RUBY_LIB
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
)
IF(${RUBY_VERSION} STREQUAL "1.9.0")
SET(RUBY_FOUND FALSE)
ENDIF(${RUBY_VERSION} STREQUAL "1.9.0")
IF(RUBY_LIB AND RUBY_INCLUDE_DIRS)
SET(RUBY_FOUND TRUE)
ENDIF(RUBY_LIB AND RUBY_INCLUDE_DIRS)
MARK_AS_ADVANCED(
RUBY_EXECUTABLE
RUBY_LIBRARY
RUBY_ARCH
RUBY_INCLUDE_PATH
)
ENDIF(RUBY_EXECUTABLE)
SET(RUBY_INCLUDE_DIRS "${RUBY_INCLUDE_DIRS};${RUBY_INCLUDE_ARCH}")
MARK_AS_ADVANCED(
RUBY_INCLUDE_DIRS
RUBY_LIBRARY_DIRS
RUBY_LIB
)
ENDIF(RUBY_EXECUTABLE)
ENDIF(RUBY_FOUND)
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2014 Sébastien 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-2014 Sébastien 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-2014 Sébastien 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}
+2 -18
View File
@@ -1,29 +1,12 @@
#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
#cmakedefine HAVE_ASPELL_VERSION_STRING
#define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@"
@@ -32,4 +15,5 @@
#define WEECHAT_SHAREDIR "@SHAREDIR@"
#define LOCALEDIR "@LOCALEDIR@"
#define WEECHAT_HOME "@WEECHAT_HOME@"
#define CA_FILE "@CA_FILE@"
#define _GNU_SOURCE 1
+214 -167
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
@@ -24,20 +24,22 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.3.9.2, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AC_INIT(WeeChat, 0.4.3, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([weechat], [0.3.9.2])
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
AC_CONFIG_FILES([weechat.pc])
AC_CONFIG_FILES([weechat-${VERSION}-1.cygport:weechat.cygport.in])
# Add some flags for some OS
case "$host_os" in
@@ -52,15 +54,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 +67,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,46 +90,47 @@ 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
AH_VERBATIM([PREFIX], [#undef PREFIX])
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([PREFIX], [#undef PREFIX])
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([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])
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER])
AH_VERBATIM([PLUGIN_SCRIPT], [#undef PLUGIN_SCRIPT])
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([DOC], [#undef DOC])
AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
AH_VERBATIM([HAVE_ASPELL_VERSION_STRING], [#undef HAVE_ASPELL_VERSION_STRING])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER])
AH_VERBATIM([PLUGIN_SCRIPT], [#undef PLUGIN_SCRIPT])
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_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 +140,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 +150,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 +226,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 +295,46 @@ 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], 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"
ac_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $ASPELL_LFLAGS"
AC_CACHE_CHECK([for aspell_version_string() support], ac_cv_have_aspell_version_string, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <aspell.h>]],
[[ const char *version = aspell_version_string(); ]])],
[ ac_have_aspell_version_string="yes" ],
[ ac_have_aspell_version_string="no" ])])
LDFLAGS="$ac_save_LDFLAGS"
if test "x$ac_have_aspell_version_string" = "xyes"; then
AC_DEFINE(HAVE_ASPELL_VERSION_STRING)
fi
fi
fi
else
not_asked="$not_asked aspell"
@@ -334,18 +358,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 +477,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 +492,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 +505,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 +514,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)
@@ -534,31 +553,34 @@ fi
RUBY_VERSION=
if test "x$enable_ruby" = "xyes" ; then
AC_PATH_PROGS(RUBY, ruby1.9.3 ruby1.9.2 ruby1.9.1 ruby1.9 ruby1.8 ruby)
if test -z $RUBY ; then
AC_MSG_WARN([
RUBY_CFLAGS=""
RUBY_LFLAGS=""
for v in "2.0" "1.9" "1.8" ; do
pkgconfig_ruby_found=`$PKGCONFIG --exists ruby-$v 2>/dev/null`
if test "x$?" = "x0" ; then
RUBY_VERSION=`$PKGCONFIG --modversion ruby-$v`
RUBY_CFLAGS=`$PKGCONFIG --cflags ruby-$v`
RUBY_LFLAGS=`$PKGCONFIG --libs ruby-$v`
break
fi
done
if test "x$RUBY_CFLAGS" = "x" -o "x$RUBY_LFLAGS" = "x" ; then
AC_PATH_PROGS(RUBY, ruby1.9.3 ruby1.9.2 ruby1.9.1 ruby1.9 ruby1.8 ruby)
if test -z $RUBY ; then
AC_MSG_WARN([
*** Ruby must be installed on your system but ruby interpreter couldn't be found in path.
*** Please check that ruby is in path, or install it with your software package manager.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['ruby_version']]"`
if test "$RUBY_VERSION" = "1.9.0"; then
AC_MSG_WARN([
*** Ruby header files have been found, but they're of the version 1.9.0.
*** Ruby 1.9.0 is an unstable release and should not be used in production.
*** Please install Ruby 1.8.x (>= 1.8.6) or >= 1.9.1.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['MAJOR']] + '.' + RbConfig::CONFIG[['MINOR']] + '.' + RbConfig::CONFIG[['TEENY']]"`
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['rubyhdrdir']] || RbConfig::CONFIG[['archdir']]"`
RUBY_ARCH=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["arch"]]'`
AC_MSG_CHECKING(for Ruby header files)
if test -d "$RUBY_INCLUDE/"; then
M_RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,3]]"`
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH -DRUBY_VERSION=$M_RUBY_VERSION"
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH"
else
AC_MSG_WARN([
*** Ruby header files couldn't be found on your system.
@@ -602,27 +624,23 @@ if test "x$enable_lua" = "xyes" ; then
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
break
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
done
fi
break
fi
done
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
@@ -679,13 +697,18 @@ if test "x$enable_lua" = "xyes" ; then
AC_MSG_CHECKING(for Lua compiling and linking)
LUA_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT; echo "#include <lualib.h>" >> $LT; echo "int main() { luaopen_base((lua_State *)lua_open()); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_CFLAGS $LUA_LFLAGS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1`
if test "x$LUA_TEST" != "x0" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
LUA52_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT; echo "#include <lualib.h>" >> $LT; echo "int main() { luaopen_base((lua_State *)luaL_newstate()); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_CFLAGS $LUA_LFLAGS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1`
if test "x$LUA52_TEST" != "x0" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** Lua (>=5.0) headers and/or librairies couldn't be found on your system.
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
*** WeeChat will be built without Lua support.])
enable_lua="no"
not_found="$not_found lua"
enable_lua="no"
not_found="$not_found lua"
else
AC_MSG_RESULT(yes)
fi
else
AC_MSG_RESULT(yes)
fi
@@ -749,20 +772,22 @@ 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)
echo
GUILE_CFLAGS=`$GUILECONFIG compile`
GUILE_LFLAGS=`$GUILECONFIG link`
GUILE_VERSION=`$GUILECONFIG info guileversion`
tcl_found="yes"
fi
AC_MSG_CHECKING(for Guile headers and librairies)
echo
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
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 +966,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 +1110,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 +1126,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 +1145,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 +1160,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 +1171,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 +1183,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 +1247,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 +1260,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 ""
+49 -3
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
@@ -406,7 +452,7 @@ weechat (0.1.2-1) unstable; urgency=low
* WeeChat version 0.1.2, see ChangeLog for detail.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
-- Sébastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
weechat (0.1.1-2) unstable; urgency=low
@@ -420,13 +466,13 @@ weechat (0.1.1-1) unstable; urgency=low
* WeeChat version 0.1.1, see ChangeLog for detail (closes: #306492)
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
-- Sébastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
weechat (0.1.0-1) unstable; urgency=low
* WeeChat version 0.1.0, see ChangeLog for detail.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
-- Sébastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
weechat (0.0.9-1) unstable; urgency=low
+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
+2 -2
View File
@@ -1,10 +1,10 @@
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
Upstream-Name: weechat
Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
Source: http://weechat.org/
Files: *
Copyright: 2003-2012, Sebastien Helleu <flashcode@flashtux.org>
Copyright: 2003-2014, Sébastien 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"
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-dev-en
Title: WeeChat Developer's Guide (English)
Author: Sebastien Helleu
Title: WeeChat developer's guide (English)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (English version).
Section: Network/Communication
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-dev-fr
Title: WeeChat developer's guide (French)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_dev.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_dev.fr.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-dev-ja
Title: WeeChat developer's guide (Japanese)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_dev.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_dev.ja.html
+1 -1
View File
@@ -1,6 +1,6 @@
Document: weechat-faq-de
Title: WeeChat FAQ (German)
Author: Sebastien Helleu
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (German version).
Section: Network/Communication
+1 -1
View File
@@ -1,6 +1,6 @@
Document: weechat-faq-en
Title: WeeChat FAQ (English)
Author: Sebastien Helleu
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (English version).
Section: Network/Communication
+1 -1
View File
@@ -1,6 +1,6 @@
Document: weechat-faq-fr
Title: WeeChat FAQ (French)
Author: Sebastien Helleu
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (French version).
Section: Network/Communication
+1 -1
View File
@@ -1,6 +1,6 @@
Document: weechat-faq-it
Title: WeeChat FAQ (Italian)
Author: Sebastien Helleu
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Italian version).
Section: Network/Communication
+1 -1
View File
@@ -1,6 +1,6 @@
Document: weechat-faq-ja
Title: WeeChat FAQ (Japanese)
Author: Sebastien Helleu
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Japanese version).
Section: Network/Communication
+1 -1
View File
@@ -1,6 +1,6 @@
Document: weechat-faq-pl
Title: WeeChat FAQ (Polish)
Author: Sebastien Helleu
Author: Sébastien Helleu
Abstract: This document answers frequently asked questions
about the WeeChat IRC client (Polish version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-plugin-en
Title: WeeChat plugins API (English)
Author: Sebastien Helleu
Title: WeeChat plugin API reference (English)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (English version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-plugin-fr
Title: WeeChat plugins API (French)
Author: Sebastien Helleu
Title: WeeChat plugin API reference (French)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (French version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-plugin-it
Title: WeeChat plugins API (Italian)
Author: Sebastien Helleu
Title: WeeChat plugin API reference (Italian)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (Italian version).
Section: Network/Communication
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-plugin-ja
Title: WeeChat plugin API reference (Japanese)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_plugin_api.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_plugin_api.ja.html
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-quickstart-de
Title: WeeChat Quickstart (German)
Author: Sebastien Helleu
Title: WeeChat quick start guide (German)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (German version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-quickstart-en
Title: WeeChat Quickstart (English)
Author: Sebastien Helleu
Title: WeeChat quick start guide (English)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (English version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-quickstart-es
Title: WeeChat Quickstart (Spanish)
Author: Sebastien Helleu
Title: WeeChat quick start guide (Spanish)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Spanish version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-quickstart-fr
Title: WeeChat Quickstart (French)
Author: Sebastien Helleu
Title: WeeChat quick start guide (French)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (French version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-quickstart-it
Title: WeeChat Quickstart (Italian)
Author: Sebastien Helleu
Title: WeeChat quick start guide (Italian)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Italian version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-quickstart-ja
Title: WeeChat Quickstart (Japanese)
Author: Sebastien Helleu
Title: WeeChat quick start guide (Japanese)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Japanese version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-quickstart-pl
Title: WeeChat Quickstart (Polish)
Author: Sebastien Helleu
Title: WeeChat quick start guide (Polish)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Polish version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-quickstart-ru
Title: WeeChat Quickstart (Russian)
Author: Sebastien Helleu
Title: WeeChat quick start guide (Russian)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Russian version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-relay-protocol-en
Title: WeeChat Relay Protocol (English)
Author: Sebastien Helleu
Title: WeeChat Relay protocol (English)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (English version).
Section: Network/Communication
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-relay-protocol-fr
Title: WeeChat Relay protocol (French)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-scripting-de
Title: WeeChat Scripting Guide (German)
Author: Sebastien Helleu
Title: WeeChat scripting guide (German)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (German version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-scripting-en
Title: WeeChat Scripting Guide (English)
Author: Sebastien Helleu
Title: WeeChat scripting guide (English)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (English version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-scripting-fr
Title: WeeChat Scripting Guide (French)
Author: Sebastien Helleu
Title: WeeChat scripting guide (French)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (French version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-scripting-it
Title: WeeChat Scripting Guide (Italian)
Author: Sebastien Helleu
Title: WeeChat scripting guide (Italian)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Italian version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-scripting-ja
Title: WeeChat Scripting Guide (Japanese)
Author: Sebastien Helleu
Title: WeeChat scripting guide (Japanese)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Japanese version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-scripting-pl
Title: WeeChat Scripting Guide (Polish)
Author: Sebastien Helleu
Title: WeeChat scripting guide (Polish)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Polish version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-tester-de
Title: WeeChat Tester's Guide (German)
Author: Sebastien Helleu
Title: WeeChat tester's guide (German)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (German version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-tester-en
Title: WeeChat Tester's Guide (English)
Author: Sebastien Helleu
Title: WeeChat tester's guide (English)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (English version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-tester-fr
Title: WeeChat Tester's Guide (French)
Author: Sebastien Helleu
Title: WeeChat tester's guide (French)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (French version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-tester-it
Title: WeeChat Tester's Guide (Italian)
Author: Sebastien Helleu
Title: WeeChat tester's guide (Italian)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Italian version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-tester-ja
Title: WeeChat Tester's Guide (Japanese)
Author: Sebastien Helleu
Title: WeeChat tester's guide (Japanese)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Japanese version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-tester-pl
Title: WeeChat Tester's Guide (Polish)
Author: Sebastien Helleu
Title: WeeChat tester's guide (Polish)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Polish version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-user-de
Title: WeeChat User's Guide (German)
Author: Sebastien Helleu
Title: WeeChat user's guide (German)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (German version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-user-en
Title: WeeChat User's Guide (English)
Author: Sebastien Helleu
Title: WeeChat user's guide (English)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (English version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-user-fr
Title: WeeChat User's Guide (French)
Author: Sebastien Helleu
Title: WeeChat user's guide (French)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (French version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-user-it
Title: WeeChat User's Guide (Italian)
Author: Sebastien Helleu
Title: WeeChat user's guide (Italian)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Italian version).
Section: Network/Communication
+2 -2
View File
@@ -1,6 +1,6 @@
Document: weechat-user-ja
Title: WeeChat User's Guide (Japanese)
Author: Sebastien Helleu
Title: WeeChat user's guide (Japanese)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Japanese version).
Section: Network/Communication
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-user-pl
Title: WeeChat user's guide (Polish)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Polish version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_user.pl.html
Files: /usr/share/doc/weechat-doc/html/weechat_user.pl.html
+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-2014 Sébastien 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-2014 Sébastien 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)
+12 -11
View File
@@ -1,12 +1,13 @@
[attributes]
date={sys: date +%F}
[replacements]
@k\(C-\)=<span class="key ctrl">Ctrl</span><span class="keyplus">+</span>
@k\(-C-\)=<span class="key ctrl">Ctrl</span>
@k\(A-\)=<span class="key alt">Alt</span><span class="keyplus">+</span>
@k\(-A-\)=<span class="key alt">Alt</span>
@k\(S-\)=<span class="key shift">Shift</span><span class="keyplus">+</span>
@k\(-S-\)=<span class="key shift">Shift</span>
@k\(l\)=<span class="key">l</span><span class="keyplus"> (L)</span>
@k\(([A-Za-z0-9/_&\=])\)=<span class="key">\1</span>
@k\(([a-z0-9/_&\=][^)]*)\)=<span class="key">\1</span>
@k\(([^)]+)\)=<span class="key other">\1</span>
@h\(([A-Za-z0-9]+)\)=<span class="hexa">\1</span>
key\[([^,\]]+),([^\]]+)\]=key[\1], key[\2]
key\[(ctrl|alt|shift)\]=<span class="key \1">\1</span>
key\[(ctrl|alt|shift)-\]=<span class="key \1">\1</span><span class="keyplus">+</span>
key\[(ctrl|alt|shift)-([^\]]+)\]=<span class="key \1">\1</span><span class="keyplus">+</span>key[\2]
key\[l\]=<span class="key">l</span><span class="keyplus"> (L)</span>
key\[([A-Za-z0-9/_&\=])\]=<span class="key">\1</span>
key\[([a-z0-9/_&\=][^\]]*)\]=<span class="key">\1</span>
key\[([^\]]+)\]=<span class="key other">\1</span>
hex\[([0-9a-fA-F]+)\]=<span class="hexa">\1</span>
+158 -55
View File
@@ -1,79 +1,182 @@
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;
}
.listingblock pre {
white-space: pre-wrap;
word-wrap: break-word;
}
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;
}
.ulist {
word-wrap: break-word;
}
.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;
}
+73 -52
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -17,58 +17,79 @@
# 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 ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_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 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 revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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 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 revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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 revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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)
+43 -12
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2014 Sébastien 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,45 +30,74 @@ 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
cp -f $(abs_top_srcdir)/doc/de/weechat.1.de.txt .
cp -f $(abs_top_srcdir)/doc/de/cmdline_options.de.txt .
$(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.de.txt
# user's guide
weechat_user.de.html: weechat_user.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
weechat_user.de.html: weechat_user.de.txt cmdline_options.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -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
weechat_scripting.de.html: weechat_scripting.de.txt
$(ASCIIDOC) -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.txt
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.txt
# FAQ
weechat_faq.de.html: weechat_faq.de.txt
$(ASCIIDOC) -a lang=de -a toc -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_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.txt
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.txt
# quickstart
weechat_quickstart.de.html: weechat_quickstart.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_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.txt
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.txt
# tester's guide
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
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -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 weechat.1.de.txt cmdline_options.de.txt
-rm -f *.html
+15 -5
View File
@@ -1,12 +1,14 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
|===
| Erweiterung | Name | Beschreibung
| alias | alias | Liste der Alias
| alias | alias_value | Wert von Alias
| aspell | aspell_langs | Liste der 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
@@ -20,6 +22,8 @@
| irc | irc_ignores_numbers | Anzahl für festgelegte Ignorierungen
| irc | irc_msg_kick | Standardmitteilung wenn man jemanden aus einem Channel wirft
| irc | irc_msg_part | Standardnachricht beim Verlassen (/part) eines IRC-Channels
| irc | irc_notify_nicks | Nicks für die eine Benachrichtigung existiert
@@ -104,17 +108,23 @@
| weechat | keys_contexts | Tastaturkontext
| weechat | layouts_names | Namen der Layouts
| weechat | nicks | Nicks in Nickliste für aktuellen Buffer
| weechat | palette_colors | Farbpalette
| weechat | plugins_commands | Befehle, definiert durch Erweiterungen
| weechat | plugins_installed | Namen der installierten Erweiterungen
| 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
@@ -122,4 +132,4 @@
| xfer | nick | Nicks vom DCC Chat
|========================================
|===
File diff suppressed because it is too large Load Diff
+7 -3
View File
@@ -1,5 +1,5 @@
[width="100%",cols="^1,^2,5,5,5",options="header"]
|========================================
|===
| Erweiterung | Name | Beschreibung | Pointer | Argumente
| alias | alias | Liste der Alias | Alias Pointer (optional) | Alias Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
@@ -48,22 +48,26 @@
| 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)
| xfer | xfer | Transferliste | Transferpointer (optional) | -
|========================================
|===
+10 -2
View File
@@ -1,7 +1,9 @@
[width="100%",cols="^1,^2,6,6",options="header"]
|========================================
|===
| 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)
@@ -40,8 +42,14 @@
| weechat | locale | Lokalisation welche für die übersetzten Nachrichten verwendet werden soll | -
| weechat | term_height | Höhe des Terminals | -
| weechat | term_width | Breite des Terminals | -
| 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 | -
@@ -58,4 +66,4 @@
| weechat | weechat_upgrading | 1 falls WeeChat ein Upgrade durchführt (Befehl `/upgrade`) | -
|========================================
|===
@@ -1,9 +1,9 @@
[width="100%",cols="^1,^2,6,6,6",options="header"]
|========================================
|===
| 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
|========================================
|===
+12 -2
View File
@@ -1,5 +1,5 @@
[width="100%",cols="2,^1,7",options="header"]
|========================================
|===
| Option | Type | Konstanten ^(1)^
| verbose | long |
@@ -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
@@ -288,4 +298,4 @@
| new_directory_perms | long |
|========================================
|===
+5 -5
View File
@@ -1,6 +1,7 @@
[[command_alias_alias]]
[command]*`alias`* Einem Befehl wird ein Alias zugewiesen::
........................................
----
/alias [-completion <completion>] <alias> [<command> [;<command>...]]
completion: optionale Vervollständigung für einen Alias-Befehl (Standardverhalten: Vervollständigung wird auf den Zielbefehl angewendet)
@@ -17,9 +18,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.
@@ -30,5 +30,5 @@ Beispiele:
/alias hallo /allchan -exclude=#weechat msg * Hallo
Alias "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
----
+6 -5
View File
@@ -1,17 +1,18 @@
[[command_aspell_aspell]]
[command]*`aspell`* Konfiguration für Aspell-Erweiterung::
........................................
----
/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
@@ -22,5 +23,5 @@ Um Aspell auf alle Buffer anzuwenden sollte die Option "default_dict" genutzt un
/aspell enable
Die Standardtastaturbelegung zum Umschalten der Aspell Funktionalität lautet alt-s.
........................................
----
+14 -4
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, für ein falsch geschriebenes Wort, fest. Die Vorschläge werden mittels der Bar-Item "aspell_suggest", für die jeweilige(n) Sprache(n), die für den Buffer augewählt wurden, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge, für alle ausgewählten Sprachen, an)`
** 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`)
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen (Standardwert: `lightred`)
* [[option_aspell.color.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 kursiv, "_" für unterstrichen (Standardwert: `default`)
+3 -2
View File
@@ -1,6 +1,7 @@
[[command_charset_charset]]
[command]*`charset`* Ändert den Zeichensatz für aktuellen Buffer::
........................................
----
/charset decode|encode <charset>
reset
@@ -8,5 +9,5 @@
encode: ändere Zeichensatz zum kodieren
charset: wähle neuen Zeichensatz für aktuellen Buffer
reset: setze im aktuellen Buffer den Zeichensatz zurück
........................................
----
-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
........................................
+3 -2
View File
@@ -1,6 +1,7 @@
[[command_guile_guile]]
[command]*`guile`* auflisten/installieren/deinstallieren von Skripten::
........................................
----
/guile list|listfull [<name>]
load [-q] <filename>
autoload
@@ -17,5 +18,5 @@ filename: Skript (Datei) welches geladen werden soll
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
........................................
----
+281 -167
View File
@@ -1,20 +1,22 @@
[[command_irc_admin]]
[command]*`admin`* Information über den Server-Administrator abfragen::
........................................
----
/admin [<target>]
target: Server
........................................
----
[[command_irc_allchan]]
[command]*`allchan`* Führt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind::
........................................
----
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
-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:
@@ -23,52 +25,60 @@ Beispiele:
/allchan -exclude=#weechat msg * Hallo Welt
Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
/allchan -exclude=#weechat,#linux* msg * Hallo Welt
........................................
----
[[command_irc_allserv]]
[command]*`allserv`* führt einen Befehl aus, der zu allen verbundenen Server gesendet wird::
........................................
----
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
-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]]
[command]*`ban`* Nicknamen oder Hosts sperren/verbannen::
........................................
----
/ban [<channel>] [<nick> [<nick>...]]
channel: Channel in dem der Bann ausgeführt werden soll
nick: User oder Host für den der Bann gelten soll
Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Channel angezeigt.
........................................
----
[[command_irc_connect]]
[command]*`connect`* Mit IRC-Server(n) verbinden::
........................................
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-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)
----
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
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
Um eine Verbindung zum Server zu beenden bzw. um Verbindungsversuche zu stoppen, wird der Befehl /disconnect verwendet.
Beispiele:
/connect freenode
/connect irc.oftc.net/6667
@@ -77,30 +87,33 @@ Beispiele:
/connect my.server.org/6697 -ssl -password=test
/connect irc://nick@irc.oftc.net/#channel
/connect -switch
........................................
----
[[command_irc_ctcp]]
[command]*`ctcp`* CTCP-Nachricht verschicken::
........................................
----
/ctcp <target> <type> [<arguments>]
target: User oder Channel an welchen eine CTCP-Nachricht geschickt werden soll
type: CTCP-Nachricht (z.B. "version", "ping", ..)
arguments: Argumente für CTCP
........................................
----
[[command_irc_cycle]]
[command]*`cycle`* Einen Channel verlassen und wieder betreten::
........................................
----
/cycle [<channel>[,<channel>...]] [<message>]
channel: Name des Channels
message: Nachricht beim Verlassen des Channels (die den anderen Usern im Channel angezeigt wird)
........................................
message: Nachricht beim Verlassen des Channels (wird den anderen Usern im Channel angezeigt)
----
[[command_irc_dcc]]
[command]*`dcc`* Startet DCC Verbindung (Datentransfer oder einen Direktchat)::
........................................
----
/dcc chat <nick>
send <nick> <file>
@@ -112,61 +125,83 @@ Beispiel:
/dcc chat toto
Sendet die Datei "/home/foo/bar.txt" an den User "toto"
/dcc send toto /home/foo/bar.txt
........................................
----
[[command_irc_dehalfop]]
[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]]
[command]*`die`* Server herunterfahren::
........................................
----
/die [<target>]
target: Servername
........................................
----
[[command_irc_disconnect]]
[command]*`disconnect`* Verbindung zu einem oder mehreren IRC-Server(n) trennen::
........................................
----
/disconnect [<server>|-all|-pending [<reason>]]
server: Name des Servers zu dem die Verbindung getrennt werden soll
-all: Verbindung zu allen Servern trennen
-pending: bricht eine automatische Wiederverbindung für Server ab, zu denen gerade eine Wiederverbindung aufgebaut werden soll
reason: Begründung der Trennung
........................................
----
[[command_irc_halfop]]
[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]]
[command]*`ignore`* Ignoriert Nicks/Hosts von Channels oder Servern::
........................................
----
/ignore list
add [re:]<nick> [<server> [<channel>]]
del <number>|-all
list: zeigt alle Ignorierungen an
add: fügt eine Ignorierung hinzu
nick: Nick oder Hostname (dies kann ein regulärer Ausdruck sein, sofern "re:" angegeben wird oder eine Maske mittels "*" genutzt wird um ein oder mehrere Zeichen zu ersetzen)
nick: Nick oder Hostname (dies kann ein erweiterter regulärer POSIX Ausdruck sein, sofern "re:" angegeben wird oder eine Maske mittels "*" genutzt wird um ein oder mehrere Zeichen zu ersetzen)
del: entfernt eine Ignorierung
number: Nummer der Ignorierung die entfernt werden soll (nutze "list" um den entsprechenden Eintrag zu finden)
-all: entfernt alle Einträge
@@ -182,100 +217,111 @@ Beispiele:
/ignore add toto@domain.com freenode
ignoriert den Host "toto*@*.domain.com" im Chat freenode/#weechat:
/ignore add toto*@*.domain.com freenode #weechat
........................................
----
[[command_irc_info]]
[command]*`info`* Information über den Server abfragen::
........................................
----
/info [<target>]
target: Servername
........................................
----
[[command_irc_invite]]
[command]*`invite`* Eine Person in einen Channel einladen::
........................................
----
/invite <nick> [<nick>...] [<channel>]
nick: Nick welcher eingeladen werden soll
channel: Channel für den die Einladung gelten soll
........................................
----
[[command_irc_ison]]
[command]*`ison`* Überprüft ob ein Nick gegenwärtig auf IRC angemeldet ist::
........................................
----
/ison <nick> [<nick>...]
nick: Nickname
........................................
----
[[command_irc_join]]
[command]*`join`* einen Channel betreten::
........................................
/join [-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)
----
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
-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]]
[command]*`kick`* Einen User aus einem Channel herauswerfen::
........................................
----
/kick [<channel>] <nick> [<reason>]
channel: Channel in dem der Benutzers sich befindet
nick: Nick der rausgeworfen werden soll
reason: Begründung für den Rauswurf
........................................
reason: Begründung für den Rauswurf (Variablen die genutzt werden können: $nick, $channel und $server)
----
[[command_irc_kickban]]
[command]*`kickban`* wirft jemanden aus dem Channel und verbannt ihn::
........................................
----
/kickban [<channel>] <nick> [<reason>]
channel: Channel in dem sich der User befindet
nick: Nickname der rausgeworfen und gebannt werden soll
reason: Begründung weshalb der User rausgeworfen wurde
reason: Begründung weshalb der User rausgeworfen wurde (Variablen die genutzt werden können: $nick, $channel und $server)
Es ist möglich kick/ban mittels einer Maske durchzuführen. Der Nick wird aus der Maske heraus gefiltert und durch Joker ("*") ersetzt.
Beispiel:
Sperre "*!*@host.com" und kicke dann "toto":
/kickban toto!*@host.com
........................................
----
[[command_irc_kill]]
[command]*`kill`* Beende Client-Server Verbindung::
........................................
----
/kill <nick> <reason>
nick: Nickname, der Person, die rausgeworfen werden soll
reason: Begründung für den Rauswurf
........................................
----
[[command_irc_links]]
[command]*`links`* alle Servernamen auflisten die dem antwortenden Server bekannt sind::
........................................
----
/links [[<server>] <server_mask>]
server: dieser Server soll die Anfrage beantworten
server_mask: die aufzulistenden Server sollen diesem Muster entsprechen
........................................
----
[[command_irc_list]]
[command]*`list`* Channels mit ihrem Thema auflisten::
........................................
----
/list [<channel>[,<channel>...]] [<server>] [-re <regex>]
channel: aufzulistender Channel
server: Servername
regexp: regulärer Ausdruck der auf die Ausgabe angewendet werden soll (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
regexp: erweiterter regulärer POSIX Ausdruck, der auf die Ausgabe angewendet werden soll (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
Beispiele:
listet alle Channels des Servers auf (dies kann bei großen Netzwerken sehr lange dauern):
@@ -284,33 +330,37 @@ Beispiele:
/list #weechat
listet alle Channels auf die mit "#weechat" beginnen (dies kann bei großen Netzwerken sehr lange dauern):
/list -re #weechat.*
........................................
----
[[command_irc_lusers]]
[command]*`lusers`* Statistik über die Größe des IRC-Netzwerks abfragen::
........................................
----
/lusers [<mask> [<target>]]
mask: ausschließlich Server, die diesem Muster entsprechen
target: Server, der die Anfrage weiterleiten soll
........................................
----
[[command_irc_map]]
[command]*`map`* Zeigt das IRC Netzwerk, in Form einer Baumstruktur, an::
........................................
........................................
----
----
[[command_irc_me]]
[command]*`me`* eine CTCP ACTION an den aktuellen Channel senden::
........................................
----
/me <message>
message: zu sendende Nachricht
........................................
----
[[command_irc_mode]]
[command]*`mode`* Modus von einem Channel oder User ändern::
........................................
----
/mode [<channel>] [+|-]o|p|s|i|t|n|m|l|b|e|v|k [<arguments>]
<nick> [+|-]i|s|w|o
@@ -342,56 +392,62 @@ Beispiele:
/mode #weechat +t
um sich auf dem Server unsichtbar machen:
/mode nick +i
........................................
----
[[command_irc_motd]]
[command]*`motd`* Die "Mitteilung des Tages" abfragen::
........................................
----
/motd [<target>]
target: Servername
........................................
----
[[command_irc_msg]]
[command]*`msg`* Nachricht an Nick/Channel verschicken::
........................................
----
/msg [-server <server>] <target>[,<target>...] <text>
server: schicke an diesen Server (interner Servername)
target: Nick oder Channel (darf eine Maske sein, '*' = aktueller Channel)
text: zu sendender Text
........................................
----
[[command_irc_names]]
[command]*`names`* Nicknamen in Channels auflisten::
........................................
----
/names [<channel>[,<channel>...]]
channel: Name des Channels
........................................
----
[[command_irc_nick]]
[command]*`nick`* derzeitigen Nicknamen ändern::
........................................
----
/nick [-all] <nick>
-all: Nickname auf allen verbundenen Servern ändern
nick: neuer Nickname
........................................
----
[[command_irc_notice]]
[command]*`notice`* Mitteilung (notice) an einen User verschicken::
........................................
----
/notice [-server <server>] <target> <text>
server: an diesen Server senden (interner Name)
target: Nickname oder Channel
text: zu sendender Text
........................................
----
[[command_irc_notify]]
[command]*`notify`* fügt eine Benachrichtigung für An- oder Abwesenheit von Nicks auf Servern hinzu::
........................................
----
/notify add <nick> [<server> [-away]]
del <nick>|-all [<server>]
@@ -411,72 +467,96 @@ Beispiele:
/notify add toto freenode
Benachrichtigung falls "toto" den Befehl away am freenode Server nutzt:
/notify add toto freenode -away
........................................
----
[[command_irc_op]]
[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]]
[command]*`oper`* Operator Privilegien anfordern::
........................................
----
/oper <user> <password>
user: Username
password: Passwort
........................................
----
[[command_irc_part]]
[command]*`part`* Einen Channel verlassen::
........................................
----
/part [<channel>[,<channel>...]] [<message>]
channel: Name des Channels welcher verlassen werden soll
message: Abschiedsnachricht (wird anderen Usern angezeigt)
........................................
----
[[command_irc_ping]]
[command]*`ping`* sendet einen Ping an den Server::
........................................
----
/ping <server1> [<server2>]
server1: Server
server2: Ping an diesen Server weiterleiten
........................................
----
[[command_irc_pong]]
[command]*`pong`* Auf Ping antworten::
........................................
----
/pong <daemon> [<daemon2>]
Daemon: Daemon welcher auf die Ping-Nachricht geantwortet hat
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)::
........................................
----
/quote [-server <server>] <data>
server: an diesen Server senden (interner Name wird genutzt)
data: unbearbeitete (RAW) Daten die gesendet werden sollen
........................................
----
[[command_irc_reconnect]]
[command]*`reconnect`* Mit einem oder mehreren Server(n) erneut verbinden::
........................................
----
/reconnect <server> [<server>...] [-nojoin] [-switch]
-all [-nojoin] [-switch]
@@ -484,72 +564,80 @@ data: unbearbeitete (RAW) Daten die gesendet werden sollen
-all: mit allen Servern neu verbinden
-nojoin: Channels werden nicht betreten (auch falls autojoin für diesen Server aktiviert ist)
-switch: wechselt zur nächsten Server-Adresse
........................................
----
[[command_irc_rehash]]
[command]*`rehash`* Den Server auffordern seine Konfigurationsdatei neu zu laden::
........................................
----
/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>]
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>...]
nick: Nickname
channel: Name des Channels
........................................
----
[[command_irc_samode]]
[command]*`samode`* Ändert den Modus des Channels ohne das Operator-Privilegien vorliegen::
........................................
----
/samode <channel> <mode>
Channel: Name des Channel
Mode: neuer Modus für Channel
........................................
----
[[command_irc_sanick]]
[command]*`sanick`* Zwingt einen User den Nick zu ändern::
........................................
----
/sanick <nick> <new_nick>
nick: Nickname
new_nick: neuer Nickname
........................................
----
[[command_irc_sapart]]
[command]*`sapart`* Zwingt einen User den oder die Channel(s) zu verlassen::
........................................
----
/sapart <nick> <channel>[,<channel>...]
nick: Nickname
channel: Name des Channels
........................................
----
[[command_irc_saquit]]
[command]*`saquit`* Zwingt einen User den Server mit Begründung zu verlassen::
........................................
----
/saquit <nick> <reason>
nick: Nickname
reason: Grund der Abmeldung
........................................
----
[[command_irc_server]]
[command]*`server`* Auflisten, Hinzufügen oder Entfernen von IRC-Servern::
........................................
----
/server list|listfull [<server>]
add <server> <hostname>[/<port>] [-temp] [-<option>[=<value>]] [-no<option>]
copy|rename <server> <new_name>
@@ -582,171 +670,197 @@ Beispiele:
/server rename oftc newoftc
/server del freenode
/server deloutq
........................................
----
[[command_irc_service]]
[command]*`service`* Einen neuen Service eintragen::
........................................
----
/service <nick> <reserved> <distribution> <type> <reserved> <info>
distribution: Sichtbarkeit des Services
type: für spätere Verwendung reserviert
........................................
----
[[command_irc_servlist]]
[command]*`servlist`* Auflistung von Services die momentan mit dem Netzwerk verbunden sind::
........................................
----
/servlist [<mask> [<type>]]
mask: nur zutreffende Services auflisten
type: nur Services von diesem Typ auflisten
........................................
----
[[command_irc_squery]]
[command]*`squery`* Nachricht an einen Service senden::
........................................
----
/squery <service> <text>
service: Name des Service
text: zu sendender Text
........................................
----
[[command_irc_squit]]
[command]*`squit`* Verbindung zum Server trennen::
........................................
----
/squit <server> <comment>
server: Name des Servers
comment: Trennungsgrund
........................................
----
[[command_irc_stats]]
[command]*`stats`* Serverstatistik abfragen::
........................................
----
/stats [<query> [<server>]]
query: c/h/i/k/l/m/o/y/u (siehe RFC1459)
server: Name des Servers
........................................
----
[[command_irc_summon]]
[command]*`summon`* Nutzer die auf dem IRC-Server arbeiten darum bitten auf den IRC-Server zu kommen::
........................................
----
/summon <user> [<target> [<channel>]]
user: Benutzername
target: Servername
channel: Channelname
........................................
----
[[command_irc_time]]
[command]*`time`* Ortszeit des Servers abfragen::
........................................
----
/time [<target>]
target: Zeit des angegebenen Servers abfragen
........................................
----
[[command_irc_topic]]
[command]*`topic`* Thema des Channels abfragen/setzen::
........................................
----
/topic [<channel>] [<topic>|-delete]
channel: Name des Channels
topic: Thema für den Channel
-delete: entfernt das Thema des Channels
........................................
----
[[command_irc_trace]]
[command]*`trace`* Route zum angegebenen Server ermitteln::
........................................
----
/trace [<target>]
target: Server
........................................
----
[[command_irc_unban]]
[command]*`unban`* Bann aufheben (Nicks oder Hosts)::
........................................
----
/unban [<channel>] <nick> [<nick>...]
channel: Channel in dem der Bann aufzuheben ist
nick: User oder Host für den der Bann aufzuheben ist
........................................
----
[[command_irc_userhost]]
[command]*`userhost`* Zeigt Informationen zu Nicknamen an::
........................................
----
/userhost <nick> [<nick>...]
nick: Nickname
........................................
----
[[command_irc_users]]
[command]*`users`* Auflistung der User die bei dem Server angemeldet sind::
........................................
----
/users [<target>]
target: Server
........................................
----
[[command_irc_version]]
[command]*`version`* Versionsinformation des Nicknamen oder Servers ermitteln (des aktuellen oder angegebenen Nick/Server)::
........................................
----
/version [<server>|<nick>]
server: Servername
nick: Nickname
........................................
----
[[command_irc_voice]]
[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]]
[command]*`wallchops`* Nachricht an Channel-Operator verschicken::
........................................
----
/wallchops [<channel>] <text>
channel: Name des Channel
text: Text der versendet werden soll
........................................
----
[[command_irc_wallops]]
[command]*`wallops`* Nachricht an alle User schicken die den 'w'-Mode gesetzt haben::
........................................
----
/wallops <text>
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]]
mask: nur Information über betreffende Nicknamen abfragen
o: nur Operatoren ausgeben, die dem Filter entsprechen
........................................
----
[[command_irc_whois]]
[command]*`whois`* Information über User abfragen::
........................................
/whois [<server>] <nick>[,<nick>...]
server: Servername
nick: Nickname (oder eine Maske)
........................................
----
/whois [<server>] [<nick>[,<nick>...]]
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]]
[command]*`whowas`* Informationen über einen nicht mehr angemeldeten Nicknamen abfragen::
........................................
----
/whowas <nick>[,<nick>...] [<count> [<target>]]
nick: Nickname, welcher gesucht werden soll
count: maximale Anzahl an Antworten (negative Zahl für eine vollständige Liste)
target: Antwort soll auf diese Suchmaske zutreffen
........................................
----

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